SU-SWS/stanford_profile

View on GitHub
themes/stanford_basic/decoupled-menu/dist/islands/main-menu.island.umd.js

Summary

Maintainability
A
0 mins
Test Coverage
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(()=>(()=>{var e={719:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(267),o=n(61),i=n(898),a=n(544),s=n(49),c=n(224),l=function(){function e(e){this.modelPropertiesMapper=new s.ModelPropertiesMapper,this.jsonPropertiesMapper=new s.JsonPropertiesMapper,this.DeserializeCache=c.DeserializeCache,this.ModelsSerializer=o.default,this.JsonDeserializer=i.default,e&&e.modelPropertiesMapper&&(this.modelPropertiesMapper=e.modelPropertiesMapper),e&&e.jsonPropertiesMapper&&(this.jsonPropertiesMapper=e.jsonPropertiesMapper),e&&e.DeserializeCache&&(this.DeserializeCache=e.DeserializeCache),e&&e.ModelsSerializer&&(this.ModelsSerializer=e.ModelsSerializer),e&&e.JsonDeserializer&&(this.JsonDeserializer=e.JsonDeserializer)}return e.prototype.serialize=function(e){var t=e.stuff,n=e.includeNames;if(!t)throw new Error("Jsona can not serialize, stuff is not passed");var r=new this.ModelsSerializer(this.modelPropertiesMapper);return r.setStuff(t),n&&r.setIncludeNames(n),r.build()},e.prototype.deserialize=function(e,t){if(!e)throw new Error("Jsona can not deserialize, body is not passed");var n=new this.DeserializeCache,o=new this.JsonDeserializer(this.jsonPropertiesMapper,n,t);return"string"==typeof e?o.setJsonParsedObject((0,r.jsonParse)(e)):o.setJsonParsedObject(e),o.build()},e.prototype.denormalizeReduxObject=function(e){var t=e.reduxObject,n=e.entityType,r=e.entityIds,o=e.returnBuilderInRelations,i=void 0!==o&&o;if(!t)throw new Error("Jsona can not denormalize ReduxObject, incorrect reduxObject passed");if(!n)throw new Error("Jsona can not denormalize ReduxObject, entityType is not passed");if(!t[n])return null;var s=new a.default(this.jsonPropertiesMapper);return s.setReduxObject(t),s.setEntityType(n),s.setReturnBuilderInRelations(i),r&&s.setEntityIds(Array.isArray(r)?r:r.toString()),s.build()},e}();t.default=l},898:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonDeserializer=void 0;var n=function(){function e(e,t,n){this.preferNestedDataFromData=!1,this.setPropertiesMapper(e),this.setDeserializeCache(t),n&&n.preferNestedDataFromData&&(this.preferNestedDataFromData=!0)}return e.prototype.setDeserializeCache=function(e){this.dc=e},e.prototype.setPropertiesMapper=function(e){this.pm=e},e.prototype.setJsonParsedObject=function(e){this.body=e},e.prototype.build=function(){var e,t=this.body.data;if(Array.isArray(t)){e=[];for(var n=t.length,r=0;r<n;r++)if(t[r]){var o=this.buildModelByData(t[r]);o&&e.push(o)}}else t&&(e=this.buildModelByData(t));return e},e.prototype.buildModelByData=function(e,t){var n=this.dc.getCachedModel(e,t);if(n)return n;var r=this.pm.createModel(e.type);if(this.dc.handleModel(r,e,t),r){this.pm.setId(r,e.id),e.attributes&&this.pm.setAttributes(r,e.attributes),e.meta&&this.pm.setMeta&&this.pm.setMeta(r,e.meta),e.links&&this.pm.setLinks&&this.pm.setLinks(r,e.links),(null==t?void 0:t.meta)&&this.pm.setResourceIdObjMeta(r,t.meta);var o=this.buildRelationsByData(e,r);o&&this.pm.setRelationships(r,o)}return r},e.prototype.buildRelationsByData=function(e,t){var n={};if(e.relationships)for(var r in e.relationships){var o=e.relationships[r];if(Array.isArray(o.data)){n[r]=[];for(var i=o.data.length,a=void 0,s=0;s<i;s++)if(a=o.data[s]){var c=this.buildDataFromIncludedOrData(a.id,a.type);n[r].push(this.buildModelByData(c,a))}}else if(o.data){c=this.buildDataFromIncludedOrData(o.data.id,o.data.type);n[r]=this.buildModelByData(c,o.data)}else null===o.data&&(n[r]=null);if(o.links){var l=this.pm.setRelationshipLinks;l&&l(t,r,o.links)}if(o.meta){var u=this.pm.setRelationshipMeta;u&&u(t,r,o.meta)}}return Object.keys(n).length?n:null},e.prototype.buildDataFromIncludedOrData=function(e,t){if(this.preferNestedDataFromData&&(n=this.buildDataInObject()[t+e]))return n;var n,r=this.buildIncludedInObject()[t+e];if(r)return r;if(!this.preferNestedDataFromData&&(n=this.buildDataInObject()[t+e]))return n;return{id:e,type:t}},e.prototype.buildDataInObject=function(){if(!this.dataInObject){this.dataInObject={};var e=this.body.data,t=e.length;if(e&&t)for(var n=0;n<t;n++){var r=e[n];this.dataInObject[r.type+r.id]=r}else e&&(this.dataInObject[e.type+e.id]=e)}return this.dataInObject},e.prototype.buildIncludedInObject=function(){if(!this.includedInObject&&(this.includedInObject={},this.body.included))for(var e=this.body.included.length,t=0;t<e;t++){var n=this.body.included[t];this.includedInObject[n.type+n.id]=n}return this.includedInObject},e}();t.JsonDeserializer=n,t.default=n},61:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModelsSerializer=void 0;var r=n(378),o=n(267),i=function(){function e(e){e&&this.setPropertiesMapper(e),this.buildIncludedIndex=0}return e.prototype.setPropertiesMapper=function(e){this.propertiesMapper=e},e.prototype.setStuff=function(e){this.stuff=e},e.prototype.setIncludeNames=function(e){if(Array.isArray(e)){var t={};e.forEach((function(e){(0,o.createIncludeNamesTree)(e,t)})),this.includeNamesTree=t}else this.includeNamesTree=e},e.prototype.build=function(){var e=this.stuff,t=this.propertiesMapper;if(!t||"object"!=typeof t)throw new Error("ModelsSerializer cannot build, propertiesMapper is not set");if(!e||"object"!=typeof e)throw new Error("ModelsSerializer cannot build, stuff is not set");var n={},r={};if(e&&Array.isArray(e)){for(var o=e.length,i=[],a=0;a<o;a++)i.push(this.buildDataByModel(e[a])),this.buildIncludedByModel(e[a],this.includeNamesTree,r);n.data=i}else e?(n.data=this.buildDataByModel(e),this.buildIncludedByModel(e,this.includeNamesTree,r)):null===e&&(n.data=null);return Object.keys(r).length&&(n.included=Object.values(r)),n},e.prototype.buildDataByModel=function(e){var t=this.propertiesMapper.getId(e),n=this.propertiesMapper.getType(e),o=this.propertiesMapper.getAttributes(e),i=r.__assign(r.__assign({type:n},void 0!==t?{id:t}:{}),void 0!==o?{attributes:o}:{});if("string"!=typeof i.type||!i.type)throw console.warn("ModelsSerializer cannot buildDataByModel, type is not set or incorrect",e),new Error("ModelsSerializer cannot buildDataByModel, type is not set or incorrect");var a=this.buildRelationshipsByModel(e);return a&&Object.keys(a).length&&(i.relationships=a),i},e.prototype.buildResourceObjectPart=function(e){var t=this.propertiesMapper.getId(e),n=this.propertiesMapper.getType(e);return r.__assign({type:n},void 0===t?{}:{id:t})},e.prototype.buildRelationshipsByModel=function(e){var t=this,n=this.propertiesMapper.getRelationships(e);if(n&&Object.keys(n).length){var r={};return Object.keys(n).forEach((function(e){var o=n[e];if(Array.isArray(o)){for(var i=[],a=0,s=o;a<s.length;a++){var c=s[a],l=t.buildResourceObjectPart(c);"type"in l?i.push(l):console.error("Can't create data item for relationship ".concat(e,",\n                            it doesn't have 'id' or 'type', it was skipped"),c)}r[e]={data:i}}else if(o){var u=t.buildResourceObjectPart(o);"type"in u?r[e]={data:u}:console.error("Can't create data for relationship ".concat(e,", it doesn't have 'type', it was skipped"),o)}else r[e]={data:o}})),r}},e.prototype.buildIncludedByModel=function(e,t,n){if(void 0===n&&(n={}),t&&Object.keys(t).length){var r=this.propertiesMapper.getRelationships(e);if(r&&Object.keys(r).length)for(var o=Object.keys(t),i=o.length,a=0;a<i;a++){var s=o[a],c=r[s];if(c)if(Array.isArray(c))for(var l=c.length,u=0;u<l;u++){var p=c[u];this.buildIncludedItem(p,t[s],n)}else this.buildIncludedItem(c,t[s],n)}}},e.prototype.buildIncludedItem=function(e,t,n){var r=this.propertiesMapper.getId(e),o=this.propertiesMapper.getType(e)+r;r&&n[o]||(o in n&&(o+=this.buildIncludedIndex,this.buildIncludedIndex+=1),n[o]=this.buildDataByModel(e),t&&this.buildIncludedByModel(e,t,n))},e}();t.ModelsSerializer=i,t.default=i},544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.cachedModels={},this.setPropertiesMapper(e)}return e.prototype.setPropertiesMapper=function(e){this.propertiesMapper=e},e.prototype.setReduxObject=function(e){this.reduxObject=e},e.prototype.setEntityType=function(e){this.entityType=e},e.prototype.setEntityIds=function(e){this.ids=e},e.prototype.setReturnBuilderInRelations=function(e){this.returnBuilderInRelations=e},e.prototype.build=function(){var e=this,t=this,n=t.reduxObject,r=t.entityType,o=t.propertiesMapper;if(!o||"object"!=typeof o)throw new Error("ReduxObjectDenormalizer cannot build, propertiesMapper is not set");if(!n||"object"!=typeof n)throw new Error("ReduxObjectDenormalizer cannot build, reduxObject is not set");if(!r)throw new Error("ReduxObjectDenormalizer cannot build, entityType is not set");if(!n[r])return null;var i=this.ids;if(i||(i=Object.keys(n[r])),Array.isArray(i)){if(!i.length)return null;var a=[];return i.forEach((function(t){var n=e.buildModel(r,t);n&&a.push(n)})),a}return this.buildModel(r,i)},e.prototype.buildModel=function(e,t){var n=this.reduxObject;if(!n[e])return null;var r=n[e][t];if(!r)return null;var o="".concat(e,"-").concat(t),i=this.cachedModels[o];if(!i&&(i=this.propertiesMapper.createModel(e))){this.cachedModels[o]=i,this.propertiesMapper.setId(i,r.id),r.attributes&&this.propertiesMapper.setAttributes(i,r.attributes);var a=this.buildRelationships(i,r.relationships);a&&this.propertiesMapper.setRelationships(i,a)}return i},e.prototype.buildRelationships=function(e,t){var n=this;if(!t)return null;var r=Object.keys(t);if(!r.length)return null;var o={};return r.forEach((function(r){var i=t[r];if(i&&i.data&&(n.returnBuilderInRelations?o[r]=n.buildRelationModels.bind(n,i.data):o[r]=n.buildRelationModels(i.data)),i&&i.links&&n.propertiesMapper.setRelationshipLinks(e,r,i.links),i&&i.meta){var a=n.propertiesMapper.setRelationshipMeta;a&&a(e,r,i.meta)}})),Object.keys(o).length?o:null},e.prototype.buildRelationModels=function(e){var t=this;if(Array.isArray(e)){var n=[];return e.forEach((function(e){var r=t.buildModel(e.type,e.id);n.push(r||e)})),n}return e.id&&e.type?this.buildModel(e.type,e.id)||e:null},e}();t.default=n},224:(e,t)=>{"use strict";function n(e){var t;try{t=JSON.stringify(e)}catch(e){t="",console.warn(e)}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.DeserializeCache=t.jsonStringify=void 0,t.jsonStringify=n;var r=function(){function e(){this.cachedModels={}}return e.prototype.getCachedModel=function(e,t){var n=this.createCacheKey(e,t);return this.cachedModels[n]||null},e.prototype.handleModel=function(e,t,n){var r=this.createCacheKey(t,n),o=t.attributes||t.relationships;r&&o&&(this.cachedModels[r]=e)},e.prototype.createCacheKey=function(e,t){if(e.id&&e.type){var r=t?"".concat(t.type,"-").concat(t.id):"";return(null==t?void 0:t.meta)&&(r+="-".concat(n(t.meta))),e.meta?"".concat(e.type,"-").concat(e.id,"-").concat(n(e.meta),"-").concat(r):"".concat(e.type,"-").concat(e.id,"-").concat(r)}},e}();t.DeserializeCache=r},302:(e,t,n)=>{"use strict";var r=n(719);r.default,n(61).default,n(898).default;var o=n(49);var i=n(931);t.Ay=r.default},49:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonPropertiesMapper=t.defineRelationGetter=t.ModelPropertiesMapper=t.RELATIONSHIP_NAMES_PROP=void 0;var r=n(378);t.RELATIONSHIP_NAMES_PROP="relationshipNames";var o=function(){function e(){}return e.prototype.getId=function(e){return e.id},e.prototype.getType=function(e){return e.type},e.prototype.getAttributes=function(e){var n=["id","type",t.RELATIONSHIP_NAMES_PROP];Array.isArray(e[t.RELATIONSHIP_NAMES_PROP])?n.push.apply(n,e[t.RELATIONSHIP_NAMES_PROP]):e[t.RELATIONSHIP_NAMES_PROP]&&console.warn("Can't getAttributes correctly, '".concat(t.RELATIONSHIP_NAMES_PROP,"' property of ").concat(e.type,"-").concat(e.id," model\n                isn't array of relationship names"),e[t.RELATIONSHIP_NAMES_PROP]);var r={};return Object.keys(e).forEach((function(t){-1===n.indexOf(t)&&(r[t]=e[t])})),r},e.prototype.getRelationships=function(e){var n=e[t.RELATIONSHIP_NAMES_PROP];if(n&&(!Array.isArray(n)||n.length)){if(!n||Array.isArray(n)){var r={};return n.forEach((function(t){void 0!==e[t]&&(r[t]=e[t])})),r}console.warn("Can't getRelationships correctly,\n                '".concat(t.RELATIONSHIP_NAMES_PROP,"' property of ").concat(e.type,"-").concat(e.id," model\n                isn't array of relationship names"),e[t.RELATIONSHIP_NAMES_PROP])}},e}();function i(e,t,n){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,set:function(n){delete e[t],e[t]=n},get:function(){return delete e[t],e[t]=n()}})}t.ModelPropertiesMapper=o,t.defineRelationGetter=i;var a=function(){function e(){}return e.prototype.createModel=function(e){return{type:e}},e.prototype.setId=function(e,t){e.id=t},e.prototype.setAttributes=function(e,t){Object.keys(t).forEach((function(n){e[n]=t[n]}))},e.prototype.setMeta=function(e,t){e.meta=t},e.prototype.setLinks=function(e,t){e.links=t},e.prototype.setResourceIdObjMeta=function(e,t){e.resourceIdObjMeta=t},e.prototype.setRelationships=function(e,n){Object.keys(n).forEach((function(t){"function"==typeof n[t]?i(e,t,n[t]):e[t]=n[t]}));var o=Object.keys(n),a=e[t.RELATIONSHIP_NAMES_PROP];a&&a.length?e[t.RELATIONSHIP_NAMES_PROP]=r.__spreadArray(r.__spreadArray([],a,!0),o,!0).filter((function(e,t,n){return n.indexOf(e)===t})):e[t.RELATIONSHIP_NAMES_PROP]=o},e.prototype.setRelationshipLinks=function(e,t,n){},e.prototype.setRelationshipMeta=function(e,t,n){},e}();t.JsonPropertiesMapper=a},931:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwitchCaseJsonMapper=t.SwitchCaseModelMapper=void 0;var r=n(378),o=n(49),i=n(267),a=function(e){function t(t){var n=e.call(this)||this,r=t||{},o=r.switchAttributes,i=void 0===o||o,a=r.switchRelationships,s=void 0===a||a,c=r.switchType,l=void 0===c||c,u=r.switchChar,p=void 0===u?"-":u;return n.switchAttributes=i,n.switchRelationships=s,n.switchType=l,n.switchChar=p,n.regex=new RegExp(/([a-z][A-Z0-9])/g),n}return r.__extends(t,e),t.prototype.getType=function(t){var n=e.prototype.getType.call(this,t);return this.switchType&&n?this.convertFromCamelCaseString(n):n},t.prototype.getAttributes=function(t){var n=e.prototype.getAttributes.call(this,t);return this.switchAttributes&&n?this.convertFromCamelCase(n):n},t.prototype.getRelationships=function(t){var n=e.prototype.getRelationships.call(this,t);return this.switchRelationships&&n?this.convertFromCamelCase(n):n},t.prototype.convertFromCamelCase=function(e){var t=this;if(Array.isArray(e))return e.map((function(e){return t.convertFromCamelCase(e)}));if((0,i.isPlainObject)(e)){var n={};return Object.entries(e).forEach((function(e){var r=e[0],o=e[1],i=t.convertFromCamelCaseString(r);n[i]=t.convertFromCamelCase(o)})),n}return e},t.prototype.convertFromCamelCaseString=function(e){var t=this;return e.replace(this.regex,(function(e){return e[0]+t.switchChar+e[1].toLowerCase()}))},t}(o.ModelPropertiesMapper);t.SwitchCaseModelMapper=a;var s=function(e){function t(t){var n=e.call(this)||this,r=t||{},o=r.camelizeAttributes,i=void 0===o||o,a=r.camelizeRelationships,s=void 0===a||a,c=r.camelizeType,l=void 0===c||c,u=r.camelizeMeta,p=void 0!==u&&u,f=r.switchChar,d=void 0===f?"-":f;return n.camelizeAttributes=i,n.camelizeRelationships=s,n.camelizeType=l,n.camelizeMeta=p,n.switchChar=d,n.regex=new RegExp("".concat(n.switchChar,"([a-z0-9])"),"g"),n}return r.__extends(t,e),t.prototype.createModel=function(e){return this.camelizeType?{type:this.convertToCamelCaseString(e)}:{type:e}},t.prototype.setAttributes=function(t,n){if(!this.camelizeAttributes)return e.prototype.setAttributes.call(this,t,n);Object.assign(t,this.convertToCamelCase(n))},t.prototype.setMeta=function(t,n){if(!this.camelizeMeta)return e.prototype.setMeta.call(this,t,n);t.meta=this.convertToCamelCase(n)},t.prototype.setRelationships=function(t,n){var r=this;e.prototype.setRelationships.call(this,t,n),this.camelizeRelationships&&t[o.RELATIONSHIP_NAMES_PROP].forEach((function(e,n){var i=r.convertToCamelCaseString(e);i!==e&&(t[i]=t[e],delete t[e],t[o.RELATIONSHIP_NAMES_PROP][n]=i)}))},t.prototype.convertToCamelCase=function(e){var t=this;if(Array.isArray(e))return e.map((function(e){return t.convertToCamelCase(e)}));if((0,i.isPlainObject)(e)){var n={};return Object.entries(e).forEach((function(e){var r=e[0],o=e[1],i=t.convertToCamelCaseString(r);n[i]=t.convertToCamelCase(o)})),n}return e},t.prototype.convertToCamelCaseString=function(e){return e.replace(this.regex,(function(e){return e[1].toUpperCase()}))},t}(o.JsonPropertiesMapper);t.SwitchCaseJsonMapper=s},267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=t.jsonParse=t.createIncludeNamesTree=void 0,t.createIncludeNamesTree=function e(t,n){var r=t.split("."),o=r.shift(),i=null;r.length&&(i=n[o]||{},e(r.join("."),i)),n[o]=i},t.jsonParse=function(e){var t;try{t=JSON.parse(e)}catch(e){t={},console.warn(e)}return t};t.isPlainObject=function(e){return!!e&&"object"==typeof e&&e.constructor===Object}},745:(e,t,n)=>{var r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,f=u||p||Function("return this")(),d=Object.prototype.toString,_=Math.max,h=Math.min,v=function(){return f.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==o}(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,o,i,a,s,c,l=0,u=!1,p=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function d(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function b(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-l>=i}function g(){var e=v();if(b(e))return w(e);s=setTimeout(g,function(e){var n=t-(e-c);return p?h(n,i-(e-l)):n}(e))}function w(e){return s=void 0,f&&r?d(e):(r=o=void 0,a)}function S(){var e=v(),n=b(e);if(r=arguments,o=this,c=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(g,t),u?d(e):a}(c);if(p)return s=setTimeout(g,t),d(c)}return void 0===s&&(s=setTimeout(g,t)),a}return t=m(t)||0,y(n)&&(u=!!n.leading,i=(p="maxWait"in n)?_(m(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),S.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=o=s=void 0},S.flush=function(){return void 0===s?a:w(v())},S}},155:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<i.length;c++){var l=i[c];if(!s(l))return!1;var u=e[l],p=t[l];if(!1===(o=n?n.call(r,u,p,l):void 0)||void 0===o&&u!==p)return!1}return!0}},378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>N,__assign:()=>i,__asyncDelegator:()=>O,__asyncGenerator:()=>P,__asyncValues:()=>C,__await:()=>x,__awaiter:()=>_,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>A,__createBinding:()=>v,__decorate:()=>s,__disposeResources:()=>D,__esDecorate:()=>l,__exportStar:()=>y,__extends:()=>o,__generator:()=>h,__importDefault:()=>j,__importStar:()=>k,__makeTemplateObject:()=>E,__metadata:()=>d,__param:()=>c,__propKey:()=>p,__read:()=>b,__rest:()=>a,__runInitializers:()=>u,__setFunctionName:()=>f,__spread:()=>g,__spreadArray:()=>S,__spreadArrays:()=>w,__values:()=>m,default:()=>$});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,p=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var _={};for(var h in r)_[h]="access"===h?{}:r[h];for(var h in r.access)_.access[h]=r.access[h];_.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var v=(0,n[d])("accessor"===c?{get:p.get,set:p.set}:p[l],_);if("accessor"===c){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(s=a(v.get))&&(p.get=s),(s=a(v.set))&&(p.set=s),(s=a(v.init))&&o.unshift(s)}else(s=a(v))&&("field"===c?o.unshift(s):p[l]=s)}u&&Object.defineProperty(u,r.name,p),f=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function p(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function _(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function h(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var v=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||v(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function P(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof x?Promise.resolve(e.value.v).then(c,l):u(i[0][2],e)}(o[e](t))}catch(e){u(i[0][3],e)}}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function O(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&v(t,e,n);return M(t,e),t}function j(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function A(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function N(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var T="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function D(e){function t(t){e.error=e.hasError?new T(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const $={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__metadata:d,__awaiter:_,__generator:h,__createBinding:v,__exportStar:y,__values:m,__read:b,__spread:g,__spreadArrays:w,__spreadArray:S,__await:x,__asyncGenerator:P,__asyncDelegator:O,__asyncValues:C,__makeTemplateObject:E,__importStar:k,__importDefault:j,__classPrivateFieldGet:I,__classPrivateFieldSet:A,__classPrivateFieldIn:R,__addDisposableResource:N,__disposeResources:D}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{MainMenu:()=>xo});var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};Object.create;function t(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var o,i,a,s,c,l,u,p,f,d,_,h={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function b(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function w(e,t,n){var r,i,a,s={};for(a in t)"key"==a?r=t[a]:"ref"==a?i=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?o.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return S(e,s,r,i,null)}function S(e,t,n,r,o){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++a:o,__i:-1,__u:0};return null==o&&null!=i.vnode&&i.vnode(s),s}function x(e){return e.children}function P(e,t){this.props=e,this.context=t}function O(e,t){if(null==t)return e.__?O(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?O(e):null}function C(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return C(e)}}function E(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!M.__r++||c!==i.debounceRendering)&&((c=i.debounceRendering)||l)(M)}function M(){var e,t,n,r,o,a,c,l;for(s.sort(u);e=s.shift();)e.__d&&(t=s.length,r=void 0,a=(o=(n=e).__v).__e,c=[],l=[],n.__P&&((r=b({},o)).__v=o.__v+1,i.vnode&&i.vnode(r),$(n.__P,r,o,n.__n,void 0!==n.__P.ownerSVGElement,32&o.__u?[a]:null,c,null==a?O(o):a,!!(32&o.__u),l),r.__v=o.__v,r.__.__k[r.__i]=r,z(c,r,l),r.__e!=a&&C(r)),s.length>t&&s.sort(u));M.__r=0}function k(e,t,n,r,o,i,a,s,c,l,u){var p,f,d,_,y,m=r&&r.__k||v,b=t.length;for(n.__d=c,j(n,t,m),c=n.__d,p=0;p<b;p++)null!=(d=n.__k[p])&&"boolean"!=typeof d&&"function"!=typeof d&&(f=-1===d.__i?h:m[d.__i]||h,d.__i=p,$(e,d,f,o,i,a,s,c,l,u),_=d.__e,d.ref&&f.ref!=d.ref&&(f.ref&&F(f.ref,null,d),u.push(d.ref,d.__c||_,d)),null==y&&null!=_&&(y=_),65536&d.__u||f.__k===d.__k?(c&&!c.isConnected&&(c=O(f)),c=I(d,c,e)):"function"==typeof d.type&&void 0!==d.__d?c=d.__d:_&&(c=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=c,n.__e=y}function j(e,t,n){var r,o,i,a,s,c=t.length,l=n.length,u=l,p=0;for(e.__k=[],r=0;r<c;r++)a=r+p,null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?S(null,o,null,null,null):m(o)?S(x,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?S(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=R(o,n,a,u),o.__i=s,i=null,-1!==s&&(u--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&p--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?p++:s>a?u>c-a?p+=s-a:p--:s<a?s==a-1&&(p=s-a):p=0,s!==r+p&&(o.__u|=65536))):(i=n[a])&&null==i.key&&i.__e&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=O(i)),B(i,i,!1),n[a]=null,u--);if(u)for(r=0;r<l;r++)null!=(i=n[r])&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=O(i)),B(i,i))}function I(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=I(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function A(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some((function(e){A(e,t)})):t.push(e)),t}function R(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type&&0==(131072&c.__u))return n;if(r>(null!=c&&0==(131072&c.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((c=t[a])&&0==(131072&c.__u)&&o==c.key&&i===c.type)return a;a--}if(s<t.length){if((c=t[s])&&0==(131072&c.__u)&&o==c.key&&i===c.type)return s;s++}}return-1}function N(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function T(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||N(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||N(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=p,e.addEventListener(t,i?d:f,i)):e.removeEventListener(t,i?d:f,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function D(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=p++;else if(t.t<n.u)return;return n(i.event?i.event(t):t)}}}function $(e,t,n,r,o,a,s,c,l,u){var p,f,d,_,h,v,y,g,w,S,O,C,E,M,j,I=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),a=[c=t.__e=n.__e]),(p=i.__b)&&p(t);e:if("function"==typeof I)try{if(g=t.props,w=(p=I.contextType)&&r[p.__c],S=p?w?w.props.value:p.__:r,n.__c?y=(f=t.__c=n.__c).__=f.__E:("prototype"in I&&I.prototype.render?t.__c=f=new I(g,S):(t.__c=f=new P(g,S),f.constructor=I,f.render=H),w&&w.sub(f),f.props=g,f.state||(f.state={}),f.context=S,f.__n=r,d=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=I.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,I.getDerivedStateFromProps(g,f.__s))),_=f.props,h=f.state,f.__v=t,d)null==I.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==I.getDerivedStateFromProps&&g!==_&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(g,S),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(g,f.__s,S)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=g,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(g,f.__s,S),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(_,h,v)}))}if(f.context=S,f.props=g,f.__P=e,f.__e=!1,C=i.__r,E=0,"prototype"in I&&I.prototype.render){for(f.state=f.__s,f.__d=!1,C&&C(t),p=f.render(f.props,f.state,f.context),M=0;M<f._sb.length;M++)f.__h.push(f._sb[M]);f._sb=[]}else do{f.__d=!1,C&&C(t),p=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++E<25);f.state=f.__s,null!=f.getChildContext&&(r=b(b({},r),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(_,h)),k(e,m(j=null!=p&&p.type===x&&null==p.key?p.props.children:p)?j:[j],t,n,r,o,a,s,c,l,u),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),y&&(f.__E=f.__=null)}catch(e){t.__v=null,l||null!=a?(t.__e=c,t.__u|=l?160:32,a[a.indexOf(c)]=null):(t.__e=n.__e,t.__k=n.__k),i.__e(e,t,n)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,r,o,a,s,l,u);(p=i.diffed)&&p(t)}function z(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)F(n[r],n[++r],n[++r]);i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function L(e,t,n,r,i,a,s,c,l){var u,p,f,d,_,v,y,b=n.props,w=t.props,S=t.type;if("svg"===S&&(i=!0),null!=a)for(u=0;u<a.length;u++)if((_=a[u])&&"setAttribute"in _==!!S&&(S?_.localName===S:3===_.nodeType)){e=_,a[u]=null;break}if(null==e){if(null===S)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",S):document.createElement(S,w.is&&w),a=null,c=!1}if(null===S)b===w||c&&e.data===w||(e.data=w);else{if(a=a&&o.call(e.childNodes),b=n.props||h,!c&&null!=a)for(b={},u=0;u<e.attributes.length;u++)b[(_=e.attributes[u]).name]=_.value;for(u in b)_=b[u],"children"==u||("dangerouslySetInnerHTML"==u?f=_:"key"===u||u in w||T(e,u,null,_,i));for(u in w)_=w[u],"children"==u?d=_:"dangerouslySetInnerHTML"==u?p=_:"value"==u?v=_:"checked"==u?y=_:"key"===u||c&&"function"!=typeof _||b[u]===_||T(e,u,_,b[u],i);if(p)c||f&&(p.__html===f.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(f&&(e.innerHTML=""),k(e,m(d)?d:[d],t,n,r,i&&"foreignObject"!==S,a,s,a?a[0]:n.__k&&O(n,0),c,l),null!=a)for(u=a.length;u--;)null!=a[u]&&g(a[u]);c||(u="value",void 0!==v&&(v!==e[u]||"progress"===S&&!v||"option"===S&&v!==b[u])&&T(e,u,v,b[u],!1),u="checked",void 0!==y&&y!==e[u]&&T(e,u,y,b[u],!1))}return e}function F(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,n)}}function B(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||F(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&B(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||g(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function H(e,t,n){return this.constructor(e,n)}function W(e,t,n){var r,a,s,c;i.__&&i.__(e,t),a=(r="function"==typeof n)?null:n&&n.__k||t.__k,s=[],c=[],$(t,e=(!r&&n||t).__k=w(x,null,[e]),a||h,h,void 0!==t.ownerSVGElement,!r&&n?[n]:a?null:t.firstChild?o.call(t.childNodes):null,s,!r&&n?n:a?a.__e:t.firstChild,r,c),z(s,e,c)}function U(e,t){W(e,t,U)}function G(e,t,n){var r,i,a,s,c=b({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?r=t[a]:"ref"==a?i=t[a]:c[a]=void 0===t[a]&&void 0!==s?s[a]:t[a];return arguments.length>2&&(c.children=arguments.length>3?o.call(arguments,2):n),S(e.type,c,r||e.key,i||e.ref,null)}o=v.slice,i={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},a=0,P.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},n),this.props)),e&&b(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},P.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},P.prototype.render=x,s=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},M.__r=0,p=0,f=D(!1),d=D(!0),_=0;var V,J,q,Y,K=0,Z=[],Q=[],X=i,ee=X.__b,te=X.__r,ne=X.diffed,re=X.__c,oe=X.unmount,ie=X.__;function ae(e,t){X.__h&&X.__h(J,e,K||t),K=0;var n=J.__H||(J.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Q}),n.__[e]}function se(e){return K=1,ce(we,e)}function ce(e,t,n){var r=ae(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=J,!J.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};J.u=!0;var i=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},J.shouldComponentUpdate=o}return r.__N||r.__}function le(e,t){var n=ae(V++,3);!X.__s&&ge(n.__H,t)&&(n.__=e,n.i=t,J.__H.__h.push(n))}function ue(e,t){var n=ae(V++,4);!X.__s&&ge(n.__H,t)&&(n.__=e,n.i=t,J.__h.push(n))}function pe(e){return K=5,fe((function(){return{current:e}}),[])}function fe(e,t){var n=ae(V++,7);return ge(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function de(e,t){return K=8,fe((function(){return e}),t)}function _e(e){var t=J.context[e.__c],n=ae(V++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(J)),t.props.value):e.__}function he(){for(var e;e=Z.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(me),e.__H.__h.forEach(be),e.__H.__h=[]}catch(t){e.__H.__h=[],X.__e(t,e.__v)}}X.__b=function(e){J=null,ee&&ee(e)},X.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ie&&ie(e,t)},X.__r=function(e){te&&te(e),V=0;var t=(J=e.__c).__H;t&&(q===J?(t.__h=[],J.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Q,e.__N=e.i=void 0}))):(t.__h.forEach(me),t.__h.forEach(be),t.__h=[],V=0)),q=J},X.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&Y===X.requestAnimationFrame||((Y=X.requestAnimationFrame)||ye)(he)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Q&&(e.__=e.__V),e.i=void 0,e.__V=Q}))),q=J=null},X.__c=function(e,t){t.some((function(e){try{e.__h.forEach(me),e.__h=e.__h.filter((function(e){return!e.__||be(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],X.__e(n,e.__v)}})),re&&re(e,t)},X.unmount=function(e){oe&&oe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{me(e)}catch(e){t=e}})),n.__H=void 0,t&&X.__e(t,n.__v))};var ve="function"==typeof requestAnimationFrame;function ye(e){var t,n=function(){clearTimeout(r),ve&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ve&&(t=requestAnimationFrame(n))}function me(e){var t=J,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),J=t}function be(e){var t=J;e.__c=e.__(),J=t}function ge(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function Se(e,t){for(var n in t)e[n]=t[n];return e}function xe(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Pe(e,t){this.props=e,this.context=t}(Pe.prototype=new P).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(e,t){return xe(this.props,e)||xe(this.state,t)};var Oe=i.__b;i.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Oe&&Oe(e)};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Ee=function(e,t){return null==e?null:A(A(e).map(t))},Me={map:Ee,forEach:Ee,count:function(e){return e?A(e).length:0},only:function(e){var t=A(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:A},ke=i.__e;i.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ke(e,t,n,r)};var je=i.unmount;function Ie(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Se({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ie(e,t,n)}))),e}function Ae(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ae(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Re(){this.__u=0,this.t=null,this.__b=null}function Ne(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Te(){this.u=null,this.o=null}i.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),je&&je(e)},(Re.prototype=new P).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ne(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ae(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Re.prototype.componentWillUnmount=function(){this.t=[]},Re.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ie(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&w(x,null,e.fallback);return o&&(o.__u&=-33),[w(x,null,t.__a?null:e.children),o]};var De=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function $e(e){return this.getChildContext=function(){return e.context},e.children}function ze(e){var t=this,n=e.i;t.componentWillUnmount=function(){W(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),W(w($e,{context:t.context},e.__v),t.l)}(Te.prototype=new P).__a=function(e){var t=this,n=Ne(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),De(t,e,r)):o()};n?n(i):i()}},Te.prototype.render=function(e){this.u=null,this.o=new Map;var t=A(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Te.prototype.componentDidUpdate=Te.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){De(e,n,t)}))};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Fe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Be=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,He=/[A-Z0-9]/g,We="undefined"!=typeof document,Ue=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};P.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(P.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ge=i.event;function Ve(){}function Je(){return this.cancelBubble}function qe(){return this.defaultPrevented}i.event=function(e){return Ge&&(e=Ge(e)),e.persist=Ve,e.isPropagationStopped=Je,e.isDefaultPrevented=qe,e.nativeEvent=e};var Ye,Ke={enumerable:!1,configurable:!0,get:function(){return this.class}},Ze=i.vnode;i.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||We&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===a&&"no"===i?i=!1:"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Ue(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Be.test(o)?o=a:-1===n.indexOf("-")&&Fe.test(o)?o=o.replace(He,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=A(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=A(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Ke)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Le,Ze&&Ze(e)};var Qe=i.__r;i.__r=function(e){Qe&&Qe(e),Ye=e.__c};var Xe=i.diffed;i.diffed=function(e){Xe&&Xe(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Ye=null};function et(e){return!!e&&e.$$typeof===Le}function tt(e){e()}function nt(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var rt={useState:se,useId:function(){var e=ae(V++,11);if(!e.__){for(var t=J.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useReducer:ce,useEffect:le,useLayoutEffect:ue,useInsertionEffect:ue,useTransition:function(){return[!1,tt]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=se({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ue((function(){o.__=n,o.v=t,nt(o)&&i({h:o})}),[e,n,t]),le((function(){return nt(o)&&i({h:o}),e((function(){nt(o)&&i({h:o})}))}),[e]),n},startTransition:tt,useRef:pe,useImperativeHandle:function(e,t,n){K=6,ue((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:fe,useCallback:de,useContext:_e,useDebugValue:function(e,t){X.useDebugValue&&X.useDebugValue(t?t(e):e)},version:"17.0.2",Children:Me,render:function(e,t,n){return null==t.__k&&(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return U(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(W(null,e),!0)},createPortal:function(e,t){var n=w(ze,{__v:e,i:t});return n.containerInfo=t,n},createElement:w,createContext:function(e,t){var n={__c:t="__cC"+_++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return w.bind(null,e)},cloneElement:function(e){return et(e)?G.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:x,isValidElement:et,isElement:et,isFragment:function(e){return et(e)&&e.type===x},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:P,PureComponent:Pe,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:xe(this.props,e)}function r(t){return this.shouldComponentUpdate=n,w(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=Se({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ce,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:x,Suspense:Re,SuspenseList:Te,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return w(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return Ye.__n[e.__c].props.value}}}}},ot=n(155),it=n.n(ot),at="-ms-",st="-moz-",ct="-webkit-",lt="comm",ut="rule",pt="decl",ft="@import",dt="@keyframes",_t="@layer",ht=Math.abs,vt=String.fromCharCode,yt=Object.assign;function mt(e){return e.trim()}function bt(e,t){return(e=t.exec(e))?e[0]:e}function gt(e,t,n){return e.replace(t,n)}function wt(e,t,n){return e.indexOf(t,n)}function St(e,t){return 0|e.charCodeAt(t)}function xt(e,t,n){return e.slice(t,n)}function Pt(e){return e.length}function Ot(e){return e.length}function Ct(e,t){return t.push(e),e}function Et(e,t){return e.filter((function(e){return!bt(e,t)}))}var Mt=1,kt=1,jt=0,It=0,At=0,Rt="";function Nt(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Mt,column:kt,length:a,return:"",siblings:s}}function Tt(e,t){return yt(Nt("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Dt(e){for(;e.root;)e=Tt(e.root,{children:[e]});Ct(e,e.siblings)}function $t(){return At=It>0?St(Rt,--It):0,kt--,10===At&&(kt=1,Mt--),At}function zt(){return At=It<jt?St(Rt,It++):0,kt++,10===At&&(kt=1,Mt++),At}function Lt(){return St(Rt,It)}function Ft(){return It}function Bt(e,t){return xt(Rt,e,t)}function Ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Wt(e){return Mt=kt=1,jt=Pt(Rt=e),It=0,[]}function Ut(e){return Rt="",e}function Gt(e){return mt(Bt(It-1,qt(91===e?e+2:40===e?e+1:e)))}function Vt(e){for(;(At=Lt())&&At<33;)zt();return Ht(e)>2||Ht(At)>3?"":" "}function Jt(e,t){for(;--t&&zt()&&!(At<48||At>102||At>57&&At<65||At>70&&At<97););return Bt(e,Ft()+(t<6&&32==Lt()&&32==zt()))}function qt(e){for(;zt();)switch(At){case e:return It;case 34:case 39:34!==e&&39!==e&&qt(At);break;case 40:41===e&&qt(e);break;case 92:zt()}return It}function Yt(e,t){for(;zt()&&e+At!==57&&(e+At!==84||47!==Lt()););return"/*"+Bt(t,It-1)+"*"+vt(47===e?e:zt())}function Kt(e){for(;!Ht(Lt());)zt();return Bt(e,It)}function Zt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Qt(e,t,n,r){switch(e.type){case _t:if(e.children.length)break;case ft:case pt:return e.return=e.return||e.value;case lt:return"";case dt:return e.return=e.value+"{"+Zt(e.children,r)+"}";case ut:if(!Pt(e.value=e.props.join(",")))return""}return Pt(n=Zt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Xt(e,t,n){switch(function(e,t){return 45^St(e,0)?(((t<<2^St(e,0))<<2^St(e,1))<<2^St(e,2))<<2^St(e,3):0}(e,t)){case 5103:return ct+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ct+e+e;case 4789:return st+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ct+e+st+e+at+e+e;case 5936:switch(St(e,t+11)){case 114:return ct+e+at+gt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ct+e+at+gt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ct+e+at+gt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ct+e+at+e+e;case 6165:return ct+e+at+"flex-"+e+e;case 5187:return ct+e+gt(e,/(\w+).+(:[^]+)/,ct+"box-$1$2"+at+"flex-$1$2")+e;case 5443:return ct+e+at+"flex-item-"+gt(e,/flex-|-self/g,"")+(bt(e,/flex-|baseline/)?"":at+"grid-row-"+gt(e,/flex-|-self/g,""))+e;case 4675:return ct+e+at+"flex-line-pack"+gt(e,/align-content|flex-|-self/g,"")+e;case 5548:return ct+e+at+gt(e,"shrink","negative")+e;case 5292:return ct+e+at+gt(e,"basis","preferred-size")+e;case 6060:return ct+"box-"+gt(e,"-grow","")+ct+e+at+gt(e,"grow","positive")+e;case 4554:return ct+gt(e,/([^-])(transform)/g,"$1"+ct+"$2")+e;case 6187:return gt(gt(gt(e,/(zoom-|grab)/,ct+"$1"),/(image-set)/,ct+"$1"),e,"")+e;case 5495:case 3959:return gt(e,/(image-set\([^]*)/,ct+"$1$`$1");case 4968:return gt(gt(e,/(.+:)(flex-)?(.*)/,ct+"box-pack:$3"+at+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ct+e+e;case 4200:if(!bt(e,/flex-|baseline/))return at+"grid-column-align"+xt(e,t)+e;break;case 2592:case 3360:return at+gt(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,bt(e.props,/grid-\w+-end/)}))?~wt(e+(n=n[t].value),"span",0)?e:at+gt(e,"-start","")+e+at+"grid-row-span:"+(~wt(n,"span",0)?bt(n,/\d+/):+bt(n,/\d+/)-+bt(e,/\d+/))+";":at+gt(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return bt(e.props,/grid-\w+-start/)}))?e:at+gt(gt(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return gt(e,/(.+)-inline(.+)/,ct+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Pt(e)-1-t>6)switch(St(e,t+1)){case 109:if(45!==St(e,t+4))break;case 102:return gt(e,/(.+:)(.+)-([^]+)/,"$1"+ct+"$2-$3$1"+st+(108==St(e,t+3)?"$3":"$2-$3"))+e;case 115:return~wt(e,"stretch",0)?Xt(gt(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return gt(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,s){return at+n+":"+r+s+(o?at+n+"-span:"+(i?a:+a-+r)+s:"")+e}));case 4949:if(121===St(e,t+6))return gt(e,":",":"+ct)+e;break;case 6444:switch(St(e,45===St(e,14)?18:11)){case 120:return gt(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ct+(45===St(e,14)?"inline-":"")+"box$3$1"+ct+"$2$3$1"+at+"$2box$3")+e;case 100:return gt(e,":",":"+at)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return gt(e,"scroll-","scroll-snap-")+e}return e}function en(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case pt:return void(e.return=Xt(e.value,e.length,n));case dt:return Zt([Tt(e,{value:gt(e.value,"@","@"+ct)})],r);case ut:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(bt(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Dt(Tt(e,{props:[gt(t,/:(read-\w+)/,":"+st+"$1")]})),Dt(Tt(e,{props:[t]})),yt(e,{props:Et(n,r)});break;case"::placeholder":Dt(Tt(e,{props:[gt(t,/:(plac\w+)/,":"+ct+"input-$1")]})),Dt(Tt(e,{props:[gt(t,/:(plac\w+)/,":"+st+"$1")]})),Dt(Tt(e,{props:[gt(t,/:(plac\w+)/,at+"input-$1")]})),Dt(Tt(e,{props:[t]})),yt(e,{props:Et(n,r)})}return""}))}}function tn(e){return Ut(nn("",null,null,null,[""],e=Wt(e),0,[0],e))}function nn(e,t,n,r,o,i,a,s,c){for(var l=0,u=0,p=a,f=0,d=0,_=0,h=1,v=1,y=1,m=0,b="",g=o,w=i,S=r,x=b;v;)switch(_=m,m=zt()){case 40:if(108!=_&&58==St(x,p-1)){-1!=wt(x+=gt(Gt(m),"&","&\f"),"&\f",ht(l?s[l-1]:0))&&(y=-1);break}case 34:case 39:case 91:x+=Gt(m);break;case 9:case 10:case 13:case 32:x+=Vt(_);break;case 92:x+=Jt(Ft()-1,7);continue;case 47:switch(Lt()){case 42:case 47:Ct(on(Yt(zt(),Ft()),t,n,c),c);break;default:x+="/"}break;case 123*h:s[l++]=Pt(x)*y;case 125*h:case 59:case 0:switch(m){case 0:case 125:v=0;case 59+u:-1==y&&(x=gt(x,/\f/g,"")),d>0&&Pt(x)-p&&Ct(d>32?an(x+";",r,n,p-1,c):an(gt(x," ","")+";",r,n,p-2,c),c);break;case 59:x+=";";default:if(Ct(S=rn(x,t,n,l,u,o,s,b,g=[],w=[],p,i),i),123===m)if(0===u)nn(x,t,S,S,g,i,p,s,w);else switch(99===f&&110===St(x,3)?100:f){case 100:case 108:case 109:case 115:nn(e,S,S,r&&Ct(rn(e,S,S,0,0,o,s,b,o,g=[],p,w),w),o,w,p,s,r?g:w);break;default:nn(x,S,S,S,[""],w,0,s,w)}}l=u=d=0,h=y=1,b=x="",p=a;break;case 58:p=1+Pt(x),d=_;default:if(h<1)if(123==m)--h;else if(125==m&&0==h++&&125==$t())continue;switch(x+=vt(m),m*h){case 38:y=u>0?1:(x+="\f",-1);break;case 44:s[l++]=(Pt(x)-1)*y,y=1;break;case 64:45===Lt()&&(x+=Gt(zt())),f=Lt(),u=p=Pt(b=x+=Kt(Ft())),m++;break;case 45:45===_&&2==Pt(x)&&(h=0)}}return i}function rn(e,t,n,r,o,i,a,s,c,l,u,p){for(var f=o-1,d=0===o?i:[""],_=Ot(d),h=0,v=0,y=0;h<r;++h)for(var m=0,b=xt(e,f+1,f=ht(v=a[h])),g=e;m<_;++m)(g=mt(v>0?d[m]+" "+b:gt(b,/&\f/g,d[m])))&&(c[y++]=g);return Nt(e,t,n,0===o?ut:s,c,l,u,p)}function on(e,t,n,r){return Nt(e,t,n,lt,vt(At),xt(e,2,-2),0,r)}function an(e,t,n,r,o){return Nt(e,t,n,pt,xt(e,0,r),xt(e,r+1,-1),r,o)}const sn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var cn="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ln="active",un="data-styled-version",pn="6.1.8",fn="/*!sc*/\n",dn="undefined"!=typeof window&&"HTMLElement"in window,_n=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),hn=(new Set,Object.freeze([])),vn=Object.freeze({});function yn(e,t,n){return void 0===n&&(n=vn),e.theme!==n.theme&&e.theme||t||n.theme}var mn=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),bn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,gn=/(^-|-$)/g;function wn(e){return e.replace(bn,"-").replace(gn,"")}var Sn=/(a)(d)/gi,xn=52,Pn=function(e){return String.fromCharCode(e+(e>25?39:97))};function On(e){var t,n="";for(t=Math.abs(e);t>xn;t=t/xn|0)n=Pn(t%xn)+n;return(Pn(t%xn)+n).replace(Sn,"$1-$2")}var Cn,En=5381,Mn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},kn=function(e){return Mn(En,e)};function jn(e){return On(kn(e)>>>0)}function In(e){return e.displayName||e.name||"Component"}function An(e){return"string"==typeof e&&!0}var Rn="function"==typeof Symbol&&Symbol.for,Nn=Rn?Symbol.for("react.memo"):60115,Tn=Rn?Symbol.for("react.forward_ref"):60112,Dn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},zn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ln=((Cn={})[Tn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cn[Nn]=zn,Cn);function Fn(e){return("type"in(t=e)&&t.type.$$typeof)===Nn?zn:"$$typeof"in e?Ln[e.$$typeof]:Dn;var t}var Bn=Object.defineProperty,Hn=Object.getOwnPropertyNames,Wn=Object.getOwnPropertySymbols,Un=Object.getOwnPropertyDescriptor,Gn=Object.getPrototypeOf,Vn=Object.prototype;function Jn(e,t,n){if("string"!=typeof t){if(Vn){var r=Gn(t);r&&r!==Vn&&Jn(e,r,n)}var o=Hn(t);Wn&&(o=o.concat(Wn(t)));for(var i=Fn(e),a=Fn(t),s=0;s<o.length;++s){var c=o[s];if(!(c in $n||n&&n[c]||a&&c in a||i&&c in i)){var l=Un(t,c);try{Bn(e,c,l)}catch(e){}}}}return e}function qn(e){return"function"==typeof e}function Yn(e){return"object"==typeof e&&"styledComponentId"in e}function Kn(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Zn(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function Qn(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Xn(e,t,n){if(void 0===n&&(n=!1),!n&&!Qn(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Xn(e[r],t[r]);else if(Qn(t))for(var r in t)e[r]=Xn(e[r],t[r]);return e}function er(e,t){Object.defineProperty(e,"toString",{value:t})}function tr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var nr=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw tr(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(fn);return t},e}(),rr=new Map,or=new Map,ir=1,ar=function(e){if(rr.has(e))return rr.get(e);for(;or.has(ir);)ir++;var t=ir++;return rr.set(e,t),or.set(t,e),t},sr=function(e,t){ir=t+1,rr.set(e,t),or.set(t,e)},cr="style[".concat(cn,"][").concat(un,'="').concat(pn,'"]'),lr=new RegExp("^".concat(cn,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ur=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},pr=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fn),o=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var c=s.match(lr);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(sr(u,l),ur(e,u,c[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(s)}}};function fr(){return n.nc}var dr=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(cn,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(cn,ln),r.setAttribute(un,pn);var a=fr();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},_r=function(){function e(e){this.element=dr(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw tr(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),hr=function(){function e(e){this.element=dr(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),vr=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),yr=dn,mr={isServer:!dn,useCSSOMInjection:!_n},br=function(){function t(t,n,r){void 0===t&&(t=vn),void 0===n&&(n={});var o=this;this.options=e(e({},mr),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&dn&&yr&&(yr=!1,function(e){for(var t=document.querySelectorAll(cr),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(cn)!==ln&&(pr(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),er(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return or.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var s="".concat(cn,".g").concat(n,'[id="').concat(o,'"]'),c="";void 0!==i&&i.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(c,'"}').concat(fn)},i=0;i<n;i++)o(i);return r}(o)}))}return t.registerId=function(e){return ar(e)},t.prototype.reconstructWithOptions=function(n,r){return void 0===r&&(r=!0),new t(e(e({},this.options),n),this.gs,r&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new vr(n):t?new _r(n):new hr(n)}(this.options),new nr(e)));var e},t.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.prototype.registerName=function(e,t){if(ar(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ar(e),n)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(ar(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),gr=/&/g,wr=/^\s*\/\/.*$/gm;function Sr(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Sr(e.children,t)),e}))}function xr(e){var t,n,r,o=void 0===e?vn:e,i=o.options,a=void 0===i?vn:i,s=o.plugins,c=void 0===s?hn:s,l=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push((function(e){e.type===ut&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(gr,n).replace(r,l))})),a.prefix&&u.push(en),u.push(Qt);var p=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(wr,""),l=tn(i||o?"".concat(i," ").concat(o," { ").concat(c," }"):c);a.namespace&&(l=Sr(l,a.namespace));var p,f,d,_=[];return Zt(l,(p=u.concat((d=function(e){return _.push(e)},function(e){e.root||(e=e.return)&&d(e)})),f=Ot(p),function(e,t,n,r){for(var o="",i=0;i<f;i++)o+=p[i](e,t,n,r)||"";return o})),_};return p.hash=c.length?c.reduce((function(e,t){return t.name||tr(15),Mn(e,t.name)}),En).toString():"",p}var Pr=new br,Or=xr(),Cr=rt.createContext({shouldForwardProp:void 0,styleSheet:Pr,stylis:Or}),Er=(Cr.Consumer,rt.createContext(void 0));function Mr(){return _e(Cr)}function kr(e){var t=se(e.stylisPlugins),n=t[0],r=t[1],o=Mr().styleSheet,i=fe((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),a=fe((function(){return xr({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);le((function(){it()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var s=fe((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a}}),[e.shouldForwardProp,i,a]);return rt.createElement(Cr.Provider,{value:s},rt.createElement(Er.Provider,{value:a},e.children))}var jr=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Or);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,er(this,(function(){throw tr(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Or),this.name+e.hash},e}(),Ir=function(e){return e>="A"&&e<="Z"};function Ar(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Ir(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Rr=function(e){return null==e||!1===e||""===e},Nr=function(e){var n,r,o=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!Rr(a)&&(Array.isArray(a)&&a.isCss||qn(a)?o.push("".concat(Ar(i),":"),a,";"):Qn(a)?o.push.apply(o,t(t(["".concat(i," {")],Nr(a),!1),["}"],!1)):o.push("".concat(Ar(i),": ").concat((n=i,null==(r=a)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in sn||n.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function Tr(e,t,n,r){return Rr(e)?[]:Yn(e)?[".".concat(e.styledComponentId)]:qn(e)?!qn(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Tr(e(t),t,n,r):e instanceof jr?n?(e.inject(n,r),[e.getName(r)]):[e]:Qn(e)?Nr(e):Array.isArray(e)?Array.prototype.concat.apply(hn,e.map((function(e){return Tr(e,t,n,r)}))):[e.toString()];var o}function Dr(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(qn(n)&&!Yn(n))return!1}return!0}var $r=kn(pn),zr=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Dr(e),this.componentId=t,this.baseHash=Mn($r,t),this.baseStyle=n,br.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Kn(r,this.staticRulesId);else{var o=Zn(Tr(this.rules,e,t,n)),i=On(Mn(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Kn(r,i),this.staticRulesId=i}else{for(var s=Mn(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=Zn(Tr(u,e,t,n));s=Mn(s,p+l),c+=p}}if(c){var f=On(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(c,".".concat(f),void 0,this.componentId)),r=Kn(r,f)}}return r},e}(),Lr=rt.createContext(void 0);Lr.Consumer;var Fr={};new Set;function Br(t,n,r){var o=Yn(t),i=t,a=!An(t),s=n.attrs,c=void 0===s?hn:s,l=n.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":wn(e);Fr[n]=(Fr[n]||0)+1;var r="".concat(n,"-").concat(jn(pn+n+Fr[n]));return t?"".concat(t,"-").concat(r):r}(n.displayName,n.parentComponentId):l,p=n.displayName,f=void 0===p?function(e){return An(e)?"styled.".concat(e):"Styled(".concat(In(e),")")}(t):p,d=n.displayName&&n.componentId?"".concat(wn(n.displayName),"-").concat(n.componentId):n.componentId||u,_=o&&i.attrs?i.attrs.concat(c).filter(Boolean):c,h=n.shouldForwardProp;if(o&&i.shouldForwardProp){var v=i.shouldForwardProp;if(n.shouldForwardProp){var y=n.shouldForwardProp;h=function(e,t){return v(e,t)&&y(e,t)}}else h=v}var m=new zr(r,d,o?i.componentStyle:void 0);function b(t,n){return function(t,n,r){var o=t.attrs,i=t.componentStyle,a=t.defaultProps,s=t.foldedComponentIds,c=t.styledComponentId,l=t.target,u=rt.useContext(Lr),p=Mr(),f=t.shouldForwardProp||p.shouldForwardProp,d=yn(n,u,a)||vn,_=function(t,n,r){for(var o,i=e(e({},n),{className:void 0,theme:r}),a=0;a<t.length;a+=1){var s=qn(o=t[a])?o(i):o;for(var c in s)i[c]="className"===c?Kn(i[c],s[c]):"style"===c?e(e({},i[c]),s[c]):s[c]}return n.className&&(i.className=Kn(i.className,n.className)),i}(o,n,d),h=_.as||l,v={};for(var y in _)void 0===_[y]||"$"===y[0]||"as"===y||"theme"===y&&_.theme===d||("forwardedAs"===y?v.as=_.forwardedAs:f&&!f(y,h)||(v[y]=_[y]));var m=function(e,t){var n=Mr();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,_),b=Kn(s,c);return m&&(b+=" "+m),_.className&&(b+=" "+_.className),v[An(h)&&!mn.has(h)?"class":"className"]=b,v.ref=r,w(h,v)}(g,t,n)}b.displayName=f;var g=rt.forwardRef(b);return g.attrs=_,g.componentStyle=m,g.displayName=f,g.shouldForwardProp=h,g.foldedComponentIds=o?Kn(i.foldedComponentIds,i.styledComponentId):"",g.styledComponentId=d,g.target=o?i.target:t,Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)Xn(e,o[r],!0);return e}({},i.defaultProps,e):e}}),er(g,(function(){return".".concat(g.styledComponentId)})),a&&Jn(g,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),g}function Hr(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Wr=function(e){return Object.assign(e,{isCss:!0})};function Ur(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(qn(e)||Qn(e))return Wr(Tr(Hr(hn,t([e],n,!0))));var o=e;return 0===n.length&&1===o.length&&"string"==typeof o[0]?Tr(o):Wr(Tr(Hr(o,n)))}function Gr(n,r,o){if(void 0===o&&(o=vn),!r)throw tr(1,r);var i=function(e){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return n(r,o,Ur.apply(void 0,t([e],i,!1)))};return i.attrs=function(t){return Gr(n,r,e(e({},o),{attrs:Array.prototype.concat(o.attrs,t).filter(Boolean)}))},i.withConfig=function(t){return Gr(n,r,e(e({},o),t))},i}var Vr=function(e){return Gr(Br,e)},Jr=Vr;mn.forEach((function(e){Jr[e]=Vr(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Dr(e),br.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var o=r(Zn(Tr(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&br.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();(function(){function t(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString(),n=fr(),r=Zn([n&&'nonce="'.concat(n,'"'),"".concat(cn,'="true"'),"".concat(un,'="').concat(pn,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(e,"</style>")},this.getStyleTags=function(){if(t.sealed)throw tr(2);return t._emitSheetCSS()},this.getStyleElement=function(){var n;if(t.sealed)throw tr(2);var r=((n={})[cn]="",n[un]=pn,n.dangerouslySetInnerHTML={__html:t.instance.toString()},n),o=fr();return o&&(r.nonce=o),[rt.createElement("style",e({},r,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new br({isServer:!0}),this.sealed=!1}t.prototype.collectStyles=function(e){if(this.sealed)throw tr(2);return rt.createElement(kr,{sheet:this.instance},e)},t.prototype.interleaveWithNodeStream=function(e){throw tr(3)}})(),"__sc-".concat(cn,"__");function qr(){return qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qr.apply(this,arguments)}const Yr=e=>e instanceof ShadowRoot,Kr=e=>{const t=e.getRootNode()instanceof ShadowRoot?e.getRootNode().host:e,{dataset:n}=t,r={};for(var o in n){if(!1===n.hasOwnProperty(o))return;const e=`${(i=o.split(/(props?)/).pop()||"").charAt(0).toLowerCase()}${i.slice(1)}`;e&&(r[e]=n[o])}var i;return r},Zr=e=>["text/props","application/json"].includes(e.getAttribute("type")||""),Qr=e=>Yr(e)?[]:Array.from(e.getElementsByTagName("script")).filter(Zr),Xr=e=>Array.from(document.querySelectorAll(e)).filter(Zr),eo=e=>{let t={};return e.forEach((e=>{try{t=qr({},t,JSON.parse(e.innerHTML))}catch(e){}})),t},to=(e,t,n={},r)=>{const o=Kr(t),i=e._executedScript?Kr(e._executedScript):{},a=eo(Qr(t));return qr({},n,o,i,r?eo(Xr(r)):{},a)};function no(e,t){var n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild:function(t){e.removeChild(t)}}}const ro=({island:e,widget:t,rootFragment:n,props:r})=>{e.props=r,W(w(t,r),n)};const oo=new(n(302).Ay),io=(e,t="")=>{if(console.log("building"),null==e||!e.length)return{items:[]};const n=e.filter((e=>e.parent===t));return n.length?{items:n.map((t=>({...t,...io(e,t.id)})))}:{}},ao=(e=>{if(!(e=>"string"==typeof e||e instanceof String)(e))throw new Error("Expected string, got "+typeof e);return e})("");var so=0;Array.isArray;function co(e,t,n,r,o,a){var s,c,l={};for(c in t)"ref"==c?s=t[c]:l[c]=t[c];var u={type:e,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--so,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof e&&(s=e.defaultProps))for(c in s)void 0===l[c]&&(l[c]=s[c]);return i.vnode&&i.vnode(u),u}const lo=({...e})=>co("svg",{role:"presentation",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,...e,children:co("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.4887 5.41566C24.1363 6.00024 24.1737 6.98449 23.5725 7.61404L13.1725 18.5029C12.8697 18.8199 12.4449 19 12 19C11.5551 19 11.1303 18.8199 10.8275 18.5029L0.427538 7.61404C-0.173746 6.98449 -0.136251 6.00024 0.511286 5.41566C1.15882 4.83108 2.17119 4.86753 2.77248 5.49708L12 15.1584L21.2275 5.49708C21.8288 4.86753 22.8412 4.83108 23.4887 5.41566Z",fill:"currentColor"})}),uo=({...e})=>co("svg",{width:"30px",height:"26px",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,...e,children:[co("path",{d:"M4 18L20 18",stroke:"#000000","stroke-width":"2","stroke-linecap":"round"}),co("path",{d:"M4 12L20 12",stroke:"#000000","stroke-width":"2","stroke-linecap":"round"}),co("path",{d:"M4 6L20 6",stroke:"#000000","stroke-width":"2","stroke-linecap":"round"})]}),po=({...e})=>co("svg",{width:"22px",height:"26px",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,...e,children:co("g",{id:"Menu / Close_SM",children:co("path",{id:"Vector",d:"M16 16L12 12M12 12L8 8M12 12L16 8M12 12L8 16",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})}),fo=({...e})=>co("svg",{fill:"currentColor",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",width:"800px",height:"800px",viewBox:"0 0 390.704 390.704","aria-hidden":!0,...e,children:co("g",{children:co("g",{children:co("path",{d:"M379.711,326.556L265.343,212.188c30.826-54.189,23.166-124.495-23.001-170.663c-55.367-55.366-145.453-55.366-200.818,0 c-55.365,55.366-55.366,145.452,0,200.818c46.167,46.167,116.474,53.827,170.663,23.001l114.367,114.369 c14.655,14.655,38.503,14.654,53.157,0C394.367,365.059,394.368,341.212,379.711,326.556z M214.057,214.059 c-39.77,39.771-104.479,39.771-144.25,0c-39.77-39.77-39.77-104.48,0-144.25c39.771-39.77,104.48-39.77,144.25,0 C253.828,109.579,253.827,174.29,214.057,214.059z"})})})});n(745);var _o="undefined"!=typeof window?ue:le;function ho(e,t,n,r){const o=pe(t);_o((()=>{o.current=t}),[t]),le((()=>{const t=(null==n?void 0:n.current)??window;if(!t||!t.addEventListener)return;const i=e=>{o.current(e)};return t.addEventListener(e,i,r),()=>{t.removeEventListener(e,i,r)}}),[e,n,r])}function vo(e,t,n="mousedown",r={}){ho(n,(n=>{const r=n.target;if(!r||!r.isConnected)return;(Array.isArray(e)?e.filter((e=>Boolean(e.current))).every((e=>e.current&&!e.current.contains(r))):e.current&&!e.current.contains(r))&&t(n)}),void 0,r)}const yo=(e,t)=>{vo(e,t,"mousedown"),vo(e,t,"touchstart"),vo(e,t,"focusin")},mo="main-menu-island",bo=Jr.div`
  display: ${e=>e.open?"block":"none"};
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  @media (min-width: 992px) {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
`,go=Jr.ul`
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  background: #2e2d29;
  padding: 24px;
  font-size: 18px;

  @media (min-width: 992px) {
    display: flex;
    background: transparent;
    padding: 0;
    font-size: 19px;
    width: 100%;

  }
`,wo=Jr.button`
  position: absolute;
  top: -60px;
  right: 10px;
  box-shadow: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #2e2d29;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.6rem;

  &:hover, &:focus {
    border-bottom: 2px solid #2e2d29;
    background: transparent;
    color: #2e2d29;
    box-shadow: none;
  }

  @media (min-width: 992px) {
    display: none;
  }
`,So=Jr.div`
  padding: 10px 30px 0;
  margin: 0;
  background: #2e2d29;

  form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  label {
    padding: 0 10px;
    margin: 0;
    color: #fff;
  }

  input {
    margin: 0;
    width: 100%;
    border-radius: 999px;
    height: 40px;
    padding: 0 20px;
    max-width: 100%;
  }

  button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: #b1040e;
    border: 1px solid transparent;
    border-radius: 999px;
    aspect-ratio: 1;
    padding: 0;
    margin: 0;

    &:hover, &:focus {
      border: 1px solid #2e2d29;
    }
  }

  @media (min-width: 992px) {
    display: none;
  }
`,xo=({})=>{var e,t,n,r;ue((()=>{const e=new CustomEvent("web-component-mount",{detail:{target:n,parent:r},bubbles:!0});return dispatchEvent(e),()=>{const e=new CustomEvent("web-component-unmount",{detail:{target:n,parent:r},bubbles:!0});dispatchEvent(e)}}),[n=mo]);const[o,i]=se((null===(e=window.drupalSettings)||void 0===e||null===(e=e.stanford_basic)||void 0===e?void 0:e.decoupledMenuItems)||[]),[a,s]=se(!1),c=pe(null),l=pe(null);yo(l,(()=>s(!1))),le((()=>{o.length||fetch(ao+"/jsonapi/menu_items/main").then((e=>e.json())).then((e=>{return i((t=e)?oo.deserialize(t,n):null);var t,n})).catch((e=>console.error(e)))}),[]);ho("keydown",de((e=>{var t;"Escape"===e.key&&a&&(s(!1),null===(t=c.current)||void 0===t||t.focus())}),[a]));const u=fe((()=>io(o)),[o]);if(!u.items||0===(null===(t=u.items)||void 0===t?void 0:t.length))return;const p=document.getElementsByClassName("su-multi-menu");return p.length>0&&p[0].remove(),co("nav",{ref:l,style:{position:"relative"},children:[co(wo,{ref:c,onClick:()=>s(!a),"aria-expanded":a,children:[co(a?po:uo,{}),a?"Close":"Menu"]}),co(bo,{open:a,children:[co(So,{children:co("form",{action:"/search",method:"get",children:[co("label",{htmlFor:"mobile-search-input",children:"Keyword Search"}),co("div",{style:{position:"relative"},children:[co("input",{id:"mobile-search-input",type:"text",placeholder:"Search this site",name:"key"}),co("button",{type:"submit",children:[co(fo,{style:{width:"25px",height:"25px"}}),co("span",{className:"visually-hidden",children:"Submit Search"})]})]})]})}),co(go,{children:u.items.sort(((e,t)=>e.weight<t.weight?-1:1)).map((e=>co(Io,{...e},e.id)))})]})]})},Po=Jr.button`
  color: #fff;
  background: #b1040e;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0;
  margin: 0 0 -4px;
  box-shadow: none;
  flex-shrink: 0;
  border-radius: 999px;
  transition: color 0.2s ease-in-out, background 0.2s ease-in-out, border 0.2s ease-in-out;
  width: 38px;
  height: 38px;

  &:hover, &:focus {
    box-shadow: none;
    border-bottom: 1px solid #b1040e;
    background: #f4f4f4;
    color: #000;
  }

  @media (min-width: 992px) {
    color: #b1040e;
    background: transparent;
    border-radius: 0;

    &:hover, &:focus {
      border-bottom: 1px solid #2e2d29;
      color: #2e2d29;
      background: transparent;
    }
  }
`,Oo=Jr.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: ${e=>0===e.level?"32px":"0"};

  width: 100%;

  @media (min-width: 992px) {
    width: ${e=>0===e.level?"fit-content":"100%"};
    margin-bottom: ${e=>0===e.level?"6px":""};
  }
`,Co=Jr.a`
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 0 16px 16px;
  transition: all 0.2s ease-in-out;
  border-left: ${({isCurrent:e})=>e?"6px solid #b1040e":"6px solid transparent"};
  width: 100%;

  &:hover, &:focus {
    text-decoration: underline;
    color: #fff;
    border-left: 6px solid #fff;
  }

  @media (min-width: 992px) {
    color: #b1040e;
    padding: ${({level:e})=>0!=e?"16px 0 16px 16px":"16px 0"};
    border-bottom: ${({level:e,inTrail:t,isCurrent:n})=>0===e?n?"6px solid #2e2d29":t?"6px solid #b6b1a9":"6px solid transparent":""};
    border-left: ${({level:e,isCurrent:t})=>0!=e?t?"6px solid #b1040e":"6px solid transparent":"none"};
    margin-bottom: ${({level:e,inTrail:t,isCurrent:n})=>0===e?"-6px":""};

    &:hover, &:focus {
      color: #2e2d29;
      border-left: ${({level:e})=>0!=e?"6px solid #2e2d29":"none"};
    }
  }
`,Eo=Jr.span`
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 0 16px 16px;

  @media (min-width: 992px) {
    color: #b1040e;
    padding: ${({level:e})=>0!=e?"16px 0 16px 16px":"16px 0"};
  }
`,Mo=Jr.ul`
  display: ${e=>e.open?"block":"none"};
  z-index: ${e=>e.level+1};
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #53565a;
  min-width: 300px;

  @media (min-width: 992px) {
    box-shadow: ${e=>0===e.level?"0 10px 20px rgba(0,0,0,.15),0 6px 6px rgba(0,0,0,.2)":""};
    position: ${e=>0===e.level?"absolute":"relative"};
    top: 100%;
    background: #fff;
    border-top: 1px solid #d9d9d9;
    right: 0;
  }
`,ko=Jr.li`
  position: relative;
  border-bottom: 1px solid #53565a;
  padding: ${e=>e.level>0?"0 0 0 10px":"0"};
  margin: 0;

  &:last-child {
    border-bottom: none;
  }

  @media (min-width: 992px) {
    border-bottom: ${e=>0===e.level?"none":"1px solid #d9d9d9"};
    padding: ${e=>e.level>0?"0 10px":"0"};
  }
`,jo=Jr.div`
  width: 1px;
  height: 20px;
  margin: 0 6px;
  background: #766253;
  display: none;
  flex-shrink: 0;

  @media (min-width: 992px) {
    display: block;
  }
`,Io=({id:e,title:t,url:n,items:r,expanded:o,level:i=0})=>{const a=pe(null),[s,c]=se(!1),l=pe(null);yo(l,(()=>c(!1)));let u;ho("keydown",(e=>{var t;"Escape"===e.key&&s&&(c(!1),0===i&&(null===(t=a.current)||void 0===t||t.focus()))}));let p,f=!0,d=!1;return n&&(f=!1,u=new URL(n.startsWith("/")?`${window.location.origin}${n}`:n),p=u.pathname===window.location.pathname&&u.host===window.location.host,d=u.host===window.location.host&&"/"!=n&&window.location.pathname.startsWith(u.pathname)&&!p),co(ko,{ref:l,level:i,children:[co(Oo,{level:i,children:[!f&&co(Co,{id:e,href:n,"aria-current":p?"page":void 0,level:i,isCurrent:p,inTrail:d,children:t}),f&&co(Eo,{children:t}),r&&o&&co(x,{children:[0===i&&co(jo,{}),co(Po,{ref:a,onClick:()=>c(!s),"aria-expanded":s,"aria-labelledby":e,children:co(lo,{style:{transform:s?"rotate(180deg)":"",transition:"transform 0.2s ease-in-out",width:"16px"}})})]})]}),r&&o&&co(Mo,{open:s,level:i,children:r.sort(((e,t)=>e.weight<t.weight?-1:1)).map((e=>co(Io,{...e,level:i+1},e.id)))})]})},Ao=((e,t)=>{if(null==customElements.get(e)){class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}}customElements.define(e,t)}const n=(e=>{const t={_rootsToObservers:new WeakMap,_roots:[],_executedScript:document.currentScript,props:{},render:({selector:n,clean:r=!1,replace:o=!1,inline:i=!1,initialProps:a={},propsSelector:s,elementName:c})=>{let l=!1;const u=()=>{if(!0===l)return;const u=(({selector:e,inline:t,elementName:n})=>{const r=document.currentScript;if(t&&null!=r&&r.parentNode)return[r.parentNode];const o=null==r?void 0:r.dataset.mountIn;return o?Array.from(document.querySelectorAll(o)).map((e=>{if(null!=n){const t=document.createElement(n),r=e.appendChild(t);return null!=r.shadowRoot?r.shadowRoot:r}return e})):e?Array.from(document.querySelectorAll(e)).map((e=>null!=e.shadowRoot?e.shadowRoot:e)):[]})({selector:n,inline:i,elementName:c});if(0===u.length)return;const{rootFragments:p}=(({island:e,widget:t,hostElements:n,clean:r,replace:o,initialProps:i,propsSelector:a})=>{const s=[];return n.forEach((n=>{const c=to(e,n,i,a);let l;if(r&&n.replaceChildren(),o)l=no(n.parentElement||document.body,n);else{const e=document.createElement("div");n.appendChild(e),l=no(n,e)}s.push(l),ro({island:e,widget:t,rootFragment:l,props:c});const u=(({island:e,hostElement:t,initialProps:n,onNewProps:r,propsSelector:o})=>{const i=new MutationObserver((function(i){i.forEach((function(){r(to(e,t,n,o))}))})),a={attributes:!0,childList:!0,characterData:!0};return e._executedScript&&i.observe(e._executedScript,a),Qr(t).forEach((e=>{i.observe(e,qr({},a,{subtree:!0}))})),o&&Xr(o).forEach((e=>{i.observe(e,qr({},a,{subtree:!0}))})),i.observe(Yr(t)?t.host:t,a),i})({island:e,hostElement:n,initialProps:i,onNewProps:n=>{ro({island:e,widget:t,rootFragment:l,props:n})},propsSelector:a});e._rootsToObservers.set(l,u)})),{rootFragments:s}})({island:t,widget:e,clean:r,hostElements:u,replace:o,initialProps:a,propsSelector:s});t._roots=t._roots.concat(p),l=!0};u(),document.addEventListener("DOMContentLoaded",u),document.addEventListener("load",u)},rerender:n=>{t._roots.forEach((r=>{ro({island:t,widget:e,rootFragment:r,props:qr({},t.props,n)})}))},destroy:()=>{t._roots.forEach((e=>{var n;null==(n=t._rootsToObservers.get(e))||n.disconnect(),W(null,e)}))}};return t})(t);return qr({},n,{render:t=>n.render(qr({elementName:e},t)),injectStyles:e=>{n._roots.forEach((t=>{const n=document.createElement("style");n.innerHTML=e,t.parentNode.prepend(n)}))}})})(mo,xo);Ao.render({selector:`[data-island="${mo}"]`})})(),r})()));