(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{60254:function(ee){function et(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function en(ee){return"function"==typeof ee}function ei(ee){return"number"==typeof ee}function eo(ee){return"object"==typeof ee&&null!==ee}function es(ee){return void 0===ee}ee.exports=et,et.prototype._events=void 0,et.prototype._maxListeners=void 0,et.defaultMaxListeners=10,et.prototype.setMaxListeners=function(ee){if(!ei(ee)||ee<0||isNaN(ee))throw TypeError("n must be a positive number");return this._maxListeners=ee,this},et.prototype.emit=function(ee){var et,ei,eu,ec,ed,ef;if(this._events||(this._events={}),"error"===ee&&(!this._events.error||eo(this._events.error)&&!this._events.error.length)){if(et=arguments[1],et instanceof Error)throw et;var ep=Error('Uncaught, unspecified "error" event. ('+et+")");throw ep.context=et,ep}if(es(ei=this._events[ee]))return!1;if(en(ei))switch(arguments.length){case 1:ei.call(this);break;case 2:ei.call(this,arguments[1]);break;case 3:ei.call(this,arguments[1],arguments[2]);break;default:ec=Array.prototype.slice.call(arguments,1),ei.apply(this,ec)}else if(eo(ei))for(ed=0,ec=Array.prototype.slice.call(arguments,1),eu=(ef=ei.slice()).length;ed0&&this._events[ee].length>eu&&(this._events[ee].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[ee].length),"function"==typeof console.trace&&console.trace()),this},et.prototype.on=et.prototype.addListener,et.prototype.once=function(ee,et){if(!en(et))throw TypeError("listener must be a function");var ei=!1;function eo(){this.removeListener(ee,eo),ei||(ei=!0,et.apply(this,arguments))}return eo.listener=et,this.on(ee,eo),this},et.prototype.removeListener=function(ee,et){var ei,es,eu,ec;if(!en(et))throw TypeError("listener must be a function");if(!this._events||!this._events[ee])return this;if(eu=(ei=this._events[ee]).length,es=-1,ei===et||en(ei.listener)&&ei.listener===et)delete this._events[ee],this._events.removeListener&&this.emit("removeListener",ee,et);else if(eo(ei)){for(ec=eu;ec-- >0;)if(ei[ec]===et||ei[ec].listener&&ei[ec].listener===et){es=ec;break}if(es<0)return this;1===ei.length?(ei.length=0,delete this._events[ee]):ei.splice(es,1),this._events.removeListener&&this.emit("removeListener",ee,et)}return this},et.prototype.removeAllListeners=function(ee){var et,ei;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[ee]&&delete this._events[ee],this;if(0==arguments.length){for(et in this._events)"removeListener"!==et&&this.removeAllListeners(et);return this.removeAllListeners("removeListener"),this._events={},this}if(en(ei=this._events[ee]))this.removeListener(ee,ei);else if(ei)for(;ei.length;)this.removeListener(ee,ei[ei.length-1]);return delete this._events[ee],this},et.prototype.listeners=function(ee){return this._events&&this._events[ee]?en(this._events[ee])?[this._events[ee]]:this._events[ee].slice():[]},et.prototype.listenerCount=function(ee){if(this._events){var et=this._events[ee];if(en(et))return 1;if(et)return et.length}return 0},et.listenerCount=function(ee,et){return ee.listenerCount(et)}},77150:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ib:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib},JS:function(){return stringToFunction},VD:function(){return BuilderComponent},Wp:function(){return BuilderBlocks},Zu:function(){return BuilderAsyncRequestsContext},fl:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},nJ:function(){return useIsPreviewing},s6:function(){return BuilderBlock$1},u7:function(){return withChildren},zC:function(){return BuilderStoreContext}});var _a,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(93112),_emotion_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16975),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2265),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(54887),hash_sum__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3708),hash_sum__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_4__),process=__webpack_require__(25566),version="3.1.1-0";"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(ee,et){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(ee,et){ee.__proto__=et}||function(ee,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(ee[en]=et[en])})(ee,et)};function __extends(ee,et){if("function"!=typeof et&&null!==et)throw TypeError("Class extends value "+String(et)+" is not a constructor or null");function en(){this.constructor=ee}extendStatics(ee,et),ee.prototype=null===et?Object.create(et):(en.prototype=et.prototype,new en)}var __assign=function(){return(__assign=Object.assign||function(ee){for(var et,en=1,ei=arguments.length;enet.indexOf(ei)&&(en[ei]=ee[ei]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols){var eo=0;for(ei=Object.getOwnPropertySymbols(ee);eoet.indexOf(ei[eo])&&Object.prototype.propertyIsEnumerable.call(ee,ei[eo])&&(en[ei[eo]]=ee[ei[eo]])}return en}function __decorate(ee,et,en,ei){var eo,es=arguments.length,eu=es<3?et:null===ei?ei=Object.getOwnPropertyDescriptor(et,en):ei;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)eu=Reflect.decorate(ee,et,en,ei);else for(var ec=ee.length-1;ec>=0;ec--)(eo=ee[ec])&&(eu=(es<3?eo(eu):es>3?eo(et,en,eu):eo(et,en))||eu);return es>3&&eu&&Object.defineProperty(et,en,eu),eu}function __metadata(ee,et){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ee,et)}function __awaiter(ee,et,en,ei){return new(en||(en=Promise))(function(eo,es){function eu(ee){try{ed(ei.next(ee))}catch(ee){es(ee)}}function ec(ee){try{ed(ei.throw(ee))}catch(ee){es(ee)}}function ed(ee){var et;ee.done?eo(ee.value):((et=ee.value)instanceof en?et:new en(function(ee){ee(et)})).then(eu,ec)}ed((ei=ei.apply(ee,et||[])).next())})}function __generator(ee,et){var en,ei,eo,es,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return es={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(es[Symbol.iterator]=function(){return this}),es;function ec(ec){return function(ed){return function(ec){if(en)throw TypeError("Generator is already executing.");for(;es&&(es=0,ec[0]&&(eu=0)),eu;)try{if(en=1,ei&&(eo=2&ec[0]?ei.return:ec[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ec[1])).done)return eo;switch(ei=0,eo&&(ec=[2&ec[0],eo.value]),ec[0]){case 0:case 1:eo=ec;break;case 4:return eu.label++,{value:ec[1],done:!1};case 5:eu.label++,ei=ec[1],ec=[0];continue;case 7:ec=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ec[0]||2===ec[0])){eu=0;continue}if(3===ec[0]&&(!eo||ec[1]>eo[0]&&ec[1]>0==+ei[en+1]?[]:{}},ee)[ei[ei.length-1]]=en,ee},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(ee){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl};function stringToFunction(ee,et,en,ei){if(void 0===et&&(et=!0),!ee||!ee.trim())return function(){};var eo=ee+":"+et;if(fnCache[eo])return fnCache[eo];var es=et&&!(ee.includes(";")||ee.includes(" return ")||ee.trim().startsWith("return "))||ee.trim().startsWith("builder.run"),eu=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(eu=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(es?"return (".concat(ee,");"):ee,";\n }\n ")))}catch(et){en&&en.push(et);var ec=et&&et.message;ec&&"string"==typeof ec&&ei&&-1===ei.indexOf(ec)&&ei.push(ec),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&console.warn("Function compile error in ".concat(ee),et)}var ed=function(){for(var et=[],ei=0;ei {\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(ei.map(function(ee,et){return"var ".concat(ee," = refToProxy($").concat(et,");")}).join("\n")).concat("\n".concat(ei.includes("context")?"var ctx = context;":"","\n").concat(et?"return stringify(".concat(ee,");"):ee,";\n"))},getIsolateContext=function(){var ee=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.serverContext;ee||(ee=new(safeDynamicRequire("isolated-vm")).Isolate({memoryLimit:128}).createContextSync(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.setServerContext(ee));var et=ee.global;return et.setSync("global",et.derefInto()),et.setSync("log",function(){for(var ee=[],et=0;et/g,">").replace(/"/g,""")},blockToHtmlString=function(ee){var et;return"<".concat(htmlEscape(ee.tagName||"div"),' \n class="builder-block ').concat(ee.id," ").concat(ee.class||"",'"\n builder-id="').concat(ee.id,'"\n ').concat(Object.keys(ee.properties||{}).map(function(et){return"".concat(htmlEscape(et),'="').concat(htmlEscape(ee.properties[et]),'"')}).join(" "),"\n >").concat("Text"===(null===(et=null==ee?void 0:ee.component)||void 0===et?void 0:et.name)?ee.component.options.text:ee.children?ee.children.map(function(ee){return blockToHtmlString(ee)}).join(""):"","").replace(/\s+/g," ")},Link=function(ee){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(et){return et.renderLink?et.renderLink(ee):react__WEBPACK_IMPORTED_MODULE_2__.createElement("a",__assign({},ee))})},camelCaseToKebabCase=function(ee){return ee?ee.replace(/([A-Z])/g,function(ee){return"-".concat(ee[0].toLowerCase())}):""},kebabCaseToCamelCase=function(ee){return void 0===ee&&(ee=""),ee.replace(/-([a-z])/g,function(ee){return ee[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(ee){return ee[ee.length-1]};function omit$1(ee,et){for(var en=Object.assign({},ee),ei=0,eo=et;ei-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;_i2&&(ew=eR.slice(1).join(":")),ey.style[kebabCaseToCamelCase(eb)]=ew)}}var eT=__assign(__assign(__assign({},omit$1(ey,["class","component","attr"])),((en={})["string"!=typeof eh||eh.includes("-")?"class":"className"]="builder-block ".concat(this.id).concat(ep.class?" ".concat(ep.class):"").concat(!ep.component||["Image","Video","Banner"].indexOf(ev)>-1?"":" builder-has-component")+(ey.class?" "+ey.class:"")+(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(null===(eu=this.privateState.state._spacer)||void 0===eu?void 0:eu.parent)===ep.id?" builder-spacer-parent":""),en.key=this.id+ee,en["builder-id"]=this.id,en)),0!==ee&&{"builder-index":ee});_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(eT["builder-inline-styles"]=ey.attr&&ey.attr.style?Object.keys(ey.style).reduce(function(ee,et){return(ee?"".concat(ee,";"):"")+"".concat(cssCase(et),":").concat(ey.style[et],";")},""):""),(eT.properties&&eT.properties.href||eT.href)&&"div"===eh&&(eh="a"),"a"===eh&&(eh=Link);var e_=ep.children||eT.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(ee){var et=ee.css;if(ee.cx,!ec.props.emailMode){var en=" "+et(ec.emotionCss);eT.class&&(eT.class+=en),eT.className&&(eT.className+=en)}return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderAsyncRequestsContext.Consumer,null,function(ee){return ec._asyncRequests=ee&&ee.requests,ec._errors=ee&&ee.errors,ec._logs=ee&&ee.logs,eO?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(eh,__assign({},eT)):ef&&(eE||ec.props.emailMode)?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(ef,__assign({},ek,{attributes:eT,builderBlock:ep,builderState:ec.privateState})):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(eh,__assign({},eT),ef&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(ef,__assign({builderState:ec.privateState,builderBlock:ep},ek)),ep.text||ey.text?ey.text:!ef&&e_&&Array.isArray(e_)&&e_.length?e_.map(function(ee,et){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock,{key:(ec.id||"")+et,block:ee,index:et,size:ec.props.size,fieldName:ec.props.fieldName,child:ec.props.child,emailMode:ec.props.emailMode})}):null)})}))},Object.defineProperty(BuilderBlock.prototype,"id",{get:function(){var ee=this.block;return ee.id.startsWith("builder")?ee.id:"builder-"+ee.id},enumerable:!1,configurable:!0}),BuilderBlock.prototype.contents=function(ee){var et=this,en=this.block;if(this.privateState=ee,en.repeat&&en.repeat.collection){var ei=en.repeat.collection,eo=last((ei||"").trim().split("(")[0].trim().split(".")),es=en.repeat.itemName||(eo?eo+"Item":"item"),eu=this.stringToFunction(ei)(ee.state,null,en,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context);return Array.isArray(eu)?eu.map(function(en,ei){var eo,eu=__assign(__assign({},ee.state),((eo={$index:ei,$item:en})[es]=en,eo["$".concat(es,"Index")]=ei,eo));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{key:ei,value:__assign(__assign({},ee),{state:eu})},et.getElement(ei,eu))}):null}return this.getElement()},BuilderBlock.prototype.render=function(){var ee=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(et){return ee.contents(et)})},BuilderBlock}(react__WEBPACK_IMPORTED_MODULE_2__.Component),BuilderBlocks=function(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.onClickEmptyBlocks=function(){var ee;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&et.noBlocks&&(null===(ee=window.parent)||void 0===ee||ee.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:et.parentId,dataPath:et.path}},"*"))},et.onHoverEmptyBlocks=function(){var ee;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&et.noBlocks&&(null===(ee=window.parent)||void 0===ee||ee.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:et.parentId,dataPath:et.path}},"*"))},et}return __extends(et,ee),Object.defineProperty(et.prototype,"isRoot",{get:function(){return!this.props.child},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"noBlocks",{get:function(){var ee=this.props.blocks;return!(ee&&ee.length)},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"path",{get:function(){var ee=this.props.dataPath||"";return ee.trim()&&(ee.startsWith("this.")?ee=ee.replace("this.",""):ee.startsWith("component.options.")||(ee="component.options."+ee)),ee},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"parentId",{get:function(){return this.props.parentElementId?this.props.parentElementId:this.props.parent&&this.props.parent.id},enumerable:!1,configurable:!0}),et.prototype.render=function(){var ee=this,et=this.props.blocks,en=this.props.emailMode?"span":"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(en,__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(){ee.noBlocks&&ee.onClickEmptyBlocks()}},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&{onMouseEnter:function(){return ee.onHoverEmptyBlocks()}}),et&&Array.isArray(et)&&et.map(function(et,en){return et&&"@builder.io/sdk:Element"===et["@type"]?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:et.id,block:et,index:en,fieldName:ee.props.fieldName,child:ee.props.child,emailMode:ee.props.emailMode}):et})||et)},et.renderInto=function(ee,en,ei){if(void 0===en&&(en={}),ee){var eo=null;return"string"==typeof ee?eo=document.querySelector(ee):ee instanceof Element&&(eo=ee),react_dom__WEBPACK_IMPORTED_MODULE_3__.render((0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{value:ei},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(et,__assign({},en))),eo)}},et}(react__WEBPACK_IMPORTED_MODULE_2__.Component),NoWrap=function(ee){return ee.children};function getData(ee){if(void 0!==(null==ee?void 0:ee.data)){var et=ee.data,en=et.blocks,ei=et.blocksString,eo=Array.isArray(en)||"string"==typeof ei,es=__assign(__assign({},ee.data),eo&&{blocks:en||JSON.parse(ei)});return delete es.blocksString,es}}var variantsScript=function(ee,et){return"\n(function() {\n if (window.builderNoTrack || !navigator.cookieEnabled) {\n return;\n }\n\n var variants = ".concat(ee,";\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(et,'\').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(et,"';\n var variantInCookie = getCookie(cookieName);\n var availableIDs = variants.map(function(vr) { return vr.id }).concat('").concat(et,"');\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(et,'";\n setCookie(cookieName, "').concat(et,'");\n }\n }\n if (variantId && variantId !== "').concat(et,"\") {\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(ee){var et=ee.initialContent,en=ee.children;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.canTrack||!Object.keys((null==et?void 0:et.variations)||{}).length)return en([et]);var ei=Object.keys(et.variations).map(function(ee){return __assign(__assign({id:ee},et.variations[ee]),{data:getData(et.variations[ee])})}),eo=__spreadArray(__spreadArray([],ei,!0),[et],!1);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer){var es=JSON.stringify(Object.keys(et.variations||{}).map(function(ee){return{id:ee,testRatio:et.variations[ee].testRatio}}));return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,en(eo,function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{id:"variants-script-".concat(et.id),dangerouslySetInnerHTML:{__html:variantsScript(es,et.id)}})}))}var eu="builder.tests.".concat(et.id),ec=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getCookie(eu);if(!ec&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)for(var ed=0,ef=Math.random(),ep=0;ep0&&!ee.trackedImpression&&(ee.builder.trackImpression(en.id,ee.renderedVariantId,void 0,{content:ee.data}),ee.data,ee.trackedImpression=!0,ee.ref&&ei.unobserve(ee.ref))})})).observe(ee.ref),eo=!0}catch(ee){console.warn("Could not bind intersection observer")}eo||(ee.trackedImpression=!0,ee.builder.trackImpression(en.id,ee.renderedVariantId,void 0,{content:en}))}ee.props.contentLoaded&&ee.props.contentLoaded(en&&en.data,en)},function(et){ee.props.contentError&&(ee.props.contentError(et),ee.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 ee=this;if(this.props.dataOnly)return null;var et=this.state.loading,en=this.data,ei=this.props.dataOnly?NoWrap:"div";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(VariantsProvider,{initialContent:en},function(eo,es){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,eo.map(function(eu,ec){var ed=ec===eo.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==eu?void 0:eu.id)+ec)},"template"!==ed&&(null==es?void 0:es()),react__WEBPACK_IMPORTED_MODULE_2__.createElement(ed,__assign({key:String((null==eu?void 0:eu.id)+ec)},"template"===ed&&{"data-template-variant-id":null==eu?void 0:eu.id}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(ei,__assign({},0===ec&&!ee.props.dataOnly&&{ref:function(et){return ee.ref=et}},{className:"builder-content",onClick:ee.onClick,"builder-content-id":null==eu?void 0:eu.id,"builder-model":ee.name}),ee.props.children(null==eu?void 0:eu.data,!ee.props.inline&&et,en))))}))})},BuilderContent}(react__WEBPACK_IMPORTED_MODULE_2__.Component),getContentWithInfo=function(ee){var et;if(ee){var en=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getCookie("builder.tests.".concat(ee.id)),ei=en===ee.id?ee:null===(et=ee.variations)||void 0===et?void 0:et[en],eo=(null==ei?void 0:ei.name)||((null==ei?void 0:ei.id)===ee.id?"Default variation":"");return __assign(__assign({},ee),{variationId:en,testVariationId:en,testVariationName:eo})}return null};function unwrapExports(ee){return ee&&ee.__esModule&&Object.prototype.hasOwnProperty.call(ee,"default")?ee.default:ee}function createCommonjsModule(ee,et){return ee(et={exports:{}},et.exports),et.exports}var onChange_1=createCommonjsModule(function(ee,et){Object.defineProperty(et,"__esModule",{value:!0});var en=Symbol("target"),ei=Symbol("unsubscribe"),eo=function(ee,et){return et&&et.toString&&(ee&&(ee+="."),ee+=et.toString()),ee},es=function(ee){return Array.isArray(ee)?ee.slice():Object.assign({},ee)},eu=function(ee,et,eu){if("undefined"==typeof Proxy)return ee;void 0===eu&&(eu={});var ec,ed,ef=Symbol("ProxyTarget"),ep=!1,eh=!1,em=!1,ev=eu.equals||Object.is,eg=new WeakMap,ey=new WeakMap,eb=new WeakMap,ew=function(ee,en,ei,eu){if(!em){if(ep){if(ep&&ed&&void 0!==ei&&void 0!==eu&&"length"!==en){var ef=ed;ee!==ec&&function(ee,et){for(var en;ee;)-1===(en=ee.indexOf("."))&&(en=ee.length),et(ee.slice(0,en)),ee=ee.slice(en+1)}(ee=ee.replace(ec,"").slice(1),function(ee){ef[ee]=es(ef[ee]),ef=ef[ee]}),ef[en]=ei}eh=!0}else et(eo(ee,en),eu,ei)}},eS=function(ee,et){var en=eg?eg.get(ee):void 0;en&&en.delete(et)},ek=function(ee,et){if(em)return ee;ey.set(ee,et);var en=eb.get(ee);return void 0===en&&(en=new Proxy(ee,eE),eb.set(ee,en)),en},eO=function(ee){return em||!0===eu.ignoreSymbols&&"symbol"==typeof ee},eE={get:function(ee,et,es){if(et===ef||et===en)return ee;if(et===ei&&""===ey.get(ee))return function(ee){return em=!0,eg=null,ey=null,eb=null,ee}(ee);var ec=Reflect.get(ee,et,es);if(function(ee){return null===ee||"object"!=typeof ee&&"function"!=typeof ee}(ec)||function(ee){return ee instanceof RegExp||ee instanceof Number}(ec)||"constructor"===et||!0===eu.isShallow)return ec;var ed=function(ee,et){var en=eg?eg.get(ee):void 0;if(en)return en;en=new Map,eg.set(ee,en);var ei=en.get(et);return ei||(ei=Reflect.getOwnPropertyDescriptor(ee,et),en.set(et,ei)),ei}(ee,et);if(ed&&!ed.configurable){if(ed.set&&!ed.get)return;if(!1===ed.writable)return ec}return ek(ec,eo(ey.get(ee),et))},set:function(ee,et,en,ei){en&&void 0!==en[ef]&&(en=en[ef]);var eo=eO(et),es=eo?null:Reflect.get(ee,et,ei),eu=Reflect.set(ee[ef]||ee,et,en);return eo||ev(es,en)||ew(ey.get(ee),et,es,en),eu},defineProperty:function(ee,et,en){var ei=Reflect.defineProperty(ee,et,en);return eO(et)||(eS(ee,et),ew(ey.get(ee),et,void 0,en.value)),ei},deleteProperty:function(ee,et){if(!Reflect.has(ee,et))return!0;var en=eO(et),ei=en?null:Reflect.get(ee,et),eo=Reflect.deleteProperty(ee,et);return en||(eS(ee,et),ew(ey.get(ee),et,ei)),eo},apply:function(ee,et,en){var ei=et instanceof Date;if(ei&&(et=et[ef]),!ep){ep=!0,ei&&(ed=et.valueOf()),(Array.isArray(et)||"[object Object]"===toString.call(et))&&(ed=es(et[ef])),ec=(ec=ey.get(ee)).slice(0,Math.max(ec.lastIndexOf("."),0));var eo=Reflect.apply(ee,et,en);return ep=!1,(eh||ei&&!ev(ed,et.valueOf()))&&(ew(ec,"",ed,et[ef]||et),ed=null,eh=!1),eo}return Reflect.apply(ee,et,en)}},eP=ek(ee,"");return et=et.bind(eP),eP};eu.target=function(ee){return ee[en]||ee},eu.unsubscribe=function(ee){return ee[ei]||ee},ee.exports=eu,et.default=eu}),onChange=unwrapExports(onChange_1),nextTick=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick;function debounceNextTick(ee,et,en){return void 0===et&&"function"==typeof ee?debounceNextTickImpl(ee):{configurable:!0,enumerable:en.enumerable,get:function(){return Object.defineProperty(this,et,{configurable:!0,enumerable:en.enumerable,value:debounceNextTickImpl(en.value)}),this[et]}}}function debounceNextTickImpl(ee){var et=null,en=null;return function(){var ee=et;et=[].slice.call(arguments),en=this,null===ee&&nextTick(ei)};function ei(){ee.apply(en,et),et=null,en=null}}function throttle(ee,et,en){void 0===en&&(en={});var ei,eo,es,eu=null,ec=0,ed=function(){ec=!1===en.leading?0:Date.now(),eu=null,es=ee.apply(ei,eo),eu||(ei=eo=null)};return function(){var ef=Date.now();ec||!1!==en.leading||(ec=ef);var ep=et-(ef-ec);return ei=this,eo=arguments,ep<=0||ep>et?(eu&&(clearTimeout(eu),eu=null),ec=ef,es=ee.apply(ei,eo),eu||(ei=eo=null)):eu||!1===en.trailing||(eu=setTimeout(ed,ep)),es}}var BuilderMetaContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({emailMode:!1,ampMode:!1,isServer:!1}),tryEval=function(ee,et,en){void 0===et&&(et={});var ei=ee;if("string"==typeof ei&&ei.trim()){var eo=!(ei.includes(";")||ei.includes(" return ")),es=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(es=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(eo?"return (".concat(ee,");"):ee,";\n }")))}catch(ee){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&console.warn("Could not compile javascript",ee)}try{if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)return es(et||{});var eu=safeDynamicRequire("isolated-vm"),ec=getIsolateContext(),ed=makeFn(ee,eo,["state"]),ef=ec.evalClosureSync(ed,[new eu.Reference(et||{})]);try{return JSON.parse(ef)}catch(ee){return ef}}catch(et){en&&en.push(et),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",et.message,"in",ee,et.stack):isDebug()&&console.debug("Builder custom code error:",et.message,"in",ee,et.stack)}}};function toError(ee){return ee instanceof Error?ee:Error(String(ee))}function getBuilderPixel(ee){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(ee)},responsiveStyles:{large:{height:"0",width:"0",display:"inline-block",opacity:"0",overflow:"hidden",pointerEvents:"none"}}}}function pick(ee){for(var et=[],en=1;en0&&(eu.state||(eu.state={}),eu.inputs.forEach(function(ee){ee&&ee.name&&void 0!==ee.defaultValue&&void 0===eu.state[ee.name]&&(eu.state[ee.name]=ee.defaultValue)})),eo.state={context:__assign(__assign({},et.context),{apiKey:eo.props.apiKey||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey}),state:Object.assign(eo.rootState,__assign(__assign(__assign(__assign({},eo.inlinedContent&&eo.inlinedContent.data&&eo.inlinedContent.data.state),{isBrowser:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser,isServer:!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser,_hydrate:et.hydrate,location:eo.locationState,deviceSize:eo.deviceSizeState,device:eo.device}),eo.getHtmlData()),et.data)),updates:0,key:0,update:eo.updateState},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var ec=eo.props.apiKey;if(ec&&ec!==eo.builder.apiKey&&!instancesMap.has(ec)){var ed=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib(ec,void 0,void 0,!0);instancesMap.set(ec,ed)}if(eo.inlinedContent){var ef=eo.inlinedContent.content||eo.inlinedContent;eo.onContentLoaded(null==ef?void 0:ef.data,getContentWithInfo(ef))}}return eo.registerCustomComponents(),eo}return __extends(et,ee),Object.defineProperty(et.prototype,"options",{get:function(){return __assign(__assign({},et.defaults),this.props)},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"name",{get:function(){return this.props.model||this.props.modelName||this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"element",{get:function(){return this.ref},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"inlinedContent",{get:function(){if(!this.isPreviewing||this.props.inlineContent)return this.props.content},enumerable:!1,configurable:!0}),Object.defineProperty(et.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}),et.prototype.getHtmlData=function(){var ee=this.inlinedContent&&this.inlinedContent.id||this.props.entry,et=ee&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&document.querySelector('script[data-builder-json="'.concat(ee,'"],script[data-builder-state="').concat(ee,'"]'));if(et)try{return JSON.parse(et.innerText)}catch(ee){console.warn("Could not parse Builder.io HTML data transfer",ee,et.innerText)}return{}},Object.defineProperty(et.prototype,"device",{get:function(){return this.builder.getUserAttributes().device||"desktop"},enumerable:!1,configurable:!0}),Object.defineProperty(et.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(et.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}),et.renderInto=function(ee,en,ei,eo){if(void 0===en&&(en={}),void 0===ei&&(ei=!0),void 0===eo&&(eo=!1),console.debug("BuilderPage.renderInto",ee,en,ei,this),ee){var es=null;if("string"==typeof ee?es=document.querySelector(ee):ee instanceof Element&&(es=ee),es){var eu=es.classList.contains("builder-hydrated");if(!eu||eo){es.classList.add("builder-hydrated");var ec=ei&&es.innerHTML.includes("builder-block");if(!es.classList.contains("builder-component")){var ed=es.querySelector(".builder-api-styles")||(es.previousElementSibling&&es.previousElementSibling.matches(".builder-api-styles")?es.previousElementSibling:null),ef="";ed&&(ed.innerHTML.replace(/\/\*start:([^\*]+?)\*\/([\s\S]*?)\/\*end:([^\*]+?)\*\//g,function(ee,et,en){var ei=null;try{ei=document.querySelector('[data-emotion-css="'.concat(et,'"]'))}catch(ee){console.warn(ee)}return ei?ei.innerHTML=en:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||(ef+=ee),ee}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){ed.innerHTML=ef}));var ep=es.querySelector(".builder-component");ep?es=ep:ec=!1}location.search.includes("builder.debug=true")&&console.debug("hydrate",ec,es);var eh=es;if(!eu){var em=document.createElement("div");es.insertAdjacentElement("beforebegin",em),em.appendChild(es),eh=em}if((_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&location.search.includes("builder.preview="))&&(ec=!1),ec&&es){var ev=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(et,__assign({},en)),eh,eh.builderRootRef);return eh.builderRootRef=ev,ev}var eg=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(et,__assign({},en)),eh,eh.builderRootRef);return eh.builderRootRef=eg,eg}console.debug("Tried to hydrate multiple times")}}},et.prototype.registerCustomComponents=function(){if(this.props.customComponents)for(var ee=0,et=this.props.customComponents;ee0&&eh.push(getBuilderPixel(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey)),ee?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({"data-builder-component":et.name,"data-builder-content-id":ei.id},et.isPreviewing?{"data-builder-variation-id":ei.testVariationId||ei.variationId||ei.id}:{}),!es&&et.getCss(ee)&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("style",{ref:function(ee){return et.styleRef=ee},className:"builder-custom-styles",dangerouslySetInnerHTML:{__html:et.getCss(ee)}}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},et.state),{rootState:et.rootState,state:et.data,content:ei,renderLink:et.props.renderLink})},es&&et.Component?react__WEBPACK_IMPORTED_MODULE_2__.createElement(et.Component,{data:et.data,context:et.state.context}):react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{key:String(!!(null===(eo=null==ee?void 0:ee.blocks)||void 0===eo?void 0:eo.length)),emailMode:et.props.emailMode,fieldName:"blocks",blocks:eh}))):en?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":et.name,className:"builder-loading"},et.props.children):react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":et.name,className:"builder-no-content"})})}))}))},et.prototype.evalExpression=function(ee){var et=this,en=this.data;return String(ee).replace(/{{([^}]+)}}/g,function(ee,ei){return tryEval(ei,en,et._errors)})},et.prototype.handleRequest=function(ee,et){return __awaiter(this,void 0,void 0,function(){var en,ei,eo,es,eu=this;return __generator(this,function(ec){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&fetchCache[et]?(this.updateState(function(en){en[ee]=fetchCache[et]}),[2,fetchCache[et]]):(en=function(){return __awaiter(eu,void 0,void 0,function(){var en,ei,eo;return __generator(this,function(es){switch(es.label){case 0:en=Date.now(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||console.time("Fetch "+et),es.label=1;case 1:return es.trys.push([1,4,5,6]),[4,fetch$1(et)];case 2:return[4,es.sent().json()];case 3:return ei=es.sent(),[3,6];case 4:return eo=toError(es.sent()),this._errors&&this._errors.push(eo),this._logs&&this._logs.push("Fetch to ".concat(et," errored in ").concat(Date.now()-en,"ms")),[2];case 5:return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||(console.timeEnd("Fetch "+et),this._logs&&this._logs.push("Fetched ".concat(et," in ").concat(Date.now()-en,"ms"))),[7];case 6:return ei&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&(fetchCache[et]=ei),this.updateState(function(et){et[ee]=ei})),[2,ei]}})})},(ei=this._asyncRequests&&this._asyncRequests.find(function(ee){return isRequestInfo(ee)&&ee.url===et}))?((eo=ei.promise).then(function(et){et&&eu.updateState(function(en){en[ee]=et})}),[2,eo]):(es=en(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){eu._asyncRequests&&eu._asyncRequests.push(es)}),[2,es]))})})},et.prototype.unsubscribe=function(){this.subscriptions&&(this.subscriptions.unsubscribe(),this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0)},et.prototype.handleBuilderRequest=function(ee,et){var en=this,ei=tryEval(et,this.data,this._errors);this.subscriptions&&this.unsubscribe(),ei&&this.subscriptions.add(this.builder.queueGetContent(ei.model,ei).subscribe(function(et){et&&en.updateState(function(en){en[ee]=et})}))},et.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)],et.prototype,"notifyStateChange",null),et}(react__WEBPACK_IMPORTED_MODULE_2__.Component);function BuilderBlock(ee){return ee.type="react",_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.Component(ee)}function updateMetadata(ee,et){var en=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.find(function(et){return"string"==typeof ee?et.name===ee:et.class===et})||null,ei=et(en);en&&ei?_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(ei.class||en.class,ei):en&&!ei||!en&&ei&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(ei.class,ei)}function withBuilder(ee,et){return BuilderBlock(et)(ee),ee}var withChildren=function(ee){var et=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(et,en){var ei=et.children||et.builderBlock&&et.builderBlock.children&&et.builderBlock.children.map(function(ee){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:ee.id,block:ee})});return react__WEBPACK_IMPORTED_MODULE_2__.createElement(ee,__assign({},et,{ref:en}),ei)});return et.builderOptions={canHaveChildren:!0},et},noWrap=function(ee){var et=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(et,en){var ei=__assign(__assign({},et),et.attributes);return react__WEBPACK_IMPORTED_MODULE_2__.createElement(ee,__assign({},ei,{ref:en}))});return et.builderOptions={noWrap:!0},et},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(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.textRef=null,et}return __extends(et,ee),et.prototype.componentDidMount=function(){this.textRef&&!/{{([^}]+)}}/.test(this.props.text)&&(this.textRef.innerHTML=this.props.text)},et.prototype.evalExpression=function(ee,et){return this.allowTextEdit?String(ee):String(ee).replace(/{{([^}]+)}}/g,function(ee,en){return tryEval(en,et)})},Object.defineProperty(et.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))},enumerable:!1,configurable:!0}),et.prototype.render=function(){var ee=this,et={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(en){var ei;return(null===(ei=en.content.meta)||void 0===ei?void 0:ei.rtlMode)&&(et.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(et){ee.textRef=et},css:et,className:"builder-text"},{dangerouslySetInnerHTML:{__html:ee.evalExpression(ee.props.text||ee.props.content||"",en.state)}})))})},et}(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(ee){var et=ee.name,en=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(BuilderStoreContext),ei=!en.context.symbolId;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",__assign({css:{pointerEvents:"auto"}},ei&&{"builder-slot":et}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{child:!0,parentElementId:en.context.symbolId,dataPath:"symbol.data.".concat(et),blocks:en.state[et]||[]}))}_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(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.prototype.render=function(){return this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(ee,et){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:ee,key:ee.id,index:et})})},et}(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:"

Enter some text...

"}}}],ColumnsComponent=function(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),Object.defineProperty(et.prototype,"columns",{get:function(){return this.props.columns||[]},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"gutterSize",{get:function(){return"number"==typeof this.props.space?this.props.space||0:20},enumerable:!1,configurable:!0}),et.prototype.getWidth=function(ee){return this.columns[ee]&&this.columns[ee].width||100/this.columns.length},et.prototype.getColumnWidth=function(ee){var et=this.columns,en=this.gutterSize*(et.length-1)/et.length;return"calc(".concat(this.getWidth(ee),"% - ").concat(en,"px)")},et.prototype.render=function(){var ee,et,en,ei,eo=this,es=this.columns,eu=this.gutterSize,ec=getSizesForBreakpoints((null===(ei=null===(en=null===(et=this.props.builderState)||void 0===et?void 0:et.context.builderContent)||void 0===en?void 0:en.meta)||void 0===ei?void 0:ei.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&&((ee={})["@media (max-width: ".concat("tablet"!==this.props.stackColumnsAt?ec.small.max:ec.medium.max,"px)")]={flexDirection:this.props.reverseColumnsWhenStacked?"column-reverse":"column",alignItems:"stretch"},ee))},es.map(function(ee,et){var en,ei,es=ee.link?Link:"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:et},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(es,__assign({className:"builder-column"},ee.link?{href:ee.link}:null,{css:__assign(((en={display:"flex",flexDirection:"column",alignItems:"stretch",lineHeight:"normal"})["& > .builder-blocks"]={flexGrow:1},en.width=eo.getColumnWidth(et),en.marginLeft=0===et?0:eu,en),"never"!==eo.props.stackColumnsAt&&((ei={})["@media (max-width: ".concat("tablet"!==eo.props.stackColumnsAt?ec.small.max:ec.medium.max,"px)")]={width:"100%",marginLeft:0},ei))}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{key:et,child:!0,parentElementId:eo.props.builderBlock&&eo.props.builderBlock.id,blocks:ee.blocks,dataPath:"component.options.columns.".concat(et,".blocks")})))})))},et}(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(ee){function et(){en.forEach(function(ee){ee.delete("width")})}var en=ee.get("columns");Array.isArray(en)&&(!en.find(function(ee){return ee.get("width")})||(en.find(function(ee){return!ee.get("width")})||100!==en.reduce(function(ee,et){return ee+et.get("width")},0))&&et())}},{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(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.elementRef=null,et.scriptsInserted=new Set,et.scriptsRun=new Set,et}return __extends(et,ee),et.prototype.componentDidUpdate=function(ee){this.props.content!==ee.content&&this.findAndRunScripts()},et.prototype.componentDidMount=function(){this.findAndRunScripts()},et.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var ee=this.elementRef.getElementsByTagName("script"),et=0;et/g,""):this.props.content},enumerable:!1,configurable:!0}),et.prototype.render=function(){var ee=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{ref:function(et){return ee.elementRef=et},className:"builder-embed",dangerouslySetInnerHTML:{__html:this.content}})},et}(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(ee){var et=ee.get("url");if(et)return ee.set("content","Loading..."),fetch("https://iframe.ly/api/iframely?url=".concat(et,"&api_key=").concat("ae0e60e78201a3f2b0de4b")).then(function(ee){return ee.json()}).then(function(en){ee.get("url")===et&&(en.html?ee.set("content",en.html):ee.set("content","Invalid url, please try another"))}).catch(function(et){ee.set("content","There was an error embedding this URL, please try again or another URL")});ee.delete("content")}},{name:"content",type:"html",defaultValue:'
(Choose an embed URL)
',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]");builderTemplates.length&&Array.from(builderTemplates).forEach(function(ee){var et=ee.content.querySelectorAll(customCodeQuerySelector_1);et.length&&(allCustomCodeElements_1=allCustomCodeElements_1.concat(Array.from(et)))}),allCustomCodeElements_1.forEach(function(ee){var et=ee.parentElement,en=et&&et.getAttribute("builder-id");en&&(globalReplaceNodes[en]=globalReplaceNodes[en]||[],globalReplaceNodes[en].push(isShopify$1?ee:ee.cloneNode(!0)))})}catch(e){console.error("Builder replace nodes error:",e)}}var CustomCodeComponent=function(ee){function et(et){var en,ei=this;if((ei=ee.call(this,et)||this).elementRef=null,ei.originalRef=null,ei.scriptsInserted=new Set,ei.scriptsRun=new Set,ei.firstLoad=!0,ei.replaceNodes=!1,ei.state={hydrated:!1},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var eo=null===(en=ei.props.builderBlock)||void 0===en?void 0:en.id;if(ei.replaceNodes=!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(et.replaceNodes||isShopify$1)&&eo&&(null==globalReplaceNodes?void 0:globalReplaceNodes[eo])),ei.firstLoad&&ei.props.builderBlock){if(eo&&(null==globalReplaceNodes?void 0:globalReplaceNodes[eo])){var es=globalReplaceNodes[eo].shift()||null;ei.originalRef=es,0===globalReplaceNodes[eo].length&&delete globalReplaceNodes[eo]}else if(ei.replaceNodes){var eu=document.querySelectorAll(".".concat(ei.props.builderBlock.id," .builder-custom-code"));if(1===eu.length){var ec=eu[0];ei.originalRef=ec,ei.originalRef.remove()}}}}return ei}return __extends(et,ee),Object.defineProperty(et.prototype,"noReactRender",{get:function(){var ee;return!!(isShopify$1&&(null===(ee=this.props.code)||void 0===ee?void 0:ee.match(/{[{%]/g)))},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"isHydrating",{get:function(){return!isShopify$1&&this.originalRef},enumerable:!1,configurable:!0}),et.prototype.componentDidUpdate=function(ee){this.props.code!==ee.code&&this.findAndRunScripts()},et.prototype.componentDidMount=function(){var ee=this;this.firstLoad=!1,this.replaceNodes||(this.isHydrating?(this.setState({hydrated:!0}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){return ee.findAndRunScripts()})):this.findAndRunScripts()),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&this.replaceNodes&&this.originalRef&&this.elementRef&&this.elementRef.appendChild(this.originalRef)},et.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var ee=this.elementRef.getElementsByTagName("script"),et=0;et)<[^<]*)*<\/script>/gi,""):this.props.code},enumerable:!1,configurable:!0}),et.prototype.render=function(){var ee=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({ref:function(et){return ee.elementRef=et},className:"builder-custom-code"},!this.replaceNodes&&!this.noReactRender&&{dangerouslySetInnerHTML:{__html:this.code}}))},et}(react__WEBPACK_IMPORTED_MODULE_2__.Component),CustomCode=withBuilder(CustomCodeComponent,{name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"

Hello there, I am custom HTML code!

",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(ee){return ee.replace(/http(s)?:/,"")}function isElementInViewport(ee){var et=ee.getBoundingClientRect();return et.top>=0&&et.left>=0&&et.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&et.right<=(window.innerWidth||document.documentElement.clientWidth)}function getShopifyImageUrl(ee,et){if(!ee||!(null==ee?void 0:ee.match(/cdn\.shopify\.com/))||!et)return ee;if("master"===et)return removeProtocol(ee);var en=ee.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(en){var ei=ee.split(en[0]),eo=en[3],es=et.match("x")?et:"".concat(et,"x");return removeProtocol("".concat(ei[0],"_").concat(es).concat(eo))}return null}var DEFAULT_ASPECT_RATIO$1=.7041;function updateQueryParam(ee,et,en){void 0===ee&&(ee="");var ei=RegExp("([?&])"+et+"=.*?(&|$)","i"),eo=-1!==ee.indexOf("?")?"&":"?";return ee.match(ei)?ee.replace(ei,"$1"+et+"="+encodeURIComponent(en)+"$2"):ee+eo+et+"="+encodeURIComponent(en)}function getSrcSet(ee){if(!ee)return ee;var et=[100,200,400,800,1200,1600,2e3];if(ee.match(/builder\.io/)){var en=ee,ei=Number(ee.split("?width=")[1]);return isNaN(ei)||(en="".concat(en," ").concat(ei,"w")),et.filter(function(ee){return ee!==ei}).map(function(et){return"".concat(updateQueryParam(ee,"width",et)," ").concat(et,"w")}).concat([en]).join(", ")}return ee.match(/cdn\.shopify\.com/)?et.map(function(et){return[getShopifyImageUrl(ee,"".concat(et,"x").concat(et)),et]}).filter(function(ee){return!!ee[0]}).map(function(ee){var et=ee[0],en=ee[1];return"".concat(et," ").concat(en,"w")}).concat([ee]).join(", "):ee}var getSizes=function(ee,et,en){void 0===en&&(en={});var ei,eo,es,eu,ec,ed,ef,ep,eh="";if(ee){var em=ee.split(","),ev=em.length;eh=em.map(function(ee,et){return ev===et+1?ee.replace(/\([\s\S]*?\)/g,"").trim():ee}).join(", ")}else if(et&&et.responsiveStyles){var eg=[],ey=!1,eb=/^\d+/,ew=getSizesForBreakpoints(en);if(null===(es=null===(eo=null===(ei=et.responsiveStyles)||void 0===ei?void 0:ei.small)||void 0===eo?void 0:eo.width)||void 0===es?void 0:es.match(eb)){ey=!0;var eS="(max-width: ".concat(ew.small.max,"px)"),ek="".concat(eS," ").concat(et.responsiveStyles.small.width.replace("%","vw"));eg.push(ek)}if((null===(ed=null===(ec=null===(eu=et.responsiveStyles)||void 0===eu?void 0:eu.medium)||void 0===ec?void 0:ec.width)||void 0===ed?void 0:ed.match(eb))&&(ey=!0,eS="(max-width: ".concat(ew.medium.max,"px)"),ek="".concat(eS," ").concat(et.responsiveStyles.medium.width.replace("%","vw")),eg.push(ek)),null===(ep=null===(ef=et.responsiveStyles)||void 0===ef?void 0:ef.large)||void 0===ep?void 0:ep.width){var eO=et.responsiveStyles.large.width.replace("%","vw");eg.push(eO)}else ey&&eg.push("100vw");eg.length&&(eh=eg.join(", "))}return eh},ImageComponent=function(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.state={imageLoaded:!et.useLazyLoading,load:!et.useLazyLoading},et.pictureRef=null,et.scrollListener=null,et.intersectionObserver=null,et}return __extends(et,ee),Object.defineProperty(et.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}),et.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))},et.prototype.componentDidMount=function(){var ee=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(et,en){et.forEach(function(et){et.intersectionRatio>0&&(ee.setState({load:!0}),ee.pictureRef&&en.unobserve(ee.pictureRef))})})).observe(this.pictureRef);else{var et=throttle(function(en){if(ee.pictureRef){var ei=ee.pictureRef.getBoundingClientRect(),eo=window.innerHeight/2;ei.top0&&(ee.setState({inView:!0}),ee.ref&&en.unobserve(ee.ref))})},{rootMargin:"10px"});et.observe(this.ref),this.unmountCallbacks.push(function(){ee.ref&&et.unobserve(ee.ref)})}else this.setState({inView:!0})}},et.prototype.render=function(){var ee=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("section",{ref:function(et){return ee.ref=et},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(ee,et){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:ee.id,block:ee})})):null)},et}(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:"

I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.

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

"}}}]}),StateProviderComponent=function(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.prototype.render=function(){var ee=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(et){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},et),{state:__assign(__assign({},et.state),ee.props.state),context:__assign(__assign({},et.context),ee.props.context)})},ee.props.builderBlock&&ee.props.builderBlock.children&&ee.props.builderBlock.children.map(function(ee,et){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:ee,key:ee.id,index:et,child:!0})}),ee.props.children)})},et}(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(ee){var et=(ee.search||"").substring(1).split("&"),en={};for(var ei in et)if(et[ei]&&"string"==typeof et[ei]){var eo=et[ei].split("=");en[decodeURIComponent(eo[0])]=decodeURIComponent(eo[1])}return en}var RouterComponent=function(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.builder=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,et.routed=!1,et.preloadQueue=0,et.onPopState=function(ee){et.updateLocationState()},et.onMouseOverOrTouchStart=function(ee){if(!(et.preloadQueue>4)&&!1!==et.props.preloadOnHover){var en=et.findHrefTarget(ee);if(en){var ei=en.getAttribute("href");if(ei){if(!et.isRelative(ei)){var eo=et.convertToRelative(ei);if(!eo)return;ei=eo}if(!ei.startsWith("#")&&!prefetched.has(ei)){prefetched.add(ei);var es=et.parseUrl(ei);et.preloadQueue++;var eu=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getUserAttributes();eu.urlPath=es.pathname,eu.queryString=es.search;var ec=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.get(et.model,{userAttributes:eu,key:et.model+":"+es.pathname+es.search}).subscribe(function(){et.preloadQueue--,ec.unsubscribe()})}}}}},et.onClick=function(ee){return __awaiter(et,void 0,void 0,function(){var et,en,ei,eo;return __generator(this,function(es){if(!1===this.props.handleRouting||0!==ee.button||ee.ctrlKey||ee.defaultPrevented||ee.metaKey||!(et=this.findHrefTarget(ee))||et.target&&"_client"!==et.target||!(en=et.getAttribute("href"))||this.props.onRoute&&(ei={url:en,anchorNode:et,preventDefault:function(){this.defaultPrevented=!0},defaultPrevented:!1},this.props.onRoute(ei),ei.defaultPrevented))return[2];if(!this.isRelative(en)){if(!(eo=this.convertToRelative(en)))return[2];en=eo}return en.startsWith("#")||(ee.preventDefault(),this.route(en)),[2]})})},et.privateState=null,et}return __extends(et,ee),et.prototype.route=function(ee){var et;return this.routed=!0,"function"==typeof(null===(et=window.history)||void 0===et?void 0:et.pushState)?(history.pushState(null,"",ee),this.updateLocationState(),!0):(location.href=ee,!1)},et.prototype.updateLocationState=function(){this.privateState&&this.privateState.update(function(ee){ee.location=__assign(__assign({},ee.location),{pathname:location.pathname,search:location.search,path:location.pathname.split("/").slice(1),query:searchToObject(location)})})},Object.defineProperty(et.prototype,"model",{get:function(){return this.props.model||"page"},enumerable:!1,configurable:!0}),et.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))},et.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))},et.prototype.render=function(){var ee=this,et=this.model;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(en){ee.privateState=en;var ei=en.state&&en.state.location&&en.state.location.pathname+en.state.location.search;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-router","data-model":et},(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:ei,data:ee.props.data,content:ee.routed?void 0:ee.props.content,modelName:et,options:{key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?void 0:ee.model+":"+ei}},ee.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"}))))})},et.prototype.findHrefTarget=function(ee){for(var et=ee.target;et;){if(et instanceof HTMLAnchorElement&&et.getAttribute("href"))return et;if(et===ee.currentTarget)break;et=et.parentElement}return null},et.prototype.isRelative=function(ee){return!ee.match(/^(\/\/|https?:\/\/)/i)},et.prototype.parseUrl=function(ee){var et=document.createElement("a");return et.href=ee,et},et.prototype.convertToRelative=function(ee){var et=this.parseUrl(location.href),en=this.parseUrl(ee);if(et.host===en.host){var ei=en.pathname+(en.search?en.search:"");return ei.startsWith("#")?null:ei||"/"}return null},et}(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(ee){var et,en,ei=react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);useWaitForSelector(ee.selector,function(et){"afterEnd"!==ee.type&&(et.innerHTML=""),et.appendChild(ei.current.firstElementChild)});var eo=null===(et=ee.builderBlock)||void 0===et?void 0:et.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",{style:{display:"none"},ref:ei},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{style:{display:"inline"},child:!0,parentElementId:null===(en=ee.builderBlock)||void 0===en?void 0:en.id,dataPath:"this.children",blocks:eo}))}function useWaitForSelector(ee,et){react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(function(){try{var en=document.querySelector(ee);if(en)return void et(en)}catch(ee){console.warn(ee)}var ei=new MutationObserver(function(){try{var en=document.querySelector(ee);en&&(ei.disconnect(),et(en))}catch(ee){console.warn(ee)}});return ei.observe(document.body,{attributes:!0,subtree:!0,characterData:!0}),function(){ei.disconnect()}},[ee])}_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(ee,et,en){var ei=String.prototype.split.call(et,/[,[\].]+?/).filter(Boolean).reduce(function(ee,et){return null!=ee?ee[et]:ee},ee);return void 0===ei||ei===ee?en:ei},MULTIPART_CONTENT_TYPE="multipart/form-data",JSON_CONTENT_TYPE="application/json",ENCODED_CONTENT_TYPE="application/x-www-form-urlencoded",FormComponent=function(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.ref=null,et.state={state:"unsubmitted",responseData:null,formErrorMessage:""},et}return __extends(et,ee),Object.defineProperty(et.prototype,"submissionState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.previewState||this.state.state},enumerable:!1,configurable:!0}),et.prototype.render=function(){var ee=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(et){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{value:__assign(__assign({},et),{state:__assign(__assign({},et.state),{formErrorMessage:ee.state.formErrorMessage})})},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("form",__assign({validate:ee.props.validate,ref:function(et){return ee.ref=et},action:!ee.props.sendWithJs&&ee.props.action,method:ee.props.method,name:ee.props.name,onSubmit:function(et){var en,ei=ee.props.sendWithJs||"email"===ee.props.sendSubmissionsTo;if("zapier"===ee.props.sendSubmissionsTo)et.preventDefault();else if(ei){if(!ee.props.action&&"email"!==ee.props.sendSubmissionsTo)return void et.preventDefault();et.preventDefault();var eo=et.currentTarget,es=ee.props.customHeaders||{},eu=void 0,ec=new FormData(eo),ed=Array.from(et.currentTarget.querySelectorAll("input,select,textarea")).filter(function(ee){return!!ee.name}).map(function(ee){var et,en=ee.name;if(ee instanceof HTMLInputElement){if("radio"===ee.type){if(ee.checked)return{key:en,value:et=ee.name}}else if("checkbox"===ee.type)et=ee.checked;else if("number"===ee.type||"range"===ee.type){var ei=ee.valueAsNumber;isNaN(ei)||(et=ei)}else et="file"===ee.type?ee.files:ee.value}else et=ee.value;return{key:en,value:et}}),ef=ee.props.contentType;if("email"===ee.props.sendSubmissionsTo&&(ef=MULTIPART_CONTENT_TYPE),Array.from(ed).forEach(function(ee){var et=ee.value;(et instanceof File||Array.isArray(et)&&et[0]instanceof File||et instanceof FileList)&&(ef=MULTIPART_CONTENT_TYPE)}),ef===MULTIPART_CONTENT_TYPE)eu=ec;else if(ef===JSON_CONTENT_TYPE){var ep={};Array.from(ed).forEach(function(ee){var et=ee.value;set(ep,ee.key,et)}),eu=JSON.stringify(ep)}else{if(ef!==ENCODED_CONTENT_TYPE)return void console.error("Unsupported content type: ",ef);eu=Array.from(ed).map(function(ee){var et=ee.value;return encodeURIComponent(ee.key)+"="+encodeURIComponent(et)}).join("&")}ef&&ef!==MULTIPART_CONTENT_TYPE&&(ei&&(null===(en=ee.props.action)||void 0===en?void 0:en.includes("zapier.com"))||(es["content-type"]=ef));var eh=new CustomEvent("presubmit",{detail:{body:eu}});if(ee.ref&&(ee.ref.dispatchEvent(eh),eh.defaultPrevented))return;ee.setState(__assign(__assign({},ee.state),{state:"sending"}));var em="".concat("dev"===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.env?"https://localhost:5000":"https://builder.io","/api/v1/form-submit?apiKey=").concat(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey,"&to=").concat(btoa(ee.props.sendSubmissionsToEmail||""),"&name=").concat(encodeURIComponent(ee.props.name||""));fetch("email"===ee.props.sendSubmissionsTo?em:ee.props.action,{body:eu,headers:es,method:ee.props.method||"post"}).then(function(et){return __awaiter(ee,void 0,void 0,function(){var ee,en,ei,eo,es;return __generator(this,function(eu){switch(eu.label){case 0:return(en=et.headers.get("content-type"))&&-1!==en.indexOf(JSON_CONTENT_TYPE)?[4,et.json()]:[3,2];case 1:return ee=eu.sent(),[3,4];case 2:return[4,et.text()];case 3:ee=eu.sent(),eu.label=4;case 4:if(!et.ok&&this.props.errorMessagePath&&(ei=get(ee,this.props.errorMessagePath))&&("string"!=typeof ei&&(ei=JSON.stringify(ei)),this.setState(__assign(__assign({},this.state),{formErrorMessage:ei}))),this.setState(__assign(__assign({},this.state),{responseData:ee,state:et.ok?"success":"error"})),et.ok){if(eo=new CustomEvent("submit:success",{detail:{res:et,body:ee}}),this.ref){if(this.ref.dispatchEvent(eo),eo.defaultPrevented)return[2];!1!==this.props.resetFormOnSubmit&&this.ref.reset()}this.props.successUrl&&(this.ref?(es=new CustomEvent("route",{detail:{url:this.props.successUrl}}),this.ref.dispatchEvent(es),es.defaultPrevented||(location.href=this.props.successUrl)):location.href=this.props.successUrl)}return[2]}})})},function(et){var en=new CustomEvent("submit:error",{detail:{error:et}});ee.ref&&(ee.ref.dispatchEvent(en),en.defaultPrevented)||ee.setState(__assign(__assign({},ee.state),{responseData:et,state:"error"}))})}}},ee.props.attributes),ee.props.builderBlock&&ee.props.builderBlock.children&&ee.props.builderBlock.children.map(function(ee,et){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:ee.id,block:ee})}),"error"===ee.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"errorMessage",blocks:ee.props.errorMessage}),"sending"===ee.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"sendingMessage",blocks:ee.props.sendingMessage}),"error"===ee.submissionState&&ee.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(ee.state.responseData,null,2)),"success"===ee.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"successMessage",blocks:ee.props.successMessage})))})},et}(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:"your@email.com",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(ee){return"custom"===ee.get("sendSubmissionsTo")&&!0===ee.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:"Thanks!"}}}]},{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:"Form submission error :( Please check your answers and try again"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"Sending..."}}}]},__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:"Enter your name"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"Enter your email"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"jane@doe.com"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}]}),FormInputComponent=function(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.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))},et}(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(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("button",__assign({type:"submit"},this.props.attributes),this.props.text)},et}(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(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.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(ee){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:ee.id,block:ee})}))},et}(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(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.prototype.render=function(){var ee=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),ee&&ee.map(function(ee){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("option",{value:ee.value},ee.name||ee.value)}))},et}(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(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.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))},et}(react__WEBPACK_IMPORTED_MODULE_2__.Component),TextArea=withBuilder(TextAreaComponent,{name:"Form:TextArea",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",inputs:[{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(ee){function et(){return null!==ee&&ee.apply(this,arguments)||this}return __extends(et,ee),et.prototype.render=function(){var ee=this.props.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("img",__assign({},this.props.attributes,{src:this.props.image||ee.src}))},et}(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(ee){var et=ee.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:(null==et?void 0:et.class)||(null==et?void 0:et.className),dangerouslySetInnerHTML:{__html:ee.text||""}})};function useIsPreviewing(){var ee=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),et=ee[0],en=ee[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)&&en(!0)},[]),et}_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},16975:function(ee,et,en){"use strict";en.d(et,{ms:function(){return eK},iv:function(){return eV},tZ:function(){return eU}});var ei,eo=en(2265);function es(ee){if(ee.sheet)return ee.sheet;for(var et=0;etev)&&(eV=(eQ=eQ.replace(" ",":")).length),0ei&&(ei=(et=et.trim()).charCodeAt(0)),ei){case 38:return et.replace(ew,"$1"+ee.trim());case 58:return ee.trim()+et.replace(ew,"$1"+ee.trim());default:if(0<1*en&&0ed.charCodeAt(8))break;case 115:eu=eu.replace(ed,"-webkit-"+ed)+";"+eu;break;case 207:case 102:eu=eu.replace(ed,"-webkit-"+(102ei.charCodeAt(0)&&(ei=ei.trim()),ei=[eW=ei],0=4;++ei,eo-=4)et=(65535&(et=255&ee.charCodeAt(ei)|(255&ee.charCodeAt(++ei))<<8|(255&ee.charCodeAt(++ei))<<16|(255&ee.charCodeAt(++ei))<<24))*1540483477+((et>>>16)*59797<<16),et^=et>>>24,en=(65535&et)*1540483477+((et>>>16)*59797<<16)^(65535&en)*1540483477+((en>>>16)*59797<<16);switch(eo){case 3:en^=(255&ee.charCodeAt(ei+2))<<16;case 2:en^=(255&ee.charCodeAt(ei+1))<<8;case 1:en^=255&ee.charCodeAt(ei),en=(65535&en)*1540483477+((en>>>16)*59797<<16)}return en^=en>>>13,(((en=(65535&en)*1540483477+((en>>>16)*59797<<16))^en>>>15)>>>0).toString(36)},ek={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},eO=/[A-Z]|^ms/g,eE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eP=function(ee){return 45===ee.charCodeAt(1)},ej=function(ee){return null!=ee&&"boolean"!=typeof ee},eC=function(ee){var et={};return function(en){return void 0===et[en]&&(et[en]=ee(en)),et[en]}}(function(ee){return eP(ee)?ee:ee.replace(eO,"-$&").toLowerCase()}),eR=function(ee,et){switch(ee){case"animation":case"animationName":if("string"==typeof et)return et.replace(eE,function(ee,et,en){return ei={name:et,styles:en,next:ei},et})}return 1===ek[ee]||eP(ee)||"number"!=typeof et||0===et?et:et+"px"};function eT(ee,et,en,eo){if(null==en)return"";if(void 0!==en.__emotion_styles)return en;switch(typeof en){case"boolean":return"";case"object":if(1===en.anim)return ei={name:en.name,styles:en.styles,next:ei},en.name;if(void 0!==en.styles){var es=en.next;if(void 0!==es)for(;void 0!==es;)ei={name:es.name,styles:es.styles,next:ei},es=es.next;return en.styles+";"}return e_(ee,et,en);case"function":if(void 0!==ee){var eu=ei,ec=en(ee);return ei=eu,eT(ee,et,ec,eo)}}if(null==et)return en;var ed=et[en];return void 0===ed||eo?en:ed}function e_(ee,et,en){var ei="";if(Array.isArray(en))for(var eo=0;eo=0)throw Error('Property name "'.concat(ee,'" is not allowed'))}var version="2.1.1-0",Subscription=function(){function ee(ee,et){this.listeners=ee,this.listener=et,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(ee.prototype,"closed",{get:function(){return this.unsubscribed},enumerable:!1,configurable:!0}),ee.prototype.add=function(ee){this.otherSubscriptions.push(ee)},ee.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var ee=this.listeners.indexOf(this.listener);ee>-1&&this.listeners.splice(ee,1)}this.otherSubscriptions.forEach(function(ee){return ee.unsubscribe()}),this.unsubscribed=!0}},ee}(),BehaviorSubject=function(){function ee(ee){var et=this;this.value=ee,this.listeners=[],this.errorListeners=[],this.then=function(){for(var ee,en=[],ei=0;eiet?(eu&&(clearTimeout(eu),eu=null),ec=ef,es=ee.apply(ei,eo),eu||(ei=eo=null)):eu||!1===en.trailing||(eu=setTimeout(ed,ep)),es}}var camelCaseToKebabCase=function(ee){return ee?ee.replace(/([A-Z])/g,function(ee){return"-".concat(ee[0].toLowerCase())}):""},Animator=function(){function ee(){}return ee.prototype.bindAnimations=function(ee){for(var et=0,en=ee;eteo&&en.top2?et.slice(1).join("."):ee}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function ee(ee,et){this.request=ee,this.response=et}return ee.prototype.get=function(ee){var et=this.request.headers.cookie;if(et){var en=et.match(getPattern(ee));if(en)return en[1]}},ee.prototype.set=function(ee,et,en){var ei=this.response,eo=this.request,es=ei.getHeader("Set-Cookie")||[],eu=void 0!==this.secure?!!this.secure:"https"===eo.protocol||eo.connection.encrypted,ec=new Cookie(ee,et,en);if("string"==typeof es&&(es=[es]),!eu&&en&&en.secure)throw Error("Cannot send secure cookie over unencrypted connection");return ec.secure=eu,en&&"secure"in en&&(ec.secure=!!en.secure),ec.domain=eo.headers.host&&getTopLevelDomain(eo.headers.host),pushCookie(es,ec),ei.setHeader.call(ei,"Set-Cookie",es),this},ee}(),Cookie=function(){function ee(ee,et,en){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(ee))throw TypeError("argument name is invalid");if(et&&!fieldContentRegExp.test(et))throw TypeError("argument value is invalid");et||(this.expires=new Date(0)),this.name=ee,this.value=et||"",en.expires&&(this.expires=en.expires),en.secure&&(this.secure=en.secure)}return ee.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},ee.prototype.toHeader=function(){var ee=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(ee+="; path=".concat(this.path)),this.expires&&(ee+="; expires=".concat(this.expires.toUTCString())),this.domain&&(ee+="; domain=".concat(this.domain)),ee+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(ee+="; secure"),this.httpOnly&&(ee+="; httponly"),ee},ee}();function getPattern(ee){return new RegExp("(?:^|;) *".concat(ee.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(ee,et){if(et.overwrite)for(var en=ee.length-1;en>=0;en--)0===ee[en].indexOf("".concat(et.name,"="))&&ee.splice(en,1);ee.push(et.toHeader())}function omit(ee){for(var et=[],en=1;en=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(ee,et){for(var en=(ee.split("?")[1]||"").split("&"),ei=0;ei>>0,eo=arguments[1],es=0;es-1},ee.runAction=function(ee){if(!("string"==typeof ee?find(this.actions,function(et){return et.name===ee}):ee))throw Error("Action not found: ".concat(ee))},ee.fields=function(ee,et){var en;null===(en=window.parent)||void 0===en||en.postMessage({type:"builder.fields",data:{name:ee,fields:et}},"*")},ee.set=function(et){ee.register("editor.settings",et)},ee.import=function(et){if(!ee.isBrowser){console.warn("Builder.import used on the server - this should only be used in the browser");return}var en=window.System;if(!en){console.warn("System.js not available. Please include System.js when using Builder.import");return}return en.import("https://cdn.builder.io/systemjs/".concat(et))},Object.defineProperty(ee,"editingPage",{get:function(){return this._editingPage},set:function(ee){this._editingPage=ee,isBrowser&&isIframe&&(ee?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),ee.prepareComponentSpecToSend=function(ee){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},ee),ee.inputs&&{inputs:ee.inputs.map(function(ee){for(var et,en=["onChange","showIf"],ei=0,eo=en;ei-1&&(this.env=eu||ec),ee.isEditing){var ey=em||eh||ep;ey&&"true"!==ey&&(this.editingModel=ey)}ed&&(this.cachebust=!0),ef&&(this.noCache=!0),ep&&(this.preview=!0),en&&(this.overrideParams=eg)}},ee.prototype.messageFrameLoaded=function(){var ee;null===(ee=window.parent)||void 0===ee||ee.postMessage({type:"builder.loaded",data:{value:!0}},"*")},ee.prototype.bindMessageListeners=function(){var et=this;isBrowser&&addEventListener("message",function(en){var ei,eo,es,eu,ec,ed=parse(en.origin),ef=-1===["builder.register","builder.registerComponent"].indexOf(null===(ei=en.data)||void 0===ei?void 0:ei.type),ep=ed.hostname&&ee.isTrustedHost(ed.hostname);if(!ef||ep){var eh=en.data;if(eh)switch(eh.type){case"builder.ping":null===(eo=window.parent)||void 0===eo||eo.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(en.source===window)break;var em=eh.data;if(!em)break;var ev=em.type,eg=em.info,ey=ee.registry[ev];ey||(ey=ee.registry[ev]=[]),ey.push(eg),ee.registryChange.next(ee.registry);break;case"builder.settingsChange":if(en.source===window)break;var eb=eh.data;if(!eb)break;Object.assign(ee.settings,eb),ee.settingsChange.next(ee.settings);break;case"builder.registerEditor":if(en.source===window)break;var ew=eh.data;if(!ew)break;var eS=!!ew.component;ee.editors.every(function(et,en){return ew.name!==et.name||(et.component&&!eS||(ee.editors[en]=et),!1)});break;case"builder.triggerAnimation":ee.animator.triggerAnimation(eh.data);break;case"builder.contentUpdate":var ek=eh.data.key||eh.data.alias||eh.data.entry||eh.data.modelName,eO=eh.data.data,eE=et.observersByKey[ek];eE&&!et.noEditorUpdates[ek]&&eE.next([eO]);break;case"builder.getComponents":null===(es=window.parent)||void 0===es||es.postMessage({type:"builder.components",data:ee.components.map(function(et){return ee.prepareComponentSpecToSend(et)})},"*");break;case"builder.editingModel":et.editingModel=eh.data.model;break;case"builder.registerComponent":var eP=eh.data;ee.addComponent(eP);break;case"builder.blockContentLoading":"string"==typeof eh.data.model&&(et.blockContentLoading=eh.data.model);break;case"builder.editingMode":eh.data?(et.editingMode=!0,document.body.classList.add("builder-editing")):(et.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var ej=eh.data;ee.editingPage=ej;break;case"builder.overrideUserAttributes":var eC=eh.data;assign(ee.overrideUserAttributes,eC),et.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var eR=eh.data,eT=eR.variationId,e_=eR.contentId;eT&&e_&&(et.setTestCookie(e_,eT),et.flushGetContentQueue(!0));break;case"builder.evaluate":var eI=eh.data.text,eA=eh.data.arguments||[],eF=eh.data.id,eL=Function(eI),eM=void 0,eD=null;try{eM=eL.apply(et,eA)}catch(ee){eD=toError(ee)}eD?null===(eu=window.parent)||void 0===eu||eu.postMessage({type:"builder.evaluateError",data:{id:eF,error:eD.message}},"*"):eM&&"function"==typeof eM.then?eM.then(function(ee){var et;null===(et=window.parent)||void 0===et||et.postMessage({type:"builder.evaluateResult",data:{id:eF,result:ee}},"*")}).catch(console.error):null===(ec=window.parent)||void 0===ec||ec.postMessage({type:"builder.evaluateResult",data:{result:eM,id:eF}},"*")}}})},Object.defineProperty(ee.prototype,"defaultCanTrack",{get:function(){return!!(ee.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}),ee.prototype.init=function(ee,et,en,ei,eo,es){return void 0===et&&(et=this.defaultCanTrack),en&&(this.request=en),ei&&(this.response=ei),this.canTrack=et,this.apiKey=ee,eo&&(this.authToken=eo),es&&(this.apiVersion=es),this},Object.defineProperty(ee.prototype,"previewingModel",{get:function(){var ee=this.getLocation().search;return QueryString.parse((ee||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),ee.prototype.getLocation=function(){var ee,et={};return this.request?et=parse(null!==(ee=this.request.url)&&void 0!==ee?ee:""):"object"==typeof location&&(et=parse(location.href)),""===et.pathname&&(et.pathname="/"),et},ee.prototype.getUserAttributes=function(et){void 0===et&&(et=this.userAgent||"");var en={Android:function(){return et.match(/Android/i)},BlackBerry:function(){return et.match(/BlackBerry/i)},iOS:function(){return et.match(/iPhone|iPod/i)},Opera:function(){return et.match(/Opera Mini/i)},Windows:function(){return et.match(/IEMobile/i)||et.match(/WPDesktop/i)},any:function(){return en.Android()||en.BlackBerry()||en.iOS()||en.Opera()||en.Windows()}},ei=et.match(/Tablet|iPad/i),eo=this.getLocation();return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({urlPath:eo.pathname,host:eo.host||eo.hostname,device:ei?"tablet":en.any()?"mobile":"desktop"},ee.overrideUserAttributes)},ee.prototype.setUserAttributes=function(et){assign(ee.overrideUserAttributes,et),this.userAttributesChanged.next(et)},ee.prototype.setTrackingUserAttributes=function(ee){assign(this.trackingUserAttributes,ee)},ee.prototype.get=function(et,en){void 0===en&&(en={});var ei=this;return ee.isBrowser?(en.apiKey&&!this.apiKey&&(this.apiKey=en.apiKey),en.authToken&&!this.authToken&&(this.authToken=en.authToken),en.apiVersion&&!this.apiVersion&&(this.apiVersion=en.apiVersion)):(ei=new ee(en.apiKey||this.apiKey,en.req,en.res,void 0,en.authToken||this.authToken,en.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),ei.queueGetContent(et,en).map(function(et){var en=et&&et[0];if(ee.isStatic)return en;var ei=en&&en.data;return ei?(void 0!==ei.blocksString&&(ei.blocks=JSON.parse(ei.blocksString),delete ei.blocksString),{data:ei,id:en.id,variationId:en.testVariationId||en.variationId||null,testVariationId:en.testVariationId||en.variationId||null,testVariationName:en.testVariationName||null,lastUpdated:en.lastUpdated||null}):null})},ee.prototype.queueGetContent=function(et,en){var ei=this;void 0===en&&(en={});var eo=en.key||en.alias||et,es=this.editingModel===et,eu=this.observersByKey[eo];"DEMO"!==this.apiKey||this.overrides[eo]||en.initialContent||(en.initialContent=[]);var ec=en.initialContent;if(eu&&(!eu.value||en.cache))return eu.value&&nextTick(function(){eu.next(eu.value)}),eu;if(es&&ee.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:en}},"*"),!ec){if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},en),{model:et,key:eo})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var ed=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){ei.flushGetContentQueue(!1,ed)})}else nextTick(function(){ei.flushGetContentQueue()})}var ef=new BehaviorSubject(null);return this.observersByKey[eo]=ef,en.noEditorUpdates&&(this.noEditorUpdates[eo]=!0),ec&&nextTick(function(){ef.next(ec)}),ef},ee.prototype.requestUrl=function(ee,et){return getFetch()(ee,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({next:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({revalidate:1},null==et?void 0:et.next)},et)).then(function(ee){return ee.json()})},Object.defineProperty(ee.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"https://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return ee.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),ee.prototype.flushGetContentQueue=function(et,en){var ei=this;if(void 0===et&&(et=!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(et||this.getContentQueue){var eo=en||(et?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var es=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({omit:eo[0].omit||"meta.componentsUsed",apiKey:this.apiKey},eo[0].options),this.queryOptions);eo[0].locale&&(es.locale=eo[0].locale),eo[0].fields&&(es.fields=eo[0].fields),eo[0].format&&(es.format=eo[0].format),"noTraverse"in eo[0]&&(es.noTraverse=eo[0].noTraverse);var eu="undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):{},ec=eo&&eo[0].userAttributes?eo[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(eo.find(function(ee){return!!ee.includeUrl})){var ed=this.getLocation();ed.origin&&(es.url="".concat(ed.origin).concat(ed.pathname).concat(ed.search))}var ef=null==en?void 0:en.find(function(ee){return ee.url});if((null==ef?void 0:ef.url)&&(ec.urlPath=ef.url.split("?")[0]),es.userAttributes=ec,et||en||(this.priorContentQueue=eo,this.getContentQueue=null),(this.cachebust||isIframe||eu.cachebust||eu["builder.cachebust"]||"production"!==this.env)&&(es.cachebust=!0),ee.isEditing&&(es.isEditing=!0),(this.noCache||"production"!==this.env)&&(es.noCache=!0),size(this.overrides))for(var ep in this.overrides)this.overrides.hasOwnProperty(ep)&&(es["overrides.".concat(ep)]=this.overrides[ep]);for(var eh=0,em=eo;eh0,ek=this.host,eO=eo.map(function(ee){return encodeURIComponent(ee.key)}).join(",");this.overrideParams&&assign(es,omit(QueryString.parse(this.overrideParams),"apiKey"));var eE=QueryString.stringifyDeep(es),eP=es.format,ej={headers:{},next:{revalidate:1}};this.authToken&&(ej.headers=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},ej.headers),{Authorization:"Bearer ".concat(this.authToken)}));var eC="solid"===eP||"react"===eP?"codegen":"query",eR="query"===eC?this.apiVersion:"v1",eT="".concat(ek,"/api/").concat(eR,"/").concat(eC,"/").concat(this.apiKey,"/").concat(eO)+(es&&eS?"?".concat(eE):"");return getFetch()(eT,ej).then(function(ee){return ee.json()}).then(function(et){for(var en=0,es=eo;enem.left){var eg=parseInt(eh.getAttribute("data-index")||"",10);isNaN(eg)||(em=ev,ef=eg)}else break}}}return"number"==typeof ef&&(ef+=1),(0,ec.createElement)(ei.Zu.Consumer,null,function(et){return ee._errors=et&&et.errors,ee._logs=et&&et.logs,(0,ec.createElement)(ei.zC.Consumer,null,function(et){return(0,ec.createElement)("div",{ref:function(et){return ee.divRef=et},className:"builder-accordion",style:eu({display:"flex",alignItems:"stretch",flexDirection:"column"},en&&{flexDirection:"row",alignItems:"flex-start",flexWrap:"wrap"})},ee.props.useChildrenForItems?ee.props.builderBlock&&ee.props.builderBlock.children&&ee.props.builderBlock.children.map(function(en,eo){if(en.repeat&&en.repeat.collection){var ed=en.repeat.collection,ep=(ed||"").split(/\.\w+\(/)[0].trim().split(".").pop(),eh=en.repeat.itemName||(ep?ep+"Item":"item"),em=(0,ei.JS)(ed,!0,ee._errors,ee._logs)(et.state);if(Array.isArray(em))return em.map(function(eo,ed){var ep,em=eu(eu({},et.state),((ep={$index:ed,$item:eo})[eh]=eo,ep));return(0,ec.createElement)(ei.zC.Provider,{key:en.id,value:eu(eu({},et),{state:em})},ee.getAccordionItem(en.children?[en.children[0]]:[],en.children?[en.children[1]]:[],ed,ef,es,!0))})}return ee.getAccordionItem(en.children?[en.children[0]]:[],en.children?[en.children[1]]:[],eo,ef,es,!0)}):ee.props.items&&ee.props.items.map(function(et,en){return ee.getAccordionItem(et.title,et.detail,en,ef,es)}))})})},et}(ec.Component),ey=function(ee){function et(){var et=null!==ee&&ee.apply(this,arguments)||this;return et.divRef=null,et.masonryRef=null,et.state={layoutComplete:!1},et}return es(et,ee),et.prototype.componentDidMount=function(){var ee=this;setTimeout(function(){ee.divRef&&ee.divRef.dispatchEvent(new CustomEvent("builder:masonry:load",{bubbles:!0,cancelable:!1,detail:{block:ee.props.builderBlock,ref:ee.divRef,masonry:ee.masonryRef}})),ei.Ib.isEditing})},et.prototype.render=function(){var ee=this;this.props.tiles;var et={display:"flex",flexDirection:"column",alignItems:"stretch",width:this.props.columnWidth};return(0,ec.createElement)("div",{style:{opacity:ei.Ib.isBrowser&&this.state.layoutComplete?1:0,transition:"opacity 0.2s"}},(0,ec.createElement)(ei.Zu.Consumer,null,function(en){return ee._errors=en&&en.errors,ee._logs=en&&en.logs,(0,ec.createElement)(ei.zC.Consumer,null,function(en){return(0,ec.createElement)("div",{ref:function(et){return ee.divRef=et},className:"builder-masonry"},(0,ec.createElement)(ep(),{onLayoutComplete:function(){ee.state.layoutComplete||ee.setState(eu(eu({},ee.state),{layoutComplete:!0}))},options:{gutter:ee.props.gutterSize,fitWidth:!(ee.props.columnWidth&&ee.props.columnWidth.endsWith("%")),percentPosition:ee.props.columnWidth&&(ee.props.columnWidth.endsWith("%")||ee.props.columnWidth.startsWith("."))||!1},ref:function(et){return ee.masonryRef=et}},ee.props.useChildrenForTiles?ee.props.builderBlock&&ee.props.builderBlock.children&&ee.props.builderBlock.children.map(function(eo,es){if(eo.repeat&&eo.repeat.collection){var ed=eo.repeat.collection,ef=(ed||"").split(/\.\w+\(/)[0].trim().split(".").pop(),ep=eo.repeat.itemName||(ef?ef+"Item":"item"),eh=(0,ei.JS)(ed,!0,ee._errors,ee._logs)(en.state);if(Array.isArray(eh))return ei.Ib.isBrowser||(eh=eh.slice(0,1)),eh.map(function(ee,es){var ed,ef=eu(eu({},en.state),((ed={$index:es,$item:ee})[ep]=ee,ed));return(0,ec.createElement)("div",{className:"masonry-item",style:et},(0,ec.createElement)(ei.zC.Provider,{key:eo.id,value:eu(eu({},en),{state:ef})},(0,ec.createElement)(ei.s6,{block:eu(eu({},eo),{repeat:null}),index:es,child:!0})))})}return(0,ec.createElement)("div",{style:et,className:"masonry-item"},(0,ec.createElement)(ei.s6,{key:eo.id,block:eo,index:es,child:!0}))}):ee.props.tiles&&ee.props.tiles.map(function(en,eo){return(0,ec.createElement)("div",{style:et,className:"masonry-item"},(0,ec.createElement)(ei.Wp,{key:eo,parentElementId:ee.props.builderBlock&&ee.props.builderBlock.id,dataPath:"component.options.tiles."+eo+".content",child:!0,blocks:en.content||en}))})))})}))},et}(ec.Component),eb={"@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"}}}]},ew={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",height:"30px"}}},eS={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:[eb]}],defaultValue:[{content:[eb]},{content:[eb]}],showIf:function(ee){return!ee.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(ee){return ee.get("autoplay")}},{name:"prevButton",type:"uiBlocks",hideFromUI:!0,defaultValue:[eu(eu({},ew),{component:{name:"Image",options:{image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Fd909a5b91650499c9e0524cc904eeb77"}}})]},{name:"nextButton",type:"uiBlocks",hideFromUI:!0,defaultValue:[eu(eu({},ew),{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(ee){!0===ee.get("useChildrenForSlides")&&ee.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}]}]}]},ek={"@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"}}},eO={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}},eE={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[ek]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[eO]}],defaultValue:[{label:[eu(eu({},ek),{component:{name:"Text",options:{text:"Tab 1"}}})],content:[eu(eu({},eO),{component:{name:"Text",options:{text:"Tab 1 content"}}})]},{label:[eu(eu({},ek),{component:{name:"Text",options:{text:"Tab 2"}}})],content:[eu(eu({},eO),{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"}]}]},eP={"@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!"}}}]},ej={"@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!"}}}]},eC={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:[eP]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[ej]}],defaultValue:[{title:[eP],detail:[ej]},{title:[eP],detail:[ej]}],showIf:function(ee){return!ee.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(ee){return ee.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(ee){!0===ee.get("useChildrenForItems")&&ee.set("items",[])}}]},eR=function(){return eu(eu({},eT),{component:eu(eu({},eT.component),{options:eu(eu({},eT.component.options),{aspectRatio:Math.round((1.5*Math.random()+.5)*100)/100})})})},eT={"@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}}},e_={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:[eR(),eR(),eR(),eR(),eR(),eR(),eR(),eR(),eR()],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:[eT]}],defaultValue:[],showIf:function(ee){return!ee.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(ee){!0===ee.get("useChildrenForTiles")&&ee.set("tiles",[])}}]};ei.Ib.registerComponent(eh,eS),ei.Ib.registerComponent(ev,eE),ei.Ib.registerComponent(eg,eC),ei.Ib.registerComponent(ey,e_)},10115:function(ee,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.NextArrow=et.PrevArrow=void 0;var ei=eu(en(2265)),eo=eu(en(42744)),es=en(13252);function eu(ee){return ee&&ee.__esModule?ee:{default:ee}}function ec(ee){return(ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(ee)}function ed(){return(ed=Object.assign||function(ee){for(var et=1;et=eO&&em<=eS:em===eO}),ej={message:"dots",index:eb,slidesToScroll:ed,currentSlide:em},eC=this.clickHandler.bind(this,ej);ey=ey.concat(ei.default.createElement("li",{key:eb,className:eP},ei.default.cloneElement(this.props.customPaging(eb),{onClick:eC})))}return ei.default.cloneElement(this.props.appendDots(ey),ef({className:this.props.dotsClass},eg))}}]),en}(ei.default.PureComponent);et.Dots=eP},77352:function(ee,et,en){"use strict";ei={value:!0},et.Z=void 0;var ei,eo=function(ee){return ee&&ee.__esModule?ee:{default:ee}}(en(36361)).default;et.Z=eo},39873:function(ee,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.default=void 0;var en={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};et.default=en},74599:function(ee,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.InnerSlider=void 0;var ei=em(en(2265)),eo=em(en(39873)),es=em(en(81739)),eu=em(en(42744)),ec=en(13252),ed=en(65151),ef=en(19394),ep=en(10115),eh=em(en(50625));function em(ee){return ee&&ee.__esModule?ee:{default:ee}}function ev(ee){return(ev="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(ee)}function eg(){return(eg=Object.assign||function(ee){for(var et=1;et=0)&&Object.prototype.propertyIsEnumerable.call(ee,en)&&(eo[en]=ee[en])}return eo}function eb(ee,et){if(null==ee)return{};var en,ei,eo={},es=Object.keys(ee);for(ei=0;ei=0||(eo[en]=ee[en]);return eo}function ew(ee,et){var en=Object.keys(ee);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(ee);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(ee,et).enumerable})),en.push.apply(en,ei)}return en}function eS(ee){for(var et=1;et0&&(em.setState(function(et){return{lazyLoadedList:et.lazyLoadedList.concat(ee)}}),em.props.onLazyLoad&&em.props.onLazyLoad(ee))}var et=eS({listRef:em.list,trackRef:em.track},em.props);em.updateState(et,!0,function(){em.adaptHeight(),em.props.autoplay&&em.autoPlay("update")}),"progressive"===em.props.lazyLoad&&(em.lazyLoadTimer=setInterval(em.progressiveLazyLoad,1e3)),em.ro=new eh.default(function(){em.state.animating?(em.onWindowResized(!1),em.callbackTimers.push(setTimeout(function(){return em.onWindowResized()},em.props.speed))):em.onWindowResized()}),em.ro.observe(em.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(ee){ee.onfocus=em.props.pauseOnFocus?em.onSlideFocus:null,ee.onblur=em.props.pauseOnFocus?em.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",em.onWindowResized):window.attachEvent("onresize",em.onWindowResized)}),eA(eT(em),"componentWillUnmount",function(){em.animationEndCallback&&clearTimeout(em.animationEndCallback),em.lazyLoadTimer&&clearInterval(em.lazyLoadTimer),em.callbackTimers.length&&(em.callbackTimers.forEach(function(ee){return clearTimeout(ee)}),em.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",em.onWindowResized):window.detachEvent("onresize",em.onWindowResized),em.autoplayTimer&&clearInterval(em.autoplayTimer),em.ro.disconnect()}),eA(eT(em),"componentDidUpdate",function(ee){if(em.checkImagesLoad(),em.props.onReInit&&em.props.onReInit(),em.props.lazyLoad){var et=(0,ec.getOnDemandLazySlides)(eS(eS({},em.props),em.state));et.length>0&&(em.setState(function(ee){return{lazyLoadedList:ee.lazyLoadedList.concat(et)}}),em.props.onLazyLoad&&em.props.onLazyLoad(et))}em.adaptHeight();var en=eS(eS({listRef:em.list,trackRef:em.track},em.props),em.state),eo=em.didPropsChange(ee);eo&&em.updateState(en,eo,function(){em.state.currentSlide>=ei.default.Children.count(em.props.children)&&em.changeSlide({message:"index",index:ei.default.Children.count(em.props.children)-em.props.slidesToShow,currentSlide:em.state.currentSlide}),em.props.autoplay?em.autoPlay("update"):em.pause("paused")})}),eA(eT(em),"onWindowResized",function(ee){em.debouncedResize&&em.debouncedResize.cancel(),em.debouncedResize=(0,es.default)(function(){return em.resizeWindow(ee)},50),em.debouncedResize()}),eA(eT(em),"resizeWindow",function(){var ee=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(em.track&&em.track.node){var et=eS(eS({listRef:em.list,trackRef:em.track},em.props),em.state);em.updateState(et,ee,function(){em.props.autoplay?em.autoPlay("update"):em.pause("paused")}),em.setState({animating:!1}),clearTimeout(em.animationEndCallback),delete em.animationEndCallback}}),eA(eT(em),"updateState",function(ee,et,en){var eo=(0,ec.initializedState)(ee);ee=eS(eS(eS({},ee),eo),{},{slideIndex:eo.currentSlide});var es=(0,ec.getTrackLeft)(ee);ee=eS(eS({},ee),{},{left:es});var eu=(0,ec.getTrackCSS)(ee);(et||ei.default.Children.count(em.props.children)!==ei.default.Children.count(ee.children))&&(eo.trackStyle=eu),em.setState(eo,en)}),eA(eT(em),"ssrInit",function(){if(em.props.variableWidth){var ee=0,et=0,en=[],eo=(0,ec.getPreClones)(eS(eS(eS({},em.props),em.state),{},{slideCount:em.props.children.length})),es=(0,ec.getPostClones)(eS(eS(eS({},em.props),em.state),{},{slideCount:em.props.children.length}));em.props.children.forEach(function(et){en.push(et.props.style.width),ee+=et.props.style.width});for(var eu=0;eu=et&&em.onWindowResized()};if(ee.onclick){var eo=ee.onclick;ee.onclick=function(){eo(),ee.parentNode.focus()}}else ee.onclick=function(){return ee.parentNode.focus()};ee.onload||(em.props.lazyLoad?ee.onload=function(){em.adaptHeight(),em.callbackTimers.push(setTimeout(em.onWindowResized,em.props.speed))}:(ee.onload=ei,ee.onerror=function(){ei(),em.props.onLazyLoadError&&em.props.onLazyLoadError()}))})}),eA(eT(em),"progressiveLazyLoad",function(){for(var ee=[],et=eS(eS({},em.props),em.state),en=em.state.currentSlide;enem.state.lazyLoadedList.indexOf(en)){ee.push(en);break}for(var ei=em.state.currentSlide-1;ei>=-(0,ec.getPreClones)(et);ei--)if(0>em.state.lazyLoadedList.indexOf(ei)){ee.push(ei);break}ee.length>0?(em.setState(function(et){return{lazyLoadedList:et.lazyLoadedList.concat(ee)}}),em.props.onLazyLoad&&em.props.onLazyLoad(ee)):em.lazyLoadTimer&&(clearInterval(em.lazyLoadTimer),delete em.lazyLoadTimer)}),eA(eT(em),"slideHandler",function(ee){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1],en=em.props,ei=en.asNavFor,eo=en.beforeChange,es=en.onLazyLoad,eu=en.speed,ed=en.afterChange,ef=em.state.currentSlide,ep=(0,ec.slideHandler)(eS(eS(eS({index:ee},em.props),em.state),{},{trackRef:em.track,useCSS:em.props.useCSS&&!et})),eh=ep.state,ev=ep.nextState;if(eh){eo&&eo(ef,eh.currentSlide);var eg=eh.lazyLoadedList.filter(function(ee){return 0>em.state.lazyLoadedList.indexOf(ee)});es&&eg.length>0&&es(eg),!em.props.waitForAnimate&&em.animationEndCallback&&(clearTimeout(em.animationEndCallback),ed&&ed(ef),delete em.animationEndCallback),em.setState(eh,function(){ei&&em.asNavForIndex!==ee&&(em.asNavForIndex=ee,ei.innerSlider.slideHandler(ee)),ev&&(em.animationEndCallback=setTimeout(function(){var ee=ev.animating,et=ey(ev,["animating"]);em.setState(et,function(){em.callbackTimers.push(setTimeout(function(){return em.setState({animating:ee})},10)),ed&&ed(eh.currentSlide),delete em.animationEndCallback})},eu))})}}),eA(eT(em),"changeSlide",function(ee){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1],en=eS(eS({},em.props),em.state),ei=(0,ec.changeSlide)(en,ee);if((0===ei||ei)&&(!0===et?em.slideHandler(ei,et):em.slideHandler(ei),em.props.autoplay&&em.autoPlay("update"),em.props.focusOnSelect)){var eo=em.list.querySelectorAll(".slick-current");eo[0]&&eo[0].focus()}}),eA(eT(em),"clickHandler",function(ee){!1===em.clickable&&(ee.stopPropagation(),ee.preventDefault()),em.clickable=!0}),eA(eT(em),"keyHandler",function(ee){var et=(0,ec.keyHandler)(ee,em.props.accessibility,em.props.rtl);""!==et&&em.changeSlide({message:et})}),eA(eT(em),"selectHandler",function(ee){em.changeSlide(ee)}),eA(eT(em),"disableBodyScroll",function(){var ee=function(ee){(ee=ee||window.event).preventDefault&&ee.preventDefault(),ee.returnValue=!1};window.ontouchmove=ee}),eA(eT(em),"enableBodyScroll",function(){window.ontouchmove=null}),eA(eT(em),"swipeStart",function(ee){em.props.verticalSwiping&&em.disableBodyScroll();var et=(0,ec.swipeStart)(ee,em.props.swipe,em.props.draggable);""!==et&&em.setState(et)}),eA(eT(em),"swipeMove",function(ee){var et=(0,ec.swipeMove)(ee,eS(eS(eS({},em.props),em.state),{},{trackRef:em.track,listRef:em.list,slideIndex:em.state.currentSlide}));et&&(et.swiping&&(em.clickable=!1),em.setState(et))}),eA(eT(em),"swipeEnd",function(ee){var et=(0,ec.swipeEnd)(ee,eS(eS(eS({},em.props),em.state),{},{trackRef:em.track,listRef:em.list,slideIndex:em.state.currentSlide}));if(et){var en=et.triggerSlideHandler;delete et.triggerSlideHandler,em.setState(et),void 0!==en&&(em.slideHandler(en),em.props.verticalSwiping&&em.enableBodyScroll())}}),eA(eT(em),"touchEnd",function(ee){em.swipeEnd(ee),em.clickable=!0}),eA(eT(em),"slickPrev",function(){em.callbackTimers.push(setTimeout(function(){return em.changeSlide({message:"previous"})},0))}),eA(eT(em),"slickNext",function(){em.callbackTimers.push(setTimeout(function(){return em.changeSlide({message:"next"})},0))}),eA(eT(em),"slickGoTo",function(ee){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(ee=Number(ee)))return"";em.callbackTimers.push(setTimeout(function(){return em.changeSlide({message:"index",index:ee,currentSlide:em.state.currentSlide},et)},0))}),eA(eT(em),"play",function(){var ee;if(em.props.rtl)ee=em.state.currentSlide-em.props.slidesToScroll;else{if(!(0,ec.canGoNext)(eS(eS({},em.props),em.state)))return!1;ee=em.state.currentSlide+em.props.slidesToScroll}em.slideHandler(ee)}),eA(eT(em),"autoPlay",function(ee){em.autoplayTimer&&clearInterval(em.autoplayTimer);var et=em.state.autoplaying;if("update"===ee){if("hovered"===et||"focused"===et||"paused"===et)return}else if("leave"===ee){if("paused"===et||"focused"===et)return}else if("blur"===ee&&("paused"===et||"hovered"===et))return;em.autoplayTimer=setInterval(em.play,em.props.autoplaySpeed+50),em.setState({autoplaying:"playing"})}),eA(eT(em),"pause",function(ee){em.autoplayTimer&&(clearInterval(em.autoplayTimer),em.autoplayTimer=null);var et=em.state.autoplaying;"paused"===ee?em.setState({autoplaying:"paused"}):"focused"===ee?("hovered"===et||"playing"===et)&&em.setState({autoplaying:"focused"}):"playing"===et&&em.setState({autoplaying:"hovered"})}),eA(eT(em),"onDotsOver",function(){return em.props.autoplay&&em.pause("hovered")}),eA(eT(em),"onDotsLeave",function(){return em.props.autoplay&&"hovered"===em.state.autoplaying&&em.autoPlay("leave")}),eA(eT(em),"onTrackOver",function(){return em.props.autoplay&&em.pause("hovered")}),eA(eT(em),"onTrackLeave",function(){return em.props.autoplay&&"hovered"===em.state.autoplaying&&em.autoPlay("leave")}),eA(eT(em),"onSlideFocus",function(){return em.props.autoplay&&em.pause("focused")}),eA(eT(em),"onSlideBlur",function(){return em.props.autoplay&&"focused"===em.state.autoplaying&&em.autoPlay("blur")}),eA(eT(em),"render",function(){var ee,et,en,eo=(0,eu.default)("slick-slider",em.props.className,{"slick-vertical":em.props.vertical,"slick-initialized":!0}),es=eS(eS({},em.props),em.state),eh=(0,ec.extractObject)(es,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),ev=em.props.pauseOnHover;if(eh=eS(eS({},eh),{},{onMouseEnter:ev?em.onTrackOver:null,onMouseLeave:ev?em.onTrackLeave:null,onMouseOver:ev?em.onTrackOver:null,focusOnSelect:em.props.focusOnSelect&&em.clickable?em.selectHandler:null}),!0===em.props.dots&&em.state.slideCount>=em.props.slidesToShow){var ey=(0,ec.extractObject)(es,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),eb=em.props.pauseOnDotsHover;ey=eS(eS({},ey),{},{clickHandler:em.changeSlide,onMouseEnter:eb?em.onDotsLeave:null,onMouseOver:eb?em.onDotsOver:null,onMouseLeave:eb?em.onDotsLeave:null}),ee=ei.default.createElement(ef.Dots,ey)}var ew=(0,ec.extractObject)(es,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);ew.clickHandler=em.changeSlide,em.props.arrows&&(et=ei.default.createElement(ep.PrevArrow,ew),en=ei.default.createElement(ep.NextArrow,ew));var ek=null;em.props.vertical&&(ek={height:em.state.listHeight});var eO=null;!1===em.props.vertical?!0===em.props.centerMode&&(eO={padding:"0px "+em.props.centerPadding}):!0===em.props.centerMode&&(eO={padding:em.props.centerPadding+" 0px"});var eE=eS(eS({},ek),eO),eP=em.props.touchMove,ej={className:"slick-list",style:eE,onClick:em.clickHandler,onMouseDown:eP?em.swipeStart:null,onMouseMove:em.state.dragging&&eP?em.swipeMove:null,onMouseUp:eP?em.swipeEnd:null,onMouseLeave:em.state.dragging&&eP?em.swipeEnd:null,onTouchStart:eP?em.swipeStart:null,onTouchMove:em.state.dragging&&eP?em.swipeMove:null,onTouchEnd:eP?em.touchEnd:null,onTouchCancel:em.state.dragging&&eP?em.swipeEnd:null,onKeyDown:em.props.accessibility?em.keyHandler:null},eC={className:eo,dir:"ltr",style:em.props.style};return em.props.unslick&&(ej={className:"slick-list"},eC={className:eo}),ei.default.createElement("div",eC,em.props.unslick?"":et,ei.default.createElement("div",eg({ref:em.listRefHandler},ej),ei.default.createElement(ed.Track,eg({ref:em.trackRefHandler},eh),em.props.children)),em.props.unslick?"":en,em.props.unslick?"":ee)}),em.list=null,em.track=null,em.state=eS(eS({},eo.default),{},{currentSlide:em.props.initialSlide,slideCount:ei.default.Children.count(em.props.children)}),em.callbackTimers=[],em.clickable=!0,em.debouncedResize=null;var em,ev=em.ssrInit();return em.state=eS(eS({},em.state),ev),em}return eE(en,[{key:"didPropsChange",value:function(ee){for(var et=!1,en=0,eo=Object.keys(this.props);en1&&void 0!==arguments[1]&&arguments[1];return ei.innerSlider.slickGoTo(ee,et)}),ej(eO(ei),"slickPause",function(){return ei.innerSlider.pause("paused")}),ej(eO(ei),"slickPlay",function(){return ei.innerSlider.autoPlay("play")}),ei.state={breakpoint:null},ei._responsiveMediaHandlers=[],ei}return ey(en,[{key:"media",value:function(ee,et){eC.register(ee,et),this._responsiveMediaHandlers.push({query:ee,handler:et})}},{key:"componentDidMount",value:function(){var ee=this;if(this.props.responsive){var et=this.props.responsive.map(function(ee){return ee.breakpoint});et.sort(function(ee,et){return ee-et}),et.forEach(function(en,ei){var eo;eo=0===ei?(0,es.default)({minWidth:0,maxWidth:en}):(0,es.default)({minWidth:et[ei-1]+1,maxWidth:en}),(0,ec.canUseDOM)()&&ee.media(eo,function(){ee.setState({breakpoint:en})})});var en=(0,es.default)({minWidth:et.slice(-1)[0]});(0,ec.canUseDOM)()&&this.media(en,function(){ee.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(ee){eC.unregister(ee.query,ee.handler)})}},{key:"render",value:function(){var ee,et,en=this;(ee=this.state.breakpoint?"unslick"===(et=this.props.responsive.filter(function(ee){return ee.breakpoint===en.state.breakpoint}))[0].settings?"unslick":em(em(em({},eu.default),this.props),et[0].settings):em(em({},eu.default),this.props)).centerMode&&(ee.slidesToScroll,ee.slidesToScroll=1),ee.fade&&(ee.slidesToShow,ee.slidesToScroll,ee.slidesToShow=1,ee.slidesToScroll=1);var es=ei.default.Children.toArray(this.props.children);es=es.filter(function(ee){return"string"==typeof ee?!!ee.trim():!!ee}),ee.variableWidth&&(ee.rows>1||ee.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),ee.variableWidth=!1);for(var ec=[],ed=null,ef=0;ef=es.length));ey+=1)eg.push(ei.default.cloneElement(es[ey],{key:100*ef+10*ev+ey,tabIndex:-1,style:{width:"".concat(100/ee.slidesPerRow,"%"),display:"inline-block"}}));eh.push(ei.default.createElement("div",{key:10*ef+ev},eg))}ee.variableWidth?ec.push(ei.default.createElement("div",{key:ef,style:{width:ed}},eh)):ec.push(ei.default.createElement("div",{key:ef},eh))}if("unslick"===ee){var eb="regular slider "+(this.props.className||"");return ei.default.createElement("div",{className:eb},es)}return ec.length<=ee.slidesToShow&&(ee.unslick=!0),ei.default.createElement(eo.InnerSlider,ep({style:this.props.style,ref:this.innerSliderRefHandler},ee),ec)}}]),en}(ei.default.Component);et.default=eR},65151:function(ee,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.Track=void 0;var ei=eu(en(2265)),eo=eu(en(42744)),es=en(13252);function eu(ee){return ee&&ee.__esModule?ee:{default:ee}}function ec(ee){return(ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(ee)}function ed(){return(ed=Object.assign||function(ee){for(var et=1;et=ee.slideCount,ee.centerMode?(eo=Math.floor(ee.slidesToShow/2),en=(es-ee.currentSlide)%ee.slideCount==0,es>ee.currentSlide-eo-1&&es<=ee.currentSlide+eo&&(et=!0)):et=ee.currentSlide<=es&&es=ee.slideCount?ee.targetSlide-ee.slideCount:ee.targetSlide)}},ej=function(ee){var et={};return(void 0===ee.variableWidth||!1===ee.variableWidth)&&(et.width=ee.slideWidth),ee.fade&&(et.position="relative",ee.vertical?et.top=-ee.index*parseInt(ee.slideHeight):et.left=-ee.index*parseInt(ee.slideWidth),et.opacity=ee.currentSlide===ee.index?1:0,ee.useCSS&&(et.transition="opacity "+ee.speed+"ms "+ee.cssEase+", visibility "+ee.speed+"ms "+ee.cssEase)),et},eC=function(ee,et){return ee.key||et},eR=function(ee){var et,en=[],eu=[],ec=[],ed=ei.default.Children.count(ee.children),ef=(0,es.lazyStartIndex)(ee),ep=(0,es.lazyEndIndex)(ee);return(ei.default.Children.forEach(ee.children,function(eh,em){var ev,eg={message:"children",index:em,slidesToScroll:ee.slidesToScroll,currentSlide:ee.currentSlide};ev=!ee.lazyLoad||ee.lazyLoad&&ee.lazyLoadedList.indexOf(em)>=0?eh:ei.default.createElement("div",null);var ey=ej(eO(eO({},ee),{},{index:em})),eb=ev.props.className||"",ew=eP(eO(eO({},ee),{},{index:em}));if(en.push(ei.default.cloneElement(ev,{key:"original"+eC(ev,em),"data-index":em,className:(0,eo.default)(ew,eb),tabIndex:"-1","aria-hidden":!ew["slick-active"],style:eO(eO({outline:"none"},ev.props.style||{}),ey),onClick:function(et){ev.props&&ev.props.onClick&&ev.props.onClick(et),ee.focusOnSelect&&ee.focusOnSelect(eg)}})),ee.infinite&&!1===ee.fade){var eS=ed-em;eS<=(0,es.getPreClones)(ee)&&ed!==ee.slidesToShow&&((et=-eS)>=ef&&(ev=eh),ew=eP(eO(eO({},ee),{},{index:et})),eu.push(ei.default.cloneElement(ev,{key:"precloned"+eC(ev,et),"data-index":et,tabIndex:"-1",className:(0,eo.default)(ew,eb),"aria-hidden":!ew["slick-active"],style:eO(eO({},ev.props.style||{}),ey),onClick:function(et){ev.props&&ev.props.onClick&&ev.props.onClick(et),ee.focusOnSelect&&ee.focusOnSelect(eg)}}))),ed!==ee.slidesToShow&&((et=ed+em)ee.lazyLoadedList.indexOf(eo)&&et.push(eo);return et};et.getOnDemandLazySlides=ep;var eh=function(ee){for(var et=[],en=em(ee),ei=ev(ee),eo=en;eo0?1:0):0};et.lazySlidesOnLeft=eg;var ey=function(ee){return ee.centerMode?Math.floor((ee.slidesToShow-1)/2)+1+(parseInt(ee.centerPadding)>0?1:0):ee.slidesToShow};et.lazySlidesOnRight=ey;var eb=function(ee){return ee&&ee.offsetWidth||0};et.getWidth=eb;var ew=function(ee){return ee&&ee.offsetHeight||0};et.getHeight=ew;var eS=function(ee){var et,en,ei=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(et=ee.startX-ee.curX,(en=Math.round(180*Math.atan2(ee.startY-ee.curY,et)/Math.PI))<0&&(en=360-Math.abs(en)),en<=45&&en>=0||en<=360&&en>=315)?"left":en>=135&&en<=225?"right":!0===ei?en>=35&&en<=135?"up":"down":"vertical"};et.getSwipeDirection=eS;var ek=function(ee){var et=!0;return!ee.infinite&&(ee.centerMode&&ee.currentSlide>=ee.slideCount-1?et=!1:(ee.slideCount<=ee.slidesToShow||ee.currentSlide>=ee.slideCount-ee.slidesToShow)&&(et=!1)),et};et.canGoNext=ek;var eO=function(ee,et){var en={};return et.forEach(function(et){return en[et]=ee[et]}),en};et.extractObject=eO;var eE=function(ee){var et,en=ei.default.Children.count(ee.children),eo=ee.listRef,es=Math.ceil(eb(eo)),ec=Math.ceil(eb(ee.trackRef&&ee.trackRef.node));if(ee.vertical)et=es;else{var ed=ee.centerMode&&2*parseInt(ee.centerPadding);"string"==typeof ee.centerPadding&&"%"===ee.centerPadding.slice(-1)&&(ed*=es/100),et=Math.ceil((es-ed)/ee.slidesToShow)}var ef=eo&&ew(eo.querySelector('[data-index="0"]')),eh=ef*ee.slidesToShow,em=void 0===ee.currentSlide?ee.initialSlide:ee.currentSlide;ee.rtl&&void 0===ee.currentSlide&&(em=en-1-ee.initialSlide);var ev=ee.lazyLoadedList||[],eg=ep(eu(eu({},ee),{},{currentSlide:em,lazyLoadedList:ev})),ey={slideCount:en,slideWidth:et,listWidth:es,trackWidth:ec,currentSlide:em,slideHeight:ef,listHeight:eh,lazyLoadedList:ev=ev.concat(eg)};return null===ee.autoplaying&&ee.autoplay&&(ey.autoplaying="playing"),ey};et.initializedState=eE;var eP=function(ee){var et=ee.waitForAnimate,en=ee.animating,ei=ee.fade,eo=ee.infinite,es=ee.index,ec=ee.slideCount,ef=ee.lazyLoad,eh=ee.currentSlide,em=ee.centerMode,ev=ee.slidesToScroll,eg=ee.slidesToShow,ey=ee.useCSS,eb=ee.lazyLoadedList;if(et&&en)return{};var ew,eS,eO,eE=es,eP={},ej={},eC=eo?es:ed(es,0,ec-1);if(ei){if(!eo&&(es<0||es>=ec))return{};es<0?eE=es+ec:es>=ec&&(eE=es-ec),ef&&0>eb.indexOf(eE)&&(eb=eb.concat(eE)),eP={animating:!0,currentSlide:eE,lazyLoadedList:eb,targetSlide:eE},ej={animating:!1,targetSlide:eE}}else ew=eE,eE<0?(ew=eE+ec,eo?ec%ev!=0&&(ew=ec-ec%ev):ew=0):!ek(ee)&&eE>eh?eE=ew=eh:em&&eE>=ec?(eE=eo?ec:ec-1,ew=eo?0:ec-1):eE>=ec&&(ew=eE-ec,eo?ec%ev!=0&&(ew=0):ew=ec-eg),!eo&&eE+eg>=ec&&(ew=ec-eg),eS=eN(eu(eu({},ee),{},{slideIndex:eE})),eO=eN(eu(eu({},ee),{},{slideIndex:ew})),eo||(eS===eO&&(eE=ew),eS=eO),ef&&(eb=eb.concat(ep(eu(eu({},ee),{},{currentSlide:eE})))),ey?(eP={animating:!0,currentSlide:ew,trackStyle:eD(eu(eu({},ee),{},{left:eS})),lazyLoadedList:eb,targetSlide:eC},ej={animating:!1,currentSlide:ew,trackStyle:eM(eu(eu({},ee),{},{left:eO})),swipeLeft:null,targetSlide:eC}):eP={currentSlide:ew,trackStyle:eM(eu(eu({},ee),{},{left:eO})),lazyLoadedList:eb,targetSlide:eC};return{state:eP,nextState:ej}};et.slideHandler=eP;var ej=function(ee,et){var en,ei,eo,es,ec=ee.slidesToScroll,ed=ee.slidesToShow,ef=ee.slideCount,ep=ee.currentSlide,eh=ee.targetSlide,em=ee.lazyLoad,ev=ee.infinite;if(en=ef%ec!=0?0:(ef-ep)%ec,"previous"===et.message)es=ep-(eo=0===en?ec:ed-en),em&&!ev&&(es=-1==(ei=ep-eo)?ef-1:ei),ev||(es=eh-ec);else if("next"===et.message)es=ep+(eo=0===en?ec:en),em&&!ev&&(es=(ep+ec)%ef+en),ev||(es=eh+ec);else if("dots"===et.message)es=et.index*et.slidesToScroll;else if("children"===et.message){if(es=et.index,ev){var eg=eH(eu(eu({},ee),{},{targetSlide:es}));es>et.currentSlide&&"left"===eg?es-=ef:es10)return{scrolling:!0};ec&&(eE.swipeLength=eI);var eA=(ed?-1:1)*(eE.curX>eE.startX?1:-1);ec&&(eA=eE.curY>eE.startY?1:-1);var eF=Math.ceil(eb/ew),eL=eS(et.touchObject,ec),eD=eE.swipeLength;return!eO&&(0===ep&&("right"===eL||"down"===eL)||ep+1>=eF&&("left"===eL||"up"===eL)||!ek(et)&&("left"===eL||"up"===eL))&&(eD=eE.swipeLength*eh,!1===em&&ev&&(ev(eL),eT.edgeDragged=!0)),!eg&&eP&&(eP(eL),eT.swiped=!0),eR=eo?e_+ej/eC*eD*eA:ed?e_-eD*eA:e_+eD*eA,ec&&(eR=e_+eD*eA),eT=eu(eu({},eT),{},{touchObject:eE,swipeLeft:eR,trackStyle:eM(eu(eu({},et),{},{left:eR}))}),Math.abs(eE.curX-eE.startX)<.8*Math.abs(eE.curY-eE.startY)||eE.swipeLength>10&&(eT.swiping=!0,ef(ee)),eT}};et.swipeMove=eT;var e_=function(ee,et){var en=et.dragging,ei=et.swipe,eo=et.touchObject,es=et.listWidth,ec=et.touchThreshold,ed=et.verticalSwiping,ep=et.listHeight,eh=et.swipeToSlide,em=et.scrolling,ev=et.onSwipe,eg=et.targetSlide,ey=et.currentSlide,eb=et.infinite;if(!en)return ei&&ef(ee),{};var ew=ed?ep/ec:es/ec,ek=eS(eo,ed),eO={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(em||!eo.swipeLength)return eO;if(eo.swipeLength>ew){ef(ee),ev&&ev(ek);var eE,eP,ej=eb?ey:eg;switch(ek){case"left":case"up":eP=ej+eF(et),eE=eh?eA(et,eP):eP,eO.currentDirection=0;break;case"right":case"down":eP=ej-eF(et),eE=eh?eA(et,eP):eP,eO.currentDirection=1;break;default:eE=ej}eO.triggerSlideHandler=eE}else{var eC=eN(et);eO.trackStyle=eD(eu(eu({},et),{},{left:eC}))}return eO};et.swipeEnd=e_;var eI=function(ee){for(var et=ee.infinite?2*ee.slideCount:ee.slideCount,en=ee.infinite?-1*ee.slidesToShow:0,ei=ee.infinite?-1*ee.slidesToShow:0,eo=[];enen[en.length-1])et=en[en.length-1];else for(var eo in en){if(et-1*ee.swipeLeft)return en=ei,!1}else if(ei.offsetLeft-et+eb(ei)/2>-1*ee.swipeLeft)return en=ei,!1;return!0}),!en)return 0;var eo=!0===ee.rtl?ee.slideCount-ee.currentSlide:ee.currentSlide;return Math.abs(en.dataset.index-eo)||1};et.getSlideCount=eF;var eL=function(ee,et){return et.reduce(function(et,en){return et&&ee.hasOwnProperty(en)},!0)?null:console.error("Keys Missing:",ee)};et.checkSpecKeys=eL;var eM=function(ee){eL(ee,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var et,en,ei=ee.slideCount+2*ee.slidesToShow;ee.vertical?en=ei*ee.slideHeight:et=eW(ee)*ee.slideWidth;var eo={opacity:1,transition:"",WebkitTransition:""};if(ee.useTransform){var es=ee.vertical?"translate3d(0px, "+ee.left+"px, 0px)":"translate3d("+ee.left+"px, 0px, 0px)",ec=ee.vertical?"translate3d(0px, "+ee.left+"px, 0px)":"translate3d("+ee.left+"px, 0px, 0px)",ed=ee.vertical?"translateY("+ee.left+"px)":"translateX("+ee.left+"px)";eo=eu(eu({},eo),{},{WebkitTransform:es,transform:ec,msTransform:ed})}else ee.vertical?eo.top=ee.left:eo.left=ee.left;return ee.fade&&(eo={opacity:1}),et&&(eo.width=et),en&&(eo.height=en),window&&!window.addEventListener&&window.attachEvent&&(ee.vertical?eo.marginTop=ee.left+"px":eo.marginLeft=ee.left+"px"),eo};et.getTrackCSS=eM;var eD=function(ee){eL(ee,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var et=eM(ee);return ee.useTransform?(et.WebkitTransition="-webkit-transform "+ee.speed+"ms "+ee.cssEase,et.transition="transform "+ee.speed+"ms "+ee.cssEase):ee.vertical?et.transition="top "+ee.speed+"ms "+ee.cssEase:et.transition="left "+ee.speed+"ms "+ee.cssEase,et};et.getTrackAnimateCSS=eD;var eN=function(ee){if(ee.unslick)return 0;eL(ee,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var et=ee.slideIndex,en=ee.trackRef,ei=ee.infinite,eo=ee.centerMode,es=ee.slideCount,eu=ee.slidesToShow,ec=ee.slidesToScroll,ed=ee.slideWidth,ef=ee.listWidth,ep=ee.variableWidth,eh=ee.slideHeight,em=ee.fade,ev=ee.vertical,eg=0,ey=0;if(em||1===ee.slideCount)return 0;var eb=0;if(ei?(eb=-ez(ee),es%ec!=0&&et+ec>es&&(eb=-(et>es?eu-(et-es):es%ec)),eo&&(eb+=parseInt(eu/2))):(es%ec!=0&&et+ec>es&&(eb=eu-es%ec),eo&&(eb=parseInt(eu/2))),eg=eb*ed,ey=eb*eh,ew=ev?-(et*eh*1)+ey:-(et*ed*1)+eg,!0===ep){var ew,eS,ek,eO=en&&en.node;if(ek=et+ez(ee),ew=(eS=eO&&eO.childNodes[ek])?-1*eS.offsetLeft:0,!0===eo){ek=ei?et+ez(ee):et,eS=eO&&eO.children[ek],ew=0;for(var eE=0;eEee.currentSlide?ee.targetSlide>ee.currentSlide+eV(ee)?"left":"right":ee.targetSlide0&&(es+=1),ei&&et%2==0&&(es+=1),es}return ei?0:et-1};et.slidesOnRight=eV;var eU=function(ee){var et=ee.slidesToShow,en=ee.centerMode,ei=ee.rtl,eo=ee.centerPadding;if(en){var es=(et-1)/2+1;return parseInt(eo)>0&&(es+=1),ei||et%2!=0||(es+=1),es}return ei?et-1:0};et.slidesOnLeft=eU;var e$=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)};et.canUseDOM=e$},11190:function(ee,et,en){"use strict";var ei=en(17471),eo=en(60724),es=en(58441);function eu(ee,et,en){return new ei(ee,et,en)}eu.version=en(56489),eu.AlgoliaSearchHelper=ei,eu.SearchParameters=eo,eu.SearchResults=es,ee.exports=eu},67049:function(ee,et,en){"use strict";var ei=en(60254);function eo(ee,et){this.main=ee,this.fn=et,this.lastResults=null}en(23990)(eo,ei),eo.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},eo.prototype.getModifiedState=function(ee){return this.fn(ee)},ee.exports=eo},1269:function(ee,et,en){"use strict";var ei=en(88548),eo=en(84523),es=en(60378),eu={addRefinement:function(ee,et,en){if(eu.isRefined(ee,et,en))return ee;var eo=""+en,es=ee[et]?ee[et].concat(eo):[eo],ec={};return ec[et]=es,ei({},ec,ee)},removeRefinement:function(ee,et,en){if(void 0===en)return eu.clearRefinement(ee,function(ee,en){return et===en});var ei=""+en;return eu.clearRefinement(ee,function(ee,en){return et===en&&ei===ee})},toggleRefinement:function(ee,et,en){if(void 0===en)throw Error("toggleRefinement should be used with a value");return eu.isRefined(ee,et,en)?eu.removeRefinement(ee,et,en):eu.addRefinement(ee,et,en)},clearRefinement:function(ee,et,en){if(void 0===et)return eo(ee)?{}:ee;if("string"==typeof et)return es(ee,[et]);if("function"==typeof et){var ei=!1,eu=Object.keys(ee).reduce(function(eo,es){var eu=ee[es]||[],ec=eu.filter(function(ee){return!et(ee,es,en)});return ec.length!==eu.length&&(ei=!0),eo[es]=ec,eo},{});return ei?eu:ee}},isRefined:function(ee,et,en){var ei=!!ee[et]&&ee[et].length>0;if(void 0===en||!ei)return ei;var eo=""+en;return -1!==ee[et].indexOf(eo)}};ee.exports=eu},60724:function(ee,et,en){"use strict";var ei=en(88548),eo=en(95146),es=en(11658),eu=en(66214),ec=en(84523),ed=en(60378),ef=en(25857),ep=en(56109),eh=en(1269);function em(ee,et){return Array.isArray(ee)&&Array.isArray(et)?ee.length===et.length&&ee.every(function(ee,en){return em(et[en],ee)}):ee===et}function ev(ee,et){return eo(ee,function(ee){return em(ee,et)})}function eg(ee){var et=ee?eg._parseNumbers(ee):{};void 0===et.userToken||ep(et.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=et.facets||[],this.disjunctiveFacets=et.disjunctiveFacets||[],this.hierarchicalFacets=et.hierarchicalFacets||[],this.facetsRefinements=et.facetsRefinements||{},this.facetsExcludes=et.facetsExcludes||{},this.disjunctiveFacetsRefinements=et.disjunctiveFacetsRefinements||{},this.numericRefinements=et.numericRefinements||{},this.tagRefinements=et.tagRefinements||[],this.hierarchicalFacetsRefinements=et.hierarchicalFacetsRefinements||{};var en=this;Object.keys(et).forEach(function(ee){var ei=-1!==eg.PARAMETERS.indexOf(ee),eo=void 0!==et[ee];!ei&&eo&&(en[ee]=et[ee])})}eg.PARAMETERS=Object.keys(new eg),eg._parseNumbers=function(ee){if(ee instanceof eg)return ee;var et={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(en){var ei=ee[en];if("string"==typeof ei){var eo=parseFloat(ei);et[en]=isNaN(eo)?ei:eo}}),Array.isArray(ee.insideBoundingBox)&&(et.insideBoundingBox=ee.insideBoundingBox.map(function(ee){return Array.isArray(ee)?ee.map(function(ee){return parseFloat(ee)}):ee})),ee.numericRefinements){var en={};Object.keys(ee.numericRefinements).forEach(function(et){var ei=ee.numericRefinements[et]||{};en[et]={},Object.keys(ei).forEach(function(ee){var eo=ei[ee].map(function(ee){return Array.isArray(ee)?ee.map(function(ee){return"string"==typeof ee?parseFloat(ee):ee}):"string"==typeof ee?parseFloat(ee):ee});en[et][ee]=eo})}),et.numericRefinements=en}return eu({},ee,et)},eg.make=function(ee){var et=new eg(ee);return(ee.hierarchicalFacets||[]).forEach(function(ee){if(ee.rootPath){var en=et.getHierarchicalRefinement(ee.name);en.length>0&&0!==en[0].indexOf(ee.rootPath)&&(et=et.clearRefinements(ee.name)),0===(en=et.getHierarchicalRefinement(ee.name)).length&&(et=et.toggleHierarchicalFacetRefinement(ee.name,ee.rootPath))}}),et},eg.validate=function(ee,et){var en=et||{};return ee.tagFilters&&en.tagRefinements&&en.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):ee.tagRefinements.length>0&&en.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):ee.numericFilters&&en.numericRefinements&&ec(en.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):ec(ee.numericRefinements)&&en.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},eg.prototype={constructor:eg,clearRefinements:function(ee){var et={numericRefinements:this._clearNumericRefinements(ee),facetsRefinements:eh.clearRefinement(this.facetsRefinements,ee,"conjunctiveFacet"),facetsExcludes:eh.clearRefinement(this.facetsExcludes,ee,"exclude"),disjunctiveFacetsRefinements:eh.clearRefinement(this.disjunctiveFacetsRefinements,ee,"disjunctiveFacet"),hierarchicalFacetsRefinements:eh.clearRefinement(this.hierarchicalFacetsRefinements,ee,"hierarchicalFacet")};return et.numericRefinements===this.numericRefinements&&et.facetsRefinements===this.facetsRefinements&&et.facetsExcludes===this.facetsExcludes&&et.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&et.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(et)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(ee){return ee===this.index?this:this.setQueryParameters({index:ee})},setQuery:function(ee){return ee===this.query?this:this.setQueryParameters({query:ee})},setPage:function(ee){return ee===this.page?this:this.setQueryParameters({page:ee})},setFacets:function(ee){return this.setQueryParameters({facets:ee})},setDisjunctiveFacets:function(ee){return this.setQueryParameters({disjunctiveFacets:ee})},setHitsPerPage:function(ee){return this.hitsPerPage===ee?this:this.setQueryParameters({hitsPerPage:ee})},setTypoTolerance:function(ee){return this.typoTolerance===ee?this:this.setQueryParameters({typoTolerance:ee})},addNumericRefinement:function(ee,et,en){var ei=ef(en);if(this.isNumericRefined(ee,et,ei))return this;var eo=eu({},this.numericRefinements);return eo[ee]=eu({},eo[ee]),eo[ee][et]?(eo[ee][et]=eo[ee][et].slice(),eo[ee][et].push(ei)):eo[ee][et]=[ei],this.setQueryParameters({numericRefinements:eo})},getConjunctiveRefinements:function(ee){return this.isConjunctiveFacet(ee)&&this.facetsRefinements[ee]||[]},getDisjunctiveRefinements:function(ee){return this.isDisjunctiveFacet(ee)&&this.disjunctiveFacetsRefinements[ee]||[]},getHierarchicalRefinement:function(ee){return this.hierarchicalFacetsRefinements[ee]||[]},getExcludeRefinements:function(ee){return this.isConjunctiveFacet(ee)&&this.facetsExcludes[ee]||[]},removeNumericRefinement:function(ee,et,en){var ei=en;return void 0!==ei?this.isNumericRefined(ee,et,ei)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(en,eo){return eo===ee&&en.op===et&&em(en.val,ef(ei))})}):this:void 0!==et?this.isNumericRefined(ee,et)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(en,ei){return ei===ee&&en.op===et})}):this:this.isNumericRefined(ee)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(et,en){return en===ee})}):this},getNumericRefinements:function(ee){return this.numericRefinements[ee]||{}},getNumericRefinement:function(ee,et){return this.numericRefinements[ee]&&this.numericRefinements[ee][et]},_clearNumericRefinements:function(ee){if(void 0===ee)return ec(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof ee)return ed(this.numericRefinements,[ee]);if("function"==typeof ee){var et=!1,en=this.numericRefinements,ei=Object.keys(en).reduce(function(ei,eo){var es=en[eo],eu={};return Object.keys(es=es||{}).forEach(function(en){var ei=es[en]||[],ec=[];ei.forEach(function(et){ee({val:et,op:en},eo,"numeric")||ec.push(et)}),ec.length!==ei.length&&(et=!0),eu[en]=ec}),ei[eo]=eu,ei},{});return et?ei:this.numericRefinements}},addFacet:function(ee){return this.isConjunctiveFacet(ee)?this:this.setQueryParameters({facets:this.facets.concat([ee])})},addDisjunctiveFacet:function(ee){return this.isDisjunctiveFacet(ee)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([ee])})},addHierarchicalFacet:function(ee){if(this.isHierarchicalFacet(ee.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+ee.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([ee])})},addFacetRefinement:function(ee,et){if(!this.isConjunctiveFacet(ee))throw Error(ee+" is not defined in the facets attribute of the helper configuration");return eh.isRefined(this.facetsRefinements,ee,et)?this:this.setQueryParameters({facetsRefinements:eh.addRefinement(this.facetsRefinements,ee,et)})},addExcludeRefinement:function(ee,et){if(!this.isConjunctiveFacet(ee))throw Error(ee+" is not defined in the facets attribute of the helper configuration");return eh.isRefined(this.facetsExcludes,ee,et)?this:this.setQueryParameters({facetsExcludes:eh.addRefinement(this.facetsExcludes,ee,et)})},addDisjunctiveFacetRefinement:function(ee,et){if(!this.isDisjunctiveFacet(ee))throw Error(ee+" is not defined in the disjunctiveFacets attribute of the helper configuration");return eh.isRefined(this.disjunctiveFacetsRefinements,ee,et)?this:this.setQueryParameters({disjunctiveFacetsRefinements:eh.addRefinement(this.disjunctiveFacetsRefinements,ee,et)})},addTagRefinement:function(ee){if(this.isTagRefined(ee))return this;var et={tagRefinements:this.tagRefinements.concat(ee)};return this.setQueryParameters(et)},removeFacet:function(ee){return this.isConjunctiveFacet(ee)?this.clearRefinements(ee).setQueryParameters({facets:this.facets.filter(function(et){return et!==ee})}):this},removeDisjunctiveFacet:function(ee){return this.isDisjunctiveFacet(ee)?this.clearRefinements(ee).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(et){return et!==ee})}):this},removeHierarchicalFacet:function(ee){return this.isHierarchicalFacet(ee)?this.clearRefinements(ee).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(et){return et.name!==ee})}):this},removeFacetRefinement:function(ee,et){if(!this.isConjunctiveFacet(ee))throw Error(ee+" is not defined in the facets attribute of the helper configuration");return eh.isRefined(this.facetsRefinements,ee,et)?this.setQueryParameters({facetsRefinements:eh.removeRefinement(this.facetsRefinements,ee,et)}):this},removeExcludeRefinement:function(ee,et){if(!this.isConjunctiveFacet(ee))throw Error(ee+" is not defined in the facets attribute of the helper configuration");return eh.isRefined(this.facetsExcludes,ee,et)?this.setQueryParameters({facetsExcludes:eh.removeRefinement(this.facetsExcludes,ee,et)}):this},removeDisjunctiveFacetRefinement:function(ee,et){if(!this.isDisjunctiveFacet(ee))throw Error(ee+" is not defined in the disjunctiveFacets attribute of the helper configuration");return eh.isRefined(this.disjunctiveFacetsRefinements,ee,et)?this.setQueryParameters({disjunctiveFacetsRefinements:eh.removeRefinement(this.disjunctiveFacetsRefinements,ee,et)}):this},removeTagRefinement:function(ee){if(!this.isTagRefined(ee))return this;var et={tagRefinements:this.tagRefinements.filter(function(et){return et!==ee})};return this.setQueryParameters(et)},toggleRefinement:function(ee,et){return this.toggleFacetRefinement(ee,et)},toggleFacetRefinement:function(ee,et){if(this.isHierarchicalFacet(ee))return this.toggleHierarchicalFacetRefinement(ee,et);if(this.isConjunctiveFacet(ee))return this.toggleConjunctiveFacetRefinement(ee,et);if(this.isDisjunctiveFacet(ee))return this.toggleDisjunctiveFacetRefinement(ee,et);throw Error("Cannot refine the undeclared facet "+ee+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(ee,et){if(!this.isConjunctiveFacet(ee))throw Error(ee+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:eh.toggleRefinement(this.facetsRefinements,ee,et)})},toggleExcludeFacetRefinement:function(ee,et){if(!this.isConjunctiveFacet(ee))throw Error(ee+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:eh.toggleRefinement(this.facetsExcludes,ee,et)})},toggleDisjunctiveFacetRefinement:function(ee,et){if(!this.isDisjunctiveFacet(ee))throw Error(ee+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:eh.toggleRefinement(this.disjunctiveFacetsRefinements,ee,et)})},toggleHierarchicalFacetRefinement:function(ee,et){if(!this.isHierarchicalFacet(ee))throw Error(ee+" is not defined in the hierarchicalFacets attribute of the helper configuration");var en=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(ee)),eo={};return void 0!==this.hierarchicalFacetsRefinements[ee]&&this.hierarchicalFacetsRefinements[ee].length>0&&(this.hierarchicalFacetsRefinements[ee][0]===et||0===this.hierarchicalFacetsRefinements[ee][0].indexOf(et+en))?-1===et.indexOf(en)?eo[ee]=[]:eo[ee]=[et.slice(0,et.lastIndexOf(en))]:eo[ee]=[et],this.setQueryParameters({hierarchicalFacetsRefinements:ei({},eo,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(ee,et){if(this.isHierarchicalFacetRefined(ee))throw Error(ee+" is already refined.");if(!this.isHierarchicalFacet(ee))throw Error(ee+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var en={};return en[ee]=[et],this.setQueryParameters({hierarchicalFacetsRefinements:ei({},en,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(ee){if(!this.isHierarchicalFacetRefined(ee))return this;var et={};return et[ee]=[],this.setQueryParameters({hierarchicalFacetsRefinements:ei({},et,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(ee){return this.isTagRefined(ee)?this.removeTagRefinement(ee):this.addTagRefinement(ee)},isDisjunctiveFacet:function(ee){return this.disjunctiveFacets.indexOf(ee)>-1},isHierarchicalFacet:function(ee){return void 0!==this.getHierarchicalFacetByName(ee)},isConjunctiveFacet:function(ee){return this.facets.indexOf(ee)>-1},isFacetRefined:function(ee,et){return!!this.isConjunctiveFacet(ee)&&eh.isRefined(this.facetsRefinements,ee,et)},isExcludeRefined:function(ee,et){return!!this.isConjunctiveFacet(ee)&&eh.isRefined(this.facetsExcludes,ee,et)},isDisjunctiveFacetRefined:function(ee,et){return!!this.isDisjunctiveFacet(ee)&&eh.isRefined(this.disjunctiveFacetsRefinements,ee,et)},isHierarchicalFacetRefined:function(ee,et){if(!this.isHierarchicalFacet(ee))return!1;var en=this.getHierarchicalRefinement(ee);return et?-1!==en.indexOf(et):en.length>0},isNumericRefined:function(ee,et,en){if(void 0===en&&void 0===et)return!!this.numericRefinements[ee];var ei=this.numericRefinements[ee]&&void 0!==this.numericRefinements[ee][et];if(void 0===en||!ei)return ei;var eo=ef(en),es=void 0!==ev(this.numericRefinements[ee][et],eo);return ei&&es},isTagRefined:function(ee){return -1!==this.tagRefinements.indexOf(ee)},getRefinedDisjunctiveFacets:function(){var ee=this,et=es(Object.keys(this.numericRefinements).filter(function(et){return Object.keys(ee.numericRefinements[et]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(et){return ee.disjunctiveFacetsRefinements[et].length>0}).concat(et).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var ee=this;return es(this.hierarchicalFacets.map(function(ee){return ee.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(et){return ee.hierarchicalFacetsRefinements[et].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var ee=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(et){return -1===ee.indexOf(et)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var ee=this.managedParameters,et={},en=this;return Object.keys(this).forEach(function(ei){var eo=en[ei];-1===ee.indexOf(ei)&&void 0!==eo&&(et[ei]=eo)}),et},setQueryParameter:function(ee,et){if(this[ee]===et)return this;var en={};return en[ee]=et,this.setQueryParameters(en)},setQueryParameters:function(ee){if(!ee)return this;var et=eg.validate(this,ee);if(et)throw et;var en=this,ei=eg._parseNumbers(ee),eo=Object.keys(this).reduce(function(ee,et){return ee[et]=en[et],ee},{}),es=Object.keys(ei).reduce(function(ee,et){var en=void 0!==ee[et],eo=void 0!==ei[et];return en&&!eo?ed(ee,[et]):(eo&&(ee[et]=ei[et]),ee)},eo);return new this.constructor(es)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(ee){return ee.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(ee){return ee.separator||" > "},_getHierarchicalRootPath:function(ee){return ee.rootPath||null},_getHierarchicalShowParentLevel:function(ee){return"boolean"!=typeof ee.showParentLevel||ee.showParentLevel},getHierarchicalFacetByName:function(ee){return eo(this.hierarchicalFacets,function(et){return et.name===ee})},getHierarchicalFacetBreadcrumb:function(ee){if(!this.isHierarchicalFacet(ee))return[];var et=this.getHierarchicalRefinement(ee)[0];if(!et)return[];var en=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(ee));return et.split(en).map(function(ee){return ee.trim()})},toString:function(){return JSON.stringify(this,null,2)}},ee.exports=eg},50523:function(ee,et,en){"use strict";ee.exports=ef;var ei=en(60977),eo=en(95146),es=en(51976),eu=en(49940),ec=ei.escapeFacetValue,ed=ei.unescapeFacetValue;function ef(ee){return function(et,en){var ei=ee.hierarchicalFacets[en],eo=ee.hierarchicalFacetsRefinements[ei.name]&&ee.hierarchicalFacetsRefinements[ei.name][0]||"",eu=ee._getHierarchicalFacetSeparator(ei),ec=ee._getHierarchicalRootPath(ei),ed=ee._getHierarchicalShowParentLevel(ei),ef=es(ee._getHierarchicalFacetSortBy(ei)),eh=et.every(function(ee){return ee.exhaustive}),em=ep(ef,eu,ec,ed,eo),ev=et;return ec&&(ev=et.slice(ec.split(eu).length)),ev.reduce(em,{name:ee.hierarchicalFacets[en].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:eh,data:null})}}function ep(ee,et,en,ei,es){return function(ec,ef,ep){var ev=ec;if(ep>0){var eg=0;for(ev=ec;eg-1})}function ew(ee,et,en){var es=et[0];this._rawResults=et;var eu=this;Object.keys(es).forEach(function(ee){eu[ee]=es[ee]}),Object.keys(en||{}).forEach(function(ee){eu[ee]=en[ee]}),this.processingTimeMS=et.reduce(function(ee,et){return void 0===et.processingTimeMS?ee:ee+et.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=ee.hierarchicalFacets.map(function(){return[]}),this.facets=[];var ed=ee.getRefinedDisjunctiveFacets(),ep=eg(ee.facets),eh=eg(ee.disjunctiveFacets),ew=1,eS=es.facets||{};Object.keys(eS).forEach(function(et){var en=eS[et],ei=eb(ee.hierarchicalFacets,et);if(ei){var eo=ei.attributes.indexOf(et),ed=ec(ee.hierarchicalFacets,function(ee){return ee.name===ei.name});eu.hierarchicalFacets[ed][eo]={attribute:et,data:en,exhaustive:es.exhaustiveFacetsCount}}else{var ef,em=-1!==ee.disjunctiveFacets.indexOf(et),ev=-1!==ee.facets.indexOf(et);em&&(ef=eh[et],eu.disjunctiveFacets[ef]={name:et,data:en,exhaustive:es.exhaustiveFacetsCount},ey(eu.disjunctiveFacets[ef],es.facets_stats,et)),ev&&(ef=ep[et],eu.facets[ef]={name:et,data:en,exhaustive:es.exhaustiveFacetsCount},ey(eu.facets[ef],es.facets_stats,et))}}),this.hierarchicalFacets=ei(this.hierarchicalFacets),ed.forEach(function(en){var ei=et[ew],ed=ei&&ei.facets?ei.facets:{},ep=ee.getHierarchicalFacetByName(en);Object.keys(ed).forEach(function(et){var en,ev=ed[et];if(ep){en=ec(ee.hierarchicalFacets,function(ee){return ee.name===ep.name});var eg=ec(eu.hierarchicalFacets[en],function(ee){return ee.attribute===et});if(-1===eg)return;eu.hierarchicalFacets[en][eg].data=ef({},eu.hierarchicalFacets[en][eg].data,ev)}else{en=eh[et];var eb=es.facets&&es.facets[et]||{};eu.disjunctiveFacets[en]={name:et,data:eo({},ev,eb),exhaustive:ei.exhaustiveFacetsCount},ey(eu.disjunctiveFacets[en],ei.facets_stats,et),ee.disjunctiveFacetsRefinements[et]&&ee.disjunctiveFacetsRefinements[et].forEach(function(ei){!eu.disjunctiveFacets[en].data[ei]&&ee.disjunctiveFacetsRefinements[et].indexOf(em(ei))>-1&&(eu.disjunctiveFacets[en].data[ei]=0)})}}),ew++}),ee.getRefinedHierarchicalFacets().forEach(function(en){var ei=ee.getHierarchicalFacetByName(en),es=ee._getHierarchicalFacetSeparator(ei),ed=ee.getHierarchicalRefinement(en);0===ed.length||ed[0].split(es).length<2||et.slice(ew).forEach(function(et){var en=et&&et.facets?et.facets:{};Object.keys(en).forEach(function(et){var ef=en[et],ep=ec(ee.hierarchicalFacets,function(ee){return ee.name===ei.name}),eh=ec(eu.hierarchicalFacets[ep],function(ee){return ee.attribute===et});if(-1!==eh){var em={};if(ed.length>0){var ev=ed[0].split(es)[0];em[ev]=eu.hierarchicalFacets[ep][eh].data[ev]}eu.hierarchicalFacets[ep][eh].data=eo(em,ef,eu.hierarchicalFacets[ep][eh].data)}}),ew++})}),Object.keys(ee.facetsExcludes).forEach(function(et){var en=ee.facetsExcludes[et],ei=ep[et];eu.facets[ei]={name:et,data:eS[et],exhaustive:es.exhaustiveFacetsCount},en.forEach(function(ee){eu.facets[ei]=eu.facets[ei]||{name:et},eu.facets[ei].data=eu.facets[ei].data||{},eu.facets[ei].data[ee]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(ev(ee)),this.facets=ei(this.facets),this.disjunctiveFacets=ei(this.disjunctiveFacets),this._state=ee}function eS(ee,et){function en(ee){return ee.name===et}if(ee._state.isConjunctiveFacet(et)){var ei=eu(ee.facets,en);return ei?Object.keys(ei.data).map(function(en){var eo=eh(en);return{name:en,escapedValue:eo,count:ei.data[en],isRefined:ee._state.isFacetRefined(et,eo),isExcluded:ee._state.isExcludeRefined(et,en)}}):[]}if(ee._state.isDisjunctiveFacet(et)){var eo=eu(ee.disjunctiveFacets,en);return eo?Object.keys(eo.data).map(function(en){var ei=eh(en);return{name:en,escapedValue:ei,count:eo.data[en],isRefined:ee._state.isDisjunctiveFacetRefined(et,ei)}}):[]}if(ee._state.isHierarchicalFacet(et)){var es=eu(ee.hierarchicalFacets,en);if(!es)return es;var ec=ee._state.getHierarchicalFacetByName(et),ed=ee._state._getHierarchicalFacetSeparator(ec),ef=em(ee._state.getHierarchicalRefinement(et)[0]||"");0===ef.indexOf(ec.rootPath)&&(ef=ef.replace(ec.rootPath+ed,""));var ep=ef.split(ed);return ep.unshift(et),ek(es,ep,0),es}}function ek(ee,et,en){ee.isRefined=ee.name===et[en],ee.data&&ee.data.forEach(function(ee){ek(ee,et,en+1)})}function eO(ee,et,en,ei){if(ei=ei||0,Array.isArray(et))return ee(et,en[ei]);if(!et.data||0===et.data.length)return et;var es=et.data.map(function(et){return eO(ee,et,en,ei+1)});return eo({data:ee(es,en[ei])},et)}function eE(ee,et){return et.sort(ee)}function eP(ee,et){var en,ei=[],eo=[],es=(et.order||[]).reduce(function(ee,et,en){return ee[et]=en,ee},{});ee.forEach(function(ee){var et=ee.path||ee.name;void 0!==es[et]?ei[es[et]]=ee:eo.push(ee)}),ei=ei.filter(function(ee){return ee});var eu=et.sortRemainingBy;return"hidden"===eu?ei:(en="alpha"===eu?[["path","name"],["asc","asc"]]:[["count"],["desc"]],ei.concat(ep(eo,en[0],en[1])))}function ej(ee,et){return ee.renderingContent&&ee.renderingContent.facetOrdering&&ee.renderingContent.facetOrdering.values&&ee.renderingContent.facetOrdering.values[et]}function eC(ee,et){var en=eu(ee,function(ee){return ee.name===et});return en&&en.stats}function eR(ee,et,en,ei,eo){var es=eu(eo,function(ee){return ee.name===en}),ec=es&&es.data&&es.data[ei]?es.data[ei]:0;return{type:et,attributeName:en,name:ei,count:ec,exhaustive:es&&es.exhaustive||!1}}function eT(ee,et,en,ei){var eo=ee.getHierarchicalFacetByName(et),es=ee._getHierarchicalFacetSeparator(eo),ec=en.split(es),ed=eu(ei,function(ee){return ee.name===et}),ef=ec.reduce(function(ee,et){var en=ee&&eu(ee.data,function(ee){return ee.name===et});return void 0!==en?en:ee},ed),ep=ef&&ef.count||0,eh=ef&&ef.exhaustive||!1;return{type:"hierarchical",attributeName:et,name:ef&&ef.path||"",count:ep,exhaustive:eh}}ew.prototype.getFacetByName=function(ee){function et(et){return et.name===ee}return eu(this.facets,et)||eu(this.disjunctiveFacets,et)||eu(this.hierarchicalFacets,et)},ew.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],ew.prototype.getFacetValues=function(ee,et){var en,ei=eS(this,ee);if(ei){var es=eo({},et,{sortBy:ew.DEFAULT_SORT,facetOrdering:!(et&&et.sortBy)}),eu=this;return en=Array.isArray(ei)?[ee]:eu._state.getHierarchicalFacetByName(ei.name).attributes,eO(function(ee,et){if(es.facetOrdering){var en=ej(eu,et);if(en)return eP(ee,en)}if(Array.isArray(es.sortBy)){var ei=ed(es.sortBy,ew.DEFAULT_SORT);return ep(ee,ei[0],ei[1])}if("function"==typeof es.sortBy)return eE(es.sortBy,ee);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},ei,en)}},ew.prototype.getFacetStats=function(ee){return this._state.isConjunctiveFacet(ee)?eC(this.facets,ee):this._state.isDisjunctiveFacet(ee)?eC(this.disjunctiveFacets,ee):void 0},ew.prototype.getRefinements=function(){var ee=this._state,et=this,en=[];return Object.keys(ee.facetsRefinements).forEach(function(ei){ee.facetsRefinements[ei].forEach(function(eo){en.push(eR(ee,"facet",ei,eo,et.facets))})}),Object.keys(ee.facetsExcludes).forEach(function(ei){ee.facetsExcludes[ei].forEach(function(eo){en.push(eR(ee,"exclude",ei,eo,et.facets))})}),Object.keys(ee.disjunctiveFacetsRefinements).forEach(function(ei){ee.disjunctiveFacetsRefinements[ei].forEach(function(eo){en.push(eR(ee,"disjunctive",ei,eo,et.disjunctiveFacets))})}),Object.keys(ee.hierarchicalFacetsRefinements).forEach(function(ei){ee.hierarchicalFacetsRefinements[ei].forEach(function(eo){en.push(eT(ee,ei,eo,et.hierarchicalFacets))})}),Object.keys(ee.numericRefinements).forEach(function(et){var ei=ee.numericRefinements[et];Object.keys(ei).forEach(function(ee){ei[ee].forEach(function(ei){en.push({type:"numeric",attributeName:et,name:ei,numericValue:ei,operator:ee})})})}),ee.tagRefinements.forEach(function(ee){en.push({type:"tag",attributeName:"_tags",name:ee})}),en},ee.exports=ew},17471:function(ee,et,en){"use strict";var ei=en(60254),eo=en(67049),es=en(60977).escapeFacetValue,eu=en(23990),ec=en(66214),ed=en(84523),ef=en(60378),ep=en(32524),eh=en(60724),em=en(58441),ev=en(56489);function eg(ee,et,en){"function"==typeof ee.addAlgoliaAgent&&ee.addAlgoliaAgent("JS Helper ("+ev+")"),this.setClient(ee);var ei=en||{};ei.index=et,this.state=eh.make(ei),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function ey(ee){if(ee<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(ee),isPageReset:!1}),this}function eb(){return this.state.page}eu(eg,ei),eg.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},eg.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},eg.prototype.getQuery=function(){var ee=this.state;return ep._getHitsSearchParams(ee)},eg.prototype.searchOnce=function(ee,et){var en=ee?this.state.setQueryParameters(ee):this.state,ei=ep._getQueries(en.index,en),eo=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:en}),et){this.client.search(ei).then(function(ee){eo._currentNbQueries--,0===eo._currentNbQueries&&eo.emit("searchQueueEmpty"),et(null,new em(en,ee.results),en)}).catch(function(ee){eo._currentNbQueries--,0===eo._currentNbQueries&&eo.emit("searchQueueEmpty"),et(ee,null,en)});return}return this.client.search(ei).then(function(ee){return eo._currentNbQueries--,0===eo._currentNbQueries&&eo.emit("searchQueueEmpty"),{content:new em(en,ee.results),state:en,_originalResponse:ee}},function(ee){throw eo._currentNbQueries--,0===eo._currentNbQueries&&eo.emit("searchQueueEmpty"),ee})},eg.prototype.findAnswers=function(ee){console.warn("[algoliasearch-helper] answers is no longer supported");var et=this.state,en=this.derivedHelpers[0];if(!en)return Promise.resolve([]);var ei=en.getModifiedState(et),eo=ec({attributesForPrediction:ee.attributesForPrediction,nbHits:ee.nbHits},{params:ef(ep._getHitsSearchParams(ei),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),es="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(es);var eu=this.client.initIndex(ei.index);if("function"!=typeof eu.findAnswers)throw Error(es);return eu.findAnswers(ei.query,ee.queryLanguages,eo)},eg.prototype.searchForFacetValues=function(ee,et,en,ei){var eo,eu="function"==typeof this.client.searchForFacetValues,ec="function"==typeof this.client.initIndex;if(!eu&&!ec&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var ed=this.state.setQueryParameters(ei||{}),ef=ed.isDisjunctiveFacet(ee),eh=ep.getSearchForFacetQuery(ee,et,en,ed);this._currentNbQueries++;var em=this;return eu?eo=this.client.searchForFacetValues([{indexName:ed.index,params:eh}]):ec?eo=this.client.initIndex(ed.index).searchForFacetValues(eh):(delete eh.facetName,eo=this.client.search([{type:"facet",facet:ee,indexName:ed.index,params:eh}]).then(function(ee){return ee.results[0]})),this.emit("searchForFacetValues",{state:ed,facet:ee,query:et}),eo.then(function(et){return em._currentNbQueries--,0===em._currentNbQueries&&em.emit("searchQueueEmpty"),(et=Array.isArray(et)?et[0]:et).facetHits.forEach(function(et){et.escapedValue=es(et.value),et.isRefined=ef?ed.isDisjunctiveFacetRefined(ee,et.escapedValue):ed.isFacetRefined(ee,et.escapedValue)}),et},function(ee){throw em._currentNbQueries--,0===em._currentNbQueries&&em.emit("searchQueueEmpty"),ee})},eg.prototype.setQuery=function(ee){return this._change({state:this.state.resetPage().setQuery(ee),isPageReset:!0}),this},eg.prototype.clearRefinements=function(ee){return this._change({state:this.state.resetPage().clearRefinements(ee),isPageReset:!0}),this},eg.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},eg.prototype.addDisjunctiveFacetRefinement=function(ee,et){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},eg.prototype.addHierarchicalFacetRefinement=function(ee,et){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.addNumericRefinement=function(ee,et,en){return this._change({state:this.state.resetPage().addNumericRefinement(ee,et,en),isPageReset:!0}),this},eg.prototype.addFacetRefinement=function(ee,et){return this._change({state:this.state.resetPage().addFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},eg.prototype.addFacetExclusion=function(ee,et){return this._change({state:this.state.resetPage().addExcludeRefinement(ee,et),isPageReset:!0}),this},eg.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},eg.prototype.addTag=function(ee){return this._change({state:this.state.resetPage().addTagRefinement(ee),isPageReset:!0}),this},eg.prototype.removeNumericRefinement=function(ee,et,en){return this._change({state:this.state.resetPage().removeNumericRefinement(ee,et,en),isPageReset:!0}),this},eg.prototype.removeDisjunctiveFacetRefinement=function(ee,et){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},eg.prototype.removeHierarchicalFacetRefinement=function(ee){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(ee),isPageReset:!0}),this},eg.prototype.removeFacetRefinement=function(ee,et){return this._change({state:this.state.resetPage().removeFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},eg.prototype.removeFacetExclusion=function(ee,et){return this._change({state:this.state.resetPage().removeExcludeRefinement(ee,et),isPageReset:!0}),this},eg.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},eg.prototype.removeTag=function(ee){return this._change({state:this.state.resetPage().removeTagRefinement(ee),isPageReset:!0}),this},eg.prototype.toggleFacetExclusion=function(ee,et){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},eg.prototype.toggleRefinement=function(ee,et){return this.toggleFacetRefinement(ee,et)},eg.prototype.toggleFacetRefinement=function(ee,et){return this._change({state:this.state.resetPage().toggleFacetRefinement(ee,et),isPageReset:!0}),this},eg.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},eg.prototype.toggleTag=function(ee){return this._change({state:this.state.resetPage().toggleTagRefinement(ee),isPageReset:!0}),this},eg.prototype.nextPage=function(){var ee=this.state.page||0;return this.setPage(ee+1)},eg.prototype.previousPage=function(){var ee=this.state.page||0;return this.setPage(ee-1)},eg.prototype.setCurrentPage=ey,eg.prototype.setPage=ey,eg.prototype.setIndex=function(ee){return this._change({state:this.state.resetPage().setIndex(ee),isPageReset:!0}),this},eg.prototype.setQueryParameter=function(ee,et){return this._change({state:this.state.resetPage().setQueryParameter(ee,et),isPageReset:!0}),this},eg.prototype.setState=function(ee){return this._change({state:eh.make(ee),isPageReset:!1}),this},eg.prototype.overrideStateWithoutTriggeringChangeEvent=function(ee){return this.state=new eh(ee),this},eg.prototype.hasRefinements=function(ee){return!!ed(this.state.getNumericRefinements(ee))||(this.state.isConjunctiveFacet(ee)?this.state.isFacetRefined(ee):this.state.isDisjunctiveFacet(ee)?this.state.isDisjunctiveFacetRefined(ee):!!this.state.isHierarchicalFacet(ee)&&this.state.isHierarchicalFacetRefined(ee))},eg.prototype.isExcluded=function(ee,et){return this.state.isExcludeRefined(ee,et)},eg.prototype.isDisjunctiveRefined=function(ee,et){return this.state.isDisjunctiveFacetRefined(ee,et)},eg.prototype.hasTag=function(ee){return this.state.isTagRefined(ee)},eg.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},eg.prototype.getIndex=function(){return this.state.index},eg.prototype.getCurrentPage=eb,eg.prototype.getPage=eb,eg.prototype.getTags=function(){return this.state.tagRefinements},eg.prototype.getRefinements=function(ee){var et=[];this.state.isConjunctiveFacet(ee)?(this.state.getConjunctiveRefinements(ee).forEach(function(ee){et.push({value:ee,type:"conjunctive"})}),this.state.getExcludeRefinements(ee).forEach(function(ee){et.push({value:ee,type:"exclude"})})):this.state.isDisjunctiveFacet(ee)&&this.state.getDisjunctiveRefinements(ee).forEach(function(ee){et.push({value:ee,type:"disjunctive"})});var en=this.state.getNumericRefinements(ee);return Object.keys(en).forEach(function(ee){var ei=en[ee];et.push({value:ei,operator:ee,type:"numeric"})}),et},eg.prototype.getNumericRefinement=function(ee,et){return this.state.getNumericRefinement(ee,et)},eg.prototype.getHierarchicalFacetBreadcrumb=function(ee){return this.state.getHierarchicalFacetBreadcrumb(ee)},eg.prototype._search=function(ee){var et=this.state,en=[],ei=[];ee.onlyWithDerivedHelpers||(ei=ep._getQueries(et.index,et),en.push({state:et,queriesCount:ei.length,helper:this}),this.emit("search",{state:et,results:this.lastResults}));var eo=this.derivedHelpers.map(function(ee){var ei=ee.getModifiedState(et),eo=ei.index?ep._getQueries(ei.index,ei):[];return en.push({state:ei,queriesCount:eo.length,helper:ee}),ee.emit("search",{state:ei,results:ee.lastResults}),eo}),es=Array.prototype.concat.apply(ei,eo),eu=this._queryId++;if(this._currentNbQueries++,!es.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,en,eu));try{this.client.search(es).then(this._dispatchAlgoliaResponse.bind(this,en,eu)).catch(this._dispatchAlgoliaError.bind(this,eu))}catch(ee){this.emit("error",{error:ee})}},eg.prototype._dispatchAlgoliaResponse=function(ee,et,en){if(!(et0},eg.prototype._change=function(ee){var et=ee.state,en=ee.isPageReset;et!==this.state&&(this.state=et,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:en}))},eg.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},eg.prototype.setClient=function(ee){return this.client===ee||("function"==typeof ee.addAlgoliaAgent&&ee.addAlgoliaAgent("JS Helper ("+ev+")"),this.client=ee),this},eg.prototype.getClient=function(){return this.client},eg.prototype.derive=function(ee){var et=new eo(this,ee);return this.derivedHelpers.push(et),et},eg.prototype.detachDerivedHelper=function(ee){var et=this.derivedHelpers.indexOf(ee);if(-1===et)throw Error("Derived helper already detached");this.derivedHelpers.splice(et,1)},eg.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},ee.exports=eg},45649:function(ee){"use strict";ee.exports=function(ee){return Array.isArray(ee)?ee.filter(Boolean):[]}},88548:function(ee){"use strict";ee.exports=function(){var ee=Array.prototype.slice.call(arguments);return ee.reduceRight(function(ee,et){return Object.keys(Object(et)).forEach(function(en){void 0!==et[en]&&(void 0!==ee[en]&&delete ee[en],ee[en]=et[en])}),ee},{})}},60977:function(ee){"use strict";function et(ee){return"string"!=typeof ee?ee:String(ee).replace(/^-/,"\\-")}function en(ee){return"string"!=typeof ee?ee:ee.replace(/^\\-/,"-")}ee.exports={escapeFacetValue:et,unescapeFacetValue:en}},95146:function(ee){"use strict";ee.exports=function(ee,et){if(Array.isArray(ee)){for(var en=0;en1||!es?(ee[0].push(eo[0]),ee[1].push(eo[1])):(ee[0].push(es[0]),ee[1].push(es[1])),ee},[[],[]])}},23990:function(ee){"use strict";function et(ee,et){ee.prototype=Object.create(et.prototype,{constructor:{value:ee,enumerable:!1,writable:!0,configurable:!0}})}ee.exports=et},11658:function(ee){"use strict";function et(ee,et){return ee.filter(function(en,ei){return et.indexOf(en)>-1&&ee.indexOf(en)===ei})}ee.exports=et},66214:function(ee){"use strict";function et(ee){return"object"==typeof ee&&null!==ee?ei(Array.isArray(ee)?[]:{},ee):ee}function en(ee){return"function"==typeof ee||Array.isArray(ee)||"[object Object]"===Object.prototype.toString.call(ee)}function ei(ee,eo){if(ee===eo)return ee;for(var es in eo)if(Object.prototype.hasOwnProperty.call(eo,es)&&"__proto__"!==es&&"constructor"!==es){var eu=eo[es],ec=ee[es];(void 0===ec||void 0!==eu)&&(en(ec)&&en(eu)?ee[es]=ei(ec,eu):ee[es]=et(eu))}return ee}function eo(ee){en(ee)||(ee={});for(var et=1,eo=arguments.length;et0}ee.exports=et},60378:function(ee){"use strict";function et(ee,et){if(null===ee)return{};var en,ei,eo={},es=Object.keys(ee);for(ei=0;ei=0||(eo[en]=ee[en]);return eo}ee.exports=et},49940:function(ee){"use strict";function et(ee,et){if(ee!==et){var en=void 0!==ee,ei=null===ee,eo=void 0!==et,es=null===et;if(!es&&ee>et||ei&&eo||!en)return 1;if(!ei&&ee=ei.length)return es;if("desc"===ei[eo])return-es;return es}}return ee.index-en.index}),eo.map(function(ee){return ee.value})}ee.exports=en},25857:function(ee){"use strict";function et(ee){if("number"==typeof ee)return ee;if("string"==typeof ee)return parseFloat(ee);if(Array.isArray(ee))return ee.map(et);throw Error("The value should be a number, a parsable string or an array of those.")}ee.exports=et},32524:function(ee,et,en){"use strict";var ei=en(66214);function eo(ee){return Object.keys(ee).sort().reduce(function(et,en){return et[en]=ee[en],et},{})}var es={_getQueries:function(ee,et){var en=[];return en.push({indexName:ee,params:es._getHitsSearchParams(et)}),et.getRefinedDisjunctiveFacets().forEach(function(ei){en.push({indexName:ee,params:es._getDisjunctiveFacetSearchParams(et,ei)})}),et.getRefinedHierarchicalFacets().forEach(function(ei){var eo=et.getHierarchicalFacetByName(ei),eu=et.getHierarchicalRefinement(ei),ec=et._getHierarchicalFacetSeparator(eo);if(eu.length>0&&eu[0].split(ec).length>1){var ed=eu[0].split(ec).slice(0,-1).reduce(function(ee,et,en){return ee.concat({attribute:eo.attributes[en],value:0===en?et:[ee[ee.length-1].value,et].join(ec)})},[]);ed.forEach(function(ei,eu){var ec=es._getDisjunctiveFacetSearchParams(et,ei.attribute,0===eu);function ef(ee){return eo.attributes.some(function(et){return et===ee.split(":")[0]})}var ep=(ec.facetFilters||[]).reduce(function(ee,et){if(Array.isArray(et)){var en=et.filter(function(ee){return!ef(ee)});en.length>0&&ee.push(en)}return"string"!=typeof et||ef(et)||ee.push(et),ee},[]),eh=ed[eu-1];eu>0?ec.facetFilters=ep.concat(eh.attribute+":"+eh.value):ec.facetFilters=ep.length>0?ep:void 0,en.push({indexName:ee,params:ec})})}}),en},_getHitsSearchParams:function(ee){var et=ee.facets.concat(ee.disjunctiveFacets).concat(es._getHitsHierarchicalFacetsAttributes(ee)).sort(),en=es._getFacetFilters(ee),eu=es._getNumericFilters(ee),ec=es._getTagFilters(ee),ed={facets:et.indexOf("*")>-1?["*"]:et,tagFilters:ec};return en.length>0&&(ed.facetFilters=en),eu.length>0&&(ed.numericFilters=eu),eo(ei({},ee.getQueryParams(),ed))},_getDisjunctiveFacetSearchParams:function(ee,et,en){var eu=es._getFacetFilters(ee,et,en),ec=es._getNumericFilters(ee,et),ed=es._getTagFilters(ee),ef={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};ed.length>0&&(ef.tagFilters=ed);var ep=ee.getHierarchicalFacetByName(et);return ep?ef.facets=es._getDisjunctiveHierarchicalFacetAttribute(ee,ep,en):ef.facets=et,ec.length>0&&(ef.numericFilters=ec),eu.length>0&&(ef.facetFilters=eu),eo(ei({},ee.getQueryParams(),ef))},_getNumericFilters:function(ee,et){if(ee.numericFilters)return ee.numericFilters;var en=[];return Object.keys(ee.numericRefinements).forEach(function(ei){var eo=ee.numericRefinements[ei]||{};Object.keys(eo).forEach(function(ee){var es=eo[ee]||[];et!==ei&&es.forEach(function(et){if(Array.isArray(et)){var eo=et.map(function(et){return ei+ee+et});en.push(eo)}else en.push(ei+ee+et)})})}),en},_getTagFilters:function(ee){return ee.tagFilters?ee.tagFilters:ee.tagRefinements.join(",")},_getFacetFilters:function(ee,et,en){var ei=[],eo=ee.facetsRefinements||{};Object.keys(eo).sort().forEach(function(ee){(eo[ee]||[]).sort().forEach(function(et){ei.push(ee+":"+et)})});var es=ee.facetsExcludes||{};Object.keys(es).sort().forEach(function(ee){(es[ee]||[]).sort().forEach(function(et){ei.push(ee+":-"+et)})});var eu=ee.disjunctiveFacetsRefinements||{};Object.keys(eu).sort().forEach(function(ee){var en=eu[ee]||[];if(ee!==et&&en&&0!==en.length){var eo=[];en.sort().forEach(function(et){eo.push(ee+":"+et)}),ei.push(eo)}});var ec=ee.hierarchicalFacetsRefinements||{};return Object.keys(ec).sort().forEach(function(eo){var es,eu,ed=(ec[eo]||[])[0];if(void 0!==ed){var ef=ee.getHierarchicalFacetByName(eo),ep=ee._getHierarchicalFacetSeparator(ef),eh=ee._getHierarchicalRootPath(ef);if(et===eo){if(-1===ed.indexOf(ep)||!eh&&!0===en||eh&&eh.split(ep).length===ed.split(ep).length)return;eh?(eu=eh.split(ep).length-1,ed=eh):(eu=ed.split(ep).length-2,ed=ed.slice(0,ed.lastIndexOf(ep))),es=ef.attributes[eu]}else eu=ed.split(ep).length-1,es=ef.attributes[eu];es&&ei.push([es+":"+ed])}}),ei},_getHitsHierarchicalFacetsAttributes:function(ee){var et=[];return ee.hierarchicalFacets.reduce(function(et,en){var ei=ee.getHierarchicalRefinement(en.name)[0];if(!ei)return et.push(en.attributes[0]),et;var eo=ee._getHierarchicalFacetSeparator(en),es=ei.split(eo).length,eu=en.attributes.slice(0,es+1);return et.concat(eu)},et)},_getDisjunctiveHierarchicalFacetAttribute:function(ee,et,en){var ei=ee._getHierarchicalFacetSeparator(et);if(!0===en){var eo=ee._getHierarchicalRootPath(et),es=0;return eo&&(es=eo.split(ei).length),[et.attributes[es]]}var eu=(ee.getHierarchicalRefinement(et.name)[0]||"").split(ei).length-1;return et.attributes.slice(0,eu+1)},getSearchForFacetQuery:function(ee,et,en,eu){var ec=eu.isDisjunctiveFacet(ee)?eu.clearRefinements(ee):eu,ed={facetQuery:et,facetName:ee};return"number"==typeof en&&(ed.maxFacetHits=en),eo(ei({},es._getHitsSearchParams(ec),ed))}};ee.exports=es},56109:function(ee){"use strict";ee.exports=function(ee){return null!==ee&&/^[a-zA-Z0-9_-]{1,64}$/.test(ee)}},56489:function(ee){"use strict";ee.exports="3.14.0"},55666:function(ee){/*! algoliasearch-lite.umd.js | 4.22.1 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */!function(et,en){ee.exports=en()}(0,function(){"use strict";function ee(ee,et,en){return et in ee?Object.defineProperty(ee,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):ee[et]=en,ee}function et(ee,et){var en=Object.keys(ee);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(ee);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(ee,et).enumerable})),en.push.apply(en,ei)}return en}function en(en){for(var ei=1;ei=0||(eo[en]=ee[en]);return eo}(ee,et);if(Object.getOwnPropertySymbols){var es=Object.getOwnPropertySymbols(ee);for(ei=0;ei=0||Object.prototype.propertyIsEnumerable.call(ee,en)&&(eo[en]=ee[en])}return eo}function eo(ee,et){return function(ee){if(Array.isArray(ee))return ee}(ee)||function(ee,et){if(Symbol.iterator in Object(ee)||"[object Arguments]"===Object.prototype.toString.call(ee)){var en=[],ei=!0,eo=!1,es=void 0;try{for(var eu,ec=ee[Symbol.iterator]();!(ei=(eu=ec.next()).done)&&(en.push(eu.value),!et||en.length!==et);ei=!0);}catch(ee){eo=!0,es=ee}finally{try{ei||null==ec.return||ec.return()}finally{if(eo)throw es}}return en}}(ee,et)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function es(ee){return function(ee){if(Array.isArray(ee)){for(var et=0,en=Array(ee.length);et2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){ec();var et=JSON.stringify(ee);return es()[et]}).then(function(ee){return Promise.all([ee?ee.value:et(),void 0!==ee])}).then(function(ee){var et=eo(ee,2),ei=et[0];return Promise.all([ei,et[1]||en.miss(ei)])}).then(function(ee){return eo(ee,1)[0]})},set:function(ee,et){return Promise.resolve().then(function(){var eo=es();return eo[JSON.stringify(ee)]={timestamp:(new Date).getTime(),value:et},ei().setItem(en,JSON.stringify(eo)),et})},delete:function(ee){return Promise.resolve().then(function(){var et=es();delete et[JSON.stringify(ee)],ei().setItem(en,JSON.stringify(et))})},clear:function(){return Promise.resolve().then(function(){ei().removeItem(en)})}}}function ec(ee){var et=es(ee.caches),en=et.shift();return void 0===en?{get:function(ee,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return et().then(function(ee){return Promise.all([ee,en.miss(ee)])}).then(function(ee){return eo(ee,1)[0]})},set:function(ee,et){return Promise.resolve(et)},delete:function(ee){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(ee,ei){var eo=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return en.get(ee,ei,eo).catch(function(){return ec({caches:et}).get(ee,ei,eo)})},set:function(ee,ei){return en.set(ee,ei).catch(function(){return ec({caches:et}).set(ee,ei)})},delete:function(ee){return en.delete(ee).catch(function(){return ec({caches:et}).delete(ee)})},clear:function(){return en.clear().catch(function(){return ec({caches:et}).clear()})}}}function ed(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},et={};return{get:function(en,ei){var eo=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},es=JSON.stringify(en);if(es in et)return Promise.resolve(ee.serializable?JSON.parse(et[es]):et[es]);var eu=ei(),ec=eo&&eo.miss||function(){return Promise.resolve()};return eu.then(function(ee){return ec(ee)}).then(function(){return eu})},set:function(en,ei){return et[JSON.stringify(en)]=ee.serializable?JSON.stringify(ei):ei,Promise.resolve(ei)},delete:function(ee){return delete et[JSON.stringify(ee)],Promise.resolve()},clear:function(){return et={},Promise.resolve()}}}function ef(ee){for(var et=ee.length-1;et>0;et--){var en=Math.floor(Math.random()*(et+1)),ei=ee[et];ee[et]=ee[en],ee[en]=ei}return ee}function ep(ee,et){return et&&Object.keys(et).forEach(function(en){ee[en]=et[en](ee)}),ee}function eh(ee){for(var et=arguments.length,en=Array(et>1?et-1:0),ei=1;ei0?ei:void 0,timeout:en.timeout||et,headers:en.headers||{},queryParameters:en.queryParameters||{},cacheable:en.cacheable}}var eg={Read:1,Write:2,Any:3},ey=1,eb=2,ew=3;function eS(ee){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ey;return en(en({},ee),{},{status:et,lastUpdate:Date.now()})}function ek(ee){return"string"==typeof ee?{protocol:"https",url:ee,accept:eg.Any}:{protocol:ee.protocol||"https",url:ee.url,accept:ee.accept||eg.Any}}var eO="GET",eE="POST";function eP(ee,et){return Promise.all(et.map(function(et){return ee.get(et,function(){return Promise.resolve(eS(et))})})).then(function(ee){var en=ee.filter(function(ee){return function(ee){return ee.status===ey||Date.now()-ee.lastUpdate>12e4}(ee)}),ei=ee.filter(function(ee){return function(ee){return ee.status===ew&&Date.now()-ee.lastUpdate<=12e4}(ee)}),eo=[].concat(es(en),es(ei));return{getTimeout:function(ee,et){return(0===ei.length&&0===ee?1:ei.length+3+ee)*et},statelessHosts:eo.length>0?eo.map(function(ee){return ek(ee)}):et}})}function ej(ee,et,ei,eo){var eu=[],ec=function(ee,et){if(ee.method!==eO&&(void 0!==ee.data||void 0!==et.data)){var ei=Array.isArray(ee.data)?ee.data:en(en({},ee.data),et.data);return JSON.stringify(ei)}}(ei,eo),ed=function(ee,et){var ei=en(en({},ee.headers),et.headers),eo={};return Object.keys(ei).forEach(function(ee){var et=ei[ee];eo[ee.toLowerCase()]=et}),eo}(ee,eo),ef=ei.method,ep=ei.method!==eO?{}:en(en({},ei.data),eo.data),eh=en(en(en({"x-algolia-agent":ee.userAgent.value},ee.queryParameters),ep),eo.queryParameters),em=0,ev=function et(en,es){var ep=en.pop();if(void 0===ep)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:e_(eu)};var ev={data:ec,headers:ed,method:ef,url:eR(ep,ei.path,eh),connectTimeout:es(em,ee.timeouts.connect),responseTimeout:es(em,eo.timeout)},eg=function(ee){var et={request:ev,response:ee,host:ep,triesLeft:en.length};return eu.push(et),et},ey={onSuccess:function(ee){return function(ee){try{return JSON.parse(ee.content)}catch(et){throw function(ee,et){return{name:"DeserializationError",message:ee,response:et}}(et.message,ee)}}(ee)},onRetry:function(ei){var eo=eg(ei);return ei.isTimedOut&&em++,Promise.all([ee.logger.info("Retryable failure",eI(eo)),ee.hostsCache.set(ep,eS(ep,ei.isTimedOut?ew:eb))]).then(function(){return et(en,es)})},onFail:function(ee){throw eg(ee),function(ee,et){var en=ee.content,ei=ee.status,eo=en;try{eo=JSON.parse(en).message}catch(ee){}return function(ee,et,en){return{name:"ApiError",message:ee,status:et,transporterStackTrace:en}}(eo,ei,et)}(ee,e_(eu))}};return ee.requester.send(ev).then(function(ee){return function(ee,et){return!function(ee){var et=ee.status;return ee.isTimedOut||function(ee){var et=ee.isTimedOut,en=ee.status;return!et&&0==~~en}(ee)||2!=~~(et/100)&&4!=~~(et/100)}(ee)?2==~~(ee.status/100)?et.onSuccess(ee):et.onFail(ee):et.onRetry(ee)}(ee,ey)})};return eP(ee.hostsCache,et).then(function(ee){return ev(es(ee.statelessHosts).reverse(),ee.getTimeout)})}function eC(ee){var et={value:"Algolia for JavaScript (".concat(ee,")"),add:function(ee){var en="; ".concat(ee.segment).concat(void 0!==ee.version?" (".concat(ee.version,")"):"");return -1===et.value.indexOf(en)&&(et.value="".concat(et.value).concat(en)),et}};return et}function eR(ee,et,en){var ei=eT(en),eo="".concat(ee.protocol,"://").concat(ee.url,"/").concat("/"===et.charAt(0)?et.substr(1):et);return ei.length&&(eo+="?".concat(ei)),eo}function eT(ee){return Object.keys(ee).map(function(et){var en;return eh("%s=%s",et,(en=ee[et],"[object Object]"===Object.prototype.toString.call(en)||"[object Array]"===Object.prototype.toString.call(en)?JSON.stringify(ee[et]):ee[et]))}).join("&")}function e_(ee){return ee.map(function(ee){return eI(ee)})}function eI(ee){var et=ee.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return en(en({},ee),{},{request:en(en({},ee.request),{},{headers:en(en({},ee.request.headers),et)})})}var eA=function(ee){var et=ee.appId,ei=function(ee,et,en){var ei={"x-algolia-api-key":en,"x-algolia-application-id":et};return{headers:function(){return ee===em.WithinHeaders?ei:{}},queryParameters:function(){return ee===em.WithinQueryParameters?ei:{}}}}(void 0!==ee.authMode?ee.authMode:em.WithinHeaders,et,ee.apiKey),es=function(ee){var et=ee.hostsCache,en=ee.logger,ei=ee.requester,es=ee.requestsCache,eu=ee.responsesCache,ec=ee.timeouts,ed=ee.userAgent,ef=ee.hosts,ep=ee.queryParameters,eh={hostsCache:et,logger:en,requester:ei,requestsCache:es,responsesCache:eu,timeouts:ec,userAgent:ed,headers:ee.headers,queryParameters:ep,hosts:ef.map(function(ee){return ek(ee)}),read:function(ee,et){var en=ev(et,eh.timeouts.read),ei=function(){return ej(eh,eh.hosts.filter(function(ee){return 0!=(ee.accept&eg.Read)}),ee,en)};if(!0!==(void 0!==en.cacheable?en.cacheable:ee.cacheable))return ei();var es={request:ee,mappedRequestOptions:en,transporter:{queryParameters:eh.queryParameters,headers:eh.headers}};return eh.responsesCache.get(es,function(){return eh.requestsCache.get(es,function(){return eh.requestsCache.set(es,ei()).then(function(ee){return Promise.all([eh.requestsCache.delete(es),ee])},function(ee){return Promise.all([eh.requestsCache.delete(es),Promise.reject(ee)])}).then(function(ee){var et=eo(ee,2);return et[0],et[1]})})},{miss:function(ee){return eh.responsesCache.set(es,ee)}})},write:function(ee,et){return ej(eh,eh.hosts.filter(function(ee){return 0!=(ee.accept&eg.Write)}),ee,ev(et,eh.timeouts.write))}};return eh}(en(en({hosts:[{url:"".concat(et,"-dsn.algolia.net"),accept:eg.Read},{url:"".concat(et,".algolia.net"),accept:eg.Write}].concat(ef([{url:"".concat(et,"-1.algolianet.com")},{url:"".concat(et,"-2.algolianet.com")},{url:"".concat(et,"-3.algolianet.com")}]))},ee),{},{headers:en(en(en({},ei.headers()),{"content-type":"application/x-www-form-urlencoded"}),ee.headers),queryParameters:en(en({},ei.queryParameters()),ee.queryParameters)}));return ep({transporter:es,appId:et,addAlgoliaAgent:function(ee,et){es.userAgent.add({segment:ee,version:et})},clearCache:function(){return Promise.all([es.requestsCache.clear(),es.responsesCache.clear()]).then(function(){})}},ee.methods)},eF=function(ee){return function(et,en){return et.method===eO?ee.transporter.read(et,en):ee.transporter.write(et,en)}},eL=function(ee){return function(et){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ep({transporter:ee.transporter,appId:ee.appId,indexName:et},en.methods)}},eM=function(ee){return function(et,ei){var eo=et.map(function(ee){return en(en({},ee),{},{params:eT(ee.params||{})})});return ee.transporter.read({method:eE,path:"1/indexes/*/queries",data:{requests:eo},cacheable:!0},ei)}},eD=function(ee){return function(et,eo){return Promise.all(et.map(function(et){var es=et.params,eu=es.facetName,ec=es.facetQuery,ed=ei(es,["facetName","facetQuery"]);return eL(ee)(et.indexName,{methods:{searchForFacetValues:eB}}).searchForFacetValues(eu,ec,en(en({},eo),ed))}))}},eN=function(ee){return function(et,en,ei){return ee.transporter.read({method:eE,path:eh("1/answers/%s/prediction",ee.indexName),data:{query:et,queryLanguages:en},cacheable:!0},ei)}},ez=function(ee){return function(et,en){return ee.transporter.read({method:eE,path:eh("1/indexes/%s/query",ee.indexName),data:{query:et},cacheable:!0},en)}},eB=function(ee){return function(et,en,ei){return ee.transporter.read({method:eE,path:eh("1/indexes/%s/facets/%s/query",ee.indexName,et),data:{facetQuery:en},cacheable:!0},ei)}},eW=1,eH=2,eV=3;function eU(ee,et,ei){var eo;return eA(en(en(en({},{appId:ee,apiKey:et,timeouts:{connect:1,read:2,write:30},requester:{send:function(ee){return new Promise(function(et){var en=new XMLHttpRequest;en.open(ee.method,ee.url,!0),Object.keys(ee.headers).forEach(function(et){return en.setRequestHeader(et,ee.headers[et])});var ei,eo=function(ee,ei){return setTimeout(function(){en.abort(),et({status:0,content:ei,isTimedOut:!0})},1e3*ee)},es=eo(ee.connectTimeout,"Connection timeout");en.onreadystatechange=function(){en.readyState>en.OPENED&&void 0===ei&&(clearTimeout(es),ei=eo(ee.responseTimeout,"Socket timeout"))},en.onerror=function(){0===en.status&&(clearTimeout(es),clearTimeout(ei),et({content:en.responseText||"Network request failed",status:en.status,isTimedOut:!1}))},en.onload=function(){clearTimeout(es),clearTimeout(ei),et({content:en.responseText,status:en.status,isTimedOut:!1})},en.send(ee.data)})}},logger:(eo=eV,{debug:function(ee,et){return eW>=eo&&console.debug(ee,et),Promise.resolve()},info:function(ee,et){return eH>=eo&&console.info(ee,et),Promise.resolve()},error:function(ee,et){return console.error(ee,et),Promise.resolve()}}),responsesCache:ed(),requestsCache:ed({serializable:!1}),hostsCache:ec({caches:[eu({key:"".concat("4.22.1","-").concat(ee)}),ed()]}),userAgent:eC("4.22.1").add({segment:"Browser",version:"lite"}),authMode:em.WithinQueryParameters}),ei),{},{methods:{search:eM,searchForFacetValues:eD,multipleQueries:eM,multipleSearchForFacetValues:eD,customRequest:eF,initIndex:function(ee){return function(et){return eL(ee)(et,{methods:{search:ez,searchForFacetValues:eB,findAnswers:eN}})}}}}))}return eU.version="4.22.1",eU})},57395:function(ee,et,en){"use strict";var ei=en(31632);function eo(){var ee={},et=0,en=0,ei=0;return{add:function(eo,es){es||(es=eo,eo=0),eo>en?en=eo:eo";while(ei[0]);return et>4?et:ee}())},et.isLegacyOpera=function(){return!!window.opera}},4814:function(ee){"use strict";(ee.exports={}).forEach=function(ee,et){for(var en=0;en div::-webkit-scrollbar { "+ep(["display: none"])+" }\n\n"+("."+es+" { ")+ep(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+eo,"animation-name: "+eo])+" }\n@-webkit-keyframes "+eo+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n@keyframes "+eo+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}function ev(ee){ee.className+=" "+ed+"_animation_active"}function eg(ee,en,ei){if(ee.addEventListener)ee.addEventListener(en,ei);else{if(!ee.attachEvent)return et.error("[scroll] Don't know how to add event listeners.");ee.attachEvent("on"+en,ei)}}function ey(ee,en,ei){if(ee.removeEventListener)ee.removeEventListener(en,ei);else{if(!ee.detachEvent)return et.error("[scroll] Don't know how to remove event listeners.");ee.detachEvent("on"+en,ei)}}function eb(ee){return eo(ee).container.childNodes[0].childNodes[0].childNodes[0]}function ew(ee){return eo(ee).container.childNodes[0].childNodes[0].childNodes[1]}return ef(window.document),{makeDetectable:function(ee,ec,ef){function eh(){if(ee.debug){var en=Array.prototype.slice.call(arguments);if(en.unshift(es.get(ec),"Scroll: "),et.log.apply)et.log.apply(null,en);else for(var ei=0;ei