PageSourceSearch

https://shopbrief.ai/_next/static/chunks/486-6e57fdb4a9d6d242.js

js shopbrief.ai collected 2026-10-05 15:02:35 UTC 131,600 bytes, 26 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[486],{931:function(t,e,r){"use strict";r.r(e),r.d(e,{PlasmicDataSourceContextProvider:function(){return u},useCurrentUser:function(){return a},usePlasmicDataSourceContext:function(){return i}});var n=r(7294),o=n.createContext(void 0);function i(){return n.useContext(o)}function a(){var t=i();return null==t?void 0:t.user}var u=o.Provider},8030:function(t,e,r){"use strict";r.r(e),r.d(e,{DataContext:function(){return D},DataCtxReader:function(){return W},DataProvider:function(){return q},GlobalActionsContext:function(){return K},GlobalActionsProvider:function(){return J},PageParamsProvider:function(){return H},PlasmicCanvasContext:function(){return k},PlasmicCanvasHost:function(){return A},applySelector:function(){return V},mkMetaName:function(){return N},mkMetaValue:function(){return G},registerComponent:function(){return X},registerGlobalContext:function(){return te},registerToken:function(){return tn},registerTrait:function(){return ti},repeatedElement:function(){return ta},unstable_registerFetcher:function(){return Q},useDataEnv:function(){return $},useGlobalActions:function(){return Y},usePlasmicCanvasContext:function(){return O},useSelector:function(){return B},useSelectors:function(){return U}});var n,o,i,a,u=r(2705),c=r(7294),s=r(3935);function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e)}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function v(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=h(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(t){return"string"==typeof t}function y(t,e){if(void 0===e&&(e=""),null!=t)return t;throw Error("Value must not be undefined or null"+((e=(m(e)?e:e())||"")?"- "+e:""))}function g(){var t=(0,c.useState)(0)[1];return(0,c.useCallback)(function(){t(function(t){return t+1})},[])}var b=globalThis;null==b.__PlasmicHostVersion&&(b.__PlasmicHostVersion="2");var w=[],x=new function(t){var e=this;this.value=t,this.set=function(t){e.value=t,w.forEach(function(t){return t()})},this.get=function(){return e.value}}(null);function P(){return new URLSearchParams(location.hash.replace(/^#/,"?"))}function C(){return y(P().get("origin"),"Missing information from Plasmic window.")}function E(){var t=P();return t.has("studioHash")?t.get("studioHash"):new URL(location.href).searchParams.get("studio-hash")}function _(){var t=document.createElement("script"),e=C(),r=E();t.src=e+"/static/js/studio"+(r?"."+r+".js":".js"),document.body.appendChild(t)}var S=0;function j(t){S++,x.set(t)}var k=(0,c.createContext)(!1),O=function(){return(0,c.useContext)(k)};function L(){var t,e,r=!!window.parent,n=!!(null!=(t=location.hash)&&t.match(/\bcanvas=true\b/)),o=!!(null!=(e=location.hash)&&e.match(/\blive=true\b/))||!r,i=r&&!document.querySelector("#plasmic-studio-tag")&&!n&&!o,a=new URLSearchParams(location.hash),u=(0,c.useState)(function(){var t;return JSON.parse(null!=(t=a.get("globalVariants"))?t:"{}")}),l=u[0],f=u[1],p=g();if((0,c.useLayoutEffect)(function(){return w.push(p),function(){var t=w.indexOf(p);t>=0&&w.splice(t,1)}},[p]),(0,c.useEffect)(function(){i&&r&&window.parent!==window&&_()}
1,[i,r]),(0,c.useEffect)(function(){if(!i&&!document.querySelector("#getlibs")&&o){var t=document.createElement("script");t.id="getlibs",t.src=C()+"/static/js/getlibs.js",t.async=!1,t.onload=function(){null==window.__GetlibsReadyResolver||window.__GetlibsReadyResolver()},document.head.append(t)}},[i]),(0,c.useEffect)(function(){var t=function(t){try{var e=JSON.parse(t.data);"canvas-frame"===e.source&&f(e.activeGlobalVariants)}catch(t){}};return window.addEventListener("message",t),function(){return window.removeEventListener("message",t)}},[]),!r)return null;if(n||o){var h=document.querySelector("#plasmic-app.__wab_user-body");h||((h=document.createElement("div")).id="plasmic-app",h.classList.add("__wab_user-body"),document.body.appendChild(h));var d=!!n&&{componentName:a.get("componentName"),globalVariants:l,interactive:!!a.get("interactive")};return(0,s.createPortal)((0,c.createElement)(F,{key:""+S},(0,c.createElement)(k.Provider,{value:d},x.get())),h,"plasmic-app")}return i&&window.parent===window?(0,c.createElement)("iframe",{src:"https://docs.plasmic.app/app-content/app-host-ready#appHostUrl="+encodeURIComponent(location.href),style:{width:"100vw",height:"100vh",border:"none",position:"fixed",top:0,left:0,zIndex:99999999}}):null}var A=function(t){var e=t.enableWebpackHmr,r=(0,c.useState)(null),n=r[0],o=r[1];return(0,c.useEffect)(function(){o((0,c.createElement)(L,null))},[]),(0,c.createElement)(c.Fragment,null,!e&&(0,c.createElement)(T,null),n)},M=[];function R(t){return M.push(t),function(){var e=M.indexOf(t);e>=0&&M.splice(e,1)}}var F=function(t){function e(e){var r;return(r=t.call(this,e)||this).state={},r}f(e,t),e.getDerivedStateFromError=function(t){return{error:t}};var r=e.prototype;return r.componentDidCatch=function(t){M.forEach(function(e){return e(t)})},r.render=function(){return this.state.error?(0,c.createElement)("div",null,"Error: ",""+this.state.error.message):(0,c.createElement)(c.Fragment,null,this.props.children)},e}(c.Component);function T(){return null}var I=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e},D=(0,c.createContext)(void 0);function N(t){return"__plasmic_meta_"+t}function G(t){return t}function V(t,e){if(e){for(var r,n=t,o=v(e.split("."));!(r=o()).done;){var i,a=r.value;n=null==(i=n)?void 0:i[a]}return n}}function B(t){return V($(),t)}function U(t){void 0===t&&(t={});var e=$();return Object.fromEntries(Object.entries(t).filter(function(t){var e=t[0],r=t[1];return!!e&&!!r}).map(function(t){return I(t[0],V(e,t[1]))}))}function $(){return(0,c.useContext)(D)}function q(t){var e,r,n=t.name,o=t.data,i=t.hidden,a=t.label,u=t.children,s=null!=(e=$())?e:{};return n?c.createElement(D.Provider,{value:l({},s,((r={})[n]=o,r[N(n)]=G({hidden:i,label:a}),r))},u):c.createElement(c.Fragment,null,u)}function H(t){var e=t.children,r=t.params,n=void 0===r?{}:r,o=t.query,i=void 0===o?{}:o,a=$()||{};return c.createElement(q,{name:"params",data:l({},a.params,n),label:"Page URL path params"},c.createElement(q,{name:"query",data:l({},a.query,i),label:"Page URL query params"},e))}function W(t){return(0,t.children)($())}var z=globalThis;function Q(t,e){z.__PlasmicFetcherRegistry.push({fetcher:t,meta:e})}z.__PlasmicFetcherRegistry=[];var K=c.createContext(void 0);function J(t){var e=t.contextName,r=t.children,n=t.actions,o=c.useMemo(function(){return Object.fromEntries(Object.entries(n).map(function(t){return[e+"."+t[0],t[1]]}))},[e,n]);return c.createElement(K.Provider,{value:o},r)}function Y(){var t;return null!=(t=c.useContext(K))?t:{}}var Z=globalThis;function X(t,e){Z.__PlasmicComponentRegistry.some(function(r){return r.component===t&&r.meta.name===e.name})||Z.__PlasmicComponentRegistry.push({component:t,meta:e})}null==Z.__PlasmicComponentRegistry&&(Z.__PlasmicComponentRegistry=[]);var tt=globalThis;function te(t,e){tt.__PlasmicContextRegistry.some(function(r){return r.component===t&&r.meta.name===e.name})||tt.__PlasmicContextRegistry.push({component:t,meta:e})}null==tt.__PlasmicContextRegistry&&(tt.__PlasmicContextRegistry=[]);var tr=globalThis;function tn(t){tr.__PlasmicTokenRegistry.push(t)}null==tr.__PlasmicTokenRegistry&&(tr.__PlasmicTokenRegistry=[]);var to=globalThis;function ti(t,e){to.__PlasmicTraitRegistry.push({trait:t,meta:e})}function ta(t,e){return tu(t,e)}null==to.__PlasmicTraitRegistry&&(to.__PlasmicTraitRegistry=[]);var tu=function(t,e){return Array.isArray(e)?e.map(function(e){return tu(t,e)}):e&&(0,c.isValidElement)(e)&&"string"!=typeof e?(0,c.cloneElement)(e):e},tc=globalThis,ts=null!=(i=null==tc?void 0:null==(a=tc.__Sub)?void 0:a.setRepeatedElementFn)?i:function(t){tu=t},tl={__proto__:null,PlasmicCanvasContext:k,PlasmicCanvasHost:A,usePlasmicCanvasContext:O,unstable_registerFetcher:Q,registerComponent:X,registerGlobalContext:te,registerToken:tn,registerTrait:ti,repeatedElement:ta,DataContext:D,mkMetaName:N,mkMetaValue:G,applySelector:V,useSelector:B,useSelectors:U,useDataEnv:$,DataProvider:q,PageParamsProvider:H,DataCtxReader:W,GlobalActionsContext:K,GlobalActionsProvider:J,useGlobalActions:Y},tf="1.0.119",tp=globalThis;null==tp.__Sub&&(tp.__Sub=l({React:n||(n=r.t(c,2)),ReactDOM:o||(o=r.t(s,2)),PlasmicQuery:u,hostModule:tl,hostVersion:tf,hostUtils:{setPlasmicRootNode:j,registerRenderErrorListener:R,setRepeatedElementFn:ts},setPlasmicRootNode:j,registerRenderErrorListener:R,setRepeatedElementFn:ts},tl))},5679:function(t,e,r){t.exports=self.fetch||(self.fetch=r(3144).default||r(3144))},9739:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Api:function(){return _plasmicapp_loader_fetcher__WEBPACK_IMPORTED_MODULE_0__.Api},PlasmicModulesFetcher:function(){return _plasmicapp_loader_fetcher__WEBPACK_IMPORTED_MODULE_0__.PlasmicModulesFetcher},PlasmicTracker:function(){return PlasmicTracker},Registry:function(){return Registry},getBundleSubset:function(){return getBundleSubset}});var _plasmicapp_loader_fetcher__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(864),_plasmicapp_isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5679),_plasmicapp_isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_plasmicapp_isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1__);function asyncGeneratorStep(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){r(t);return}u.done?e(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,u,"next",t)}function u(t){asyncGeneratorStep(i,n,o,a,u,"throw",t)}a(void 0)})}}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(t,e)}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _createForOfIteratorHelperLoose(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var DepsGraph=function(){function t(t,e){this.bundle=t,this.browserBuild=e,this.dependsOn={},this.dependedBy={},this.rebuildGraph()}var e=t.prototype;return e.getTransitiveDependers=function(t){return this.transitiveCrawl(t,this.dependedBy)},e.getTransitiveDeps=function(t){return t in this.dependsOn?this.transitiveCrawl(t,this.dependsOn):[]},e.transitiveCrawl=function(t,e){for(var r,n=new Set,o=function t(r){if(!n.has(r)){n.add(r);for(var o,i,a=_createForOfIteratorHelperLoose(null!=(o=e[r])?o:[]);!(i=a()).done;)t(i.value)}},i=_createForOfIteratorHelperLoose(e[t]);!(r=i()).done;)o(r.value);return Array.from(n)},e.rebuildGraph=function(){this.dependedBy={},this.dependsOn={};for(var t,e=_createForOfIteratorHelperLoose(this.browserBuild?this.bundle.modules.browser:this.bundle.modules.server);!(t=e()).done;){var r=t.value;if("code"===r.type)for(var n,o=_createForOfIteratorHelperLoose(r.imports);!(n=o()).done;){var i=n.value;r.fileName in this.dependsOn?this.dependsOn[r.fileName].push(i):this.dependsOn[r.fileName]=[i],i in this.dependedBy?this.dependedBy[i].push(r.fileName):this.dependedBy[i]=[r.fileName]}}},t}();function getBundleSubset(t,e,r){var n,o=new Set(e),i=null!=(n=null==r?void 0:r.target)?n:"browser",a="browser"===i,u=new DepsGraph(t,a),c=new Set(e.flatMap(function(t){return u.getTransitiveDeps(t)})),s=function(t){return c.has(t)||o.has(t)},l=t.modules[i].filter(function(t){return s(t.fileName)});return{modules:{browser:a?l:[],server:a?[]:l},external:t.external.filter(function(t){return c.has(t)}),components:t.components.filter(function(t){return s(t.entry)}),globalGroups:t.globalGroups,projects:t.projects,activeSplits:t.activeSplits}}var isBrowser="undefined"!=typeof window&&null!=window&&void 0!==window.document,Registry=function(){function Registry(){this.loadedModules={},this.registeredModules={},this.modules={}}var _proto=Registry.prototype;return _proto.register=function(t,e){this.registeredModules[t]=e},_proto.isEmpty=function(){return 0===Object.keys(this.loadedModules).length},_proto.clear=function(){this.loadedModules={}},_proto.getRegisteredModule=function(t){return this.registeredModules[t]},_proto.hasModule=function(t,e){return void 0===e&&(e={}),t in this.registeredModules&&!e.forceOriginal||t in this.modules},_proto.load=function load(name,opts){var func,_this=this;if(void 0===opts&&(opts={}),name in this.registeredModules&&!opts.forceOriginal)return this.registeredModules[name];if(name in this.loadedModules)return this.loadedModules[name];if(!(name in this.modules))throw Error("Unknown module "+name);var code=this.modules[name],requireFn=isBrowser?function(t){var e=resolvePath(t,name);return _this.load(e)}:function(dep){try{var normalizedDep=resolvePath(dep,name);return _this.load(normalizedDep)}catch(err){try{return eval("require")(dep)}catch(_unused){throw err}}};try{func=Function("require","exports",code)}catch(err){throw Error("PLASMIC: Failed to create function for "+name+": "+err)}var exports={};this.loadedModules[name]=exports;try{func(requireFn,exports)}catch(err){throw delete this.loadedModules[name],Error("PLASMIC: Failed to load "+name+": "+err)}return exports},_proto.updateModules=function(t){for(var e,r=!1,n=_createForOfIteratorHelperLoose(isBrowser?t.modules.browser:t.modules.server);!(e=n()).done;){var o=e.value;"code"===o.type&&o.code!==this.modules[o.fileName]&&(this.modules[o.fileName]=o.code,r=!0)}r&&this.clear()},Registry}();function resolvePath(t,e){var r=e.split("/"),n=t.split("/");if(0===n.length)return t;if("."===n[0])return[].concat(r.slice(0,r.length-1),n.slice(1)).join("/");if(".."!==n[0])return t;for(var o,i=0,a=_createForOfIteratorHelperLoose(n);!(o=a()).done;)if(".."===o.value)i+=1;else break;return[].concat(r.slice(0,r.length-i-1),n.slice(i)).join("/")}function createCommonjsModule(t,e){return t(e={exports:{}},e.exports),e.exports}var runtime_1=createCommonjsModule(function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=Object.create((e&&e.prototype instanceof m?e:m).prototype),i=new O(n||[]);return o._invoke=_(t,r,i),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function m(){}function y(){}function g(){}var b={};c(b,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(L([])));x&&x!==r&&n.call(x,i)&&(b=x);var P=g.prototype=m.prototype=Object.create(b);function C(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function E(t,e){var r;
1function o(r,i,a,u){var c=l(t[r],t,i);if("throw"===c.type)u(c.arg);else{var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){o("next",t,a,u)},function(t){o("throw",t,a,u)}):e.resolve(f).then(function(t){s.value=t,a(s)},function(t){return o("throw",t,a,u)})}}function i(t,n){function i(){return new e(function(e,r){o(t,n,e,r)})}return r=r?r.then(i,i):i()}this._invoke=i}function _(t,e,r){var n=f;return function(o,i){if(n===h)throw Error("Generator is already running");if(n===d){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return v;r.method="throw",r.arg=TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:e,done:!0}}return y.prototype=g,c(P,"constructor",g),c(g,"constructor",y),y.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(P),t},t.awrap=function(t){return{__await:t}},C(E.prototype),c(E.prototype,a,function(){return this}),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},C(P),c(P,u,"Generator"),c(P,i,function(){return this}),c(P,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else if(s){if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return(a.type=t,a.arg=e,i)?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}),isBrowser$1="undefined"!=typeof window&&null!=window&&void 0!==window.document;function getPlasmicCookieValues(){return isBrowser$1?Object.fromEntries(document.cookie.split("; ").filter(function(t){return t.includes("plasmic:")}).map(function(t){return t.split("=")}).map(function(t){var e=t[0],r=t[1];return[e.split(":")[1],r]})):{}}function getVariationCookieValues(){var t=getPlasmicCookieValues();return Object.fromEntries(Object.keys(t).map(function(e){return[e.split(".")[1],t[e]]}).filter(function(t){return!!t[0]}))}function generateUUID(){var t=new Date().getTime(),e="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){var n=16*Math.random();return t>
10?(n=(t+n)%16|0,t=Math.floor(t/16)):(n=(e+n)%16|0,e=Math.floor(e/16)),("x"===r?n:3&n|8).toString(16)})}function getDistinctId(){return isBrowser$1?generateUUID():"LOADER-SERVER"}function getCampaignParams(){var t=window.location,e={};try{var r=new URL(t.href);["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid"].forEach(function(t){var n=r.searchParams.get(t);n&&(e[t]=n)})}catch(t){}return e}function getLocationMeta(){var t=window.location,e=document.referrer;return _extends({url:t.href,host:t.host,pathname:t.pathname,referrer:e},getCampaignParams())}function getScreenMeta(){var t=window.screen;return{screen_height:t.height,screen_width:t.width,viewport_height:window.innerHeight,viewport_width:window.innerWidth}}function getOS(t){if(/Windows/i.test(t))return/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows";if(/(iPhone|iPad|iPod)/.test(t))return"iOS";if(/Android/.test(t))return"Android";if(/(BlackBerry|PlayBook|BB10)/i.test(t))return"BlackBerry";if(/Mac/i.test(t))return"Mac OS X";if(/Linux/.test(t))return"Linux";if(/CrOS/.test(t))return"Chrome OS";else return""}function getDeviceInfo(t){var e=[{device:"iPhone",patterns:[/iPhone/]},{device:"iPad",patterns:[/iPad/]},{device:"iPod Touch",patterns:[/iPod/]},{device:"Windows Phone",patterns:[/Windows Phone/i,/WPDesktop/]},{device:"Android",patterns:[/Android/]}].find(function(e){return e.patterns.some(function(e){return e.test(t)})}),r=null==e?void 0:e.device;return{device:null!=r?r:"",deviceType:r?"Mobile":"Desktop",os:getOS(t)}}function getUserAgentMeta(){return _extends({},getDeviceInfo(window.navigator.userAgent))}function getWindowMeta(){return isBrowser$1?_extends({},getLocationMeta(),getScreenMeta(),getUserAgentMeta()):{}}var isProduction=!0;function getEnvMeta(){return{isBrowser:isBrowser$1,isProduction:isProduction}}function rawSplitVariation(t){var e={};return Object.keys(t).forEach(function(r){var n=r.split(".")[1];n&&(e[n]=t[r])}),e}var POLL_TIME=5e3;function throttled(t){var e=void 0;return function(r){e||(e=isBrowser$1?window.requestAnimationFrame(function(){e=void 0,t(r)}):setTimeout(function(){e=void 0,t(r)},POLL_TIME))}}var API_ENDPOINT="https://analytics.plasmic.app/capture",API_PUBLIC_KEY="phc_BRvYTAoMoam9fDHfrIneF67KdtMJagLVVCM6ELNYd4n",TRACKER_VERSION=3,PlasmicTracker=function(){function t(t){var e=this;this.opts=t,this.eventQueue=[],this.sendEvents=throttled(function(){var t=_asyncToGenerator(runtime_1.mark(function t(r){var n,o,i;return runtime_1.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==e.eventQueue.length){t.next=2;break}return t.abrupt("return");case 2:n=[].concat(e.eventQueue),e.eventQueue.length=0,o={api_key:API_PUBLIC_KEY,batch:n};try{i=JSON.stringify(o),"beacon"===r?window.navigator.sendBeacon(API_ENDPOINT,i):_plasmicapp_isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1___default()(API_ENDPOINT,{method:"POST",headers:{Accept:"application/json"},body:i}).then(function(){}).catch(function(){})}catch(t){}case 6:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())}var e=t.prototype;return e.trackRender=function(t){var e,r;this.enqueue({event:"$render",properties:_extends({},this.getProperties(),null!=(e=null==t?void 0:t.renderCtx)?e:{},rawSplitVariation(null!=(r=null==t?void 0:t.variation)?r:{}))})},e.trackFetch=function(){this.enqueue({event:"$fetch",properties:this.getProperties()})},e.trackConversion=function(t){void 0===t&&(t=0),this.enqueue({event:"$conversion",properties:_extends({},this.getProperties(),{value:t})})},e.getProperties=function(){var t;return _extends({distinct_id:getDistinctId()},getWindowMeta(),getEnvMeta(),this.getContextMeta(),getVariationCookieValues(),{timestamp:null!=(t=Date.now())?t:+new Date,trackerVersion:TRACKER_VERSION})},e.enqueue=function(t){this.eventQueue.push(t),this.sendEvents("fetch")},e.getContextMeta=function(){return{platform:this.opts.platform,preview:this.opts.preview,projectIds:this.opts.projectIds}},t}()},864:function(t,e,r){"use strict";r.r(e),r.d(e,{Api:function(){return u},PlasmicModulesFetcher:function(){return c},internal_getCachedBundleInNodeServer:function(){return s}});var n=r(5679),o=r.n(n);let i="9",a="undefined"!=typeof window&&null!=window&&void 0!==window.document;class u{constructor(t){var e;this.opts=t,this.host=null!=(e=t.host)?e:"https://codegen.plasmic.app"}async fetchLoaderData(t,e){let{platform:r,preview:n}=e,i=new URLSearchParams([["platform",null!=r?r:"react"],...t.map(t=>["projectId",t]),...e.browserOnly?[["browserOnly","true"]]:[],...e.i18nKeyScheme?[["i18nKeyScheme",e.i18nKeyScheme]]:[]]).toString(),a=`${this.host}/api/v1/loader/code/${n?"preview":"published"}?${i}`,u=await o()(a,{method:"GET",headers:this.makeGetHeaders()});if(u.status>=400){var c,s;let t=await this.parseJsonResponse(u);throw Error(`Error fetching loader data: ${null!=(c=null==t?void 0:null==(s=t.error)?void 0:s.message)?c:u.statusText}`)}let l=await this.parseJsonResponse(u);return l}async parseJsonResponse(t){let e=await t.text();try{return JSON.parse(e)}catch(r){throw Error(`Error parsing JSON response: ${r}; status: ${t.status}; response: ${e}`)}}async fetchHtmlData(t){let{projectId:e,component:r,embedHydrate:n,hydrate:i}=t,a=new URLSearchParams([["projectId",e],["component",r],["embedHydrate",n?"1":"0"],["hydrate",i?"1":"0"]]).toString(),u=await o()(`${this.host}/api/v1/loader/html?${a}`,{method:"GET",headers:this.makeGetHeaders()}),c=await u.json();return c}makeGetHeaders(){return{"x-plasmic-loader-version":i,...this.makeAuthHeaders()}}makePostHeaders(){return{"x-plasmic-loader-version":i,"Content-Type":"application/json",...this.makeAuthHeaders()}}makeAuthHeaders(){let t=this.opts.projects.map(t=>`${t.id}:${t.token}`).join(",");return{"x-plasmic-api-project-tokens":t}}}class c{constructor(t){this.opts=t,this.curFetch=void 0,this.api=new u({projects:t.projects,host:t.host})}async fetchAllData(){let t=await this.getCachedOrFetch();return this.cacheBundleInNodeServer(t),t}async getCachedOrFetch(){if(this.opts.cache){let t=await this.opts.cache.get();if(t)return t}if(this.curFetch)return await this.curFetch;console.debug("Plasmic: doing a fresh fetch..."),this.curFetch=this.doFetch();let t=await this.curFetch;return this.curFetch=void 0,t}async doFetch(){let t=await this.api.fetchLoaderData(this.opts.projects.map(t=>t.version?`${t.id}@${t.version}`:t.id),{platform:this.opts.platform,preview:this.opts.preview,i18nKeyScheme:this.opts.i18nKeyScheme,browserOnly:a});return this.opts.cache&&await this.opts.cache.set(t),console.debug(`Plasmic: fetched de
1signs for ${t.projects.map(t=>`"${t.name}" (${t.id}@${t.version})`).join(", ")}`),t}cacheBundleInNodeServer(t){if(a)return;let e=globalThis;void 0===e.__PLASMIC_BUNDLES&&(e.__PLASMIC_BUNDLES={}),e.__PLASMIC_BUNDLES[l(this.opts)]=t}}function s(t){var e;if(a)throw Error("Should not be consulting Node server cache in browser");let r=globalThis;return null==(e=r.__PLASMIC_BUNDLES)?void 0:e[l(t)]}function l({host:t,platform:e,i18nKeyScheme:r,preview:n,projects:o}){return JSON.stringify({host:t,platform:e,i18nKeyScheme:r,preview:n,projects:o})}},3486:function(t,e,r){"use strict";t.exports=r(8964)},8964:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(3454);"use strict";function _interopDefault(t){return t&&"object"==typeof t&&"default"in t?t.default:t}__webpack_unused_export__={value:!0};var loaderReact=__webpack_require__(9543),NextHead=__webpack_require__(9008),NextHead__default=_interopDefault(NextHead),NextLink=__webpack_require__(1664),NextRouter=__webpack_require__(1163),React=__webpack_require__(7294),path=_interopDefault(__webpack_require__(1864));function asyncGeneratorStep(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,u,"next",t)}function u(t){asyncGeneratorStep(i,n,o,a,u,"throw",t)}a(void 0)})}}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function createCommonjsModule(t,e){return t(e={exports:{}},e.exports),e.exports}var __webpack_unused_export__,secretRequire,runtime_1=createCommonjsModule(function(t){var e=function(t){var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=Object.create((e&&e.prototype instanceof f?e:f).prototype),i=new C(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=w(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,i),o}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function p(){}function h(){}var d={};u(d,o,function(){return this});var v=Object.getPrototypeOf,m=v&&v(v(E([])));m&&m!==e&&r.call(m,o)&&(d=m);var y=h.prototype=f.prototype=Object.create(d);function g(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){var n;this._invoke=function(o,i){function a(){return new e(function(n,a){!function n(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then(function(t){n("next",t,a,u)},function(t){n("throw",t,a,u)}):e.resolve(f).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,u)})}u(c.arg)}(o,i,n,a)})}return n=n?n.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
1(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=h,u(y,"constructor",h),u(h,"constructor",p),p.displayName=u(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},g(b.prototype),u(b.prototype,i,function(){return this}),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},g(y),u(y,a,"Generator"),u(y,o,function(){return this}),u(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}});try{secretRequire=eval("require")}catch(e){secretRequire=void 0}function serverRequire(t){if(!secretRequire)throw Error("Unexpected serverRequire() -- can only do this from a Node server!");return secretRequire(t)}function serverRequireFs(){return serverRequire("fs")}var FileCache=function(){function t(t){this.filePath=t}var e=t.prototype;return e.get=function(){var t=_asyncToGenerator(runtime_1.mark(function t(){var e,r;return runtime_1.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=serverRequireFs(),t.prev=1,t.next=4,e.promises.mkdir(path.dirname(this.filePath),{recursive:!0});case 4:return t.next=6,e.promises.readFile(this.filePath);case 6:return r=t.sent.toString(),t.abrupt("return",JSON.parse(r));case 10:return t.prev=10,t.t0=t.catch(1),t.abrupt("return",void 0);case 13:case"end":return t.stop()}},t,this,[[1,10]])}));return function(){return t.apply(this,arguments)}}(),e.set=function(){var t=_asyncToGenerator(runtime_1.mark(function t(e){var r;return runtime_1.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=serverRequireFs(),t.prev=1,t.next=4,r.promises.writeFile(this.filePath,JSON.stringify(e));case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.warn("Error writing to Plasmic cache: "+t.t0);case 9:case"end":return t.stop()}},t,this,[[1,6]])}));return function(e){return t.apply(this,arguments)}}(),e.clear=function(){var t=serverRequireFs();try{t.unlinkSync(this.filePath)}catch(t){}},t}();function makeCache(t){var e=path.resolve(process.cwd(),".next",".plasmic"),r=path.join(e,"plasmic-"+[].concat(t.projects.map(function(t){var e;return t.id+"@"+(null!=(e=t.version)?e:"")})).sort().join("-")+(t.preview?"-preview":"")+"-cache.json");return new FileCache(r)}function initPlasmicLoaderWithCache(t,e){return t(_extends({onClientSideFetch:"warn"},e,{cache:void 0,platform:"nextjs",alwaysFresh:!("undefined"!=typeof window)}))}var NextJsPlasmicComponentLoader=function(t){function e(e){var r;return(r=t.call(this,e)||this).registerModules({"next/head":NextHead,"next/link":NextLink,"next/router":NextRouter}),r}return _inheritsLoose(e,t),e.prototype.getActiveVariation=function(){var t=_asyncToGenerator(runtime_1.mark(function t(e){return runtime_1.wrap(function(t){for(var r,n,o,i;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this._getActiveVariation({traits:_extends({},{pageUrl:new URL(null!=(r=null==(n=e.req)?void 0:n.url)?r:"/","https://"+(null!=(o=null==(i=e.req)?void 0:i.headers.host)?o:"server.side")).href},e.traits),getKnownValue:function(t){var r,n;return e.known?e.known[t]:null!=(r=null==(n=e.req)?void 0:n.cookies["plasmic:"+t])?r:void 0},updateKnownValue:function(t,r){if(e.res){var n,o,i,a,u="plasmic:"+t+"="+r,c=null!=(n=null==(o=e.res)?void 0:o.getHeader("Set-Cookie"))?n:[];a=Array.isArray(c)?[].concat(c,["plasmic:"+t+"="+r]):[""+c,u],null==(i=e.res)||i.setHeader("Set-Cookie",a)}}}));case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e}(loaderReact.PlasmicComponentLoader),initPlasmicLoaderNext=function(t){var e=new loaderReact.InternalPlasmicComponentLoader(t);return new NextJsPlasmicComponentLoader(e)};function initPlasmicLoader(t){return initPlasmicLoaderWithCache(initPlasmicLoaderNext,t)}function PlasmicRootProvider(t){return React.createElement(loaderReact.PlasmicRootProvider,Object.assign({Head:NextHead__default},t))}__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.DataCtxReader}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.DataProvider}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.PageParamsProvider}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.PlasmicCanvasContext}},Object.defineProperty(exports,"PlasmicCanvasHost",{enumerable:!0,get:function(){return loaderReact.PlasmicCanvasHost}}),Object.defineProperty(exports,"PlasmicComponent",{enumerable:!0,get:function(){return loaderReact.PlasmicComponent}}),__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.extractPlasmicQueryData}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.plasmicPrepass}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.repeatedElement}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.useDataEnv}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.usePlasmicCanvasContext}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.usePlasmicComponent}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.usePlasmicQueryData}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.useSelector}},__webpack_unused_export__={enumerable:!0,get:function(){return loaderReact.useSelectors}},__webpack_unused_export__=NextJsPlasmicComponentLoader,exports.PlasmicRootProvider=PlasmicRootProvider,exports.initPlasmicLoader=initPlasmicLoader},9543:function(t,e,r){"use strict";
1t.exports=r(4563)},4563:function(t,e,r){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(e,"__esModule",{value:!0});var o=r(931),i=r(8030),a=r(9739),u=r(864),c=r(582),s=r(2705),l=r(7294),f=n(l),p=n(r(3935)),h=r(4862),d=r(5893),v=n(r(8339)),m=n(r(167)),y=r(1329),g=r(2404);function b(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function w(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,u,"next",t)}function u(t){b(i,n,o,a,u,"throw",t)}a(void 0)})}}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function P(t,e){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function E(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return C(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _=function(t,e){return t(e={exports:{}},e.exports),e.exports}(function(t){var e=function(t){var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=Object.create((e&&e.prototype instanceof f?e:f).prototype),i=new C(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=w(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,i),o}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function p(){}function h(){}var d={};u(d,o,function(){return this});var v=Object.getPrototypeOf,m=v&&v(v(E([])));m&&m!==e&&r.call(m,o)&&(d=m);var y=h.prototype=f.prototype=Object.create(d);function g(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){var n;this._invoke=function(o,i){function a(){return new e(function(n,a){!function n(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then(function(t){n("next",t,a,u)},function(t){n("throw",t,a,u)}):e.resolve(f).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,u)})}u(c.arg)}(o,i,n,a)})}return n=n?n.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;
vendor: 4,470 bytes, line 1
1e.method="throw",e.arg=TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=h,u(y,"constructor",h),u(h,"constructor",p),p.displayName=u(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},g(b.prototype),u(b.prototype,i,function(){return this}),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},g(y),u(y,a,"Generator"),u(y,o,function(){return this}),u(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}),S="undefined"!=typeof window;function j(){var t=l.useState(0)[1];return l.useCallback(function(){t(function(t){return t+1})},[])}function k(t,e){if(t===e)return!0;
1if(typeof t!=typeof e)return!1;var r=A(t),n=A(e);return(O(r)&&O(n)&&r.name===n.name&&r.isCode===n.isCode||L(r)&&L(n)&&r.path===n.path)&&r.projectId===n.projectId}function O(t){return"name"in t}function L(t){return"path"in t}function A(t){var e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t.projectId,n="string"==typeof t?void 0:t.isCode;return!0!==n&&e.startsWith("/")?{path:e.trim(),projectId:r}:{name:n?e:v(e).trim(),rawName:e.trim(),projectId:r,isCode:n}}function M(t,e){t=t.replace(/^\/*/,"").replace(/\/*$/,""),e=e.replace(/^\/*/,"").replace(/\/*$/,"");var r,n=(t.match(/\[([^\]]*)\]/g)||[]).map(function(t){return t.slice(1,-1)}),o=RegExp("^"+t.replace(/\[[^\]]*\]/g,"([^/]+)")+"$"),i=null==(r=e.match(o))?void 0:r.slice(1);if(!i)return!1;for(var a={},u=0;u<n.length;u++)a[n[u]]=i[u];return{params:a}}function R(t,e){var r=A(e);return t.filter(function(t){return function(t,e){return!(t.projectId&&e.projectId!==t.projectId||(O(t)?t.name!==e.name&&t.rawName!==e.name&&t.rawName!==e.displayName||null!=t.isCode&&t.isCode!==e.isCode:!e.path||!M(e.path,t.path)))}(r,t)}).map(function(t){if(O(r)||!t.path)return t;var e=M(t.path,r.path);return e?x({},t,{params:e.params}):t}).sort(function(t,e){return Array.from(Object.keys(t.params||{})).length-Array.from(Object.keys(e.params||{})).length})}function F(t){return"string"==typeof t?t:t.projectId?t.name+" (project "+t.projectId+")":t.name}function T(t){return Array.from(new Set(t))}function I(t,e){var r=R(t,e);return 0===r.length?void 0:r[0]}var D=function(){function t(t,e){this.bundle=t,this.registry=e}var e=t.prototype;return e.getComponentMeta=function(t){return I(this.bundle.components,t)},e.getComponent=function(t,e){void 0===e&&(e={});var r=I(this.bundle.components,t);
1if(!r)throw Error("Component not found: "+t);var n=r.entry;if(!this.registry.hasModule(n,e))throw Error("Component not yet fetched: "+r.name);var o=this.registry.load(n,{forceOriginal:e.forceOriginal});return e.forceOriginal||"function"!=typeof(null==o?void 0:o.getPlasmicComponent)?o.default:o.getPlasmicComponent()},e.hasComponent=function(t){var e=I(this.bundle.components,t);return!!e&&this.registry.hasModule(e.entry)},e.getGlobalContexts=function(){var t=this;return this.bundle.globalGroups.filter(function(t){return"global-user-defined"===t.type}).map(function(e){return{meta:e,context:t.registry.load(e.contextFile).default}})},e.getGlobalContextsProvider=function(t){var e=I(this.bundle.components,t),r=e?this.bundle.projects.find(function(t){return t.id===e.projectId}):void 0;if(r&&r.globalContextsProviderFileName&&this.registry.hasModule(r.globalContextsProviderFileName)){var n=this.registry.load(r.globalContextsProviderFileName);return"function"==typeof(null==n?void 0:n.getPlasmicComponent)?n.getPlasmicComponent():n.default}},e.getRootProvider=function(){return this.registry.load("root-provider.js").default},e.getCss=function(){return this.bundle.modules.browser.filter(function(t){return"asset"===t.type&&t.fileName.endsWith("css")})},e.getRemoteFonts=function(){return this.bundle.projects.flatMap(function(t){return t.remoteFonts})},t}();function N(t,e){document.cookie="plasmic:"+t+"="+e}var G=function(t,e){var r=[];return Object.keys(e).map(function(n){var o=n.split(".")[1],i=e[n],a=t.find(function(t){return t.id===o||t.externalId===o});if(a){var u=a.slices.find(function(t){return t.id===i||t.externalId===i});u&&u.contents.map(function(t){r.push({name:t.group,value:t.variant,projectId:t.projectId})})}}),r},V=l.createContext(void 0);function B(t){var e=t.globalVariants,r=t.prefetchedData,n=t.children,o=t.skipCss,a=t.skipFonts,u=t.prefetchedQueryData,c=t.suspenseForQueryData,f=t.globalContextsProps,p=t.variation,h=t.translator,d=t.Head,v=t.pageParams,m=t.pageQuery,y=t.loader.__internal;r&&y.registerPrefetchedBundle(null==r?void 0:r.bundle);var g=l.useState(y.getActiveSplits()),b=g[0],w=g[1],x=j(),P=l.useMemo(function(){return{onDataFetched:function(){w(y.getActiveSplits()),x()}}},[y,x]);l.useEffect(function(){return y.subscribePlasmicRoot(P),function(){return y.unsubscribePlasmicRoot(P)}},[P,y]),l.useEffect(function(){(function(t){void 0===t&&(t={}),Object.keys(t).map(function(e){N(e,t[e])})})(p),y.trackRender({renderCtx:{rootComponentId:"provider",teamIds:y.getTeamIds(),projectIds:y.getProjectIds()},variation:p})},[y,p]);var C=t.user,E=t.userAuthToken,_=t.isUserLoading,S=t.authRedirectUri,k=l.useMemo(function(){var t,r,n,o,i;return{globalVariants:(t=null!=e?e:[],r=G(b,null!=p?p:{}),n=[].concat(t),o=new Set(t.map(function(t){var e;return t.name+"-"+(null!=(e=t.projectId)?e:"")})),(i=r.filter(function(t){var e;return!o.has(t.name+"-"+(null!=(e=t.projectId)?e:""))})).length>0&&(n=[].concat(n,i)),n),globalContextsProps:f,loader:y,variation:p,translator:h,Head:d,user:C,userAuthToken:E,isUserLoading:_,authRedirectUri:S}},[e,p,f,y,b,h,d,C,E,_,S]);return l.createElement(s.PlasmicQueryDataProvider,{prefetchedCache:u,suspense:c},l.createElement(V.Provider,{value:k},!o&&l.createElement(U,{loader:y,prefetchedData:r,skipFonts:a}),l.createElement(i.PageParamsProvider,{params:v,query:m},n)))}var U=l.memo(function(t){var e=t.loader,r=t.prefetchedData,n=t.skipFonts,o=l.useState(!!r),i=o[1],a=function(t,e){var r=e.scopedCompMetas,n=e.skipFonts,o=r&&new Set(["entrypoint.css"].concat(r.map(function(t){return t.cssFile}))),i=t.getLookup().getCss().filter(function(t){return!o||o.has(t.fileName)}),a=function(t){return"entrypoint.css"===t?0:1};i.sort(function(t,e){return a(t.fileName)!==a(e.fileName)?a(t.fileName)-a(e.fileName):t.fileName.localeCompare(e.fileName)});var u=t.getLookup().getRemoteFonts();return"\n    "+(n?"":u.map(function(t){return"@import url('"+t.url+"');"}).join("\n"))+"\n    "+i.map(function(t){return t.source}).join("\n")+"\n  "}(e,{scopedCompMetas:o[0]&&r?r.bundle.components:void 0,skipFonts:n}),u=j(),c=l.useMemo(function(){return{onDataFetched:function(){i(!1),u()}}},[e,u]);return l.useEffect(function(){return e.subscribePlasmicRoot(c),function(){return e.unsubscribePlasmicRoot(c)}},[c,e]),l.createElement("style",{dangerouslySetInnerHTML:{__html:a}})});function $(){return l.useContext(V)}function q(t,e){return function(){var r,n=$();if(n){var o=[].concat(n.loader.getGlobalVariants(),null!=(r=n.globalVariants)?r:[]).find(function(r){return r.name===t&&(!r.projectId||r.projectId===e)});return o?o.value:void 0}}}function H(t,e,r){if(0===e.length)return{entryCompMetas:t.components,bundle:t,remoteFontUrls:[]};
1var n=(function(t,e){for(var r=[].concat(e),n=new Set(e),o=new Map(t.map(function(t){return[t.id,t]})),i=[];r.length>0;){var a=r.splice(0,1),u=o.get(a[0]);u&&(i.push(u),u.usedComponents.forEach(function(t){n.has(t)||(n.add(t),r.push(t))}))}return i})(t.components,e.map(function(t){return t.id})).map(function(t){return t.entry}),o=a.getBundleSubset(t,["entrypoint.css"].concat(n,["root-provider.js"],t.projects.map(function(t){return t.globalContextsProviderFileName}).filter(function(t){return!!t}),t.components.filter(function(t){return t.isGlobalContextProvider}).map(function(t){return t.entry}),t.globalGroups.map(function(t){return t.contextFile})),r),i=[];return o.projects.forEach(function(t){return i.push.apply(i,t.remoteFonts.map(function(t){return t.url}))}),{entryCompMetas:e,bundle:o,remoteFontUrls:i}}function W(t,e){var r,n=new Set(t.components.map(function(t){return t.id})),o=e.components.filter(function(t){return!n.has(t.id)});o.length>0&&(t=x({},t,{components:[].concat(t.components,o)}));var i=new Set(t.projects.map(function(t){return t.id})),a=e.projects.filter(function(t){return!i.has(t.id)});a.length>0&&(t=x({},t,{projects:[].concat(t.projects,a)}));var u={browser:new Set(t.modules.browser.map(function(t){return t.fileName})),server:new Set(t.modules.server.map(function(t){return t.fileName}))},c={browser:e.modules.browser.filter(function(t){return!u.browser.has(t.fileName)}),server:e.modules.server.filter(function(t){return!u.server.has(t.fileName)})};(c.browser.length>0||c.server.length>0)&&(t=x({},t,{modules:{browser:[].concat(t.modules.browser,c.browser),server:[].concat(t.modules.server,c.server)}}));var s=new Set(t.globalGroups.map(function(t){return t.id})),l=e.globalGroups.filter(function(t){return!s.has(t.id)});l.length>0&&(t=x({},t,{globalGroups:[].concat(t.globalGroups,l)}));var f=new Set(t.external),p=t.external.filter(function(t){return!f.has(t)});p.length>0&&(t=x({},t,{external:[].concat(t.external,p)}));var h=new Set(t.activeSplits.map(function(t){return t.id})),d=null!=(r=e.activeSplits.filter(function(t){return!h.has(t.id)}))?r:[];return d.length>0&&(t=x({},t,{activeSplits:[].concat(t.activeSplits,d)})),t}var z=function(){function t(t){this.bundle={modules:{browser:[],server:[]},components:[],globalGroups:[],external:[],projects:[],activeSplits:[]},this.opts=t.opts,this.fetcher=t.fetcher,this.tracker=t.tracker,this.onBundleMerged=t.onBundleMerged,this.onBundleFetched=t.onBundleFetched}var e=t.prototype;return e.maybeGetCompMetas=function(){for(var t=new Set,e=[],r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];for(var i=0,a=n;i<a.length;i++){var u=a[i],c=R(this.bundle.components,u);c.length>0?c.forEach(function(e){return t.add(e)}):e.push(u)}return{found:Array.from(t.keys()),missing:e}},e.maybeFetchComponentData=function(){var t=w(_.mark(function t(){var e,r,n,o,i,a,u,c=this,s=arguments;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(e=Q.apply(void 0,s)).specs,n=e.opts,o=function(){var t=w(_.mark(function t(e){var o,i;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.fetchMissingData({missingSpecs:e});case 2:if(i=(o=c.maybeGetCompMetas.apply(c,r)).found,!(o.missing.length>0)){t.next=5;break}return t.abrupt("return",null);case 5:return t.abrupt("return",H(c.bundle,i,n));case 6:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),!this.opts.alwaysFresh){t.next=6;break}return t.next=5,o(r);case 5:case 11:return t.abrupt("return",t.sent);case 6:if(a=(i=this.maybeGetCompMetas.apply(this,r)).found,0!==(u=i.missing).length){t.next=9;break}return t.abrupt("return",H(this.bundle,a,n));case 9:return t.next=11,o(u);case 12:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e.fetchComponentData=function(){var t=w(_.mark(function t(){var e,r,n,o,i=arguments;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=(e=Q.apply(void 0,i)).specs,n=e.opts,t.next=3,this.maybeFetchComponentData(r,n);case 3:if(o=t.sent){t.next=7;break}throw Error("Unable to find components "+this.maybeGetCompMetas.apply(this,r).missing.map(F).join(", "));case 7:return t.abrupt("return",o);case 8:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e.fetchPages=function(){var t=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.maybeReportClientSideFetch(function(){return"Plasmic: fetching all page metadata in the browser"}),t.next=3,this.fetchAllData();case 3:return t.abrupt("return",t.sent.components.filter(function(t){return t.isPage&&t.path&&((null==e?void 0:e.includeDynamicPages)||!t.path.match(/\[[^/]*\]/))}));case 5:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e.fetchComponents=function(){var t=w(_.mark(function t(){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.maybeReportClientSideFetch(function(){return"Plasmic: fetching all component metadata in the browser"}),t.next=3,this.fetchAllData();case 3:return t.abrupt("return",t.sent.components);case 5:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e.getActiveSplits=function(){return this.bundle.activeSplits},e.fetchMissingData=function(){var t=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.maybeReportClientSideFetch(function(){return"Plasmic: fetching missing components in the browser: "+e.missingSpecs.map(function(t){return F(t)}).join(", ")}),t.abrupt("return",this.fetchAllData());case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e.maybeReportClientSideFetch=function(t){if(S&&this.opts.onClientSideFetch){var e=t();if("warn"!==this.opts.onClientSideFetch)throw Error(e);console.warn(e)}},e.fetchAllData=function(){var t=w(_.mark(function t(){var e,r;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.fetcher.fetchAllData();case 2:return r=t.sent,this.tracker.trackFetch(),this.mergeBundle(r),null==(e=this.onBundleFetched)||e.call(this),t.abrupt("return",r);case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e.mergeBundle=function(t){var e;this.bundle=W(t,this.bundle),null==(e=this.onBundleMerged)||e.call(this)},e.getBundle=function(){return this.bundle},e.clearCache=function(){this.bundle={modules:{browser:[],server:[]},components:[],globalGroups:[],external:[],projects:[],activeSplits:[]}},t}();function Q(){for(var t,e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return Array.isArray(n[0])?(t=n[0],e=n[1]):(t=n,e=void 0),{specs:t,opts:e}}var K={},J={},Y={},Z=function(){function t(t){var e=this;this.opts=t,this.registry=new a.Registry,this.subs=[],this.roots=[],this.globalVariants=[],this.tracker=new a.PlasmicTracker({projectIds:t.projects.map(function(t){return t.id}),platform:t.platform,preview:t.preview}),this.reactServerLoader=new z({opts:t,fetcher:new a.PlasmicModulesFetcher(t),tracker:this.tracker,onBundleMerged:function(){e.refreshRegistry()}
1,onBundleFetched:function(){e.roots.forEach(function(t){return null==t.onDataFetched?void 0:t.onDataFetched()})}}),this.registerModules({react:f,"react-dom":p,"react/jsx-runtime":d,"react/jsx-dev-runtime":h,"@plasmicapp/query":s,"@plasmicapp/data-sources-context":o,"@plasmicapp/host":i,"@plasmicapp/loader-runtime-registry":{components:K,globalVariantHooks:Y,codeComponentHelpers:J}})}var e=t.prototype;return e.getBundle=function(){return this.reactServerLoader.getBundle()},e.setGlobalVariants=function(t){this.globalVariants=t},e.getGlobalVariants=function(){return this.globalVariants},e.registerModules=function(t){var e=this;if(Object.keys(t).some(function(r){return e.registry.getRegisteredModule(r)!==t[r]})){this.registry.isEmpty()||(console.warn("Calling PlasmicComponentLoader.registerModules() after Plasmic component has rendered; starting over."),this.registry.clear());for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];this.registry.register(o,t[o])}}},e.substituteComponent=function(t,e){this.internalSubstituteComponent(t,e,void 0)},e.internalSubstituteComponent=function(t,e,r){this.registry.isEmpty()||(console.warn("Calling PlasmicComponentLoader.registerSubstitution() after Plasmic component has rendered; starting over."),this.registry.clear()),this.subs.push({lookup:e,component:t,codeComponentHelpers:r})},e.registerComponent=function(t,e){var r,n,o=Object.fromEntries(Object.entries(null!=(r=e.states)?r:{}).filter(function(t){var e=t[1];
1return"initFunc"in e||"onChangeArgsToValue"in e}).map(function(t){var e=t[1];return[t[0],x({},"initFunc"in e?{initFunc:e.initFunc}:{},"onChangeArgsToValue"in e?{onChangeArgsToValue:e.onChangeArgsToValue}:{})]})),a={states:o};this.internalSubstituteComponent(t,{name:e.name,isCode:!0},Object.keys(o).length>0?a:void 0),i.registerComponent(t,x({},e,{importPath:null!=(n=e.importPath)?n:""},Object.keys(o).length>0?{componentHelpers:{helpers:a,importPath:"",importName:""}}:{}))},e.registerGlobalContext=function(t,e){var r;this.substituteComponent(t,{name:e.name,isCode:!0}),i.registerGlobalContext(t,x({},e,{importPath:null!=(r=e.importPath)?r:""}))},e.registerTrait=function(t,e){i.registerTrait(t,e)},e.registerToken=function(t){i.registerToken(t)},e.registerPrefetchedBundle=function(t){if(!S){var e=u.internal_getCachedBundleInNodeServer(this.opts);e&&this.reactServerLoader.mergeBundle(e)}this.reactServerLoader.mergeBundle(t)},e.subscribePlasmicRoot=function(t){this.roots.push(t)},e.unsubscribePlasmicRoot=function(t){var e=this.roots.indexOf(t);e>=0&&this.roots.splice(e,1)},e.clearCache=function(){this.reactServerLoader.clearCache(),this.registry.clear()},e.getLookup=function(){return new D(this.getBundle(),this.registry)},e.maybeFetchComponentData=function(){var t;return(t=this.reactServerLoader).maybeFetchComponentData.apply(t,arguments)},e.fetchComponentData=function(){var t;return(t=this.reactServerLoader).fetchComponentData.apply(t,arguments)},e.fetchPages=function(t){return this.reactServerLoader.fetchPages(t)},e.fetchComponents=function(){return this.reactServerLoader.fetchComponents()},e.getActiveSplits=function(){return this.reactServerLoader.getActiveSplits()},e.trackConversion=function(t){void 0===t&&(t=0),this.tracker.trackConversion(t)},e.getActiveVariation=function(){var t=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.reactServerLoader.fetchComponents();case 2:return t.abrupt("return",c.getActiveVariation(x({},e,{splits:this.getBundle().activeSplits})));case 3:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e.getTeamIds=function(){return T(this.getBundle().projects.map(function(t){return t.teamId?t.teamId+(t.indirect?"@indirect":""):null}).filter(function(t){return!!t}))},e.getProjectIds=function(){return T(this.getBundle().projects.map(function(t){return t.id+(t.indirect?"@indirect":"")}))},e.trackRender=function(t){this.tracker.trackRender(t)},e.refreshRegistry=function(){for(var t,e=this,r=function(){var r=t.value;R(e.getBundle().components,r.lookup).forEach(function(t){K[t.id]=r.component,r.codeComponentHelpers&&(J[t.id]=r.codeComponentHelpers)})},n=E(this.subs);!(t=n()).done;)r();for(var o,i=E(this.getBundle().globalGroups);!(o=i()).done;){var a=o.value;"global-screen"!==a.type&&(Y[a.id]=q(a.name,a.projectId))}this.registry.updateModules(this.getBundle())},t}(),X=function(){function t(t){this.warnedRegisterComponent=!1,this.__internal=t}var e=t.prototype;return e.setGlobalVariants=function(t){this.__internal.setGlobalVariants(t)},e.registerModules=function(t){this.__internal.registerModules(t)},e.substituteComponent=function(t,e){this.__internal.substituteComponent(t,e)},e.registerComponent=function(t,e){e&&"object"==typeof e&&"props"in e?this.__internal.registerComponent(t,e):this.substituteComponent(t,e)},e.registerGlobalContext=function(t,e){this.__internal.registerGlobalContext(t,e)},e.registerTrait=function(t,e){this.__internal.registerTrait(t,e)},e.registerToken=function(t){this.__internal.registerToken(t)},e.fetchComponentData=function(){var t=w(_.mark(function t(){var e,r=arguments;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(e=this.__internal).fetchComponentData.apply(e,r));case 1:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e.maybeFetchComponentData=function(){var t=w(_.mark(function t(){var e,r=arguments;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(e=this.__internal).maybeFetchComponentData.apply(e,r));case 1:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e.fetchPages=function(){var t=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.__internal.fetchPages(e));case 1:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e.fetchComponents=function(){var t=w(_.mark(function t(){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.__internal.fetchComponents());case 1:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),e._getActiveVariation=function(){var t=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.__internal.getActiveVariation(e));case 1:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e.getActiveVariation=function(){var t=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this._getActiveVariation({traits:e.traits,getKnownValue:function(t){return e.known?e.known[t]:Object.fromEntries(document.cookie.split("; ").filter(function(t){return t.includes("plasmic:")}).map(function(t){return t.split("=")}).map(function(t){var e=t[1];return[t[0].split(":")[1],e]}))[t]},updateKnownValue:function(t,r){e.known||N(t,r)}}));case 1:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),e.getExternalVariation=function(t){return c.getExternalIds(this.getActiveSplits(),t)},e.getActiveSplits=function(){return this.__internal.getActiveSplits()},e.trackConversion=function(t){void 0===t&&(t=0),this.__internal.trackConversion(t)},e.clearCache=function(){return this.__internal.clearCache()},t}();function tt(t,e){void 0===e&&(e={});var r=$();if(!r)throw Error("You can only use usePlasmicComponent if wrapped in <PlasmicRootProvider />");var n=r.loader,o=n.getLookup(),i=o.hasComponent(t)?o.getComponent(t,e):void 0,a=function(t){return function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=l.useState(e),o=n[0],i=n[1];return l.useEffect(function(){(e.length!==o.length||e.some(function(t,e){return!k(t,o[e])}))&&i(e)},[e,o]),o}(t)[0]}(t),u=function(){var t=l.useRef(!1),e=l.useCallback(function(){return t.current},[]);return l.useEffect(function(){return t.current=!0,function(){t.current=!1}},[]),e}(),c=j();return l.useEffect(function(){i||w(_.mark(function t(){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.fetchComponentData(a);case 2:u()&&c();case 3:case"end":return t.stop()}},t)}))()},[i,a]),i}var te=["loader","globalContextsProps","variation","userAuthToken","isUserLoading","authRedirectUri"],tr=l.createContext(!1);function tn(t){var e=t.component,r=t.projectId,n=t.componentProps,o=t.forceOriginal,i=$(),a=!l.useContext(tr);if(!i)throw Error("You must use <PlasmicRootProvider/> at the root of your app");var u=i.loader,c=i.globalContextsProps,s=i.variation,f=i.userAuthToken,p=i.isUserLoading,h=i.authRedirectUri,d=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(r=i[n])>=0||(o[r]=t[r]);return o}(i,te),v=tt({name:e,projectId:r,isCode:!1},{forceOriginal:o});return l.useEffect(function(){if(a){var t=u.getLookup().getComponentMeta({name:e,projectId:r});t&&u.trackRender({renderCtx:{rootProjectId:t.projectId,rootComponentId:t.id,rootComponentName:e,teamIds:u.getTeamIds(),projectIds:u.getProjectIds()},variation:s})}},[e,r,u,s]),l.useMemo(function(){if(!v)return null;var t=l.createElement(v,Object.assign({},n));if(a){var o=u.getLookup(),i=o.getRootProvider(),s=o.getGlobalContextsProvi
1der({name:e,projectId:r});t=l.createElement(i,Object.assign({},d,{userAuthToken:f,isUserLoading:p,authRedirectUri:h}),l.createElement(to,{cond:!!s,wrapper:function(t){return l.createElement(s,Object.assign({},c),t)}},l.createElement(tr.Provider,{value:!0},t)))}return t},[v,n,u,a,e,r,c,f,p,h])}function to(t){return t.cond?t.wrapper(t.children):t.children}function ti(t){return ta.apply(this,arguments)}function ta(){return(ta=w(_.mark(function t(e){var r,n;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=new Map,t.prev=1,t.next=4,tu(f.createElement(s.PlasmicPrepassContext,{cache:r},e));case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.warn("PLASMIC: Error encountered while pre-rendering",t.t0);case 9:return n=Object.fromEntries(Array.from(r.entries()).filter(function(t){var e=t[1];return!t[0].startsWith("$swr$")&&void 0!==e})),t.prev=10,t.abrupt("return",JSON.parse(JSON.stringify(n,function(t,e){return void 0!==e?e:null})));case 14:return t.prev=14,t.t1=t.catch(10),t.abrupt("return",n);case 17:case"end":return t.stop()}},t,null,[[1,6],[10,14]])}))).apply(this,arguments)}function tu(t){return tc.apply(this,arguments)}function tc(){return(tc=w(_.mark(function t(e){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m(ts(e));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function ts(t){return f.createElement(tl,null,function t(e){var r;return f.cloneElement(e,e.type===tn?tf(e.props):(r=e.props)&&"object"==typeof r?Object.fromEntries(Object.entries(r).map(function(e){var r=e[1];return[e[0],f.isValidElement(r)?t(r):r]})):r)}(t))}var tl=function(t){function e(e){return t.call(this,e)||this}n=t,(r=e).prototype=Object.create(n.prototype),r.prototype.constructor=r,P(r,n);var r,n,o=e.prototype;return o.componentDidCatch=function(t){console.log("Plasmic: Encountered error while prepass rendering:",t)},o.render=function(){return f.createElement(f.Fragment,null,this.props.children)},e}(f.Component);function tf(t){var e;return t?y.isFragment(t)?f.createElement(f.Fragment,null,f.Children.map(t.props.children,tf)):f.isValidElement(t)?f.createElement(tl,null,t):Array.isArray(t)?t.map(tf):(e=t)&&"object"==typeof e&&e.constructor===Object?Object.fromEntries(Object.entries(t).map(function(t){return[t[0],tf(t[1])]})):t:t}function tp(){return(tp=w(_.mark(function t(e,r,n,o){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===o&&(o={}),t.abrupt("return",new Promise(function(t){var i=tv(e,n,o);p.render(i,r,function(){return t()})}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function th(){return(th=w(_.mark(function t(e,r,n){var o;return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===n&&(n={}),o=tv(e,r,n),t.abrupt("return",ti(o));case 3:case"end":return t.stop()}},t)}))).apply(this,arguments)}function td(){return(td=w(_.mark(function t(e,r,n,o){return _.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===o&&(o={}),t.abrupt("return",new Promise(function(t){var i=tv(e,n,o);p.hydrate(i,r,function(){return t()})}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function tv(t,e,r){return void 0===r&&(r={}),f.createElement(B,{loader:t,prefetchedData:r.prefetchedData,globalVariants:r.globalVariants,prefetchedQueryData:r.prefetchedQueryData},f.createElement(tn,{component:"string"==typeof e?e:e.name,projectId:"string"==typeof e?void 0:e.projectId,componentProps:r.componentProps}))}Object.defineProperty(e,"DataCtxReader",{enumerable:!0,get:function(){return i.DataCtxReader}}),Object.defineProperty(e,"DataProvider",{enumerable:!0,get:function(){return i.DataProvider}}),Object.defineProperty(e,"PageParamsProvider",{enumerable:!0,get:function(){return i.PageParamsProvider}}),Object.defineProperty(e,"PlasmicCanvasContext",{enumerable:!0,get:function(){return i.PlasmicCanvasContext}}),Object.defineProperty(e,"PlasmicCanvasHost",{enumerable:!0,get:function(){return i.PlasmicCanvasHost}}),Object.defineProperty(e,"repeatedElement",{enumerable:!0,get:function(){return i.repeatedElement}}),Object.defineProperty(e,"useDataEnv",{enumerable:!0,get:function(){return i.useDataEnv}}),Object.defineProperty(e,"usePlasmicCanvasContext",{enumerable:!0,get:function(){return i.usePlasmicCanvasContext}}),Object.defineProperty(e,"useSelector",{enumerable:!0,get:function(){return i.useSelector}}),Object.defineProperty(e,"useSelectors",{enumerable:!0,get:function(){return i.useSelectors}}),Object.defineProperty(e,"usePlasmicQueryData",{enumerable:!0,get:function(){return s.usePlasmicQueryData}}),e.InternalPlasmicComponentLoader=Z,e.PlasmicComponent=tn,e.PlasmicComponentLoader=X,e.PlasmicRootProvider=B,e.convertBundlesToComponentRenderData=function(t,e){return 0===t.length?null:H(t.reduce(function(t,e){return W(t,e)}),e)},e.extractPlasmicQueryData=ti,e.extractPlasmicQueryDataFromElement=function(t,e,r){return th.apply(this,arguments)},e.hydrateFromElement=function(t,e,r,n){return td.apply(this,arguments)},e.initPlasmicLoader=function(t){var e=new Z(t);return new X(e)},e.matchesPagePath=M,e.plasmicPrepass=tu,e.renderToElement=function(t,e,r,n){return tp.apply(this,arguments)},e.renderToString=function(t,e,r){void 0===r&&(r={});var n=tv(t,e,r);return g.renderToString(n)},e.usePlasmicComponent=tt},9129:function(t,e){"use strict";/** @license React v17.0.2
2 * react-is.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */var r=60103,n=60106,o=60107,i=60108,a=60114,u=60109,c=60110,s=60112,l=60113,f=60120,p=60115,h=60116,d=60121,v=60122,m=60117,y=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),u=b("react.provider"),c=b("react.context"),s=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),p=b("react.memo"),h=b("react.lazy"),d=b("react.block"),v=b("react.server.block"),m=b("react.fundamental"),y=b("react.debug_trace_mode"),g=b("react.legacy_hidden")}function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case a:case i:case l:case f:return t;default:switch(t=t&&t.$$typeof){case c:case s:case h:case p:case u:return t;default:return e}}case n:return e}}}var x=u,P=r,C=s,E=o,_=h,S=p,j=n,k=a,O=i,L=l;e.ContextConsumer=c,e.ContextProvider=x,e.Element=P,e.ForwardRef=C,e.Fragment=E,e.Lazy=_,e.Memo=S,e.Portal=j,e.Profiler=k,e.StrictMode=O,e.Suspense=L,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return w(t)===c},e.isContextProvider=function(t){return w(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===s},e.isFragment=function(t){return w(t)===o}
8,e.isLazy=function(t){return w(t)===h},e.isMemo=function(t){return w(t)===p},e.isPortal=function(t){return w(t)===n},e.isProfiler=function(t){return w(t)===a},e.isStrictMode=function(t){return w(t)===i},e.isSuspense=function(t){return w(t)===l},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===a||t===y||t===i||t===l||t===f||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===p||t.$$typeof===u||t.$$typeof===c||t.$$typeof===s||t.$$typeof===m||t.$$typeof===d||t[0]===v)},e.typeOf=w},1329:function(t,e,r){"use strict";t.exports=r(9129)},582:function(t,e,r){"use strict";r.r(e),r.d(e,{getActiveVariation:function(){return l},getExternalIds:function(){return f},getSplitKey:function(){return s}});var n=r(962),o=r.n(n);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var a="undefined"!=typeof window&&null!=window&&void 0!==window.document,u={pageUrl:"unknown"},c=function(){return a?{pageUrl:document.location.href}:{}},s=function(t){return("experiment"===t.type?"exp.":"seg.")+t.id};function l(t){var e=t.splits,r=t.getKnownValue,n=t.updateKnownValue,a=function(e){return t.getRandomValue?t.getRandomValue(e):Math.random()},l={};return e.forEach(function(e){var f=s(e),p=r(f);if(p){l[f]=p;return}var h=e.slices.length,d=void 0;if("experiment"===e.type){var v=a(e.id);d=e.slices[h-1];for(var m=0;m<h;m++){if(v-e.slices[m].prob<=0){d=e.slices[m];break}v-=e.slices[m].prob}}else if("segment"===e.type)for(var y=0;y<h;y++)o().apply(e.slices[y].cond,i({time:new Date().toISOString()},u,c(),t.traits))&&(d=e.slices[y]);d&&(l[f]=d.id,e.externalId&&d.externalId&&(l["ext."+e.externalId]=d.externalId),"experiment"===e.type&&n(f,d.id))}),l}function f(t,e){var r={};return Object.keys(e).forEach(function(n){var o=n.split(".")[1],i=e[n],a=t.find(function(t){return t.id===o||t.externalId===o});if(a&&a.externalId){var u=a.slices.find(function(t){return t.id===i||t.externalId===i});null!=u&&u.externalId&&(r[""+a.externalId]=u.externalId)}}),r}},2705:function(t,e,r){"use strict";r.r(e),r.d(e,{PlasmicPrepassContext:function(){return tg},PlasmicQueryDataProvider:function(){return tm},addLoadingStateListener:function(){return tP},useMutablePlasmicQueryData:function(){return tv},usePlasmicDataConfig:function(){return tb},usePlasmicQueryData:function(){return td},wrapLoadingFetcher:function(){return tC}});var n=r(7294);/*! *****************************************************************************
9Copyright (c) Microsoft Corporation.
10
11Permission to use, copy, modify, and/or distribute this software for any
12purpose with or without fee is hereby granted.
13
14THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20PERFORMANCE OF THIS SOFTWARE.
21***************************************************************************** */function o(t,e,r,n){function o(t){return t instanceof r?t:new r(function(e){e(t)})}return new(r||(r=Promise))(function(r,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){t.done?r(t.value):o(t.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function i(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(e){return c([t,e])}}
21function c(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}var a=function(){},u=a(),c=Object,s=function(t){return t===u},l=function(t){return"function"==typeof t},f=function(t,e){return c.assign({},t,e)},p="undefined",h=function(){return typeof window!=p},d=function(){return typeof document!=p},v=function(){return h()&&typeof window.requestAnimationFrame!=p},m=new WeakMap,y=0,g=function(t){var e,r,n=typeof t,o=t&&t.constructor,i=o==Date;if(c(t)!==t||i||o==RegExp)e=i?t.toJSON():"symbol"==n?t.toString():"string"==n?JSON.stringify(t):""+t;else{if(e=m.get(t))return e;if(e=++y+"~",m.set(t,e),o==Array){for(r=0,e="@";r<t.length;r++)e+=g(t[r])+",";m.set(t,e)}if(o==c){e="#";for(var a=c.keys(t).sort();!s(r=a.pop());)s(t[r])||(e+=r+":"+g(t[r])+",");m.set(t,e)}}return e},b=!0,w=function(){return b},x=h(),P=d(),C=x&&window.addEventListener?window.addEventListener.bind(window):a,E=P?document.addEventListener.bind(document):a,_=x&&window.removeEventListener?window.removeEventListener.bind(window):a,S=P?document.removeEventListener.bind(document):a,j={isOnline:w,isVisible:function(){var t=P&&document.visibilityState;return s(t)||"hidden"!==t}},k={initFocus:function(t){return E("visibilitychange",t),C("focus",t),function(){S("visibilitychange",t),_("focus",t)}},initReconnect:function(t){var e=function(){b=!0,t()},r=function(){b=!1};return C("online",e),C("offline",r),function(){_("online",e),_("offline",r)}}},O=!h()||"Deno"in window,L=function(t){return v()?window.requestAnimationFrame(t):setTimeout(t,1)},A=O?n.useEffect:n.useLayoutEffect,M="undefined"!=typeof navigator&&navigator.connection,R=!O&&M&&(["slow-2g","2g"].includes(M.effectiveType)||M.saveData),F=function(t){if(l(t))try{t=t()}catch(e){t=""}var e=[].concat(t),r=(t="string"==typeof t?t:(Array.isArray(t)?t.length:t)?g(t):"")?"$swr$"+t:"";return[t,e,r]},T=new WeakMap,I=0,D=1,N=2,G=function(t,e,r,n,o,i,a){void 0===a&&(a=!0);var u=T.get(t),c=u[0],s=u[1],l=u[3],f=c[e],p=s[e];if(a&&p)for(var h=0;h<p.length;++h)p[h](r,n,o);return i&&(delete l[e],f&&f[0])?f[0](N).then(function(){return t.get(e)}):t.get(e)},V=0,B=function(){return++V},U=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(void 0,void 0,void 0,function(){var e,r,n,o,a,c,p,h,d,v,m,y,g,b,w,x,P,C,E,_;return i(this,function(i){switch(i.label){case 0:if(e=t[0],r=t[1],n=t[2],c=!!s((a="boolean"==typeof(o=t[3])?{revalidate:o}:o||{}).populateCache)||a.populateCache,p=!1!==a.revalidate,h=!1!==a.rollbackOnError,d=a.optimisticData,m=(v=F(r))[0],y=v[2],!m)return[2];if(g=T.get(e)[2],t.length<3)return[2,G(e,m,e.get(m),u,u,p,!0)];if(b=n,x=B(),g[m]=[x,0],P=!s(d),C=e.get(m),P&&(E=l(d)?d(C):d,e.set(m,E),G(e,m,E)),l(b))try{b=b(e.get(m))}catch(t){w=t}if(!(b&&l(b.then)))return[3,2];return[4,b.catch(function(t){w=t})];case 1:if(b=i.sent(),x!==g[m][0]){if(w)throw w;return[2,b]}w&&P&&h&&(c=!0,b=C,e.set(m,C)),i.label=2;case 2:return c&&(w||(l(c)&&(b=c(b,C)),e.set(m,b)),e.set(y,f(e.get(y),{error:w}))),g[m][1]=B(),[4,G(e,m,b,w,u,p,!!c)];case 3:if(_=i.sent(),w)throw w;return[2,c?_:b]}})})},$=function(t,e){for(var r in t)t[r][0]&&t[r][0](e)},q=function(t,e){if(!T.has(t)){var r=f(k,e),n={},o=U.bind(u,t),i=a;if(T.set(t,[n,{},{},{},o]),!O){var c=r.initFocus(setTimeout.bind(u,$.bind(u,n,I))),s=r.initReconnect(setTimeout.bind(u,$.bind(u,n,D)));i=function(){c&&c(),s&&s(),T.delete(t)}}return[t,o,i]}return[t,T.get(t)[4]]},H=function(t,e,r,n,o){var i=r.errorRetryCount,a=o.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;
21(s(i)||!(a>i))&&setTimeout(n,u,o)},W=q(new Map),z=W[0],Q=f({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:H,onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:R?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:R?5e3:3e3,compare:function(t,e){return g(t)==g(e)},isPaused:function(){return!1},cache:z,mutate:W[1],fallback:{}},j),K=function(t,e){var r=f(t,e);if(e){var n=t.use,o=t.fallback,i=e.use,a=e.fallback;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=f(o,a))}return r},J=(0,n.createContext)({}),Y=function(t){var e=t.value,r=K((0,n.useContext)(J),e),o=e&&e.provider,i=(0,n.useState)(function(){return o?q(o(r.cache||z),e):u})[0];return i&&(r.cache=i[0],r.mutate=i[1]),A(function(){return i?i[2]:u},[]),(0,n.createElement)(J.Provider,f(t,{value:r}))},Z=function(t,e){var r=(0,n.useState)({})[1],o=(0,n.useRef)(t),i=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)(function(t){var n=!1,a=o.current;for(var u in t){var c=u;a[c]!==t[c]&&(a[c]=t[c],i.current[c]&&(n=!0))}n&&!e.current&&r({})},[]);return A(function(){o.current=t}),[o,i.current,a]},X=function(t){return l(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(null===t[1]?t[2]:t[1])||{}]},tt=function(){return f(Q,(0,n.useContext)(J))},te=function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=tt(),o=X(e),i=o[0],a=o[1],u=K(n,o[2]),c=t,s=u.use;if(s)for(var l=s.length;l-- >0;)c=s[l](c);return c(i,a||u.fetcher,u)}},tr=function(t,e,r){var n=e[t]||(e[t]=[]);return n.push(r),function(){var t=n.indexOf(r);t>=0&&(n[t]=n[n.length-1],n.pop())}},tn={dedupe:!0},to=function(t,e,r){var a=r.cache,c=r.compare,p=r.fallbackData,h=r.suspense,d=r.revalidateOnMount,v=r.refreshInterval,m=r.refreshWhenHidden,y=r.refreshWhenOffline,g=T.get(a),b=g[0],w=g[1],x=g[2],P=g[3],C=F(t),E=C[0],_=C[1],S=C[2],j=(0,n.useRef)(!1),k=(0,n.useRef)(!1),M=(0,n.useRef)(E),R=(0,n.useRef)(e),V=(0,n.useRef)(r),$=function(){return V.current},q=function(){return $().isVisible()&&$().isOnline()},H=function(t){return a.set(S,f(a.get(S),t))},W=a.get(E),z=s(p)?r.fallback[E]:p,Q=s(W)?z:W,K=a.get(S)||{},J=K.error,Y=!j.current,X=function(){return Y&&!s(d)?d:!$().isPaused()&&(h?!s(Q)&&r.revalidateIfStale:s(Q)||r.revalidateIfStale)},tt=function(){return!!E&&!!e&&(!!K.isValidating||Y&&X())}(),te=Z({data:Q,error:J,isValidating:tt},k),to=te[0],ti=te[1],ta=te[2],tu=(0,n.useCallback)(function(t){return o(void 0,void 0,void 0,function(){var e,n,o,f,p,h,d,v,m,y,g,b,w;return i(this,function(i){switch(i.label){case 0:if(e=R.current,!E||!e||k.current||$().isPaused())return[2,!1];f=!0,p=t||{},h=!P[E]||!p.dedupe,d=function(){return!k.current&&E===M.current&&j.current},v=function(){var t=P[E];t&&t[1]===o&&delete P[E]},m={isValidating:!1},y=function(){H({isValidating:!1}),d()&&ta(m)},H({isValidating:!0}),ta({isValidating:!0}),i.label=1;case 1:return i.trys.push([1,3,,4]),h&&(G(a,E,to.current.data,to.current.error,!0),r.loadingTimeout&&!a.get(E)&&setTimeout(function(){f&&d()&&$().onLoadingSlow(E,r)},r.loadingTimeout),P[E]=[e.apply(void 0,_),B()]),n=(w=P[E])[0],o=w[1],[4,n];case 2:if(n=i.sent(),h&&setTimeout(v,r.dedupingInterval),!P[E]||P[E][1]!==o)return h&&d()&&$().onDiscarded(E),[2,!1];if(H({error:u}),m.error=u,!s(g=x[E])&&(o<=g[0]||o<=g[1]||0===g[1]))return y(),h&&d()&&$().onDiscarded(E),[2,!1];return c(to.current.data,n)?m.data=to.current.data:m.data=n,c(a.get(E),n)||a.set(E,n),h&&d()&&$().onSuccess(n,E,r),[3,4];case 3:return b=i.sent(),v(),!$().isPaused()&&(H({error:b}),m.error=b,h&&d()&&($().onError(b,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||l(r.shouldRetryOnError)&&r.shouldRetryOnError(b))&&q()&&$().onErrorRetry(b,E,r,tu,{retryCount:(p.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return f=!1,y(),d()&&h&&G(a,E,m.data,m.error,!1),[2,!0]}})})},[E]),tc=(0,n.useCallback)(U.bind(u,a,function(){return M.current}),[]);if(A(function(){R.current=e,V.current=r}),A(function(){if(E){var t=E!==M.current,e=tu.bind(u,tn),r=function(t,e,r){ta(f({error:e,isValidating:r},c(to.current.data,t)?u:{data:t}))},n=0,o=function(t){if(t==I){var r=Date.now();$().revalidateOnFocus&&r>n&&q()&&(n=r+$().focusThrottleInterval,e())}else if(t==D)$().revalidateOnReconnect&&q()&&e();else if(t==N)return tu()},i=tr(E,w,r),a=tr(E,b,o);return k.current=!1,M.current=E,j.current=!0,t&&ta({data:Q,error:J,isValidating:tt}),X()&&(s(Q)||O?e():L(e)),function(){k.current=!0,i(),a()}}},[E,tu]),A(function(){var t;function e(){var e=l(v)?v(Q):v;e&&-1!==t&&(t=setTimeout(r,e))}function r(){!to.current.error&&(m||$().isVisible())&&(y||$().isOnline())?tu(tn).then(e):e()}return e(),function(){t&&(clearTimeout(t),t=-1)}},[v,m,y,tu]),(0,n.useDebugValue)(Q),h&&s(Q)&&E)throw R.current=e,V.current=r,k.current=!1,s(J)?tu(tn):J;return{mutate:tc,get data(){return ti.data=!0,Q},get error(){return ti.error=!0,J},get isValidating(){return ti.isValidating=!0,tt}}},ti=c.defineProperty(Y,"default",{value:Q}),ta=te(to);function tu(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){r(t);return}u.done?e(c):Promise.resolve(c).then(n,o)}function tc(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){tu(i,n,o,a,u,"next",t)}function u(t){tu(i,n,o,a,u,"throw",t)}a(void 0)})}}function ts(){return(ts=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
vendor: 4,531 bytes, line 21
21for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var tl=function(t,e){return t(e={exports:{}},e.exports),e.exports}(function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=Object.create((e&&e.prototype instanceof m?e:m).prototype),i=new O(n||[]);return o._invoke=_(t,r,i),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function m(){}function y(){}function g(){}var b={};c(b,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(L([])));x&&x!==r&&n.call(x,i)&&(b=x);var P=g.prototype=m.prototype=Object.create(b);function C(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function E(t,e){var r;function o(r,i,a,u){var c=l(t[r],t,i);if("throw"===c.type)u(c.arg);else{var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){o("next",t,a,u)},function(t){o("throw",t,a,u)}):e.resolve(f).then(function(t){s.value=t,a(s)},function(t){return o("throw",t,a,u)})}}function i(t,n){function i(){return new e(function(e,r){o(t,n,e,r)})}return r=r?r.then(i,i):i()}this._invoke=i}function _(t,e,r){var n=f;return function(o,i){if(n===h)throw Error("Generator is already running");if(n===d){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return v;r.method="throw",r.arg=TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:e,done:!0}}return y.prototype=g,c(P,"constructor",g),c(g,"constructor",y),y.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(P),t},t.awrap=function(t){return{__await:t}},C(E.prototype),c(E.prototype,a,function(){return this}),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},C(P),c(P,u,"Generator"),c(P,i,function(){return this}),c(P,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
21h(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else if(s){if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return(a.type=t,a.arg=e,i)?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}),tf=void 0,tp=function(){if(tf){var t=tf,e=t.cache,r=t.mutate;Array.from(e.keys()).forEach(function(t){r(t)})}};function th(){return{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1}}function td(t,e){var r=n.useContext(ty),o=th();r&&(o.suspense=!0);var i=tt();n.useEffect(function(){tf=i},[i]);var a=ta(t,n.useMemo(function(){return tC(e)},[e]),o);return a.data?{data:a.data}:a.error?{error:a.error}:{isLoading:!0}}function tv(t,e,r){var o=n.useContext(ty),i=ts({},th(),r);o&&(i.suspense=!0);var a=tt();n.useEffect(function(){tf=a},[a]);var u=n.useState(!1),c=u[0],s=u[1],l=ta(t,n.useCallback(tc(tl.mark(function t(){var r=arguments;return tl.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s(!0),t.prev=1,t.next=4,tC(e).apply(void 0,r);case 4:return t.abrupt("return",t.sent);case 5:return t.prev=5,s(!1),t.finish(5);case 8:case"end":return t.stop()}},t,null,[[1,,5,8]])}
21)),[e]),i),f=l.isValidating,p=l.mutate,h=l.data,d=l.error;return n.useMemo(function(){return ts({isValidating:f,mutate:p,isLoading:void 0===h&&void 0===d||c},void 0!==h?{data:h}:{},void 0!==d?{error:d}:{})},[f,p,h,d,c])}function tm(t){var e=t.children,r=t.suspense,o=t.prefetchedCache;return n.useContext(ty)?n.createElement(n.Fragment,null,e):n.createElement(ti,{value:{fallback:null!=o?o:{},suspense:r}},e)}var ty=n.createContext(!1);function tg(t){var e=t.cache,r=t.children;return n.createElement(ty.Provider,{value:!0},n.createElement(ti,{value:{provider:function(){return e},suspense:!0,fallback:{}}},r))}function tb(){return tt()}var tw=0,tx=[];function tP(t,e){return tx.push(t),null!=e&&e.immediate&&t(tw>0),function(){tx.splice(tx.indexOf(t),1)}}function tC(t){return tc(tl.mark(function e(){var r,n=arguments;return tl.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0===tw&&tx.forEach(function(t){return t(!0)}),tw+=1,e.prev=2,!tE(r=t.apply(void 0,n))){e.next=10;break}return e.next=7,r;case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0=r;case 11:return e.abrupt("return",e.t0);case 12:return e.prev=12,0==(tw-=1)&&tx.forEach(function(t){return t(!1)}),e.finish(12);case 16:case"end":return e.stop()}},e,null,[[2,,12,16]])}))}function tE(t){return!!t&&"object"==typeof t&&"then"in t&&"function"==typeof t.then}if("undefined"!=typeof window){var t_=window,tS=t_.__SWRMutateAllKeys;t_.__SWRMutateAllKeys=function(){tp(),"function"==typeof tS&&tS()}}},167:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return tN}});var n=r(7294);function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var i=60103,a=60106,u=60107,c=60108,s=60114,l=60109,f=60110,p=60111,h=60112,d=60113,v=60115,m=60116;if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;i=y("react.element"),a=y("react.portal"),u=y("react.fragment"),c=y("react.strict_mode"),s=y("react.profiler"),l=y("react.provider"),f=y("react.context"),p=Symbol.for("react.concurrent_mode"),h=y("react.forward_ref"),d=y("react.suspense"),v=y("react.memo"),m=y("react.lazy")}var g=i,b=a,w=u,x=c,P=s,C=l,E=f,_=p,S=h,j=d,k=v,O=m,L=function(t){return t.prototype&&t.prototype.isReactComponent},A=n.Children.toArray,M=function(t){return null!==t&&"object"==typeof t},R=function(t){return A(t).filter(M)},F=function(t,e){return"object"==typeof e?o({},e,t):t},T=new Map,I={},D=void 0,N=void 0,G=function(){return o({},I)},V=function(){return new Map(T)},B=function(){var t=D;return D=void 0,t},U=function(){var t=N;return N=void 0,t},$=function(t){void 0!==t&&o(I,t)},q=function(t){void 0!==t&&T.set(t[0],t[1])},H=function(t){D=void 0,I=t},W=function(t){N=void 0,T=t},z=function(t){var e=T.get(t);return void 0!==e?e:t._currentValue},Q={},K=function(t){var e=t.contextType,r=t.contextTypes;if(e)return z(e);if(!r)return Q;var n={};for(var o in r)n[o]=I[o];return n},J=null,Y=function(){return J},Z=function(t){J=t||null},X={current:{uniqueID:0}},tt="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},te=null,tr=function(t){te=t},tn=function(){if(null===te)throw Error("[react-ssr-prepass] Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)");return te},to=null,ti=null,ta=!1,tu=null,tc=0,ts=function(t){to=t};function tl(){return null===ti?null===to?to=ti={memoizedState:null,queue:null,next:null}:ti=to:ti=null===ti.next?ti.next={memoizedState:null,queue:null,next:null}:ti.next}function tf(t,e){return"function"==typeof e?e(t):e}function tp(t,e,r){var n,o=tn();null===(ti=tl()).queue&&(n=t===tf?"function"==typeof e?e():e:void 0!==r?r(e):e,ti.memoizedState=n);var i=ti.queue||(ti.queue={last:null,dispatch:null}),a=i.dispatch||(i.dispatch=tv.bind(null,o,i));if(null!==tu){var u=tu.get(i);if(void 0!==u){tu.delete(i);var c=ti.memoizedState,s=u;do c=t(c,s.action),s=s.next;while(null!==s);ti.memoizedState=c}}return[ti.memoizedState,a]}function th(t,e){tn();var r=void 0===e?null:e,n=(ti=tl()).memoizedState;if(null!==n&&null!==r&&function(t,e){if(null===e)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!tt(t[r],e[r]))return!1;return!0}(r,n[1]))return n[0];var o=t();return ti.memoizedState=[o,r],o}function td(){return tn(),(ti=tl()).memoizedState||(ti.memoizedState="R:"+(X.current.uniqueID++).toString(36)),ti.memoizedState}function tv(t,e,r){if(t===te){ta=!0;var n={action:r,next:null};null===tu&&(tu=new Map);var o=tu.get(e);if(void 0===o)tu.set(e,n);else{for(var i=o;null!==i.next;)i=i.next;i.next=n}}}function tm(){}function ty(t){t()}var tg={readContext:function(t,e){return z(t)},useSyncExternalStore:function(t,e,r){return e()},useContext:function(t,e){return tn(),z(t)},useMemo:th,useReducer:tp,useRef:function(t){tn();var e=(ti=tl()).memoizedState;if(null!==e)return e;var r={current:t};return ti.memoizedState=r,r},useState:function(t){return tp(tf,t)},useCallback:function(t,e){return th(function(){return t},e)},useMutableSource:function(t,e,r){return tn(),e(t._source)},useTransition:function(){return[ty,!1]},useDeferredValue:function(t){return t},useOpaqueIdentifier:td,useId:td,unstable_useId:td,unstable_useOpaqueIdentifier:td,useLayoutEffect:tm,useImperativeHandle:tm,useEffect:tm,useDebugValue:tm}
21,tb=function(t){return t.displayName?t.displayName:L(t)?t.constructor.name:t.name},tw=function(t,e,r){return{contextMap:G(),contextStore:V(),id:tn(),hook:to,kind:"frame.hooks",errorFrame:Y(),thenable:r,props:e,type:t}},tx=function(t,e,r){try{return function(t,e,r){ti=null;for(var n=t(e,r);tc<25&&ta;)ta=!1,tc+=1,ti=null,n=t(e,r);return tc=0,tu=null,ti=null,n}(t,F(e,t.defaultProps),K(t))}catch(n){if("function"!=typeof n.then)return console.warn("PLASMIC: Encountered error when pre-rendering "+tb(t)+": "+n),null;return r.push(tw(t,e,n)),null}};function tP(){return!1}function tC(){return null}var tE=function(t,e){var r,n={_thrown:0,queue:r=[],isMounted:tP,enqueueForceUpdate:tC,enqueueReplaceState:function(t,e){t._isMounted&&(r.length=0,r.push(e))},enqueueSetState:function(t,e){t._isMounted&&r.push(e)}},i=F(e,t.defaultProps),a=K(t),u=new t(i,a,n);if(u.props=i,u.context=a,u.updater=n,u._isMounted=!0,void 0===u.state&&(u.state=null),"function"==typeof u.componentDidCatch||"function"==typeof t.getDerivedStateFromError){var c=t_(t,u,null);c.errorFrame=c,Z(c)}if("function"==typeof t.getDerivedStateFromProps){var s=(0,t.getDerivedStateFromProps)(u.props,u.state);null!=s&&(u.state=o({},u.state,s))}else"function"==typeof u.componentWillMount?u.componentWillMount():"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount();return u},t_=function(t,e,r){return{contextMap:G(),contextStore:V(),errorFrame:Y(),thenable:r,kind:"frame.class",error:null,instance:e,type:t}},tS=function(t,e,r){!function(t){var e=t.updater.queue;if(e.length>0){for(var r=o({},t.state),n=0,i=e.length;n<i;n++){var a=e[n],u="function"==typeof a?a.call(t,r,t.props,t.context):a;null!==u&&o(r,u)}t.state=r,e.length=0}}(e);var n=null;try{n=e.render()}catch(n){if("function"!=typeof n.then)return console.warn("PLASMIC: Encountered error when pre-rendering component "+tb(t)+". This is fine as long as you are not fetching data with @plasmicapp/query inside this component.  Error: "+n),null;return r.push(t_(t,e,n)),null}if(void 0!==t.childContextTypes&&"function"==typeof e.getChildContext){var i=e.getChildContext();null!==i&&"object"==typeof i&&function(t){for(var e in D={},t)D[e]=I[e],I[e]=t[e]}(i)}if("function"!=typeof e.getDerivedStateFromProps&&("function"==typeof e.componentWillMount||"function"==typeof e.UNSAFE_componentWillMount)&&"function"==typeof e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){}return e._isMounted=!1,n},tj=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,tk="function"==typeof setImmediate,tO=function(t,e,r,n,o){return L(t)?function(t,e,r,n,o){tr(null);var i=tE(t,e),a=n(o,i);return a?(r.push(t_(t,i,a)),null):tS(t,i,r)}(t,e,r,n,o):function(t,e,r,n,o){ts(null),tr({});var i=n(o);return i?(r.push(tw(t,e,i)),null):tx(t,e,r)}(t,e,r,n,o)},tL=function(t,e,r){switch(function(t){switch(t.$$typeof){case b:return b;case g:switch(t.type){case _:return _;case w:return w;case P:return P;case x:return x;case j:return j;default:switch(t.type&&t.type.$$typeof){case O:return O;case k:return k;case E:return E;case C:return C;case S:return S;default:return g}}default:return}}(t)){case j:case x:case _:case P:case w:return R(t.props.children);case C:var o=t.props,i=o.children;return!function(t,e){N=[t,T.get(t)],T.set(t,e)}(t.type._context,o.value),R(i);case E:var a=t.props.children;if("function"!=typeof a)return[];var u=t.type;return R(a(z("object"==typeof u._context?u._context:u)));case O:return R(null);case k:return R((0,n.createElement)(t.type.type,t.props));case S:var c=t.type,s=c.render,l=F(t.props,c.defaultProps);return R((0,n.createElement)(s,l));case g:if("string"==typeof t.type)return R(t.props.children);return R(tO(t.type,t.props,e,r,t));default:return[]}},tA=function(t,e,r,n,o,i){var a=tj.current,u=Date.now();try{for(tj.current=tg;t.length>0;){var c=t[t.length-1].shift();if(void 0!==c){var s=tL(c,o,i);t.push(s),e.push(B()),r.push(U()),n.push(Y())}else t.pop(),$(e.pop()),q(r.pop()),Z(n.pop());if(tk&&Date.now()-u>5)return!0}return!1}catch(t){var l=Y();if(!l)throw t;return l.error=t,o.unshift(l),!1}finally{tj.current=a}},tM=function(t,e,r,n){return{contextMap:G(),contextStore:V(),errorFrame:Y(),thenable:null,kind:"frame.yield",traversalChildren:t,traversalMap:e,traversalStore:r,traversalErrorFrame:n}},tR=function(t,e,r){var n=[t],o=[B()],i=[U()],a=[Y()];tA(n,o,i,a,e,r)&&e.unshift(tM(n,o,i,a))},tF=function(t,e,r){if("frame.yield"===t.kind)tr(null),H(t.contextMap),W(t.contextStore),Z(t.errorFrame),tA(t.traversalChildren,t.traversalMap,t.traversalStore,t.traversalErrorFrame,e,r)&&e.unshift(tM(t.traversalChildren,t.traversalMap,t.traversalStore,t.traversalErrorFrame));else{var n=tj.current,o=null;tj.current=tg;try{"frame.class"===t.kind?o=function(t,e){if(tr(null),H(e.contextMap),W(e.contextStore),Z(e.errorFrame),e.error){if(++e.instance.updater._thrown>=25)return null;e.instance._isMounted=!0,"function"==typeof e.instance.componentDidCatch&&e.instance.componentDidCatch(e.error),"function"==typeof e.type.getDerivedStateFromError&&e.
21instance.updater.enqueueSetState(e.instance,e.type.getDerivedStateFromError(e.error))}return tS(e.type,e.instance,t)}(e,t):"frame.hooks"===t.kind?o=function(t,e){return ts(e.hook),tr(e.id),H(e.contextMap),W(e.contextStore),Z(e.errorFrame),tx(e.type,e.props,t)}(e,t):"frame.lazy"===t.kind&&(o=function(t,e){return tr(null),H(e.contextMap),W(e.contextStore),Z(e.errorFrame),null}(0,t))}catch(t){var i=Y();if(!i)throw t;i.error=t,e.unshift(i),o=null}finally{tj.current=n}tR(R(o),e,r)}};function tT(t,e){setImmediate(t)}var tI=function(t,e,r){var n=t.shift();return n?(tk&&"frame.yield"===n.kind&&(n.thenable=new Promise(tT)),Promise.resolve(n.thenable).then(function(){return function(t){X.current=t}(r),tF(n,t,e),tI(t,e,r)},function(r){if(!n.errorFrame)throw r;n.errorFrame.error=r,tF(n.errorFrame,t,e)})):Promise.resolve()},tD=function(){},tN=function(t,e){e||(e=tD);var r=[],n=X.current={uniqueID:0};H({}),W(new Map),Z(null);try{tR(R(t),r,e)}catch(t){return Promise.reject(t)}return tI(r,e,n)}},962:function(t,e,r){var n,o;!function(i,a){void 0!==(o="function"==typeof(n=a)?n.call(e,r,e,t):n)&&(t.exports=o)}(0,function(){"use strict";function t(t){for(var e=[],r=0,n=t.length;r<n;r++)-1===e.indexOf(t[r])&&e.push(t[r]);return e}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var e={}
21,r={"==":function(t,e){return t==e},"===":function(t,e){return t===e},"!=":function(t,e){return t!=e},"!==":function(t,e){return t!==e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"<":function(t,e,r){return void 0===r?t<e:t<e&&e<r},"<=":function(t,e,r){return void 0===r?t<=e:t<=e&&e<=r},"!!":function(t){return e.truthy(t)},"!":function(t){return!e.truthy(t)},"%":function(t,e){return t%e},log:function(t){return console.log(t),t},in:function(t,e){return!!e&&void 0!==e.indexOf&&-1!==e.indexOf(t)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(t,e,r){if(r<0){var n=String(t).substr(e);return n.substr(0,n.length+r)}return String(t).substr(e,r)},"+":function(){return Array.prototype.reduce.call(arguments,function(t,e){return parseFloat(t,10)+parseFloat(e,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(t,e){return parseFloat(t,10)*parseFloat(e,10)})},"-":function(t,e){return void 0===e?-t:t-e},"/":function(t,e){return t/e},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(t,e){return t.concat(e)},[])},var:function(t,e){var r=void 0===e?null:e,n=this;if(void 0===t||""===t||null===t)return n;for(var o=String(t).split("."),i=0;i<o.length;i++)if(null==n||void 0===(n=n[o[i]]))return r;return n},missing:function(){for(var t=[],r=Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<r.length;n++){var o=r[n],i=e.apply({var:o},this);(null===i||""===i)&&t.push(o)}return t},missing_some:function(t,r){var n=e.apply({missing:r},this);return r.length-n.length>=t?[]:n}};return e.is_logic=function(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)&&1===Object.keys(t).length},e.truthy=function(t){return(!Array.isArray(t)||0!==t.length)&&!!t},e.get_operator=function(t){return Object.keys(t)[0]},e.get_values=function(t){return t[e.get_operator(t)]},e.apply=function(t,n){if(Array.isArray(t))return t.map(function(t){return e.apply(t,n)});if(!e.is_logic(t))return t;var o,i,a,u,c,s=e.get_operator(t),l=t[s];if(Array.isArray(l)||(l=[l]),"if"===s||"?:"==s){for(o=0;o<l.length-1;o+=2)if(e.truthy(e.apply(l[o],n)))return e.apply(l[o+1],n);return l.length===o+1?e.apply(l[o],n):null}if("and"===s){for(o=0;o<l.length&&(i=e.apply(l[o],n),e.truthy(i));o+=1);return i}if("or"===s){for(o=0;o<l.length&&(i=e.apply(l[o],n),!e.truthy(i));o+=1);return i}if("filter"===s)return(u=e.apply(l[0],n),a=l[1],Array.isArray(u))?u.filter(function(t){return e.truthy(e.apply(a,t))}):[];if("map"===s)return(u=e.apply(l[0],n),a=l[1],Array.isArray(u))?u.map(function(t){return e.apply(a,t)}):[];if("reduce"===s)return(u=e.apply(l[0],n),a=l[1],c=void 0!==l[2]?l[2]:null,Array.isArray(u))?u.reduce(function(t,r){return e.apply(a,{current:r,accumulator:t})},c):c;if("all"===s){if(u=e.apply(l[0],n),a=l[1],!Array.isArray(u)||!u.length)return!1;for(o=0;o<u.length;o+=1)if(!e.truthy(e.apply(a,u[o])))return!1;return!0}else if("none"===s){if(u=e.apply(l[0],n),a=l[1],!Array.isArray(u)||!u.length)return!0;for(o=0;o<u.length;o+=1)if(e.truthy(e.apply(a,u[o])))return!1;return!0}else if("some"===s){if(u=e.apply(l[0],n),a=l[1],!Array.isArray(u)||!u.length)return!1;for(o=0;o<u.length;o+=1)if(e.truthy(e.apply(a,u[o])))return!0;return!1}if(l=l.map(function(t){return e.apply(t,n)}),r.hasOwnProperty(s)&&"function"==typeof r[s])return r[s].apply(n,l);if(s.indexOf(".")>0){var f=String(s).split("."),p=r;for(o=0;o<f.length;o++){if(!p.hasOwnProperty(f[o]))throw Error("Unrecognized operation "+s+" (failed at "+f.slice(0,o+1).join(".")+")");p=p[f[o]]}return p.apply(n,l)}throw Error("Unrecognized operation "+s)},e.uses_data=function(r){var n=[];if(e.is_logic(r)){var o=e.get_operator(r),i=r[o];Array.isArray(i)||(i=[i]),"var"===o?n.push(i[0]):i.forEach(function(t){n.push.apply(n,e.uses_data(t))})}return t(n)},e.add_operation=function(t,e){r[t]=e},e.rm_operation=function(t){delete r[t]},e.rule_like=function(t,r){if(r===t||"@"===r)return!0;if("number"===r)return"number"==typeof t;if("string"===r)return"string"==typeof t;if("array"===r)return Array.isArray(t)&&!e.is_logic(t);if(e.is_logic(r)){if(e.is_logic(t)){var n=e.get_operator(r),o=e.get_operator(t);if("@"===n||n===o)return e.rule_like(e.get_values(t,!1),e.get_values(r,!1))}return!1}if(Array.isArray(r)&&Array.isArray(t)){if(r.length!==t.length)return!1;for(var i=0;i<r.length;i+=1)if(!e.rule_like(t[i],r[i]))return!1;return!0}return!1},e})},3144:function(t){"use strict";let e=self.fetch.bind(self);t.exports=e,t.exports.default=t.exports},3454:function(t,e,r){"use strict";var n,o;t.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(7663)},1516:function(t,e){"use strict";function r(t,e,r,n){return!1}
21Object.defineProperty(e,"__esModule",{value:!0}),e.getDomainLocale=r,("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},5569:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(2648).Z,o=r(7273).Z,i=n(r(7294)),a=r(4532),u=r(3353),c=r(1410),s=r(9064),l=r(370),f=r(9955),p=r(4224),h=r(508),d=r(1516),v=r(4266);let m=new Set;function y(t,e,r,n,o){if(o||u.isLocalURL(e)){if(!n.bypassPrefetchedCheck){let o=void 0!==n.locale?n.locale:"locale"in t?t.locale:void 0,i=e+"%"+r+"%"+o;if(m.has(i))return;m.add(i)}Promise.resolve(t.prefetch(e,r,n)).catch(t=>{})}}function g(t){let e=t.currentTarget,r=e.getAttribute("target");return r&&"_self"!==r||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}function b(t,e,r,n,o,a,c,s,l,f){let{nodeName:p}=t.currentTarget,h="A"===p.toUpperCase();if(h&&(g(t)||!l&&!u.isLocalURL(r)))return;t.preventDefault();let d=()=>{"beforePopState"in e?e[o?"replace":"push"](r,n,{shallow:a,locale:s,scroll:c}):e[o?"replace":"push"](n||r,{forceOptimisticNavigation:!f})};l?i.default.startTransition(d):d()}function w(t){return"string"==typeof t?t:c.formatUrl(t)}let x=i.default.forwardRef(function(t,e){let r,n;let{href:u,as:c,children:m,prefetch:g,passHref:x,replace:P,shallow:C,scroll:E,locale:_,onClick:S,onMouseEnter:j,onTouchStart:k,legacyBehavior:O=!1}=t,L=o(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);r=m,O&&("string"==typeof r||"number"==typeof r)&&(r=i.default.createElement("a",null,r));let A=!1!==g,M=i.default.useContext(f.RouterContext),R=i.default.useContext(p.AppRouterContext),F=null!=M?M:R,T=!M,{href:I,as:D}=i.default.useMemo(()=>{if(!M){let t=w(u);return{href:t,as:c?w(c):t}}let[t,e]=a.resolveHref(M,u,!0);return{href:t,as:c?a.resolveHref(M,c):e||t}},[M,u,c]),N=i.default.useRef(I),G=i.default.useRef(D);O&&(n=i.default.Children.only(r));let V=O?n&&"object"==typeof n&&n.ref:e,[B,U,$]=h.useIntersection({rootMargin:"200px"}),q=i.default.useCallback(t=>{(G.current!==D||N.current!==I)&&($(),G.current=D,N.current=I),B(t),V&&("function"==typeof V?V(t):"object"==typeof V&&(V.current=t))},[D,V,I,$,B]);i.default.useEffect(()=>{F&&U&&A&&y(F,I,D,{locale:_},T)},[D,I,U,_,A,null==M?void 0:M.locale,F,T]);let H={ref:q,onClick(t){O||"function"!=typeof S||S(t),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),F&&!t.defaultPrevented&&b(t,F,I,D,P,C,E,_,T,A)},onMouseEnter(t){O||"function"!=typeof j||j(t),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),F&&(A||!T)&&y(F,I,D,{locale:_,priority:!0,bypassPrefetchedCheck:!0},T)},onTouchStart(t){O||"function"!=typeof k||k(t),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),F&&(A||!T)&&y(F,I,D,{locale:_,priority:!0,bypassPrefetchedCheck:!0},T)}};if(s.isAbsoluteUrl(D))H.href=D;else if(!O||x||"a"===n.type&&!("href"in n.props)){let t=void 0!==_?_:null==M?void 0:M.locale,e=(null==M?void 0:M.isLocaleDomain)&&d.getDomainLocale(D,t,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);H.href=e||v.addBasePath(l.addLocale(D,t,null==M?void 0:M.defaultLocale))}return O?i.default.cloneElement(n,H):i.default.createElement("a",Object.assign({},L,H),r)});var P=x;e.default=P,("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},508:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useIntersection=l;var n=r(7294),o=r(29);let i="function"==typeof IntersectionObserver,a=new Map,u=[];function c(t){let e;let r={root:t.root||null,margin:t.rootMargin||""},n=u.find(t=>t.root===r.root&&t.margin===r.margin);if(n&&(e=a.get(n)))return e;let o=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{let e=o.get(t.target),r=t.isIntersecting||t.intersectionRatio>0;e&&r&&e(r)})},t);return e={id:r,observer:i,elements:o},u.push(r),a.set(r,e),e}function s(t,e,r){let{id:n,observer:o,elements:i}=c(r);return i.set(t,e),o.observe(t),function(){if(i.delete(t),o.unobserve(t),0===i.size){o.disconnect(),a.delete(n);let t=u.findIndex(t=>t.root===n.root&&t.margin===n.margin);t>-1&&u.splice(t,1)}}}function l(t){let{rootRef:e,rootMargin:r,disabled:a}=t,u=a||!i,[c,l]=n.useState(!1),f=n.useRef(null),p=n.useCallback(t=>{f.current=t},[]);n.useEffect(()=>{if(i){if(u||c)return;let t=f.current;if(t&&t.tagName){let n=s(t,t=>t&&l(t),{root:null==e?void 0:e.current,rootMargin:r});return n}}
21else if(!c){let t=o.requestIdleCallback(()=>l(!0));return()=>o.cancelIdleCallback(t)}},[u,r,e,c,f.current]);let h=n.useCallback(()=>{l(!1)},[]);return[p,c,h]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1864:function(t){var e="/";!function(){"use strict";var r={114:function(t){function e(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function r(t,e){for(var r,n="",o=0,i=-1,a=0,u=0;u<=t.length;++u){if(u<t.length)r=t.charCodeAt(u);else if(47===r)break;else r=47;if(47===r){if(i===u-1||1===a);else if(i!==u-1&&2===a){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",o=0):o=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),i=u,a=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=u,a=0;continue}}e&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+t.slice(i+1,u):n=t.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===r&&-1!==a?++a:a=-1}return n}function n(t,e){var r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+n:r+t+n:n}var o={resolve:function(){for(var t,n,o="",i=!1,a=arguments.length-1;a>=-1&&!i;a--)a>=0?n=arguments[a]:(void 0===t&&(t=""),n=t),e(n),0!==n.length&&(o=n+"/"+o,i=47===n.charCodeAt(0));return(o=r(o,!i),i)?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(t){if(e(t),0===t.length)return".";var n=47===t.charCodeAt(0),o=47===t.charCodeAt(t.length-1);return(0!==(t=r(t,!n)).length||n||(t="."),t.length>0&&o&&(t+="/"),n)?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,r=0;r<arguments.length;++r){var n=arguments[r];e(n),n.length>0&&(void 0===t?t=n:t+="/"+n)}return void 0===t?".":o.normalize(t)},relative:function(t,r){if(e(t),e(r),t===r||(t=o.resolve(t))===(r=o.resolve(r)))return"";for(var n=1;n<t.length&&47===t.charCodeAt(n);++n);for(var i=t.length,a=i-n,u=1;u<r.length&&47===r.charCodeAt(u);++u);for(var c=r.length-u,s=a<c?a:c,l=-1,f=0;f<=s;++f){if(f===s){if(c>s){if(47===r.charCodeAt(u+f))return r.slice(u+f+1);if(0===f)return r.slice(u+f)}else a>s&&(47===t.charCodeAt(n+f)?l=f:0===f&&(l=0));break}var p=t.charCodeAt(n+f);if(p!==r.charCodeAt(u+f))break;47===p&&(l=f)}var h="";for(f=n+l+1;f<=i;++f)(f===i||47===t.charCodeAt(f))&&(0===h.length?h+="..":h+="/..");return h.length>0?h+r.slice(u+l):(u+=l,47===r.charCodeAt(u)&&++u,r.slice(u))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var r=t.charCodeAt(0),n=47===r,o=-1,i=!0,a=t.length-1;a>=1;--a)if(47===(r=t.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return -1===o?n?"/":".":n&&1===o?"//":t.slice(0,o)},basename:function(t,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');e(t);var n,o=0,i=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var u=r.length-1,c=-1;for(n=t.length-1;n>=0;--n){var s=t.charCodeAt(n);if(47===s){if(!a){o=n+1;break}}else -1===c&&(a=!1,c=n+1),u>=0&&(s===r.charCodeAt(u)?-1==--u&&(i=n):(u=-1,i=c))}return o===i?i=c:-1===i&&(i=t.length),t.slice(o,i)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!a){o=n+1;break}}else -1===i&&(a=!1,i=n+1);return -1===i?"":t.slice(o,i)},extname:function(t){e(t);for(var r=-1,n=0,o=-1,i=!0,a=0,u=t.length-1;u>=0;--u){var c=t.charCodeAt(u);if(47===c){if(!i){n=u+1;break}continue}-1===o&&(i=!1,o=u+1),46===c?-1===r?r=u:1!==a&&(a=1):-1!==r&&(a=-1)}return -1===r||-1===o||0===a||1===a&&r===o-1&&r===n+1?"":t.slice(r,o)},format:function(t){if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return n("/",t)},parse:function(t){e(t);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var o=t.charCodeAt(0),i=47===o;i?(n.root="/",r=1):r=0;for(var a=-1,u=0,c=-1,s=!0,l=t.length-1,f=0;l>=r;--l){if(47===(o=t.charCodeAt(l))){if(!s){u=l+1;break}continue}-1===c&&(s=!1,c=l+1),46===o?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1)}return -1===a||-1===c||0===f||1===f&&a===c-1&&a===u+1?-1!==c&&(0===u&&i?n.base=n.name=t.slice(1,c):n.base=n.name=t.slice(u,c)):(0===u&&i?(n.name=t.slice(1,a),n.base=t.slice(1,c)):(n.name=t.slice(u,a),n.base=t.slice(u,c)),n.ext=t.slice(a,c)),u>0?n.dir=t.slice(0,u-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,t.exports=o}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}},a=!0;try{r[t](i,i.exports,o),a=!1}finally{a&&delete n[t]}return i.exports}o.ab=e+"/";var i=o(114);t.exports=i}()},7663:function(t){var e="/";!function(){var r={229:function(t){var e,r,n,o=t.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function u(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}function c(t){if(r===clearTimeout)return clearTimeout(t);
21if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s=[],l=!1,f=-1;function p(){l&&n&&(l=!1,n.length?s=n.concat(s):f=-1,s.length&&h())}function h(){if(!l){var t=u(p);l=!0;for(var e=s.length;e;){for(n=s,s=[];++f<e;)n&&n[f].run();f=-1,e=s.length}n=null,l=!1,c(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];s.push(new d(t,e)),1!==s.length||l||u(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}},a=!0;try{r[t](i,i.exports,o),a=!1}finally{a&&delete n[t]}return i.exports}o.ab=e+"/";var i=o(229);t.exports=i}()},9008:function(t,e,r){t.exports=r(2636)},1664:function(t,e,r){t.exports=r(5569)},1163:function(t,e,r){t.exports=r(6885)},8339:function(t){/*!
22 * pascalcase <https://github.com/jonschlinkert/pascalcase>
23 *
24 * Copyright (c) 2015-present, Jon ("Schlink") Schlinkert.
25 * Licensed under the MIT License.
26 */let e=t=>t[0].toLocaleUpperCase()+t.slice(1);t.exports=t=>{if(null==t||"function"!=typeof t.toString)return"";let r=t.toString().trim();if(""===r)return"";if(1===r.length)return r.toLocaleUpperCase();let n=r.match(/[a-zA-Z0-9]+/g);return n?n.map(t=>e(t)).join(""):r}}}]);

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