PageSourceSearch

https://www.euhu.co.uk/_next/static/chunks/pages/_app-899670a05762543e.js

js euhu.co.uk collected 2026-10-04 05:20:17 UTC 943,082 bytes, 181 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{18202:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Builder:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib},BuilderAsyncRequestsContext:function(){return BuilderAsyncRequestsContext},BuilderBlock:function(){return BuilderBlock},BuilderBlockComponent:function(){return BuilderBlock$1},BuilderBlocks:function(){return BuilderBlocks},BuilderComponent:function(){return BuilderComponent},BuilderContent:function(){return BuilderContent},BuilderMetaContext:function(){return BuilderMetaContext},BuilderPage:function(){return BuilderComponent},BuilderStoreContext:function(){return BuilderStoreContext},Button:function(){return Button},Columns:function(){return Columns},CustomCode:function(){return CustomCode},Dropzone:function(){return Slot},Embed:function(){return Embed},Form:function(){return Form},FormInput:function(){return FormInput},FormSelect:function(){return FormSelect},FormSubmitButton:function(){return FormSubmitButton},Fragment:function(){return Fragment},Image:function(){return Image},Img:function(){return Img},Label:function(){return Label},Mutation:function(){return Mutation},RawText:function(){return RawText},RenderContent:function(){return BuilderComponent},Router:function(){return Router},Section:function(){return Section},StateProvider:function(){return StateProvider},Symbol:function(){return Symbol$1},Text:function(){return Text},TextArea:function(){return TextArea},Video:function(){return Video},builder:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},default:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},getSrcSet:function(){return getSrcSet},noWrap:function(){return noWrap},onChange:function(){return onChange},stringToFunction:function(){return stringToFunction},updateMetadata:function(){return updateMetadata},useIsPreviewing:function(){return useIsPreviewing},withBuilder:function(){return withBuilder},withChildren:function(){return withChildren}});var _a,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(74538),_emotion_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(94994),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(67294),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(73935),hash_sum__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(80504),hash_sum__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_4__),process=__webpack_require__(34155),version="3.1.2";"undefined"!=typeof window&&(null===(_a=window.parent)||void 0===_a||_a.postMessage({type:"builder.isReactSdk",data:{value:!0,supportsPatchUpdates:"v4",supportsCustomBreakpoints:!0,supportsGlobalSymbols:!0,priorVersion:version}},"*"));var extendStatics=function(e,t){return(extendStatics=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])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function __decorate(e,t,n,r){var i,o=arguments.length,a=o<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--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}
1function __awaiter(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function __generator(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=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(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function __spreadArray(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var safeDynamicRequire,fastClone=function(e){return JSON.parse(JSON.stringify(e))},omit$2=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object.assign({},e),i=0,o=t;i<o.length;i++){var a=o[i];delete r[a]}return r},sizeNames=["xsmall","small","medium","large"],sizes={xsmall:{min:0,default:0,max:0},small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200},getWidthForSize:function(e){return this[e].default},getSizeForWidth:function(e){for(var t=0,n=sizeNames;t<n.length;t++){var r=n[t];if(e<=this[r].max)return r}return"large"}},getSizesForBreakpoints=function(e){var t=e.small,n=e.medium,r=__assign(__assign({},sizes),fastClone(sizes));if(!t||!n)return r;var i=Math.floor(t/2);r.small={max:t,min:i,default:i+1};var o=r.small.max+1;r.medium={max:n,min:o,default:o+1};var a=r.medium.max+1;return r.large={max:2e3,min:a,default:a+1},r},set=function(e,t,n){if(Object(e)!==e)return e;var r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce(function(e,t,n){return Object(e[t])===e[t]?e[t]:e[t]=Math.abs(Number(r[n+1]))>>0==+r[n+1]?[]:{}},e)[r[r.length-1]]=n,e},noop=function(){return null};if("function"==typeof(null==globalThis?void 0:globalThis.require)||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer)try{safeDynamicRequire=eval("require")}catch(e){safeDynamicRequire=(null==globalThis?void 0:globalThis.require)?globalThis.require:noop}function isDebug(){return!!(void 0!==process&&void 0!==process.env&&process.env.DEBUG)}null!=safeDynamicRequire||(safeDynamicRequire=noop);var fnCache={},api=function(e){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl};function stringToFunction(e,t,n,r){if(void 0===t&&(t=!0),!e||!e.trim())return function(){};var i=e+":"+t;if(fnCache[i])return fnCache[i];var o=t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))||e.trim().startsWith("builder.run"),a=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(a=Function("state","event","block","builder","Device","update","Builder","context","\n          var names = [\n            'state',\n            'event',\n            'block',\n            'builder',\n            'Device',\n            'update',\n            'Builder',\n            'context'\n          ];\n          var rootState = state;\n          if (typeof Proxy !== 'undefined') {\n            rootState = new Proxy(rootState, {\n              set: function () {\n                return false;\n              },\n              get: function (target, key) {\n                if (names.includes(key)) {\n                  return undefined;\n                }\n                return target[key];\n              }\n            });\n          }\n          /* Alias */\n          var ctx = context;\n          var log = console.log.bind(console);\n          with (rootState) {\n            ".concat(o?"return (".concat(e,");"):e,";\n          }\n        ")))}catch(t){n&&n.push(t);var s=t&&t.message;s&&"string"==typeof s&&r&&-1===r.indexOf(s)&&r.push(s),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&console.warn("Function compile error in ".concat(e),t)}var l=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];try{if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)return a.apply(void 0,t);var i=getIsolateContext(),s=safeDynamicRequire("isolated-vm"),l=i.evalClosureSync(makeFn(e,o),t.map(function(e,t){return"object"==typeof e?new s.Reference(t===indexOfBuilderInstance?__assign(__assign({},e),{getUserAttributes:function(){return e.getUserAttributes("")}}):e):null}));try{return JSON.parse(l)}catch(e){return l}}catch(t){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",t.message||t,"in",e,t.stack||t):isDebug()&&console.debug("Builder custom code error:",t.message||t,"in",e,t.stack||t),n&&n.push(t),null}};return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(fnCache[i]=l),l}var indexOfBuilderInstance=3,makeFn=function(e,t,n){var r=n||["state","event","block","builder","Device","update","Builder","context"];return"\n".concat("\n  var refToProxy = (obj) => {\n    if (typeof obj !== 'object' || obj === null) {\n      return obj;\n    }\n    return new Proxy({}, {\n        get(target, key) {\n            if (key === 'copySync') {\n              return () => obj.copySync();\n            }\n            const val = obj.getSync(key);\n            if (typeof val?.getSync === 'function') {\n                return refToProxy(val);\n            }\n            return val;\n        },\n        set(target, key, value) {\n            obj.setSync(key, value);\n        },\n        deleteProperty(target, key) {\n            obj.deleteSync(key);\n        }\n      })\n  }\n","\n").concat("\n    var stringify = (val) => {\n      if (typeof val === 'object' && val !== null) {\n        return JSON.stringify(val.copySync ? val.copySync() : val);\n      }\n      return val;\n    }\n  ","\n").concat(r.map(function(e,t){return"var ".concat(e," = refToProxy($").concat(t,");")}).join("\n")).concat("\n".concat(r.includes("context")?"var ctx = context;":"","\n").concat(t?"return stringify(".concat(e,");"):e,";\n"))},getIsolateContext=function(){var e=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.serverContext;e||(e=new(safeDynamicRequire("isolated-vm")).Isolate({memoryLimit:128}).createContextSync(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.setServerContext(e));var t=e.global;return t.setSync("global",t.derefInto()),t.setSync("log",function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];isDebug()&&console.log.apply(console,e)}),e},isPromise=function(e){return"function"==typeof e.then},isRequestInfo=function(e){return!isPromise(e)},BuilderAsyncRequestsContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({requests:[],errors:[],logs:[]}),BuilderStoreContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({state:{},rootState:{},content:{},context:{},update:function(e){return null}}),applyPatchWithMinimalMutationChain=function(e,t,n){if(void 0===n&&(n=!1),Object(e)!==e)return e;var r=t.path,i=t.op,o=t.value,a=r.split(/\//);""===a[0]&&a.shift();for(var s=n?e:__assign({},e),l=s,u=0;u<a.length;u++){var c=u===a.length-1,d=a[u];if(c){if("replace"===i)l[d]=o;else if("add"===i){var f=Number(d);Array.isArray(l)?"-"===d?l.push(o):l.splice(f,0,o):l[d]=o}else"remove"===i&&(f=Number(d),Array.isArray(l)?l.splice(f,1):delete l[d])}else{var p=a[u+1],h=Object(l[d])===l[d]?l[d]:String(Number(p))===p?[]:{};l=l[d]=Array.isArray(h)?__spreadArray([],h,!0):__assign({},h)}}return s},htmlEscape=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},blockToHtmlString=function(e){var t;return"<".concat(htmlEscape(e.tagName||"div"),' \n    class="builder-block ').concat(e.id," ").concat(e.class||"",'"\n    builder-id="').concat(e.id,'"\n  ').
vendor: 6,939 bytes, line 1
1concat(Object.keys(e.properties||{}).map(function(t){return"".concat(htmlEscape(t),'="').concat(htmlEscape(e.properties[t]),'"')}).join(" "),"\n  >").concat("Text"===(null===(t=null==e?void 0:e.component)||void 0===t?void 0:t.name)?e.component.options.text:e.children?e.children.map(function(e){return blockToHtmlString(e)}).join(""):"","</").concat(e.tagName||"div",">").replace(/\s+/g," ")},Link=function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(t){return t.renderLink?t.renderLink(e):react__WEBPACK_IMPORTED_MODULE_2__.createElement("a",__assign({},e))})},camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},kebabCaseToCamelCase=function(e){return void 0===e&&(e=""),e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})},Device={desktop:0,tablet:1,mobile:2},voidElements=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr","textarea"]),last=function(e){return e[e.length-1]};function omit$1(e,t){for(var n=Object.assign({},e),r=0,i=t;r<i.length;r++)delete n[i[r]];return n}var cssCase=function(e){if(!e)return e;var t=camelCaseToKebabCase(e);return e[0]===e[0].toUpperCase()&&(t="-"+t),t};function capitalize(e){if(e)return e[0].toUpperCase()+e.slice(1)}var BuilderBlock$1=function(_super){function BuilderBlock(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.state={hasError:!1,updates:0},_this.privateState={state:{},rootState:{},context:{},update:function(){}},_this.onWindowMessage=function(event){var message=event.data;if(message)switch(message.type){case"builder.selectionChange":var data=message.data;if(!data)break;var selection=data.selection,id=_this.block&&_this.block.id;id&&Array.isArray(selection)&&selection.indexOf(id)>-1&&setTimeout(function(){window.$block=_this,window.$blocks||(window.$blocks=[]),window.$blocks.push(_this)});break;case"builder.patchUpdates":var data=message.data;if(!data||!data.data)break;var patches=data.data[_this.block.id];if(!patches)return;location.href.includes("builder.debug=true")&&eval("debugger");for(var _i=0,patches_1=patches;_i<patches_1.length;_i++){var patch=patches_1[_i];applyPatchWithMinimalMutationChain(_this.props.block,patch,!0)}_this.setState({updates:_this.state.updates+1})}},_this}return __extends(BuilderBlock,_super),Object.defineProperty(BuilderBlock.prototype,"store",{get:function(){return this.privateState},enumerable:!1,configurable:!0}),BuilderBlock.getDerivedStateFromError=function(e){return{hasError:!0}},BuilderBlock.prototype.componentDidCatch=function(e,t){console.error("Builder block error:",e,t)},BuilderBlock.prototype.stringToFunction=function(e,t){return void 0===t&&(t=!0),stringToFunction(e,t,this._errors,this._logs)},Object.defineProperty(BuilderBlock.prototype,"block",{get:function(){return this.props.block},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderBlock.prototype,"emotionCss",{get:function(){var e,t,n,r,i,o=this.block;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer){var a=o.animations&&o.animations[0];if(a&&"hover"!==a.trigger){var s=a&&a.steps&&a.steps[0],l=s&&s.styles;l&&(i=l)}}var u=sizeNames.slice().reverse(),c=this.block,d={};if(c.responsiveStyles)for(var f=0,p=u;f<p.length;f++){var h=p[f];if("large"===h)this.props.emailMode||(d["&.builder-block"]=Object.assign({},c.responsiveStyles[h],i));else{var m=getSizesForBreakpoints((null===(t=null===(e=this.privateState.context.builderContent)||void 0===e?void 0:e.meta)||void 0===t?void 0:t.breakpoints)||{});d["@media only screen and (max-width: ".concat(m[h].max,"px)")]={"&.builder-block":c.responsiveStyles[h]}}}var v=o.animations&&o.animations.find(function(e){return"hover"===e.trigger});return v&&(d[":hover"]=(null===(r=null===(n=v.steps)||void 0===n?void 0:n[1])||void 0===r?void 0:r.styles)||{},d.transition="all ".concat(v.duration,"s ").concat(camelCaseToKebabCase(v.easing)),v.delay&&(d.transitionDelay=v.delay+"s")),d},enumerable:!1,configurable:!0}),BuilderBlock.prototype.eval=function(e){return this.stringToFunction(e)(this.privateState.state,void 0,this.block,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,Device,this.privateState.update,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context)},BuilderBlock.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&removeEventListener("message",this.onWindowMessage)},BuilderBlock.prototype.componentDidMount=function(){var e,t=this,n=this.block,r=n&&n.animations;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&addEventListener("message",this.onWindowMessage),r){var i={animations:fastClone(r)};if(n.bindings){for(var o in n.bindings)if((null===(e=o.trim)||void 0===e?void 0:e.call(o))&&o.startsWith("animations.")){var a=this.stringToFunction(n.bindings[o]);void 0!==a&&set(i,o,a(this.privateState.state,null,n,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,null,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context))}}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.animator.bindAnimations(i.animations.filter(function(e){return"hover"!==e.trigger}).map(function(e){return __assign(__assign({},e),{elementId:t.block.id})}))}},BuilderBlock.prototype.getElement=function(e,t){var n,r,i,o,a,s=this;void 0===e&&(e=0),void 0===t&&(t=this.privateState.state);var l=this.props;l.child,l.fieldName;var u,c=this.block,d=(c.tagName||"div").toLowerCase();if("template"===d){var f=c.children?c.children.map(function(e){return blockToHtmlString(e)}).join(" "):"";return console.debug("template html",f),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("template",__assign({},c.properties,{dangerouslySetInnerHTML:{__html:f}}))}var p=c.component&&(c.component.name||c.component.component),h=null;c.component&&!c.component.class&&(c.component&&c.component.tag?u=c.component.tag:(h=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.find(function(e){return e.name===p})||null)&&h.class?u=h.class:h&&h.tag?u=h.tag:(null==p?void 0:p.startsWith("Builder:"))?console.warn("Missing @builder.io/widgets installation, please install and import @builder.io/widgets to use ".concat(p.split(":")[1]," in your content, more info here: https://github.com/BuilderIO/builder/tree/main/packages/widgets")):p&&console.warn("Missing registration for ".concat(p,", have you included the registration in your bundle?")));var m=__assign(__assign({},c.properties),{style:{}});if(m=__assign(__assign({},m.properties),m),c.component&&(m.component=fastClone(c.component)),c.bindings){for(var v in c.bindings)if(null===(r=v.trim)||void 0===r?void 0:r.call(v)){var g=this.stringToFunction(c.bindings[v]);set(m,v,g(t,null,c,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context))}}if(m.hide||(delete m.hide,("show"in m||c.bindings&&c.bindings.show)&&
1!m.show))return null;if(delete m.show,c.actions){var y=function(e){if(!(null===(i=e.trim)||void 0===i?void 0:i.call(e)))return"continue";var n=c.actions[e];m["on"+capitalize(e)]=function(e){var r=t;return"undefined"!=typeof Proxy&&(r=new Proxy(t,{set:function(e,t,n){return e[t]=n,s.privateState.rootState[t]=n,!0}})),s.stringToFunction(n,!1)(r,e,s.block,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,Device,s.privateState.update,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,s.privateState.context)}};for(var v in c.actions)y(v)}var b=(m.component||m.options)&&__assign(__assign({},m.options),m.component.options||m.component.data),w=voidElements.has(d),x=h&&(h.fragment||h.noWrap),E=(null===(o=m.attr)||void 0===o?void 0:o.style)||("string"==typeof m.style?m.style:"")||"";if("string"==typeof E){"object"!=typeof m.style&&(m.style={});for(var _=0,k=E.split(";");_<k.length;_++){var S=k[_].split(":");if(!S.length)return;v=S[0],g=S[1],v&&(S.length>2&&(g=S.slice(1).join(":")),m.style[kebabCaseToCamelCase(v)]=g)}}var C=__assign(__assign(__assign({},omit$1(m,["class","component","attr"])),((n={})["string"!=typeof d||d.includes("-")?"class":"className"]="builder-block ".concat(this.id).concat(c.class?" ".concat(c.class):"").concat(!c.component||["Image","Video","Banner"].indexOf(p)>-1?"":" builder-has-component")+(m.class?" "+m.class:"")+(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(null===(a=this.privateState.state._spacer)||void 0===a?void 0:a.parent)===c.id?" builder-spacer-parent":""),n.key=this.id+e,n["builder-id"]=this.id,n)),0!==e&&{"builder-index":e});_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(C["builder-inline-styles"]=m.attr&&m.attr.style?Object.keys(m.style).reduce(function(e,t){return(e?"".concat(e,";"):"")+"".concat(cssCase(t),":").concat(m.style[t],";")},""):""),(C.properties&&C.properties.href||C.href)&&"div"===d&&(d="a"),"a"===d&&(d=Link);var O=c.children||C.children||[];return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(_emotion_core__WEBPACK_IMPORTED_MODULE_1__.ms,null,function(e){var t=e.css;if(e.cx,!s.props.emailMode){var n=" "+t(s.emotionCss);C.class&&(C.class+=n),C.className&&(C.className+=n)}return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderAsyncRequestsContext.Consumer,null,function(e){return s._asyncRequests=e&&e.requests,s._errors=e&&e.errors,s._logs=e&&e.logs,w?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(d,__assign({},C)):u&&(x||s.props.emailMode)?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(u,__assign({},b,{attributes:C,builderBlock:c,builderState:s.privateState})):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(d,__assign({},C),u&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(u,__assign({builderState:s.privateState,builderBlock:c},b)),c.text||m.text?m.text:!u&&O&&Array.isArray(O)&&O.length?O.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock,{key:(s.id||"")+t,block:e,index:t,size:s.props.size,fieldName:s.props.fieldName,child:s.props.child,emailMode:s.props.emailMode})}):null)})}))},Object.defineProperty(BuilderBlock.prototype,"id",{get:function(){var e=this.block;return e.id.startsWith("builder")?e.id:"builder-"+e.id},enumerable:!1,configurable:!0}),BuilderBlock.prototype.contents=function(e){var t=this,n=this.block;if(this.privateState=e,n.repeat&&n.repeat.collection){var r=n.repeat.collection,i=last((r||"").trim().split("(")[0].trim().split(".")),o=n.repeat.itemName||(i?i+"Item":"item"),a=this.stringToFunction(r)(e.state,null,n,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context);return Array.isArray(a)?a.map(function(n,r){var i,a=__assign(__assign({},e.state),((i={$index:r,$item:n})[o]=n,i["$".concat(o,"Index")]=r,i));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{key:r,value:__assign(__assign({},e),{state:a})},t.getElement(r,a))}):null}return this.getElement()},BuilderBlock.prototype.render=function(){var e=this;return this.state.hasError?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",{css:{display:"inline-block",padding:5,color:"#999",fontSize:11,fontStyle:"italic"}},"Builder block error :( Check console for details"):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(t){return e.contents(t)})},BuilderBlock}(react__WEBPACK_IMPORTED_MODULE_2__.Component),BuilderBlocks=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onClickEmptyBlocks=function(){var e;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&t.noBlocks&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:t.parentId,dataPath:t.path}},"*"))},t.onHoverEmptyBlocks=function(){var e;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&t.noBlocks&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:t.parentId,dataPath:t.path}},"*"))},t}return __extends(t,e),Object.defineProperty(t.prototype,"isRoot",{get:function(){return!this.props.child}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noBlocks",{get:function(){var e=this.props.blocks;return!(e&&e.length)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){var e=this.props.dataPath||"";return e.trim()&&(e.startsWith("this.")?e=e.replace("this.",""):e.startsWith("component.options.")||(e="component.options."+e)),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentId",{get:function(){return this.props.parentElementId?this.props.parentElementId:this.props.parent&&this.props.parent.id},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props.blocks,n=this.props.emailMode?"span":"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(n,__assign({className:"builder-blocks"+(this.noBlocks?" no-blocks":"")+(this.props.child?" builder-blocks-child":"")+(this.props.className?" "+this.props.className:""),"builder-type":"blocks","builder-path":_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe?this.path:void 0,"builder-parent-id":this.parentId,css:__assign(__assign({},!this.props.emailMode&&{display:"flex",flexDirection:"column",alignItems:"stretch"}),this.props.style),onClick:function(){e.noBlocks&&e.onClickEmptyBlocks()}},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&{onMouseEnter:function(){return e.onHoverEmptyBlocks()}}),t&&Array.isArray(t)&&t.map(function(t,n){return t&&"@builder.io/sdk:Element"===t["@type"]?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:t.id,block:t,index:n,fieldName:e.props.fieldName,child:e.props.child,emailMode:e.props.emailMode}):t})||t)},t.renderInto=function(e,n,r){if(void 0===n&&(n={}),e){var i=null;return"string"==typeof e?i=document.querySelector(e):e instanceof Element&&(i=e),react_dom__WEBPACK_IMPORTED_MODULE_3__.render((0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{value:r},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(t,__assign({},n))),i)}},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),NoWrap=function(e){return e.children};function getData(e){if(void 0!==(null==e?void 0:e.data)){var t=e.data,n=t.blocks,r=t.blocksString,i=Array.isArray(n)||"string"==typeof r,o=__assign(__assign({},e.data),i&&{blocks:n||JSON.parse(r)});return delete o.blocksString,o}}var variantsScript=function(e,t){return"\n(function() {\n  if (window.builderNoTrack || !navigator.cookieEnabled) {\n    return;\n  }\n\n  var variants = ".concat(e,";
1\n  function removeVariants() {\n    variants.forEach(function (template) {\n      document.querySelector('template[data-template-variant-id=\"' + template.id + '\"]').remove();\n    });\n    document.getElementById('variants-script-").concat(t,'\').remove();\n  }\n\n  if (typeof document.createElement("template").content === \'undefined\') {\n    removeVariants();\n    return ;\n  }\n\n  function setCookie(name,value,days) {\n    var expires = "";\n    if (days) {\n        var date = new Date();\n        date.setTime(date.getTime() + (days*24*60*60*1000));\n        expires = "; expires=" + date.toUTCString();\n    }\n    document.cookie = name + "=" + (value || "")  + expires + "; path=/" + "; Secure; SameSite=None";\n  }\n\n  function getCookie(name) {\n    var nameEQ = name + "=";\n    var ca = document.cookie.split(\';\');\n    for(var i=0;i < ca.length;i++) {\n        var c = ca[i];\n        while (c.charAt(0)==\' \') c = c.substring(1,c.length);\n        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);\n    }\n    return null;\n  }\n  var cookieName = \'builder.tests.').concat(t,"';\n  var variantInCookie = getCookie(cookieName);\n  var availableIDs = variants.map(function(vr) { return vr.id }).concat('").concat(t,"');\n  var variantId;\n  if (availableIDs.indexOf(variantInCookie) > -1) {\n    variantId = variantInCookie;\n  }\n  if (!variantId) {\n    var n = 0;\n    var random = Math.random();\n    for (var i = 0; i < variants.length; i++) {\n      var variant = variants[i];\n      var testRatio = variant.testRatio;\n      n += testRatio;\n      if (random < n) {\n        setCookie(cookieName, variant.id);\n        variantId = variant.id;\n        break;\n      }\n    }\n    if (!variantId) {\n      variantId = \"").concat(t,'";\n      setCookie(cookieName, "').concat(t,'");\n    }\n  }\n  if (variantId && variantId !== "').concat(t,"\") {\n    var winningTemplate = document.querySelector('template[data-template-variant-id=\"' + variantId + '\"]');\n    if (winningTemplate) {\n      var parentNode = winningTemplate.parentNode;\n      var newParent = parentNode.cloneNode(false);\n      newParent.appendChild(winningTemplate.content.firstChild);\n      parentNode.parentNode.replaceChild(newParent, parentNode);\n    }\n  } else if (variants.length > 0) {\n    removeVariants();\n  }\n})()").replace(/\s+/g," ")},VariantsProvider=function(e){var t=e.initialContent,n=e.children;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.canTrack||!Object.keys((null==t?void 0:t.variations)||{}).length)return n([t]);var r=Object.keys(t.variations).map(function(e){return __assign(__assign({id:e},t.variations[e]),{data:getData(t.variations[e])})}),i=__spreadArray(__spreadArray([],r,!0),[t],!1);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer){var o=JSON.stringify(Object.keys(t.variations||{}).map(function(e){return{id:e,testRatio:t.variations[e].testRatio}}));return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,n(i,function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{id:"variants-script-".concat(t.id),dangerouslySetInnerHTML:{__html:variantsScript(o,t.id)}})}))}var a="builder.tests.".concat(t.id),s=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getCookie(a);if(!s&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)for(var l=0,u=Math.random(),c=0;c<r.length;c++){var d=r[c];if(u<(l+=d.testRatio)){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.setCookie(a,d.id),s=d.id;break}}return s||(s=t.id,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.setCookie(a,s)),n([i.find(function(e){return e.id===s})])},BuilderContent=function(_super){function BuilderContent(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.ref=null,_this.state={loading:!_this.props.content,data:getContentWithInfo(_this.props.content),updates:1},_this.onWindowMessage=function(event){var _a,_b,message=event.data;if(message)switch(message.type){case"builder.patchUpdates":if(null===(_a=_this.props.options)||void 0===_a?void 0:_a.noEditorUpdates)return;var data=message.data;if(!data||!data.data)break;var patches=data.data[null===(_b=_this.state.data)||void 0===_b?void 0:_b.id];if(!patches||!patches.length)return;location.href.includes("builder.debug=true")&&eval("debugger");for(var newData=_this.state.data,_i=0,patches_1=patches;_i<patches_1.length;_i++)newData=applyPatchWithMinimalMutationChain(newData,patches_1[_i],!1);_this.setState({updates:_this.state.updates+1,data:newData}),_this.props.contentLoaded&&_this.props.contentLoaded(newData.data,newData)}},_this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0,_this.firstLoad=!0,_this.clicked=!1,_this.trackedImpression=!1,_this.intersectionObserver=null,_this.onClick=function(e){var t=e.nativeEvent,n=_this.data;n&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.autoTrack&&_this.builder.trackInteraction(n.id,_this.renderedVariantId,_this.clicked,t,{content:n}),_this.clicked||(_this.clicked=!0))},_this}return __extends(BuilderContent,_super),Object.defineProperty(BuilderContent.prototype,"builder",{get:function(){return this.props.builder||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl}
vendor: 4,445 bytes, line 1
1,enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"name",{get:function(){var e=this.props;return"model"in e?e.model:e.modelName},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"renderedVariantId",{get:function(){var e,t,n=this.props.isStatic?this.builder.getCookie("builder.tests.".concat(null===(e=this.data)||void 0===e?void 0:e.id)):null===(t=this.data)||void 0===t?void 0:t.variationId;if(null!==n)return n},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"options",{get:function(){var e,t,n=__assign({},this.props.options||{});return n.key||!(null===(e=this.props.content)||void 0===e?void 0:e.id)||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing||(n.key=this.props.content.id),!this.props.content||(null===(t=n.initialContent)||void 0===t?void 0:t.length)||!this.props.inline&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing||(n.initialContent=[this.props.content]),n},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"data",{get:function(){return getContentWithInfo((this.props.inline||!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||this.firstLoad)&&this.options.initialContent&&this.options.initialContent[0]||this.state.data)},enumerable:!1,configurable:!0}),BuilderContent.prototype.componentDidMount=function(){var e,t;if(!this.props.inline||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing)this.subscribeToContent();else if(this.props.inline&&(null===(t=null===(e=this.options)||void 0===e?void 0:e.initialContent)||void 0===t?void 0:t.length)){var n=this.options.initialContent[0];(null==n?void 0:n.id)&&this.builder.trackImpression(n.id,this.renderedVariantId,void 0,{content:n})}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&addEventListener("message",this.onWindowMessage)},BuilderContent.prototype.subscribeToContent=function(){var e=this;"_inline"!==this.name&&this.subscriptions.add(this.builder.queueGetContent(this.name,this.options).subscribe(function(t){var n=t&&t[0];e.setState({data:n,loading:!1});var r=(e.builder.editingModel||e.builder.previewingModel)===e.name;if(!e.props.inline&&e.props.content&&e.firstLoad&&r&&(e.firstLoad=!1,e.subscriptions.unsubscribe(),e.subscribeToContent()),n&&e.firstLoad&&(e.firstLoad=!1,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.autoTrack&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing)){var i=!1;if("function"==typeof IntersectionObserver&&e.ref)try{(e.intersectionObserver=new IntersectionObserver(function(t,r){t.forEach(function(t){t.intersectionRatio>0&&!e.trackedImpression&&(e.builder.trackImpression(n.id,e.renderedVariantId,void 0,{content:e.data}),e.data,e.trackedImpression=!0,e.ref&&r.unobserve(e.ref))})})).observe(e.ref),i=!0}catch(e){console.warn("Could not bind intersection observer")}i||(e.trackedImpression=!0,e.builder.trackImpression(n.id,e.renderedVariantId,void 0,{content:n}))}e.props.contentLoaded&&e.props.contentLoaded(n&&n.data,n)},function(t){e.props.contentError&&(e.props.contentError(t),e.setState({loading:!1}))}))},BuilderContent.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&removeEventListener("message",this.onWindowMessage),this.subscriptions.unsubscribe(),this.intersectionObserver&&this.ref&&this.intersectionObserver.unobserve(this.ref)},BuilderContent.prototype.render=function(){var e=this;if(this.props.dataOnly)return null;var t=this.state.loading,n=this.data,r=this.props.dataOnly?NoWrap:"div";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(VariantsProvider,{initialContent:n},function(i,o){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,i.map(function(a,s){var l=s===i.length-1?react__WEBPACK_IMPORTED_MODULE_2__.Fragment:"template";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:String((null==a?void 0:a.id)+s)},"template"!==l&&(null==o?void 0:o()),react__WEBPACK_IMPORTED_MODULE_2__.createElement(l,__assign({key:String((null==a?void 0:a.id)+s)},"template"===l&&{"data-template-variant-id":null==a?void 0:a.id}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(r,__assign({},0===s&&!e.props.dataOnly&&{ref:function(t){return e.ref=t}}
1,{className:"builder-content",onClick:e.onClick,"builder-content-id":null==a?void 0:a.id,"builder-model":e.name}),e.props.children(null==a?void 0:a.data,!e.props.inline&&t,n))))}))})},BuilderContent}(react__WEBPACK_IMPORTED_MODULE_2__.Component),getContentWithInfo=function(e){var t;if(e){var n=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getCookie("builder.tests.".concat(e.id)),r=n===e.id?e:null===(t=e.variations)||void 0===t?void 0:t[n],i=(null==r?void 0:r.name)||((null==r?void 0:r.id)===e.id?"Default variation":"");return __assign(__assign({},e),{variationId:n,testVariationId:n,testVariationName:i})}return null};function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var onChange_1=createCommonjsModule(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Symbol("target"),r=Symbol("unsubscribe"),i=function(e,t){return t&&t.toString&&(e&&(e+="."),e+=t.toString()),e},o=function(e){return Array.isArray(e)?e.slice():Object.assign({},e)},a=function(e,t,a){if("undefined"==typeof Proxy)return e;void 0===a&&(a={});var s,l,u=Symbol("ProxyTarget"),c=!1,d=!1,f=!1,p=a.equals||Object.is,h=new WeakMap,m=new WeakMap,v=new WeakMap,g=function(e,n,r,a){if(!f){if(c){if(c&&l&&void 0!==r&&void 0!==a&&"length"!==n){var u=l;e!==s&&function(e,t){for(var n;e;)-1===(n=e.indexOf("."))&&(n=e.length),t(e.slice(0,n)),e=e.slice(n+1)}(e=e.replace(s,"").slice(1),function(e){u[e]=o(u[e]),u=u[e]}),u[n]=r}d=!0}else t(i(e,n),a,r)}},y=function(e,t){var n=h?h.get(e):void 0;n&&n.delete(t)},b=function(e,t){if(f)return e;m.set(e,t);var n=v.get(e);return void 0===n&&(n=new Proxy(e,x),v.set(e,n)),n},w=function(e){return f||!0===a.ignoreSymbols&&"symbol"==typeof e},x={get:function(e,t,o){if(t===u||t===n)return e;if(t===r&&""===m.get(e))return function(e){return f=!0,h=null,m=null,v=null,e}(e);var s=Reflect.get(e,t,o);if(function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(s)||function(e){return e instanceof RegExp||e instanceof Number}(s)||"constructor"===t||!0===a.isShallow)return s;var l=function(e,t){var n=h?h.get(e):void 0;if(n)return n;n=new Map,h.set(e,n);var r=n.get(t);return r||(r=Reflect.getOwnPropertyDescriptor(e,t),n.set(t,r)),r}(e,t);if(l&&!l.configurable){if(l.set&&!l.get)return;if(!1===l.writable)return s}return b(s,i(m.get(e),t))},set:function(e,t,n,r){n&&void 0!==n[u]&&(n=n[u]);var i=w(t),o=i?null:Reflect.get(e,t,r),a=Reflect.set(e[u]||e,t,n);return i||p(o,n)||g(m.get(e),t,o,n),a},defineProperty:function(e,t,n){var r=Reflect.defineProperty(e,t,n);return w(t)||(y(e,t),g(m.get(e),t,void 0,n.value)),r},deleteProperty:function(e,t){if(!Reflect.has(e,t))return!0;var n=w(t),r=n?null:Reflect.get(e,t),i=Reflect.deleteProperty(e,t);return n||(y(e,t),g(m.get(e),t,r)),i},apply:function(e,t,n){var r=t instanceof Date;if(r&&(t=t[u]),!c){c=!0,r&&(l=t.valueOf()),(Array.isArray(t)||"[object Object]"===toString.call(t))&&(l=o(t[u])),s=(s=m.get(e)).slice(0,Math.max(s.lastIndexOf("."),0));var i=Reflect.apply(e,t,n);return c=!1,(d||r&&!p(l,t.valueOf()))&&(g(s,"",l,t[u]||t),l=null,d=!1),i}return Reflect.apply(e,t,n)}},E=b(e,"");return t=t.bind(E),E};a.target=function(e){return e[n]||e},a.unsubscribe=function(e){return e[r]||e},e.exports=a,t.default=a}),onChange=unwrapExports(onChange_1),nextTick=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick;function debounceNextTick(e,t,n){return void 0===t&&"function"==typeof e?debounceNextTickImpl(e):{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,t,{configurable:!0,enumerable:n.enumerable,value:debounceNextTickImpl(n.value)}),this[t]}}}function debounceNextTickImpl(e){var t=null,n=null;return function(){var e=t;t=[].slice.call(arguments),n=this,null===e&&nextTick(r)};function r(){e.apply(n,t),t=null,n=null}}function throttle(e,t,n){void 0===n&&(n={});var r,i,o,a=null,s=0,l=function(){s=!1===n.leading?0:Date.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,i=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}}var BuilderMetaContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({emailMode:!1,ampMode:!1,isServer:!1}),tryEval=function(e,t,n){void 0===t&&(t={});var r=e;if("string"==typeof r&&r.trim()){var i=!(r.includes(";")||r.includes(" return ")),o=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(o=Function("state","var rootState = state;\n        if (typeof Proxy !== 'undefined') {\n          rootState = new Proxy(rootState, {\n            set: function () {\n              return false;\n            },\n            get: function (target, key) {\n              if (key === 'state') {\n                return state;\n              }\n              return target[key]\n            }\n          });\n        }\n        with (rootState) {\n          ".concat(i?"return (".concat(e,");"):e,";\n        }")))}catch(e){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&console.warn("Could not compile javascript",e)}
vendor: 4,454 bytes, line 1
1try{if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)return o(t||{});var a=safeDynamicRequire("isolated-vm"),s=getIsolateContext(),l=makeFn(e,i,["state"]),u=s.evalClosureSync(l,[new a.Reference(t||{})]);try{return JSON.parse(u)}catch(e){return u}}catch(t){n&&n.push(t),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",t.message,"in",e,t.stack):isDebug()&&console.debug("Builder custom code error:",t.message,"in",e,t.stack)}}};function toError(e){return e instanceof Error?e:Error(String(e))}function getBuilderPixel(e){return{id:"builder-pixel-"+Math.random().toString(36).split(".")[1],"@type":"@builder.io/sdk:Element",tagName:"img",properties:{role:"presentation","aria-hidden":"true",src:"https://cdn.builder.io/api/v1/pixel?apiKey=".concat(e)},responsiveStyles:{large:{height:"0",width:"0",display:"inline-block",opacity:"0",overflow:"hidden",pointerEvents:"none"}}}}function pick(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r={};return t.forEach(function(t){r[t]=e[t]}),r}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=__assign({},e);return t.forEach(function(e){delete r[e]}),r}var instancesMap=new Map,wrapComponent=function(e){return function(t){var n,r=t.builderTag||"div",i=["children"].concat((null===(n=e.inputs)||void 0===n?void 0:n.map(function(e){return e.name}))||[]),o=omit.apply(void 0,__spreadArray(__spreadArray([t],i,!1),["attributes"],!1)),a=t;return e.noWrap?react__WEBPACK_IMPORTED_MODULE_2__.createElement(e.class,__assign({attributes:o},a)):react__WEBPACK_IMPORTED_MODULE_2__.createElement(r,__assign({},o),react__WEBPACK_IMPORTED_MODULE_2__.createElement(e.class,__assign({},a)))}},size$1=function(e){return Object.keys(e).length};function debounce(e,t,n){var r;return void 0===n&&(n=!1),function(){var i=this,o=arguments;clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(i,o)},t),n&&!r&&e.apply(i,o)}}var fetch$1,fontsLoaded=new Set;globalThis.fetch&&(fetch$1=globalThis.fetch),null!=fetch$1||(fetch$1=__webpack_require__(83300));var sizeMap={desktop:"large",tablet:"medium",mobile:"small"},fetchCache={};function searchToObject$1(e){var t=(e.search||"").substring(1).split("&"),n={};for(var r in t)if(t[r]&&"string"==typeof t[r]){var i=t[r].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}var BuilderComponent=function(e){function t(t){var n,r,i=this;(i=e.call(this,t)||this).subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0,i.onStateChange=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Xe(null),i.asServer=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer,i.contentRef=null,i.styleRef=null,i.rootState=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer?{}:onChange({},function(){return i.updateState()}),i.lastJsCode="",i.lastHttpRequests={},i.httpSubscriptionPerKey={},i.firstLoad=!0,i.ref=null,i.messageListener=function(e){var t,n=e.data;switch(n.type){case"builder.configureSdk":var r=n.data;if(!r.contentId||r.contentId!==(null===(t=i.useContent)||void 0===t?void 0:t.id))return;i.sizes=getSizesForBreakpoints(r.breakpoints||{}),i.setState({state:Object.assign(i.rootState,{deviceSize:i.deviceSizeState,device:i.device}),updates:(i.state&&i.state.updates||0)+1,breakpoints:r.breakpoints});break;case"builder.updateSpacer":var o=n.data;i.rootState._spacer,i.updateState(function(e){e._spacer=o});break;case"builder.resetState":var a=n.data,s=a.state;if(a.model===i.name){for(var l in i.rootState)"function"!=typeof i.rootState[l]&&delete i.rootState[l];Object.assign(i.rootState,s),i.setState(__assign(__assign({},i.state),{state:i.rootState,updates:(i.state&&i.state.updates||0)+1}))}break;case"builder.resetSymbolState":var u=n.data.state,c=(s=u.state,u.model,u.id);if(i.props.builderBlock&&i.props.builderBlock===c){for(var l in i.rootState)delete i.rootState[l];Object.assign(i.rootState,s),i.setState(__assign(__assign({},i.state),{state:i.rootState,updates:(i.state&&i.state.updates||0)+1}))}}},i.resizeFn=function(){var e=i.deviceSizeState;e!==i.state.state.deviceSize&&i.setState(__assign(__assign({},i.state),{updates:(i.state&&i.state.updates||0)+1,state:Object.assign(i.rootState,__assign(__assign({},i.state.state),{deviceSize:e}))}))},i.resizeListener=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?throttle(i.resizeFn,200):debounce(i.resizeFn,400),i.mounted=!1,i.updateState=function(e){var t=i.rootState;
1e&&e(t),i.mounted?i.setState({update:i.updateState,state:t,updates:(i.state&&i.state.updates||0)+1}):i.state=__assign(__assign({},i.state),{update:i.updateState,state:t,updates:(i.state&&i.state.updates||0)+1}),i.notifyStateChange()},i.onContentLoaded=function(e,t){if("page"===i.name&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&e){var n=e.title,r=e.pageTitle,o=e.description,a=e.pageDescription;if((n||r)&&(document.title=n||r),o||a){var s=document.querySelector('meta[name="description"]');s||((s=document.createElement("meta")).setAttribute("name","description"),document.head.appendChild(s)),s.setAttribute("content",o||a)}}if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&i.notifyStateChange(),i.props.contentLoaded&&i.props.contentLoaded(e,t),e&&e.inputs&&Array.isArray(e.inputs)&&e.inputs.length&&(e.state||(e.state={}),e.inputs.forEach(function(t){t&&t.name&&void 0!==t.defaultValue&&void 0===e.state[t.name]&&(e.state[t.name]=t.defaultValue)})),e&&e.state){var l=__assign(__assign({},i.state),{updates:(i.state&&i.state.updates||0)+1,state:Object.assign(i.rootState,__assign(__assign(__assign(__assign({},i.state.state),{location:i.locationState,deviceSize:i.deviceSizeState,device:i.device}),e.state),i.externalState))});i.mounted?i.setState(l):i.state=l}if(e&&e.jsCode&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&!i.options.codegen){var u=!1;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(i.lastJsCode===e.jsCode?u=!0:i.lastJsCode=e.jsCode),!u){var c=i.state.state;try{Function("data","ref","state","update","element","Builder","builder","context",e.jsCode)(e,i,c,i.state.update,i.ref,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,i.state.context)}catch(t){var d=toError(t);_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",d.message,"in",e.jsCode,d.stack):isDebug()&&console.debug("Builder custom code error:",d.message,"in",e.jsCode,d.stack)}}}if(e&&e.httpRequests&&!i.props.noAsync&&(u=!1,1)){var f=function(t){var n=e.httpRequests[t];if(n&&(!i.data[t]||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing)){if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var r=i.evalExpression(n);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&i.lastHttpRequests[t]===r)return"continue";i.lastHttpRequests[t]=r;var o=n.match(/builder\.io\/api\/v2\/([^\/\?]+)/i);o&&o[1],i.handleRequest(t,r);var a=i.httpSubscriptionPerKey[t];a&&a.unsubscribe();var s=i.httpSubscriptionPerKey[t]=i.onStateChange.subscribe(function(){var e=i.evalExpression(n);e!==r&&(i.handleRequest(t,e),i.lastHttpRequests[t]=e)});i.subscriptions.add(s)}else i.handleRequest(t,i.evalExpression(n))}};for(var p in e.httpRequests)f(p)}};var o=i.inlinedContent;o&&o.content&&(o=o.content),i.sizes=getSizesForBreakpoints((null===(n=null==o?void 0:o.meta)||void 0===n?void 0:n.breakpoints)||{});var a=null===(r=i.inlinedContent)||void 0===r?void 0:r.data;if(a&&Array.isArray(a.inputs)&&a.inputs.length>0&&(a.state||(a.state={}),a.inputs.forEach(function(e){e&&e.name&&void 0!==e.defaultValue&&void 0===a.state[e.name]&&(a.state[e.name]=e.defaultValue)})),i.state={context:__assign(__assign({},t.context),{apiKey:i.props.apiKey||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey}),state:Object.assign(i.rootState,__assign(__assign(__assign(__assign({},i.inlinedContent&&i.inlinedContent.data&&i.inlinedContent.data.state),{isBrowser:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser,isServer:!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser,_hydrate:t.hydrate,location:i.locationState,deviceSize:i.deviceSizeState,device:i.device}),i.getHtmlData()),t.data)),updates:0,key:0,update:i.updateState},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var s=i.props.apiKey;if(s&&s!==i.builder.apiKey&&!instancesMap.has(s)){var l=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib(s,void 0,void 0,!0);instancesMap.set(s,l)}if(i.inlinedContent){var u=i.inlinedContent.content||i.inlinedContent;i.onContentLoaded(null==u?void 0:u.data,getContentWithInfo(u))}}return i.registerCustomComponents(),i}return __extends(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return __assign(__assign({},t.defaults),this.props)}
vendor: 9,923 bytes, line 1
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.model||this.props.modelName||this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.ref},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inlinedContent",{get:function(){if(!this.isPreviewing||this.props.inlineContent)return this.props.content},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"builder",{get:function(){return this.props.apiKey&&instancesMap.get(this.props.apiKey)||this.props.builder||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},enumerable:!1,configurable:!0}),t.prototype.getHtmlData=function(){var e=this.inlinedContent&&this.inlinedContent.id||this.props.entry,t=e&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&document.querySelector('script[data-builder-json="'.concat(e,'"],script[data-builder-state="').concat(e,'"]'));if(t)try{return JSON.parse(t.innerText)}catch(e){console.warn("Could not parse Builder.io HTML data transfer",e,t.innerText)}return{}},Object.defineProperty(t.prototype,"device",{get:function(){return this.builder.getUserAttributes().device||"desktop"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locationState",{get:function(){return __assign(__assign({},pick(this.location,"pathname","hostname","search","host")),{path:this.location.pathname&&this.location.pathname.split("/").slice(1)||"",query:searchToObject$1(this.location)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceSizeState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?this.sizes.getSizeForWidth(window.innerWidth):sizeMap[this.device]||"large"},enumerable:!1,configurable:!0}),t.renderInto=function(e,n,r,i){if(void 0===n&&(n={}),void 0===r&&(r=!0),void 0===i&&(i=!1),console.debug("BuilderPage.renderInto",e,n,r,this),e){var o=null;if("string"==typeof e?o=document.querySelector(e):e instanceof Element&&(o=e),o){var a=o.classList.contains("builder-hydrated");if(!a||i){o.classList.add("builder-hydrated");var s=r&&o.innerHTML.includes("builder-block");if(!o.classList.contains("builder-component")){var l=o.querySelector(".builder-api-styles")||(o.previousElementSibling&&o.previousElementSibling.matches(".builder-api-styles")?o.previousElementSibling:null),u="";l&&(l.innerHTML.replace(/\/\*start:([^\*]+?)\*\/([\s\S]*?)\/\*end:([^\*]+?)\*\//g,function(e,t,n){var r=null;try{r=document.querySelector('[data-emotion-css="'.concat(t,'"]'))}catch(e){console.warn(e)}return r?r.innerHTML=n:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||(u+=e),e}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){l.innerHTML=u}));var c=o.querySelector(".builder-component");c?o=c:s=!1}location.search.includes("builder.debug=true")&&console.debug("hydrate",s,o);var d=o;if(!a){var f=document.createElement("div");o.insertAdjacentElement("beforebegin",f),f.appendChild(o),d=f}if((_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&location.search.includes("builder.preview="))&&(s=!1),s&&o){var p=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(t,__assign({},n)),d,d.builderRootRef);return d.builderRootRef=p,p}var h=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(t,__assign({},n)),d,d.builderRootRef);return d.builderRootRef=h,h}console.debug("Tried to hydrate multiple times")}}},t.prototype.registerCustomComponents=function(){if(this.props.customComponents)for(var e=0,t=this.props.customComponents;e<t.length;e++){var n=t[e];if(n){var r=n.component,i=__rest(n,["component"]);_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(r,i)}}},t.prototype.componentDidMount=function(){var e,t=this;this.mounted=!0,this.asServer&&(this.asServer=!1,this.updateState(function(e){e.isBrowser=!0,e.isServer=!1})),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.sdkInjected",data:{modelName:this.name}},"*")),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(window.addEventListener("resize",this.resizeListener),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&window.addEventListener("message",this.messageListener),(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing)&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){t.firstLoad=!1,t.reload()}),setTimeout(function(){window.dispatchEvent(new CustomEvent("builder:component:load",{detail:{ref:t}}))}))},Object.defineProperty(t.prototype,"isPreviewing",{get:function(){return(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing&&!this.firstLoad)&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.previewingModel===this.name},enumerable:!1,configurable:!0}),t.prototype.notifyStateChange=function(){if(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer&&this&&this.state){var e=this.state.state;this.props.onStateChange&&this.props.onStateChange(e),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:e,ref:this}})),this.onStateChange.next(e)}},t.prototype.processStateFromApi=function(e){return e},Object.defineProperty(t.prototype,"location",{get:function(){return this.props.location||(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?location:{})},enumerable:!1,configurable:!0}),t.prototype.getCssFromFont=function(e,t){var n=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),r=n.split(",")[0],i=e.fileUrl?e.fileUrl:e.files&&e.files.regular,o="";if(i&&n&&r&&(o+='\n@font-face {\n  font-family: "'.concat(n,'";\n  src: local("').concat(r,"\"), url('").concat(i,"') format('woff2');\n  font-display: fallback;\n  font-weight: 400;\n}\n        ").trim()),e.files){for(var a in e.files)if(String(Number(a))===a){var s=e.files[a];s&&s!==i&&(o+='\n@font-face {\n  font-family: "'.concat(n,"\";\n  src: url('").concat(s,"') format('woff2');\n  font-display: fallback;\n  font-weight: ").concat(a,";\n}\n          ").trim())}}return o},t.prototype.componentWillUnmount=function(){this.unsubscribe(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("message",this.messageListener))},t.prototype.getFontCss=function(e){var t=this;return this.builder.allowCustomFonts&&(null==e?void 0:e.customFonts)&&e.customFonts.length&&e.customFonts.map(function(n){return t.getCssFromFont(n,e)}).join(" ")||""},t.prototype.ensureFontsLoaded=function(e){if(this.builder.allowCustomFonts&&(null==e?void 0:e.customFonts)&&Array.isArray(e.customFonts))for(var t=0,n=e.customFonts;t<n.length;t++){var r=n[t],i=r.fileUrl?r.fileUrl:r.files&&r.files.regular;if(!fontsLoaded.has(i)){var o=this.getCssFromFont(r,e);if(fontsLoaded.add(i),!o)continue;var a=document.createElement("style");a.className="builder-custom-font",a.setAttribute("data-builder-custom-font",i),a.innerHTML=o,document.head.appendChild(a)}}},t.prototype.getCss=function(e){var t,n=null===(t=this.useContent)||void 0===t?void 0:t.id,r=(null==e?void 0:e.cssCode)||"";return n&&(r=r.replace(/&/g,".builder-component-".concat(n))),r+this.getFontCss(e)},Object.defineProperty(t.prototype,"data",{get:function(){var e,t=__assign(__assign(__assign({},this.inlinedContent&&(null===(e=this.inlinedContent.data)||void 0===e?void 0:e.state)),this.externalState),this.state.state);return Object.assign(this.rootState,t),t},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=this;this.props.data&&e.data!==this.props.data&&this.state.update(function(e){Object.assign(e,t.externalState)}),this.props.customComponents&&this.props.customComponents!==e.customComponents&&this.registerCustomComponents(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.inlinedContent&&e.content!==this.inlinedContent&&this.onContentLoaded(this.inlinedContent.data,this.inlinedContent)},t.prototype.checkStyles=function(e){if(this.styleRef){var t=this.getCss(e);this.styleRef.innerHTML!==t&&(this.styleRef.innerHTML=t)}},t.prototype.reload=function(){this.setState({key:this.state.key+1})},Object.defineProperty(t.prototype,"content",{get:function(){var e=this.inlinedContent;return e&&e.content&&(e=__assign(__assign({},e),{data:e.content})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"externalState",{get:function(){return __assign(__assign({},this.props.data),this.props.locale?{locale:this.props.locale}:{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useContent",{get:function(){return this.content||this.state.context.builderContent},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this,n=this.content,r=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&this.externalState&&size$1(this.externalState)&&hash_sum__WEBPACK_IMPORTED_MODULE_4___default()(this.externalState),i=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?this.name:this.props.entry;i&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&r&&r.length<300&&(i+=":"+r);var o=this.props.dataOnly?react__WEBPACK_IMPORTED_MODULE_2__.Fragment:"div",a=null===(e=this.useContent)||void 0===e?void 0:e.id;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(o,{onClick:function(e){!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||t.props.isChild||t.props.stopClickPropagationWhenEditing||e.stopPropagation()},className:"builder-component ".concat(a?"builder-component-".concat(a):""),"data-name":this.name,"data-source":"Ren
1dered by Builder.io",key:this.state.key,ref:function(e){return t.ref=e}},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderMetaContext.Consumer,null,function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderMetaContext.Provider,{value:"boolean"==typeof t.props.ampMode?__assign(__assign({},e),{ampMode:t.props.ampMode}):e},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderAsyncRequestsContext.Consumer,null,function(e){var r;return t._asyncRequests=e&&e.requests,t._errors=e&&e.errors,t._logs=e&&e.logs,react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderContent,{isStatic:t.props.isStatic||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isStatic,key:(null===(r=t.inlinedContent)||void 0===r?void 0:r.id)||("content"in t.props&&!t.isPreviewing?"null-content-prop":"no-content-prop"),builder:t.builder,ref:function(e){return t.contentRef=e},contentLoaded:function(e,n){return t.onContentLoaded(e,n)},options:__assign(__assign(__assign(__assign(__assign(__assign({key:i,entry:t.props.entry},n&&{initialContent:[n]}),!n&&"content"in t.props&&!t.isPreviewing&&{initialContent:[]}),t.props.url&&{url:t.props.url}),t.props.options),t.props.locale?{locale:t.props.locale}:{}),t.options.codegen&&{format:"react"}),inline:t.props.inlineContent||!t.isPreviewing&&"content"in t.props,contentError:t.props.contentError,modelName:t.name||"page"},function(e,n,r){if(t.props.dataOnly)return null;r&&r.id&&(t.state.breakpoints&&(r.meta=r.meta||{},r.meta.breakpoints=t.state.breakpoints),t.state.context.builderContent=r),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){t.checkStyles(e)});var i,o=t.options.codegen;if(o&&!t.Component&&(null==e?void 0:e.blocksJs)){var a=Array.from(new Set(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.map(function(e){return e.name}))),s=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.slice().reverse(),l=a.map(function(e){return s.find(function(t){return t.class&&t.name===e})}),u=a.map(function(e){return(e||"").replace(/[^\w]+/gi,"")}),c=l.map(function(e){return wrapComponent(e)});t.Component=(new(Function.bind.apply(Function,__spreadArray(__spreadArray([void 0,"jsx","_css","Builder","builder","React","useBuilderState"],u,!1),[e.blocksJs],!1)))).apply(void 0,__spreadArray([_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.iv,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,react__WEBPACK_IMPORTED_MODULE_2__,function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.useState(0)[1];return react__WEBPACK_IMPORTED_MODULE_2__.useState(function(){return onChange(e,function(){t(function(e){return e+1})})})[0]}],c,!1))}var d=(null==e?void 0:e.blocks)||[],f=d.find(function(e){var t;return null===(t=e.id)||void 0===t?void 0:t.startsWith("builder-pixel")});return e&&!f&&d.length>0&&d.push(getBuilderPixel(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey)),e?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({"data-builder-component":t.name,"data-builder-content-id":r.id},t.isPreviewing?{"data-builder-variation-id":r.testVariationId||r.variationId||r.id}:{}),!o&&t.getCss(e)&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("style",{ref:function(e){return t.styleRef=e},className:"builder-custom-styles",dangerouslySetInnerHTML:{__html:t.getCss(e)}}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},t.state),{rootState:t.rootState,state:t.data,content:r,renderLink:t.props.renderLink})},o&&t.Component?react__WEBPACK_IMPORTED_MODULE_2__.createElement(t.Component,{data:t.data,context:t.state.context}):react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{key:String(!!(null===(i=null==e?void 0:e.blocks)||void 0===i?void 0:i.length)),emailMode:t.props.emailMode,fieldName:"blocks",blocks:d}))):n?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,className:"builder-loading"},t.props.children):react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,className:"builder-no-content"})})}))}))},t.prototype.evalExpression=function(e){var t=this,n=this.data;return String(e).replace(/{{([^}]+)}}/g,function(e,r){return tryEval(r,n,t._errors)})},t.prototype.handleRequest=function(e,t){return __awaiter(this,void 0,void 0,function(){var n,r,i,o,a=this;return __generator(this,function(s){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&fetchCache[t]?(this.updateState(function(n){n[e]=fetchCache[t]}
1),[2,fetchCache[t]]):(n=function(){return __awaiter(a,void 0,void 0,function(){var n,r,i;return __generator(this,function(o){switch(o.label){case 0:n=Date.now(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||console.time("Fetch "+t),o.label=1;case 1:return o.trys.push([1,4,5,6]),[4,fetch$1(t)];case 2:return[4,o.sent().json()];case 3:return r=o.sent(),[3,6];case 4:return i=toError(o.sent()),this._errors&&this._errors.push(i),this._logs&&this._logs.push("Fetch to ".concat(t," errored in ").concat(Date.now()-n,"ms")),[2];case 5:return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||(console.timeEnd("Fetch "+t),this._logs&&this._logs.push("Fetched ".concat(t," in ").concat(Date.now()-n,"ms"))),[7];case 6:return r&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&(fetchCache[t]=r),this.updateState(function(t){t[e]=r})),[2,r]}})})},(r=this._asyncRequests&&this._asyncRequests.find(function(e){return isRequestInfo(e)&&e.url===t}))?((i=r.promise).then(function(t){t&&a.updateState(function(n){n[e]=t})}),[2,i]):(o=n(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){a._asyncRequests&&a._asyncRequests.push(o)}),[2,o]))})})},t.prototype.unsubscribe=function(){this.subscriptions&&(this.subscriptions.unsubscribe(),this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0)},t.prototype.handleBuilderRequest=function(e,t){var n=this,r=tryEval(t,this.data,this._errors);this.subscriptions&&this.unsubscribe(),r&&this.subscriptions.add(this.builder.queueGetContent(r.model,r).subscribe(function(t){t&&n.updateState(function(n){n[e]=t})}))},t.defaults={codegen:!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&location.href.includes("builder.codegen=true"))},__decorate([debounceNextTick,__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],t.prototype,"notifyStateChange",null),t}(react__WEBPACK_IMPORTED_MODULE_2__.Component);function BuilderBlock(e){return e.type="react",_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.Component(e)}function updateMetadata(e,t){var n=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.find(function(t){return"string"==typeof e?t.name===e:t.class===t})||null,r=t(n);n&&r?_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(r.class||n.class,r):n&&!r||!n&&r&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(r.class,r)}function withBuilder(e,t){return BuilderBlock(t)(e),e}var withChildren=function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(t,n){var r=t.children||t.builderBlock&&t.builderBlock.children&&t.builderBlock.children.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})});return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({},t,{ref:n}),r)});return t.builderOptions={canHaveChildren:!0},t},noWrap=function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(t,n){var r=__assign(__assign({},t),t.attributes);return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({},r,{ref:n}))});return t.builderOptions={noWrap:!0},t},iconUrl="https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",TextComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.textRef=null,t}return __extends(t,e),t.prototype.componentDidMount=function(){this.textRef&&!/{{([^}]+)}}/.test(this.props.text)&&(this.textRef.innerHTML=this.props.text)},t.prototype.evalExpression=function(e,t){return this.allowTextEdit?String(e):String(e).replace(/{{([^}]+)}}/g,function(e,n){return tryEval(n,t)})},Object.defineProperty(t.prototype,"allowTextEdit",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&location.search.includes("builder.allowTextEdit=true")&&!(this.props.builderBlock&&this.props.builderBlock.bindings&&(this.props.builderBlock.bindings["component.options.text"]||this.props.builderBlock.bindings["options.text"]||this.props.builderBlock.bindings.text))}
1,enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t={outline:"none","& p:first-of-type, & .builder-paragraph:first-of-type":{margin:0},"& > p, & .builder-paragraph":{color:"inherit",lineHeight:"inherit",letterSpacing:"inherit",fontWeight:"inherit",fontSize:"inherit",textAlign:"inherit",fontFamily:"inherit"}};return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(n){var r;return(null===(r=n.content.meta)||void 0===r?void 0:r.rtlMode)&&(t.direction="rtl"),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",__assign({ref:function(t){e.textRef=t},css:t,className:"builder-text"},{dangerouslySetInnerHTML:{__html:e.evalExpression(e.props.text||e.props.content||"",n.state)}})))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Text=withBuilder(TextComponent,{name:"Text",static:!0,image:iconUrl,inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}});function Slot(e){var t=e.name,n=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(BuilderStoreContext),r=!n.context.symbolId;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",__assign({css:{pointerEvents:"auto"}},r&&{"builder-slot":t}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{child:!0,parentElementId:n.context.symbolId,dataPath:"symbol.data.".concat(t),blocks:n.state[t]||[]}))}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(Slot,{name:"Slot",description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}]});var FragmentComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:e,key:e.id,index:t})})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Fragment=withBuilder(FragmentComponent,{name:"Core:Fragment",canHaveChildren:!0,noWrap:!0,static:!0,hideFromInsertMenu:!0}),DEFAULT_ASPECT_RATIO$2=.7004048582995948,defaultBlocks=[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:DEFAULT_ASPECT_RATIO$2}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}],ColumnsComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),Object.defineProperty(t.prototype,"columns",{get:function(){return this.props.columns||[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gutterSize",{get:function(){return"number"==typeof this.props.space?this.props.space||0:20},enumerable:!1,configurable:!0}),t.prototype.getWidth=function(e){return this.columns[e]&&this.columns[e].width||100/this.columns.length},t.prototype.getColumnWidth=function(e){var t=this.columns,n=this.gutterSize*(t.length-1)/t.length;return"calc(".concat(this.getWidth(e),"% - ").concat(n,"px)")},t.prototype.render=function(){var e,t,n,r,i=this,o=this.columns,a=this.gutterSize,s=getSizesForBreakpoints((null===(r=null===(n=null===(t=this.props.builderState)||void 0===t?void 0:t.context.builderContent)||void 0===n?void 0:n.meta)||void 0===r?void 0:r.breakpoints)||{});return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-columns",css:__assign({display:"flex"},"never"!==this.props.stackColumnsAt&&((e={})["@media (max-width: ".concat("tablet"!==this.props.stackColumnsAt?s.small.max:s.medium.max,"px)")]={flexDirection:this.props.reverseColumnsWhe
1nStacked?"column-reverse":"column",alignItems:"stretch"},e))},o.map(function(e,t){var n,r,o=e.link?Link:"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:t},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(o,__assign({className:"builder-column"},e.link?{href:e.link}:null,{css:__assign(((n={display:"flex",flexDirection:"column",alignItems:"stretch",lineHeight:"normal"})["& > .builder-blocks"]={flexGrow:1},n.width=i.getColumnWidth(t),n.marginLeft=0===t?0:a,n),"never"!==i.props.stackColumnsAt&&((r={})["@media (max-width: ".concat("tablet"!==i.props.stackColumnsAt?s.small.max:s.medium.max,"px)")]={width:"100%",marginLeft:0},r))}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{key:t,child:!0,parentElementId:i.props.builderBlock&&i.props.builderBlock.id,blocks:e.blocks,dataPath:"component.options.columns.".concat(t,".blocks")})))})))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Columns=withBuilder(ColumnsComponent,{name:"Columns",static:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:defaultBlocks},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:defaultBlocks},{blocks:defaultBlocks}],onChange:function(e){function t(){n.forEach(function(e){e.delete("width")})}var n=e.get("columns");Array.isArray(n)&&(!n.find(function(e){return e.get("width")})||(n.find(function(e){return!e.get("width")})||100!==n.reduce(function(e,t){return e+t.get("width")},0))&&t())}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]}),EmbedComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=null,t.scriptsInserted=new Set,t.scriptsRun=new Set,t}return __extends(t,e),t.prototype.componentDidUpdate=function(e){this.props.content!==e.content&&this.findAndRunScripts()},t.prototype.componentDidMount=function(){this.findAndRunScripts()},t.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var e=this.elementRef.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t];if(n.src){if(this.scriptsInserted.has(n.src))continue;this.scriptsInserted.add(n.src);var r=document.createElement("script");r.async=!0,r.src=n.src,document.head.appendChild(r)}else{if(this.scriptsRun.has(n.innerText))continue;this.scriptsRun.add(n.innerText);try{Function(n.innerText)()}catch(e){console.warn("Builder custom code component error:",e)}}}},Object.defineProperty(t.prototype,"content",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer?(this.props.content||"").replace(/<script[\s\S]*?<\/script>/g,""):this.props.content},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{ref:function(t){return e.elementRef=t},className:"builder-embed",dangerouslySetInnerHTML:{__html:this.content}})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Embed=withBuilder(EmbedComponent,{name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:function(e){var t=e.get("url");if(t)return e.set("content","Loading..."),fetch("https://iframe.ly/api/iframely?url=".concat(t,"&api_key=").concat("ae0e60e78201a3f2b0de4b")).then(function(e){return e.json()}).then(function(n){e.get("url")===t&&(n.html?e.set("content",n.html):e.set("content","Invalid url, please try another"))}).catch(function(t){e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]}),globalReplaceNodes={},isShopify$1=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&"Shopify"in window;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&globalReplaceNodes){var customCodeQuerySelector_1=".builder-custom-code";try{var allCustomCodeElements_1=Array.from(document.querySelectorAll(customCodeQuerySelector_1)),builderTemplates=document.querySelectorAll("template[data-template-variant-id]");
vendor: 14,092 bytes, line 1
1builderTemplates.length&&Array.from(builderTemplates).forEach(function(e){var t=e.content.querySelectorAll(customCodeQuerySelector_1);t.length&&(allCustomCodeElements_1=allCustomCodeElements_1.concat(Array.from(t)))}),allCustomCodeElements_1.forEach(function(e){var t=e.parentElement,n=t&&t.getAttribute("builder-id");n&&(globalReplaceNodes[n]=globalReplaceNodes[n]||[],globalReplaceNodes[n].push(isShopify$1?e:e.cloneNode(!0)))})}catch(e){console.error("Builder replace nodes error:",e)}}var CustomCodeComponent=function(e){function t(t){var n,r=this;if((r=e.call(this,t)||this).elementRef=null,r.originalRef=null,r.scriptsInserted=new Set,r.scriptsRun=new Set,r.firstLoad=!0,r.replaceNodes=!1,r.state={hydrated:!1},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var i=null===(n=r.props.builderBlock)||void 0===n?void 0:n.id;if(r.replaceNodes=!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(t.replaceNodes||isShopify$1)&&i&&(null==globalReplaceNodes?void 0:globalReplaceNodes[i])),r.firstLoad&&r.props.builderBlock){if(i&&(null==globalReplaceNodes?void 0:globalReplaceNodes[i])){var o=globalReplaceNodes[i].shift()||null;r.originalRef=o,0===globalReplaceNodes[i].length&&delete globalReplaceNodes[i]}else if(r.replaceNodes){var a=document.querySelectorAll(".".concat(r.props.builderBlock.id," .builder-custom-code"));if(1===a.length){var s=a[0];r.originalRef=s,r.originalRef.remove()}}}}return r}return __extends(t,e),Object.defineProperty(t.prototype,"noReactRender",{get:function(){var e;return!!(isShopify$1&&(null===(e=this.props.code)||void 0===e?void 0:e.match(/{[{%]/g)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHydrating",{get:function(){return!isShopify$1&&this.originalRef},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){this.props.code!==e.code&&this.findAndRunScripts()},t.prototype.componentDidMount=function(){var e=this;this.firstLoad=!1,this.replaceNodes||(this.isHydrating?(this.setState({hydrated:!0}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){return e.findAndRunScripts()})):this.findAndRunScripts()),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&this.replaceNodes&&this.originalRef&&this.elementRef&&this.elementRef.appendChild(this.originalRef)},t.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var e=this.elementRef.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t];if(n.src){if(this.scriptsInserted.has(n.src))continue;this.scriptsInserted.add(n.src);var r=document.createElement("script");r.async=!0,r.src=n.src,document.head.appendChild(r)}else if(!n.type||["text/javascript","application/javascript","application/ecmascript"].includes(n.type)){if(this.scriptsRun.has(n.innerText))continue;try{this.scriptsRun.add(n.innerText),Function(n.innerText)()}catch(e){console.warn("Builder custom code component error:",e)}}}},Object.defineProperty(t.prototype,"code",{get:function(){return(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer||this.isHydrating&&this.firstLoad)&&this.props.scriptsClientOnly?(this.props.code||"").replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,""):this.props.code},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({ref:function(t){return e.elementRef=t},className:"builder-custom-code"},!this.replaceNodes&&!this.noReactRender&&{dangerouslySetInnerHTML:{__html:this.code}}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),CustomCode=withBuilder(CustomCodeComponent,{name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},__assign({name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},isShopify$1&&{defaultValue:!0}),__assign({name:"scriptsClientOnly",type:"boolean",helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0},!isShopify$1&&{defaultValue:!0})]});function removeProtocol(e){return e.replace(/http(s)?:/,"")}function isElementInViewport(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function getShopifyImageUrl(e,t){if(!e||!(null==e?void 0:e.match(/cdn\.shopify\.com/))||!t)return e;if("master"===t)return removeProtocol(e);var n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){var r=e.split(n[0]),i=n[3],o=t.match("x")?t:"".concat(t,"x");return removeProtocol("".concat(r[0],"_").concat(o).concat(i))}return null}var DEFAULT_ASPECT_RATIO$1=.7041;function updateQueryParam(e,t,n){void 0===e&&(e="");var r=RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+i+t+"="+encodeURIComponent(n)}function getSrcSet(e){if(!e)return e;var t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){var n=e,r=Number(e.split("?width=")[1]);return isNaN(r)||(n="".concat(n," ").concat(r,"w")),t.filter(function(e){return e!==r}).map(function(t){return"".concat(updateQueryParam(e,"width",t)," ").concat(t,"w")}).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(function(t){return[getShopifyImageUrl(e,"".concat(t,"x").concat(t)),t]}).filter(function(e){return!!e[0]}).map(function(e){var t=e[0],n=e[1];return"".concat(t," ").concat(n,"w")}).concat([e]).join(", "):e}var getSizes=function(e,t,n){void 0===n&&(n={});var r,i,o,a,s,l,u,c,d="";if(e){var f=e.split(","),p=f.length;d=f.map(function(e,t){return p===t+1?e.replace(/\([\s\S]*?\)/g,"").trim():e}).join(", ")}else if(t&&t.responsiveStyles){var h=[],m=!1,v=/^\d+/,g=getSizesForBreakpoints(n);if(null===(o=null===(i=null===(r=t.responsiveStyles)||void 0===r?void 0:r.small)||void 0===i?void 0:i.width)||void 0===o?void 0:o.match(v)){m=!0;var y="(max-width: ".concat(g.small.max,"px)"),b="".concat(y," ").concat(t.responsiveStyles.small.width.replace("%","vw"));h.push(b)}if((null===(l=null===(s=null===(a=t.responsiveStyles)||void 0===a?void 0:a.medium)||void 0===s?void 0:s.width)||void 0===l?void 0:l.match(v))&&(m=!0,y="(max-width: ".concat(g.medium.max,"px)"),b="".concat(y," ").concat(t.responsiveStyles.medium.width.replace("%","vw")),h.push(b)),null===(c=null===(u=t.responsiveStyles)||void 0===u?void 0:u.large)||void 0===c?void 0:c.width){var w=t.responsiveStyles.large.width.replace("%","vw");h.push(w)}else m&&h.push("100vw");h.length&&(d=h.join(", "))}return d},ImageComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={imageLoaded:!t.useLazyLoading,load:!t.useLazyLoading},t.pictureRef=null,t.scrollListener=null,t.intersectionObserver=null,t}return __extends(t,e),Object.defineProperty(t.prototype,"useLazyLoading",{get:function(){return(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||!location.search.includes("builder.lazyLoadImages=false"))&&(!(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||!location.href.includes("builder.lazyLoadImages=true"))||this.props.lazy)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null),this.intersectionObserver&&this.pictureRef&&this.intersectionObserver.unobserve(this.pictureRef))},t.prototype.componentDidMount=function(){var e=this;if(this.props.lazy&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){if(this.pictureRef&&isElementInViewport(this.pictureRef))this.setState({load:!0});else if("function"==typeof IntersectionObserver&&this.pictureRef)(this.intersectionObserver=new IntersectionObserver(function(t,n){t.forEach(function(t){t.intersectionRatio>0&&(e.setState({load:!0}),e.pictureRef&&n.unobserve(e.pictureRef))})})).observe(this.pictureRef);else{var t=throttle(function(n){if(e.pictureRef){var r=e.pictureRef.getBoundingClientRect(),i=window.innerHeight/2;r.top<window.innerHeight+i&&(e.setState(__assign(__assign({},e.state),{load:!0})),window.removeEventListener("scroll",t),e.scrollListener=null)}},400,{leading:!1,trailing:!0});this.scrollListener=t,window.addEventListener("scroll",t,{capture:!0,passive:!0}),t()}}},Object.defineProperty(t.prototype,"image",{get:function(){return this.props.image||this.props.src},enumerable:!1,configurable:!0}),t.prototype.getSrcSet=function(){var e=this.image;if(e&&(e.match(/builder\.io/)||e.match(/cdn\.shopify\.com/)))return getSrcSet(e)},t.prototype.render=function(){var e,t,n=this,r=this.props,i=r.aspectRatio,o=r.lazy,a=r.builderBlock,s=r.builderState,l=this.props.builderBlock&&this.props.builderBlock.children,u=this.props.srcset,c=getSizes(this.props.sizes,a,(null===(t=null===(e=null==s?void 0:s.context.builderContent)||void 0===e?void 0:e.meta)||void 0===t?void 0:t.breakpoints)||{}),d=this.image;u&&d&&d.includes("builder.io/api/v1/image")?u.includes(d.split("?")[0])||(console.debug("Removed given srcset"),u=this.getSrcSet()):d&&!u&&(u=this.getSrcSet());var f=null==a?void 0:a.id.startsWith("builder-pixel-"),p=this.props.fitContent;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderMetaContext.Consumer,null,function(e){var t,r=e.ampMode,a=r?"amp-img":"img",s=(!o||n.state.load||r)&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(a,__assign({},r?{layout:"responsive",height:n.props.height||(i?Math.round(1e3*i):void 0),width:n.props.width||(i?Math.round(1e3/i):void 0)}:null,{alt:n.props.altText,key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&"string"==typeof n.image&&n.image.split("?")[0]||void 0,role:n.props.altText?void 0:"presentation",css:__assign(__assign({opacity:r?1:n.useLazyLoading&&!n.state.imageLoaded?0:1,transition:"opacity 0.2s ease-in-out",objectFit:n.props.backgroundSize||"cover",objectPosition:n.props.backgroundPosition||"center"},i&&!r&&{position:"absolute",height:"100%",width:"100%",left:0,top:0}),r&&((t={})["& img"]={objectFit:n.props.backgroundSize,objectPosition:n.props.backgroundPosition},t)),loading:f?"eager":"lazy",className:"builder-image"+(n.props.className?" "+n.props.className:""),src:n.image},!r&&{onLoad:function(){return n.setState({imageLoaded:!0})}},{srcSet:u,sizes:!r&&c?c:void 0}));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,r?s:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("picture",{ref:function(e){return n.pictureRef=e}},u&&u.match(/builder\.io/)&&!n.props.noWebp&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("source",{srcSet:u.replace(/\?/g,"?format=webp&"),type:"image/webp"}),s),!i||r||p&&l&&l.length?null:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-image-sizer",css:{width:"100%",paddingTop:100*i+"%",pointerEvents:"none",fontSize:0}}," "),l&&l.length?p?l.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})}):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:0,left:0,width:"100%",height:"100%"}},l.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})})):null)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Image=withBuilder(ImageComponent,{name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:function(e){e.delete("srcset"),e.delete("noWebp");var t,n,r=e.get("image"),i=e.get("aspectRatio");if(fetch(r).then(function(e){return e.blob()}).then(function(t){t.type.includes("svg")&&e.set("noWebp",!0)}),r&&(!i||.7041===i))return(t=r,void 0===n&&(n=6e4),new Promise(function(e,r){var i=document.createElement("img"),o=!1;i.onload=function(){o=!0,e(i)},i.addEventListener("error",function(e){console.warn("Image load failed",e.error),r(e.error)}),i.src=t,setTimeout(function(){o||r(Error("Image load timed out"))},n)})).then(function(t){var n=e.get("aspectRatio");e.get("image")!==r||n&&.7041!==n||t.width&&t.height&&(e.set("aspectRatio",Math.round(t.height/t.width*1e3)/1e3),e.set("height",t.height),e.set("width",t.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill its box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:DEFAULT_ASPECT_RATIO$1}]}),DEFAULT_ASPECT_RATIO=.7004048582995948,VideoComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;
1return t.video=null,t.containerRef=null,t.scrollListener=null,t.state={load:!t.lazyLoad},t}return __extends(t,e),Object.defineProperty(t.prototype,"lazyLoad",{get:function(){return!1!==this.props.lazyLoad},enumerable:!1,configurable:!0}),t.prototype.updateVideo=function(){var e=this,t=this.video;t&&["muted","playsInline","autoPlay"].forEach(function(n){var r=n.toLowerCase();e.props[n]?t.setAttribute(r,r):t.removeAttribute(r)})},t.prototype.componentDidUpdate=function(){this.updateVideo()},t.prototype.componentDidMount=function(){var e=this;if(this.updateVideo(),this.lazyLoad&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var t=throttle(function(n){if(e.containerRef){var r=e.containerRef.getBoundingClientRect(),i=window.innerHeight/2;r.top<window.innerHeight+i&&(e.setState(function(e){return __assign(__assign({},e),{load:!0})}),window.removeEventListener("scroll",t),e.scrollListener=null)}},400,{leading:!1,trailing:!0});this.scrollListener=t,window.addEventListener("scroll",t,{capture:!0,passive:!0}),t()}},t.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null)},t.prototype.render=function(){var e=this,t=this.props,n=t.aspectRatio,r=t.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{ref:function(t){return e.containerRef=t},css:{position:"relative"}},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("video",{key:this.props.video||"no-src",poster:this.props.posterImage,ref:function(t){return e.video=t},autoPlay:this.props.autoPlay,muted:this.props.muted,controls:this.props.controls,loop:this.props.loop,preload:this.props.preload||"metadata",className:"builder-video",css:__assign({width:"100%",height:"100%",objectFit:this.props.fit,objectPosition:this.props.position,zIndex:2,borderRadius:1},n?{position:"absolute"}:null)},(!this.lazyLoad||this.state.load)&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("source",{type:"video/mp4",src:this.props.video})),!n||this.props.fitContent&&r?null:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{width:"100%",paddingTop:100*n+"%",pointerEvents:"none",fontSize:0}}),r&&this.props.fitContent?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{display:"flex",flexDirection:"column",alignItems:"stretch"}},r):r?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:0,left:0,width:"100%",height:"100%"}},r):null)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Video=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(withChildren(VideoComponent),{name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:DEFAULT_ASPECT_RATIO},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]}),size=function(e){return Object.keys(e).length},isShopify=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&"Shopify"in window,refs={};if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)try{Array.from(document.querySelectorAll("[builder-static-symbol]")).forEac
1h(function(e){var t=e.getAttribute("builder-static-symbol");t&&(refs[t]=e)})}catch(e){console.error("Builder replace nodes error:",e)}var SymbolComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.staticRef=null,t}return __extends(t,e),Object.defineProperty(t.prototype,"placeholder",{get:function(){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{padding:10}},"Symbols let you reuse dynamic elements across your content. Please choose a model and entry for this symbol.")},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e,t,n;this.useStatic&&this.staticRef&&refs[null===(e=this.props.builderBlock)||void 0===e?void 0:e.id]&&(null===(t=this.staticRef.parentNode)||void 0===t||t.replaceChild(refs[null===(n=this.props.builderBlock)||void 0===n?void 0:n.id],this.staticRef))},Object.defineProperty(t.prototype,"useStatic",{get:function(){var e;return!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&refs[null===(e=this.props.builderBlock)||void 0===e?void 0:e.id]&&!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this;if(this.useStatic)return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{ref:function(e){return t.staticRef=e}});var n=this.props.symbol,r=!1;n||(r=!0);var i=this.props.dataOnly?NoWrap:this.props.builderBlock&&this.props.builderBlock.tagName||"div",o=n||{},a=o.model,s=o.entry,l=o.data,u=o.content,c=o.inline,d=o.ownerId,f=(null==n?void 0:n.dynamic)||this.props.dynamic;a&&(s||f)||(null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.blocksJs)||c||(r=!0);var p=f?void 0:[a,s].join(":"),h=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?null:l&&size(l)&&hash_sum__WEBPACK_IMPORTED_MODULE_4___default()(l);p&&h&&h.length<300&&(p+=":"+h);var m=this.props.attributes||{};return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,{key:(a||"no model")+":"+(s||"no entry")},function(e){var o,c,f,h,v,g,y,b,w,x,E,_="".concat(p,"_").concat((null===(o=null==e?void 0:e.state)||void 0===o?void 0:o.locale)||"Default");return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(i,__assign({"data-model":a},m,{className:(m.class||m.className||"")+" builder-symbol"+((null==n?void 0:n.inline)?" builder-inline-symbol":"")+((null==n?void 0:n.dynamic)||t.props.dynamic?" builder-dynamic-symbol":"")}),r?t.placeholder:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderComponent,__assign({},d&&{apiKey:d},(null===(c=e.state)||void 0===c?void 0:c.locale)&&{locale:e.state.locale},{isChild:!0,ref:function(e){return t.ref=e},context:__assign(__assign({},e.context),{symbolId:null===(f=t.props.builderBlock)||void 0===f?void 0:f.id}),model:a,entry:s,data:__assign(__assign(__assign({},l),!!t.props.inheritState&&omit$2(e.state,"children")),null===(w=null===(b=null===(y=null===(g=null===(v=null===(h=t.props.builderBlock)||void 0===h?void 0:h.component)||void 0===v?void 0:v.options)||void 0===g?void 0:g.symbol)||void 0===y?void 0:y.content)||void 0===b?void 0:b.data)||void 0===w?void 0:w.state),renderLink:e.renderLink,inl
1ineContent:null==n?void 0:n.inline},u&&{content:u},{key:_,options:{key:_,noEditorUpdates:!0},codegen:!!(null===(x=null==u?void 0:u.data)||void 0===x?void 0:x.blocksJs),hydrate:null===(E=e.state)||void 0===E?void 0:E._hydrate,builderBlock:t.props.builderBlock,dataOnly:t.props.dataOnly}),t.props.children))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Symbol$1=withBuilder(SymbolComponent,{name:"Symbol",noWrap:!0,static:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:isShopify,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:isShopify,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]}),ButtonComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.link?Link:"span";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({role:"button",href:this.props.link,target:this.props.openLinkInNewTab?"_blank":void 0},this.props.attributes),this.props.text)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Button=withBuilder(ButtonComponent,{name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0}),SectionComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.unmountCallbacks=[],t.state={inView:!1},t}return __extends(t,e),Object.defineProperty(t.prototype,"renderContents",{get:function(){return!0!==this.props.lazyLoad||this.state.inView},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){this.unmountCallbacks.forEach(function(e){return e()})},t.prototype.componentDidMount=function(){var e=this;if(this.props.lazyLoad){if("undefined"!=typeof IntersectionObserver&&this.ref){var t=new IntersectionObserver(function(t,n){t.forEach(function(t){t.intersectionRatio>0&&(e.setState({inView:!0}),e.ref&&n.unobserve(e.ref))})},{rootMargin:"10px"});t.observe(this.ref),this.unmountCallbacks.push(function(){e.ref&&t.unobserve(e.ref)})}else this.setState({inView:!0})}},t.prototype.render=function(){var e=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("section",{ref:function(t){return e.ref=t},css:__assign({width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:this.props.maxWidth,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"},this.renderContents?null:this.props.lazyStyles)},this.renderContents?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,this.props.children,this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})})):null)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Section=withBuilder(SectionComponent,{name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]}),StateProviderComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},t),{state:__assign(__assign({},t.state),e.props.state),context:__assign(__assign({},t.context),e.props.context)})},e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:e,key:e.id,index:t,child:!0})}),e.props.children)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),StateProvider=withBuilder(StateProviderComponent,{name:"Builder:StateProvider",canHaveChildren:!0,static:!0,noWrap:!0,hideFromInsertMenu:!0}),prefetched=new Set;function searchToObject(e){var t=(e.search||"").substring(1).split("&"),n={};for(var r in t)if(t[r]&&"string"==typeof t[r]){var i=t[r].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}var RouterComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.builder=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,t.routed=!1,t.preloadQueue=0,t.onPopState=function(e){t.updateLocationState()},t.onMouseOverOrTouchStart=function(e){if(!(t.preloadQueue>4)&&!1!==t.props.preloadOnHover){var n=t.findHrefTarget(e);if(n){var r=n.getAttribute("href");if(r){if(!t.isRelative(r)){var i=t.convertToRelative(r);if(!i)return;r=i}if(!r.startsWith("#")&&!prefetched.has(r)){prefetched.add(r);var o=t.parseUrl(r);t.preloadQueue++;var a=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getUserAttributes();a.urlPath=o.pathname,a.queryString=o.search;var s=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.get(t.model,{userAttributes:a,key:t.model+":"+o.pathname+o.search}).subscribe(function(){t.preloadQueue--,s.unsubscribe()})}}}}},t.onClick=function(e){return __awaiter(t,void 0,void 0,function(){var t,n,r,i;
1return __generator(this,function(o){if(!1===this.props.handleRouting||0!==e.button||e.ctrlKey||e.defaultPrevented||e.metaKey||!(t=this.findHrefTarget(e))||t.target&&"_client"!==t.target||!(n=t.getAttribute("href"))||this.props.onRoute&&(r={url:n,anchorNode:t,preventDefault:function(){this.defaultPrevented=!0},defaultPrevented:!1},this.props.onRoute(r),r.defaultPrevented))return[2];if(!this.isRelative(n)){if(!(i=this.convertToRelative(n)))return[2];n=i}return n.startsWith("#")||(e.preventDefault(),this.route(n)),[2]})})},t.privateState=null,t}return __extends(t,e),t.prototype.route=function(e){var t;return this.routed=!0,"function"==typeof(null===(t=window.history)||void 0===t?void 0:t.pushState)?(history.pushState(null,"",e),this.updateLocationState(),!0):(location.href=e,!1)},t.prototype.updateLocationState=function(){this.privateState&&this.privateState.update(function(e){e.location=__assign(__assign({},e.location),{pathname:location.pathname,search:location.search,path:location.pathname.split("/").slice(1),query:searchToObject(location)})})},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model||"page"},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){"undefined"!=typeof document&&(document.addEventListener("click",this.onClick),window.addEventListener("popstate",this.onPopState),document.addEventListener("mouseover",this.onMouseOverOrTouchStart),document.addEventListener("touchstart",this.onMouseOverOrTouchStart))},t.prototype.componentWillUnmount=function(){"undefined"!=typeof document&&(document.removeEventListener("click",this.onClick),document.removeEventListener("mouseover",this.onMouseOverOrTouchStart),window.removeEventListener("popstate",this.onPopState),document.removeEventListener("touchstart",this.onMouseOverOrTouchStart))},t.prototype.render=function(){var e=this,t=this.model;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(n){e.privateState=n;var r=n.state&&n.state.location&&n.state.location.pathname+n.state.location.search;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-router","data-model":t},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("style",null,"\n                @keyframes builderLoadingSpinner {\n                  0% {\n                    transform: rotate(0deg);\n                  }\n                  100% {\n                    transform: rotate(360deg);\n                  }\n                }\n                /* TODO: overridable tag */\n                .builder-page-loading {\n                  -webkit-animation: builderLoadingSpinner 1s infinite linear;\n                  animation: builderLoadingSpinner 1s infinite linear;\n                  -webkit-transform: translateZ(0);\n                  transform: translateZ(0);\n                  border-radius: 50%;\n                  width: 36px;\n                  height: 36px;\n                  margin: 6px auto;\n                  position: relative;\n                  border: 1px solid transparent;\n                  border-left: 1px solid #808284;\n                }\n              "),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderComponent,{key:r,data:e.props.data,content:e.routed?void 0:e.props.content,modelName:t,options:{key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?void 0:e.model+":"+r}},e.props.children||(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{display:"flex"}},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{margin:"40vh auto"},className:"builder-page-loading"}))))})},t.prototype.findHrefTarget=function(e){for(var t=e.target;t;){if(t instanceof HTMLAnchorElement&&t.getAttribute("href"))return t;if(t===e.currentTarget)break;t=t.parentElement}return null},t.prototype.isRelative=function(e){return!e.match(/^(\/\/|https?:\/\/)/i)},t.prototype.parseUrl=function(e){var t=document.createElement("a");return t.href=e,t},t.prototype.convertToRelative=function(e){var t=this.parseUrl(location.href),n=this.parseUrl(e);if(t.host===n.host){var r=n.pathname+(n.search?n.search:"");return r.startsWith("#")?null:r||"/"}return null},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Router=withBuilder(RouterComponent,{name:"Core:Router",hideFromInsertMenu:!0,inputs:[{name:"model",type:"string",defaultValue:"page",advanced:!0},{name:"handleRouting",type:"boolean",defaultValue:!0,advanced:!0},{name:"preloadOnHover",type:"boolean",defaultValue:!0,advanced:!0},{name:"onRoute",type:"function",advanced:!0}]});function Mutation(e){var t,n,r=react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);useWaitForSelector(e.selector,function(t){"afterEnd"!==e.type&&(t.innerHTML=""),t.appendChild(r.current.firstElementChild)});var i=null===(t=e.builderBlock)||void 0===t?void 0:t.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",{style:{display:"none"},ref:r},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{style:{display:"inline"},child:!0,parentElementId:null===(n=e.builderBlock)||void 0===n?void 0:n.id,dataPath:"this.children",blocks:i}))}function useWaitForSelector(e,t){react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(function(){try{var n=document.querySelector(e);
vendor: 9,970 bytes, line 1
1if(n)return void t(n)}catch(e){console.warn(e)}var r=new MutationObserver(function(){try{var n=document.querySelector(e);n&&(r.disconnect(),t(n))}catch(e){console.warn(e)}});return r.observe(document.body,{attributes:!0,subtree:!0,characterData:!0}),function(){r.disconnect()}},[e])}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(Mutation,{name:"Builder:Mutation",canHaveChildren:!0,noWrap:!0,hideFromInsertMenu:!0,inputs:[{name:"type",type:"string",defaultValue:"replace",enum:[{label:"Replace",value:"replace",helperText:"Replace the contents of this site region with content from Builder"},{label:"Append",value:"afterEnd",helperText:"Append Builder content after the chosen site region"}]},{name:"selector",type:"builder:domSelector"}]});var get=function(e,t,n){var r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce(function(e,t){return null!=e?e[t]:e},e);return void 0===r||r===e?n:r},MULTIPART_CONTENT_TYPE="multipart/form-data",JSON_CONTENT_TYPE="application/json",ENCODED_CONTENT_TYPE="application/x-www-form-urlencoded",FormComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.state={state:"unsubmitted",responseData:null,formErrorMessage:""},t}return __extends(t,e),Object.defineProperty(t.prototype,"submissionState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.previewState||this.state.state},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{value:__assign(__assign({},t),{state:__assign(__assign({},t.state),{formErrorMessage:e.state.formErrorMessage})})},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("form",__assign({validate:e.props.validate,ref:function(t){return e.ref=t},action:!e.props.sendWithJs&&e.props.action,method:e.props.method,name:e.props.name,onSubmit:function(t){var n,r=e.props.sendWithJs||"email"===e.props.sendSubmissionsTo;if("zapier"===e.props.sendSubmissionsTo)t.preventDefault();else if(r){if(!e.props.action&&"email"!==e.props.sendSubmissionsTo)return void t.preventDefault();t.preventDefault();var i=t.currentTarget,o=e.props.customHeaders||{},a=void 0,s=new FormData(i),l=Array.from(t.currentTarget.querySelectorAll("input,select,textarea")).filter(function(e){return!!e.name}).map(function(e){var t,n=e.name;if(e instanceof HTMLInputElement){if("radio"===e.type){if(e.checked)return{key:n,value:t=e.name}}else if("checkbox"===e.type)t=e.checked;else if("number"===e.type||"range"===e.type){var r=e.valueAsNumber;isNaN(r)||(t=r)}else t="file"===e.type?e.files:e.value}else t=e.value;return{key:n,value:t}}),u=e.props.contentType;if("email"===e.props.sendSubmissionsTo&&(u=MULTIPART_CONTENT_TYPE),Array.from(l).forEach(function(e){var t=e.value;(t instanceof File||Array.isArray(t)&&t[0]instanceof File||t instanceof FileList)&&(u=MULTIPART_CONTENT_TYPE)}),u===MULTIPART_CONTENT_TYPE)a=s;else if(u===JSON_CONTENT_TYPE){var c={};Array.from(l).forEach(function(e){var t=e.value;set(c,e.key,t)}),a=JSON.stringify(c)}else{if(u!==ENCODED_CONTENT_TYPE)return void console.error("Unsupported content type: ",u);a=Array.from(l).map(function(e){var t=e.value;return encodeURIComponent(e.key)+"="+encodeURIComponent(t)}).join("&")}u&&u!==MULTIPART_CONTENT_TYPE&&(r&&(null===(n=e.props.action)||void 0===n?void 0:n.includes("zapier.com"))||(o["content-type"]=u));var d=new CustomEvent("presubmit",{detail:{body:a}});if(e.ref&&(e.ref.dispatchEvent(d),d.defaultPrevented))return;e.setState(__assign(__assign({},e.state),{state:"sending"}));var f="".concat("dev"===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.env?"http://localhost:5000":"https://builder.io","/api/v1/form-submit?apiKey=").concat(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey,"&to=").concat(btoa(e.props.sendSubmissionsToEmail||""),"&name=").concat(encodeURIComponent(e.props.name||""));fetch("email"===e.props.sendSubmissionsTo?f:e.props.action,{body:a,headers:o,method:e.props.method||"post"}).then(function(t){return __awaiter(e,void 0,void 0,function(){var e,n,r,i,o;return __generator(this,function(a){switch(a.label){case 0:return(n=t.headers.get("content-type"))&&-1!==n.indexOf(JSON_CONTENT_TYPE)?[4,t.json()]:[3,2];case 1:return e=a.sent(),[3,4];case 2:return[4,t.text()];case 3:e=a.sent(),a.label=4;case 4:if(!t.ok&&this.props.errorMessagePath&&(r=get(e,this.props.errorMessagePath))&&("string"!=typeof r&&(r=JSON.stringify(r)),this.setState(__assign(__assign({},this.state),{formErrorMessage:r}))),this.setState(__assign(__assign({},this.state),{responseData:e,state:t.ok?"success":"error"})),t.ok){if(i=new CustomEvent("submit:success",{detail:{res:t,body:e}}),this.ref){if(this.ref.dispatchEvent(i),i.defaultPrevented)return[2];!1!==this.props.resetFormOnSubmit&&this.ref.reset()}this.props.successUrl&&(this.ref?(o=new CustomEvent("route",{detail:{url:this.props.successUrl}}),this.ref.dispatchEvent(o),o.defaultPrevented||(location.href=this.props.successUrl)):location.href=this.props.successUrl)}return[2]}})})},function(t){var n=new CustomEvent("submit:error",{detail:{error:t}});e.ref&&(e.ref.dispatchEvent(n),n.defaultPrevented)||e.setState(__assign(__assign({},e.state),{responseData:t,state:"error"}))})}}},e.props.attributes),e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})}),"error"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"errorMessage",blocks:e.props.errorMessage}),"sending"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"sendingMessage",blocks:e.props.sendingMessage}),"error"===e.submissionState&&e.state.responseData&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("pre",{className:"builder-form-error-text",css:{padding:10,color:"red",textAlign:"center"}},JSON.stringify(e.state.responseData,null,2)),"success"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"successMessage",blocks:e.props.successMessage})))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Form=withBuilder(FormComponent,{name:"Form:Form",defaults:{responsiveStyles:{large:{marginTop:"15px",paddingBottom:"15px"}}},image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5",inputs:[{name:"sendSubmissionsTo",type:"string",enum:[{label:"Send to email",value:"email",helperText:"Send form submissions to the email address of your choosing"},{label:"Custom",value:"custom",helperText:"Handle where the form requests go manually with a little code, e.g. to your own custom backend"}],defaultValue:"email"},{name:"sendSubmissionsToEmail",type:"string",required:!0,defaultValue:"[email protected]",showIf:'options.get("sendSubmissionsTo") === "email"'},{name:"sendWithJs",type:"boolean",helperText:"Set to false to use basic html form action",defaultValue:!0,showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"name",type:"string",defaultValue:"My form"},{name:"action",type:"string",helperText:"URL to send the form data to",showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"contentType",type:"string",defaultValue:JSON_CONTENT_TYPE,advanced:!0,enum:[JSON_CONTENT_TYPE,MULTIPART_CONTENT_TYPE,ENCODED_CONTENT_TYPE],showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'},{name:"method",type:"string",showIf:'options.get("sendSubmissionsTo") === "custom"',defaultValue:"POST",advanced:!0},{name:"previewState",type:"string",enum:["unsubmitted","sending","success","error"],defaultValue:"unsubmitted",helperText:'Choose a state to edit, e.g. choose "success" to show what users see on success and edit the message',showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"successUrl",type:"url",helperText:"Optional URL to redirect the user to on form submission success",showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"resetFormOnSubmit",type:"boolean",showIf:function(e){return"custom"===e.get("sendSubmissionsTo")&&!0===e.get("sendWithJs")},advanced:!0},{name:"successMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Thanks!</span>"}}}]},{name:"validate",type:"boolean",defaultValue:!0,advanced:!0},{name:"errorMessagePath",type:"text",advanced:!0,helperText:'Path to where to get the error message from in a JSON response to display to the user, e.g. "error.message" for a response like { "error": { "message": "this username is taken" }}'},{name:"errorMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},bindings:{"component.options.text":"state.formErrorMessage || block.component.options.text"},component:{name:"Text",options:{text:"<span>Form submission error :( Please check your answers and try again</span>"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Sending...</span>"}}}]},__assign(__assign({name:"customHeaders",type:"map"},{valueType:{type:"string"}}),{advanced:!0,showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'})],noWrap:!0,canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your name</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}}
1,component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your email</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"[email protected]"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}]}),FormInputComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("input",__assign({key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.defaultValue?this.props.defaultValue:"default-key",placeholder:this.props.placeholder,type:this.props.type,name:this.props.name,value:this.props.value,defaultValue:this.props.defaultValue,required:this.props.required},this.props.attributes))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormInput=withBuilder(FormInputComponent,{name:"Form:Input",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",inputs:[{name:"type",type:"text",enum:["text","number","email","url","checkbox","radio","range","date","datetime-local","search","tel","time","file","month","week","password","color","hidden"],defaultValue:"text"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it takes, e.g. "email"'},{name:"placeholder",type:"string",defaultValue:"Hello there",helperText:"Text to display when there is no value"},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",helperText:"Is this input required to be filled out to submit a form",defaultValue:!1}],noWrap:!0,static:!0,defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"}}),FormSubmitButtonComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("button",__assign({type:"submit"},this.props.attributes),this.props.text)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormSubmitButton=withBuilder(FormSubmitButtonComponent,{name:"Form:SubmitButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#3898EC",color:"white",borderRadius:"4px",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me"}],static:!0,noWrap:!0}),LabelComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("label",__assign({htmlFor:this.props.for},this.props.attributes),this.props.text&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:"builder-label-text",dangerouslySetInnerHTML:{__html:this.props.text}}),this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Label=withBuilder(LabelComponent,{name:"Form:Label",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F9322342f04b545fb9a8091cd801dfb5b",inputs:[{name:"text",type:"html",richText:!0,defaultValue:"Label"},{name:"for",type:"text",helperText:"The name of the input this label is for",advanced:!0}],noWrap:!0,static:!0,canHaveChildren:!0}),FormSelectComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.options;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("select",__assign({value:this.props.value,key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.defaultValue?this.props.defaultValue:"default-key",defaultValue:this.props.defaultValue,name:this.props.name},this.props.attributes),e&&e.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("option",{value:e.value},e.name||e.value)}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormSelect=withBuilder(FormSelectComponent,{name:"Form:Select",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",defaultStyles:{alignSelf:"flex-start"},inputs:[{name:"options",type:"list",required:!0,subFields:[{name:"value",type:"text",required:!0},{name:"name",type:"text"}],defaultValue:[{value:"option 1"},{value:"option 2"}]},{name:"name",type:"string",required:!0,helperText:'Every select in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",defaultValue:!1}],static:!0,noWrap:!0}),TextAreaComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("textarea",__assign({placeholder:this.props.placeholder,name:this.props.name,value:this.props.value,defaultValue:this.props.defaultValue},this.props.attributes))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),TextArea=withBuilder(TextAreaComponent,{name:"Form:TextArea",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",input
1s:[{advanced:!0,name:"value",type:"string"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"placeholder",type:"string",defaultValue:"Hello there"},{name:"required",type:"boolean",defaultValue:!1}],defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"},static:!0,noWrap:!0}),ImgComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("img",__assign({},this.props.attributes,{src:this.props.image||e.src}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Img=withBuilder(ImgComponent,{name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg"],required:!0}],noWrap:!0,static:!0}),RawText=function(e){var t=e.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:(null==t?void 0:t.class)||(null==t?void 0:t.className),dangerouslySetInnerHTML:{__html:e.text||""}})};function useIsPreviewing(){var e=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),t=e[0],n=e[1];return(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function(){(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing)&&n(!0)},[]),t}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(RawText,{name:"Builder:RawText",hideFromInsertMenu:!0,inputs:[{name:"text",bubble:!0,type:"longText",required:!0}]}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isReact=!0},74538:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ib:function(){return Builder},Xe:function(){return BehaviorSubject},fl:function(){return builder},w0:function(){return Subscription}});var serverOnlyRequire,tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(54693),hash_sum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(80504),hash_sum__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_0__);!function(){"undefined"!=typeof window&&"function"!=typeof window.CustomEvent&&(window.CustomEvent=e);function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();var isSafari="undefined"!=typeof window&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent),isClient="undefined"!=typeof window;function nextTick(e){if(!isClient||isSafari||"undefined"==typeof MutationObserver){setTimeout(e);return}var t=0,n=new MutationObserver(function(){return e()}),r=document.createTextNode("");n.observe(r,{characterData:!0}),r.data=String(t=++t)}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function e(){}return e.parseDeep=function(e){var t=this.parse(e);return this.deepen(t)},e.stringifyDeep=function(e){var t=this.flatten(e);return this.stringify(t)},e.parse=function(e){for(var t={},n=("?"===e[0]?e.substr(1):e).split("&"),r=0;r<n.length;r++){var i=n[r].split("=");try{t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}catch(e){}}return t},e.stringify=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(r)}return t},e.deepen=function(e){var t={};for(var n in e){for(var r=t,i=n.split("."),o=i.pop(),a=0,s=i;a<s.length;a++){var l=s[a];assertAllowedPropertyName(l),r=r[l]=r[l]||{}}r[o]=e[n]}return t},e.flatten=function(e,t,n){for(var r in void 0===n&&(n={}),e){var i=e[r],o=t?t+"."+r:r;i&&"object"==typeof i?this.flatten(i,o,n):n[o]=i}return n},e}();function assertAllowedPropertyName(e){if(PROPERTY_NAME_DENY_LIST.indexOf(e)>=0)throw Error('Property name "'.concat(e,'" is not allowed'))}var version="2.1.2",Subscription=function(){function e(e,t){this.listeners=e,this.listener=t,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(e.prototype,"closed",{get:function(){return this.unsubscribed}
vendor: 3,144 bytes, line 1
1,enumerable:!1,configurable:!0}),e.prototype.add=function(e){this.otherSubscriptions.push(e)},e.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var e=this.listeners.indexOf(this.listener);e>-1&&this.listeners.splice(e,1)}this.otherSubscriptions.forEach(function(e){return e.unsubscribe()}),this.unsubscribed=!0}},e}(),BehaviorSubject=function(){function e(e){var t=this;this.value=e,this.listeners=[],this.errorListeners=[],this.then=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return(e=t.toPromise()).then.apply(e,n)}}return e.prototype.next=function(e){this.value=e;for(var t=0,n=this.listeners;t<n.length;t++)(0,n[t])(e)},e.prototype.map=function(t){var n=new e(t(this.value));return this.subscribe(function(e){n.next(t(e))}),this.catch(function(e){n.error(e)}),n},e.prototype.catch=function(e){return this.errorListeners.push(e),new Subscription(this.errorListeners,e)},e.prototype.error=function(e){for(var t=0,n=this.errorListeners;t<n.length;t++)(0,n[t])(e)},e.prototype.subscribe=function(e,t){return this.listeners.push(e),t&&this.errorListeners.push(t),new Subscription(this.listeners,e)},e.prototype.toPromise=function(){var e=this;return new Promise(function(t,n){var r=e.subscribe(function(e){t(e),r.unsubscribe()},function(e){n(e),r.unsubscribe()})})},e.prototype.promise=function(){return this.toPromise()},e}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(e){return e&&"function"==typeof e}function isObject(e){return e&&"object"==typeof e}var TinyPromise=function(){function e(e){this._state=State.Pending,this._handlers=[],this._value=null,e(this._resolve.bind(this),this._reject.bind(this))}return e.prototype._resolve=function(t){var n=this;if(t instanceof e)t.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(t)||isFunction(t)){var r=!1;try{var i=t.then;isFunction(i)?i.call(t,function(e){r||n._resolve(e),r=!0},function(e){r||n._reject(e),r=!0}):this._fulfill(t)}catch(e){r||this._reject(e)}}else this._fulfill(t)},e.prototype._fulfill=function(e){var t=this;this._state=State.Fulfilled,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._reject=function(e){var t=this;this._state=State.Rejected,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._isPending=function(){return this._state===State.Pending},e.prototype._isFulfilled=function(){return this._state===State.Fulfilled},e.prototype._isRejected=function(){return this._state===State.Rejected},e.prototype._addHandler=function(e,t){this._handlers.push({onFulfilled:e,onRejected:t})},e.prototype._callHandler=function(e){this._isFulfilled()&&isFunction(e.onFulfilled)?e.onFulfilled(this._value):this._isRejected()&&isFunction(e.onRejected)&&e.onRejected(this._value)},e.prototype.then=function(t,n){var r=this;switch(this._state){case State.Pending:return new e(function(e,i){r._addHandler(function(n){nextTick(function(){try{isFunction(t)?e(t(n)):e(n)}catch(e){i(e)}})},function(t){nextTick(function(){try{isFunction(n)?e(n(t)):i(t)}catch(e){i(e)}})})});
1case State.Fulfilled:return new e(function(e,n){nextTick(function(){try{isFunction(t)?e(t(r._value)):e(r._value)}catch(e){n(e)}})});case State.Rejected:return new e(function(e,t){nextTick(function(){try{isFunction(n)?e(n(r._value)):t(r._value)}catch(e){t(e)}})})}},e}(),Promise$1="undefined"!=typeof Promise?Promise:TinyPromise;try{serverOnlyRequire=eval("require")}catch(err){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire;function promiseResolve(e){return new Promise$1(function(t){return t(e)})}function tinyFetch(e,t){return void 0===t&&(t={}),new Promise$1(function(n,r){var i=new XMLHttpRequest;if(i.open(t.method||"get",e,!0),t.headers)for(var o in t.headers)i.setRequestHeader(o,t.headers[o]);function a(){var e=[],t=[],n={},r=void 0;return i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(i,o,a){var s=o;return e.push(s=s.toLowerCase()),t.push([s,a]),r=n[s],n[s]=r?"".concat(r,",").concat(a):a,""}),{ok:(i.status/100|0)==2,status:i.status,statusText:i.statusText,url:i.responseURL,clone:a,text:function(){return promiseResolve(i.responseText)},json:function(){return promiseResolve(i.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([i.response]))},headers:{keys:function(){return e},entries:function(){return t},get:function(e){return n[e.toLowerCase()]},has:function(e){return e.toLowerCase() in n}}}}i.withCredentials="include"===t.credentials,i.onload=function(){n(a())},i.onerror=r,i.send(t.body)})}function getFetch(){var e=void 0;if(globalThis.fetch)null!=e||(e=globalThis.fetch);else if("undefined"==typeof window)try{null!=e||(e=serverOnlyRequire$1("node-fetch"))}catch(e){console.warn("node-fetch is not installed. consider polyfilling fetch or installing node-fetch."),console.warn(e)}return null!=e?e:tinyFetch}function assign(e){for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}function throttle(e,t,n){void 0===n&&(n={});var r,i,o,a=null,s=0,l=function(){s=!1===n.leading?0:Date.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,i=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}}var camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},Animator=function(){function e(){}return e.prototype.bindAnimations=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];switch(r.trigger){case"pageLoad":this.triggerAnimation(r);break;case"hover":this.bindHoverAnimation(r);break;case"scrollInView":this.bindScrollInViewAnimation(r)}}},e.prototype.warnElementNotPresent=function(e){console.warn("Cannot animate element: element with ID ".concat(e," not found!"))},e.prototype.augmentAnimation=function(e,t){for(var n=this.getAllStylesUsed(e),r=getComputedStyle(t),i=[e.steps[0].styles,e.steps[e.steps.length-1].styles],o=0,a=i;o<a.length;o++)for(var s=a[o],l=0,u=n;l<u.length;l++){var c=u[l];c in s||(s[c]=r[c])}},e.prototype.getAllStylesUsed=function(e){for(var t=[],n=0,r=e.steps;n<r.length;n++){var i=r[n];for(var o in i.styles)-1===t.indexOf(o)&&t.push(o)}return t},e.prototype.triggerAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}Array.from(n).forEach(function(n){t.augmentAnimation(e,n),n.style.transition="none",n.style.transitionDelay="0",assign(n.style,e.steps[0].styles),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s"),assign(n.style,e.steps[1].styles),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(e.delay||0)+1e3*e.duration+100)})})},e.prototype.bindHoverAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}
1Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=e.steps[0].styles,i=e.steps[1].styles;function o(){assign(n.style,r)}function a(){assign(n.style,i)}o(),n.addEventListener("mouseenter",a),n.addEventListener("mouseleave",o),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")})})},e.prototype.bindScrollInViewAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=!1,i=!1;function o(){!r&&s(n)?(r=!0,i=!0,setTimeout(function(){assign(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",a),setTimeout(function(){i=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!i&&!s(n)&&(r=!1,assign(n.style,e.steps[0].styles))}var a=throttle(o,200,{leading:!1});function s(t){var n=t.getBoundingClientRect(),r=window.innerHeight,i=(e.thresholdPercent||0)/100*r;return n.bottom>i&&n.top<r-i}var l=e.steps[0].styles;(function(){assign(n.style,l)})(),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",a,{capture:!0,passive:!0}),o()})},e}();function getTopLevelDomain(e){var t=e.split(".");return t.length>2?t.slice(1).join("."):e}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function e(e,t){this.request=e,this.response=t}return e.prototype.get=function(e){var t=this.request.headers.cookie;if(t){var n=t.match(getPattern(e));if(n)return n[1]}},e.prototype.set=function(e,t,n){var r=this.response,i=this.request,o=r.getHeader("Set-Cookie")||[],a=void 0!==this.secure?!!this.secure:"https"===i.protocol||i.connection.encrypted,s=new Cookie(e,t,n);if("string"==typeof o&&(o=[o]),!a&&n&&n.secure)throw Error("Cannot send secure cookie over unencrypted connection");return s.secure=a,n&&"secure"in n&&(s.secure=!!n.secure),s.domain=i.headers.host&&getTopLevelDomain(i.headers.host),pushCookie(o,s),r.setHeader.call(r,"Set-Cookie",o),this},e}(),Cookie=function(){function e(e,t,n){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(e))throw TypeError("argument name is invalid");if(t&&!fieldContentRegExp.test(t))throw TypeError("argument value is invalid");t||(this.expires=new Date(0)),this.name=e,this.value=t||"",n.expires&&(this.expires=n.expires),n.secure&&(this.secure=n.secure)}return e.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},e.prototype.toHeader=function(){var e=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(e+="; path=".concat(this.path)),this.expires&&(e+="; expires=".concat(this.expires.toUTCString())),this.domain&&(e+="; domain=".concat(this.domain)),e+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(e+="; secure"),this.httpOnly&&(e+="; httponly"),e},e}();function getPattern(e){return new RegExp("(?:^|;) *".concat(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(e,t){if(t.overwrite)for(var n=e.length-1;n>=0;n--)0===e[n].indexOf("".concat(t.name,"="))&&e.splice(n,1);e.push(t.toHeader())}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object.assign({},e),i=0,o=t;i<o.length;i++){var a=o[i];delete r[a]}return r}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse$1(e){var t,n=emptyUrl();
1return""===e||"/"===e[0]?(t=new URL(e,"http://0.0.0.0/"),n.href=t.href,n.href=n.href.slice(14)):(t=new URL(e),n.href=t.href,n.port=""===t.port?null:t.port,n.hash=""===t.hash?null:t.hash,n.host=t.host,n.hostname=t.hostname,n.href=t.href,n.pathname=t.pathname,n.protocol=t.protocol,n.slashes="/"===e[t.protocol.length]),n.search=t.search,n.query=t.search.slice(1),n.path="".concat(t.pathname).concat(t.search),n.pathname=t.pathname,n}function toError(e){return e instanceof Error?e:Error(String(e))}var DEFAULT_API_VERSION="v3";function datePlusMinutes(e){return void 0===e&&(e=30),new Date(Date.now()+6e4*e)}var isPositiveNumber=function(e){return"number"==typeof e&&!isNaN(e)&&e>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(e,t){for(var n=(e.split("?")[1]||"").split("&"),r=0;r<n.length;r++){var i=n[r].split("=");if(decodeURIComponent(i[0])===t)return decodeURIComponent(i[1])}return null}var urlParser={parse:function(e){var t=document.createElement("a");t.href=e;for(var n={},r=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"],i=0,o=r;i<o.length;i++){var a=o[i];n[a]=t[a]}return(n.pathname||""===n.pathname)&&"string"==typeof n.pathname&&0!==n.pathname.indexOf("/")&&(n.pathname="/"+n.pathname),n}},parse=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse$1;function setCookie(e,t,n){try{var r="";n&&(r="; expires="+n.toUTCString());var i=!isBrowser||"https:"===location.protocol;document.cookie=e+"="+(t||"")+r+"; path=/"+"; domain=".concat(getTopLevelDomain(location.hostname))+(i?"; secure; SameSite=None":"")}catch(e){console.warn("Could not set cookie",e)}}function getCookie(e){try{return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){console.warn("Could not get cookie",e)}}function size(e){return Object.keys(e).length}function find(e,t){for(var n=e,r=n.length>>>0,i=arguments[1],o=0;o<r;o++){var a=n[o];if(t.call(i,a,o,n))return a}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser="undefined"!=typeof window&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(e){return void 0===e&&(e={}),Builder.Component(e)}var Builder=function(){function e(t,n,r,i,o,a){void 0===t&&(t=null),void 0===i&&(i=!1),void 0===o&&(o=null);var s=this;if(this.request=n,this.response=r,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){s.processEventsQueue(),s.setCookie(sessionStorageKey,s.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.apiVersion$=new BehaviorSubject(void 0),this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!e.isBrowser&&!this.isDevelopmentEnv&&!(e.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.testCookiePrefix="builder.tests",this.cookieQueue=[],e.isBrowser&&!i&&e.singletonInstance)return e.singletonInstance;this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),t&&(this.apiKey=t),a&&(this.apiVersion=a),o&&(this.authToken=o),isBrowser&&(this.bindMessageListeners(),e.isEditing&&parent.postMessage({type:"builder.animatorOptions",data:{options:{version:2}}},"*")),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(e){if(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,s.sessionId)}catch(e){console.debug("Session storage error",e)}s.eventsQueue.length&&s.throttledClearEventsQueue(),s.cookieQueue.length&&(s.cookieQueue.forEach(function(e){s.setCo
1okie(e[0],e[1])}),s.cookieQueue.length=0)}}),isBrowser&&(this.setTestsFromUrl(),this.getOverridesFromQueryString())}return e.register=function(t,n){var r=this.registry[t];if(r||(r=this.registry[t]=[]),r.push(n),e.isBrowser){var i={type:"builder.register",data:{type:t,info:n}};try{parent.postMessage(i,"*"),parent!==window&&window.postMessage(i,"*")}catch(e){console.debug("Could not postmessage",e)}}this.registryChange.next(this.registry)},e.registerEditor=function(t){if(e.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(t,"component")},"*");var n=location.hostname;e.isTrustedHost(n)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(t)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerAction=function(e){this.actions.push(e)},e.registerTrustedHost=function(e){this.trustedHosts.push(e)},e.setServerContext=function(e){this.serverContext=e},e.isTrustedHost=function(e){return this.trustedHosts.findIndex(function(t){return t.startsWith("*.")?e.endsWith(t.slice(1)):t===e})>-1},e.runAction=function(e){if(!("string"==typeof e?find(this.actions,function(t){return t.name===e}):e))throw Error("Action not found: ".concat(e))},e.fields=function(e,t){var n;null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.fields",data:{name:e,fields:t}},"*")},e.set=function(t){e.register("editor.settings",t)},e.import=function(t){if(!e.isBrowser){console.warn("Builder.import used on the server - this should only be used in the browser");return}var n=window.System;if(!n){console.warn("System.js not available. Please include System.js when using Builder.import");return}return n.import("https://cdn.builder.io/systemjs/".concat(t))},Object.defineProperty(e,"editingPage",{get:function(){return this._editingPage},set:function(e){this._editingPage=e,isBrowser&&isIframe&&(e?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),e.prepareComponentSpecToSend=function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),e.inputs&&{inputs:e.inputs.map(function(e){for(var t,n=["onChange","showIf"],r=0,i=n;r<i.length;r++){var o=i[r];if(e[o]&&"function"==typeof e[o]){var a=e[o];e=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),((t={})[o]="return (".concat(a.toString(),").apply(this, arguments)"),t))}}return e})}),{hooks:Object.keys(e.hooks||{}).reduce(function(t,n){var r=e.hooks&&e.hooks[n];return r&&("string"==typeof r?t[n]=r:t[n]="return (".concat(r.toString(),").apply(this, arguments)")),t},{}),class:void 0})},e.registerBlock=function(e,t){this.registerComponent(e,t)},e.registerComponent=function(e,t){var n,r=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({class:e},e.builderOptions),t);if(this.addComponent(r),t.models&&this.singletonInstance.editingModel?isBrowser&&t.models.includes(this.singletonInstance.editingModel):isBrowser){var i=this.prepareComponentSpecToSend(r);null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerComponent",data:i},"*")}},e.addComponent=function(e){var t=find(this.components,function(t){return t.name===e.name});if(t){if(t.class&&!e.class)return;this.components.splice(this.components.indexOf(t),1,e)}else this.components.push(e)},e.component=function(e){var t=this;return void 0===e&&(e={}),function(n){var r,i=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{class:n});i.name||(i.name=n.name),t.addComponent(i);var o=t.prepareComponentSpecToSend(i);return isBrowser&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.registerComponent",data:o},"*")),n}},Object.defineProperty(e,"Component",{get:function(){return this.component}
1,enumerable:!1,configurable:!0}),e.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var t=this.eventsQueue;this.eventsQueue=[];for(var n=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e.overrideUserAttributes),this.trackingUserAttributes),r=0,i=t;r<i.length;r++){var o=i[r];o.data.metadata||(o.data.metadata={}),o.data.metadata.user||(o.data.metadata.user={}),Object.assign(o.data.metadata.user,n,o.data.metadata.user)}var a=this.host;getFetch()("".concat(a,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:t}),headers:{"content-type":"application/json"},mode:"cors"}).catch(function(){})}},Object.defineProperty(e.prototype,"browserTrackingDisabled",{get:function(){return e.isBrowser&&!!(window.builderNoTrack||!navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(e){this.canTrack!==e&&this.canTrack$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiVersion",{get:function(){return this.apiVersion$.value},set:function(e){this.apiVersion!==e&&this.apiVersion$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(e){e!==this.editingMode&&this.editingMode$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(e){e!==this.editingModel&&this.editingModel$.next(e)},enumerable:!1,configurable:!0}),e.prototype.findParentElement=function(e,t,n){if(void 0===n&&(n=!0),!(e instanceof HTMLElement))return null;var r=n?e:e.parentElement;do{if(!r)break;if(t(r))return r}while(r=r.parentElement);return null},e.prototype.findBuilderParent=function(e){return this.findParentElement(e,function(e){var t=e.getAttribute("builder-id")||e.id;return!!(t&&0===t.indexOf("builder-"))})},e.prototype.setUserAgent=function(e){this.userAgent=e||""},e.prototype.setTrackingHook=function(e){this.trackingHooks.push(e)},e.prototype.track=function(t,n,r){if(void 0===n&&(n={}),!isIframe&&isBrowser&&!e.isPreviewing){var i=this.apiKey;if(!i){console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("\xabYOUR-API-KEY\xbb");` as early as possible in your application\'s code.');return}for(var o=JSON.parse(JSON.stringify({type:t,data:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},omit(n,"meta")),{metadata:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({sdkVersion:e.VERSION,url:location.href},n.meta),n.metadata),ownerId:i,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),a=0,s=this.trackingHooks;a<s.length;a++){var l=(0,s[a])(o,r||{});l&&(o=l)}this.eventsQueue.push(o),this.canTrack&&this.throttledClearEventsQueue()}},e.prototype.getSessionId=function(){var t=this,n=null;try{e.isBrowser&&"undefined"!=typeof sessionStorage&&(n=this.getCookie(sessionStorageKey))}catch(e){console.debug("Session storage error",e)}return n||(n=uuid()),e.isBrowser&&setTimeout(function(){try{t.canTrack&&t.setCookie(sessionStorageKey,n,datePlusMinutes(30))}catch(e){console.debug("Cookie setting error",e)}}),n},e.prototype.getVisitorId=function(){var t=this;if(this.visitorId)return this.visitorId;var n=null;try{e.isBrowser&&"undefined"!=typeof localStorage&&(n=localStorage.getItem(localStorageKey))}catch(e){console.debug("Local storage error",e)}return n||(n=uuid()),this.visitorId=n,e.isBrowser&&setTimeout(function(){try{t.canTrack&&"undefined"!=typeof localStorage&&n&&localStorage.setItem(localStorageKey,n)}catch(e){console.debug("Session storage error",e)}}),n},e.prototype.trackImpression=function(t,n,r,i){isIframe||!isBrowser||e.isPreviewing||this.track("impression",{contentId:t,variationId:n!==t?n:void 0,metadata:r},i)},e.prototype.trackConversion=function(t,n,r,i,o){if(!isIframe&&isBrowser&&!e.isPreviewing){var a="object"==typeof n?n:i,s="string"==typeof n?n:void 0;this.track("conversion",{amount:t,variationId:r,meta:a,contentId:s},o)}},Object.defineProperty(e.prototype,"isDevelopmentEnv",{get:function(){return e.isIframe||e.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env}
vendor: 5,475 bytes, line 1
1,enumerable:!1,configurable:!0}),e.prototype.trackInteraction=function(t,n,r,i,o){if(void 0===r&&(r=!1),!isIframe&&isBrowser&&!e.isPreviewing){var a=i&&i.target,s=a&&this.findBuilderParent(a),l={};if(i){var u=i.clientX,c=i.clientY;if(a){var d=a.getBoundingClientRect(),f=u-d.left,p=c-d.top,h=g(f/d.width),m=g(p/d.height);l.targetOffset={x:h,y:m}}if(s){var d=s.getBoundingClientRect(),f=u-d.left,p=c-d.top,h=g(f/d.width),m=g(p/d.height);l.builderTargetOffset={x:h,y:m}}}var v=s&&(s.getAttribute("builder-id")||s.id);v&&s&&(l.builderElementIndex=[].slice.call(document.getElementsByClassName(v)).indexOf(s)),this.track("click",{contentId:t,metadata:l,variationId:n!==t?n:void 0,unique:!r,targetBuilderElement:v||void 0},o)}function g(e){return Math.round(1e3*e)/1e3}},e.prototype.component=function(t){return void 0===t&&(t={}),e.component(t)},Object.defineProperty(e.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(e){this.apiKey$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(e){this.authToken$.next(e)},enumerable:!1,configurable:!0}),e.prototype.modifySearch=function(e){return e.replace(/(^|&|\?)(builder_.*?)=/gi,function(e,t,n){return t+n.replace(/_/g,".")+"="})},e.prototype.setTestsFromUrl=function(){var e=this.getLocation().search,t=QueryString.parseDeep(this.modifySearch(e||"").substr(1)),n=t.builder&&t.builder.tests;if(n&&"object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&this.setTestCookie(r,n[r])},e.prototype.resetOverrides=function(){e.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},e.prototype.getOverridesFromQueryString=function(){var t=this.getLocation(),n=QueryString.parseDeep(this.modifySearch(t.search||"").substr(1)),r=n.builder;if(r){var i=r.userAttributes,o=r.overrides,a=r.env;r.host;var s=r.api,l=r.cachebust,u=r.noCache,c=r.preview,d=r.editing,f=r.frameEditing,p=r.options,h=r.params;if(i&&this.setUserAttributes(i),p&&(this.queryOptions=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},p.locale&&{locale:p.locale}),p.includeRefs&&{includeRefs:p.includeRefs}),p.enrich&&{enrich:p.enrich})),o&&(this.overrides=o),validEnvList.indexOf(a||s)>-1&&(this.env=a||s),e.isEditing){var m=f||d||c;m&&"true"!==m&&(this.editingModel=m)}l&&(this.cachebust=!0),u&&(this.noCache=!0),c&&(this.preview=!0),n&&(this.overrideParams=h)}},e.prototype.messageFrameLoaded=function(){var e;null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.loaded",data:{value:!0}},"*")},e.prototype.bindMessageListeners=function(){var t=this;isBrowser&&addEventListener("message",function(n){var r,i,o,a,s,l=parse(n.origin),u=-1===["builder.register","builder.registerComponent"].indexOf(null===(r=n.data)||void 0===r?void 0:r.type),c=l.hostname&&e.isTrustedHost(l.hostname);if(!u||c){var d=n.data;if(d)switch(d.type){case"builder.ping":null===(i=window.parent)||void 0===i||i.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(n.source===window)break;var f=d.data;if(!f)break;var p=f.type,h=f.info,m=e.registry[p];m||(m=e.registry[p]=[]),m.push(h),e.registryChange.next(e.registry);break;case"builder.settingsChange":if(n.source===window)break;var v=d.data;if(!v)break;Object.assign(e.settings,v),e.settingsChange.next(e.settings);break;case"builder.registerEditor":if(n.source===window)break;var g=d.data;if(!g)break;var y=!!g.component;e.editors.every(function(t,n){return g.name!==t.name||(t.component&&!y||(e.editors[n]=t),!1)});break;case"builder.triggerAnimation":e.animator.triggerAnimation(d.data);break;case"builder.contentUpdate":var b=d.data.key||d.data.alias||d.data.entry||d.data.modelName,w=d.data.data,x=t.observersByKey[b];x&&!t.noEditorUpdates[b]&&x.next([w]);break;case"builder.getComponents":null===(o=window.parent)||void 0===o||o.postMessage({type:"builder.components",data:e.components.map(function(t){return e.prepareComponentSpecToSend(t)})},"*");break;case"builder.editingModel":t.editingModel=d.data.model;break;case"builder.registerComponent":var E=d.data;e.addComponent(E);break;case"builder.blockContentLoading":"string"==typeof d.data.model&&(t.blockContentLoading=d.data.model);break;case"builder.editingMode":d.data?(t.editingMode=!0,document.body.classList.add("builder-editing")):(t.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var _=d.data;e.editingPage=_;break;case"builder.overrideUserAttributes":var k=d.data;assign(e.overrideUserAttributes,k),t.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var S=d.data,C=S.variationId,O=S.contentId;C&&O&&(t.setTestCookie(O,C),t.flushGetContentQueue(!0));break;case"builder.evaluate":var T=d.data.text,j=d.data.arguments||[],P=d.data.id,R=Function(T),A=void 0,I=null;try{A=R.apply(t,j)}catch(e){I=toError(e)}I?null===(a=window.parent)||void 0===a||a.postMessage({type:"builder.evaluateError",data:{id:P,error:I.message}},"*"):A&&"function"==typeof A.then?A.then(function(e){var t;null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.evaluateResult",data:{id:P,result:e}},"*")}).catch(console.error):null===(s=window.parent)||void 0===s||s.postMessage({type:"builder.evaluateResult",data:{result:A,id:P}},"*")}}})}
1,Object.defineProperty(e.prototype,"defaultCanTrack",{get:function(){return!!(e.isBrowser&&navigator.userAgent.trim()&&!navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)&&!this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),e.prototype.init=function(e,t,n,r,i,o){return void 0===t&&(t=this.defaultCanTrack),n&&(this.request=n),r&&(this.response=r),this.canTrack=t,this.apiKey=e,i&&(this.authToken=i),o&&(this.apiVersion=o),this},Object.defineProperty(e.prototype,"previewingModel",{get:function(){var e=this.getLocation().search;return QueryString.parse((e||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),e.prototype.getLocation=function(){var e,t={};return this.request?t=parse(null!==(e=this.request.url)&&void 0!==e?e:""):"object"==typeof location&&(t=parse(location.href)),""===t.pathname&&(t.pathname="/"),t},e.prototype.getUserAttributes=function(t){void 0===t&&(t=this.userAgent||"");var n={Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},iOS:function(){return t.match(/iPhone|iPod/i)},Opera:function(){return t.match(/Opera Mini/i)},Windows:function(){return t.match(/IEMobile/i)||t.match(/WPDesktop/i)},any:function(){return n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()}},r=t.match(/Tablet|iPad/i),i=this.getLocation();return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({urlPath:i.pathname,host:i.host||i.hostname,device:r?"tablet":n.any()?"mobile":"desktop"},e.overrideUserAttributes)},e.prototype.setUserAttributes=function(t){assign(e.overrideUserAttributes,t),this.userAttributesChanged.next(t)},e.prototype.setTrackingUserAttributes=function(e){assign(this.trackingUserAttributes,e)},e.prototype.get=function(t,n){void 0===n&&(n={});var r=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):(r=new e(n.apiKey||this.apiKey,n.req,n.res,void 0,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),r.queueGetContent(t,n).map(function(t){var n=t&&t[0];if(e.isStatic)return n;var r=n&&n.data;return r?(void 0!==r.blocksString&&(r.blocks=JSON.parse(r.blocksString),delete r.blocksString),{data:r,id:n.id,variationId:n.testVariationId||n.variationId||null,testVariationId:n.testVariationId||n.variationId||null,testVariationName:n.testVariationName||null,lastUpdated:n.lastUpdated||null}):null})},e.prototype.queueGetContent=function(t,n){var r=this;void 0===n&&(n={});var i=n.key||n.alias||t,o=this.editingModel===t,a=this.observersByKey[i];"DEMO"!==this.apiKey||this.overrides[i]||n.initialContent||(n.initialContent=[]);var s=n.initialContent;if(a&&(!a.value||n.cache))return a.value&&nextTick(function(){a.next(a.value)}),a;if(o&&e.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:n}},"*"),!s){if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},n),{model:t,key:i})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var l=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){r.flushGetContentQueue(!1,l)})}else nextTick(function(){r.flushGetContentQueue()})}var u=new BehaviorSubject(null);return this.observersByKey[i]=u,n.noEditorUpdates&&(this.noEditorUpdates[i]=!0),s&&nextTick(function(){u.next(s)}),u},e.prototype.requestUrl=function(e,t){return getFetch()(e,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({next:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({revalidate:1},null==t?void 0:t.next)},t)).then(function(e){return e.json()})}
1,Object.defineProperty(e.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return e.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),e.prototype.flushGetContentQueue=function(t,n){var r=this;if(void 0===t&&(t=!1),!this.apiKey)throw Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(this.apiVersion){if(!["v1","v3"].includes(this.apiVersion))throw Error("Invalid apiVersion: expected 'v1' or 'v3', received '".concat(this.apiVersion,"'"))}else this.apiVersion=DEFAULT_API_VERSION;if(t||this.getContentQueue){var i=n||(t?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var o=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({omit:i[0].omit||"meta.componentsUsed",apiKey:this.apiKey},i[0].options),this.queryOptions);i[0].locale&&(o.locale=i[0].locale),i[0].fields&&(o.fields=i[0].fields),i[0].format&&(o.format=i[0].format),"noTraverse"in i[0]&&(o.noTraverse=i[0].noTraverse),"includeUnpublished"in i[0]&&(o.includeUnpublished=i[0].includeUnpublished),i[0].sort&&(o.sort=i[0].sort);var a="undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):{},s=i&&i[0].userAttributes?i[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(i.find(function(e){return!!e.includeUrl})){var l=this.getLocation();l.origin&&(o.url="".concat(l.origin).concat(l.pathname).concat(l.search))}var u=null==n?void 0:n.find(function(e){return e.url});if((null==u?void 0:u.url)&&(s.urlPath=u.url.split("?")[0]),o.userAttributes=s,t||n||(this.priorContentQueue=i,this.getContentQueue=null),(this.cachebust||isIframe||a.cachebust||a["builder.cachebust"]||"production"!==this.env)&&(o.cachebust=!0),e.isEditing&&(o.isEditing=!0),(this.noCache||"production"!==this.env)&&(o.noCache=!0),size(this.overrides))for(var c in this.overrides)this.overrides.hasOwnProperty(c)&&(o["overrides.".concat(c)]=this.overrides[c]);for(var d=0,f=i;d<f.length;d++){var p=f[d];p.format&&(o.format=p.format),p.static&&(o.static=p.static),p.cachebust&&(o.cachebust=p.cachebust),isPositiveNumber(p.cacheSeconds)&&(o.cacheSeconds=p.cacheSeconds),isPositiveNumber(p.staleCacheSeconds)&&(o.staleCacheSeconds=p.staleCacheSeconds);for(var h=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static"],m=0,v=h;m<v.length;m++){var c=v[m],g=p[c];void 0!==g&&(o.options=o.options||{},o.options[p.key]=o.options[p.key]||{},o.options[p.key][c]=JSON.stringify(g))}}this.preview&&(o.preview="true");var y=Object.keys(o).length>0,b=this.host,w=i.map(function(e){return encodeURIComponent(e.key)}).join(",");this.overrideParams&&assign(o,omit(QueryString.parse(this.overrideParams),"apiKey"));var x=QueryString.stringifyDeep(o),E=o.format,_={headers:{},next:{revalidate:1}};this.authToken&&(_.headers=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},_.headers),{Authorization:"Bearer ".concat(this.authToken)}));var k="solid"===E||"react"===E?"codegen":"query",S="query"===k?this.apiVersion:"v1",C="".concat(b,"/api/").concat(S,"/").concat(k,"/").concat(this.apiKey,"/").concat(w)+(o&&y?"?".concat(x):"");return getFetch()(C,_).then(function(e){return e.json()}).then(function(t){for(var n=0,o=i;n<o.length;n++){var a=o[n],s=a.key;if(a.model!==r.blockContentLoading||a.noEditorUpdates){r.editingModel===a.model&&e.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:a}},"*");var l=r.observersByKey[s];if(!l)return;var u=t[s],c=u;if(u){var d=e.isServer?c:r.processResultsForTests(c);l.next(d)}else{if((r.getLocation().search||"").includes("builder.preview="+a.model)){var f={id:"preview",name:"Preview",data:{}};l.next([f])}l.next([])}}}},function(e){for(var t=0,n=i;t<n.length;t++){var o=n[t],a=r.observersByKey[o.key];if(!a)return;a.error(e)}})}},e.prototype.processResultsForTests=function(e){var t,n=this,r=e.map(function(e){if(!e.variations)return e;var t=n.getTestCookie(e.id),r=t===e.id?e:e.variations[t];if(r)return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{data:r.data,variationId:t,testVariationId:t,testVariationName:r.name});if(n.canTrack&&e.variations&&size(e.variations)){var i=0,o=Math.random();for(var a in e.variations){var s=e.variations[a];if(o<(i+=s.testRatio)){n.setTestCookie(e.id,s.id);var l=s.name||(s.id===e.id?"Default variation":"");return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{data:s.data,variationId:s.id,testVariationId:s.id,variationName:l,testVariationName:l})}}n.setTestCookie(e.id,e.id)}return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{variationId:e.id}),e.variations&&size(e.variations)&&{testVariationId:e.id,testVariationName:"Default variation"})});return isIframe&&(null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.contentResults",data:{results:r}},"*")),r},e.prototype.getTestCookie=function(e){return this.getCookie("".concat(this.testCookiePrefix,".").concat(e))},e.prototype.setTestCookie=function(e,t){if(!this.canTrack){this.cookieQueue.push([e,t]);return}var n=new Date;return n.setDate(n.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(e),t,n)},e.prototype.getCookie=function(t){return this.cookies?this.cookies.get(t):e.isBrowser&&getCookie(t)},e.prototype.setCookie=function(t,n,r){return this.cookies&&!(e.isServer&&e.isStatic)?this.cookies.set(t,n,{expires:r,secure:"https:"===this.getLocation().protocol}
1):e.isBrowser&&setCookie(t,n,r)},e.prototype.getContent=function(e,t){if(void 0===t&&(t={}),!this.apiKey)throw Error("Fetching content from model ".concat(e," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(e,t)},e.prototype.getAll=function(t,n){void 0===n&&(n={});var r=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):(r=new e(n.apiKey||this.apiKey,n.req,n.res,!1,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),"noTraverse"in n||(n.noTraverse=!0),r.getContent(t,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({limit:30},n),{key:n.key||e.isBrowser?"".concat(t,":").concat(hash_sum__WEBPACK_IMPORTED_MODULE_0___default()(omit(n,"initialContent","req","res"))):void 0})).promise()},e.VERSION=version,e.components=[],e.isStatic=!0,e.animator=new Animator,e.nextTick=nextTick,e.throttle=throttle,e.editors=[],e.trustedHosts=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"],e.plugins=[],e.actions=[],e.registry={},e.registryChange=new BehaviorSubject({}),e._editingPage=!1,e.isIframe=isIframe,e.isBrowser=isBrowser,e.isReactNative=isReactNative,e.isServer=!isBrowser&&!isReactNative,e.previewingModel=e.isBrowser&&getQueryParam(location.href,"builder.preview"),e.settings={},e.settingsChange=new BehaviorSubject({}),e.isEditing=!!(isIframe&&(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),e.isPreviewing=!!(isBrowser&&(-1!==location.search.indexOf("builder.preview=")||-1!==location.search.indexOf("builder.frameEditing="))),e.isReact=!1,e.overrideUserAttributes={},e}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder},54693:function(e,t,n){"use strict";n.d(t,{pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}},31602:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ib:function(){return Builder},fl:function(){return builder}});var serverOnlyRequire,tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(29726),hash_sum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(80504),hash_sum__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_0__);!function(){"undefined"!=typeof window&&"function"!=typeof window.CustomEvent&&(window.CustomEvent=e);function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();var isSafari="undefined"!=typeof window&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent),isClient="undefined"!=typeof window;function nextTick(e){if(!isClient||isSafari||"undefined"==typeof MutationObserver){setTimeout(e);return}var t=0,n=new MutationObserver(function(){return e()}),r=document.createTextNode("");n.observe(r,{characterData:!0}),r.data=String(t=++t)}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function e(){}return e.parseDeep=function(e){var t=this.parse(e);return this.deepen(t)},e.stringifyDeep=function(e){var t=this.flatten(e);return this.stringify(t)},e.parse=function(e){for(var t={},n=("?"===e[0]?e.substr(1):e).split("&"),r=0;r<n.length;r++){var i=n[r].split("=");try{t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}catch(e){}}return t},e.stringify=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(r)}return t},e.deepen=function(e){var t={};for(var n in e){for(var r=t,i=n.split("."),o=i.pop(),a=0,s=i;a<s.length;a++){var l=s[a];assertAllowedPropertyName(l),r=r[l]=r[l]||{}}r[o]=e[n]}return t},e.flatten=function(e,t,n){for(var r in void 0===n&&(n={}),e){var i=e[r],o=t?t+"."+r:r;i&&"object"==typeof i?this.flatten(i,o,n):n[o]=i}return n},e}();function assertAllowedPropertyName(e){if(PROPERTY_NAME_DENY_LIST.indexOf(e)>=0)throw Error('Property name "'.concat(e,'" is not allowed'))}var version="2.2.0",Subscription=function(){function e(e,t){this.listeners=e,this.listener=t,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(e.prototype,"closed",{get:function(){return this.unsubscribed}
vendor: 3,144 bytes, line 1
1,enumerable:!1,configurable:!0}),e.prototype.add=function(e){this.otherSubscriptions.push(e)},e.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var e=this.listeners.indexOf(this.listener);e>-1&&this.listeners.splice(e,1)}this.otherSubscriptions.forEach(function(e){return e.unsubscribe()}),this.unsubscribed=!0}},e}(),BehaviorSubject=function(){function e(e){var t=this;this.value=e,this.listeners=[],this.errorListeners=[],this.then=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return(e=t.toPromise()).then.apply(e,n)}}return e.prototype.next=function(e){this.value=e;for(var t=0,n=this.listeners;t<n.length;t++)(0,n[t])(e)},e.prototype.map=function(t){var n=new e(t(this.value));return this.subscribe(function(e){n.next(t(e))}),this.catch(function(e){n.error(e)}),n},e.prototype.catch=function(e){return this.errorListeners.push(e),new Subscription(this.errorListeners,e)},e.prototype.error=function(e){for(var t=0,n=this.errorListeners;t<n.length;t++)(0,n[t])(e)},e.prototype.subscribe=function(e,t){return this.listeners.push(e),t&&this.errorListeners.push(t),new Subscription(this.listeners,e)},e.prototype.toPromise=function(){var e=this;return new Promise(function(t,n){var r=e.subscribe(function(e){t(e),r.unsubscribe()},function(e){n(e),r.unsubscribe()})})},e.prototype.promise=function(){return this.toPromise()},e}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(e){return e&&"function"==typeof e}function isObject(e){return e&&"object"==typeof e}var TinyPromise=function(){function e(e){this._state=State.Pending,this._handlers=[],this._value=null,e(this._resolve.bind(this),this._reject.bind(this))}return e.prototype._resolve=function(t){var n=this;if(t instanceof e)t.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(t)||isFunction(t)){var r=!1;try{var i=t.then;isFunction(i)?i.call(t,function(e){r||n._resolve(e),r=!0},function(e){r||n._reject(e),r=!0}):this._fulfill(t)}catch(e){r||this._reject(e)}}else this._fulfill(t)},e.prototype._fulfill=function(e){var t=this;this._state=State.Fulfilled,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._reject=function(e){var t=this;this._state=State.Rejected,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._isPending=function(){return this._state===State.Pending},e.prototype._isFulfilled=function(){return this._state===State.Fulfilled},e.prototype._isRejected=function(){return this._state===State.Rejected},e.prototype._addHandler=function(e,t){this._handlers.push({onFulfilled:e,onRejected:t})},e.prototype._callHandler=function(e){this._isFulfilled()&&isFunction(e.onFulfilled)?e.onFulfilled(this._value):this._isRejected()&&isFunction(e.onRejected)&&e.onRejected(this._value)},e.prototype.then=function(t,n){var r=this;switch(this._state){case State.Pending:return new e(function(e,i){r._addHandler(function(n){nextTick(function(){try{isFunction(t)?e(t(n)):e(n)}catch(e){i(e)}})},function(t){nextTick(function(){try{isFunction(n)?e(n(t)):i(t)}catch(e){i(e)}})})});
1case State.Fulfilled:return new e(function(e,n){nextTick(function(){try{isFunction(t)?e(t(r._value)):e(r._value)}catch(e){n(e)}})});case State.Rejected:return new e(function(e,t){nextTick(function(){try{isFunction(n)?e(n(r._value)):t(r._value)}catch(e){t(e)}})})}},e}(),Promise$1="undefined"!=typeof Promise?Promise:TinyPromise;try{serverOnlyRequire=eval("require")}catch(err){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire;function promiseResolve(e){return new Promise$1(function(t){return t(e)})}function tinyFetch(e,t){return void 0===t&&(t={}),new Promise$1(function(n,r){var i=new XMLHttpRequest;if(i.open(t.method||"get",e,!0),t.headers)for(var o in t.headers)i.setRequestHeader(o,t.headers[o]);function a(){var e=[],t=[],n={},r=void 0;return i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(i,o,a){var s=o;return e.push(s=s.toLowerCase()),t.push([s,a]),r=n[s],n[s]=r?"".concat(r,",").concat(a):a,""}),{ok:(i.status/100|0)==2,status:i.status,statusText:i.statusText,url:i.responseURL,clone:a,text:function(){return promiseResolve(i.responseText)},json:function(){return promiseResolve(i.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([i.response]))},headers:{keys:function(){return e},entries:function(){return t},get:function(e){return n[e.toLowerCase()]},has:function(e){return e.toLowerCase() in n}}}}i.withCredentials="include"===t.credentials,i.onload=function(){n(a())},i.onerror=r,i.send(t.body)})}function getFetch(){var e=void 0;if(globalThis.fetch)null!=e||(e=globalThis.fetch);else if("undefined"==typeof window)try{null!=e||(e=serverOnlyRequire$1("node-fetch"))}catch(e){console.warn("node-fetch is not installed. consider polyfilling fetch or installing node-fetch."),console.warn(e)}return null!=e?e:tinyFetch}function assign(e){for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}function throttle(e,t,n){void 0===n&&(n={});var r,i,o,a=null,s=0,l=function(){s=!1===n.leading?0:Date.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,i=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}}var camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},Animator=function(){function e(){}return e.prototype.bindAnimations=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];switch(r.trigger){case"pageLoad":this.triggerAnimation(r);break;case"hover":this.bindHoverAnimation(r);break;case"scrollInView":this.bindScrollInViewAnimation(r)}}},e.prototype.warnElementNotPresent=function(e){console.warn("Cannot animate element: element with ID ".concat(e," not found!"))},e.prototype.augmentAnimation=function(e,t){for(var n=this.getAllStylesUsed(e),r=getComputedStyle(t),i=[e.steps[0].styles,e.steps[e.steps.length-1].styles],o=0,a=i;o<a.length;o++)for(var s=a[o],l=0,u=n;l<u.length;l++){var c=u[l];c in s||(s[c]=r[c])}},e.prototype.getAllStylesUsed=function(e){for(var t=[],n=0,r=e.steps;n<r.length;n++){var i=r[n];for(var o in i.styles)-1===t.indexOf(o)&&t.push(o)}return t},e.prototype.triggerAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}Array.from(n).forEach(function(n){t.augmentAnimation(e,n),n.style.transition="none",n.style.transitionDelay="0",assign(n.style,e.steps[0].styles),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s"),assign(n.style,e.steps[1].styles),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(e.delay||0)+1e3*e.duration+100)})})},e.prototype.bindHoverAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}
1Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=e.steps[0].styles,i=e.steps[1].styles;function o(){assign(n.style,r)}function a(){assign(n.style,i)}o(),n.addEventListener("mouseenter",a),n.addEventListener("mouseleave",o),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")})})},e.prototype.bindScrollInViewAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=!1,i=!1;function o(){!r&&s(n)?(r=!0,i=!0,setTimeout(function(){assign(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",a),setTimeout(function(){i=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!i&&!s(n)&&(r=!1,assign(n.style,e.steps[0].styles))}var a=throttle(o,200,{leading:!1});function s(t){var n=t.getBoundingClientRect(),r=window.innerHeight,i=(e.thresholdPercent||0)/100*r;return n.bottom>i&&n.top<r-i}var l=e.steps[0].styles;(function(){assign(n.style,l)})(),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",a,{capture:!0,passive:!0}),o()})},e}();function getTopLevelDomain(e){var t=e.split(".");return t.length>2?t.slice(1).join("."):e}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function e(e,t){this.request=e,this.response=t}return e.prototype.get=function(e){var t=this.request.headers.cookie;if(t){var n=t.match(getPattern(e));if(n)return n[1]}},e.prototype.set=function(e,t,n){var r=this.response,i=this.request,o=r.getHeader("Set-Cookie")||[],a=void 0!==this.secure?!!this.secure:"https"===i.protocol||i.connection.encrypted,s=new Cookie(e,t,n);if("string"==typeof o&&(o=[o]),!a&&n&&n.secure)throw Error("Cannot send secure cookie over unencrypted connection");return s.secure=a,n&&"secure"in n&&(s.secure=!!n.secure),s.domain=i.headers.host&&getTopLevelDomain(i.headers.host),pushCookie(o,s),r.setHeader.call(r,"Set-Cookie",o),this},e}(),Cookie=function(){function e(e,t,n){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(e))throw TypeError("argument name is invalid");if(t&&!fieldContentRegExp.test(t))throw TypeError("argument value is invalid");t||(this.expires=new Date(0)),this.name=e,this.value=t||"",n.expires&&(this.expires=n.expires),n.secure&&(this.secure=n.secure)}return e.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},e.prototype.toHeader=function(){var e=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(e+="; path=".concat(this.path)),this.expires&&(e+="; expires=".concat(this.expires.toUTCString())),this.domain&&(e+="; domain=".concat(this.domain)),e+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(e+="; secure"),this.httpOnly&&(e+="; httponly"),e},e}();function getPattern(e){return new RegExp("(?:^|;) *".concat(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(e,t){if(t.overwrite)for(var n=e.length-1;n>=0;n--)0===e[n].indexOf("".concat(t.name,"="))&&e.splice(n,1);e.push(t.toHeader())}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object.assign({},e),i=0,o=t;i<o.length;i++){var a=o[i];delete r[a]}return r}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse$1(e){var t,n=emptyUrl();
1return""===e||"/"===e[0]?(t=new URL(e,"http://0.0.0.0/"),n.href=t.href,n.href=n.href.slice(14)):(t=new URL(e),n.href=t.href,n.port=""===t.port?null:t.port,n.hash=""===t.hash?null:t.hash,n.host=t.host,n.hostname=t.hostname,n.href=t.href,n.pathname=t.pathname,n.protocol=t.protocol,n.slashes="/"===e[t.protocol.length]),n.search=t.search,n.query=t.search.slice(1),n.path="".concat(t.pathname).concat(t.search),n.pathname=t.pathname,n}function toError(e){return e instanceof Error?e:Error(String(e))}var DEFAULT_API_VERSION="v3";function datePlusMinutes(e){return void 0===e&&(e=30),new Date(Date.now()+6e4*e)}var isPositiveNumber=function(e){return"number"==typeof e&&!isNaN(e)&&e>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(e,t){for(var n=(e.split("?")[1]||"").split("&"),r=0;r<n.length;r++){var i=n[r].split("=");if(decodeURIComponent(i[0])===t)return decodeURIComponent(i[1])}return null}var urlParser={parse:function(e){var t=document.createElement("a");t.href=e;for(var n={},r=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"],i=0,o=r;i<o.length;i++){var a=o[i];n[a]=t[a]}return(n.pathname||""===n.pathname)&&"string"==typeof n.pathname&&0!==n.pathname.indexOf("/")&&(n.pathname="/"+n.pathname),n}},parse=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse$1;function setCookie(e,t,n){try{var r="";n&&(r="; expires="+n.toUTCString());var i=!isBrowser||"https:"===location.protocol;document.cookie=e+"="+(t||"")+r+"; path=/"+"; domain=".concat(getTopLevelDomain(location.hostname))+(i?"; secure; SameSite=None":"")}catch(e){console.warn("Could not set cookie",e)}}function getCookie(e){try{return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){console.warn("Could not get cookie",e)}}function size(e){return Object.keys(e).length}function find(e,t){for(var n=e,r=n.length>>>0,i=arguments[1],o=0;o<r;o++){var a=n[o];if(t.call(i,a,o,n))return a}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser="undefined"!=typeof window&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(e){return void 0===e&&(e={}),Builder.Component(e)}var Builder=function(){function e(t,n,r,i,o,a){void 0===t&&(t=null),void 0===i&&(i=!1),void 0===o&&(o=null);var s=this;if(this.request=n,this.response=r,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){s.processEventsQueue(),s.setCookie(sessionStorageKey,s.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.apiVersion$=new BehaviorSubject(void 0),this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!e.isBrowser&&!this.isDevelopmentEnv&&!(e.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.testCookiePrefix="builder.tests",this.cookieQueue=[],e.isBrowser&&!i&&e.singletonInstance)return e.singletonInstance;this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),t&&(this.apiKey=t),a&&(this.apiVersion=a),o&&(this.authToken=o),isBrowser&&(this.bindMessageListeners(),e.isEditing&&parent.postMessage({type:"builder.animatorOptions",data:{options:{version:2}}},"*")),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(e){if(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,s.sessionId)}catch(e){console.debug("Session storage error",e)}s.eventsQueue.length&&s.throttledClearEventsQueue(),s.cookieQueue.length&&(s.cookieQueue.forEach(function(e){s.setCo
1okie(e[0],e[1])}),s.cookieQueue.length=0)}}),isBrowser&&(this.setTestsFromUrl(),this.getOverridesFromQueryString())}return e.register=function(t,n){var r=this.registry[t];if(r||(r=this.registry[t]=[]),r.push(n),e.isBrowser){var i={type:"builder.register",data:{type:t,info:n}};try{parent.postMessage(i,"*"),parent!==window&&window.postMessage(i,"*")}catch(e){console.debug("Could not postmessage",e)}}this.registryChange.next(this.registry)},e.registerEditor=function(t){if(e.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(t,"component")},"*");var n=location.hostname;e.isTrustedHost(n)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(t)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerAction=function(e){this.actions.push(e)},e.registerTrustedHost=function(e){this.trustedHosts.push(e)},e.setServerContext=function(e){this.serverContext=e},e.isTrustedHost=function(e){return this.trustedHosts.findIndex(function(t){return t.startsWith("*.")?e.endsWith(t.slice(1)):t===e})>-1},e.runAction=function(e){if(!("string"==typeof e?find(this.actions,function(t){return t.name===e}):e))throw Error("Action not found: ".concat(e))},e.fields=function(e,t){var n;null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.fields",data:{name:e,fields:t}},"*")},e.set=function(t){e.register("editor.settings",t)},e.import=function(t){if(!e.isBrowser){console.warn("Builder.import used on the server - this should only be used in the browser");return}var n=window.System;if(!n){console.warn("System.js not available. Please include System.js when using Builder.import");return}return n.import("https://cdn.builder.io/systemjs/".concat(t))},Object.defineProperty(e,"editingPage",{get:function(){return this._editingPage},set:function(e){this._editingPage=e,isBrowser&&isIframe&&(e?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),e.prepareComponentSpecToSend=function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),e.inputs&&{inputs:e.inputs.map(function(e){for(var t,n=["onChange","showIf"],r=0,i=n;r<i.length;r++){var o=i[r];if(e[o]&&"function"==typeof e[o]){var a=e[o];e=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),((t={})[o]="return (".concat(a.toString(),").apply(this, arguments)"),t))}}return e})}),{hooks:Object.keys(e.hooks||{}).reduce(function(t,n){var r=e.hooks&&e.hooks[n];return r&&("string"==typeof r?t[n]=r:t[n]="return (".concat(r.toString(),").apply(this, arguments)")),t},{}),class:void 0})},e.registerBlock=function(e,t){this.registerComponent(e,t)},e.registerComponent=function(e,t){var n,r=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({class:e},e.builderOptions),t);if(this.addComponent(r),t.models&&this.singletonInstance.editingModel?isBrowser&&t.models.includes(this.singletonInstance.editingModel):isBrowser){var i=this.prepareComponentSpecToSend(r);null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerComponent",data:i},"*")}},e.addComponent=function(e){var t=find(this.components,function(t){return t.name===e.name});if(t){if(t.class&&!e.class)return;this.components.splice(this.components.indexOf(t),1,e)}else this.components.push(e)},e.component=function(e){var t=this;return void 0===e&&(e={}),function(n){var r,i=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{class:n});i.name||(i.name=n.name),t.addComponent(i);var o=t.prepareComponentSpecToSend(i);return isBrowser&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.registerComponent",data:o},"*")),n}},Object.defineProperty(e,"Component",{get:function(){return this.component}
1,enumerable:!1,configurable:!0}),e.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var t=this.eventsQueue;this.eventsQueue=[];for(var n=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e.overrideUserAttributes),this.trackingUserAttributes),r=0,i=t;r<i.length;r++){var o=i[r];o.data.metadata||(o.data.metadata={}),o.data.metadata.user||(o.data.metadata.user={}),Object.assign(o.data.metadata.user,n,o.data.metadata.user)}var a=this.host;getFetch()("".concat(a,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:t}),headers:{"content-type":"application/json"},mode:"cors"}).catch(function(){})}},Object.defineProperty(e.prototype,"browserTrackingDisabled",{get:function(){return e.isBrowser&&!!(window.builderNoTrack||!navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(e){this.canTrack!==e&&this.canTrack$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiVersion",{get:function(){return this.apiVersion$.value},set:function(e){this.apiVersion!==e&&this.apiVersion$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(e){e!==this.editingMode&&this.editingMode$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(e){e!==this.editingModel&&this.editingModel$.next(e)},enumerable:!1,configurable:!0}),e.prototype.findParentElement=function(e,t,n){if(void 0===n&&(n=!0),!(e instanceof HTMLElement))return null;var r=n?e:e.parentElement;do{if(!r)break;if(t(r))return r}while(r=r.parentElement);return null},e.prototype.findBuilderParent=function(e){return this.findParentElement(e,function(e){var t=e.getAttribute("builder-id")||e.id;return!!(t&&0===t.indexOf("builder-"))})},e.prototype.setUserAgent=function(e){this.userAgent=e||""},e.prototype.setTrackingHook=function(e){this.trackingHooks.push(e)},e.prototype.track=function(t,n,r){if(void 0===n&&(n={}),!isIframe&&isBrowser&&!e.isPreviewing){var i=this.apiKey;if(!i){console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("\xabYOUR-API-KEY\xbb");` as early as possible in your application\'s code.');return}for(var o=JSON.parse(JSON.stringify({type:t,data:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},omit(n,"meta")),{metadata:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({sdkVersion:e.VERSION,url:location.href},n.meta),n.metadata),ownerId:i,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),a=0,s=this.trackingHooks;a<s.length;a++){var l=(0,s[a])(o,r||{});l&&(o=l)}this.eventsQueue.push(o),this.canTrack&&this.throttledClearEventsQueue()}},e.prototype.getSessionId=function(){var t=this,n=null;try{e.isBrowser&&"undefined"!=typeof sessionStorage&&(n=this.getCookie(sessionStorageKey))}catch(e){console.debug("Session storage error",e)}return n||(n=uuid()),e.isBrowser&&setTimeout(function(){try{t.canTrack&&t.setCookie(sessionStorageKey,n,datePlusMinutes(30))}catch(e){console.debug("Cookie setting error",e)}}),n},e.prototype.getVisitorId=function(){var t=this;if(this.visitorId)return this.visitorId;var n=null;try{e.isBrowser&&"undefined"!=typeof localStorage&&(n=localStorage.getItem(localStorageKey))}catch(e){console.debug("Local storage error",e)}return n||(n=uuid()),this.visitorId=n,e.isBrowser&&setTimeout(function(){try{t.canTrack&&"undefined"!=typeof localStorage&&n&&localStorage.setItem(localStorageKey,n)}catch(e){console.debug("Session storage error",e)}}),n},e.prototype.trackImpression=function(t,n,r,i){isIframe||!isBrowser||e.isPreviewing||this.track("impression",{contentId:t,variationId:n!==t?n:void 0,metadata:r},i)},e.prototype.trackConversion=function(t,n,r,i,o){if(!isIframe&&isBrowser&&!e.isPreviewing){var a="object"==typeof n?n:i,s="string"==typeof n?n:void 0;this.track("conversion",{amount:t,variationId:r,meta:a,contentId:s},o)}},Object.defineProperty(e.prototype,"isDevelopmentEnv",{get:function(){return e.isIframe||e.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env}
vendor: 5,475 bytes, line 1
1,enumerable:!1,configurable:!0}),e.prototype.trackInteraction=function(t,n,r,i,o){if(void 0===r&&(r=!1),!isIframe&&isBrowser&&!e.isPreviewing){var a=i&&i.target,s=a&&this.findBuilderParent(a),l={};if(i){var u=i.clientX,c=i.clientY;if(a){var d=a.getBoundingClientRect(),f=u-d.left,p=c-d.top,h=g(f/d.width),m=g(p/d.height);l.targetOffset={x:h,y:m}}if(s){var d=s.getBoundingClientRect(),f=u-d.left,p=c-d.top,h=g(f/d.width),m=g(p/d.height);l.builderTargetOffset={x:h,y:m}}}var v=s&&(s.getAttribute("builder-id")||s.id);v&&s&&(l.builderElementIndex=[].slice.call(document.getElementsByClassName(v)).indexOf(s)),this.track("click",{contentId:t,metadata:l,variationId:n!==t?n:void 0,unique:!r,targetBuilderElement:v||void 0},o)}function g(e){return Math.round(1e3*e)/1e3}},e.prototype.component=function(t){return void 0===t&&(t={}),e.component(t)},Object.defineProperty(e.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(e){this.apiKey$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(e){this.authToken$.next(e)},enumerable:!1,configurable:!0}),e.prototype.modifySearch=function(e){return e.replace(/(^|&|\?)(builder_.*?)=/gi,function(e,t,n){return t+n.replace(/_/g,".")+"="})},e.prototype.setTestsFromUrl=function(){var e=this.getLocation().search,t=QueryString.parseDeep(this.modifySearch(e||"").substr(1)),n=t.builder&&t.builder.tests;if(n&&"object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&this.setTestCookie(r,n[r])},e.prototype.resetOverrides=function(){e.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},e.prototype.getOverridesFromQueryString=function(){var t=this.getLocation(),n=QueryString.parseDeep(this.modifySearch(t.search||"").substr(1)),r=n.builder;if(r){var i=r.userAttributes,o=r.overrides,a=r.env;r.host;var s=r.api,l=r.cachebust,u=r.noCache,c=r.preview,d=r.editing,f=r.frameEditing,p=r.options,h=r.params;if(i&&this.setUserAttributes(i),p&&(this.queryOptions=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},p.locale&&{locale:p.locale}),p.includeRefs&&{includeRefs:p.includeRefs}),p.enrich&&{enrich:p.enrich})),o&&(this.overrides=o),validEnvList.indexOf(a||s)>-1&&(this.env=a||s),e.isEditing){var m=f||d||c;m&&"true"!==m&&(this.editingModel=m)}l&&(this.cachebust=!0),u&&(this.noCache=!0),c&&(this.preview=!0),n&&(this.overrideParams=h)}},e.prototype.messageFrameLoaded=function(){var e;null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.loaded",data:{value:!0}},"*")},e.prototype.bindMessageListeners=function(){var t=this;isBrowser&&addEventListener("message",function(n){var r,i,o,a,s,l=parse(n.origin),u=-1===["builder.register","builder.registerComponent"].indexOf(null===(r=n.data)||void 0===r?void 0:r.type),c=l.hostname&&e.isTrustedHost(l.hostname);if(!u||c){var d=n.data;if(d)switch(d.type){case"builder.ping":null===(i=window.parent)||void 0===i||i.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(n.source===window)break;var f=d.data;if(!f)break;var p=f.type,h=f.info,m=e.registry[p];m||(m=e.registry[p]=[]),m.push(h),e.registryChange.next(e.registry);break;case"builder.settingsChange":if(n.source===window)break;var v=d.data;if(!v)break;Object.assign(e.settings,v),e.settingsChange.next(e.settings);break;case"builder.registerEditor":if(n.source===window)break;var g=d.data;if(!g)break;var y=!!g.component;e.editors.every(function(t,n){return g.name!==t.name||(t.component&&!y||(e.editors[n]=t),!1)});break;case"builder.triggerAnimation":e.animator.triggerAnimation(d.data);break;case"builder.contentUpdate":var b=d.data.key||d.data.alias||d.data.entry||d.data.modelName,w=d.data.data,x=t.observersByKey[b];x&&!t.noEditorUpdates[b]&&x.next([w]);break;case"builder.getComponents":null===(o=window.parent)||void 0===o||o.postMessage({type:"builder.components",data:e.components.map(function(t){return e.prepareComponentSpecToSend(t)})},"*");break;case"builder.editingModel":t.editingModel=d.data.model;break;case"builder.registerComponent":var E=d.data;e.addComponent(E);break;case"builder.blockContentLoading":"string"==typeof d.data.model&&(t.blockContentLoading=d.data.model);break;case"builder.editingMode":d.data?(t.editingMode=!0,document.body.classList.add("builder-editing")):(t.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var _=d.data;e.editingPage=_;break;case"builder.overrideUserAttributes":var k=d.data;assign(e.overrideUserAttributes,k),t.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var S=d.data,C=S.variationId,O=S.contentId;C&&O&&(t.setTestCookie(O,C),t.flushGetContentQueue(!0));break;case"builder.evaluate":var T=d.data.text,j=d.data.arguments||[],P=d.data.id,R=Function(T),A=void 0,I=null;try{A=R.apply(t,j)}catch(e){I=toError(e)}I?null===(a=window.parent)||void 0===a||a.postMessage({type:"builder.evaluateError",data:{id:P,error:I.message}},"*"):A&&"function"==typeof A.then?A.then(function(e){var t;null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.evaluateResult",data:{id:P,result:e}},"*")}).catch(console.error):null===(s=window.parent)||void 0===s||s.postMessage({type:"builder.evaluateResult",data:{result:A,id:P}},"*")}}})}
1,Object.defineProperty(e.prototype,"defaultCanTrack",{get:function(){return!!(e.isBrowser&&navigator.userAgent.trim()&&!navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)&&!this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),e.prototype.init=function(e,t,n,r,i,o){return void 0===t&&(t=this.defaultCanTrack),n&&(this.request=n),r&&(this.response=r),this.canTrack=t,this.apiKey=e,i&&(this.authToken=i),o&&(this.apiVersion=o),this},Object.defineProperty(e.prototype,"previewingModel",{get:function(){var e=this.getLocation().search;return QueryString.parse((e||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),e.prototype.getLocation=function(){var e,t={};return this.request?t=parse(null!==(e=this.request.url)&&void 0!==e?e:""):"object"==typeof location&&(t=parse(location.href)),""===t.pathname&&(t.pathname="/"),t},e.prototype.getUserAttributes=function(t){void 0===t&&(t=this.userAgent||"");var n={Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},iOS:function(){return t.match(/iPhone|iPod/i)},Opera:function(){return t.match(/Opera Mini/i)},Windows:function(){return t.match(/IEMobile/i)||t.match(/WPDesktop/i)},any:function(){return n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()}},r=t.match(/Tablet|iPad/i),i=this.getLocation();return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({urlPath:i.pathname,host:i.host||i.hostname,device:r?"tablet":n.any()?"mobile":"desktop"},e.overrideUserAttributes)},e.prototype.setUserAttributes=function(t){assign(e.overrideUserAttributes,t),this.userAttributesChanged.next(t)},e.prototype.setTrackingUserAttributes=function(e){assign(this.trackingUserAttributes,e)},e.prototype.get=function(t,n){void 0===n&&(n={});var r=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):(r=new e(n.apiKey||this.apiKey,n.req,n.res,void 0,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),r.queueGetContent(t,n).map(function(t){var n=t&&t[0];if(e.isStatic)return n;var r=n&&n.data;return r?(void 0!==r.blocksString&&(r.blocks=JSON.parse(r.blocksString),delete r.blocksString),{data:r,id:n.id,variationId:n.testVariationId||n.variationId||null,testVariationId:n.testVariationId||n.variationId||null,testVariationName:n.testVariationName||null,lastUpdated:n.lastUpdated||null}):null})},e.prototype.queueGetContent=function(t,n){var r=this;void 0===n&&(n={});var i=n.key||n.alias||t,o=this.editingModel===t,a=this.observersByKey[i];"DEMO"!==this.apiKey||this.overrides[i]||n.initialContent||(n.initialContent=[]);var s=n.initialContent;if(a&&(!a.value||n.cache))return a.value&&nextTick(function(){a.next(a.value)}),a;if(o&&e.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:n}},"*"),!s){if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},n),{model:t,key:i})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var l=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){r.flushGetContentQueue(!1,l)})}else nextTick(function(){r.flushGetContentQueue()})}var u=new BehaviorSubject(null);return this.observersByKey[i]=u,n.noEditorUpdates&&(this.noEditorUpdates[i]=!0),s&&nextTick(function(){u.next(s)}),u},e.prototype.requestUrl=function(e,t){return getFetch()(e,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({next:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({revalidate:1},null==t?void 0:t.next)},t)).then(function(e){return e.json()})}
1,Object.defineProperty(e.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return e.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),e.prototype.flushGetContentQueue=function(t,n){var r=this;if(void 0===t&&(t=!1),!this.apiKey)throw Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(this.apiVersion){if(!["v1","v3"].includes(this.apiVersion))throw Error("Invalid apiVersion: expected 'v1' or 'v3', received '".concat(this.apiVersion,"'"))}else this.apiVersion=DEFAULT_API_VERSION;if(t||this.getContentQueue){var i=n||(t?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var o=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({omit:i[0].omit||"meta.componentsUsed",apiKey:this.apiKey},i[0].options),this.queryOptions);i[0].locale&&(o.locale=i[0].locale),i[0].fields&&(o.fields=i[0].fields),i[0].format&&(o.format=i[0].format),"noTraverse"in i[0]&&(o.noTraverse=i[0].noTraverse),"includeUnpublished"in i[0]&&(o.includeUnpublished=i[0].includeUnpublished),i[0].sort&&(o.sort=i[0].sort);var a="undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):{},s=i&&i[0].userAttributes?i[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(i.find(function(e){return!!e.includeUrl})){var l=this.getLocation();l.origin&&(o.url="".concat(l.origin).concat(l.pathname).concat(l.search))}var u=null==n?void 0:n.find(function(e){return e.url});if((null==u?void 0:u.url)&&(s.urlPath=u.url.split("?")[0]),o.userAttributes=s,t||n||(this.priorContentQueue=i,this.getContentQueue=null),(this.cachebust||isIframe||a.cachebust||a["builder.cachebust"]||"production"!==this.env)&&(o.cachebust=!0),e.isEditing&&(o.isEditing=!0),(this.noCache||"production"!==this.env)&&(o.noCache=!0),size(this.overrides))for(var c in this.overrides)this.overrides.hasOwnProperty(c)&&(o["overrides.".concat(c)]=this.overrides[c]);for(var d=0,f=i;d<f.length;d++){var p=f[d];p.format&&(o.format=p.format),p.static&&(o.static=p.static),p.cachebust&&(o.cachebust=p.cachebust),isPositiveNumber(p.cacheSeconds)&&(o.cacheSeconds=p.cacheSeconds),isPositiveNumber(p.staleCacheSeconds)&&(o.staleCacheSeconds=p.staleCacheSeconds);for(var h=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static"],m=0,v=h;m<v.length;m++){var c=v[m],g=p[c];void 0!==g&&(o.options=o.options||{},o.options[p.key]=o.options[p.key]||{},o.options[p.key][c]=JSON.stringify(g))}}this.preview&&(o.preview="true");var y=Object.keys(o).length>0,b=this.host,w=i.map(function(e){return encodeURIComponent(e.key)}).join(",");this.overrideParams&&assign(o,omit(QueryString.parse(this.overrideParams),"apiKey"));var x=QueryString.stringifyDeep(o),E=o.format,_={headers:{},next:{revalidate:1}};this.authToken&&(_.headers=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},_.headers),{Authorization:"Bearer ".concat(this.authToken)}));var k="solid"===E||"react"===E?"codegen":"query",S="query"===k?this.apiVersion:"v1",C="".concat(b,"/api/").concat(S,"/").concat(k,"/").concat(this.apiKey,"/").concat(w)+(o&&y?"?".concat(x):"");return getFetch()(C,_).then(function(e){return e.json()}).then(function(t){for(var n=0,o=i;n<o.length;n++){var a=o[n],s=a.key;if(a.model!==r.blockContentLoading||a.noEditorUpdates){r.editingModel===a.model&&e.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:a}},"*");var l=r.observersByKey[s];if(!l)return;var u=t[s],c=u;if(u){var d=e.isServer?c:r.processResultsForTests(c);l.next(d)}else{if((r.getLocation().search||"").includes("builder.preview="+a.model)){var f={id:"preview",name:"Preview",data:{}};l.next([f])}l.next([])}}}},function(e){for(var t=0,n=i;t<n.length;t++){var o=n[t],a=r.observersByKey[o.key];if(!a)return;a.error(e)}})}},e.prototype.processResultsForTests=function(e){var t,n=this,r=e.map(function(e){if(!e.variations)return e;var t=n.getTestCookie(e.id),r=t===e.id?e:e.variations[t];if(r)return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{data:r.data,variationId:t,testVariationId:t,testVariationName:r.name});if(n.canTrack&&e.variations&&size(e.variations)){var i=0,o=Math.random();for(var a in e.variations){var s=e.variations[a];if(o<(i+=s.testRatio)){n.setTestCookie(e.id,s.id);var l=s.name||(s.id===e.id?"Default variation":"");return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{data:s.data,variationId:s.id,testVariationId:s.id,variationName:l,testVariationName:l})}}n.setTestCookie(e.id,e.id)}return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{variationId:e.id}),e.variations&&size(e.variations)&&{testVariationId:e.id,testVariationName:"Default variation"})});return isIframe&&(null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.contentResults",data:{results:r}},"*")),r},e.prototype.getTestCookie=function(e){return this.getCookie("".concat(this.testCookiePrefix,".").concat(e))},e.prototype.setTestCookie=function(e,t){if(!this.canTrack){this.cookieQueue.push([e,t]);return}var n=new Date;return n.setDate(n.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(e),t,n)},e.prototype.getCookie=function(t){return this.cookies?this.cookies.get(t):e.isBrowser&&getCookie(t)},e.prototype.setCookie=function(t,n,r){return this.cookies&&!(e.isServer&&e.isStatic)?this.cookies.set(t,n,{expires:r,secure:"https:"===this.getLocation().protocol}
1):e.isBrowser&&setCookie(t,n,r)},e.prototype.getContent=function(e,t){if(void 0===t&&(t={}),!this.apiKey)throw Error("Fetching content from model ".concat(e," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(e,t)},e.prototype.getAll=function(t,n){void 0===n&&(n={});var r=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):(r=new e(n.apiKey||this.apiKey,n.req,n.res,!1,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),"noTraverse"in n||(n.noTraverse=!0),r.getContent(t,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({limit:30},n),{key:n.key||e.isBrowser?"".concat(t,":").concat(hash_sum__WEBPACK_IMPORTED_MODULE_0___default()(omit(n,"initialContent","req","res"))):void 0})).promise()},e.VERSION=version,e.components=[],e.isStatic=!0,e.animator=new Animator,e.nextTick=nextTick,e.throttle=throttle,e.editors=[],e.trustedHosts=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"],e.plugins=[],e.actions=[],e.registry={},e.registryChange=new BehaviorSubject({}),e._editingPage=!1,e.isIframe=isIframe,e.isBrowser=isBrowser,e.isReactNative=isReactNative,e.isServer=!isBrowser&&!isReactNative,e.previewingModel=e.isBrowser&&getQueryParam(location.href,"builder.preview"),e.settings={},e.settingsChange=new BehaviorSubject({}),e.isEditing=!!(isIframe&&(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),e.isPreviewing=!!(isBrowser&&(-1!==location.search.indexOf("builder.preview=")||-1!==location.search.indexOf("builder.frameEditing="))),e.isReact=!1,e.overrideUserAttributes={},e}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder},29726:function(e,t,n){"use strict";n.d(t,{pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}},65271:function(e,t,n){"use strict";r={value:!0};var r,i=n(5152),o=n(18202),a=n(65061),s=n(41820),l=n(67516),u=n(91920);o.Builder.registerComponent(i.default(function(){return Promise.resolve().then(function(){return n(63678)}).then(function(e){return e.CarouselComponent})}),a.carouselConfig),o.Builder.registerComponent(i.default(function(){return Promise.resolve().then(function(){return n(90816)}).then(function(e){return e.TabsComponent})}),s.tabsConfig),o.Builder.registerComponent(i.default(function(){return Promise.resolve().then(function(){return n(45627)}).then(function(e){return e.AccordionComponent})}),l.accordionConfig),o.Builder.registerComponent(i.default(function(){return Promise.resolve().then(function(){return n(78035)}).then(function(e){return e.MasonryComponent})}),u.masonryConfig)},67516:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={"@type":"@builder.io/sdk:Element",layerName:"Accordion item title",responsiveStyles:{large:{marginTop:"10px",position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"left",display:"flex",flexDirection:"column"}},component:{name:"Text",options:{text:"I am an accordion title. Click me!"}}}]},r={"@type":"@builder.io/sdk:Element",layerName:"Accordion item detail",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",marginTop:"10px",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingTop:"50px",textAlign:"left",display:"flex",flexDirection:"column",paddingBottom:"50px"}},component:{name:"Text",options:{text:"I am an accordion detail, hello!"}}}]};t.accordionConfig={name:"Builder:Accordion",canHaveChildren:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",defaultStyles:{display:"flex",flexDirection:"column",alignItems:"stretch"},inputs:[{name:"items",type:"list",broadcast:!0,subFields:[{name:"title",type:"uiBlocks",hideFromUI:!0,defaultValue:[n]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[r]}],defaultValue:[{title:[n],detail:[r]},{title:[n],detail:[r]}],showIf:function(e){return!e.get("useChildrenForItems")}},{name:"oneAtATime",helperText:"Only allow opening one at a time (collapse all others when new item openned)",type:"boolean",defaultValue:!1},{name:"grid",helperText:"Display as a grid",type:"boolean",defaultValue:!1},{name:"gridRowWidth",helperText:"Display as a grid",type:"string",showIf:function(e){return e.get("grid")},defaultValue:"25%"},{name:"useChildrenForItems",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating items",advanced:!0,defaultValue:!1,onChange:function(e){!0===e.get("useChildrenForItems")&&e.set("items",[])}}]}},45627:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(18202),a=n(67294),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.divRef=null,t.state={open:[]},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout(function(){e.divRef&&e.divRef.dispatchEvent(new CustomEvent("builder:accordion:load",{bubbles:!0,cancelable:!1,detail:{ref:e}}))})},t.prototype.getAccordionItem=function(e,t,n,r,s,l){var u=this;void 0===l&&(l=!1);var c=-1!==this.state.open.indexOf(n),d=this.props.grid;return a.createElement(a.Fragment,{key:n},a.createElement("div",{className:"builder-accordion-title builder-accordion-title-"+(c?"open":"closed"),style:i({cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"stretch"},d&&i({width:this.props.gridRowWidth},"number"==typeof r&&{order:n<r?n:n+1})),"data-index":n,onClick:function(){c?u.setState(i(i({},u.state),{open:s?[]:u.state.open.filter(function(e){return e!==n})})):u.setState(i(i({},u.state),{open:s?[n]:u.state.open.concat(n)}))}},l?e.map(function(e,t){return a.createElement(o.BuilderBlockComponent,{key:t,block:i(i({},e),{repeat:null}),index:t,child:!0})}):a.createElement(o.BuilderBlocks,{blocks:e,dataPath:"items."+n+".title"})),c&&a.createElement("div",{className:"builder-accordion-detail builder-accordion-detail-"+(c?"open":"closed"),style:i({order:"number"==typeof r?r:void 0},d&&{width:"100%"})},c&&(l?t.map(function(e,t){return a.createElement(o.BuilderBlockComponent,{key:t,block:i(i({},e),{repeat:null}),index:t,child:!0})}):a.createElement(o.BuilderBlocks,{blocks:t,dataPath:"items."+n+".detail"}))))},t.prototype.render=function(){var e=this,t=this.props,n=t.grid,r=t.oneAtATime,s=!!(n||r),l=n&&this.state.open.length,u=null;if(l&&this.divRef){var c=this.state.open[0],d=this.divRef.querySelector('.builder-accordion-title[data-index="'+c+'"]');if(u=c,d){for(var f=d.getBoundingClientRect();d=d&&d.nextElementSibling;)if(d){if(d.classList.contains("builder-accordion-detail"))continue;var p=d.getBoundingClientRect();if(p.left>f.left){var h=parseInt(d.getAttribute("data-index")||"",10);isNaN(h)||(f=p,u=h)}else break}}}return"number"==typeof u&&(u+=1),a.createElement(o.BuilderAsyncRequestsContext.Consumer,null,function(t){return e._errors=t&&t.errors,e._logs=t&&t.logs,a.createElement(o.BuilderStoreContext.Consumer,null,function(t){return a.createElement("div",{ref:function(t){return e.divRef=t},className:"builder-accordion",style:i({display:"flex",alignItems:"stretch",flexDirection:"column"},n&&{flexDirection:"row",alignItems:"flex-start",flexWrap:"wrap"})},e.props.useChildrenForItems?e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(n,r){if(n.repeat&&n.repeat.collection){var l=n.repeat.collection,c=(l||"").split(/\.\w+\(/)[0].trim().split(".").pop(),d=n.repeat.itemName||(c?c+"Item":"item"),f=o.stringToFunction(l,!0,e._errors,e._logs)(t.state);if(Array.isArray(f))return f.map(function(r,l){var c,f=i(i({},t.state),((c={$index:l,$item:r})[d]=r,c));return a.createElement(o.BuilderStoreContext.Provider,{key:n.id,value:i(i({},t),{state:f})},e.getAccordionItem(n.children?[n.children[0]]:[],n.children?[n.children[1]]:[],l,u,s,!0))})}return e.getAccordionItem(n.children?[n.children[0]]:[],n.children?[n.children[1]]:[],r,u,s,!0)}):e.props.items&&e.props.items.map(function(t,n){return e.getAccordionItem(t.title,t.detail,n,u,s)}))})})},t}(a.Component);t.AccordionComponent=s},65061:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0});var r={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",height:"400px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"50px",textAlign:"center",display:"flex",flexDirection:"column"}},component:{name:"Text",options:{text:"I am a slide"}}}]},i={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",height:"30px"}}};t.carouselConfig={name:"Builder:Carousel",canHaveChildren:!0,defaultStyles:{paddingLeft:"30px",paddingRight:"30px",paddingBottom:"30px"},inputs:[{name:"slides",type:"list",broadcast:!0,subFields:[{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[r]}],defaultValue:[{content:[r]},{content:[r]}],showIf:function(e){return!e.get("useChildrenForSlides")}},{name:"hideDots",helperText:"Show pagination dots",type:"boolean",defaultValue:!1},{name:"autoplay",helperText:"Automatically rotate to the next slide every few seconds",type:"boolean",defaultValue:!1},{name:"autoplaySpeed",type:"number",defaultValue:5,helperText:"If auto play is on, how many seconds to wait before automatically changing each slide",showIf:function(e){return e.get("autoplay")}},{name:"prevButton",type:"uiBlocks",hideFromUI:!0,defaultValue:[n(n({},i),{component:{name:"Image",options:{image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Fd909a5b91650499c9e0524cc904eeb77"}}})]},{name:"nextButton",type:"uiBlocks",hideFromUI:!0,defaultValue:[n(n({},i),{component:{name:"Image",options:{image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Fdb2a9827561249aea3817b539aacdcdc"}}})]},{name:"useChildrenForSlides",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating slides",advanced:!0,defaultValue:!1,onChange:function(e){!0===e.get("useChildrenForSlides")&&e.set("slides",[])}},{name:"responsive",type:"array",helperText:"Responsive settings - e.g. see https://kenwheeler.github.io/slick/",advanced:!0,defaultValue:[{width:3e3,slidesToShow:2,slidesToScroll:2},{width:400,slidesToShow:1,slidesToScroll:1}],subFields:[{name:"breakpoint",type:"number",defaultValue:400,required:!0},{name:"settings",type:"object",defaultValue:{slidesToShow:2,slidesToScroll:2},subFields:[{name:"slidesToShow",type:"number",defaultValue:2},{name:"slidesToScroll",type:"number",defaultValue:2},{name:"infinite",type:"boolean",defaultValue:!0},{name:"dots",type:"boolean",defaultValue:!0}]}]}]}},63678:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(18202),a=n(67294),s=n(69495),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.divRef=a.createRef(),t.sliderRef=a.createRef(),t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout(function(){var t;null===(t=e.divRef.current)||void 0===t||t.dispatchEvent(new CustomEvent("builder:carousel:load",{bubbles:!0,cancelable:!1,detail:{block:e.props.builderBlock,carousel:e.sliderRef.current}}))})},t.prototype.render=function(){var e=this,t=this.props.slides;return t&&!o.Builder.isBrowser&&(t=t.slice(0,1)),a.createElement(o.BuilderAsyncRequestsContext.Consumer,null,function(t){return e._errors=t&&t.errors,e._logs=t&&t.logs,a.createElement(o.BuilderStoreContext.Consumer,null,function(t){return a.createElement("div",{ref:e.divRef,className:"builder-carousel"},o.Builder.isServer?a.createElement("style",{type:"text/css",dangerouslySetInnerHTML:{__html:u}}):a.createElement("style",{type:"text/css"},u),a.createElement(s.default,i({responsive:e.props.responsive,ref:e.sliderRef,afterChange:function(t){var n;e.divRef&&(null===(n=e.divRef.current)||void 0===n||n.dispatchEvent(new CustomEvent("builder:carousel:change",{bubbles:!0,cancelable:!1,detail:{slide:t,block:e.props.builderBlock,carousel:e.sliderRef.current}})))},autoplay:e.props.autoplay,autoplaySpeed:e.props.autoplaySpeed?1e3*e.props.autoplaySpeed:void 0,dots:!e.props.hideDots,nextArrow:a.createElement("div",null,a.createElement(o.BuilderBlocks,{parentElementId:e.props.builderBlock.id,dataPath:"component.options.prevButton",blocks:e.props.prevButton})),prevArrow:a.createElement("div",null,a.createElement(o.BuilderBlocks,{parentElementId:e.props.builderBlock.id,dataPath:"component.options.nextButton",blocks:e.props.nextButton}))},e.props.slickProps),e.props.useChildrenForSlides?e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(n,r){if(n.repeat&&n.repeat.collection){var s=n.repeat.collection,l=(s||"").split(/\.\w+\(/)[0].trim().split(".").pop(),u=n.repeat.itemName||(l?l+"Item":"item"),c=o.stringToFunction(s,!0,e._errors,e._logs)(t.state);if(Array.isArray(c))return o.Builder.isBrowser||(c=c.slice(0,1)),c.map(function(e,r){var s,l=i(i({},t.state),((s={})[u]=e,s.$index=r,s.$item=e,s));return a.createElement(o.BuilderStoreContext.Provider,{key:n.id,value:i(i({},t),{state:l})},a.createElement(o.BuilderBlockComponent,{block:i(i({},n),{repeat:null}),index:r,child:!0}))})}return a.createElement(o.BuilderBlockComponent,{key:n.id,block:n,index:r,child:!0})}):e.props.slides&&e.props.slides.map(function(t,n){return a.createElement(o.BuilderBlocks,{key:n,parentElementId:e.props.builderBlock&&e.props.builderBlock.id,dataPath:"component.options.slides."+n+".content",child:!0,blocks:t.content||t})})))})})},t}(a.Component);t.CarouselComponent=l;var u="@charset 'UTF-8';\n  .slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,
10,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{top:0;left:0}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:auto;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}\n  .slick-dots,.slick-next,.slick-prev{position:absolute;display:block;padding:0}.slick-dots li button:before,.slick-next:before,.slick-prev:before{font-family:slick;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-loading .slick-list{background:url(ajax-loader.gif) center center no-repeat #fff}@font-face{font-display:swap;font-family:slick;font-weight:400;font-style:normal;src:url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.eot);src:local(\"slick\"),url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.eot?#iefix) format('embedded-opentype'),url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.woff) format('woff'),url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.ttf) format('truetype'),url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.svg#slick) format('svg')}.slick-next,.slick-prev{font-size:0;line-height:0;top:50%;width:20px;height:20px;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);cursor:pointer;color:transparent;border:none;outline:0;background:0 0}.slick-next:focus,.slick-next:hover,.slick-prev:focus,.slick-prev:hover{color:transparent;outline:0;background:0 0}.slick-next:focus:before,.slick-next:hover:before,.slick-prev:focus:before,.slick-prev:hover:before{opacity:1}.slick-next.slick-disabled:before,.slick-prev.slick-disabled:before{opacity:.25}.slick-next:before,.slick-prev:before{font-size:20px;line-height:1;opacity:.75;color:#fff}.slick-prev{left:-25px}[dir=rtl] .slick-prev{right:-25px;left:auto}.slick-prev:before{content:''}.slick-next:before,[dir=rtl] .slick-prev:before{content:''}.slick-next{right:-25px}[dir=rtl] .slick-next{right:auto;left:-25px}[dir=rtl] .slick-next:before{content:'•\x90'}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{bottom:-25px;width:100%;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:0;background:0 0}.slick-dots li button:focus,.slick-dots li button:hover{outline:0}.slick-dots li button:focus:before,.slick-dots li button:hover:before{opacity:1}.slick-dots li button:before{font-size:6px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:'•';text-align:center;opacity:.25;color:#000}.slick-dots li.slick-active button:before{opacity:.75;color:#000}\n  .builder-carousel img { pointer-events: none }\n"},91920:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return n(n({},i),{component:n(n({},i.component),{options:n(n({},i.component.options),{aspectRatio:Math.round((1.5*Math.random()+.5)*100)/100})})})},i={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",position:"relative",flexShrink:"0",boxSizing:"border-box",marginTop:"20px",minHeight:"20px",minWidth:"20px",overflow:"hidden",marginLeft:"20px"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d?width=2000&height=1200",backgroundSize:"cover",backgroundPosition:"center",aspectRatio:.7041}}};t.masonryConfig={name:"Builder:Masonry",image:"https://cdn.builder.io/api/v1/image/assets%2FBvYIl5jKN9QpChUB3PVzsTe2ZSI2%2F7ed6bd8129d148608ecec09300786d71?width=2000&height=1200",canHaveChildren:!0,defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingBottom:"20px"},defaultChildren:[r(),r(),r(),r(),r(),r(),r(),r(),r()],inputs:[{name:"columnWidth",type:"string",helperText:'Width of each tile, as a CSS value. E.g. "200px" or "50%"',defaultValue:"200px"},{name:"gutterSize",type:"number",helperText:'Horizontal space between tiles in pixels, e.g. "20" for 20 pixels wide',defaultValue:0,advanced:!0},{name:"tiles",type:"list",subFields:[{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[i]}],defaultValue:[],showIf:function(e){return!e.get("useChildrenForTiles")}},{name:"useChildrenForTiles",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating tiles",advanced:!0,defaultValue:!0,onChange:function(e){!0===e.get("useChildrenForTiles")&&e.set("tiles",[])}}]}},78035:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(18202),a=n(67294),s=n(69345),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.divRef=null,t.masonryRef=null,t.state={layoutComplete:!1},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout(function(){e.divRef&&e.divRef.dispatchEvent(new CustomEvent("builder:masonry:load",{bubbles:!0,cancelable:!1,detail:{block:e.props.builderBlock,ref:e.divRef,masonry:e.masonryRef}})),o.Builder.isEditing})},t.prototype.render=function(){var e=this;this.props.tiles;var t={display:"flex",flexDirection:"column",alignItems:"stretch",width:this.props.columnWidth};return a.createElement("div",{style:{opacity:o.Builder.isBrowser&&this.state.layoutComplete?1:0,transition:"opacity 0.2s"}},a.createElement(o.BuilderAsyncRequestsContext.Consumer,null,function(n){return e._errors=n&&n.errors,e._logs=n&&n.logs,a.createElement(o.BuilderStoreContext.Consumer,null,function(n){return a.createElement("div",{ref:function(t){return e.divRef=t},className:"builder-masonry"},a.createElement(s.default,{onLayoutComplete:function(){e.state.layoutComplete||e.setState(i(i({},e.state),{layoutComplete:!0}))},options:{gutter:e.props.gutterSize,fitWidth:!(e.props.columnWidth&&e.props.columnWidth.endsWith("%")),percentPosition:e.props.columnWidth&&(e.props.columnWidth.endsWith("%")||e.props.columnWidth.startsWith("."))||!1},ref:function(t){return e.masonryRef=t}},e.props.useChildrenForTiles?e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(r,s){if(r.repeat&&r.repeat.collection){var l=r.repeat.collection,u=(l||"").split(/\.\w+\(/)[0].trim().split(".").pop(),c=r.repeat.itemName||(u?u+"Item":"item"),d=o.stringToFunction(l,!0,e._errors,e._logs)(n.state);if(Array.isArray(d))return o.Builder.isBrowser||(d=d.slice(0,1)),d.map(function(e,s){var l,u=i(i({},n.state),((l={$index:s,$item:e})[c]=e,l));return a.createElement("div",{className:"masonry-item",style:t},a.createElement(o.BuilderStoreContext.Provider,{key:r.id,value:i(i({},n),{state:u})},a.createElement(o.BuilderBlockComponent,{block:i(i({},r),{repeat:null}),index:s,child:!0})))})}return a.createElement("div",{style:t,className:"masonry-item"},a.createElement(o.BuilderBlockComponent,{key:r.id,block:r,index:s,child:!0}))}):e.props.tiles&&e.props.tiles.map(function(n,r){return a.createElement("div",{style:t,className:"masonry-item"},a.createElement(o.BuilderBlocks,{key:r,parentElementId:e.props.builderBlock&&e.props.builderBlock.id,dataPath:"component.options.tiles."+r+".content",child:!0,blocks:n.content||n}))})))})}))},t}(a.Component);t.MasonryComponent=l},41820:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"10px",paddingBottom:"10px",minWidth:"100px",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",userSelect:"none"}},component:{name:"Text",options:{text:"New tab"}}},i={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}};t.tabsConfig={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[r]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[i]}],defaultValue:[{label:[n(n({},r),{component:{name:"Text",options:{text:"Tab 1"}}})],content:[n(n({},i),{component:{name:"Text",options:{text:"Tab 1 content"}}})]},{label:[n(n({},r),{component:{name:"Text",options:{text:"Tab 2"}}})],content:[n(n({},i),{component:{name:"Text",options:{text:"Tab 2 content"}}})]}]},{name:"activeTabStyle",type:"uiStyle",helperText:"CSS styles for the active tab",defaultValue:{backgroundColor:"rgba(0, 0, 0, 0.1)"}},{name:"defaultActiveTab",type:"number",helperText:'Deafult tab to open to. Set to "1" for the first tab, "2" for the second, or choose "0" for none',defaultValue:1,advanced:!0},{name:"collapsible",type:"boolean",helperText:"If on, clicking an open tab closes it so no tabs are active",defaultValue:!1,advanced:!0},{name:"tabHeaderLayout",type:"enum",helperText:"Change the layout of the tab headers (uses justify-content)",defaultValue:"flex-start",enum:[{label:"Center",value:"center"},{label:"Space between",value:"space-between"},{label:"Space around",value:"space-around"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"}]}]}},90816:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(67294),a=n(18202),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={activeTab:0},t}return r(t,e),Object.defineProperty(t.prototype,"activeTabSpec",{get:function(){return this.props.tabs&&this.props.tabs[this.state.activeTab]},enumerable:!0,configurable:!0}),t.prototype.componentWillMount=function(){this.props.defaultActiveTab&&(this.activeTab=this.props.defaultActiveTab-1)},Object.defineProperty(t.prototype,"activeTab",{get:function(){return this.state.activeTab},set:function(e){this.setState(i(i({},this.state),{activeTab:e}))},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this;return o.createElement(o.Fragment,null,o.createElement("span",{style:{display:"flex",flexDirection:"row",justifyContent:this.props.tabHeaderLayout,overflow:"auto",WebkitOverflowScrolling:"touch"},className:"builder-tabs-wrap"},this.props.tabs&&this.props.tabs.map(function(t,n){return o.createElement("span",{key:n,className:"builder-tab-wrap "+(e.activeTabSpec===t?"builder-tab-active":""),style:i({},e.activeTabSpec===t&&e.props.activeTabStyle||void 0),onClick:function(){n===e.activeTab&&e.props.collapsible?e.activeTab=-1:e.activeTab=n}},o.createElement(a.BuilderBlocks,{parentElementId:e.props.builderBlock.id,dataPath:"component.options.tabs."+e.state.activeTab+".label",blocks:t.label}))})),this.activeTabSpec&&o.createElement(a.BuilderBlocks,{parentElementId:this.props.builderBlock.id,dataPath:"component.options.tabs."+this.state.activeTab+".content",blocks:this.activeTabSpec.content}))},t}(o.Component);t.TabsComponent=s},69345:function(e,t,n){var r="undefined"!=typeof window,i=r?window.Masonry||n(58751):null,o=r?n(77564):null,a=n(28583),s=n(63844),l=n(23279),u=n(57557),c=n(45697),d=n(67294),f=n(72555),p={enableResizableChildren:c.bool,disableImagesLoaded:c.bool,onImagesLoaded:c.func,updateOnEachImageLoad:c.bool,options:c.object,imagesLoadedOptions:c.object,elementType:c.string,onLayoutComplete:c.func,onRemoveComplete:c.func},h=f({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:p,getDefaultProps:function(){return{enableResizableChildren:!1,disableImagesLoaded:!1,updateOnEachImageLoad:!1,options:{},imagesLoadedOptions:{},className:"",elementType:"div",onLayoutComplete:function(){},onRemoveComplete:function(){}}},initializeMasonry:function(e){(!this.masonry||e)&&(this.masonry=new i(this.masonryContainer,this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())},getCurrentDomChildren:function(){var e=this.masonryContainer,t=this.props.options.itemSelector?e.querySelectorAll(this.props.options.itemSelector):e.children;return Array.prototype.slice.call(t)},diffDomChildren:function(){var e=!1,t=this.latestKnownDomChildren.filter(function(e){return!!e.parentNode});t.length!==this.latestKnownDomChildren.length&&(e=!0);var n=this.getCurrentDomChildren(),r=t.filter(function(e){return!~n.indexOf(e)}),i=n.filter(function(e){return!~t.indexOf(e)}),o=0,a=i.filter(function(e){var t=o===n.indexOf(e);return t&&o++,t}),s=i.filter(function(e){return -1===a.indexOf(e)}),l=[];return 0===r.length&&(l=t.filter(function(e,t){return t!==n.indexOf(e)})),this.latestKnownDomChildren=n,{old:t,new:n,removed:r,appended:s,prepended:a,moved:l,forceItemReload:e}},performLayout:function(){var e=this.diffDomChildren(),t=e.forceItemReload||e.moved.length>0;e.removed.length>0&&(this.props.enableResizableChildren&&e.removed.forEach(this.erd.removeAllListeners,this.erd),this.masonry.remove(e.removed),t=!0),e.appended.length>0&&(this.masonry.appended(e.appended),0===e.prepended.length&&(t=!0),this.props.enableResizableChildren&&e.appended.forEach(this.listenToElementResize,this)),e.prepended.length>0&&(this.masonry.prepended(e.prepended),this.props.enableResizableChildren&&e.prepended.forEach(this.listenToElementResize,this)),t&&this.masonry.reloadItems(),this.masonry.layout()},derefImagesLoaded:function(){this.imagesLoadedCancelRef(),this.imagesLoadedCancelRef=void 0},imagesLoaded:function(){if(!this.props.disableImagesLoaded){this.imagesLoadedCancelRef&&this.derefImagesLoaded();var e=this.props.updateOnEachImageLoad?"progress":"always",t=l((function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}).bind(this),100),n=o(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){n.off(e,t),t.cancel()}}},initializeResizableChildren:function(){this.props.enableResizableChildren&&(this.erd=s({strategy:"scroll"}
1),this.latestKnownDomChildren.forEach(this.listenToElementResize,this))},listenToElementResize:function(e){this.erd.listenTo(e,(function(){this.masonry.layout()}).bind(this))},destroyErd:function(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)},componentDidMount:function(){this.initializeMasonry(),this.initializeResizableChildren(),this.imagesLoaded()},componentDidUpdate:function(){this.performLayout(),this.imagesLoaded()},componentWillUnmount:function(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.imagesLoadedCancelRef&&this.derefImagesLoaded(),this.masonry.destroy()},setRef:function(e){this.masonryContainer=e},render:function(){var e=u(this.props,Object.keys(p));return d.createElement(this.props.elementType,a({},e,{ref:this.setRef}),this.props.children)}});e.exports=h,e.exports.default=h},43820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var r=a(n(67294)),i=a(n(94184)),o=n(57770);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=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}).apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=w();return function(){var n,r=x(e);return n=t?Reflect.construct(r,arguments,x(this).constructor):r.apply(this,arguments),y(this,n)}}function y(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:b(e)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){m(n,e);var t=g(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,c(c({},n),o)):r.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(r.default.PureComponent);t.PrevArrow=E;var _=function(e){m(n,e);var t=g(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,c(c({},n),a)):r.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(r.default.PureComponent);t.NextArrow=_},38274:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(67294));function i(e){return e&&e.__esModule?e:{default:e}}var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},43218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var r=a(n(67294)),i=a(n(94184)),o=n(57770);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function h(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=b();return function(){var n,r=w(e);return n=t?Reflect.construct(r,arguments,w(this).constructor):r.apply(this,arguments),g(this,n)}}function g(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:y(e)}function y(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1},E=function(e){h(n,e);var t=v(n);function n(){return d(this,n),t.apply(this,arguments)}return p(n,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,a=e.onMouseLeave,s=e.infinite,l=e.slidesToScroll,c=e.slidesToShow,d=e.slideCount,f=e.currentSlide,p=x({slideCount:d,slidesToScroll:l,slidesToShow:c,infinite:s}),h={onMouseEnter:t,onMouseOver:n,onMouseLeave:a},m=[],v=0;v<p;v++){var g=(v+1)*l-1,y=s?g:(0,o.clamp)(g,0,d-1),b=y-(l-1),w=s?b:(0,o.clamp)(b,0,d-1),E=(0,i.default)({"slick-active":s?f>=w&&f<=y:f===w}),_={message:"dots",index:v,slidesToScroll:l,currentSlide:f},k=this.clickHandler.bind(this,_);m=m.concat(r.default.createElement("li",{key:v,className:E},r.default.cloneElement(this.props.customPaging(v),{onClick:k})))}return r.default.cloneElement(this.props.appendDots(m),u({className:this.props.dotsClass},h))}}]),n}(r.default.PureComponent);t.Dots=E},69495:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(57e3)).default;t.default=r},98940:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=n},91441:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(67294)),i=f(n(98940)),o=f(n(91296)),a=f(n(94184)),s=n(57770),l=n(46959),u=n(43218),c=n(43820),d=f(n(91033));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=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}).apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,i=v(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function v(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function E(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=O();return function(){var n,r=T(e);return n=t?Reflect.construct(r,arguments,T(this).constructor):r.apply(this,arguments),S(this,n)}}function S(e,t){return t&&("object"===p(t)||"function"==typeof t)?t:C(e)}function C(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){E(n,e);var t=k(n);function n(e){b(this,n),j(C(f=t.call(this,e)),"listRefHandler",function(e){return f.list=e}),j(C(f),"trackRefHandler",function(e){return f.track=e}),j(C(f),"adaptHeight",function(){if(f.props.adaptiveHeight&&f.list){var e=f.list.querySelector('[data-index="'.concat(f.state.currentSlide,'"]'));f.list.style.height=(0,s.getHeight)(e)+"px"}}),j(C(f),"componentDidMount",function(){if(f.props.onInit&&f.props.onInit(),f.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(y(y({},f.props),f.state));e.length>0&&(f.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),f.props.onLazyLoad&&f.props.onLazyLoad(e))}var t=y({listRef:f.list,trackRef:f.track},f.props);f.updateState(t,!0,function(){f.adaptHeight(),f.props.autoplay&&f.autoPlay("update")}),"progressive"===f.props.lazyLoad&&(f.lazyLoadTimer=setInterval(f.progressiveLazyLoad,1e3)),f.ro=new d.default(function(){f.state.animating?(f.onWindowResized(!1),f.callbackTimers.push(setTimeout(function(){return f.onWindowResized()},f.props.speed))):f.onWindowResized()}),f.ro.observe(f.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=f.props.pauseOnFocus?f.onSlideFocus:null,e.onblur=f.props.pauseOnFocus?f.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",f.onWindowResized):window.attachEvent("onresize",f.onWindowResized)}),j(C(f),"componentWillUnmount",function(){f.animationEndCallback&&clearTimeout(f.animationEndCallback),f.lazyLoadTimer&&clearInterval(f.lazyLoadTimer),f.callbackTimers.length&&(f.callbackTimers.forEac
vendor: 11,577 bytes, line 1
1h(function(e){return clearTimeout(e)}),f.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",f.onWindowResized):window.detachEvent("onresize",f.onWindowResized),f.autoplayTimer&&clearInterval(f.autoplayTimer),f.ro.disconnect()}),j(C(f),"componentDidUpdate",function(e){if(f.checkImagesLoad(),f.props.onReInit&&f.props.onReInit(),f.props.lazyLoad){var t=(0,s.getOnDemandLazySlides)(y(y({},f.props),f.state));t.length>0&&(f.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),f.props.onLazyLoad&&f.props.onLazyLoad(t))}f.adaptHeight();var n=y(y({listRef:f.list,trackRef:f.track},f.props),f.state),i=f.didPropsChange(e);i&&f.updateState(n,i,function(){f.state.currentSlide>=r.default.Children.count(f.props.children)&&f.changeSlide({message:"index",index:r.default.Children.count(f.props.children)-f.props.slidesToShow,currentSlide:f.state.currentSlide}),f.props.autoplay?f.autoPlay("update"):f.pause("paused")})}),j(C(f),"onWindowResized",function(e){f.debouncedResize&&f.debouncedResize.cancel(),f.debouncedResize=(0,o.default)(function(){return f.resizeWindow(e)},50),f.debouncedResize()}),j(C(f),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(f.track&&f.track.node){var t=y(y({listRef:f.list,trackRef:f.track},f.props),f.state);f.updateState(t,e,function(){f.props.autoplay?f.autoPlay("update"):f.pause("paused")}),f.setState({animating:!1}),clearTimeout(f.animationEndCallback),delete f.animationEndCallback}}),j(C(f),"updateState",function(e,t,n){var i=(0,s.initializedState)(e);e=y(y(y({},e),i),{},{slideIndex:i.currentSlide});var o=(0,s.getTrackLeft)(e);e=y(y({},e),{},{left:o});var a=(0,s.getTrackCSS)(e);(t||r.default.Children.count(f.props.children)!==r.default.Children.count(e.children))&&(i.trackStyle=a),f.setState(i,n)}),j(C(f),"ssrInit",function(){if(f.props.variableWidth){var e=0,t=0,n=[],i=(0,s.getPreClones)(y(y(y({},f.props),f.state),{},{slideCount:f.props.children.length})),o=(0,s.getPostClones)(y(y(y({},f.props),f.state),{},{slideCount:f.props.children.length}));f.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var a=0;a<i;a++)t+=n[n.length-1-a],e+=n[n.length-1-a];for(var l=0;l<o;l++)e+=n[l];for(var u=0;u<f.state.currentSlide;u++)t+=n[u];var c={width:e+"px",left:-t+"px"};if(f.props.centerMode){var d="".concat(n[f.state.currentSlide],"px");c.left="calc(".concat(c.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:c}}var p=r.default.Children.count(f.props.children),h=y(y(y({},f.props),f.state),{},{slideCount:p}),m=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,v=100/f.props.slidesToShow*m,g=100/m,b=-g*((0,s.getPreClones)(h)+f.state.currentSlide)*v/100;return f.props.centerMode&&(b+=(100-g*v/100)/2),{slideWidth:g+"%",trackStyle:{width:v+"%",left:b+"%"}}}),j(C(f),"checkImagesLoad",function(){var e=f.list&&f.list.querySelectorAll&&f.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&f.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(f.props.lazyLoad?e.onload=function(){f.adaptHeight(),f.callbackTimers.push(setTimeout(f.onWindowResized,f.props.speed))}:(e.onload=r,e.onerror=function(){r(),f.props.onLazyLoadError&&f.props.onLazyLoadError()}))})}),j(C(f),"progressiveLazyLoad",function(){for(var e=[],t=y(y({},f.props),f.state),n=f.state.currentSlide;n<f.state.slideCount+(0,s.getPostClones)(t);n++)if(0>f.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var r=f.state.currentSlide-1;r>=-(0,s.getPreClones)(t);r--)if(0>f.state.lazyLoadedList.indexOf(r)){e.push(r);break}e.length>0?(f.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),f.props.onLazyLoad&&f.props.onLazyLoad(e)):f.lazyLoadTimer&&(clearInterval(f.lazyLoadTimer),delete f.lazyLoadTimer)}),j(C(f),"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=f.props,r=n.asNavFor,i=n.beforeChange,o=n.onLazyLoad,a=n.speed,l=n.afterChange,u=f.state.currentSlide,c=(0,s.slideHandler)(y(y(y({index:e},f.props),f.state),{},{trackRef:f.track,useCSS:f.props.useCSS&&!t})),d=c.state,p=c.nextState;if(d){i&&i(u,d.currentSlide);var h=d.lazyLoadedList.filter(function(e){return 0>f.state.lazyLoadedList.indexOf(e)});o&&h.length>0&&o(h),!f.props.waitForAnimate&&f.animationEndCallback&&(clearTimeout(f.animationEndCallback),l&&l(u),delete f.animationEndCallback),f.setState(d,function(){r&&f.asNavForIndex!==e&&(f.asNavForIndex=e,r.innerSlider.slideHandler(e)),p&&(f.animationEndCallback=setTimeout(function(){var e=p.animating,t=m(p,["animating"]);f.setState(t,function(){f.callbackTimers.push(setTimeout(function(){return f.setState({animating:e})},10)),l&&l(d.currentSlide),delete f.animationEndCallback})},a))})}}),j(C(f),"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=y(y({},f.props),f.state),r=(0,s.changeSlide)(n,e);if((0===r||r)&&(!0===t?f.slideHandler(r,t):f.slideHandler(r),f.props.autoplay&&f.autoPlay("update"),f.props.focusOnSelect)){var i=f.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}}),j(C(f),"clickHandler",function(e){!1===f.clickable&&(e.stopPropagation(),e.preventDefault()),f.clickable=!0}),j(C(f),"keyHandler",function(e){var t=(0,s.keyHandler)(e,f.props.accessibility,f.props.rtl);""!==t&&f.changeSlide({message:t})}),j(C(f),"selectHandler",function(e){f.changeSlide(e)}),j(C(f),"disableBodyScroll",function(){var e=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e}),j(C(f),"enableBodyScroll",function(){window.ontouchmove=null}),j(C(f),"swipeStart",function(e){f.props.verticalSwiping&&f.disableBodyScroll();var t=(0,s.swipeStart)(e,f.props.swipe,f.props.draggable);""!==t&&f.setState(t)}),j(C(f),"swipeMove",function(e){var t=(0,s.swipeMove)(e,y(y(y({},f.props),f.state),{},{trackRef:f.track,listRef:f.list,slideIndex:f.state.currentSlide}));t&&(t.swiping&&(f.clickable=!1),f.setState(t))}),j(C(f),"swipeEnd",function(e){var t=(0,s.swipeEnd)(e,y(y(y({},f.props),f.state),{},{trackRef:f.track,listRef:f.list,slideIndex:f.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,f.setState(t),void 0!==n&&(f.slideHandler(n),f.props.verticalSwiping&&f.enableBodyScroll())}}),j(C(f),"touchEnd",function(e){f.swipeEnd(e),f.clickable=!0}),j(C(f),"slickPrev",function(){f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:"previous"})},0))}),j(C(f),"slickNext",function(){f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:"next"})},0))}),j(C(f),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:"index",index:e,currentSlide:f.state.currentSlide},t)},0))}),j(C(f),"play",function(){var e;if(f.props.rtl)e=f.state.currentSlide-f.props.slidesToScroll;else{if(!(0,s.canGoNext)(y(y({},f.props),f.state)))return!1;e=f.state.currentSlide+f.props.slidesToScroll}f.slideHandler(e)}),j(C(f),"autoPlay",function(e){f.autoplayTimer&&clearInterval(f.autoplayTimer);var t=f.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;f.autoplayTimer=setInterval(f.play,f.props.autoplaySpeed+50),f.setState({autoplaying:"playing"})}),j(C(f),"pause",function(e){f.autoplayTimer&&(clearInterval(f.autoplayTimer),f.autoplayTimer=null);var t=f.state.autoplaying;"paused"===e?f.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&f.setState({autoplaying:"focused"}):"playing"===t&&f.setState({autoplaying:"hovered"})}),j(C(f),"onDotsOver",function(){return f.props.autoplay&&f.pause("hovered")}),j(C(f),"onDotsLeave",function(){return f.props.autoplay&&"hovered"===f.state.autoplaying&&f.autoPlay("leave")}),j(C(f),"onTrackOver",function(){return f.props.autoplay&&f.pause("hovered")}),j(C(f),"onTrackLeave",function(){return f.props.autoplay&&"hovered"===f.state.autoplaying&&f.autoPlay("leave")}),j(C(f),"onSlideFocus",function(){return f.props.autoplay&&f.pause("focused")}),j(C(f),"onSlideBlur",function(){return f.props.autoplay&&"focused"===f.state.autoplaying&&f.autoPlay("blur")}),j(C(f),"render",function(){var e,t,n,i=(0,a.default)("slick-slider",f.props.className,{"slick-vertical":f.props.vertical,"slick-initialized":!0}),o=y(y({},f.props),f.state),d=(0,s.extractObject)(o,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=f.props.pauseOnHover;if(d=y(y({},d),{},{onMouseEnter:p?f.onTrackOver:null,onMouseLeave:p?f.onTrackLeave:null,onMouseOver:p?f.onTrackOver:null,focusOnSelect:f.props.focusOnSelect&&f.clickable?f.selectHandler:null}),!0===f.props.dots&&f.state.slideCount>=f.props.slidesToShow){var m=(0,s.extractObject)(o,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=f.props.pauseOnDotsHover;m=y(y({},m),{},{clickHandler:f.changeSlide,onMouseEnter:v?f.onDotsLeave:null,onMouseOver:v?f.onDotsOver:null,onMouseLeave:v?f.onDotsLeave:null}),e=r.default.createElement(u.Dots,m)}var g=(0,s.extractObject)(o,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=f.changeSlide,f.props.arrows&&(t=r.default.createElement(c.PrevArrow,g),n=r.default.createElement(c.NextArrow,g));var b=null;f.props.vertical&&(b={height:f.state.listHeight});var w=null;!1===f.props.vertical?!0===f.props.centerMode&&(w={padding:"0px "+f.props.centerPadding}):!0===f.props.centerMode&&(w={padding:f.props.centerPadding+" 0px"});var x=y(y({},b),w),E=f.props.touchMove,_={className:"slick-list",style:x,onClick:f.clickHandler,onMouseDown:E?f.swipeStart:null,onMouseMove:f.state.dragging&&E?f.swipeMove:null,onMouseUp:E?f.swipeEnd:null,onMouseLeave:f.state.dragging&&E?f.swipeEnd:null,onTouchStart:E?f.swipeStart:null,onTouchMove:f.state.dragging&&E?f.swipeMove:null,onTouchEnd:E?f.touchEnd:null,onTouchCancel:f.state.dragging&&E?f.swipeEnd:null,onKeyDown:f.props.accessibility?f.keyHandler:null},k={className:i,dir:"ltr",style:f.props.style};return f.props.unslick&&(_={className:"slick-list"},k={className:i}),r.default.createElement("div",k,f.props.unslick?"":t,r.default.createElement("div",h({ref:f.listRefHandler},_),r.default.createElement(l.Track,h({ref:f.trackRefHandler},d),f.props.children)),f.props.unslick?"":n,f.props.unslick?"":e)}),f.list=null,f.track=null,f.state=y(y({},i.default),{},{currentSlide:f.props.initialSlide,slideCount:r.default.Children.count(f.props.children)}),f.callbackTimers=[],f.clickable=!0,f.debouncedResize=null;var f,p=f.ssrInit();return f.state=y(y({},f.state),p),f}return x(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)||"object"!==p(e[o])&&"function"!=typeof e[o]&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}]),n}(r.default.Component);t.InnerSlider=P},57e3:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(67294)),i=n(91441),o=l(n(80973)),a=l(n(38274)),s=n(57770);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=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}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function v(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=x();return function(){var n,r=E(e);return n=t?Reflect.construct(r,arguments,E(this).constructor):r.apply(this,arguments),b(this,n)}}function b(e,t){return t&&("object"===u(t)||"function"==typeof t)?t:w(e)}function w(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=(0,s.canUseDOM)()&&n(24974),S=function(e){v(n,e);var t=y(n);function n(e){var r;return p(this,n),_(w(r=t.call(this,e)),"innerSliderRefHandler",function(e){return r.innerSlider=e}),_(w(r),"slickPrev",function(){return r.innerSlider.slickPrev()}),_(w(r),"slickNext",function(){return r.innerSlider.slickNext()}),_(w(r),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)}),_(w(r),"slickPause",function(){return r.innerSlider.pause("paused")}),_(w(r),"slickPlay",function(){return r.innerSlider.autoPlay("play")}),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return m(n,[{key:"media",value:function(e,t){k.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var i;i=0===r?(0,o.default)({minWidth:0,maxWidth:n}):(0,o.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,s.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:n})})});var n=(0,o.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){k.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":f(f(f({},a.default),this.props),t[0].settings):f(f({}
1,a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=r.default.Children.toArray(this.props.children);o=o.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],l=null,u=0;u<o.length;u+=e.rows*e.slidesPerRow){for(var d=[],p=u;p<u+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var h=[],m=p;m<p+e.slidesPerRow&&(e.variableWidth&&o[m].props.style&&(l=o[m].props.style.width),!(m>=o.length));m+=1)h.push(r.default.cloneElement(o[m],{key:100*u+10*p+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r.default.createElement("div",{key:10*u+p},h))}e.variableWidth?s.push(r.default.createElement("div",{key:u,style:{width:l}},d)):s.push(r.default.createElement("div",{key:u},d))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:v},o)}return s.length<=e.slidesToShow&&(e.unslick=!0),r.default.createElement(i.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},e),s)}}]),n}(r.default.Component);t.default=S},46959:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=a(n(67294)),i=a(n(94184)),o=n(57770);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=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}).apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function f(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=g();return function(){var n,r=y(e);return n=t?Reflect.construct(r,arguments,y(this).constructor):r.apply(this,arguments),m(this,n)}}function m(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:v(e)}function v(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){var t,n,r,i,o,a;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(a=e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},_=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},k=function(e,t){return e.key||t},S=function(e){var t,n=[],a=[],s=[],l=r.default.Children.count(e.children),u=(0,o.lazyStartIndex)(e),c=(0,o.lazyEndIndex)(e);
vendor: 7,162 bytes, line 1
1return(r.default.Children.forEach(e.children,function(d,f){var p,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:r.default.createElement("div",null);var m=_(w(w({},e),{},{index:f})),v=p.props.className||"",g=E(w(w({},e),{},{index:f}));if(n.push(r.default.cloneElement(p,{key:"original"+k(p,f),"data-index":f,className:(0,i.default)(g,v),tabIndex:"-1","aria-hidden":!g["slick-active"],style:w(w({outline:"none"},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var y=l-f;y<=(0,o.getPreClones)(e)&&l!==e.slidesToShow&&((t=-y)>=u&&(p=d),g=E(w(w({},e),{},{index:t})),a.push(r.default.cloneElement(p,{key:"precloned"+k(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(g,v),"aria-hidden":!g["slick-active"],style:w(w({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+f)<c&&(p=d),g=E(w(w({},e),{},{index:t})),s.push(r.default.cloneElement(p,{key:"postcloned"+k(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(g,v),"aria-hidden":!g["slick-active"],style:w(w({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}}),e.rtl)?a.concat(n,s).reverse():a.concat(n,s)},C=function(e){f(n,e);var t=h(n);function n(){var e;u(this,n);for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return x(v(e=t.call.apply(t,[this].concat(i))),"node",null),x(v(e),"handleRef",function(t){e.node=t}),e}return d(n,[{key:"render",value:function(){var e=S(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}]),n}(r.default.PureComponent);t.Track=C},57770:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=l,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var r=i(n(67294));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var u=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=u;var c=function(e){for(var t=[],n=f(e),r=p(e),i=n;i<r;i++)0>e.lazyLoadedList.indexOf(i)&&t.push(i);return t};t.getOnDemandLazySlides=c;var d=function(e){for(var t=[],n=f(e),r=p(e),i=n;i<r;i++)t.push(i);return t};t.getRequiredLazySlides=d;var f=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=f;var p=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=p;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var v=function(e){return e&&e.offsetWidth||0};t.getWidth=v;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var y=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)?"left":n>=135&&n<=225?"right":!0===r?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var b=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};t.canGoNext=b;var w=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n};t.extractObject=w;var x=function(e){var t,n=r.default.Children.count(e.children),i=e.listRef,o=Math.ceil(v(i)),s=Math.ceil(v(e.trackRef&&e.trackRef.node));if(e.vertical)t=o;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=o/100),t=Math.ceil((o-l)/e.slidesToShow)}var u=i&&g(i.querySelector('[data-index="0"]')),d=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var p=e.lazyLoadedList||[],h=c(a(a({},e),{},{currentSlide:f,lazyLoadedList:p})),m={slideCount:n,slideWidth:t,listWidth:o,trackWidth:s,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:p=p.concat(h)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m};t.initializedState=x;var E=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,s=e.slideCount,u=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,v=e.lazyLoadedList;if(t&&n)return{};var g,y,w,x=o,E={},_={},k=i?o:l(o,0,s-1);if(r){if(!i&&(o<0||o>=s))return{};o<0?x=o+s:o>=s&&(x=o-s),u&&0>v.indexOf(x)&&(v=v.concat(x)),E={animating:!0,currentSlide:x,lazyLoadedList:v,targetSlide:x},_={animating:!1,targetSlide:x}}else g=x,x<0?(g=x+s,i?s%p!=0&&(g=s-s%p):g=0):!b(e)&&x>d?x=g=d:f&&x>=s?(x=i?s:s-1,g=i?0:s-1):x>=s&&(g=x-s,i?s%p!=0&&(g=0):g=s-h),!i&&x+h>=s&&(g=s-h),y=M(a(a({},e),{},{slideIndex:x})),w=M(a(a({},e),{},{slideIndex:g})),i||(y===w&&(x=g),y=w),u&&(v=v.concat(c(a(a({},e),{},{currentSlide:x})))),m?(E={animating:!0,currentSlide:g,trackStyle:I(a(a({},e),{},{left:y})),lazyLoadedList:v,targetSlide:k},_={animating:!1,currentSlide:g,trackStyle:A(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:k}):E={currentSlide:g,trackStyle:A(a(a({},e),{},{left:w})),lazyLoadedList:v,targetSlide:k};return{state:E,nextState:_}};t.slideHandler=E;var _=function(e,t){var n,r,i,o,s=e.slidesToScroll,l=e.slidesToShow,u=e.slideCount,c=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=u%s!=0?0:(u-c)%s,"previous"===t.message)o=c-(i=0===n?s:l-n),f&&!p&&(o=-1==(r=c-i)?u-1:r),p||(o=d-s);else if("next"===t.message)o=c+(i=0===n?s:n),f&&!p&&(o=(c+s)%u+n),p||(o=d+s);
1else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,p){var h=F(a(a({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===h?o-=u:o<t.currentSlide&&"right"===h&&(o+=u)}}else"index"===t.message&&(o=Number(t.index));return o};t.changeSlide=_;var k=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.keyHandler=k;var S=function(e,t,n){return("IMG"===e.target.tagName&&u(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:""};t.swipeStart=S;var C=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,c=t.currentSlide,d=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,h=t.swiped,m=t.swiping,v=t.slideCount,g=t.slidesToScroll,w=t.infinite,x=t.touchObject,E=t.swipeEvent,_=t.listHeight,k=t.listWidth;if(!n){if(r)return u(e);i&&o&&s&&u(e);var S,C={},O=M(t);x.curX=e.touches?e.touches[0].pageX:e.clientX,x.curY=e.touches?e.touches[0].pageY:e.clientY,x.swipeLength=Math.round(Math.sqrt(Math.pow(x.curX-x.startX,2)));var T=Math.round(Math.sqrt(Math.pow(x.curY-x.startY,2)));if(!s&&!m&&T>10)return{scrolling:!0};s&&(x.swipeLength=T);var j=(l?-1:1)*(x.curX>x.startX?1:-1);s&&(j=x.curY>x.startY?1:-1);var P=Math.ceil(v/g),R=y(t.touchObject,s),I=x.swipeLength;return!w&&(0===c&&("right"===R||"down"===R)||c+1>=P&&("left"===R||"up"===R)||!b(t)&&("left"===R||"up"===R))&&(I=x.swipeLength*d,!1===f&&p&&(p(R),C.edgeDragged=!0)),!h&&E&&(E(R),C.swiped=!0),S=i?O+_/k*I*j:l?O-I*j:O+I*j,s&&(S=O+I*j),C=a(a({},C),{},{touchObject:x,swipeLeft:S,trackStyle:A(a(a({},t),{},{left:S}))}),Math.abs(x.curX-x.startX)<.8*Math.abs(x.curY-x.startY)||x.swipeLength>10&&(C.swiping=!0,u(e)),C}};t.swipeMove=C;var O=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe,h=t.targetSlide,m=t.currentSlide,v=t.infinite;if(!n)return r&&u(e),{};var g=l?c/s:o/s,b=y(i,l),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!i.swipeLength)return w;if(i.swipeLength>g){u(e),p&&p(b);var x,E,_=v?m:h;switch(b){case"left":case"up":E=_+P(t),x=d?j(t,E):E,w.currentDirection=0;break;case"right":case"down":E=_-P(t),x=d?j(t,E):E,w.currentDirection=1;break;default:x=_}w.triggerSlideHandler=x}else{var k=M(t);w.trackStyle=I(a(a({},t),{},{left:k}))}return w};t.swipeEnd=O;var T=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=T;var j=function(e,t){var n=T(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t};t.checkNavigable=j;var P=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var n,r=e.listRef;if(Array.from(r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[]).every(function(r){if(e.vertical){if(r.offsetTop+g(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1};t.getSlideCount=P;var R=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=R;var A=function(e){R(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=D(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=a(a({},i),{},{WebkitTransform:o,transform:s,msTransform:l})}
1else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=A;var I=function(e){R(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=A(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=I;var M=function(e){if(e.unslick)return 0;R(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,i=e.centerMode,o=e.slideCount,a=e.slidesToShow,s=e.slidesToScroll,l=e.slideWidth,u=e.listWidth,c=e.variableWidth,d=e.slideHeight,f=e.fade,p=e.vertical,h=0,m=0;if(f||1===e.slideCount)return 0;var v=0;if(r?(v=-L(e),o%s!=0&&t+s>o&&(v=-(t>o?a-(t-o):o%s)),i&&(v+=parseInt(a/2))):(o%s!=0&&t+s>o&&(v=a-o%s),i&&(v=parseInt(a/2))),h=v*l,m=v*d,g=p?-(t*d*1)+m:-(t*l*1)+h,!0===c){var g,y,b,w=n&&n.node;if(b=t+L(e),g=(y=w&&w.childNodes[b])?-1*y.offsetLeft:0,!0===i){b=r?t+L(e):t,y=w&&w.children[b],g=0;for(var x=0;x<b;x++)g-=w&&w.children[x]&&w.children[x].offsetWidth;g-=parseInt(e.centerPadding),g+=y&&(u-y.offsetWidth)/2}}return g};t.getTrackLeft=M;var L=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=L;var N=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=N;var D=function(e){return 1===e.slideCount?1:L(e)+e.slideCount+N(e)};t.getTotalSlides=D;var F=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+z(e)?"left":"right":e.targetSlide<e.currentSlide-B(e)?"right":"left"};t.siblingDirection=F;var z=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1};t.slidesOnRight=z;var B=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.slidesOnLeft=B;var U=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)};t.canUseDOM=U},94994:function(e,t,n){"use strict";n.d(t,{ms:function(){return er},iv:function(){return X},tZ:function(){return J}});var r,i,o=n(67294);function a(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function s(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}var l=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=s(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=a(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++}
vendor: 1,500 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),u=function(e){function t(e,r,l,u,c){for(var p,h,m,v,g,x=0,_=0,k=0,S=0,C=0,O=0,I=m=p=0,L=0,D=0,F=0,z=0,B=l.length,U=B-1,V="",H="",q="",W="";L<B;){if(h=l.charCodeAt(L),L===U&&0!==_+S+k+x&&(0!==_&&(h=47===_?10:47),S=k=x=0,B++,U++),0===_+S+k+x){if(L===U&&(0<D&&(V=V.replace(f,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=l.charAt(L)}h=59}switch(h){case 123:for(p=(V=V.trim()).charCodeAt(0),m=1,z=++L;L<B;){switch(h=l.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(L+1)){case 42:case 47:e:{for(I=L+1;I<U;++I)switch(l.charCodeAt(I)){case 47:if(42===h&&42===l.charCodeAt(I-1)&&L+2!==I){L=I+1;break e}break;case 10:if(47===h){L=I+1;break e}}L=I}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<U&&l.charCodeAt(L)!==h;);}if(0===m)break;L++}if(m=l.substring(z,L),0===p&&(p=(V=V.replace(d,"").trim()).charCodeAt(0)),64===p){switch(0<D&&(V=V.replace(f,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:D=r;break;default:D=A}if(z=(m=t(r,D,m,h,c+1)).length,0<M&&(g=s(3,m,D=n(A,V,F),r,j,T,z,h,c,u),V=D.join(""),void 0!==g&&0===(z=(m=g.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:V=V.replace(E,a);case 100:case 109:case 45:m=V+"{"+m+"}";break;case 107:m=(V=V.replace(y,"$1 $2"))+"{"+m+"}",m=1===R||2===R&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=V+m,112===u&&(H+=m,m="")}else m=""}
vendor: 4,139 bytes, line 1
1else m=t(r,n(r,V,F),m,u,c+1);q+=m,m=F=D=I=p=0,V="",h=l.charCodeAt(++L);break;case 125:case 59:if(1<(z=(V=(0<D?V.replace(f,""):V).trim()).length))switch(0===I&&(45===(p=V.charCodeAt(0))||96<p&&123>p)&&(z=(V=V.replace(" ",":")).length),0<M&&void 0!==(g=s(1,V,r,e,j,T,H.length,u,c,u))&&0===(z=(V=g.trim()).length)&&(V="\0\0"),p=V.charCodeAt(0),h=V.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){W+=V+l.charAt(L);break}default:58!==V.charCodeAt(z-1)&&(H+=i(V,p,h,V.charCodeAt(2)))}F=D=I=p=0,V="",h=l.charCodeAt(++L)}}switch(h){case 13:case 10:47===_?_=0:0===1+p&&107!==u&&0<V.length&&(D=1,V+="\0"),0<M*N&&s(0,V,r,e,j,T,H.length,u,c,u),T=1,j++;break;case 59:case 125:if(0===_+S+k+x){T++;break}default:switch(T++,v=l.charAt(L),h){case 9:case 32:if(0===S+x+_)switch(C){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===S+_+x&&(D=F=1,v="\f"+v);break;case 108:if(0===S+_+x+P&&0<I)switch(L-I){case 2:112===C&&58===l.charCodeAt(L-3)&&(P=C);case 8:111===O&&(P=O)}break;case 58:0===S+_+x&&(I=L);break;case 44:0===_+k+S+x&&(D=1,v+="\r");break;case 34:case 39:0===_&&(S=S===h?0:0===S?h:S);break;case 91:0===S+_+k&&x++;break;case 93:0===S+_+k&&x--;break;case 41:0===S+_+x&&k--;break;case 40:0===S+_+x&&(0===p&&(2*C+3*O==533||(p=1)),k++);break;case 64:0===_+k+S+x+I+m&&(m=1);break;case 42:case 47:if(!(0<S+x+k))switch(_){case 0:switch(2*h+3*l.charCodeAt(L+1)){case 235:_=47;break;case 220:z=L,_=42}break;case 42:47===h&&42===C&&z+2!==L&&(33===l.charCodeAt(z+2)&&(H+=l.substring(z,L+1)),v="",_=0)}}0===_&&(V+=v)}O=C,C=h,L++}if(0<(z=H.length)){if(D=r,0<M&&void 0!==(g=s(2,H,D,e,j,T,z,u,c,u))&&0===(H=g).length)return W+H+q;if(H=D.join(",")+"{"+H+"}",0!=R*P){switch(2!==R||o(H,2)||(P=0),P){case 111:H=H.replace(w,":-moz-$1")+H;break;case 112:H=H.replace(b,"::-webkit-input-$1")+H.replace(b,"::-moz-$1")+H.replace(b,":-ms-input-$1")+H}P=0}}return W+H+q}function n(e,t,n){var i=t.trim().split(v);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===R||2===R&&o(l,1)?"-webkit-"+l+l:l}if(0===R||2===R&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(x,"tb");break;case 232:l=a.replace(x,"tb-rl");break;case 220:l=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;
vendor: 4,198 bytes, line 1
1case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(_," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,u){for(var d,f=0,p=t;f<M;++f)switch(d=I[f].call(c,e,p,n,r,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){switch(e){case void 0:case null:M=I.length=0;break;default:if("function"==typeof e)I[M++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)l(e[t]);else N=0|!!e}return l}function u(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?R=1:(R=2,L=e):R=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[D=r],0<M){var i=s(-1,n,r,r,j,T,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(A,r,n,0,0);return 0<M&&void 0!==(i=s(-2,o,r,r,j,T,o.length,0,0,0))&&(o=i),D="",P=0,T=j=1,o}var d=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,m=/([,: ])(transform)/g,v=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,w=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,k=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,T=1,j=1,P=0,R=1,A=[],I=[],M=0,L=null,N=0,D="";return c.use=l,c.set=u,void 0!==e&&u(e),c},c="/*|*/",d=c+"}";function f(e){e&&p.current.insert(e+"}")}var p={current:null},h=function(e,t,n,r,i,o,a,s,l,u){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return p.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+c;break;case 3:switch(s){case 102:case 112:return p.current.insert(n[0]+t),"";default:return t+(0===u?c:"")}case -2:t.split(d).forEach(f)}},m=function(e){void 0===e&&(e={});var t,n,r,i=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var o=new u(t),a={};n=e.container||document.head;var s=document.querySelectorAll("style[data-emotion-"+i+"]");Array.prototype.forEach.call(s,function(e){e.getAttribute("data-emotion-"+i).split(" ").forEach(function(e){a[e]=!0}),e.parentNode!==n&&n.appendChild(e)}),o.use(e.stylisPlugins)(h),r=function(e,t,n,r){var i=t.name;p.current=n,o(e,t.styles),r&&(c.inserted[i]=!0)};var c={key:i,sheet:new l({key:i,container:n,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:r};return c},v=!0;function g(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "}),r}var y=function(e,t,n){var r=e.key+"-"+t.name;if((!1===n||!1===v&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do e.insert("."+r,i,e.sheet,!0),i=i.next;while(void 0!==i)}},b=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>
1>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},w={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},x=/[A-Z]|^ms/g,E=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_=function(e){return 45===e.charCodeAt(1)},k=function(e){return null!=e&&"boolean"!=typeof e},S=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return _(e)?e:e.replace(x,"-$&").toLowerCase()}),C=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(E,function(e,t,n){return r={name:t,styles:n,next:r},t})}return 1===w[e]||_(e)||"number"!=typeof t||0===t?t:t+"px"};function O(e,t,n,i){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)r={name:o.name,styles:o.styles,next:r},o=o.next;return n.styles+";"}return T(e,t,n);case"function":if(void 0!==e){var a=r,s=n(e);return r=a,O(e,t,s,i)}}if(null==t)return n;var l=t[n];return void 0===l||i?n:l}function T(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=O(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":k(a)&&(r+=S(o)+":"+C(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)k(a[s])&&(r+=S(o)+":"+C(o,a[s])+";");else{var l=O(e,t,a,!1);switch(o){case"animation":case"animationName":r+=S(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}}return r}var j=/label:\s*([^\s;\n{]+)\s*;/g,P=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,o=!0,a="";r=void 0;var s=e[0];null==s||void 0===s.raw?(o=!1,a+=O(n,t,s,!1)):a+=s[0];for(var l=1;l<e.length;l++)a+=O(n,t,e[l],46===a.charCodeAt(a.length-1)),o&&(a+=s[l]);j.lastIndex=0;for(var u="";null!==(i=j.exec(a));)u+="-"+i[1];return{name:b(a)+u,styles:a,next:r}},R=Object.prototype.hasOwnProperty,A=(0,o.createContext)("undefined"!=typeof HTMLElement?m():null),I=(0,o.createContext)({});A.Provider;var M=function(e){var t=function(t,n){return(0,o.createElement)(A.Consumer,null,function(r){return e(t,r,n)})};return(0,o.forwardRef)(t)},L="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",N=function(e,t){var n={};for(var r in t)R.call(t,r)&&(n[r]=t[r]);return n[L]=e,n},D=function(){return null},F=function(e,t,n,r){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[L],s=[i],l="";"string"==typeof t.className?l=g(e.registered,s,t.className):null!=t.className&&(l=t.className+" ");var u=P(s);y(e,u,"string"==typeof a),l+=e.key+"-"+u.name;var c={};for(var d in t)R.call(t,d)&&"css"!==d&&d!==L&&(c[d]=t[d]);c.ref=r,c.className=l;var f=(0,o.createElement)(a,c),p=(0,o.createElement)(D,null);return(0,o.createElement)(o.Fragment,null,p,f)},z=M(function(e,t,n){return"function"==typeof e.css?(0,o.createElement)(I.Consumer,null,function(r){return F(t,e,r,n)}):F(t,e,null,n)}),B=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>
1>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},U={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},V=/[A-Z]|^ms/g,H=/_EMO_([^_]+?)_([^]*?)_EMO_/g,q=function(e){return 45===e.charCodeAt(1)},W=function(e){return null!=e&&"boolean"!=typeof e},Z=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return q(e)?e:e.replace(V,"-$&").toLowerCase()}),K=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(H,function(e,t,n){return i={name:t,styles:n,next:i},t})}return 1===U[e]||q(e)||"number"!=typeof t||0===t?t:t+"px"};function $(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return i={name:n.name,styles:n.styles,next:i},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)i={name:o.name,styles:o.styles,next:i},o=o.next;return n.styles+";"}return G(e,t,n);case"function":if(void 0!==e){var a=i,s=n(e);return i=a,$(e,t,s,r)}}if(null==t)return n;var l=t[n];return void 0===l||r?n:l}function G(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=$(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":W(a)&&(r+=Z(o)+":"+K(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)W(a[s])&&(r+=Z(o)+":"+K(o,a[s])+";");else{var l=$(e,t,a,!1);switch(o){case"animation":case"animationName":r+=Z(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}}return r}var Q=/label:\s*([^\s;\n{]+)\s*;/g,Y=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r,o=!0,a="";i=void 0;var s=e[0];null==s||void 0===s.raw?(o=!1,a+=$(n,t,s,!1)):a+=s[0];for(var l=1;l<e.length;l++)a+=$(n,t,e[l],46===a.charCodeAt(a.length-1)),o&&(a+=s[l]);Q.lastIndex=0;for(var u="";null!==(r=Q.exec(a));)u+="-"+r[1];return{name:B(a)+u,styles:a,next:i}},X=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Y(t)},J=function(e,t){var n=arguments;if(null==t||!R.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=z,i[1]=N(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)},ee=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function et(e,t,n){var r=[],i=g(e,r,n);return r.length<2?n:i+t(r)}var en=function(){return null},er=M(function(e,t){return(0,o.createElement)(I.Consumer,null,function(n){var r=!1,i=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=P(n,t.registered);return y(t,i,!1),t.key+"-"+i.name},a=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return et(t.registered,i,ee(n))},s={css:i,cx:a,theme:n},l=e.children(s);r=!0;var u=(0,o.createElement)(en,null);return(0,o.createElement)(o.Fragment,null,u,l)})})},32866:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(67294),i=n(87536),o=function(e){var t=e.as,n=e.errors,o=e.name,a=e.message,s=e.render,l=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,["as","errors","name","message","render"]),u=(0,i.Gc)(),c=(0,i.U2)(n||u.formState.errors,o);if(!c)return null;var d=c.message,f=c.types,p=Object.assign({},l,{children:d||a});return r.isValidElement(t)?r.cloneElement(t,p):s?s({message:d||a,messages:f}):r.createElement(t||r.Fragment,p)}},62469:function(e,t,n){"use strict";n.d(t,{$eq:function(){return v},LPM:function(){return f},XCv:function(){return l},eA8:function(){return h},g8U:function(){return c},wyc:function(){return a}});var r=n(67294);function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var o=["color"],a=(0,r.forwardRef)(function(e,t){var n=e.color,a=void 0===n?"currentColor":n,s=i(e,o);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:t}),(0,r.createElement)("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:a,fillRule:"evenodd",clipRule:"evenodd"}))}),s=["color"],l=(0,r.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=i(e,s);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579
1L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],c=(0,r.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=i(e,u);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),d=["color"],f=(0,r.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=i(e,d);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),p=["color"],h=(0,r.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=i(e,p);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),m=["color"],v=(0,r.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=i(e,m);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M8 2H12.5C12.7761 2 13 2.22386 13 2.5V5H8V2ZM7 5V2H2.5C2.22386 2 2 2.22386 2 2.5V5H7ZM2 6V9H7V6H2ZM8 6H13V9H8V6ZM8 10H13V12.5C13 12.7761 12.7761 13 12.5 13H8V10ZM2 12.5V10H7V13H2.5C2.22386 13 2 12.7761 2 12.5ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))})},98129:function(e,t,n){"use strict";var r=n(60690);function i(){var e={},t=0,n=0,r=0;return{add:function(i,o){o||(o=i,i=0),i>n?n=i:i<r&&(r=i),e[i]||(e[i]=[]),e[i].push(o),t++},process:function(){for(var t=r;t<=n;t++)for(var i=e[t],o=0;o<i.length;o++)(0,i[o])()},size:function(){return t}}}
1e.exports=function(e){var t,n=(e=e||{}).reporter,o=r.getOption(e,"async",!0),a=r.getOption(e,"auto",!0);a&&!o&&(n&&n.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),o=!0);var s=i(),l=!1;function u(){for(l=!0;s.size();){var e=s;s=i(),e.process()}l=!1}function c(){t=f(u)}function d(e){return clearTimeout(e)}function f(e){return function(e){return setTimeout(e,0)}(e)}return{add:function(e,t){!l&&a&&o&&0===s.size()&&c(),s.add(e,t)},force:function(e){l||(void 0===e&&(e=o),t&&(d(t),t=null),e?c():u())}}}},60690:function(e){"use strict";function t(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}(e.exports={}).getOption=t},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},36511:function(e,t,n){"use strict";var r,i=n(96086),o={},a=function(e){};function s(e,t,n,r,i,o,s,l){if(a(t),!e){var u;if(void 0===t)u=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,l],d=0;(u=Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}var l="mixins";function u(e){return e}function c(e,t,n){var r=[],a={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},d={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=v(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){h(e,t)},autobind:function(){}};function f(e,t){var n=a.hasOwnProperty(t)?a[t]:null;E.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;for(var o in n.hasOwnProperty(l)&&d.mixins(e,n.mixins),n)if(n.hasOwnProperty(o)&&o!==l){var u=n[o],c=r.hasOwnProperty(o);if(f(c,o),d.hasOwnProperty(o))d[o](e,u);else{var p=a.hasOwnProperty(o);if("function"!=typeof u||p||c||!1===n.autobind){if(c){var h=a[o];s(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,o),"DEFINE_MANY_MERGED"===h?r[o]=v(r[o],u):"DEFINE_MANY"===h&&(r[o]=g(r[o],u))}else r[o]=u}else i.push(o,u),r[o]=u}}}}function h(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(s(!(n in d),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){s("DEFINE_MANY_MERGED"===(c.hasOwnProperty(n)?c[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=v(e[n],r);return}e[n]=r}}}function m(e,t){for(var n in s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function v(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return m(i,n),m(i,r),i}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}function b(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e[r]=y(e,i)}}var w={componentDidMount:function(){this.__isMounted=!0}},x={componentWillUnmount:function(){this.__isMounted=!1}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},_=function(){};return i(_.prototype,e.prototype,E),function(e){var t=u(function(e,r,i){this.__reactAutoBindPairs.length&&b(this),this.props=e,this.context=r,this.refs=o,this.updater=i||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;s("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a});for(var i in t.prototype=new _,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],r.forEach(p.bind(null,t)),p(t,w),p(t,e),p(t,x),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),s(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),a)t.prototype[i]||(t.prototype[i]=null);return t}}r={},e.exports=c},72555:function(e,t,n){"use strict";var r=n(67294),i=n(36511);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=new r.Component().updater;e.exports=i(r.Component,r.isValidElement,o)},39741:function(e,t,n){var r,i;!function(o,a){"use strict";void 0!==(i="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=i)}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var r=t[n]+"MatchesSelector";if(e[r])return r}}();return function(t,n){return t[e](n)}})},2268:function(e){"use strict";var t=e.exports={};t.isIE=function(e){return!!function(){var e=navigator.userAgent.toLowerCase();return -1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}()&&(!e||e===function(){var e,t=3,n=document.createElement("div"),r=n.getElementsByTagName("i");do n.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->";while(r[0]);return t>4?t:e}())},t.isLegacyOpera=function(){return!!window.opera}},17900:function(e){"use strict";(e.exports={}
1).forEach=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r)return r}}},58229:function(e,t,n){"use strict";var r=n(2268);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,i=e.stateHandler.getState;if(!t)throw Error("Missing required dependency: reporter.");function o(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function a(e){return i(e).object}return{makeDetectable:function(e,a,s){function l(a,s){var l=o(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),u=!1,c=window.getComputedStyle(a),d=a.offsetWidth,f=a.offsetHeight;function p(){function n(){if("static"===c.position){a.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,r,i){function o(e){return e.replace(/[^-\d\.]/g,"")}var a=r[i];"auto"!==a&&"0"!==o(a)&&(t.warn("An element that is positioned static has style."+i+"="+a+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",n),n.style.setProperty(i,"0",e.important?"important":""))};n(t,a,c,"top"),n(t,a,c,"right"),n(t,a,c,"bottom"),n(t,a,c,"left")}}function o(){function e(t,n){if(!t.contentDocument){var r=i(t);r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),r.checkForObjectDocumentTimeoutId=setTimeout(function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)},100);return}n(t.contentDocument)}u||n();var t=this;e(t,function(e){s(a)})}""!==c.position&&(n(c),u=!0);var d=document.createElement("object");d.style.cssText=l,d.tabIndex=-1,d.type="text/html",d.setAttribute("aria-hidden","true"),d.onload=o,r.isIE()||(d.data="about:blank"),i(a)&&(a.appendChild(d),i(a).object=d,r.isIE()&&(d.data="about:blank"))}i(a).startSize={width:d,height:f},n?n.add(p):p()}s||(s=a,a=e,e=null),(e=e||{}).debug,r.isIE(8)?s(a):l(a,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))i(e).object={proxy:n},e.attachEvent("onresize",n);else{var o=a(e);if(!o)throw Error("Element is not detectable by this strategy.");o.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(i(e)){var t=a(e);t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),i(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(e).checkForObjectDocumentTimeoutId),delete i(e).object)}}}}},60787:function(e,t,n){"use strict";var r=n(17900).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,i=e.stateHandler.getState;e.stateHandler.hasState;var o=e.idHandler;if(!n)throw Error("Missing required dependency: batchProcessor");if(!t)throw Error("Missing required dependency: reporter.");var a=d(),s="erd_scroll_detection_scrollbar_style",l="erd_scroll_detection_container";function u(e){f(e,s,l)}function c(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function d(){var e=500,t=500,n=document.createElement("div");n.style.cssText=c(["position: absolute","width: "+2*e+"px","height: "+2*t+"px","visibility: hidden","margin: 0","padding: 0"]);var r=document.createElement("div");r.style.cssText=c(["position: absolute","width: "+e+"px","height: "+t+"px","overflow: scroll","visibility: none","top: "+-(3*e)+"px","left: "+-(3*t)+"px","visibility: hidden","margin: 0","padding: 0"]),r.appendChild(n),document.body.insertBefore(r,document.body.firstChild);var i=e-r.clientWidth,o=t-r.clientHeight;return document.body.removeChild(r),{width:i,height:o}}function f(e,t,n){function r(n,r){r=r||function(t){e.head.appendChild(t)};var i=e.createElement("style");return i.innerHTML=n,i.id=t,r(i),i}if(!e.getElementById(t)){var i=n+"_animation",o=n+"_animation_active",a="/* Created by the element-resize-detector library. */\n";r(a+="."+n+" > div::-webkit-scrollbar { "+c(["display: none"])+" }\n\n"+("."+o+" { ")+c(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+i,"animation-name: "+i])+" }\n@-webkit-keyframes "+i+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n@keyframes "+i+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}function p(e){e.className+=" "+l+"_animation_active"}function h(e,n,r){if(e.addEventListener)e.addEventListener(n,r);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,r)}}function m(e,n,r){if(e.removeEventListener)e.removeEventListener(n,r);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,r)}}function v(e){return i(e).container.childNodes[0].childNodes[0].childNodes[0]}function g(e){return i(e).container.childNodes[0].childNodes[0].childNodes[1]}return u(window.document),{makeDetectable:function(e,s,u){function d(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(s),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var r=0;r<n.length;r++)t.log(n[r])}}function f(e){return!function(e){var t=e.getRootNode&&e.getRootNode().contains(e);return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)||t}(e)||null===window.getComputedStyle(e)}function m(e){var t=i(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function y(){var e=window.getComputedStyle(s),t={};return t.position=e.position,t.width=s.offsetWidth,t.height=s.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.height
1CSS=e.height,t}function b(){var e=y();i(s).startSize={width:e.width,height:e.height},d("Element start size",i(s).startSize)}function w(){i(s).listeners=[]}function x(){if(d("storeStyle invoked."),!i(s)){d("Aborting because element has been uninstalled");return}var e=y();i(s).style=e}function E(e,t,n){i(e).lastWidth=t,i(e).lastHeight=n}function _(e){return v(e).childNodes[0]}function k(){return 2*a.width+1}function S(){return 2*a.height+1}function C(e){return e+10+k()}function O(e){return e+10+S()}function T(e){return 2*e+k()}function j(e){return 2*e+S()}function P(e,t,n){var r=v(e),i=g(e),o=C(t),a=O(n),s=T(t),l=j(n);r.scrollLeft=o,r.scrollTop=a,i.scrollLeft=s,i.scrollTop=l}function R(){var e=i(s).container;if(!e){(e=document.createElement("div")).className=l,e.style.cssText=c(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),i(s).container=e,p(e),s.appendChild(e);var t=function(){i(s).onRendered&&i(s).onRendered()};h(e,"animationstart",t),i(s).onAnimationStart=t}return e}function A(){function n(){var n=i(s).style;if("static"===n.position){s.style.setProperty("position","relative",e.important?"important":"");var r=function(e,t,n,r){function i(e){return e.replace(/[^-\d\.]/g,"")}var o=n[r];"auto"!==o&&"0"!==i(o)&&(e.warn("An element that is positioned static has style."+r+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style[r]=0)};r(t,s,n,"top"),r(t,s,n,"right"),r(t,s,n,"bottom"),r(t,s,n,"left")}}function r(e,t,n,r){return["left: "+(e=e?e+"px":"0"),"top: "+(t=t?t+"px":"0"),"right: "+(r=r?r+"px":"0"),"bottom: "+(n=n?n+"px":"0")]}if(d("Injecting elements"),!i(s)){d("Aborting because element has been uninstalled");return}n();var o=i(s).container;o||(o=R());var u=a.width,f=a.height,p=c(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),m=c(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(r(-(1+u),-(1+f),-f,-u))),v=c(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),g=c(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=c(["position: absolute","left: 0","top: 0"]),b=c(["position: absolute","width: 200%","height: 200%"]),w=document.createElement("div"),x=document.createElement("div"),E=document.createElement("div"),_=document.createElement("div"),k=document.createElement("div"),S=document.createElement("div");function C(){var e=i(s);e&&e.onExpand?e.onExpand():d("Aborting expand scroll handler: element has been uninstalled")}function O(){var e=i(s);e&&e.onShrink?e.onShrink():d("Aborting shrink scroll handler: element has been uninstalled")}w.dir="ltr",w.style.cssText=p,w.className=l,x.className=l,x.style.cssText=m,E.style.cssText=v,_.style.cssText=y,k.style.cssText=g,S.style.cssText=b,E.appendChild(_),k.appendChild(S),x.appendChild(E),x.appendChild(k),w.appendChild(x),o.appendChild(w),h(E,"scroll",C),h(k,"scroll",O),i(s).onExpandScroll=C,i(s).onShrinkScroll=O}function I(){function a(t,n,r){var i=_(t),o=C(n),a=O(r);i.style.setProperty("width",o+"px",e.important?"important":""),i.style.setProperty("height",a+"px",e.important?"important":"")}function l(r){var l=s.offsetWidth,c=s.offsetHeight,f=l!==i(s).lastWidth||c!==i(s).lastHeight;d("Storing current size",l,c),E(s,l,c),n.add(0,function(){if(f){if(!i(s)){d("Aborting because element has been uninstalled");return}if(!u()){d("Aborting because element container has not been initialized");return}if(e.debug){var n=s.offsetWidth,r=s.offsetHeight;(n!==l||r!==c)&&t.warn(o.get(s),"Scroll: Size changed before updating detector elements.")}a(s,l,c)}}),n.add(1,function(){if(!i(s)){d("Aborting because element has been uninstalled");return}if(!u()){d("Aborting because element container has not been initialized");return}P(s,l,c)}),f&&r&&n.add(2,function(){if(!i(s)){d("Aborting because element has been uninstalled");return}if(!u()){d("Aborting because element container has not been initialized");return}r()})}function u(){return!!i(s).container}function c(){function e(){return void 0===i(s).lastNotifiedWidth}d("notifyListenersIfNeeded invoked");var t=i(s);return e()&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?d("Not notifying: Size is the same as the start size, and there has been no notification yet."):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?d("Not notifying: Size already notified"):void(d("Current size not notified, notifying..."),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,r(i(s).listeners,function(e){e(s)}))}function f(){if(d("startanimation triggered."),m(s)){d("Ignoring since element is still unrendered...");return}d("Element rendered.");var e=v(s),t=g(s);(0===e.scrollLeft||0===e.scrollTop||0===t.scrollLeft||0===t.scrollTop)&&(d("Scrollbars out of sync. Updating detector elements..."),l(c))}function p(){if(d("Scroll detected."),m(s)){d("Scroll event fired while unrendered. Ignoring...");return}l(c)}if(d("registerListenersAndPositionElements invoked."),!i(s)){d("Aborting because element has been uninstalled");return}i(s).onRendered=f,i(s).onExpand=p,i(s).onShrink=p;var h=i(s).style;a(s,h.width,h.height)}function M(){if(d("finalizeDomMutation invoked."),!i(s)){d("Aborting because element has been uninstalled");return}var e=i(s).style;E(s,e.width,e.height),P(s,e.width,e.height)}function L(){u(s)}function N(){d("Installing..."),w(),b(),n.add(0,x),n.add(1,A),n.add(2,I),n.add(3,M),n.add(4,L)}u||(u=s,s=e,e=null),e=e||{},d("Making detectable..."),f(s)?(d("Element is detached"),R(),d("Waiting until element is attached..."),i(s).onRendered=function(){d("Element is now attached"),N()}):N()},addListener:function(e,t){if(!i(e).listeners.push)throw Error("Cannot add listener to an element that is not detectable.");i(e).listeners.push(t)},uninstall:function(e){var t=i(e);t&&(t.onExpandScroll&&m(v(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&m(g(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&m(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:u}}},63844:function(e,t,n){"use strict";
1var r=n(17900).forEach,i=n(68452),o=n(96199),a=n(75805),s=n(79799),l=n(71724),u=n(2268),c=n(98129),d=n(21931),f=n(58229),p=n(60787);function h(e){return Array.isArray(e)||void 0!==e.length}function m(e){if(Array.isArray(e))return e;var t=[];return r(e,function(e){t.push(e)}),t}function v(e){return e&&1===e.nodeType}function g(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}e.exports=function(e){if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var t,n;t=s({idGenerator:a(),stateHandler:d})}var y=e.reporter;y||(y=l(!1===y));var b=g(e,"batchProcessor",c({reporter:y})),w={};w.callOnAdd=!!g(e,"callOnAdd",!0),w.debug=!!g(e,"debug",!1);var x=o(t),E=i({stateHandler:d}),_=g(e,"strategy","object"),k=g(e,"important",!1),S={reporter:y,batchProcessor:b,stateHandler:d,idHandler:t,important:k};if("scroll"===_&&(u.isLegacyOpera()?(y.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),_="object"):u.isIE(9)&&(y.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),_="object")),"scroll"===_)n=p(S);else if("object"===_)n=f(S);else throw Error("Invalid strategy name: "+_);var C={};function O(e){if(!e)return y.error("At least one element is required.");if(v(e))e=[e];else{if(!h(e))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=m(e)}r(e,function(e){x.removeAllListeners(e),n.uninstall(e),d.cleanState(e)})}function T(e){n.initDocument&&n.initDocument(e)}return{listenTo:function(e,i,o){function a(e){r(x.get(e),function(t){t(e)})}function s(e,t,n){x.add(t,n),e&&n(t)}if(o||(o=i,i=e,e={}),!i)throw Error("At least one element required.");if(!o)throw Error("Listener required.");if(v(i))i=[i];else{if(!h(i))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");i=m(i)}var l=0,u=g(e,"callOnAdd",w.callOnAdd),c=g(e,"onReady",function(){}),f=g(e,"debug",w.debug);r(i,function(e){d.getState(e)||(d.initState(e),t.set(e));var p=t.get(e);if(f&&y.log("Attaching listener to element",p,e),!E.isDetectable(e)){if(f&&y.log(p,"Not detectable."),E.isBusy(e)){f&&y.log(p,"System busy making it detectable"),s(u,e,o),C[p]=C[p]||[],C[p].push(function(){++l===i.length&&c()});return}return f&&y.log(p,"Making detectable..."),E.markBusy(e,!0),n.makeDetectable({debug:f,important:k},e,function(e){if(f&&y.log(p,"onElementDetectable"),d.getState(e)){E.markAsDetectable(e),E.markBusy(e,!1),n.addListener(e,a),s(u,e,o);var t=d.getState(e);if(t&&t.startSize){var h=e.offsetWidth,m=e.offsetHeight;(t.startSize.width!==h||t.startSize.height!==m)&&a(e)}C[p]&&r(C[p],function(e){e()})}else f&&y.log(p,"Element uninstalled before being detectable.");delete C[p],++l===i.length&&c()})}f&&y.log(p,"Already detecable, adding listener."),s(u,e,o),l++}),l===i.length&&c()},removeListener:x.removeListener,removeAllListeners:x.removeAllListeners,uninstall:O,initDocument:T}}},68452:function(e){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},75805:function(e){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},79799:function(e){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var r=n(e);if(!r)throw Error("setId required the element to have a resize detection state.");var i=t.generate();return r.id=i,i}}}},96199:function(e){"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}function r(e,t){for(var r=n(e),i=0,o=r.length;i<o;++i)if(r[i]===t){r.splice(i,1);break}}function i(e){var t=n(e);t&&(t.length=0)}return{get:n,add:function(n,r){var i=e.get(n);t[i]||(t[i]=[]),t[i].push(r)},removeListener:r,removeAllListeners:i}}},71724:function(e){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},21931:function(e){"use strict";var t="_erd";function n(e){return e[t]={},r(e)}function r(e){return e[t]}function i(e){delete e[t]}e.exports={initState:n,getState:r,cleanState:i}}
1,62988:function(e,t,n){var r=n(61755),i=n(26665).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,function(t){t[e]()})}},e.exports=o},38177:function(e,t,n){var r=n(62988),i=n(26665),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,function(t){a(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},61755:function(e){function t(e){this.options=e,e.deferSetup||this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},26665:function(e){function t(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)}function r(e){return"function"==typeof e}e.exports={isFunction:r,isArray:n,each:t}},24974:function(e,t,n){var r=n(38177);e.exports=new r},7158:function(e,t,n){var r,i;!function(o,a){void 0!==(i="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=i)}("undefined"!=typeof window&&window,function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return -1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return -1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],i=0;i<n.length;i++){var o=n[i];r&&r[o]&&(this.off(e,o),delete r[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})},99047:function(e,t,n){var r;!function(i,o){void 0!==(r=(function(e){return o(i,e)}).apply(t,[n(39741)]))&&(e.exports=r)}(window,function(e,t){"use strict";var n={};n.extend=function(e,t){for(var n in t)e[n]=t[n];return e},n.modulo=function(e,t){return(e%t+t)%t};var r=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?r.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(t(e=e.parentNode,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,r){e=n.makeArray(e);var i=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!r){i.push(e);return}t(e,r)&&i.push(e);for(var n=e.querySelectorAll(r),o=0;o<n.length;o++)i.push(n[o])}}),i},n.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],i=t+"Timeout";e.prototype[t]=function(){clearTimeout(this[i]);var e=arguments,t=this;this[i]=setTimeout(function(){r.apply(t,e),delete t[i]},n)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var i=e.console;return n.htmlInit=function(t,r){n.docReady(function(){var o=n.toDashed(r),a="data-"+o,s=document.querySelectorAll("["+a+"]"),l=d
1ocument.querySelectorAll(".js-"+o),u=n.makeArray(s).concat(n.makeArray(l)),c=a+"-options",d=e.jQuery;u.forEach(function(e){var n,o=e.getAttribute(a)||e.getAttribute(c);try{n=o&&JSON.parse(o)}catch(t){i&&i.error("Error parsing "+a+" on "+e.className+": "+t);return}var s=new t(e,n);d&&d.data(e,r,s)})})},n})},66131:function(e,t,n){var r,i;!function(o,a){void 0!==(i="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=i)}(window,function(){"use strict";function e(e){var t=parseFloat(e);return -1==e.indexOf("%")&&!isNaN(t)&&t}function t(){}var n,r="undefined"==typeof console?t:function(e){console.error(e)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function a(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<o;t++)e[i[t]]=0;return e}function s(e){var t=getComputedStyle(e);return t||r("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var l=!1;function u(){if(!l){l=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var r=document.body||document.documentElement;r.appendChild(t),n=200==Math.round(e(s(t).width)),c.isBoxSizeOuter=n,r.removeChild(t)}}function c(t){if(u(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var r=s(t);if("none"==r.display)return a();var l={};l.width=t.offsetWidth,l.height=t.offsetHeight;for(var c=l.isBorderBox="border-box"==r.boxSizing,d=0;d<o;d++){var f=i[d],p=parseFloat(r[f]);l[f]=isNaN(p)?0:p}var h=l.paddingLeft+l.paddingRight,m=l.paddingTop+l.paddingBottom,v=l.marginLeft+l.marginRight,g=l.marginTop+l.marginBottom,y=l.borderLeftWidth+l.borderRightWidth,b=l.borderTopWidth+l.borderBottomWidth,w=c&&n,x=e(r.width);!1!==x&&(l.width=x+(w?0:h+y));var E=e(r.height);return!1!==E&&(l.height=E+(w?0:m+b)),l.innerWidth=l.width-(h+y),l.innerHeight=l.height-(m+b),l.outerWidth=l.width+v,l.outerHeight=l.height+g,l}}return c})},80504:function(e){"use strict";function t(e,t){for(;e.length<t;)e="0"+e;return e}function n(e,t){var n,r;if(0===t.length)return e;for(n=0,r=t.length;n<r;n++)e=(e<<5)-e+t.charCodeAt(n)|0;return e<0?-2*e:e}function r(e,t,n){return Object.keys(t).sort().reduce(r,e);function r(e,r){return i(e,t[r],r,n)}}function i(e,t,i,a){var s=n(n(n(e,i),o(t)),typeof t);if(null===t)return n(s,"null");if(void 0===t)return n(s,"undefined");if("object"==typeof t||"function"==typeof t){if(-1!==a.indexOf(t))return n(s,"[Circular]"+i);a.push(t);var l=r(s,t,a);if(!("valueOf"in t)||"function"!=typeof t.valueOf)return l;try{return n(l,String(t.valueOf()))}catch(e){return n(l,"[valueOf exception]"+(e.stack||e.message))}}return n(s,t.toString())}function o(e){return Object.prototype.toString.call(e)}function a(e){return t(i(0,e,"",[]).toString(16),8)}e.exports=a},77564:function(e,t,n){var r;!function(i,o){"use strict";void 0!==(r=(function(e){return o(i,e)}).apply(t,[n(7158)]))&&(e.exports=r)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.jQuery,r=e.console;function i(e,t){for(var n in t)e[n]=t[n];return e}var o=Array.prototype.slice;function a(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?o.call(e):[e]}function s(e,t,o){if(!(this instanceof s))return new s(e,t,o);var l=e;if("string"==typeof e&&(l=document.querySelectorAll(e)),!l){r.error("Bad element for imagesLoaded "+(l||e));return}this.elements=a(l),this.options=i({},this.options),"function"==typeof t?o=t:i(this.options,t),o&&this.on("always",o),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))}s.prototype=Object.create(t.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroun
1dImages(e);var t=e.nodeType;if(t&&l[t]){for(var n=e.querySelectorAll("img"),r=0;r<n.length;r++){var i=n[r];this.addImage(i)}if("string"==typeof this.options.background){var o=e.querySelectorAll(this.options.background);for(r=0;r<o.length;r++){var a=o[r];this.addElementBackgroundImages(a)}}}};var l={1:!0,9:!0,11:!0};function u(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return s.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(t.backgroundImage);null!==r;){var i=r&&r[2];i&&this.addBackground(i,e),r=n.exec(t.backgroundImage)}},s.prototype.addImage=function(e){var t=new u(e);this.images.push(t)},s.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},s.prototype.check=function(){var e=this;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}function t(t,n,r){setTimeout(function(){e.progress(t,n,r)})}this.images.forEach(function(e){e.once("progress",t),e.check()})},s.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,e,t)},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},u.prototype=Object.create(t.prototype),u.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(0!==this.img.naturalWidth,"naturalWidth");return}this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src},u.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},u.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},u.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},u.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},u.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},u.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(u.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},s.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new s(this,e,t).jqDeferred.promise(n(this))})},s.makeJQueryPlugin(),s})},80973:function(e,t,n){var r=n(71169),i=function(e){return/[height|width]$/.test(e)},o=function(e){var t="",n=Object.keys(e);return n.forEach(function(o,a){var s=e[o];i(o=r(o))&&"number"==typeof s&&(s+="px"),!0===s?t+=o:!1===s?t+="not "+o:t+="("+o+": "+s+")",a<n.length-1&&(t+=" and ")}),t},a=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,r){t+=o(n),r<e.length-1&&(t+=", ")}),t):o(e)};e.exports=a},91296:function(e,t,n){var r="Expected a function",i=0/0,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),h=Object.prototype.toString,m=Math.max,v=Math.min,g=function(){return p.Date.now()};function y(e,t,n){var i,o,a,s,l,u,c=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw TypeError(r);function h(t){var n=i,r=o;return i=o=void 0,c=t,s=e.apply(r,n)}function y(e){return c=e,l=setTimeout(_,t),d?h(e):s}function w(e){var n=e-u,r=e-c,i=t-n;return f?v(i,a-r):i}function x(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||f&&r>=a}function _(){var e=g();if(x(e))return k(e);l=setTimeout(_,w(e))}function k(e){return(l=void 0,p&&i)?h(e):(i=o=void 0,s)}function S(){void 0!==l&&clearTimeout(l),c=0,i=u=o=l=void 0}function C(){return void 0===l?s:k(g())}function O(){var e=g(),n=x(e);if(i=arguments,o=this,u=e,n){if(void 0===l)return y(u);if(f)return l=setTimeout(_,t),h(u)}return void 0===l&&(l=setTimeout(_,t)),s}return t=E(t)||0,b(n)&&(d=!!n.leading,a=(f="maxWait"in n)?m(E(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),O.cancel=S,O.flush=C,O}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}function x(e){return"symbol"==typeof e||w(e)&&h.call(e)==o}function E(e){if("number"==typeof e)return e;if(x(e))return i;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?i:+e}e.exports=y},29208:function(e,t,n){var r="Expected a function",i="__lodash_hash_undefined__",o=1/0,a="[object Function]",s="[object GeneratorFunction]",l="[object Symbol]",u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,d=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/[\\^$.*+?()[\]{}|]/g,h=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,v="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,g="object"==typeof self&&self&&self.Object===Object&&self,y=v||g||Function("return this")();function b(e,t){return null==e?void 0:e[t]}function w(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}var x=Array.prototype,E=Function.prototype,_=Object.prototype,k=y["__core-js_shared__"],S=function(){var e=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||"");
vendor: 1,676 bytes, line 1
1return e?"Symbol(src)_1."+e:""}(),C=E.toString,O=_.hasOwnProperty,T=_.toString,j=RegExp("^"+C.call(O).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=y.Symbol,R=x.splice,A=ea(y,"Map"),I=ea(Object,"create"),M=P?P.prototype:void 0,L=M?M.toString:void 0;function N(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(){this.__data__=I?I(null):{}}function F(e){return this.has(e)&&delete this.__data__[e]}function z(e){var t=this.__data__;if(I){var n=t[e];return n===i?void 0:n}return O.call(t,e)?t[e]:void 0}function B(e){var t=this.__data__;return I?void 0!==t[e]:O.call(t,e)}function U(e,t){return this.__data__[e]=I&&void 0===t?i:t,this}function V(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function H(){this.__data__=[]}function q(e){var t=this.__data__,n=ee(t,e);return!(n<0)&&(n==t.length-1?t.pop():R.call(t,n,1),!0)}function W(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]}function Z(e){return ee(this.__data__,e)>-1}function K(e,t){var n=this.__data__,r=ee(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function $(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(){this.__data__={hash:new N,map:new(A||V),string:new N}}function Q(e){return eo(this,e).delete(e)}function Y(e){return eo(this,e).get(e)}function X(e){return eo(this,e).has(e)}function J(e,t){return eo(this,e).set(e,t),this}function ee(e,t){for(var n=e.length;n--;)if(eh(e[n][0],t))return n;return -1}function et(e,t){t=es(t,e)?[t]:ei(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ed(t[n++])];return n&&n==r?e:void 0}
1function en(e){return!(!eg(e)||eu(e))&&(ev(e)||w(e)?j:m).test(ef(e))}function er(e){if("string"==typeof e)return e;if(eb(e))return L?L.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}function ei(e){return em(e)?e:ec(e)}function eo(e,t){var n=e.__data__;return el(t)?n["string"==typeof t?"string":"hash"]:n.map}function ea(e,t){var n=b(e,t);return en(n)?n:void 0}function es(e,t){if(em(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||eb(e))||c.test(e)||!u.test(e)||null!=t&&e in Object(t)}function el(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function eu(e){return!!S&&S in e}N.prototype.clear=D,N.prototype.delete=F,N.prototype.get=z,N.prototype.has=B,N.prototype.set=U,V.prototype.clear=H,V.prototype.delete=q,V.prototype.get=W,V.prototype.has=Z,V.prototype.set=K,$.prototype.clear=G,$.prototype.delete=Q,$.prototype.get=Y,$.prototype.has=X,$.prototype.set=J;var ec=ep(function(e){e=ew(e);var t=[];return d.test(e)&&t.push(""),e.replace(f,function(e,n,r,i){t.push(r?i.replace(h,"$1"):n||e)}),t});function ed(e){if("string"==typeof e||eb(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}function ef(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ep(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(ep.Cache||$),n}function eh(e,t){return e===t||e!=e&&t!=t}ep.Cache=$;var em=Array.isArray;function ev(e){var t=eg(e)?T.call(e):"";return t==a||t==s}function eg(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ey(e){return!!e&&"object"==typeof e}function eb(e){return"symbol"==typeof e||ey(e)&&T.call(e)==l}function ew(e){return null==e?"":er(e)}function ex(e,t,n){var r=null==e?void 0:et(e,t);return void 0===r?n:r}e.exports=ex},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},38407:function(e,t,n){var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(54705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},46384:function(e,t,n){var r=n(38407),i=n(37465),o=n(63779),a=n(67599),s=n(44758),l=n(34309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},96874:function(e){function t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}
1e.exports=t},77412:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=t},34963:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}e.exports=t},14636:function(e,t,n){var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),l=n(36719),u=Object.prototype.hasOwnProperty;function c(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&l(e),p=n||c||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)(t||u.call(e,v))&&!(p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m)))&&h.push(v);return h}e.exports=c},29932:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}e.exports=t},62488:function(e){function t(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}e.exports=t},34865:function(e,t,n){var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;function a(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}e.exports=a},18470:function(e,t,n){var r=n(77813);function i(e,t){for(var n=e.length;n--;
1)if(r(e[n][0],t))return n;return -1}e.exports=i},44037:function(e,t,n){var r=n(98363),i=n(3674);function o(e,t){return e&&r(t,i(t),e)}e.exports=o},63886:function(e,t,n){var r=n(98363),i=n(81704);function o(e,t){return e&&r(t,i(t),e)}e.exports=o},89465:function(e,t,n){var r=n(38777);function i(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=i},85990:function(e,t,n){var r=n(46384),i=n(77412),o=n(34865),a=n(44037),s=n(63886),l=n(64626),u=n(278),c=n(18805),d=n(1911),f=n(58234),p=n(46904),h=n(64160),m=n(43824),v=n(29148),g=n(38517),y=n(1469),b=n(44144),w=n(56688),x=n(13218),E=n(72928),_=n(3674),k=n(81704),S=1,C=2,O=4,T="[object Arguments]",j="[object Array]",P="[object Boolean]",R="[object Date]",A="[object Error]",I="[object Function]",M="[object GeneratorFunction]",L="[object Map]",N="[object Number]",D="[object Object]",F="[object RegExp]",z="[object Set]",B="[object String]",U="[object Symbol]",V="[object WeakMap]",H="[object ArrayBuffer]",q="[object DataView]",W="[object Float32Array]",Z="[object Float64Array]",K="[object Int8Array]",$="[object Int16Array]",G="[object Int32Array]",Q="[object Uint8Array]",Y="[object Uint8ClampedArray]",X="[object Uint16Array]",J="[object Uint32Array]",ee={};function et(e,t,n,j,P,R){var A,L=t&S,N=t&C,F=t&O;if(n&&(A=P?n(e,j,P,R):n(e)),void 0!==A)return A;if(!x(e))return e;var z=y(e);if(z){if(A=m(e),!L)return u(e,A)}else{var B=h(e),U=B==I||B==M;if(b(e))return l(e,L);if(B==D||B==T||U&&!P){if(A=N||U?{}:g(e),!L)return N?d(e,s(A,e)):c(e,a(A,e))}else{if(!ee[B])return P?e:{};A=v(e,B,L)}}R||(R=new r);var V=R.get(e);if(V)return V;R.set(e,A),E(e)?e.forEach(function(r){A.add(et(r,t,n,r,e,R))}):w(e)&&e.forEach(function(r,i){A.set(i,et(r,t,n,i,e,R))});var H=F?N?p:f:N?k:_,q=z?void 0:H(e);return i(q||e,function(r,i){q&&(r=e[i=r]),o(A,i,et(r,t,n,i,e,R))}),A}ee[T]=ee[j]=ee[H]=ee[q]=ee[P]=ee[R]=ee[W]=ee[Z]=ee[K]=ee[$]=ee[G]=ee[L]=ee[N]=ee[D]=ee[F]=ee[z]=ee[B]=ee[U]=ee[Q]=ee[Y]=ee[X]=ee[J]=!0,ee[A]=ee[I]=ee[V]=!1,e.exports=et},3118:function(e,t,n){var r=n(13218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},21078:function(e,t,n){var r=n(62488),i=n(37285);function o(e,t,n,a,s){var l=-1,u=e.length;for(n||(n=i),s||(s=[]);++l<u;){var c=e[l];t>0&&n(c)?t>1?o(c,t-1,n,a,s):r(s,c):a||(s[s.length]=c)}return s}e.exports=o},97786:function(e,t,n){var r=n(71811),i=n(40327);function o(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}e.exports=o},68866:function(e,t,n){var r=n(62488),i=n(1469);function o(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}e.exports=o},44239:function(e,t,n){var r=n(62705),i=n(89607),o=n(2333),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}e.exports=u},9454:function(e,t,n){var r=n(44239),i=n(37005),o="[object Arguments]";function a(e){return i(e)&&r(e)==o}e.exports=a},25588:function(e,t,n){var r=n(64160),i=n(37005),o="[object Map]";function a(e){return i(e)&&r(e)==o}e.exports=a},28458:function(e,t,n){var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){return!(!o(e)||i(e))&&(r(e)?f:l).test(a(e))}e.exports=p},29221:function(e,t,n){var r=n(64160),i=n(37005),o="[object Set]";function a(e){return i(e)&&r(e)==o}e.exports=a},38749:function(e,t,n){var r=n(44239),i=n(41780),o=n(37005),a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",x="[object Float64Array]",E="[object Int8Array]",_="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",C="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]",j={};function P(e){return o(e)&&i(e.length)&&!!j[r(e)]}j["[object Float32Array]"]=j[x]=j[E]=j[_]=j[k]=j[S]=j[C]=j[O]=j[T]=!0,j[a]=j[s]=j[b]=j[l]=j[w]=j[u]=j[c]=j[d]=j[f]=j[p]=j[h]=j[m]=j[v]=j[g]=j[y]=!1,e.exports=P},280:function(e,t,n){var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;function a(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=a},10313:function(e,t,n){var r=n(13218),i=n(25726),o=n(33498),a=Object.prototype.hasOwnProperty;function s(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}
1e.exports=s},5976:function(e,t,n){var r=n(6557),i=n(45357),o=n(30061);function a(e,t){return o(i(e,t,r),e+"")}e.exports=a},56560:function(e,t,n){var r=n(75703),i=n(38777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},14259:function(e){function t(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}e.exports=t},22545:function(e){function t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=t},80531:function(e,t,n){var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;function c(e){if("string"==typeof e)return e;if(o(e))return i(e,c)+"";if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=c},27561:function(e,t,n){var r=n(67990),i=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(i,""):e}e.exports=o},7518:function(e){function t(e){return function(t){return e(t)}}e.exports=t},57406:function(e,t,n){var r=n(71811),i=n(10928),o=n(40292),a=n(40327),s=Object.prototype.hasOwnProperty;function l(e,t){t=r(t,e);var n=-1,l=t.length;if(!l)return!0;for(;++n<l;){var u=a(t[n]);if("__proto__"===u&&!s.call(e,"__proto__")||("constructor"===u||"prototype"===u)&&n<l-1)return!1}var c=o(e,t);return null==c||delete c[a(i(t))]}e.exports=l},71811:function(e,t,n){var r=n(1469),i=n(15403),o=n(55514),a=n(79833);function s(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}e.exports=s},74318:function(e,t,n){var r=n(11149);function i(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}e.exports=i},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}e.exports=l},57157:function(e,t,n){var r=n(74318);function i(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e.exports=i},93147:function(e){var t=/\w*$/;function n(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}e.exports=n},40419:function(e,t,n){var r=n(62705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;function a(e){return o?Object(o.call(e)):{}}e.exports=a},77133:function(e,t,n){var r=n(74318);function i(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}e.exports=i},278:function(e){function t(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=t},98363:function(e,t,n){var r=n(34865),i=n(89465);function o(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?i(n,u,c):r(n,u,c)}return n}e.exports=o},18805:function(e,t,n){var r=n(98363),i=n(99551);function o(e,t){return r(e,i(e),t)}e.exports=o},1911:function(e,t,n){var r=n(98363),i=n(51442);function o(e,t){return r(e,i(e),t)}e.exports=o},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},21463:function(e,t,n){var r=n(5976),i=n(16612);function o(e){return r(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}e.exports=o},60696:function(e,t,n){var r=n(68630);function i(e){return r(e)?void 0:e}e.exports=i},38777:function(e,t,n){var r=n(10852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},99021:function(e,t,n){var r=n(85564),i=n(45357),o=n(30061);function a(e){return o(i(e,void 0,r),e+"")}e.exports=a},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),i=n(99551),o=n(3674);function a(e){return r(e,o,i)}e.exports=a},46904:function(e,t,n){var r=n(68866),i=n(51442),o=n(81704);function a(e){return r(e,o,i)}e.exports=a},45050:function(e,t,n){var r=n(37019);function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}
1e.exports=i},10852:function(e,t,n){var r=n(28458),i=n(47801);function o(e,t){var n=i(e,t);return r(n)?n:void 0}e.exports=o},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:function(e,t,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=l},99551:function(e,t,n){var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return o.call(e,t)})}:i;e.exports=s},51442:function(e,t,n){var r=n(62488),i=n(85924),o=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},64160:function(e,t,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),l=n(44239),u=n(80346),c="[object Map]",d="[object Object]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",v=u(r),g=u(i),y=u(o),b=u(a),w=u(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=m||i&&x(new i)!=c||o&&x(o.resolve())!=f||a&&x(new a)!=p||s&&x(new s)!=h)&&(x=function(e){var t=l(e),n=t==d?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case v:return m;case g:return c;case y:return f;case b:return p;case w:return h}return t}),e.exports=x},47801:function(e){function t(e,t){return null==e?void 0:e[t]}e.exports=t},51789:function(e,t,n){var r=n(94536);function i(){this.__data__=r?r(null):{},this.size=0}e.exports=i},80401:function(e){function t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=t},57667:function(e,t,n){var r=n(94536),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}e.exports=a},21327:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;function o(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}e.exports=o},81866:function(e,t,n){var r=n(94536),i="__lodash_hash_undefined__";function o(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}e.exports=o},43824:function(e){var t=Object.prototype.hasOwnProperty;function n(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}e.exports=n},29148:function(e,t,n){var r=n(74318),i=n(57157),o=n(93147),a=n(40419),s=n(77133),l="[object Boolean]",u="[object Date]",c="[object Map]",d="[object Number]",f="[object RegExp]",p="[object Set]",h="[object String]",m="[object Symbol]",v="[object ArrayBuffer]",g="[object DataView]",y="[object Float32Array]",b="[object Float64Array]",w="[object Int8Array]",x="[object Int16Array]",E="[object Int32Array]",_="[object Uint8Array]",k="[object Uint8ClampedArray]",S="[object Uint16Array]",C="[object Uint32Array]";function O(e,t,n){var O=e.constructor;switch(t){case v:return r(e);case l:case u:return new O(+e);case g:return i(e,n);case y:case b:case w:case x:case E:case _:case k:case S:case C:return s(e,n);case c:return new O;case d:case h:return new O(e);case f:return o(e);case p:return new O;case m:return a(e)}}e.exports=O},38517:function(e,t,n){var r=n(3118),i=n(85924),o=n(25726);function a(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}e.exports=a},37285:function(e,t,n){var r=n(62705),i=n(35694),o=n(1469),a=r?r.isConcatSpreadable:void 0;function s(e){return o(e)||i(e)||!!(a&&e&&e[a])}
1e.exports=s},65776:function(e){var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function r(e,r){var i=typeof e;return!!(r=null==r?t:r)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<r}e.exports=r},16612:function(e,t,n){var r=n(77813),i=n(98612),o=n(65776),a=n(13218);function s(e,t,n){if(!a(n))return!1;var s=typeof t;return("number"==s?!!(i(n)&&o(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}e.exports=s},15403:function(e,t,n){var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}e.exports=s},37019:function(e){function t(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=t},15346:function(e,t,n){var r=n(14429),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!i&&i in e}e.exports=o},25726:function(e){var t=Object.prototype;function n(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}e.exports=n},27040:function(e){function t(){this.__data__=[],this.size=0}e.exports=t},14125:function(e,t,n){var r=n(18470),i=Array.prototype.splice;function o(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}e.exports=o},82117:function(e,t,n){var r=n(18470);function i(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=i},67518:function(e,t,n){var r=n(18470);function i(e){return r(this.__data__,e)>-1}e.exports=i},54705:function(e,t,n){var r=n(18470);function i(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}e.exports=i},24785:function(e,t,n){var r=n(1989),i=n(38407),o=n(57071);function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}e.exports=a},11285:function(e,t,n){var r=n(45050);function i(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}e.exports=i},96e3:function(e,t,n){var r=n(45050);function i(e){return r(this,e).get(e)}e.exports=i},49916:function(e,t,n){var r=n(45050);function i(e){return r(this,e).has(e)}e.exports=i},95265:function(e,t,n){var r=n(45050);function i(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}e.exports=i},24523:function(e,t,n){var r=n(88306),i=500;function o(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}e.exports=o},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){function t(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=t},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;function n(e){return t.call(e)}e.exports=n},5569:function(e){function t(e,t){return function(n){return e(t(n))}}e.exports=t},45357:function(e,t,n){var r=n(96874),i=Math.max;function o(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(l),r(e,this,u)}}e.exports=o},40292:function(e,t,n){var r=n(97786),i=n(14259);function o(e,t){return t.length<2?e:r(e,i(t,0,-1))}e.exports=o},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},30061:function(e,t,n){var r=n(56560),i=n(21275)(r);e.exports=i},21275:function(e){var t=800,n=16,r=Date.now;function i(e){var i=0,o=0;return function(){var a=r(),s=n-(a-o);if(o=a,s>0){if(++i>=t)return arguments[0]}else i=0;return e.apply(void 0,arguments)}}e.exports=i},37465:function(e,t,n){var r=n(38407);function i(){this.__data__=new r,this.size=0}e.exports=i},63779:function(e){function t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}
1e.exports=t},67599:function(e){function t(e){return this.__data__.get(e)}e.exports=t},44758:function(e){function t(e){return this.__data__.has(e)}e.exports=t},34309:function(e,t,n){var r=n(38407),i=n(57071),o=n(83369),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}e.exports=s},55514:function(e,t,n){var r=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},40327:function(e,t,n){var r=n(33448),i=1/0;function o(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}e.exports=o},80346:function(e){var t=Function.prototype.toString;function n(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=n},67990:function(e){var t=/\s/;function n(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}e.exports=n},28583:function(e,t,n){var r=n(34865),i=n(98363),o=n(21463),a=n(98612),s=n(25726),l=n(3674),u=Object.prototype.hasOwnProperty,c=o(function(e,t){if(s(t)||a(t)){i(t,l(t),e);return}for(var n in t)u.call(t,n)&&r(e,n,t[n])});e.exports=c},75703:function(e){function t(e){return function(){return e}}e.exports=t},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,n){var u,c,d,f,p,h,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError(a);function b(t){var n=u,r=c;return u=c=void 0,m=t,f=e.apply(r,n)}function w(e){return m=e,p=setTimeout(_,t),v?b(e):f}function x(e){var n=e-h,r=e-m,i=t-n;return g?l(i,d-r):i}function E(e){var n=e-h,r=e-m;return void 0===h||n>=t||n<0||g&&r>=d}function _(){var e=i();if(E(e))return k(e);p=setTimeout(_,x(e))}function k(e){return(p=void 0,y&&u)?b(e):(u=c=void 0,f)}function S(){void 0!==p&&clearTimeout(p),m=0,u=h=c=p=void 0}function C(){return void 0===p?f:k(i())}function O(){var e=i(),n=E(e);if(u=arguments,c=this,h=e,n){if(void 0===p)return w(h);if(g)return clearTimeout(p),p=setTimeout(_,t),b(h)}return void 0===p&&(p=setTimeout(_,t)),f}return t=o(t)||0,r(n)&&(v=!!n.leading,d=(g="maxWait"in n)?s(o(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),O.cancel=S,O.flush=C,O}e.exports=u},77813:function(e){function t(e,t){return e===t||e!=e&&t!=t}e.exports=t},85564:function(e,t,n){var r=n(21078);function i(e){return(null==e?0:e.length)?r(e,1):[]}e.exports=i},6557:function(e){function t(e){return e}e.exports=t},35694:function(e,t,n){var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),i=n(41780);function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),i=n(95062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},23560:function(e,t,n){var r=n(44239),i=n(13218),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==l}e.exports=u},41780:function(e){var t=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}e.exports=n},56688:function(e,t,n){var r=n(25588),i=n(7518),o=n(31167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},13218:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},37005:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},68630:function(e,t,n){var r=n(44239),i=n(85924),o=n(37005),a="[object Object]",s=Object.prototype,l=Function.prototype.toString,u=s.hasOwnProperty,c=l.call(Object);function d(e){if(!o(e)||r(e)!=a)return!1;var t=i(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}e.exports=d},72928:function(e,t,n){var r=n(29221),i=n(7518),o=n(31167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},33448:function(e,t,n){var r=n(44239),i=n(37005),o="[object Symbol]";function a(e){return"symbol"==typeof e||i(e)&&r(e)==o}e.exports=a},36719:function(e,t,n){var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},3674:function(e,t,n){var r=n(14636),i=n(280),o=n(98612);function a(e){return o(e)?r(e):i(e)}e.exports=a},81704:function(e,t,n){var r=n(14636),i=n(10313),o=n(98612);function a(e){return o(e)?r(e,!0):i(e)}e.exports=a},10928:function(e){function t(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=t},88306:function(e,t,n){var r=n(83369),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},7771:function(e,t,n){var r=n(55639),i=function(){return r.Date.now()};e.exports=i},57557:function(e,t,n){var r=n(29932),i=n(85990),o=n(57406),a=n(71811),s=n(98363),l=n(60696),u=n(99021),c=n(46904),d=1,f=2,p=4,h=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=i(n,d|f|p,l));for(var h=t.length;h--;)o(n,t[h]);return n});e.exports=h},70479:function(e){function t(){return[]}e.exports=t},95062:function(e){function t(){return!1}e.exports=t},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function d(e){if("number"==typeof e)return e;if(o(e))return a;
1if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=d},79833:function(e,t,n){var r=n(80531);function i(e){return null==e?"":r(e)}e.exports=i},58751:function(e,t,n){var r,i,o;!function(a,s){i=[n(71794),n(66131)],void 0!==(o="function"==typeof(r=s)?r.apply(t,i):r)&&(e.exports=o)}(window,function(e,t){"use strict";var n=e.create("masonry");n.compatOptions.fitWidth="isFitWidth";var r=n.prototype;return r._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},r.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var r=this.columnWidth+=this.gutter,i=this.containerWidth+this.gutter,o=i/r,a=r-i%r;o=Math[a&&a<1?"round":"floor"](o),this.cols=Math.max(o,1)},r.getContainerWidth=function(){var e=t(this._getOption("fitWidth")?this.element.parentNode:this.element);this.containerWidth=e&&e.innerWidth},r._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,e),i={x:this.columnWidth*r.col,y:r.y},o=r.y+e.size.outerHeight,a=n+r.col,s=r.col;s<a;s++)this.colYs[s]=o;return i},r._getTopColPosition=function(e){var t=this._getTopColGroup(e),n=Math.min.apply(Math,t);return{col:t.indexOf(n),y:n}},r._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,r=0;r<n;r++)t[r]=this._getColGroupY(r,e);return t},r._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var n=this.colYs.slice(e,e+t);return Math.max.apply(Math,n)},r._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols;n=e>1&&n+e>this.cols?0:n;var r=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=r?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},r._manageStamp=function(e){var n=t(e),r=this._getElementOffset(e),i=this._getOption("originLeft")?r.left:r.right,o=i+n.outerWidth,a=Math.floor(i/this.columnWidth);a=Math.max(0,a);var s=Math.floor(o/this.columnWidth);s-=o%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var l=(this._getOption("originTop")?r.top:r.bottom)+n.outerHeight,u=a;u<=s;u++)this.colYs[u]=Math.max(l,this.colYs[u])},r._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},r._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},r.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})},29548:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.BroadcastChannel=p,t.apiBaseUrl=d,t.fetchData=u,t.now=f;var i=r(n(64687)),o=r(n(38416)),a=r(n(17156));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return c.apply(this,arguments)}function c(){return(c=(0,a.default)(i.default.mark(function e(t,n,r){var o,a,s,u,c,f,p,h,m,v=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(o=v.length>3&&void 0!==v[3]?v[3]:{}).ctx,u=void 0===(s=o.req)?null==a?void 0:a.req:s,c="".concat(d(n),"/").concat(t),e.prev=2,p={headers:l({"Content-Type":"application/json"}
1,null!=u&&null!==(f=u.headers)&&void 0!==f&&f.cookie?{cookie:u.headers.cookie}:{})},null!=u&&u.body&&(p.body=JSON.stringify(u.body),p.method="POST"),e.next=7,fetch(c,p);case 7:return h=e.sent,e.next=10,h.json();case 10:if(m=e.sent,h.ok){e.next=13;break}throw m;case 13:return e.abrupt("return",Object.keys(m).length>0?m:null);case 16:return e.prev=16,e.t0=e.catch(2),r.error("CLIENT_FETCH_ERROR",{error:e.t0,url:c}),e.abrupt("return",null);case 20:case"end":return e.stop()}},e,null,[[2,16]])}))).apply(this,arguments)}function d(e){return"undefined"==typeof window?"".concat(e.baseUrlServer).concat(e.basePathServer):e.basePath}function f(){return Math.floor(Date.now()/1e3)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"nextauth.message";return{receive:function(t){var n=function(n){if(n.key===e){var r,i=JSON.parse(null!==(r=n.newValue)&&void 0!==r?r:"{}");(null==i?void 0:i.event)==="session"&&null!=i&&i.data&&t(i)}};return window.addEventListener("storage",n),function(){return window.removeEventListener("storage",n)}},post:function(t){if("undefined"!=typeof window)try{localStorage.setItem(e,JSON.stringify(l(l({},t),{},{timestamp:f()})))}catch(e){}}}}},36925:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedStrategy=t.UnknownError=t.OAuthCallbackError=t.MissingSecret=t.MissingAuthorize=t.MissingAdapterMethods=t.MissingAdapter=t.MissingAPIRoute=t.InvalidCallbackUrl=t.AccountNotLinkedError=void 0,t.adapterErrorHandler=b,t.capitalize=g,t.eventsErrorHandler=y,t.upperSnake=v;var i=r(n(64687)),o=r(n(17156)),a=r(n(38416)),s=r(n(56690)),l=r(n(89728)),u=r(n(94993)),c=r(n(73808)),d=r(n(61655)),f=r(n(33496));function p(e,t,n){return t=(0,c.default)(t),(0,u.default)(e,h()?Reflect.construct(t,n||[],(0,c.default)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}var m=t.UnknownError=function(e){function t(e){var n,r;return(0,s.default)(this,t),(r=p(this,t,[null!==(n=null==e?void 0:e.message)&&void 0!==n?n:e])).name="UnknownError",r.code=e.code,e instanceof Error&&(r.stack=e.stack),r}return(0,d.default)(t,e),(0,l.default)(t,[{key:"toJSON",value:function(){return{name:this.name,message:this.message,stack:this.stack}}}])}((0,f.default)(Error));function v(e){return e.replace(/([A-Z])/g,"_$1").toUpperCase()}function g(e){return"".concat(e[0].toUpperCase()).concat(e.slice(1))}function y(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=(0,o.default)(i.default.mark(function n(){var o,a=arguments;return i.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,o=e[r],n.next=4,o.apply(void 0,a);case 4:return n.abrupt("return",n.sent);case 7:n.prev=7,n.t0=n.catch(0),t.error("".concat(v(r),"_EVENT_ERROR"),n.t0);case 10:case"end":return n.stop()}},n,null,[[0,7]])})),n},{})}function b(e,t){if(e)return Object.keys(e).reduce(function(n,r){return n[r]=(0,o.default)(i.default.mark(function n(){var o,a,s,l,u,c=arguments;return i.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:for(n.prev=0,a=Array(o=c.length),s=0;s<o;s++)a[s]=c[s];return t.debug("adapter_".concat(r),{args:a}),l=e[r],n.next=6,l.apply(void 0,a);case 6:return n.abrupt("return",n.sent);case 9:throw n.prev=9,n.t0=n.catch(0),t.error("adapter_error_".concat(r),n.t0),(u=new m(n.t0)).name="".concat(g(r),"Error"),u;case 15:case"end":return n.stop()}},n,null,[[0,9]])})),n},{})}t.OAuthCallbackError=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","OAuthCallbackError"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.AccountNotLinkedError=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","AccountNotLinkedError"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.MissingAPIRoute=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","MissingAPIRouteError"),(0,a.default)(e,"code","MISSING_NEXTAUTH_API_ROUTE_ERROR"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.MissingSecret=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","MissingSecretError"),(0,a.default)(e,"code","NO_SECRET"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.MissingAuthorize=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","MissingAuthorizeError"),(0,a.default)(e,"code","CALLBACK_CREDENTIALS_HANDLER_ERROR"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.MissingAdapter=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","MissingAdapterError"),(0,a.default)(e,"code","
1EMAIL_REQUIRES_ADAPTER_ERROR"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.MissingAdapterMethods=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","MissingAdapterMethodsError"),(0,a.default)(e,"code","MISSING_ADAPTER_METHODS_ERROR"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.UnsupportedStrategy=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","UnsupportedStrategyError"),(0,a.default)(e,"code","CALLBACK_CREDENTIALS_JWT_ERROR"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m),t.InvalidCallbackUrl=function(e){function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=p(this,t,[].concat(r)),(0,a.default)(e,"name","InvalidCallbackUrl"),(0,a.default)(e,"code","INVALID_CALLBACK_URL_ERROR"),e}return(0,d.default)(t,e),(0,l.default)(t)}(m)},33299:function(e,t,n){"use strict";var r,i,o,a,s,l=n(34155),u=n(64836),c=n(18698);Object.defineProperty(t,"__esModule",{value:!0});var d={SessionContext:!0,useSession:!0,getSession:!0,getCsrfToken:!0,getProviders:!0,signIn:!0,signOut:!0,SessionProvider:!0};t.SessionContext=void 0,t.SessionProvider=V,t.getCsrfToken=M,t.getProviders=N,t.getSession=A,t.signIn=F,t.signOut=B,t.useSession=R;var f=u(n(64687)),p=u(n(38416)),h=u(n(17156)),m=u(n(27424)),v=_(n(67294)),g=_(n(26553)),y=u(n(30762)),b=n(29548),w=n(85893),x=n(527);function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=c(e)&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&({}).hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach(function(t){(0,p.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}Object.keys(x).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(d,e))&&(e in t&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))});var C={baseUrl:(0,y.default)(null!==(r=l.env.NEXTAUTH_URL)&&void 0!==r?r:l.env.VERCEL_URL).origin,basePath:(0,y.default)(l.env.NEXTAUTH_URL).path,baseUrlServer:(0,y.default)(null!==(i=null!==(o=l.env.NEXTAUTH_URL_INTERNAL)&&void 0!==o?o:l.env.NEXTAUTH_URL)&&void 0!==i?i:l.env.VERCEL_URL).origin,basePathServer:(0,y.default)(null!==(a=l.env.NEXTAUTH_URL_INTERNAL)&&void 0!==a?a:l.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:function(){}},O=(0,b.BroadcastChannel)(),T=(0,g.proxyLogger)(g.default,C.basePath);function j(){var e=v.useState("undefined"!=typeof navigator&&navigator.onLine),t=(0,m.default)(e,2),n=t[0],r=t[1],i=function(){return r(!0)},o=function(){return r(!1)};return v.useEffect(function(){return window.addEventListener("online",i),window.addEventListener("offline",o),function(){window.removeEventListener("online",i),window.removeEventListener("offline",o)}},[]),n}var P=t.SessionContext=null===(s=v.createContext)||void 0===s?void 0:s.call(v,void 0);function R(e){if(!P)throw Error("React Context is unavailable in Server Components");var t=v.useContext(P),n=null!=e?e:{},r=n.required,i=n.onUnauthenticated,o=r&&"unauthenticated"===t.status;return(v.useEffect(function(){if(o){var e="/api/auth/signin?".concat(new 
1URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href}));i?i():window.location.href=e}},[o,i]),o)?{data:t.data,update:t.update,status:"loading"}:t}function A(e){return I.apply(this,arguments)}function I(){return(I=(0,h.default)(f.default.mark(function e(t){var n,r;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.fetchData)("session",C,T,t);case 2:return r=e.sent,(null===(n=null==t?void 0:t.broadcast)||void 0===n||n)&&O.post({event:"session",data:{trigger:"getSession"}}),e.abrupt("return",r);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function M(e){return L.apply(this,arguments)}function L(){return(L=(0,h.default)(f.default.mark(function e(t){var n;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.fetchData)("csrf",C,T,t);case 2:return n=e.sent,e.abrupt("return",null==n?void 0:n.csrfToken);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function N(){return D.apply(this,arguments)}function D(){return(D=(0,h.default)(f.default.mark(function e(){return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.fetchData)("providers",C,T);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function F(e,t,n){return z.apply(this,arguments)}function z(){return(z=(0,h.default)(f.default.mark(function e(t,n,r){var i,o,a,s,l,u,c,d,p,h,m,v,g,y,w,x,E;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=void 0===(o=(i=null!=n?n:{}).callbackUrl)?window.location.href:o,l=void 0===(s=i.redirect)||s,u=(0,b.apiBaseUrl)(C),e.next=4,N();case 4:if(c=e.sent){e.next=8;break}return window.location.href="".concat(u,"/error"),e.abrupt("return");case 8:if(!(!t||!(t in c))){e.next=11;break}return window.location.href="".concat(u,"/signin?").concat(new URLSearchParams({callbackUrl:a})),e.abrupt("return");case 11:return d="credentials"===c[t].type,p="email"===c[t].type,h=d||p,m="".concat(u,"/").concat(d?"callback":"signin","/").concat(t),v="".concat(m).concat(r?"?".concat(new URLSearchParams(r)):""),e.t0=fetch,e.t1=v,e.t2={"Content-Type":"application/x-www-form-urlencoded"},e.t3=URLSearchParams,e.t4=S,e.t5=S({},n),e.t6={},e.next=25,M();case 25:return e.t7=e.sent,e.t8=a,e.t9={csrfToken:e.t7,callbackUrl:e.t8,json:!0},e.t10=(0,e.t4)(e.t5,e.t6,e.t9),e.t11=new e.t3(e.t10),e.t12={method:"post",headers:e.t2,body:e.t11},e.next=33,(0,e.t0)(e.t1,e.t12);case 33:return g=e.sent,e.next=36,g.json();case 36:if(y=e.sent,!(l||!h)){e.next=42;break}return x=null!==(w=y.url)&&void 0!==w?w:a,window.location.href=x,x.includes("#")&&window.location.reload(),e.abrupt("return");case 42:if(E=new URL(y.url).searchParams.get("error"),!g.ok){e.next=46;break}return e.next=46,C._getSession({event:"storage"});case 46:return e.abrupt("return",{error:E,status:g.status,ok:g.ok,url:E?null:y.url});case 47:case"end":return e.stop()}},e)}))).apply(this,arguments)}function B(e){return U.apply(this,arguments)}function U(){return(U=(0,h.default)(f.default.mark(function e(t){var n,r,i,o,a,s,l,u,c;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=void 0===(r=(null!=t?t:{}).callbackUrl)?window.location.href:r,o=(0,b.apiBaseUrl)(C),e.t0={"Content-Type":"application/x-www-form-urlencoded"},e.t1=URLSearchParams,e.next=6,M();case 6:return e.t2=e.sent,e.t3=i,e.t4={csrfToken:e.t2,callbackUrl:e.t3,json:!0},e.t5=new e.t1(e.t4),a={method:"post",headers:e.t0,body:e.t5},e.next=13,fetch("".concat(o,"/signout"),a);case 13:return s=e.sent,e.next=16,s.json();case 16:if(l=e.sent,O.post({event:"session",data:{trigger:"signout"}}),!(null===(n=null==t?void 0:t.redirect)||void 0===n||n)){e.next=23;break}return c=null!==(u=l.url)&&void 0!==u?u:i,window.location.href=c,c.includes("#")&&window.location.reload(),e.abrupt("return");case 23:return e.next=25,C._getSession({event:"storage"});case 25:return e.abrupt("return",l);case 26:case"end":return e.stop()}},e)}))).apply(this,arguments)}function V(e){if(!P)throw Error("React Context is unavailable in Server Components");var t=e.children,n=e.basePath,r=e.refetchInterval,i=e.refetchWhenOffline;n&&(C.basePath=n);var o=void 0!==e.session;C._lastSync=o?(0,b.now)():0;var a=v.useState(function(){return o&&(C._session=e.session),e.session}),s=(0,m.default)(a,2),l=s[0],u=s[1],c=v.useState(!o),d=(0,m.default)(c,2),p=d[0],g=d[1];v.useEffect(function(){return C._getSession=(0,h.default)(f.default.mark(function e(){var t,n,r=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(r.length>0&&void 0!==r[0]?r[0]:{}).event,e.prev=1,!((n="storage"===t)||void 0===C._session)){e.next=10;break}return C._lastSync=(0,b.now)(),e.next=7,A({broadcast:!n});case 7:return C._session=e.sent,u(C._session),e.abrupt("return");case 10:if(!(!t||null===C._session||(0,b.now)()<C._lastSync)){e.next=12;break}return e.abrupt("return");case 12:return C._lastSync=(0,b.now)(),e.next=15,A();case 15:C._session=e.sent,u(C._session),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(1),T.error("CLIENT_SESSION_ERROR",e.t0);case 22:return e.prev=22,g(!1),e.finish(22);case 25:case"end":return e.stop()}},e,null,[[1,19,22,25]])})),C._getSession(),function(){C._lastSync=0,C._session=void 0,C._getSession=function(){}}},[]),v.useEffect(function(){var e=O.receive(function(){return C._getSession({event:"storage"})});return function(){return e()}},[]),v.useEffect(function(){var t=e.refetchOnWindowFocus,n=void 0===t||t,r=function(){n&&"visible"===document.visibilityState&&C._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",r,!1),function(){return document.removeEventListener("visibilitychange",r,!1)}},[e.refetchOnWindowFocus]);var y=j(),x=!1!==i||y;v.useEffect(function(){if(r&&x){var e=setInterval(function(){C._session&&C._getSession({event:"poll"})},1e3*r);return function(){return clearInterval(e)}}},[r,x]);var E=v.useMemo(function(){return{data:l,status:p?"loading":l?"authenticated":"unauthenticated",update:function(e){return(0,h.default)(f.default.mark(function t(){var n;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p||!l)){t.next=2;break}return t.abrupt("return");case 2:return g(!0),t.t0=b.fetchData,t.t1=C,t.t2=T,t.next=8,M();case 8:return t.t3=t.sent,t.t4=e,t.t5={csrfToken:t.t3,data:t.t4},t.t6={body:t.t5},t.t7={req:t.t6},t.next=15,(0,t.t0)("session",t.t1,t.t2,t.t7);case 15:return n=t.sent,g(!1),n&&(u(n),O.post({event:"session",data:{trigger:"getSession"}})),t.abrupt("return",n);case 19:case"end":return t.stop()}},t)}))()}}},[l,p]);return(0,w.jsx)(P.Provider,{value:E,children:t})}},527:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0})},26553:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.proxyLogger=h,t.setLogger=p;var i=r(n(64687)),o=r(n(38416)),a=r(n(17156)),s=n(36925);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e){if(e instanceof Error&&!(e instanceof s.UnknownError))return{message:e.message,stack:e.stack,name:e.name};if(d(e)){var t;e.error=c(e.error),e.message=null!==(t=e.message)&&void 0!==t?t:e.error.message}return e}function d(e){return!!(null!=e&&e.error)}var f={error:function(e,t){t=c(t),console.error("[next-auth][error][".concat(e,"]"),"\nhttps://next-auth.js.org/errors#".concat(e.toLowerCase()),t.message,t)},warn:function(e){console.warn("[next-auth][warn][".concat(e,"]"),"\nhttps://next-auth.js.org/warnings#".concat(e.toLowerCase()))},debug:function(e,t){console.log("[next-auth][debug][".concat(e,"]"),t)}};function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;t||(f.debug=function(){}),e.error&&(f.error=e.error),e.warn&&(f.warn=e.warn),e.debug&&(f.debug=e.debug)}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;try{if("undefined"==typeof window)return e;var n={},r=function(e){n[e]=function(){var n=(0,a.default)(i.default.mark(function n(r,o){var a,s;return i.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(f[e](r,o),"error"===e&&(o=c(o)),o.client=!0,a="".concat(t,"/_log"),s=new URLSearchParams(u({level:e,code:r},o)),!navigator.sendBeacon){n.next=8;break}return n.abrupt("return",navigator.sendBeacon(a,s));case 8:return n.next=10,fetch(a,{method:"POST",body:s,keepalive:!0});case 10:return n.abrupt("return",n.sent);case 11:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()};for(var o in e)r(o);return n}catch(e){return f}}t.default=f},30762:function(e,t){"use strict";function n(e){var t;let n=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let r=new URL(null!==(t=e)&&void 0!==t?t:n),i=("/"===r.pathname?n.pathname:r.pathname).replace(/\/$/,""),o=`${r.origin}${i}`;return{origin:r.origin,host:r.host,path:i,base:o,toString:()=>o}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},2962:function(e,t,n){"use strict";n.d(t,{PB:function(){return m},dX:function(){return j},lX:function(){return h}});var r=n(67294),i=n(9008),o=n.n(i);function a(){return(a=Object.assign?Object.assign.bind():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}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var l=["keyOverride"],u=["crossOrigin"],c={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,t,n){void 0===t&&(t=[]);var i=void 0===n?{}:n,o=i.defaultWidth,a=i.defaultHeight;return t.reduce(function(t,n,i){return t.push(r.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:n.url})),n.alt&&t.push(r.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(r.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(r.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:n.width.toString()})):o&&t.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:o.toString()})),n.height?t.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:a.toString()})),t},[])},f=function(e){var t,n,i,o,f,p=[];e.titleTemplate&&(c.templateTitle=e.titleTemplate);var h="";e.title?(h=e.title,c.templateTitle&&(h=c.templateTitle.replace(/%s/g,function(){return h}))):e.defaultTitle&&(h=e.defaultTitle),h&&p.push(r.createElement("title",{key:"title"},h));var m=void 0===e.noindex?c.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,v=void 0===e.nofollow?c.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,g="";if(e.robotsProps){var y=e.robotsProps,b=y.nosnippet,w=y.maxSnippet,x=y.maxImagePreview,E=y.maxVideoPreview,_=y.noarchive,k=y.noimageindex,S=y.notranslate,C=y.unavailableAfter;
1g=(b?",nosnippet":"")+(w?",max-snippet:"+w:"")+(x?",max-image-preview:"+x:"")+(_?",noarchive":"")+(C?",unavailable_after:"+C:"")+(k?",noimageindex":"")+(E?",max-video-preview:"+E:"")+(S?",notranslate":"")}if(m||v?(e.dangerouslySetAllPagesToNoIndex&&(c.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(c.nofollow=!0),p.push(r.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(v?"nofollow":"follow")+g}))):p.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+g})),e.description&&p.push(r.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&p.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&p.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){p.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&p.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&p.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&p.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&p.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||h)&&p.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||h})),(null!=(n=e.openGraph)&&n.description||e.description)&&p.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(f=e.openGraph)?void 0:f.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&p.push(r.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var O=e.openGraph.type.toLowerCase();p.push(r.createElement("meta",{key:"og:type",property:"og:type",content:O})),"profile"===O&&e.openGraph.profile?(e.openGraph.profile.firstName&&p.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&p.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&p.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&p.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===O&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){p.push(r.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&p.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&p.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEac
1h(function(e,t){p.push(r.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===O&&e.openGraph.article?(e.openGraph.article.publishedTime&&p.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&p.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&p.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){p.push(r.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&p.push(r.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){p.push(r.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===O||"video.episode"===O||"video.tv_show"===O||"video.other"===O)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&p.push(r.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&p.push(r.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){p.push(r.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){p.push(r.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&p.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&p.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
1h(function(e,t){p.push(r.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&p.push(r.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(c.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(c.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&p.push.apply(p,d("image",e.openGraph.images,{defaultWidth:c.defaultOpenGraphImageWidth,defaultHeight:c.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(c.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(c.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&p.push.apply(p,d("video",e.openGraph.videos,{defaultWidth:c.defaultOpenGraphVideoWidth,defaultHeight:c.defaultOpenGraphVideoHeight})),e.openGraph.audio&&p.push.apply(p,d("audio",e.openGraph.audio)),e.openGraph.locale&&p.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&p.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&p.push(r.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,i=e.keyOverride,o=s(e,l);p.push(r.createElement("meta",a({key:"meta:"+(null!=(t=null!=(n=null!=i?i:o.name)?n:o.property)?t:o.httpEquiv)},o)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,i=s(e,u),o="anonymous"===n||"use-credentials"===n||""===n?n:void 0;p.push(r.createElement("link",a({key:"link"+(null!=(t=i.keyOverride)?t:i.href)+i.rel},i,{crossOrigin:o})))}),p},p=function(e){return r.createElement(o(),null,f(e))},h=function(e){var t=e.title,n=e.titleTemplate,i=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=void 0!==a&&a,l=e.dangerouslySetAllPagesToNoFollow,u=void 0!==l&&l,c=e.description,d=e.canonical,f=e.facebook,h=e.openGraph,m=e.additionalMetaTags,v=e.twitter,g=e.defaultOpenGraphImageWidth,y=e.defaultOpenGraphImageHeight,b=e.defaultOpenGraphVideoWidth,w=e.defaultOpenGraphVideoHeight,x=e.mobileAlternate,E=e.languageAlternates,_=e.additionalLinkTags,k=e.robotsProps;return r.createElement(p,{title:t,titleTemplate:n,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:s,dangerouslySetAllPagesToNoFollow:u,description:c,canonical:d,facebook:f,openGraph:h,additionalMetaTags:m,twitter:v,defaultOpenGraphImageWidth:g,defaultOpenGraphImageHeight:y,defaultOpenGraphVideoWidth:b,defaultOpenGraphVideoHeight:w,mobileAlternate:x,languageAlternates:E,additionalLinkTags:_,robotsProps:k})},m=function(e){var t=e.title,n=e.themeColor,i=e.noindex,o=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,u=e.openGraph,c=e.facebook,d=e.twitter,f=e.additionalMetaTags,h=e.titleTemplate,m=e.defaultTitle,v=e.mobileAlternate,g=e.languageAlternates,y=e.additionalLinkTags;return r.createElement(r.Fragment,null,r.createElement(p,{title:t,themeColor:n,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:l,facebook:c,openGraph:u,additionalMetaTags:f,twitter:d,titleTemplate:h,defaultTitle:m,mobileAlternate:v,languageAlternates:g,additionalLinkTags:y}))},v=function(e,t){var n=t;return Array.isArray(n)&&1===n.length&&(n=a({},t[0])),{__html:JSON.stringify(Array.isArray(n)?n.map(function(t){return g(e,t)}):g(e,n),x)}},g=function(e,t){var n=t.id,r=a({},(void 0===n?void 0:n)?{"@id":t.id}:{},t);return delete r.id,a({"@context":"https://schema.org","@type":e},r)},y=Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"}),b=RegExp("["+Object.keys(y).join("")+"]","g"),w=function(e){return y[e]},x=function(){return function(e,t){switch(typeof t){case"object":if(null===t)return;return t;case"number":case"boolean":case"bigint":return t;case"string":return t.replace(b,w);default:return}}}(),E=["type","keyOverride","scriptKey","scriptId","dataArray","useAppDir"];function _(e){var t=e.type,n=void 0===t?"Thing":t,i=e.keyOverride,l=e.scriptKey,u=e.scriptId,c=void 0===u?void 0:u,d=e.dataArray,f=e.useAppDir,p=void 0!==f&&f,h=s(e,E),m=function(){return r.createElement("script",{type:"application/ld+json",id:c,"data-testid":c,dangerouslySetInnerHTML:v(n,void 0===d?a({},h):d),key:"jsonld-"+l+(i?"-"+i:"")})};return p?r.createElement(m,null):r.createElement(o(),null,m())}function k(e){if("string"==typeof e)return{"@type":"Person",name:e};if(e.name){var t;return{"@type":null!=(t=null==e?void 0:e.type)?t:"Person",name:e.name,url:null==e?void 0:e.url}}}function S(e){return Array.isArray(e)?e.map(function(e){return k(e)}).filter(function(e){return!!e}):e?k(e):void 0}function C(e){if(e)return{"@type":"ImageObject",url:e}}function O(e,t){if(e)return{"@type":"Organization",name:e,logo:C(t)}}var T=["type","keyOverride","url","title","images","datePublished","dateModified","authorName","publisherName","publisherL
1ogo","description","isAccessibleForFree"];function j(e){var t=e.type,n=void 0===t?"Article":t,i=e.keyOverride,o=e.url,l=e.title,u=e.images,c=e.datePublished,d=e.dateModified,f=e.authorName,p=e.publisherName,h=void 0===p?void 0:p,m=e.publisherLogo,v=void 0===m?void 0:m,g=e.description,y=e.isAccessibleForFree,b=s(e,T),w=a({datePublished:c,description:g,mainEntityOfPage:{"@type":"WebPage","@id":o},headline:l,image:u,dateModified:d||c,author:S(f),publisher:O(h,v),isAccessibleForFree:y},b);return r.createElement(_,a({type:n,keyOverride:i},w,{scriptKey:"article"}))}},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(42750)}])},83302:function(e,t,n){"use strict";let r=n(67294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}let o=r.forwardRef(i);e.exports=o},89982:function(e,t,n){"use strict";let r=n(67294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}let o=r.forwardRef(i);e.exports=o},20011:function(e,t,n){"use strict";let r=n(67294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"}))}let o=r.forwardRef(i);e.exports=o},50310:function(e,t,n){"use strict";let r=n(67294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}))}let o=r.forwardRef(i);e.exports=o},34456:function(e,t,n){"use strict";let r=n(67294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}let o=r.forwardRef(i);e.exports=o},38199:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return o},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return d}});let i="refresh",o="navigate",a="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(n||(n={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let r=n(98337),i="";function o(e,t,o,a){{let s=n(15183).normalizeLocalePath,l=n(4166).detectDomainLocale,u=t||s(e,o).detectedLocale,c=l(a,void 0,u);if(c){let t="http"+(c.http?"":"s")+"://",n=u===c.defaultLocale?"":"/"+u;return""+t+c.domain+(0,r.normalizePathTrailingSlash)(""+i+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74080:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(38754),i=n(61757),o=n(85893),a=i._(n(67294)),s=r._(n(73935)),l=r._(n(23867)),u=n(35283),c=n(96594),d=n(23945);n(83179);let f=n(81928),p=r._(n(13872)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,n,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let g=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:g,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:E,sizesInput:_,onLoad:k,onError:S,...C}=e;return(0,o.jsx)("img",{...C,...v(f),loading:h,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(S&&(e.src=e.src),e.complete&&m(e,p,b,w,x,g,_))},[n,p,b,w,x,S,g,_,t]),onLoad:e=>{m(e.currentTarget,p,b,w,x,g,_)},onError:e=>{E(!0),"empty"!==p&&x(!0),S&&S(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...v(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let n=!(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=h||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:i,qualities:o}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let v=(0,a.useRef)(l);(0,a.useEffect)(()=>{v.current=l},[l]);let[b,w]=(0,a.useState)(!1),[x,E]=(0,a.useState)(!1),{props:_,meta:k}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{..._,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:m,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:E,sizesInput:e.sizes,ref:t}),k.priority?(0,o.jsx)(y,{isAppRouter:n,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98342:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});let r=n(38754),i=n(85893),o=r._(n(67294)),a=n(36075),s=n(53955),l=n(48041),u=n(99903),c=n(65490),d=n(81928),f=n(60257),p=n(84229),h=n(87195),m=n(89470),v=n(38199),g=new Set;function y(e,t,n,r,i,o){if(o||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function b(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function w(e,t,n,r,i,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(b(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?o.default.startTransition(f):f()}function x(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let E=o.default.forwardRef(function(e,t){let n,r;let{href:s,as:l,children:g,prefetch:b=null,passHref:E,replace:_,shallow:k,scroll:S,locale:C,onClick:O,onMouseEnter:T,onTouchStart:j,legacyBehavior:P=!1,...R}=e;n=g,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let A=o.default.useContext(d.RouterContext),I=o.default.useContext(f.AppRouterContext),M=null!=A?A:I,L=!A,N=!1!==b,D=null===b?v.PrefetchKind.AUTO:v.PrefetchKind.FULL,{href:F,as:z}=o.default.useMemo(()=>{if(!A){let e=x(s);return{href:e,as:l?x(l):e}}let[e,t]=(0,a.resolveHref)(A,s,!0);return{href:e,as:l?(0,a.resolveHref)(A,l):t||e}},[A,s,l]),B=o.default.useRef(F),U=o.default.useRef(z);P&&(r=o.default.Children.only(n));let V=P?r&&"object"==typeof r&&r.ref:t,[H,q,W]=(0,p.useIntersection)({rootMargin:"200px"}),Z=o.default.useCallback(e=>{(U.current!==z||B.current!==F)&&(W(),U.current=z,B.current=F),H(e),V&&("function"==typeof V?V(e):"object"==typeof V&&(V.current=e))},[z,V,F,W,H]);o.default.useEffect(()=>{M&&q&&N&&y(M,F,z,{locale:C},{kind:D},L)},[z,F,q,C,N,null==A?void 0:A.locale,M,L,D]);let K={ref:Z,onClick(e){P||"function"!=typeof O||O(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),M&&!e.defaultPrevented&&w(e,M,F,z,_,k,S,C,L)},onMouseEnter(e){P||"function"!=typeof T||T(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),M&&(N||!L)&&y(M,F,z,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:D},L)},onTouchStart:function(e){P||"function"!=typeof j||j(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),M&&(N||!L)&&y(M,F,z,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:D},L)}};if((0,u.isAbsoluteUrl)(z))K.href=z;else if(!P||E||"a"===r.type&&!("href"in r.props)){let e=void 0!==C?C:null==A?void 0:A.locale,t=(null==A?void 0:A.isLocaleDomain)&&(0,h.getDomainLocale)(z,e,null==A?void 0:A.locales,null==A?void 0:A.domainLocales);K.href=t||(0,m.addBasePath)((0,c.addLocale)(z,e,null==A?void 0:A.defaultLocale))}return P?o.default.cloneElement(r,K):(0,i.jsx)("a",{...R,...K,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(54165).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let r=n(67294),i=n(84474),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>
1{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),a.set(n,t),t}function u(e,t,n){let{id:r,observer:i,elements:o}=l(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}function c(e){let{rootRef:t,rootMargin:n,disabled:a}=e,s=a||!o,[l,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(s||l)return;let e=d.current;if(e&&e.tagName)return u(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!l){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,n,t,l,d.current]),[f,l,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},noSSR:function(){return l}});let r=n(38754),i=n(85893);n(67294);let o=r._(n(35491)),a=!1;function s(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){if(delete t.webpack,delete t.modules,!a)return e(t);let n=t.loading;return()=>(0,i.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function u(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let i=(r={...r,...t}).loader,a=()=>null!=i?i().then(s):Promise.resolve(s(()=>null));return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:a}):(delete r.webpack,delete r.modules,l(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return d}}),n(83179);let r=n(96630),i=n(96594);function o(e){return void 0!==e.default}function a(e){return void 0!==e.src}function s(e){return"object"==typeof e&&(o(e)||a(e))}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}function c(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=u(t,i,a),d=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:t,src:n,quality:o,width:l[d]})}}function d(e,t){let n,a,u,{src:d,sizes:f,unoptimized:p=!1,priority:h=!1,loading:m,className:v,quality:g,width:y,height:b,fill:w=!1,style:x,overrideSrc:E,onLoad:_,onLoadingComplete:k,placeholder:S="empty",blurDataURL:C,fetchPriority:O,decoding:T="async",layout:j,objectFit:P,objectPosition:R,lazyBoundary:A,lazyRoot:I,...M}=e,{imgConf:L,showAltText:N,blurComplete:D,defaultLoader:F}=t,z=L||i.imageConfigDefault;if("allSizes"in z)n=z;else{var B;let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),r=null==(B=z.qualities)?void 0:B.sort((e,t)=>e-t);n={...z,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===F)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let U=M.loader||F;delete M.loader,delete M.srcSet;let V="__next_img_default"in U;
1if(V){if("custom"===n.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=U;U=t=>{let{config:n,...r}=t;return e(r)}}if(j){"fill"===j&&(w=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[j];t&&(x={...x,...t});let n=e[j];n&&!f&&(f=n)}let H="",q=l(y),W=l(b);if(s(d)){let e=o(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(a=e.blurWidth,u=e.blurHeight,C=C||e.blurDataURL,H=e.src,!w){if(q||W){if(q&&!W){let t=q/e.width;W=Math.round(e.height*t)}else if(!q&&W){let t=W/e.height;q=Math.round(e.width*t)}}else q=e.width,W=e.height}}let Z=!h&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:H)||d.startsWith("data:")||d.startsWith("blob:"))&&(p=!0,Z=!1),n.unoptimized&&(p=!0),V&&d.endsWith(".svg")&&!n.dangerouslyAllowSVG&&(p=!0),h&&(O="high");let K=l(g),$=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:P,objectPosition:R}:{},N?{}:{color:"transparent"},x),G=D||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:q,heightInt:W,blurWidth:a,blurHeight:u,blurDataURL:C||"",objectFit:$.objectFit})+'")':'url("'+S+'")',Q=G?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},Y=c({config:n,src:d,unoptimized:p,width:q,quality:K,sizes:f,loader:U});return{props:{...M,loading:Z?"lazy":m,fetchPriority:O,width:q,height:W,decoding:T,className:v,style:{...$,...Q},sizes:Y.sizes,srcSet:Y.srcSet,src:E||Y.src},meta:{unoptimized:p,priority:h,placeholder:S,fill:w}}}},96630:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"",c=u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+c+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},76210:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(38754),i=n(35283),o=n(74080),a=r._(n(13872));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=o.Image},13872:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=75;function r(e){var t;let{config:r,src:i,width:o,quality:a}=e,s=a||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e))||n;return r.path+"?url="+encodeURIComponent(i)+"&w="+o+"&q="+s}r.__next_img_default=!0;let i=r},1159:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(38754)._(n(67294)).default.createContext(null)},35491:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let r=n(38754)._(n(67294)),i=n(1159);function o(e){return e&&e.default?e.default:e}let a=[],s=[],l=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}function c(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function u(){if(!a){let t=new d(e,n);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return u()})}function c(){u();let e=r.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}function f(e,t){c();let i=r.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),r.default.useMemo(()=>i.loading||i.error?r.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:a.retry}):i.loaded?r.default.createElement(o(i.loaded),e):null,[e,i])}return f.preload=()=>u(),f.displayName="LoadableComponent",r.default.forwardRef(f)}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return c(u,e)}function p(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return p(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{p(a).then(e,t)}),f.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());p(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=f.preloadReady;let h=f},56771:function(e,t,n){"use strict";n.d(t,{w_:function(){return u}});var r=n(67294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(i),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function l(e){return e&&e.map(function(e,t){return r.createElement(e.tag,a({key:t},e.attr),l(e.child))})}function u(e){return function(t){return r.createElement(c,a({attr:a({},e.attr)},t),l(e.child))}}function c(e){var t=function(t){var n,i=e.attr,o=e.size,l=e.title,u=s(e,["attr","size","title"]),c=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0"},t.attr,i,u,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),e.children)};return void 0!==o?r.createElement(o.Consumer,null,function(e){return t(e)}):t(i)}},62204:function(e,t,n){"use strict";n.d(t,{$kk:function(){return k},Ap8:function(){return C},BB4:function(){return U},C4F:function(){return E},F1H:function(){return o},FU5:function(){return L},Fmx:function(){return p},I5p:function(){return l},InZ:function(){return M},Ix0:function(){return O},KQY:function(){return H},KYK:function(){return A},Kk7:function(){return z},MKk:function(){return F},OBA:function(){return _},Sg0:function(){return u},Tcr:function(){return i},VK0:function(){return v},Vyx:function(){return V},W0y:function(){return w},ZkW:function(){return a},aDv:function(){return B},fO_:function(){return y},f_H:function(){return x},iVq:function(){return s},rWj:function(){return T},t2l:function(){return f},t9$:function(){return I},uAz:function(){return j},uKn:function(){return S},vU7:function(){return c},vlz:function(){return h},w7s:function(){return b},wlS:function(){return g},wqE:function(){return d},x3N:function(){return q},xBS:function(){return m},xXU:function(){return N},xr$:function(){return D},zdb:function(){return R},zmo:function(){return P}});var r=n(56771);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0zm0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}}]})(e)}function u(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}}]})(e)}function d(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46A11.804 11.804 0 001 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}}]})(e)}function f(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}}]})(e)}function p(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"}}]})(e)}function h(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H9V4h9v12zM3 15v-2h2v2H3zm0-5.5h2v2H3v-2zM10 20h2v2h-2v-2zm-7-1.5v-2h2v2H3zM5 22c-1.1 0-2-.9-2-2h2v2zm3.5 0h-2v-2h2v2zm5 0v-2h2c0 1.1-.9 2-2 2zM5 6v2H3c0-1.1.9-2 2-2z"}}]})(e)}function m(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10.83 8H21V6H8.83l2 2zm5 5H18v-2h-4.17l2 2zM14 16.83V18h-4v-2h3.17l-3-3H6v-2h2.17l-3-3H3V6h.17L1.39 4.22 2.8 2.81l18.38 18.38-1.41 1.41L14 16.83z"}}]})(e)}function v(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}}]})(e)}function g(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"}}]})(e)}function y(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"}}]})(e)}function b(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3.27 5L2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21 18 19.73 3.55 5.27 3.27 5zM6 5v.18L8.82 8h2.4l-.72 1.68 2.1 2.1L14.21 8H20V5H6z"}}]})(e)}function w(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"}}]})(e)}function x(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z"}}]})(e)}function E(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"}}]})(e)}function _(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 19h4v-3h-4v3zM5 4v3h5v3h4V7h5V4H5zM3 14h18v-2H3v2z"}}]})(e)}function k(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}}
1,{tag:"path",attr:{d:"M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"}}]})(e)}function S(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}}]})(e)}function C(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}}]})(e)}function O(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}}]})(e)}function T(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}}]})(e)}function j(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"}}]})(e)}function P(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}}]})(e)}function R(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 1h6v2H9zM13 8v2.17l6.98 6.98a8.963 8.963 0 00-.95-9.76l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42a8.962 8.962 0 00-9.77-.96L10.83 8H13zM2.81 2.81L1.39 4.22l3.4 3.4a8.994 8.994 0 0012.59 12.59l2.4 2.4 1.41-1.41L2.81 2.81z"}}]})(e)}function A(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}}]})(e)}function I(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}}]})(e)}function M(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}}]})(e)}function L(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}}]})(e)}function N(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}}]})(e)}function D(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function F(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 11V3H7v4H3v14h8v-4h2v4h8V11h-4zM7 19H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm4 4H9v-2h2v2zm0-4H9V9h2v2zm0-4H9V5h2v2zm4 8h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm4 12h-2v-2h2v2zm0-4h-2v-2h2v2z"}}]})(e)}function z(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}}]})(e)}function B(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"}}]})(e)}function U(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}}]})(e)}function V(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}}]})(e)}function H(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3
1-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}}]})(e)}function q(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}}]})(e)}},7443:function(e,t,n){"use strict";var r,i=n(34155);n(91479);var o=n(67294),a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(o);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var u=void 0!==i&&i.env&&!0,c=function(e){return"[object String]"===Object.prototype.toString.call(e)},d=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?u:i;f(c(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",f("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){f("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),f(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(f(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(u||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(f(c(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return u||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){u||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];f(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];f(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&f(c(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},l(e,[{key:"length",get:function(){return this._rulesCount}}]),e}();function f(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var p=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},h={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return h[r]||(h[r]="jsx-"+p(e+"-"+n)),h[r]}function v(e,t){var n=/__jsx-style-dynamic-selector/g,r=e+t;return h[r]||(h[r]=t.replace(n,e)),h[r]}function g(e,t){return void 0===t&&(t={}),e.map(function(e){var n=e[0],r=e[1];return a.default.createElement("style",{id:"__"+n,key:"__"+n,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})}var y=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new d({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(b(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){return g(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=m(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return v(i,e)}):[v(i,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}();function b(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}var w=o.createContext(null);function x(){return new y}function E(e){var t=e.registry,n=e.children,r=o.useContext(w),i=o.useState(function(){return r||t||x()})[0];return a.default.createElement(w.Provider,{value:i},n)}function _(){return o.useContext(w)}w.displayName="StyleSheetContext";var k=a.default.useInsertionEffect||a.default.useLayoutEffect,S=x();function C(e){var t=S||_();return t&&k(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}C.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},r=E,r=x,t.style=C},40645:function(e,t,n){"use strict";e.exports=n(7443).style},56647:function(e,t,n){"use strict";n.d(t,{h:function(){return p},n:function(){return d}});var r=n(85893),i=n(33299),o=n(18202),a=n(94184),s=n.n(a),l=n(67294),u=n(31602);function c(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{u.Ib.isEditing&&t(!0)},[]),e}let d={name:"Content Visibility",canHaveChildren:!0,noWrap:!0,inputs:[{name:"target",type:"string",required:!0,defaultValue:"everyone",enum:["authenticated","unauthenticated","everyone"],helperText:"Who can see this content?"}],defaultChildren:[{"@type":"@builder.io/sdk:Element",component:{name:"Text",options:{text:"Edit or replace this text..."}}}]},f=e=>{let{...t}=e,n=c(),o=(0,i.useSession)();return n?(0,r.jsxs)("div",{...t.attributes,className:s()("group relative","rounded border border-dashed border-purple"),children:[(0,r.jsxs)("div",{className:s()("px-1 py-0.5","text-xs","pointer-events-none","transition-all duration-1000","bg-purple text-white opacity-50 group-hover:opacity-100"),children:["Content visible to ",(0,r.jsx)("b",{children:t.target})]}),t.children]}):t.target===o.status||"everyone"===t.target?(0,r.jsx)(r.Fragment,{children:t.children}):null},p=(0,o.withChildren)(f)},17847:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(85893),i=n(94184),o=n.n(i);function a(e){let{children:t,className:n,variant:i="error",invert:a}=e,s=o()({"":"normal"===i,"text-error":"error"===i&&!a,"text-success":"success"===i&&!a,"text-warning":"warning"===i&&!a,"p-2 px-4":a,"bg-error text-white rounded":"error"===i&&a,"bg-success text-white rounded":"success"===i&&a,"bg-warning text-white rounded":"warning"===i&&a},n);return(0,r.jsx)("div",{className:s,role:"alert",children:t})}n(67294)},90048:function(e,t,n){"use strict";n.d(t,{Qj:function(){return c},zx:function(){return u}});var r=n(85893),i=n(34684),o=n(41664),a=n.n(o),s=n(67294);let l=(0,n(14905).j)(["leading-tight","transition","duration-200","outline-none","ring-0","focus:ring-2","focus:ring-teal","font-black","disabled:pointer-events-none"],{variants:{color:{custom:"",default:""},size:{custom:"",sm:"px-2 py-1 text-sm",md:"px-5 py-2 min-h-[40px]",lg:"px-6 py-3 text-lg"},rounded:{true:"rounded"},block:{true:"flex justify-center items-center w-full",false:"inline-flex justify-center items-center"},disabled:{true:"cursor-not-allowed opacity-50"},variant:{solid:"",outline:"",text:""}}
1,compoundVariants:[{color:"custom",variant:"solid",className:[""]},{color:"custom",variant:"outline",className:[""]},{color:"custom",variant:"text",className:[""]},{color:"default",variant:"solid",className:["bg-primary","border-2 border-transparent","hover:bg-primary-light","focus:bg-primary-light","text-white","active:bg-primary-dark"]},{color:"default",variant:"outline",className:["border-2","border-primary","bg-white","hover:bg-primary hover:text-white","focus:bg-primary focus:text-white","text-primary","active:border-primary-dark"]},{color:"default",variant:"text",className:["underline","text-primary","hover:text-primary-light","focus:text-primary-light","bg-white","active:text-primary-dark"]}],defaultVariants:{color:"default",variant:"solid",size:"md"}}),u=s.forwardRef((e,t)=>{let{block:n=!1,children:i,className:o,color:a,disabled:s=!1,rounded:u=!0,size:c,submit:f,loader:p=!1,variant:h,...m}=e;return(0,r.jsx)("button",{ref:t,...m,type:f?"submit":"button",disabled:s,className:l({block:n,className:o,color:a,disabled:s,rounded:u,size:c,variant:h}),children:(0,r.jsx)(d,{show:p,children:i})})});u.displayName="Button";let c=s.forwardRef((e,t)=>{let{href:n,block:i=!1,children:o,className:s,color:u="default",variant:c="solid",disabled:f=!1,rounded:p=!0,size:h="md",loader:m=!1,...v}=e;return f?(0,r.jsx)("a",{ref:t,...v,className:l({block:i,className:s,color:u,disabled:f,rounded:p,size:h,variant:c}),children:(0,r.jsx)(d,{show:m,children:o})}):(0,r.jsx)(a(),{ref:t,href:n,...v,className:l({block:i,className:s,color:u,disabled:f,rounded:p,size:h,variant:c}),children:(0,r.jsx)(d,{show:m,children:o})})});function d(e){let{show:t,children:n}=e;return t?(0,r.jsxs)("div",{className:"flex grow justify-center",children:[(0,r.jsx)("span",{className:"opacity-0",children:n}),(0,r.jsx)(i.Z,{className:"absolute",color:"current",showPulse:!0})]}):(0,r.jsx)(r.Fragment,{children:n})}c.displayName="LinkButton"},42255:function(e,t,n){"use strict";n.d(t,{hU:function(){return d},x6:function(){return f}});var r=n(85893),i=n(94184),o=n.n(i),a=n(67294),s=n(90048),l=n(14905);let u="bg-white hover:bg-neutral-100 text-primary active:bg-grey disabled:pointer-events-none",c=(0,l.j)("disabled:pointer-events-none",{variants:{variant:{custom:"",header:"text-white bg-red hover:bg-red/80 focus:bg-red/80 rounded-full disabled:bg-red/40",image:"text-white bg-primary hover:bg-primary/80 rounded-full",columnHeader:"text-primary hover:bg-primary/10 focus:bg-primary/10 rounded",default:u},size:{custom:"",sm:"p-1",md:"p-2",lg:"p-4"}},defaultVariants:{variant:"default",size:"md"}}),d=a.forwardRef((e,t)=>{let{className:n,variant:i,size:o,children:a,...l}=e;return(0,r.jsx)(s.zx,{...l,size:"custom",color:"custom",className:c({className:n,size:o,variant:i}),ref:t,children:a})});d.displayName="IconButton";let f=a.forwardRef((e,t)=>{let{className:n,variant:i,size:a,children:l,...u}=e;return(0,r.jsx)(s.Qj,{...u,size:"custom",color:"custom",className:o()(n,c({className:n,size:a,variant:i})),ref:t,children:l})});f.displayName="IconLinkButton"},74486:function(e,t,n){"use strict";let r;n.d(t,{L:function(){return r8}});var i,o=n(85893),a=n(67294),s=n.t(a,2),l=n(87462);function u(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function c(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function d(...e){return t=>e.forEach(e=>c(e,t))}function f(e,t=[]){let n=[];function r(t,r){let i=(0,a.createContext)(r),o=n.length;function s(t){let{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][o])||i,u=(0,a.useMemo)(()=>s,Object.values(s));return(0,a.createElement)(l.Provider,{value:u},r)}function l(n,s){let l=(null==s?void 0:s[e][o])||i,u=(0,a.useContext)(l);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],s.displayName=t+"Provider",[s,l]}let i=()=>{let t=n.map(e=>(0,a.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,a.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,p(i,...t)]}function p(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return(0,a.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function h(e){let t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e}),(0,a.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function m({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=v({defaultProp:t,onChange:n}),o=void 0!==e,s=o?e:r,l=h(n);return[s,(0,a.useCallback)(t=>{if(o){let n=t,r="function"==typeof t?n(e):t;r!==e&&l(r)}else i(t)},[o,e,i,l])]}function v({defaultProp:e,onChange:t}){let n=(0,a.useState)(e),[r]=n,i=(0,a.useRef)(r),o=h(t);return(0,a.useEffect)(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}var g=n(73935);let y=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e,i=a.Children.toArray(n),o=i.find(x);if(o){let e=o.props.children,n=i.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(b,(0,l.Z)({},r,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(b,(0,l.Z)({},r,{ref:t}),n)});y.displayName="Slot";let b=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...E(r,n.props),ref:t?d(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null});b.displayName="SlotClone";let w=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function x(e){return(0,a.isValidElement)(e)&&e.type===w}function E(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}
1:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let _=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,a.forwardRef)((e,n)=>{let{asChild:r,...i}=e,o=r?y:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(o,(0,l.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function k(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function S(e,t=[]){let n=[];function r(t,r){let i=(0,a.createContext)(r),o=n.length;function s(t){let{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][o])||i,u=(0,a.useMemo)(()=>s,Object.values(s));return(0,a.createElement)(l.Provider,{value:u},r)}function l(n,s){let l=(null==s?void 0:s[e][o])||i,u=(0,a.useContext)(l);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],s.displayName=t+"Provider",[s,l]}let i=()=>{let t=n.map(e=>(0,a.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,a.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,C(i,...t)]}function C(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return(0,a.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function O(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function T(...e){return t=>e.forEach(e=>O(e,t))}function j(...e){return(0,a.useCallback)(T(...e),e)}let P=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e,i=a.Children.toArray(n),o=i.find(I);if(o){let e=o.props.children,n=i.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(R,(0,l.Z)({},r,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(R,(0,l.Z)({},r,{ref:t}),n)});P.displayName="Slot";let R=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...M(r,n.props),ref:t?T(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null});R.displayName="SlotClone";let A=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function I(e){return(0,a.isValidElement)(e)&&e.type===A}function M(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function L(e){let t=e+"CollectionProvider",[n,r]=S(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=a.useRef(null),o=a.useRef(new Map).current;return a.createElement(i,{scope:t,itemMap:o,collectionRef:r},n)},l=e+"CollectionSlot",u=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=j(t,o(l,n).collectionRef);return a.createElement(P,{ref:i},r)}),c=e+"CollectionItemSlot",d="data-radix-collection-item";function f(t){let n=o(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:s,Slot:u,ItemSlot:a.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,s=a.useRef(null),l=j(t,s),u=o(c,n);return a.useEffect(()=>(u.itemMap.set(s,{ref:s,...i}),()=>void u.itemMap.delete(s))),a.createElement(P,{[d]:"",ref:l},r)})},f,r]}let N=(0,a.createContext)(void 0);function D(e){let t=(0,a.useContext)(N);return e||t||"ltr"}let F=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,a.forwardRef)((e,n)=>{let{asChild:r,...i}=e,o=r?P:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(o,(0,l.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function z(e,t){e&&(0,g.flushSync)(()=>
1e.dispatchEvent(t))}function B(e){let t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e}),(0,a.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function U(e,t=null==globalThis?void 0:globalThis.document){let n=B(e);(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}let V="dismissableLayer.update",H="dismissableLayer.pointerDownOutside",q="dismissableLayer.focusOutside",W=(0,a.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Z=(0,a.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...f}=e,p=(0,a.useContext)(W),[h,m]=(0,a.useState)(null),v=null!==(n=null==h?void 0:h.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,g]=(0,a.useState)({}),y=j(t,e=>m(e)),b=Array.from(p.layers),[w]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(w),E=h?b.indexOf(h):-1,_=p.layersWithOutsidePointerEventsDisabled.size>0,S=E>=x,C=K(e=>{let t=e.target,n=[...p.branches].some(e=>e.contains(t));!S||n||(null==s||s(e),null==c||c(e),e.defaultPrevented||null==d||d())},v),O=$(e=>{let t=e.target;[...p.branches].some(e=>e.contains(t))||(null==u||u(e),null==c||c(e),e.defaultPrevented||null==d||d())},v);return U(e=>{E!==p.layers.size-1||(null==o||o(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},v),(0,a.useEffect)(()=>{if(h)return i&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(r=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),G(),()=>{i&&1===p.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=r)}},[h,v,i,p]),(0,a.useEffect)(()=>()=>{h&&(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),G())},[h,p]),(0,a.useEffect)(()=>{let e=()=>g({});return document.addEventListener(V,e),()=>document.removeEventListener(V,e)},[]),(0,a.createElement)(F.div,(0,l.Z)({},f,{ref:y,style:{pointerEvents:_?S?"auto":"none":void 0,...e.style},onFocusCapture:k(e.onFocusCapture,O.onFocusCapture),onBlurCapture:k(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:k(e.onPointerDownCapture,C.onPointerDownCapture)}))});function K(e,t=null==globalThis?void 0:globalThis.document){let n=B(e),r=(0,a.useRef)(!1),i=(0,a.useRef)(()=>{});return(0,a.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function o(){Q(H,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function $(e,t=null==globalThis?void 0:globalThis.document){let n=B(e),r=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=e=>{e.target&&!r.current&&Q(q,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function G(){let e=new CustomEvent(V);document.dispatchEvent(e)}function Q(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?z(i,o):i.dispatchEvent(o)}let Y=0;function X(){(0,a.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:J()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:J()),Y++,()=>{1===Y&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Y--}},[])}function J(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}function ee(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function et(...e){return t=>
1e.forEach(e=>ee(e,t))}function en(...e){return(0,a.useCallback)(et(...e),e)}let er=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e,i=a.Children.toArray(n),o=i.find(ea);if(o){let e=o.props.children,n=i.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(ei,(0,l.Z)({},r,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(ei,(0,l.Z)({},r,{ref:t}),n)});er.displayName="Slot";let ei=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...es(r,n.props),ref:t?et(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null});ei.displayName="SlotClone";let eo=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function ea(e){return(0,a.isValidElement)(e)&&e.type===eo}function es(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let el=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,a.forwardRef)((e,n)=>{let{asChild:r,...i}=e,o=r?er:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(o,(0,l.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function eu(e){let t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e}),(0,a.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}let ec="focusScope.autoFocusOnMount",ed="focusScope.autoFocusOnUnmount",ef={bubbles:!1,cancelable:!0},ep=(0,a.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[u,c]=(0,a.useState)(null),d=eu(i),f=eu(o),p=(0,a.useRef)(null),h=en(t,e=>c(e)),m=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(r){function e(e){if(m.paused||!u)return;let t=e.target;u.contains(t)?p.current=t:ew(p.current,{select:!0})}function t(e){if(m.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||ew(p.current,{select:!0})}function n(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&ew(u)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,u,m.paused]),(0,a.useEffect)(()=>{if(u){ex.add(m);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(ec,ef);u.addEventListener(ec,d),u.dispatchEvent(t),t.defaultPrevented||(eh(ek(ev(u)),{select:!0}),document.activeElement===e&&ew(u))}return()=>{u.removeEventListener(ec,d),setTimeout(()=>{let t=new CustomEvent(ed,ef);u.addEventListener(ed,f),u.dispatchEvent(t),t.defaultPrevented||ew(null!=e?e:document.body,{select:!0}),u.removeEventListener(ed,f),ex.remove(m)},0)}}},[u,d,f,m]);let v=(0,a.useCallback)(e=>{if(!n&&!r||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=em(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&ew(o,{select:!0})):(e.preventDefault(),n&&ew(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,m.paused]);return(0,a.createElement)(el.div,(0,l.Z)({tabIndex:-1},s,{ref:h,onKeyDown:v}))});function eh(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(ew(r,{select:t}),document.activeElement!==n)return}function em(e){let t=ev(e);return[eg(t,e),eg(t.reverse(),e)]}function ev(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eg(e,t){for(let n of e)if(!ey(n,{upTo:t}))return n}function ey(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function eb(e){return e instanceof HTMLInputElement&&"select"in e}function ew(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&eb(e)&&t&&e.select()}}let ex=eE();function eE(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=e_(e,t)).unshift(t)},remove(t){var n;null===(n=(e=e_(e,t))[0])||void 0===n||n.resume()}}}function e_(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function ek(e){return e.filter(e=>"A"!==e.tagName)}let eS=(null==globalThis?void 0:globalThis.document)?a.useLayoutEffect:()=>{},eC=s["useId".toString()]||(()=>void 0),eO=0;function eT(e){let[t,n]=a.useState(eC());return eS(()=>{e||n(e=>null!=e?e:String(eO++))},[e]),e||(t?`radix-${t}`:"")}var ej=n(10491),eP=n(93090);function eR(e,t){return(0,a.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}let eA=e=>{let{present:t,children:n}=e,r=eI(t),i="function"==typeof n?n({present:r.isPresent}):a.Children.only(n),o=j(r.ref,i.ref);return"function"==typeof n||r.isPresent?(0,a.cloneElement)(i,{ref:o}):null};function eI(e){let[t,n]=(0,a.useState)(),r=(0,a.useRef)({}),i=(0,a.useRef)(e),o=(0,a.useRef)("none"),[s,l]=eR(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,a.useEffect)(()=>{let e=eM(r.current);o.current="mounted"===s?e:"none"},[s]),eS(()=>{let t=r.current,n=i.current;if(n!==e){let r=o.current,a=eM(t);if(e)l("MOUNT");else if("none"===a||(null==t?void 0:t.display)==="none")l("UNMOUNT");else{let e=r!==a;n&&e?l("ANIMATION_OUT"):l("UNMOUNT")}i.current=e}},[e,l]),eS(()=>
1{if(t){let e=e=>{let n=eM(r.current).includes(e.animationName);e.target===t&&n&&(0,g.flushSync)(()=>l("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=eM(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,a.useCallback)(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}function eM(e){return(null==e?void 0:e.animationName)||"none"}function eL(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function eN(e,t=[]){let n=[];function r(t,r){let i=(0,a.createContext)(r),o=n.length;function s(t){let{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][o])||i,u=(0,a.useMemo)(()=>s,Object.values(s));return(0,a.createElement)(l.Provider,{value:u},r)}function l(n,s){let l=(null==s?void 0:s[e][o])||i,u=(0,a.useContext)(l);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],s.displayName=t+"Provider",[s,l]}let i=()=>{let t=n.map(e=>(0,a.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,a.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,eD(i,...t)]}function eD(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return(0,a.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function eF(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function ez(...e){return t=>e.forEach(e=>eF(e,t))}function eB(...e){return(0,a.useCallback)(ez(...e),e)}eA.displayName="Presence";let eU=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e,i=a.Children.toArray(n),o=i.find(eq);if(o){let e=o.props.children,n=i.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(eV,(0,l.Z)({},r,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(eV,(0,l.Z)({},r,{ref:t}),n)});eU.displayName="Slot";let eV=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...eW(r,n.props),ref:t?ez(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null});eV.displayName="SlotClone";let eH=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function eq(e){return(0,a.isValidElement)(e)&&e.type===eH}function eW(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function eZ(e){let t=e+"CollectionProvider",[n,r]=eN(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=a.useRef(null),o=a.useRef(new Map).current;return a.createElement(i,{scope:t,itemMap:o,collectionRef:r},n)},l=e+"CollectionSlot",u=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=eB(t,o(l,n).collectionRef);return a.createElement(eU,{ref:i},r)}),c=e+"CollectionItemSlot",d="data-radix-collection-item";function f(t){let n=o(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:s,Slot:u,ItemSlot:a.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,s=a.useRef(null),l=eB(t,s),u=o(c,n);return a.useEffect(()=>(u.itemMap.set(s,{ref:s,...i}),()=>void u.itemMap.delete(s))),a.createElement(eU,{[d]:"",ref:l},r)})},f,r]}let eK=(null==globalThis?void 0:globalThis.document)?a.useLayoutEffect:()=>{},e$=s["useId".toString()]||(()=>void 0),eG=0;function eQ(e){let[t,n]=a.useState(e$());return eK(()=>{e||n(e=>null!=e?e:String(eG++))},[e]),e||(t?`radix-${t}`:"")}let eY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
1{let n=(0,a.forwardRef)((e,n)=>{let{asChild:r,...i}=e,o=r?eU:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(o,(0,l.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function eX(e){let t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e}),(0,a.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function eJ({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=e0({defaultProp:t,onChange:n}),o=void 0!==e,s=o?e:r,l=eX(n);return[s,(0,a.useCallback)(t=>{if(o){let n=t,r="function"==typeof t?n(e):t;r!==e&&l(r)}else i(t)},[o,e,i,l])]}function e0({defaultProp:e,onChange:t}){let n=(0,a.useState)(e),[r]=n,i=(0,a.useRef)(r),o=eX(t);return(0,a.useEffect)(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}let e1=(0,a.createContext)(void 0);function e2(e){let t=(0,a.useContext)(e1);return e||t||"ltr"}let e4="rovingFocusGroup.onEntryFocus",e5={bubbles:!1,cancelable:!0},e3="RovingFocusGroup",[e6,e9,e8]=eZ(e3),[e7,te]=eN(e3,[e8]),[tt,tn]=e7(e3),tr=(0,a.forwardRef)((e,t)=>(0,a.createElement)(e6.Provider,{scope:e.__scopeRovingFocusGroup},(0,a.createElement)(e6.Slot,{scope:e.__scopeRovingFocusGroup},(0,a.createElement)(ti,(0,l.Z)({},e,{ref:t}))))),ti=(0,a.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:c,onEntryFocus:d,...f}=e,p=(0,a.useRef)(null),h=eB(t,p),m=e2(o),[v=null,g]=eJ({prop:s,defaultProp:u,onChange:c}),[y,b]=(0,a.useState)(!1),w=eX(d),x=e9(n),E=(0,a.useRef)(!1),[_,k]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=p.current;if(e)return e.addEventListener(e4,w),()=>e.removeEventListener(e4,w)},[w]),(0,a.createElement)(tt,{scope:n,orientation:r,dir:m,loop:i,currentTabStopId:v,onItemFocus:(0,a.useCallback)(e=>g(e),[g]),onItemShiftTab:(0,a.useCallback)(()=>b(!0),[]),onFocusableItemAdd:(0,a.useCallback)(()=>k(e=>e+1),[]),onFocusableItemRemove:(0,a.useCallback)(()=>k(e=>e-1),[])},(0,a.createElement)(eY.div,(0,l.Z)({tabIndex:y||0===_?-1:0,"data-orientation":r},f,{ref:h,style:{outline:"none",...e.style},onMouseDown:eL(e.onMouseDown,()=>{E.current=!0}),onFocus:eL(e.onFocus,e=>{let t=!E.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(e4,e5);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=x().filter(e=>e.focusable);tc([e.find(e=>e.active),e.find(e=>e.id===v),...e].filter(Boolean).map(e=>e.ref.current))}}E.current=!1}),onBlur:eL(e.onBlur,()=>b(!1))})))}),to="RovingFocusGroupItem",ta=(0,a.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,...s}=e,u=eQ(),c=o||u,d=tn(to,n),f=d.currentTabStopId===c,p=e9(n),{onFocusableItemAdd:h,onFocusableItemRemove:m}=d;return(0,a.useEffect)(()=>{if(r)return h(),()=>m()},[r,h,m]),(0,a.createElement)(e6.ItemSlot,{scope:n,id:c,focusable:r,active:i},(0,a.createElement)(eY.span,(0,l.Z)({tabIndex:f?0:-1,"data-orientation":d.orientation},s,{ref:t,onMouseDown:eL(e.onMouseDown,e=>{r?d.onItemFocus(c):e.preventDefault()}),onFocus:eL(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:eL(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){d.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=tu(e,d.orientation,d.dir);if(void 0!==t){e.preventDefault();let n=p().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=d.loop?td(n,r+1):n.slice(r+1)}setTimeout(()=>tc(n))}})})))}),ts={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tl(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function tu(e,t,n){let r=tl(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return ts[r]}function tc(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function td(e,t){return e.map((n,r)=>e[(t+r)%e.length])}let tf=tr,tp=ta;var th=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},tm=new WeakMap,tv=new WeakMap,tg={},ty=0,tb=function(e){return e&&(e.host||tb(e.parentNode))},tw=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=tb(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return!!e})},tx=function(e,t,n,r){var i=tw(t,Array.isArray(e)?e:[e]);tg[n]||(tg[n]=new WeakMap);var o=tg[n],a=[],s=new Set,l=new Set(i),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};
1i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(tm.get(e)||0)+1,u=(o.get(e)||0)+1;tm.set(e,l),o.set(e,u),a.push(e),1===l&&i&&tv.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}})};return c(t),s.clear(),ty++,function(){a.forEach(function(e){var t=tm.get(e)-1,i=o.get(e)-1;tm.set(e,t),o.set(e,i),t||(tv.has(e)||e.removeAttribute(r),tv.delete(e)),i||e.removeAttribute(n)}),--ty||(tm=new WeakMap,tm=new WeakMap,tv=new WeakMap,tg={})}},tE=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||th(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),tx(r,i,n,"aria-hidden")):function(){return null}},t_=function(){return(t_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function tk(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function tS(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var tC="right-scroll-bar-position",tO="width-before-scroll-bar",tT="with-scroll-bars-hidden",tj="--removed-body-scroll-bar-size";function tP(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}function tR(e,t){var n=(0,a.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}function tA(e,t){return tR(t||null,function(t){return e.forEach(function(e){return tP(e,t)})})}function tI(e){return e}function tM(e,t){void 0===t&&(t=tI);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}var tL=function(e){void 0===e&&(e={});var t=tM(null);return t.options=t_({async:!0,ssr:!1},e),t}(),tN=function(){},tD=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:tN,onWheelCapture:tN,onTouchMoveCapture:tN}),i=r[0],o=r[1],s=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,m=e.inert,v=e.allowPinchZoom,g=e.as,y=void 0===g?"div":g,b=tk(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=tA([n,t]),E=t_(t_({},b),i);return a.createElement(a.Fragment,null,d&&a.createElement(w,{sideCar:tL,removeScrollBar:c,shards:f,noIsolation:h,inert:m,setCallbacks:o,allowPinchZoom:!!v,lockRef:n}),s?a.cloneElement(a.Children.only(l),t_(t_({},E),{ref:x})):a.createElement(y,t_({},E,{className:u,ref:x}),l))});tD.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tD.classNames={fullWidth:tO,zeroRight:tC};var tF=function(e){var t=e.sideCar,n=tk(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return a.createElement(r,t_({},n))};function tz(e,t){return e.useMedium(t),tF}
1tF.isSideCarExport=!0;var tB=function(){return i||n.nc};function tU(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=tB();return t&&e.setAttribute("nonce",t),e}function tV(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function tH(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}var tq=function(){var e=0,t=null;return{add:function(n){0==e&&(t=tU())&&(tV(t,n),tH(t)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tW=function(){var e=tq();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tZ=function(){var e=tW();return function(t){return e(t.styles,t.dynamic),null}},tK={left:0,top:0,right:0,gap:0},t$=function(e){return parseInt(e||"",10)||0},tG=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[t$(n),t$(r),t$(i)]},tQ=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tK;var t=tG(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tY=tZ(),tX=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(tT," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(tC," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(tO," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(tC," .").concat(tC," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(tO," .").concat(tO," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body {\n    ").concat(tj,": ").concat(s,"px;\n  }\n")},tJ=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r,o=a.useMemo(function(){return tQ(i)},[i]);return a.createElement(tY,{styles:tX(o,!t,i,n?"":"!important")})},t0=!1;if("undefined"!=typeof window)try{var t1=Object.defineProperty({},"passive",{get:function(){return t0=!0,!0}});window.addEventListener("test",t1,t1),window.removeEventListener("test",t1,t1)}catch(e){t0=!1}var t2=!!t0&&{passive:!1},t4=function(e){return"TEXTAREA"===e.tagName},t5=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!t4(e)&&"visible"===n[t])},t3=function(e){return t5(e,"overflowY")},t6=function(e){return t5(e,"overflowX")},t9=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),ne(e,n)){var r=nt(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},t8=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},t7=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},ne=function(e,t){return"v"===e?t3(t):t6(t)},nt=function(e,t){return"v"===e?t8(t):t7(t)},nn=function(e,t){return"h"===e&&"rtl"===t?-1:1},nr=function(e,t,n,r,i){var o=nn(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,f=0;do{var p=nt(e,s),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&ne(e,s)&&(d+=m,f+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return c&&(i&&0===d||!i&&a>d)?u=!0:!c&&(i&&0===f||!i&&-a>f)&&(u=!0),u},ni=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},no=function(e){return[e.deltaX,e.deltaY]},na=function(e){return e&&"current"in e?e.current:e},ns=function(e,t){return e[0]===t[0]&&e[1]===t[1]},nl=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},nu=0,nc=[],nd=tz(tL,function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),i=a.useState(nu++)[0],o=a.useState(function(){return tZ()})[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));
1var t=tS([e.lockRef.current],(e.shards||[]).map(na),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=ni(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=t9(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=t9(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var p=r.current||i;return nr(p,t,e,"h"===p?l:u,!0)},[]),u=a.useCallback(function(e){var n=e;if(nc.length&&nc[nc.length-1]===o){var r="deltaY"in n?no(n):ni(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&ns(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var a=(s.current.shards||[]).map(na).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?l(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=a.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=a.useCallback(function(e){n.current=ni(e),r.current=void 0},[]),f=a.useCallback(function(t){c(t.type,no(t),t.target,l(t,e.lockRef.current))},[]),p=a.useCallback(function(t){c(t.type,ni(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return nc.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,t2),document.addEventListener("touchmove",u,t2),document.addEventListener("touchstart",d,t2),function(){nc=nc.filter(function(e){return e!==o}),document.removeEventListener("wheel",u,t2),document.removeEventListener("touchmove",u,t2),document.removeEventListener("touchstart",d,t2)}},[]);var h=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(o,{styles:nl(i)}):null,h?a.createElement(tJ,{gapMode:"margin"}):null)}),nf=a.forwardRef(function(e,t){return a.createElement(tD,t_({},e,{ref:t,sideCar:nd}))});nf.classNames=tD.classNames;var np=nf;let nh=["Enter"," "],nm=["ArrowUp","PageDown","End"],nv=["ArrowDown","PageUp","Home",...nm],ng={ltr:[...nh,"ArrowRight"],rtl:[...nh,"ArrowLeft"]},ny={ltr:["ArrowLeft"],rtl:["ArrowRight"]},nb="Menu",[nw,nx,nE]=L(nb),[n_,nk]=S(nb,[nE,ej.D7,te]),nS=(0,ej.D7)(),nC=te(),[nO,nT]=n_(nb),[nj,nP]=n_(nb),nR=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:s=!0}=e,l=nS(t),[u,c]=(0,a.useState)(null),d=(0,a.useRef)(!1),f=B(o),p=D(i);return(0,a.useEffect)(()=>{let e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,a.createElement)(ej.fC,l,(0,a.createElement)(nO,{scope:t,open:n,onOpenChange:f,content:u,onContentChange:c},(0,a.createElement)(nj,{scope:t,onClose:(0,a.useCallback)(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:s},r)))},nA=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,i=nS(n);return(0,a.createElement)(ej.ee,(0,l.Z)({},i,r,{ref:t}))}),nI="MenuPortal",[nM,nL]=n_(nI,{forceMount:void 0}),nN=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=nT(nI,t);return(0,a.createElement)(nM,{scope:t,forceMount:n},(0,a.createElement)(eA,{present:n||o.open},(0,a.createElement)(eP.h,{asChild:!0,container:i},r)))},nD="MenuContent",[nF,nz]=n_(nD),nB=(0,a.forwardRef)((e,t)=>{let n=nL(nD,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=nT(nD,e.__scopeMenu),s=nP(nD,e.__scopeMenu);return(0,a.createElement)(nw.Provider,{scope:e.__scopeMenu},(0,a.createElement)(eA,{present:r||o.open},(0,a.createElement)(nw.Slot,{scope:e.__scopeMenu},s.modal?(0,a.createElement)(nU,(0,l.Z)({},i,{ref:t})):(0,a.createElement)(nV,(0,l.Z)({},i,{ref:t})))))}),nU=(0,a.forwardRef)((e,t)=>{let n=nT(nD,e.__scopeMenu),r=(0,a.useRef)(null),i=j(t,r);return(0,a.useEffect)(()=>{let e=r.current;if(e)return tE(e)},[]),(0,a.createElement)(nH,(0,l.Z)({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:k(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),nV=(0,a.forwardRef)((e,t)=>{let n=nT(nD,e.__scopeMenu);return(0,a.createElement)(nH,(0,l.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),nH=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEntryFocus:c,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...g}=e,y=nT(nD,n),b=nP(nD,n),w=nS(n),x=nC(n),E=nx(n),[_,S]=(0,a.useState)(null),C=(0,a.useRef)(null),O=j(t,C,y.onContentChange),T=(0,a.useRef)(0),R=(0,a.useRef)(""),A=(0,a.useRef)(0),I=(0,a.useRef)(null),M=(0,a.useRef)("right"),L=(0,a.useRef)(0),N=v?np:a.Fragment,D=v?{as:P,allowPinchZoom:!0}:void 0,F=e=>{var t,n;let r=R.current+e,i=E().filter(e=>!e.disabled),o=document.activeElement,a=null===(t=i.find(e=>e.ref.current===o))||void 0===t?void 0:t.textValue,s=rd(i.map(e=>e.textValue),r,a),l=null===(n=i.find(e=>e.textValue===s))||void 0===n?void 0:n.ref.current;!function e(t){R.current=t,window.clearTimeout(T.current),""!==t&&(T.current=window.setTimeout(()=>e(""),1e3))}(r),l&&setTimeout(()=>l.focus())};(0,a.useEffect)(()=>()=>window.clearTimeout(T.current),[]),X();let z=(0,a.useCallback)(e=>{var t,n;return M.current===(null===(t=I.current)||void 0===t?void 0:t.side)&&rp(e,null===(n=I.current)||void 0===n?void 0:n.area)},[]);return(0,a.createElement)(nF,{scope:n,searchRef:R,onItemEnter:(0,a.useCallback)(e=>{z(e)&&e.preventDefault()},[z]),onItemLeave:(0,a.useCallback)(e=>{var t;z(e)||(null===(t=C.current)||void 0===t||t.focus(),S(null))},[z]),onTriggerLeave:(0,a.useCallback)(e=>{z(e)&&e.preventDefault()},[z]),pointerGraceTimerRef:A,onPointerGraceIntentChange:(0,a.useCallback)(e=>{I.current=e},[])},(0,a.createElement)(N,D,(0,a.createElement)(ep,{asChild:!0,trapped:i,onMountAutoFocus:k(o,e=>{var t;e.preventDefault(),null===(t=C.current)||void 0===t||t.focus()}),onUnmountAutoFocus:s},(0,a.createElement)(Z,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,onDismiss:m},(0,a.createElement)(tf,(0,l.Z)({asChild:!0},x,{dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:_,onCurrentTabStopIdChange:S,onEntryFocus:k(c,e=>{b.isUsingKeyboardRef.current||e.preventDefault()})}),(0,a.createElement)(ej.VY,(0,l.Z)({role:"menu","aria-orientation":"vertical","data-state":ra(y.open),"data-radix-menu-content":"",dir:b.dir},w,g,{ref:O,style:{outline:"none",...g.style},onKeyDown:k(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&F(e.key));let i=C.current;if(e.target!==i||!nv.includes(e.key))return;e.preventDefault();let o=E().filter(e=>!e.disabled).map(e=>e.ref.current);nm.includes(e.key)&&o.reverse(),ru(o)}),onBlur:k(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(T.current),R.current="")}),onPointerMove:k(e.onPointerMove,rh(e=>{let t=e.target,n=L.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>L.current?"right":"left";M.current=t,L.current=e.clientX}}))})))))))}),nq=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,a.createElement)(F.div,(0,l.Z)({role:"group"},r,{ref:t}))}),nW=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,a.createElement)(F.div,(0,l.Z)({},r,{ref:t}))}),nZ="MenuItem",nK="menu.itemSelect",n$=(0,a.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,o=(0,a.useRef)(null),s=nP(nZ,e.__scopeMenu),u=nz(nZ,e.__scopeMenu),c=j(t,o),d=(0,a.useRef)(!1),f=()=>{let e=o.current;if(!n&&e){let t=new CustomEvent(nK,{bubbles:!0,cancelable:!0});e.addEventListener(nK,e=>null==r?void 0:r(e),{once:!0}),z(e,t),t.defaultPrevented?d.current=!1:s.onClose()}};return(0,a.createElement)(nG,(0,l.Z)({},i,{ref:c,disabled:n,onClick:k(e.onClick,f),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),d.current=!0},onPointerUp:k(e.onPointerUp,e=>{var t;d.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:k(e.onKeyDown,e=>{let t=""!==u.searchRef.current;!n&&(!t||" "!==e.key)&&nh.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),nG=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,s=nz(nZ,n),u=nC(n),c=(0,a.useRef)(null),d=j(t,c),[f,p]=(0,a.useState)(!1),[h,m]=(0,a.useState)("");return(0,a.useEffect)(()=>{let e=c.current;if(e){var t;m((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[o.children]),(0,a.createElement)(nw.ItemSlot,{scope:n,disabled:r,textValue:null!=i?i:h},(0,a.createElement)(tp,(0,l.Z)({asChild:!0},u,{focusable:!r}),(0,a.createElement)(F.div,(0,l.Z)({role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:d,onPointerMove:k(e.onPointerMove,rh(e=>{r?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:k(e.onPointerLeave,rh(e=>s.onItemLeave(e))),onFocus:k(e.onFocus,()=>p(!0)),onBlur:k(e.onBlur,()=>p(!1))}))))}),nQ=(0,a.forwardRef)((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,a.createElement)(n4,{scope:e.__scopeMenu,checked:n},(0,a.createElement)(n$,(0,l.Z)({role:"menuitemcheckbox","aria-checked":rs(n)?"mixed":n},i,{ref:t,"data-state":rl(n),onSelect:k(i.onSelect,()=>null==r?void 0:r(!!rs(n)||!n),{checkForDefaultPrevented:!1})})))}),[nY,nX]=n_("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),nJ=(0,a.forwardRef)((e,t)=>{let{value:n,onValueChange:r,...i}=e,o=B(r);return(0,a.createElement)(nY,{scope:e.__scopeMenu,value:n,onValueChange:o},(0,a.createElement)(nq,(0,l.Z)({},i,{ref:t})))}),n0="MenuRadioItem",n1=(0,a.forwardRef)((e,t)=>{let{value:n,...r}=e,i=nX(n0,e.__scopeMenu),o=n===i.value;return(0,a.createElement)(n4,{scope:e.__scopeMenu,checked:o},(0,a.createElement)(n$,(0,l.Z)({role:"menuitemradio","aria-checked":o},r,{ref:t,"data-state":rl(o),onSelect:k(r.onSelect,()=>{var e;return null===(e=i.onValueChange)||void 0===e?void 0:e.call(i,n)},{checkForDefaultPrevented:!1})})))}),n2="MenuItemIndicator",[n4,n5]=n_(n2,{checked:!1}),n3=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,o=n5(n2,n);return(0,a.createElement)(eA,{present:r||rs(o.checked)||!0===o.checked},(0,a.createElement)(F.span,(0,l.Z)({},i,{ref:t,"data-state":rl(o.checked)})))}),n6=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,a.createElement)(F.div,(0,l.Z)({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),n9=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,i=nS(n);return(0,a.createElement)(ej.Eh,(0,l.Z)({},i,r,{ref:t}))}),n8="MenuSub",[n7,re]=n_(n8),rt=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,o=nT(n8,t),s=nS(t),[l,u]=(0,a.useState)(null),[c,d]=(0,a.useState)(null),f=B(i);return(0,a.useEffect)(()=>(!1===o.open&&f(!1),()=>f(!1)),[o.open,f]),(0,a.createElement)(ej.fC,s,(0,a.createElement)(nO,{scope:t,open:r,onOpenChange:f,content:c,onContentChange:d},(0,a.createElement)(n7,{scope:t,contentId:eT(),triggerId:eT(),trigger:l,onTriggerChange:u},n)))},rn="MenuSubTrigger",rr=(0,a.forwardRef)((e,t)=>{let n=nT(rn,e.__scopeMenu),r=nP(rn,e.__scopeMenu),i=re(rn,e.__scopeMenu),o=nz(rn,e.__scopeMenu),s=(0,a.useRef)(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:c}=o,d={__scopeMenu:e.__scopeMenu},f=(0,a.useCallback)(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return(0,a.useEffect)(()=>f,[f]),(0,a.useEffect)(()=>{let e=u.current;return()=>{window.clearTimeout(e),c(null)}},[u,c]),(0,a.createElement)(nA,(0,l.Z)({asChild:!0},d),(0,a.createElement)(nG,(0,l.Z)({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":ra(n.open)},e,{ref:T(t,i.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focu
1s(),n.open||n.onOpenChange(!0))},onPointerMove:k(e.onPointerMove,rh(t=>{o.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||s.current||(o.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:k(e.onPointerLeave,rh(e=>{var t,r;f();let i=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(i){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,a="right"===t,s=a?-5:5,l=i[a?"left":"right"],c=i[a?"right":"left"];o.onPointerGraceIntentChange({area:[{x:e.clientX+s,y:e.clientY},{x:l,y:i.top},{x:c,y:i.top},{x:c,y:i.bottom},{x:l,y:i.bottom}],side:t}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(e),e.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:k(e.onKeyDown,t=>{let i=""!==o.searchRef.current;if(!e.disabled&&(!i||" "!==t.key)&&ng[r.dir].includes(t.key)){var a;n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault()}})})))}),ri="MenuSubContent",ro=(0,a.forwardRef)((e,t)=>{let n=nL(nD,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=nT(nD,e.__scopeMenu),s=nP(nD,e.__scopeMenu),u=re(ri,e.__scopeMenu),c=(0,a.useRef)(null),d=j(t,c);return(0,a.createElement)(nw.Provider,{scope:e.__scopeMenu},(0,a.createElement)(eA,{present:r||o.open},(0,a.createElement)(nw.Slot,{scope:e.__scopeMenu},(0,a.createElement)(nH,(0,l.Z)({id:u.contentId,"aria-labelledby":u.triggerId},i,{ref:d,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.isUsingKeyboardRef.current&&(null===(t=c.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:k(e.onFocusOutside,e=>{e.target!==u.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:k(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:k(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=ny[s.dir].includes(e.key);if(t&&n){var r;o.onOpenChange(!1),null===(r=u.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))});function ra(e){return e?"open":"closed"}function rs(e){return"indeterminate"===e}function rl(e){return rs(e)?"indeterminate":e?"checked":"unchecked"}function ru(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function rc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function rd(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,o=rc(e,Math.max(i,0));1===r.length&&(o=o.filter(e=>e!==n));let a=o.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function rf(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e].x,s=t[e].y,l=t[o].x,u=t[o].y;s>r!=u>r&&n<(l-a)*(r-s)/(u-s)+a&&(i=!i)}return i}function rp(e,t){return!!t&&rf({x:e.clientX,y:e.clientY},t)}function rh(e){return t=>"mouse"===t.pointerType?e(t):void 0}let rm=nR,rv=nA,rg=nN,ry=nB,rb=n$,rw=n6,rx=n9,rE=rt,r_=rr,rk=ro,rS=(null==globalThis?void 0:globalThis.document)?a.useLayoutEffect:()=>{},rC=s["useId".toString()]||(()=>void 0),rO=0;function rT(e){let[t,n]=a.useState(rC());return rS(()=>{e||n(e=>null!=e?e:String(rO++))},[e]),e||(t?`radix-${t}`:"")}let rj="DropdownMenu",[rP,rR]=f(rj,[nk]),rA=nk(),[rI,rM]=rP(rj),rL=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:s,modal:u=!0}=e,c=rA(t),d=(0,a.useRef)(null),[f=!1,p]=m({prop:i,defaultProp:o,onChange:s});return(0,a.createElement)(rI,{scope:t,triggerId:rT(),triggerRef:d,contentId:rT(),open:f,onOpenChange:p,onOpenToggle:(0,a.useCallback)(()=>p(e=>!e),[p]),modal:u},(0,a.createElement)(rm,(0,l.Z)({},c,{open:f,onOpenChange:p,dir:r,modal:u}),n))},rN="DropdownMenuTrigger",rD=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,o=rM(rN,n),s=rA(n);return(0,a.createElement)(rv,(0,l.Z)({asChild:!0},s),(0,a.createElement)(_.button,(0,l.Z)({type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},i,{ref:d(t,o.triggerRef),onPointerDown:u(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(o.onOpenToggle(),o.open||e.preventDefault())}),onKeyDown:u(e.onKeyDown,e=>
1{!r&&(["Enter"," "].includes(e.key)&&o.onOpenToggle(),"ArrowDown"===e.key&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),rF=e=>{let{__scopeDropdownMenu:t,...n}=e,r=rA(t);return(0,a.createElement)(rg,(0,l.Z)({},r,n))},rz="DropdownMenuContent",rB=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=rM(rz,n),o=rA(n),s=(0,a.useRef)(!1);return(0,a.createElement)(ry,(0,l.Z)({id:i.contentId,"aria-labelledby":i.triggerId},o,r,{ref:t,onCloseAutoFocus:u(e.onCloseAutoFocus,e=>{var t;s.current||null===(t=i.triggerRef.current)||void 0===t||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:u(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!i.modal||r)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),rU=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=rA(n);return(0,a.createElement)(rb,(0,l.Z)({},i,r,{ref:t}))}),rV=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=rA(n);return(0,a.createElement)(rw,(0,l.Z)({},i,r,{ref:t}))}),rH=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=rA(n);return(0,a.createElement)(rx,(0,l.Z)({},i,r,{ref:t}))}),rq=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:o}=e,s=rA(t),[u=!1,c]=m({prop:r,defaultProp:o,onChange:i});return(0,a.createElement)(rE,(0,l.Z)({},s,{open:u,onOpenChange:c}),n)},rW=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=rA(n);return(0,a.createElement)(r_,(0,l.Z)({},i,r,{ref:t}))}),rZ=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=rA(n);return(0,a.createElement)(rk,(0,l.Z)({},i,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),rK=rL,r$=rD,rG=rF,rQ=rB,rY=rU,rX=rV,rJ=rH,r0=rq,r1=rW,r2=rZ;var r4=n(62469),r5=n(41664),r3=n.n(r5),r6=n(94184),r9=n.n(r6);function r8(e){let{children:t,items:n,disabled:r}=e;return(0,o.jsxs)(rK,{modal:!1,children:[(0,o.jsx)(r$,{asChild:!0,disabled:r,children:t}),(0,o.jsx)(rG,{children:(0,o.jsxs)(rQ,{"data-testid":"dropdown-content",className:"max-h-[90svh] min-w-[140] rounded-md border border-grey bg-white p-2 shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.45),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] will-change-[opacity,transform] data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade data-[side=right]:animate-slideLeftAndFade data-[side=top]:animate-slideDownAndFade",sideOffset:5,collisionPadding:5,children:[null==n?void 0:n.map((e,t)=>(0,o.jsx)(r7,{item:e},t)),(0,o.jsx)(rJ,{className:"fill-white"})]})})]})}function r7(e){var t,n,r,i,a;let{item:s}=e,l=null,u=!1,c=!1;return s.hide?null:"divider"===s.type?(0,o.jsx)(rX,{asChild:!0,className:"my-1 border-neutral-200",children:(0,o.jsx)("hr",{})}):"submenu"===s.type?(0,o.jsxs)(r0,{children:[(0,o.jsxs)(r1,{className:"group relative flex h-[2rem] select-none items-center rounded-[3px] px-[10px] leading-none text-primary outline-none data-[disabled]:pointer-events-none data-[highlighted]:bg-primary data-[highlighted]:data-[state=open]:bg-primary data-[state=open]:bg-primary/20 data-[disabled]:text-grey data-[highlighted]:data-[state=open]:text-white data-[highlighted]:text-white data-[state=open]:text-primary",children:[s.content,(0,o.jsx)("div",{className:" ml-auto pl-[20px] group-data-[highlighted]:text-white",children:(0,o.jsx)(r4.XCv,{})})]}),(0,o.jsx)(rG,{children:(0,o.jsx)(r2,{"data-testid":"dropdown-sub-content",className:"max-h-[100svh] overflow-auto rounded-md bg-white p-2 shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] will-change-[op
1acity,transform] data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade data-[side=right]:animate-slideLeftAndFade data-[side=top]:animate-slideDownAndFade",sideOffset:2,alignOffset:-5,children:null===(t=s.children)||void 0===t?void 0:t.map((e,t)=>(0,o.jsx)(r7,{item:e},t))})})]}):("button"===s.type&&(u=null!==(n=s.disabled)&&void 0!==n&&n,c=null!==(r=s.selected)&&void 0!==r&&r,l=(0,o.jsx)("button",{onClick:s.onClick,children:s.content})),"link"===s.type&&(c=null!==(i=s.selected)&&void 0!==i&&i,u=null!==(a=s.disabled)&&void 0!==a&&a,l=(0,o.jsx)(r3(),{href:s.href,target:s.openInNewWindow?"_blank":void 0,children:s.content})),(0,o.jsx)(rY,{asChild:!0,disabled:u,className:r9()("group relative flex h-[2rem] w-full select-none items-center rounded-[3px] px-[10px]","leading-none text-primary outline-none data-[disabled]:pointer-events-none data-[highlighted]:bg-primary data-[disabled]:text-grey data-[highlighted]:text-white",c&&"bg-primary/10"),children:l}))}},77783:function(e,t,n){"use strict";n.d(t,{eL:function(){return f},FZ:function(){return c},ZP:function(){return d}});var r=n(85893),i=n(25675),o=n.n(i),a={src:"/_next/static/media/error-page-img.8724af42.png",height:690,width:864,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAZlBMVEXMw8f/12T//39Nb8sTIhMpMyjDs8HY1Nz/5orn6fVSdc9OTSH3xF6Ki4ZrWktXXlbMq1FHU0+edmy4k4tXWUkLFQD/s2HDiUypfU0rMSs6NSK5rrBYWkrEur+WnZmZrOltg7k0QjGEqPXFAAAAGnRSTlP+1yiVot6m/Qf+ZqIj+f7DtT35/XK2g8m/wiisF30AAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA7SURBVHicBcEHAoAgDACxU8EW9x4F1/8/aUKjY+/PYyMbfOrMdvL6a+fJHOrucJFWqhcJEheKRyCW+gNP4QLNfCyyWQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6},s=n(13579);let l=(e,t)=>{switch(e){case 403:if("NoActiveLicenseException"===t)return"Not subscribed?";return"Access not authorized";case 404:return"Oops, what's happened here?";default:return"500 Server Error"}},u=(e,t)=>{switch(e){case 403:if("NoActiveLicenseException"===t)return(0,r.jsxs)(r.Fragment,{children:["Sign up to an subscription in order to view this content. Subscriptions to EuHu are available from \xa37.99 per month.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/subscriptions","data-testid":"pricing-link",children:"View subscription options"})]});return(0,r.jsxs)(r.Fragment,{children:["You do not have access or permissions to view this page. Please use the link below to get back to our"," ",(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/","data-testid":"hub-link",children:"site"}),"."]});case 404:return(0,r.jsxs)(r.Fragment,{children:["This page doesn't exist, please use the links below to get back to our"," ",(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/","data-testid":"hub-link",children:"site"}),"."]});default:return(0,r.jsxs)(r.Fragment,{children:["Something went wrong."," ",(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/","data-testid":"hub-link",children:"Click here"})," ","to return to the site or contact us if you continue to have issues."]})}};class c extends Error{constructor(e,t,n){super(),this.code=e||500,this.type=t||"InternalServerErrorException",this.subscriptionProvider=n}}function d(e){let{error:t}=e,n=t,i=(null==n?void 0:n.code)||500,o=(null==n?void 0:n.type)||"InternalServerErrorException";return(0,r.jsx)(p,{title:l(i,o),body:u(i,o)})}function f(e){var t,n;let{error:i,actions:o,bodyOverride:a}=e,l=e=>{switch(e){case"UNAUTHORIZED":case"FORBIDDEN":return"Access not authorized";case"NOT_FOUND":return"Oops, what's happened here?";default:return"500 Server Error"}},u=e=>{if(a)return a;switch(e){case"UNAUTHORIZED":case"FORBIDDEN":return(0,r.jsxs)(r.Fragment,{children:["You do not have access or permissions to view this page. Please use the link below to get back to our"," ",(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/","data-testid":"hub-link",children:"site"}),"."]});case"NOT_FOUND":return(0,r.jsxs)(r.Fragment,{children:["This page doesn't exist, please use the links below to get back to our"," ",(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/","data-testid":"hub-link",children:"site"}),"."]});default:return(0,r.jsxs)(r.Fragment,{children:["Something went wrong."," ",(0,r.jsx)(s.U,{color:"inherit",className:"underline hover:opacity-90",href:"/","data-testid":"hub-link",children:"Click here"})," ","to return to the site or contact us if you continue to have issues."]})}};return(0,r.jsx)(p,{title:l(null===(t=i.data)||void 0===t?void 0:t.code),body:u(null===(n=i.data)||void 0===n?void 0:n.code),actions:o})}function p(e){let{title:t,body:n,actions:i}=e;return(0,r.jsx)("div",{className:"flex w-full rounded-md bg-red",children:(0,r.jsxs)("div",{className:"ml-auto mr-auto flex flex-col sm:flex-row",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 px-4 py-8 text-white md:w-[24rem] lg:w-[36rem] xl:w-[40rem] 2xl:w-[50rem]",children:[(0,r.jsx)("div",{className:"mb-6 text-3xl font-black sm:mb-6 sm:text-[2rem] sm:leading-9 md:text-[3rem] md:leading-[3rem] lg:text-[4rem] lg:leading-[4rem] xl:text-[5rem] xl:leading-[5rem] 2xl:text-[6rem] 2xl:leading-[6rem]",children:t}),(0,r.jsxs)("div",{className:"text-lg leading-6 sm:text-[1.25rem] sm:leading-6 lg:text-[1.75rem] lg:leading-[1.75rem] 2xl:text-[2.5rem] 2xl:leading-[2.5rem]",children:[n,i&&(0,r.jsx)("div",{className:"mt-6 flex flex-col gap-2 text-base sm:flex-row sm:flex-wrap",children:i})]})]}),(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)("div",{className:"mt-auto w-auto max-w-sm sm:w-[16rem] md:w-[22rem] lg:w-[26rem] xl:w-[35rem]",children:(0,r.jsx)(o(),{src:a,alt:"image",priority:!0})})})]})})}},52586:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(85893);n(67294);var i=n(94184),o=n.n(i);let a=e=>{let{children:t,className:n}=e;return(0,r.jsx)("p",{className:o()("block text-left text-sm text-error",n),children:t})}},50867:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(85893);n(67294);var i=n(29208),o=n.n(i),a=n(32866),s=n(67573),l=n(52586),u=n(84849);let c=e=>{let{showSkeleton:t,name:n,register:i,rules:c,errors:d,className:f,disabled:p=!1,adornment:h,...m}=e,v=o()(d,n),g=!!(d&&v);return(0,r.jsxs)("div",{className:f,children:[(0,r.jsx)("div",{className:"relative",children:t?(0,r.jsx)(u.Z,{height:36}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.I,{disabled:p,name:n,error:g,className:h?"appearance-none !pr-10":"",...m,...i&&i(n,c)}),h]})}),d&&(0,r.jsx)(a.B,{errors:d,name:n,render:e=>{let{message:t}=e;return(0,r.jsx)(l.J,{className:"mt-1",children:t})}})]})}},60289:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var r=n(85893),i=n(67294),o=n(89982),a=n.n(o),s=n(20011),l=n.n(s),u=n(42255),c=n(50867);let d=e=>{let{name:t,register:n,rules:o,errors:s,className:d,disabled:f=!1,...p}=e,[h,m]=(0,i.useState)(!1);return(0,r.jsx)(c.y,{name:t,register:n,rules:o,errors:s,className:d,disabled:f,adornment:(0,r.jsx)(u.hU,{className:"absolute bottom-1 right-1 top-1 p-1",onClick:()=>m(e=>!e),title:h?"Hide password":"Show password",children:h?(0,r.jsx)(a(),{className:"h-4 w-4"}):(0,r.jsx)(l(),{className:"h-4 w-4"})}),...p,type:h?"text":"password"})}},53922:function(e,t,n){"use strict";n.d(t,{i:function(){return d}});var r=n(85893);n(67294);var i=n(87536),o=n(52586),a=n(31745),s=n(84849),l=n(94184),u=n.n(l);function c(e,t){var n;let r=e.find(e=>e.value===t);return null!==(n=null==r?void 0:r.label)&&void 0!==n?n:t}let d=e=>{let{showSkeleton:t,name:n,options:l,placeholder:d,isMultiple:f=!1,isClearable:p=!1,isSearchable:h=!1,isLoading:m=!1,disabled:v=!1,control:g,rules:y,className:b,onChange:w,"data-testid":x}=e;return(0,r.jsx)("div",{className:b,children:(0,r.jsx)(i.Qr,{control:g,name:n,rules:y,render:e=>
1{let{field:{onChange:n,value:i},fieldState:{error:g}}=e;if(t)return(0,r.jsx)(s.Z,{height:36});let y=!!(null==g?void 0:g.message),b=f?(i||[]).map(e=>({value:e,label:c(l,e)})):l.find(e=>e.value===i);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.P,{isDisabled:v,placeholder:d,options:l,isMultiple:f,isClearable:p,isLoading:m,isSearchable:h,selectedValue:b,error:y,onChange:e=>{f?n(e?e.map(e=>e.value):[]):n(e?null==e?void 0:e.value:""),null==w||w(e)},className:u()({"!border-error hover:border-error focus:border-error focus:ring-error focus:ring-opacity-50":y,"border-grey hover:border-teal-light focus:border-teal-light focus:ring-teal-light focus:ring-opacity-30":!y}),"data-testid":x}),(null==g?void 0:g.message)&&(0,r.jsx)(o.J,{className:"mt-1",children:g.message})]})}})})}},49361:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(85893),i=n(94184),o=n.n(i);function a(e){let{length:t=0,maxLength:n}=e;return(0,r.jsx)("div",{className:o()("text-sm",{"text-primary/50":t<=n,"text-error":t>n}),children:"".concat(t||0,"/").concat(n)})}n(67294)},13579:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(85893),i=n(41664),o=n.n(i),a=n(14905),s=n(67294);let l=(0,a.j)([],{variants:{underline:{true:"underline focus:underline underline-offset-1 outline-teal",false:""},color:{primary:"text-primary font-black outline-teal",inherit:"text-inherit"}},defaultVariants:{color:"primary",underline:!0}}),u=(0,s.forwardRef)((e,t)=>{let{children:n,className:i,color:a,underline:s,...u}=e;return(0,r.jsx)(o(),{ref:t,...u,className:l({className:i,color:a,underline:s}),children:n})});u.displayName="InlineLink"},67573:function(e,t,n){"use strict";n.d(t,{I:function(){return s}});var r=n(85893),i=n(67294),o=n(94184),a=n.n(o);let s=(0,i.forwardRef)((e,t)=>{let{id:n,name:i,type:o="text",className:s="",error:l,...u}=e;return(0,r.jsx)("input",{id:n,ref:t,name:i,type:o,"data-testid":"input",className:a()(["relative inline-flex w-full rounded border text-base leading-tight transition-colors ease-in-out disabled:bg-neutral-200","min-h-[40px] py-2 pl-2.5 pr-2 text-sm text-primary placeholder-primary/50 focus:outline-none focus:ring-2",l?"border-error hover:border-error focus:border-error focus:ring-error focus:ring-opacity-50":"border-grey hover:border-teal-light focus:border-teal-light focus:ring-teal-light focus:ring-opacity-30",s]),...u})})},70544:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(85893);n(67294);var i=n(94184),o=n.n(i);let a=e=>{let{className:t,htmlFor:n,required:i,children:a}=e;return(0,r.jsxs)("label",{className:o()(t,"block text-base font-black text-primary"),htmlFor:n,children:[a," ",i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-error",children:"*"}),(0,r.jsx)("span",{className:"sr-only",children:"(required)"})]})]})}},36040:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(85893),i=n(34684),o=n(94184),a=n.n(o);function s(e){let{position:t="left",color:n="neutral",className:o}=e;return(0,r.jsx)("div",{className:a()(o,"flex",{"justify-start":"left"===t,"justify-end":"right"===t,"justify-center":"center"===t,"absolute bottom-1/2 left-0 right-0 top-1/2 m-auto -mt-4 justify-center":"screen-center"===t,"absolute inset-0 z-50 items-center justify-center bg-white ":"inset"===t}),children:(0,r.jsxs)("div",{role:"status",children:[(0,r.jsx)(i.Z,{className:"text-4xl",color:n}),(0,r.jsx)("span",{className:"sr-only",children:"Loading..."})]})})}n(67294)},38106:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893),i=n(83421);function o(){return(0,r.jsx)(i.V.Overlay,{className:"fixed inset-0 transform-gpu bg-[#333]/90"})}n(67294)},7920:function(e,t,n){"use strict";n.d(t,{s:function(){return l}});var r=n(85893),i=n(94184),o=n.n(i),a=n(67294);let s=(0,n(14905).j)("rounded",{variants:{variant:{bordered:["border","border-neutral-200","bg-white"],shadowed:["shadow","bg-white","border","border-neutral-100"],faded:["bg-teal-powder"],closable:["bg-white bg-[radial-gradient(circle_at_top_1.4rem_right_1.4rem,var(--euhu-red),var(--euhu-red)_2rem,#fff_calc(2rem_+_1px))]"],default:["bg-white","shadow-md"],custom:""}},defaultVariants:{variant:"default"}}),l=(0,a.forwardRef)((e,t)=>{let{id:n,heading:i,headingClassName:a="",className:l="",variant:u,children:c,center:d,disablePadding:f}=e,p=s({variant:u,className:l});return(0,r.jsxs)("section",{ref:t,id:n,className:o()(p,!f&&"p-3","rounded"),children:[i&&(0,r.jsx)("div",{className:o()(a,"flex",{" mb-2":!!c,"justify-center":!!d}),children:i}),c]})});l.displayName="Panel"},96487:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(85893),i=n(67294),o=n(64019),a=n(83421),s=n(38106),l=n(94184),u=n.n(l),c=n(7920),d=n(42255),f=n(17376);function p(e){let{title:t,isOpen:n,toggleOpen:l,children:p,className:h="",hideOverlay:m,unmount:v=!0}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"md:hidden",children:(0,r.jsx)(o.u,{show:n,as:i.Fragment,unmount:v,children:(0,r.jsxs)(a.V,{unmount:v,onClose:()=>l(!1),className:"fixed inset-0 z-40 overflow-y-auto",children:[!m&&(0,r.jsx)(o.u.Child,{unmount:v,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)(s.Z,{})}),(0,r.jsx)("div",{className:"flex min-h-screen flex-col px-2","data-cy":"side-menu",children:(0,r.jsx)(o.u.Child,{unmount:v,as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 -translate-x-1/2",enterTo:"opacity-100 translate-x-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-x-0",leaveTo:"opacity-0 -translate-x-1/2",children:(0,r.jsxs)(c.s,{variant:"closable",className:u()(" my-8 rounded-l-none","fixed inset-y-0 left-0 bg-white px-3 py-2 shadow","mx-auto flex w-full max-w-[75vw] flex-col justify-start sm:max-w-sm",h),children:[(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"mb-2 flex",children:[t&&(0,r.jsx)(a.V.Title,{className:"text-h3 font-black",children:t}),(0,r.jsx)(d.hU,{size:"custom",className:u()("absolute right-3 top-3"),variant:"header",onClick:()=>l(!1),children:(0,r.jsx)(f.Tw,{className:"h-6 w-6"})})]})}),(0,r.jsx)("div",{className:"grow overflow-auto pb-0",children:p})]})})})]})})})})}},31745:function(e,t,n){"use strict";n.d(t,{P:function(){return y}});var r=n(85893),i=n(83302),o=n.n(i),a=n(34456),s=n.n(a),l=n(5678),u=n(94184),c=n.n(u),d=n(67294);let f=e=>{let{item:t,selectedValue:n,onSelect:i,"data-testid":o="option"}=e;return t.hidden?null:(0,r.jsx)(r.Fragment,{children:t.disabled?(0,r.jsx)("div",{className:"cursor-not-allowed rounded px-2 py-2 text-grey","data-testid":o,children:t.label}):(0,r.jsx)("div",{"data-testid":o,onClick:()=>i(t),className:c()("cursor-pointer rounded px-2 py-2 transition duration-200",null!==n&&n.value===t.value?"bg-teal text-white":"text-primary hover:bg-teal-powder"),children:t.label})})};var p=n(50310),h=n.n(p);let m=e=>
1{let{placeholder:t="Search...",value:n="",onChange:i}=e;return(0,r.jsxs)("div",{className:"relative px-2.5 py-1",children:[(0,r.jsx)(h(),{className:"absolute ml-2 mt-2.5 h-5 w-5 pb-0.5 text-primary"}),(0,r.jsx)("input",{className:"w-full rounded border border-neutral-200 bg-neutral-100 py-2 pl-8 text-sm text-primary focus:border-teal-light focus:outline-none focus:ring-teal-light focus:ring-opacity-30",type:"text",placeholder:t,value:n,onChange:i})]})};var v=n(34684);let g=e=>{let{options:t,selectedValue:n,isSearchable:i,isLoading:o,isMultiselect:a,onOptionSelect:s,"data-testid":l="options"}=e,[u,c]=(0,d.useState)(""),p=(0,d.useCallback)(()=>t.filter(e=>e.label.toLowerCase().indexOf(u.toLowerCase())>-1),[u,t]),h=(0,d.useCallback)(e=>{if(!a||null===n)return e;let t=n.map(e=>e.value);return e.filter(e=>!t.includes(e.value))},[a,n]),g=(0,d.useMemo)(()=>p(),[p]),y=(0,d.useMemo)(()=>h(g),[g,h]),b=(0,d.useCallback)(e=>{c(e.target.value)},[]);return(0,r.jsxs)("div",{className:"absolute z-10 mt-1.5 w-full rounded border border-grey bg-white py-1 text-sm text-primary shadow-lg",children:[i&&(0,r.jsx)(m,{value:u,onChange:b}),(0,r.jsx)("div",{"data-testid":l,className:"scrollbar-thin scrollbar-thumb-grey scrollbar-thumb-rounded-full max-h-60 overflow-y-auto",children:(0,r.jsxs)("div",{className:"space-y-1 px-2.5",children:[o&&(0,r.jsx)("p",{className:"flex items-center gap-2 py-2 text-primary/50","data-testid":l+"-options-loading",children:(0,r.jsx)(v.Z,{className:"",color:"current"})}),0===y.length&&!o&&(0,r.jsx)("p",{className:"py-2 text-grey","data-testid":l+"-none-available",children:"No options available"}),y.map(e=>(0,r.jsx)(f,{item:e,"data-testid":"".concat(l,"-").concat(e.value),selectedValue:n,onSelect:s},e.value))]})})]})},y=e=>{let{className:t,options:n=[],selectedValue:i=null,onChange:a,placeholder:u="Select...",isMultiple:f=!1,isClearable:p=!1,isSearchable:h=!1,isLoading:m=!1,isDisabled:y=!1,menuIsOpen:b=!1,error:w=!1,"data-testid":x="select"}=e,[E,_]=(0,d.useState)(b),[k,S]=(0,d.useState)(n),C=(0,d.useRef)(null);(0,d.useEffect)(()=>{S(n.map(e=>"disabled"in e?e:{...e,disabled:!1}))},[n]);let O=(0,d.useCallback)(()=>{E&&_(!1)},[E]);(0,l.t$)(C,()=>{O()});let T=()=>{y||_(!E)},j=e=>{"Enter"===e.code&&_(!E)},P=(0,d.useCallback)(e=>{function t(){f||O(),f?null===i?a([e]):a([...i,e]):a(e)}null!==i?e.value!==i.value&&t():t()},[O,f,a,i]),R=e=>{e.stopPropagation(),a(void 0)},A=(e,t)=>{y||(e.preventDefault(),e.stopPropagation(),Array.isArray(i)&&i.length>1?a(i.filter(e=>t.value!==e.value)):a(void 0))},I=()=>null===i||Array.isArray(i)&&!i.length?m?(0,r.jsx)("p",{className:"flex h-5 items-center",children:(0,r.jsx)(v.Z,{className:"",color:"current"})}):(0,r.jsx)("span",{className:"text-primary/50",children:u}):f?(0,r.jsx)(r.Fragment,{children:i.map((e,t)=>(0,r.jsxs)("div",{className:c()("flex space-x-1",{"rounded-sm bg-teal/50":!y}),children:[(0,r.jsx)("div",{"data-testid":"".concat(x,"-").concat(e.label),className:c()("text-primary",y?"":"pl-1"),children:e.label+(y&&t!==i.length-1?"; ":"")}),!y&&(0,r.jsx)("button",{type:"button","data-testid":"".concat(x,"-").concat(e.label,"-remove"),onClick:t=>A(t,e),className:"flex cursor-pointer items-center rounded-r-sm px-1 text-primary hover:bg-error/10 hover:text-error focus:outline-none focus:ring-2 focus:ring-opacity-30",children:(0,r.jsx)(s(),{className:"mt-0.5 h-3 w-3"})})]},e.value))}):i.label,M=()=>!!p&&!y&&(Array.isArray(i)?i.length>0:null!==i);return(0,r.jsxs)("div",{className:"relative w-full",ref:C,"data-testid":"".concat(x,"-wrapper"),children:[(0,r.jsxs)("div",{"data-testid":x,tabIndex:0,onKeyDown:j,onClick:T,className:c()("flex h-full w-full items-stretch rounded border text-sm text-primary transition","duration-300 focus:outline-none focus:ring-2 focus:ring-opacity-30",w?"border-error hover:border-error focus:border-error focus:ring-error focus:ring-opacity-50":"border-grey hover:border-teal-light focus:border-teal-light focus:ring-teal-light",y?"bg-neutral-200":"bg-white",E?"outline-none ring-2 ring-opacity-30":"",t),children:[(0,r.jsx)("div",{className:"flex w-full flex-wrap gap-1 py-2 pl-2.5 pr-2 text-sm",children:I()}),(0,r.jsxs)("div",{className:"flex items-center",children:[M()&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer rounded px-1.5 py-1 focus:outline-none focus:ring-2 focus:ring-opacity-30",onClick:R,children:(0,r.jsx)(s(),{className:"h-5 w-5 p-0.5"})}),(0,r.jsx)("div",{className:"h-full py-1.5",children:(0,r.jsx)("div",{className:"h-full w-px bg-grey text-white text-opacity-0",children:"."})}),(0,r.jsx)("div",{className:"px-1.5 py-1",children:(0,r.jsx)(o(),{className:c()("h-6 w-6 p-0.5 transition duration-300",E?"rotate-90 transform text-primary":"text-grey")})})]})]}),E&&!y&&(0,r.jsx)(g,{"data-testid":"".concat(x,"-options"),isSearchable:h,isLoading:m,options:k,selectedValue:i,onOptionSelect:P,isMultiselect:f})]})}},31495:function(e,t,n){"use strict";n.d(t,{a:function(){return w}});var r=n(85893);n(67294);
1var i=n(17376),o=n(41664),a=n.n(o),s=n(83915),l=n(86340),u=n(47100);function c(){var e,t,n;let o=s.h.users.getContacts.useQuery(void 0,{refetchOnWindowFocus:!0}),{unreadCount:c}=(0,l.L)(),d=null===(t=o.data)||void 0===t?void 0:null===(e=t.page)||void 0===e?void 0:e.filter(e=>e.status===u.P.Requested),f=c+(null!==(n=null==d?void 0:d.length)&&void 0!==n?n:0),p=f>0;return(0,r.jsx)("div",{children:(0,r.jsxs)(a(),{href:"/chat/messages",className:"relative block rounded-full border-2 border-primary p-1 text-primary outline-none ring-teal/80 transition hover:bg-primary/10 focus:ring-2",children:[p&&(0,r.jsx)("div",{className:"absolute -right-0.5 -top-0.5 h-3 w-3 rounded-full border-2 border-white bg-error"}),(0,r.jsx)(i.kB,{className:"h-6 w-6 "}),(0,r.jsxs)("span",{className:"sr-only",children:[f," Messages"]})]})})}var d=n(50239),f=n(33299),p=n(90048),h=n(74486),m=n(86501),v=n(79279);function g(){var e,t,n;let{data:o}=(0,f.useSession)(),a=s.h.customerPortal.generateCustomerPortalUrl.useMutation(),l=s.h.subscriptions.getUserSubscriptions.useQuery(),u=l.data,c=s.h.users.getEnterprises.useQuery(),d=!(0,v.XT)(null==o?void 0:null===(t=o.user)||void 0===t?void 0:null===(e=t.details)||void 0===e?void 0:e.licenses),g=!l.isSuccess||!(null==u?void 0:u.some(e=>"Annual"===e.duration||"Infinity"===e.duration)),y=!c.isSuccess||0===c.data.length,b=(null===(n=c.data)||void 0===n?void 0:n.map(e=>{var t;return{type:"link",href:"/enterprises/".concat(null!==(t=e.id)&&void 0!==t?t:""),content:e.name}}))||[],w=async()=>{try{let e=await m.ZP.promise(a.mutateAsync(),{loading:"Fetching subscription data...",success:"Redirecting to subscriptions...",error:"Failed to redirect to subscriptions"});location.assign(e)}catch(e){}},x=[{type:"link",href:"/user",content:"My Profile"},{type:"divider"},{type:"link",href:"/profile/details",content:"Details"},{type:"link",href:"/profile/preferences",content:"Preferences"},{type:"link",href:"/profile/groups",content:"Groups"},{type:"link",href:"/profile/cpd",content:"CPD"},{type:"submenu",content:"Subscriptions",hide:d&&g,children:[{type:"button",content:"My Subscription",onClick:()=>void w(),hide:d},{type:"link",href:"/profile/manage-subscriptions",content:"Manage Subscriptions",hide:g}]},{type:"submenu",content:"Enterprises",hide:y,children:b},{type:"divider"},{type:"button",content:"Sign Out",onClick:()=>void(0,f.signOut)({callbackUrl:"/"})}];return(0,r.jsx)(h.L,{items:x,children:(0,r.jsx)(p.zx,{variant:"outline",color:"custom",size:"custom","data-testid":"profile",className:"gtm-user-profile-link block rounded-full border-2 border-primary p-1 text-primary outline-none ring-teal/80 transition hover:bg-primary/10 focus:ring-2",children:(0,r.jsx)(i.tB,{className:"h-6 w-6"})})})}var y=n(89678),b=n(11163);function w(){var e,t,n;let o=(0,f.useSession)(),s=(0,b.useRouter)(),l="/search",u=s.asPath.startsWith("/sign-in")||s.asPath.startsWith("/sign-up"),h=!!(null===(n=o.data)||void 0===n?void 0:null===(t=n.user)||void 0===t?void 0:null===(e=t.details)||void 0===e?void 0:e.id);return s.isReady?h?(0,r.jsxs)(r.Fragment,{children:[d.O.NEXT_PUBLIC_FEATURE_CHAT&&(0,r.jsx)(c,{}),(0,r.jsx)(a(),{className:"gtm-search-link ml-auto block rounded-full border-2 border-primary p-1 text-primary outline-none ring-teal/80 transition hover:bg-primary/10 focus:ring-2","data-testid":"search",href:l,children:(0,r.jsx)(i.W1,{className:"h-6 w-6"})}),(0,r.jsx)("div",{className:"flex items-center gap-1",children:(0,r.jsx)(g,{})})]}):h||u?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Qj,{href:(0,y.y)({callbackUrl:s.asPath,overridePath:"/sign-up"}),variant:"solid",size:"custom",className:"shrink-0 px-2 py-1 text-xs min-[360px]:text-sm sm:px-3 sm:text-base",children:"Join free"}),(0,r.jsx)(p.Qj,{href:(0,y.y)({callbackUrl:s.asPath}),variant:"outline",size:"custom",className:"shrink-0 px-2 py-1 text-xs min-[360px]:text-sm sm:px-3 sm:text-base",children:"Sign in"})]}):null}},42467:function(e,t,n){"use strict";let r;n.d(t,{u:function(){return e1}});var i=n(85893),o=n(67294),a=n.t(o,2),s=n(87462),l=n(73935);function u(e,t=[]){let n=[];function r(t,r){let i=(0,o.createContext)(r),a=n.length;function s(t){let{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][a])||i,u=(0,o.useMemo)(()=>s,Object.values(s));return(0,o.createElement)(l.Provider,{value:u},r)}function l(n,s){let l=(null==s?void 0:s[e][a])||i,u=(0,o.useContext)(l);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],s.displayName=t+"Provider",[s,l]}let i=()=>{let t=n.map(e=>(0,o.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,o.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,c(i,...t)]}function c(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return(0,o.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function d(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function f(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function p(...e){return t=>
1e.forEach(e=>f(e,t))}function h(...e){return(0,o.useCallback)(p(...e),e)}let m=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e,i=o.Children.toArray(n),a=i.find(y);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(v,(0,s.Z)({},r,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(v,(0,s.Z)({},r,{ref:t}),n)});m.displayName="Slot";let v=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...b(r,n.props),ref:p(t,n.ref)}):o.Children.count(n)>1?o.Children.only(null):null});v.displayName="SlotClone";let g=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function y(e){return(0,o.isValidElement)(e)&&e.type===g}function b(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let w=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,o.forwardRef)((e,n)=>{let{asChild:r,...i}=e,a=r?m:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(a,(0,s.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function x(e,t){e&&(0,l.flushSync)(()=>
1e.dispatchEvent(t))}function E(e){let t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function _({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=k({defaultProp:t,onChange:n}),a=void 0!==e,s=a?e:r,l=E(n);return[s,(0,o.useCallback)(t=>{if(a){let n=t,r="function"==typeof t?n(e):t;r!==e&&l(r)}else i(t)},[a,e,i,l])]}function k({defaultProp:e,onChange:t}){let n=(0,o.useState)(e),[r]=n,i=(0,o.useRef)(r),a=E(t);return(0,o.useEffect)(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}let S=(0,o.createContext)(void 0);function C(e){let t=(0,o.useContext)(S);return e||t||"ltr"}let O=(null==globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{};function T(e,t){return(0,o.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}let j=e=>{let{present:t,children:n}=e,r=P(t),i="function"==typeof n?n({present:r.isPresent}):o.Children.only(n),a=h(r.ref,i.ref);return"function"==typeof n||r.isPresent?(0,o.cloneElement)(i,{ref:a}):null};function P(e){let[t,n]=(0,o.useState)(),r=(0,o.useRef)({}),i=(0,o.useRef)(e),a=(0,o.useRef)("none"),[s,u]=T(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,o.useEffect)(()=>{let e=R(r.current);a.current="mounted"===s?e:"none"},[s]),O(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=R(t);if(e)u("MOUNT");else if("none"===o||(null==t?void 0:t.display)==="none")u("UNMOUNT");else{let e=r!==o;n&&e?u("ANIMATION_OUT"):u("UNMOUNT")}i.current=e}},[e,u]),O(()=>{if(t){let e=e=>{let n=R(r.current).includes(e.animationName);e.target===t&&n&&(0,l.flushSync)(()=>u("ANIMATION_END"))},n=e=>{e.target===t&&(a.current=R(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,o.useCallback)(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}function R(e){return(null==e?void 0:e.animationName)||"none"}j.displayName="Presence";let A=a["useId".toString()]||(()=>void 0),I=0;function M(e){let[t,n]=o.useState(A());return O(()=>{e||n(e=>null!=e?e:String(I++))},[e]),e||(t?`radix-${t}`:"")}function L(e){let t=e+"CollectionProvider",[n,r]=u(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=o.useRef(null),a=o.useRef(new Map).current;return o.createElement(i,{scope:t,itemMap:a,collectionRef:r},n)},l=e+"CollectionSlot",c=o.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=h(t,a(l,n).collectionRef);return o.createElement(m,{ref:i},r)}),d=e+"CollectionItemSlot",f="data-radix-collection-item";function p(t){let n=a(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:s,Slot:c,ItemSlot:o.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,s=o.useRef(null),l=h(t,s),u=a(d,n);return o.useEffect(()=>(u.itemMap.set(s,{ref:s,...i}),()=>void u.itemMap.delete(s))),o.createElement(m,{[f]:"",ref:l},r)})},p,r]}function N(e,t=null==globalThis?void 0:globalThis.document){let n=E(e);(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}let D="dismissableLayer.update",F="dismissableLayer.pointerDownOutside",z="dismissableLayer.focusOutside",B=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),U=(0,o.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,onDismiss:f,...p}=e,m=(0,o.useContext)(B),[v,g]=(0,o.useState)(null),y=null!==(n=null==v?void 0:v.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,b]=(0,o.useState)({}),x=h(t,e=>
1g(e)),E=Array.from(m.layers),[_]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),k=E.indexOf(_),S=v?E.indexOf(v):-1,C=m.layersWithOutsidePointerEventsDisabled.size>0,O=S>=k,T=V(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));!O||n||(null==l||l(e),null==c||c(e),e.defaultPrevented||null==f||f())},y),j=H(e=>{let t=e.target;[...m.branches].some(e=>e.contains(t))||(null==u||u(e),null==c||c(e),e.defaultPrevented||null==f||f())},y);return N(e=>{S!==m.layers.size-1||(null==a||a(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))},y),(0,o.useEffect)(()=>{if(v)return i&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(r=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),q(),()=>{i&&1===m.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=r)}},[v,y,i,m]),(0,o.useEffect)(()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),q())},[v,m]),(0,o.useEffect)(()=>{let e=()=>b({});return document.addEventListener(D,e),()=>document.removeEventListener(D,e)},[]),(0,o.createElement)(w.div,(0,s.Z)({},p,{ref:x,style:{pointerEvents:C?O?"auto":"none":void 0,...e.style},onFocusCapture:d(e.onFocusCapture,j.onFocusCapture),onBlurCapture:d(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:d(e.onPointerDownCapture,T.onPointerDownCapture)}))});function V(e,t=null==globalThis?void 0:globalThis.document){let n=E(e),r=(0,o.useRef)(!1),i=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function o(){W(F,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function H(e,t=null==globalThis?void 0:globalThis.document){let n=E(e),r=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!r.current&&W(z,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function q(){let e=new CustomEvent(D);document.dispatchEvent(e)}function W(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?x(i,o):i.dispatchEvent(o)}function Z(e){let t=(0,o.useRef)({value:e,previous:e});return(0,o.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}let K=(0,o.forwardRef)((e,t)=>(0,o.createElement)(w.span,(0,s.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),$="NavigationMenu",[G,Q,Y]=L($),[X,J,ee]=L($),[et,en]=u($,[Y,ee]),[er,ei]=et($),[eo,ea]=et($),es=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:i,defaultValue:a,delayDuration:l=200,skipDelayDuration:u=300,orientation:c="horizontal",dir:d,...f}=e,[p,m]=(0,o.useState)(null),v=h(t,e=>m(e)),g=C(d),y=(0,o.useRef)(0),b=(0,o.useRef)(0),x=(0,o.useRef)(0),[E,k]=(0,o.useState)(!0),[S="",O]=_({prop:r,onChange:e=>{let t=u>0;""!==e?(window.clearTimeout(x.current),t&&k(!1)):(window.clearTimeout(x.current),x.current=window.setTimeout(()=>k(!0),u)),null==i||i(e)},defaultProp:a}),T=(0,o.useCallback)(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>O(""),150)},[O]),j=(0,o.useCallback)(e=>{window.clearTimeout(b.current),O(e)},[O]),P=(0,o.useCallback)(e=>{S===e?window.clearTimeout(b.current):y.current=window.setTimeout(()=>{window.clearTimeout(b.current),O(e)},l)},[S,O,l]);return(0,o.useEffect)(()=>()=>{window.clearTimeout(y.current),window.clearTimeout(b.current),window.clearTimeout(x.current)},[]),(0,o.createElement)(el,{scope:n,isRootMenu:!0,value:S,dir:g,orientation:c,rootNavigationMenu:p,onTriggerEnter:e=>{window.clearTimeout(y.current),E?P(e):j(e)},onTriggerLeave:()=>{window.clearTimeout(y.current),T()},onContentEnter:()=>window.clearTimeout(b.current),onContentLeave:T,onItemSelect:e=>{O(t=>t===e?"":e)},onItemDismiss:()=>O("")},(0,o.createElement)(w.nav,(0,s.Z)({"aria-label":"Main","data-orientation":c,dir:g},f,{ref:v})))}),el=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:i,orientation:a,children:s,value:l,onItemSelect:u,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:p,onContentLeave:h}=e,[m,v]=(0,o.useState)(null),[g,y]=(0,o.useState)(new Map),[b,w]=(0,o.useState)(null);return(0,o.createElement)(er,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:l,previousValue:Z(l),baseId:M(),dir:i,orientation:a,viewport:m,onViewportChange:v,indicatorTrack:b,onIndicatorTrackChange:w,onTriggerEnter:E(d),onTriggerLeave:E(f),onContentEnter:E(p),onContentLeave:E(h),onItemSelect:E(u),onItemDismiss:E(c),onViewportContentChange:(0,o.useCallback)((e,t)=>{y(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:(0,o.useCallback)(e=>{y(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[])},(0,o.createElement)(G.Provider,{scope:t},(0,o.createElement)(eo,{scope:t,items:g},s)))},eu="NavigationMenuList",ec=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=ei(eu,n),a=(0,o.createElement)(w.ul,(0,s.Z)({"data-orientation":i.orientation},r,{ref:t}));return(0,o.createElement)(w.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange},(0,o.createElement)(G.Slot,{scope:n}
1,i.isRootMenu?(0,o.createElement)(eC,{asChild:!0},a):a))}),[ed,ef]=et("NavigationMenuItem"),ep=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,value:r,...i}=e,a=M(),l=r||a||"LEGACY_REACT_AUTO_VALUE",u=(0,o.useRef)(null),c=(0,o.useRef)(null),d=(0,o.useRef)(null),f=(0,o.useRef)(()=>{}),p=(0,o.useRef)(!1),h=(0,o.useCallback)((e="start")=>{if(u.current){f.current();let t=eP(u.current);t.length&&eR("start"===e?t:t.reverse())}},[]),m=(0,o.useCallback)(()=>{if(u.current){let e=eP(u.current);e.length&&(f.current=eA(e))}},[]);return(0,o.createElement)(ed,{scope:n,value:l,triggerRef:c,contentRef:u,focusProxyRef:d,wasEscapeCloseRef:p,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:m,onContentFocusOutside:m},(0,o.createElement)(w.li,(0,s.Z)({},i,{ref:t})))}),eh="NavigationMenuTrigger",em=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,disabled:r,...i}=e,a=ei(eh,e.__scopeNavigationMenu),l=ef(eh,e.__scopeNavigationMenu),u=(0,o.useRef)(null),c=h(u,l.triggerRef,t),f=eL(a.baseId,l.value),p=eN(a.baseId,l.value),m=(0,o.useRef)(!1),v=(0,o.useRef)(!1),g=l.value===a.value;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(G.ItemSlot,{scope:n,value:l.value},(0,o.createElement)(ej,{asChild:!0},(0,o.createElement)(w.button,(0,s.Z)({id:f,disabled:r,"data-disabled":r?"":void 0,"data-state":eM(g),"aria-expanded":g,"aria-controls":p},i,{ref:c,onPointerEnter:d(e.onPointerEnter,()=>{v.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:d(e.onPointerMove,eD(()=>{r||v.current||l.wasEscapeCloseRef.current||m.current||(a.onTriggerEnter(l.value),m.current=!0)})),onPointerLeave:d(e.onPointerLeave,eD(()=>{r||(a.onTriggerLeave(),m.current=!1)})),onClick:d(e.onClick,()=>{a.onItemSelect(l.value),v.current=g}),onKeyDown:d(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===a.dir?"ArrowLeft":"ArrowRight"}[a.orientation];g&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})))),g&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(K,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===u.current,i=null==t?void 0:t.contains(n);(r||!i)&&l.onFocusProxyEnter(r?"start":"end")}}),a.viewport&&(0,o.createElement)("span",{"aria-owns":p})))}),ev="navigationMenu.linkSelect",eg=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:i,...a}=e;return(0,o.createElement)(ej,{asChild:!0},(0,o.createElement)(w.a,(0,s.Z)({"data-active":r?"":void 0,"aria-current":r?"page":void 0},a,{ref:t,onClick:d(e.onClick,e=>{let t=e.target,n=new CustomEvent(ev,{bubbles:!0,cancelable:!0});t.addEventListener(ev,e=>null==i?void 0:i(e),{once:!0}),x(t,n),n.defaultPrevented||x(t,new CustomEvent(eE,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})))}),ey="NavigationMenuIndicator",eb=((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=ei(ey,n),a=Q(n),[l,u]=(0,o.useState)(null),[c,d]=(0,o.useState)(null),f="horizontal"===i.orientation,p=!!i.value;(0,o.useEffect)(()=>{var e;let t=null===(e=a().find(e=>e.value===i.value))||void 0===e?void 0:e.ref.current;t&&u(t)},[a,i.value]);let h=()=>{l&&d({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return eI(l,h),eI(i.indicatorTrack,h),c?(0,o.createElement)(w.div,(0,s.Z)({"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":i.orientation},r,{ref:t,style:{position:"absolute",...f?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...r.style}})):null},"NavigationMenuContent"),ew=(0,o.forwardRef)((e,t)=>{let{forceMount:n,...r}=e,i=ei(eb,e.__scopeNavigationMenu),a=ef(eb,e.__scopeNavigationMenu),l=h(a.contentRef,t),u=a.value===i.value,c={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return i.viewport?(0,o.createElement)(ex,(0,s.Z)({forceMount:n},c,{ref:l})):(0,o.createElement)(j,{present:n||u},(0,o.createElement)(e_,(0,s.Z)({"data-state":eM(u)},c,{ref:l,onPointerEnter:d(e.onPointerEnter,i.onContentEnter),onPointerLeave:d(e.onPointerLeave,eD(i.onContentLeave)),style:{pointerEvents:!u&&i.isRo
1otMenu?"none":void 0,...c.style}})))}),ex=(0,o.forwardRef)((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=ei(eb,e.__scopeNavigationMenu);return O(()=>{n(e.value,{ref:t,...e})},[e,t,n]),O(()=>()=>r(e.value),[e.value,r]),null}),eE="navigationMenu.rootContentDismiss",e_=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,value:r,triggerRef:i,focusProxyRef:a,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:c,...f}=e,p=ei(eb,n),m=(0,o.useRef)(null),v=h(m,t),g=eL(p.baseId,r),y=eN(p.baseId,r),b=Q(n),w=(0,o.useRef)(null),{onItemDismiss:x}=p;(0,o.useEffect)(()=>{let e=m.current;if(p.isRootMenu&&e){let t=()=>{var t;x(),u(),e.contains(document.activeElement)&&(null===(t=i.current)||void 0===t||t.focus())};return e.addEventListener(eE,t),()=>e.removeEventListener(eE,t)}},[p.isRootMenu,e.value,i,x,u]);let E=(0,o.useMemo)(()=>{let e=b().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),i=r===p.value,o=n===e.indexOf(r);if(!i&&!o)return w.current;let a=(()=>{if(t!==n){if(i&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return w.current=a,a},[p.previousValue,p.value,p.dir,b,r]);return(0,o.createElement)(eC,{asChild:!0},(0,o.createElement)(U,(0,s.Z)({id:y,"aria-labelledby":g,"data-motion":E,"data-orientation":p.orientation},f,{ref:v,onDismiss:()=>{var e;let t=new Event(eE,{bubbles:!0,cancelable:!0});null===(e=m.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:d(e.onFocusOutside,e=>{var t;c();let n=e.target;null!==(t=p.rootNavigationMenu)&&void 0!==t&&t.contains(n)&&e.preventDefault()}),onPointerDownOutside:d(e.onPointerDownOutside,e=>{var t;let n=e.target,r=b().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(n)}),i=p.isRootMenu&&(null===(t=p.viewport)||void 0===t?void 0:t.contains(n));(r||i||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:d(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eP(e.currentTarget),r=document.activeElement,i=t.findIndex(e=>e===r);if(eR(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length)))e.preventDefault();else{var n;null===(n=a.current)||void 0===n||n.focus()}}}),onEscapeKeyDown:d(e.onEscapeKeyDown,e=>{l.current=!0})}
1)))}),ek="NavigationMenuViewport",eS=((e,t)=>{let{__scopeNavigationMenu:n,children:r,...i}=e,a=ei(ek,n),l=h(t,a.onViewportChange),u=ea(eb,e.__scopeNavigationMenu),[c,f]=(0,o.useState)(null),[m,v]=(0,o.useState)(null),g=c?(null==c?void 0:c.width)+"px":void 0,y=c?(null==c?void 0:c.height)+"px":void 0,b=!!a.value,x=b?a.value:a.previousValue,E=()=>{m&&f({width:m.offsetWidth,height:m.offsetHeight})};return eI(m,E),(0,o.createElement)(w.div,(0,s.Z)({"data-state":eM(b),"data-orientation":a.orientation},i,{ref:l,style:{pointerEvents:!b&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":y,...i.style},onPointerEnter:d(e.onPointerEnter,a.onContentEnter),onPointerLeave:d(e.onPointerLeave,eD(a.onContentLeave))}),Array.from(u.items).map(([e,{ref:t,forceMount:n,...r}])=>{let i=x===e;return(0,o.createElement)(j,{key:e,present:n||i},(0,o.createElement)(e_,(0,s.Z)({},r,{ref:p(t,e=>{i&&e&&v(e)})})))}))},"FocusGroup"),eC=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=ei(eS,n);return(0,o.createElement)(X.Provider,{scope:n},(0,o.createElement)(X.Slot,{scope:n},(0,o.createElement)(w.div,(0,s.Z)({dir:i.dir},r,{ref:t}))))}),eO=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eT="FocusGroupItem",ej=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=J(n),a=ei(eT,n);return(0,o.createElement)(X.ItemSlot,{scope:n},(0,o.createElement)(w.button,(0,s.Z)({},r,{ref:t,onKeyDown:d(e.onKeyDown,e=>{if(["Home","End",...eO].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===a.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eO.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eR(t)),e.preventDefault()}})})))});function eP(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eR(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function eA(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}function eI(e,t){let n=E(t);O(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function eM(e){return e?"open":"closed"}function eL(e,t){return`${e}-trigger-${t}`}function eN(e,t){return`${e}-content-${t}`}function eD(e){return t=>"mouse"===t.pointerType?e(t):void 0}let eF=es,ez=ec,eB=ep,eU=em,eV=eg,eH=ew;var eq=n(94184),eW=n.n(eq),eZ=n(41664),eK=n.n(eZ),e$=n(11163),eG=n(84849),eQ=n(17376);let eY=(e,t)=>{let n=null==t?void 0:t.split("?").find((e,t)=>0===t);return null==e?void 0:e.map(e=>{if("link"===e.type)return{...e,isActive:e.href===n};let t=e.children.map(e=>({...e,isActive:e.href===n}));return{...e,children:t,isActive:t.some(e=>e.isActive)}})};function eX(e){let{className:t,isLoading:n,orientation:r="horizontal",navigation:a,onLinkClick:s}=e,l=(0,e$.useRouter)(),[u,c]=o.useState(!1),d=eY(a,l.asPath),f=e=>{"vertical"===r&&e.preventDefault()};return n?(0,i.jsxs)("div",{className:eW()("flex",t,{"gap-8":"horizontal"===r,"flex-col gap-4":"vertical"===r}),children:[(0,i.jsx)(eG.Z,{width:"6rem"}),(0,i.jsx)(eG.Z,{width:"4rem"}),(0,i.jsx)(eG.Z,{width:"5rem"}),(0,i.jsx)(eG.Z,{width:"6rem"}),(0,i.jsx)(eG.Z,{width:"4rem"}),(0,i.jsx)(eG.Z,{width:"4rem"})]}):(0,i.jsx)(eF,{onValueChange:e=>c(!!e),orientation:r,className:eW()("group relative z-20",{"text-xl":"vertical"===r},t),children:(0,i.jsx)(ez,{className:eW()("m-0 flex list-none gap-3 rounded bg-[var(--global-nav-bg-color,_transparent)] p-1","group-data-[orientation=vertical]:flex-col","group-data-[orientation=horizontal]:items-center group-data-[orientation=horizontal]:gap-4"),children:null==d?void 0:d.map(e=>{let t={"text-teal":e.isActive&&!u,"text-primary hover:text-teal focus:text-teal":!e.isActive};return"link"===e.type?(0,i.jsx)(eB,{children:(0,i.jsx)(eV,{onClick:s,asChild:!0,className:eW()("gtm-nav-link","transition-colors","block select-none rounded-[4px] p-2 font-black","leading-none no-underline outline-none",t,"ring-teal focus:shadow-[0_0_0_2px] focus:ring-2"),children:(0,i.jsx)(eK(),{href:e.href,children:e.name})})},e.id):(0,i.jsxs)(eB,{className:"relative flex flex-col",children:[(0,i.jsxs)(eU,{onPointerMove:f,onPointerLeave:f,className:eW()("transition-colors","group flex grow select-none items-center justify-between gap-1","rounded-[4px] p-2 font-black","leading-none outline-none data-[state=open]:text-teal",t,"ring-teal focus:shadow-[0_0_0_2px] focus:ring-2"),children:[e.name," ",(0,i.jsx)(eQ.VA,{className:eW()("h-[1.5em] w-[1.5em]","text-current relative top-[1px] group-data-[state=open]:text-teal ","transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180"),"aria-hidden":!0})]}),(0,i.jsxs)(eH,{onPointerEnter:f,onPointerLeave:f,className:eW()("min-w-max rounded-xl","sm:w-auto","horizontal"===r&&["absolute left-0 top-[calc(100%_+_0.5rem)]","bg-[var(--global-nav-menu-bg-color,_#ffffff)] shadow-lg shadow-black/10","border border-solid border-neutral-200","data-[state=closed]:animate-scaleOut data-[state=open]:animate-scaleIn"]),children:["horizontal"===r&&(0,i.jsx)("div",{className:eW()("left-6 -mt-[6px] border border-solid border-neutral-200 border-b-transparent border-r-transparent","relative bottom-full h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px]","bg-[var(--global-nav-menu-bg-color,_#ffffff)]")}),(0,i.jsx)("ul",{className:eW()("m-0 list-none","horizontal"===r&&"p-1"),children:e.children.map((t,n)=>(0,i.jsx)(eJ,{onClick:s,last:n+1===e.children.length,href:t.href,title:t.name,isActive:t.isActive},t.id))})]})]},e.id)})})})}let eJ=o.forwardRef((e,t)=>
1{let{className:n,title:r,isActive:o,...a}=e;return(0,i.jsx)("li",{className:"relative flex",children:(0,i.jsx)(eV,{asChild:!0,children:(0,i.jsx)(eK(),{className:eW()("gtm-nav-link flex grow select-none items-center gap-5 rounded-lg px-2 py-4 leading-none no-underline outline-none ring-teal transition-colors hover:bg-teal/10 hover:text-teal focus:bg-teal-powder focus:text-teal focus:shadow-[0_0_0_2px] focus:ring-2 group-data-[orientation=horizontal]:py-2.5",o?"text-teal":"text-primary",n),...a,ref:t,children:r})})})});eJ.displayName="ListItem";var e0=n(96487);let e1=e=>{let{logo:t,navigation:n,isLoading:r,actions:a,className:s}=e,[l,u]=o.useState(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("header",{className:eW()("container mx-auto flex items-center gap-2 p-2 md:gap-4",s),"data-testid":"header",children:[t,(0,i.jsx)(eX,{navigation:n,isLoading:r,orientation:"horizontal",className:"ml-5 hidden justify-center xl:flex"}),(0,i.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[a,(0,i.jsxs)("button",{onClick:()=>u(!0),className:"xl:hidden",children:[(0,i.jsx)(eQ.Oq,{className:"h-10 w-10 text-primary"}),(0,i.jsx)("span",{className:"sr-only",children:"Menu"})]})]})]}),(0,i.jsx)(e0.Z,{title:(0,i.jsx)("span",{className:"ml-3",children:"Menu"}),isOpen:l,toggleOpen:()=>{u(e=>!e)},children:(0,i.jsx)("div",{className:"flex flex-col gap-4",children:(0,i.jsx)(eX,{isLoading:r,navigation:n,orientation:"vertical",className:"mt-4",onLinkClick:()=>u(!1)})})})]})}},17376:function(e,t,n){"use strict";n.d(t,{Gc:function(){return i.BB4},Bf:function(){return i.InZ},xC:function(){return i.KYK},mY:function(){return i.fO_},W0:function(){return i.f_H},VA:function(){return i.x3N},kB:function(){return i.Fmx},v4:function(){return i.Ix0},g8:function(){return i.rWj},cP:function(){return i.w7s},Tw:function(){return i.FU5},cV:function(){return i.Tcr},_r:function(){return a},pJ:function(){return i.FU5},Iu:function(){return i.t9$},gw:function(){return i.xr$},VV:function(){return i.iVq},NA:function(){return i.vlz},dY:function(){return i.zmo},sS:function(){return i.MKk},p3:function(){return i.Kk7},n:function(){return i.xBS},k1:function(){return i.VK0},QN:function(){return l},Tj:function(){return s},BF:function(){return i.aDv},x2:function(){return i.wqE},sz:function(){return i.I5p},h3:function(){return i.W0y},Oq:function(){return i.xXU},kS:function(){return i.C4F},LW:function(){return i.Sg0},W1:function(){return i.vU7},aA:function(){return i.KQY},fz:function(){return i.wlS},dw:function(){return i.OBA},TY:function(){return i.zdb},XH:function(){return i.ZkW},Dz:function(){return i.F1H},Ad:function(){return i.$kk},rG:function(){return i.Ap8},tB:function(){return i.Vyx},ON:function(){return i.t2l}});var r=n(85893),i=n(62204),o=n(56771);function a(e){return(0,o.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 7V4a2 2 0 0 1 2-2h8.5L20 7.5V20a2 2 0 0 1-2 2h-6"}},{tag:"polyline",attr:{points:"14 2 14 8 20 8"}},{tag:"path",attr:{d:"M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}},{tag:"path",attr:{d:"M7 16.5 8 22l-3-1-3 1 1-5.5"}}]})(e)}function s(e){let{color:t="currentColor",className:n}=e;return(0,r.jsxs)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 12 12",className:n,height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h12v12H0z"}),(0,r.jsx)("path",{d:"M2.745 8.5h1.21l.635-1.79h2.825l.63 1.79h1.21l-2.63-7h-1.25l-2.63 7zm2.21-2.805L5.97 2.8h.06l1.015 2.895h-2.09z"}),(0,r.jsx)("path",{fill:t,fillRule:"nonzero",d:"M1 10h10v2H1z"})]})}function l(e){let{color:t="currentColor",className:n}=e;return(0,r.jsxs)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 12 12",className:n,height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h12v12H0z"}),(0,r.jsx)("path",{d:"M8.28 4.47L3.81 0l-.705.705 1.19 1.19L1.72 4.47a.744.744 0 000 1.06l2.75 2.75c.145.145.34.22.53.22s.385-.075.53-.22l2.75-2.75a.745.745 0 000-1.06zM2.605 5L5 2.605 7.395 5h-4.79zm6.895.75s-1 1.085-1 1.75c0 .55.45 1 1 1s1-.45 1-1c0-.665-1-1.75-1-1.75z",fillRule:"nonzero"}),(0,r.jsx)("path",{fill:t,fillRule:"nonzero",d:"M1 10h10v2H1z"})]})}},34684:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(85893),i=n(94184),o=n.n(i);function a(e){let{className:t="",color:n="current",showPulse:i,size:a="inherit"}=e;return(0,r.jsx)("span",{className:o()({"h-[1em] w-[1em]":"inherit"===a},t,"flex items-center justify-center","rounded-full","current"===n&&"border-current border-t-transparent","neutral"===n&&"border-neutral-200 border-t-green-darkest","white"===n&&"border-white/50 border-t-white","border-[0.1em]","animate-spin"),children:i&&(0,r.jsx)("span",{className:"bg-current block h-[0.2em] w-[0.2em] animate-ping rounded-full"})})}n(67294)},65958:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(85893),i=n(94184),o=n.n(i),a=n(67294);function s(e){let{className:t}=e,[n,r]=(0,a.useState)(!1);return null}var l=n(36040),u=n(41664),c=n.n(u),d=n(83915),f=n(5152),p=n.n(f),h=n(84849);let m=p()(()=>n.e(9121).then(n.bind(n,99121)).then(e=>e.SocialIcon),{loadableGenerated:{webpack:()=>[99121]},loading:()=>(0,r.jsx)(h.Z,{circle:!0,height:28,width:28,inline:!0}),ssr:!0});function v(e){return(0,r.jsx)(m,{url:e.url,bgColor:"#fff",fgColor:"hsl(var(--euhu-primary))",className:"transition hover:opacity-80",target:"_blank",style:{height:28,width:28}})}let g=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>
1((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function y(e){return(0,a.useMemo)(()=>null==e?void 0:e.map(e=>({key:g(),...e})),[e])}function b(){var e,t,n;let i=d.h.builder.getFooterLinks.useQuery(void 0,{refetchOnWindowFocus:!1}),o=y(null===(e=i.data)||void 0===e?void 0:e.columns);return i.isError?null:(0,r.jsxs)("footer",{className:"flex flex-col justify-center bg-primary p-4 text-white",children:[i.isLoading&&(0,r.jsx)(l.Z,{position:"center",color:"white"}),(0,r.jsxs)("div",{className:"container mx-auto grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[null==o?void 0:o.map(e=>(0,r.jsxs)("section",{children:[e.columnTitle&&(0,r.jsx)("h3",{className:"mb-4 text-lg",children:e.columnTitle}),(0,r.jsx)("ul",{className:"flex flex-col gap-2",children:e.links.map((e,t)=>{let n=e.url.startsWith("https://")?(0,r.jsx)("a",{className:"underline-offset-2 hover:underline focus:underline",href:e.url,target:e.openInNewWindow?"_blank":void 0,rel:"noreferrer",children:e.title}):(0,r.jsx)(c(),{className:"underline-offset-2 hover:underline focus:underline",href:e.url,target:e.openInNewWindow?"_blank":void 0,rel:"noreferrer",children:e.title});return(0,r.jsx)("li",{children:n},e.url||t)})})]},e.key)),(null===(t=i.data)||void 0===t?void 0:t.socialLinks)&&(0,r.jsx)("section",{className:"flex flex-row items-center justify-center lg:col-start-4",children:(0,r.jsx)("ul",{className:"flex flex-row items-center justify-center gap-2",children:Object.values(null===(n=i.data)||void 0===n?void 0:n.socialLinks).map(e=>e?(0,r.jsx)("li",{children:(0,r.jsx)(v,{url:e})},e):null)})})]})]})}var w=n(63208);function x(){return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("h2",{"data-testid":"header-logo",children:(0,r.jsxs)(c(),{href:"/",className:"gtm-header-logo",children:[(0,r.jsx)("span",{className:"sr-only",children:"EuHu"}),(0,r.jsx)(w.d,{className:"w-24 md:w-32"})]})})})}var E=n(33299),_=n(11163);function k(){let e=(0,_.useRouter)(),{id:t,sharedContentId:n}=e.query,r={isReady:e.isReady,params:null};return t&&e.asPath.startsWith("/content")?r.params={contentId:t.toString(),sharedContentId:null==n?void 0:n.toString()}:t&&e.asPath.startsWith("/plans")?r.params={planId:t.toString(),sharedContentId:null==n?void 0:n.toString()}:"/[[...page]]"===e.pathname&&(r.params={url:e.asPath,pathname:e.pathname}),r}var S=n(42467),C=n(31495),O=n(18202),T=n(68183),j=n(60621);function P(e){var t;let{hasBgShade:n}=e,[i,s]=a.useState(null),l=(0,E.useSession)(),u=(0,O.useIsPreviewing)(),c=d.h.navigation.globalNavigation.useQuery(),f=c.refetch;(0,a.useEffect)(()=>{"authenticated"===l.status&&f(),"unauthenticated"===l.status&&f()},[f,l.status]);let p=k(),h=d.h.navigation.getGlobalNavContentKeys.useQuery(p.params,{enabled:p.isReady,retry:!1,refetchOnWindowFocus:!1});(0,a.useEffect)(()=>{if(p.isReady&&!h.isLoading){var e;s((null===(e=h.data)||void 0===e?void 0:e.contentProvider)||null)}},[null===(t=h.data)||void 0===t?void 0:t.contentProvider,h.isLoading,p.isReady]);let m=d.h.builder.getGlobalNavigationSection.useQuery({contentKey:null!=i?i:""},{enabled:!!i,retry:!1,refetchOnWindowFocus:!1}),v=()=>{var e,t;return(null===(e=m.data)||void 0===e?void 0:e.builderContent)||u?(0,r.jsx)(O.BuilderComponent,{model:"global-navigation-section",data:(0,j.i)({session:l.data}),content:(null===(t=m.data)||void 0===t?void 0:t.builderContent)||{},renderLink:T.Link}):(0,r.jsx)(S.u,{logo:(0,r.jsx)(x,{}),navigation:c.data||[],isLoading:c.isInitialLoading,actions:(0,r.jsx)(C.a,{})})};return(0,r.jsx)("div",{className:o()("bg-white",{"border-b border-solid border-b-neutral-100 shadow-sm":n}),children:v()})}function R(e){let{enableBgShading:t,enableBgDots:n,fullWidth:i,children:a,hideWrapper:l,disableVerticalPadding:u}=e,c=(0,E.useSession)();return l?(0,r.jsx)(r.Fragment,{children:a}):(0,r.jsxs)("div",{className:o()("relative flex min-h-screen flex-col",{"bg-teal-powder":t,"bg-dots":n}),children:[(0,r.jsx)(s,{className:"m-2"}),(0,r.jsx)(P,{hasBgShade:t}),(0,r.jsx)("div",{className:o()("mb-4 px-2",{"py-4":!u,"container mx-auto":!i}),children:a}),(0,r.jsxs)("div",{className:"mt-auto",children:[(0,r.jsx)(b,{}),(0,r.jsxs)("footer",{className:"p-4 text-center text-primary",onClick:()=>c.update(),children:["\xa9 2023-",new Date().getFullYear()," All Rights Reserved. Findel Education Limited"]})]})]})}},63208:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(85893);let i=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 628.99 287.67",...e,children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"a",x1:141.41,y1:-12.64,x2:145.74,y2:243.18,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,stopColor:"#8aced6"}),(0,r.jsx)("stop",{offset:1,stopColor:"#41b6be"})]}),(0,r.jsx)("linearGradient",{id:"b",x1:458.76,y1:-18.02,x2:463.09,y2:237.8,xlinkHref:"#a"})]}),(0,r.jsx)("path",{d:"M281.91 196.03c-10.4-1.85-18.79 7.01-28.69 8.4-6.61.25-5.16-7.66-5.16-12.69 1.39-15.14 11.58-29.4 18.37-42.96 4.38-9.97 10.65-20.27 10.15-31.42-.85-11.49-15.62-18.14-23.09-7.83-16.05 33.13-27.03 70.8-64.07 87.9-15.02 7.11-15.57-2.66-14.18-14.63 3.46-12.07 10.25-23.06 17-33.63 8.18-12.74 28.72-35.27 7.42-45.93-12-3.25-14.89 6.97-19.35 15.06-4.36 5.76-8.39 11.76-12.93 17.39-11.1 12.46-22.94 24.42-37.5 33.04-17.76 10.17-35.91 20.99-55.9 26.31-12.15 2.51-21.17 3.18
1-33.34-1.81-6.22-3.03-10.64-7.53-12.42-15.7-1.36-8.18-1.29-16.41 5.35-27.96 16.51-24.69 28.38-36.21 51.34-52.9 14.9-9.87 34.88-16.18 52.15-19.62 2.38-.74 9.31-1.9 11.75-2.17 8.59-1.67 9.42-15.18 1.26-18.16-7.86-1.29-16.08.84-24.38 2.15-15.44 2.07-45.11 4.36-49.81-1.39-3.63-5.3 48.48-35.96 90.79-40.01-12.22 5.97-3.55 25.69 13.84 7.57 4.8-4.33 6.42-11.97 2.33-17.27-9.66-10.76-29.67-5.22-42.28-2.85-16.07 3.7-31.55 9.42-46.29 16.49-9.59 4.79-16.99 8.7-26.81 18.48-17.12 18.61-6.22 35.93 17 39.29-15.79 8.17-29.97 18.86-43.58 30.08-18.33 14.97-37.79 32.85-40.5 57.27-4.09 39.15 25 64.39 62.77 58.94 31.53-3.74 59.91-19.79 86.21-36.47 1.61 52.41 43.35 47.79 74.85 18.67 2.09 11.94 10.43 24.19 23.47 26.1 16.25 2.02 36.24-9.07 41.59-24.36 1.56-5.44-1.41-12.15-7.38-13.36Z",style:{fill:"url(#a)"}}),(0,r.jsx)("path",{d:"M621.2 196.03c-10.4-1.85-18.79 7.01-28.69 8.4-6.61.25-4.95-7.39-4.83-12.23 1.26-12 11.25-29.86 18.04-43.42 4.38-9.97 10.65-20.27 10.15-31.42-.85-11.49-15.62-18.14-23.09-7.83-16.05 33.13-27.03 70.8-64.07 87.9-15.02 7.11-15.57-2.66-14.18-14.63 3.46-12.07 10.25-23.06 17-33.63 8.18-12.74 28.72-35.27 7.42-45.93-3.43-.93-6.34-.86-8.89-.1l.04-.07c-11.95 3.48-25.74 7.77-37.87 10.61-7.59 1.47-15.17 2.83-22.75 4.07 5.96-32.5 11.44-65.09 17.26-97.81.98-6.69 5.26-18.44-4.68-19.82-6.41-.94-9.4 3.48-11.27 8.4-12.21 36.87-19.78 74.76-27.91 112.98-25.95 3.05-52.24 4.27-79.62 2.65-5.7-.5-11.41-.92-17.12-1.42 1.19-5.7 2.44-11.38 3.84-17.04 4.19-22.06 10.73-47.71 16.03-70.03 2.57-12.64 11.28-30.8-.87-32.53-7.81-1.3-10.38 8.02-10.38 8.01-4.84 14.12-7.1 20.02-11.97 33.95-5.84 16.05-10.51 32.48-14.61 49.08-10.05 4.48-17.9 12.24-17.51 24.86 1.33 5.67 4.71 9.56 9.09 12.31-1.61 7.55-3.19 15.11-4.8 22.65-4.13 16.38-10.42 32.13-14.16 48.63-2.47 9.93-9.37 23.49 1.71 30.73 7.2 4.56 17.66-1.36 17.29-9.92 1.85-5.64 4.32-11.25 5.39-17.21 3.96-15.2 9.46-29.96 13.17-45.23 1.67-7.6 3.18-15.24 4.68-22.87 1.05.15 2.07.29 3.06.43 11.15 1.08 22.52 1.88 33.21 2.4 19.94.44 39.89-.08 59.73-1.62-.99 4.52-2 9.04-3.04 13.57-5.93 27.94-14.2 57.73-20.33 83.77-4.01 18.74-4.71 25.57-5.19 37.48-1.18 12.61 16.04 17.54 23.18 9.88 5.35-6.65 6.77-15.88 8.2-26.55 2.53-17.48 5.12-27.17 7.92-43.98 6.05-25.61 11.31-51.24 16.19-76.91 14.28-1.8 28.48-4.15 42.55-7.07-1.01 1.89-2.06 3.86-3.21 6.03-14.3 27.62-16.63 53.45-16.63 53.45-3.94 52.11 43.35 47.79 74.85 18.67 2.09 11.94 10.43 24.19 23.47 26.1 16.25 2.02 36.24-9.07 41.59-24.36 1.56-5.44-1.41-12.15-7.38-13.36Zm-295.78-90.38c-.98 4.24-1.94 8.49-2.87 12.75-2.85-3.1-.55-8.52 2.87-12.75Z",style:{fill:"url(#b)"}})]})},14322:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(85893),i=n(94184),o=n.n(i);n(67294);var a=n(83915);function s(e){let{password:t,className:n}=e,{data:i}=a.h.registration.passwordStrength.useQuery({password:t||""});function s(){return[0,1,2,3,4].map((e,n)=>t&&((null==i?void 0:i.score)===0&&0===n||(null==i?void 0:i.score)&&i.score>=n)?(0,r.jsx)(l,{rating:i.score},e):(0,r.jsx)(l,{rating:null},e))}return(0,r.jsx)("div",{className:o()("flex items-center gap-2 ",n),children:(0,r.jsx)("div",{className:"grid h-1 grow grid-cols-5 gap-1",children:s()})})}function l(e){let{rating:t}=e;return null==t?(0,r.jsx)("div",{className:o()("h-full rounded-sm bg-neutral-200 transition-colors duration-200")}):(0,r.jsx)("div",{className:o()("h-full rounded-sm transition-colors duration-200",{"bg-error":0===t||1===t,"bg-orange":2===t,"bg-success":3===t||4===t})})}},20026:function(e,t,n){"use strict";n.d(t,{M:function(){return y}});var r=n(85893),i=n(90048),o=n(50867),a=n(60289),s=n(13579),l=n(70544),u=n(51612),c=n(50135),d=n(94184),f=n.n(d),p=n(33299),h=n(11163),m=n(67294),v=n(87536),g=n(86501);function y(e){let{callbackUrl:t,brand:n=u.I.EuHu,hideForgottenPasswordLink:d=!1,hideSignUpLink:y=!1}=e,b=(0,h.useRouter)(),[w,x]=m.useState(!1),E="string"==typeof b.query.email?b.query.email:"",{watch:_,register:k,handleSubmit:S,formState:{errors:C}}=(0,v.cI)({defaultValues:{email:E,password:""}}),O=_("email"),T=new URLSearchParams,j=new URLSearchParams;"string"==typeof t&&T.set("callbackUrl",t),O&&(j.set("email",O),T.set("email",O));let P=S(async e=>{window.dataLayer=window.dataLayer||[];try{x(!0);let i=await (0,p.signIn)("custom-credentials",{email:e.email,password:e.password,brand:n,callbackUrl:t,redirect:!1});if(null==i?void 0:i.ok)g.ZP.success("Sign in successful"),window.location.assign(i.url||"/");else{var r;x(!1),window.dataLayer.push({event:"account_sign_in",account_sign_in:"failure",error:null!==(r=null==i?void 0:i.error)&&void 0!==r?r:void 0,brand:n}),(null==i?void 0:i.status)&&(null==i?void 0:i.status)>=500&&g.ZP.error("A server error occurred"),(null==i?void 0:i.status)&&i.status>=400&&i.status<=500&&g.ZP.error("User with specified email doesn't exist or provided password is incorrect")}}catch(e){window.dataLayer.push({event:"account_sign_in",account_sign_in:"failure",brand:n}),g.ZP.error("Please check your username and password"),x(!1)}}),R=e=>e&&"string"==typeof e?(0,c.vV)(e):"Email is required",A=f()({"[&_input]:rounded-none":n===u.I.GLS});return(0,r.jsx)("div",{children:(0,r.jsxs)("form",{className:"grid gap-4",onSubmit:P,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(l._,{htmlFor:"email",children:"Email"}),(0,r.jsx)(o.y,{autoComplete:"username",type:"email",id:"email",name:"email",register:k,className:A,rules:{required:"Email is required",validate:R},errors:C})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(l._,{htmlFor:"password",children:"Password"}),(0,r.jsx)(a.$,{autoComplete:"current-password",id:"password",name:"password",register:k,className:A,rules:{required:"Password is required"},errors:C})]}),n===u.I.EuHu?(0,r.jsx)(i.zx,{color:"default",submit:!0,loader:w,disabled:w,children:"Sign In"}):(0,r.jsx)(i.zx,{className:f()("text-[var(--button-text)]","bg-[var(--button-bg)]","hover:bg-[var(--button-bg-hover)]","border","border-[color:var(--button-border-color)]",n===u.I.GLS&&"rounded-none"),color:"custom",submit:!0,loader:w,disabled:w,children:"Sign In"}),n===u.I.EuHu&&!y&&(0,r.jsx)("div",{className:"text-center",children:(0,r.jsx)(s.U,{prefetch:!1,href:{pathname:"/sign-up",query:T.toString()},children:"Create a new account"})}
1),!d&&(0,r.jsx)("div",{className:"text-center",children:(0,r.jsx)(s.U,{prefetch:!1,href:{pathname:"/password-reset",query:j.toString()},children:"Forgotten password?"})})]})})}},13568:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(85893),i=n(50135),o=n(50867),a=n(49361),s=n(70544),l=n(53922),u=n(60289),c=n(14322),d=n(13579),f=n(90048),p=n(36040),h=n(11163),m=n(67294),v=n(87536),g=n(83915),y=n(86501),b=n(51612),w=n(33299),x=n(94184),E=n.n(x);function _(e){var t;let{showCountryField:n,showPasswordStrengthMeter:x,showTermsAndConditions:_,spacing:k}=e,S=(0,h.useRouter)(),{callbackUrl:C}=S.query,[O,T]=(0,m.useState)(!1),j=35,P="string"==typeof S.query.email?S.query.email:"",R="string"==typeof S.query.firstname?S.query.firstname:"",A="string"==typeof S.query.surname?S.query.surname:"",{register:I,handleSubmit:M,control:L,watch:N,reset:D,formState:{errors:F}}=(0,v.cI)({defaultValues:{firstName:R,surname:A,email:P,password:"",country:""}});(0,m.useEffect)(()=>{D({email:P,firstName:R,surname:A},{keepDirty:!0})},[P,R,A,D]);let[z,B,U]=N(["firstName","surname","password"]),V=g.h.nationalCurriculum.getCountries.useQuery(void 0,{retry:!1}),H=e=>(0,i.uo)(e,P),q=g.h.registration.createAccount.useMutation(),W=M(async e=>{window.dataLayer=window.dataLayer||[],e.country=e.country||"";try{if(T(!0),!e.email){y.ZP.error("Email not provided"),T(!1);return}let t=await y.ZP.promise(q.mutateAsync(e),{error:e=>e instanceof Error?e.message:"An error occurred, please check your details.",loading:"Creating account...",success:(0,r.jsxs)("div",{children:["Account creation successful.",(0,r.jsx)("br",{}),"Signing you in..."]})});if(t.success){window.dataLayer.push({event:"account_creation",account_created:"success",user_id:t.userId,brand:b.I.Findel});let n=await (0,w.signIn)("custom-credentials",{email:e.email,password:e.password,brand:b.I.EuHu,callbackUrl:"string"==typeof C?C:"/",redirect:!1});if(null==n?void 0:n.ok){window.location.assign(n.url||"/");return}y.ZP.error("Please check your details")}window.dataLayer.push({event:"account_creation",account_created:"failure",brand:b.I.EuHu}),T(!1)}catch(e){window.dataLayer.push({event:"account_creation",account_created:"failure",brand:b.I.Findel}),T(!1)}});return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("form",{className:E()("flex flex-col",{"gap-4":"loose"===k||!k,"gap-2":"tight"===k}),onSubmit:W,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s._,{required:!0,htmlFor:"email",className:"mb-1",children:"Email"}),(0,r.jsx)(o.y,{name:"email",id:"email","data-testid":"email",register:I,errors:F,disabled:O,rules:{required:"Email is required",minLength:{value:1,message:"Minimum of 1 character"},maxLength:{value:50,message:"Maximum of 50 characters"},validate:{sap:(0,i.LQ)("Email")}}})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1 flex items-center justify-between",children:[(0,r.jsx)(s._,{required:!0,htmlFor:"firstName",children:"First Name"}),(0,r.jsx)(a.f,{length:z.length,maxLength:j})]}),(0,r.jsx)(o.y,{autoFocus:!0,name:"firstName",id:"firstName","data-testid":"firstName",register:I,errors:F,disabled:O,rules:{required:"First name is required",minLength:{value:1,message:"Minimum of 1 character"},maxLength:{value:j,message:"Maximum of ".concat(j," characters")},validate:{sap:(0,i.LQ)("First name")}}})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1 flex items-center justify-between",children:[(0,r.jsx)(s._,{required:!0,htmlFor:"surname",children:"Surname"}),(0,r.jsx)(a.f,{length:B.length,maxLength:j})]}),(0,r.jsx)(o.y,{name:"surname",id:"surname","data-testid":"surname",register:I,errors:F,disabled:O,rules:{required:"Surname is required",minLength:{value:1,message:"Minimum of 1 character"},maxLength:{value:j,message:"Maximum of ".concat(j," characters")},validate:{sap:(0,i.LQ)("Surname")}}})]}),n&&(0,r.jsxs)("div",{children:[(0,r.jsx)(s._,{htmlFor:"years",className:"mb-1",children:"Country"}),(0,r.jsx)(l.i,{"data-testid":"preferences-country",name:"country",control:L,placeholder:"Select Country...",className:"mb-1",isClearable:!0,disabled:O,options:(null===(t=V.data)||void 0===t?void 0:t.map(e=>({value:e,label:e})))||[]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(s._,{required:!0,htmlFor:"password",className:"mb-1",children:"Password"}),(0,r.jsx)("div",{className:"relative mb-2",children:(0,r.jsx)(u.$,{name:"password",id:"password","data-testid":"password",register:I,errors:F,disabled:O,rules:{required:"Password is required",validate:{password:H},minLength:{value:8,message:"Minimum of 8 characters"},maxLength:{value:50,message:"Maximum of 50 characters"}}})}),x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{password:U||"",className:"mb-3"}
1),(0,r.jsx)("p",{className:"text-justify text-sm leading-4",children:"Minimum of 8 characters and cannot contain the word password."})]})]}),_&&(0,r.jsx)("div",{children:(0,r.jsxs)("p",{className:"text-center",children:["By signing up, you confirm that you've read and accepted our"," ",(0,r.jsx)(d.U,{href:"/terms","data-testid":"terms-link",children:"Terms of Service"})," ","and"," ",(0,r.jsx)(d.U,{href:"/privacy","data-testid":"privacy-link",children:"Privacy Policy"}),"."]})}),(0,r.jsx)("div",{children:(0,r.jsx)(f.zx,{block:!0,submit:!0,"data-testid":"submit-button",disabled:O,children:"Sign up"})})]}),O&&(0,r.jsx)(p.Z,{position:"inset",className:"rounded"})]})}},47100:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});let r={Pending:"Pending",Accepted:"Accepted",Requested:"Requested"}},51612:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});let r={Hope:"hope",GLS:"gls",Findel:"findel",EuHu:"euhu"}},861:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(11163),i=n(83915);function o(){var e;let{query:t}=(0,r.useRouter)(),n="string"==typeof t.error?t.error:null;return(null===(e=i.h.builder.getAuthenticationError.useQuery({errorType:n},{enabled:!!n}).data)||void 0===e?void 0:e.message)||null}},86340:function(e,t,n){"use strict";n.d(t,{L:function(){return h}});var r=n(67294);let i=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,i,o),o},o=e=>e?i(e):i;var a=n(52798);let{useDebugValue:s}=r,{useSyncExternalStoreWithSelector:l}=a,u=!1;function c(e,t=e.getState,n){n&&!u&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),u=!0);let r=l(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return s(r),r}let d=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?o(e):e,n=(e,n)=>c(t,e,n);return Object.assign(n,t),n},f=e=>e?d(e):d;var p=n(91953);function h(){let e=(0,p.kP)(),t=m(e=>e.unreads),n=m(e=>e.setUnreads),i=(0,r.useRef)(!1);return r.useEffect(()=>{!i.current&&e&&(i.current=!0,e.unreads.onChange(e=>{n(e)}))},[n,e]),{unreadCount:(0,r.useMemo)(()=>{let e=(t||[]).reduce((e,t)=>e+t.unreadMessageCount,0);return null!=e?e:0},[t]),unreads:t}}let m=f((e,t)=>({unreads:[],unreadsCount:()=>t().unreads.reduce((e,t)=>e+t.unreadMessageCount,0),setUnreads:t=>e({unreads:t}),clearUnreads:()=>e({unreads:[]})}))},68183:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return G},__N_SSP:function(){return K},default:function(){return $}});var r=n(85893),i=n(18202),o=n(50239);n(65271);var a=n(41664),s=n.n(a),l=n(2962),u=n(65958),c=n(33299);let d={name:"Welcome",inputs:[{name:"salutation",type:"string",defaultValue:"Welcome"}]},f=e=>{let{...t}=e,n=(0,c.useSession)();function i(){let e=t.salutation||"Welcome";switch(n.status){case"authenticated":var r,i,o;return"".concat(e,", ").concat((null===(o=n.data)||void 0===o?void 0:null===(i=o.user)||void 0===i?void 0:null===(r=i.details)||void 0===r?void 0:r.firstName)||"User","!");case"loading":return"...";default:return"".concat(e,"!")}}return(0,r.jsx)("div",{children:i()})};var p=n(20026);let h={name:"Login Prompt",noWrap:!0,defaultStyles:{padding:"1rem"},inputs:[{name:"hideSignUpLink",type:"boolean",defaultValue:!1},{name:"hideForgottenPasswordLink",type:"boolean",defaultValue:!1}]},m=e=>"authenticated"===(0,c.useSession)().status?null:(0,r.jsx)("div",{...e.attributes,children:(0,r.jsx)(p.M,{hideForgottenPasswordLink:e.hideForgottenPasswordLink,hideSignUpLink:e.hide
1SignUpLink})});var v=n(77783),g=n(56647),y=n(11163),b=n(67294),w=n(87536),x=n(83915),E=n(89678),_=n(86501),k=n(50135),S=n(861),C=n(17847),O=n(70544),T=n(50867),j=n(90048),P=n(36040),R=n(94184),A=n.n(R);let I={name:"Sign Up Prompt",noWrap:!0,defaultStyles:{padding:"1rem"},inputs:[{name:"emailPlaceholder",type:"string",defaultValue:"[email protected]"},{name:"submitButtonText",type:"string",defaultValue:"Free Sign Up"},{name:"displayMode",type:"string",defaultValue:"responsive",required:!0,enum:["column","row","responsive"]}]},M=e=>{let{emailPlaceholder:t,submitButtonText:n,displayMode:i,attributes:o}=e,a=(0,y.useRouter)(),{callbackUrl:s,email:l}=a.query,[u,c]=(0,b.useState)(!1),{register:d,handleSubmit:f,formState:{errors:p,isSubmitting:h}}=(0,w.cI)({defaultValues:{email:"string"==typeof l?l:""}}),m=new URLSearchParams;"string"==typeof s&&m.set("callbackUrl",s),"string"==typeof l&&m.set("email",l);let v=x.h.registration.checkEmailExists.useMutation(),g=f(async e=>{let t=(0,E.y)({overridePath:"/sign-up/details",email:e.email,callbackUrl:"string"==typeof s?s:null});try{if(c(!0),(await v.mutateAsync({email:e.email})).exists){let t=(0,E.y)({callbackUrl:null==s?void 0:s.toString(),email:e.email});_.ZP.loading("This email is already associated with an account, please sign in.",{duration:5e3}),a.push(t)}else a.push(t)}catch(e){a.push(t)}}),R=e=>!!(0,k.vV)(e)||"Please enter a valid email",I=(0,S.M)();return(0,r.jsxs)("div",{...o,children:[I&&(0,r.jsx)("div",{className:"mb-4 mt-2 flex justify-center text-center",children:(0,r.jsx)(C.Z,{invert:!0,children:I})}),(0,r.jsxs)("form",{className:A()("gap-2, relative",{" flex flex-col md:flex-row md:items-start md:gap-4":"responsive"===i," flex flex-row items-start gap-4":"row"===i," flex flex-col gap-2":"column"===i}),onSubmit:g,children:[(0,r.jsx)(O._,{className:"sr-only",htmlFor:"email",children:"Email"}),(0,r.jsx)(T.y,{name:"email",id:"email",className:"grow","data-testid":"builder-sign-up-email",placeholder:t,register:d,errors:p,disabled:h,rules:{required:"Email is required",validate:R}}),(0,r.jsx)(j.zx,{submit:!0,loader:h,disabled:h,"data-testid":"builder-sign-up-submit",className:"text-sm",children:n}),u&&(0,r.jsx)(P.Z,{position:"inset",className:"rounded"})]})]})};var L=n(1291);function N(e,t){let n=t?"authenticated":"unauthenticated";return e?e.map(e=>D(e,n)).filter(L.v):[]}function D(e,t){var n,r;return F(e.visibility,t)?"link"===e.type?e.url?{type:"link",href:e.url||"",id:crypto.randomUUID(),name:e.title}:null:{type:"header",id:crypto.randomUUID(),name:e.title,children:null!==(r=null===(n=e.items)||void 0===n?void 0:n.map(e=>F(e.visibility,t)&&e.url?{id:crypto.randomUUID(),href:e.url,name:e.title}:null).filter(L.v))&&void 0!==r?r:[]}:null}function F(e,t){return"everyone"===e||e===t}var z=n(42467),B=n(31495);let U={name:"visibility",type:"string",defaultValue:"everyone",enum:["everyone","authenticated","unauthenticated"]},V={name:"GlobalNavigation",friendlyName:"Global Navigation",inputs:[{name:"logo",type:"blocks",hideFromUI:!0,helperText:"This is an editable region.",defaultValue:[]},{name:"items",type:"list",defaultValue:[{title:"Home",type:"link",url:"/",visibility:"everyone"}],subFields:[{name:"title",type:"string",required:!0},{name:"type",type:"string",defaultValue:"link",enum:["header","link"],required:!0},{name:"url",type:"url",showIf:"options.get('type') === 'link'"},{name:"items",type:"list",showIf:"options.get('type') === 'header'",defaultValue:[],subFields:[{name:"title",type:"string",required:!0},{name:"url",type:"url",required:!0},U]},U]}]},H=e=>{let{logo:t,items:n,builderBlock:o}=e,a=N(n,"authenticated"===(0,c.useSession)().status);return(0,r.jsx)(z.u,{logo:(0,r.jsx)(i.BuilderBlocks,{blocks:t,parentElementId:o.id,dataPath:"component.options.logo"}),navigation:a,actions:(0,r.jsx)(B.a,{})})};var q=n(13568);let W={name:"Sign up form",noWrap:!0,defaultStyles:{padding:"1rem"},inputs:[{name:"showCountryField",type:"boolean",defaultValue:!1},{name:"showPasswordStrengthMeter",type:"boolean",defaultValue:!1},{name:"showTermsAndConditions",type:"boolean",defaultValue:!1}]}
1,Z=e=>"authenticated"===(0,c.useSession)().status?null:(0,r.jsx)("div",{...e.attributes,children:(0,r.jsx)(q.Z,{showCountryField:e.showCountryField,showPasswordStrengthMeter:e.showPasswordStrengthMeter,showTermsAndConditions:e.showTermsAndConditions,spacing:"tight"})});i.builder.init(o.O.NEXT_PUBLIC_BUILDER_API_KEY,!1),i.Builder.registerComponent(H,V),i.Builder.registerComponent(f,d),i.Builder.registerComponent(m,h),i.Builder.registerComponent(Z,W),i.Builder.registerComponent(g.h,g.n),i.Builder.registerComponent(M,I);var K=!0;function $(e){var t,n,o;let{page:a,subNav:s,statusCode:u,builderData:c}=e,d=(0,i.useIsPreviewing)(),f=a&&!(null==a?void 0:null===(t=a.data)||void 0===t?void 0:t.private);return d?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BuilderComponent,{model:"sub-navigation",data:c,content:s||{},renderLink:G}),(0,r.jsx)(i.BuilderComponent,{model:"page",renderLink:G,data:c})]}):u>=400||!a?(0,r.jsx)(v.ZP,{error:new v.FZ(u)}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.PB,{title:null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.title,description:null==a?void 0:null===(o=a.data)||void 0===o?void 0:o.description,additionalMetaTags:[{name:"viewport",content:"width=device-width, initial-scale=1"}].concat(f?[]:[{name:"robots",content:"noindex"}])}),s&&(0,r.jsx)(i.BuilderComponent,{model:"sub-navigation",data:c,content:s||{},renderLink:G}),a&&(0,r.jsx)(i.BuilderComponent,{model:"page",content:a,renderLink:G,data:c})]})}let G=e=>{let{href:t,children:n,...i}=e;return t?(0,r.jsx)(s(),{...i,href:t,children:n}):(0,r.jsx)("span",{...i,children:n})};$.getLayout=e=>(0,r.jsx)(u.Z,{disableVerticalPadding:!0,children:e})},42750:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return A}});var r=n(85893),i=n(28577),o=n.n(i),a=n(40645),s=n.n(a);n(80876);var l=n(50239),u=n(33299),c=n(65958),d=n(94184),f=n.n(d),p=n(67294),h=n(86501);function m(){return(0,r.jsx)(h.x7,{containerClassName:"mt-20",children:e=>(0,r.jsx)(h.$x,{toast:e,style:{borderRadius:"10px",background:"white",padding:0,boxShadow:"none"},children:t=>{let{message:n}=t;return(0,r.jsx)("div",{className:f()("backdrop-blur-2xl backdrop-grayscale","shadowtransition-all flex gap-2 rounded px-4 py-2 text-primary duration-150",{"border border-success bg-success/10":"success"===e.type,"border border-error bg-error/10":"error"===e.type,"border border-purple bg-purple/10":"loading"===e.type,"opacity-0":!e.visible}),children:n})}})})}var v=n(2962),g=n(11163),y=n(35800),b=n(77783);let w=["/content","/plans"];function x(e){let{error:t,resetErrorBoundary:n}=e,i=t instanceof b.FZ?t:null,o=(0,g.useRouter)();return((0,p.useEffect)(()=>{o.isReady&&(null==i?void 0:i.type)==="NoActiveLicenseException"&&w.forEach(e=>{o.pathname.startsWith(e)&&o.push({pathname:e,query:{subscriptionRequired:!0,subscriptionProvider:null==i?void 0:i.subscriptionProvider}},{pathname:e})})},[null==i?void 0:i.subscriptionProvider,null==i?void 0:i.type,o]),(0,p.useEffect)(()=>{let e=()=>{n&&n()};return g.Router.events.on("routeChangeStart",e),()=>{g.Router.events.off("routeChangeStart",e)}},[t,n]),(null==i?void 0:i.type)==="NoActiveLicenseException"&&w.some(e=>o.pathname.startsWith(e)))?null:(0,r.jsx)(c.Z,{children:(0,r.jsx)(b.ZP,{error:i,onReset:n})})}var E=n(83915);n(79102);var _=n(51606),k=n(91953),S=n(95202);let C=(0,p.createContext)({consentLevels:null});var O=e=>{let{children:t}=e,[n,i]=p.useState(null);(0,p.useEffect)(()=>{i(function(){let e=window.OnetrustActiveGroups;return e?e.split(",").filter(e=>e):null}())},[]),(0,p.useEffect)(()=>{let e=e=>{let t=e;t.detail&&i(t.detail)};return window.addEventListener("OneTrustGroupsUpdated",e),()=>{window.removeEventListener("OneTrustGroupsUpdated",e)}},[]);let o=(0,p.useMemo)(()=>({necessary:(null==n?void 0:n.includes("C0001"))||!1,performance:(null==n?void 0:n.includes("C0002"))||!1,functional:(null==n?void 0:n.includes("C0003"))||!1,targeting:(null==n?void 0:n.includes("C0004"))||!1}),[n]);return(0,r.jsx)(C.Provider,{value:{consentLevels:n,friendlyConsentLevels:o},children:t})},T=n(4298),j=n.n(T);function P(){let e=l.O.NEXT_PUBLIC_GOOGLE_GTM_ID;return e?(0,r.jsx)(j(),{id:"google-tag-manager","data-ot-ignore":!0,className:"optanon-category-C0001",children:'\n(function (w, d, s, l, i) {\n  w[l] = w[l] || [];\n  w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });\n  var f = d.getElementsByTagName(s)[0],\n    j = d.createElement(s),\n    dl = l != "dataLayer" ? "&l=" + l : "";\n  j.async = true;\n  j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;\n  f.parentNode.insertBefore(j, f);\n  j.setAttributeNode(d.createAttribute("data-ot-ignore"));\n  j.setAttribute("class", "optanon-category-C0001");\n})(window, document, "script", "dataLayer", "'.concat(e,'");\n')}):null}let R=e=>{var t;let{Component:n,pageProps:{session:i,...a}}=e,l=(0,g.useRouter)(),d=["/sign-in","/sign-up"].some(e=>l.asPath.startsWith(e)),f=null!==(t=n.getLayout)&&void 0!==t?t:e=>(0,r.jsx)(c.Z,{enableBgShading:d,fullWidth:!1,children:e});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s(),{id:"138f2aefaa5df59e",dynamic:[o().style.fontFamily],children:":root{--font-custom:".concat(o().style.fontFamily,"}")}),(0,r.jsx)(v.lX,{defaultTitle:"EuHu",titleTemplate:"%s | EuHu"}),(0,r.jsx)(P,{}),(0,r.jsx)(O,{children:(0,r.jsx)(u.SessionProvider,{session:i,children:(0,r.jsx)(I,{children:(0,r.jsxs)(y.ErrorBoundary,{FallbackComponent:x,children:[(0,r.jsx)(_.pn,{delayDuration:0,skipDelayDuration:300,children:f((0,r.jsx)(n,{...a,className:s().dynamic([["138f2aefaa5df59e",[o().style.fontFamily]]])+" "+(a&&null!=a.className&&a.className||"")}))}),(0,r.jsx)(m,{})]})})})})]})};var A=E.h.withTRPC(R);function I(e){var t,n,i,o,a,s,c,d;let f=(0,u.useSession)(),{id:h,firstName:m,surname:v,email:g}=null!==(c=null==f?void 0:null===(n=f.data)||void 0===n?void 0:null===(t=n.user)||void 0===t?void 0:t.details)&&void 0!==c?c:{},y=(0,p.useCallback)(()=>{var e,t;return new S.Z.User({id:null!=h?h:"",name:"".concat(null!=m?m:""," ").concat(null!=v?v:""),email:null!=g?g:"",photoUrl:null===(t=f.data)||void 0===t?void 0:null===(e=t.user)||void 0===e?void 0:e.image,role:"default"})},[g,m,h,null===(o=f.data)||void 0===o?void 0:null===(i=o.user)||void 0===i?void 0:i.image,v]);return h&&m&&v&&g?(0,r.jsx)(k.z_,{appId:l.O.NEXT_PUBLIC_TALKJS_APP_ID,syncUser:y,signature:null!==(d=null===(s=f.data)||void 0===s?void 0:null===(a=s.user)||void 0===a?void 0:a.talkJsSignature)&&void 0!==d?d:void 0,children:e.children}):(0,r.jsx)(r.Fragment,{children:e.children})}},83915:function(e,t,n){"use strict";function r(e){return e}function i(e){return 0===e.length?r:1===e.length?e[0]:function(t){return e.reduce((e,t)=>
1t(e),t)}}function o(e){let t={subscribe(t){let n=null,r=!1,i=!1,o=!1;function a(){if(null===n){o=!0;return}!i&&(i=!0,"function"==typeof n?n():n&&n.unsubscribe())}return n=e({next(e){r||t.next?.(e)},error(e){r||(r=!0,t.error?.(e),a())},complete(){r||(r=!0,t.complete?.(),a())}}),o&&a(),{unsubscribe:a}},pipe:(...e)=>i(e)(t)};return t}function a(e){return e=>{let t=0,n=null,r=[];function i(){n||(n=e.subscribe({next(e){for(let t of r)t.next?.(e)},error(e){for(let t of r)t.error?.(e)},complete(){for(let e of r)e.complete?.()}}))}function o(){if(0===t&&n){let e=n;n=null,e.unsubscribe()}}return{subscribe:e=>(t++,r.push(e),i(),{unsubscribe(){t--,o();let n=r.findIndex(t=>t===e);n>-1&&r.splice(n,1)}})}}}function s(e){return t=>({subscribe:n=>t.subscribe({next(t){e.next?.(t),n.next?.(t)},error(t){e.error?.(t),n.error?.(t)},complete(){e.complete?.(),n.complete?.()}})})}n.d(t,{h:function(){return iu},x:function(){return ic}});class l extends Error{constructor(e){super(e),this.name="ObservableAbortError",Object.setPrototypeOf(this,l.prototype)}}function u(e){let t;return{promise:new Promise((n,r)=>{let i=!1;function o(){i||(i=!0,r(new l("This operation was aborted.")),a.unsubscribe())}let a=e.subscribe({next(e){i=!0,n(e),o()},error(e){i=!0,r(e),o()},complete(){i=!0,o()}});t=o}),abort:t}}class c extends Error{static from(e,t={}){return e instanceof Error?"TRPCClientError"===e.name?e:new c(e.message,{...t,cause:e,result:null}):new c(e.error.message??"",{...t,cause:void 0,result:e})}constructor(e,t){let n=t?.cause;super(e,{cause:n}),this.meta=t?.meta,this.cause=n,this.shape=t?.result?.error,this.data=t?.result?.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,c.prototype)}}function d(e,t){if("error"in e){let n=t.transformer.deserialize(e.error);return{ok:!1,error:{...e,error:n}}}return{ok:!0,result:{...e.result,...(!e.result.type||"data"===e.result.type)&&{type:"data",data:t.transformer.deserialize(e.result.data)}}}}function f(e){return!!e&&!Array.isArray(e)&&"object"==typeof e}function p(e,t){let n;try{n=d(e,t)}catch(e){throw new c("Unable to transform response from server")}if(!n.ok&&(!f(n.error.error)||"number"!=typeof n.error.error.code)||n.ok&&!f(n.result))throw new c("Badly formatted response from server");return n}function h(e){return o(t=>{function n(t=0,r=e.op){let i=e.links[t];if(!i)throw Error("No more links to execute - did you forget to add an ending link?");return i({op:r,next:e=>n(t+1,e)})}return n().subscribe(t)})}function m(e){return Array.isArray(e)?e:[e]}function v(e){return t=>{let n=m(e.true).map(e=>e(t)),r=m(e.false).map(e=>e(t));return t=>o(i=>{let o=e.condition(t.op)?n:r;return h({op:t.op,links:o}).subscribe(i)})}}let g=()=>{};function y(e,t){return new Proxy(g,{get(n,r){if("string"==typeof r&&"then"!==r)return y(e,[...t,r])},apply:(n,r,i)=>e({args:i,path:t})})}let b=e=>y(e,[]),w=e=>new Proxy(g,{get(t,n){if("string"==typeof n&&"then"!==n)return e(n)}}),x=e=>"function"==typeof e;function E(e,t){return x(e.bind)?e.bind(t):e}function _(e){if(e)return e;if("undefined"!=typeof window&&x(window.fetch))return E(window.fetch,window);if("undefined"!=typeof globalThis&&x(globalThis.fetch))return E(globalThis.fetch,globalThis);throw Error("No fetch implementation found")}function k(e){return e||("undefined"!=typeof window&&window.AbortController?window.AbortController:"undefined"!=typeof globalThis&&globalThis.AbortController?globalThis.AbortController:null)}function S(e){let t=e.headers||(()=>({}));return{url:e.url,fetch:_(e.fetch),AbortController:k(e.AbortController),headers:"function"==typeof t?t:()=>t}}function C(e){let t={};for(let n=0;n<e.length;n++){let r=e[n];t[n]=r}return t}let O={query:"GET",mutation:"POST"};function T(e){return"input"in e?e.runtime.transformer.serialize(e.input):C(e.inputs.map(t=>e.runtime.transformer.serialize(t)))}function j(e){let t=e.url+"/"+e.path,n=[];if("inputs"in e&&n.push("batch=1"),"query"===e.type){let t=T(e);void 0!==t&&n.push(`input=${encodeURIComponent(JSON.stringify(t))}`)}return n.length&&(t+="?"+n.join("&")),t}function P(e){if("query"===e.type)return;let t=T(e);return void 0!==t?JSON.stringify(t):void 0}function R(e){let{type:t}=e,n=e.AbortController?new e.AbortController:null;return{promise:new Promise((r,i)=>{let o=j(e),a=P(e),s={};Promise.resolve(e.headers()).then(r=>{if("subscription"===t)throw Error("Subscriptions should use wsLink");return e.fetch(o,{method:O[t],signal:n?.signal,body:a,headers:{"content-type":"application/json",...r}})}).then(e=>(s.response=e,e.json())).then(e=>{r({json:e,meta:s})}).catch(i)}),cancel:()=>{n?.abort()}}}let A=()=>{throw Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function I(e){let t=null,n=null,r=()=>{clearTimeout(n),n=null,t=null};function i(t){let n=[[]],r=0;for(;;){let i=t[r];
1if(!i)break;let o=n[n.length-1];if(i.aborted){i.reject(Error("Aborted")),r++;continue}if(e.validate(o.concat(i).map(e=>e.key))){o.push(i),r++;continue}if(0===o.length){i.reject(Error("Input is too big for a single dispatch")),r++;continue}n.push([])}return n}function o(){let n=i(t);for(let t of(r(),n)){if(!t.length)continue;let n={items:t,cancel:A};for(let e of t)e.batch=n;let{promise:r,cancel:i}=e.fetch(n.items.map(e=>e.key));n.cancel=i,r.then(e=>{for(let t=0;t<e.length;t++){let r=e[t],i=n.items[t];i.resolve(r),i.batch=null}}).catch(e=>{for(let t of n.items)t.reject(e),t.batch=null})}}return{load:function(e){let r={aborted:!1,key:e,batch:null,resolve:A,reject:A},i=new Promise((e,n)=>{r.reject=n,r.resolve=e,t||(t=[]),t.push(r)});return n||(n=setTimeout(o)),{promise:i,cancel:()=>{r.aborted=!0,r.batch?.items.every(e=>e.aborted)&&(r.batch.cancel(),r.batch=null)}}}}}function M(e){let t=S(e);return n=>{let r=e.maxURLLength||1/0,i=e=>({validate:i=>{if(r===1/0)return!0;let o=i.map(e=>e.path).join(","),a=i.map(e=>e.input);return j({...t,runtime:n,type:e,path:o,inputs:a}).length<=r},fetch:r=>{let i=r.map(e=>e.path).join(","),o=r.map(e=>e.input),{promise:a,cancel:s}=R({...t,runtime:n,type:e,path:i,inputs:o});return{promise:a.then(e=>(Array.isArray(e.json)?e.json:r.map(()=>e.json)).map(t=>({meta:e.meta,json:t}))),cancel:s}}}),a=I(i("query")),s=I(i("mutation")),l={query:a,subscription:I(i("subscription")),mutation:s};return({op:e})=>o(t=>{let{promise:r,cancel:i}=l[e.type].load(e);return r.then(e=>{let r=p(e.json,n);if(!r.ok){t.error(c.from(r.error,{meta:e.meta}));return}t.next({context:e.meta,result:r.result}),t.complete()}).catch(e=>t.error(c.from(e))),()=>{i()}})}}function L(e){let t=S(e);return e=>({op:n})=>o(r=>{let{path:i,input:o,type:a}=n,{promise:s,cancel:l}=R({...t,runtime:e,type:a,path:i,input:o});return s.then(t=>{let n=p(t.json,e);if(!n.ok){r.error(c.from(n.error,{meta:t.meta}));return}r.next({context:t.meta,result:n.result}),r.complete()}).catch(e=>r.error(c.from(e))),()=>{l()}})}let N={query:["72e3ff","3fb0d8"],mutation:["c5a3fc","904dfc"],subscription:["ff49e1","d83fbe"]},D=(e=console)=>t=>{let{direction:n,input:r,type:i,path:o,context:a,id:s}=t,[l,u]=N[i],c=`
2    background-color: #${"up"===n?l:u}; 
3    color: ${"up"===n?"black":"white"};
4    padding: 2px;
5  `,d=["%c","up"===n?">>":"<<",i,`#${s}`,`%c${o}%c`,"%O"],f=[c,`${c}; font-weight: bold;`,`${c}; font-weight: normal;`];"up"===t.direction?f.push({input:r,context:a}):f.push({input:r,result:t.result,elapsedMs:t.elapsedMs,context:a}),e["down"===t.direction&&t.result&&(t.result instanceof Error||"error"in t.result.result)?"error":"log"].apply(null,[d.join(" ")].concat(f))};function F(e={}){let{enabled:t=()=>!0}=e,{logger:n=D(e.console)}=e;return()=>({op:e,next:r})=>o(i=>{t({...e,direction:"up"})&&n({...e,direction:"up"});let o=Date.now();function a(r){let i=Date.now()-o;t({...e,direction:"down",result:r})&&n({...e,direction:"down",elapsedMs:i,result:r})}return r(e).pipe(s({next(e){a(e)},error(e){a(e)}})).subscribe(i)})}class z{$request({type:e,input:t,path:n,context:r={}}){return h({links:this.links,op:{id:++this.requestId,type:e,path:n,input:t,context:r}}).pipe(a())}requestAsPromise(e){let{promise:t,abort:n}=u(this.$request(e));return new Promise((r,i)=>{e.signal?.addEventListener("abort",n),t.then(e=>{r(e.result.data)}).catch(e=>{i(c.from(e))})})}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n?.context}).subscribe({next(e){"started"===e.result.type?n.onStarted?.():"stopped"===e.result.type?n.onStopped?.():n.onData?.(e.result.data)},error(e){n.onError?.(e)},complete(){n.onComplete?.()}})}constructor(e){function t(){let t=e.transformer;return t?"input"in t?{serialize:t.input.serialize,deserialize:t.output.deserialize}:t:{serialize:e=>e,deserialize:e=>e}}this.requestId=0,this.runtime={transformer:t()},this.links=e.links.map(e=>e(this.runtime))}}function B(e){return new z(e)}let U={query:"query",mutate:"mutation",subscribe:"subscription"};function V(e){return w(t=>e.hasOwnProperty(t)?e[t]:b(({path:n,args:r})=>{let i=[t,...n],o=U[i.pop()],a=i.join(".");return e[o](a,...r)}))}var H=n(67294);let q=H.createContext(void 0),W=H.createContext(!1);function Z(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=q),window.ReactQueryClientContext):q)}let K=({context:e}={})=>{let t=H.useContext(Z(e,H.useContext(W)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},$=({client:e,children:t,context:n,contextSharing:r=!1})=>{H.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let i=Z(n,r);return H.createElement(W.Provider,{value:!n&&r},H.createElement(i.Provider,{value:e},t))};function G(e){return{mutationKey:e.options.mutationKey,state:e.state}}function Q(e){return{state:e.state,queryKey:e.queryKey,queryHash:e.queryHash}}
5function Y(e){return e.state.isPaused}function X(e){return"success"===e.state.status}function J(e,t={}){let n=[],r=[];if(!1!==t.dehydrateMutations){let r=t.shouldDehydrateMutation||Y;e.getMutationCache().getAll().forEach(e=>{r(e)&&n.push(G(e))})}if(!1!==t.dehydrateQueries){let n=t.shouldDehydrateQuery||X;e.getQueryCache().getAll().forEach(e=>{n(e)&&r.push(Q(e))})}return{mutations:n,queries:r}}function ee(e,t,n){if("object"!=typeof t||null===t)return;let r=e.getMutationCache(),i=e.getQueryCache(),o=t.mutations||[],a=t.queries||[];o.forEach(t=>{var i;r.build(e,{...null==n?void 0:null==(i=n.defaultOptions)?void 0:i.mutations,mutationKey:t.mutationKey},t.state)}),a.forEach(t=>{var r;let o=i.get(t.queryHash),a={...t.state,fetchStatus:"idle"};if(o){o.state.dataUpdatedAt<a.dataUpdatedAt&&o.setState(a);return}i.build(e,{...null==n?void 0:null==(r=n.defaultOptions)?void 0:r.queries,queryKey:t.queryKey,queryHash:t.queryHash},a)})}function et(e,t={}){let n=K({context:t.context}),r=H.useRef(t);r.current=t,H.useMemo(()=>{e&&ee(n,e,r.current)},[n,e])}let en=({children:e,options:t,state:n})=>(et(n,t),e);function er(e,t){let[n,r]=Array.isArray(e)?e:[e],i="string"!=typeof n||""===n?[]:n.split(".");return r||t&&"any"!==t?[i,{...void 0!==r&&{input:r},...t&&"any"!==t&&{type:t}}]:i.length?[i]:[]}let ei="undefined"==typeof window||"Deno"in window;function eo(){}function ea(e,t){return"function"==typeof e?e(t):e}function es(e){return"number"==typeof e&&e>=0&&e!==1/0}function el(e,t){return e.filter(e=>-1===t.indexOf(e))}function eu(e,t,n){let r=e.slice(0);return r[t]=n,r}function ec(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ed(e,t,n){return eS(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function ef(e,t,n){return eS(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function ep(e,t,n){return eS(e)?[{...t,queryKey:e},n]:[e||{},t]}function eh(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(eS(a)){if(r){if(t.queryHash!==ev(a,t.options))return!1}else if(!ey(t.queryKey,a))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(void 0===i||i===t.state.fetchStatus)&&(!o||!!o(t))}function em(e,t){let{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(eS(o)){if(!t.options.mutationKey)return!1;if(n){if(eg(t.options.mutationKey)!==eg(o))return!1}else if(!ey(t.options.mutationKey,o))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&(!i||!!i(t))}function ev(e,t){return((null==t?void 0:t.queryKeyHashFn)||eg)(e)}function eg(e){return JSON.stringify(e,(e,t)=>e_(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ey(e,t){return eb(e,t)}function eb(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(n=>!eb(e[n],t[n]))}function ew(e,t){if(e===t)return e;let n=eE(e)&&eE(t);if(n||e_(e)&&e_(t)){let r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},s=0;for(let r=0;r<o;r++){let o=n?r:i[r];a[o]=ew(e[o],t[o]),a[o]===e[o]&&s++}return r===o&&s===r?e:a}return t}function ex(e,t){if(e&&!t||t&&!e)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function eE(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function e_(e){if(!ek(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!(ek(n)&&n.hasOwnProperty("isPrototypeOf"))}function ek(e){return"[object Object]"===Object.prototype.toString.call(e)}function eS(e){return Array.isArray(e)}function eC(e){return new Promise(t=>{setTimeout(t,e)})}function eO(e){eC(0).then(e)}function eT(){if("function"==typeof AbortController)return new AbortController}function ej(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?ew(e,t):t}let eP=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=r=>{t?e.push(r):eO(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&eO(()=>{r(()=>
5{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{--t||o()}return n},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class eR{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.push(e),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(t=>t!==e),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}class eA extends eR{constructor(){super(),this.setup=e=>{if(!ei&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach(e=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let eI=new eA;class eM extends eR{constructor(){super(),this.setup=e=>{if(!ei&&window.addEventListener){let t=()=>e();return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach(e=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let eL=new eM;function eN(e){return Math.min(1e3*2**e,3e4)}function eD(e){return(null!=e?e:"online")!=="online"||eL.isOnline()}class eF{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function ez(e){return e instanceof eF}function eB(e){let t,n,r,i=!1,o=0,a=!1,s=new Promise((e,t)=>{n=e,r=t}),l=t=>{a||(p(new eF(t)),null==e.abort||e.abort())},u=()=>{i=!0},c=()=>{i=!1},d=()=>!eI.isFocused()||"always"!==e.networkMode&&!eL.isOnline(),f=r=>{a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},p=n=>{a||(a=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},h=()=>new Promise(n=>{t=e=>{let t=a||!d();return t&&n(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,a||null==e.onContinue||e.onContinue()}),m=()=>{let t;if(!a){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(f).catch(t=>{var n,r;if(a)return;let s=null!=(n=e.retry)?n:3,l=null!=(r=e.retryDelay)?r:eN,u="function"==typeof l?l(o,t):l,c=!0===s||"number"==typeof s&&o<s||"function"==typeof s&&s(o,t);if(i||!c){p(t);return}o++,null==e.onFail||e.onFail(o,t),eC(u).then(()=>{if(d())return h()}).then(()=>{i?p(t):m()})})}};return eD(e.networkMode)?m():h().then(m),{promise:s,cancel:l,continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:u,continueRetry:c}}class eU extends eR{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),eH(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return eq(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return eq(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),ex(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();let i=this.hasListeners();i&&eW(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),i&&(this.currentQuery!==r||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();i&&(this.currentQuery!==r||this.options.enabled!==n.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(eo)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),ei||this.currentResult.isStale||!es(this.options.staleTime))return;let e=ec(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!ei&&!1!==this.options.enabled&&es(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
5{(this.options.refetchIntervalInBackground||eI.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let n;let r=this.currentQuery,i=this.options,o=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=e!==r,u=l?e.state:this.currentQueryInitialState,c=l?this.currentResult:this.previousQueryResult,{state:d}=e,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:v}=d,g=!1,y=!1;if(t._optimisticResults){let n=this.hasListeners(),o=!n&&eH(e,t),a=n&&eW(e,r,t,i);(o||a)&&(m=eD(e.options.networkMode)?"fetching":"paused",f||(v="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!d.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==v)n=c.data,f=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==d.data){if(o&&d.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),n=ej(null==o?void 0:o.data,n,t),this.selectResult=n,this.selectError=null}catch(e){this.selectError=e}}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&"loading"===v){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==s?void 0:s.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(v="success",n=ej(null==o?void 0:o.data,e,t),y=!0)}this.selectError&&(p=this.selectError,n=this.selectResult,h=Date.now(),v="error");let b="fetching"===m,w="loading"===v,x="error"===v;return{status:v,fetchStatus:m,isLoading:w,isSuccess:"success"===v,isError:x,isInitialLoading:w&&b,data:n,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&!w,isLoadingError:x&&0===d.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:y,isPreviousData:g,isRefetchError:x&&0!==d.dataUpdatedAt,isStale:eZ(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,ex(n,t))return;this.currentResult=n;let r={cache:!0},i=()=>
5{if(!t)return!0;let{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;let n=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some(e=>{let r=e;return this.currentResult[r]!==t[r]&&n.has(r)})};(null==e?void 0:e.listeners)!==!1&&i()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||ez(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){eP.batch(()=>{var t,n,r,i,o,a,s,l;e.onSuccess?(null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(i=this.options).onSettled)||r.call(i,this.currentResult.data,null)):e.onError&&(null==(o=(a=this.options).onError)||o.call(a,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(e=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function eV(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}function eH(e,t){return eV(e,t)||e.state.dataUpdatedAt>0&&eq(e,t,t.refetchOnMount)}function eq(e,t,n){if(!1!==t.enabled){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&eZ(e,t)}return!1}function eW(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&eZ(e,n)}function eZ(e,t){return e.isStaleByTime(t.staleTime)}let eK=n(61688).useSyncExternalStore;function e$(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}let eG=H.createContext(e$()),eQ=()=>H.useContext(eG),eY=H.createContext(!1),eX=()=>H.useContext(eY);function eJ(e,t){return"function"==typeof e?e(...t):!!e}eY.Provider;let e0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},e1=e=>{H.useEffect(()=>{e.clearReset()},[e])},e2=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&eJ(n,[e.error,r]),e4=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},e5=(e,t)=>e.isLoading&&e.isFetching&&!t,e3=(e,t,n)=>(null==e?void 0:e.suspense)&&e5(t,n),e6=(e,t,n)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});function e9(e,t){let n=K({context:e.context}),r=eX(),i=eQ(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=eP.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=eP.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=eP.batchCalls(o.onSettled)),e4(o),e0(o,i),e1(i);let[a]=H.useState(()=>new t(n,o)),s=a.getOptimisticResult(o);if(eK(H.useCallback(e=>r?()=>void 0:a.subscribe(eP.batchCalls(e)),[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),H.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),e3(o,s,r))throw e6(o,a,i);if(e2({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:a.trackResult(s)}function e8(e,t,n){return e9(ed(e,t,n),eU)}let e7=console;class te{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),es(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:ei?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class tt extends te{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||e7,this.observers=[],this.state=e.state||tn(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,n,r,i,o,a,s,l,u,c,d,f,p,h,m,v,g,y,b;let w=()=>{var e;return this.retryer=eB({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},x="loading"===this.state.status;try{if(!x){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(l=(u=this.mutationCache.config).onMutate)?void 0:l.call(u,this.state.variables,this));
5let e=await (null==(c=(d=this.options).onMutate)?void 0:c.call(d,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}let f=await w();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,f,this.state.variables,this.state.context,this)),await (null==(n=(r=this.options).onSuccess)?void 0:n.call(r,f,this.state.variables,this.state.context)),await (null==(i=(o=this.mutationCache.config).onSettled)?void 0:i.call(o,f,null,this.state.variables,this.state.context,this)),await (null==(a=(s=this.options).onSettled)?void 0:a.call(s,f,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:f}),f}catch(e){try{throw await (null==(f=(p=this.mutationCache.config).onError)?void 0:f.call(p,e,this.state.variables,this.state.context,this)),await (null==(h=(m=this.options).onError)?void 0:h.call(m,e,this.state.variables,this.state.context)),await (null==(v=(g=this.mutationCache.config).onSettled)?void 0:v.call(g,void 0,e,this.state.variables,this.state.context,this)),await (null==(y=(b=this.options).onSettled)?void 0:y.call(b,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){let t=t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!eD(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}};this.state=t(this.state),eP.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function tn(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class tr extends eR{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let n=this.options;this.options=this.client.defaultMutationOptions(e),ex(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.listeners.length){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:tn(),t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){eP.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,n,r,i,o,a,s,l;e.onSuccess?(null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(i=this.mutateOptions).onSettled)||r.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(o=(a=this.mutateOptions).onError)||o.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}
5e.listeners&&this.listeners.forEach(e=>{e(this.currentResult)})})}}function ti(e,t,n){let r=ef(e,t,n),i=K({context:r.context}),[o]=H.useState(()=>new tr(i,r));H.useEffect(()=>{o.setOptions(r)},[o,r]);let a=eK(H.useCallback(e=>o.subscribe(eP.batchCalls(e)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),s=H.useCallback((e,t)=>{o.mutate(e,t).catch(to)},[o]);if(a.error&&eJ(o.options.useErrorBoundary,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}function to(){}function ta(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,a;let s;let l=null==(t=e.fetchOptions)?void 0:null==(n=t.meta)?void 0:n.refetchPage,u=null==(r=e.fetchOptions)?void 0:null==(i=r.meta)?void 0:i.fetchMore,c=null==u?void 0:u.pageParam,d=(null==u?void 0:u.direction)==="forward",f=(null==u?void 0:u.direction)==="backward",p=(null==(o=e.state.data)?void 0:o.pages)||[],h=(null==(a=e.state.data)?void 0:a.pageParams)||[],m=h,v=!1,g=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?v=!0:null==(n=e.signal)||n.addEventListener("abort",()=>{v=!0}),e.signal}})},y=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),b=(e,t,n,r)=>(m=r?[t,...m]:[...m,t],r?[n,...e]:[...e,n]),w=(t,n,r,i)=>{if(v)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};return g(o),Promise.resolve(y(o)).then(e=>b(t,r,e,i))};if(p.length){if(d){let t=void 0!==c,n=t?c:ts(e.options,p);s=w(p,t,n)}else if(f){let t=void 0!==c,n=t?c:tl(e.options,p);s=w(p,t,n,!0)}else{m=[];let t=void 0===e.options.getNextPageParam;s=!l||!p[0]||l(p[0],0,p)?w([],t,h[0]):Promise.resolve(b([],h[0],p[0]));for(let n=1;n<p.length;n++)s=s.then(r=>{if(!l||!p[n]||l(p[n],n,p)){let i=t?h[n]:ts(e.options,r);return w(r,t,i)}return Promise.resolve(b(r,h[n],p[n]))})}}else s=w([]);return s.then(e=>({pages:e,pageParams:m}))}}}}function ts(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function tl(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}function tu(e,t){if(e.getNextPageParam&&Array.isArray(t)){let n=ts(e,t);return null!=n&&!1!==n}}function tc(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){let n=tl(e,t);return null!=n&&!1!==n}}class td extends eU{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:ta()},t)}getOptimisticResult(e){return e.behavior=ta(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,r,i,o,a,s;let{state:l}=e,u=super.createResult(e,t),{isFetching:c,isRefetching:d}=u,f=c&&(null==(n=l.fetchMeta)?void 0:null==(r=n.fetchMore)?void 0:r.direction)==="forward",p=c&&(null==(i=l.fetchMeta)?void 0:null==(o=i.fetchMore)?void 0:o.direction)==="backward";return{...u,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:tu(t,null==(a=l.data)?void 0:a.pages),hasPreviousPage:tc(t,null==(s=l.data)?void 0:s.pages),isFetchingNextPage:f,isFetchingPreviousPage:p,isRefetching:d&&!f&&!p}}}function tf(e,t,n){return e9(ed(e,t,n),td)}class tp extends eR{constructor(e,t){super(),this.client=e,this.queries=[],this.result=[],this.observers=[],this.observersMap={},t&&this.setQueries(t)}onSubscribe(){1===this.listeners.length&&this.observers.forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})})}onUnsubscribe(){this.listeners.length||this.destroy()}destroy(){this.listeners=[],this.observers.forEach(e=>{e.destroy()})}setQueries(e,t){this.queries=e,eP.batch(()=>{let e=this.observers,n=this.findMatchingObservers(this.queries);n.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions,t));let r=n.map(e=>e.observer),i=Object.fromEntries(r.map(e=>[e.options.queryHash,e])),o=r.map(e=>e.getCurrentResult()),a=r.some((t,n)=>t!==e[n]);(e.length!==r.length||a)&&(this.observers=r,this.observersMap=i,this.result=o,this.hasListeners()&&(el(e,r).forEach(e
5=>{e.destroy()}),el(r,e).forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})}),this.notify()))})}getCurrentResult(){return this.result}getQueries(){return this.observers.map(e=>e.getCurrentQuery())}getObservers(){return this.observers}getOptimisticResult(e){return this.findMatchingObservers(e).map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions))}findMatchingObservers(e){let t=this.observers,n=e.map(e=>this.client.defaultQueryOptions(e)),r=n.flatMap(e=>{let n=t.find(t=>t.options.queryHash===e.queryHash);return null!=n?[{defaultedQueryOptions:e,observer:n}]:[]}),i=r.map(e=>e.defaultedQueryOptions.queryHash),o=n.filter(e=>!i.includes(e.queryHash)),a=t.filter(e=>!r.some(t=>t.observer===e)),s=e=>{let t=this.client.defaultQueryOptions(e),n=this.observersMap[t.queryHash];return null!=n?n:new eU(this.client,t)},l=o.map((e,t)=>{if(e.keepPreviousData){let n=a[t];if(void 0!==n)return{defaultedQueryOptions:e,observer:n}}return{defaultedQueryOptions:e,observer:s(e)}}),u=(e,t)=>n.indexOf(e.defaultedQueryOptions)-n.indexOf(t.defaultedQueryOptions);return r.concat(l).sort(u)}onUpdate(e,t){let n=this.observers.indexOf(e);-1!==n&&(this.result=eu(this.result,n,t),this.notify())}notify(){eP.batch(()=>{this.listeners.forEach(e=>{e(this.result)})})}}function th({queries:e,context:t}){let n=K({context:t}),r=eX(),i=H.useMemo(()=>e.map(e=>{let t=n.defaultQueryOptions(e);return t._optimisticResults=r?"isRestoring":"optimistic",t}),[e,n,r]),[o]=H.useState(()=>new tp(n,i)),a=o.getOptimisticResult(i);eK(H.useCallback(e=>r?()=>void 0:o.subscribe(eP.batchCalls(e)),[o,r]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),H.useEffect(()=>{o.setQueries(i,{listeners:!1})},[i,o]);let s=eQ();i.forEach(e=>{e0(e,s),e4(e)}),e1(s);let l=a.some((e,t)=>e3(i[t],e,r))?a.flatMap((e,t)=>{let n=i[t],a=o.getObservers()[t];if(n&&a){if(e3(n,e,r))return e6(n,a,s);e5(e,r)&&e6(n,a,s)}return[]}):[];if(l.length>0)throw Promise.all(l);let u=a.find((e,t)=>{var n,r;return e2({result:e,errorResetBoundary:s,useErrorBoundary:null!=(n=null==(r=i[t])?void 0:r.useErrorBoundary)&&n,query:o.getQueries()[t]})});if(null!=u&&u.error)throw u.error;return a}function tm(e,t){return e.length?void 0===t?[e]:[e,t]:[]}function tv(e,t){return b(n=>{let r=n.args,i=[e,...n.path],o=i.pop(),a=i.join(".");if("useMutation"===o)return t[o](a,...r);let[s,...l]=r,u=tm(a,s);if("getQueryKey"===o)return er(u,l[0]??"any");if("_def"===o)return{path:i};if(o.startsWith("useSuspense")){let e=l[0]||{},n=t["useSuspenseQuery"===o?"useQuery":"useInfiniteQuery"](u,{...e,suspense:!0,enabled:!0});return[n.data,n]}return t[o](u,...l)})}let tg=["client","ssrContext","ssrState","abortOnUnmount"],ty=(0,H.createContext)(null);function tb(e){return w(t=>{let n=t;return"client"===n?V(e.client):tg.includes(n)?e[n]:b(({path:n,args:r})=>{let i=[t,...n],o=i.pop(),a=i.join("."),{queryKey:s,rest:l,updater:u}=(e=>{if(["setData","setInfiniteData"].includes(e)){let[e,t,...n]=r;return{queryKey:tm(a,e),updater:t,rest:n}}let[t,...n]=r;return{queryKey:tm(a,t),rest:n}})(o);return({fetch:()=>e.fetchQuery(s,...l),fetchInfinite:()=>e.fetchInfiniteQuery(s,...l),prefetch:()=>e.prefetchQuery(s,...l),prefetchInfinite:()=>e.prefetchInfiniteQuery(s,...l),ensureData:()=>e.ensureQueryData(s,...l),invalidate:()=>e.invalidateQueries(s,...l),reset:()=>e.resetQueries(s,...l),refetch:()=>e.refetchQueries(s,...l),cancel:()=>e.cancelQuery(s,...l),setData:()=>e.setQueryData(s,u,...l),setInfiniteData:()=>e.setInfiniteQueryData(s,u,...l),getData:()=>e.getQueryData(s),getInfiniteData:()=>e.getInfiniteQueryData(s)})[o]()})})}function tw(e){return b(t=>{let n=t.path.join("."),[r,...i]=t.args;return{queryKey:tm(n,r),queryFn:()=>e.query(n,r),...i[0]}})}function tx(e,t){let[n,r]=e;return[n,r,t?.trpc]}function tE(e){let t=(0,H.useRef)(e);return t.current.path=e.path,t.current}function t_(e){let t=e?.unstable_overrides?.useMutation?.onSuccess??(e=>e.originalFn()),n=e?.context??ty,r=e?.reactQueryContext;function i(){return H.useContext(n)}function o(e,t,n){let{queryClient:r,ssrState:o}=i();return o&&"mounted"!==o&&r.getQueryCache().find(er(e,t))?.state.status==="error"?{retryOnMount:!1,...n}:n}function a(t,n){let a=i();if(!a)throw Error("Unable to retrieve application context. Did you forget to wrap your Ap
5p inside `withTRPC` HoC?");let{abortOnUnmount:s,client:l,ssrState:u,queryClient:c,prefetchQuery:d}=a;"undefined"!=typeof window||"prepass"!==u||n?.trpc?.ssr===!1||n?.enabled===!1||c.getQueryCache().find(er(t,"query"))||d(t,n);let f=o(t,"query",n),p=n?.trpc?.abortOnUnmount??e?.abortOnUnmount??s,h=e8({...f,queryKey:er(t,"query"),queryFn:e=>{let n={...f,trpc:{...f?.trpc,...p?{signal:e.signal}:{}}};return l.query(...tx(t,n))},context:r});return h.trpc=tE({path:t[0]}),h}function s(e,n){let{client:o}=i(),a=K({context:r}),s=Array.isArray(e)?e[0]:e,l=ti({...n,mutationKey:[s.split(".")],mutationFn:e=>o.mutation(...tx([s,e],n)),context:r,onSuccess:(...e)=>t({originalFn:()=>n?.onSuccess?.(...e),queryClient:a,meta:n?.meta??{}})});return l.trpc=tE({path:s}),l}function l(e,t){let n=t?.enabled??!0,r=eg(e),{client:o}=i();return(0,H.useEffect)(()=>{if(!n)return;let[r,i]=e,a=!1,s=o.subscription(r,i??void 0,{onStarted:()=>{a||t.onStarted?.()},onData:e=>{a||t.onData(e)},onError:e=>{a||t.onError?.(e)}});return()=>{a=!0,s.unsubscribe()}},[r,n])}function u(e,t){let[n,a]=e,{client:s,ssrState:l,prefetchInfiniteQuery:u,queryClient:c,abortOnUnmount:d}=i();"undefined"!=typeof window||"prepass"!==l||t?.trpc?.ssr===!1||t?.enabled===!1||c.getQueryCache().find(er(e,"infinite"))||u(e,t);let f=o(e,"infinite",t),p=t?.trpc?.abortOnUnmount??d,h=tf({...f,queryKey:er(e,"infinite"),queryFn:e=>{let r={...f,trpc:{...f?.trpc,...p?{signal:e.signal}:{}}},i={...a??{},cursor:e.pageParam??t?.initialCursor};return s.query(...tx([n,i],r))},context:r});return h.trpc=tE({path:n}),h}let c=(e,t)=>{let{ssrState:n,queryClient:r,prefetchQuery:o,client:a}=i(),s=e(tw(a));if("undefined"==typeof window&&"prepass"===n)for(let e of s){let t=e;t.trpc?.ssr===!1||r.getQueryCache().find(er(t.queryKey,"query"))||o(t.queryKey,t)}return th({queries:s.map(e=>({...e,queryKey:er(e.queryKey,"query")})),context:t})};return{Provider:e=>{let{abortOnUnmount:t=!1,client:r,queryClient:i,ssrContext:o}=e,[a,s]=(0,H.useState)(e.ssrState??!1);return(0,H.useEffect)(()=>{s(e=>!!e&&"mounted")},[]),H.createElement(n.Provider,{value:{abortOnUnmount:t,queryClient:i,client:r,ssrContext:o||null,ssrState:a,fetchQuery:(0,H.useCallback)((e,t)=>i.fetchQuery({...t,queryKey:er(e,"query"),queryFn:()=>r.query(...tx(e,t))}),[r,i]),fetchInfiniteQuery:(0,H.useCallback)((e,t)=>i.fetchInfiniteQuery({...t,queryKey:er(e,"infinite"),queryFn:({pageParam:n})=>{let[i,o]=e,a={...o,cursor:n};return r.query(...tx([i,a],t))}}),[r,i]),prefetchQuery:(0,H.useCallback)((e,t)=>i.prefetchQuery({...t,queryKey:er(e,"query"),queryFn:()=>r.query(...tx(e,t))}),[r,i]),prefetchInfiniteQuery:(0,H.useCallback)((e,t)=>i.prefetchInfiniteQuery({...t,queryKey:er(e,"infinite"),queryFn:({pageParam:n})=>{let[i,o]=e,a={...o,cursor:n};return r.query(...tx([i,a],t))}}),[r,i]),ensureQueryData:(0,H.useCallback)((e,t)=>i.ensureQueryData({...t,queryKey:er(e,"query"),queryFn:()=>r.query(...tx(e,t))}),[r,i]),invalidateQueries:(0,H.useCallback)((e,t,n)=>i.invalidateQueries({...t,queryKey:er(e,"any")},n),[i]),resetQueries:(0,H.useCallback)((...e)=>{let[t,n,r]=e;return i.resetQueries({...n,queryKey:er(t,"any")},r)},[i]),refetchQueries:(0,H.useCallback)((...e)=>{let[t,n,r]=e;return i.refetchQueries({...n,queryKey:er(t,"any")},r)},[i]),cancelQuery:(0,H.useCallback)(e=>i.cancelQueries({queryKey:er(e,"any")}),[i]),setQueryData:(0,H.useCallback)((...e)=>{let[t,...n]=e;return i.setQueryData(er(t,"query"),...n)},[i]),getQueryData:(0,H.useCallback)((...e)=>{let[t,...n]=e;return i.getQueryData(er(t,"query"),...n)},[i]),setInfiniteQueryData:(0,H.useCallback)((...e)=>{let[t,...n]=e;return i.setQueryData(er(t,"infinite"),...n)},[i]),getInfiniteQueryData:(0,H.useCallback)((...e)=>{let[t,...n]=e;return i.getQueryData(er(t,"infinite"),...n)},[i])}},e.children)},createClient:e=>B(e),useContext:i,useQuery:a,useQueries:c,useMutation:s,useSubscription:l,useDehydratedState:(e,t)=>(0,H.useMemo)(()=>t?e.runtime.transformer.deserialize(t):t,[t,e]),useInfiniteQuery:u}}function tk(e){return t_(e)}function tS(e){return w(t=>"useContext"===t?()=>{let t=e.useContext();return(0,H.useMemo)(()=>tb(t),[t])}:e.hasOwnProperty(t)?e[t]:tv(t,e))}function tC(e){let t=tk(e),n=tS(t);return{...t,proxy:n}}
5class tO extends te{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||e7,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||tT(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let n=ej(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(eo).catch(eo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!ec(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r,i,o;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);let a=eT(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);let u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};l(c),null==(n=this.options.behavior)||n.onFetch(c),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=c.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(o=c.fetchOptions)?void 0:o.meta});let d=e=>{if(ez(e)&&e.silent||this.dispatch({type:"error",error:e}),!ez(e)){var t,n,r,i;null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=eB({fn:c.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,n,r,i;if(void 0===e){d(Error("undefined"));return}this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){let t=t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:eD(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:D
5ate.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if(ez(i)&&i.revert&&this.revertState)return{...this.revertState};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),eP.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}function tT(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}class tj extends eR{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;let i=t.queryKey,o=null!=(r=t.queryHash)?r:ev(i,t),a=this.get(o);return a||(a=new tO({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){eP.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[n]=ep(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find(e=>eh(n,e))}findAll(e,t){let[n]=ep(e,t);return Object.keys(n).length>0?this.queries.filter(e=>eh(n,e)):this.queries}notify(e){eP.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){eP.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){eP.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class tP extends eR{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){let r=new tt({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){eP.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>em(e,t))}findAll(e){return this.mutations.filter(t=>em(e,t))}notify(e){eP.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>
5e.state.isPaused);return eP.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(eo)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}class tR{constructor(e={}){this.queryCache=e.queryCache||new tj,this.mutationCache=e.mutationCache||new tP,this.logger=e.logger||e7,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=eI.subscribe(()=>{eI.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=eL.subscribe(()=>{eL.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[n]=ep(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){let r=ed(e,t,n),i=this.getQueryData(r.queryKey);return i?Promise.resolve(i):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.queryCache.find(e),i=ea(t,null==r?void 0:r.state.data);if(void 0===i)return;let o=ed(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return eP.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){let[n]=ep(e,t),r=this.queryCache;eP.batch(()=>{r.findAll(n).forEach(e=>{r.remove(e)})})}resetQueries(e,t,n){let[r,i]=ep(e,t,n),o=this.queryCache,a={type:"active",...r};return eP.batch(()=>(o.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(a,i)))}cancelQueries(e,t,n){let[r,i={}]=ep(e,t,n);return void 0===i.revert&&(i.revert=!0),Promise.all(eP.batch(()=>this.queryCache.findAll(r).map(e=>e.cancel(i)))).then(eo).catch(eo)}invalidateQueries(e,t,n){let[r,i]=ep(e,t,n);return eP.batch(()=>{var e,t;if(this.queryCache.findAll(r).forEach(e=>{e.invalidate()}),"none"===r.refetchType)return Promise.resolve();let n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,i)})}refetchQueries(e,t,n){let[r,i]=ep(e,t,n),o=Promise.all(eP.batch(()=>this.queryCache.findAll(r).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...i,cancelRefetch:null==(t=null==i?void 0:i.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))).then(eo);return null!=i&&i.throwOnError||(o=o.catch(eo)),o}fetchQuery(e,t,n){let r=ed(e,t,n),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);let o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(eo).catch(eo)}fetchInfiniteQuery(e,t,n){let r=ed(e,t,n);return r.behavior=ta(),this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(eo).catch(eo)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let n=this.queryDefaults.find(t=>eg(e)===eg(t.queryKey));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>ey(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let n=this.mutationDefaults.find(t=>eg(e)===eg(t.mutationKey));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>ey(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=ev(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}let tA=e=>e.queryClient??new tR(e.queryClientConfig);function tI(){return(tI=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}).apply(this,arguments)}var tM=60103,tL=60106,tN=60107,tD=60108,tF=60114,tz=60109,tB=60110,tU=60111,tV=60112,tH=60113,tq=60115,tW=60116;if("function"==typeof Symbol&&Symbol.for){var tZ=Symbol.for;tM=tZ("react.element"),tL=tZ("react.portal"),tN=tZ("react.fragment"),tD=tZ("react.strict_mode"),tF=tZ("react.profiler"),tz=tZ("react.provider"),tB=tZ("react.context"),tU=Symbol.for("react.concurrent_mode"),tV=tZ("react.forward_ref"),tH=tZ("react.suspense"),tq=tZ("react.memo"),tW=tZ("react.lazy")}var tK=tM,t$=tL,tG=tN,tQ=tD,tY=tF,tX=tz,tJ=tB,t0=tU,t1=tV,t2=tH,t4=tq,t5=tW,t3=H.Children.toArray,t6=function(e){return null!==e&&"object"==typeof e},t9=function(e){return t3(e).filter(t6)},t8=function(e,t){return"object"==typeof t?tI({},t,e):e},t7=new Map,ne={},nt=void 0,nn=void 0,nr=function(){return tI({},ne)},ni=function(){return new Map(t7)},no=function(){var e=nt;return nt=void 0,e},na=function(){var e=nn;return nn=void 0,e},ns=function(e){void 0!==e&&tI(ne,e)},nl=function(e){void 0!==e&&t7.set(e[0],e[1])},nu=function(e){nt=void 0,ne=e},nc=function(e){nn=void 0,t7=e},nd=function(e){var t=t7.get(e);return void 0!==t?t:e._currentValue},nf={},np=function(e){var t=e.contextType,n=e.contextTypes;if(t)return nd(t);if(!n)return nf;var r={};for(var i in n)r[i]=ne[i];return r},nh=null,nm=function(){return nh},nv=function(e){nh=e||null},ng={current:{uniqueID:0}},ny="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},nb=null,nw=function(e){nb=e},nx=function(){if(null===nb)throw Error("[react-ssr-prepass] Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)");return nb},nE=null,n_=null,nk=!1,nS=null,nC=0,nO=function(e){nE=e};
5function nT(){return null===n_?null===nE?nE=n_={memoizedState:null,queue:null,next:null}:n_=nE:n_=null===n_.next?n_.next={memoizedState:null,queue:null,next:null}:n_.next}function nj(e,t){return"function"==typeof t?t(e):t}function nP(e,t,n){var r,i=nx();null===(n_=nT()).queue&&(r=e===nj?"function"==typeof t?t():t:void 0!==n?n(t):t,n_.memoizedState=r);var o=n_.queue||(n_.queue={last:null,dispatch:null}),a=o.dispatch||(o.dispatch=nI.bind(null,i,o));if(null!==nS){var s=nS.get(o);if(void 0!==s){nS.delete(o);var l=n_.memoizedState,u=s;do l=e(l,u.action),u=u.next;while(null!==u);n_.memoizedState=l}}return[n_.memoizedState,a]}function nR(e,t){nx();var n=void 0===t?null:t,r=(n_=nT()).memoizedState;if(null!==r&&null!==n&&function(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ny(e[n],t[n]))return!1;return!0}(n,r[1]))return r[0];var i=e();return n_.memoizedState=[i,n],i}function nA(){return nx(),(n_=nT()).memoizedState||(n_.memoizedState="R:"+(ng.current.uniqueID++).toString(36)),n_.memoizedState}function nI(e,t,n){if(e===nb){nk=!0;var r={action:n,next:null};null===nS&&(nS=new Map);var i=nS.get(t);if(void 0===i)nS.set(t,r);else{for(var o=i;null!==o.next;)o=o.next;o.next=r}}}function nM(){}function nL(e){e()}var nN={readContext:function(e,t){return nd(e)},useSyncExternalStore:function(e,t,n){return t()},useContext:function(e,t){return nx(),nd(e)},useMemo:nR,useReducer:nP,useRef:function(e){nx();var t=(n_=nT()).memoizedState;if(null!==t)return t;var n={current:e};return n_.memoizedState=n,n},useState:function(e){return nP(nj,e)},useCallback:function(e,t){return nR(function(){return e},t)},useMutableSource:function(e,t,n){return nx(),t(e._source)},useTransition:function(){return[nL,!1]},useDeferredValue:function(e){return e},useOpaqueIdentifier:nA,useId:nA,unstable_useId:nA,unstable_useOpaqueIdentifier:nA,useLayoutEffect:nM,useImperativeHandle:nM,useEffect:nM,useDebugValue:nM},nD=function(e){var t=e._payload||e;return 0===t._status?t._result:1===t._status?Promise.resolve(t._result):2===t._status?Promise.reject(t._result):(t._status=0,t._result=(t._ctor||t._result)().then(function(e){t._result=e,"function"==typeof e?t._status=1:null!==e&&"object"==typeof e&&"function"==typeof e.default?(t._result=e.default,t._status=1):t._status=2}).catch(function(e){return t._status=2,t._result=e,Promise.reject(e)}))},nF=function(e,t,n){var r=e._payload||e;return 1===r._status?(0,H.createElement)(r._result,t):null},nz=function(e,t,n){return{contextMap:nr(),contextStore:ni(),id:nx(),hook:nE,kind:"frame.hooks",errorFrame:nm(),thenable:n,props:t,type:e}},nB=function(e,t,n){try{return function(e,t,n){n_=null;for(var r=e(t,n);nC<25&&nk;)nk=!1,nC+=1,n_=null,r=e(t,n);return nC=0,nS=null,n_=null,r}(e,t8(t,e.defaultProps),np(e))}catch(r){if("function"!=typeof r.then)throw r;return n.push(nz(e,t,r)),null}};function nU(){return!1}function nV(){return null}var nH=function(e,t){var n,r={_thrown:0,queue:n=[],isMounted:nU,enqueueForceUpdate:nV,enqueueReplaceState:function(e,t){e._isMounted&&(n.length=0,n.push(t))},enqueueSetState:function(e,t){e._isMounted&&n.push(t)}},i=t8(t,e.defaultProps),o=np(e),a=new e(i,o,r);if(a.props=i,a.context=o,a.updater=r,a._isMounted=!0,void 0===a.state&&(a.state=null),"function"==typeof a.componentDidCatch||"function"==typeof e.getDerivedStateFromError){var s=nq(e,a,null);s.errorFrame=s,nv(s)}if("function"==typeof e.getDerivedStateFromProps){var l=(0,e.getDerivedStateFromProps)(a.props,a.state);null!=l&&(a.state=tI({},a.state,l))}else"function"==typeof a.componentWillMount?a.componentWillMount():"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount();return a},nq=function(e,t,n){return{contextMap:nr(),contextStore:ni(),errorFrame:nm(),thenable:n,kind:"frame.class",error:null,instance:t,type:e}},nW=function(e,t,n){!function(e){var t=e.updater.queue;if(t.length>0){for(var n=tI({},e.state),r=0,i=t.length;r<i;r++){var o=t[r],a="function"==typeof o?o.call(e,n,e.props,e.context):o;null!==a&&tI(n,a)}e.state=n,t.length=0}}(t);var r=null;try{r=t.render()}catch(r){if("function"!=typeof r.then)throw r;return n.push(nq(e,t,r)),null}if(void 0!==e.childContextTypes&&"function"==typeof t.getChildContext){var i=t.getChildContext();null!==i&&"object"==typeof i&&function(e){for(var t in nt={},e)nt[t]=ne[t],ne[t]=e[t]}(i)}if("function"!=typeof t.getDerivedStateFromProps&&("function"==typeof t.componentWillMount||"function"==typeof t.UNSAFE_componentWillMount)&&"function"==typeof t.componentWillUnmount)try{t.componentWillUnmount()}catch(e){}return t._isMounted=!1,r}
5,nZ=H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,nK="function"==typeof setImmediate,n$=function(e,t,n,r,i){var o;return(o=e).prototype&&o.prototype.isReactComponent?function(e,t,n,r,i){nw(null);var o=nH(e,t),a=r(i,o);return a?(n.push(nq(e,o,a)),null):nW(e,o,n)}(e,t,n,r,i):function(e,t,n,r,i){nO(null),nw({});var o=r(i);return o?(n.push(nz(e,t,o)),null):nB(e,t,n)}(e,t,n,r,i)},nG=function(e,t,n){switch(function(e){switch(e.$$typeof){case t$:return t$;case tK:switch(e.type){case t0:return t0;case tG:return tG;case tY:return tY;case tQ:return tQ;case t2:return t2;default:switch(e.type&&e.type.$$typeof){case t5:return t5;case t4:return t4;case tJ:return tJ;case tX:return tX;case t1:return t1;default:return tK}}default:return}}(e)){case t2:case tQ:case t0:case tY:case tG:return t9(e.props.children);case tX:var r=e.props,i=r.children;return!function(e,t){nn=[e,t7.get(e)],t7.set(e,t)}(e.type._context,r.value),t9(i);case tJ:var o=e.props.children;if("function"!=typeof o)return[];var a=e.type;return t9(o(nd("object"==typeof a._context?a._context:a)));case t5:return t9(function(e,t,n){return(e._payload||e)._status<=0?(n.push({kind:"frame.lazy",contextMap:nr(),contextStore:ni(),errorFrame:nm(),thenable:nD(e),props:t,type:e}),null):nF(e,t)}(e.type,e.props,t));case t4:return t9((0,H.createElement)(e.type.type,e.props));case t1:var s=e.type,l=s.render,u=t8(e.props,s.defaultProps);return t9((0,H.createElement)(l,u));case tK:if("string"==typeof e.type)return t9(e.props.children);return t9(n$(e.type,e.props,t,n,e));default:return[]}},nQ=function(e,t,n,r,i,o){var a=nZ.current,s=Date.now();try{for(nZ.current=nN;e.length>0;){var l=e[e.length-1].shift();if(void 0!==l){var u=nG(l,i,o);e.push(u),t.push(no()),n.push(na()),r.push(nm())}else e.pop(),ns(t.pop()),nl(n.pop()),nv(r.pop());if(nK&&Date.now()-s>5)return!0}return!1}catch(e){var c=nm();if(!c)throw e;return c.error=e,i.unshift(c),!1}finally{nZ.current=a}},nY=function(e,t,n,r){return{contextMap:nr(),contextStore:ni(),errorFrame:nm(),thenable:null,kind:"frame.yield",traversalChildren:e,traversalMap:t,traversalStore:n,traversalErrorFrame:r}},nX=function(e,t,n){var r=[e],i=[no()],o=[na()],a=[nm()];nQ(r,i,o,a,t,n)&&t.unshift(nY(r,i,o,a))},nJ=function(e,t,n){if("frame.yield"===e.kind)nw(null),nu(e.contextMap),nc(e.contextStore),nv(e.errorFrame),nQ(e.traversalChildren,e.traversalMap,e.traversalStore,e.traversalErrorFrame,t,n)&&t.unshift(nY(e.traversalChildren,e.traversalMap,e.traversalStore,e.traversalErrorFrame));else{var r=nZ.current,i=null;nZ.current=nN;try{"frame.class"===e.kind?i=function(e,t){if(nw(null),nu(t.contextMap),nc(t.contextStore),nv(t.errorFrame),t.error){if(++t.instance.updater._thrown>=25)return null;t.instance._isMounted=!0,"function"==typeof t.instance.componentDidCatch&&t.instance.componentDidCatch(t.error),"function"==typeof t.type.getDerivedStateFromError&&t.instance.updater.enqueueSetState(t.instance,t.type.getDerivedStateFromError(t.error))}return nW(t.type,t.instance,e)}(t,e):"frame.hooks"===e.kind?i=function(e,t){return nO(t.hook),nw(t.id),nu(t.contextMap),nc(t.contextStore),nv(t.errorFrame),nB(t.type,t.props,e)}(t,e):"frame.lazy"===e.kind&&(i=function(e,t){return nw(null),nu(t.contextMap),nc(t.contextStore),nv(t.errorFrame),nF(t.type,t.props)}(0,e))}catch(e){var o=nm();if(!o)throw e;o.error=e,t.unshift(o),i=null}finally{nZ.current=r}nX(t9(i),t,n)}};function n0(e,t){setImmediate(e)}var n1=function(e,t,n){var r=e.shift();return r?(nK&&"frame.yield"===r.kind&&(r.thenable=new Promise(n0)),Promise.resolve(r.thenable).then(function(){return function(e){ng.current=e}(n),nJ(r,e,t),n1(e,t,n)},function(n){if(!r.errorFrame)throw n;r.errorFrame.error=n,nJ(r.errorFrame,e,t)})):Promise.resolve()},n2=function(){},n4=function(e,t){t||(t=n2);var n=[],r=ng.current={uniqueID:0};nu({}),nc(new Map),nv(null);try{nX(t9(e),n,t)}catch(e){return Promise.reject(e)}return n1(n,t,r)};function n5(e){let t=e.state.error;if(t instanceof Error&&"TRPCClientError"===t.name){let n={message:t.message,data:t.data,shape:t.shape};return{...e,state:{...e.state,error:n}}}return e}
5function n3(e){let{config:t}=e;return n=>{let r=tC({unstable_overrides:e.unstable_overrides}),i=i=>{let o;let[a]=(0,H.useState)(()=>{if(i.trpc)return i.trpc;let n=t({}),o=tA(n),a=r.createClient(n);return{abortOnUnmount:n.abortOnUnmount,queryClient:o,trpcClient:a,ssrState:!!e.ssr&&"mounting",ssrContext:null}}),{queryClient:s,trpcClient:l,ssrState:u,ssrContext:c}=a;return i.pageProps&&(o=r.useDehydratedState(l,i.pageProps.trpcState)),H.createElement(r.Provider,{abortOnUnmount:a.abortOnUnmount??!1,client:l,queryClient:s,ssrState:u,ssrContext:c},H.createElement($,{client:s},H.createElement(en,{state:o},H.createElement(n,Object.assign({},i)))))};(n.getInitialProps||e.ssr)&&(i.getInitialProps=async r=>{let i=r.AppTree,o=!!r.Component,a=o?r.ctx:r,s={};if(n.getInitialProps){let e=await n.getInitialProps(r);s={...o?e.pageProps??{}:e,...s}}let l=e=>o?{pageProps:e}:e;if("undefined"!=typeof window||!e.ssr)return l(s);let u=t({ctx:a}),c=B(u),d=tA(u),f={pageProps:s,trpc:{config:u,trpcClient:c,queryClient:d,ssrState:"prepass",ssrContext:a}};for(;await n4((0,H.createElement)(i,f)),d.isFetching();)await new Promise(e=>{let t=d.getQueryCache().subscribe(n=>{n?.query.getObserversCount()===0&&(e(),t())})});let p=J(d,{shouldDehydrateQuery:()=>!0}),h={...p,queries:p.queries.map(n5),mutations:p.mutations.map(n5)};s.trpcState=c.runtime.transformer.serialize(h);let m=l(s),v=e.responseMeta?.({ctx:a,clientErrors:[...p.queries,...p.mutations].map(e=>e.state.error).flatMap(e=>e instanceof Error&&"TRPCClientError"===e.name?[e]:[])})||{};for(let[e,t]of Object.entries(v.headers||{}))"string"==typeof t&&a.res?.setHeader(e,t);return v.status&&a.res&&(a.res.statusCode=v.status),m});let o=n.displayName||n.name||"Component";return i.displayName=`withTRPC(${o})`,i}}function n6(e){let t=tk({unstable_overrides:e.unstable_overrides}),n=n3(e);return w(e=>"useContext"===e?()=>{let e=t.useContext();return(0,H.useMemo)(()=>tb(e),[e])}:"useQueries"===e?t.useQueries:"withTRPC"===e?n:tv(e,t))}var n9=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)},e.prototype.getByKey=function(e){return this.keyToValue.get(e)},e.prototype.getByValue=function(e){return this.valueToKey.get(e)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),n8=function(){function e(e){this.generateIdentifier=e,this.kv=new n9}return e.prototype.register=function(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(e){return this.kv.getByValue(e)},e.prototype.getValue=function(e){return this.kv.getByKey(e)},e}(),n7=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),re=function(e){function t(){var t=e.call(this,function(e){return e.name})||this;return t.classToAllowedProps=new Map,t}return n7(t,e),t.prototype.register=function(t,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(t,n.allowProps),e.prototype.register.call(this,t,n.identifier)):e.prototype.register.call(this,t,n)},t.prototype.getAllowedProps=function(e){return this.classToAllowedProps.get(e)},t}(n8),rt=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function rn(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function rr(e,t){var n=rn(e);if("find"in n)return n.find(t);for(var r=n,i=0;i<r.length;i++){var o=r[i];if(t(o))return o}}function ri(e,t){Object.entries(e).forEach(function(e){var n=rt(e,2),r=n[0];return t(n[1],r)})}function ro(e,t){return -1!==e.indexOf(t)}function ra(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var rs=function(){function e(){this.transfomers={}}return e.prototype.register=function(e){this.transfomers[e.name]=e},e.prototype.findApplicable=function(e){return rr(this.transfomers,function(t){return t.isApplicable(e)}
5)},e.prototype.findByName=function(e){return this.transfomers[e]},e}(),rl=function(e){return Object.prototype.toString.call(e).slice(8,-1)},ru=function(e){return void 0===e},rc=function(e){return null===e},rd=function(e){return"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)},rf=function(e){return rd(e)&&0===Object.keys(e).length},rp=function(e){return Array.isArray(e)},rh=function(e){return"string"==typeof e},rm=function(e){return"number"==typeof e&&!isNaN(e)},rv=function(e){return"boolean"==typeof e},rg=function(e){return e instanceof RegExp},ry=function(e){return e instanceof Map},rb=function(e){return e instanceof Set},rw=function(e){return"Symbol"===rl(e)},rx=function(e){return e instanceof Date&&!isNaN(e.valueOf())},rE=function(e){return e instanceof Error},r_=function(e){return"number"==typeof e&&isNaN(e)},rk=function(e){return rv(e)||rc(e)||ru(e)||rm(e)||rh(e)||rw(e)},rS=function(e){return"bigint"==typeof e},rC=function(e){return e===1/0||e===-1/0},rO=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},rT=function(e){return e instanceof URL},rj=function(e){return e.replace(/\./g,"\\.")},rP=function(e){return e.map(String).map(rj).join(".")},rR=function(e){for(var t=[],n="",r=0;r<e.length;r++){var i=e.charAt(r);if("\\"===i&&"."===e.charAt(r+1)){n+=".",r++;continue}if("."===i){t.push(n),n="";continue}n+=i}var o=n;return t.push(o),t},rA=function(){return(rA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},rI=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},rM=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};function rL(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var rN=[rL(ru,"undefined",function(){return null},function(){}),rL(rS,"bigint",function(e){return e.toString()},function(e){return"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),rL(rx,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),rL(rE,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(t){n[t]=e[t]}),n},function(e,t){var n=Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(t){n[t]=e[t]}),n}),rL(rg,"regexp",function(e){return""+e},function(e){return new RegExp(e.slice(1,e.lastIndexOf("/")),e.slice(e.lastIndexOf("/")+1))}),rL(rb,"set",function(e){return rM([],rI(e.values()))},function(e){return new Set(e)}),rL(ry,"map",function(e){return rM([],rI(e.entries()))},function(e){return new Map(e)}),rL(function(e){return r_(e)||rC(e)},"number",function(e){return r_(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),rL(function(e){return 0===e&&1/e==-1/0},"number",function(){return"-0"},Number),rL(rT,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function rD(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var rF=rD(function(e,t){return!!rw(e)&&!!t.symbolRegistry.getIdentifier(e)},function(e,t){return["symbol",t.symbolRegistry.getIdentifier(e)]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw Error("Trying to deserialize unknown symbol");return r}),rz=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),rB=rD(rO,function(e){return["typed-array",e.constructor.name]},function(e){return rM([],rI(e))},function(e,t){var n=rz[t[1]];if(!n)throw Error("Trying to deserialize unknown typed array");return new n(e)});function rU(e,t){return null!=e&&!!e.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}var rV=rD(rU,function(e,t){return["class",t.classRegistry.getIdentifier(e.constructor)]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return rA({},e);var r={};
5return n.forEach(function(t){r[t]=e[t]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),rH=rD(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){return["custom",t.customTransformerRegistry.findApplicable(e).name]},function(e,t){return t.customTransformerRegistry.findApplicable(e).serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),rq=[rV,rF,rH,rB],rW=function(e,t){var n=ra(rq,function(n){return n.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=ra(rN,function(n){return n.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},rZ={};rN.forEach(function(e){rZ[e.annotation]=e});var rK=function(e,t,n){if(rp(t))switch(t[0]){case"symbol":return rF.untransform(e,t,n);case"class":return rV.untransform(e,t,n);case"custom":return rH.untransform(e,t,n);case"typed-array":return rB.untransform(e,t,n);default:throw Error("Unknown transformation: "+t)}else{var r=rZ[t];if(!r)throw Error("Unknown transformation: "+t);return r.untransform(e,n)}},r$=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function rG(e){if(ro(e,"__proto__"))throw Error("__proto__ is not allowed as a property");if(ro(e,"prototype"))throw Error("prototype is not allowed as a property");if(ro(e,"constructor"))throw Error("constructor is not allowed as a property")}var rQ=function(e,t){rG(t);for(var n=0;n<t.length;n++){var r=t[n];if(rb(e))e=r$(e,+r);else if(ry(e)){var i=+r,o=0==+t[++n]?"key":"value",a=r$(e,i);switch(o){case"key":e=a;break;case"value":e=e.get(a)}}else e=e[r]}return e},rY=function(e,t,n){if(rG(t),0===t.length)return n(e);for(var r=e,i=0;i<t.length-1;i++){var o=t[i];if(rp(r))r=r[+o];else if(rd(r))r=r[o];else if(rb(r)){var a=+o;r=r$(r,a)}else if(ry(r)){if(i===t.length-2)break;var a=+o,s=0==+t[++i]?"key":"value",l=r$(r,a);switch(s){case"key":r=l;break;case"value":r=r.get(l)}}}var u=t[t.length-1];if((rp(r)||rd(r))&&(r[u]=n(r[u])),rb(r)){var c=r$(r,+u),d=n(c);c!==d&&(r.delete(c),r.add(d))}if(ry(r)){var a=+t[t.length-2],f=r$(r,a),s=0==+u?"key":"value";switch(s){case"key":var p=n(f);r.set(p,r.get(f)),p!==f&&r.delete(f);break;case"value":r.set(f,n(r.get(f)))}}return e},rX=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},rJ=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};function r0(e,t,n){if(void 0===n&&(n=[]),e){if(!rp(e)){ri(e,function(e,r){return r0(e,t,rJ(rJ([],rX(n)),rX(rR(r))))});return}var r=rX(e,2),i=r[0],o=r[1];o&&ri(o,function(e,r){r0(e,t,rJ(rJ([],rX(n)),rX(rR(r))))}),t(i,n)}}function r1(e,t,n){return r0(t,function(t,r){e=rY(e,r,function(e){return rK(e,t,n)})}),e}function r2(e,t){function n(t,n){var r=rQ(e,rR(n));t.map(rR).forEach(function(t){e=rY(e,t,function(){return r})})}if(rp(t)){var r=rX(t,2),i=r[0],o=r[1];i.forEach(function(t){e=rY(e,rR(t),function(){return e})}),o&&ri(o,n)}else ri(t,n);return e}var r4=function(e,t){return rd(e)||rp(e)||ry(e)||rb(e)||rU(e,t)};function r5(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function r3(e){var t={},n=void 0;return(e.forEach(function(e){if(!(e.length<=1)){var r=rX(e.map(function(e){return e.map(String)}).sort(function(e,t){return e.length-t.length})),i=r[0],o=r.slice(1);0===i.length?n=o.map(rP):t[rP(i)]=o.map(rP)}}),n)?rf(t)?[n]:[n,t]:rf(t)?void 0:t}var r6=function(e,t,n,r,i){if(void 0===r&&(r=[]),void 0===i&&(i=[]),rk(e)||r5(e,r,t),!r4(e,n)){var o,a=rW(e,n);return a?{transformedValue:a.value,annotations:[a.type]}:{transformedValue:e}}if(ro(i,e))return{transformedValue:null};var s=rW(e,n),l=null!==(o=null==s?void 0:s.value)&&void 0!==o?o:e;rk(e)||(i=rJ(rJ([],rX(i)),[e]));var u=rp(l)?[]:{},c={};return(ri(l,function(e,o){var a=r6(e,t,n,rJ(rJ([],rX(r)),[o]),i);u[o]=a.transformedValue,rp(a.annotations)?c[o]=a.annotations:rd(a.annotations)&&ri(a.annotations,function(e,t){c[rj(o)+"."+t]=e})}),rf(c))?{transformedValue:u,annotations:s?[s.type]:void 0}:{transformedValue:u,annotations:s?[s.type,c]:c}};function r9(e){return Object.prototype.toString.call(e).slice(8,-1)}function r8(e){return"Object"===r9(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function r7(e){return"Array"===r9(e)}function ie(e,t,n,r,i){let o=({}).propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=n),i&&"nonenumerable"===o&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function it(e,t={}){return r7(e)?e.map(e=>it(e,t)):r8(e)?[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce((n,r)=>{if(r7(t.props)&&!t.props.includes(r))return n;let i=it(e[r],t);return ie(n,r,i,e,t.nonenumerable),n},{}):e}!function(e,t,n,r,i){n=>e(n)||t(n)||false||false||false}(function(e){return"Null"===r9(e)},function(e){return"Undefined"===r9(e)});var ir=function(){return(ir=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},ii=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},io=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},ia=function(){function e(){this.classRegistry=new re,this.symbolRegistry=new n8(function(e){var t;return null!==(t=e.description)&&void 0!==t?t:""}),this.customTransformerRegistry=new rs,this.allowedErrorProps=[]}return e.prototype.serialize=function(e){var t=new Map,n=r6(e,t,this),r={json:n.transformedValue};n.annotations&&(r.meta=ir(ir({},r.meta),{values:n.annotations}));var i=r3(t);return i&&(r.meta=ir(ir({},r.meta),{referentialEqualities:i})),r},e.prototype.deserialize=function(e){var t=e.json,n=e.meta,r=it(t);return(null==n?void 0:n.values)&&(r=r1(r,n.values,this)),(null==n?void 0:n.referentialEqualities)&&(r=r2(r,n.referentialEqualities)),r},e.prototype.stringify=function(e){return JSON.stringify(this.serialize(e))},e.prototype.parse=function(e){return this.deserialize(JSON.parse(e))},e.prototype.registerClass=function(e,t){this.classRegistry.register(e,t)},e.prototype.registerSymbol=function(e,t){this.symbolRegistry.register(e,t)},e.prototype.registerCustom=function(e,t){this.customTransformerRegistry.register(ir({name:t},e))},e.prototype.allowErrorProps=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.allowedErrorProps).push.apply(e,io([],ii(t)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e}(),is=ia;ia.serialize,ia.deserialize,ia.stringify,ia.parse,ia.registerClass,ia.registerCustom,ia.registerSymbol,ia.allowErrorProps,n(34155);let il=()=>"",iu=n6({config(){let e="".concat(il(),"/api/trpc");return{transformer:is,links:[F({enabled:e=>"down"===e.direction&&e.result instanceof Error}),v({condition:e=>!0===e.context.skipBatch,true:L({url:e}),false:M({url:e})})],queryClientConfig:{defaultOptions:{queries:{cacheTime:864e5,refetchOnWindowFocus:!1}}}}},ssr:!1});function ic(e){return e instanceof c}},1291:function(e,t,n){"use strict";function r(e){return null!=e}function i(e){return!!e}n.d(t,{v:function(){return r},y:function(){return i}})},50135:function(e,t,n){"use strict";n.d(t,{LQ:function(){return d},Y0:function(){return a},eU:function(){return l},jv:function(){return f},uo:function(){return o},vV:function(){return i}});let r=()=>{let e=/([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+")/,t=/(\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])/,n=/(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})/;return new RegExp("^(".concat(e.source,")@(").concat(t.source,"|").concat(n.source,")$"))},i=e=>r().test(e),o=(e,t)=>e.toLowerCase()===t.toLowerCase()?"Password cannot be the same as email":!/password/i.test(e.toLowerCase())||'Avoid using the word "password"',a=e=>/^[Ff][Ee]\d{6}([a-zA-Z]{2}|\d{2}|)$/.test(e),s=(()=>{let e=/(?:[A-Za-z]{2}\d[A-Za-z])/,t=/(?:[A-Za-z]{2}\d{2})/,n=/(?:[A-Za-z]{2}\d)/,r=/(?:[A-Za-z]\d[A-Za-z])/,i=/(?:[A-Za-z]\d{2})/,o=/(?:[A-Za-z]\d)/,a=/(?:\d[^CcIiKkMmOoVv0-9]{2})/;return new RegExp("^(?:".concat(e.source,"|").concat(t.source,"|").concat(n.source,"|").concat(r.source,"|").concat(i.source,"|").concat(o.source,")\\s?").concat(a.source,"$"))})(),l=e=>s.test(e),u=/[a-zA-ZÀ-ÿ0-9^£$ .,&@`#'\-_[\]{}/\\~"%(*)+<=>?!]+$/,c=e=>u.test(e),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name";return t=>!!(!t||c(t))||"".concat(e," must contain only alphanumeric or ^\xa3$.,&@`#'-_[]{}/\\~\"%&(*)+<=>?! characters")},f=e=>{let t=e.toLowerCase();if(!(t.startsWith("http://")||t.startsWith("https://")))return!1;try{return new URL(e),!0}catch(e){return!1}}},60621:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(79279);function i(e){var t,n,i,s,l,u,c,d,f;let{session:p,profile:h,preferences:m}=e,v=(null==p?void 0:null===(t=p.user)||void 0===t?void 0:t.details)||null,{avatar:g}=null!=h?h:{},{hasProfile:y,jobTitle:b,nickname:w,school:x}=o(h),{brand:E,contentTypes:_,hasPreferences:k,keyStages:S,marketUrl:C,subjects:O,years:T,country:j}=a(m),P=null!==(s=null==g?void 0:g.url)&&void 0!==s?s:"",R=P&&"".concat(P,"?width=256&quality=80"),A=P&&"".concat(P,"?width=640&quality=80"),I=P&&"".concat(P,"?width=1024&qual
5ity=80"),M=P&&"".concat(P,"?width=1600&quality=80");return{isLoggedIn:!!p,hasAvatar:!!P,hasProfile:y,hasPreferences:k,fullName:"".concat(null!==(l=null==v?void 0:v.firstName)&&void 0!==l?l:""," ").concat(null!==(u=null==v?void 0:v.surname)&&void 0!==u?u:"").trim(),firstName:null!==(c=null==v?void 0:v.firstName)&&void 0!==c?c:"",lastName:null!==(d=null==v?void 0:v.surname)&&void 0!==d?d:"",email:null!==(f=null==v?void 0:v.email)&&void 0!==f?f:"",permissions:(null==v?void 0:v.permissions)||[],subscriptionProviders:(0,r.NY)(null==p?void 0:null===(i=p.user)||void 0===i?void 0:null===(n=i.details)||void 0===n?void 0:n.licenses),jobTitle:b,nickname:w,school:x,avatarUrlSmall:R,avatarUrlMedium:A,avatarUrlLarge:I,avatarUrlXLarge:M,keyStages:S,subjects:O,years:T,contentTypes:_,brand:E,marketUrl:C,country:j}}function o(e){let{jobTitle:t="",nickname:n="",school:r=""}=e||{};return{hasProfile:!!(t||n||r),jobTitle:t,nickname:n,school:r}}function a(e){let{brand:t="",contentTypes:n=[],keyStages:r=[],marketUrl:i="",subjects:o=[],years:a=[],country:s=""}=e||{};return{hasPreferences:Object.values({brand:t,contentTypes:n,keyStages:r,marketUrl:i,subjects:o,years:a,country:s}).some(e=>e.length>0),brand:t,contentTypes:n,keyStages:r,marketUrl:i,subjects:o,years:a,country:s}}},89678:function(e,t,n){"use strict";function r(e){let{overridePath:t,callbackUrl:n,email:r,error:i}=e,o=t||"/sign-in",a=new URLSearchParams;return(i&&a.set("error",i),n&&a.set("callbackUrl",n),r&&a.set("email",r),0===a.toString().length)?o:"".concat(o,"?").concat(a.toString())}n.d(t,{y:function(){return r}})},79279:function(e,t,n){"use strict";function r(e,t){var n,r;return"Free"===t||i(null==e?void 0:null===(r=e.user)||void 0===r?void 0:null===(n=r.details)||void 0===n?void 0:n.licenses,t)}function i(e,t){return!!(e&&e.find(e=>e.validTo&&new Date(e.validTo)>new Date&&(!t||e.subscriptionProvider===t)))}function o(e){return(null==e?void 0:e.filter(e=>e.validTo&&new Date(e.validTo)>new Date).map(e=>e.subscriptionProvider))||[]}n.d(t,{NY:function(){return o},Pf:function(){return r},XT:function(){return i}})},91479:function(){},79102:function(){},80876:function(){},28577:function(e){e.exports={style:{fontFamily:"'__Barlow_828c28', '__Barlow_Fallback_828c28'",fontStyle:"normal"},className:"__className_828c28"}},5152:function(e,t,n){e.exports=n(32602)},9008:function(e,t,n){e.exports=n(23867)},25675:function(e,t,n){e.exports=n(76210)},41664:function(e,t,n){e.exports=n(98342)},11163:function(e,t,n){e.exports=n(43079)},4298:function(e,t,n){e.exports=n(23381)},83300:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},10652:function(e,t,n){var r,i,o;!function(a,s){i=[n(7158),n(66131)],void 0!==(o="function"==typeof(r=s)?r.apply(t,i):r)&&(e.exports=o)}(window,function(e,t){"use strict";function n(e){for(var t in e)return!1;return!0}var r=document.documentElement.style,i="string"==typeof r.transition?"transition":"WebkitTransition",o="string"==typeof r.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[i],s={transform:o,transition:i,transitionDuration:i+"Duration",transitionProperty:i+"Property",transitionDelay:i+"Delay"};function l(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var u=l.prototype=Object.create(e.prototype);u.constructor=l,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},u.getSize=function(){this.size=t(this.element)},u.css=function(e){var t=this.element.style;for(var n in e)t[s[n]||n]=e[n]},u.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=e[t?"left":"right"],i=e[n?"top":"bottom"],o=parseFloat(r),a=parseFloat(i),s=this.layout.size;-1!=r.indexOf("%")&&(o=o/100*s.width),-1!=i.indexOf("%")&&(a=a/100*s.height),o=isNaN(o)?0:o,a=isNaN(a)?0:a,o-=t?s.paddingLeft:s.paddingRight,a-=n?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=a},u.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),i=n?"paddingLeft":"paddingRight",o=n?"left":"right",a=n?"right":"left",s=this.position.x+e[i];t[o]=this.getXValue(s),t[a]="";var l=r?"paddingTop":"paddingBottom",u=r?"top":"bottom",c=r?"bottom":"top",d=this.position.y+e[l];t[u]=this.getYValue(d),t[c]="",this.css(t),this.emitEvent("layout",[this])},u.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},u.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},u._transitionTo=function(e,t){this.getPosition();var n=this.position.x,r=this.position.y,i=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),i&&!this.isTransitioning){this.layoutPosition();return}var o=e-n,a=t-r,s={};s.transform=this.getTranslate(o,a),this.transition({to:s,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},u.getTranslate=function(e,t){var n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop");return"translate3d("+(e=n?e:-e)+"px, "+(t=r?t:-t)+"px, 0)"},u.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},u._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},u.transition=function(e){if(!parseFloat(this.layout.options.transitionDuration)){this._nonTransition(e);return}var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);if(e.from){this.css(e.from);var r=this.element.offsetHeight;r=null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0};var c="opacity,"+function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}(o);u.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},u.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},u.onotransitionend=function(e){this.ontransitionend(e)};var d={"-webkit-transform":"transform"};u.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,r=d[e.propertyName]||e.propertyName;delete t.ingProperties[r],n(t.ingProperties)&&this.disableTransition(),r in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[r]),r in t.onEnd&&(t.onEnd[r].call(this),delete t.onEnd[r]),this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},u._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(f)},u.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){if(!i||!parseFloat(this.layout.options.transitionDuration)){this.removeElem();return}this.once("transitionEnd",function(){this.removeElem()}),this.hide()},u.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},u.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},l})},71794:function(e,t,n){var r;!function(i,o){"use strict";void 0!==(r=(function(e,t,n,r){return o(i,e,t,n,r)}).apply(t,[n(7158),n(66131),n(99047),n(10652)]))&&(e.exports=r)}(window,function(e,t,n,r,i){"use strict";var o=e.console,a=e.jQuery,s=function(){},l=0,u={};function c(e,t){var n=r.getQueryElement(e);
vendor: 4,210 bytes, line 5
5if(!n){o&&o.error("Bad element for "+this.constructor.namespace+": "+(n||e));return}this.element=n,a&&(this.$element=a(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(t);var i=++l;this.element.outlayerGUID=i,u[i]=this,this._create(),this._getOption("initLayout")&&this.layout()}c.namespace="outlayer",c.Item=i,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=c.prototype;function f(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}r.extend(d,t.prototype),d.option=function(e){r.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,r=[],i=0;i<t.length;i++){var o=new n(t[i],this);r.push(o)}return r},d._filterFindItemElements=function(e){return r.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(e){return e.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=n(this.element)},d._getMeasurement=function(e,t){var r,i=this.options[e];i?("string"==typeof i?r=this.element.querySelector(i):i instanceof HTMLElement&&(r=i),this[e]=r?n(r)[t]:i):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach(function(e){var r=this._getItemLayoutPosition(e);r.item=e,r.isInstant=t||e.isLayoutInstant,n.push(r)},this),this._processLayoutQueue(n)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},d.updateStagger=function(){var e=this.options.stagger;if(null==e){this.stagger=0;return}return this.stagger=h(e),this.stagger},d._positionItem=function(e,t,n,r,i){r?e.goTo(t,n):(e.stagger(i*this.stagger),e.moveTo(t,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=s,d._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},d._emitCompleteOnItems=function(e,t){var n=this;function r(){n.dispatchEvent(e+"Complete",null,[t])}var i=t.length;if(!t||!i){r();return}var o=0;function a(){++o==i&&r()}t.forEach(function(t){t.once(e,a)})},d.dispatchEvent=function(e,t,n){var r=t?[t].concat(n):n;if(this.emitEvent(e,r),a){if(this.$element=this.$element||a(this.element),t){var i=a.Event(t);i.type=e,this.$element.trigger(i,n)}else this.$element.trigger(e,n)}},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.
5concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){r.removeFrom(this.stamps,e),this.unignore(e)},this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=r.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=s,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),r=this._boundingRect,i=n(e);return{left:t.left-r.left-i.marginLeft,top:t.top-r.top-i.marginTop,right:r.right-t.right-i.marginRight,bottom:r.bottom-t.bottom-i.marginBottom}},d.handleEvent=r.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},r.debounceMethod(c,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=n(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.reveal()})}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.hide()})}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},d.getItems=function(e){e=r.makeArray(e);var t=[];return e.forEach(function(e){var n=this.getItem(e);n&&t.push(n)},this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),r.removeFrom(this.items,e)},this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete u[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},c.data=function(e){var t=(e=r.getQueryElement(e))&&e.outlayerGUID;return t&&u[t]},c.create=function(e,t){var n=f(c);return n.defaults=r.extend({},c.defaults),r.extend(n.defaults,t),n.compatOptions=r.extend({},c.compatOptions),n.namespace=e,n.data=c.data,n.Item=f(i),r.htmlInit(n,e),a&&a.bridget&&a.bridget(e,n),n};var p={ms:1,s:1e3};function h(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],r=t&&t[2];return n.length?(n=parseFloat(n))*(p[r]||1):0}return c.Item=i,c})},34155:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function l(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],c=!1,d=-1;function f(){c&&r&&(c=!1,r.length?u=r.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(r=u,u=[];++d<t;)r&&r[d].run();d=-1,t=u.length}r=null,c=!1,l(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},92703:function(e,t,n){"use strict";
5var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},35800:function(e,t,n){!function(e,r){r(t,n(67294))}(0,function(e,t){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}(t);function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}var o=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some(function(e,n){return!Object.is(e,t[n])})},a={error:null},s=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state=a,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}i(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var r=t.prototype;return r.reset=function(){this.setState(a)},r.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},r.componentDidUpdate=function(e,t){var n,r,i=this.state.error,a=this.props.resetKeys;null!==i&&null!==t.error&&o(e.resetKeys,a)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,a),this.reset())},r.render=function(){var e=this.state.error,t=this.props,r=t.fallbackRender,i=t.FallbackComponent,o=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(n.isValidElement(o))return o;if("function"==typeof r)return r(a);if(i)return n.createElement(i,a);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(n.Component);function l(e,t){var r=function(r){return n.createElement(s,t,n.createElement(e,r))},i=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary("+i+")",r}function u(e){var t=n.useState(null),r=t[0],i=t[1];if(null!=e)throw e;if(null!=r)throw r;return i}e.ErrorBoundary=s,e.useErrorHandler=u,e.withErrorBoundary=l,Object.defineProperty(e,"__esModule",{value:!0})})},91033:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=function(){return void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),s=2;function l(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function l(){a(o)}function u(){var e=Date.now();if(n){if(e-i<s)return;r=!0}else n=!0,r=!1,setTimeout(l,t);i=e}return u}var u=20,c=["top","right","bottom","left","width","height","size","weight"],d="undefined"!=typeof MutationObserver,f=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=l(this.refresh.bind(this),u)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
5w e),this.instance_},e.instance_=null,e}(),p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},m=S(0,0,0,0);function v(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+v(e["border-"+n+"-width"])},0)}function y(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var o=i[r],a=e["padding-"+o];n[o]=v(a)}return n}function b(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function w(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=h(e).getComputedStyle(e),i=y(r),o=i.left+i.right,a=i.top+i.bottom,s=v(r.width),l=v(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=g(r,"left","right")+o),Math.round(l+a)!==n&&(l-=g(r,"top","bottom")+a)),!E(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return S(i.left,i.top,s,l)}var x=function(){return"undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"==typeof e.getBBox}}();function E(e){return e===h(e).document.documentElement}function _(e){return i?x(e)?b(e):w(e):m}function k(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype);return p(o,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),o}function S(e,t,n,r){return{x:e,y:t,width:n,height:r}}var C=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=_(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(){return function(e,t){p(this,{target:e,contentRect:k(t)})}}(),T=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new C(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new O(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),j="undefined"!=typeof WeakMap?new WeakMap:new r,P=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new T(t,f.getInstance(),this);j.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){P.prototype[e]=function(){var t;return(t=j.get(this))[e].apply(t,arguments)}});var R=function(){return void 0!==o.ResizeObserver?o.ResizeObserver:P}();t.default=R},71169:function(e){var t=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()};e.exports=t},95202:function(e,t){"use strict";if("undefined"==typeof window)throw Error("[TalkJS] The TalkJS JavaScript SDK only works in browsers (and not, for example, in Node.js)");!function(e,t,n,r,i,o){(o=t.createElement("script")).async=1,o.src="https://cdn.talkjs.com/talk.js",t.head.appendChild(o),r=e.Promise,e.Talk={v:3,ready:{then:function(e){if(r)return new r(function(t,r){n.push([e,t,r])});n.push([e])},catch:function(){return r&&new r},c:n}}}(window,document,[]);var n=window.Talk;t.Z=n},53250:function(e,t,n){"use strict";var r=n(67294);function i(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var o="function"==typeof Object.is?Object.is:i,a=r.useState,s=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function c(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return l(function(){i.value=n,i.getSnapshot=t,d(i)&&o({inst:i})},[e,n,t]),s(function(){return d(i)&&o({inst:i}),e(function(){d(i)&&o({inst:i})})},[e]),u(n),n}function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();
5return!o(e,n)}catch(e){return!0}}function f(e,t){return t()}var p="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?f:c;t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:p},50139:function(e,t,n){"use strict";var r=n(67294),i=n(61688);function o(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var a="function"==typeof Object.is?Object.is:o,s=i.useSyncExternalStore,l=r.useRef,u=r.useEffect,c=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=l(null);if(null===o.current){var f={hasValue:!1,value:null};o.current=f}else f=o.current;var p=s(e,(o=c(function(){function e(e){if(!l){if(l=!0,o=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,a(o,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(o=e,s=n)}var o,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],o[1]);return u(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}},61688:function(e,t,n){"use strict";e.exports=n(53250)},52798:function(e,t,n){"use strict";e.exports=n(50139)},5678:function(e,t,n){"use strict";n.d(t,{Nr:function(){return i},OR:function(){return o},Yz:function(){return a},LI:function(){return s},t$:function(){return l}});var r=n(67294),i=function(e,t){let[n,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let n=setTimeout(()=>i(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n},o=function(e,t,n,i){let o=(0,r.useRef)(t);s(()=>{o.current=t},[t]),(0,r.useEffect)(()=>{var t;let r=null!==(t=null==n?void 0:n.current)&&void 0!==t?t:window;if(!(r&&r.addEventListener))return;let a=e=>o.current(e);return r.addEventListener(e,a,i),()=>{r.removeEventListener(e,a,i)}},[e,n,i])},a=function(e,t){let n=(0,r.useRef)(e);s(()=>{n.current=e},[e]),(0,r.useEffect)(()=>{if(!t&&0!==t)return;let e=setInterval(()=>n.current(),t);return()=>clearInterval(e)},[t])},s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,l=function(e,t,n="mousedown"){o(n,n=>{let r=null==e?void 0:e.current;!r||r.contains(n.target)||t(n)})}},83801:function(e){function t(e,t){this.v=e,this.k=t}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},73897:function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},85372:function(e){function t(e){if(Array.isArray(e))return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},66115:function(e){function t(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},17156:function(e){function t(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function n(e){return function(){var n=this,r=arguments;return new Promise(function(i,o){var a=e.apply(n,r);function s(e){t(a,i,o,s,l,"next",e)}function l(e){t(a,i,o,s,l,"throw",e)}s(void 0)})}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},56690:function(e){function t(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},3515:function(e,t,n){var r=n(69617),i=n(6015);function o(e,t,n){if(r())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var a=new(e.bind.apply(e,o));return n&&i(a,n.prototype),a}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},89728:function(e,t,n){var r=n(64062);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},38416:function(e,t,n){var r=n(64062);function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},73808:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61655:function(e,t,n){var r=n(6015);function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports}
vendor: 6,678 bytes, line 5
5,64836:function(e){function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},46035:function(e){function t(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},69617:function(e){function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},68872:function(e){function t(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},12218:function(e){function t(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},94993:function(e,t,n){var r=n(18698).default,i=n(66115);function o(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return i(e)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},72331:function(e,t,n){var r=n(61169);function i(){var t,n,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function l(e,i,o,a){var s=Object.create((i&&i.prototype instanceof c?i:c).prototype);return r(s,"_invoke",function(e,r,i){var o,a,s,l=0,c=i||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,a=0,s=t,f.n=n,u}};function p(e,r){for(a=e,s=r,n=0;!d&&l&&!i&&n<c.length;n++){var i,o=c[n],p=f.p,h=o[2];e>3?(i=h===r)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=e<2&&p<o[1])?(a=0,f.v=r,f.n=o[1]):p<h&&(i=e<3||o[0]>r||r>h)&&(o[4]=e,o[5]=r,f.n=h,a=0))}if(i||e>1)return u;throw d=!0,r}return function(i,c,h){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,h),a=c,s=h;(n=a<2?t:s)||!d;){o||(a?a<3?(a>1&&(f.n=-1),p(a,s)):f.n=s:f.v=s);try{if(l=2,o){if(a||(i="next"),n=o[i]){if(!(n=n.call(o,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=o.return)&&n.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((n=(d=f.n<0)?s:e.call(r,f))!==u)break}catch(e){o=t,a=1,s=e}finally{l=1}}return{value:n,done:d}}}(e,o,a),!0),s}var u={};function c(){}function d(){}function f(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=f.prototype=c.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return d.prototype=f,r(h,"constructor",f),r(f,"constructor",d),d.displayName="GeneratorFunction",r(f,s,"GeneratorFunction"),r(h),r(h,s,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=i=function(){return{w:l,m:m}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},34132:function(e,t,n){var r=n(91034);function i(e,t,n,i,o){var a=r(e,t,n,i,o);return a.next().then(function(e){return e.done?e.value:a.next()})}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},91034:function(e,t,n){var r=n(72331),i=n(73524);function o(e,t,n,o,a){return new i(r().w(e,t,n,o),a||Promise)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},73524:function(e,t,n){var r=n(83801),i=n(61169);function o(e,t){var n;function a(n,i,o,s){try{var l=e[n](i),u=l.value;return u instanceof r?t.resolve(u.v).then(function(e){a("next",e,o,s)},function(e){a("throw",e,o,s)}):t.resolve(u).then(function(e){l.value=e,o(l)},function(e){return a("throw",e,o,s)})}catch(e){s(e)}}this.next||(i(o.prototype),i(o.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(e,r,i){function o(){return new t(function(t,n){a(e,i,t,n)})}return n=n?n.then(o,o):o()},!0)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},61169:function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}e.exports=t=function(e,n,r,i){function o(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!i,configurable:!i,writable:!i}):e[n]=r:(o("next",0),o("throw",1),o("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},62261:function(e){function t(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},17061:function(e,t,n){var r=n(83801),i=n(72331),o=n(34132),a=n(91034),s=n(73524),l=n(62261),u=n(38249);function c(){"use strict";var t=i(),n=t.m(c),d=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function f(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))}var p={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,i,o){return t.resultName=i,n(r.d,u(e),o)},finish:function(e){return n(r.f,e)}},n=function(e,n,i){r.p=t.prev,r.n=t.next;try{return e(n,i)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=c=function(){return{wrap:function(e,n,r,i){return t.w(h(e),n,r,i&&i.reverse())},isGeneratorFunction:f,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:s,async:function(e,t,n,r,i){return(f(t)?a:o)(h(e),t,n,r,i)},keys:l,values:u}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=c,e.exports.__esModule=!0,e.exports.default=e.exports},38249:function(e,t,n){var r=n(18698).default;function i(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);
5if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw TypeError(r(e)+" is not iterable")}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27424:function(e,t,n){var r=n(85372),i=n(68872),o=n(86116),a=n(12218);function s(e,t){return r(e)||i(e,t)||o(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},95036:function(e,t,n){var r=n(18698).default;function i(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},64062:function(e,t,n){var r=n(18698).default,i=n(95036);function o(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,n){var r=n(73897);function i(e,t){if(e){if("string"==typeof e)return r(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},33496:function(e,t,n){var r=n(73808),i=n(6015),o=n(46035),a=n(3515);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},64687:function(e,t,n){var r=n(17061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},87462:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},10491:function(e,t,n){"use strict";n.d(t,{ee:function(){return tv},Eh:function(){return ty},VY:function(){return tg},fC:function(){return tm},D7:function(){return e7}});var r=n(87462),i=n(67294);let o=["top","right","bottom","left"],a=Math.min,s=Math.max,l=Math.round,u=Math.floor,c=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function p(e,t,n){return s(e,a(t,n))}function h(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}function b(e){return["top","bottom"].includes(m(e))?"y":"x"}function w(e){return g(b(e))}function x(e,t,n){void 0===n&&(n=!1);let r=v(e),i=w(e),o=y(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=C(a)),[a,C(a)]}function E(e){let t=C(e);return[_(e),t,_(t)]}function _(e){return e.replace(/start|end/g,e=>f[e])}
5function k(e,t,n){let r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?o:a;default:return[]}}function S(e,t,n,r){let i=v(e),o=k(m(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(_)))),o}function C(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function O(e){return{top:0,right:0,bottom:0,left:0,...e}}function T(e){return"number"!=typeof e?O(e):{top:e,right:e,bottom:e,left:e}}function j(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function P(e,t,n){let r,{reference:i,floating:o}=e,a=b(t),s=w(t),l=y(s),u=m(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,p=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(v(t)){case"start":r[s]-=p*(n&&c?-1:1);break;case"end":r[s]+=p*(n&&c?-1:1)}return r}let R=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=P(u,r,l),f=r,p={},h=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:v,y:g,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});if(c=null!=v?v:c,d=null!=g?g:d,p={...p,[o]:{...p[o],...y}},b&&h<=50){h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=P(u,f,l)),n=-1;continue}}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}};async function A(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=h(t,e),m=T(p),v="floating"===d?"reference":"floating",g=s[f?v:d],y=j(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),b="floating"===d?{...a.floating,x:r,y:i}:a.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},E=j(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:w,strategy:l}):b);return{top:(y.top-E.top+m.top)/x.y,bottom:(E.bottom-y.bottom+m.bottom)/x.y,left:(y.left-E.left+m.left)/x.x,right:(E.right-y.right+m.right)/x.x}}let I=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=h(e,t)||{};if(null==c)return{};let f=T(d),m={x:n,y:r},g=w(i),b=y(g),x=await s.getDimensions(c),E="y"===g,_=E?"top":"left",k=E?"bottom":"right",S=E?"clientHeight":"clientWidth",C=o.reference[b]+o.reference[g]-m[g]-o.floating[b],O=m[g]-o.reference[g],j=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),P=j?j[S]:0;P&&await (null==s.isElement?void 0:s.isElement(j))||(P=l.floating[S]||o.floating[b]);let R=C/2-O/2,A=P/2-x[b]/2-1,I=a(f[_],A),M=a(f[k],A),L=I,N=P-x[b]-M,D=P/2-x[b]/2+R,F=p(L,D,N),z=!u.arrow&&null!=v(i)&&D!=F&&o.reference[b]/2-(D<L?I:M)-x[b]/2<0,B=z?D<L?D-L:D-N:0;return{[g]:m[g]+B,data:{[g]:F,centerOffset:D-F-B,...z&&{alignmentOffset:B}},reset:z}}}),M=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:p=!0,crossAxis:v=!0,fallbackPlacements:g,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,..._}=h(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let k=m(s),O=m(c)===c,T=await (null==d.isRTL?void 0:d.isRTL(f.floating)),j=g||(O||!w?[C(c)]:E(c));g||"none"===b||j.push(...S(c,w,b,T));let P=[c,...j],R=await A(t,_),I=[],M=(null==(r=l.flip)?void 0:r.overflows)||[];if(p&&I.push(R[k]),v){let e=x(s,u,T);I.push(R[e[0]],R[e[1]])}if(M=[...M,{placement:s,overflows:I}],!I.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=P[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(o=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>
5e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(y){case"bestFit":{let e=null==(a=M.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}};function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return o.some(t=>e[t]>=0)}let D=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=h(e,t);switch(r){case"referenceHidden":{let e=L(await A(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{let e=L(await A(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}};async function F(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=m(n),s=v(n),l="y"===b(n),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,d=h(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof g&&(p="end"===s?-1*g:g),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}let z=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:r}=t,i=await F(t,e);return{x:n+i.x,y:r+i.y,data:i}}}},B=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=h(e,t),u={x:n,y:r},c=await A(t,l),d=b(m(i)),f=g(d),v=u[f],y=u[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=v+c[e],r=v-c[t];v=p(n,v,r)}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=y+c[e],r=y-c[t];y=p(n,y,r)}let w=s.fn({...t,[f]:v,[d]:y});return{...w,data:{x:w.x-n,y:w.y-r}}}}},U=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=h(e,t),c={x:n,y:r},d=b(i),f=g(d),p=c[f],v=c[d],y=h(s,t),w="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+w.mainAxis,n=o.reference[f]+o.reference[e]-w.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var x,E;let e="y"===f?"width":"height",t=["top","left"].includes(m(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(x=a.offset)?void 0:x[d])||0)+(t?0:w.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[d])||0)-(t?w.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[f]:p,[d]:v}}}},V=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r;let{placement:i,rects:o,platform:l,elements:u}=t,{apply:c=()=>{},...d}=h(e,t),f=await A(t,d),p=m(i),g=v(i),y="y"===b(i),{width:w,height:x}=o.floating;"top"===p||"bottom"===p?(n=p,r=g===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(r=p,n="end"===g?"top":"bottom");let E=x-f[n],_=w-f[r],k=!t.middlewareData.shift,S=E,C=_;if(y){let e=w-f.left-f.right;C=g||k?a(_,e):e}else{let e=x-f.top-f.bottom;S=g||k?a(E,e):e}if(k&&!g){let e=s(f.left,0),t=s(f.right,0),n=s(f.top,0),r=s(f.bottom,0);y?C=w-2*(0!==e||0!==t?e+t:s(f.left,f.right)):S=x-2*(0!==n||0!==r?n+r:s(f.top,f.bottom))}await c({...t,availableWidth:C,availableHeight:S});let O=await l.getDimensions(u.floating);return w!==O.width||x!==O.height?{reset:{rects:!0}}:{}}}};function H(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function q(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return e instanceof Node||e instanceof q(e).Node}function K(e){return e instanceof Element||e instanceof q(e).Element}function $(e){return e instanceof HTMLElement||e instanceof q(e).HTMLElement}function G(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof q(e).ShadowRoot)}function Q(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=en(e);
5return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Y(e){return["table","td","th"].includes(H(e))}function X(e){let t=ee(),n=en(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function J(e){let t=ei(e);for(;$(t)&&!et(t);){if(X(t))return t;t=ei(t)}return null}function ee(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function et(e){return["html","body","#document"].includes(H(e))}function en(e){return q(e).getComputedStyle(e)}function er(e){return K(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ei(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||G(e)&&e.host||W(e);return G(t)?t.host:t}function eo(e){let t=ei(e);return et(t)?e.ownerDocument?e.ownerDocument.body:e.body:$(t)&&Q(t)?t:eo(t)}function ea(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=eo(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=q(i);return o?t.concat(a,a.visualViewport||[],Q(i)?i:[],a.frameElement&&n?ea(a.frameElement):[]):t.concat(i,ea(i,[],n))}function es(e){let t=en(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=$(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function el(e){return K(e)?e:e.contextElement}function eu(e){let t=el(e);if(!$(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=es(t),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let ec=c(0);function ed(e){let t=q(e);return ee()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ec}function ef(e,t,n){return void 0===t&&(t=!1),!!n&&(!t||n===q(e))&&t}function ep(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),o=el(e),a=c(1);t&&(r?K(r)&&(a=eu(r)):a=eu(e));let s=ef(o,n,r)?ed(o):c(0),l=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(o){let e=q(o),t=r&&K(r)?q(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=eu(n),t=n.getBoundingClientRect(),r=en(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=i,u+=o,n=q(n).frameElement}}return j({width:d,height:f,x:l,y:u})}function eh(e){return ep(W(e)).left+er(e).scrollLeft}function em(e){let t=W(e),n=er(e),r=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=s(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eh(e),l=-n.scrollTop;return"rtl"===en(r).direction&&(a+=s(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}function ev(e,t){let n=q(e),r=W(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=ee();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}function eg(e,t){let n=ep(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=$(e)?eu(e):c(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}function ey(e,t,n){let r;if("viewport"===t)r=ev(e,n);else if("document"===t)r=em(W(e));else if(K(t))r=eg(t,n);else{let n=ed(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return j(r)}function eb(e,t){let n=ei(e);return!(n===t||!K(n)||et(n))&&("fixed"===en(n).position||eb(n,t))}function ew(e,t){let n=t.get(e);if(n)return n;let r=ea(e,[],!1).filter(e=>K(e)&&"body"!==H(e)),i=null,o="fixed"===en(e).position,a=o?ei(e):e;for(;K(a)&&!et(a);){let t=en(a),n=X(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||Q(a)&&!n&&eb(e,a))?r=r.filter(e=>e!==a):i=t,a=ei(a)}return t.set(e,r),r}function ex(e,t,n){let r=$(t),i=W(t),o="fixed"===n,a=ep(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=c(0);if(r||!r&&!o){if(("body"!==H(t)||Q(i))&&(s=er(t)),r){let e=ep(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=eh(i))}return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function eE(e,t){return $(e)&&"fixed"!==en(e).position?t?t(e):e.offsetParent:null}function e_(e,t){let n=q(e);if(!$(e))return n;let r=eE(e,t);for(;r&&Y(r)&&"static"===en(r).position;)r=eE(r,t);return r&&("html"===H(r)||"body"===H(r)&&"static"===en(r).position&&!X(r))?n:r||J(e)||n}let ek=async function(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||e_,o=this.getDimensions;return{reference:ex(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},eS={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=$(n),o=W(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},s=c(1),l=c(0);if((i||!i&&"fixed"!==r)&&(("body"!==H(n)||Q(o))&&(a=er(n)),$(n))){let e=ep(n);s=eu(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?ew(t,this._c):[].concat(n),r],l=o[0],u=o.reduce((e,n)=>{let r=ey(t,n,i);return e.top=s(r.top,e.top),e.right=a(r.right,e.right),e.bottom=a(r.bottom,e.bottom),e.left=s(r.left,e.left),e},ey(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:e_,getElementRects:ek,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return es(e)},getScale:eu,isElement:K,isRTL:function(e){return"rtl"===en(e).direction}};function eC(e,t){let n,r=null,i=W(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}function l(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),o();let{left:f,top:p,width:h,height:m}=e.getBoundingClientRect();if(c||t(),!h||!m)return;let v=u(p),g={rootMargin:-v+"px "+-u(i.clientWidth-(f+h))+"px "+-u(i.clientHeight-(p+m))+"px "+-u(f)+"px",threshold:s(0,a(1,d))||1},y=!0;function b(e){let t=e[0].intersectionRatio;if(t!==d){if(!y)return l();t?l(!1,t):n=setTimeout(()=>{l(!1,1e-7)},100)}y=!1}try{r=new IntersectionObserver(b,{...g,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,g)}r.observe(e)}return l(!0),o}function eO(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=el(e),d=o||a?[...c?ea(c):[],...ea(t)]:[];
5d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&l?eC(c,n):null,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{h&&h.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?ep(e):null;function v(){let t=ep(e);m&&(t.x!==m.x||t.y!==m.y||t.width!==m.width||t.height!==m.height)&&n(),m=t,i=requestAnimationFrame(v)}return u&&v(),n(),()=>{d.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),f&&f(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(i)}}let eT=(e,t,n)=>{let r=new Map,i={platform:eS,...n},o={...i.platform,_c:r};return R(e,t,{...i,platform:o})};var ej=n(73935);let eP=e=>{function t(e){return({}).hasOwnProperty.call(e,"current")}return{name:"arrow",options:e,fn(n){let{element:r,padding:i}="function"==typeof e?e(n):e;if(r&&t(r)){if(null!=r.current)return I({element:r.current,padding:i}).fn(n)}else if(r)return I({element:r,padding:i}).fn(n);return{}}}};var eR="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function eA(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!eA(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eA(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eI(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eM(e,t){let n=eI(e);return Math.round(t*n)/n}function eL(e){let t=i.useRef(e);return eR(()=>{t.current=e}),t}function eN(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,f]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=i.useState(r);eA(p,r)||h(r);let[m,v]=i.useState(null),[g,y]=i.useState(null),b=i.useCallback(e=>{e!=_.current&&(_.current=e,v(e))},[v]),w=i.useCallback(e=>{e!==k.current&&(k.current=e,y(e))},[y]),x=a||m,E=s||g,_=i.useRef(null),k=i.useRef(null),S=i.useRef(d),C=eL(u),O=eL(o),T=i.useCallback(()=>{if(!_.current||!k.current)return;let e={placement:t,strategy:n,middleware:p};O.current&&(e.platform=O.current),eT(_.current,k.current,e).then(e=>{let t={...e,isPositioned:!0};j.current&&!eA(S.current,t)&&(S.current=t,ej.flushSync(()=>{f(t)}))})},[p,t,n,O]);eR(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let j=i.useRef(!1);eR(()=>(j.current=!0,()=>{j.current=!1}),[]),eR(()=>{if(x&&(_.current=x),E&&(k.current=E),x&&E){if(C.current)return C.current(x,E,T);T()}},[x,E,T,C]);let P=i.useMemo(()=>({reference:_,floating:k,setReference:b,setFloating:w}),[b,w]),R=i.useMemo(()=>({reference:x,floating:E}),[x,E]),A=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=eM(R.floating,d.x),r=eM(R.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eI(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,R.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:T,refs:P,elements:R,floatingStyles:A}),[d,T,P,R,A])}function eD(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function eF(...e){return t=>e.forEach(e=>eD(e,t))}let ez=(0,i.forwardRef)((e,t)=>{let{children:n,...o}=e,a=i.Children.toArray(n),s=a.find(eV);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(eB,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(eB,(0,r.Z)({},o,{ref:t}),n)});ez.displayName="Slot";let eB=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...eH(r,n.props),ref:t?eF(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});eB.displayName="SlotClone";let eU=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function eV(e){return(0,i.isValidElement)(e)&&e.type===eU}function eH(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}
5:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let eq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,i.forwardRef)((e,n)=>{let{asChild:o,...a}=e,s=o?ez:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(s,(0,r.Z)({},a,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),eW=(0,i.forwardRef)((e,t)=>{let{children:n,width:o=10,height:a=5,...s}=e;return(0,i.createElement)(eq.svg,(0,r.Z)({},s,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,i.createElement)("polygon",{points:"0,0 30,0 15,10"}))});function eZ(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function eK(...e){return t=>e.forEach(e=>eZ(e,t))}function e$(...e){return(0,i.useCallback)(eK(...e),e)}function eG(e,t=[]){let n=[];function r(t,r){let o=(0,i.createContext)(r),a=n.length;function s(t){let{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][a])||o,u=(0,i.useMemo)(()=>s,Object.values(s));return(0,i.createElement)(l.Provider,{value:u},r)}function l(n,s){let l=(null==s?void 0:s[e][a])||o,u=(0,i.useContext)(l);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],s.displayName=t+"Provider",[s,l]}let o=()=>{let t=n.map(e=>(0,i.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,i.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return o.scopeName=e,[r,eQ(o,...t)]}function eQ(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return(0,i.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}let eY=(0,i.forwardRef)((e,t)=>{let{children:n,...o}=e,a=i.Children.toArray(n),s=a.find(e0);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(eX,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(eX,(0,r.Z)({},o,{ref:t}),n)});eY.displayName="Slot";let eX=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...e1(r,n.props),ref:t?eK(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});eX.displayName="SlotClone";let eJ=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function e0(e){return(0,i.isValidElement)(e)&&e.type===eJ}function e1(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let e2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,i.forwardRef)((e,n)=>{let{asChild:o,...a}=e,s=o?eY:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(s,(0,r.Z)({},a,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function e4(e){let t=(0,i.useRef)(e);return(0,i.useEffect)(()=>{t.current=e}),(0,i.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}let e5=(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:()=>{},e3=(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:()=>{};function e6(e){let[t,n]=(0,i.useState)(void 0);return e3(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}let e9="Popper",[e8,e7]=eG(e9),[te,tt]=e8(e9),tn=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,i.useState)(null);return(0,i.createElement)(te,{scope:t,anchor:r,onAnchorChange:o},n)},tr="PopperAnchor",ti=(0,i.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:o,...a}=e,s=tt(tr,n),l=(0,i.useRef)(null),u=e$(t,l);return(0,i.useEffect)(()=>{s.onAnchorChange((null==o?void 0:o.current)||l.current)}),o?null:(0,i.createElement)(e2.div,(0,r.Z)({},a,{ref:u}))}),to="PopperContent",[ta,ts]=e8(to),tl=(0,i.forwardRef)((e,t)=>{var n,o,a,s,l,u,c,d;let{__scopePopper:f,side:p="bottom",sideOffset:h=0,align:m="center",alignOffset:v=0,arrowPadding:g=0,avoidCollisions:y=!0,collisionBoundary:b=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:_="optimized",onPlaced:k,...S}=e,C=tt(to,f),[O,T]=(0,i.useState)(null),j=e$(t,e=>T(e)),[P,R]=(0,i.useState)(null),A=e6(P),I=null!==(n=null==A?void 0:A.width)&&void 0!==n?n:0,L=null!==(o=null==A?void 0:A.height)&&void 0!==o?o:0,N=p+("center"!==m?"-"+m:""),F="number"==typeof w?w:{top:0,right:0,bottom:0,left:0,...w},H=Array.isArray(b)?b:[b],q=H.length>0,W={padding:F,boundary:H.filter(tf),altBoundary:q},{refs:Z,floatingStyles:K,placement:$,isPositioned:G,middlewareData:Q}=eN({strategy:"fixed",placement:N,whileElementsMounted:(...e)=>eO(...e,{animationFrame:"always"===_}),elements:{reference:C.anchor},middleware:[z({mainAxis:h+L,alignmentAxis:v}),y&&B({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?U():void 0,...W}),y&&M({...W}),V({...W,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),P&&eP({element:P,padding:g}),tp({arrowWidth:I,arrowHeight:L}),E&&D({strategy:"referenceHidden",...W})]}),[Y,X]=th($),J=e4(k);e5(()=>{G&&(null==J||J())},[G,J]);let ee=null===(a=Q.arrow)||void 0===a?void 0:a.x,et=null===(s=Q.arrow)||void 0===s?void 0:s.y,en=(null===(l=Q.arrow)||void 0===l?void 0:l.centerOffset)!==0,[er,ei]=(0,i.useState)();return e5(()=>{O&&ei(window.getComputedStyle(O).zIndex)},[O]),(0,i.createElement)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:G?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[null===(u=Q.transformOrigin)||void 0===u?void 0:u.x,null===(c=Q.transformOrigin)||void 0===c?void 0:c.y].join(" ")},dir:e.dir},(0,i.createElement)(ta,{scope:f,placedSide:Y,onArrowChange:R,arrowX:ee,arrowY:et,shouldHideArrow:en},(0,i.createElement)(e2.div,(0,r.Z)({"data-side":Y,"data-align":X},S,{ref:j,style:{...S.style,animation:G?void 0:"none",opacity:null!==(d=Q.hide)&&void 0!==d&&d.referenceHidden?0:void 0}}))))}),tu="PopperArrow",tc={top:"bottom",right:"left",bottom:"top",left:"r
5ight"},td=(0,i.forwardRef)(function(e,t){let{__scopePopper:n,...o}=e,a=ts(tu,n),s=tc[a.placedSide];return(0,i.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,i.createElement)(eW,(0,r.Z)({},o,{ref:t,style:{...o.style,display:"block"}})))});function tf(e){return null!==e}let tp=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=th(s),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(r=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==r?r:0)+d/2,g=(null!==(o=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+f/2,y="",b="";return"bottom"===p?(y=c?m:`${v}px`,b=`${-f}px`):"top"===p?(y=c?m:`${v}px`,b=`${l.floating.height+f}px`):"right"===p?(y=`${-f}px`,b=c?m:`${g}px`):"left"===p&&(y=`${l.floating.width+f}px`,b=c?m:`${g}px`),{data:{x:y,y:b}}}});function th(e){let[t,n="center"]=e.split("-");return[t,n]}let tm=tn,tv=ti,tg=tl,ty=td},93090:function(e,t,n){"use strict";n.d(t,{h:function(){return h}});var r=n(87462),i=n(67294),o=n(73935);function a(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function s(...e){return t=>e.forEach(e=>a(e,t))}let l=(0,i.forwardRef)((e,t)=>{let{children:n,...o}=e,a=i.Children.toArray(n),s=a.find(d);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(u,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(u,(0,r.Z)({},o,{ref:t}),n)});l.displayName="Slot";let u=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...f(r,n.props),ref:t?s(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});u.displayName="SlotClone";let c=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function d(e){return(0,i.isValidElement)(e)&&e.type===c}function f(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,i.forwardRef)((e,n)=>{let{asChild:o,...a}=e,s=o?l:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(s,(0,r.Z)({},a,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),h=(0,i.forwardRef)((e,t)=>{var n;let{container:a=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...s}=e;return a?o.createPortal((0,i.createElement)(p.div,(0,r.Z)({},s,{ref:t})),a):null})},51606:function(e,t,n){"use strict";let r;n.d(t,{Eh:function(){return eO},VY:function(){return eC},h_:function(){return eS},fC:function(){return e_},pn:function(){return X},xz:function(){return ek}});var i=n(87462),o=n(67294),a=n.t(o,2);function s(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function l(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function u(...e){return t=>e.forEach(e=>l(e,t))}function c(...e){return(0,o.useCallback)(u(...e),e)}function d(e,t=[]){let n=[];function r(t,r){let i=(0,o.createContext)(r),a=n.length;function s(t){let{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][a])||i,u=(0,o.useMemo)(()=>s,Object.values(s));return(0,o.createElement)(l.Provider,{value:u},r)}function l(n,s){let l=(null==s?void 0:s[e][a])||i,u=(0,o.useContext)(l);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],s.displayName=t+"Provider",[s,l]}let i=()=>{let t=n.map(e=>(0,o.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,o.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,f(i,...t)]}function f(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return(0,o.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}var p=n(73935);let h=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e,a=o.Children.toArray(n),s=a.find(g);
5if(s){let e=s.props.children,n=a.map(t=>t!==s?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(m,(0,i.Z)({},r,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(m,(0,i.Z)({},r,{ref:t}),n)});h.displayName="Slot";let m=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...y(r,n.props),ref:t?u(t,n.ref):n.ref}):o.Children.count(n)>1?o.Children.only(null):null});m.displayName="SlotClone";let v=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function g(e){return(0,o.isValidElement)(e)&&e.type===v}function y(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}let b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,o.forwardRef)((e,n)=>{let{asChild:r,...a}=e,s=r?h:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(s,(0,i.Z)({},a,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function w(e,t){e&&(0,p.flushSync)(()=>
5e.dispatchEvent(t))}function x(e){let t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function E(e,t=null==globalThis?void 0:globalThis.document){let n=x(e);(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}let _="dismissableLayer.update",k="dismissableLayer.pointerDownOutside",S="dismissableLayer.focusOutside",C=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),O=(0,o.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,...h}=e,m=(0,o.useContext)(C),[v,g]=(0,o.useState)(null),y=null!==(n=null==v?void 0:v.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,w]=(0,o.useState)({}),x=c(t,e=>g(e)),k=Array.from(m.layers),[S]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),O=k.indexOf(S),R=v?k.indexOf(v):-1,A=m.layersWithOutsidePointerEventsDisabled.size>0,I=R>=O,M=T(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));!I||n||(null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p())},y),L=j(e=>{let t=e.target;[...m.branches].some(e=>e.contains(t))||(null==d||d(e),null==f||f(e),e.defaultPrevented||null==p||p())},y);return E(e=>{R!==m.layers.size-1||(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},y),(0,o.useEffect)(()=>{if(v)return a&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(r=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),P(),()=>{a&&1===m.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=r)}},[v,y,a,m]),(0,o.useEffect)(()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),P())},[v,m]),(0,o.useEffect)(()=>{let e=()=>w({});return document.addEventListener(_,e),()=>document.removeEventListener(_,e)},[]),(0,o.createElement)(b.div,(0,i.Z)({},h,{ref:x,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:s(e.onFocusCapture,L.onFocusCapture),onBlurCapture:s(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:s(e.onPointerDownCapture,M.onPointerDownCapture)}))});function T(e,t=null==globalThis?void 0:globalThis.document){let n=x(e),r=(0,o.useRef)(!1),i=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function o(){R(k,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function j(e,t=null==globalThis?void 0:globalThis.document){let n=x(e),r=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!r.current&&R(S,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function P(){let e=new CustomEvent(_);document.dispatchEvent(e)}function R(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?w(i,o):i.dispatchEvent(o)}let A=(null==globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{},I=a["useId".toString()]||(()=>void 0),M=0;function L(e){let[t,n]=o.useState(I());return A(()=>{e||n(e=>null!=e?e:String(M++))},[e]),e||(t?`radix-${t}`:"")}var N=n(10491),D=n(93090);function F(e,t){return(0,o.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}let z=e=>{let{present:t,children:n}=e,r=B(t),i="function"==typeof n?n({present:r.isPresent}):o.Children.only(n),a=c(r.ref,i.ref);return"function"==typeof n||r.isPresent?(0,o.cloneElement)(i,{ref:a}):null};function B(e){let[t,n]=(0,o.useState)(),r=(0,o.useRef)({}),i=(0,o.useRef)(e),a=(0,o.useRef)("none"),[s,l]=F(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,o.useEffect)(()=>{let e=U(r.current);a.current="mounted"===s?e:"none"},[s]),A(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=U(t);if(e)l("MOUNT");else if("none"===o||(null==t?void 0:t.display)==="none")l("UNMOUNT");else{let e=r!==o;n&&e?l("ANIMATION_OUT"):l("UNMOUNT")}i.current=e}},[e,l]),A(()=>{if(t){let e=e=>{let n=U(r.current).includes(e.animationName);e.target===t&&n&&(0,p.flushSync)(()=>l("ANIMATION_END"))},n=e=>{e.target===t&&(a.current=U(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,o.useCallback)(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}function U(e){return(null==e?void 0:e.animationName)||"none"}function V({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=H({defaultProp:t,onChange:n}),a=void 0!==e,s=a?e:r,l=x(n);return[s,(0,o.useCallback)(t=>{if(a){let n=t,r="function"==typeof t?n(e):t;r!==e&&l(r)}else i(t)},[a,e,i,l])]}function H({defaultProp:e,onChange:t}){let n=(0,o.useState)(e),[r]=n,i=(0,o.useRef)(r),a=x(t);return(0,o.useEffect)(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}z.displayName="Presence";let q=(0,o.forwardRef)((e,t)=>(0,o.createElement)(b.span,(0,i.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[W,Z]=d("Tooltip",[N.D7]),K=(0,N.D7)(),$=700,G="tooltip.open",[Q,Y]=W("TooltipProvider"),X=e=>{let{__scopeTooltip:t,delayDuration:n=$,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,[s,l]=(0,o.useState)(!0),u=(0,o.useRef)(!1),c=(0,o.useRef)(0);return(0,o.useEffect)(()=>
5{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,o.createElement)(Q,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:(0,o.useCallback)(()=>{window.clearTimeout(c.current),l(!1)},[]),onClose:(0,o.useCallback)(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:(0,o.useCallback)(e=>{u.current=e},[]),disableHoverableContent:i},a)},J="Tooltip",[ee,et]=W(J),en=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:l}=e,u=Y(J,e.__scopeTooltip),c=K(t),[d,f]=(0,o.useState)(null),p=L(),h=(0,o.useRef)(0),m=null!=s?s:u.disableHoverableContent,v=null!=l?l:u.delayDuration,g=(0,o.useRef)(!1),[y=!1,b]=V({prop:r,defaultProp:i,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(G))):u.onClose(),null==a||a(e)}}),w=(0,o.useMemo)(()=>y?g.current?"delayed-open":"instant-open":"closed",[y]),x=(0,o.useCallback)(()=>{window.clearTimeout(h.current),g.current=!1,b(!0)},[b]),E=(0,o.useCallback)(()=>{window.clearTimeout(h.current),b(!1)},[b]),_=(0,o.useCallback)(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{g.current=!0,b(!0)},v)},[v,b]);return(0,o.useEffect)(()=>()=>window.clearTimeout(h.current),[]),(0,o.createElement)(N.fC,c,(0,o.createElement)(ee,{scope:t,contentId:p,open:y,stateAttribute:w,trigger:d,onTriggerChange:f,onTriggerEnter:(0,o.useCallback)(()=>{u.isOpenDelayed?_():x()},[u.isOpenDelayed,_,x]),onTriggerLeave:(0,o.useCallback)(()=>{m?E():window.clearTimeout(h.current)},[E,m]),onOpen:x,onClose:E,disableHoverableContent:m},n))},er="TooltipTrigger",ei=(0,o.forwardRef)((e,t)=>{let{__scopeTooltip:n,...r}=e,a=et(er,n),l=Y(er,n),u=K(n),d=c(t,(0,o.useRef)(null),a.onTriggerChange),f=(0,o.useRef)(!1),p=(0,o.useRef)(!1),h=(0,o.useCallback)(()=>f.current=!1,[]);return(0,o.useEffect)(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,o.createElement)(N.ee,(0,i.Z)({asChild:!0},u),(0,o.createElement)(b.button,(0,i.Z)({"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute},r,{ref:d,onPointerMove:s(e.onPointerMove,e=>{"touch"===e.pointerType||p.current||l.isPointerInTransitRef.current||(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:s(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:s(e.onPointerDown,()=>{f.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:s(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:s(e.onBlur,a.onClose),onClick:s(e.onClick,a.onClose)})))}),eo="TooltipPortal",[ea,es]=W(eo,{forceMount:void 0}),el=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=et(eo,t);return(0,o.createElement)(ea,{scope:t,forceMount:n},(0,o.createElement)(z,{present:n||a.open},(0,o.createElement)(D.h,{asChild:!0,container:i},r)))},eu="TooltipContent",ec=(0,o.forwardRef)((e,t)=>{let n=es(eu,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...s}=e,l=et(eu,e.__scopeTooltip);return(0,o.createElement)(z,{present:r||l.open},l.disableHoverableContent?(0,o.createElement)(eh,(0,i.Z)({side:a},s,{ref:t})):(0,o.createElement)(ed,(0,i.Z)({side:a},s,{ref:t})))}),ed=(0,o.forwardRef)((e,t)=>{let n=et(eu,e.__scopeTooltip),r=Y(eu,e.__scopeTooltip),a=(0,o.useRef)(null),s=c(t,a),[l,u]=(0,o.useState)(null),{trigger:d,onClose:f}=n,p=a.current,{onPointerInTransitChange:h}=r,m=(0,o.useCallback)(()=>{u(null),h(!1)},[h]),v=(0,o.useCallback)((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=eg(r,n.getBoundingClientRect());u(ex([...ey(r,i),...eb(t.getBoundingClientRect())])),h(!0)},[h]);return(0,o.useEffect)(()=>()=>m(),[m]),(0,o.useEffect)(()=>{if(d&&p){let e=e=>v(e,p),t=e=>v(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,v,m]),(0,o.useEffect)(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==d?void 0:d.contains(t))||(null==p?void 0:p.contains(t)),i=!ew(n,l);r?m():i&&(m(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,l,f,m]),(0,o.createElement)(eh,(0,i.Z)({},e,{ref:s}))}),[ef,ep]=W(J,{isInside:!1}),eh=(0,o.forwardRef)((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:l,...u}=e,c=et(eu,n),d=K(n),{onClose:f}=c;return(0,o.useEffect)(()=>(document.addEventListener(G,f),()=>document.removeEventListener(G,f)),[f]),(0,o.useEffect)(()=>
5{if(c.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(c.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,f]),(0,o.createElement)(O,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:f},(0,o.createElement)(N.VY,(0,i.Z)({"data-state":c.stateAttribute},d,u,{ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,o.createElement)(v,null,r),(0,o.createElement)(ef,{scope:n,isInside:!0},(0,o.createElement)(q,{id:c.contentId,role:"tooltip"},a||r))))}),em="TooltipArrow",ev=(0,o.forwardRef)((e,t)=>{let{__scopeTooltip:n,...r}=e,a=K(n);return ep(em,n).isInside?null:(0,o.createElement)(N.Eh,(0,i.Z)({},a,r,{ref:t}))});function eg(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}function ey(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function eb(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function ew(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e].x,s=t[e].y,l=t[o].x,u=t[o].y;s>r!=u>r&&n<(l-a)*(r-s)/(u-s)+a&&(i=!i)}return i}function ex(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),eE(t)}function eE(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}let e_=en,ek=ei,eS=el,eC=ec,eO=ev},91953:function(e,t,n){"use strict";n.d(t,{kP:function(){return E},pN:function(){return L},z_:function(){return R}});var r,i=n(67294),o=n(95202),a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&f(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&f(e,n,t[n]);return e},h=(e,t)=>s(e,l(t)),m=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&d.call(e,r)&&(n[r]=e[r]);return n};function v(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var g={exports:{}},y={};function b(){if(r)return y;r=1;var e=i,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,n,r){var i,l={},u=null,c=null;for(i in void 0!==r&&(u=""+r),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)o.call(n,i)&&!s.hasOwnProperty(i)&&(l[i]=n[i]);if(e&&e.defaultProps)for(i in n=e.defaultProps)void 0===l[i]&&(l[i]=n[i]);return{$$typeof:t,type:e,key:u,ref:c,props:l,_owner:a.current}}return y.Fragment=n,y.jsx=l,y.jsxs=l,y}g.exports=b();var w=g.exports;let x=(0,i.createContext)(void 0);function E(){let e=(0,i.useContext)(x);return null!=e&&e.isAlive?e:void 0}function _({target:e,handlers:t}){return null!=e&&e.isAlive?Object.keys(t).filter(e=>e.startsWith("on")).filter(e=>"function"==typeof t[e]).map(n=>w.jsx(k,{name:n,handler:t[n],target:e},n)):null}function k(e){let{handler:t}=e;return(0,i.useEffect)(()=>{var n,r;if(!(null!=(n=e.target)&&n.isAlive))return;let{name:i,target:o}="onUnreadsChange"===e.name?{name:"onChange",target:e.target.unreads}:{name:e.name,target:e.target};if("function"!=typeof o[i]){console.warn(`[@talkjs/react] Trying to handle event ${i} which does not exist on ${null==(r=null==o?void 0:o.constructor)?void 0:r.name}. Did you make a typo?`);return}let a=o[i](t);return()=>{a.unsubscribe()}},[e.target,e.name,t]),null}let S=v(function e(t,n){if(t===n)return!0;
5if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var r,i,o,a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n});function C(e){let t=(0,i.useRef)();return t.current&&S(e,t.current.val)||(t.current={val:e}),t.current.val}function O(e,t,n){t=C(t),(0,i.useEffect)(()=>{void 0!==t&&null!=e&&e.isAlive&&e[n](t)},[n,e,t])}function T(e,t,n,r){O(t,(0,i.useMemo)(()=>"function"==typeof n?null!=e&&e.isAlive?n(e):void 0:null!=n?n:r,[e,n,r]),"select")}function j(e,t,n,r){let[o,a]=(0,i.useState)();return n=C(n),(0,i.useEffect)(()=>{if(null!=e&&e.isAlive){let i=e[t](n);return a(i),r&&(r.current=i),()=>{i.destroy(),a(void 0)}}a(void 0),r&&(r.current=void 0)},[e,t,n]),o}function P(e,t){let[n,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{null!=e&&e.isAlive&&e.mount(t).then(()=>r(!0))},[e]),n}function R(e){let[t,n]=(0,i.useState)(!1),[r,a]=(0,i.useState)(),{userId:s,syncUser:l,appId:u,signature:c,sessionRef:d,desktopNotificationEnabled:f}=e;return(0,i.useEffect)(()=>{o.Z.ready.then(()=>n(!0))},[]),(0,i.useEffect)(()=>{if(t){let e="function"==typeof l?l():null!=l?l:new o.Z.User(s),t=new o.Z.Session({appId:u,me:e,signature:c});return a(t),d&&(d.current=t),()=>{t.destroy(),a(void 0),d&&(d.current=void 0)}}},[t,u,s,l,d]),O(r,f,"setDesktopNotificationEnabled"),w.jsxs(w.Fragment,{children:[w.jsx(x.Provider,{value:r,children:e.children}),w.jsx(_,{target:r,handlers:e})]})}let A=(()=>{let e=new WeakMap,t=0;return function(n){return e.has(n)||e.set(n,++t),e.get(n)}})();function I(e,t){let n={},r={};for(let[i,o]of Object.entries(e))i.startsWith(t)?n[i]=o:r[i]=o;return[n,r]}function M(e){let{box:t,loadingComponent:n,className:r,handlers:o}=e,a=(0,i.useRef)(null),s=P(t,a.current),l=s?e.style:h(p({},e.style),{display:"none"});return w.jsxs(w.Fragment,{children:[!s&&w.jsx("div",{style:e.style,className:r,children:n}),w.jsx("div",{ref:a,style:l,className:r}),w.jsx(_,{target:t,handlers:o})]})}function L(e){let t=E();if(!t)return w.jsx("div",{style:e.style,className:e.className,children:e.loadingComponent});{let n=A(t);return w.jsx(N,p({session:t},e),n)}}function N(e){let t=e,{session:n,conversationId:r,syncConversation:i,chatboxRef:o,style:a,className:s,loadingComponent:l}=t,[u,c]=I(m(t,["session","conversationId","syncConversation","chatboxRef","style","className","loadingComponent"]),"on"),d=c,{messageFilter:f,presence:p,highlightedWords:h}=d,v=j(n,"createChatbox",m(d,["messageFilter","presence","highlightedWords"]),o);return O(v,f,"setMessageFilter"),O(v,p,"setPresence"),O(v,h,"setHighlightedWords"),T(n,v,i,r),w.jsx(M,{box:v,session:n,className:s,style:a,loadingComponent:l,handlers:u})}},14905:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e){if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t)}return i}n.d(t,{j:function(){return a}});let i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i},a=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],r=null==s?void 0:s[e];if(null===t)return null;let o=i(t)||i(r);return a[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,l,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...u}[t]):({...s,...u})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},29138:function(e,t,n){"use strict";n.d(t,{d:function(){return p},f:function(){return d}});var r=n(67294),i=n(59656),o=n(83619),a=n(57110),s=n(40947),l=n(68354);let u=(0,r.createContext)(null);function c(){let e=(0,r.useContext)(u);if(null===e){let e=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,c),e}return e}function d(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,l.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),i=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return r.createElement(u.Provider,{value:i},e.children)},[t])]}let f="p",p=(0,o.yV)(function(e,t){let n=c(),r="headlessui-description-".concat((0,i.M)()),l=(0,s.T)(t);(0,a.e)(()=>n.register(r),[r,n.register]);let u=e,d={ref:l,...n.props,id:r};return(0,o.sY)({ourProps:d,theirProps:u,slot:n.slot||{},defaultTag:f,name:n.name||"Description"})})},83421:function(e,t,n){"use strict";let r,i,o,a,s;n.d(t,{V:function(){return eS}});var l=n(67294),u=n(16116),c=n(83619),d=n(40947),f=n(71237),p=n(67257),h=n(59656),m=n(77563),v=n(51228),g=n(58766),y=n(68354),b=n(39438);function w(e,t,n){let r=(0,b.E)(t);(0,l.useEffect)(()=>{function t(e){r.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}var x=((r=x||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function E(){let e=(0,l.useRef)(0);return w("keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)},!0),e}var _=n(55729),k=n(23233);function S(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,l.useMemo)(()=>(0,k.r)(...t),[...t])}function C(e,t,n,r){let i=(0,b.E)(n);(0,l.useEffect)(()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}var O=n(27378),T=n(46212);let j="div";var P=((i=P||{})[i.None=1]="None",i[i.InitialFocus=2]="InitialFocus",i[i.TabLock=4]="TabLock",i[i.FocusLock=8]="FocusLock",i[i.RestoreFocus=16]="RestoreFocus",i[i.All=30]="All",i);let R=Object.assign((0,c.yV)(function(e,t){let n=(0,l.useRef)(null),r=(0,d.T)(n,t),{initialFocus:i,containers:o,features:a=30,...s}=e;(0,m.H)()||(a=1);let f=S(n);A({ownerDocument:f},!!(16&a));let p=I({ownerDocument:f,container:n,initialFocus:i},!!(2&a));M({ownerDocument:f,container:n,containers:o,previousActiveElement:p},!!(8&a));let h=E(),b=(0,y.z)(()=>{let e=n.current;e&&(0,u.E)(h.current,{[x.Forwards]:()=>(0,g.jA)(e,g.TO.First),[x.Backwards]:()=>(0,g.jA)(e,g.TO.Last)})}),w={ref:r};return l.createElement(l.Fragment,null,!!(4&a)&&l.createElement(v._,{as:"button",type:"button",onFocus:b,features:v.A.Focusable}),(0,c.sY)({ourProps:w,theirProps:s,defaultTag:j,name:"FocusTrap"}),!!(4&a)&&l.createElement(v._,{as:"button",type:"button",onFocus:b,features:v.A.Focusable}))}),{features:P});function A(e,t){let{ownerDocument:n}=e,r=(0,l.useRef)(null);C(null==n?void 0:n.defaultView,"focusout",e=>{!t||r.current||(r.current=e.target)},!0),(0,T.q)(()=>{t||((null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,g.C5)(r.current),r.current=null)},[t]);let i=(0,l.useRef)(!1);(0,l.useEffect)(()=>(i.current=!1,()=>{i.current=!0,(0,O.Y)(()=>{i.current&&((0,g.C5)(r.current),r.current=null)})}),[])}function I(e,t){let{ownerDocument:n,container:r,initialFocus:i}=e,o=(0,l.useRef)(null),a=(0,_.t)();return(0,T.q)(()=>
5{if(!t)return;let e=r.current;e&&(0,O.Y)(()=>{if(!a.current)return;let t=null==n?void 0:n.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===t){o.current=t;return}}else if(e.contains(t)){o.current=t;return}null!=i&&i.current?(0,g.C5)(i.current):(0,g.jA)(e,g.TO.First)===g.fE.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),o.current=null==n?void 0:n.activeElement})},[t]),o}function M(e,t){let{ownerDocument:n,container:r,containers:i,previousActiveElement:o}=e,a=(0,_.t)();C(null==n?void 0:n.defaultView,"focus",e=>{if(!t||!a.current)return;let n=new Set(null==i?void 0:i.current);n.add(r);let s=o.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?L(n,l)?(o.current=l,(0,g.C5)(l)):(e.preventDefault(),e.stopPropagation(),(0,g.C5)(s)):(0,g.C5)(o.current)},!0)}function L(e,t){var n;for(let r of e)if(null!=(n=r.current)&&n.contains(t))return!0;return!1}var N=n(57110);let D=new Set,F=new Map;function z(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function B(e){let t=F.get(e);t&&(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function U(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,N.e)(()=>{if(!t||!e.current)return;let n=e.current,r=(0,k.r)(n);if(r){for(let e of(D.add(n),F.keys()))e.contains(n)&&(B(e),F.delete(e));return r.querySelectorAll("body > *").forEach(e=>{if(e instanceof HTMLElement){for(let t of D)if(e.contains(t))return;1===D.size&&(F.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),z(e))}}),()=>{if(D.delete(n),D.size>0)r.querySelectorAll("body > *").forEach(e=>{if(e instanceof HTMLElement&&!F.has(e)){for(let t of D)if(e.contains(t))return;F.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),z(e)}});else for(let e of F.keys())B(e),F.delete(e)}}},[t])}var V=n(73935);let H=(0,l.createContext)(!1);function q(){return(0,l.useContext)(H)}function W(e){return l.createElement(H.Provider,{value:e.force},e.children)}var Z=n(49462);function K(e){let t=q(),n=(0,l.useContext)(Y),r=S(e),[i,o]=(0,l.useState)(()=>{if(!t&&null!==n||Z.s)return null;let e=null==r?void 0:r.getElementById("headlessui-portal-root");if(e)return e;if(null===r)return null;let i=r.createElement("div");return i.setAttribute("id","headlessui-portal-root"),r.body.appendChild(i)});return(0,l.useEffect)(()=>{null!==i&&(null!=r&&r.body.contains(i)||null==r||r.body.appendChild(i))},[i,r]),(0,l.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),i}let $=l.Fragment,G=(0,c.yV)(function(e,t){let n=e,r=(0,l.useRef)(null),i=(0,d.T)((0,d.h)(e=>{r.current=e}),t),o=S(r),a=K(r),[s]=(0,l.useState)(()=>{var e;return Z.s?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),u=(0,m.H)(),f=(0,l.useRef)(!1);return(0,N.e)(()=>{if(f.current=!1,!(!a||!s))return a.contains(s)||(s.setAttribute("data-headlessui-portal",""),a.appendChild(s)),()=>{f.current=!0,(0,O.Y)(()=>{var e;f.current&&a&&s&&(a.removeChild(s),a.childNodes.length<=0&&(null==(e=a.parentElement)||e.removeChild(a)))})}},[a,s]),u&&a&&s?(0,V.createPortal)((0,c.sY)({ourProps:{ref:i},theirProps:n,defaultTag:$,name:"Portal"}),s):null}),Q=l.Fragment,Y=(0,l.createContext)(null),X=Object.assign(G,{Group:(0,c.yV)(function(e,t){let{target:n,...r}=e,i={ref:(0,d.T)(t)};return l.createElement(Y.Provider,{value:n},(0,c.sY)({ourProps:i,theirProps:r,defaultTag:Q,name:"Popover.Group"}))})});var J=n(29138),ee=n(1365);let et=(0,l.createContext)(()=>{});et.displayName="StackContext";var en=((o=en||{})[o.Add=0]="Add",o[o.Remove=1]="Remove",o);function er(){return(0,l.useContext)(et)}function ei(e){let{children:t,onUpdate:n,type:r,element:i,enabled:o}=e,a=er(),s=(0,y.z)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n(...t),a(...t)});return(0,N.e)(()=>{let e=void 0===o||!0===o;return e&&s(0,r,i),()=>{e&&s(1,r,i)}},[s,r,i,o]),l.createElement(et.Provider,{value:s},t)}var eo=n(382),ea=n(47122);function es(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var el=((a=el||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),eu=((s=eu||{})[s.SetTitleId=0]="SetTitleId",s);let ec={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ed=(0,l.createContext)(null);function ef(e){let t=(0,l.useContext)(ed);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,ef),t}return t}function ep(e,t){(0,l.useEffect)(()=>{var n;if(!t||!e)return;let r=(0,ea.k)();function i(e,t,n){let i=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),r.add(()=>{Object.assign(e.style,{[t]:i})})}let o=e.documentElement,a=(null!=(n=e.defaultView)?n:window).innerWidth-o.clientWidth;if(i(o,"overflow","hidden"),a>0){let e=a-(o.clientWidth-o.offsetWidth);i(o,"paddingRight","".concat(e,"px"))}if(es()){let e=window.pageYOffset;i(o,"position","fixed"),i(o,"marginTop","-".concat(e,"px")),i(o,"width","100%"),r.add(()=>window.scrollTo(0,e))}return r.dispose},[e,t])}function eh(e,t){return(0,u.E)(t.type,ec,e,t)}ed.displayName="DialogContext";let em="div",ev=c.AN.RenderStrategy|c.AN.Static,eg=(0,c.yV)(function(e,t){let{open:n,onClose:r,initialFocus:i,__demoMode:o=!1,...a}=e,[s,p]=(0,l.useState)(0),g=(0,ee.oJ)();void 0===n&&null!==g&&(n=(0,u.E)(g,{[ee.ZM.Open]:!0,[ee.ZM.Closed]:!1}));let b=(0,l.useRef)(new Set),w=(0,l.useRef)(null),x=(0,d.T)(w,t),E=(0,l.useRef)(null),_=S(w),k=e.hasOwnProperty("open")||null!==g,O=e.hasOwnProperty("onClose");if(!k&&!O)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!k)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!O)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof n)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(n));if("function"!=typeof r)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(r));let T=n?0:1,[j,P]=(0,l.useReducer)(eh,{titleId:null,descriptionId:null,panelRef:(0,l.createRef)()}),A=(0,y.z)(()=>r(!1)),I=(0,y.z)(e=>P({type:0,id:e})),M=!!(0,m.H)()&&!o&&0===T,L=s>1,N=null!==(0,l.useContext)(ed),D=L?"parent":"leaf";U(w,!!L&&M),(0,eo.O)(()=>{var e,t;return[...Array.from(null!=(e=null==_?void 0:_.querySelectorAll("body > *, [data-headlessui-portal]"))?e:[]).filter(e=>!(!(e instanceof HTMLElement)||e.contains(E.current)||j.panelRef.current&&e.contains(j.panelRef.current))),null!=(t=j.panelRef.current)?t:w.current]},A,M&&!L),C(null==_?void 0:_.defaultView,"keydown",e=>{e.defaultPrevented||e.key===f.R.Escape&&0===T&&(L||(e.preventDefault(),e.stopPropagation(),A()))}),ep(_,0===T&&!N),(0,l.useEffect)(()=>
5{if(0!==T||!w.current)return;let e=new IntersectionObserver(e=>{for(let t of e)0===t.boundingClientRect.x&&0===t.boundingClientRect.y&&0===t.boundingClientRect.width&&0===t.boundingClientRect.height&&A()});return e.observe(w.current),()=>e.disconnect()},[T,w,A]);let[F,z]=(0,J.f)(),B="headlessui-dialog-".concat((0,h.M)()),V=(0,l.useMemo)(()=>[{dialogState:T,close:A,setTitleId:I},j],[T,j,A,I]),H=(0,l.useMemo)(()=>({open:0===T}),[T]),q={ref:x,id:B,role:"dialog","aria-modal":0===T||void 0,"aria-labelledby":j.titleId,"aria-describedby":F};return l.createElement(ei,{type:"Dialog",enabled:0===T,element:w,onUpdate:(0,y.z)((e,t,n)=>{"Dialog"===t&&(0,u.E)(e,{[en.Add](){b.current.add(n),p(e=>e+1)},[en.Remove](){b.current.add(n),p(e=>e-1)}})})},l.createElement(W,{force:!0},l.createElement(X,null,l.createElement(ed.Provider,{value:V},l.createElement(X.Group,{target:w},l.createElement(W,{force:!1},l.createElement(z,{slot:H,name:"Dialog.Description"},l.createElement(R,{initialFocus:i,containers:b,features:M?(0,u.E)(D,{parent:R.features.RestoreFocus,leaf:R.features.All&~R.features.FocusLock}):R.features.None},(0,c.sY)({ourProps:q,theirProps:a,slot:H,defaultTag:em,features:ev,visible:0===T,name:"Dialog"})))))))),l.createElement(v._,{features:v.A.Hidden,ref:E}))}),ey="div",eb=(0,c.yV)(function(e,t){let[{dialogState:n,close:r}]=ef("Dialog.Overlay"),i=(0,d.T)(t),o="headlessui-dialog-overlay-".concat((0,h.M)()),a=(0,y.z)(e=>{if(e.target===e.currentTarget){if((0,p.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),r()}}),s=(0,l.useMemo)(()=>({open:0===n}),[n]);return(0,c.sY)({ourProps:{ref:i,id:o,"aria-hidden":!0,onClick:a},theirProps:e,slot:s,defaultTag:ey,name:"Dialog.Overlay"})}),ew="div",ex=(0,c.yV)(function(e,t){let[{dialogState:n},r]=ef("Dialog.Backdrop"),i=(0,d.T)(t),o="headlessui-dialog-backdrop-".concat((0,h.M)());(0,l.useEffect)(()=>{if(null===r.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[r.panelRef]);let a=(0,l.useMemo)(()=>({open:0===n}),[n]);return l.createElement(W,{force:!0},l.createElement(X,null,(0,c.sY)({ourProps:{ref:i,id:o,"aria-hidden":!0},theirProps:e,slot:a,defaultTag:ew,name:"Dialog.Backdrop"})))}),eE="div",e_=(0,c.yV)(function(e,t){let[{dialogState:n},r]=ef("Dialog.Panel"),i=(0,d.T)(t,r.panelRef),o="headlessui-dialog-panel-".concat((0,h.M)()),a=(0,l.useMemo)(()=>({open:0===n}),[n]),s=(0,y.z)(e=>{e.stopPropagation()});return(0,c.sY)({ourProps:{ref:i,id:o,onClick:s},theirProps:e,slot:a,defaultTag:eE,name:"Dialog.Panel"})}),ek="h2",eS=Object.assign(eg,{Backdrop:ex,Panel:e_,Overlay:eb,Title:(0,c.yV)(function(e,t){let[{dialogState:n,setTitleId:r}]=ef("Dialog.Title"),i="headlessui-dialog-title-".concat((0,h.M)()),o=(0,d.T)(t);(0,l.useEffect)(()=>(r(i),()=>r(null)),[i,r]);let a=(0,l.useMemo)(()=>({open:0===n}),[n]);return(0,c.sY)({ourProps:{ref:o,id:i},theirProps:e,slot:a,defaultTag:ek,name:"Dialog.Title"})}),Description:J.d})},71237:function(e,t,n){"use strict";let r;n.d(t,{R:function(){return i}});var i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},64019:function(e,t,n){"use strict";let r,i;n.d(t,{u:function(){return U}});var o=n(67294),a=n(83619),s=n(1365),l=n(16116),u=n(55729),c=n(57110),d=n(39438),f=n(77563),p=n(40947);function h(e){let t={called:!1};return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!t.called)return t.called=!0,e(...r)}}var m=n(47122);function v(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.add(...n)}function g(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.remove(...n)}var y=((r=y||{}).Ended="ended",r.Cancelled="cancelled",r);function b(e,t){let n=(0,m.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map(e=>
5{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t});if(o+a!==0){let r=[];r.push(n.addEventListener(e,"transitionrun",i=>{i.target===i.currentTarget&&(r.splice(0).forEach(e=>e()),r.push(n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t("ended"),r.splice(0).forEach(e=>e()))}),n.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(t("cancelled"),r.splice(0).forEach(e=>e()))})))}))}else t("ended");return n.add(()=>t("cancelled")),n.dispose}function w(e,t,n,r){let i=n?"enter":"leave",o=(0,m.k)(),a=void 0!==r?h(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=(0,l.E)(i,{enter:()=>t.enter,leave:()=>t.leave}),u=(0,l.E)(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=(0,l.E)(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return g(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),v(e,...s,...c),o.nextFrame(()=>{g(e,...c),v(e,...u),b(e,n=>("ended"===n&&(g(e,...s),v(e,...t.entered)),a(n)))}),o.dispose}var x=n(5655);function E(e){let{container:t,direction:n,classes:r,onStart:i,onStop:o}=e,a=(0,u.t)(),s=(0,x.G)(),f=(0,d.E)(n);(0,c.e)(()=>{let e=(0,m.k)();s.add(e.dispose);let n=t.current;if(n&&"idle"!==f.current&&a.current)return e.dispose(),i.current(f.current),e.add(w(n,r.current,"enter"===f.current,t=>{e.dispose(),(0,l.E)(t,{[y.Ended](){o.current(f.current)},[y.Cancelled]:()=>{}})})),e.dispose},[n])}var _=n(68354);function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(" ").filter(e=>e.trim().length>1)}let S=(0,o.createContext)(null);S.displayName="TransitionContext";var C=((i=C||{}).Visible="visible",i.Hidden="hidden",i);function O(){let e=(0,o.useContext)(S);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function T(){let e=(0,o.useContext)(j);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let j=(0,o.createContext)(null);function P(e){return"children"in e?P(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function R(e,t){let n=(0,d.E)(e),r=(0,o.useRef)([]),i=(0,u.t)(),s=(0,x.G)(),c=(0,_.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.l4.Hidden,o=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==o&&((0,l.E)(t,{[a.l4.Unmount](){r.current.splice(o,1)},[a.l4.Hidden](){r.current[o].state="hidden"}}),s.microTask(()=>{var e;!P(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,_.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>c(e,a.l4.Unmount)}),p=(0,o.useRef)([]),h=(0,o.useRef)(Promise.resolve()),m=(0,o.useRef)({enter:[],leave:[],idle:[]}),v=(0,_.z)((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{p.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(m.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
5)]),"enter"===n?h.current=h.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),g=(0,_.z)((e,t,n)=>{Promise.all(m.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>n(t))});return(0,o.useMemo)(()=>({children:r,register:f,unregister:c,onStart:v,onStop:g,wait:h,chains:m}),[f,c,r,v,g,m,h])}function A(){}j.displayName="NestingContext";let I=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function M(e){var t;let n={};for(let r of I)n[r]=null!=(t=e[r])?t:A;return n}function L(e){let t=(0,o.useRef)(M(e));return(0,o.useEffect)(()=>{t.current=M(e)},[e]),t}let N="div",D=a.AN.RenderStrategy,F=(0,a.yV)(function(e,t){let{beforeEnter:n,afterEnter:r,beforeLeave:i,afterLeave:u,enter:c,enterFrom:h,enterTo:m,entered:v,leave:g,leaveFrom:y,leaveTo:b,...w}=e,x=(0,o.useRef)(null),S=(0,p.T)(x,t),C=w.unmount?a.l4.Unmount:a.l4.Hidden,{show:A,appear:I,initial:M}=O(),[F,z]=(0,o.useState)(A?"visible":"hidden"),B=T(),{register:U,unregister:V}=B,H=(0,o.useRef)(null);(0,o.useEffect)(()=>U(x),[U,x]),(0,o.useEffect)(()=>{if(C===a.l4.Hidden&&x.current){if(A&&"visible"!==F){z("visible");return}return(0,l.E)(F,{hidden:()=>V(x),visible:()=>U(x)})}},[F,x,U,V,A,C]);let q=(0,d.E)({enter:k(c),enterFrom:k(h),enterTo:k(m),entered:k(v),leave:k(g),leaveFrom:k(y),leaveTo:k(b)}
5),W=L({beforeEnter:n,afterEnter:r,beforeLeave:i,afterLeave:u}),Z=(0,f.H)();(0,o.useEffect)(()=>{if(Z&&"visible"===F&&null===x.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[x,F,Z]);let K=M&&!I,$=!Z||K||H.current===A?"idle":A?"enter":"leave",G=(0,_.z)(e=>(0,l.E)(e,{enter:()=>W.current.beforeEnter(),leave:()=>W.current.beforeLeave(),idle:()=>{}})),Q=(0,_.z)(e=>(0,l.E)(e,{enter:()=>W.current.afterEnter(),leave:()=>W.current.afterLeave(),idle:()=>{}})),Y=R(()=>{z("hidden"),V(x)},B);E({container:x,classes:q,direction:$,onStart:(0,d.E)(e=>{Y.onStart(x,e,G)}),onStop:(0,d.E)(e=>{Y.onStop(x,e,Q),"leave"!==e||P(Y)||(z("hidden"),V(x))})}),(0,o.useEffect)(()=>{K&&(C===a.l4.Hidden?H.current=null:H.current=A)},[A,K,F]);let X=w,J={ref:S};return o.createElement(j.Provider,{value:Y},o.createElement(s.up,{value:(0,l.E)(F,{visible:s.ZM.Open,hidden:s.ZM.Closed})},(0,a.sY)({ourProps:J,theirProps:X,defaultTag:N,features:D,visible:"visible"===F,name:"Transition.Child"})))}),z=(0,a.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i,...u}=e,d=(0,o.useRef)(null),h=(0,p.T)(d,t);(0,f.H)();let m=(0,s.oJ)();if(void 0===n&&null!==m&&(n=(0,l.E)(m,{[s.ZM.Open]:!0,[s.ZM.Closed]:!1})),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[v,g]=(0,o.useState)(n?"visible":"hidden"),y=R(()=>{g("hidden")}),[b,w]=(0,o.useState)(!0),x=(0,o.useRef)([n]);(0,c.e)(()=>{!1!==b&&x.current[x.current.length-1]!==n&&(x.current.push(n),w(!1))},[x,n]);let E=(0,o.useMemo)(()=>({show:n,appear:r,initial:b}),[n,r,b]);(0,o.useEffect)(()=>{if(n)g("visible");else if(P(y)){let e=d.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&g("hidden")}else g("hidden")},[n,y]);let _={unmount:i};return o.createElement(j.Provider,{value:y},o.createElement(S.Provider,{value:E},(0,a.sY)({ourProps:{..._,as:o.Fragment,children:o.createElement(F,{ref:h,..._,...u})},theirProps:{},defaultTag:o.Fragment,features:D,visible:"visible"===v,name:"Transition"})))}),B=(0,a.yV)(function(e,t){let n=null!==(0,o.useContext)(S),r=null!==(0,s.oJ)();return o.createElement(o.Fragment,null,!n&&r?o.createElement(z,{ref:t,...e}):o.createElement(F,{ref:t,...e}))}),U=Object.assign(z,{Child:B,Root:z})},5655:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(67294),i=n(47122);function o(){let[e]=(0,r.useState)(i.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},68354:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(67294),i=n(39438);let o=function(e){let t=(0,i.E)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},59656:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var r,i=n(67294),o=n(57110),a=n(77563);let s=0;function l(){return++s}let u=null!=(r=i.useId)?r:function(){let e=(0,a.H)(),[t,n]=i.useState(e?l:null);return(0,o.e)(()=>{null===t&&n(l())},[t]),null!=t?""+t:void 0}},55729:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(67294),i=n(57110);function o(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},57110:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(67294);let i=n(49462).s?r.useEffect:r.useLayoutEffect},39438:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(67294),i=n(57110);function o(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},382:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(67294),i=n(58766),o=n(39438);function a(e,t,n){let i=(0,o.E)(t);(0,r.useEffect)(()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function s(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=(0,r.useRef)(!1);function s(n,r){if(!o.current||n.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),s=r(n);if(null!==s&&s.ownerDocument.documentElement.contains(s)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(s))return}return(0,i.sP)(s,i.tJ.Loose)||-1===s.tabIndex||n.preventDefault(),t(n,s)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);let l=(0,r.useRef)(null);a("mousedown",e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),a("click",e=>{l.current&&(s(e,()=>l.current),l.current=null)},!0),a("blur",e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},77563:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(67294);let i={serverHandoffComplete:!1};function o(){let[e,t]=(0,r.useState)(i.serverHandoffComplete);return(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>{!1===i.serverHandoffComplete&&(i.serverHandoffComplete=!0)},[]),e}},40947:function(e,t,n){"use strict";n.d(t,{T:function(){return s},h:function(){return a}});var r=n(67294),i=n(68354);let o=Symbol();function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[o]:t})}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let a=(0,r.useRef)(t);(0,r.useEffect)(()=>{a.current=t},[t]);let s=(0,i.z)(e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[o]))?void 0:s}},46212:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(67294),i=n(68354);function o(e,t){let n=(0,r.useRef)([]),o=(0,i.z)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,i]of t.entries())if(n.current[r]!==i){let r=o(t,e);return n.current=t,r}},[o,...t])}},51228:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return a},_:function(){return s}});var i=n(83619);let o="div";var a=((r=a||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let s=(0,i.yV)(function(e,t){let{features:n=1,...r}=e,a={ref:t,"aria-hidden":(2&n)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:a,theirProps:r,slot:{},defaultTag:o,name:"Hidden"})})},1365:function(e,t,n){"use strict";let r;n.d(t,{ZM:function(){return a},oJ:function(){return s},up:function(){return l}});var i=n(67294);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var a=((r=a||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r);function s(){return(0,i.useContext)(o)}function l(e){let{value:t,children:n}=e;return i.createElement(o.Provider,{value:t},n)}},67257:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&i(n))&&r}function i(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}n.d(t,{P:function(){return r}})},47122:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(27378);function i(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=setTimeout(...t);return n.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let o={current:!0};return(0,r.Y)(()=>{o.current&&t[0]()}),n.add(()=>{o.current=!1})},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}},58766:function(e,t,n){"use strict";let r,i,o,a;n.d(t,{C5:function(){return v},TO:function(){return c},fE:function(){return d},jA:function(){return w},sP:function(){return m},tJ:function(){return h},z2:function(){return b}});var s=n(16116),l=n(23233);let u=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var c=((r=c||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),d=((i=d||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),f=((o=f||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(u))}var h=((a=h||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a);function m(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,l.r)(e))?void 0:t.body)&&(0,s.E)(n,{0:()=>e.matches(u),1(){let t=e;for(;null!==t;){if(t.matches(u))return!0;t=t.parentElement}return!1}})}function v(e){null==e||e.focus({preventScroll:!0})}let g="textarea,input";function y(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,g))&&n}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?b(e):e:p(e);r=null!=r?r:i.activeElement;let a=(()=>
5{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=32&t?{preventScroll:!0}:{},u=0,c=o.length,d;do{if(u>=c||u+c<=0)return 0;let e=s+u;if(16&t)e=(e+c)%c;else{if(e<0)return 3;if(e>=c)return 1}null==(d=o[e])||d.focus(l),u+=a}while(d!==i.activeElement);return 6&t&&y(d)&&d.select(),d.hasAttribute("tabindex")||d.setAttribute("tabindex","0"),2}},16116:function(e,t,n){"use strict";function r(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(e in t){let n=t[e];return"function"==typeof n?n(...i):n}let a=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,r),a}n.d(t,{E:function(){return r}})},27378:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},23233:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(49462);function i(e){return r.s?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},83619:function(e,t,n){"use strict";let r,i;n.d(t,{AN:function(){return s},l4:function(){return l},oA:function(){return h},sY:function(){return u},yV:function(){return p}});var o=n(67294),a=n(16116),s=((r=s||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),l=((i=l||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function u(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:o,visible:s=!0,name:l}=e,u=f(n,t);if(s)return c(u,r,i,l);let d=null!=o?o:0;if(2&d){let{static:e=!1,...t}=u;if(e)return c(t,r,i,l)}if(1&d){let{unmount:e=!0,...t}=u;return(0,a.E)(e?0:1,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},r,i,l)})}return c(u,r,i,l)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{as:i=n,children:a,refName:s="ref",...l}=m(e,["unmount","static"]),u=void 0!==e.ref?{[s]:e.ref}:{},c="function"==typeof a?a(t):a;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let p={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(i===o.Fragment&&Object.keys(h(l)).length>0){if(!(0,o.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(l).map(e=>"  - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"));return(0,o.cloneElement)(c,Object.assign({},f(c.props,h(m(l,["ref"]))),p,u,d(c.ref,u.ref)))}return(0,o.createElement)(i,Object.assign({},m(l,["ref"]),i!==o.Fragment&&u,i!==o.Fragment&&p),c)}function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{ref:t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}}function f(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(0===n.length)return{};if(1===n.length)return n[0];let i={},o={};for(let t of n)for(let n in t)n.startsWith("on")&&"function"==typeof t[n]?(null!=(e=o[n])||(o[n]=[]),o[n].push(t[n])):i[n]=t[n];if(i.disabled||i["aria-disabled"])return Object.assign(i,Object.fromEntries(Object.keys(o).map(e=>[e,void 0])));for(let e in o)Object.assign(i,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return i}function p(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},49462:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r="undefined"==typeof document},50239:function(e,t,n){"use strict";let r;n.d(t,{O:function(){return th}}),function(e){function t(e){}function n(e){throw Error()}function r(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)}e.assertEqual=e=>e,e.assertIs=t,e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>
5"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(tr||(tr={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(ti||(ti={}));let i=tr.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),o=e=>{switch(typeof e){case"undefined":return i.undefined;case"string":return i.string;case"number":return isNaN(e)?i.nan:i.number;case"boolean":return i.boolean;case"function":return i.function;case"bigint":return i.bigint;case"symbol":return i.symbol;case"object":if(Array.isArray(e))return i.array;if(null===e)return i.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return i.promise;if("undefined"!=typeof Map&&e instanceof Map)return i.map;if("undefined"!=typeof Set&&e instanceof Set)return i.set;if("undefined"!=typeof Date&&e instanceof Date)return i.date;return i.object;default:return i.unknown}}
vendor: 4,495 bytes, line 5
5,a=tr.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),s=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class l extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,tr.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}l.create=e=>new l(e);let u=(e,t)=>{let n;switch(e.code){case a.invalid_type:n=e.received===i.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case a.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,tr.jsonStringifyReplacer)}`;break;case a.unrecognized_keys:n=`Unrecognized key(s) in object: ${tr.joinValues(e.keys,", ")}`;break;case a.invalid_union:n="Invalid input";break;case a.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${tr.joinValues(e.options)}`;break;case a.invalid_enum_value:n=`Invalid enum value. Expected ${tr.joinValues(e.options)}, received '${e.received}'`;break;case a.invalid_arguments:n="Invalid function arguments";break;case a.invalid_return_type:n="Invalid function return type";break;case a.invalid_date:n="Invalid date";break;case a.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:tr.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case a.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case a.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case a.custom:n="Invalid input";break;case a.invalid_intersection_types:n="Intersection results could not be merged";break;case a.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case a.not_finite:n="Number must be finite";break;default:n=t.defaultError,tr.assertNever(e)}return{message:n}},c=u;function d(e){c=e}function f(){return c}let p=e=>
5{let{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],a={...i,path:o},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(a,{data:t,defaultError:s}).message;return{...i,path:o,message:i.message||s}},h=[];function m(e,t){let n=p({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,f(),u].filter(e=>!!e)});e.common.issues.push(n)}class v{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return g;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t)n.push({key:await e.key,value:await e.value});return v.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let g=Object.freeze({status:"aborted"}),y=e=>({status:"dirty",value:e}),b=e=>({status:"valid",value:e}),w=e=>"aborted"===e.status,x=e=>"dirty"===e.status,E=e=>"valid"===e.status,_=e=>"undefined"!=typeof Promise&&e instanceof Promise;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(to||(to={}));class k{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let S=(e,t)=>{if(E(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new l(e.common.issues);return this._error=t,this._error}}};function C(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:i}}class O{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return o(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:o(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new v,ctx:{common:e.parent.common,data:e.data,parsedType:o(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(_(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:o(e)},i=this._parseSync({data:e,path:r.path,parent:r});return S(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:o(e)},r=this._parse({data:e,path:n.path,parent:n});return S(n,await (_(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let i=e(t),o=()=>r.addIssue({code:a.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(o(),!1)):!!i||(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new ev({schema:this,typeName:ta.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return eg.create(this,this._def)}nullable(){return ey.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Y.create(this,this._def)}promise(){return em.create(this,this._def)}or(e){return ee.create([this,e],this._def)}and(e){return ei.create(this,e,this._def)}transform(e){return new ev({...C(this._def),schema:this,typeName:ta.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new eb({...C(this._def),innerType:this,defaultValue:t,typeName:ta.ZodDefault})}brand(){return new e_({typeName:ta.ZodBranded,type:this,...C(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new ew({...C(this._def),innerType:this,catchValue:t,typeName:ta.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return ek.create(this,e)}readonly(){return eS.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let T=/^c[^\s-]{8,}
5$/i,j=/^[a-z][a-z0-9]*$/,P=/^[0-9A-HJKMNP-TV-Z]{26}$/,R=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,A=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,I="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",M=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,L=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,N=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function D(e,t){return!!(("v4"===t||!t)&&M.test(e)||("v6"===t||!t)&&L.test(e))}class F extends O{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==i.string){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.string,received:t.parsedType}),g}let n=new v;for(let i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if("max"===i.kind)e.data.length>i.value&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if("length"===i.kind){let r=e.data.length>i.value,o=e.data.length<i.value;(r||o)&&(t=this._getOrReturnCtx(e,t),r?m(t,{code:a.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):o&&m(t,{code:a.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if("email"===i.kind)A.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"email",code:a.invalid_string,message:i.message}),n.dirty());else if("emoji"===i.kind)r||(r=RegExp(I,"u")),r.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"emoji",code:a.invalid_string,message:i.message}),n.dirty());else if("uuid"===i.kind)R.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"uuid",code:a.invalid_string,message:i.message}),n.dirty());else if("cuid"===i.kind)T.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"cuid",code:a.invalid_string,message:i.message}),n.dirty());else if("cuid2"===i.kind)j.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"cuid2",code:a.invalid_string,message:i.message}),n.dirty());else if("ulid"===i.kind)P.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"ulid",code:a.invalid_string,message:i.message}),n.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(r){m(t=this._getOrReturnCtx(e,t),{validation:"url",code:a.invalid_string,message:i.message}),n.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(e.data)||(m(t=this._getOrReturnCtx(e,t),{validation:"regex",code:a.invalid_string,message:i.message}),n.dirty())):"trim"===i.kind?e.data=e.data.trim():"includes"===i.kind?e.data.includes(i.value,i.position)||(m(t=this._getOrReturnCtx(e,t),{code:a.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):"toLowerCase"===i.kind?e.data=e.data.toLowerCase():"toUpperCase"===i.kind?e.data=e.data.toUpperCase():"startsWith"===i.kind?e.data.startsWith(i.value)||(m(t=this._getOrReturnCtx(e,t),{code:a.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):"endsWith"===i.kind?e.data.endsWith(i.value)||(m(t=this._getOrReturnCtx(e,t),{code:a.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):"datetime"===i.kind?N(i).test(e.data)||(m(t=this._getOrReturnCtx(e,t),{code:a.invalid_string,validation:"datetime",message:i.message}),n.dirty()):"ip"===i.kind?D(e.data,i.version)||(m(t=this._getOrReturnCtx(e,t),{validation:"ip",code:a.invalid_string,message:i.message}),n.dirty()):tr.assertNever(i);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:a.invalid_string,...to.errToObj(n)})}_addCheck(e){return new F({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...to.errToObj(e)})}url(e){return this._addCheck({kind:"url",...to.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...to.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...to.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...to.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...to.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...to.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...to.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...to.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...to.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...to.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...to.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...to.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...to.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...to.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...to.errToObj(t)})}nonempty(e){return this.min(1,to.errToObj(e))}trim(){return new F({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new F({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new F({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}
5get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function z(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}F.create=e=>{var t;return new F({checks:[],typeName:ta.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...C(e)})};class B extends O{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==i.number){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.number,received:t.parsedType}),g}let n=new v;for(let r of this._def.checks)"int"===r.kind?tr.isInteger(e.data)||(m(t=this._getOrReturnCtx(e,t),{code:a.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==z(e.data,r.value)&&(m(t=this._getOrReturnCtx(e,t),{code:a.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(m(t=this._getOrReturnCtx(e,t),{code:a.not_finite,message:r.message}),n.dirty()):tr.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,to.toString(t))}gt(e,t){return this.setLimit("min",e,!1,to.toString(t))}lte(e,t){return this.setLimit("max",e,!0,to.toString(t))}lt(e,t){return this.setLimit("max",e,!1,to.toString(t))}setLimit(e,t,n,r){return new B({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:to.toString(r)}]})}_addCheck(e){return new B({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:to.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:to.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:to.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:to.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:to.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:to.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:to.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:to.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:to.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&tr.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}B.create=e=>new B({checks:[],typeName:ta.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...C(e)});class U extends O{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==i.bigint){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.bigint,received:t.parsedType}),g}let n=new v;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(m(t=this._getOrReturnCtx(e,t),{code:a.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):tr.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,to.toString(t))}gt(e,t){return this.setLimit("min",e,!1,to.toString(t))}lte(e,t){return this.setLimit("max",e,!0,to.toString(t))}lt(e,t){return this.setLimit("max",e,!1,to.toString(t))}setLimit(e,t,n,r){return new U({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:to.toString(r)}]})}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}
vendor: 5,022 bytes, line 5
5positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:to.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:to.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:to.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:to.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:to.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}U.create=e=>{var t;return new U({checks:[],typeName:ta.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...C(e)})};class V extends O{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==i.boolean){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.boolean,received:t.parsedType}),g}return b(e.data)}}V.create=e=>new V({typeName:ta.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...C(e)});class H extends O{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==i.date){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.date,received:t.parsedType}),g}if(isNaN(e.data.getTime()))return m(this._getOrReturnCtx(e),{code:a.invalid_date}),g;let n=new v;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(m(t=this._getOrReturnCtx(e,t),{code:a.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):tr.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new H({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:to.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:to.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}H.create=e=>new H({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:ta.ZodDate,...C(e)});class q extends O{_parse(e){if(this._getType(e)!==i.symbol){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.symbol,received:t.parsedType}),g}return b(e.data)}}q.create=e=>new q({typeName:ta.ZodSymbol,...C(e)});class W extends O{_parse(e){if(this._getType(e)!==i.undefined){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.undefined,received:t.parsedType}),g}return b(e.data)}}W.create=e=>new W({typeName:ta.ZodUndefined,...C(e)});class Z extends O{_parse(e){if(this._getType(e)!==i.null){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.null,received:t.parsedType}),g}return b(e.data)}}Z.create=e=>new Z({typeName:ta.ZodNull,...C(e)});class K extends O{constructor(){super(...arguments),this._any=!0}_parse(e){return b(e.data)}}K.create=e=>new K({typeName:ta.ZodAny,...C(e)});class $ extends O{constructor(){super(...arguments),this._unknown=!0}_parse(e){return b(e.data)}}$.create=e=>new $({typeName:ta.ZodUnknown,...C(e)});class G extends O{_parse(e){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.never,received:t.parsedType}),g}}G.create=e=>new G({typeName:ta.ZodNever,...C(e)});class Q extends O{_parse(e){if(this._getType(e)!==i.undefined){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.void,received:t.parsedType}),g}return b(e.data)}}Q.create=e=>new Q({typeName:ta.ZodVoid,...C(e)});class Y extends O{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==i.array)return m(t,{code:a.invalid_type,expected:i.array,received:t.parsedType}),g;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(m(t,{code:e?a.too_big:a.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(m(t,{code:a.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(m(t,{code:a.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new k(t,e,t.path,n)))).then(e=>v.mergeArray(n,e));let o=[...t.data].map((e,n)=>r.type._parseSync(new k(t,e,t.path,n)));return v.mergeArray(n,o)}
vendor: 5,136 bytes, line 5
5get element(){return this._def.type}min(e,t){return new Y({...this._def,minLength:{value:e,message:to.toString(t)}})}max(e,t){return new Y({...this._def,maxLength:{value:e,message:to.toString(t)}})}length(e,t){return new Y({...this._def,exactLength:{value:e,message:to.toString(t)}})}nonempty(e){return this.min(1,e)}}function X(e){if(e instanceof J){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=eg.create(X(r))}return new J({...e._def,shape:()=>t})}return e instanceof Y?new Y({...e._def,type:X(e.element)}):e instanceof eg?eg.create(X(e.unwrap())):e instanceof ey?ey.create(X(e.unwrap())):e instanceof eo?eo.create(e.items.map(e=>X(e))):e}Y.create=(e,t)=>new Y({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ta.ZodArray,...C(t)});class J extends O{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=tr.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==i.object){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.object,received:t.parsedType}),g}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof G&&"strip"===this._def.unknownKeys))for(let e in n.data)o.includes(e)||s.push(e);let l=[];for(let e of o){let t=r[e],i=n.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new k(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof G){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of s)l.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)s.length>0&&(m(n,{code:a.unrecognized_keys,keys:s}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of s){let r=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new k(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let n=await t.key;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>v.mergeObjectSync(t,e)):v.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return to.errToObj,new J({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,o,a;let s=null!==(o=null===(i=(r=this._def).errorMap)||void 0===i?void 0:i.call(r,t,n).message)&&void 0!==o?o:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=to.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new J({...this._def,unknownKeys:"strip"})}passthrough(){return new J({...this._def,unknownKeys:"passthrough"})}extend(e){return new J({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new J({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ta.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new J({...this._def,catchall:e})}pick(e){let t={};return tr.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new J({...this._def,shape:()=>t})}omit(e){let t={};return tr.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new J({...this._def,shape:()=>t})}deepPartial(){return X(this)}partial(e){let t={};return tr.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new J({...this._def,shape:()=>t})}required(e){let t={};return tr.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof eg;)e=e._def.innerType;t[n]=e}}),new J({...this._def,shape:()=>t})}keyof(){return ef(tr.objectKeys(this.shape))}}J.create=(e,t)=>new J({shape:()=>e,unknownKeys:"strip",catchall:G.create(),typeName:ta.ZodObject,...C(t)}),J.strictCreate=(e,t)=>new J({shape:()=>e,unknownKeys:"strict",catchall:G.create(),typeName:ta.ZodObject,...C(t)}),J.lazycreate=(e,t)=>new J({shape:e,unknownKeys:"strip",catchall:G.create(),typeName:ta.ZodObject,...C(t)});class ee extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new l(e.ctx.common.issues));return m(t,{code:a.invalid_union,unionErrors:n}),g}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e;let r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new l(e));return m(t,{code:a.invalid_union,unionErrors:i}),g}}get options(){return this._def.options}}ee.create=(e,t)=>
5new ee({options:e,typeName:ta.ZodUnion,...C(t)});let et=e=>{if(e instanceof ec)return et(e.schema);if(e instanceof ev)return et(e.innerType());if(e instanceof ed)return[e.value];if(e instanceof ep)return e.options;if(e instanceof eh)return Object.keys(e.enum);if(e instanceof eb)return et(e._def.innerType);if(e instanceof W)return[void 0];else if(e instanceof Z)return[null];else return null};class en extends O{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.object)return m(t,{code:a.invalid_type,expected:i.object,received:t.parsedType}),g;let n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):(m(t,{code:a.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),g)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=et(n.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(r.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new en({typeName:ta.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...C(n)})}}function er(e,t){let n=o(e),r=o(t);if(e===t)return{valid:!0,data:e};if(n===i.object&&r===i.object){let n=tr.objectKeys(t),r=tr.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(let n of r){let r=er(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===i.array&&r===i.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let i=er(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===i.date&&r===i.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class ei extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(w(e)||w(r))return g;let i=er(e.value,r.value);return i.valid?((x(e)||x(r))&&t.dirty(),{status:t.value,value:i.data}):(m(n,{code:a.invalid_intersection_types}),g)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}ei.create=(e,t,n)=>new ei({left:e,right:t,typeName:ta.ZodIntersection,...C(n)});class eo extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.array)return m(n,{code:a.invalid_type,expected:i.array,received:n.parsedType}),g;if(n.data.length<this._def.items.length)return m(n,{code:a.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),g;!this._def.rest&&n.data.length>this._def.items.length&&(m(n,{code:a.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new k(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>v.mergeArray(t,e)):v.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new eo({...this._def,rest:e})}}eo.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eo({items:e,typeName:ta.ZodTuple,rest:null,...C(t)})};class ea extends O{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.object)return m(n,{code:a.invalid_type,expected:i.object,received:n.parsedType}),g;let r=[],o=this._def.keyType,s=this._def.valueType;for(let e in n.data)r.push({key:o._parse(new k(n,e,n.path,e)),value:s._parse(new k(n,n.data[e],n.path,e))});return n.common.async?v.mergeObjectAsync(t,r):v.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new ea(t instanceof O?{keyType:e,valueType:t,typeName:ta.ZodRecord,...C(n)}:{keyType:F.create(),valueType:e,typeName:ta.ZodRecord,...C(t)})}}class es extends O{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.map)return m(n,{code:a.invalid_type,expected:i.map,received:n.parsedType}),g;let r=this._def.keyType,o=this._def.valueType,s=[...n.data.entries()].map(([e,t],i)=>({key:r._parse(new k(n,e,n.path,[i,"key"])),value:o._parse(new k(n,t,n.path,[i,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of s){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return g;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of s){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return g;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}
5es.create=(e,t,n)=>new es({valueType:t,keyType:e,typeName:ta.ZodMap,...C(n)});class el extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.set)return m(n,{code:a.invalid_type,expected:i.set,received:n.parsedType}),g;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(m(n,{code:a.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(m(n,{code:a.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let o=this._def.valueType;function s(e){let n=new Set;for(let r of e){if("aborted"===r.status)return g;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let l=[...n.data.values()].map((e,t)=>o._parse(new k(n,e,n.path,t)));return n.common.async?Promise.all(l).then(e=>s(e)):s(l)}min(e,t){return new el({...this._def,minSize:{value:e,message:to.toString(t)}})}max(e,t){return new el({...this._def,maxSize:{value:e,message:to.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}el.create=(e,t)=>new el({valueType:e,minSize:null,maxSize:null,typeName:ta.ZodSet,...C(t)});class eu extends O{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.function)return m(t,{code:a.invalid_type,expected:i.function,received:t.parsedType}),g;function n(e,n){return p({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,f(),u].filter(e=>!!e),issueData:{code:a.invalid_arguments,argumentsError:n}})}function r(e,n){return p({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,f(),u].filter(e=>!!e),issueData:{code:a.invalid_return_type,returnTypeError:n}})}let o={errorMap:t.common.contextualErrorMap},s=t.data;if(this._def.returns instanceof em){let e=this;return b(async function(...t){let i=new l([]),a=await e._def.args.parseAsync(t,o).catch(e=>{throw i.addIssue(n(t,e)),i}),u=await Reflect.apply(s,this,a);return await e._def.returns._def.type.parseAsync(u,o).catch(e=>{throw i.addIssue(r(u,e)),i})})}{let e=this;return b(function(...t){let i=e._def.args.safeParse(t,o);if(!i.success)throw new l([n(t,i.error)]);let a=Reflect.apply(s,this,i.data),u=e._def.returns.safeParse(a,o);if(!u.success)throw new l([r(a,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eu({...this._def,args:eo.create(e).rest($.create())})}returns(e){return new eu({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eu({args:e||eo.create([]).rest($.create()),returns:t||$.create(),typeName:ta.ZodFunction,...C(n)})}}class ec extends O{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ec.create=(e,t)=>new ec({getter:e,typeName:ta.ZodLazy,...C(t)});class ed extends O{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return m(t,{received:t.data,code:a.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ef(e,t){return new ep({values:e,typeName:ta.ZodEnum,...C(t)})}ed.create=(e,t)=>new ed({value:e,typeName:ta.ZodLiteral,...C(t)});class ep extends O{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return m(t,{expected:tr.joinValues(n),received:t.parsedType,code:a.invalid_type}),g}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return m(t,{received:t.data,code:a.invalid_enum_value,options:n}),g}return b(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return ep.create(e)}exclude(e){return ep.create(this.options.filter(t=>!e.includes(t)))}}ep.create=ef;class eh extends O{_parse(e){let t=tr.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==i.string&&n.parsedType!==i.number){let e=tr.objectValues(t);return m(n,{expected:tr.joinValues(e),received:n.parsedType,code:a.invalid_type}),g}if(-1===t.indexOf(e.data)){let e=tr.objectValues(t);return m(n,{received:n.data,code:a.invalid_enum_value,options:e}),g}return b(e.data)}get enum(){return this._def.values}}eh.create=(e,t)=>
vendor: 5,101 bytes, line 5
5new eh({values:e,typeName:ta.ZodNativeEnum,...C(t)});class em extends O{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==i.promise&&!1===t.common.async?(m(t,{code:a.invalid_type,expected:i.promise,received:t.parsedType}),g):b((t.parsedType===i.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}em.create=(e,t)=>new em({type:e,typeName:ta.ZodPromise,...C(t)});class ev extends O{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ta.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{m(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?g:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>E(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!E(e))return e;let o=r.transform(e.value,i);if(o instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}}tr.assertNever(r)}}ev.create=(e,t,n)=>new ev({schema:e,typeName:ta.ZodEffects,effect:t,...C(n)}),ev.createWithPreprocess=(e,t,n)=>new ev({schema:t,effect:{type:"preprocess",transform:e},typeName:ta.ZodEffects,...C(n)});class eg extends O{_parse(e){return this._getType(e)===i.undefined?b(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eg.create=(e,t)=>new eg({innerType:e,typeName:ta.ZodOptional,...C(t)});class ey extends O{_parse(e){return this._getType(e)===i.null?b(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:ta.ZodNullable,...C(t)});class eb extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===i.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eb.create=(e,t)=>new eb({innerType:e,typeName:ta.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...C(t)});class ew extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return _(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new l(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new l(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}ew.create=(e,t)=>new ew({innerType:e,typeName:ta.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...C(t)});class ex extends O{_parse(e){if(this._getType(e)!==i.nan){let t=this._getOrReturnCtx(e);return m(t,{code:a.invalid_type,expected:i.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}ex.create=e=>new ex({typeName:ta.ZodNaN,...C(e)});let eE=Symbol("zod_brand");class e_ extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class ek extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),y(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new ek({in:e,out:t,typeName:ta.ZodPipeline})}}class eS extends O{_parse(e){let t=this._def.innerType._parse(e);return E(t)&&(t.value=Object.freeze(t.value)),t}}eS.create=(e,t)=>
5new eS({innerType:e,typeName:ta.ZodReadonly,...C(t)});let eC=(e,t={},n)=>e?K.create().superRefine((r,i)=>{var o,a;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(a=null!==(o=e.fatal)&&void 0!==o?o:n)||void 0===a||a,l="string"==typeof e?{message:e}:e;i.addIssue({code:"custom",...l,fatal:s})}}):K.create(),eO={object:J.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(ta||(ta={}));let eT=(e,t={message:`Input not instance of ${e.name}`})=>eC(t=>t instanceof e,t),ej=F.create,eP=B.create,eR=ex.create,eA=U.create,eI=V.create,eM=H.create,eL=q.create,eN=W.create,eD=Z.create,eF=K.create,ez=$.create,eB=G.create,eU=Q.create,eV=Y.create,eH=J.create,eq=J.strictCreate,eW=ee.create,eZ=en.create,eK=ei.create,e$=eo.create,eG=ea.create,eQ=es.create,eY=el.create,eX=eu.create,eJ=ec.create,e0=ed.create,e1=ep.create,e2=eh.create,e4=em.create,e5=ev.create,e3=eg.create,e6=ey.create,e9=ev.createWithPreprocess,e8=ek.create,e7=()=>eP().optional(),te=()=>eI().optional(),tt={string:e=>F.create({...e,coerce:!0}),number:e=>B.create({...e,coerce:!0}),boolean:e=>V.create({...e,coerce:!0}),bigint:e=>U.create({...e,coerce:!0}),date:e=>H.create({...e,coerce:!0})},tn=g;var tr,ti,to,ta,ts=Object.freeze({__proto__:null,defaultErrorMap:u,setErrorMap:d,getErrorMap:f,makeIssue:p,EMPTY_PATH:h,addIssueToContext:m,ParseStatus:v,INVALID:g,DIRTY:y,OK:b,isAborted:w,isDirty:x,isValid:E,isAsync:_,get util(){return tr},get objectUtil(){return ti},ZodParsedType:i,getParsedType:o,ZodType:O,ZodString:F,ZodNumber:B,ZodBigInt:U,ZodBoolean:V,ZodDate:H,ZodSymbol:q,ZodUndefined:W,ZodNull:Z,ZodAny:K,ZodUnknown:$,ZodNever:G,ZodVoid:Q,ZodArray:Y,ZodObject:J,ZodUnion:ee,ZodDiscriminatedUnion:en,ZodIntersection:ei,ZodTuple:eo,ZodRecord:ea,ZodMap:es,ZodSet:el,ZodFunction:eu,ZodLazy:ec,ZodLiteral:ed,ZodEnum:ep,ZodNativeEnum:eh,ZodPromise:em,ZodEffects:ev,ZodTransformer:ev,ZodOptional:eg,ZodNullable:ey,ZodDefault:eb,ZodCatch:ew,ZodNaN:ex,BRAND:eE,ZodBranded:e_,ZodPipeline:ek,ZodReadonly:eS,custom:eC,Schema:O,ZodSchema:O,late:eO,get ZodFirstPartyTypeKind(){return ta},coerce:tt,any:eF,array:eV,bigint:eA,boolean:eI,date:eM,discriminatedUnion:eZ,effect:e5,enum:e1,function:eX,instanceof:eT,intersection:eK,lazy:eJ,literal:e0,map:eQ,nan:eR,nativeEnum:e2,never:eB,null:eD,nullable:e6,number:eP,object:eH,oboolean:te,onumber:e7,optional:e3,ostring:()=>ej().optional(),pipeline:e8,preprocess:e9,promise:e4,record:eG,set:eY,strictObject:eq,string:ej,symbol:eL,transformer:e5,tuple:e$,undefined:eN,union:eW,unknown:ez,void:eU,NEVER:tn,ZodIssueCode:a,quotelessJson:s,ZodError:l}),tl=n(34155);function tu(e){let t=e.runtimeEnvStrict??e.runtimeEnv??tl.env;if(e.emptyStringAsUndefined)for(let[e,n]of Object.entries(t))""===n&&delete t[e];if(e.skipValidation)return t;let n="object"==typeof e.client?e.client:{},r="object"==typeof e.server?e.server:{},i="object"==typeof e.shared?e.shared:{},o=ts.object(n),a=ts.object(r),s=ts.object(i),l=e.isServer??typeof window>"u",u=o.merge(s),c=a.merge(s).merge(o),d=l?c.safeParse(t):u.safeParse(t),f=e.onValidationError??(e=>{throw console.error("❌ Invalid environment variables:",e.flatten().fieldErrors),Error("Invalid environment variables")}),p=e.onInvalidAccess??(e=>{throw Error("❌ Attempted to access a server-side environment variable on the client")}
5);return!1===d.success?f(d.error):new Proxy(d.data,{get(t,n){if(!("string"!=typeof n||"__esModule"===n||"$$typeof"===n))return l||!e.clientPrefix||n.startsWith(e.clientPrefix)||void 0!==s.shape[n]?t[n]:p(n)}})}var tc="NEXT_PUBLIC_";function td(e){let t="object"==typeof e.client?e.client:{},n="object"==typeof e.server?e.server:{},r=e.shared,i=e.runtimeEnv?e.runtimeEnv:{...tl.env,...e.experimental__runtimeEnv};return tu({...e,shared:r,client:t,server:n,clientPrefix:tc,runtimeEnv:i})}var tf=n(34155);let tp=ts.enum(["true","false"]).default("false").transform(e=>"true"===e),th=td({server:{NODE_ENV:ts.enum(["development","test","production"]),LOG_LEVEL:ts.enum(["fatal","error","warn","info","debug","trace","silent"]).optional().default("info"),NEXTAUTH_SECRET:ts.string().min(1),NEXTAUTH_URL:ts.preprocess(e=>{var t;return null!==(t=tf.env.VERCEL_URL)&&void 0!==t?t:e},tf.env.VERCEL?ts.string().min(1):ts.string().url()),BACKEND_API_URL:ts.string().url(),BACKEND_API_SECRET:ts.string(),REVALIDATE_SECRET:ts.string(),TALKJS_SECRET_KEY:ts.string(),SESSION_REFRESH_TIMEOUT:ts.coerce.number().optional().default(1800).transform(e=>1e3*e)},client:{NEXT_PUBLIC_GOOGLE_GTM_ID:ts.string().optional(),NEXT_PUBLIC_ONETRUST_ID:ts.string().optional(),NEXT_PUBLIC_STRIPE_PK:ts.string(),NEXT_PUBLIC_BUILDER_API_KEY:ts.string(),NEXT_PUBLIC_BASE_URL:ts.string().url().default("http://localhost:3000"),NEXT_PUBLIC_TALKJS_APP_ID:ts.string(),NEXT_PUBLIC_FEATURE_GROUPS:tp,NEXT_PUBLIC_FEATURE_USER_PROFILE:tp,NEXT_PUBLIC_FEATURE_CHAT:tp,NEXT_PUBLIC_FEATURE_ONETRUST_AUTOBLOCK:tp},runtimeEnv:{NODE_ENV:"production",LOG_LEVEL:tf.env.LOG_LEVEL,NEXTAUTH_SECRET:tf.env.NEXTAUTH_SECRET,NEXTAUTH_URL:tf.env.NEXTAUTH_URL,BACKEND_API_URL:tf.env.BACKEND_API_URL,BACKEND_API_SECRET:tf.env.BACKEND_API_SECRET,REVALIDATE_SECRET:tf.env.REVALIDATE_SECRET,SESSION_REFRESH_TIMEOUT:tf.env.SESSION_REFRESH_TIMEOUT,TALKJS_SECRET_KEY:tf.env.TALKJS_SECRET_KEY,NEXT_PUBLIC_ONETRUST_ID:"018e338e-f52a-7cf7-9388-eee6a8511cbb",NEXT_PUBLIC_BASE_URL:"https://www.euhu.co.uk",NEXT_PUBLIC_GOOGLE_GTM_ID:"GTM-5BJCT5B",NEXT_PUBLIC_STRIPE_PK:"pk_live_51MTpCDJMuCQ5rXC4CIrIHjw9LkGE0QIAQb3KWNO8dFVfgjE4v1556Dbhg3WcrgXVWWG56AiHdZdjxjlAiGygB2rV00ipKOv2gQ",NEXT_PUBLIC_BUILDER_API_KEY:"fc40a9995da94fd08428cdd6f83289a6",NEXT_PUBLIC_TALKJS_APP_ID:"UAPfM4aE",NEXT_PUBLIC_FEATURE_CHAT:"true",NEXT_PUBLIC_FEATURE_GROUPS:"true",NEXT_PUBLIC_FEATURE_USER_PROFILE:"true",NEXT_PUBLIC_FEATURE_ONETRUST_AUTOBLOCK:"true"},skipValidation:!!tf.env.SKIP_ENV_VALIDATION,emptyStringAsUndefined:!0})},87536:function(e,t,n){"use strict";n.d(t,{Dq:function(){return ey},Gc:function(){return E},Qr:function(){return D},U2:function(){return g},cI:function(){return ez}});var r=n(67294),i=e=>"checkbox"===e.type,o=e=>e instanceof Date,a=e=>null==e;let s=e=>"object"==typeof e;var l=e=>!a(e)&&!Array.isArray(e)&&s(e)&&!o(e),u=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function h(e){let t;let n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(p&&(e instanceof Blob||e instanceof FileList))&&(n||l(e))))return e;else if(t=n?[]:{},Array.isArray(e)||f(e))for(let n in e)t[n]=h(e[n]);else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],v=e=>void 0===e,g=(e,t,n)=>{if(!t||!l(e))return n;let r=m(t.split(/[,[\].]+?/)).reduce((e,t)=>a(e)?e:e[t],e);return v(r)||r===e?v(e[t])?n:e[t]:r};let y={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},w={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},x=r.createContext(null),E=()=>r.useContext(x);var _=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(i,o,{get:()=>{let i=o;return t._proxyFormState[i]!==b.all&&(t._proxyFormState[i]=!r||b.all),n&&(n[i]=!0),e[i]}});return i},k=e=>l(e)&&!Object.keys(e).length,S=(e,t,n,r)=>{n(e);let{name:i,...o}=e;return k(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||b.all))},C=e=>Array.isArray(e)?e:[e],O=(e,t,n)=>n&&t?e===t:!e||!t||e===t||C(e).some(e=>e&&(e.startsWith(t)||t.startsWith(e)));function T(e){let t=r.useRef(e);t.current=e,r.useEffect(()=>{let n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function j(e){let t=E(),{control:n=t.control,disabled:i,name:o,exact:a}=e||{},[s,l]=r.useState(n._formState),u=r.useRef(!0),c=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),d=r.useRef(o);return d.current=o,T({disabled:i,next:e=>u.current&&O(d.current,e.name,a)&&S(e,c.current,n._updateFormState)&&l({...n._formState,...e}),subject:n._subjects.state}),r.useEffect(()=>
5(u.current=!0,c.current.isValid&&n._updateValid(!0),()=>{u.current=!1}),[n]),_(s,n,c.current,!1)}var P=e=>"string"==typeof e,R=(e,t,n,r,i)=>P(e)?(r&&t.watch.add(e),g(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),g(n,e))):(r&&(t.watchAll=!0),n);function A(e){let t=E(),{control:n=t.control,name:i,defaultValue:o,disabled:a,exact:s}=e||{},l=r.useRef(i);l.current=i,T({disabled:a,subject:n._subjects.values,next:e=>{O(l.current,e.name,s)&&c(h(R(l.current,n._names,e.values||n._formValues,!1,o)))}});let[u,c]=r.useState(n._getWatch(i,o));return r.useEffect(()=>n._removeUnmounted()),u}var I=e=>/^\w*$/.test(e),M=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/));function L(e,t,n){let r=-1,i=I(t)?[t]:M(t),o=i.length,a=o-1;for(;++r<o;){let t=i[r],o=n;if(r!==a){let n=e[t];o=l(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}e[t]=o,e=e[t]}return e}function N(e){let t=E(),{name:n,control:i=t.control,shouldUnregister:o}=e,a=d(i._names.array,n),s=A({control:i,name:n,defaultValue:g(i._formValues,n,g(i._defaultValues,n,e.defaultValue)),exact:!0}),l=j({control:i,name:n}),c=r.useRef(i.register(n,{...e.rules,value:s}));return r.useEffect(()=>{let e=i._options.shouldUnregister||o,t=(e,t)=>{let n=g(i._fields,e);n&&(n._f.mount=t)};if(t(n,!0),e){let e=h(g(i._options.defaultValues,n));L(i._defaultValues,n,e),v(g(i._formValues,n))&&L(i._formValues,n,e)}return()=>{(a?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,a,o]),{field:{name:n,value:s,onChange:r.useCallback(e=>c.current.onChange({target:{value:u(e),name:n},type:y.CHANGE}),[n]),onBlur:r.useCallback(()=>c.current.onBlur({target:{value:g(i._formValues,n),name:n},type:y.BLUR}),[n,i]),ref:e=>{let t=g(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!g(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!g(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!g(l.touchedFields,n)},error:{enumerable:!0,get:()=>g(l.errors,n)}})}}let D=e=>e.render(N(e));var F=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{};let z=(e,t,n)=>{for(let r of n||Object.keys(e)){let n=g(e,r);if(n){let{_f:e,...r}=n;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else l(r)&&z(r,t)}}};var B=()=>{let e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let n=(16*Math.random()+e)%16|0;return("x"==t?n:3&n|8).toString(16)})},U=(e,t,n={})=>n.shouldFocus||v(n.shouldFocus)?n.focusName||`${e}.${v(n.focusIndex)?t:n.focusIndex}.`:"",V=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched}),H=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),q=(e,t,n)=>{let r=m(g(e,n));return L(r,"root",t[n]),L(e,n,r),e},W=e=>"boolean"==typeof e,Z=e=>"file"===e.type,K=e=>"function"==typeof e,$=e=>{if(!p)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},G=e=>P(e),Q=e=>"radio"===e.type,Y=e=>e instanceof RegExp;let X={value:!1,isValid:!1},J={value:!0,isValid:!0};var ee=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||""===e[0].value?J:{value:e[0].value,isValid:!0}:J:X}return X};let et={isValid:!1,value:null};var en=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,et):et;function er(e,t,n="validate"){if(G(e)||Array.isArray(e)&&e.every(G)||W(e)&&!e)return{type:n,message:G(e)?e:"",ref:t}}var ei=e=>l(e)&&!Y(e)?e:{value:e,message:""},eo=async(e,t,n,r,o)=>{let{ref:s,refs:u,required:c,maxLength:d,minLength:f,min:p,max:h,pattern:m,validate:y,name:b,valueAsNumber:x,mount:E,disabled:_}=e._f,S=g(t,b);if(!E||_)return{};let C=u?u[0]:s,O=e=>{r&&C.reportValidity&&(C.setCustomValidity(W(e)?"":e||""),C.reportValidity())},T={},j=Q(s),R=i(s),A=j||R,I=(x||Z(s))&&v(s.value)&&v(S)||$(s)&&""===s.value||""===S||Array.isArray(S)&&!S.length,M=F.bind(null,b,n,T),L=(e,t,n,r=w.maxLength,i=w.minLength)=>{let o=e?t:n;T[b]={type:e?r:i,message:o,ref:s,...M(e?r:i,o)}};if(o?!Array.isArray(S)||!S.length:c&&(!A&&(I||a(S))||W(S)&&!S||R&&!ee(u).isValid||j&&!en(u).isValid)){let{value:e,message:t}=G(c)?{value:!!c,message:c}:ei(c);if(e&&(T[b]={type:w.required,message:t,ref:C,...M(w.required,t)},!n))return O(t),T}if(!I&&(!a(p)||!a(h))){let e,t;let r=ei(h),i=ei(p);if(a(S)||isNaN(S)){let n=s.valueAsDate||new Date(S),o=e=>new Date(new Date().toDateString()+" "+e),a="time"==s.type,l="week"==s.type;P(r.value)&&S&&(e=a?o(S)>o(r.value):l?S>r.value:n>new Date(r.value)),P(i.value)&&S&&(t=a?o(S)<o(i.value):l?S<i.value:n<new Date(i.value))}else{let n=s.valueAsNumber||(S?+S:S);a(r.value)||(e=n>r.value),a(i.value)||(t=n<i.value)}if((e||t)&&(L(!!e,r.message,i.message,w.max,w.min),!n))return O(T[b].message),T}if((d||f)&&!I&&(P(S)||o&&Array.isArray(S))){let e=ei(d),t=ei(f),r=!a(e.value)&&S.length>+e.value,i=!a(t.value)&&S.length<+t.value;if((r||i)&&(L(r,e.message,t.message),!n))return O(T[b].message),T}if(m&&!I&&P(S)){let{value:e,message:t}=ei(m);if(Y(e)&&!S.match(e)&&(T[b]={type:w.pattern,message:t,ref:s,...M(w.pattern,t)},!n))return O(t),T}if(y){if(K(y)){let e=er(await y(S,t),C);if(e&&(T[b]={...e,...M(w.validate,e.message)},!n))return O(e.message),T}else if(l(y)){let e={};for(let r in y){if(!k(e)&&!n)break;let i=er(await y[r](S,t),C,r);i&&(e={...i,...M(r,i.message)},O(i.message),n&&(T[b]=e))}if(!k(e)&&(T[b]={ref:C,...e},!n))return T}}return O(!0),T};function ea(e,t){return[...e,...C(t)]}var es=e=>Array.isArray(e)?e.map(()=>void 0):void 0;function el(e,t,n){return[...e.slice(0,t),...C(n),...e.slice(t)]}
5var eu=(e,t,n)=>Array.isArray(e)?(v(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[];function ec(e,t){return[...C(t),...C(e)]}function ed(e,t){let n=0,r=[...e];for(let e of t)r.splice(e-n,1),n++;return m(r).length?r:[]}var ef=(e,t)=>v(t)?[]:ed(e,C(t).sort((e,t)=>e-t)),ep=(e,t,n)=>{e[t]=[e[n],e[n]=e[t]][0]};function eh(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=v(e)?r++:e[t[r++]];return e}function em(e){for(let t in e)if(!v(e[t]))return!1;return!0}function ev(e,t){let n=Array.isArray(t)?t:I(t)?[t]:M(t),r=1===n.length?e:eh(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(l(r)&&k(r)||Array.isArray(r)&&em(r))&&ev(e,n.slice(0,-1)),e}var eg=(e,t,n)=>(e[t]=n,e);function ey(e){let t=E(),{control:n=t.control,name:i,keyName:o="id",shouldUnregister:a}=e,[s,l]=r.useState(n._getFieldArray(i)),u=r.useRef(n._getFieldArray(i).map(B)),c=r.useRef(s),d=r.useRef(i),f=r.useRef(!1);d.current=i,c.current=s,n._names.array.add(i),e.rules&&n.register(i,e.rules),T({next:({values:e,name:t})=>{if(t===d.current||!t){let t=g(e,d.current);Array.isArray(t)&&(l(t),u.current=t.map(B))}},subject:n._subjects.array});let p=r.useCallback(e=>{f.current=!0,n._updateFieldArray(i,e)},[n,i]),m=(e,t)=>{let r=C(h(e)),o=ea(n._getFieldArray(i),r);n._names.focus=U(i,o.length-1,t),u.current=ea(u.current,r.map(B)),p(o),l(o),n._updateFieldArray(i,o,ea,{argA:es(e)})},v=(e,t)=>{let r=C(h(e)),o=ec(n._getFieldArray(i),r);n._names.focus=U(i,0,t),u.current=ec(u.current,r.map(B)),p(o),l(o),n._updateFieldArray(i,o,ec,{argA:es(e)})},y=e=>{let t=ef(n._getFieldArray(i),e);u.current=ef(u.current,e),p(t),l(t),n._updateFieldArray(i,t,ef,{argA:e})},w=(e,t,r)=>{let o=C(h(t)),a=el(n._getFieldArray(i),e,o);n._names.focus=U(i,e,r),u.current=el(u.current,e,o.map(B)),p(a),l(a),n._updateFieldArray(i,a,el,{argA:e,argB:es(t)})},x=(e,t)=>{let r=n._getFieldArray(i);ep(r,e,t),ep(u.current,e,t),p(r),l(r),n._updateFieldArray(i,r,ep,{argA:e,argB:t},!1)},_=(e,t)=>{let r=n._getFieldArray(i);eu(r,e,t),eu(u.current,e,t),p(r),l(r),n._updateFieldArray(i,r,eu,{argA:e,argB:t},!1)},S=(e,t)=>{let r=h(t),o=eg(n._getFieldArray(i),e,r);u.current=[...o].map((t,n)=>t&&n!==e?u.current[n]:B()),p(o),l([...o]),n._updateFieldArray(i,o,eg,{argA:e,argB:r},!0,!1)},O=e=>{let t=C(h(e));u.current=t.map(B),p([...t]),l([...t]),n._updateFieldArray(i,[...t],e=>e,{},!0,!1)};return r.useEffect(()=>{if(n._state.action=!1,H(i,n._names)&&n._subjects.state.next({...n._formState}),f.current&&(!V(n._options.mode).isOnSubmit||n._formState.isSubmitted)){if(n._options.resolver)n._executeSchema([i]).then(e=>{let t=g(e.errors,i),r=g(n._formState.errors,i);(r?!t&&r.type:t&&t.type)&&(t?L(n._formState.errors,i,t):ev(n._formState.errors,i),n._subjects.state.next({errors:n._formState.errors}))});else{let e=g(n._fields,i);e&&e._f&&eo(e,n._formValues,n._options.criteriaMode===b.all,n._options.shouldUseNativeValidation,!0).then(e=>!k(e)&&n._subjects.state.next({errors:q(n._formState.errors,e,i)}))}}n._subjects.values.next({name:i,values:{...n._formValues}}),n._names.focus&&z(n._fields,e=>!!e&&e.startsWith(n._names.focus||"")),n._names.focus="",n._updateValid()},[s,i,n]),r.useEffect(()=>(g(n._formValues,i)||n._updateFieldArray(i),()=>{(n._options.shouldUnregister||a)&&n.unregister(i)}),[i,n,o,a]),{swap:r.useCallback(x,[p,i,n]),move:r.useCallback(_,[p,i,n]),prepend:r.useCallback(v,[p,i,n]),append:r.useCallback(m,[p,i,n]),remove:r.useCallback(y,[p,i,n]),insert:r.useCallback(w,[p,i,n]),update:r.useCallback(S,[p,i,n]),replace:r.useCallback(O,[p,i,n]),fields:r.useMemo(()=>s.map((e,t)=>({...e,[o]:u.current[t]||B()})),[s,o])}}function eb(){let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var ew=e=>a(e)||!s(e);function ex(e,t){if(ew(e)||ew(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n){let n=e[i];if(!r.includes(i))return!1;if("ref"!==i){let e=t[i];if(o(n)&&o(e)||l(n)&&l(e)||Array.isArray(n)&&Array.isArray(e)?!ex(n,e):n!==e)return!1}}return!0}var eE=e=>"select-multiple"===e.type,e_=e=>Q(e)||i(e),ek=e=>$(e)&&e.isConnected,eS=e=>{for(let t in e)if(K(e[t]))return!0;return!1};function eC(e,t={}){let n=Array.isArray(e);
vendor: 10,665 bytes, line 5
5if(l(e)||n)for(let n in e)Array.isArray(e[n])||l(e[n])&&!eS(e[n])?(t[n]=Array.isArray(e[n])?[]:{},eC(e[n],t[n])):a(e[n])||(t[n]=!0);return t}function eO(e,t,n){let r=Array.isArray(e);if(l(e)||r)for(let r in e)Array.isArray(e[r])||l(e[r])&&!eS(e[r])?v(t)||ew(n[r])?n[r]=Array.isArray(e[r])?eC(e[r],[]):{...eC(e[r])}:eO(e[r],a(t)?{}:t[r],n[r]):n[r]=!ex(e[r],t[r]);return n}var eT=(e,t)=>eO(e,t,eC(t)),ej=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>v(e)?e:t?""===e?NaN:e?+e:e:n&&P(e)?new Date(e):r?r(e):e;function eP(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:Z(t)?t.files:Q(t)?en(e.refs).value:eE(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?ee(e.refs).value:ej(v(t.value)?e.ref.value:t.value,e)}var eR=(e,t,n,r)=>{let i={};for(let n of e){let e=g(t,n);e&&L(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},eA=e=>v(e)?e:Y(e)?e.source:l(e)?Y(e.value)?e.value.source:e.value:e,eI=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eM(e,t,n){let r=g(e,n);if(r||I(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),o=g(t,r),a=g(e,r);if(o&&!Array.isArray(o)&&n!==r)break;if(a&&a.type)return{name:r,error:a};i.pop()}return{name:n}}var eL=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),eN=(e,t)=>!m(g(e,t)).length&&ev(e,t);let eD={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0};function eF(e={},t){let n,r={...eD,...e},s={submitCount:0,isDirty:!1,isLoading:K(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},c={},f=(l(r.defaultValues)||l(r.values))&&h(r.defaultValues||r.values)||{},w=r.shouldUnregister?{}:h(f),x={action:!1,mount:!1,watch:!1},E={mount:new Set,unMount:new Set,array:new Set,watch:new Set},_=0,S={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},O={values:eb(),array:eb(),state:eb()},T=e.resetOptions&&e.resetOptions.keepDirtyValues,j=V(r.mode),A=V(r.reValidateMode),I=r.criteriaMode===b.all,M=e=>t=>{clearTimeout(_),_=setTimeout(e,t)},N=async e=>{if(S.isValid||e){let e=r.resolver?k((await Y()).errors):await J(c,!0);e!==s.isValid&&O.state.next({isValid:e})}},D=e=>S.isValidating&&O.state.next({isValidating:e}),F=(e,t=[],n,r,i=!0,o=!0)=>{if(r&&n){if(x.action=!0,o&&Array.isArray(g(c,e))){let t=n(g(c,e),r.argA,r.argB);i&&L(c,e,t)}if(o&&Array.isArray(g(s.errors,e))){let t=n(g(s.errors,e),r.argA,r.argB);i&&L(s.errors,e,t),eN(s.errors,e)}if(S.touchedFields&&o&&Array.isArray(g(s.touchedFields,e))){let t=n(g(s.touchedFields,e),r.argA,r.argB);i&&L(s.touchedFields,e,t)}S.dirtyFields&&(s.dirtyFields=eT(f,w)),O.state.next({name:e,isDirty:et(e,t),dirtyFields:s.dirtyFields,errors:s.errors,isValid:s.isValid})}else L(w,e,t)},B=(e,t)=>{L(s.errors,e,t),O.state.next({errors:s.errors})},U=(e,t,n,r)=>{let i=g(c,e);if(i){let o=g(w,e,v(n)?g(f,e):n);v(o)||r&&r.defaultChecked||t?L(w,e,t?o:eP(i._f)):er(e,o),x.mount&&N()}},G=(e,t,n,r,i)=>{let o=!1,a=!1,l={name:e};if(!n||r){S.isDirty&&(a=s.isDirty,s.isDirty=l.isDirty=et(),o=a!==l.isDirty);let n=ex(g(f,e),t);a=g(s.dirtyFields,e),n?ev(s.dirtyFields,e):L(s.dirtyFields,e,!0),l.dirtyFields=s.dirtyFields,o=o||S.dirtyFields&&!n!==a}if(n){let t=g(s.touchedFields,e);t||(L(s.touchedFields,e,n),l.touchedFields=s.touchedFields,o=o||S.touchedFields&&t!==n)}return o&&i&&O.state.next(l),o?l:{}},Q=(t,r,i,o)=>{let a=g(s.errors,t),l=S.isValid&&W(r)&&s.isValid!==r;if(e.delayError&&i?(n=M(()=>B(t,i)))(e.delayError):(clearTimeout(_),n=null,i?L(s.errors,t,i):ev(s.errors,t)),(i?!ex(a,i):a)||!k(o)||l){let e={...o,...l&&W(r)?{isValid:r}:{},errors:s.errors,name:t};s={...s,...e},O.state.next(e)}D(!1)},Y=async e=>r.resolver(w,r.context,eR(e||E.mount,c,r.criteriaMode,r.shouldUseNativeValidation)),X=async e=>{let{errors:t}=await Y();if(e)for(let n of e){let e=g(t,n);e?L(s.errors,n,e):ev(s.errors,n)}else s.errors=t;return t},J=async(e,t,n={valid:!0})=>{for(let i in e){let o=e[i];if(o){let{_f:e,...i}=o;if(e){let i=E.array.has(e.name),a=await eo(o,w,I,r.shouldUseNativeValidation&&!t,i);if(a[e.name]&&(n.valid=!1,t))break;t||(g(a,e.name)?i?q(s.errors,a,e.name):L(s.errors,e.name,a[e.name]):ev(s.errors,e.name))}i&&await J(i,t,n)}}return n.valid},ee=()=>{for(let e of E.unMount){let t=g(c,e);t&&(t._f.refs?t._f.refs.every(e=>!ek(e)):!ek(t._f.ref))&&eh(e)}E.unMount=new Set},et=(e,t)=>(e&&t&&L(w,e,t),!ex(eu(),f)),en=(e,t,n)=>R(e,E,{...x.mount?w:v(t)?f:P(e)?{[e]:t}:t},n,t),er=(e,t,n={})=>{let r=g(c,e),o=t;if(r){let n=r._f;n&&(n.disabled||L(w,e,ej(t,n)),o=$(n.ref)&&a(t)?"":t,eE(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?i(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):n.refs[0]&&(n.refs[0].checked=!!o):n.refs.forEach(e=>e.checked=e.value===o):Z(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||O.values.next({name:e,values:{...w}})))}(n.shouldDirty||n.shouldTouch)&&G(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&el(e)},ei=(e,t,n)=>{for(let r in t){let i=t[r],a=`${e}.${r}`,s=g(c,a);!E.array.has(e)&&ew(i)&&(!s||s._f)||o(i)?er(a,i,n):ei(a,i,n)}},ea=(e,n,r={})=>{let i=g(c,e),o=E.array.has(e),l=h(n);L(w,e,l),o?(O.array.next({name:e,values:{...w}}),(S.isDirty||S.dirtyFields)&&r.shouldDirty&&O.state.next({name:e,dirtyFields:eT(f,w),isDirty:et(e,l)})):!i||i._f||a(l)?er(e,l,r):ei(e,l,r),H(e,E)&&O.state.next({...s}),O.values.next({name:e,values:{...w}}),x.mount||t()},es=async e=>{let t=e.target,i=t.name,o=!0,a=g(c,i),l=()=>t.type?eP(a._f):u(e);if(a){let t,u;let d=l(),f=e.type===y.BLUR||e.type===y.FOCUS_OUT,p=!eI(a._f)&&!r.resolver&&!g(s.errors,i)&&!a._f.deps||eL(f,g(s.touchedFields,i),s.isSubmitted,A,j),h=H(i,E,f);L(w,i,d),f?(a._f.onBlur&&a._f.onBlur(e),n&&n(0)):a._f.onChange&&a._f.onChange(e);let m=G(i,d,f,!1),v=!k(m)||h;if(f||O.values.next({name:i,type:e.type,values:{...w}}),p)return S.isValid&&N(),v&&O.state.next({name:i,...h?{}:m});if(!f&&h&&O.state.next({...s}),D(!0),r.resolver){let{errors:e}=await Y([i]),n=eM(s.errors,c,i),r=eM(e,c,n.name||i);t=r.error,i=r.name,u=k(e)}else t=(await eo(a,w,I,r.shouldUseNativeValidation))[i],(o=isNaN(d)||d===g(w,i,d))&&(t?u=!1:S.isValid&&(u=await J(c,!0)));o&&(a._f.deps&&el(a._f.deps),Q(i,u,t,m))}},el=async(e,t={})=>{let n,i;let o=C(e);if(D(!0),r.resolver){let t=await X(v(e)?e:o);n=k(t),i=e?!o.some(e=>g(t,e)):n}else e?((i=(await Promise.all(o.map(async e=>{let t=g(c,e);return await J(t&&t._f?{[e]:t}:t)}))).every(Boolean))||s.isValid)&&N():i=n=await J(c);return O.state.next({...!P(e)||S.isValid&&n!==s.isValid?{}:{name:e},...r.resolver||!e?{isValid:n}:{},errors:s.errors,isValidating:!1}),t.shouldFocus&&!i&&z(c,e=>e&&g(s.errors,e),e?o:E.mount),i},eu=e=>{let t={...f,...x.mount?w:{}};return v(e)?t:P(e)?g(t,e):e.map(e=>g(t,e))},ec=(e,t)=>({invalid:!!g((t||s).errors,e),isDirty:!!g((t||s).dirtyFields,e),isTouched:!!g((t||s).touchedFields,e),error:g((t||s).errors,e)}),ed=e=>{e&&C(e).forEach(e=>ev(s.errors,e)),O.state.next({errors:e?s.errors:{}})},ef=(e,t,n)=>{let r=(g(c,e,{_f:{}})._f||{}).ref;L(s.errors,e,{...t,ref:r}),O.state.next({name:e,errors:s.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},ep=(e,t)=>K(e)?O.values.subscribe({next:n=>e(en(void 0,t),n)}):en(e,t,!0),eh=(e,t={})=>{for(let n of e?C(e):E.mount)E.mount.delete(n),E.array.delete(n),t.keepValue||(ev(c,n),ev(w,n)),t.keepError||ev(s.errors,n),t.keepDirty||ev(s.dirtyFields,n),t.keepTouched||ev(s.touchedFields,n),r.shouldUnregister||t.keepDefaultValue||ev(f,n);O.values.next({values:{...w}}),O.state.next({...s,...t.keepDirty?{isDirty:et()}:{}}),t.keepIsValid||N()},em=(e,t={})=>{let n=g(c,e),i=W(t.disabled);return L(c,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),E.mount.add(e),n?i&&L(w,e,t.disabled?void 0:g(w,e,eP(n._f))):U(e,!0,t.value),{...i?{disabled:t.disabled}:{},...r.shouldUseNativeValidation?{required:!!t.required,min:eA(t.min),max:eA(t.max),minLength:eA(t.minLength),maxLength:eA(t.maxLength),pattern:eA(t.pattern)}:{},name:e,onChange:es,onBlur:es,ref:i=>{if(i){em(e,t),n=g(c,e);let r=v(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o=e_(r),a=n._f.refs||[];(o?a.find(e=>e===r):r===n._f.ref)||(L(c,e,{_f:{...n._f,...o?{refs:[...a.filter(ek),r,...Array.isArray(g(f,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),U(e,!1,void 0,r))}else(n=g(c,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(d(E.array,e)&&x.action)&&E.unMount.add(e)}}},eg=()=>r.shouldFocusError&&z(c,e=>e&&g(s.errors,e),E.mount),ey=(e,t)=>async n=>{n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let i=h(w);if(O.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await Y();s.errors=e,i=t}else await J(c);ev(s.errors,"root"),k(s.errors)?(O.state.next({errors:{}}),await e(i,n)):(t&&await t({...s.errors},n),eg(),setTimeout(eg)),O.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:k(s.errors),submitCount:s.submitCount+1,errors:s.errors})},eS=(e,t={})=>{g(c,e)&&(v(t.defaultValue)?ea(e,g(f,e)):(ea(e,t.defaultValue),L(f,e,t.defaultValue)),t.keepTouched||ev(s.touchedFields,e),t.keepDirty||(ev(s.dirtyFields,e),s.isDirty=t.defaultValue?et(e,g(f,e)):et()),!t.keepError&&(ev(s.errors,e),S.isValid&&N()),O.state.next({...s}))},eC=(n,r={})=>{let i=n||f,o=h(i),a=n&&!k(n)?o:f;if(r.keepDefaultValues||(f=i),!r.keepValues){if(r.keepDirtyValues||T)for(let e of E.mount)g(s.dirtyFields,e)?L(a,e,g(w,e)):ea(e,g(a,e));else{if(p&&v(n))for(let e of E.mount){let t=g(c,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if($(e)){let t=e.closest("form");if(t){t.reset();break}}}}c={}}w=e.shouldUnregister?r.keepDefaultValues?h(f):{}:o,O.array.next({values:{...a}}),O.values.next({values:{...a}})}E={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},x.mount||t(),x.mount=!S.isValid||!!r.keepIsValid,x.watch=!!e.shouldUnregister,O.state.next({submitCount:r.keepSubmitCount?s.submitCount:0,isDirty:r.keepDirty?s.isDirty:!!(r.keepDefaultValues&&!ex(n,f)),isSubmitted:!!r.keepIsSubmitted&&s.isSubmitted,dirtyFields:r.keepDirtyValues?s.dirtyFields:r.keepDefaultValues&&n?eT(f,n):{},touchedFields:r.keepTouched?s.touchedFields:{},errors:r.keepErrors?s.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eO=(e,t)=>eC(K(e)?e(w):e,t),eF=(e,t={})=>{let n=g(c,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}};return{control:{register:em,unregister:eh,getFieldState:ec,_executeSchema:Y,_getWatch:en,_getDirty:et,_updateV
vendor: 1,449 bytes, line 5
5alid:N,_removeUnmounted:ee,_updateFieldArray:F,_getFieldArray:t=>m(g(x.mount?w:f,t,e.shouldUnregister?g(f,t,[]):[])),_reset:eC,_resetDefaultValues:()=>K(r.defaultValues)&&r.defaultValues().then(e=>{eO(e,r.resetOptions),O.state.next({isLoading:!1})}),_updateFormState:e=>{s={...s,...e}},_subjects:O,_proxyFormState:S,get _fields(){return c},get _formValues(){return w},get _state(){return x},set _state(value){x=value},get _defaultValues(){return f},get _names(){return E},set _names(value){E=value},get _formState(){return s},set _formState(value){s=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:el,register:em,handleSubmit:ey,watch:ep,setValue:ea,getValues:eu,reset:eO,resetField:eS,clearErrors:ed,unregister:eh,setError:ef,setFocus:eF,getFieldState:ec}}function ez(e={}){let t=r.useRef(),[n,i]=r.useState({isDirty:!1,isValidating:!1,isLoading:K(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:K(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...eF(e,()=>i(e=>({...e}))),formState:n});let o=t.current.control;return o._options=e,T({subject:o._subjects.state,next:e=>{S(e,o._proxyFormState,o._updateFormState,!0)&&i({...o._formState})}}),r.useEffect(()=>{e.values&&!ex(e.values,o._defaultValues)?o._reset(e.values,o._options.resetOptions):o._resetDefaultValues()},[e.values,o]),r.useEffect(()=>
5{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=_(n,o),t.current}},86501:function(e,t,n){"use strict";n.d(t,{$x:function(){return eu},x7:function(){return eh},ZP:function(){return em},Am:function(){return F}});var r=n(67294);let i={data:""},o=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||i,a=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,s=/\/\*[^]*?\*\/|  +/g,l=/\n+/g,u=(e,t)=>{let n="",r="",i="";for(let o in e){let a=e[o];"@"==o[0]?"i"==o[1]?n=o+" "+a+";":r+="f"==o[1]?u(a,o):o+"{"+u(a,"k"==o[1]?"":t)+"}":"object"==typeof a?r+=u(a,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=a&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=u.p?u.p(o,a):o+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},c={},d=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+d(e[n]);return t}return e},f=(e,t,n,r,i)=>{let o=d(e),f=c[o]||(c[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(o));if(!c[f]){let t=o!==e?e:(e=>{let t,n,r=[{}];for(;t=a.exec(e.replace(s,""));)t[4]?r.shift():t[3]?(n=t[3].replace(l," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(l," ").trim();return r[0]})(e);c[f]=u(i?{["@keyframes "+f]:t}:t,n?"":"."+f)}let p=n&&c.g?c.g:null;return n&&(c.g=c[f]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(c[f],t,r,p),f},p=(e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":u(e,""):!1===e?"":e}return e+r+(null==o?"":o)},"");function h(e){let t=this||{},n=e.call?e(t.p):e;return f(n.unshift?n.raw?p(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,o(t.target),t.g,t.o,t.k)}h.bind({g:1});let m,v,g,y=h.bind({k:1});function b(e,t,n,r){u.p=t,m=e,v=n,g=r}function w(e,t){let n=this||{};return function(){let r=arguments;function i(o,a){let s=Object.assign({},o),l=s.className||i.className;n.p=Object.assign({theme:v&&v()},s),n.o=/ *go\d+/.test(l),s.className=h.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);let u=e;return e[0]&&(u=s.as||e,delete s.as),g&&u[0]&&g(s),m(u,s)}return t?t(i):i}}var x=e=>"function"==typeof e,E=(e,t)=>x(e)?e(t):e,_=(()=>{let e=0;return()=>(++e).toString()})(),k=(()=>{let e;return()=>{if(void 0===e&&"u">typeof window){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),S=20,C=new Map,O=1e3,T=e=>{if(C.has(e))return;let t=setTimeout(()=>{C.delete(e),I({type:4,toastId:e})},O);C.set(e,t)},j=e=>{let t=C.get(e);t&&clearTimeout(t)},P=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,S)};case 1:return t.toast.id&&j(t.toast.id),{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:n}=t;return e.toasts.find(e=>e.id===n.id)?P(e,{type:1,toast:n}):P(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?T(r):e.toasts.forEach(e=>{T(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+i}))}}},R=[],A={toasts:[],pausedAt:void 0},I=e=>{A=P(A,e),R.forEach(e=>{e(A)})},M={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},L=(e={})=>{let[t,n]=(0,r.useState)(A);(0,r.useEffect)(()=>(R.push(n),()=>{let e=R.indexOf(n);e>-1&&R.splice(e,1)}),[t]);let i=t.toasts.map(t=>{var n,r;return{...e,...e[t.type],...t,duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||M[t.type],style:{...e.style,...null==(r=e[t.type])?void 0:r.style,...t.style}}});return{...t,toasts:i}},N=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||_()}),D=e=>(t,n)=>{let r=N(t,e,n);return I({type:2,toast:r}),r.id},F=(e,t)=>D("blank")(e,t);F.error=D("error"),F.success=D("success"),F.loading=D("loading"),F.custom=D("custom"),F.dismiss=e=>{I({type:3,toastId:e})},F.remove=e=>I({type:4,toastId:e}),F.promise=(e,t,n)=>{let r=F.loading(t.loading,{...n,...null==n?void 0:n.loading});return e.then(e=>(F.success(E(t.success,e),{id:r,...n,...null==n?void 0:n.success}),e)).catch(e=>{F.error(E(t.error,e),{id:r,...n,...null==n?void 0:n.error})}),e};var z=(e,t)=>{I({type:1,toast:{id:e,height:t}})},B=()=>{I({type:5,time:Date.now()})},U=e=>{let{toasts:t,pausedAt:n}=L(e);(0,r.useEffect)(()=>
5{if(n)return;let e=Date.now(),r=t.map(t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(n<0){t.visible&&F.dismiss(t.id);return}return setTimeout(()=>F.dismiss(t.id),n)});return()=>{r.forEach(e=>e&&clearTimeout(e))}},[t,n]);let i=(0,r.useCallback)(()=>{n&&I({type:6,time:Date.now()})},[n]),o=(0,r.useCallback)((e,n)=>{let{reverseOrder:r=!1,gutter:i=8,defaultPosition:o}=n||{},a=t.filter(t=>(t.position||o)===(e.position||o)&&t.height),s=a.findIndex(t=>t.id===e.id),l=a.filter((e,t)=>t<s&&e.visible).length;return a.filter(e=>e.visible).slice(...r?[l+1]:[0,l]).reduce((e,t)=>e+(t.height||0)+i,0)},[t]);return{toasts:t,handlers:{updateHeight:z,startPause:B,endPause:i,calculateOffset:o}}},V=y`
6from {
7  transform: scale(0) rotate(45deg);
8	opacity: 0;
9}
10to {
11 transform: scale(1) rotate(45deg);
12  opacity: 1;
13}`,H=y`
14from {
15  transform: scale(0);
16  opacity: 0;
17}
18to {
19  transform: scale(1);
20  opacity: 1;
21}`,q=y`
22from {
23  transform: scale(0) rotate(90deg);
24	opacity: 0;
25}
26to {
27  transform: scale(1) rotate(90deg);
28	opacity: 1;
29}`,W=w("div")`
30  width: 20px;
31  opacity: 0;
32  height: 20px;
33  border-radius: 10px;
34  background: ${e=>e.primary||"#ff4b4b"};
35  position: relative;
36  transform: rotate(45deg);
37
38  animation: ${V} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
39    forwards;
40  animation-delay: 100ms;
41
42  &:after,
43  &:before {
44    content: '';
45    animation: ${H} 0.15s ease-out forwards;
46    animation-delay: 150ms;
47    position: absolute;
48    border-radius: 3px;
49    opacity: 0;
50    background: ${e=>e.secondary||"#fff"};
51    bottom: 9px;
52    left: 4px;
53    height: 2px;
54    width: 12px;
55  }
56
57  &:before {
58    animation: ${q} 0.15s ease-out forwards;
59    animation-delay: 180ms;
60    transform: rotate(90deg);
61  }
62`,Z=y`
63  from {
64    transform: rotate(0deg);
65  }
66  to {
67    transform: rotate(360deg);
68  }
69`,K=w("div")`
70  width: 12px;
71  height: 12px;
72  box-sizing: border-box;
73  border: 2px solid;
74  border-radius: 100%;
75  border-color: ${e=>e.secondary||"#e0e0e0"};
76  border-right-color: ${e=>e.primary||"#616161"};
77  animation: ${Z} 1s linear infinite;
78`,$=y`
79from {
80  transform: scale(0) rotate(45deg);
81	opacity: 0;
82}
83to {
84  transform: scale(1) rotate(45deg);
85	opacity: 1;
86}`,G=y`
870% {
88	height: 0;
89	width: 0;
90	opacity: 0;
91}
9240% {
93  height: 0;
94	width: 6px;
95	opacity: 1;
96}
97100% {
98  opacity: 1;
99  height: 10px;
100}`,Q=w("div")`
101  width: 20px;
102  opacity: 0;
103  height: 20px;
104  border-radius: 10px;
105  background: ${e=>e.primary||"#61d345"};
106  position: relative;
107  transform: rotate(45deg);
108
109  animation: ${$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
110    forwards;
111  animation-delay: 100ms;
112  &:after {
113    content: '';
114    box-sizing: border-box;
115    animation: ${G} 0.2s ease-out forwards;
116    opacity: 0;
117    animation-delay: 200ms;
118    position: absolute;
119    border-right: 2px solid;
120    border-bottom: 2px solid;
121    border-color: ${e=>e.secondary||"#fff"};
122    bottom: 6px;
123    left: 6px;
124    height: 10px;
125    width: 6px;
126  }
127`,Y=w("div")`
128  position: absolute;
129`,X=w("div")`
130  position: relative;
131  display: flex;
132  justify-content: center;
133  align-items: center;
134  min-width: 20px;
135  min-height: 20px;
136`,J=y`
137from {
138  transform: scale(0.6);
139  opacity: 0.4;
140}
141to {
142  transform: scale(1);
143  opacity: 1;
144}`,ee=w("div")`
145  position: relative;
146  transform: scale(0.6);
147  opacity: 0.4;
148  min-width: 20px;
149  animation: ${J} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
150    forwards;
151`,et=({toast:e})=>{let{icon:t,type:n,iconTheme:i}=e;return void 0!==t?"string"==typeof t?r.createElement(ee,null,t):t:"blank"===n?null:r.createElement(X,null,r.createElement(K,{...i}),"loading"!==n&&r.createElement(Y,null,"error"===n?r.createElement(W,{...i}):r.createElement(Q,{...i})))},en=e=>`
1520% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}
153100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
154`,er=e=>`
1550% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
156100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}
157`,ei="0%{opacity:0;} 100%{opacity:1;}",eo="0%{opacity:1;} 100%{opacity:0;}",ea=w("div")`
158  display: flex;
159  align-items: center;
160  background: #fff;
161  color: #363636;
162  line-height: 1.3;
163  will-change: transform;
164  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
165  max-width: 350px;
166  pointer-events: auto;
167  padding: 8px 10px;
168  border-radius: 8px;
169`,es=w("div")`
170  display: flex;
171  justify-content: center;
172  margin: 4px 10px;
173  color: inherit;
174  flex: 1 1 auto;
175  white-space: pre-line;
176`,el=(e,t)=>
176{let n=e.includes("top")?1:-1,[r,i]=k()?[ei,eo]:[en(n),er(n)];return{animation:t?`${y(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${y(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},eu=r.memo(({toast:e,position:t,style:n,children:i})=>{let o=e.height?el(e.position||t||"top-center",e.visible):{opacity:0},a=r.createElement(et,{toast:e}),s=r.createElement(es,{...e.ariaProps},E(e.message,e));return r.createElement(ea,{className:e.className,style:{...o,...n,...e.style}},"function"==typeof i?i({icon:a,message:s}):r.createElement(r.Fragment,null,a,s))});b(r.createElement);var ec=({id:e,className:t,style:n,onHeightUpdate:i,children:o})=>{let a=r.useCallback(t=>{if(t){let n=()=>{i(e,t.getBoundingClientRect().height)};n(),new MutationObserver(n).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,i]);return r.createElement("div",{ref:a,className:t,style:n},o)},ed=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:k()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},ef=h`
177  z-index: 9999;
178  > * {
179    pointer-events: auto;
180  }
181`,ep=16,eh=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:i,children:o,containerStyle:a,containerClassName:s})=>{let{toasts:l,handlers:u}=U(n);return r.createElement("div",{style:{position:"fixed",zIndex:9999,top:ep,left:ep,right:ep,bottom:ep,pointerEvents:"none",...a},className:s,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(n=>{let a=n.position||t,s=ed(a,u.calculateOffset(n,{reverseOrder:e,gutter:i,defaultPosition:t}));return r.createElement(ec,{id:n.id,key:n.id,onHeightUpdate:u.updateHeight,className:n.visible?ef:"",style:s},"custom"===n.type?E(n.message,n):o?o(n):r.createElement(eu,{toast:n,position:a}))}))},em=F},84849:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(67294);let i=r.createContext({}),o=!0;function a({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:a,direction:s,duration:l,enableAnimation:u=o}){let c={};return"rtl"===s&&(c["--animation-direction"]="reverse"),"number"==typeof l&&(c["--animation-duration"]=`${l}s`),u||(c["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(c.width=n),("string"==typeof r||"number"==typeof r)&&(c.height=r),("string"==typeof i||"number"==typeof i)&&(c.borderRadius=i),a&&(c.borderRadius="50%"),void 0!==e&&(c["--base-color"]=e),void 0!==t&&(c["--highlight-color"]=t),c}function s({count:e=1,wrapper:t,className:n,containerClassName:s,containerTestId:l,circle:u=!1,style:c,...d}){var f,p,h;let m=r.useContext(i),v={...d};for(let[e,t]of Object.entries(d))void 0===t&&delete v[e];let g={...m,...v,circle:u},y={...c,...a(g)},b="react-loading-skeleton";n&&(b+=` ${n}`);let w=null!==(f=g.inline)&&void 0!==f&&f,x=[],E=Math.ceil(e);for(let t=0;t<E;t++){let n=y;if(E>e&&t===E-1){let t=null!==(p=n.width)&&void 0!==p?p:"100%",r=e%1,i="number"==typeof t?t*r:`calc(${t} * ${r})`;n={...n,width:i}}let i=r.createElement("span",{className:b,style:n,key:t},"‌");w?x.push(i):x.push(r.createElement(r.Fragment,{key:t},i,r.createElement("br",null)))}return r.createElement("span",{className:s,"data-testid":l,"aria-live":"polite","aria-busy":null!==(h=g.enableAnimation)&&void 0!==h?h:o},t?x.map((e,n)=>r.createElement(t,{key:n},e)):x)}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(43079)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.