-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
2 lines (2 loc) · 184 KB
/
app.js
1
2
(self.webpackChunkcollege_handbook=self.webpackChunkcollege_handbook||[]).push([[143],{1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},3552:function(e,t,n){"use strict";function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}n.d(t,{Z:function(){return r}})},7154:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},5354:function(e,t,n){var i=n(9489);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},7316:function(e){e.exports=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r},e.exports.default=e.exports,e.exports.__esModule=!0},9489:function(e){function t(n,i){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,i)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},2393:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i=function(e){var t=e.location,n=t.search,i=t.hash,r=t.href,o=t.origin,l=t.protocol,s=t.host,c=t.hostname,u=t.port,p=e.location.pathname;!p&&r&&a&&(p=new URL(r).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:i,href:r,origin:o,protocol:l,host:s,hostname:c,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},r=function(e,t){var r=[],o=i(e),a=!1,l=function(){};return{get location(){return o},get transitioning(){return a},_onTransitionComplete:function(){a=!1,l()},listen:function(t){r.push(t);var n=function(){o=i(e),t({location:o,action:"POP"})};return e.addEventListener("popstate",n),function(){e.removeEventListener("popstate",n),r=r.filter((function(e){return e!==t}))}},navigate:function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=s.state,u=s.replace,p=void 0!==u&&u;if("number"==typeof t)e.history.go(t);else{c=n({},c,{key:Date.now()+""});try{a||p?e.history.replaceState(c,null,t):e.history.pushState(c,null,t)}catch(f){e.location[p?"replace":"assign"](t)}}o=i(e),a=!0;var d=new Promise((function(e){return l=e}));return r.forEach((function(e){return e({location:o,action:"PUSH"})})),d}}},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},i=0,r=[n],o=[null];return{get location(){return r[i]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return r},get index(){return i},get state(){return o[i]},pushState:function(e,t,n){var a=n.split("?"),l=a[0],s=a[1],c=void 0===s?"":s;i++,r.push({pathname:l,search:c.length?"?"+c:c}),o.push(e)},replaceState:function(e,t,n){var a=n.split("?"),l=a[0],s=a[1],c=void 0===s?"":s;r[i]={pathname:l,search:c},o[i]=e},go:function(e){var t=i+e;t<0||t>o.length-1||(i=t)}}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),l=r(a?window:o()),s=l.navigate;t.V5=l},2098:function(e,t,n){"use strict";t.__esModule=!0,t.shallowCompare=t.validateRedirect=t.insertParams=t.resolve=t.match=t.pick=t.startsWith=void 0;var i,r=n(1143),o=(i=r)&&i.__esModule?i:{default:i};var a=function(e,t){return e.substr(0,t.length)===t},l=function(e,t){for(var n=void 0,i=void 0,r=t.split("?")[0],a=f(r),l=""===a[0],c=d(e),p=0,h=c.length;p<h;p++){var v=!1,g=c[p].route;if(g.default)i={route:g,params:{},uri:t};else{for(var y=f(g.path),b={},w=Math.max(a.length,y.length),k=0;k<w;k++){var N=y[k],C=a[k];if(u(N)){b[N.slice(1)||"*"]=a.slice(k).map(decodeURIComponent).join("/");break}if(void 0===C){v=!0;break}var E=s.exec(N);if(E&&!l){-1===m.indexOf(E[1])||(0,o.default)(!1);var P=decodeURIComponent(C);b[E[1]]=P}else if(N!==C){v=!0;break}}if(!v){n={route:g,params:b,uri:"/"+a.slice(0,k).join("/")};break}}}return n||i||null},s=/^:(.+)/,c=function(e){return s.test(e)},u=function(e){return e&&"*"===e[0]},p=function(e,t){return{route:e,score:e.default?0:f(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?c(t)?e+=2:u(t)?e-=5:e+=3:e+=1,e}),0),index:t}},d=function(e){return e.map(p).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},f=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},h=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},m=["uri","path"];t.startsWith=a,t.pick=l,t.match=function(e,t){return l([{path:e}],t)},t.resolve=function(e,t){if(a(e,"/"))return e;var n=e.split("?"),i=n[0],r=n[1],o=t.split("?")[0],l=f(i),s=f(o);if(""===l[0])return h(o,r);if(!a(l[0],".")){var c=s.concat(l).join("/");return h(("/"===o?"":"/")+c,r)}for(var u=s.concat(l),p=[],d=0,m=u.length;d<m;d++){var v=u[d];".."===v?p.pop():"."!==v&&p.push(v)}return h("/"+p.join("/"),r)},t.insertParams=function(e,t){var n=e.split("?"),i=n[0],r=n[1],o=void 0===r?"":r,a="/"+f(i).map((function(e){var n=s.exec(e);return n?t[n[1]]:e})).join("/"),l=t.location,c=(l=void 0===l?{}:l).search,u=(void 0===c?"":c).split("?")[1]||"";return a=h(a,o,u)},t.validateRedirect=function(e,t){var n=function(e){return c(e)};return f(e).filter(n).sort().join("/")===f(t).filter(n).sort().join("/")},t.shallowCompare=function(e,t){var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))}},2073:function(e){"use strict";var t,n;!function(t,n,i){var r;(r=i.define)&&r.amd?r([],(function(){return n})):(r=i.modules)?r["FlexSearch".toLowerCase()]=n:e.exports=n}(0,function e(t){function n(e,t){var n=t?t.id:e&&e.id;this.id=n||0===n?n:A++,this.init(e,t),l(this,"index",(function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)})),l(this,"length",(function(){return this.index.length}))}function i(e,t,n,i){return this.u!==this.g&&(this.o=this.o.concat(n),this.u++,i&&this.o.length>=i&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(t,this.o),this.F&&this.F(this.o))),this}function r(e){var t=E();for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];b(i)?t[n]=i.slice(0):k(i)?t[n]=r(i):t[n]=i}return t}function o(e,t){for(var n=e.length,i=w(t),r=[],o=0,a=0;o<n;o++){var l=e[o];(i&&t(l)||!i&&!t[l])&&(r[a++]=l)}return r}function a(e,t,n,i,r,o,a,l,s,c){var u;if(n=g(n,a?0:r,l,o,t,s,c),l&&(l=n.page,u=n.next,n=n.result),a)t=this.where(a,null,r,n);else{for(t=n,n=this.l,r=t.length,o=Array(r),a=0;a<r;a++)o[a]=n[t[a]];t=o}return n=t,i&&(w(i)||(1<(O=i.split(":")).length?i=m:(O=O[0],i=h)),n.sort(i)),n=v(l,u,n),this.cache&&this.j.set(e,n),n}function l(e,t,n){Object.defineProperty(e,t,{get:n})}function s(e){return new RegExp(e,"g")}function c(e,t){for(var n=0;n<t.length;n+=2)e=e.replace(t[n],t[n+1]);return e}function u(e,t,n,i,r,o,a,l){return t[n]?t[n]:(r=r?(l-(a||l/1.5))*o+(a||l/1.5)*r:o,t[n]=r,r>=a&&((e=(e=e[l-(r+.5>>0)])[n]||(e[n]=[]))[e.length]=i),r)}function p(e,t){if(e)for(var n=Object.keys(e),i=0,r=n.length;i<r;i++){var o=n[i],a=e[o];if(a)for(var l=0,s=a.length;l<s;l++){if(a[l]===t){1===s?delete e[o]:a.splice(l,1);break}k(a[l])&&p(a[l],t)}}}function d(e){for(var t="",n="",i="",r=0;r<e.length;r++){var o=e[r];o!==n&&(r&&"h"===o?(i="a"===i||"e"===i||"i"===i||"o"===i||"u"===i||"y"===i,(("a"===n||"e"===n||"i"===n||"o"===n||"u"===n||"y"===n)&&i||" "===n)&&(t+=o)):t+=o),i=r===e.length-1?"":e[r+1],n=o}return t}function f(e,t){return 0>(e=e.length-t.length)?1:e?-1:0}function h(e,t){return(e=e[O])<(t=t[O])?-1:e>t?1:0}function m(e,t){for(var n=O.length,i=0;i<n;i++)e=e[O[i]],t=t[O[i]];return e<t?-1:e>t?1:0}function v(e,t,n){return e?{page:e,next:t?""+t:null,result:n}:n}function g(e,t,n,i,r,o,a){var l,s=[];if(!0===n){n="0";var c=""}else c=n&&n.split(":");var u=e.length;if(1<u){var p,d,f,h,m,g,b,w,k,C,P=E(),x=[],O=0,S=!0,_=0;if(c&&(2===c.length?(w=c,c=!1):c=k=parseInt(c[0],10)),a){for(p=E();O<u;O++)if("not"===r[O])for(h=(d=e[O]).length,f=0;f<h;f++)p["@"+d[f]]=1;else b=O+1;if(N(b))return v(n,l,s);O=0}else g=y(r)&&r;for(;O<u;O++){var j=O===(b||u)-1;if(!g||!O)if((f=g||r&&r[O])&&"and"!==f){if("or"!==f)continue;C=!1}else C=o=!0;if(h=(d=e[O]).length){if(S){if(!m){m=d;continue}var A=m.length;for(f=0;f<A;f++){var R="@"+(S=m[f]);a&&p[R]||(P[R]=1,o||(s[_++]=S))}m=null,S=!1}for(R=!1,f=0;f<h;f++){var T="@"+(A=d[f]),D=o?P[T]||0:O;if(!(!D&&!i||a&&p[T]||!o&&P[T]))if(D===O){if(j){if((!k||--k<_)&&(s[_++]=A,t&&_===t))return v(n,_+(c||0),s)}else P[T]=O+1;R=!0}else i&&((T=x[D]||(x[D]=[]))[T.length]=A)}if(C&&!R&&!i)break}else if(C&&!i)return v(n,l,d)}if(m)if(O=m.length,a)for(f=c?parseInt(c,10):0;f<O;f++)p["@"+(e=m[f])]||(s[_++]=e);else s=m;if(i)for(_=s.length,w?(O=parseInt(w[0],10)+1,f=parseInt(w[1],10)+1):(O=x.length,f=0);O--;)if(A=x[O]){for(h=A.length;f<h;f++)if(i=A[f],(!a||!p["@"+i])&&(s[_++]=i,t&&_===t))return v(n,O+":"+f,s);f=0}}else!u||r&&"not"===r[0]||(s=e[0],c&&(c=parseInt(c[0],10)));return t&&(a=s.length,c&&c>a&&(c=0),(l=(c=c||0)+t)<a?s=s.slice(c,l):(l=0,c&&(s=s.slice(c)))),v(n,l,s)}function y(e){return"string"==typeof e}function b(e){return e.constructor===Array}function w(e){return"function"==typeof e}function k(e){return"object"==typeof e}function N(e){return void 0===e}function C(e){for(var t=Array(e),n=0;n<e;n++)t[n]=E();return t}function E(){return Object.create(null)}function P(){var e,t;self.onmessage=function(n){if(n=n.data)if(n.search){var i=t.search(n.content,n.threshold?{limit:n.limit,threshold:n.threshold,where:n.where}:n.limit);self.postMessage({id:e,content:n.content,limit:n.limit,result:i})}else n.add?t.add(n.id,n.content):n.update?t.update(n.id,n.content):n.remove?t.remove(n.id):n.clear?t.clear():n.info?((n=t.info()).worker=e,console.log(n)):n.register&&(e=n.id,n.options.cache=!1,n.options.async=!1,n.options.worker=!1,t=new(t=new Function(n.register.substring(n.register.indexOf("{")+1,n.register.lastIndexOf("}")))())(n.options))}}function x(n,i,r,o){n=t("flexsearch","id"+n,P,(function(e){(e=e.data)&&e.result&&o(e.id,e.content,e.result,e.limit,e.where,e.cursor,e.suggest)}),i);var a=e.toString();return r.id=i,n.postMessage({register:a,options:r,id:i}),n}var O,S={encode:"icase",f:"forward",split:/\W+/,cache:!1,async:!1,g:!1,D:!1,a:!1,b:9,threshold:0,depth:0},_={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},j=[],A=0,R={},T={};n.create=function(e,t){return new n(e,t)},n.registerMatcher=function(e){for(var t in e)e.hasOwnProperty(t)&&j.push(s(t),e[t]);return this},n.registerEncoder=function(e,t){return F[e]=t.bind(F),this},n.registerLanguage=function(e,t){return R[e]=t.filter,T[e]=t.stemmer,this},n.encode=function(e,t){return F[e](t)},n.prototype.init=function(e,t){if(this.v=[],t){var o=t.preset;e=t}else e||(e=S),o=e.preset;if(t={},y(e)?(t=_[e],e={}):o&&(t=_[o]),o=e.worker)if("undefined"==typeof Worker)e.worker=!1,this.m=null;else{var a=parseInt(o,10)||4;this.C=-1,this.u=0,this.o=[],this.F=null,this.m=Array(a);for(var l=0;l<a;l++)this.m[l]=x(this.id,l,e,i.bind(this))}if(this.f=e.tokenize||t.f||this.f||S.f,this.split=N(o=e.split)?this.split||S.split:y(o)?s(o):o,this.D=e.rtl||this.D||S.D,this.async="undefined"==typeof Promise||N(o=e.async)?this.async||S.async:o,this.g=N(o=e.worker)?this.g||S.g:o,this.threshold=N(o=e.threshold)?t.threshold||this.threshold||S.threshold:o,this.b=N(o=e.resolution)?o=t.b||this.b||S.b:o,o<=this.threshold&&(this.b=this.threshold+1),this.depth="strict"!==this.f||N(o=e.depth)?t.depth||this.depth||S.depth:o,this.w=(o=N(o=e.encode)?t.encode||S.encode:o)&&F[o]&&F[o].bind(F)||(w(o)?o:this.w||!1),(o=e.matcher)&&this.addMatcher(o),o=(t=e.lang)||e.filter){if(y(o)&&(o=R[o]),b(o)){a=this.w,l=E();for(var c=0;c<o.length;c++){var u=a?a(o[c]):o[c];l[u]=1}o=l}this.filter=o}if(o=t||e.stemmer){var p;for(p in t=y(o)?T[o]:o,a=this.w,l=[],t)t.hasOwnProperty(p)&&(c=a?a(p):p,l.push(s(c+"($|\\W)"),a?a(t[p]):t[p]));this.stemmer=p=l}if(this.a=l=(o=e.doc)?r(o):this.a||S.a,this.i=C(this.b-(this.threshold||0)),this.h=E(),this.c=E(),l){if(this.l=E(),e.doc=null,p=l.index={},t=l.keys=[],a=l.field,c=l.tag,u=l.store,b(l.id)||(l.id=l.id.split(":")),u){var d=E();if(y(u))d[u]=1;else if(b(u))for(var f=0;f<u.length;f++)d[u[f]]=1;else k(u)&&(d=u);l.store=d}if(c){if(this.G=E(),u=E(),a)if(y(a))u[a]=e;else if(b(a))for(d=0;d<a.length;d++)u[a[d]]=e;else k(a)&&(u=a);for(b(c)||(l.tag=c=[c]),a=0;a<c.length;a++)this.G[c[a]]=E();this.I=c,a=u}var h;if(a)for(b(a)||(k(a)?(h=a,l.field=a=Object.keys(a)):l.field=a=[a]),l=0;l<a.length;l++)b(c=a[l])||(h&&(e=h[c]),t[l]=c,a[l]=c.split(":")),p[c]=new n(e);e.doc=o}return this.B=!0,this.j=!!(this.cache=o=N(o=e.cache)?this.cache||S.cache:o)&&new z(o),this},n.prototype.encode=function(e){return e&&(j.length&&(e=c(e,j)),this.v.length&&(e=c(e,this.v)),this.w&&(e=this.w(e)),this.stemmer&&(e=c(e,this.stemmer))),e},n.prototype.addMatcher=function(e){var t=this.v;for(var n in e)e.hasOwnProperty(n)&&t.push(s(n),e[n]);return this},n.prototype.add=function(e,t,n,i,r){if(this.a&&k(e))return this.A("add",e,t);if(t&&y(t)&&(e||0===e)){var a="@"+e;if(this.c[a]&&!i)return this.update(e,t);if(this.g)return++this.C>=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:e,content:t}),this.c[a]=""+this.C,n&&n(),this;if(!r){if(this.async&&"function"!=typeof importScripts){var l=this;return a=new Promise((function(n){setTimeout((function(){l.add(e,t,null,i,!0),l=null,n()}))})),n?(a.then(n),this):a}if(n)return this.add(e,t,null,i,!0),n(),this}if(!(t=this.encode(t)).length)return this;r=w(n=this.f)?n(t):t.split(this.split),this.filter&&(r=o(r,this.filter));var s=E();s._ctx=E();for(var c=r.length,p=this.threshold,d=this.depth,f=this.b,h=this.i,m=this.D,v=0;v<c;v++){var g=r[v];if(g){var b=g.length,N=(m?v+1:c-v)/c,P="";switch(n){case"reverse":case"both":for(var x=b;--x;)u(h,s,P=g[x]+P,e,m?1:(b-x)/b,N,p,f-1);P="";case"forward":for(x=0;x<b;x++)u(h,s,P+=g[x],e,m?(x+1)/b:1,N,p,f-1);break;case"full":for(x=0;x<b;x++)for(var O=(m?x+1:b-x)/b,S=b;S>x;S--)u(h,s,P=g.substring(x,S),e,O,N,p,f-1);break;default:if(b=u(h,s,g,e,1,N,p,f-1),d&&1<c&&b>=p)for(b=s._ctx[g]||(s._ctx[g]=E()),g=this.h[g]||(this.h[g]=C(f-(p||0))),0>(N=v-d)&&(N=0),(P=v+d+1)>c&&(P=c);N<P;N++)N!==v&&u(g,b,r[N],e,0,f-(N<v?v-N:N-v),p,f-1)}}}this.c[a]=1,this.B=!1}return this},n.prototype.A=function(e,t,n){if(b(t)){var i=t.length;if(i--){for(var r=0;r<i;r++)this.A(e,t[r]);return this.A(e,t[i],n)}}else{var o,a=this.a.index,l=this.a.keys,s=this.a.tag;r=this.a.store;var c=this.a.id;i=t;for(var u=0;u<c.length;u++)i=i[c[u]];if("remove"===e&&(delete this.l[i],c=l.length,c--)){for(t=0;t<c;t++)a[l[t]].remove(i);return a[l[c]].remove(i,n)}if(s){for(o=0;o<s.length;o++){var p=s[o],d=t;for(c=p.split(":"),u=0;u<c.length;u++)d=d[c[u]];d="@"+d}o=(o=this.G[p])[d]||(o[d]=[])}for(var f=0,h=(c=this.a.field).length;f<h;f++){for(p=c[f],s=t,d=0;d<p.length;d++)s=s[p[d]];p=a[l[f]],d="add"===e?p.add:p.update,f===h-1?d.call(p,i,s,n):d.call(p,i,s)}if(r){for(n=Object.keys(r),e=E(),a=0;a<n.length;a++)if(r[l=n[a]]){l=l.split(":");var m=void 0,v=void 0;for(c=0;c<l.length;c++)m=(m||t)[s=l[c]],v=(v||e)[s]=m}t=e}o&&(o[o.length]=t),this.l[i]=t}return this},n.prototype.update=function(e,t,n){return this.a&&k(e)?this.A("update",e,t):(this.c["@"+e]&&y(t)&&(this.remove(e),this.add(e,t,n,!0)),this)},n.prototype.remove=function(e,t,n){if(this.a&&k(e))return this.A("remove",e,t);var i="@"+e;if(this.c[i]){if(this.g)return this.m[this.c[i]].postMessage({remove:!0,id:e}),delete this.c[i],t&&t(),this;if(!n){if(this.async&&"function"!=typeof importScripts){var r=this;return i=new Promise((function(t){setTimeout((function(){r.remove(e,null,!0),r=null,t()}))})),t?(i.then(t),this):i}if(t)return this.remove(e,null,!0),t(),this}for(t=0;t<this.b-(this.threshold||0);t++)p(this.i[t],e);this.depth&&p(this.h,e),delete this.c[i],this.B=!1}return this},n.prototype.search=function(e,t,n,i){if(k(t)){if(b(t))for(var r=0;r<t.length;r++)t[r].query=e;else t.query=e;e=t,t=1e3}else t&&w(t)?(n=t,t=1e3):t||0===t||(t=1e3);if(!this.g){var l=[],s=e;if(k(e)&&!b(e)){n||(n=e.callback)&&(s.callback=null);var c=e.sort,u=e.page;t=e.limit,F=e.threshold;var p=e.suggest;e=e.query}if(this.a){F=this.a.index;var d,h,m=s.where,v=s.bool||"or",N=s.field,C=v;if(N)b(N)||(N=[N]);else if(b(s)){var P=s;N=[],C=[];for(var x=0;x<s.length;x++)r=(i=s[x]).bool||v,N[x]=i.field,C[x]=r,"not"===r?d=!0:"and"===r&&(h=!0)}else N=this.a.keys;for(v=N.length,x=0;x<v;x++)P&&(s=P[x]),u&&!y(s)&&(s.page=null,s.limit=0),l[x]=F[N[x]].search(s,0);if(n)return n(a.call(this,e,C,l,c,t,p,m,u,h,d));if(this.async){var O=this;return new Promise((function(n){Promise.all(l).then((function(i){n(a.call(O,e,C,i,c,t,p,m,u,h,d))}))}))}return a.call(this,e,C,l,c,t,p,m,u,h,d)}if(F||(F=this.threshold||0),!i){if(this.async&&"function"!=typeof importScripts){var S=this;return F=new Promise((function(e){setTimeout((function(){e(S.search(s,t,null,!0)),S=null}))})),n?(F.then(n),this):F}if(n)return n(this.search(s,t,null,!0)),this}if(!e||!y(e))return l;if(s=e,this.cache)if(this.B){if(n=this.j.get(e))return n}else this.j.clear(),this.B=!0;if(!(s=this.encode(s)).length)return l;n=w(n=this.f)?n(s):s.split(this.split),this.filter&&(n=o(n,this.filter)),P=n.length,i=!0,r=[];var _=E(),j=0;if(1<P&&(this.depth&&"strict"===this.f?v=!0:n.sort(f)),!v||(x=this.h))for(var A=this.b;j<P;j++){var R=n[j];if(R){if(v){if(!N)if(x[R])N=R,_[R]=1;else if(!p)return l;if(p&&j===P-1&&!r.length)v=!1,_[R=N||R]=0;else if(!N)continue}if(!_[R]){var T=[],D=!1,L=0,I=v?x[N]:this.i;if(I)for(var M=void 0,B=0;B<A-F;B++)(M=I[B]&&I[B][R])&&(T[L++]=M,D=!0);if(D)N=R,r[r.length]=1<L?T.concat.apply([],T):T[0];else if(!p){i=!1;break}_[R]=1}}}else i=!1;return i&&(l=g(r,t,u,p)),this.cache&&this.j.set(e,l),l}this.F=n,this.u=0,this.o=[];for(var F=0;F<this.g;F++)this.m[F].postMessage({search:!0,limit:t,content:e})},n.prototype.find=function(e,t){return this.where(e,t,1)[0]||null},n.prototype.where=function(e,t,n,i){var r,o,a,l=this.l,s=[],c=0;if(k(e)){n||(n=t);var u=Object.keys(e),p=u.length;if(r=!1,1===p&&"id"===u[0])return[l[e.id]];if((o=this.I)&&!i)for(var d=0;d<o.length;d++){var f=o[d],h=e[f];if(!N(h)){if(a=this.G[f]["@"+h],0==--p)return a;u.splice(u.indexOf(f),1),delete e[f];break}}for(o=Array(p),d=0;d<p;d++)o[d]=u[d].split(":")}else{if(w(e)){for(n=(t=i||Object.keys(l)).length,u=0;u<n;u++)e(p=l[t[u]])&&(s[c++]=p);return s}if(N(t))return[l[e]];if("id"===e)return[l[t]];u=[e],p=1,o=[e.split(":")],r=!0}for(d=(i=a||i||Object.keys(l)).length,f=0;f<d;f++){h=a?i[f]:l[i[f]];for(var m=!0,v=0;v<p;v++){r||(t=e[u[v]]);var g=o[v],y=g.length,b=h;if(1<y)for(var C=0;C<y;C++)b=b[g[C]];else b=b[g[0]];if(b!==t){m=!1;break}}if(m&&(s[c++]=h,n&&c===n))break}return s},n.prototype.info=function(){if(!this.g)return{id:this.id,items:this.length,cache:!(!this.cache||!this.cache.s)&&this.cache.s.length,matcher:j.length+(this.v?this.v.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&"strict"===this.f};for(var e=0;e<this.g;e++)this.m[e].postMessage({info:!0,id:this.id})},n.prototype.clear=function(){return this.destroy().init()},n.prototype.destroy=function(){if(this.cache&&(this.j.clear(),this.j=null),this.i=this.h=this.c=null,this.a){for(var e=this.a.keys,t=0;t<e.length;t++)this.a.index[e[t]].destroy();this.a=this.l=null}return this},n.prototype.export=function(e){var t=!e||N(e.serialize)||e.serialize;if(this.a){var n=!e||N(e.doc)||e.doc,i=!e||N(e.index)||e.index;e=[];var r=0;if(i)for(i=this.a.keys;r<i.length;r++){var o=this.a.index[i[r]];e[r]=[o.i,o.h,Object.keys(o.c)]}n&&(e[r]=this.l)}else e=[this.i,this.h,Object.keys(this.c)];return t&&(e=JSON.stringify(e)),e},n.prototype.import=function(e,t){(!t||N(t.serialize)||t.serialize)&&(e=JSON.parse(e));var n=E();if(this.a){var i=!t||N(t.doc)||t.doc,r=0;if(!t||N(t.index)||t.index){for(var o=(t=this.a.keys).length,a=e[0][2];r<a.length;r++)n[a[r]]=1;for(r=0;r<o;r++){a=this.a.index[t[r]];var l=e[r];l&&(a.i=l[0],a.h=l[1],a.c=n)}}i&&(this.l=k(i)?i:e[r])}else{for(i=e[2],r=0;r<i.length;r++)n[i[r]]=1;this.i=e[0],this.h=e[1],this.c=n}};var D,L,I,M,B=(L=s("\\s+"),I=s("[^a-z0-9 ]"),M=[s("[-/]")," ",I,"",L," "],function(e){return d(c(e.toLowerCase(),M))}),F={icase:function(e){return e.toLowerCase()},simple:function(){var e=s("\\s+"),t=s("[^a-z0-9 ]"),n=s("[-/]"),i=[s("[àáâãäå]"),"a",s("[èéêë]"),"e",s("[ìíîï]"),"i",s("[òóôõöő]"),"o",s("[ùúûüű]"),"u",s("[ýŷÿ]"),"y",s("ñ"),"n",s("[çc]"),"k",s("ß"),"s",s(" & ")," and ",n," ",t,"",e," "];return function(e){return" "===(e=c(e.toLowerCase(),i))?"":e}}(),advanced:function(){var e=s("ae"),t=s("ai"),n=s("ay"),i=s("ey"),r=s("oe"),o=s("ue"),a=s("ie"),l=s("sz"),u=s("zs"),p=s("ck"),f=s("cc"),h=[e,"a",t,"ei",n,"ei",i,"ei",r,"o",o,"u",a,"i",l,"s",u,"s",s("sh"),"s",p,"k",f,"k",s("th"),"t",s("dt"),"t",s("ph"),"f",s("pf"),"f",s("ou"),"o",s("uo"),"u"];return function(e,t){return e?(2<(e=this.simple(e)).length&&(e=c(e,h)),t||1<e.length&&(e=d(e)),e):e}}(),extra:(D=[s("p"),"b",s("z"),"s",s("[cgq]"),"k",s("n"),"m",s("d"),"t",s("[vw]"),"f",s("[aeiouy]"),""],function(e){if(!e)return e;if(1<(e=this.advanced(e,!0)).length){e=e.split(" ");for(var t=0;t<e.length;t++){var n=e[t];1<n.length&&(e[t]=n[0]+c(n.substring(1),D))}e=d(e=e.join(" "))}return e}),balance:B},z=function(){function e(e){this.clear(),this.H=!0!==e&&e}return e.prototype.clear=function(){this.cache=E(),this.count=E(),this.index=E(),this.s=[]},e.prototype.set=function(e,t){if(this.H&&N(this.cache[e])){var n=this.s.length;if(n===this.H){n--;var i=this.s[n];delete this.cache[i],delete this.count[i],delete this.index[i]}this.index[e]=n,this.s[n]=e,this.count[e]=-1,this.cache[e]=t,this.get(e)}else this.cache[e]=t},e.prototype.get=function(e){var t=this.cache[e];if(this.H&&t){var n=++this.count[e],i=this.index,r=i[e];if(0<r){for(var o=this.s,a=r;this.count[o[--r]]<=n&&-1!==r;);if(++r!==a){for(n=a;n>r;n--)a=o[n-1],o[n]=a,i[a]=n;o[r]=e,i[e]=r}}}return t},e}();return n}((t={},n="undefined"!=typeof Blob&&"undefined"!=typeof URL&&URL.createObjectURL,function(e,i,r,o,a){return r=n?URL.createObjectURL(new Blob(["("+r.toString()+")()"],{type:"text/javascript"})):e+".min.js",t[e+="-"+i]||(t[e]=[]),t[e][a]=new Worker(r),t[e][a].onmessage=o,t[e][a]})),this)},6494:function(e){"use strict";e.exports=Object.assign},3640:function(e,t,n){var i;self,e.exports=(i=n(7294),function(){var e={4184:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var l in n)i.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},8552:function(e,t,n){var i=n(852)(n(5639),"DataView");e.exports=i},1989:function(e,t,n){var i=n(1789),r=n(401),o=n(7667),a=n(1327),l=n(1866);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=a,s.prototype.set=l,e.exports=s},8407:function(e,t,n){var i=n(7040),r=n(4125),o=n(2117),a=n(7518),l=n(4705);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=a,s.prototype.set=l,e.exports=s},7071:function(e,t,n){var i=n(852)(n(5639),"Map");e.exports=i},3369:function(e,t,n){var i=n(4785),r=n(1285),o=n(6e3),a=n(9916),l=n(5265);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=a,s.prototype.set=l,e.exports=s},3818:function(e,t,n){var i=n(852)(n(5639),"Promise");e.exports=i},8525:function(e,t,n){var i=n(852)(n(5639),"Set");e.exports=i},8668:function(e,t,n){var i=n(3369),r=n(619),o=n(2385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=o,e.exports=a},6384:function(e,t,n){var i=n(8407),r=n(7465),o=n(3779),a=n(7599),l=n(4758),s=n(4309);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=l,c.prototype.set=s,e.exports=c},2705:function(e,t,n){var i=n(5639).Symbol;e.exports=i},1149:function(e,t,n){var i=n(5639).Uint8Array;e.exports=i},577:function(e,t,n){var i=n(852)(n(5639),"WeakMap");e.exports=i},4963:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}},4636:function(e,t,n){var i=n(2545),r=n(5694),o=n(1469),a=n(4144),l=n(5776),s=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&r(e),p=!n&&!u&&a(e),d=!n&&!u&&!p&&s(e),f=n||u||p||d,h=f?i(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||f&&("length"==v||p&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},2488:function(e){e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},2908:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},8470:function(e,t,n){var i=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},8866:function(e,t,n){var i=n(2488),r=n(1469);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},4239:function(e,t,n){var i=n(2705),r=n(9607),o=n(2333),a=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):o(e)}},9454:function(e,t,n){var i=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},939:function(e,t,n){var i=n(2492),r=n(7005);e.exports=function e(t,n,o,a,l){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,a,e,l))}},2492:function(e,t,n){var i=n(6384),r=n(7114),o=n(8351),a=n(6096),l=n(4160),s=n(1469),c=n(4144),u=n(6719),p="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=s(e),b=s(t),w=y?d:l(e),k=b?d:l(t),N=(w=w==p?f:w)==f,C=(k=k==p?f:k)==f,E=w==k;if(E&&c(e)){if(!c(t))return!1;y=!0,N=!1}if(E&&!N)return g||(g=new i),y||u(e)?r(e,t,n,m,v,g):o(e,t,w,n,m,v,g);if(!(1&n)){var P=N&&h.call(e,"__wrapped__"),x=C&&h.call(t,"__wrapped__");if(P||x){var O=P?e.value():e,S=x?t.value():t;return g||(g=new i),v(O,S,n,m,g)}}return!!E&&(g||(g=new i),a(e,t,n,m,v,g))}},8458:function(e,t,n){var i=n(3560),r=n(5346),o=n(3218),a=n(346),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,p=c.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?d:l).test(a(e))}},8749:function(e,t,n){var i=n(4239),r=n(1780),o=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!a[i(e)]}},280:function(e,t,n){var i=n(5726),r=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2545:function(e){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},4757:function(e){e.exports=function(e,t){return e.has(t)}},4429:function(e,t,n){var i=n(5639)["__core-js_shared__"];e.exports=i},7114:function(e,t,n){var i=n(8668),r=n(2908),o=n(4757);e.exports=function(e,t,n,a,l,s){var c=1&n,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var d=s.get(e),f=s.get(t);if(d&&f)return d==t&&f==e;var h=-1,m=!0,v=2&n?new i:void 0;for(s.set(e,t),s.set(t,e);++h<u;){var g=e[h],y=t[h];if(a)var b=c?a(y,g,h,t,e,s):a(g,y,h,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!o(v,t)&&(g===e||l(g,e,n,a,s)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!l(g,y,n,a,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},8351:function(e,t,n){var i=n(2705),r=n(1149),o=n(7813),a=n(7114),l=n(8776),s=n(1814),c=i?i.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,i,c,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=l;case"[object Set]":var h=1&i;if(f||(f=s),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;i|=2,d.set(e,t);var v=a(f(e),f(t),i,c,p,d);return d.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:function(e,t,n){var i=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,l){var s=1&n,c=i(e),u=c.length;if(u!=i(t).length&&!s)return!1;for(var p=u;p--;){var d=c[p];if(!(s?d in t:r.call(t,d)))return!1}var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var m=!0;l.set(e,t),l.set(t,e);for(var v=s;++p<u;){var g=e[d=c[p]],y=t[d];if(o)var b=s?o(y,g,d,t,e,l):o(g,y,d,e,t,l);if(!(void 0===b?g===y||a(g,y,n,o,l):b)){m=!1;break}v||(v="constructor"==d)}if(m&&!v){var w=e.constructor,k=t.constructor;w==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof k&&k instanceof k||(m=!1)}return l.delete(e),l.delete(t),m}},1957:function(e,t,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},8234:function(e,t,n){var i=n(8866),r=n(9551),o=n(3674);e.exports=function(e){return i(e,o,r)}},5050:function(e,t,n){var i=n(7019);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:function(e,t,n){var i=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},9607:function(e,t,n){var i=n(2705),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,l=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),n=e[l];try{e[l]=void 0;var i=!0}catch(e){}var r=a.call(e);return i&&(t?e[l]=n:delete e[l]),r}},9551:function(e,t,n){var i=n(4963),r=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(e){return null==e?[]:(e=Object(e),i(a(e),(function(t){return o.call(e,t)})))}:r;e.exports=l},4160:function(e,t,n){var i=n(8552),r=n(7071),o=n(3818),a=n(8525),l=n(577),s=n(4239),c=n(346),u="[object Map]",p="[object Promise]",d="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(i),v=c(r),g=c(o),y=c(a),b=c(l),w=s;(i&&w(new i(new ArrayBuffer(1)))!=h||r&&w(new r)!=u||o&&w(o.resolve())!=p||a&&w(new a)!=d||l&&w(new l)!=f)&&(w=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case m:return h;case v:return u;case g:return p;case y:return d;case b:return f}return t}),e.exports=w},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789:function(e,t,n){var i=n(4536);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,n){var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:function(e,t,n){var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},1866:function(e,t,n){var i=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,n){var i,r=n(4429),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,n){var i=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},2117:function(e,t,n){var i=n(8470);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},7518:function(e,t,n){var i=n(8470);e.exports=function(e){return i(this.__data__,e)>-1}},4705:function(e,t,n){var i=n(8470);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:function(e,t,n){var i=n(1989),r=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},1285:function(e,t,n){var i=n(5050);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,n){var i=n(5050);e.exports=function(e){return i(this,e).get(e)}},9916:function(e,t,n){var i=n(5050);e.exports=function(e){return i(this,e).has(e)}},5265:function(e,t,n){var i=n(5050);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},4536:function(e,t,n){var i=n(852)(Object,"create");e.exports=i},6916:function(e,t,n){var i=n(5569)(Object.keys,Object);e.exports=i},1167:function(e,t,n){e=n.nmd(e);var i=n(1957),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&i.process,l=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=l},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5639:function(e,t,n){var i=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:function(e){e.exports=function(e){return this.__data__.has(e)}},1814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:function(e,t,n){var i=n(8407);e.exports=function(){this.__data__=new i,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,n){var i=n(8407),r=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694:function(e,t,n){var i=n(9454),r=n(7005),o=Object.prototype,a=o.hasOwnProperty,l=o.propertyIsEnumerable,s=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var i=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},4144:function(e,t,n){e=n.nmd(e);var i=n(5639),r=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,l=a&&a.exports===o?i.Buffer:void 0,s=(l?l.isBuffer:void 0)||r;e.exports=s},8446:function(e,t,n){var i=n(939);e.exports=function(e,t){return i(e,t)}},3560:function(e,t,n){var i=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},6719:function(e,t,n){var i=n(8749),r=n(1717),o=n(1167),a=o&&o.isTypedArray,l=a?r(a):i;e.exports=l},3674:function(e,t,n){var i=n(4636),r=n(280),o=n(8612);e.exports=function(e){return o(e)?i(e):r(e)}},8306:function(e,t,n){var i=n(3369);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(r.Cache||i),n}r.Cache=i,e.exports=r},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},2703:function(e,t,n){"use strict";var i=n(414);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4698:function(e){"use strict";e.exports=i}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,loaded:!1,exports:{}};return e[i](o,o.exports,n),o.loaded=!0,o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(i){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var r={};return function(){"use strict";n.r(r),n.d(r,{default:function(){return we},expandNodesToLevel:function(){return be}});var e=n(4184),t=n.n(e),i=n(8446),o=n.n(i),a=n(8306),l=n.n(a),s=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21,t="",n=crypto.getRandomValues(new Uint8Array(e));e--;){var i=63&n[e];t+=i<36?i.toString(36):i<62?(i-26).toString(36).toUpperCase():i<63?"_":"-"}return t},c=n(5697),u=n.n(c),p=n(4698),d=n.n(p);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=["children","title"];function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(o,e);var t,n,i,r=(n=o,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(n);if(i){var r=w(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return b(this,e)});function o(){return v(this,o),r.apply(this,arguments)}return(t=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.title,i=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,h);return d().createElement("button",m({"aria-label":n,title:n,type:"button"},i),t)}}])&&g(o.prototype,t),o}(d().PureComponent);k(N,"propTypes",{children:u().node.isRequired,title:u().string}),k(N,"defaultProps",{title:null});var C=N,E={ALL:"all",PARENT:"parent",LEAF:"leaf"};function P(e){this.message=e,this.stack=Error().stack}P.prototype=Object.create(Error.prototype),P.prototype.name="CheckboxTreeError";var x=P;function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var A=E,R=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,e),this.props=t,this.flatNodes=n}var t;return(t=[{key:"setProps",value:function(e){this.props=e}},{key:"clone",value:function(){var t=this,n={};return Object.keys(this.flatNodes).forEach((function(e){var i=t.flatNodes[e];n[e]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},i)})),new e(this.props,n)}},{key:"getNode",value:function(e){return this.flatNodes[e]}},{key:"reset",value:function(){this.flatNodes={}}},{key:"flattenNodes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(e)&&0!==e.length){var r=this.props,o=r.disabled,a=r.noCascade;e.forEach((function(e,r){var l=t.nodeHasChildren(e);if(void 0!==t.flatNodes[e.value])throw new x("Duplicate value '".concat(e.value,"' detected. All node values must be unique."));t.flatNodes[e.value]={label:e.label,value:e.value,children:e.children,parent:n,isChild:void 0!==n.value,isParent:l,isLeaf:!l,showCheckbox:void 0===e.showCheckbox||e.showCheckbox,disabled:t.getDisabledState(e,n,o,a),treeDepth:i,index:r},t.flattenNodes(e.children,e,i+1)}))}}},{key:"nodeHasChildren",value:function(e){return Array.isArray(e.children)}},{key:"getDisabledState",value:function(e,t,n,i){return!!n||!(i||!t.disabled)||Boolean(e.disabled)}},{key:"deserializeLists",value:function(e){var t=this,n=["checked","expanded"];Object.keys(this.flatNodes).forEach((function(e){n.forEach((function(n){t.flatNodes[e][n]=!1}))})),n.forEach((function(n){e[n].forEach((function(e){void 0!==t.flatNodes[e]&&(t.flatNodes[e][n]=!0)}))}))}},{key:"serializeList",value:function(e){var t=this,n=[];return Object.keys(this.flatNodes).forEach((function(i){t.flatNodes[i][e]&&n.push(i)})),n}},{key:"expandAllNodes",value:function(e){var t=this;return Object.keys(this.flatNodes).forEach((function(n){t.flatNodes[n].isParent&&(t.flatNodes[n].expanded=e)})),this}},{key:"toggleChecked",value:function(e,t,n,i){var r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.flatNodes[e.value],l=[A.PARENT,A.ALL].indexOf(n)>-1,s=[A.LEAF,A.ALL].indexOf(n)>-1;if(a.isLeaf||i){if(e.disabled)return this;this.toggleNode(e.value,"checked",t)}else l&&this.toggleNode(e.value,"checked",t),s&&a.children.forEach((function(e){r.toggleChecked(e,t,n,i,!1)}));return o&&!i&&a.isChild&&l&&this.toggleParentStatus(a.parent,n),this}},{key:"toggleParentStatus",value:function(e,t){var n=this.flatNodes[e.value];n.isChild?(t===A.ALL&&this.toggleNode(e.value,"checked",this.isEveryChildChecked(n)),this.toggleParentStatus(n.parent,t)):this.toggleNode(e.value,"checked",this.isEveryChildChecked(n))}},{key:"isEveryChildChecked",value:function(e){var t=this;return e.children.every((function(e){return t.getNode(e.value).checked}))}},{key:"toggleNode",value:function(e,t,n){return this.flatNodes[e][t]=n,this}}])&&j(e.prototype,t),e}();function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function z(e){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(o,e);var t,n,i,r=(n=o,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=z(n);if(i){var r=z(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return F(this,e)});function o(){return I(this,o),r.apply(this,arguments)}return(t=[{key:"componentDidMount",value:function(){this.updateDeterminateProperty()}},{key:"componentDidUpdate",value:function(){this.updateDeterminateProperty()}},{key:"updateDeterminateProperty",value:function(){var e=this.props.indeterminate;this.checkbox.indeterminate=e}},{key:"render",value:function(){var e=this,t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props);return delete t.indeterminate,d().createElement("input",D({},t,{ref:function(t){e.checkbox=t},type:"checkbox"}))}}])&&M(o.prototype,t),o}(d().PureComponent);q(U,"propTypes",{indeterminate:u().bool}),q(U,"defaultProps",{indeterminate:!1});var W=U,H=u().shape({check:u().node,uncheck:u().node,halfCheck:u().node,expandClose:u().node,expandOpen:u().node,expandAll:u().node,collapseAll:u().node,parentClose:u().node,parentOpen:u().node,leaf:u().node}),G=u().shape({collapseAll:u().string.isRequired,expandAll:u().string.isRequired,toggle:u().string.isRequired});function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function J(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?$(e):t}function $(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K(e,t)}(a,e);var n,i,r,o=(i=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Y(i);if(r){var n=Y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Q(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=o.call(this,e)).onCheck=t.onCheck.bind($(t)),t.onClick=t.onClick.bind($(t)),t.onExpand=t.onExpand.bind($(t)),t}return(n=[{key:"onCheck",value:function(){var e=this.props,t=e.value;(0,e.onCheck)({value:t,checked:this.getCheckState({toggle:!0})})}},{key:"onClick",value:function(){var e=this.props,t=e.expandOnClick,n=e.isParent,i=e.value,r=e.onClick;n&&t&&this.onExpand(),r({value:i,checked:this.getCheckState({toggle:!1})})}},{key:"onExpand",value:function(){var e=this.props,t=e.expanded,n=e.value;(0,e.onExpand)({value:n,expanded:!t})}},{key:"getCheckState",value:function(e){var t=e.toggle,n=this.props,i=n.checked,r=n.optimisticToggle;return!(0!==i||!t)||1===i&&!t||2===i&&r}},{key:"renderCollapseButton",value:function(){var e=this.props,t=e.expandDisabled,n=e.isLeaf,i=e.lang;return n?d().createElement("span",{className:"rct-collapse"},d().createElement("span",{className:"rct-icon"})):d().createElement(C,{className:"rct-collapse rct-collapse-btn",disabled:t,title:i.toggle,onClick:this.onExpand},this.renderCollapseIcon())}},{key:"renderCollapseIcon",value:function(){var e=this.props,t=e.expanded,n=e.icons,i=n.expandClose,r=n.expandOpen;return t?r:i}},{key:"renderCheckboxIcon",value:function(){var e=this.props,t=e.checked,n=e.icons,i=n.uncheck,r=n.check,o=n.halfCheck;return 0===t?i:1===t?r:o}},{key:"renderNodeIcon",value:function(){var e=this.props,t=e.expanded,n=e.icon,i=e.icons,r=i.leaf,o=i.parentClose,a=i.parentOpen,l=e.isLeaf;return null!==n?n:l?r:t?a:o}},{key:"renderBareLabel",value:function(e){var t=this.props,n=t.onClick,i=t.title,r=null!==n;return d().createElement("span",{className:"rct-bare-label",title:i},r?d().createElement("span",{className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"button",tabIndex:0},e):e)}},{key:"renderCheckboxLabel",value:function(e){var t=this.props,n=t.checked,i=t.disabled,r=t.title,o=t.treeId,a=t.value,l=null!==t.onClick,s="".concat(o,"-").concat(String(a).split(" ").join("_")),c=[d().createElement("label",{key:0,htmlFor:s,title:r},d().createElement(W,{checked:1===n,disabled:i,id:s,indeterminate:2===n,onClick:this.onCheck,onChange:function(){}}),d().createElement("span",{className:"rct-checkbox"},this.renderCheckboxIcon()),l?null:e)];return l&&c.push(d().createElement("span",{key:1,className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"link",tabIndex:0},e)),c}},{key:"renderLabel",value:function(){var e=this.props,t=e.label,n=e.showCheckbox,i=[e.showNodeIcon?d().createElement("span",{key:0,className:"rct-node-icon"},this.renderNodeIcon()):null,d().createElement("span",{key:1,className:"rct-title"},t)];return n?this.renderCheckboxLabel(i):this.renderBareLabel(i)}},{key:"renderChildren",value:function(){return this.props.expanded?this.props.children:null}},{key:"render",value:function(){var e=this.props,n=e.className,i=e.disabled,r=e.expanded,o=e.isLeaf,a=t()({"rct-node":!0,"rct-node-leaf":o,"rct-node-parent":!o,"rct-node-expanded":!o&&r,"rct-node-collapsed":!o&&!r,"rct-disabled":i},n);return d().createElement("li",{className:a},d().createElement("span",{className:"rct-text"},this.renderCollapseButton(),this.renderLabel()),this.renderChildren())}}])&&J(a.prototype,n),a}(d().PureComponent);V(X,"propTypes",{checked:u().number.isRequired,disabled:u().bool.isRequired,expandDisabled:u().bool.isRequired,expanded:u().bool.isRequired,icons:H.isRequired,isLeaf:u().bool.isRequired,isParent:u().bool.isRequired,label:u().node.isRequired,lang:G.isRequired,optimisticToggle:u().bool.isRequired,showNodeIcon:u().bool.isRequired,treeId:u().string.isRequired,value:u().oneOfType([u().string,u().number]).isRequired,onCheck:u().func.isRequired,onExpand:u().func.isRequired,children:u().node,className:u().string,expandOnClick:u().bool,icon:u().node,showCheckbox:u().bool,title:u().string,onClick:u().func}),V(X,"defaultProps",{children:null,className:null,expandOnClick:!1,icon:null,showCheckbox:!0,title:null,onClick:function(){}});var ee=X,te=u().oneOfType([u().arrayOf(u().string),u().arrayOf(u().number)]);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe={label:u().node.isRequired,value:u().oneOfType([u().string,u().number]).isRequired,disabled:u().bool,icon:u().node,showCheckbox:u().bool,title:u().string},ae=u().oneOfType([u().shape(oe),u().shape(ie(ie({},oe),{},{children:u().arrayOf(oe).isRequired}))]);function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(e,t){return!t||"object"!==le(t)&&"function"!=typeof t?fe(e):t}function fe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pe(e,t)}(p,e);var n,i,r,a,c,u=(a=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=he(a);if(c){var n=he(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return de(this,e)});function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),t=u.call(this,e);var n=new R(e);return n.flattenNodes(e.nodes),n.deserializeLists({checked:e.checked,expanded:e.expanded}),t.state={id:e.id||"rct-".concat(s()),model:n,prevProps:e},t.onCheck=t.onCheck.bind(fe(t)),t.onExpand=t.onExpand.bind(fe(t)),t.onNodeClick=t.onNodeClick.bind(fe(t)),t.onExpandAll=t.onExpandAll.bind(fe(t)),t.onCollapseAll=t.onCollapseAll.bind(fe(t)),t.combineMemorized=l()((function(e,t){return ce(ce({},e),t)})).bind(fe(t)),t}return n=p,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.model,i=t.prevProps,r=e.disabled,a=e.id,l=e.nodes,s=ce(ce({},t),{},{prevProps:e});return n.setProps(e),o()(i.nodes,l)&&i.disabled===r||(n.reset(),n.flattenNodes(l)),null!==a&&(s=ce(ce({},s),{},{id:a})),n.deserializeLists({checked:e.checked,expanded:e.expanded}),s}}],(i=[{key:"onCheck",value:function(e){var t=this.props,n=t.checkModel,i=t.noCascade,r=t.onCheck,o=this.state.model.clone(),a=o.getNode(e.value);o.toggleChecked(e,e.checked,n,i),r(o.serializeList("checked"),ce(ce({},a),e))}},{key:"onExpand",value:function(e){var t=this.props.onExpand,n=this.state.model.clone(),i=n.getNode(e.value);n.toggleNode(e.value,"expanded",e.expanded),t(n.serializeList("expanded"),ce(ce({},i),e))}},{key:"onNodeClick",value:function(e){(0,this.props.onClick)(ce(ce({},this.state.model.getNode(e.value)),e))}},{key:"onExpandAll",value:function(){this.expandAllNodes()}},{key:"onCollapseAll",value:function(){this.expandAllNodes(!1)}},{key:"expandAllNodes",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,this.props.onExpand)(this.state.model.clone().expandAllNodes(e).serializeList("expanded"))}},{key:"determineShallowCheckState",value:function(e,t){var n=this.state.model.getNode(e.value);return n.isLeaf||t?n.checked?1:0:this.isEveryChildChecked(e)?1:this.isSomeChildChecked(e)?2:0}},{key:"isEveryChildChecked",value:function(e){var t=this;return e.children.every((function(e){return 1===t.state.model.getNode(e.value).checkState}))}},{key:"isSomeChildChecked",value:function(e){var t=this;return e.children.some((function(e){return t.state.model.getNode(e.value).checkState>0}))}},{key:"renderTreeNodes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.props,r=i.expandDisabled,o=i.expandOnClick,a=i.icons,l=i.lang,s=i.noCascade,c=i.onClick,u=i.onlyLeafCheckboxes,f=i.optimisticToggle,h=i.showNodeTitle,m=i.showNodeIcon,v=this.state,g=v.id,y=v.model,b=p.defaultProps.icons,w=e.map((function(e){var i=e.value,p=y.getNode(e.value),v=p.isParent?t.renderTreeNodes(e.children,e):null;p.checkState=t.determineShallowCheckState(e,s);var w=u?p.isLeaf:p.showCheckbox;return!n.value||y.getNode(n.value).expanded?d().createElement(ee,{key:i,checked:p.checkState,className:e.className,disabled:p.disabled,expandDisabled:r,expandOnClick:o,expanded:p.expanded,icon:e.icon,icons:t.combineMemorized(b,a),label:e.label,lang:l,optimisticToggle:f,isLeaf:p.isLeaf,isParent:p.isParent,showCheckbox:w,showNodeIcon:m,title:h?e.title||e.label:e.title,treeId:g,value:e.value,onCheck:t.onCheck,onClick:c&&t.onNodeClick,onExpand:t.onExpand},v):null}));return d().createElement("ol",null,w)}},{key:"renderExpandAll",value:function(){var e=this.props,t=e.icons,n=t.expandAll,i=t.collapseAll,r=e.lang;return e.showExpandAll?d().createElement("div",{className:"rct-options"},d().createElement(C,{className:"rct-option rct-option-expand-all",title:r.expandAll,onClick:this.onExpandAll},n),d().createElement(C,{className:"rct-option rct-option-collapse-all",title:r.collapseAll,onClick:this.onCollapseAll},i)):null}},{key:"renderHiddenInput",value:function(){var e=this.props,t=e.name,n=e.nameAsArray;return void 0===t?null:n?this.renderArrayHiddenInput():this.renderJoinedHiddenInput()}},{key:"renderArrayHiddenInput",value:function(){var e=this.props,t=e.checked,n=e.name;return t.map((function(e){var t="".concat(n,"[]");return d().createElement("input",{key:e,name:t,type:"hidden",value:e})}))}},{key:"renderJoinedHiddenInput",value:function(){var e=this.props,t=e.checked,n=e.name,i=t.join(",");return d().createElement("input",{name:n,type:"hidden",value:i})}},{key:"render",value:function(){var e,n=this.props,i=n.direction,r=n.disabled,o=n.iconsClass,a=n.nodes,l=n.nativeCheckboxes,s=this.state.id,c=this.renderTreeNodes(a),u=t()((me(e={"react-checkbox-tree":!0,"rct-disabled":r},"rct-icons-".concat(o),!0),me(e,"rct-native-display",l),me(e,"rct-direction-rtl","rtl"===i),e));return d().createElement("div",{className:u,id:s},this.renderExpandAll(),this.renderHiddenInput(),c)}}])&&ue(n.prototype,i),r&&ue(n,r),p}(d().Component);function ge(e){return function(e){if(Array.isArray(e))return ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ye(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function be(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n>t)return[];var i=[];return e.forEach((function(e){e.children&&(i=[].concat(ge(i),[e.value],ge(be(e.children,t,n+1))))})),i}me(ve,"propTypes",{nodes:u().arrayOf(ae).isRequired,checkModel:u().oneOf([E.LEAF,E.ALL]),checked:te,direction:u().string,disabled:u().bool,expandDisabled:u().bool,expandOnClick:u().bool,expanded:te,icons:H,iconsClass:u().string,id:u().string,lang:G,name:u().string,nameAsArray:u().bool,nativeCheckboxes:u().bool,noCascade:u().bool,onlyLeafCheckboxes:u().bool,optimisticToggle:u().bool,showExpandAll:u().bool,showNodeIcon:u().bool,showNodeTitle:u().bool,onCheck:u().func,onClick:u().func,onExpand:u().func}),me(ve,"defaultProps",{checkModel:E.LEAF,checked:[],direction:"ltr",disabled:!1,expandDisabled:!1,expandOnClick:!1,expanded:[],icons:{check:d().createElement("span",{className:"rct-icon rct-icon-check"}),uncheck:d().createElement("span",{className:"rct-icon rct-icon-uncheck"}),halfCheck:d().createElement("span",{className:"rct-icon rct-icon-half-check"}),expandClose:d().createElement("span",{className:"rct-icon rct-icon-expand-close"}),expandOpen:d().createElement("span",{className:"rct-icon rct-icon-expand-open"}),expandAll:d().createElement("span",{className:"rct-icon rct-icon-expand-all"}),collapseAll:d().createElement("span",{className:"rct-icon rct-icon-collapse-all"}),parentClose:d().createElement("span",{className:"rct-icon rct-icon-parent-close"}),parentOpen:d().createElement("span",{className:"rct-icon rct-icon-parent-open"}),leaf:d().createElement("span",{className:"rct-icon rct-icon-leaf"})},iconsClass:"fa4",id:null,lang:{collapseAll:"Collapse all",expandAll:"Expand all",toggle:"Toggle"},name:void 0,nameAsArray:!1,nativeCheckboxes:!1,noCascade:!1,onlyLeafCheckboxes:!1,optimisticToggle:!0,showExpandAll:!1,showNodeIcon:!0,showNodeTitle:!1,onCheck:function(){},onClick:null,onExpand:function(){}});var we=ve}(),r}())},2993:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,i="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(!o(e[s],a[s]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!a.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!o(s.value[1],a.get(s.value[0])))return!1;return!0}if(i&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(e[s]!==a[s])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!o(e[c[s]],a[c[s]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},1046:function(e,t,n){"use strict";n.d(t,{w_:function(){return c}});var i=n(7294),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=i.createContext&&i.createContext(r),a=function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},l=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};function s(e){return e&&e.map((function(e,t){return i.createElement(e.tag,a({key:t},e.attr),s(e.child))}))}function c(e){return function(t){return i.createElement(u,a({attr:a({},e.attr)},t),s(e.child))}}function u(e){var t=function(t){var n,r=e.attr,o=e.size,s=e.title,c=l(e,["attr","size","title"]),u=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),i.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,c,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&i.createElement("title",null,s),e.children)};return void 0!==o?i.createElement(o.Consumer,null,(function(e){return t(e)})):t(r)}},4839:function(e,t,n){"use strict";var i,r=n(7294),o=(i=r)&&"object"==typeof i&&"default"in i?i.default:i;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(i){if("function"!=typeof i)throw new Error("Expected WrappedComponent to be a React component.");var s,c=[];function u(){s=e(c.map((function(e){return e.props}))),p.canUseDOM?t(s):n&&(s=n(s))}var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.peek=function(){return s},r.rewind=function(){if(r.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,c=[],e};var a=r.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return o.createElement(i,this.props)},r}(r.PureComponent);return a(p,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(i)+")"),a(p,"canUseDOM",l),p}}},8037:function(e,t,n){"use strict";var i=n(5318);t.c4=t.ZP=void 0;var r=i(n(7316)),o=i(n(1506)),a=i(n(5354)),l=i(n(7154)),s=i(n(5697)),c=i(n(7294)),u=n(9499),p=n(2098),d=n(7432);t.cP=d.parsePath;var f=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"],h=function(e){return null==e?void 0:e.startsWith("/")};function m(e,t){var n,i;if(void 0===t&&(t=g()),!y(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var r=null!==(n=null!==(i=t)&&void 0!==i?i:v())&&void 0!==n?n:"/";return""+(null!=r&&r.endsWith("/")?r.slice(0,-1):r)+(e.startsWith("/")?e:"/"+e)}var v=function(){return""},g=function(){return""},y=function(e){return e&&!e.startsWith("http://")&&!e.startsWith("https://")&&!e.startsWith("//")};var b=function(e,t){return"number"==typeof e?e:y(e)?h(e)?m(e):function(e,t){return h(e)?e:(0,p.resolve)(e,t)}(e,t):e},w={activeClassName:s.default.string,activeStyle:s.default.object,partiallyActive:s.default.bool};function k(e){return c.default.createElement(u.Location,null,(function(t){var n=t.location;return c.default.createElement(N,(0,l.default)({},e,{_location:n}))}))}var N=function(e){function t(t){var n;(n=e.call(this,t)||this).defaultGetProps=function(e){var t=e.isPartiallyCurrent,i=e.isCurrent;return(n.props.partiallyActive?t:i)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,l.default)({},n.props.style,n.props.activeStyle)}:null};var i=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(i=!0),n.state={IOSupported:i},n.handleRef=n.handleRef.bind((0,o.default)(n)),n}(0,a.default)(t,e);var n=t.prototype;return n._prefetch=function(){var e=window.location.pathname;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname);var t=b(this.props.to,e),n=(0,d.parsePath)(t).pathname;e!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,i,r=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(){r._prefetch()},(i=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(i.unobserve(t),i.disconnect(),n())}))}))).observe(t),{instance:i,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,i=t.getProps,o=void 0===i?this.defaultGetProps:i,a=t.onClick,s=t.onMouseEnter,p=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),h=t.replace,m=t._location,v=(0,r.default)(t,f);var g=b(n,m.pathname);return y(g)?c.default.createElement(u.Link,(0,l.default)({to:g,state:p,getProps:o,innerRef:this.handleRef,onMouseEnter:function(e){s&&s(e),___loader.hovering((0,d.parsePath)(g).pathname)},onClick:function(t){if(a&&a(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=h,i=encodeURI(g)===m.pathname;"boolean"!=typeof h&&i&&(n=!0),window.___navigate(g,{state:p,replace:n})}return!0}},v)):c.default.createElement("a",(0,l.default)({href:g},v))},t}(c.default.Component);N.propTypes=(0,l.default)({},w,{onClick:s.default.func,to:s.default.string.isRequired,replace:s.default.bool,state:s.default.object});var C=c.default.forwardRef((function(e,t){return c.default.createElement(k,(0,l.default)({innerRef:t},e))}));t.ZP=C;t.c4=function(e,t){window.___navigate(b(e,window.location.pathname),t)}},7432:function(e,t){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",n="",i="",r=t.indexOf("#");-1!==r&&(i=t.substr(r),t=t.substr(0,r));var o=t.indexOf("?");-1!==o&&(n=t.substr(o),t=t.substr(0,o));return{pathname:t,search:"?"===n?"":n,hash:"#"===i?"":i}}},9679:function(e,t,n){"use strict";t.$C=void 0;var i=n(1432);t.$C=i.ScrollHandler,n(4855).useScrollRestoration},1432:function(e,t,n){"use strict";var i=n(5318);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var r=i(n(1506)),o=i(n(5354)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(i,o,a):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(7294)),l=i(n(5697)),s=n(1142);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=a.createContext(new s.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this)._stateStorage=new s.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,r.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var i=document.getElementById(e.substring(1));i&&t.shouldUpdateScroll(n,t.props)&&i.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var i=t.props.shouldUpdateScroll;return!i||i.call((0,r.default)(t),e,n)},t}(0,o.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,i=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),e?this.windowScroll(e,void 0):i&&this.scrollToHash(decodeURI(i),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,i=n.hash,r=n.key;r&&(t=this._stateStorage.read(this.props.location,r)),i?this.scrollToHash(decodeURI(i),e):this.windowScroll(t,e)},n.render=function(){return a.createElement(u.Provider,{value:this._stateStorage},this.props.children)},t}(a.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:l.default.func,children:l.default.element.isRequired,location:l.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",i=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var i=this.getStateKey(e,t);try{var r=window.sessionStorage.getItem(i);return r?JSON.parse(r):0}catch(o){return window&&window[n]&&window[n][i]?window[n][i]:0}},t.save=function(e,t,i){var r=this.getStateKey(e,t),o=JSON.stringify(i);try{window.sessionStorage.setItem(r,o)}catch(a){window&&window[n]||(window[n]={}),window[n][r]=JSON.parse(o)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=i},4855:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,o.useLocation)(),n=(0,r.useContext)(i.ScrollContext),a=(0,r.useRef)(null);return(0,r.useLayoutEffect)((function(){if(a.current){var i=n.read(t,e);a.current.scrollTo(0,i||0)}}),[t.key]),{ref:a,onScroll:function(){a.current&&n.save(t,e,a.current.scrollTop)}}};var i=n(1432),r=n(7294),o=n(9499)},4999:function(e,t,n){t.components={"component---src-pages-404-js":function(){return n.e(883).then(n.bind(n,9616))},"component---src-pages-index-js":function(){return n.e(678).then(n.bind(n,144))},"component---src-pages-markdown-remark-frontmatter-slug-js":function(){return n.e(647).then(n.bind(n,5631))}}},5182:function(e,t,n){e.exports=[{plugin:n(1731),options:{plugins:[]}},{plugin:n(1752),options:{plugins:[]}}]},7343:function(e,t,n){var i=n(5182),r=n(3281).jN,o=r.getResourceURLsForPathname,a=r.loadPage,l=r.loadPageSync;t.h=function(e,t,n,r){void 0===t&&(t={});var s=i.map((function(n){if(n.plugin[e]){t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=l;var i=n.plugin[e](t,n.options);return i&&r&&(t=r({args:t,result:i,plugin:n})),i}}));return(s=s.filter((function(e){return void 0!==e}))).length>0?s:n?[n]:[]},t.I=function(e,t,n){return i.reduce((function(n,i){return i.plugin[e]?n.then((function(){return i.plugin[e](t,i.options)})):n}),Promise.resolve())}},8110:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var i=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},2257:function(e,t,n){"use strict";n.d(t,{UD:function(){return d},Cj:function(){return h},GA:function(){return f},DS:function(){return p}});var i=n(2098),r=n(1578),o=function(e){return void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e},a=n(5166),l=new Map,s=[],c=function(e){var t=decodeURIComponent(e);return(0,r.Z)(t,decodeURIComponent("")).split("#")[0].split("?")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(e){s=e},d=function(e){var t=m(e),n=s.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),r=(0,i.pick)(n,t);return r?o(r.route.originalPath):null},f=function(e){var t=m(e),n=s.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),r=(0,i.pick)(n,t);return r?r.params:{}},h=function e(t){var n=c(u(t));if(l.has(n))return l.get(n);var i=(0,a.J)(t);if(i)return e(i.toPath);var r=d(n);return r||(r=m(t)),l.set(n,r),r},m=function(e){var t=c(u(e));return"/index.html"===t&&(t="/"),t=o(t)}},5444:function(e,t,n){"use strict";n.d(t,{rU:function(){return r.ZP},c4:function(){return r.c4},B9:function(){return o},K2:function(){return a}});var i=n(7294),r=n(8037),o=(n(9679),n(861),n(3281).ZP.enqueue,i.createContext({}));var a=function(e){var t;i.useContext;var n=i.useContext(o);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},3281:function(e,t,n){"use strict";n.d(t,{uQ:function(){return p},kL:function(){return b},ZP:function(){return N},hs:function(){return C},jN:function(){return k},N1:function(){return w}});var i=n(3552);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,i){if("undefined"!=typeof document){var r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),Object.keys(t).forEach((function(e){r.setAttribute(e,t[e])})),r.onload=n,r.onerror=i,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(r)}else i()}))}:function(e){return new Promise((function(t,n){var i=new XMLHttpRequest;i.open("GET",e,!0),i.onload=function(){200===i.status?t():n()},i.send(null)}))},l={},s=function(e,t){return new Promise((function(n){l[e]?n():a(e,t).then((function(){n(),l[e]=!0})).catch((function(){}))}))},c=n(8110),u=n(2257),p={Error:"error",Success:"success"},d=function(e){return e&&e.default||e},f=function(e){var t;return"/page-data/"+("/"===e?"index":(t="/"===(t=e)[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t)+"/page-data.json"};function h(e,t){return void 0===t&&(t="GET"),new Promise((function(n,i){var r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=function(){4==r.readyState&&n(r)},r.send(null)}))}var m,v=function(e,t){void 0===t&&(t=null);var n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes};return{component:t,json:e.result,page:n}},g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=h(e,"GET"),this.inFlightNetworkRequests.set(e,n)),n.then((function(n){return t.inFlightNetworkRequests.delete(e),n})).catch((function(n){throw t.inFlightNetworkRequests.delete(e),n}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))},t.fetchPageDataJson=function(e){var t=this,n=e.pagePath,i=e.retries,r=void 0===i?0:i,o=f(n);return this.memoizedGet(o).then((function(i){var o=i.status,a=i.responseText;if(200===o)try{var l=JSON.parse(a);if(void 0===l.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:p.Success,payload:l})}catch(s){}return 404===o||200===o?"/404.html"===n?Object.assign(e,{status:p.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?Object.assign(e,{status:p.Error}):r<3?t.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:p.Error})}))},t.loadPageDataJson=function(e){var t=this,n=(0,u.Cj)(e);if(this.pageDataDb.has(n)){var i=this.pageDataDb.get(n);return Promise.resolve(i)}return this.fetchPageDataJson({pagePath:n}).then((function(e){return t.pageDataDb.set(n,e),e}))},t.findMatchPath=function(e){return(0,u.UD)(e)},t.loadPage=function(e){var t=this,n=(0,u.Cj)(e);if(this.pageDb.has(n)){var i=this.pageDb.get(n);return i.error?{error:i.error,status:i.status}:Promise.resolve(i.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var r=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(e){var i=e[1];if(i.status===p.Error)return{status:p.Error};var r=i.payload,o=r,a=o.componentChunkName,l=o.staticQueryHashes,s=void 0===l?[]:l,u={},d=t.loadComponent(a).then((function(t){var n;return u.createdAt=new Date,!t||t instanceof Error?(u.status=p.Error,u.error=t):(u.status=p.Success,!0===i.notFound&&(u.notFound=!0),r=Object.assign(r,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=v(r,t)),n})),f=Promise.all(s.map((function(e){if(t.staticQueryDb[e]){var n=t.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:n}}return t.memoizedGet("/page-data/sq/d/"+e+".json").then((function(t){var n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"/page-data/sq/d/"+e+'.json"')}))}))).then((function(e){var n={};return e.forEach((function(e){var i=e.staticQueryHash,r=e.jsonPayload;n[i]=r,t.staticQueryDb[i]=r})),n}));return Promise.all([d,f]).then((function(e){var i,r=e[0],o=e[1];return r&&(i=Object.assign({},r,{staticQueryResults:o}),u.payload=i,c.Z.emit("onPostLoadPageResources",{page:i,pageResources:i})),t.pageDb.set(n,u),u.error?{error:u.error,status:u.status}:i})).catch((function(e){return{error:e,status:p.Error}}))}));return r.then((function(){t.inFlightDb.delete(n)})).catch((function(e){throw t.inFlightDb.delete(n),e})),this.inFlightDb.set(n,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});var n=(0,u.Cj)(e);if(this.pageDb.has(n)){var i,r=this.pageDb.get(n);if(r.payload)return r.payload;if(null!==(i=t)&&void 0!==i&&i.withErrorDetails)return{error:r.error,status:r.status}}},t.shouldPrefetch=function(e){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&!this.pageDb.has(e)},t.prefetch=function(e){var t=this;if(!this.shouldPrefetch(e))return!1;if(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled)return!1;var n=(0,u.Cj)(e);return this.doPrefetch(n).then((function(){t.prefetchCompleted.has(e)||(t.apiRunner("onPostPrefetchPathname",{pathname:e}),t.prefetchCompleted.add(e))})),!0},t.doPrefetch=function(e){var t=this,n=f(e);return s(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)}))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){var t=(0,u.Cj)(e),n=this.pageDataDb.get(t);if(n){var i=v(n.payload);return[].concat(o(y(i.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){var t=(0,u.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){var t=this;return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var i,r=n.status,o=n.responseText;if(200!==r&&e<3)return t.loadAppData(e+1);if(200===r)try{var a=JSON.parse(o);if(void 0===a.webpackCompilationHash)throw new Error("not a valid app-data response");i=a}catch(l){}return i}))},e}(),y=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},b=function(e){function t(t,n){return e.call(this,(function(e){if(!t.components[e])throw new Error("We couldn't find the correct component chunk with the name "+e);return t.components[e]().then(d).catch((function(e){return e}))}),n)||this}(0,i.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((function(e){if(e.status!==p.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,i=y(n);return Promise.all(i.map(s)).then((function(){return t}))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((function(e){return e.notFound?h(t,"HEAD").then((function(t){return 200===t.status?{status:p.Error}:e})):e}))},t}(g),w=function(e){m=e},k={enqueue:function(e){return m.prefetch(e)},getResourceURLsForPathname:function(e){return m.getResourceURLsForPathname(e)},loadPage:function(e){return m.loadPage(e)},loadPageSync:function(e,t){return void 0===t&&(t={}),m.loadPageSync(e,t)},prefetch:function(e){return m.prefetch(e)},isPageNotFound:function(e){return m.isPageNotFound(e)},hovering:function(e){return m.hovering(e)},loadAppData:function(){return m.loadAppData()}},N=k;function C(){return m?m.staticQueryDb:{}}},804:function(e,t,n){"use strict";var i=n(3552),r=n(7294),o=n(7343),a=n(2257),l=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.Z)(t,e),t.prototype.render=function(){var e=Object.assign({},this.props,{params:Object.assign({},(0,a.GA)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params)}),t=(0,r.createElement)(this.props.pageResources.component,Object.assign({},e,{key:this.props.path||this.props.pageResources.page.path}));return(0,o.h)("wrapPageElement",{element:t,props:e},t,(function(t){return{element:t.result,props:e}})).pop()},t}(r.Component);t.Z=l},2871:function(e,t,n){"use strict";var i=n(3552),r=n(7343),o=n(7294),a=n(3935),l=n(9499),s=n(9679),c=n(5444),u=n(3281),p=n(5166),d=n(8110),f={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},h=n(2393),m=n(8037);function v(e){var t=(0,p.J)(e);return null!=t&&(window.___replace(t.toPath),!0)}var g=function(e,t){v(e.pathname)||(0,r.h)("onPreRouteUpdate",{location:e,prevLocation:t})},y=function(e,t){v(e.pathname)||(0,r.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=(0,m.cP)(e).pathname,i=(0,p.J)(n);if(i&&(e=i.toPath,n=(0,m.cP)(e).pathname),window.___swUpdated)window.location=n;else{var o=setTimeout((function(){d.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,r.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);u.ZP.loadPage(n).then((function(i){if(!i||i.status===u.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(o);i&&i.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n),(0,l.navigate)(e,t),clearTimeout(o)}))}}else h.V5.navigate(e)};function w(e,t){var n=this,i=t.location,o=i.pathname,a=i.hash,l=(0,r.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:o,routerProps:{location:i},getSavedScrollPosition:function(e){return[0,n._stateStorage.read(e,e.key)]}});if(l.length>0)return l[l.length-1];if(e&&e.location.pathname===o)return a?decodeURI(a.slice(1)):[0,0];return!0}var k=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=o.createRef(),n}(0,i.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var i="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==i&&(n.announcementRef.current.innerText=i))}))},n.render=function(){return o.createElement("div",Object.assign({},f,{ref:this.announcementRef}))},t}(o.Component),N=function(e,t){var n,i;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(i=t.state)||void 0===i?void 0:i.key)},C=function(e){function t(t){var n;return n=e.call(this,t)||this,g(t.location,null),n}(0,i.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!N(e.location,this.props.location)&&(g(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){N(e.location,this.props.location)&&y(this.props.location,e.location)},n.render=function(){return o.createElement(o.Fragment,null,this.props.children,o.createElement(k,{location:location}))},t}(o.Component),E=n(804),P=n(4999);function x(e,t){for(var n in e)if(!(n in t))return!0;for(var i in t)if(e[i]!==t[i])return!0;return!1}var O=function(e){function t(t){var n;n=e.call(this)||this;var i=t.location,r=t.pageResources;return n.state={location:Object.assign({},i),pageResources:r||u.ZP.loadPageSync(i.pathname,{withErrorDetails:!0})},n}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:u.ZP.loadPageSync(n.pathname,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;u.ZP.loadPage(e).then((function(n){n&&n.status!==u.uQ.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return x(e.props,t)||x(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},t}(o.Component),S=n(1578),_=new u.kL(P,[]);(0,u.N1)(_),_.setApiRunner(r.h),window.asyncRequires=P,window.___emitter=d.Z,window.___loader=u.jN,h.V5.listen((function(e){e.location.action=e.action})),window.___push=function(e){return b(e,{replace:!1})},window.___replace=function(e){return b(e,{replace:!0})},window.___navigate=function(e,t){return b(e,t)},v(window.location.pathname),(0,r.I)("onClientEntry").then((function(){(0,r.h)("registerServiceWorker").filter(Boolean).length>0&&n(154);var e=function(e){return o.createElement(l.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},o.createElement(E.Z,e))},t=o.createContext({}),p=function(e){function n(){return e.apply(this,arguments)||this}return(0,i.Z)(n,e),n.prototype.render=function(){var e=this.props.children;return o.createElement(l.Location,null,(function(n){var i=n.location;return o.createElement(O,{location:i},(function(n){var i=n.pageResources,r=n.location,a=(0,u.hs)();return o.createElement(c.B9.Provider,{value:a},o.createElement(t.Provider,{value:{pageResources:i,location:r}},e))}))}))},n}(o.Component),d=function(n){function r(){return n.apply(this,arguments)||this}return(0,i.Z)(r,n),r.prototype.render=function(){var n=this;return o.createElement(t.Consumer,null,(function(t){var i=t.pageResources,r=t.location;return o.createElement(C,{location:r},o.createElement(s.$C,{location:r,shouldUpdateScroll:w},o.createElement(l.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},o.createElement(e,Object.assign({path:"/404.html"===i.page.path?(0,S.Z)(r.pathname,""):encodeURI(i.page.matchPath||i.page.path)},n.props,{location:r,pageResources:i},i.json)))))}))},r}(o.Component),f=window,h=f.pagePath,m=f.location;h&&""+h!==m.pathname&&!(_.findMatchPath((0,S.Z)(m.pathname,""))||"/404.html"===h||h.match(/^\/404\/?$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,l.navigate)(""+h+m.search+m.hash,{replace:!0}),u.jN.loadPage(m.pathname).then((function(e){if(!e||e.status===u.uQ.Error){var t="page resources for "+m.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}window.___webpackCompilationHash=e.page.webpackCompilationHash;var n=(0,r.h)("wrapRootElement",{element:o.createElement(d,null)},o.createElement(d,null),(function(e){return{element:e.result}})).pop(),i=function(){var e=o.useRef(!1);return o.useEffect((function(){e.current||(e.current=!0,performance.mark("onInitialClientRender"),(0,r.h)("onInitialClientRender"))}),[]),o.createElement(p,null,n)},l=(0,r.h)("replaceHydrateFunction",void 0,a.createRoot?a.createRoot:a.hydrate)[0];function s(){var e="undefined"!=typeof window?document.getElementById("___gatsby"):null;l===a.createRoot?l(e,{hydrate:!0}).render(o.createElement(i,null)):l(o.createElement(i,null),e)}var c=document;if("complete"===c.readyState||"loading"!==c.readyState&&!c.documentElement.doScroll)setTimeout((function(){s()}),0);else{var f=function e(){c.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),s()};c.addEventListener("DOMContentLoaded",f,!1),window.addEventListener("load",f,!1)}}))}))},6947:function(e,t,n){"use strict";n.r(t);var i=n(7294),r=n(3281),o=n(804);t.default=function(e){var t=e.location,n=r.ZP.loadPageSync(t.pathname);return n?i.createElement(o.Z,Object.assign({location:t,pageResources:n},n.json)):null}},861:function(e,t,n){var i;e.exports=(i=n(6947))&&i.default||i},3639:function(e,t){t.O=function(e){return e}},5166:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var i=new Map,r=new Map;function o(e){var t=i.get(e);return t||(t=r.get(e.toLowerCase())),t}[].forEach((function(e){e.ignoreCase?r.set(e.fromPath,e):i.set(e.fromPath,e)}))},154:function(e,t,n){"use strict";n.r(t);var i=n(7343);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(function(){(0,i.h)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,i.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,i.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,i.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,i.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},1578:function(e,t,n){"use strict";function i(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return i}})},1752:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapPageElement:function(){return He}});var i,r,o,a,l=n(7294),s=n(5697),c=n.n(s),u=n(4839),p=n.n(u),d=n(2993),f=n.n(d),h=n(6494),m=n.n(h),v="bodyAttributes",g="htmlAttributes",y="titleAttributes",b={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(b).map((function(e){return b[e]})),"charset"),k="cssText",N="href",C="http-equiv",E="innerHTML",P="itemprop",x="name",O="property",S="rel",_="src",j="target",A={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},R="defaultTitle",T="defer",D="encodeSpecialCharacters",L="onChangeClientState",I="titleTemplate",M=Object.keys(A).reduce((function(e,t){return e[A[t]]=t,e}),{}),B=[b.NOSCRIPT,b.SCRIPT,b.STYLE],F="data-react-helmet",z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},U=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},H=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n},G=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Z=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},J=function(e){var t=V(e,b.TITLE),n=V(e,I);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var i=V(e,R);return t||i||void 0},K=function(e){return V(e,L)||function(){}},Q=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return W({},e,t)}),{})},$=function(e,t){return t.filter((function(e){return void 0!==e[b.BASE]})).map((function(e){return e[b.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var i=Object.keys(n),r=0;r<i.length;r++){var o=i[r].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Y=function(e,t,n){var i={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&ie("Helmet: "+e+' should be of type "Array". Instead found type "'+z(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var r={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var l=o[a],s=l.toLowerCase();-1===t.indexOf(s)||n===S&&"canonical"===e[n].toLowerCase()||s===S&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||l!==E&&l!==k&&l!==P||(n=l)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return i[n]||(i[n]={}),r[n]||(r[n]={}),!i[n][c]&&(r[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(r),a=0;a<o.length;a++){var l=o[a],s=m()({},i[l],r[l]);i[l]=s}return e}),[]).reverse()},V=function(e,t){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.hasOwnProperty(t))return i[t]}return null},X=(i=Date.now(),function(e){var t=Date.now();t-i>16?(i=t,e(t)):setTimeout((function(){X(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||X:n.g.requestAnimationFrame||X,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:n.g.cancelAnimationFrame||ee,ie=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},re=null,oe=function(e,t){var n=e.baseTag,i=e.bodyAttributes,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,l=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,p=e.title,d=e.titleAttributes;se(b.BODY,i),se(b.HTML,r),le(p,d);var f={baseTag:ce(b.BASE,n),linkTags:ce(b.LINK,o),metaTags:ce(b.META,a),noscriptTags:ce(b.NOSCRIPT,l),scriptTags:ce(b.SCRIPT,c),styleTags:ce(b.STYLE,u)},h={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,i=t.oldTags;n.length&&(h[e]=n),i.length&&(m[e]=f[e].oldTags)})),t&&t(),s(e,h,m)},ae=function(e){return Array.isArray(e)?e.join(""):e},le=function(e,t){void 0!==e&&document.title!==e&&(document.title=ae(e)),se(b.TITLE,t)},se=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var i=n.getAttribute(F),r=i?i.split(","):[],o=[].concat(r),a=Object.keys(t),l=0;l<a.length;l++){var s=a[l],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===r.indexOf(s)&&r.push(s);var u=o.indexOf(s);-1!==u&&o.splice(u,1)}for(var p=o.length-1;p>=0;p--)n.removeAttribute(o[p]);r.length===o.length?n.removeAttribute(F):n.getAttribute(F)!==a.join(",")&&n.setAttribute(F,a.join(","))}},ce=function(e,t){var n=document.head||document.querySelector(b.HEAD),i=n.querySelectorAll(e+"["+"data-react-helmet]"),r=Array.prototype.slice.call(i),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var i in t)if(t.hasOwnProperty(i))if(i===E)n.innerHTML=t.innerHTML;else if(i===k)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var l=void 0===t[i]?"":t[i];n.setAttribute(i,l)}n.setAttribute(F,"true"),r.some((function(e,t){return a=t,n.isEqualNode(e)}))?r.splice(a,1):o.push(n)})),r.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:r,newTags:o}},ue=function(e){return Object.keys(e).reduce((function(t,n){var i=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+i:i}),"")},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[A[n]||n]=e[n],t}),t)},de=function(e,t,n){switch(e){case b.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(i={key:e})[F]=!0,r=pe(n,i),[l.createElement(b.TITLE,r,e)];var e,n,i,r},toString:function(){return function(e,t,n,i){var r=ue(n),o=ae(t);return r?"<"+e+' data-react-helmet="true" '+r+">"+Z(o,i)+"</"+e+">":"<"+e+' data-react-helmet="true">'+Z(o,i)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case g:return{toComponent:function(){return pe(t)},toString:function(){return ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var i,r=((i={key:n})[F]=!0,i);return Object.keys(t).forEach((function(e){var n=A[e]||e;if(n===E||n===k){var i=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:i}}else r[n]=t[e]})),l.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,i){var r=Object.keys(i).filter((function(e){return!(e===E||e===k)})).reduce((function(e,t){var r=void 0===i[t]?t:t+'="'+Z(i[t],n)+'"';return e?e+" "+r:r}),""),o=i.innerHTML||i.cssText||"",a=-1===B.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+r+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},fe=function(e){var t=e.baseTag,n=e.bodyAttributes,i=e.encode,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,l=e.noscriptTags,s=e.scriptTags,c=e.styleTags,u=e.title,p=void 0===u?"":u,d=e.titleAttributes;return{base:de(b.BASE,t,i),bodyAttributes:de(v,n,i),htmlAttributes:de(g,r,i),link:de(b.LINK,o,i),meta:de(b.META,a,i),noscript:de(b.NOSCRIPT,l,i),script:de(b.SCRIPT,s,i),style:de(b.STYLE,c,i),title:de(b.TITLE,{title:p,titleAttributes:d},i)}},he=p()((function(e){return{baseTag:$([N,j],e),bodyAttributes:Q(v,e),defer:V(e,T),encode:V(e,D),htmlAttributes:Q(g,e),linkTags:Y(b.LINK,[S,N],e),metaTags:Y(b.META,[x,w,C,O,P],e),noscriptTags:Y(b.NOSCRIPT,[E],e),onChangeClientState:K(e),scriptTags:Y(b.SCRIPT,[_,E],e),styleTags:Y(b.STYLE,[k],e),title:J(e),titleAttributes:Q(y,e)}}),(function(e){re&&ne(re),e.defer?re=te((function(){oe(e,(function(){re=null}))})):(oe(e),re=null)}),fe)((function(){return null})),me=(r=he,a=o=function(e){function t(){return q(this,t),G(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!f()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case b.SCRIPT:case b.NOSCRIPT:return{innerHTML:t};case b.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,i=e.arrayTypeChildren,r=e.newChildProps,o=e.nestedChildren;return W({},i,((t={})[n.type]=[].concat(i[n.type]||[],[W({},r,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,i=e.child,r=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(i.type){case b.TITLE:return W({},r,((t={})[i.type]=a,t.titleAttributes=W({},o),t));case b.BODY:return W({},r,{bodyAttributes:W({},o)});case b.HTML:return W({},r,{htmlAttributes:W({},o)})}return W({},r,((n={})[i.type]=W({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=W({},t);return Object.keys(e).forEach((function(t){var i;n=W({},n,((i={})[t]=e[t],i))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,i={};return l.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[M[n]||n]=e[n],t}),t)}(H(r,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case b.LINK:case b.META:case b.NOSCRIPT:case b.SCRIPT:case b.STYLE:i=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:i,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(i,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=H(e,["children"]),i=W({},n);return t&&(i=this.mapChildrenToProps(t,i)),l.createElement(r,i)},U(t,null,[{key:"canUseDOM",set:function(e){r.canUseDOM=e}}]),t}(l.Component),o.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=r.peek,o.rewind=function(){var e=r.rewind();return e||(e=fe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);me.renderStatic=me.rewind;var ve=n(5444),ge=function(e){var t=e.title,n=e.children,i=(0,ve.K2)("3000541721");return l.createElement("div",null,l.createElement(me,null,l.createElement("title",null,t||i.site.siteMetadata.title),l.createElement("meta",{name:"description",content:i.site.siteMetadata.description}),l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Domine:wght@400;700&family=Open+Sans:wght@400;500;600;700&display=swap",rel:"stylesheet"}),l.createElement("link",{rel:"stylesheet",href:"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"})),n)},ye=n.p+"static/midd-shield-091cfcf4f6c0c3396af969a178afe47a.svg",be=function(){return l.createElement("header",{className:"app-header"},l.createElement("div",{className:"app-header__wrap app-header__wrap--main"},l.createElement("div",{className:"app-header__logo"},l.createElement("a",{href:""},l.createElement("img",{src:ye,sizes:"(min-width: 1024px) 67px, 44px",alt:"Middlebury Shield"}))),l.createElement("h1",{className:"app-header__title",id:"midd-app-header-label"},l.createElement("a",{href:"/",className:"app-header__link"},"Middlebury College Handbook"))))},we=n(3201),ke=n(2073),Ne=n.n(ke);function Ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(i=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(s){r=!0,o=s}finally{try{i||null==l.return||l.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ee=new Error("FlexSearch index is required. Check that your index exists and is valid."),Pe=new Error("FlexSearch store is required. Check that your store exists and is valid."),xe=function(e){return l.createElement("section",{className:"navbar__search","aria-labelledby":"search-label"},l.createElement("form",{onSubmit:e.handleSubmit,className:"navbar__input-group"},l.createElement("label",{for:"search-input",id:"search-label",className:"sr-only"},"Search"),l.createElement("input",{type:"search",className:"navbar__search-input",id:"search-input",placeholder:"Search",value:e.query,onChange:function(t){0===t.target.value.length&&e.setResults([]),e.setQuery(t.target.value)}}),l.createElement("button",{"aria-label":"Submit",type:"submit",className:"navbar__button search"},l.createElement(we.U41,null))))},Oe=function(e){var t=e.index,n=e.store,i=e.handleSubmitToggle,r=e.setResults,o=e.setHandleSubmitToggle,a=(0,l.useState)(""),s=a[0],c=a[1],u=function(e,t,n,i){var r=Ce((0,l.useState)(null),2),o=r[0],a=r[1];return(0,l.useEffect)((function(){if(!t)throw Ee;if(!n)throw Pe}),[t,n]),(0,l.useEffect)((function(){if(t instanceof Ne())a(t);else{var e=Ne().create();e.import(t),a(e)}}),[t]),(0,l.useMemo)((function(){return e&&o&&n?o.search(e,i).map((function(e){return n[e]})):[]}),[e,o,n])}(s,t,n);return l.createElement(xe,{handleSubmit:function(e){e.preventDefault(),o(0===i?1:0),r(u.slice(0,15))},setResults:r,query:s,setQuery:c})},Se=function(e){var t=(0,l.useRef)(100),n=[{value:"i-policies-for-all",label:"I. Middlebury-Wide Policies",className:"i-policies-for-all"},{value:"ii-ug-college-policies",label:"II. Policies for the Undergraduate College",className:"ii-ug-college-policies"},{value:"iii-policies-for-the-language-schools",label:"III. Policies for the Language Schools",className:"iii-policies-for-the-language-schools"},{value:"iv-policies-for-the-institute",label:"IV. Policies for the Institute of International Studies",className:"iv-policies-for-the-institute"},{value:"v-handbook-archive",label:"Previous Handbooks",className:"v-handbook-archive"}],i=function(t,i){if(t.preventDefault(),e.page.parent){var r=0,o=e.page.parent.children||n,a="";"fast-backward"===i?a=o[0].value:"fast-forward"===i?a=o[o.length-1].value:"backward"!==i&&"forward"!==i||(o.find((function(t,n){t.value===e.value&&(r=n)})),"backward"===i&&void 0!==o[r-1]?a=o[r-1].value:"forward"===i&&void 0!==o[r+1]&&(a=o[r+1].value)),""!==a&&((0,ve.c4)("/pages/"+a),e.valueCallback(a))}},r=function(e,n){e.preventDefault(),"increase"===n?t.current<160&&(t.current+=20):"decrease"===n&&t.current>80&&(t.current-=20),document.getElementById("print-section").style.fontSize=t.current+"%"};return l.createElement("nav",{className:"navbar"},l.createElement("div",{className:"navbar__container"},l.createElement("div",{className:"navbar__search-content"},""!==e.index?l.createElement(Oe,{index:e.index,store:e.store,setResults:e.setResults,valueCallback:e.valueCallback,handleSubmitToggle:e.handleSubmitToggle,setHandleSubmitToggle:e.setHandleSubmitToggle}):l.createElement(xe,null)),l.createElement("div",{className:"navbar__buttons"},l.createElement("button",{"aria-label":"Text Zoom In",className:"navbar__button",onClick:function(e){r(e,"increase")}},l.createElement(we.wT5,null),l.createElement("span",{style:{margin:"0px",fontSize:"16pt",verticalAlign:"super"}},"+")),l.createElement("button",{"aria-label":"Text Zoom Out",className:"navbar__button",onClick:function(e){r(e,"decrease")}},l.createElement(we.wT5,null),l.createElement("span",{style:{margin:"0px",fontSize:"16pt",verticalAlign:"super"}},"-")),l.createElement("button",{"aria-label":"Print Page",className:"navbar__button",onClick:function(t){t.preventDefault();var n=document.getElementById("print-section").innerHTML,i=window.open("","PRINT","width=200,height=100"),r=i.document;r.open(),r.write("<html><head><title>"+document.title+"</title>"),r.write("</head><body >"),0===e.printResults.length?r.write(n):r.write(e.printResults),r.write("</body></html>"),r.close(),i.focus()}},l.createElement(we.rcQ,null)),l.createElement("span",{style:{fontSize:"30px"}},"|"),l.createElement("button",{"aria-label":"Skip to first page",className:"navbar__button",onClick:function(e){return i(e,"fast-backward")}},l.createElement(we.qSR,null)),l.createElement("button",{"aria-label":"Previous Page",className:"navbar__button",onClick:function(e){return i(e,"backward")}},l.createElement(we.xPU,null)),l.createElement("button",{"aria-label":"Next Page",className:"navbar__button",onClick:function(e){return i(e,"forward")}},l.createElement(we.C$r,null)),l.createElement("button",{"aria-label":"Skip to last page",className:"navbar__button",onClick:function(e){return i(e,"fast-forward")}},l.createElement(we.Nqc,null)))))};function _e(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}var je=(0,l.createContext)(),Ae=["children"],Re=["children"],Te=["children"],De=function(e){var t=(0,l.useContext)(je).onMouseHoldDown;return l.createElement("div",Object.assign({},e,{onMouseDown:t}))},Le=function(e){var t=e.children,n=_e(e,Ae),i=(0,l.createRef)(),r=(0,l.useContext)(je),o=r.clientWidth,a=r.setClientWidth,s=function(){a(document.getElementsByTagName("html")[0].clientWidth/4)};return(0,l.useEffect)((function(){return window.addEventListener("resize",s),function(){window.removeEventListener("resize",s)}}),[]),(0,l.useEffect)((function(){o?(i.current.style.minWidth=o+"px",document.documentElement.clientWidth>=1024?i.current.style.maxWidth=o+"px":i.current.style.maxWidth="initial"):a(i.current.clientWidth)}),[o]),l.createElement("aside",Object.assign({},n,{className:"split-pane-left",ref:i}),t)},Ie=function(e){var t=e.children,n=_e(e,Re);return l.createElement("main",Object.assign({},n,{className:"split-pane-right",id:"right-plane"}),l.createElement("div",{id:"print-section"},t))},Me=function(e){var t=e.children,n=_e(e,Te),i=(0,l.useState)(null),r=i[0],o=i[1],a=(0,l.useState)(null),s=a[0],c=a[1],u=(0,l.useRef)(null),p=(0,l.useRef)(null),d=function(){u.current=null,p.current=null},f=function(e){(u.current||p.current)&&(o(r+e.clientY-u.current),c(s+e.clientX-p.current),u.current=e.clientY,p.current=e.clientX)};return(0,l.useEffect)((function(){return document.documentElement.clientWidth>=1024&&(document.addEventListener("mouseup",d),document.addEventListener("mousemove",f)),function(){document.removeEventListener("mouseup",d),document.removeEventListener("mousemove",f)}})),l.createElement("div",n,l.createElement(je.Provider,{value:{clientHeight:r,setClientHeight:o,clientWidth:s,setClientWidth:c,onMouseHoldDown:function(e){u.current=e.clientY,p.current=e.clientX}}},t))},Be=function(){return l.createElement("nav",{className:"midd-footer","aria-labelledby":"midd-footer-label"},l.createElement("h2",{id:"midd-footer-label",className:"sr-only"},"Additional navigation"),l.createElement("div",{className:"container"},l.createElement("div",{className:"row"},l.createElement("div",{className:"col-lg-3"},l.createElement("div",{className:"mb-4 mb-lg-0"},l.createElement("a",{href:"https://www.middlebury.edu"},l.createElement("img",{src:"https://www.middlebury.edu/college/themes/custom/middlebury_theme/images/middlebury-logo-white.svg?fv=qtmpod",alt:"Middlebruy",width:"195",height:"71"})))),l.createElement("div",{className:"col-lg-9"},l.createElement("ul",{className:"midd-footer__list"},l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"https://www.middlebury.edu/about",className:"midd-footer__link"},"About Middlebury")),l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"https://www.middlebury.edu/giving",className:"midd-footer__link"},"Giving")),l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"https://www.middlebury.edu/offices/business/hr/jobseeker",className:"midd-footer__link"},"Employment")),l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"https://www.middlebury.edu/office/",className:"midd-footer__link"},"Offices and Services")),l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"https://www.middlebury.edu/about/copyright",className:"midd-footer__link"},"Copyright")),l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"https://www.middlebury.edu/about/privacy",className:"midd-footer__link"},"Privacy")),l.createElement("li",{className:"midd-footer__item"},l.createElement("a",{href:"/admin",className:"midd-footer__link",rel:"nofollow"},"Site-Editor Login")))))))},Fe=n(3640),ze=n.n(Fe),qe=[{value:"i-policies-for-all",label:"I. Middlebury-Wide Policies",className:"i-policies-for-all",children:[{value:"i-policies-for-all/genl-principles",label:"A. General Principles",className:"genl-principles",children:[{value:"i-policies-for-all/genl-principles/respectful-behavior",label:"A.1. Respectful Behavior",className:"respectful-behavior"},{value:"i-policies-for-all/genl-principles/honesty-cooperation",label:"A.2. Honesty and Cooperation in Middlebury Matters",className:"honesty-cooperation"},{value:"i-policies-for-all/genl-principles/non-discrimination-statement",label:"A.3. Non-discrimination Statement",className:"non-discrimination-statement"},{value:"i-policies-for-all/genl-principles/envl-sustain-policy",label:"A.4. Environmental and Sustainability Policy",className:"envl-sustain-policy"},{value:"i-policies-for-all/genl-principles/freedom-of-expression",label:"A.5. Policy on Open Expression",className:"freedom-of-expression"}]},{value:"i-policies-for-all/non-discrim-policies",label:"B. Non-Discrimination Policies",className:"non-discrim-policies",children:[{value:"i-policies-for-all/non-discrim-policies/b-1-a-non-discrimination-policy",label:"B.1.a. Non-Discrimination Policy",className:"b-1-a-non-discrimination-policy"},{value:"i-policies-for-all/non-discrim-policies/anti-harassment-discrimin",label:"B.1.b. Non-Discrimination Investigations & Resolutions Procedure",className:"anti-harassment-discrimin"},{value:"i-policies-for-all/non-discrim-policies/b-1-b-1-title-ix-investigation-resolutions-policy",label:"B.1.b (1). Title IX Investigation & Resolutions Policy",className:"b-1-b-1-title-ix-investigation-resolutions-policy"},{value:"i-policies-for-all/non-discrim-policies/ada-policy",label:"B.1.c. Americans with Disabilities Act Policy",className:"ada-policy"},{value:"i-policies-for-all/non-discrim-policies/svc-assist-animals",label:"B.1.d. Service and Assistance Animals Policy",className:"svc-assist-animals"}]},{value:"i-policies-for-all/health-safety",label:"C. Health & Safety Policies",className:"health-safety",children:[{value:"i-policies-for-all/health-safety/emerg-prepare",label:"C.1. Emergency Preparedness for Middlebury Schools and Programs",className:"emerg-prepare"},{value:"i-policies-for-all/health-safety/tam-policy",label:"C.2. Threat Assessment and Response Policy",className:"tam-policy"},{value:"i-policies-for-all/health-safety/emerg-removals",label:"C.3. Emergency Removals Policy",className:"emerg-removals"},{value:"i-policies-for-all/health-safety/demonst-protests",label:"C.4. Demonstration Regulations",className:"demonst-protests"},{value:"i-policies-for-all/health-safety/minors-on-campus",label:"C.5. Minors on Campus Policy",className:"minors-on-campus"},{value:"i-policies-for-all/health-safety/weapons",label:"C.6. Weapons Policy",className:"weapons"},{value:"i-policies-for-all/health-safety/alcohol-drugs",label:"C.7. Alcohol, Tobacco and Other Drugs",className:"alcohol-drugs"},{value:"i-policies-for-all/health-safety/no-smoking",label:"C.8. No Smoking Policy",className:"no-smoking"}]},{value:"i-policies-for-all/appropriate-use",label:"D. Appropriate Use of Middlebury Resources and Assets",className:"appropriate-use",children:[{value:"i-policies-for-all/appropriate-use/steward-resources",label:"D.1. Stewarding Middlebury Resources and Financial Policies",className:"steward-resources"},{value:"i-policies-for-all/appropriate-use/id-cards",label:"D.2. ID Cards",className:"id-cards"},{value:"i-policies-for-all/appropriate-use/library-resources",label:"D.3. Library",className:"library-resources"},{value:"i-policies-for-all/appropriate-use/intell-property",label:"D.4. Intellectual Property",className:"intell-property"},{value:"i-policies-for-all/appropriate-use/info-tech",label:"D.5. Information Technology",className:"info-tech"},{value:"i-policies-for-all/appropriate-use/d-6-whistleblower-policy",label:"D.6. Whistleblower Policy",className:"d-6-whistleblower-policy"},{value:"i-policies-for-all/appropriate-use/d-7-policy-on-scheduling-middlebury-space-for-events",label:"D.7. Policy on Scheduling Middlebury Space for Events",className:"d-7-policy-on-scheduling-middlebury-space-for-events"}]},{value:"i-policies-for-all/records",label:"E. Records",className:"records",children:[{value:"i-policies-for-all/records/ferpa",label:"E.1. Student Privacy Rights Under U.S. Federal Law (FERPA)",className:"ferpa"},{value:"i-policies-for-all/records/student-data-for-research",label:"E.2. Access to Student Data for Research",className:"student-data-for-research"}]},{value:"i-policies-for-all/f-required-disclosures",label:"F. Required Disclosures",className:"f-required-disclosures"}]},{value:"ii-ug-college-policies",label:"II. Policies for the Undergraduate College",className:"ii-ug-college-policies",children:[{value:"ii-ug-college-policies/commun-policies",label:"A. Policies for the College Community",className:"commun-policies",children:[{value:"ii-ug-college-policies/commun-policies/cbrt",label:"A.1. Community Bias Response Team Policy",className:"cbrt"},{value:"ii-ug-college-policies/commun-policies/comm-council",label:"A.2. Community Council",className:"comm-council"},{value:"ii-ug-college-policies/commun-policies/empl-conduct",label:"A.3. Code of Conduct for Employees",className:"empl-conduct"},{value:"ii-ug-college-policies/commun-policies/department-sacs",label:"A.4. Departmental Student Advisory Councils",className:"department-sacs"},{value:"ii-ug-college-policies/commun-policies/mcsc-constitution",label:"A.5. Middlebury Staff Council (MSC) Constitution",className:"mcsc-constitution"},{value:"ii-ug-college-policies/commun-policies/pets",label:"A.6. Pet Policy",className:"pets"},{value:"ii-ug-college-policies/commun-policies/reimbursable-moving-exp",label:"A.7. Reimbursable Moving Expenditures",className:"reimbursable-moving-exp"},{value:"ii-ug-college-policies/commun-policies/a-8-committee-on-art-in-public-places",label:"A.8. Committee on Art in Public Places",className:"a-8-committee-on-art-in-public-places"}]},{value:"ii-ug-college-policies/ug-policies",label:"B. Policies for Undergraduate College Students",className:"ug-policies",children:[{value:"ii-ug-college-policies/ug-policies/academics",label:"B.1. Academic Policies",className:"academics",children:[{value:"ii-ug-college-policies/ug-policies/academics/acad-honesty",label:"B.1.a. Academic Honesty, the Honor Code and Related Disciplinary Policies",className:"acad-honesty"},{value:"ii-ug-college-policies/ug-policies/academics/calendar",label:"B.1.b. Calendar",className:"calendar"},{value:"ii-ug-college-policies/ug-policies/academics/degree-requires",label:"B.1.c. Degree Requirements",className:"degree-requires"},{value:"ii-ug-college-policies/ug-policies/academics/satis-acad-prog",label:"B.1.d. Satisfactory Academic Progress",className:"satis-acad-prog"},{value:"ii-ug-college-policies/ug-policies/academics/deg-prgms-proj",label:"B.1.e. Degree Programs & Projects",className:"deg-prgms-proj"},{value:"ii-ug-college-policies/ug-policies/academics/course-reg-course-conduct",label:"B.1.f. Course Registration and Conduct of Courses",className:"course-reg-course-conduct"},{value:"ii-ug-college-policies/ug-policies/academics/summer-study",label:"B.1.g. Summer Study",className:"summer-study"},{value:"ii-ug-college-policies/ug-policies/academics/winter-term",label:"B.1.h. Winter Term",className:"winter-term"},{value:"ii-ug-college-policies/ug-policies/academics/x-courses-ocs",label:"B.1.i. Transfer Courses and Off-campus Study",className:"x-courses-ocs"},{value:"ii-ug-college-policies/ug-policies/academics/eval-student-work",label:"B.1.j. Evaluation of Student Work",className:"eval-student-work"},{value:"ii-ug-college-policies/ug-policies/academics/grades-transcripts",label:"B.1.k. Grades and Transcripts",className:"grades-transcripts"},{value:"ii-ug-college-policies/ug-policies/academics/student-status",label:"B.1.l. Student Status",className:"student-status"},{value:"ii-ug-college-policies/ug-policies/academics/tutor-acad-support",label:"B.1.m. Tutoring and Academic Support",className:"tutor-acad-support"}]},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies",label:"B.2. Policies Governing Student Conduct, Residential Life, and Student Organizations",className:"res-life-conduct-policies",children:[{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/a-introductory-matters",label:"B.2.a. Introductory Matters",className:"a-introductory-matters"},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/genl-cond-standards",label:"B.2.b. General Conduct Standards",className:"genl-cond-standards"},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/hazing-policy",label:"B.2.c. Middlebury's Policy Against Hazing",className:"hazing-policy"},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/general-disciplinary-process",label:"B.2.d. Student Conduct Process",className:"general-disciplinary-process"},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/b-2-e-sanctions",label:"B.2.e. Sanctions",className:"b-2-e-sanctions"},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/residential-life-policies",label:"B.2.f. Residential Life Policies",className:"residential-life-policies",children:[{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/residential-life-policies/apprv-furniture",label:"Approved Furniture",className:"apprv-furniture"}]},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/g-student-health-policies",label:"B.2.g. Student Health Policies",className:"g-student-health-policies"},{value:"ii-ug-college-policies/ug-policies/res-life-conduct-policies/student-organization-policies",label:"B.2.h. Student Organization Policies",className:"student-organization-policies"}]}]},{value:"ii-ug-college-policies/faculty",label:"C. Faculty Handbook",className:"faculty",children:[{value:"ii-ug-college-policies/faculty/faculty-procedures",label:"C.1. Faculty Rules and Procedures",className:"faculty-procedures"},{value:"ii-ug-college-policies/faculty/faculty-committees",label:"C.2. Faculty Councils and Committees",className:"faculty-committees"},{value:"ii-ug-college-policies/faculty/faculty-rules",label:"C.3. Rules of Appointment and Tenure for Academic Faculty",className:"faculty-rules"},{value:"ii-ug-college-policies/faculty/pe-faculty-rules",label:"C.4. Rules of Reappointment for Physical Education Faculty",className:"pe-faculty-rules"},{value:"ii-ug-college-policies/faculty/appeals",label:"C.5. Appeal Procedures",className:"appeals"},{value:"ii-ug-college-policies/faculty/misconduct",label:"C.6. Faculty Misconduct",className:"misconduct"},{value:"ii-ug-college-policies/faculty/leave-program",label:"C.7. Research Leave Program",className:"leave-program"},{value:"ii-ug-college-policies/faculty/faculty-development",label:"C.8. Faculty Professional Development",className:"faculty-development"},{value:"ii-ug-college-policies/faculty/dep-care-policy",label:"C.9. Dependent Care Program",className:"dep-care-policy"},{value:"ii-ug-college-policies/faculty/research-policies",label:"C.10. Research Policies",className:"research-policies"},{value:"ii-ug-college-policies/faculty/research-misconduct",label:"C.11. Misconduct in Research - Policies and Procedures",className:"research-misconduct"},{value:"ii-ug-college-policies/faculty/reprints-subventions",label:"C.12. Reprints, Subvention, and Open Access",className:"reprints-subventions"},{value:"ii-ug-college-policies/faculty/contract-policy",label:"C.13. Grants & Contracts",className:"contract-policy"},{value:"ii-ug-college-policies/faculty/outside-employment",label:"C.14. Consulting and Outside Employment Policies",className:"outside-employment"},{value:"ii-ug-college-policies/faculty/faculty-lecture-payments",label:"C.15. Payment for Faculty Lectures Policy",className:"faculty-lecture-payments"},{value:"ii-ug-college-policies/faculty/extra-service-pay-policy",label:"C.16. Extra Service Pay Policy",className:"extra-service-pay-policy"},{value:"ii-ug-college-policies/faculty/faculty-and-athletics",label:"C.17. Athletics Information for Faculty",className:"faculty-and-athletics"},{value:"ii-ug-college-policies/faculty/special-provisions",label:"C.18. Special Provisions (associate status and release from contract)",className:"special-provisions"},{value:"ii-ug-college-policies/faculty/administrative-appt",label:"C.19. Administrative Appointments - Terms/Conditions",className:"administrative-appt"},{value:"ii-ug-college-policies/faculty/familial-leaves",label:"C.20. Leaves of Absence (nonacademic)",className:"familial-leaves"},{value:"ii-ug-college-policies/faculty/disability-pay",label:"C.21. Disability",className:"disability-pay"},{value:"ii-ug-college-policies/faculty/death-benefit",label:"C.22. Death Benefits",className:"death-benefit"},{value:"ii-ug-college-policies/faculty/faculty-housing",label:"C.23. Housing Programs",className:"faculty-housing"},{value:"ii-ug-college-policies/faculty/misc-policies",label:"C.24. Miscellaneous Policies",className:"misc-policies"}]},{value:"ii-ug-college-policies/employee",label:"D. Employee Handbook",className:"employee",children:[{value:"ii-ug-college-policies/employee/introduction",label:"1. Introduction",className:"introduction",children:[{value:"ii-ug-college-policies/employee/introduction/intro",label:"1.1 Introduction",className:"intro"},{value:"ii-ug-college-policies/employee/introduction/expects",label:"1.2 Middlebury College Expects",className:"expects"},{value:"ii-ug-college-policies/employee/introduction/offers",label:"1.3 Middlebury College Offers",className:"offers"}]},{value:"ii-ug-college-policies/employee/employment",label:"2. Employment",className:"employment",children:[{value:"ii-ug-college-policies/employee/employment/2-1-equal-employment-opportunity-policy",label:"2.1 Equal Employment Opportunity Policy",className:"2-1-equal-employment-opportunity-policy"},{value:"ii-ug-college-policies/employee/employment/ada",label:"2.2 Americans with Disabilities Act (ADA)",className:"ada"},{value:"ii-ug-college-policies/employee/employment/basic-info",label:"2.3 Basic Information about Employment at Middlebury College",className:"basic-info"},{value:"ii-ug-college-policies/employee/employment/2-4-release-of-information-and-employment-confidentiality",label:"2.4 Release of Information and Employment Confidentiality",className:"2-4-release-of-information-and-employment-confidentiality"},{value:"ii-ug-college-policies/employee/employment/employment-family",label:"2.5 Employment of Family Members",className:"employment-family"},{value:"ii-ug-college-policies/employee/employment/orientation",label:"2.6 New Employee Orientation",className:"orientation"},{value:"ii-ug-college-policies/employee/employment/starting-work",label:"2.7 Starting Work",className:"starting-work"},{value:"ii-ug-college-policies/employee/employment/provisional-period",label:"2.8 Provisional Period",className:"provisional-period"},{value:"ii-ug-college-policies/employee/employment/scheduling-hours-operation",label:"2.9 Scheduling and Hours of Operation",className:"scheduling-hours-operation"},{value:"ii-ug-college-policies/employee/employment/safety-security",label:"2.10 Safety & Security",className:"safety-security"},{value:"ii-ug-college-policies/employee/employment/anti-har-policy",label:"2.11 Middlebury College Anti-Harassment/Discrimination Policy",className:"anti-har-policy"},{value:"ii-ug-college-policies/employee/employment/hr-controlled-sub-cdl",label:"2.12 Controlled Substance and Alcohol Testing for Employees with a Work-required CDL",className:"hr-controlled-sub-cdl"},{value:"ii-ug-college-policies/employee/employment/alcohol-testing-captains",label:"2.13 Controlled Substance and Alcohol Testing for Captains and Crew Members",className:"alcohol-testing-captains"},{value:"ii-ug-college-policies/employee/employment/criminal-background-ch",label:"2.14 Background Checks",className:"criminal-background-ch"},{value:"ii-ug-college-policies/employee/employment/popes",label:"2.15 Post-Offer Pre-Employment Screening (POPES)",className:"popes"},{value:"ii-ug-college-policies/employee/employment/midd-points",label:"2.16 MiddPoints",className:"midd-points"},{value:"ii-ug-college-policies/employee/employment/internal-career",label:"2.17 Internal Career Opportunities",className:"internal-career"},{value:"ii-ug-college-policies/employee/employment/rehire",label:"2.18 Rehire",className:"rehire"},{value:"ii-ug-college-policies/employee/employment/staff-computer-use",label:"2.19 Staff E-mail and Computer Use Policy",className:"staff-computer-use"}]},{value:"ii-ug-college-policies/employee/benefits",label:"3. Employee Benefits",className:"benefits",children:[{value:"ii-ug-college-policies/employee/benefits/general-info",label:"3.1 General Information",className:"general-info"},{value:"ii-ug-college-policies/employee/benefits/benefit-changes",label:"3.2 Benefit Changes",className:"benefit-changes"},{value:"ii-ug-college-policies/employee/benefits/health-welfare",label:"3.3 Health and Welfare Benefit Plan",className:"health-welfare"},{value:"ii-ug-college-policies/employee/benefits/efap",label:"3.4 Employee & Family Assistance Plan (EFAP)",className:"efap"},{value:"ii-ug-college-policies/employee/benefits/retirement",label:"3.5 Retirement Plan",className:"retirement"},{value:"ii-ug-college-policies/employee/benefits/phased-ret",label:"3.6 Phased Retirement",className:"phased-ret"},{value:"ii-ug-college-policies/employee/benefits/educational-assistance",label:"3.7 Educational Assistance",className:"educational-assistance"},{value:"ii-ug-college-policies/employee/benefits/sick-leave-conversion",label:"3.8 Sick Leave Conversion",className:"sick-leave-conversion"},{value:"ii-ug-college-policies/employee/benefits/survivor-benefits",label:"3.9 Survivor Benefits",className:"survivor-benefits"},{value:"ii-ug-college-policies/employee/benefits/midd-card-priveleges",label:"3.10 Midd Card Privileges",className:"midd-card-priveleges"},{value:"ii-ug-college-policies/employee/benefits/discounts",label:"3.11 Golf & Ski Discounts",className:"discounts"},{value:"ii-ug-college-policies/employee/benefits/nursing-mothers",label:"3.12 Nursing Mothers",className:"nursing-mothers"}]},{value:"ii-ug-college-policies/employee/time-away",label:"4. Time Away from Work",className:"time-away",children:[{value:"ii-ug-college-policies/employee/time-away/reporting-absences",label:"4.1 Reporting Absences",className:"reporting-absences"},{value:"ii-ug-college-policies/employee/time-away/cto",label:"4.2 Combined Time Off",className:"cto"},{value:"ii-ug-college-policies/employee/time-away/slr",label:"4.3 Sick Leave Reserve",className:"slr"},{value:"ii-ug-college-policies/employee/time-away/holidays",label:"4.4 Holidays",className:"holidays"},{value:"ii-ug-college-policies/employee/time-away/staff-parental-leave",label:"4.5 Staff Parental Leave Policy",className:"staff-parental-leave"},{value:"ii-ug-college-policies/employee/time-away/family-medical-leave",label:"4.6 Family & Medical Leave",className:"family-medical-leave"},{value:"ii-ug-college-policies/employee/time-away/jury-duty",label:"4.7 Jury Duty",className:"jury-duty"},{value:"ii-ug-college-policies/employee/time-away/military-reserve",label:"4.8 Military Reserve",className:"military-reserve"},{value:"ii-ug-college-policies/employee/time-away/bereavement",label:"4.9 Bereavement",className:"bereavement"},{value:"ii-ug-college-policies/employee/time-away/personal-leave",label:"4.10 Personal Leave of Absence",className:"personal-leave"},{value:"ii-ug-college-policies/employee/time-away/weather-emergencies",label:"4.11 Weather Emergencies",className:"weather-emergencies"},{value:"ii-ug-college-policies/employee/time-away/release-time",label:"4.12 Release Time",className:"release-time"},{value:"ii-ug-college-policies/employee/time-away/4-13-vermont-earned-sick-time-act",label:"4.13 Vermont Earned Sick Time Act",className:"4-13-vermont-earned-sick-time-act"},{value:"ii-ug-college-policies/employee/time-away/4-14-vermont-earned-sick-time",label:"4.14 Vermont Earned Sick Time",className:"4-14-vermont-earned-sick-time"}]},{value:"ii-ug-college-policies/employee/payroll",label:"5. Payroll",className:"payroll",children:[{value:"ii-ug-college-policies/employee/payroll/direct-deposit",label:"5.1 Direct Deposit",className:"direct-deposit"},{value:"ii-ug-college-policies/employee/payroll/deductions",label:"5.2 Deductions",className:"deductions"},{value:"ii-ug-college-policies/employee/payroll/advances",label:"5.3 Advances",className:"advances"},{value:"ii-ug-college-policies/employee/payroll/payroll-issues",label:"5.4 Reporting Time and Payroll Issues",className:"payroll-issues"}]},{value:"ii-ug-college-policies/employee/wage-salary",label:"6. Staff Compensation",className:"wage-salary",children:[{value:"ii-ug-college-policies/employee/wage-salary/staff-compensation-program",label:"6.1 Staff Compensation Program",className:"staff-compensation-program"},{value:"ii-ug-college-policies/employee/wage-salary/job-descriptions",label:"6.2 Job Descriptions",className:"job-descriptions"},{value:"ii-ug-college-policies/employee/wage-salary/overtime",label:"6.3 Eligibility for Overtime and FLSA Compliance",className:"overtime"},{value:"ii-ug-college-policies/employee/wage-salary/shift-differentials",label:"6.4 Shift Differentials",className:"shift-differentials"},{value:"ii-ug-college-policies/employee/wage-salary/compensation-issue-resolution-process",label:"6.5 Compensation Issue Resolution Process",className:"compensation-issue-resolution-process"},{value:"ii-ug-college-policies/employee/wage-salary/travel-time",label:"6.6 Travel Time",className:"travel-time"}]},{value:"ii-ug-college-policies/employee/evaluating",label:"7. Evaluating Job Performance",className:"evaluating"},{value:"ii-ug-college-policies/employee/processes-development",label:"8. Employee Relations",className:"processes-development",children:[{value:"ii-ug-college-policies/employee/processes-development/problem-solving",label:"8.1 Problem Solving",className:"problem-solving"},{value:"ii-ug-college-policies/employee/processes-development/progressive-discipline",label:"8.2 Progressive Discipline",className:"progressive-discipline"},{value:"ii-ug-college-policies/employee/processes-development/staff-dev-funds",label:"8.3 Staff Development Funds",className:"staff-dev-funds"}]},{value:"ii-ug-college-policies/employee/leaving-midd",label:"9. Leaving Middlebury College",className:"leaving-midd",children:[{value:"ii-ug-college-policies/employee/leaving-midd/leaving-middlebury-college",label:"9.1 Leaving Middlebury College",className:"leaving-middlebury-college"},{value:"ii-ug-college-policies/employee/leaving-midd/resignation",label:"9.2 Voluntary Termination of Employment: Resignation",className:"resignation"},{value:"ii-ug-college-policies/employee/leaving-midd/discharge",label:"9.3 Discharge",className:"discharge"},{value:"ii-ug-college-policies/employee/leaving-midd/retirement",label:"9.4 Retirement",className:"retirement"},{value:"ii-ug-college-policies/employee/leaving-midd/rif",label:"9.5 Reduction in Force",className:"rif"}]}]}]},{value:"iii-policies-for-the-language-schools",label:"III. Policies for the Language Schools",className:"iii-policies-for-the-language-schools",children:[{value:"iii-policies-for-the-language-schools/a-student-life-policies",label:"A. Student Conduct Policies",className:"a-student-life-policies",children:[{value:"iii-policies-for-the-language-schools/a-student-life-policies/disciplinary-process",label:"Language Schools Disciplinary Process",className:"disciplinary-process"},{value:"iii-policies-for-the-language-schools/a-student-life-policies/withdrawals-and-readmission",label:"Withdrawals and Readmission",className:"withdrawals-and-readmission"}]},{value:"iii-policies-for-the-language-schools/b-academic-policies",label:"B. Academic Policies",className:"b-academic-policies",children:[{value:"iii-policies-for-the-language-schools/b-academic-policies/b-1-academic-honesty",label:"B.1 Academic Honesty",className:"b-1-academic-honesty"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-2-language-pledge",label:"B.2 Language Pledge",className:"b-2-language-pledge"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-3-general-policies",label:"B.3 General Policies",className:"b-3-general-policies"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-4-registration",label:"B.4 Registration",className:"b-4-registration"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-5-for-middlebury-college-undergraduates",label:"B.5 For Middlebury College Undergraduates",className:"b-5-for-middlebury-college-undergraduates"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-6-master-of-arts",label:"B.6 Master of Arts",className:"b-6-master-of-arts"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-7-doctor-of-modern-languages",label:"B.7 Doctor of Modern Languages",className:"b-7-doctor-of-modern-languages"},{value:"iii-policies-for-the-language-schools/b-academic-policies/b-8-student-records",label:"B.8 Grades and Transcripts",className:"b-8-student-records"}]},{value:"iii-policies-for-the-language-schools/c-financial-policies",label:"C. Financial Policies",className:"c-financial-policies",children:[{value:"iii-policies-for-the-language-schools/c-financial-policies/c-1-fees",label:"C.1 Fees",className:"c-1-fees"},{value:"iii-policies-for-the-language-schools/c-financial-policies/c-2-employment",label:"C.2 Employment",className:"c-2-employment"},{value:"iii-policies-for-the-language-schools/c-financial-policies/c-3-withdrawals-and-refunds",label:"C.3 Withdrawals and Refunds",className:"c-3-withdrawals-and-refunds"}]},{value:"iii-policies-for-the-language-schools/d-residential-life-policies",label:"D. Residential Life Policies",className:"d-residential-life-policies"},{value:"iii-policies-for-the-language-schools/e-policies-for-faculty",label:"E. Policies for Faculty",className:"e-policies-for-faculty"}]},{value:"iv-policies-for-the-institute",label:"IV. Policies for the Institute of International Studies",className:"iv-policies-for-the-institute",children:[{value:"iv-policies-for-the-institute/a-academic-policies",label:"A. Academic Policies and Standards",className:"a-academic-policies",children:[{value:"iv-policies-for-the-institute/a-academic-policies/a-1-introduction",label:"A.1. Introduction",className:"a-1-introduction"},{value:"iv-policies-for-the-institute/a-academic-policies/a-2-academic-honesty",label:"A.2. Academic Honesty",className:"a-2-academic-honesty"},{value:"iv-policies-for-the-institute/a-academic-policies/a-3-academic-programs",label:"A.3. Academic Programs",className:"a-3-academic-programs"},{value:"iv-policies-for-the-institute/a-academic-policies/a-4-change-of-academic-program",label:"A.4. Change of Academic Program",className:"a-4-change-of-academic-program",children:[{value:"iv-policies-for-the-institute/a-academic-policies/a-4-change-of-academic-program/a-4-a-admission-of-bais-students-to-a-master-s-program",label:"A.4.a. Admission of BAIS Students to a Master's Program",className:"a-4-a-admission-of-bais-students-to-a-master-s-program"},{value:"iv-policies-for-the-institute/a-academic-policies/a-4-change-of-academic-program/a-4-b-change-of-degree-program",label:"A.4.b. Change of Degree Program",className:"a-4-b-change-of-degree-program"},{value:"iv-policies-for-the-institute/a-academic-policies/a-4-change-of-academic-program/a-4-c-change-of-degree-program",label:"A.4.c. Admission to a Second Graduate Degree Program",className:"a-4-c-change-of-degree-program"},{value:"iv-policies-for-the-institute/a-academic-policies/a-4-change-of-academic-program/a-4-d-special-admission-and-registration-policies-for-non-degree-students",label:"A.4.d. Special Admission and Registration Policies for Non-Degree Students",className:"a-4-d-special-admission-and-registration-policies-for-non-degree-students"}]},{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction",label:"A.5. Instruction",className:"a-5-instruction",children:[{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction/a-5-a-assessment-and-grading",label:"A.5.a. Assessment and Grading",className:"a-5-a-assessment-and-grading"},{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction/a-5-b-course-syllabus",label:"A.5.b. Course Syllabus",className:"a-5-b-course-syllabus"},{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction/a-5-c-student-grading-of-other-students-work",label:"A.5.c. Student Grading of Other Students' Work",className:"a-5-c-student-grading-of-other-students-work"},{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction/a-5-d-external-study-and-study-abroad",label:"A.5.d. External Study and Study Abroad",className:"a-5-d-external-study-and-study-abroad"},{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction/a-5-e-internships",label:"A.5.e. Internships",className:"a-5-e-internships"},{value:"iv-policies-for-the-institute/a-academic-policies/a-5-instruction/a-5-f-language-and-intercultural-competency-icc-requirements-at-the-middlebury-institute",label:"A.5.f. Language and Intercultural Competency (ICC) Requirements at the Middlebury Institute",className:"a-5-f-language-and-intercultural-competency-icc-requirements-at-the-middlebury-institute"}]},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies",label:"A.6. Grades, Credits and Academic Policies",className:"a-6-grades-credits-and-academic-policies",children:[{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-a-grades-and-credits",label:"A.6.a. Grades and Credits",className:"a-6-a-grades-and-credits"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-b-disputed-academic-evaluation-procedures",label:"A.6.b. Disputed Academic Evaluation Procedures",className:"a-6-b-disputed-academic-evaluation-procedures"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-c-pass-no-pass-p-np-option",label:"A.6.c. Pass/No Pass (P/NP) Option",className:"a-6-c-pass-no-pass-p-np-option"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-d-pass-fail-p-f-option",label:"A.6.d. Pass/Fail (P/F) Option",className:"a-6-d-pass-fail-p-f-option"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-e-incomplete-grades",label:"A.6.e. Incomplete Grades",className:"a-6-e-incomplete-grades"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-f",label:'A.6.f. Assignment of "In Progress"',className:"a-6-f"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-g-academic-standing",label:"A.6.g. Academic Standing",className:"a-6-g-academic-standing"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-h-academic-probation",label:"A.6.h. Academic Probation",className:"a-6-h-academic-probation"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-i-dismissal",label:"A.6.i. Dismissal",className:"a-6-i-dismissal"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-j-time-limit-for-completion-of-degree-requirements-currency",label:"A.6.j. Time Limit for Completion of Degree Requirements (Currency)",className:"a-6-j-time-limit-for-completion-of-degree-requirements-currency"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-k-petition-for-waiver-of-academic-regulations",label:"A.6.k. Petition for Waiver of Academic Regulations",className:"a-6-k-petition-for-waiver-of-academic-regulations"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-l-transfer-of-academic-credit-from-other-institutions",label:"A.6.l. Transfer of Academic Credit from Other Institutions",className:"a-6-l-transfer-of-academic-credit-from-other-institutions"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-m-challenge-examinations",label:"A.6.m. Challenge Examinations",className:"a-6-m-challenge-examinations"},{value:"iv-policies-for-the-institute/a-academic-policies/a-6-grades-credits-and-academic-policies/a-6-n-graduation-with-honors",label:"A.6.n. Graduation with Honors",className:"a-6-n-graduation-with-honors"}]},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees",label:"A.7. Policies Concerning Enrollment and Payment Fees",className:"a-7-policies-concerning-enrollment-and-payment-fees",children:[{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-a-full-time-and-part-time-enrollment-status",label:"A.7.a Full-Time and Part-Time Enrollment Status",className:"a-7-a-full-time-and-part-time-enrollment-status"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-b-payment-of-fees",label:"A.7.b. Payment of Fees",className:"a-7-b-payment-of-fees"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-c-tuition-refunds",label:"A.7.c. Tuition Refunds",className:"a-7-c-tuition-refunds"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-d-course-load-and-overloads",label:"A.7.d. Course Load and Overloads",className:"a-7-d-course-load-and-overloads"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-e-adding-courses",label:"A.7.e. Adding Courses",className:"a-7-e-adding-courses"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-f-dropping-courses",label:"A.7.f. Dropping Courses",className:"a-7-f-dropping-courses"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-f-auditing-courses",label:"A.7.g. Auditing Courses",className:"a-7-f-auditing-courses"},{value:"iv-policies-for-the-institute/a-academic-policies/a-7-policies-concerning-enrollment-and-payment-fees/a-7-g-repeating-courses",label:"A.7.h. Repeating Courses",className:"a-7-g-repeating-courses"}]},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation",label:"A.8. Leaves of Absence, Withdrawal, Suspension, Expulsion, and Graduation",className:"a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation",children:[{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-a-leave-of-absence-student-initiated",label:"A.8.a. Leave of Absence - Student Initiated",className:"a-8-a-leave-of-absence-student-initiated"},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-b-institute-initiated-leave-of-absence-emergency-withdrawal-suspension-or-expulsion",label:"A.8.b. Institute Initiated Leave of Absence, Emergency Withdrawal, Suspension or Expulsion",className:"a-8-b-institute-initiated-leave-of-absence-emergency-withdrawal-suspension-or-expulsion"},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-c-graduation",label:"A.8.c. Graduation",className:"a-8-c-graduation"},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-d-withdrawal-from-middlebury-institute",label:"A.8.d. Withdrawal from the Middlebury Institute",className:"a-8-d-withdrawal-from-middlebury-institute"},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-e-readmission-to-the-middlebury-institute",label:"A.8.e. Readmission to the Middlebury Institute",className:"a-8-e-readmission-to-the-middlebury-institute"},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-f-withdrawal-procedures",label:"A.8.f. Withdrawal Procedures for Students Who Are Military Dependents Whose Families Must Move Due to Redeployment/Relocation",className:"a-8-f-withdrawal-procedures"},{value:"iv-policies-for-the-institute/a-academic-policies/a-8-leaves-of-absence-withdrawal-suspension-expulsion-and-graduation/a-8-g",label:"A.8.g. Return of Title IV (Federal) Funds",className:"a-8-g"}]}]},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations",label:"B. Policies Governing Student Conduct and Student Organizations",className:"b-policies-governing-student-conduct-and-student-organizations",children:[{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/a-general",label:"B.1. General Policies",className:"a-general"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct",label:"B.2. Conduct",className:"b-conduct",children:[{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-a-general-conduct-policy",label:"B.2.a. General Conduct Policy",className:"b-2-a-general-conduct-policy"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-c-student-conduct-policy-overview",label:"B.2.b. Student Conduct Policy Overview",className:"b-2-c-student-conduct-policy-overview"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process",label:"B.2.c. Student Conduct Disciplinary Process",className:"b-2-d-student-conduct-disciplinary-process",children:[{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process/a-overview",label:"A. Overview",className:"a-overview"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process/b-the-judicial-system",label:"B. The Judicial System",className:"b-the-judicial-system"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process/c-hearing-procedures",label:"C. Hearing Procedures",className:"c-hearing-procedures"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process/d-sanctions-for-general-non-academic-offenses",label:"D. Sanctions for General Non-Academic Offenses",className:"d-sanctions-for-general-non-academic-offenses"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process/e-sanctions-for-academic-offenses",label:"E. Sanctions for Academic Offenses",className:"e-sanctions-for-academic-offenses"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/b-conduct/b-2-d-student-conduct-disciplinary-process/f-appeals-procedures",label:"F. Appeals Procedures",className:"f-appeals-procedures"}]}]},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/c-health-wellness",label:"B.3. Health & Wellness",className:"c-health-wellness"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations",label:"B.4. Student Clubs and Organizations",className:"d-student-clubs-and-organizations",children:[{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations/b-4-club-approval",label:"B.4.a. Start a Club",className:"b-4-club-approval"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations/b-4-b-club-funding",label:"B.4.b. Club Funding",className:"b-4-b-club-funding"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations/b-4-c-event-identification-policy",label:"B.4.c. Event Identification Policy",className:"b-4-c-event-identification-policy"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations/b-4-d-alochol-policy-serving-alcohol-at-events",label:"B.4.d. Alcohol Policy (serving alcohol at events)",className:"b-4-d-alochol-policy-serving-alcohol-at-events"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations/b-4-e-guest-policy",label:"B.4.e. Guest Policy for Events",className:"b-4-e-guest-policy"},{value:"iv-policies-for-the-institute/b-policies-governing-student-conduct-and-student-organizations/d-student-clubs-and-organizations/b-4-f-food-and-beverage-policy",label:"B.4.f. Food and Beverage Policy",className:"b-4-f-food-and-beverage-policy"}]}]},{value:"iv-policies-for-the-institute/c-faculty-handbook",label:"C. Faculty Handbook",className:"c-faculty-handbook",children:[{value:"iv-policies-for-the-institute/c-faculty-handbook/1-introduction",label:"C.1. Introduction",className:"1-introduction"},{value:"iv-policies-for-the-institute/c-faculty-handbook/2-administrative-roles",label:"C.2. Administrative Roles",className:"2-administrative-roles"},{value:"iv-policies-for-the-institute/c-faculty-handbook/3-faculty-roles",label:"C.3. Faculty Roles",className:"3-faculty-roles"},{value:"iv-policies-for-the-institute/c-faculty-handbook/4-faculty-organization-and-governance",label:"C.4. Faculty Organization and Governance",className:"4-faculty-organization-and-governance"},{value:"iv-policies-for-the-institute/c-faculty-handbook/5-policies-and-procedures-for-members-of-the-faculty",label:"C.5. Policies and Procedures for Members of the Faculty",className:"5-policies-and-procedures-for-members-of-the-faculty"},{value:"iv-policies-for-the-institute/c-faculty-handbook/6-evaluation-of-the-faculty",label:"C.6. Evaluation of the Faculty",className:"6-evaluation-of-the-faculty"},{value:"iv-policies-for-the-institute/c-faculty-handbook/7-separation-from-the-institute",label:"C.7. Separation from the Institute",className:"7-separation-from-the-institute"},{value:"iv-policies-for-the-institute/c-faculty-handbook/8-other-faculty-matters",label:"C.8. Other Faculty Matters",className:"8-other-faculty-matters"},{value:"iv-policies-for-the-institute/c-faculty-handbook/appendix-a-faculty-evaluation-schedule",label:"Appendix A: Faculty Evaluation Schedule",className:"appendix-a-faculty-evaluation-schedule"},{value:"iv-policies-for-the-institute/c-faculty-handbook/appendix-b-aaup-guidelines",label:"Appendix B: AAUP Guidelines",className:"appendix-b-aaup-guidelines"}]},{value:"iv-policies-for-the-institute/d-employee-handbook",label:"D. Employee Handbook",className:"d-employee-handbook",children:[{value:"iv-policies-for-the-institute/d-employee-handbook/d-1-employment-policies-and-practices",label:"D.1. Employment Policies and Practices",className:"d-1-employment-policies-and-practices"},{value:"iv-policies-for-the-institute/d-employee-handbook/d-2-employee-relations",label:"D.2. Employee Relations",className:"d-2-employee-relations"},{value:"iv-policies-for-the-institute/d-employee-handbook/d-3-employee-benefits",label:"D.3. Employee Benefits",className:"d-3-employee-benefits"},{value:"iv-policies-for-the-institute/d-employee-handbook/d-4-employee-conduct",label:"D.4. Employee Conduct",className:"d-4-employee-conduct"},{value:"iv-policies-for-the-institute/d-employee-handbook/d-5-leaves-of-absence",label:"D.5. Leaves of Absence",className:"d-5-leaves-of-absence"},{value:"iv-policies-for-the-institute/d-employee-handbook/d-6-miscellaneous-considerations",label:"D.6. Miscellaneous Considerations",className:"d-6-miscellaneous-considerations"}]}]},{value:"v-handbook-archive",label:"Previous Handbooks",className:"v-handbook-archive"}],Ue=function(e){var t=e.results;e.noResults;return l.createElement("div",{"aria-label":"Search Results",className:"search-results"},0===t.length?l.createElement("div",{className:"search-results__item"},l.createElement("p",null,"0 Results")):t.map((function(e){return l.createElement("div",{className:"search-results__item"},l.createElement("a",{href:e.slug},l.createElement("h3",null,e.title)),l.createElement("p",{dangerouslySetInnerHTML:{__html:e.excerpt.slice(0,60)+"..."}}))})))},We=function(e){var t,n,i=(0,l.useState)([]),r=i[0],o=i[1],a=(0,l.useState)([]),s=a[0],c=a[1],u=(0,l.useState)(""),p=u[0],d=u[1],f=(0,l.useState)({}),h=f[0],m=f[1],v=(0,l.useState)(""),g=v[0],y=v[1],b=(0,l.useState)(""),w=b[0],k=b[1],N=(0,l.useState)([]),C=N[0],E=N[1],P=(0,l.useState)(""),x=P[0],O=P[1],S=(0,l.useState)(""),_=S[0],j=S[1],A=(0,l.useState)({}),R=A[0],T=A[1],D=(0,l.useState)(0),L=D[0],I=D[1],M=(0,l.useRef)(),B=(0,l.useRef)(),F=Object.values(qe),z="",q=(0,ve.K2)("2212765230"),U=function(e){var t=e?e.split("/"):window.location.href.split("/");if(""===t[t.length-1]&&t.pop(),t[t.length-1].includes("#")){var n=t.pop().split("#")[0];0!==n.length&&t.push(n)}var i=-1!==t.indexOf("pages")?t.slice(t.indexOf("pages")+1,t.length-1):[],r=[],o=i.length,a={};if(0!==i.length){for(var l=0;l<o;l++)r.splice(0,0,i.join("/")),i=i.slice(0,i.length-1);for(var s=0;s<r.length-1;s++){var u=F.find((function(e){return e.value===r[s]}));u&&(F=u.children)}a.parent=F.find((function(e){return e.value===r[o-1]}))}else a.parent=[];a.value=t.slice(t.indexOf("pages")+1,t.length).join("/"),y(a.value),c(r),m(a)};(0,l.useEffect)((function(){U()}),[]),(0,l.useEffect)((function(){fetch(q.localSearchPages.publicIndexURL).then((function(e){return e.text()})).then((function(e){j(e)})),fetch(q.localSearchPages.publicStoreURL).then((function(e){return e.json()})).then((function(e){T(e)}))}),[]),(0,l.useEffect)((function(){M.current=w}),[w]),(0,l.useEffect)((function(){""!==g&&"/"!==g?W(g):"/"===g&&H(g)}),[g]),(0,l.useEffect)((function(){p.length>0&&U(p)}),[p]),(0,l.useEffect)((function(){B.current=L}),[L]);var W=function(e){var t=e.split("/"),n=t[t.length-1];H(n)},H=function(e){""!==M.current&&void 0!==M.current&&void 0!==document.getElementsByClassName(M.current)[0]&&document.getElementsByClassName(M.current)[0].children[0].children[2].classList.remove("active"),void 0!==document.getElementsByClassName(e)[0]&&document.getElementsByClassName(e)[0].children[0].children[2].classList.add("active"),"/"===e?(k(""),c([]),m({})):k(e)};return l.createElement(ge,{title:null===(t=e.data)||void 0===t||null===(n=t.markdownRemark)||void 0===n?void 0:n.frontmatter.title},l.createElement("div",{className:"App"},l.createElement(be,null),l.createElement(Se,{page:h,value:""===g?h.value:g,valueCallback:function(e){y(e)},index:_,store:R,setResults:E,handleSubmitToggle:L,setHandleSubmitToggle:I,printResults:x}),l.createElement(Me,{className:"split-pane-row"},l.createElement(Le,null,l.createElement(ze(),{nodes:qe,checkModel:"all",checked:r,expanded:s,expandOnClick:!0,showNodeIcon:!1,onCheck:function(e){o(e),function(e){for(var t=0;t<e.length;t++){var n=Object.values(R).map((function(e){return e.slug})).indexOf("/pages/"+e[t]);z=z.concat("<br><h2>"+Object.values(R)[n].title+"</h2>",Object.values(R)[n].html)}O(z)}(e)},onExpand:function(e){return c(e)},onClick:function(e){(0,ve.c4)("/pages/"+e.value),m(e),y(""),d(""),W(e.value),C.length>0&&E([])}})),l.createElement(De,{className:"separator-col"}),l.createElement(Ie,null,B.current===L?e.children:l.createElement(Ue,{results:C,setResults:E,valueCallback:function(e){y(e)},expandCallback:function(e){d(e)}}))),l.createElement(Be,null)))},He=function(e){var t=e.element,n=e.props;return l.createElement(We,n,t)}},1731:function(e,t,n){"use strict";function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}var r=/(confirmation|invite|recovery|email_change)_token=([^&]+)/,o=/error=access_denied&error_description=403/,a=/access_token=/;t.onInitialClientRender=function(e,t){var l=t.enableIdentityWidget,s=void 0===l||l,c=t.publicPath,u=void 0===c?"admin":c,p=(document.location.hash||"").replace(/^#\/?/,"");s&&(r.test(p)||o.test(p)||a.test(p))&&Promise.resolve().then((function(){return function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(7715))})).then((function(e){var t=e.default;t.on("init",(function(e){e||t.on("login",(function(){document.location.href="/"+u+"/"}))})),t.init()}))}},9499:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseContext:function(){return M},Link:function(){return J},Location:function(){return D},LocationProvider:function(){return L},Match:function(){return X},Redirect:function(){return V},Router:function(){return B},ServerLocation:function(){return I},createHistory:function(){return N},createMemorySource:function(){return C},globalHistory:function(){return P},isRedirect:function(){return Q},matchPath:function(){return c},navigate:function(){return x},redirectTo:function(){return $},useLocation:function(){return ee},useMatch:function(){return ie},useNavigate:function(){return te},useParams:function(){return ne}});var i=n(7294),r=n(1143),o=n.n(r),a=n(3639),l=function(e,t){return e.substr(0,t.length)===t},s=function(e,t){for(var n=void 0,i=void 0,r=t.split("?")[0],a=g(r),l=""===a[0],s=v(e),c=0,u=s.length;c<u;c++){var p=!1,f=s[c].route;if(f.default)i={route:f,params:{},uri:t};else{for(var m=g(f.path),y={},w=Math.max(a.length,m.length),k=0;k<w;k++){var N=m[k],C=a[k];if(h(N)){y[N.slice(1)||"*"]=a.slice(k).map(decodeURIComponent).join("/");break}if(void 0===C){p=!0;break}var E=d.exec(N);if(E&&!l){-1===b.indexOf(E[1])||o()(!1);var P=decodeURIComponent(C);y[E[1]]=P}else if(N!==C){p=!0;break}}if(!p){n={route:f,params:y,uri:"/"+a.slice(0,k).join("/")};break}}}return n||i||null},c=function(e,t){return s([{path:e}],t)},u=function(e,t){if(l(e,"/"))return e;var n=e.split("?"),i=n[0],r=n[1],o=t.split("?")[0],a=g(i),s=g(o);if(""===a[0])return y(o,r);if(!l(a[0],".")){var c=s.concat(a).join("/");return y(("/"===o?"":"/")+c,r)}for(var u=s.concat(a),p=[],d=0,f=u.length;d<f;d++){var h=u[d];".."===h?p.pop():"."!==h&&p.push(h)}return y("/"+p.join("/"),r)},p=function(e,t){var n=e.split("?"),i=n[0],r=n[1],o=void 0===r?"":r,a="/"+g(i).map((function(e){var n=d.exec(e);return n?t[n[1]]:e})).join("/"),l=t.location,s=(l=void 0===l?{}:l).search,c=(void 0===s?"":s).split("?")[1]||"";return a=y(a,o,c)},d=/^:(.+)/,f=function(e){return d.test(e)},h=function(e){return e&&"*"===e[0]},m=function(e,t){return{route:e,score:e.default?0:g(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?f(t)?e+=2:h(t)?e-=5:e+=3:e+=1,e}),0),index:t}},v=function(e){return e.map(m).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},g=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},b=["uri","path"],w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},k=function(e){var t=e.location,n=t.search,i=t.hash,r=t.href,o=t.origin,a=t.protocol,l=t.host,s=t.hostname,c=t.port,u=e.location.pathname;!u&&r&&E&&(u=new URL(r).pathname);return{pathname:encodeURI(decodeURI(u)),search:n,hash:i,href:r,origin:o,protocol:a,host:l,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},N=function(e,t){var n=[],i=k(e),r=!1,o=function(){};return{get location(){return i},get transitioning(){return r},_onTransitionComplete:function(){r=!1,o()},listen:function(t){n.push(t);var r=function(){i=k(e),t({location:i,action:"POP"})};return e.addEventListener("popstate",r),function(){e.removeEventListener("popstate",r),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=a.state,s=a.replace,c=void 0!==s&&s;if("number"==typeof t)e.history.go(t);else{l=w({},l,{key:Date.now()+""});try{r||c?e.history.replaceState(l,null,t):e.history.pushState(l,null,t)}catch(p){e.location[c?"replace":"assign"](t)}}i=k(e),r=!0;var u=new Promise((function(e){return o=e}));return n.forEach((function(e){return e({location:i,action:"PUSH"})})),u}}},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},i=0,r=[n],o=[null];return{get location(){return r[i]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return r},get index(){return i},get state(){return o[i]},pushState:function(e,t,n){var a=n.split("?"),l=a[0],s=a[1],c=void 0===s?"":s;i++,r.push({pathname:l,search:c.length?"?"+c:c}),o.push(e)},replaceState:function(e,t,n){var a=n.split("?"),l=a[0],s=a[1],c=void 0===s?"":s;r[i]={pathname:l,search:c},o[i]=e},go:function(e){var t=i+e;t<0||t>o.length-1||(i=t)}}}},E=!("undefined"==typeof window||!window.document||!window.document.createElement),P=N(E?window:C()),x=P.navigate,O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function S(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var R=function(e,t){var n=(0,i.createContext)(t);return n.displayName=e,n},T=R("Location"),D=function(e){var t=e.children;return i.createElement(T.Consumer,null,(function(e){return e?t(e):i.createElement(L,null,t)}))},L=function(e){function t(){var n,i;_(this,t);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=i=j(this,e.call.apply(e,[this].concat(o))),i.state={context:i.getContext(),refs:{unlisten:null}},j(i,n)}return A(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!Q(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return i.createElement(T.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(i.Component);L.defaultProps={history:P};var I=function(e){var t=e.url,n=e.children,r=t.indexOf("?"),o=void 0,a="";return r>-1?(o=t.substring(0,r),a=t.substring(r)):o=t,i.createElement(T.Provider,{value:{location:{pathname:o,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},M=R("Base",{baseuri:"/",basepath:"/",navigate:P.navigate}),B=function(e){return i.createElement(M.Consumer,null,(function(t){return i.createElement(D,null,(function(n){return i.createElement(F,O({},t,n,e))}))}))},F=function(e){function t(){return _(this,t),j(this,e.apply(this,arguments))}return A(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,r=e.basepath,o=e.primary,a=e.children,l=(e.baseuri,e.component),c=void 0===l?"div":l,p=S(e,["location","navigate","basepath","primary","children","baseuri","component"]),d=i.Children.toArray(a).reduce((function(e,t){var n=oe(r)(t);return e.concat(n)}),[]),f=t.pathname,h=s(d,f);if(h){var m=h.params,v=h.uri,g=h.route,y=h.route.value;r=g.default?r:g.path.replace(/\*$/,"");var b=O({},m,{uri:v,location:t,navigate:function(e,t){return n(u(e,v),t)}}),w=i.cloneElement(y,b,y.props.children?i.createElement(B,{location:t,primary:o},y.props.children):void 0),k=o?q:c,N=o?O({uri:v,location:t,component:c},p):p;return i.createElement(M.Provider,{value:{baseuri:v,basepath:r,navigate:b.navigate}},i.createElement(k,N,w))}return null},t}(i.PureComponent);F.defaultProps={primary:!0};var z=R("Focus"),q=function(e){var t=e.uri,n=e.location,r=e.component,o=S(e,["uri","location","component"]);return i.createElement(z.Consumer,null,(function(e){return i.createElement(H,O({},o,{component:r,requestFocus:e,uri:t,location:n}))}))},U=!0,W=0,H=function(e){function t(){var n,i;_(this,t);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=i=j(this,e.call.apply(e,[this].concat(o))),i.state={},i.requestFocus=function(e){!i.state.shouldFocus&&e&&e.focus()},j(i,n)}return A(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return O({shouldFocus:!0},e);var n=e.uri!==t.uri,i=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return O({shouldFocus:n||i},e)},t.prototype.componentDidMount=function(){W++,this.focus()},t.prototype.componentWillUnmount=function(){0===--W&&(U=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()},t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):U?U=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),r=(t.requestFocus,t.component),o=void 0===r?"div":r,a=(t.uri,t.location,S(t,["children","style","requestFocus","component","uri","location"]));return i.createElement(o,O({style:O({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},a),i.createElement(z.Provider,{value:this.requestFocus},this.props.children))},t}(i.Component);(0,a.O)(H);var G=function(){},Z=i.forwardRef;void 0===Z&&(Z=function(e){return e});var J=Z((function(e,t){var n=e.innerRef,r=S(e,["innerRef"]);return i.createElement(M.Consumer,null,(function(e){e.basepath;var o=e.baseuri;return i.createElement(D,null,(function(e){var a=e.location,s=e.navigate,c=r.to,p=r.state,d=r.replace,f=r.getProps,h=void 0===f?G:f,m=S(r,["to","state","replace","getProps"]),v=u(c,o),g=encodeURI(v),y=a.pathname===g,b=l(a.pathname,g);return i.createElement("a",O({ref:t||n,"aria-current":y?"page":void 0},m,h({isCurrent:y,isPartiallyCurrent:b,href:v,location:a}),{href:v,onClick:function(e){if(m.onClick&&m.onClick(e),ae(e)){e.preventDefault();var t=d;if("boolean"!=typeof d&&y){var n=O({},a.state),i=(n.key,S(n,["key"]));r=O({},p),o=i,t=(l=Object.keys(r)).length===Object.keys(o).length&&l.every((function(e){return o.hasOwnProperty(e)&&r[e]===o[e]}))}s(v,{state:p,replace:t})}var r,o,l}}))}))}))}));function K(e){this.uri=e}J.displayName="Link";var Q=function(e){return e instanceof K},$=function(e){throw new K(e)},Y=function(e){function t(){return _(this,t),j(this,e.apply(this,arguments))}return A(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,i=(e.from,e.replace),r=void 0===i||i,o=e.state,a=(e.noThrow,e.baseuri),l=S(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=u(n,a);t(p(e,l),{replace:r,state:o})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),i=e.baseuri,r=S(e,["navigate","to","from","replace","state","noThrow","baseuri"]),o=u(t,i);return n||$(p(o,r)),null},t}(i.Component),V=function(e){return i.createElement(M.Consumer,null,(function(t){var n=t.baseuri;return i.createElement(D,null,(function(t){return i.createElement(Y,O({},t,{baseuri:n},e))}))}))},X=function(e){var t=e.path,n=e.children;return i.createElement(M.Consumer,null,(function(e){var r=e.baseuri;return i.createElement(D,null,(function(e){var i=e.navigate,o=e.location,a=u(t,r),l=c(a,o.pathname);return n({navigate:i,location:o,match:l?O({},l.params,{uri:l.uri,path:t}):null})}))}))},ee=function(){var e=(0,i.useContext)(T);if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},te=function(){var e=(0,i.useContext)(M);if(!e)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.navigate},ne=function(){var e=(0,i.useContext)(M);if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var t=ee(),n=c(e.basepath,t.pathname);return n?n.params:null},ie=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var t=(0,i.useContext)(M);if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=ee(),r=u(e,t.baseuri),o=c(r,n.pathname);return o?O({},o.params,{uri:o.uri,path:e}):null},re=function(e){return e.replace(/(^\/+|\/+$)/g,"")},oe=function e(t){return function(n){if(!n)return null;if(n.type===i.Fragment&&n.props.children)return i.Children.map(n.props.children,e(t));var r,a,l;if(n.props.path||n.props.default||n.type===V||o()(!1),n.type!==V||n.props.from&&n.props.to||o()(!1),n.type===V&&(r=n.props.from,a=n.props.to,l=function(e){return f(e)},g(r).filter(l).sort().join("/")!==g(a).filter(l).sort().join("/"))&&o()(!1),n.props.default)return{value:n,default:!0};var s=n.type===V?n.props.from:n.props.path,c="/"===s?t:re(t)+"/"+re(s);return{value:n,default:n.props.default,path:n.props.children?re(c)+"/*":c}}},ae=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},1143:function(e){"use strict";e.exports=function(e,t,n,i,r,o,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,r,o,a,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}}},function(e){"use strict";e.O(0,[774,532,445,487],(function(){return t=2871,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app.js.map