PageSourceSearch

https://www.sodexo.it/_next/static/chunks/93-685070200192a95e.js

js sodexo.it collected 2026-10-06 06:48:37 UTC 1,057,769 bytes, 152 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93],{60:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorMessages=void 0,function(e){e.IV_0006='[IV-0006] Incorrect value for "timeout". Set the value to an integer greater than or equal to 0.',e.IE_0002="[IE-0002] Timeout exceeded. The server did not respond within the allotted time."}(r||(t.ErrorMessages=r={}))},106:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});class n extends Error{constructor({_requestId:e,_canceled:t,...r}){super("Request canceled"),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="AbortError",this.response=r}getResponse(){return this.response}}},282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SITECORE_CLI_MODE_ENV_VAR=t.defineCliConfig=void 0;var n=r(10135);Object.defineProperty(t,"defineCliConfig",{enumerable:!0,get:function(){return n.defineCliConfig}});var i=r(34784);Object.defineProperty(t,"SITECORE_CLI_MODE_ENV_VAR",{enumerable:!0,get:function(){return i.SITECORE_CLI_MODE_ENV_VAR}})},310:e=>{"use strict";e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;let i=t.length,o=0,a="";do a+=e.substr(o,n-o)+t+r,o=n+i,n=e.indexOf(t,o);while(-1!==n);return a+e.substr(o)},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let i=0,o="";do{let a="\r"===e[n-1];o+=e.substr(i,(a?n-1:n)-i)+t+(a?"\r\n":"\n")+r,i=n+1,n=e.indexOf("\n",i)}while(-1!==n);return o+e.substr(i)}}},849:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SITECORE_AUTH_BASE_URL=t.DEFAULT_SITECORE_AUTH_AUDIENCE=t.DEFAULT_SITECORE_AUTH_DOMAIN=t.CLAIMS=t.HIDDEN_RENDERING_NAME=t.SITECORE_EDGE_URL_DEFAULT=t.siteNameError=t.SitecoreTemplateId=void 0,function(e){e.ContentSdkApp="061cba1554744b918a0617903b102b82",e.DictionaryEntry="6d1cd89719364a3aa511289a94c2a7b1"}(r||(t.SitecoreTemplateId=r={})),t.siteNameError="The siteName cannot be empty",t.SITECORE_EDGE_URL_DEFAULT="https://edge-platform.sitecorecloud.io",t.HIDDEN_RENDERING_NAME="Hidden Rendering",t.CLAIMS="https://auth.sitecorecloud.io/claims",t.DEFAULT_SITECORE_AUTH_DOMAIN="https://auth.sitecorecloud.io",t.DEFAULT_SITECORE_AUTH_AUDIENCE="https://api.sitecorecloud.io",t.DEFAULT_SITECORE_AUTH_BASE_URL="https://edge-platform.sitecorecloud.io/cs/api"},862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryCacheClient=void 0;let n=r(81187),i=Object.freeze({cacheTimeout:60,cacheEnabled:!0});class o{constructor(e){var t;this.options=e,this.cache=new n.Cache,this.options.cacheTimeout=(null!=(t=this.options.cacheTimeout)?t:i.cacheTimeout)*1e3,void 0===this.options.cacheEnabled&&(this.options.cacheEnabled=i.cacheEnabled)}getCacheValue(e){return this.options.cacheEnabled?this.cache.get(e):null}setCacheValue(e,t){return this.options.cacheEnabled?this.cache.put(e,t,this.options.cacheTimeout):t}}t.MemoryCacheClient=o},963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return a},getRedirectStatusCodeFromError:function(){return d},getRedirectTypeFromError:function(){return c},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return u},redirect:function(){return s}});let n=r(57258),i=r(29212),o=void 0;function a(e,t,r){void 0===r&&(r=n.RedirectStatusCode.TemporaryRedirect);let o=Object.defineProperty(Error(i.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return o.digest=i.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",o}function s(e,t){var r;throw null!=t||(t=(null==o||null==(r=o.getStore())?void 0:r.isAction)?i.RedirectType.push:i.RedirectType.replace),a(e,t,n.RedirectStatusCode.TemporaryRedirect)}function u(e,t){throw void 0===t&&(t=i.RedirectType.replace),a(e,t,n.RedirectStatusCode.PermanentRedirect)}function l(e){return(0,i.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function c(e){if(!(0,i.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,
1configurable:!0});return e.digest.split(";",2)[1]}function d(e){if(!(0,i.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityEvent=void 0;let n=r(31356),i=r(29088),o=r(52094),a=r(65036);class s extends i.BaseEvent{constructor(e){let{channel:t,currency:r,language:i,page:s,extensionData:u}=e.identityData;if(super({channel:t,currency:r,language:i,page:s},e.id),this.extensionData={},this.numberOfExtensionDataProperties=0,this.validateAttributes(e.identityData),this.identityData=e.identityData,this.sendEvent=e.sendEvent,this.settings=e.settings,u&&(this.extensionData=(0,n.flattenObject)({object:u})),this.numberOfExtensionDataProperties=Object.entries(this.extensionData).length,this.numberOfExtensionDataProperties>a.MAX_EXT_ATTRIBUTES)throw Error(o.ErrorMessages.IV_0005)}validateAttributes(e){if(0===e.identifiers.length)throw Error(o.ErrorMessages.MV_0003);if(void 0!==e.dob&&!(0,n.isShortISODateString)(e.dob))throw Error(o.ErrorMessages.IV_0002);if(e.identifiers.forEach(e=>{if(e.expiryDate&&!(0,n.isShortISODateString)(e.expiryDate))throw Error(o.ErrorMessages.IV_0004)}),e.email&&!(0,n.isValidEmail)(e.email))throw Error(o.ErrorMessages.IV_0003)}mapAttributes(){let e={city:this.identityData.city,country:this.identityData.country,dob:this.identityData.dob,email:this.identityData.email,firstname:this.identityData.firstName,gender:this.identityData.gender,identifiers:this.identityData.identifiers.map(e=>({expiry_date:e.expiryDate,id:e.id,provider:e.provider})),lastname:this.identityData.lastName,mobile:this.identityData.mobile,phone:this.identityData.phone,postal_code:this.identityData.postalCode,state:this.identityData.state,street:this.identityData.street,title:this.identityData.title,type:"IDENTITY"};return this.numberOfExtensionDataProperties>0&&(e.ext=this.extensionData),e}async send(){let e=this.mapBaseEventPayload(),t=Object.assign({},this.mapAttributes(),e);return await this.sendEvent(t,this.settings)}}t.IdentityEvent=s},1055:e=>{"use strict";e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=void 0,i=void 0,o=void 0,a=[];return function(){var u,l,c="function"==typeof(u=t)?u():u,d=new Date().getTime(),f=!n||d-n>c;n=d;for(var p=arguments.length,h=Array(p),m=0;m<p;m++)h[m]=arguments[m];if(f&&r.leading)return r.accumulate?Promise.resolve(e.call(this,[h])).then(function(e){return e[0]}):Promise.resolve(e.call.apply(e,[this].concat(h)));if(i?clearTimeout(o):((l={}).promise=new Promise(function(e,t){l.resolve=e,l.reject=t}),i=l),a.push(h),o=setTimeout(s.bind(this),c),r.accumulate){var y=a.length-1;return i.promise.then(function(e){return e[y]})}return i.promise};function s(){var t=i;clearTimeout(o),Promise.resolve(r.accumulate?e.call(this,a):e.apply(this,a[a.length-1])).then(t.resolve,t.reject),a=[],i=null}}},1242:(e,t,r)=>{"use strict";r.d(t,{H4:()=>f,OQ:()=>p,tD:()=>c});var n=r(4902),i=r(80542);function o(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var a=r(8190),s=r(83070),u=r(54868),l=Object.prototype.hasOwnProperty;function c(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,a,l,c,f,p,h,m,y,v,g,b,E,_,O,w,S,C,T,R,P,A,I;return(0,n.YH)(this,function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),a=null==(I=e.headers)?void 0:I.get("content-type"),l="boundary=",c=(null==a?void 0:a.includes(l))?null==a?void 0:a.substring((null==a?void 0:a.indexOf(l))+l.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",f="\r\n--".concat(c),p="",h=function(e){var t,r,n,a,s,u,l=e;if(e.body&&(l=e.body),t=l,i.uJ&&t[Symbol.asyncIterator])return n=l[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(l.getReader)return o(l.getReader());if(l.stream)return o(l.stream().getReader());if(l.arrayBuffer)return a=l.arrayBuffer(),s=!1,u={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){a.then(function(t){e({value:t,done:!1})}).catch(t)}))}},i.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u;if(l.pipe)return function(e){var t=null,r=null,n=!1,o=[],a=[];function s(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}
1function u(e){r=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function l(){n=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",s),e.on("error",u),e.on("end",l),e.on("finish",l),e.on("close",l);var c={next:function(){return new Promise(function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void a.push([e,t])})}};return i.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}(l);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),m=!0,D.label=1;case 1:if(!m)return[3,3];return[4,h.next()];case 2:for(v=(y=D.sent()).value,g=y.done,b="string"==typeof v?v:r.decode(v),E=p.length-f.length+1,m=!g,p+=b,_=p.indexOf(f,E);_>-1;){if(O=void 0,O=(P=[p.slice(0,_),p.slice(_+f.length)])[0],p=P[1],w=O.indexOf("\r\n\r\n"),(S=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(O.slice(0,w))["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(C=O.slice(w)){if(Object.keys(T=d(e,C)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T)if((0,u.Nw)(T)){if(R={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];R=(0,n.Cl)({},T.payload)}"errors"in T&&(R=(0,n.Cl)((0,n.Cl)({},R),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in R?R.extensions:null),((A={})[s.K$]=T.errors,A))})),t(R)}else t(T);else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}_=p.indexOf(f)}return[3,1];case 3:return[2]}})})}function d(e,t){e.status>=300&&(0,a.A)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function f(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function p(e){return function(t){return t.text().then(function(e){return d(t,e)}).then(function(r){return Array.isArray(r)||l.call(r,"data")||l.call(r,"errors")||(0,a.A)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}}},1291:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.mediaApi=void 0,t.mediaApi=a(r(29034))},1602:(e,t,r)=>{var n=r(19031);e.exports=function(){return n.Date.now()}},1609:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToFormSubmitEvent=t.executeScriptElements=t.loadForm=void 0;let i=r(65234),o=r(83308),a=n(r(3107));t.loadForm=async(e,t,r)=>{if(!e)return a.default.form("Form was not able to render since context id was not provided"),"";let n=(0,o.getEdgeProxyFormsUrl)(e,t,r);try{a.default.form(`Fetching form data from ${n}`);let e=await fetch(n,{method:"GET",cache:"no-cache"});if(200!==e.status)throw Error("Failed to fetch form data");let t=await e.text();return a.default.form(`Form data fetch response: ${t}`),t}catch(e){throw a.default.form(`Form '${t}' was not able to render`,e),e}},t.executeScriptElements=e=>{let t=e.querySelectorAll("script");
1t&&Array.from(t).forEach(e=>{var t;let r=document.createElement("script");Array.from(e.attributes).forEach(e=>{r.setAttribute(e.name,e.value)}),r.text=e.text,null==(t=null==e?void 0:e.parentNode)||t.replaceChild(r,e)})},t.subscribeToFormSubmitEvent=(e,t)=>{e.addEventListener("form:engage",e=>{let{formId:r,name:n}=e.detail;r&&n&&(a.default.form("Sending form event",r,n),(0,i.form)(r,n,(null==t?void 0:t.replace(/-/g,""))||""))})}},1849:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n=r(22337).C.from},1860:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(29382),i=r(15154);class o extends n.Q{constructor(){super(),this.setup=e=>{if(!i.S$&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let a=new o},2544:(e,t,r)=>{"use strict";var n=r(87711),i=r(49794),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function d(e){return(e||"").toString().replace(o,"")}var f=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(e=e||n);if("blob:"===e.protocol)i=new v(unescape(e.pathname),{});else if("string"===o)for(t in i=new v(e,{}),p)delete i[t];else if("object"===o){for(t in e)t in p||(i[t]=e[t]);void 0===i.slashes&&(i.slashes=s.test(e.href))}return i}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function y(e,t){e=(e=d(e)).replace(a,""),t=t||{};var r,n=l.exec(e),i=n[1]?n[1].toLowerCase():"",o=!!n[2],s=!!n[3],u=0;return o?s?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):s?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===i?u>=2&&(r=r.slice(2)):m(i)?r=n[4]:i?o&&(r=r.slice(2)):u>=2&&m(t.protocol)&&(r=n[4]),{protocol:i,slashes:o||m(i),slashesCount:u,rest:r}}function v(e,t,r){if(e=(e=d(e)).replace(a,""),!(this instanceof v))return new v(e,t,r);var o,s,u,l,p,g,b=f.slice(),E=typeof t,_=0;for("object"!==E&&"string"!==E&&(r=t,t=null),r&&"function"!=typeof r&&(r=i.parse),o=!(s=y(e||"",t=h(t))).protocol&&!s.slashes,this.slashes=s.slashes||o&&t.slashes,this.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!m(this.protocol)))&&(b[3]=[/(.*)/,"pathname"]);_<b.length;_++){if("function"==typeof(l=b[_])){e=l(e,this);continue}u=l[0],g=l[1],u!=u?this[g]=e:"string"==typeof u?~(p="@"===u?e.lastIndexOf(u):e.indexOf(u))&&("number"==typeof l[2]?(this[g]=e.slice(0,p),e=e.slice(p+l[2])):(this[g]=e.slice(p),e=e.slice(0,p))):(p=u.exec(e))&&(this[g]=p[1],e=e.slice(0,p.index)),this[g]=this[g]||o&&l[3]&&t[g]||"",l[4]&&(this[g]=this[g].toLowerCase())}r&&(this.query=r(this.query)),o&&t.slashes&&"/"!==this.pathname.charAt(0)&&(""!==this.pathname||""!==t.pathname)&&(this.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,i=r[n-1],o=!1,a=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),a++):a&&(0===n&&(o=!0),r.splice(n,1),a--);return o&&r.unshift(""),("."===i||".."===i)&&r.push(""),r.join("/")}(this.pathname,t.pathname)),"/"!==this.pathname.charAt(0)&&m(this.protocol)&&(this.pathname="/"+this.pathname),n(this.port,this.protocol)||(this.host=this.hostname,this.port=""),this.username=this.password="",this.auth&&(~(p=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,p),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(p+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(this.auth)),this.auth=this.password?this.username+":"+this.password:this.username),this.origin="file:"!==this.protocol&&m(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString()}v.prototype={set:function(e,t,r){switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||i.parse)(t)),this[e]=t;break;case"port":this[e]=t,n(t,this.protocol)?t&&(this.host=this.hostname+":"+t):(this.host=this.hostname,this[e]="");break;case"hostname":this[e]=t,this.port&&(t+=":"+this.port),this.host=t;break;case"host":this[e]=t,u.test(t)?(t=t.split(":"),this.port=t.pop(),this.hostname=t.join(":")):(this.hostname=t,this.port="");break;case"protocol":this.protocol=t.toLowerCase(),this.slashes=!r;break;case"pathname":case"hash":if(t){var o="pathname"===e?"/":"#";this[e]=t.charAt(0)!==o?o+t:t}else this[e]=t;break;case"username":case"password":this[e]=encodeURIComponent(t);break;case"auth":var a=t.indexOf(":");~a?(this.username=t.slice(0,a),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=t.slice(a+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(t))}for(var s=0;s<f.length;s++){var l=f[s];l[4]&&(this[l[1]]=this[l[1]].toLowerCase())}return this.auth=this.password?this.username+":"+this.password:this.username,this.origin="file:"!==this.protocol&&m(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString(),this},toString:function(e){e&&"function"==typeof e||(e=i.stringify);var t,r=this.host,n=this.protocol;n&&":"!==n.charAt(n.length-1)&&(n+=":");var o=n+(this.protocol&&this.slashes||m(this.protocol)?"//":"");return this.username?(o+=this.username,this.password&&(o+=":"+this.password),o+="@"):this.password?(o+=":"+this.password,o+="@"):"file:"!==this.protocol&&m(this.protocol)&&!r&&"/"!==this.pathname&&(o+="@"),(":"===r[r.length-1]||u.test(this.hostname)&&!this.port)&&(r+=":"),o+=r+this.pathname,(t="object"==typeof this.query?e(this.query):this.query)&&(o+="?"!==t.charAt(0)?"?"+t:t),this.hash&&(o+=this.hash),o}},v.extractProtocol=y,v.location=h,v.trimLeft=d,v.qs=i,e.exports=v},2550:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(40052),i=r(73911),o=r(79885),a=r(80942),s=r(70086);let u=function(e){let{rfkId:t,dispatch:r}=(0,n.A)(),u=(0,o.A)();
1u.isInitialized()||u.initialize(e||{});let{query:l,options:c,actions:d}=u,f=(0,s.A)(),p=(0,i.A)(l);return{widgetRef:(0,a.A)(),rfkId:t,state:f,queryResult:p,actions:d,options:c,dispatch:r,query:l}}},3107:function(e,t,r){"use strict";var n,i=r(99742),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.enableDebug=void 0;let a=o(r(71673)),s=o(r(12410)),u="content-sdk";(0,s.default)()&&(null==(n=null==i?void 0:i.env)?void 0:n.DEBUG_MULTILINE)==="true"&&a.default.formatters.o&&a.default.formatters.O&&(a.default.formatters.o=a.default.formatters.O),t.enableDebug=e=>a.default.enable(e),t.default={search:(0,a.default)(`${u}:search`),common:(0,a.default)(`${u}:common`),form:(0,a.default)(`${u}:form`),http:(0,a.default)(`${u}:http`),layout:(0,a.default)(`${u}:layout`),dictionary:(0,a.default)(`${u}:dictionary`),editing:(0,a.default)(`${u}:editing`),sitemap:(0,a.default)(`${u}:sitemap`),multisite:(0,a.default)(`${u}:multisite`),robots:(0,a.default)(`${u}:robots`),redirects:(0,a.default)(`${u}:redirects`),personalize:(0,a.default)(`${u}:personalize`),locale:(0,a.default)(`${u}:locale`),errorpages:(0,a.default)(`${u}:errorpages`),proxy:(0,a.default)(`${u}:proxy`)}},3219:(e,t,r)=>{"use strict";r.d(t,{J1:()=>c,Nh:()=>d,VC:()=>p,gi:()=>f,qj:()=>h});var n=r(4902),i=r(46865),o=new Map,a=new Map,s=!0,u=!1;function l(e){return e.replace(/[\s,]+/g," ").trim()}function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var c=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?c+=t.loc.source.body:c+=t,c+=e[r+1]}),function(e){var t=l(e);if(!o.has(t)){var r,c,d,f,p,h=(0,i.qg)(e,{experimentalFragmentVariables:u,allowLegacyFragmentVariables:u});if(!h||"Document"!==h.kind)throw Error("Not a valid GraphQL document.");o.set(t,((f=new Set((r=new Set,c=[],h.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,i=l((t=e.loc).source.body.substring(t.start,t.end)),o=a.get(n);o&&!o.has(i)?s&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||a.set(n,o=new Set),o.add(i),r.has(i)||(r.add(i),c.push(e))}else c.push(e)}),d=(0,n.Cl)((0,n.Cl)({},h),{definitions:c})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&f.add(r)})}),(p=d.loc)&&(delete p.startToken,delete p.endToken),d))}return o.get(t)}(c)}function d(){o.clear(),a.clear()}function f(){s=!1}function p(){u=!0}function h(){u=!1}var m={gql:c,resetCaches:d,disableFragmentWarnings:f,enableExperimentalFragmentVariables:p,disableExperimentalFragmentVariables:h};!function(e){e.gql=m.gql,e.resetCaches=m.resetCaches,e.disableFragmentWarnings=m.disableFragmentWarnings,e.enableExperimentalFragmentVariables=m.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=m.disableExperimentalFragmentVariables}(c||(c={})),c.default=c},3687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pageView=void 0;let n=r(92849),i=r(31356),o=r(89814),a=r(23906),s=r(75162);t.pageView=async function(e){await (0,o.awaitInit)();let t=(0,n.getCloudSDKSettingsBrowser)(),r=(0,i.getCookieValueClientSide)(t.cookieSettings.name.browserId);return new s.PageViewEvent({id:r,pageViewData:e,searchParams:window.location.search,sendEvent:a.sendEvent,settings:t}).send()}},3773:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(14232),i=r(26109),o=r(2550);let a=()=>{let{queryResult:{data:{appearance:{templates:{html:{devices:{[i.Yl.DESKTOP]:{content:e=null}={}}={}}={}}={}}={}}={}}}=(0,o.A)();return(0,n.useLayoutEffect)(()=>{e&&document.head.insertAdjacentHTML("afterbegin",e)},[e]),null}},3843:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}
1),t.RedirectsService=t.REDIRECT_TYPE_SERVER_TRANSFER=t.REDIRECT_TYPE_302=t.REDIRECT_TYPE_301=void 0;let i=r(849),o=n(r(3107)),a=r(862);t.REDIRECT_TYPE_301="REDIRECT_301",t.REDIRECT_TYPE_302="REDIRECT_302",t.REDIRECT_TYPE_SERVER_TRANSFER="SERVER_TRANSFER";let s=`
2  query RedirectsQuery($siteName: String!) {
3    site {
4      siteInfo(site: $siteName) {
5        redirects {
6          pattern
7          target
8          redirectType
9          isQueryStringPreserved
10          locale
11        }
12      }
13    }
14  }
15`;class u{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient(),this.cache=this.getCacheClient()}get query(){return s}async fetchRedirects(e,t){var r,n;if(!e)throw Error(i.siteNameError);let o=`redirects-${e}`,a=this.cache.getCacheValue(o);return a||(a=await this.graphQLClient.request(this.query,{siteName:e},t),this.cache.setCacheValue(o,a)),(null==(n=null==(r=null==a?void 0:a.site)?void 0:r.siteInfo)?void 0:n.redirects)||[]}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:o.default.redirects,fetch:this.options.fetch})}getCacheClient(){var e,t;return new a.MemoryCacheClient({cacheEnabled:null==(e=this.options.cacheEnabled)||e,cacheTimeout:null!=(t=this.options.cacheTimeout)?t:10})}}t.RedirectsService=u},4172:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibrary=t.__mockDependencies=void 0;let s=a(r(14232)),u=r(85917),l=r(46395),c=a(r(78565)),d=a(r(46395)),f=r(94082),p=r(9737),h=r(26908),m=r(17143),y=r(12963),{getDesignLibraryImportMapEvent:v,getDesignLibraryComponentPropsEvent:g,addComponentPreviewHandler:b,sendErrorEvent:E}=c,{postToDesignLibrary:_}=d;t.__mockDependencies=e=>{b=e.addComponentPreviewHandler,e.postToDesignLibrary&&(_=e.postToDesignLibrary),e.sendErrorEvent&&(E=e.sendErrorEvent)},t.DesignLibrary=(0,m.withLoadImportMap)(({loadImportMap:e})=>{var t,r;let{page:n}=(0,f.useSitecore)(),i=n.layout.sitecore.route,o=null==(t=null==i?void 0:i.placeholders[u.EDITING_COMPONENT_PLACEHOLDER])?void 0:t[0],a=null==o?void 0:o.uid,{isDesignLibrary:d}=n.mode,m=null==(r=n.mode.designLibrary)?void 0:r.isVariantGeneration,[O,w]=(0,s.useState)({fields:null==o?void 0:o.fields,params:null==o?void 0:o.params}
15),[S,C]=(0,s.useState)(0),[T,R]=(0,s.useState)(null),P=!!T;return d?a?((0,s.useEffect)(()=>{_((0,l.getDesignLibraryStatusEvent)(l.DesignLibraryStatus.READY,a)),m||requestAnimationFrame(()=>{C(e=>0===e?e+1:e)});let e=(0,l.addComponentUpdateHandler)(o,e=>{w({fields:e.fields,params:e.params}),C(e=>e+1)});return()=>e&&e()},[m,o,a]),(0,s.useEffect)(()=>{0!==S&&_((0,l.getDesignLibraryStatusEvent)(l.DesignLibraryStatus.RENDERED,a))},[S,a]),(0,s.useEffect)(()=>{let t;if(!d||!m)return;let r=!1;return(async()=>{let n;if(!e)return E(a,"No loadImportMap provided",c.DesignLibraryPreviewError.ImportMapMissing);try{n=(await e()).default}catch(e){E(a,`Error loading import map: ${e}`,c.DesignLibraryPreviewError.ImportMapLoad);return}if(r)return;t=b(n,(e,t)=>{e||(R(()=>t),C(e=>e+1))});let i=v(a,n);_(i);let o=g(a,O.fields,O.params);_(o)})(),()=>{r=!0,t&&t()}},[m,a]),s.default.createElement("main",null,P?s.default.createElement(h.DesignLibraryErrorBoundary,{uid:a,renderKey:S},s.default.createElement(p.PlaceholderMetadata,{rendering:o},s.default.createElement(T,{fields:O.fields,params:O.params,key:S}))):s.default.createElement("div",{id:u.EDITING_COMPONENT_ID},i&&s.default.createElement(p.Placeholder,{name:u.EDITING_COMPONENT_PLACEHOLDER,rendering:i,key:S})))):s.default.createElement(y.ErrorComponent,{message:"Rendering UID is missing in the rendering data"}):null})},4216:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.ClientEditingChromesUpdate=void 0;let s=r(46395),u=a(r(14232));t.ClientEditingChromesUpdate=()=>((0,u.useEffect)(()=>{(0,s.isEditorActive)()&&(0,s.resetEditorChromes)()},[]),u.default.createElement(u.default.Fragment,null))},4902:(e,t,r)=>{"use strict";r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>u,fX:()=>l,sH:()=>s});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){var l=[s,u];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,n=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}Object.create;function l(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},4917:(e,t,r)=>
15{var n=r(98825),i=r(1602),o=r(52782),a=Math.max,s=Math.min;e.exports=function(e,t,r){var u,l,c,d,f,p,h=0,m=!1,y=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var r=u,n=l;return u=l=void 0,h=t,d=e.apply(n,r)}function b(e){var r=e-p,n=e-h;return void 0===p||r>=t||r<0||y&&n>=c}function E(){var e,r,n,o=i();if(b(o))return _(o);f=setTimeout(E,(e=o-p,r=o-h,n=t-e,y?s(n,c-r):n))}function _(e){return(f=void 0,v&&u)?g(e):(u=l=void 0,d)}function O(){var e,r=i(),n=b(r);if(u=arguments,l=this,p=r,n){if(void 0===f)return h=e=p,f=setTimeout(E,t),m?g(e):d;if(y)return clearTimeout(f),f=setTimeout(E,t),g(p)}return void 0===f&&(f=setTimeout(E,t)),d}return t=o(t)||0,n(r)&&(m=!!r.leading,c=(y="maxWait"in r)?a(o(r.maxWait)||0,t):c,v="trailing"in r?!!r.trailing:v),O.cancel=function(){void 0!==f&&clearTimeout(f),h=0,u=p=l=f=void 0},O.flush=function(){return void 0===f?d:_(i())},O}},5378:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;let o=i(r(14232)),a=r(80323),s=r(98646),u=r(27015),l=r(85917);t.Text=(0,a.withFieldMetadata)((0,s.withEmptyFieldEditingComponent)(e=>{var{field:t,tag:r,editable:i=!0,encode:a=!0}=e,s=n(e,["field","tag","editable","encode"]);if((0,l.isFieldValueEmpty)(t))return null;let u=void 0===t.value?"":t.value,c=String(u).split("\n");if(c.length){let e=[];c.forEach((t,r)=>{let n=r===c.length-1;e.push(t),n||e.push(o.default.createElement("br",{key:r}))}),u=e}let d=null,f=Object.assign({},s);return(a?d=u:f.dangerouslySetInnerHTML={__html:u},t.metadata)?o.default.createElement(r||"span",Object.assign(Object.assign({},f),{suppressHydrationWarning:!0}),d):r||!a?o.default.createElement(r||"span",f,d):o.default.createElement(o.default.Fragment,null,d)},{defaultEmptyFieldEditingComponent:u.DefaultEmptyFieldEditingComponentText})),t.Text.displayName="Text"},5873:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(49218),i=r(70454);class o{constructor(){Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1})}register(e){i.A.subscribe(e)}unregister(e){i.A.unsubscribe(e)}getDispatcher(){return i.A}initialize(){this.initialized=!0,i.A.dispatch({type:n.A.INITIALIZED,payload:{}})}}},6095:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(36938),i=function(e){if(!e&&"undefined"==typeof fetch)throw(0,n.vA)(51)}},6234:function(e,t,r){"use strict";var n=r(99742),i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NextImage=void 0;let a=r(1291),s=o(r(14232)),u=r(52820),l=o(r(54587)),c=r(85917);t.NextImage=(0,u.withFieldMetadata)((0,u.withEmptyFieldEditingComponent)(e=>{var{editable:t=!0,imageParams:r,field:o,mediaUrlPrefix:d,fill:f,priority:p}=e,h=i(e,["editable","imageParams","field","mediaUrlPrefix","fill","priority"]);let m=s.default.useContext(u.SitecoreProviderReactContext);if(h.src)throw Error("Detected src prop. If you wish to use src, use next/image directly.");if((0,c.isFieldValueEmpty)(o))return null;let y=o.src?o:o.value;if(!y)return null;let v=h.unoptimized||!m.page.mode.isNormal,g=Object.assign(Object.assign(Object.assign({},y),h),{fill:f,priority:p,src:a.mediaApi.updateImageUrl(y.src,r,d),unoptimized:v}),b=Object.assign(Object.assign({},g),{src:a.mediaApi.replaceMediaUrlPrefix(g.src,d)});return(b.fill&&(delete b.width,delete b.height),g)?s.default.createElement(l.default,Object.assign({alt:""},b,n.env.TEST?{"data-unoptimized":v}:{})):null},{defaultEmptyFieldEditingComponent:u.DefaultEmptyFieldEditingComponentImage})),t.NextImage.displayName="NextImage"}
15,6334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return O},useLinkStatus:function(){return _}});let n=r(88365),i=r(37876),o=n._(r(14232)),a=r(15948),s=r(2454),u=r(67855),l=r(29313),c=r(61162),d=r(75067),f=r(80301),p=r(43966),h=r(63467),m=r(33872);r(6642);let y=new Set;function v(e,t,r,n){if((0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(y.has(i))return;y.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function g(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let r,n,{href:u,as:y,children:b,prefetch:E=null,passHref:_,replace:O,shallow:w,scroll:S,locale:C,onClick:T,onNavigate:R,onMouseEnter:P,onTouchStart:A,legacyBehavior:I=!1,...D}=e;r=b,I&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let N=o.default.useContext(d.RouterContext),x=!1!==E,{href:j,as:k}=o.default.useMemo(()=>{if(!N){let e=g(u);return{href:e,as:y?g(y):e}}let[e,t]=(0,a.resolveHref)(N,u,!0);return{href:e,as:y?(0,a.resolveHref)(N,y):t||e}},[N,u,y]),M=o.default.useRef(j),L=o.default.useRef(k);I&&(n=o.default.Children.only(r));let F=I?n&&"object"==typeof n&&n.ref:t,[V,U,q]=(0,f.useIntersection)({rootMargin:"200px"}),B=o.default.useCallback(e=>{(L.current!==k||M.current!==j)&&(q(),L.current=k,M.current=j),V(e)},[k,j,q,V]),G=(0,m.useMergedRef)(B,F);o.default.useEffect(()=>{N&&U&&x&&v(N,j,k,{locale:C})},[k,j,U,C,x,null==N?void 0:N.locale,N]);let Q={ref:G,onClick(e){I||"function"!=typeof T||T(e),I&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&(e.defaultPrevented||function(e,t,r,n,i,o,a,u,l){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,s.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=null==a||a;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,N,j,k,O,w,S,C,R))},onMouseEnter(e){I||"function"!=typeof P||P(e),I&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&v(N,j,k,{locale:C,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){I||"function"!=typeof A||A(e),I&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&v(N,j,k,{locale:C,priority:!0,bypassPrefetchedCheck:!0})}};if((0,l.isAbsoluteUrl)(k))Q.href=k;else if(!I||_||"a"===n.type&&!("href"in n.props)){let e=void 0!==C?C:null==N?void 0:N.locale;Q.href=(null==N?void 0:N.isLocaleDomain)&&(0,p.getDomainLocale)(k,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales)||(0,h.addBasePath)((0,c.addLocale)(k,e,null==N?void 0:N.defaultLocale))}return I?o.default.cloneElement(n,Q):(0,i.jsx)("a",{...D,...Q,children:r})}),E=(0,o.createContext)({pending:!1}),_=()=>(0,o.useContext)(E),O=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6405:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentTemplateType=void 0,function(e){e.BYOC="byoc",e.DEFAULT="default"}(r||(t.ComponentTemplateType=r={}))},6602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultRetryStrategy=void 0;class r{constructor(e={}){this.statusCodes=e.statusCodes||[429],this.errorCodes=e.errorCodes||["ECONNRESET","ETIMEDOUT","EPROTO"],this.factor=e.factor||2}shouldRetry(e,t,r){var n;let i=(null==(n=e.response)?void 0:n.status)!==void 0&&this.statusCodes.includes(e.response.status),o=void 0!==e.code&&this.errorCodes.includes(e.code);return r>0&&t<=r&&(i||o)}getDelay(e,t){var r;let n=null==(r=e.response)?void 0:r.headers,i=null==n?void 0:n.get("Retry-After");return null!=i&&""!==i.trim()?1e3*Number.parseFloat(i):1e3*Math.pow(this.factor,t-1)}}t.DefaultRetryStrategy=r},6642:(e,t)=>{"use strict";
15Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},6677:(e,t)=>{"use strict";var r,n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.EDITING_COMPONENT_ID=t.EDITING_COMPONENT_PLACEHOLDER=t.RenderingType=t.EditMode=t.LayoutServicePageState=void 0,function(e){e.Preview="preview",e.Edit="edit",e.Normal="normal"}(r||(t.LayoutServicePageState=r={})),(n||(t.EditMode=n={})).Metadata="metadata",(i||(t.RenderingType=i={})).Component="component",t.EDITING_COMPONENT_PLACEHOLDER="editing-componentmode-placeholder",t.EDITING_COMPONENT_ID="editing-component"},6764:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(46780).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7060:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>D,eo:()=>A});var n=r(50316),i=r(70334),o=r(22229);let a=(0,i.k)(o.A);class s extends a{constructor(e){super(),this.setRfkId(e)}setSearchFilter(e){return this.setValue("search.filter",e.toJson()),this}}let u=e=>{let t=new s(e);return t.setAppearance({}),t.setAppearanceTemplates({}),t.setAppearanceVariables({}),t};class l extends s{constructor(){super(...arguments),Object.defineProperty(this,"facetTypeFiltersType",{enumerable:!0,configurable:!0,writable:!0,value:"or"})}buildFacetTypeFilters(e,t="or"){if(0!==e.length)return{type:t,values:e}}setSearchFacetTypeFilterType(e){return this.facetTypeFiltersType=e,this}getSearchFacetTypeFilterType(){return this.facetTypeFiltersType}setSearchFacetType(e,t){let r=this.getSearchFacetTypes()||[];return r.find(({name:t})=>t===e)?this.setSearchFacetTypes(r.map(r=>r.name===e?{...t,name:e}:r)):this.setSearchFacetTypes([...r,{...t,name:e}]),this}updateSearchFacetType(e,t){let r=this.getSearchFacetTypes()||[];return this.setSearchFacetType(e,{...r.find(({name:t})=>t===e),...t}),this}addSearchFacetTypeFilter(e,t,r="or"){let n=this.getSearchFacetTypes()||[],i=n.find(({name:t})=>t===e)?.filter?.values||[];return this.updateSearchFacetType(e,{filter:this.buildFacetTypeFilters([...i,t],r)}),this}resetSearchFacetTypeFilter(e){return this.updateSearchFacetType(e,{filter:void 0}),this}removeSearchFacetTypeFilter(e,t){let r=this.getSearchFacetTypes()||[],n=r.find(({name:t})=>t===e)?.filter?.values||[];return this.updateSearchFacetType(e,{filter:this.buildFacetTypeFilters(n.filter(e=>!function e(t,r){if(typeof t!=typeof r)return!1;if("object"==typeof t)if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++)if(!e(t[n],r[n]))return!1;return!0}else{let n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(let i of n)if(!e(t[i],r[i]))return!1;return!0}return t===r}(e,t)))}),this}resetSearchFacetTypeFilters(){return(this.getSearchFacetTypes()||[]).forEach(({name:e})=>{this.updateSearchFacetType(e,{filter:void 0})}),this}}let c={[n.b.RECOMMENDATION]:e=>{let t=new s(e);return t.setRecommendationsContent({}),t},[n.b.SEARCH_RESULTS]:e=>{let t=new l(e);return t.setSearchContent({}),t.setSearchFacetAll(!0),t.setSearchOffset(0),t.setSearchSortChoices(!0),t},[n.b.PREVIEW_SEARCH]:e=>{let t=new s(e);return t.setSearchContent({}),t},[n.b.QUESTIONS]:e=>{let t=new l(e);return t.setQuestionsRelatedQuestionsLimit(5),t.setQuestionsExactAnswer({}),t},[n.b.CONTENT_BLOCK]:u,[n.b.HTML_BLOCK]:u,[n.b.SEO]:u,[n.b.BANNER]:u};var d=r(81969),f=r(77376),p=r(91811),h=r(23913),m=r(83325),y=r(23399),v=r(80187);let g=async(e,{items:t,actionSubtype:r="conversion"})=>_(e,"cart",{actionSubtype:r,items:t}),b=async(e,t)=>_(e,"wishlist",t),E=async(e,t)=>{let{orderId:r,orderTotal:n,orderSubtotal:i,coupon:o,items:a,actionSubtype:s="conversion",store:u}=t;return(0,v.Fm)(r)?_(e,"order_confirm",{items:a,transaction:(0,v.M8)(r,n,i,o,u),actionSubtype:s}):void h.Vy.warn("trackEvent :::","Transaction orderId is not defined")},_=async(e,t,{review:r,transaction:n,items:i,customAttributes:o,actionSubtype:a})=>{if(!t)return void h.Vy.warn("trackEvent :::","Event name is not defined");let s=[];e&&i&&(s=(0,v.G$)(e,i));let u={name:t,action:"add",action_sub_type:a,value:{entities:s,transaction:n,review:r,custom_attributes:o,context:d.A.toJson()}};return(0,v.u4)(u)},O=async(e,{items:t,actionSubtype:r})=>{let n=[];if(e&&t&&(n=(0,v.G$)(e,t))&&!(0,v.kz)(n))return void h.Vy.warn("trackEvent :::","A field is missing on one or more of the items provided");let i={action:"view",name:"cart",action_sub_type:r,value:{entities:n,context:d.A.toJson()}};return(0,v.u4)(i)},w=async(e,t)=>{if(!e||(0,m.vB)(e))return void h.Vy.warn("trackEvent :::","User information is empty or not complete");let r=(0,y.D)(d.A.toJson(),{user:{...e.id?{cuid:e.id}:{},...e.eid?{eid:e.eid}:{},...e.email?{email:e.email}:{},...e.fbid?{fbid:e.fbid}:{},...e.address?{address:e.address}:{}}});return(0,v.u4)({action:"identify",name:"login",action_sub_type:t,value:{context:r}}
15)};var S=r(70875),C=r(49218),T=r(70454),R=r(79738),P=r(5873);let A=e=>{let{type:t,options:{setupRequest:r=()=>{}}={}}=R.A.get(e)||{},n=t?((e,t)=>{if(c[e])return c[e](t);throw Error(`Invalid widget type: "${e}"`)})(t,e):new s(e);return n.setRfkId(e),r(n),n};class I extends P.w{constructor(){super(),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.setContext(d.A.get()),T.A.subscribe(this)}getContext(){return this.context}setContext(e){this.context=e,this.context.addListener(this)}toggleTrackConsent(e){let t=(0,f.F6)();e?t.user_id?this.context.setUserId(t?.user_id):this.context.setUserUuid((0,f.F6)().uuid):((0,f.a3)(),(0,p.Wc)(!1),t?.user_id&&this.context.setUserId(t?.user_id))}handleAction(e){switch(e.type){case C.A.INITIALIZE:this.initialize();break;case C.A.ADD_TO_CART:{let{entity:t,items:r}=e.payload;g(t,{items:r});break}case C.A.ADD_TO_WISHLIST:{let{entity:t,items:r}=e.payload;b(t,{items:r});break}case C.A.USER_LOGIN:{let{id:t,email:r}=e.payload;w({id:t,email:r});break}case C.A.CART_STATUS:{let{entity:t,items:r}=e.payload;O(t,{items:r});break}case C.A.ORDER_CONFIRM:{let{entity:t,items:r,orderId:n,orderTotal:i,orderSubtotal:o,coupon:a}=e.payload;E(t,{orderId:n,orderTotal:i,orderSubtotal:o,coupon:a,items:r});break}case C.A.WIDGET_APPEAR:{let{rfkId:t,entity:r,items:n,request:i}=e.payload;(0,S.vC)(t,r,{...n.length>0?{items:n}:void 0,request:i})}}}onChange(e,t,r){this.initialized&&T.A.dispatch({type:C.A.PAGE_CONTEXT_CHANGED,payload:{context:this.context}})}}let D=new I},7734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PACKAGE_INITIALIZER_METHOD_NAME=t.PACKAGE_NAME=t.EVENTS_NAMESPACE=t.PACKAGE_VERSION=t.pageView=t.identity=t.event=t.form=t.clearEventQueue=t.processEventQueue=t.addToEventQueue=void 0,r(89814);var n=r(60469);Object.defineProperty(t,"addToEventQueue",{enumerable:!0,get:function(){return n.addToEventQueue}});var i=r(57086);Object.defineProperty(t,"processEventQueue",{enumerable:!0,get:function(){return i.processEventQueue}});var o=r(29602);Object.defineProperty(t,"clearEventQueue",{enumerable:!0,get:function(){return o.clearEventQueue}});var a=r(35593);Object.defineProperty(t,"form",{enumerable:!0,get:function(){return a.form}});var s=r(87833);Object.defineProperty(t,"event",{enumerable:!0,get:function(){return s.event}});var u=r(38841);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return u.identity}});var l=r(3687);Object.defineProperty(t,"pageView",{enumerable:!0,get:function(){return l.pageView}});var c=r(52094);Object.defineProperty(t,"PACKAGE_VERSION",{enumerable:!0,get:function(){return c.PACKAGE_VERSION}}),Object.defineProperty(t,"EVENTS_NAMESPACE",{enumerable:!0,get:function(){return c.EVENTS_NAMESPACE}}),Object.defineProperty(t,"PACKAGE_NAME",{enumerable:!0,get:function(){return c.PACKAGE_NAME}}),Object.defineProperty(t,"PACKAGE_INITIALIZER_METHOD_NAME",{enumerable:!0,get:function(){return c.PACKAGE_INITIALIZER_METHOD_NAME}})},7820:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(14232),i=r(26109),o=r(2550);let a=({initializer:e})=>{let{rfkId:t,widgetRef:r,queryResult:{data:{appearance:{css_names:a=[],templates:{html:{devices:{[i.Yl.DESKTOP]:{content:s=null}={}}={}}={},css:{devices:{[i.Yl.DESKTOP]:{content:u=null}={}}={}}={}}={}}={}}={}}}=(0,o.A)({query:e||(()=>{})}),l=(0,n.useRef)(null);return(0,n.useLayoutEffect)(()=>(l.current&&u&&function(e,t,r){let n=document.querySelector(`[data-rfk-id-style=${e}]`);n||((n=document.createElement("style")).setAttribute("type","text/css"),n.dataset.rfkIdStyle=e,t.parentNode?.appendChild(n)),n.innerHTML=r}(t,l.current,u),()=>{!function(e){let t=document.querySelector(`[data-rfk-id-style=${e}]`);t&&t.remove()}(t)}),[t,u]),(0,n.useLayoutEffect)(()=>{l.current&&s&&(l.current.innerHTML=s)},[s]),(0,n.createElement)("div",{ref:r,"data-rfkid":t,className:a.join(" ")},(0,n.createElement)("div",{ref:l}))}},8190:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var n=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},9055:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
15dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutService=t.GRAPHQL_LAYOUT_QUERY_NAME=void 0;let i=n(r(3107)),o=r(65540);t.GRAPHQL_LAYOUT_QUERY_NAME="ContentSdkLayoutQuery";class a extends o.SitecoreServiceBase{constructor(e){super(e),this.serviceConfig=e}async fetchLayoutData(e,t,r){var n,o;let a=t.site,s=this.getLayoutQuery(e,a,null==t?void 0:t.locale);i.default.layout("fetching layout data for %s %s %s",e,null==t?void 0:t.locale,a);let u=await this.graphQLClient.request(s,{},r);return(null==(o=null==(n=null==u?void 0:u.layout)?void 0:n.item)?void 0:o.rendered)||{sitecore:{context:{pageEditing:!1,language:null==t?void 0:t.locale},route:null}}}getLayoutQuery(e,r,n){let i=n?`, language:"${n}"`:"",o=this.serviceConfig.formatLayoutQuery?this.serviceConfig.formatLayoutQuery(r,e,n):`layout(site:"${r}", routePath:"${e}"${i})`;return`query ${t.GRAPHQL_LAYOUT_QUERY_NAME} {
16      ${o}{
17        item {
18          rendered
19        }
20      }
21    }`}}t.LayoutService=a},9118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidHttpURL=void 0,t.isValidHttpURL=function(e){try{let t=new URL(e);return["http:","https:"].includes(t.protocol)}catch(e){return!1}}},9300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieValueFromMiddlewareRequest=void 0,t.getCookieValueFromMiddlewareRequest=function(e,t){let r=e.cookies.get(t);return"string"==typeof r?r:"object"==typeof r?r.value:void 0}},9737:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.AppPlaceholder=t.PlaceholderMetadata=t.PlaceholderComponent=t.Placeholder=void 0;var o=r(76040);Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return o.Placeholder}}),Object.defineProperty(t,"PlaceholderComponent",{enumerable:!0,get:function(){return o.PlaceholderComponent}});var a=r(15821);Object.defineProperty(t,"PlaceholderMetadata",{enumerable:!0,get:function(){return a.PlaceholderMetadata}});var s=r(95095);Object.defineProperty(t,"AppPlaceholder",{enumerable:!0,get:function(){return s.AppPlaceholder}}),i(r(74412),t)},9835:(e,t,r)=>{"use strict";r.d(t,{HY:()=>u,R4:()=>o,Wz:()=>s,i1:()=>a});var n=r(4902),i=r(68148),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return r.unshift(t),u.apply(void 0,(0,n.fX)([e,a],r,!1))}function u(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a={},s={};r.forEach(function(e){a=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},a),e.options),{headers:(0,n.Cl)((0,n.Cl)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,n.Cl)((0,n.Cl)({},s),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var r={};
21return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(a.headers,s.preserveHeaderCase));var u=e.operationName,l=e.extensions,c=e.variables,d=e.query,f={operationName:u,variables:c};return s.includeExtensions&&(f.extensions=l),s.includeQuery&&(f.query=t(d,i.y)),{options:a,body:f}}},9836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateComponentAction=s,t.previewComponentAction=u;let n=r(72276),i=r(78565),o=r(9922),a=r(46395);async function s(e){n.debug.editing(`Updating server component cache for Update Component: ${e.uid}`),(0,o.setCache)(`${a.COMPONENT_UPDATE_CACHE_KEY_PREFIX}${e.uid}`,e)}async function u(e,t){n.debug.editing(`Updating server component cache for Preview Component: ${e.uid}`);let r={uid:e.uid,generatedComponentData:void 0,error:void 0};if(e.args)try{r.generatedComponentData=await (0,i.fetchGeneratedComponentFromCache)(e.args.message.cache.id,e.args.message.cache.token,t)}catch(t){n.debug.editing(`Error fetching generated component data from cache for Component: ${e.uid}`,t),r.error=t instanceof Error?t.message:String(t)}else n.debug.editing(`No preview event arguments provided for Component: ${e.uid}`),r.error="No preview event arguments provided";(0,o.setCache)(`${a.COMPONENT_PREVIEW_CACHE_KEY_PREFIX}${r.uid}`,r)}},9863:(e,t,r)=>{"use strict";r.d(t,{K:()=>i});var n=r(14232);let i=e=>{let t=e.rendering&&e.rendering.componentName?e.rendering.componentName:"Unnamed Component";e.errorOverride||console.log(`Component props for unimplemented '${t}' component`,e);let r=e.errorOverride||"Content SDK component is missing React implementation. See the developer console for more information.";return n.createElement("div",{style:{background:"darkorange",outline:"5px solid orange",padding:"10px",color:"white",maxWidth:"500px"}},n.createElement("h2",null,t),n.createElement("p",null,r))};i.displayName="MissingComponent"},9869:(e,t,r)=>{"use strict";r.d(t,{G:()=>n,f:()=>i});let n=e=>e&&"object"==typeof e&&!Array.isArray(e),i=()=>"undefined"==typeof document||!document.createElement},9900:(e,t,r)=>{"use strict";var n,i,o,a;r.d(t,{mV:()=>i}),function(e){e.Final="final",e.Shared="shared"}(n||(n={})),function(e){e.Open="open",e.Close="close"}(i||(i={})),function(e){e.Normal="library",e.Metadata="library-metadata"}(o||(o={})),(a||(a={})).Variant="variant"},9922:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.tryParseEnvValue=t.setCache=t.getCacheAndClean=t.getCache=t.hasCache=t.mergeURLSearchParams=t.escapeNonSpecialQuestionMarks=t.areURLSearchParamsEqual=t.isRegexOrUrl=t.getAllowedOriginsFromEnv=t.getEnforcedCorsHeaders=t.enforceCors=t.isTimeoutError=t.isAbsoluteUrl=t.resolveUrl=t.isServer=void 0;var i=r(12410);Object.defineProperty(t,"isServer",{enumerable:!0,get:function(){return n(i).default}});var o=r(54235);Object.defineProperty(t,"resolveUrl",{enumerable:!0,get:function(){return o.resolveUrl}}),Object.defineProperty(t,"isAbsoluteUrl",{enumerable:!0,get:function(){return o.isAbsoluteUrl}}),Object.defineProperty(t,"isTimeoutError",{enumerable:!0,get:function(){return o.isTimeoutError}}),Object.defineProperty(t,"enforceCors",{enumerable:!0,get:function(){return o.enforceCors}}),Object.defineProperty(t,"getEnforcedCorsHeaders",{enumerable:!0,get:function(){return o.getEnforcedCorsHeaders}}),Object.defineProperty(t,"getAllowedOriginsFromEnv",{enumerable:!0,get:function(){return o.getAllowedOriginsFromEnv}}),Object.defineProperty(t,"isRegexOrUrl",{enumerable:!0,get:function(){return o.isRegexOrUrl}}),Object.defineProperty(t,"areURLSearchParamsEqual",{enumerable:!0,get:function(){return o.areURLSearchParamsEqual}}),Object.defineProperty(t,"escapeNonSpecialQuestionMarks",{enumerable:!0,get:function(){return o.escapeNonSpecialQuestionMarks}}),Object.defineProperty(t,"mergeURLSearchParams",{enumerable:!0,get:function(){return o.mergeURLSearchParams}});var a=r(11961);Object.defineProperty(t,"hasCache",{enumerable:!0,get:function(){return a.hasCache}}),Object.defineProperty(t,"getCache",{enumerable:!0,get:function(){return a.getCache}}),Object.defineProperty(t,"getCacheAndClean",{enumerable:!0,get:function(){return a.getCacheAndClean}}
21),Object.defineProperty(t,"setCache",{enumerable:!0,get:function(){return a.setCache}});var s=r(75725);Object.defineProperty(t,"tryParseEnvValue",{enumerable:!0,get:function(){return s.tryParseEnvValue}})},9955:(e,t,r)=>{let n=r(98311);e.exports=function(e){let t=function(e){let t=function(){let e={},t=Object.keys(n);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){let e=r.pop(),i=Object.keys(n[e]);for(let n=i.length,o=0;o<n;o++){let n=i[o],a=t[n];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,r.unshift(n))}}return t}(e),r={},i=Object.keys(t);for(let e=i.length,o=0;o<e;o++){let e=i[o];null!==t[e].parent&&(r[e]=function(e,t){let r=[t[e].parent,e],i=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),i=function(e,t){return function(r){return t(e(r))}}(n[t[o].parent][o],i),o=t[o].parent;return i.conversion=r,i}(e,t))}return r}},10135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineCliConfig=void 0,t.defineCliConfig=e=>((e=>{var t,r,n,i;if(!(null==(r=null==(t=e.build)?void 0:t.commands)?void 0:r.length))throw Error("Configuration error: build commands should be defined in sitecore.cli.config");if(!(null==(i=null==(n=e.scaffold)?void 0:n.templates)?void 0:i.length))throw Error("Configuration error: scaffold templates should be defined in sitecore.cli.config")})(e),e)},10517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQLClientFactory=void 0;let n=r(43735),i=r(25988);t.createGraphQLClientFactory=e=>{let t,{api:r}=e,{edge:o,local:a}=null!=r?r:{},s="undefined"!=typeof window;if(null==o?void 0:o.contextId)t={endpoint:(0,i.getEdgeProxyContentUrl)(o.contextId,o.edgeUrl)};else if(s&&(null==o?void 0:o.clientContextId))t={endpoint:(0,i.getEdgeProxyContentUrl)(o.clientContextId,o.edgeUrl)};else if((null==a?void 0:a.apiKey)&&(null==a?void 0:a.apiHost))t={endpoint:`${a.apiHost}${a.path}`,apiKey:a.apiKey};else if(s)console.warn("GraphQL client initialised in the browser without Edge or local API configuration; client-side requests may fail."),t={endpoint:"/api/graphql"};else throw Error(`GraphQL client misconfigured.
22      Configure one of the following in sitecore.config or your .env file:
23      Edge mode: set both sitecore.edge.contextId (server-side) and sitecore.edge.clientContextId (browser).
24      Local API mode: set api.local.apiHost and api.local.apiKey.
25      Supplying only api.edge.clientContextId will cause the application to fail at runtime.`);return n.GraphQLRequestClient.createClientFactory(Object.assign(Object.assign({},t),e))}},10620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveRequestDocument=void 0;let n=r(42885),i=e=>{let t,r=e.definitions.filter(e=>"OperationDefinition"===e.kind);return 1===r.length&&(t=r[0]?.name?.value),t};t.resolveRequestDocument=e=>{if("string"==typeof e){let t;try{let r=(0,n.parse)(e);t=i(r)}catch(e){}return{query:e,operationName:t}}let t=i(e);return{query:(0,n.print)(e),operationName:t}}},10714:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>o});var n=r(14232);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function a(...e){return n.useCallback(o(...e),e)}},10768:function(e,t,r){"use strict";var n,i,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorMessages=t.CORRELATION_ID_HEADER=t.SITECORE_EDGE_URL=t.API_VERSION=t.DAILY_SECONDS=t.DEFAULT_COOKIE_EXPIRY_DAYS=t.COOKIE_NAME_PREFIX=t.LIBRARY_VERSION=void 0,t.LIBRARY_VERSION=o(r(45537)).default.version,t.COOKIE_NAME_PREFIX="sc_",t.DEFAULT_COOKIE_EXPIRY_DAYS=730,t.DAILY_SECONDS=86400,t.API_VERSION="v1.2",t.SITECORE_EDGE_URL="https://edge-platform.sitecorecloud.io",t.CORRELATION_ID_HEADER="x-sc-correlation-id",(n=i||(t.ErrorMessages=i={})).IE_0001='[IE-0001] You are trying to run a browser-side function on the server side. On the server side, run the server-side equivalent of the function, available in "server" modules.',n.IE_0003='[IE-0003] Unable to set the "sc_{SitecoreEdgeContextId}" cookie because the browser ID could not be retrieved from the server. Make sure to set the correct values for "sitecoreEdgeContextId" and "siteName". If the issue persists, try again later or use try-catch blocks to handle this error.',n.IE_0011='[IE-0011] Unable to set the "sc_{SitecoreEdgeContextId}_personalize" cookie because the guest ID could not be retrieved from the server. Make sure to set the correct values for "sitecoreEdgeContextId" and "siteName". If the issue persists, try again later or use try-catch blocks to handle this error.',n.IE_0012='[IE-0012] You must first initialize the Cloud SDK. Import "CloudSDK" from "@sitecore-cloudsdk/core/browser", then run "CloudSDK().initialize()".',n.IE_0013='[IE-0013] You must first initialize the Cloud SDK. Import "CloudSDK" from "@sitecore-cloudsdk/core/server", then run "await CloudSDK().initialize()".',n.IV_0001='[IV-0001] Incorrect value for "sitecoreEdgeUrl". Set the value to a valid URL string.',n.MV_0001='[MV-0001] "sitecoreEdgeContextId" is required.',n.MV_0002='[MV-0002] "siteName" is required.'},11643:(e,t,r)=>{"use strict";
25Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleRewrite=t.DictionaryService=void 0;var n=r(98987);Object.defineProperty(t,"DictionaryService",{enumerable:!0,get:function(){return n.DictionaryService}});var i=r(77622);Object.defineProperty(t,"getLocaleRewrite",{enumerable:!0,get:function(){return i.getLocaleRewrite}})},11961:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCache=function(e,t){globalThis.__dlCache||(globalThis.__dlCache={}),globalThis.__dlCache[e]=t},t.getCache=function(e){let t=globalThis.__dlCache;return null==t?void 0:t[e]},t.getCacheAndClean=function(e){let t=globalThis.__dlCache,r=null==t?void 0:t[e];return null==t||delete t[e],r},t.hasCache=function(e){let t=globalThis.__dlCache;return(null==t?void 0:t[e])!==void 0}},12229:(e,t,r)=>{"use strict";r.d(t,{Q9:()=>f,V1:()=>u,zU:()=>s});var n=r(4902),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var l=["debug","log","warn","error","silent"],c=l.indexOf("log");function d(e){return function(){if(l.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}function f(e){var t=l[c];return c=Math.max(0,l.indexOf(e)),t}!function(e){e.debug=d("debug"),e.log=d("log"),e.warn=d("warn"),e.error=d("error")}(u||(u={}))},12352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.personalizeLayout=function(e,t,r){var n;e.sitecore.context.variantId=t;let i=(null==(n=e.sitecore.route)?void 0:n.placeholders)||{};if(0===Object.keys(i).length)return;let a=e.sitecore.context.pageEditing;
25return i&&Object.keys(i).forEach(e=>{i[e]=o(i[e],[t,...r||[]],a)}),i},t.personalizePlaceholder=o,t.personalizeComponent=a;let n=r(849),i=e=>Object.assign(Object.assign({},e),{componentName:n.HIDDEN_RENDERING_NAME,experiences:{}});function o(e,t,r){return e.map(e=>{if(void 0!==e.experiences)return a(e,t,r);if(e.placeholders){let n=e.placeholders;Object.keys(n).forEach(e=>{n[e]=o(n[e],t,r)})}return e}).filter(Boolean)}function a(e,t,r){let n=Object.keys(e.experiences).find(e=>t.includes(e)),a=n&&e.experiences[n];if(a||e.componentName)if(a&&null===a.componentName&&null===a.dataSource)if(!r)return null;else e=i(e);else a&&(e=a);else{if(!r)return null;e=i(e)}return e.experiences&&(e.experiences={}),e.placeholders&&Object.keys(null==e?void 0:e.placeholders).forEach(r=>{e.placeholders&&(e.placeholders[r]=o(e.placeholders[r],t))}),e}},12410:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"!=typeof window&&window.document)}},12637:e=>{"use strict";let t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n","\n"],["r","\r"],["t","	"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function a(e){let t="u"===e[0],r="{"===e[1];return t&&!r&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):o.get(e)||e}function s(e,t){let r={};for(let e of t)for(let t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(let[e,t]of Object.entries(r))if(Array.isArray(t)){if(!(e in n))throw Error(`Unknown Chalk style: ${e}`);n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,o)=>{let u=[],l=[],c=[];if(o.replace(t,(t,o,d,f,p,h)=>{if(o)c.push(a(o));else if(f){let t=c.join("");c=[],l.push(0===u.length?t:s(e,u)(t)),u.push({inverse:d,styles:function(e){let t;r.lastIndex=0;let o=[];for(;null!==(t=r.exec(e));){let e=t[1];if(t[2]){let r=function(e,t){let r,o=[];for(let s of t.trim().split(/\s*,\s*/g)){let t=Number(s);if(Number.isNaN(t))if(r=s.match(n))o.push(r[2].replace(i,(e,t,r)=>t?a(t):r));else throw Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`);else o.push(t)}return o}(e,t[2]);o.push([e].concat(r))}else o.push([e])}return o}(f)})}else if(p){if(0===u.length)throw Error("Found extraneous } in Chalk template literal");l.push(s(e,u)(c.join(""))),c=[],u.pop()}else c.push(h)}),l.push(c.join("")),u.length>0)throw Error(`Chalk template literal is missing ${u.length} closing bracket${1===u.length?"":"s"} (\`}\`)`);return l.join("")}},12963:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorComponent=void 0;let s=a(r(14232)),u=r(94082);t.ErrorComponent=e=>s.default.createElement("div",{className:"sc-content-sdk-placeholder-error"},e.message?e.message:e.children);class l extends s.default.Component{constructor(e){super(e),this.defaultErrorMessage="There was a problem loading this section.",this.defaultLoadingMessage="Loading component...",this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){var r,n;this.showErrorDetails()&&console.error(`An error occurred in component ${null==(r=this.props.rendering)?void 0:r.componentName} (${null==(n=this.props.rendering)?void 0:n.uid}): `),console.error({error:e,errorInfo:t})}isInDevMode(){return!1}showErrorDetails(){return this.isInDevMode()||this.props.page.mode.isEditing||this.props.page.mode.isPreview}render(){var e;if(this.state.error)if(this.props.errorComponent)return s.default.createElement(this.props.errorComponent,{error:this.state.error});else if(this.showErrorDetails())return s.default.createElement("div",null,s.default.createElement(t.ErrorComponent,null,"A rendering error occurred in component"," ",s.default.createElement("em",null,null==(e=this.props.rendering)?void 0:e.componentName),s.default.createElement("br",null),"Error: ",s.default.createElement("em",null,this.state.error.message||JSON.stringify(this.state.error))));else return s.default.createElement("div",null,s.default.createElement(t.ErrorComponent,{message:this.defaultErrorMessage}));return this.props.disableSuspense||this.props.isDynamic?this.props.children:s.default.createElement(s.Suspense,{fallback:s.default.createElement("h4",null,this.props.componentLoadingMessage||this.defaultLoadingMessage)},this.props.children)}}
25t.default=(0,u.withSitecore)()(l)},13176:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(70334),i=r(71157);let o=(0,n.k)(i.A);class a extends o{}},13182:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStylesheetUrl=void 0,t.getDesignLibraryStylesheetLinks=function(e,r,n=i.SITECORE_EDGE_URL_DEFAULT){let o=new Set;return e.sitecore.route?(s(e.sitecore.route,o),[...o].map(e=>({href:(0,t.getStylesheetUrl)(e,r,n),rel:"stylesheet"}))):[]};let n=r(85917),i=r(849),o=r(30393),a=/-library--([^\s]+)/;t.getStylesheetUrl=(e,t,r=i.SITECORE_EDGE_URL_DEFAULT)=>`${(0,o.normalizeUrl)(r)}/v1/files/components/styles/${e}.css?sitecoreContextId=${t}`;let s=(e,t)=>{var r,i,o,u,l,c;let d;"params"in e&&e.params&&(d=(null==(i=null==(r=e.params.CSSStyles)?void 0:r.match(a))?void 0:i[1])||(null==(u=null==(o=e.params.Styles)?void 0:o.match(a))?void 0:u[1])||e.params.LibraryId||void 0),!d&&"fields"in e&&e.fields&&(d=(null==(l=(0,n.getFieldValue)(e.fields,"CSSStyles","").match(a))?void 0:l[1])||(null==(c=(0,n.getFieldValue)(e.fields,"Styles","").match(a))?void 0:c[1])||(0,n.getFieldValue)(e.fields,"LibraryId","")||void 0),d&&t.add(d);let f=e.placeholders||{};Object.keys(f).forEach(e=>{var r;r=f[e],r.map(e=>s(e,t))})}},14e3:(e,t,r)=>{e.exports=r(49077)},14741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return E}});let n=r(64252),i=r(88365),o=r(37876),a=i._(r(14232)),s=n._(r(98477)),u=n._(r(88022)),l=r(61925),c=r(50946),d=r(85526);r(88912);let f=r(75067),p=n._(r(52795)),h=r(33872),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function y(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let g=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:u,decoding:l,className:c,style:d,fetchPriority:f,placeholder:p,loading:m,unoptimized:g,fill:b,onLoadRef:E,onLoadingCompleteRef:_,setBlurComplete:O,setShowAltText:w,sizesInput:S,onLoad:C,onError:T,...R}=e,P=(0,a.useCallback)(e=>{e&&(T&&(e.src=e.src),e.complete&&y(e,p,E,_,O,g,S))},[r,p,E,_,O,T,g,S]),A=(0,h.useMergedRef)(t,P);return(0,o.jsx)("img",{...R,...v(f),loading:m,width:u,height:s,decoding:l,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:A,onLoad:e=>{y(e.currentTarget,p,E,_,O,g,S)},onError:e=>{w(!0),"empty"!==p&&O(!0),T&&T(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let E=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(f.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
25e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:s,onLoadingComplete:u}=e,h=(0,a.useRef)(s);(0,a.useEffect)(()=>{h.current=s},[s]);let y=(0,a.useRef)(u);(0,a.useEffect)(()=>{y.current=u},[u]);let[v,E]=(0,a.useState)(!1),[_,O]=(0,a.useState)(!1),{props:w,meta:S}=(0,l.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:v,showAltText:_});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...w,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:h,onLoadingCompleteRef:y,setBlurComplete:E,setShowAltText:O,sizesInput:e.sizes,ref:t}),S.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:w}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15039:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r));return t}(r)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}()},15072:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>O});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),c=u("observable"),d=u("species");function f(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function p(e){var t=e.constructor;
25return void 0!==t&&null===(t=t[d])&&(t=void 0),void 0!==t?t:O}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function m(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=f(t,"unsubscribe");r&&r.call(t)}}catch(e){h(e)}}function v(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";var n=e._observer;try{var i=f(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(v(e),i)i.call(n,r);else throw r;break;case"complete":v(e),i&&i.call(n)}}catch(e){h(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],m(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(g(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}g(e,t,r)}}var E=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new _(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(v(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),O=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new E(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=p(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}
25return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=f(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof O&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=f(t,l)))return new r(function(e){m(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){m(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){m(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:d,get:function(){return this}}]),e}();a()&&Object.defineProperty(O,Symbol("extensions"),{value:{symbol:c,hostReportError:h},configurable:!0})},15154:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>h,F$:()=>f,G6:()=>O,MK:()=>c,Od:()=>p,S$:()=>n,Zw:()=>o,b_:()=>l,f8:()=>y,gn:()=>a,j3:()=>s,jY:()=>w,lQ:()=>i,nJ:()=>d,pl:()=>S,vh:()=>u,yy:()=>_});let n="undefined"==typeof window||"Deno"in window;function i(){}function o(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,r){return E(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function l(e,t,r){return E(e)?[{...t,queryKey:e},r]:[e||{},t]}function c(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(E(a))if(n){if(t.queryHash!==f(a,t.options))return!1}else{var u;if(u=t.queryKey,!m(u,a))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(void 0===i||i===t.state.fetchStatus)&&(!o||!!o(t))}function d(e,t){let{exact:r,fetching:n,predicate:i,mutationKey:o}=e;if(E(o)){if(!t.options.mutationKey)return!1;if(r){if(p(t.options.mutationKey)!==p(o))return!1}else{var a;if(a=t.options.mutationKey,!m(a,o))return!1}}return("boolean"!=typeof n||"loading"===t.state.status===n)&&(!i||!!i(t))}function f(e,t){return((null==t?void 0:t.queryKeyHashFn)||p)(e)}function p(e){return JSON.stringify(e,(e,t)=>g(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function h(e,t){return m(e,t)}function m(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!m(e[r],t[r]))}function y(e,t){if(e&&!t||t&&!e)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function g(e){if(!b(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!b(r)&&!!r.hasOwnProperty("isPrototypeOf")}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e){return Array.isArray(e)}function _(e){return new Promise(t=>{setTimeout(t,e)})}function O(e){_(0).then(e)}function w(){if("function"==typeof AbortController)return new AbortController}function S(e,t,r){return null!=r.isDataEqual&&r.isDataEqual(e,t)?e:"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r,n=0){if(t===r)return t;if(n>500)return r;let i=v(t)&&v(r);if(i||g(t)&&g(r)){let o=i?t.length:Object.keys(t).length,a=i?r:Object.keys(r),s=a.length,u=i?[]:{},l=0;for(let o=0;o<s;o++){let s=i?o:a[o];u[s]=e(t[s],r[s],n+1),u[s]===t[s]&&l++}return o===s&&l===o?t:u}return r}(e,t):t}},15821:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
25dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PlaceholderMetadata=void 0;let i=n(r(14232)),o=r(85917),a=r(46395);t.PlaceholderMetadata=({rendering:e,placeholderName:t,children:r,componentRuntime:n})=>{let s=({kind:t,id:r,placeholderName:i})=>{var s;let u=i?"placeholder":"rendering",l={type:"text/sitecore",chrometype:u,className:"scpm",kind:t};if(t===a.MetadataKind.Open){if("placeholder"===u&&i){let t="";for(let n of Object.keys(null!=(s=e.placeholders)?s:{})){if(i===n){t=r?`${i}_${r}`:`${i}_${a.DEFAULT_PLACEHOLDER_UID}`;break}if((0,o.isDynamicPlaceholder)(n)&&(0,o.getDynamicPlaceholderPattern)(n).test(i)){t=r?`${n}_${r}`:`${n}_${a.DEFAULT_PLACEHOLDER_UID}`;break}}l.id=t}else l.id=r;"rendering"===u&&n&&(l["data-csdk-component-runtime"]=n)}return l};return i.default.createElement(i.default.Fragment,null,i.default.createElement("code",Object.assign({},s({kind:a.MetadataKind.Open,id:e.uid,placeholderName:t}))),r,i.default.createElement("code",Object.assign({},s({kind:a.MetadataKind.Close,placeholderName:t}))))}},16241:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventQueue=void 0;let n=r(92849),i=r(34020),o=r(23906);class a{constructor(){this.key="EventQueue"}getEventQueue(){let e=this.getSessionStorage().getItem(this.key)??'""';try{let t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}enqueueEvent(e){let t=this.getSessionStorage();e.eventData.page=e.eventData.page??(0,n.pageName)(),e.eventData.language=e.eventData.language??(0,n.language)(),new i.CustomEvent({sendEvent:o.sendEvent,...e});let r=this.getEventQueue();r.push(e),t.setItem(this.key,JSON.stringify(r))}async sendAllEvents(){for(let e of this.getEventQueue())await new i.CustomEvent({eventData:e.eventData,id:e.id,sendEvent:o.sendEvent,settings:e.settings}).send();this.clearQueue()}clearQueue(){this.getSessionStorage().removeItem(this.key)}getSessionStorage(){return sessionStorage}}t.eventQueue=new a},16550:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withEditorChromes=void 0;let i=n(r(14232)),o=r(52820);t.withEditorChromes=e=>{class t extends i.default.Component{constructor(){super(...arguments),this.displayName=e.displayName||e.name||"Component"}componentDidUpdate(){(0,o.resetEditorChromes)()}render(){return i.default.createElement(e,Object.assign({},this.props))}}return t}},16784:(e,t)=>{"use strict";function r(e){let r={variantId:t.DEFAULT_VARIANT,componentVariantIds:[]};return e.forEach(e=>{var t;e.includes("_")?null==(t=r.componentVariantIds)||t.push(e):r.variantId=e}),r}Object.defineProperty(t,"__esModule",{value:!0}),t.CdpHelper=t.VARIANT_PREFIX=t.DEFAULT_VARIANT=void 0,t.getPersonalizedRewrite=function(e,r){let n=e.endsWith("/")?e.slice(0,-1):e;return`${n}${r.map(e=>`/${t.VARIANT_PREFIX}${e}`).join("")}`},t.getPersonalizedRewriteData=function(e){let n=e.split("/"),i=[];return n.forEach(e=>{let r=e.match(`${t.VARIANT_PREFIX}(.*$)`);r&&i.push(r[1])}),r(i)},t.getGroomedVariantIds=r,t.normalizePersonalizedRewrite=function(e){if(!e.includes(t.VARIANT_PREFIX))return e;let r=e.split("/");return(r=r.filter(e=>!e.includes(t.VARIANT_PREFIX))).join("/")||"/"},t.DEFAULT_VARIANT="_default",t.VARIANT_PREFIX="_variantId_";class n{static getPageVariantId(e,r,n,i){let o=e.replace(/[{}-]/g,""),a=r.replace("-","_"),s=i?`${this.normalizeScope(i)}_`:"",u=n;return n&&n!==t.DEFAULT_VARIANT||(u="default"),`${s}${o}_${a}_${u}`.toLowerCase()}static getPageFriendlyId(e,t,r){let n=e.replace(/[{}-]/g,""),i=t.replace("-","_"),o=r?`${this.normalizeScope(r)}_`:"";return`embedded_${o}${n}_${i}`.toLowerCase()}static getComponentFriendlyId(e,t,r,n){let i=e.replace(/[{}-]/g,""),o=t.replace(/[{}-]/g,""),a=r.replace("-","_"),s=n?`${this.normalizeScope(n)}_`:"";return`component_${s}${i}_${o}_${a}*`.toLowerCase()}static normalizeScope(e){return(null==e?void 0:e.replace(/[^a-zA-Z0-9]+/g,""))||""}}t.CdpHelper=n},16806:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,u=i?40*i:r,l=s&&u?"viewBox='0 0 "+s+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+l+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
25ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(l?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},17070:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>l});var n=r(4902),i=r(80593),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.v[t]||r]})),sizes:(0,n.Cl)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(r=o.canonicalStringify)?void 0:r.call(o),links:function e(t){var r;return t?(0,n.fX)((0,n.fX)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(f):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},c.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:d(this.storeReader.executeSelectionSet),executeSubSelectedArray:d(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:d(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:d(null==e?void 0:e.findFragmentSpreads),lookup:d(null==e?void 0:e.lookup),transform:d(null==e?void 0:e.transform)}})}:void 0,l=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:d(this.getFragmentDoc)}}}function d(e){return e&&"dirtyKey"in e?e.size:void 0}function f(e){return null!=e}function p(e){return(function e(t){return t?(0,n.fX)((0,n.fX)([d(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(f):[]})(e).map(function(e){return{cache:e}})}},17139:function(e,t,r){"use strict";var n=r(99742),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.processDebugResponse=t.debug=void 0;let o=i(r(71673));t.debug=o.default;let a=r(31356);void 0!==n&&n.env&&"true"===n.env.DEBUG_MULTILINE&&o.default.formatters&&o.default.formatters.o&&o.default.formatters.O&&(o.default.formatters.o=o.default.formatters.O),t.processDebugResponse=function(e,t){let r={};return o.default.enabled(e)&&(r={headers:(0,a.normalizeHeaders)(t.headers),redirected:t.redirected,status:t.status,statusText:t.statusText,url:t.url}),r}},17143:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)}
25,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.withLoadImportMap=function(e){let t=t=>{let r=(0,s.useContext)(u.ImportMapReactContext),n=t.loadImportMap||r;return s.default.createElement(e,Object.assign({},t,{loadImportMap:n}))};return t.displayName=`withLoadImportMap(${e.displayName||e.name||"Component"})`,t};let s=a(r(14232)),u=r(58252)},18080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNextJsMiddlewareRequest=void 0,t.isNextJsMiddlewareRequest=function(e){return"cookies"in e&&"get"in e.cookies&&"set"in e.cookies}},18135:(e,t,r)=>{"use strict";let n;e=r.nmd(e);let i=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${n+t}m`},o=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};5;${n}m`},a=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},s=e=>e,u=(e,t,r)=>[e,t,r],l=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},c=(e,t,i,o)=>{void 0===n&&(n=r(67274));let a=10*!!o,s={};for(let[r,o]of Object.entries(n)){let n="ansi16"===r?"ansi":r;r===t?s[n]=e(i,a):"object"==typeof o&&(s[n]=e(o[t],a))}return s};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",l(t.color,"ansi",()=>c(i,"ansi16",s,!1)),l(t.color,"ansi256",()=>c(o,"ansi256",s,!1)),l(t.color,"ansi16m",()=>c(a,"rgb",u,!1)),l(t.bgColor,"ansi",()=>c(i,"ansi16",s,!0)),l(t.bgColor,"ansi256",()=>c(o,"ansi256",s,!0)),l(t.bgColor,"ansi16m",()=>c(a,"rgb",u,!0)),t}})},18659:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},18726:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHttpRequest=void 0,t.isHttpRequest=function(e){return"headers"in e}},18877:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(4902),i=r(79760);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},19031:(e,t,r)=>{var n=r(24298),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||i||Function("return this")()},19221:(e,t,r)=>{"use strict";r.d(t,{a:()=>l});var n=r(4902),i=r(20996),o=r(45813),a=r(68922),s=r(71211),u=r(58851);function l(e,t,r,l){var d=t.data,f=(0,n.Tt)(t,["data"]),p=r.data,h=(0,n.Tt)(r,["data"]);return(0,i.A)(f,h)&&function e(t,r,n,o){if(r===n)return!0;var l=new Set;return t.selections.every(function(t){if(l.has(t)||(l.add(t),!(0,s.MS)(t,o.variables)||c(t)))return!0;if((0,u.dt)(t)){var d=(0,u.ue)(t),f=r&&r[d],p=n&&n[d],h=t.selectionSet;if(!h)return(0,i.A)(f,p);var m=Array.isArray(f),y=Array.isArray(p);if(m!==y)return!1;if(m&&y){var v=f.length;if(p.length!==v)return!1;for(var g=0;g<v;++g)if(!e(h,f[g],p[g],o))return!1;return!0}return e(h,f,p,o)}var b=(0,a.HQ)(t,o.fragmentMap);if(b)return!!c(b)||e(b.selectionSet,r,n,o)})}
25((0,o.Vn)(e).selectionSet,d,p,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:l})}function c(e){return!!e.directives&&e.directives.some(d)}function d(e){return"nonreactive"===e.name.value}},19289:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withComponentMap=function(e){function t(t){let r=(0,a.useContext)(o.ComponentMapReactContext);return i.default.createElement(e,Object.assign({},t,{componentMap:t.componentMap||r}))}return t.displayName=`withComponentMap(${e.displayName||e.name||"Anonymous"})`,t};let i=n(r(14232)),o=r(58252),a=r(14232)},20310:(e,t,r)=>{"use strict";r.d(t,{BJ:()=>d,UU:()=>l,oq:()=>c});let n=e=>{let t=typeof e;return null!==e&&("object"===t||"function"===t)},i=new Set(["__proto__","prototype","constructor"]),o=new Set("0123456789");function a(e){let t=[],r="",n="start",a=!1;for(let s of e)switch(s){case"\\":if("index"===n)throw Error("Invalid character in an index");if("indexEnd"===n)throw Error("Invalid character after an index");a&&(r+=s),n="property",a=!a;break;case".":if("index"===n)throw Error("Invalid character in an index");if("indexEnd"===n){n="property";break}if(a){a=!1,r+=s;break}if(i.has(r))return[];t.push(r),r="",n="property";break;case"[":if("index"===n)throw Error("Invalid character in an index");if("indexEnd"===n){n="index";break}if(a){a=!1,r+=s;break}if("property"===n){if(i.has(r))return[];t.push(r),r=""}n="index";break;case"]":if("index"===n){t.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if("indexEnd"===n)throw Error("Invalid character after an index");default:if("index"===n&&!o.has(s))throw Error("Invalid character in an index");if("indexEnd"===n)throw Error("Invalid character after an index");"start"===n&&(n="property"),a&&(a=!1,r+="\\"),r+=s}switch(a&&(r+="\\"),n){case"property":if(i.has(r))return[];t.push(r);break;case"index":throw Error("Index was not closed");case"start":t.push("")}return t}function s(e,t){if("number"!=typeof t&&Array.isArray(e)){let r=Number.parseInt(t,10);return Number.isInteger(r)&&e[r]===e[t]}return!1}function u(e,t){if(s(e,t))throw Error("Cannot use string index")}function l(e,t,r){if(!n(e)||"string"!=typeof t)return void 0===r?e:r;let i=a(t);if(0===i.length)return r;for(let t=0;t<i.length;t++){let n=i[t];if(null==(e=s(e,n)?t===i.length-1?void 0:null:e[n])){if(t!==i.length-1)return r;break}}return void 0===e?r:e}function c(e,t,r){if(!n(e)||"string"!=typeof t)return e;let i=e,o=a(t);for(let t=0;t<o.length;t++){let i=o[t];u(e,i),t===o.length-1?e[i]=r:n(e[i])||(e[i]="number"==typeof o[t+1]?[]:{}),e=e[i]}return i}function d(e,t){if(!n(e)||"string"!=typeof t)return!1;let r=a(t);for(let t=0;t<r.length;t++){let i=r[t];if(u(e,i),t===r.length-1)return delete e[i],!0;if(!n(e=e[i]))return!1}}},20454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constructGetBrowserIdUrl=void 0;let n=r(10768);t.constructGetBrowserIdUrl=function(e,t){return`${e}/v1/events/${n.API_VERSION}/browser/create.json?sitecoreContextId=${t}&client_key=`}},20713:(e,t,r)=>{"use strict";r.d(t,{z:()=>u});var n=r(4902),i=r(22337),o=r(15072),a=r(83070),s=function(){function e(e,t,r,i,o){var a=this;this.observer=e,this.operation=t,this.forward=r,this.delayFor=i,this.retryIf=o,this.retryCount=0,this.currentSubscription=null,this.onError=function(e){return(0,n.sH)(a,void 0,void 0,function(){return(0,n.YH)(this,function(t){switch(t.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,e)];case 1:if(t.sent())return this.scheduleRetry(this.delayFor(this.retryCount,this.operation,e)),[2];return this.observer.error(e),[2]}})})},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){var e=this;this.currentSubscription=this.forward(this.operation).subscribe({next:function(t){var r;if((0,a.uR)(t)){e.onError(new a.K4({protocolErrors:t.extensions[a.K$]})),null==(r=e.currentSubscription)||r.unsubscribe();return}e.observer.next(t)},error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(e){var t=this;if(this.timerId)throw Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(function(){t.timerId=void 0,t.try()},e)},e}(),u=function(e){function t(t){var r,n,i,o,a,s,u,l,c,d,f,p,h=e.call(this)||this,m=t||{},y=m.attempts,v=m.delay;return h.delayFor="function"==typeof v?v:(i=void 0===(n=(r=v||{}).initial)?300:n,a=void 0===(o=r.jitter)||o,u=void 0===(s=r.max)?1/0:s,l=a?i:i/2,function(e){var t=Math.min(u,l*Math.pow(2,e));return a&&(t=Math.random()*t),t}),h.retryIf="function"==typeof y?y:(d=(c=y||{}).retryIf,p=void 0===(f=c.max)?5:f,function(e,t,r){return!(e>=p)&&(d?d(r,t):!!r)}),h}return(0,n.C6)(t,e),t.prototype.request=function(e,t){var r=this;return new o.c(function(n){var i=new s(n,e,t,r.delayFor,r.retryIf);return function(){i.cancel()}})},t}(i.C)},20722:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,A:()=>o});var n=r(14232);let i=(0,n.createContext)({}),o=(0,n.createContext)({})},20996:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=l(t),o=l(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(f(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,d)}}return!1}(e,t)}finally{a.clear()}}let u=s;function l(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}let d="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},21376:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});
25var n=r(14232),i=r(58457),o=r(67271),a=r(84750);let s=()=>{var e;let{page:{mode:t,layout:r},api:s}=(0,i.M)(),{clientData:u,clientScripts:l}=r.sitecore.context;if(t.isNormal||t.isPreview)return n.createElement(n.Fragment,null);if(t.isDesignLibrary){let t=new Date,r=String(t.getUTCHours()).padStart(2,"0"),i=String(t.getUTCDate()).padStart(2,"0"),o=String(t.getUTCMonth()+1).padStart(2,"0"),u=String(t.getUTCFullYear()),l=`${r}-${i}-${o}-${u}`,c=`${(0,a.$O)(null==(e=null==s?void 0:s.edge)?void 0:e.edgeUrl)}?cb=${l}`;return n.createElement(n.Fragment,null,n.createElement("script",{src:c,suppressHydrationWarning:!0}))}let c=Object.assign(Object.assign({},u),(0,o.Z1)());return n.createElement(n.Fragment,null,null==l?void 0:l.map((e,t)=>n.createElement("script",{src:e,key:t})),Object.keys(c).map(e=>n.createElement("script",{key:e,id:e,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(c[e])}})))}},21500:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(93957);function i(e){var t;return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}},22181:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.RichText=t.prefetched=void 0;let u=a(r(14232)),l=r(34824),c=r(14e3),d=r(52820);t.prefetched={},t.RichText=e=>{let{internalLinksSelector:r='a[href^="/"]',prefetchLinks:n=!0,editable:i=!0}=e,o=s(e,["internalLinksSelector","prefetchLinks","editable"]),a=e.field&&e.field.value,f=i&&e.field&&e.field.metadata,{pageRouter:p,appRouter:h}={pageRouter:(0,l.useRouter)(),appRouter:(()=>{try{return(0,c.useRouter)()}catch(e){return null}})()},m=(0,u.useRef)(null);(0,u.useEffect)(()=>{a&&!f&&v()},[a]);let y=e=>{if(!e.currentTarget)return;e.preventDefault();let t=e.currentTarget.href;p?p.push(t,t,{locale:!1}):h&&h.push(t)},v=()=>{let e=m.current,i=e&&e.querySelectorAll(r);i&&i.length&&i.forEach(e=>{if("_blank"===e.target)return;let r=()=>{p?p.prefetch(e.pathname,void 0,{locale:!1}):h&&h.prefetch(e.pathname),t.prefetched[e.pathname]=!0};if(!t.prefetched[e.pathname]&&!1!==n&&(!0===n&&r(),"hover"===n)){let t=()=>{r(),e.removeEventListener("mouseover",t)};e.addEventListener("mouseover",t,!1)}e.addEventListener("click",y,!1)})};return u.default.createElement(d.RichText,Object.assign({ref:m,editable:i},o))},t.RichText.displayName="NextRichText"},22229:(e,t,r)=>{"use strict";var n;r.d(t,{A:()=>d});let i={name:"Appearance",properties:{templates:{type:"model",model:{name:"Templates",properties:{sections:{type:"array"},devices:{type:"array"},keep_variables:{},keep_original_css:{}}}},variables:{type:"model",model:{name:"Variables",properties:{sections:{type:"array"}}}}}},o={name:"Questions",properties:{keyphrase:{},exact_answer:{type:"model",model:{name:"ExactAnswer",properties:{query_types:{type:"array"}}}},related_questions:{type:"model",model:{name:"RelatedQuestions",properties:{limit:{},offset:{}}}}}},a={name:"Content",properties:{fields:{type:"array"}}},s={name:"SearchFilter",properties:{type:{},name:{required:!0},values:{type:"array",required:!0}}},u={name:"Rule",properties:{behaviors:{}
25,blacklist:{type:"model",model:{name:"Blacklist",properties:{filter:{type:"model",model:s,required:!0}}}},boost:{type:"array",model:{name:"Boost",properties:{filter:{type:"model",model:s,required:!0},slots:{type:"array",required:!0}}}},bury:{type:"model",model:{name:"Bury",properties:{filter:{type:"model",model:s,required:!0}}}},include:{type:"array",model:{name:"Include",properties:{filter:{type:"model",model:s,required:!0},slots:{type:"array",required:!0}}}},pin:{type:"array",model:{name:"Pin",properties:{id:{required:!0},slot:{type:"array",required:!0}}}}}},l={name:"FacetSort",properties:{name:{required:!0},order:{required:!0}}};!function(e){e.HARD_FILTERS="hard_filters",e.OTHER_FACET_VALUES="other_facet_values",e.OWN_VALUES="own_values"}(n=n||(n={}));let c={name:"Search",properties:{sort:{type:"model",model:{name:"Sort",properties:{choices:{},value:{type:"model",model:{name:"SortItem",properties:{name:{required:!0},order:{}}},exportKey:["value[0]"],name:"criteria"}}}},content:{type:"model",model:a},facet:{type:"model",model:{name:"Facet",properties:{all:{},max:{},sort:{type:"model",model:l},types:{type:"array",model:{name:"FacetType",properties:{after:{},exclude:{type:"array"},filter:{},filtering_options:{type:"array"},keyphrase:{},max:{},min_count:{},name:{required:!0},sort:{type:"array",model:l}}}}}}},filter:{},group_by:{},limit:{},offset:{},personalization:{type:"model",model:{name:"Personalization",properties:{algorithm:{},fields:{type:"array"},ids:{type:"array"}}}},query:{type:"model",model:{name:"Query",properties:{highlight:{type:"model",model:{name:"Highlight",properties:{fields:{type:"array",required:!0},fragment_size:{},post_tag:{type:"string"},pre_tag:{type:"string"}}}},keyphrase:{required:!0},operator:{},relevance:{type:"array",model:{name:"Relevance",properties:{analyzer:{required:!0},name:{required:!0},weight:{}}}}}}},ranking:{type:"array",model:{name:"Ranking",properties:{name:{required:!0},weight:{}}}},response_context:{type:"model",model:{name:"ResponseContext",properties:{}},merge:!0},rule:{type:"model",model:u},suggestion:{type:"array",model:{name:"Suggestion",properties:{exclude:{},keyphrase_fallback:{},max:{},name:{required:!0}}}},swatch:{type:"model",model:{name:"Swatch",properties:{fields:{type:"array"},group_by:{},max:{}}}}}},d={name:"WidgetItem",buildInterface:!0,properties:{entity:{required:!0},rfk_id:{required:!0,name:"rfkId"},recommendations:{type:"model",model:{name:"Recommendations",properties:{content:{type:"model",model:a},filter:{type:"model",model:s},recipe:{type:"model",model:{name:"RecommendationsRecipe",properties:{id:{},version:{}}}},limit:{},rule:{type:"model",model:u}}}},questions:{type:"model",model:o},rfk_flags:{type:"array",name:"rfkFlags"},search:{type:"model",model:c},sources:{type:"array"},appearance:{type:"model",model:i}}}},22337:(e,t,r)=>{"use strict";r.d(t,{C:()=>d});var n=r(36938),i=r(15072),o=r(4902),a=r(45813),s=r(33408);function u(e,t){return t?t(e):i.c.of()}function l(e){return"function"==typeof e?new d(e):e}function c(e){return e.request.length<=1}var d=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=l(r),a=l(n||new e(u));return Object.assign(new e(c(o)&&c(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,u,l,c;return e.request((u=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n.vA)(58,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),l=s,c=(0,o.Cl)({},u),Object.defineProperty(l,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,o.Cl)((0,o.Cl)({},c),e(c)):(0,o.Cl)((0,o.Cl)({},c),e)}}),Object.defineProperty(l,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},c)}}
25),l))||i.c.of()},e.concat=function(t,r){var o=l(t);if(c(o))return!1!==globalThis.__DEV__&&n.V1.warn(47,o),o;var a=l(r);return Object.assign(new e(c(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,s.S2)("onError",function(){!1!==globalThis.__DEV__&&n.V1.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&n.V1.warn(50),this.onError=e,this},e}()},22366:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return"object"==n(e)&&null!==e}r.d(t,{A:()=>i})},22544:(e,t,r)=>{"use strict";r.d(t,{N:()=>y});var n=r(14232),i=r(48230),o=r.n(i),a=r(60039),s=r(98741),u=r(63561),l=r(53282),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let d=(0,s.O)((0,u.N)((0,n.forwardRef)((e,t)=>{var{field:r,editable:i=!0,showLinkTextWithChildrenPresent:o}=e,s=c(e,["field","editable","showLinkTextWithChildrenPresent"]);let u=s.children;if((0,a.JE)(r))return null;let l=r.href?r:r.value;if(!l)return null;let d="anchor"!==l.linktype&&l.anchor?`#${l.anchor}`:"",f=l.querystring?`?${l.querystring}`:"",p={href:`${l.href}${f}${d}`,className:l.class,title:l.title,target:l.target};"_blank"!==p.target||p.rel||(p.rel="noopener noreferrer");let h=o||!u?l.text||l.href:null,m=n.createElement("a",Object.assign(Object.assign(Object.assign({},p),s),{key:"link",ref:t}),h,u);return n.createElement(n.Fragment,null,m)}),{defaultEmptyFieldEditingComponent:l.G,isForwardRef:!0}),!0);d.displayName="Link";var f=r(99742),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let h=["as","onNavigate","passHref","prefetch","replace","scroll","shallow"],m=/^\/.*\.\w+$/,y=(0,n.forwardRef)((e,t)=>{let{field:r,editable:i=!0,children:a,internalLinkMatcher:s=/^\//g,showLinkTextWithChildrenPresent:u}=e,l=p(e,["field","editable","children","internalLinkMatcher","showLinkTextWithChildrenPresent"]);if(!r||!r.value&&!r.href&&!r.metadata)return null;let c=r.href?r:r.value,{href:y,querystring:v,anchor:g}=c||{},b=i&&r.metadata;if(y&&!b){let r=u||!a?c.text||c.href:null,i=s.test(y),d=m.test(y);if(i&&!d)return n.createElement(o(),Object.assign({href:{pathname:y,query:v,hash:g},key:"link",title:c.title,target:c.target,className:c.class},l,{locale:!1,ref:t},f.env.TEST?{"data-nextjs-link":!0,"data-nextjs-prefetch":e.prefetch}:{}),r,a)}let E=function(e){let t=Object.assign({},e);for(let e of[...h,"internalLinkMatcher"])delete t[e];return t}(e);return n.createElement(d,Object.assign({},E,{ref:t},f.env.TEST?{"data-react-link":!0}:{}))});y.displayName="NextLink"},23015:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});var n=r(14232);let i=(e,t)=>{let r=(0,n.useRef)(t),i=(0,n.useRef)(e);return r.current!==t&&(r.current.length!==t.length||r.current.some((e,r)=>e!==t[r]))&&(r.current=t,i.current=e),i}},23041:(e,t,r)=>{"use strict";r.d(t,{Xf:()=>l,dW:()=>c});var n=r(14232),i=r(74218),o=r(86056),a=r(9863);let{ExternalComponent:s}=i,u=e=>{var t;return n.createElement("div",null,"A rendering error occurred: ",null==(t=e.error)?void 0:t.message,".")};class l extends n.Component{constructor(e){super(e),this.state={}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}render(){var e,t,r;let i=this.props;if(this.state.error)return this.props.errorComponent?n.createElement(this.props.errorComponent,{error:this.state.error}):n.createElement(u,{error:this.state.error});let{ComponentName:l}=i.params||{};if(!l){let e={errorOverride:"BYOC: The ComponentName for this rendering is missing"},t=this.props.missingComponentComponent;return t?n.createElement(t,Object.assign({},e)):n.createElement(a.K,Object.assign({},e))}let c={rendering:{componentName:l},errorOverride:"BYOC: This component was not registered."},d=this.props.missingComponentComponent?n.createElement(this.props.missingComponentComponent,Object.assign({},c)):n.createElement(a.K,Object.assign({},c)),f=this.props.errorComponent,p={};if(null==(e=i.params)?void 0:e.ComponentProps)try{p=null!=(t=JSON.parse(i.params.ComponentProps))?t:{}}catch(e){return console.error(`Parsing props for ${l} component from rendering params failed. Error: ${e}`),f?n.createElement(f,{error:e}):n.createElement(u,{error:e})}let h=Object.assign(Object.assign({},i.fetchedData),{_:(0,o.q)(null!=(r=i.fields)?r:{})});return n.createElement(s,Object.assign({},i.rendering,{componentName:l,clientFallback:d,datasources:h},p))}}let c=e=>{var t,r,i;let o=null==(r=null==(t=e.params)?void 0:t.styles)?void 0:r.trimEnd(),a=null==(i=e.params)?void 0:i.RenderingIdentifier;return n.createElement("div",{className:o||void 0,id:a||void 0},n.createElement("div",{className:"component-content"},n.createElement(l,Object.assign({},e))))}},23399:(e,t,r)=>{"use strict";r.d(t,{D:()=>function e(t,r,{mutate:i=!1}={}){let o=i?t:Object.assign({},t);return(0,n.G)(t)&&(0,n.G)(r)&&Object.keys(r).forEach(i=>
25{(0,n.G)(r[i])&&i in t?o[i]=e(t[i],r[i]):Object.assign(o,{[i]:r[i]})}),o}});var n=r(9869)},23816:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudSDK=t.getCookiesValuesFromEdge=t.builderInstance=t.getEnabledPackage=t.getCloudSDKSettings=t.CloudSDKBrowserInitializer=t.cookiesValuesFromEdge=t.initCoreState=t.enabledPackages=t.cloudSDKSettings=void 0;let n=r(31356),i=r(57168),o=r(55982),a=r(10768),s=r(52612),u=r(17139),l=r(81948),c=r(57486);t.enabledPackages=new Map,t.initCoreState=null;class d{constructor(e){if("undefined"==typeof window)throw Error(a.ErrorMessages.IE_0001);this.validateSettings(e),t.cloudSDKSettings=this.createSettings(e)}initialize(){t.enabledPackages.size||(0,u.debug)(l.CORE_NAMESPACE)("CloudSDK was initialized with no packages"),t.cloudSDKSettings.cookieSettings.enableBrowserCookie?t.initCoreState=this.createCookies():t.initCoreState=Promise.resolve(),this.sideEffects(),t.enabledPackages.forEach(e=>{e.exec()})}sideEffects(){window.scCloudSDK={...window.scCloudSDK,core:{getBrowserId:o.getBrowserId,getGuestId:c.getGuestId,settings:{siteName:t.cloudSDKSettings.siteName,sitecoreEdgeContextId:t.cloudSDKSettings.sitecoreEdgeContextId,sitecoreEdgeUrl:t.cloudSDKSettings.sitecoreEdgeUrl},version:a.LIBRARY_VERSION}}}validateSettings(e){let{sitecoreEdgeContextId:t,siteName:r,sitecoreEdgeUrl:n}=e;if(!t||0===t.trim().length)throw Error(a.ErrorMessages.MV_0001);if(!r||0===r.trim().length)throw Error(a.ErrorMessages.MV_0002);if(void 0!==n)try{new URL(n)}catch(e){throw Error(a.ErrorMessages.IV_0001)}}createSettings(e){let{siteName:t,sitecoreEdgeContextId:r,cookieDomain:n,cookiePath:i,cookieExpiryDays:o,sitecoreEdgeUrl:s,enableBrowserCookie:u}=e;return{cookieSettings:{domain:n,enableBrowserCookie:u??!1,expiryDays:o||a.DEFAULT_COOKIE_EXPIRY_DAYS,name:{browserId:`${a.COOKIE_NAME_PREFIX}${r}`},path:i||"/"},siteName:t,sitecoreEdgeContextId:r,sitecoreEdgeUrl:s??a.SITECORE_EDGE_URL}}async createCookies(){let e=(0,s.getDefaultCookieAttributes)(t.cloudSDKSettings.cookieSettings.expiryDays,t.cloudSDKSettings.cookieSettings.domain);if((0,n.getCookie)(window.document.cookie,t.cloudSDKSettings.cookieSettings.name.browserId))return;let r=await (0,i.fetchBrowserIdFromEdgeProxy)(t.cloudSDKSettings.sitecoreEdgeUrl,t.cloudSDKSettings.sitecoreEdgeContextId);document.cookie=(0,n.createCookieString)(t.cloudSDKSettings.cookieSettings.name.browserId,r.browserId,e),t.cookiesValuesFromEdge=r}}t.CloudSDKBrowserInitializer=d,t.getCloudSDKSettings=function(){if(!t.cloudSDKSettings)throw Error(a.ErrorMessages.IE_0012);return t.cloudSDKSettings},t.getEnabledPackage=function(e){return t.enabledPackages.get(e)},t.builderInstance=null,t.getCookiesValuesFromEdge=function(){return t.cookiesValuesFromEdge},t.CloudSDK=function(e){return t.builderInstance=new d(e),t.builderInstance}},23872:(e,t,r)=>{"use strict";var n=r(14232),i=r(59501);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){!function(e,t,r){var n;(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var c="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function d(e){var t=n.useRef(e);return c(function(){t.current=e}),n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current.apply(void 0,r)},[])}var f=function(e,t){var r=t.decimal,n=t.decimals,o=t.duration,a=t.easingFn,s=t.end,u=t.formattingFn,l=t.
25numerals,c=t.prefix,d=t.separator,f=t.start,p=t.suffix,h=t.useEasing,m=t.useGrouping,y=t.useIndianSeparators,v=t.enableScrollSpy,g=t.scrollSpyDelay,b=t.scrollSpyOnce,E=t.plugin;return new i.CountUp(e,s,{startVal:f,duration:o,decimal:r,decimalPlaces:n,easingFn:a,formattingFn:u,numerals:l,separator:d,prefix:c,suffix:p,plugin:E,useEasing:h,useIndianSeparators:y,useGrouping:m,enableScrollSpy:v,scrollSpyDelay:g,scrollSpyOnce:b})},p=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],h={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},m=function(e){var t=Object.fromEntries(Object.entries(e).filter(function(e){return void 0!==(function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],u=!0,l=!1;try{o=(r=r.call(e)).next,!1;for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,2)||function(e,t){if(e){if("string"==typeof e)return l(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]})),r=n.useMemo(function(){return a(a({},h),t)},[e]),i=r.ref,o=r.startOnMount,s=r.enableReinitialize,c=r.delay,m=r.onEnd,y=r.onStart,v=r.onPauseResume,g=r.onReset,b=r.onUpdate,E=u(r,p),_=n.useRef(),O=n.useRef(),w=n.useRef(!1),S=d(function(){return f("string"==typeof i?i:i.current,E)}),C=d(function(e){var t=_.current;if(t&&!e)return t;var r=S();return _.current=r,r}),T=d(function(){var e=function(){return C(!0).start(function(){null==m||m({pauseResume:R,reset:P,start:I,update:A})})};c&&c>0?O.current=setTimeout(e,1e3*c):e(),null==y||y({pauseResume:R,reset:P,update:A})}),R=d(function(){C().pauseResume(),null==v||v({reset:P,start:I,update:A})}),P=d(function(){C().el&&(O.current&&clearTimeout(O.current),C().reset(),null==g||g({pauseResume:R,start:I,update:A}))}),A=d(function(e){C().update(e),null==b||b({pauseResume:R,reset:P,start:I})}),I=d(function(){P(),T()}),D=d(function(e){o&&(e&&P(),T())});return n.useEffect(function(){w.current?s&&D(!0):(w.current=!0,D())},[s,w,D,c,e.start,e.suffix,e.prefix,e.duration,e.separator,e.decimals,e.decimal,e.formattingFn]),n.useEffect(function(){return function(){P()}},[P]),{start:I,pauseResume:R,reset:P,update:A,getCountUp:C}},y=["className","redraw","containerProps","children","style"];t.Ay=function(e){var t=e.className,r=e.redraw,i=e.containerProps,o=e.children,l=e.style,c=u(e,y),f=n.useRef(null),p=n.useRef(!1),h=m(a(a({},c),{},{ref:f,startOnMount:"function"!=typeof o||0===e.delay,enableReinitialize:!1})),v=h.start,g=h.reset,b=h.update,E=h.pauseResume,_=h.getCountUp,O=d(function(){v()}),w=d(function(t){e.preserveValue||g(),b(t)}),S=d(function(){if("function"==typeof e.children&&!(f.current instanceof Element))return void console.error('Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.');_()});n.useEffect(function(){S()},[S]),n.useEffect(function(){p.current&&w(e.end)},[e.end,w]);var C=r&&e;return(n.useEffect(function(){r&&p.current&&O()},[O,r,C]),n.useEffect(function(){!r&&p.current&&O()},[O,r,e.start,e.suffix,e.prefix,e.duration,e.separator,e.decimals,e.decimal,e.className,e.formattingFn]),n.useEffect(function(){p.current=!0},[]),"function"==typeof o)?o({countUpRef:f,start:v,reset:g,update:b,pauseResume:E,getCountUp:_}):n.createElement("span",s({className:t,ref:f,style:l},i),void 0!==e.start?_().formattingFn(e.start):"")}},23906:(e,t,r)=>{"use strict";
25Object.defineProperty(t,"__esModule",{value:!0}),t.sendEvent=void 0;let n=r(92849),i=r(52094);t.sendEvent=async function(e,t){let r=`${t.sitecoreEdgeUrl}/v1/events/${n.API_VERSION}/events?sitecoreContextId=${t.sitecoreEdgeContextId}&siteId=${t.siteName}`,o=Date.now(),a={},s={body:JSON.stringify(e),headers:{"Content-Type":"application/json","X-Client-Software-ID":i.X_CLIENT_SOFTWARE_ID,"X-Library-Version":i.PACKAGE_VERSION},method:"POST"};return(0,n.debug)(i.EVENTS_NAMESPACE)("Events request: %s with options: %O",r,s),await fetch(r,s).then(e=>(a=(0,n.processDebugResponse)(i.EVENTS_NAMESPACE,e),e.json())).then(e=>(a.body=e,(0,n.debug)(i.EVENTS_NAMESPACE)("Events response in %dms : %O",Date.now()-o,a),e)).catch(e=>((0,n.debug)(i.EVENTS_NAMESPACE)("Error: events response: %O",e),null))}},23913:(e,t,r)=>{"use strict";var n;r.d(t,{Vy:()=>s}),function(e){e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e[e.TRACE=5]="TRACE"}(n=n||(n={}));let i={none:n.NONE,error:n.ERROR,warn:n.WARN,info:n.INFO,debug:n.DEBUG,trace:n.TRACE},o="Sitecore Search SDK";class a{constructor(e,t=n.NONE,r=o){Object.defineProperty(this,"NONE",{enumerable:!0,configurable:!0,writable:!0,value:n.NONE}),Object.defineProperty(this,"ERROR",{enumerable:!0,configurable:!0,writable:!0,value:n.ERROR}),Object.defineProperty(this,"WARN",{enumerable:!0,configurable:!0,writable:!0,value:n.WARN}),Object.defineProperty(this,"INFO",{enumerable:!0,configurable:!0,writable:!0,value:n.INFO}),Object.defineProperty(this,"DEBUG",{enumerable:!0,configurable:!0,writable:!0,value:n.DEBUG}),Object.defineProperty(this,"TRACE",{enumerable:!0,configurable:!0,writable:!0,value:n.TRACE}),Object.defineProperty(this,"transports",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"logLevel",{enumerable:!0,configurable:!0,writable:!0,value:n.NONE}),Object.defineProperty(this,"namespace",{enumerable:!0,configurable:!0,writable:!0,value:o}),this.transports=e,this.namespace=r,this.setLogLevel(t)}setLogLevel(e){if("string"!=typeof e)this.logLevel=e;else if(i[e])this.logLevel=i[e];else throw Error(`Logger :: Invalid logLevel (${e})`)}send(e,t,...r){try{this.logLevel>=e&&this.transports.forEach(e=>{e[t](this.namespace," ::: ",...r)})}catch(e){console.error(e)}}error(...e){return this.send(n.ERROR,"error",...e)}warn(...e){return this.send(n.WARN,"warn",...e)}info(...e){return this.send(n.INFO,"info",...e)}debug(...e){return this.send(n.DEBUG,"debug",...e)}trace(...e){return this.send(n.TRACE,"log",...e)}}let s=new a([console])},24098:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibraryVariantGenerationEvents=t.DesignLibraryPreviewEvents=t.__mockDependencies=void 0;let s=a(r(14232)),u=a(r(46395)),l=a(r(78565)),c=r(9836),d=r(94082),{getDesignLibraryComponentPropsEvent:f,addServerComponentPreviewHandler:p,getDesignLibraryImportMapEvent:h,addStyleElement:m,sendErrorEvent:y}=l,{getDesignLibraryStatusEvent:v,addComponentUpdateHandler:g,postToDesignLibrary:b}=u,E=c.updateComponentAction,_=c.previewComponentAction;t.__mockDependencies=e=>{b=e.postToDesignLibrary,g=e.addComponentUpdateHandler,E=e.updateComponentAction,_=e.previewComponentAction,p=e.addServerComponentPreviewHandler,h=e.getDesignLibraryImportMapEvent,f=e.getDesignLibraryComponentPropsEvent,m=e.addStyleElement,y=e.sendErrorEvent},t.DesignLibraryPreviewEvents=({designLibraryStatus:e,component:t})=>((0,s.useEffect)(()=>
25{if(!(null==t?void 0:t.uid))return;b(v(e,t.uid,!0));let r=g(t,e=>{E({uid:e.uid,rendering:e})});return()=>{r&&r()}},[t,e]),s.default.createElement(s.default.Fragment,null)),t.DesignLibraryVariantGenerationEvents=({designLibraryStatus:e,component:t,importMap:r,componentInitError:n,generatedComponentData:i})=>{let{api:o}=(0,d.useSitecore)();return(0,s.useEffect)(()=>{var a;if(!(null==t?void 0:t.uid))return;b(v(e,t.uid,!0));let s=g(t,e=>{E({uid:e.uid,rendering:e,generatedComponentData:i})}),u=p(e=>{var r;_({uid:t.uid,args:e},null==(r=null==o?void 0:o.edge)?void 0:r.edgeUrl)});if(n)y(t.uid,n.message,n.type);else{let e=h(t.uid,r);b(e);let n=f(t.uid,t.fields,t.params);b(n),(null==(a=null==i?void 0:i.styles)?void 0:a.content)&&m(i.styles.content)}return()=>{s&&s(),u&&u()}},[t,e,r,n,i]),s.default.createElement(s.default.Fragment,null)}},24298:(e,t,r)=>{e.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},24775:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HiddenRendering=void 0;let i=n(r(14232)),o={backgroundSize:"3px 3px",display:"flex",justifyContent:"center",alignItems:"center",padding:"30px",color:"#aaa"},a={backgroundImage:"linear-gradient(45deg, #ffffff 25%, #dcdcdc 25%, #dcdcdc 50%, #ffffff 50%, #ffffff 75%, #dcdcdc 75%, #dcdcdc 100%)"};t.HiddenRendering=()=>{let e=Object.assign(Object.assign({},o),a);return i.default.createElement("div",{style:e},"The component is hidden")}},24813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieValueClientSide=void 0;let n=r(77801);t.getCookieValueClientSide=function(e){let t=(0,n.getCookie)(document.cookie,e);return t?.value??""}},24822:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BYOCWrapper=t.BYOCComponent=t.__mockDependencies=void 0;let u=s(r(14232)),l=a(r(74218)),c=r(83757),d=r(56426),{ExternalComponent:f}=l;t.__mockDependencies=e=>{e.ExternalComponent&&(f=e.ExternalComponent)};let p=e=>{var t;return u.default.createElement("div",null,"A rendering error occurred: ",null==(t=e.error)?void 0:t.message,".")};class h extends u.default.Component{constructor(e){super(e),this.state={}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}render(){var e,t,r;let n=this.props;if(this.state.error)return this.props.errorComponent?u.default.createElement(this.props.errorComponent,{error:this.state.error}):u.default.createElement(p,{error:this.state.error});let{ComponentName:i}=n.params||{};if(!i){let e={errorOverride:"BYOC: The ComponentName for this rendering is missing"},t=this.props.missingComponentComponent;return t?u.default.createElement(t,Object.assign({},e)):u.default.createElement(d.MissingComponent,Object.assign({},e))}let o={rendering:{componentName:i},errorOverride:"BYOC: This component was not registered."},a=this.props.missingComponentComponent?u.default.createElement(this.props.missingComponentComponent,Object.assign({},o)):u.default.createElement(d.MissingComponent,Object.assign({},o)),s=this.props.errorComponent,l={};if(null==(e=n.params)?void 0:e.ComponentProps)try{l=null!=(t=JSON.parse(n.params.ComponentProps))?t:{}}catch(e){return console.error(`Parsing props for ${i} component from rendering params failed. Error: ${e}`),s?u.default.createElement(s,{error:e}):u.default.createElement(p,{error:e})}let h=Object.assign(Object.assign({},n.fetchedData),{_:(0,c.getDataFromFields)(null!=(r=n.fields)?r:{})});return u.default.createElement(f,Object.assign({},n.rendering,{componentName:i,clientFallback:a,datasources:h},l))}}t.BYOCComponent=h,t.BYOCWrapper=e=>{var t,r,n;let i=null==(r=null==(t=e.params)?void 0:t.styles)?void 0:r.trimEnd(),o=null==(n=e.params)?void 0:n.RenderingIdentifier;return u.default.createElement("div",{className:i||void 0,id:o||void 0},u.default.createElement("div",{className:"component-content"},u.default.createElement(h,Object.assign({},e))))}},25488:(e,t,r)=>{"use strict";
25Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useRouter",{enumerable:!0,get:function(){return o}});let n=r(14232),i=r(75067);function o(){return(0,n.useContext)(i.RouterContext)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEdgeProxyFormsUrl=t.getEdgeProxyContentUrl=void 0;let n=r(849),i=r(30393);t.getEdgeProxyContentUrl=(e,t=n.SITECORE_EDGE_URL_DEFAULT)=>`${(0,i.normalizeUrl)(t)}/v1/content/api/graphql/v1?sitecoreContextId=${e}`,t.getEdgeProxyFormsUrl=(e,t,r=n.SITECORE_EDGE_URL_DEFAULT)=>`${(0,i.normalizeUrl)(r)}/v1/forms/publisher/${t}?sitecoreContextId=${e}`},26109:(e,t,r)=>{"use strict";var n,i,o;r.d(t,{Yl:()=>n}),function(e){e.DESKTOP="pc",e.MOBILE="mobile",e.TABLET="tablet"}(n=n||(n={})),function(e){e.JS="js",e.HTML="html",e.CSS="css"}(i=i||(i={})),function(e){e.PAGE="page",e.COMMON_ACROSS_PAGES="common_across_pages",e.DIALOG="dialog"}(o=o||(o={}))},26146:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SitePathService=t.sitesError=t.siteError=t.languageError=void 0,t.getSiteEmptyError=s;let i=n(r(3107)),o=r(47421),a=r(52892);function s(e){return`Site "${e}" does not exist or site item tree is missing`}t.languageError="The list of languages cannot be empty",t.siteError="The service needs a site name",t.sitesError="The list of sites cannot be empty";class u{constructor(e){this.options=e,this._graphQLClient=this.getGraphQLClient()}get graphQLClient(){return this._graphQLClient}get query(){let e;return e=this.options.includePersonalizedRoutes,`
26query ${e?"PersonalizeSitemapQuery":"DefaultSitemapQuery"}(
27  $siteName: String!
28  $language: String!
29  $includedPaths: [String]
30  $excludedPaths: [String]
31  $pageSize: Int = 100
32  $after: String
33) {
34  site {
35    siteInfo(site: $siteName) {
36      routes(
37        language: $language
38        includedPaths: $includedPaths
39        excludedPaths: $excludedPaths
40        first: $pageSize
41        after: $after
42      ){
43        total
44        pageInfo {
45          endCursor
46          hasNext
47        }
48        results {
49          path: routePath
50          ${e?`
51              route {
52                personalization {
53                  variantIds
54                }
55              }`:""}
56        }
57      }
58    }
59  }
60}
61`}async fetchSiteRoutes(e,r,n){let i=(e,t)=>({params:{path:e},locale:t}),o=[];if(!r.length)throw RangeError(t.languageError);if(!e||!e.length)throw RangeError(t.sitesError);for(let t=0;t<e.length;t++)for(let a of r){let r=await this.fetchLanguageSitePaths(a,e[t],n),s=await this.transformLanguageSitePaths(r,i,a);o.push(...s)}return[].concat(...o)}async transformLanguageSitePaths(e,t,r){let n=e=>decodeURI(e).replace(/^\/|\/$/g,"").split("/"),i=[];return e.forEach(e=>{var a,s,u;if(!e)return;i.push(t(n(e.path),r));let l=null==(u=null==(s=null==(a=e.route)?void 0:a.personalization)?void 0:s.variantIds)?void 0:u.filter(e=>!e.includes("_"));(null==l?void 0:l.length)&&i.push(...l.map(i=>t(n((0,o.getPersonalizedRewrite)(e.path,[i])),r)))}),i}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:i.default.sitemap})}async fetchLanguageSitePaths(e,t,r){var n,o,u,l;let c={siteName:t,language:e,pageSize:this.options.pageSize,includedPaths:this.options.includedPaths,excludedPaths:this.options.excludedPaths},d=[],f=!0,p="";for(i.default.sitemap("fetching sitemap data for %s %s",e,t);f;){let e=await this.graphQLClient.request(this.query,Object.assign(Object.assign({},c),{after:p}),r);if(null==(n=null==e?void 0:e.site)?void 0:n.siteInfo)d=d.concat(null==(o=e.site.siteInfo.routes)?void 0:o.results),f=null==(u=e.site.siteInfo.routes)?void 0:u.pageInfo.hasNext,p=null==(l=e.site.siteInfo.routes)?void 0:l.pageInfo.endCursor;else throw RangeError(s(t))}
61return d.forEach(e=>{e&&(e.path=(0,a.getSiteRewrite)(e.path,{siteName:t}))}),d}}t.SitePathService=u},26213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SITE_KEY=t.SITE_PREFIX=void 0,t.getSiteRewrite=function(e,r){let n=e.startsWith("/")?e:"/"+e;return`/${t.SITE_PREFIX}${r.siteName}${n}`},t.getSiteRewriteData=function(e,r){let n={siteName:r},i=(e.endsWith("/")?e:e+"/").match(`${t.SITE_PREFIX}(.*?)\\/`);return i&&""!==i[1]&&(n.siteName=i[1]),n},t.normalizeSiteRewrite=function(e){let r=e.match(`${t.SITE_PREFIX}.*?(?:\\/|$)`);return null===r?e:e.replace(r[0],"")},t.SITE_PREFIX="_site_",t.SITE_KEY="sc_site"},26515:(e,t,r)=>{"use strict";r.d(t,{_:()=>u,k:()=>s});var n=r(76743),i=r(77016),o=r(58287),a=r(49308),s=function(){var e;function t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,o.A)(0,"Body must be a string. Received: ".concat((0,i.A)(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,o.A)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,o.A)(0,"column in locationOffset is 1-indexed and must be positive.")}return e=[{key:n.Kp,get:function(){return"Source"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}();function u(e){return(0,a.A)(e,s)}},26828:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var n,i=r(95682),o=r(80593),a=r(17070),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(l))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function l(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return n.size}),s.reset()},26908:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibraryErrorBoundary=void 0;let s=a(r(14232)),u=r(78565);class l extends s.default.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidUpdate(e){e.renderKey!==this.props.renderKey&&this.setState({hasError:!1})}componentDidCatch(e){(0,u.sendErrorEvent)(this.props.uid,e,u.DesignLibraryPreviewError.Render)}render(){return this.state.hasError?s.default.createElement("div",null,"Error during component rendering"):s.default.createElement(s.Suspense,null,this.props.children)}}t.DesignLibraryErrorBoundary=l},27015:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultEmptyFieldEditingComponentImage=t.DefaultEmptyFieldEditingComponentText=void 0;let i=n(r(14232));t.DefaultEmptyFieldEditingComponentText=e=>i.default.createElement(e.tag||"span",Object.assign(Object.assign({},e),{suppressHydrationWarning:!0}),"[No text in field]"),t.DefaultEmptyFieldEditingComponentImage=e=>i.default.createElement("img",Object.assign({},e,{suppressContentEditableWarning:!0,alt:"",src:'data:image/svg+xml,%3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 240 240" style="enable-background:new 0 0 240 240;" xml:space="preserve"%3E%3Cstyle type="text/css"%3E .st0%7Bfill:none;%7D .st1%7Bfill:%23969696;%7D .st2%7Bfill:%23FFFFFF;%7D .st3%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.75;stroke-miterlimit:10;%7D%0A%3C/style%3E%3Cg%3E%3Crect class="st0" width="240" height="240"/%3E%3Cg%3E%3Cg%3E%3Crect x="20" y="20" class="st1" width="200" height="200"/%3E%3C/g%3E%3Cg%3E%3Ccircle class="st2" cx="174" cy="67" r="14"/%3E%3Cpath class="st2" d="M174,54c7.17,0,13,5.83,13,13s-5.83,13-13,13s-13-5.83-13-13S166.83,54,174,54 M174,52 c-8.28,0-15,6.72-15,15s6.72,15,15,15s15-6.72,15-15S182.28,52,174,52L174,52z"/%3E%3C/g%3E%3Cpolyline class="st3" points="29.5,179.25 81.32,122.25 95.41,137.75 137.23,91.75 209.5,179.75 "/%3E%3C/g%3E%3C/g%3E%3C/svg%3E',className:`scEmptyImage ${e.className||""}`,style:{minWidth:"48px",minHeight:"48px",maxWidth:"400px",maxHeight:"400px",cursor:"pointer"}}))},27164:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});let n=e=>e.endsWith("/")?e.slice(0,-1):e},27652:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,getComponentServerProps:()=>a});var n=r(5484),i=r(33051),o=r(72914);let a=(e,t)=>(function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let r=e.params||{},o=!t.sitecore.context.pageState||t.sitecore.context.pageState===n.IY.Normal;return yield(0,i.h5)(r,o)}),s=o.M},27941:(e,t,r)=>{"use strict";let n;
61Object.defineProperty(t,"__esModule",{value:!0}),t.CloudSDK=t.builderInstance=t.getCookiesValuesFromEdge=t.getCloudSDKResponse=t.getCloudSDKRequest=t.getEnabledPackage=t.getCloudSDKSettings=t.CloudSDKServerInitializer=t.cloudSKDResponse=t.cloudSKDRequest=t.enabledPackages=t.cloudSDKSettings=void 0;let i=r(31356),o=r(57168),a=r(10768),s=r(9300),u=r(52612),l=r(17139),c=r(81948);t.enabledPackages=new Map;class d{constructor(e,r,n){this.validateSettings(n),t.cloudSDKSettings=this.createSettings(n),this.request=e,this.response=r}async initialize(){t.enabledPackages.size||(0,l.debug)(c.CORE_NAMESPACE)("CloudSDK was initialized with no packages"),t.cloudSDKSettings.cookieSettings.enableServerCookie&&await this.createCookies();let e=Array.from(t.enabledPackages).map(([,e])=>e.exec());await Promise.all(e)}validateSettings(e){let{sitecoreEdgeContextId:t,siteName:r,sitecoreEdgeUrl:n}=e;if(!t||0===t.trim().length)throw Error(a.ErrorMessages.MV_0001);if(!r||0===r.trim().length)throw Error(a.ErrorMessages.MV_0002);if(void 0!==n)try{new URL(n)}catch(e){throw Error(a.ErrorMessages.IV_0001)}}createSettings(e){let{siteName:t,sitecoreEdgeContextId:r,cookieDomain:n,cookiePath:i,cookieExpiryDays:o,sitecoreEdgeUrl:s,enableServerCookie:u,timeout:l}=e;return{cookieSettings:{domain:n,enableServerCookie:u??!1,expiryDays:o||a.DEFAULT_COOKIE_EXPIRY_DAYS,name:{browserId:`${a.COOKIE_NAME_PREFIX}${r}`},path:i||"/"},siteName:t,sitecoreEdgeContextId:r,sitecoreEdgeUrl:s??a.SITECORE_EDGE_URL,timeout:l}}async createCookies(){(0,i.isNextJsMiddlewareRequest)(this.request)&&(0,i.isNextJsMiddlewareResponse)(this.response)?await this.handleNextJsMiddlewareCookie():(0,i.isHttpRequest)(this.request)&&(0,i.isHttpResponse)(this.response)&&await this.handleHttpCookie()}async handleNextJsMiddlewareCookie(){let e=this.request,r=this.response,{browserId:i}=t.cloudSDKSettings.cookieSettings.name,a=(0,s.getCookieValueFromMiddlewareRequest)(e,i);if(!a){let e=await (0,o.fetchBrowserIdFromEdgeProxy)(t.cloudSDKSettings.sitecoreEdgeUrl,t.cloudSDKSettings.sitecoreEdgeContextId,t.cloudSDKSettings.timeout);a=e.browserId,n=e}let l=(0,u.getDefaultCookieAttributes)(t.cloudSDKSettings.cookieSettings.expiryDays,t.cloudSDKSettings.cookieSettings.domain);e.cookies.set(i,a,l),r.cookies.set(i,a,l)}async handleHttpCookie(){let e,r=this.request,a=this.response,s=t.cloudSDKSettings.cookieSettings.name.browserId,l=(0,i.getCookieServerSide)(r.headers.cookie,s),c=(0,u.getDefaultCookieAttributes)(t.cloudSDKSettings.cookieSettings.expiryDays,t.cloudSDKSettings.cookieSettings.domain);if(l)e=l.value;else{let r=await (0,o.fetchBrowserIdFromEdgeProxy)(t.cloudSDKSettings.sitecoreEdgeUrl,t.cloudSDKSettings.sitecoreEdgeContextId,t.cloudSDKSettings.timeout);e=r.browserId,n=r}let d=(0,i.createCookieString)(s,e,c);l||(r.headers.cookie=r.headers.cookie?r.headers.cookie+"; "+d:d),a.setHeader("Set-Cookie",d)}}t.CloudSDKServerInitializer=d,t.getCloudSDKSettings=function(){if(!t.cloudSDKSettings)throw Error(a.ErrorMessages.IE_0013);return t.cloudSDKSettings},t.getEnabledPackage=function(e){return t.enabledPackages.get(e)},t.getCloudSDKRequest=function(){return t.cloudSKDRequest},t.getCloudSDKResponse=function(){return t.cloudSKDResponse},t.getCookiesValuesFromEdge=function(){return n},t.builderInstance=null,t.CloudSDK=function(e,r,n){return t.cloudSKDRequest=e,t.cloudSKDResponse=r,t.builderInstance=new d(e,r,n),t.builderInstance}},28076:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(14232),i=r(49218),o=r(7060),a=r(40052),s=r(79885),u=r(23015);let l=(e,t)=>{let r=(0,s.A)(),{rfkId:l,instanceId:c}=(0,a.A)(),d=(0,u.n)(e,t);(0,n.useEffect)(()=>{let e={handleAction(e){let{rfkId:t,instanceId:n=null}=e.payload;if(t===l&&c===n){let t=d.current(((e,t)=>{switch(t.type){case i.A.WIDGET_DATA_REQUEST_SUCCESS:{let{response:r}=t.payload;return{...e,response:r}}case i.A.WIDGET_DATA_REQUEST:{let{request:r}=t.payload;return{...e,request:r}}default:return e}})(r.state,e),e);t!==r.state&&r.updateState(t)}}};return o.Ay.register(e),()=>o.Ay.unregister(e)},[l,c,r,d])}},28347:(e,t,r)=>{"use strict";r.d(t,{z:()=>c});
61var n=r(94587),i=r(90240),o=r(36938),a=r(20996),s=r(65958),u=r(68922),l=r(45813);function c(e,t,r,c){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var d=t.definitions.filter(function(e){return e.kind===n.b.FRAGMENT_DEFINITION});void 0===c&&((0,o.V1)(1===d.length,61,d.length),c=d[0].name.value);var f=d.find(function(e){return e.name.value===c});return((0,o.V1)(!!f,62,c),null==e||(0,a.A)(e,{}))?e:(0,s.S)(e,f.selectionSet,{operationType:"fragment",operationName:f.name.value,fragmentMap:(0,u.JG)((0,l.zK)(t)),cache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},28654:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},28817:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EditingService=t.query=void 0;let i=n(r(3107)),o=r(64547);t.query=`
62  query EditingQuery($itemId: String!, $language: String!, $version: String) {
63    item(path: $itemId, language: $language, version: $version) {
64      rendered
65    }
66  }
67`;class a{constructor(e){this.serviceConfig=e,this.graphQLClient=this.getGraphQLClient()}async fetchEditingData({itemId:e,language:r,version:n,layoutKind:a=o.LayoutKind.Final,mode:s},u){var l;if(i.default.editing("fetching editing data for %s %s %s %s",e,r,n,a),!r)throw RangeError("The language must be a non-empty string");let c=await this.graphQLClient.request(t.query,{itemId:e,version:n,language:r},Object.assign(Object.assign({},u),{headers:{sc_layoutKind:a,sc_editMode:"edit"===s?"true":"false"}}));return{layoutData:(null==(l=null==c?void 0:c.item)?void 0:l.rendered)||{sitecore:{context:{pageEditing:!0,language:r},route:null}}}}getGraphQLClient(){if(!this.serviceConfig.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.serviceConfig.clientFactory({debugger:i.default.editing})}}t.EditingService=a},28888:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:()=>n})},29034:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSrcSet=t.updateImageUrl=t.replaceMediaUrlPrefix=t.getRequiredParams=void 0;let i=n(r(2544)),o=/\/([-~]{1})\/media\//i;t.getRequiredParams=e=>{let{rev:t,db:r,la:n,vs:i,ts:o}=e;return{rev:t,db:r,la:n,vs:i,ts:o}},t.replaceMediaUrlPrefix=(e,t=o)=>{let r=(0,i.default)(e,{},!0),n=t.exec(r.pathname);return n&&n.length>1&&r.set("pathname",r.pathname.replace(t,`/${n[1]}/jssmedia/`)),r.toString()},t.updateImageUrl=(e,r,n=o)=>{if(!r||0===Object.keys(r).length)return e;"undefined"==typeof window||window.global||(window.global={});let a=(0,i.default)((0,t.replaceMediaUrlPrefix)(e,n),{},!0),s=(0,t.getRequiredParams)(a.query),u=Object.assign({},r);return Object.entries(s).forEach(([e,t])=>{t&&(u[e]=t)}),a.set("query",u),a.toString()},t.getSrcSet=(e,r,n,i)=>r.map(r=>{let o=Object.assign(Object.assign({},n),r),a=o.w||o.mw;return a?`${(0,t.updateImageUrl)(e,o,i)} ${a}w`:null}).filter(e=>e).join(", ")},29042:(e,t,r)=>{"use strict";function n(e){try{return e()}catch(e){}}r.d(t,{n:()=>n})},29088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseEvent=void 0;let n=r(92849);class i{constructor(e,t){this.baseEventData=e,this.browserId=t,this.language=this.baseEventData.language??(0,n.language)(),this.page=this.baseEventData.page??(0,n.pageName)()}mapBaseEventPayload(){return{browser_id:this.browserId,channel:this.baseEventData.channel,client_key:"",currency:this.baseEventData.currency,language:this.language,page:this.page,pos:"",requested_at:new Date().toISOString()}}}t.BaseEvent=i},29382:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});class n{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},29429:(e,t,r)=>{"use strict";var n=r(14232),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,u=n.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=t,l(i)&&c({inst:i})},[e,r,t]),a(function(){return l(i)&&c({inst:i}),e(function(){l(i)&&c({inst:i})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},29462:(e,t,r)=>{"use strict";r.d(t,{V1:()=>u,vA:()=>l});var n=r(12229),i=r(84918),o=r(86813),a=r(62091);function s(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=f(i))||(t=p(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var u=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.V1)(e,f(t,r)||p(t,r))},{debug:s(n.V1.debug),log:s(n.V1.log),warn:s(n.V1.warn),error:s(n.V1.error)});function l(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.zU(f(e,t)||p(e,t))}var c=Symbol.for("ApolloErrorMessageHandler_"+i.r);function d(e){if("string"==typeof e)return e;try{return(0,a.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function f(e,t){if(void 0===t&&(t=[]),e)return o.A[c]&&o.A[c](e,t.map(d))}function p(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(d)})))}},29602:(e,t,r)=>{"use strict";
67Object.defineProperty(t,"__esModule",{value:!0}),t.clearEventQueue=void 0;let n=r(89814),i=r(16241);t.clearEventQueue=async function(){await (0,n.awaitInit)(),i.eventQueue.clearQueue()}},29627:()=>{},29938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHttpResponse=void 0,t.isHttpResponse=function(e){return"setHeader"in e}},30393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeUrl=void 0,t.normalizeUrl=e=>e.endsWith("/")?e.slice(0,-1):e},30644:(e,t,r)=>{"use strict";r.d(t,{$:()=>b});var n=r(4902),i=r(36938),o=r(22337),a=r(71211),s=r(15072),u=r(76293),l=r(69906),c=r(1242),d=r(6095),f=r(9835),p=r(50131),h=r(71713),m=r(61965),y=r(61055),v=r(45813),g=(0,i.no)(function(){return fetch}),b=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,b=e.fetch,E=e.print,_=void 0===E?f.i1:E,O=e.includeExtensions,w=e.preserveHeaderCase,S=e.useGETForQueries,C=e.includeUnusedVariables,T=void 0!==C&&C,R=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,d.S)(b||g);var P={http:{includeExtensions:O,preserveHeaderCase:w},options:R.fetchOptions,credentials:R.credentials,headers:R.headers};return new o.C(function(e){var t,o,d=(0,l.z)(e,r),E=e.getContext(),O={};if(E.clientAwareness){var w=E.clientAwareness,C=w.name,R=w.version;C&&(O["apollographql-client-name"]=C),R&&(O["apollographql-client-version"]=R)}var A=(0,n.Cl)((0,n.Cl)({},O),E.headers),I={http:E.http,options:E.fetchOptions,credentials:E.credentials,headers:A};if((0,a.d8)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.V1.warn(52);var D=(0,y.er)(e.query);if(!D)return(0,h.N)(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=D}var N=(0,f.HY)(e,_,f.R4,P,I),x=N.options,j=N.body;j.variables&&!T&&(j.variables=(0,m.X)(j.variables,e.query)),x.signal||"undefined"==typeof AbortController||(x.signal=(o=new AbortController).signal);var k="OperationDefinition"===(t=(0,v.Vn)(e.query)).kind&&"subscription"===t.operation,M=(0,a.d8)(["defer"],e.query);if(S&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(x.method="GET"),M||k){x.headers=x.headers||{};var L="multipart/mixed;";k&&M&&!1!==globalThis.__DEV__&&i.V1.warn(53),k?L+="boundary=graphql;subscriptionSpec=1.0,application/json":M&&(L+="deferSpec=20220824,application/json"),x.headers.accept=L}if("GET"===x.method){var F=(0,p.E)(d,j),V=F.newURI,U=F.parseError;if(U)return(0,h.N)(U);d=V}else try{x.body=(0,u.Y)(j,"Payload")}catch(e){return(0,h.N)(e)}return new s.c(function(t){var r=b||(0,i.no)(function(){return fetch})||g,n=t.next.bind(t);return r(d,x).then(function(t){e.setContext({response:t});var r,i=null==(r=t.headers)?void 0:r.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?(0,c.tD)(t,n):(0,c.OQ)(e)(t).then(n)}).then(function(){o=void 0,t.complete()}).catch(function(e){o=void 0,(0,c.H4)(e,t)}),function(){o&&o.abort()}})})}},31356:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.appendScriptWithAttributes=t.isValidLocation=t.isValidHttpURL=t.ErrorMessages=t.normalizeHeaders=t.generateV4UUID=t.omit=t.isValidEmail=t.isShortISODateString=t.flattenObject=t.cookieExists=t.getCookieServerSide=t.getCookie=t.isHttpResponse=t.isHttpRequest=t.isNextJsMiddlewareResponse=t.isNextJsMiddlewareRequest=t.getCookieValueClientSide=t.fetchWithTimeout=t.createCookieString=void 0;var o=r(49969);Object.defineProperty(t,"createCookieString",{enumerable:!0,get:function(){return o.createCookieString}});var a=r(34473);Object.defineProperty(t,"fetchWithTimeout",{enumerable:!0,get:function(){return a.fetchWithTimeout}});var s=r(24813);Object.defineProperty(t,"getCookieValueClientSide",{enumerable:!0,get:function(){return s.getCookieValueClientSide}});var u=r(18080);Object.defineProperty(t,"isNextJsMiddlewareRequest",{enumerable:!0,get:function(){return u.isNextJsMiddlewareRequest}});var l=r(41276);Object.defineProperty(t,"isNextJsMiddlewareResponse",{enumerable:!0,get:function(){return l.isNextJsMiddlewareResponse}});var c=r(18726);Object.defineProperty(t,"isHttpRequest",{enumerable:!0,get:function(){return c.isHttpRequest}});var d=r(29938);Object.defineProperty(t,"isHttpResponse",{enumerable:!0,get:function(){return d.isHttpResponse}});var f=r(77801);Object.defineProperty(t,"getCookie",{enumerable:!0,get:function(){return f.getCookie}});var p=r(69265);Object.defineProperty(t,"getCookieServerSide",{enumerable:!0,get:function(){return p.getCookieServerSide}});var h=r(55893);Object.defineProperty(t,"cookieExists",{enumerable:!0,get:function(){return h.cookieExists}});var m=r(62360);Object.defineProperty(t,"flattenObject",{enumerable:!0,get:function(){return m.flattenObject}});var y=r(99624);Object.defineProperty(t,"isShortISODateString",{enumerable:!0,get:function(){return y.isShortISODateString}});var v=r(48486);Object.defineProperty(t,"isValidEmail",{enumerable:!0,get:function(){return v.isValidEmail}});var g=r(56276);
67Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return g.omit}});var b=r(86475);Object.defineProperty(t,"generateV4UUID",{enumerable:!0,get:function(){return b.generateV4UUID}}),i(r(95734),t);var E=r(67941);Object.defineProperty(t,"normalizeHeaders",{enumerable:!0,get:function(){return E.normalizeHeaders}});var _=r(60);Object.defineProperty(t,"ErrorMessages",{enumerable:!0,get:function(){return _.ErrorMessages}});var O=r(9118);Object.defineProperty(t,"isValidHttpURL",{enumerable:!0,get:function(){return O.isValidHttpURL}});var w=r(48269);Object.defineProperty(t,"isValidLocation",{enumerable:!0,get:function(){return w.isValidLocation}});var S=r(53507);Object.defineProperty(t,"appendScriptWithAttributes",{enumerable:!0,get:function(){return S.appendScriptWithAttributes}})},31723:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(){return!("undefined"!=typeof window&&window.document)}},32022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BYOC_COMPONENT_RENDERING_NAME=t.BYOC_WRAPPER_RENDERING_NAME=t.FEAAS_COMPONENT_RENDERING_NAME=t.FEAAS_WRAPPER_RENDERING_NAME=void 0,t.FEAAS_WRAPPER_RENDERING_NAME="FEaaSWrapper",t.FEAAS_COMPONENT_RENDERING_NAME="FEaaSComponent",t.BYOC_WRAPPER_RENDERING_NAME="BYOCWrapper",t.BYOC_COMPONENT_RENDERING_NAME="BYOCComponent"},32776:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},33051:(e,t,r)=>{"use strict";r.d(t,{WT:()=>i,h5:()=>o});var n=r(74218);async function i(e){let t=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};return{fetchedData:await n.DataSettings.fetch(t||{})}}async function o(e,t,r){let n=t?"published":"staged",i=r||u(e,n),o="",l={},c=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};try{o=await a(i,e,n),l=await s(c)}catch(e){console.error(e)}return{fetchedData:l,revisionFallback:n,template:o}}async function a(e,t,r){try{let{template:t}=await n.fetchComponent(e);return t}catch(n){throw console.error(`Fetch FEAAS component from ${e} failed. Ensure the component revision "${t.ComponentRevision||r}" is present`),n}}async function s(e){try{return await n.DataSettings.fetch(e||{})}catch(e){throw console.error("Fetch FEAAS component data settings failed"),e}}let u=(e,t)=>{var r;let n=e.ComponentRevision||t,i=(null==(r=e.ComponentHostName)?void 0:r.startsWith("https://"))?e.ComponentHostName:`https://${e.ComponentHostName}`;return`${i}/components/${e.LibraryId}/${e.ComponentId}/${e.ComponentVersion}/${n}`}},33408:(e,t,r)=>{"use strict";r.d(t,{S2:()=>p,cc:()=>f,lz:()=>d});var n,i=r(4902),o=r(63965),a=r(36938),s=Symbol.for("apollo.deprecations"),u=Symbol.for("apollo.deprecations.slot"),l=a.Sf,c=null!=(n=l[u])?n:l[u]=new o.DX;function d(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return c.withValue.apply(c,(0,i.fX)([Array.isArray(e)?e:[e]],t,!1))}function f(e,t,r,n){void 0===n&&(n="Please remove this option."),p(t,function(){t in e&&!1!==globalThis.__DEV__&&a.V1.warn(103,r,t,n)})}function p(e,t){l[s]||(c.getValue()||[]).includes(e)||t()}},33533:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PackageInitializer=void 0;let n=r(23816);class i{constructor(e){this._initState=null,this._sideEffects=e.sideEffects,this._settings=e.settings,this._dependencies=e.dependencies??[]}validatePackages(){let e=[];return this._dependencies.forEach(t=>{let r=t.name.split("/")[1],i=(0,n.getEnabledPackage)(t.name);if(!i)throw Error(`[IE-0020] - This functionality also requires the "${r}" package. Import "${t.name}/browser", then run ".${t.method}()" on "CloudSDK", before ".initialize()"`);e.push(i)}),e}exec(){let e=this.validatePackages();this._initState=this.wrapSideEffects(e)}async wrapSideEffects(e){await n.initCoreState,await Promise.all(e.map(e=>e.initState)),this._sideEffects()}get initState(){return this._initState}get settings(){return this._settings}}t.PackageInitializer=i},33576:(e,t,r)=>{"use strict";
67Object.defineProperty(t,"__esModule",{value:!0}),t.getGuestId=t.getBrowserId=t.CloudSDK=t.CloudSDKBrowserInitializer=void 0;var n=r(23816);Object.defineProperty(t,"CloudSDKBrowserInitializer",{enumerable:!0,get:function(){return n.CloudSDKBrowserInitializer}});var i=r(23816);Object.defineProperty(t,"CloudSDK",{enumerable:!0,get:function(){return i.CloudSDK}});var o=r(55982);Object.defineProperty(t,"getBrowserId",{enumerable:!0,get:function(){return o.getBrowserId}});var a=r(57486);Object.defineProperty(t,"getGuestId",{enumerable:!0,get:function(){return a.getGuestId}})},33872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(14232);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityEvent=t.CustomEvent=t.PageViewEvent=t.BaseEvent=void 0;var n=r(29088);Object.defineProperty(t,"BaseEvent",{enumerable:!0,get:function(){return n.BaseEvent}});var i=r(75162);Object.defineProperty(t,"PageViewEvent",{enumerable:!0,get:function(){return i.PageViewEvent}});var o=r(55325);Object.defineProperty(t,"CustomEvent",{enumerable:!0,get:function(){return o.CustomEvent}});var a=r(1036);Object.defineProperty(t,"IdentityEvent",{enumerable:!0,get:function(){return a.IdentityEvent}})},34085:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SitemapXmlService=void 0;let i=r(849),o=n(r(3107)),a="sitemap",s=`
68  query SitemapQuery($siteName: String!) {
69    site {
70      siteInfo(site: $siteName) {
71        sitemap
72      }
73    }
74  }
75`;class u{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient()}get query(){return s}async fetchSitemaps(e){let t=this.options.siteName;if(!t)throw Error(i.siteNameError);let r=this.graphQLClient.request(this.query,{siteName:t},e);try{return r.then(e=>e.site.siteInfo.sitemap)}catch(e){return Promise.reject(e)}}async getSitemap(e){let t;if(void 0!==e){if(""===e)t=`${a}.xml`;else{let r=e.startsWith("-")?e.slice(1):e;t=`${a}-${r}.xml`}return(await this.fetchSitemaps()).find(e=>e.includes(t))}}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:o.default.sitemap})}}t.SitemapXmlService=u},34473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchWithTimeout=void 0;let n=r(60);t.fetchWithTimeout=async function(e,t,r){if(!Number.isInteger(t)||t<0)throw Error(n.ErrorMessages.IV_0006);let i=new AbortController,o=i.signal,a=setTimeout(()=>{i.abort()},t);return fetch(e,{...r,signal:o}).then(e=>(clearTimeout(a),e)).catch(e=>{if("AbortError"===e.name)throw Error(n.ErrorMessages.IE_0002);return null})}},34561:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.postToDesignLibrary=t.updateComponent=t.updateComponentHandler=t.validateEvent=t.validateOrigin=t.addComponentUpdateHandler=t.DesignLibraryStatus=t.COMPONENT_PREVIEW_CACHE_KEY_PREFIX=t.COMPONENT_UPDATE_CACHE_KEY_PREFIX=void 0,t.getDesignLibraryStatusEvent=function(e,t,r=!1){return{name:"component:status",message:{status:e,uid:t,isRenderingServerComponent:r}}},t.getDesignLibraryScriptLink=function(e=i.SITECORE_EDGE_URL_DEFAULT){return`${(0,o.normalizeUrl)(e)}/v1/files/designlibrary/lib/rh-lib-script.js`},t.isDesignLibraryMode=function(e){return e===a.DesignLibraryMode.Normal||e===a.DesignLibraryMode.Metadata};
75let i=r(849),o=r(30393),a=r(64547);t.COMPONENT_UPDATE_CACHE_KEY_PREFIX="component-update-",t.COMPONENT_PREVIEW_CACHE_KEY_PREFIX="component-preview-",function(e){e.READY="ready",e.RENDERED="rendered"}(n||(t.DesignLibraryStatus=n={})),t.addComponentUpdateHandler=(e,r)=>{if(!window)return;let n=n=>(0,t.updateComponentHandler)(n,e,r);return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},t.validateOrigin=e=>["*"].some(t=>t===e.origin||RegExp("^"+t.replace(".","\\.").replace(/\*/g,".*")+"$").test(e.origin)),t.validateEvent=(e,r)=>!!e.origin&&!!e.data&&e.data.name===r||((0,t.validateOrigin)(e)||console.debug("Component Library: event skipped - invalid origin: message %s from origin %s",e.data.name,e.origin),!1),t.updateComponentHandler=(e,r,n)=>{var i;let o=e.data;if(!e.origin||!o||"component:update"!==o.name){(0,t.validateOrigin)(e)||console.debug("Component Library: event skipped: message %s from origin %s",o.name,e.origin);return}if(!(null==(i=o.details)?void 0:i.uid))return void console.debug("Received component:update event without uid, aborting event handler...");let a=e=>{var t,r;if((null==(t=e.uid)?void 0:t.toLowerCase())===(null==(r=o.details)?void 0:r.uid.toLowerCase()))return e;if(e.placeholders)for(let t of Object.keys(e.placeholders))for(let r of e.placeholders[t]){let e=a(r);if(e)return e}return null},s=a(r);return s?(console.debug("Found component with uid %s to update. Update fields: %o. Update params: %o.",o.details.uid,o.details.fields,o.details.params),(0,t.updateComponent)(s,o.details.fields,o.details.params),n&&n(r)):console.debug("Rendering with uid %s not found",o.details.uid),r},t.updateComponent=(e,t,r)=>{t&&(e.fields=Object.assign(Object.assign({},e.fields),t)),r&&(e.params=Object.assign(Object.assign({},e.params),r))},t.postToDesignLibrary=e=>{if("undefined"==typeof window)return;let t=window.parent&&window.parent!==window?window.parent:window;try{console.log("Component Library: sending event",e.name,e),t.postMessage(e,"*")}catch(t){console.error("Component Library: postMessage failed",t,e)}}},34699:(e,t,r)=>{"use strict";r.d(t,{Fz:()=>o,Ph:()=>a,sL:()=>i});var n=r(14232);let i=(0,n.createContext)({});function o(e){if(e)return(0,n.useContext)(i)[e]}let a=({children:e,value:t})=>n.createElement(i.Provider,{value:t},e)},34784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SITECORE_CLI_MODE_ENV_VAR=void 0,t.SITECORE_CLI_MODE_ENV_VAR="SITECORE_CLI_MODE"},34824:(e,t,r)=>{e.exports=r(25488)},34906:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,o.call(this,r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return this&&this[e]||e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,this&&this[r]||r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}()},35161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonSerializedPlaceholderProps=void 0,t.nonSerializedPlaceholderProps=["renderEmpty","render","renderEach","errorComponent","componentLoadingMessage","modifyComponentProps","componentMap","page","missingComponentComponent","hiddenRenderingComponent"]},35518:(e,t,r)=>{"use strict";r.d(t,{U:()=>b,y:()=>_});var n=r(4902),i=r(36938),o=r(20996),a=r(66434),s=r(45813),u=r(79760),l=r(54962),c=r(53975),d=r(15072),f=r(36974),p=r(83070),h=r(19221),m=r(63965),y=r(33408),v=Object.assign,g=Object.hasOwnProperty,b=function(e){function t(r){var i=r.queryManager,o=r.queryInfo,a=r.options,u=this,l=t.inactiveOnCreation.getValue();(u=e.call(this,function(e){u._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=E)}catch(e){}var r=!u.observers.size;u.observers.add(e);var n=u.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(u.maskResult(n.result)),r&&u.reobserve().catch(function(){}),function(){u.observers.delete(e)&&!u.observers.size&&u.tearDownQuery()}})||this).observers=new Set,u.subscriptions=new Set,u.dirty=!1,u._getOrCreateQuery=function(){return l&&(i.queries.set(u.queryId,o),l=!1),u.queryManager.getOrCreateQuery(u.queryId)},u.queryInfo=o,u.queryManager=i,u.waitForOwnResult=O(a.fetchPolicy),u.isTornDown=!1,u.subscribeToMore=u.subscribeToMore.bind(u),u.maskResult=u.maskResult.bind(u);var c=i.defaultOptions.watchQuery,d=(void 0===c?{}:c).fetchPolicy,f=void 0===d?"cache-first":d,p=a.fetchPolicy,h=void 0===p?f:p,m=a.initialFetchPolicy,y=void 0===m?"standby"===h?f:h:m;u.options=(0,n.Cl)((0,n.Cl)({},a),{initialFetchPolicy:y,fetchPolicy:h}),u.queryId=o.queryId||i.generateQueryId();var v=(0,s.Vu)(u.query);return u.queryName=v&&v.name&&v.name.value,u}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
75,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&(0,y.S2)("observableQuery.result",function(){!1!==globalThis.__DEV__&&i.V1.warn(23)}),new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var r=(0,y.lz)("getLastResult",function(){return t.getLastResult(!0)}),i=this.queryInfo.networkStatus||r&&r.networkStatus||a.pT.ready,s=(0,n.Cl)((0,n.Cl)({},r),{loading:(0,a.bi)(i),networkStatus:i}),u=this.options.fetchPolicy,l=void 0===u?"cache-first":u;if(O(l)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(s.data=c.result),(0,o.L)(s.data,{})&&(s.data=void 0),c.complete?(delete s.partial,c.complete&&s.networkStatus===a.pT.loading&&("cache-first"===l||"cache-only"===l)&&(s.networkStatus=a.pT.ready,s.loading=!1)):s.partial=!0,s.networkStatus===a.pT.ready&&(s.error||s.errors)&&(s.networkStatus=a.pT.error),!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||s.loading||s.data||s.error||_(c.missing)}return e&&this.updateLastResult(s),s},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,h.a)(i,this.last.result,e,this.variables):!(0,o.L)(this.last.result,e))||t&&!(0,o.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,y.S2)("getLastResult",function(){!1!==globalThis.__DEV__&&i.V1.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,y.S2)("getLastError",function(){!1!==globalThis.__DEV__&&i.V1.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,y.S2)("resetLastResults",function(){!1!==globalThis.__DEV__&&i.V1.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.V1.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&g.call(e,"variables")){var u=(0,s.AT)(this.query),l=u.variableDefinitions;l&&l.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.V1.warn(28,e,(null==(t=u.name)?void 0:t.value)||u)}return e&&!(0,o.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,u=s.networkStatus;s.networkStatus=a.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var l=new Set,c=null==e?void 0:e.updateQuery,d="no-cache"!==this.options.fetchPolicy;return d||(0,i.V1)(c,29),this.queryManager.fetchQuery(o,r,a.pT.fetch
75More).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.pT.fetchMore&&(s.networkStatus=u),d)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){l.add(e.query)}});else{var f=t.getLast("result"),p=c(f.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},f),{networkStatus:u,loading:(0,a.bi)(u),data:p}),t.variables)}return t.maskResult(i)}).finally(function(){d&&!l.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,n.Cl)({subscriptionData:r},t))})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&i.V1.error(30,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,y.cc)(e,"canonizeResults","setOptions"),(0,y.S2)("setOptions",function(){!1!==globalThis.__DEV__&&i.V1.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.o)(this.options,e||{});v(this.options,t)},t.prototype.setVariables=function(e){var t=this;return(0,o.L)(this.variables,e)?this.observers.size?(0,y.lz)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this._getOrCreateQuery();return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.V1)(r,32),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){var r=this;void 0===t&&(t=this.variables);var i=(0,y.lz)("getLastError",function(){return r.getLastError()});return i&&this.last&&!(0,o.L)(t,this.last.variables)&&(i=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,l.m)(e),variables:t},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,l=this.options.fetchPolicy,c=(0,u.o)(this.options,e||{}
75),d=i?c:v(this.options,c),f=this.transformDocument(d.query);this.lastQuery=f,!i&&(this.updatePolling(),e&&e.variables&&!(0,o.L)(e.variables,s)&&"standby"!==d.fetchPolicy&&(d.fetchPolicy===l||"function"==typeof d.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",d),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=O(d.fetchPolicy));var h=function(){r.concast===g&&(r.waitForOwnResult=!1)},m=d.variables&&(0,n.Cl)({},d.variables),y=this.fetch(d,t,f),g=y.concast,b=y.fromLink,E={next:function(e){(0,o.L)(r.variables,m)&&(h(),r.reportResult(e,m))},error:function(e){(0,o.L)(r.variables,m)&&((0,p.Mn)(e)||(e=new p.K4({networkError:e})),h(),r.reportError(e,m))}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=E),g.addObserver(E),g},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.last;(0,y.lz)("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=n,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this,n=(0,y.lz)("getLastError",function(){return r.getLastError()}),i=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||i)&&(0,c.w)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=this,i=(0,n.Cl)((0,n.Cl)({},(0,y.lz)("getLastResult",function(){return r.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(i,t),(0,c.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.Cl)((0,n.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,a.bi)(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new m.DX,t}(d.c);function E(e){!1!==globalThis.__DEV__&&i.V1.error(33,e.message,e.stack)}function _(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(34,e)}function O(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,f.r)(b)},35593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.form=void 0;let n=r(92849),i=r(31356),o=r(89814),a=r(23906),s=r(55325);t.form=async function(e,t,r){await (0,o.awaitInit)();let u=(0,n.getCloudSDKSettingsBrowser)(),l=(0,i.getCookieValueClientSide)(u.cookieSettings.name.browserId),c=new s.CustomEvent({eventData:{extensionData:{componentInstanceId:r,formId:e,interactionType:t.toUpperCase()},type:"FORM"},id:l,sendEvent:a.sendEvent,settings:u});return c.page=void 0,c.send()}},35785:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},36277:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
75dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorPagesService=void 0;let i=r(849),o=n(r(3107)),a=`
76  query ErrorPagesQuery($siteName: String!, $language: String!) {
77    site {
78      siteInfo(site: $siteName) {
79        errorHandling(language: $language) {
80          notFoundPage {
81            rendered
82          }
83          notFoundPagePath
84          serverErrorPage {
85            rendered
86          }
87          serverErrorPagePath
88        }
89      }
90    }
91  }
92`;class s{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient()}get query(){return a}async fetchErrorPages(e,t,r){let n=t||this.options.language;if(!e)throw Error(i.siteNameError);return this.graphQLClient.request(this.query,{siteName:e,language:n},r).then(e=>e.site.siteInfo?e.site.siteInfo.errorHandling:null).catch(e=>Promise.reject(e))}getGraphQLClient(){var e,t;if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:o.default.errorpages,retries:null==(e=this.options.retries)?void 0:e.count,retryStrategy:null==(t=this.options.retries)?void 0:t.retryStrategy})}}t.ErrorPagesService=s},36464:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var n=r(4902),i=r(22337),o=r(30644),a=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,o.$)(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},36681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.languageError=t.siteNameError=void 0,t.siteNameError="The site name must be a non-empty string",t.languageError="The language must be a non-empty string"},36898:(e,t,r)=>{"use strict";function n(){}r.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},36938:(e,t,r)=>{"use strict";r.d(t,{Sf:()=>o.A,V1:()=>n.V1,no:()=>i.n,vA:()=>n.vA});var n=r(29462),i=r(29042),o=r(86813);globalThis.__DEV__},36974:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(15072),i=r(80542);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},37565:(e,t,r)=>{"use strict";function n(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,o=t+1-(r.index+r[0].length);return{line:i,column:o}}r.d(t,{g:()=>n})},38806:(e,t,r)=>{"use strict";e.exports=r(29429)},38841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0;let n=r(92849),i=r(31356),o=r(89814),a=r(23906),s=r(1036);t.identity=async function(e){await (0,o.awaitInit)();let t=(0,n.getCloudSDKSettingsBrowser)(),r=(0,i.getCookieValueClientSide)(t.cookieSettings.name.browserId);return new s.IdentityEvent({id:r,identityData:e,sendEvent:a.sendEvent,settings:t}).send()}},39668:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},39824:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},40052:(e,t,r)=>{"use strict";r.d(t,{A:()=>
92o});var n=r(14232),i=r(20722);let o=()=>(0,n.useContext)(i.$)},40118:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(60039),i=r(14232),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let a=e=>{var{field:t,children:r}=e,a=o(e,["field","children"]);if((0,n.JE)(t))return null;let s=t.src?t:t.value;if(!s)return null;let u=r?null:s.title||s.displayName,l={href:s.src};return i.createElement("a",Object.assign(Object.assign({},l),a),u,r)};a.displayName="File"},40163:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var n=r(14232),i=r(98741),o=r(63561),a=r(53282),s=r(60039),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let l=(0,i.O)((0,o.N)(e=>{var{field:t,tag:r,editable:i=!0,encode:o=!0}=e,a=u(e,["field","tag","editable","encode"]);if((0,s.JE)(t))return null;let l=void 0===t.value?"":t.value,c=String(l).split("\n");if(c.length){let e=[];c.forEach((t,r)=>{let i=r===c.length-1;e.push(t),i||e.push(n.createElement("br",{key:r}))}),l=e}let d=null,f=Object.assign({},a);return(o?d=l:f.dangerouslySetInnerHTML={__html:l},t.metadata)?n.createElement(r||"span",Object.assign(Object.assign({},f),{suppressHydrationWarning:!0}),d):r||!o?n.createElement(r||"span",f,d):n.createElement(n.Fragment,null,d)},{defaultEmptyFieldEditingComponent:a.G}));l.displayName="Text"},40302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let n=r(88365)._(r(14232)),i=n.default.createContext(null);function o(e){let t=(0,n.useContext)(i);t&&t(e)}},40488:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});var n=r(14232),i=r(58457);let o=()=>n.createElement("div",{className:"sc-jss-editing-error",role:"alert"},"Datasource is required. Please choose a content item for this component.");function a(e){return function(t){return function(r){var a,s;let{page:u}=(0,i.M)(),l=null!=(a=null==e?void 0:e.editingErrorComponent)?a:o;return u.mode.isDesignLibrary||(null==(s=r.rendering)?void 0:s.dataSource)?n.createElement(t,Object.assign({},r)):u.mode.isEditing?n.createElement(l,null):null}}}},41068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteResolver=void 0;let r=/\||,|;/g;class n{constructor(e){this.sites=e,this.getByHost=e=>{for(let[t,r]of this.getHostMap())if(this.matchesPattern(e,t))return r;throw Error(`Could not resolve site for host ${e}`)},this.getByName=e=>this.sites.find(t=>t.name.toLocaleLowerCase()===e.toLocaleLowerCase()),this.getHostMap=()=>{let e=new Map;return this.sites.forEach(t=>{t.hostName.replace(/\s/g,"").toLocaleLowerCase().split(r).forEach(r=>{e.has(r)||e.set(r,t)})}),new Map(Array.from(e).sort((e,t)=>e[0].length===t[0].length?(e[0].match(/\*/g)||[]).length-(t[0].match(/\*/g)||[]).length:t[0].length-e[0].length))}}matchesPattern(e,t){let r=t.replace(/\./g,"\\.").replace(/\*/g,".*"),n=RegExp(`^${r}$`,"gi");return!!e.match(n)}}t.SiteResolver=n},41276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNextJsMiddlewareResponse=void 0,t.isNextJsMiddlewareResponse=function(e){return"cookies"in e&&"set"in e.cookies}},41286:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}
92,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;let o=r(1291),a=i(r(14232)),s=r(83757),u=r(80323),l=r(98646),c=r(27015),d=r(85917);t.Image=(0,u.withFieldMetadata)((0,l.withEmptyFieldEditingComponent)(e=>{var{editable:t=!0,imageParams:r,field:i,mediaUrlPrefix:u}=e,l=n(e,["editable","imageParams","field","mediaUrlPrefix"]);if((0,d.isFieldValueEmpty)(i))return null;let c=i.src?i:i.value;if(!c)return null;c.metadata&&delete c.metadata;let f=((e,t,r)=>{var{src:i,srcSet:a}=e,u=n(e,["src","srcSet"]);if(!i)return null;(0,s.addClassName)(u);let l=Object.assign({},u),c=o.mediaApi.updateImageUrl(i,t,r);return a&&(l.srcSet=o.mediaApi.getSrcSet(c,a,t,r)),l.src=c,l})(Object.assign(Object.assign({},c),l),r,u);return f?a.default.createElement("img",Object.assign({},f)):null},{defaultEmptyFieldEditingComponent:c.DefaultEmptyFieldEditingComponentImage})),t.Image.displayName="Image"},41448:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.rawRequest=t.GraphQLClient=t.ClientError=t.batchRequests=t.resolveRequestDocument=t.GraphQLWebSocketClient=t.gql=void 0;let a=r(73379),s=r(71457),u=r(54926),l=r(10620),c=r(83917);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return c.ClientError}});let d=o(r(55541)),f=e=>{let t={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||d&&d.Headers&&e instanceof d.Headers?t=(0,s.HeadersInstanceToPlainObject)(e):Array.isArray(e)?e.forEach(([e,r])=>{e&&void 0!==r&&(t[e]=r)}):t=e),t},p=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim();class h{constructor(e,t={}){this.url=e,this.requestConfig=t,this.rawRequest=async(...e)=>{let[t,r,n]=e,i=(0,u.parseRawRequestArgs)(t,r,n),{headers:o,fetch:a=d.default,method:s="POST",requestMiddleware:c,responseMiddleware:p,...h}=this.requestConfig,{url:y}=this;void 0!==i.signal&&(h.signal=i.signal);let{operationName:v}=(0,l.resolveRequestDocument)(i.query);return m({url:y,query:i.query,variables:i.variables,headers:{...f(E(o)),...f(i.requestHeaders)},operationName:v,fetch:a,method:s,fetchOptions:h,middleware:c}).then(e=>(p&&p(e),e)).catch(e=>{throw p&&p(e),e})}}async request(e,...t){let[r,n]=t,i=(0,u.parseRequestArgs)(e,r,n),{headers:o,fetch:a=d.default,method:s="POST",requestMiddleware:c,responseMiddleware:p,...h}=this.requestConfig,{url:y}=this;void 0!==i.signal&&(h.signal=i.signal);let{query:v,operationName:g}=(0,l.resolveRequestDocument)(i.document);return m({url:y,query:v,variables:i.variables,headers:{...f(E(o)),...f(i.requestHeaders)},operationName:g,fetch:a,method:s,fetchOptions:h,middleware:c}).then(e=>(p&&p(e),e.data)).catch(e=>{throw p&&p(e),e})}batchRequests(e,t){let r=(0,u.parseBatchRequestArgs)(e,t),{headers:n,...i}=this.requestConfig;void 0!==r.signal&&(i.signal=r.signal);let o=r.documents.map(({document:e})=>(0,l.resolveRequestDocument)(e).query),a=r.documents.map(({variables:e})=>e);return m({url:this.url,query:o,variables:a,headers:{...f(E(n)),...f(r.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??d.default,method:this.requestConfig.method||"POST",fetchOptions:i,middleware:this.requestConfig.requestMiddleware}).then(e=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e.data)).catch(e=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e})}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,t){let{headers:r}=this.requestConfig;return r?r[e]=t:this.requestConfig.headers={[e]:t},this}setEndpoint(e){return this.url=e,this}}t.GraphQLClient=h;let m=async e=>{let t,{query:r,variables:n,fetchOptions:i}=e,o=(t=(0,s.uppercase)(e.method??"post"),async e=>{let r,{url:n,query:i,variables:o,operationName:s,fetch:u,fetchOptions:l,middleware:c}=e,d={...e.headers},f="";"POST"===t?"string"==typeof(r=g(i,o,s,l.jsonSerializer))&&(d["Content-Type"]="application/json"):f=(e=>{if(!Array.isArray(e.query)){let t=[`query=${encodeURIComponent(p(e.query))}`];return e.variables&&t.push(`variables=${encodeURIComponent(e.jsonSerializer.stringify(e.variables))}`),e.operationName&&t.push(`operationName=${encodeURIComponent(e.operationName)}`),t.join("&")}if(void 0!==e.variables&&!Array.isArray(e.variables))throw Error("Cannot create query with given variable type, array expected");let t=e.query.reduce((t,r,n)=>(t.push({query:p(r),variables:e.variables?e.jsonSerializer.stringify(e.variables[n]):void 0}),t),[]);return`query=${encodeURIComponent(e.jsonSerializer.stringify(t))}`})({query:i,variables:o,operationName:s,jsonSerializer:l.jsonSerializer??a.defaultJsonSerializer});let h={method:t,headers:d,body:r,...l},m=n,y=h;if(c){let{url:e,...t}=await Promise.resolve(c({...h,url:n,operationName:s,variables:o}));m=e,y=t}return f&&(m=`${m}?${f}`),await u(m,y)}),u=Array.isArray(e.query),l=await o(e),d=await b(l,i.jsonSerializer??a.defaultJsonSerializer),f=Array.isArray(d)?!d.some(({data:e})=>!e):!!d.data,h=Array.isArray(d)||!d.errors||Array.isArray(d.errors)&&!d.errors.length||"all"===i.errorPolicy||"ignore"===i.errorPolicy;if(l.ok&&h&&f){let{errors:e,...t}=(Array.isArray(d),d),r="ignore"===i.errorPolicy?t:d;return{...u?{data:r}:r,headers:l.headers,status:l.status}}{let e="string"==typeof d?{error:d}:d;throw new c.ClientError({...e,status:l.status,headers:l.headers},{query:r,variables:n})}};async function y(e,t,...r){let n=(0,u.parseRequestExtendedArgs)(e,t,...r);return new h(n.url).request({...n})}t.rawRequest=async(...e)=>{let[t,r,...n]=e,i=(0,u.parseRawRequestExtendedArgs)(t,r,...n);return new h(i.url).rawRequest({...i})},t.request=y,t.batchRequests=async(...e)=>{let t=v(e);return new h(t.url).batchRequests(t)};let v=e=>1===e.length?e[0]:{url:e[0],documents:e[1],requestHeaders:e[2],signal:void 0},g=(e,t,r,n)=>{let i=n??a.defaultJsonSerializer;if(!Array.isArray(e))return i.stringify({query:e,variables:t,operationName:r});if(void 0!==t&&!Array.isArray(t))throw Error("Cannot create request body with given variable type, array expected");let o=e.reduce((e,r,n)=>(e.push({query:r,variables:t?t[n]:void 0}),e),[]);return i.stringify(o)},b=async(e,t)=>{let r;
92return(e.headers.forEach((e,t)=>{"content-type"===t.toLowerCase()&&(r=e)}),r&&(r.toLowerCase().startsWith("application/json")||r.toLowerCase().startsWith("application/graphql+json")||r.toLowerCase().startsWith("application/graphql-response+json")))?t.parse(await e.text()):e.text()},E=e=>"function"==typeof e?e():e;t.gql=(e,...t)=>e.reduce((e,r,n)=>`${e}${r}${n in t?String(t[n]):""}`,"");var _=r(54226);Object.defineProperty(t,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return _.GraphQLWebSocketClient}});var O=r(10620);Object.defineProperty(t,"resolveRequestDocument",{enumerable:!0,get:function(){return O.resolveRequestDocument}}),t.default=y},42571:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a,getComponentServerProps:()=>o});var n=r(33051),i=r(23041);let o=e=>(function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let t=e.params||{};return yield(0,n.WT)(t)}),a=i.dW},42885:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BREAK:()=>c.sP,BreakingChangeType:()=>it,DEFAULT_DEPRECATION_REASON:()=>tv,DangerousChangeType:()=>ir,DirectiveLocation:()=>eH.H,ExecutableDefinitionsRule:()=>tB,FieldsOnCorrectTypeRule:()=>tJ,FragmentsOnCompositeTypesRule:()=>tK,GraphQLBoolean:()=>e2,GraphQLDeprecatedDirective:()=>tg,GraphQLDirective:()=>th,GraphQLEnumType:()=>eF,GraphQLError:()=>l.e,GraphQLFloat:()=>eZ,GraphQLID:()=>e5,GraphQLIncludeDirective:()=>tm,GraphQLInputObjectType:()=>eU,GraphQLInt:()=>eX,GraphQLInterfaceType:()=>ek,GraphQLList:()=>em,GraphQLNonNull:()=>ey,GraphQLObjectType:()=>eP,GraphQLScalarType:()=>eR,GraphQLSchema:()=>tS,GraphQLSkipDirective:()=>ty,GraphQLSpecifiedByDirective:()=>tb,GraphQLString:()=>e1,GraphQLUnionType:()=>eM,Kind:()=>k.b,KnownArgumentNamesRule:()=>re,KnownDirectivesRule:()=>t8,KnownFragmentNamesRule:()=>tZ,KnownTypeNamesRule:()=>t$,Lexer:()=>nd.J,Location:()=>tM.aZ,LoneAnonymousOperationRule:()=>tQ,LoneSchemaDefinitionRule:()=>rE,NoDeprecatedCustomRule:()=>nE,NoFragmentCyclesRule:()=>t2,NoSchemaIntrospectionCustomRule:()=>n_,NoUndefinedVariablesRule:()=>t3,NoUnusedFragmentsRule:()=>t0,NoUnusedVariablesRule:()=>t4,OverlappingFieldsCanBeMergedRule:()=>rd,PossibleFragmentSpreadsRule:()=>t1,PossibleTypeExtensionsRule:()=>rR,ProvidedRequiredArgumentsRule:()=>rs,ScalarLeafsRule:()=>tW,SchemaMetaFieldDef:()=>ts,SingleFieldSubscriptionsRule:()=>tz,Source:()=>nu.k,Token:()=>tM.ou,TokenKind:()=>nf.Y,TypeInfo:()=>tF,TypeKind:()=>to,TypeMetaFieldDef:()=>tu,TypeNameMetaFieldDef:()=>tl,UniqueArgumentNamesRule:()=>rr,UniqueDirectiveNamesRule:()=>rC,UniqueDirectivesPerLocationRule:()=>t6,UniqueEnumValueNamesRule:()=>rw,UniqueFieldDefinitionNamesRule:()=>rS,UniqueFragmentNamesRule:()=>tX,UniqueInputFieldNamesRule:()=>rb,UniqueOperationNamesRule:()=>tG,UniqueOperationTypesRule:()=>r_,UniqueTypeNamesRule:()=>rO,UniqueVariableNamesRule:()=>t5,ValidationContext:()=>rj,ValuesOfCorrectTypeRule:()=>rn,VariablesAreInputTypesRule:()=>tY,VariablesInAllowedPositionRule:()=>rc,__Directive:()=>e7,__DirectiveLocation:()=>te,__EnumValue:()=>ti,__Field:()=>tr,__InputValue:()=>tn,__Schema:()=>e9,__Type:()=>tt,__TypeKind:()=>ta,assertAbstractType:()=>eh,assertCompositeType:()=>ef,assertDirective:()=>tp,assertEnumType:()=>X,assertInputObjectType:()=>ee,assertInputType:()=>ea,assertInterfaceType:()=>K,assertLeafType:()=>ec,assertListType:()=>er,assertNamedType:()=>ew,assertNonNullType:()=>ei,assertNullableType:()=>eE,assertObjectType:()=>$,assertOutputType:()=>eu,assertScalarType:()=>Q,assertSchema:()=>tw,assertType:()=>B,assertUnionType:()=>W,assertValidName:()=>y,assertValidSchema:()=>tR,assertWrappingType:()=>eg,astFromValue:()=>e8,buildASTSchema:()=>nV,buildClientSchema:()=>nA,buildSchema:()=>nU,coerceInputValue:()=>rG,concatAST:()=>n4,createSourceEventStream:()=>nb,defaultFieldResolver:()=>nn,defaultTypeResolver:()=>nr,doTypesOverlap:()=>ez,execute:()=>rK,executeSync:()=>rY,extendSchema:()=>nx,findBreakingChanges:()=>ii,findDangerousChanges:()=>io,findDeprecatedUsages:()=>id,formatError:()=>nO,getDescription:()=>nF,getDirectiveValues:()=>r$,getIntrospectionQuery:()=>nC,getLocation:()=>nl.g,getNamedType:()=>eS,getNullableType:()=>e_,getOperationAST:()=>nT,getOperationRootType:()=>rV,getVisitFn:()=>c.UY,graphql:()=>no,graphqlSync:()=>na,introspectionFromSchema:()=>nP,introspectionTypes:()=>tc,isAbstractType:()=>ep,isCompositeType:()=>ed,isDefinitionNode:()=>tq.MD,isDirective:()=>tf,isEnumType:()=>J,isEqualType:()=>eG,isExecutableDefinitionNode:()=>tq._m,isInputObjectType:()=>Z,isInputType:()=>eo,isInterfaceType:()=>H,isIntrospectionType:()=>td,isLeafType:()=>el,isListType:()=>et,isNamedType:()=>eO,isNonNullType:()=>en,isNullableType:()=>eb,isObjectType:()=>z,isOutputType:()=>es,isRequiredArgument:()=>ej,isRequiredInputField:()=>eB,isScalarType:()=>G,isSchema:()=>tO,isSelectionNode:()=>tq.VK,isSpecifiedDirective:()=>t_,isSpecifiedScalarType:()=>e4,isType:()=>q,isTypeDefinitionNode:()=>tq.a6,isTypeExtensionNode:()=>tq.i7,isTypeNode:()=>tq.dI,isTypeSubTypeOf:()=>eQ,isTypeSystemDefinitionNode:()=>tq.xu,isTypeSystemExtensionNode:()=>tq.fT,isUnionType:()=>Y,isValidNameError:()=>v,isValueNode:()=>tq.aR,isWrappingType:()=>ev,lexicographicSortSchema:()=>nG,locatedError:()=>h,parse:()=>s.qg,parseType:()=>s.Mb,parseValue:()=>s.$x,print:()=>M.y,printError:()=>l.y,printIntrospectionSchema:()=>nK,printLocation:()=>nc.V,printSchema:()=>nH,printSourceLocation:()=>nc.C,printType:()=>nJ,responsePathAsArray:()=>rF,separateOperations:()=>n8,specifiedDirectives:()=>tE,specifiedRules:()=>rA,specifiedScalarTypes:()=>e3,stripIgnoredCharacters:()=>n9,subscribe:()=>ny,syntaxError:()=>nw.I,typeFromAST:()=>tL,validate:()=>rk,validateSchema:()=>tT,valueFromAST:()=>rq,valueFromASTUntyped:()=>F,version:()=>i,versionInfo:()=>o,visit:()=>c.YR,visitInParallel:()=>c.oP,visitWithTypeInfo:()=>tU});var n,i="15.8.0",o=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function a(e){return"function"==typeof(null==e?void 0:e.then)}var s=r(46865),u=r(58287),l=r(68827),c=r(74968),d=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}},f=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},p=r(77016);function h(e,t,r){var n,i=e instanceof Error?e:Error("Unexpected error value: "+(0,p.A)(e));return Array.isArray(i.path)?i:new l.e(i.message,null!=(n=i.nodes)?n:t,i.source,i.positions,r,i)}var m=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function y(e){var t=v(e);if(t)throw t;return e}function v(e){return("string"==typeof e||(0,u.A)(0,"Expected name to be a string."),e.length>1&&"_"===e[0]&&"_"===e[1])?new l.e('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.')):m.test(e)?void 0:new l.e('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}var g=Object.entries||function(e){return Object.keys(e).map(function(t){return[t,e[t]]})},b=r(76743);function E(e,t){return e.reduce(function(e,r){return e[t(r)]=r,e},Object.create(null))}function _(e,t){for(var r=Object.create(null),n=0,i=g(e);n<i.length;n++){var o=i[n],a=o[0],s=o[1];r[a]=t(s,a)}return r}function O(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),r=0,n=g(e);r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t}function w(e,t,r){return e.reduce(function(e,n){return e[t(n)]=r(n),e},Object.create(null))}var S=r(49308);function C(e,t){var r="string"==typeof e?[e,t]:[void 0,e],n=r[0],i=r[1],o=" Did you mean ";n&&(o+=n+" ");var a=i.map(function(e){return'"'.concat(e,'"')});switch(a.length){case 0:return"";case 1:return o+a[0]+"?";
92case 2:return o+a[0]+" or "+a[1]+"?"}var s=a.slice(0,5),u=s.pop();return o+s.join(", ")+", or "+u+"?"}var T=r(22366);function R(e){return e}var P=r(53459);function A(e,t){for(var r=0,n=0;r<e.length&&n<t.length;){var i=e.charCodeAt(r),o=t.charCodeAt(n);if(D(i)&&D(o)){var a=0;do++r,a=10*a+i-I,i=e.charCodeAt(r);while(D(i)&&a>0);var s=0;do++n,s=10*s+o-I,o=t.charCodeAt(n);while(D(o)&&s>0);if(a<s)return -1;if(a>s)return 1}else{if(i<o)return -1;if(i>o)return 1;++r,++n}}return e.length-t.length}var I=48;function D(e){return!isNaN(e)&&I<=e&&e<=57}function N(e,t){for(var r=Object.create(null),n=new x(e),i=Math.floor(.4*e.length)+1,o=0;o<t.length;o++){var a=t[o],s=n.measure(a,i);void 0!==s&&(r[a]=s)}return Object.keys(r).sort(function(e,t){var n=r[e]-r[t];return 0!==n?n:A(e,t)})}var x=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=j(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var r=e.toLowerCase();if(this._inputLowerCase===r)return 1;var n=j(r),i=this._inputArray;if(n.length<i.length){var o=n;n=i,i=o}var a=n.length,s=i.length;if(!(a-s>t)){for(var u=this._rows,l=0;l<=s;l++)u[0][l]=l;for(var c=1;c<=a;c++){for(var d=u[(c-1)%3],f=u[c%3],p=f[0]=c,h=1;h<=s;h++){var m=+(n[c-1]!==i[h-1]),y=Math.min(d[h]+1,f[h-1]+1,d[h-1]+m);c>1&&h>1&&n[c-1]===i[h-2]&&n[c-2]===i[h-1]&&(y=Math.min(y,u[(c-2)%3][h-2]+1)),y<p&&(p=y),f[h]=y}if(p>t)return}var v=u[a%3][s];return v<=t?v:void 0}},e}();function j(e){for(var t=e.length,r=Array(t),n=0;n<t;++n)r[n]=e.charCodeAt(n);return r}var k=r(94587),M=r(90738),L=r(52076);function F(e,t){switch(e.kind){case k.b.NULL:return null;case k.b.INT:return parseInt(e.value,10);case k.b.FLOAT:return parseFloat(e.value);case k.b.STRING:case k.b.ENUM:case k.b.BOOLEAN:return e.value;case k.b.LIST:return e.values.map(function(e){return F(e,t)});case k.b.OBJECT:return w(e.fields,function(e){return e.name.value},function(e){return F(e.value,t)});case k.b.VARIABLE:return null==t?void 0:t[e.name.value]}(0,L.A)(0,"Unexpected value node: "+(0,p.A)(e))}function V(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U(e,t,r){return t&&V(e.prototype,t),r&&V(e,r),e}function q(e){return G(e)||z(e)||H(e)||Y(e)||J(e)||Z(e)||et(e)||en(e)}function B(e){if(!q(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL type."));return e}function G(e){return(0,S.A)(e,eR)}function Q(e){if(!G(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Scalar type."));return e}function z(e){return(0,S.A)(e,eP)}function $(e){if(!z(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Object type."));return e}function H(e){return(0,S.A)(e,ek)}function K(e){if(!H(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Interface type."));return e}function Y(e){return(0,S.A)(e,eM)}function W(e){if(!Y(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Union type."));return e}function J(e){return(0,S.A)(e,eF)}function X(e){if(!J(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Enum type."));return e}function Z(e){return(0,S.A)(e,eU)}function ee(e){if(!Z(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Input Object type."));return e}function et(e){return(0,S.A)(e,em)}function er(e){if(!et(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL List type."));return e}function en(e){return(0,S.A)(e,ey)}function ei(e){if(!en(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL Non-Null type."));return e}function eo(e){return G(e)||J(e)||Z(e)||ev(e)&&eo(e.ofType)}function ea(e){if(!eo(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL input type."));return e}function es(e){return G(e)||z(e)||H(e)||Y(e)||J(e)||ev(e)&&es(e.ofType)}function eu(e){if(!es(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL output type."));return e}function el(e){return G(e)||J(e)}function ec(e){if(!el(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL leaf type."));return e}function ed(e){return z(e)||H(e)||Y(e)}function ef(e){if(!ed(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL composite type."));return e}function ep(e){return H(e)||Y(e)}function eh(e){if(!ep(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL abstract type."));return e}function em(e){if(!(this instanceof em))return new em(e);this.ofType=B(e)}function ey(e){if(!(this instanceof ey))return new ey(e);this.ofType=eE(e)}function ev(e){return et(e)||en(e)}function eg(e){if(!ev(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL wrapping type."));return e}function eb(e){return q(e)&&!en(e)}function eE(e){if(!eb(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL nullable type."));return e}function e_(e){if(e)return en(e)?e.ofType:e}function eO(e){return G(e)||z(e)||H(e)||Y(e)||J(e)||Z(e)}function ew(e){if(!eO(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL named type."));return e}function eS(e){if(e){for(var t=e;ev(t);)t=t.ofType;return t}}function eC(e){return"function"==typeof e?e():e}function eT(e){return e&&e.length>0?e:void 0}em.prototype.toString=function(){return"["+String(this.ofType)+"]"},em.prototype.toJSON=function(){return this.toString()},Object.defineProperty(em.prototype,b.Kp,{get:function(){return"GraphQLList"}}),(0,P.A)(em),ey.prototype.toString=function(){return String(this.ofType)+"!"},ey.prototype.toJSON=function(){return this.toString()},Object.defineProperty(ey.prototype,b.Kp,{get:function(){return"GraphQLNonNull"}}),(0,P.A)(ey);var eR=function(){function e(e){var t,r,n,i=null!=(t=e.parseValue)?t:R;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!=(r=e.serialize)?r:R,this.parseValue=i,this.parseLiteral=null!=(n=e.parseLiteral)?n:function(e,t){return i(F(e,t))},this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=eT(e.extensionASTNodes),"string"==typeof e.name||(0,u.A)(0,"Must provide name."),null==e.specifiedByUrl||"string"==typeof e.specifiedByUrl||(0,u.A)(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat((0,p.A)(e.specifiedByUrl),".")),null==e.serialize||"function"==typeof e.serialize||(0,u.A)(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,u.A)(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!=(e=this.extensionASTNodes)?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},U(e,[{key:b.Kp,get:function(){return"GraphQLScalarType"}}]),e}();(0,P.A)(eR);var eP=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=eT(e.extensionASTNodes),this._fields=eI.bind(void 0,e),this._interfaces=eA.bind(void 0,e),"string"==typeof e.name||(0,u.A)(0,"Must provide name."),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,u.A)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat((0,p.A)(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&
92(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eN(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},U(e,[{key:b.Kp,get:function(){return"GraphQLObjectType"}}]),e}();function eA(e){var t,r=null!=(t=eC(e.interfaces))?t:[];return Array.isArray(r)||(0,u.A)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),r}function eI(e){var t=eC(e.fields);return eD(t)||(0,u.A)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),_(t,function(t,r){eD(t)||(0,u.A)(0,"".concat(e.name,".").concat(r," field config must be an object.")),"isDeprecated"in t&&(0,u.A)(0,"".concat(e.name,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||(0,u.A)(0,"".concat(e.name,".").concat(r," field resolver must be a function if ")+"provided, but got: ".concat((0,p.A)(t.resolve),"."));var n,i=null!=(n=t.args)?n:{};eD(i)||(0,u.A)(0,"".concat(e.name,".").concat(r," args must be an object with argument names as keys."));var o=g(i).map(function(e){var t=e[0],r=e[1];return{name:t,description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions&&O(r.extensions),astNode:r.astNode}});return{name:r,description:t.description,type:t.type,args:o,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&O(t.extensions),astNode:t.astNode}})}function eD(e){return(0,T.A)(e)&&!Array.isArray(e)}function eN(e){return _(e,function(e){return{description:e.description,type:e.type,args:ex(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function ex(e){return w(e,function(e){return e.name},function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function ej(e){return en(e.type)&&void 0===e.defaultValue}(0,P.A)(eP);var ek=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=eT(e.extensionASTNodes),this._fields=eI.bind(void 0,e),this._interfaces=eA.bind(void 0,e),"string"==typeof e.name||(0,u.A)(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||(0,u.A)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,p.A)(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eN(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!=(e=this.extensionASTNodes)?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},U(e,[{key:b.Kp,get:function(){return"GraphQLInterfaceType"}}]),e}();(0,P.A)(ek);var eM=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=eT(e.extensionASTNodes),this._types=eL.bind(void 0,e),"string"==typeof e.name||(0,u.A)(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||(0,u.A)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,p.A)(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!=(e=this.extensionASTNodes)?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},U(e,[{key:b.Kp,get:function(){return"GraphQLUnionType"}}]),e}();function eL(e){var t=eC(e.types);return Array.isArray(t)||(0,u.A)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}(0,P.A)(eM);var eF=function(){function e(e){var t,r;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=eT(e.extensionASTNodes),this._values=(t=this.name,eD(r=e.values)||(0,u.A)(0,"".concat(t," values must be an object with value names as keys.")),g(r).map(function(e){var r=e[0],n=e[1];return eD(n)||(0,u.A)(0,"".concat(t,".").concat(r,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat((0,p.A)(n),".")),"isDeprecated"in n&&(0,u.A)(0,"".concat(t,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),{name:r,description:n.description,value:void 0!==n.value?n.value:r,isDeprecated:null!=n.deprecationReason,deprecationReason:n.deprecationReason,extensions:n.extensions&&O(n.extensions),astNode:n.astNode}})),this._valueLookup=new Map(this._values.map(function(e){return[e.value,e]})),this._nameLookup=E(this._values,function(e){return e.name}),"string"==typeof e.name||(0,u.A)(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new l.e('Enum "'.concat(this.name,'" cannot represent value: ').concat((0,p.A)(e)));return t.name},t.parseValue=function(e){if("string"!=typeof e){var t=(0,p.A)(e);throw new l.e('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+eV(this,t))}
92var r=this.getValue(e);if(null==r)throw new l.e('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+eV(this,e));return r.value},t.parseLiteral=function(e,t){if(e.kind!==k.b.ENUM){var r=(0,M.y)(e);throw new l.e('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(r,".")+eV(this,r),e)}var n=this.getValue(e.value);if(null==n){var i=(0,M.y)(e);throw new l.e('Value "'.concat(i,'" does not exist in "').concat(this.name,'" enum.')+eV(this,i),e)}return n.value},t.toConfig=function(){var e,t=w(this.getValues(),function(e){return e.name},function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!=(e=this.extensionASTNodes)?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},U(e,[{key:b.Kp,get:function(){return"GraphQLEnumType"}}]),e}();function eV(e,t){return C("the enum value",N(t,e.getValues().map(function(e){return e.name})))}(0,P.A)(eF);var eU=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=eT(e.extensionASTNodes),this._fields=eq.bind(void 0,e),"string"==typeof e.name||(0,u.A)(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=_(this.getFields(),function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!=(e=this.extensionASTNodes)?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},U(e,[{key:b.Kp,get:function(){return"GraphQLInputObjectType"}}]),e}();function eq(e){var t=eC(e.fields);return eD(t)||(0,u.A)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),_(t,function(t,r){return"resolve"in t&&(0,u.A)(0,"".concat(e.name,".").concat(r," field has a resolve property, but Input Types cannot define resolvers.")),{name:r,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&O(t.extensions),astNode:t.astNode}})}function eB(e){return en(e.type)&&void 0===e.defaultValue}function eG(e,t){return e===t||!!(en(e)&&en(t)||et(e)&&et(t))&&eG(e.ofType,t.ofType)}function eQ(e,t,r){return t===r||(en(r)?!!en(t)&&eQ(e,t.ofType,r.ofType):en(t)?eQ(e,t.ofType,r):et(r)?!!et(t)&&eQ(e,t.ofType,r.ofType):!et(t)&&ep(r)&&(H(t)||z(t))&&e.isSubType(r,t))}function ez(e,t,r){return t===r||(ep(t)?ep(r)?e.getPossibleTypes(t).some(function(t){return e.isSubType(r,t)}):e.isSubType(t,r):!!ep(r)&&e.isSubType(r,t))}(0,P.A)(eU);var e$=Array.from||function(e,t,r){if(null==e)throw TypeError("Array.from requires an array-like object - not null or undefined");var n=e[b.q4];if("function"==typeof n){for(var i,o=n.call(e),a=[],s=0;!(i=o.next()).done;++s)if(a.push(t.call(r,i.value,s)),s>9999999)throw TypeError("Near-infinite iteration.");return a}var u=e.length;if("number"==typeof u&&u>=0&&u%1==0){for(var l=[],c=0;c<u;++c)Object.prototype.hasOwnProperty.call(e,c)&&l.push(t.call(r,e[c],c));return l}return[]},eH=r(32776),eK=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)};function eY(e){return(eY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eW(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==eY(e))return null;if(Array.isArray(e))return e.map(t);var r=e[b.q4];if("function"==typeof r){for(var n,i=r.call(e),o=[],a=0;!(n=i.next()).done;++a)o.push(t(n.value,a));return o}var s=e.length;if("number"==typeof s&&s>=0&&s%1==0){for(var u=[],l=0;l<s;++l){if(!Object.prototype.hasOwnProperty.call(e,l))return null;u.push(t(e[String(l)],l))}return u}return null}var eJ=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},eX=new eR({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var t=e0(e);if("boolean"==typeof t)return+!!t;var r=t;if("string"==typeof t&&""!==t&&(r=Number(t)),!eJ(r))throw new l.e("Int cannot represent non-integer value: ".concat((0,p.A)(t)));if(r>0x7fffffff||r<-0x80000000)throw new l.e("Int cannot represent non 32-bit signed integer value: "+(0,p.A)(t));return r},parseValue:function(e){if(!eJ(e))throw new l.e("Int cannot represent non-integer value: ".concat((0,p.A)(e)));if(e>0x7fffffff||e<-0x80000000)throw new l.e("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==k.b.INT)throw new l.e("Int cannot represent non-integer value: ".concat((0,M.y)(e)),e);var t=parseInt(e.value,10);if(t>0x7fffffff||t<-0x80000000)throw new l.e("Int cannot represent non 32-bit signed integer value: ".concat(e.value),e);return t}}),eZ=new eR({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){var t=e0(e);if("boolean"==typeof t)return+!!t;var r=t;if("string"==typeof t&&""!==t&&(r=Number(t)),!eK(r))throw new l.e("Float cannot represent non numeric value: ".concat((0,p.A)(t)));return r},parseValue:function(e){if(!eK(e))throw new l.e("Float cannot represent non numeric value: ".concat((0,p.A)(e)));return e},parseLiteral:function(e){if(e.kind!==k.b.FLOAT&&e.kind!==k.b.INT)throw new l.e("Float cannot represent non numeric value: ".concat((0,M.y)(e)),e);return parseFloat(e.value)}});function e0(e){if((0,T.A)(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!(0,T.A)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}var e1=new eR({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=e0(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if(eK(t))return t.toString();throw new l.e("String cannot represent value: ".concat((0,p.A)(e)))},parseValue:function(e){if("string"!=typeof e)throw new l.e("String cannot represent a non string value: ".concat((0,p.A)(e)));return e},parseLiteral:function(e){if(e.kind!==k.b.STRING)throw new l.e("String cannot represent a non string value: ".concat((0,M.y)(e)),e);return e.value}}),e2=new eR({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=e0(e);if("boolean"==typeof t)return t;if(eK(t))return 0!==t;throw new l.e("Boolean cannot represent a non boolean value: ".concat((0,p.A)(t)))},parseValue:function(e){if("boolean"!=typeof e)throw new l.e("Boolean cannot represent a non boolean value: ".concat((0,p.A)(e)));return e},parseLiteral:function(e){if(e.kind!==k.b.BOOLEAN)throw new l.e("Boolean cannot represent a non boolean value: ".concat((0,M.y)(e)),e);return e.value}}),e5=new eR({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=e0(e);if("string"==typeof t)return t;if(eJ(t))return String(t);throw new l.e("ID cannot represent value: ".concat((0,p.A)(e)))},parseValue:function(e){if("string"==typeof e)return e;if(eJ(e))return e.toString();throw new l.e("ID cannot represent value: ".concat((0,p.A)(e)))},parseLiteral:function(e){if(e.kind!==k.b.STRING&&e.kind!==k.b.INT)throw new l.e("ID cannot represent a non-string and non-integer value: "+(0,M.y)(e),e);return e.value}}),e3=Object.freeze([e1,eX,eZ,e2,e5]);function e4(e){return e3.some(function(t){var r=t.name;return e.name===r})}function e8(e,t){if(en(t)){var r=e8(e,t.ofType);return(null==r?void 0:r.kind)===k.b.NULL?null:r}if(null===e)return{kind:k.b.NULL};if(void 0===e)return null;if(et(t)){var n=t.ofType,i=eW(e);if(null!=i){for(var o=[],a=0;a<i.length;a++){var s=e8(i[a],n);null!=s&&o.push(s)}return{kind:k.b.LIST,values:o}}return e8(e,n)}if(Z(t)){if(!(0,T.A)(e))return null;for(var u=[],l=0,c=f(t.getFields());l<c.length;l++){var d=c[l],h=e8(e[d.name],d.type);h&&u.push({kind:k.b.OBJECT_FIELD,name:{kind:k.b.NAME,value:d.name},value:h})}return{kind:k.b.OBJECT,fields:u}}if(el(t)){var m=t.serialize(e);if(null==m)return null;if("boolean"==typeof m)return{kind:k.b.BOOLEAN,value:m};if("number"==typeof m&&eK(m)){var y=String(m);return e6.test(y)?{kind:k.b.INT,value:y}:{kind:k.b.FLOAT,value:y}}if("string"==typeof m)return J(t)?{kind:k.b.ENUM,value:m}:t===e5&&e6.test(m)?{kind:k.b.INT,value:m}:{kind:k.b.STRING,value:m};throw TypeError("Cannot convert value to AST: ".concat((0,p.A)(m),"."))}(0,L.A)(0,"Unexpected input type: "+(0,p.A)(t))}
92var e6=/^-?(?:0|[1-9][0-9]*)$/,e9=new eP({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:e1,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new ey(new em(new ey(tt))),resolve:function(e){return f(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new ey(tt),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:tt,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:tt,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new ey(new em(new ey(e7))),resolve:function(e){return e.getDirectives()}}}}}),e7=new eP({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new ey(e1),resolve:function(e){return e.name}},description:{type:e1,resolve:function(e){return e.description}},isRepeatable:{type:new ey(e2),resolve:function(e){return e.isRepeatable}},locations:{type:new ey(new em(new ey(te))),resolve:function(e){return e.locations}},args:{type:new ey(new em(new ey(tn))),args:{includeDeprecated:{type:e2,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}}}}}),te=new eF({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:eH.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:eH.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:eH.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:eH.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:eH.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:eH.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:eH.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:eH.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:eH.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:eH.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:eH.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:eH.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:eH.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:eH.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:eH.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:eH.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:eH.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:eH.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:eH.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),tt=new eP({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new ey(ta),resolve:function(e){return G(e)?to.SCALAR:z(e)?to.OBJECT:H(e)?to.INTERFACE:Y(e)?to.UNION:J(e)?to.ENUM:Z(e)?to.INPUT_OBJECT:et(e)?to.LIST:en(e)?to.NON_NULL:void(0,L.A)(0,'Unexpected type: "'.concat((0,p.A)(e),'".'))}},name:{type:e1,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:e1,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:e1,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new em(new ey(tr)),args:{includeDeprecated:{type:e2,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(z(e)||H(e)){var n=f(e.getFields());return r?n:n.filter(function(e){return null==e.deprecationReason})}}},interfaces:{type:new em(new ey(tt)),resolve:function(e){if(z(e)||H(e))return e.getInterfaces()}},possibleTypes:{type:new em(new ey(tt)),resolve:function(e,t,r,n){var i=n.schema;if(ep(e))return i.getPossibleTypes(e)}},enumValues:{type:new em(new ey(ti)),args:{includeDeprecated:{type:e2,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(J(e)){var n=e.getValues();return r?n:n.filter(function(e){return null==e.deprecationReason})}}},inputFields:{type:new em(new ey(tn)),args:{includeDeprecated:{type:e2,defaultValue:!1}},resolve:function(e,t){var r=t.includeDeprecated;if(Z(e)){var n=f(e.getFields());return r?n:n.filter(function(e){return null==e.deprecationReason})}}},ofType:{type:tt,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}
92),tr=new eP({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new ey(e1),resolve:function(e){return e.name}},description:{type:e1,resolve:function(e){return e.description}},args:{type:new ey(new em(new ey(tn))),args:{includeDeprecated:{type:e2,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}},type:{type:new ey(tt),resolve:function(e){return e.type}},isDeprecated:{type:new ey(e2),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:e1,resolve:function(e){return e.deprecationReason}}}}}),tn=new eP({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new ey(e1),resolve:function(e){return e.name}},description:{type:e1,resolve:function(e){return e.description}},type:{type:new ey(tt),resolve:function(e){return e.type}},defaultValue:{type:e1,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,r=e8(e.defaultValue,t);return r?(0,M.y)(r):null}},isDeprecated:{type:new ey(e2),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:e1,resolve:function(e){return e.deprecationReason}}}}}),ti=new eP({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new ey(e1),resolve:function(e){return e.name}},description:{type:e1,resolve:function(e){return e.description}},isDeprecated:{type:new ey(e2),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:e1,resolve:function(e){return e.deprecationReason}}}}}),to=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),ta=new eF({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:to.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:to.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."}
92,INTERFACE:{value:to.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:to.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:to.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:to.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:to.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:to.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),ts={name:"__schema",type:new ey(e9),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,r,n){return n.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},tu={name:"__type",type:tt,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new ey(e1),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,r,n){var i=t.name;return n.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},tl={name:"__typename",type:new ey(e1),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,r,n){return n.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},tc=Object.freeze([e9,e7,te,tt,tr,tn,ti,ta]);function td(e){return tc.some(function(t){var r=t.name;return e.name===r})}function tf(e){return(0,S.A)(e,th)}function tp(e){if(!tf(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL directive."));return e}var th=function(){function e(e){this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=(t=e.isRepeatable)&&t,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,e.name||(0,u.A)(0,"Directive must be named."),Array.isArray(e.locations)||(0,u.A)(0,"@".concat(e.name," locations must be an Array."));var t,r,n=null!=(r=e.args)?r:{};(0,T.A)(n)&&!Array.isArray(n)||(0,u.A)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=g(n).map(function(e){var t=e[0],r=e[1];return{name:t,description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions&&O(r.extensions),astNode:r.astNode}})}var t,r=e.prototype;return r.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:ex(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},r.toString=function(){return"@"+this.name},r.toJSON=function(){return this.toString()},t=[{key:b.Kp,get:function(){return"GraphQLDirective"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();(0,P.A)(th);var tm=new th({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[eH.H.FIELD,eH.H.FRAGMENT_SPREAD,eH.H.INLINE_FRAGMENT],args:{if:{type:new ey(e2),description:"Included when true."}}}),ty=new th({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[eH.H.FIELD,eH.H.FRAGMENT_SPREAD,eH.H.INLINE_FRAGMENT],args:{if:{type:new ey(e2),description:"Skipped when true."}}}),tv="No longer supported",tg=new th({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[eH.H.FIELD_DEFINITION,eH.H.ARGUMENT_DEFINITION,eH.H.INPUT_FIELD_DEFINITION,eH.H.ENUM_VALUE],args:{reason:{type:e1,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:tv}}}),tb=new th({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[eH.H.SCALAR],args:{url:{type:new ey(e1),description:"The URL that specifies the behaviour of this scalar."}}}),tE=Object.freeze([tm,ty,tg,tb]);function t_(e){return tE.some(function(t){return t.name===e.name})}function tO(e){return(0,S.A)(e,tS)}function tw(e){if(!tO(e))throw Error("Expected ".concat((0,p.A)(e)," to be a GraphQL schema."));return e}var tS=function(){function e(e){this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,T.A)(e)||(0,u.A)(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,u.A)(0,'"types" must be Array if provided but got: '.concat((0,p.A)(e.types),".")),!e.directives||Array.isArray(e.directives)||
92(0,u.A)(0,'"directives" must be Array if provided but got: '+"".concat((0,p.A)(e.directives),".")),this.description=e.description,this.extensions=e.extensions&&O(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!=(t=e.directives)?t:tE;var t,r=new Set(e.types);if(null!=e.types)for(var n=0,i=e.types;n<i.length;n++){var o=i[n];r.delete(o),tC(o,r)}null!=this._queryType&&tC(this._queryType,r),null!=this._mutationType&&tC(this._mutationType,r),null!=this._subscriptionType&&tC(this._subscriptionType,r);for(var a=0,s=this._directives;a<s.length;a++){var l=s[a];if(tf(l))for(var c=0,d=l.args;c<d.length;c++)tC(d[c].type,r)}tC(e9,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var f=0,h=e$(r);f<h.length;f++){var m=h[f];if(null!=m){var y=m.name;if(y||(0,u.A)(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[y])throw Error('Schema must contain uniquely named types but contains multiple types named "'.concat(y,'".'));if(this._typeMap[y]=m,H(m))for(var v=0,g=m.getInterfaces();v<g.length;v++){var b=g[v];if(H(b)){var E=this._implementationsMap[b.name];void 0===E&&(E=this._implementationsMap[b.name]={objects:[],interfaces:[]}),E.interfaces.push(m)}}else if(z(m))for(var _=0,w=m.getInterfaces();_<w.length;_++){var S=w[_];if(H(S)){var C=this._implementationsMap[S.name];void 0===C&&(C=this._implementationsMap[S.name]={objects:[],interfaces:[]}),C.objects.push(m)}}}}}var t,r=e.prototype;return r.getQueryType=function(){return this._queryType},r.getMutationType=function(){return this._mutationType},r.getSubscriptionType=function(){return this._subscriptionType},r.getTypeMap=function(){return this._typeMap},r.getType=function(e){return this.getTypeMap()[e]},r.getPossibleTypes=function(e){return Y(e)?e.getTypes():this.getImplementations(e).objects},r.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},r.isPossibleType=function(e,t){return this.isSubType(e,t)},r.isSubType=function(e,t){var r=this._subTypeMap[e.name];if(void 0===r){if(r=Object.create(null),Y(e))for(var n=0,i=e.getTypes();n<i.length;n++)r[i[n].name]=!0;else{for(var o=this.getImplementations(e),a=0,s=o.objects;a<s.length;a++)r[s[a].name]=!0;for(var u=0,l=o.interfaces;u<l.length;u++)r[l[u].name]=!0}this._subTypeMap[e.name]=r}return void 0!==r[t.name]},r.getDirectives=function(){return this._directives},r.getDirective=function(e){return d(this.getDirectives(),function(t){return t.name===e})},r.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:f(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!=(e=this.extensionASTNodes)?e:[],assumeValid:void 0!==this.__validationErrors}},t=[{key:b.Kp,get:function(){return"GraphQLSchema"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function tC(e,t){var r=eS(e);if(!t.has(r)){if(t.add(r),Y(r))for(var n=0,i=r.getTypes();n<i.length;n++)tC(i[n],t);else if(z(r)||H(r)){for(var o=0,a=r.getInterfaces();o<a.length;o++)tC(a[o],t);for(var s=0,u=f(r.getFields());s<u.length;s++){var l=u[s];tC(l.type,t);for(var c=0,d=l.args;c<d.length;c++)tC(d[c].type,t)}}else if(Z(r))for(var p=0,h=f(r.getFields());p<h.length;p++)tC(h[p].type,t)}return t}function tT(e){if(tw(e),e.__validationErrors)return e.__validationErrors;var t,r,n,i,o,a,s,u,l=new tP(e);(a=(o=(t=l).schema).getQueryType())?z(a)||t.reportError("Query root type must be Object type, it cannot be ".concat((0,p.A)(a),"."),null!=(r=tA(o,"query"))?r:a.astNode):t.reportError("Query root type must be provided.",o.astNode),(s=o.getMutationType())&&!z(s)&&t.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat((0,p.A)(s),"."),null!=(n=tA(o,"mutation"))?n:s.astNode),(u=o.getSubscriptionType())&&!z(u)&&t.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat((0,p.A)(u),"."),null!=(i=tA(o,"subscription"))?i:u.astNode),function(e){for(var t=0,r=e.schema.getDirectives();t<r.length;t++){var n=r[t];if(!tf(n)){e.reportError("Expected directive but got: ".concat((0,p.A)(n),"."),null==n?void 0:n.astNode);continue}tI(e,n);for(var i=0,o=n.args;i<o.length;i++){var a,s=o[i];tI(e,s),eo(s.type)||e.reportError("The type of @".concat(n.name,"(").concat(s.name,":) must be Input Type ")+"but got: ".concat((0,p.A)(s.type),"."),s.astNode),ej(s)&&null!=s.deprecationReason&&e.reportError("Required argument @".concat(n.name,"(").concat(s.name,":) cannot be deprecated."),[tk(s.astNode),null==(a=s.astNode)?void 0:a.type])}}}(l),function(e){for(var t,r,n,i,o=(t=e,r=Object.create(null),n=[],i=Object.create(null),function e(o){if(!r[o.name]){r[o.name]=!0,i[o.name]=n.length;for(var a=f(o.getFields()),s=0;s<a.length;s++){var u=a[s];if(en(u.type)&&Z(u.type.ofType)){var l=u.type.ofType,c=i[l.name];if(n.push(u),void 0===c)e(l);else{var d=n.slice(c),p=d.map(function(e){return e.name}).join(".");t.reportError('Cannot reference Input Object "'.concat(l.name,'" within itself through a series of non-null fields: "').concat(p,'".'),d.map(function(e){return e.astNode}))}n.pop()}}i[o.name]=void 0}}),a=e.schema.getTypeMap(),s=0,u=f(a);s<u.length;s++){var l=u[s];if(!eO(l)){e.reportError("Expected GraphQL named type but got: ".concat((0,p.A)(l),"."),l.astNode);continue}td(l)||tI(e,l),z(l)||H(l)?(function(e,t){var r=f(t.getFields());0===r.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),tD(t));for(var n=0;n<r.length;n++){var i=r[n];
92tI(e,i),es(i.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name," must be Output Type ")+"but got: ".concat((0,p.A)(i.type),"."),null==(s=i.astNode)?void 0:s.type);for(var o=0,a=i.args;o<a.length;o++){var s,u,l,c=a[o],d=c.name;tI(e,c),eo(c.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name,"(").concat(d,":) must be Input ")+"Type but got: ".concat((0,p.A)(c.type),"."),null==(u=c.astNode)?void 0:u.type),ej(c)&&null!=c.deprecationReason&&e.reportError("Required argument ".concat(t.name,".").concat(i.name,"(").concat(d,":) cannot be deprecated."),[tk(c.astNode),null==(l=c.astNode)?void 0:l.type])}}}(e,l),function(e,t){for(var r=Object.create(null),n=0,i=t.getInterfaces();n<i.length;n++){var o=i[n];if(!H(o)){e.reportError("Type ".concat((0,p.A)(t)," must only implement Interface types, ")+"it cannot implement ".concat((0,p.A)(o),"."),tx(t,o));continue}if(t===o){e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),tx(t,o));continue}if(r[o.name]){e.reportError("Type ".concat(t.name," can only implement ").concat(o.name," once."),tx(t,o));continue}r[o.name]=!0,function(e,t,r){for(var n=t.getInterfaces(),i=0,o=r.getInterfaces();i<o.length;i++){var a=o[i];-1===n.indexOf(a)&&e.reportError(a===t?"Type ".concat(t.name," cannot implement ").concat(r.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(a.name," because it is implemented by ").concat(r.name,"."),[].concat(tx(r,a),tx(t,r)))}}(e,t,o),function(e,t,r){for(var n=t.getFields(),i=0,o=f(r.getFields());i<o.length;i++){var a,s,u=o[i],l=u.name,c=n[l];if(!c){e.reportError("Interface field ".concat(r.name,".").concat(l," expected but ").concat(t.name," does not provide it."),[u.astNode].concat(tD(t)));continue}eQ(e.schema,c.type,u.type)||e.reportError("Interface field ".concat(r.name,".").concat(l," expects type ")+"".concat((0,p.A)(u.type)," but ").concat(t.name,".").concat(l," ")+"is type ".concat((0,p.A)(c.type),"."),[null==(a=u.astNode)?void 0:a.type,null==(s=c.astNode)?void 0:s.type]);for(var h=0,m=u.args;h<m.length;h++)if("continue"===function(n,i){var o,a,s=i[n],u=s.name,f=d(c.args,function(e){return e.name===u});if(!f)return e.reportError("Interface field argument ".concat(r.name,".").concat(l,"(").concat(u,":) expected but ").concat(t.name,".").concat(l," does not provide it."),[s.astNode,c.astNode]),"continue";eG(s.type,f.type)||e.reportError("Interface field argument ".concat(r.name,".").concat(l,"(").concat(u,":) ")+"expects type ".concat((0,p.A)(s.type)," but ")+"".concat(t.name,".").concat(l,"(").concat(u,":) is type ")+"".concat((0,p.A)(f.type),"."),[null==(o=s.astNode)?void 0:o.type,null==(a=f.astNode)?void 0:a.type])}(h,m))continue;for(var y=0,v=c.args;y<v.length;y++)!function(n,i){var o=i[n],a=o.name;!d(u.args,function(e){return e.name===a})&&ej(o)&&e.reportError("Object field ".concat(t.name,".").concat(l," includes required argument ").concat(a," that is missing from the Interface field ").concat(r.name,".").concat(l,"."),[o.astNode,u.astNode])}(y,v)}}(e,t,o)}}(e,l)):Y(l)?function(e,t){var r=t.getTypes();0===r.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),tD(t));for(var n=Object.create(null),i=0;i<r.length;i++){var o=r[i];if(n[o.name]){e.reportError("Union type ".concat(t.name," can only include type ").concat(o.name," once."),tj(t,o.name));continue}n[o.name]=!0,z(o)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat((0,p.A)(o),"."),tj(t,String(o)))}}(e,l):J(l)?function(e,t){var r=t.getValues();0===r.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),tD(t));for(var n=0;n<r.length;n++){var i=r[n],o=i.name;tI(e,i),("true"===o||"false"===o||"null"===o)&&e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(o,"."),i.astNode)}}(e,l):Z(l)&&(function(e,t){var r=f(t.getFields());0===r.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),tD(t));for(var n=0;n<r.length;n++){var i,o,a=r[n];tI(e,a),eo(a.type)||e.reportError("The type of ".concat(t.name,".").concat(a.name," must be Input Type ")+"but got: ".concat((0,p.A)(a.type),"."),null==(i=a.astNode)?void 0:i.type),eB(a)&&null!=a.deprecationReason&&e.reportError("Required input field ".concat(t.name,".").concat(a.name," cannot be deprecated."),[tk(a.astNode),null==(o=a.astNode)?void 0:o.type])}}(e,l),o(l))}}(l);var c=l.getErrors();return e.__validationErrors=c,c}function tR(e){var t=tT(e);if(0!==t.length)throw Error(t.map(function(e){return e.message}).join("\n\n"))}var tP=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var r=Array.isArray(t)?t.filter(Boolean):t;this.addError(new l.e(e,r))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function tA(e,t){for(var r=tN(e,function(e){return e.operationTypes}),n=0;n<r.length;n++){var i=r[n];if(i.operation===t)return i.type}}function tI(e,t){var r=v(t.name);r&&e.addError(h(r,t.astNode))}function tD(e){var t=e.astNode,r=e.extensionASTNodes;return t?r?[t].concat(r):[t]:null!=r?r:[]}function tN(e,t){for(var r=[],n=0,i=tD(e);n<i.length;n++){var o,a=i[n];r=r.concat(null!=(o=t(a))?o:[])}return r}function tx(e,t){return tN(e,function(e){return e.interfaces}).filter(function(e){return e.name.value===t.name})}function tj(e,t){return tN(e,function(e){return e.types}).filter(function(e){return e.name.value===t})}function tk(e){var t;return null==e||null==(t=e.directives)?void 0:t.find(function(e){return e.name.value===tg.n
92ame})}var tM=r(86158);function tL(e,t){var r;return t.kind===k.b.LIST_TYPE?(r=tL(e,t.type))&&new em(r):t.kind===k.b.NON_NULL_TYPE?(r=tL(e,t.type))&&new ey(r):t.kind===k.b.NAMED_TYPE?e.getType(t.name.value):void(0,L.A)(0,"Unexpected type node: "+(0,p.A)(t))}var tF=function(){function e(e,t,r){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=t?t:tV,r&&(eo(r)&&this._inputTypeStack.push(r),ed(r)&&this._parentTypeStack.push(r),es(r)&&this._typeStack.push(r))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case k.b.SELECTION_SET:var r=eS(this.getType());this._parentTypeStack.push(ed(r)?r:void 0);break;case k.b.FIELD:var n,i,o=this.getParentType();o&&(n=this._getFieldDef(t,o,e))&&(i=n.type),this._fieldDefStack.push(n),this._typeStack.push(es(i)?i:void 0);break;case k.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case k.b.OPERATION_DEFINITION:switch(e.operation){case"query":l=t.getQueryType();break;case"mutation":l=t.getMutationType();break;case"subscription":l=t.getSubscriptionType()}this._typeStack.push(z(l)?l:void 0);break;case k.b.INLINE_FRAGMENT:case k.b.FRAGMENT_DEFINITION:var a=e.typeCondition,s=a?tL(t,a):eS(this.getType());this._typeStack.push(es(s)?s:void 0);break;case k.b.VARIABLE_DEFINITION:var u=tL(t,e.type);this._inputTypeStack.push(eo(u)?u:void 0);break;case k.b.ARGUMENT:var l,c,f,p,h=null!=(c=this.getDirective())?c:this.getFieldDef();h&&(f=d(h.args,function(t){return t.name===e.name.value}))&&(p=f.type),this._argument=f,this._defaultValueStack.push(f?f.defaultValue:void 0),this._inputTypeStack.push(eo(p)?p:void 0);break;case k.b.LIST:var m=e_(this.getInputType()),y=et(m)?m.ofType:m;this._defaultValueStack.push(void 0),this._inputTypeStack.push(eo(y)?y:void 0);break;case k.b.OBJECT_FIELD:var v,g,b=eS(this.getInputType());Z(b)&&(g=b.getFields()[e.name.value])&&(v=g.type),this._defaultValueStack.push(g?g.defaultValue:void 0),this._inputTypeStack.push(eo(v)?v:void 0);break;case k.b.ENUM:var E,_=eS(this.getInputType());J(_)&&(E=_.getValue(e.value)),this._enumValue=E}},t.leave=function(e){switch(e.kind){case k.b.SELECTION_SET:this._parentTypeStack.pop();break;case k.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case k.b.DIRECTIVE:this._directive=null;break;case k.b.OPERATION_DEFINITION:case k.b.INLINE_FRAGMENT:case k.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case k.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case k.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case k.b.LIST:case k.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case k.b.ENUM:this._enumValue=null}},e}();function tV(e,t,r){var n=r.name.value;return n===ts.name&&e.getQueryType()===t?ts:n===tu.name&&e.getQueryType()===t?tu:n===tl.name&&ed(t)?tl:z(t)||H(t)?t.getFields()[n]:void 0}function tU(e,t){return{enter:function(r){e.enter(r);var n=(0,c.UY)(t,r.kind,!1);if(n){var i=n.apply(t,arguments);return void 0!==i&&(e.leave(r),(0,tM.Ll)(i)&&e.enter(i)),i}},leave:function(r){var n,i=(0,c.UY)(t,r.kind,!0);return i&&(n=i.apply(t,arguments)),e.leave(r),n}}}var tq=r(93194);function tB(e){return{Document:function(t){for(var r=0,n=t.definitions;r<n.length;r++){var i=n[r];if(!(0,tq._m)(i)){var o=i.kind===k.b.SCHEMA_DEFINITION||i.kind===k.b.SCHEMA_EXTENSION?"schema":'"'+i.name.value+'"';e.reportError(new l.e("The ".concat(o," definition is not executable."),i))}}return!1}}}function tG(e){var t=Object.create(null);return{OperationDefinition:function(r){var n=r.name;return n&&(t[n.value]?e.reportError(new l.e('There can be only one operation named "'.concat(n.value,'".'),[t[n.value],n])
92):t[n.value]=n),!1},FragmentDefinition:function(){return!1}}}function tQ(e){var t=0;return{Document:function(e){t=e.definitions.filter(function(e){return e.kind===k.b.OPERATION_DEFINITION}).length},OperationDefinition:function(r){!r.name&&t>1&&e.reportError(new l.e("This anonymous operation must be the only defined operation.",r))}}}function tz(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new l.e(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}function t$(e){for(var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null),i=0,o=e.getDocument().definitions;i<o.length;i++){var a=o[i];(0,tq.a6)(a)&&(n[a.name.value]=!0)}var s=Object.keys(r).concat(Object.keys(n));return{NamedType:function(t,i,o,a,u){var c=t.name.value;if(!r[c]&&!n[c]){var d,f,p,h=null!=(p=u[2])?p:o,m=null!=h&&!Array.isArray(f=h)&&((0,tq.xu)(f)||(0,tq.fT)(f));if(m&&(d=c,-1!==tH.indexOf(d)))return;var y=N(c,m?tH.concat(s):s);e.reportError(new l.e('Unknown type "'.concat(c,'".')+C(y),t))}}}}var tH=[].concat(e3,tc).map(function(e){return e.name});function tK(e){return{InlineFragment:function(t){var r=t.typeCondition;if(r){var n=tL(e.getSchema(),r);if(n&&!ed(n)){var i=(0,M.y)(r);e.reportError(new l.e('Fragment cannot condition on non composite type "'.concat(i,'".'),r))}}},FragmentDefinition:function(t){var r=tL(e.getSchema(),t.typeCondition);if(r&&!ed(r)){var n=(0,M.y)(t.typeCondition);e.reportError(new l.e('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(n,'".'),t.typeCondition))}}}}function tY(e){return{VariableDefinition:function(t){var r=tL(e.getSchema(),t.type);if(r&&!eo(r)){var n=t.variable.name.value,i=(0,M.y)(t.type);e.reportError(new l.e('Variable "$'.concat(n,'" cannot be non-input type "').concat(i,'".'),t.type))}}}}function tW(e){return{Field:function(t){var r=e.getType(),n=t.selectionSet;if(r){if(el(eS(r))){if(n){var i=t.name.value,o=(0,p.A)(r);e.reportError(new l.e('Field "'.concat(i,'" must not have a selection since type "').concat(o,'" has no subfields.'),n))}}else if(!n){var a=t.name.value,s=(0,p.A)(r);e.reportError(new l.e('Field "'.concat(a,'" of type "').concat(s,'" must have a selection of subfields. Did you mean "').concat(a,' { ... }"?'),t))}}}}}function tJ(e){return{Field:function(t){var r=e.getParentType();if(r&&!e.getFieldDef()){var n,i,o=e.getSchema(),a=t.name.value,s=C("to use an inline fragment on",function(e,t,r){if(!ep(t))return[];for(var n=new Set,i=Object.create(null),o=0,a=e.getPossibleTypes(t);o<a.length;o++){var s=a[o];if(s.getFields()[r]){n.add(s),i[s.name]=1;for(var u=0,l=s.getInterfaces();u<l.length;u++){var c,d=l[u];d.getFields()[r]&&(n.add(d),i[d.name]=(null!=(c=i[d.name])?c:0)+1)}}}return e$(n).sort(function(t,r){var n=i[r.name]-i[t.name];return 0!==n?n:H(t)&&e.isSubType(t,r)?-1:H(r)&&e.isSubType(r,t)?1:A(t.name,r.name)}).map(function(e){return e.name})}(o,r,a));""===s&&(s=C((n=r,i=a,z(n)||H(n)?N(i,Object.keys(n.getFields())):[]))),e.reportError(new l.e('Cannot query field "'.concat(a,'" on type "').concat(r.name,'".')+s,t))}}}}function tX(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(r){var n=r.name.value;return t[n]?e.reportError(new l.e('There can be only one fragment named "'.concat(n,'".'),[t[n],r.name])):t[n]=r.name,!1}}}function tZ(e){return{FragmentSpread:function(t){var r=t.name.value;e.getFragment(r)||e.reportError(new l.e('Unknown fragment "'.concat(r,'".'),t.name))}}}function t0(e){var t=[],r=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return r.push(e),!1},Document:{leave:function(){for(var n=Object.create(null),i=0;i<t.length;i++)for(var o=t[i],a=0,s=e.getRecursivelyReferencedFragments(o);a<s.length;a++)n[s[a].name.value]=!0;for(var u=0;u<r.length;u++){var c=r[u],d=c.name.value;!0!==n[d]&&e.reportError(new l.e('Fragment "'.concat(d,'" is never used.'),c))}}}}}function t1(e){return{InlineFragment:function(t){var r=e.getType(),n=e.getParentType();if(ed(r)&&ed(n)&&!ez(e.getSchema(),r,n)){var i=(0,p.A)(n),o=(0,p.A)(r);e.reportError(new l.e('Fragment cannot be spread here as objects of type "'.concat(i,'" can never be of type "').concat(o,'".'),t))}},FragmentSpread:function(t){var r=t.name.value,n=function(e,t){var r=e.getFragment(t);if(r){var n=tL(e.getSchema(),r.typeCondition);if(ed(n))return n}}(e,r),i=e.getParentType();if(n&&i&&!ez(e.getSchema(),n,i)){var o=(0,p.A)(i),a=(0,p.A)(n);e.reportError(new l.e('Fragment "'.concat(r,'" cannot be spread here as objects of type "').concat(o,'" can never be of type "').concat(a,'".'),t))}}}}function t2(e){var t=Object.create(null),r=[],n=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(i){return function i(o){if(!t[o.name.value]){var a=o.name.value;t[a]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){n[a]=r.length;for(var u=0;u<s.length;u++){var c=s[u],d=c.name.value,f=n[d];if(r.push(c),void 0===f){var p=e.getFragment(d);p&&i(p)}else{var h=r.slice(f),m=h.slice(0,-1).map(function(e){return'"'+e.name.value+'"'}).join(", ");e.reportError(new l.e('Cannot spread fragment "'.concat(d,'" within itself')+(""!==m?" via ".concat(m,"."):"."),h))}r.pop()}n[a]=void 0}}}(i),!1}}}function t5(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(r){var n=r.variable.name.value;t[n]?e.reportError(new l.e('There can be only one variable named "$'.concat(n,'".'),[t[n],r.variable.name])):t[n]=r.variable.name}}}function t3(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(r){for(var n=e.getRecursiveVariableUsages(r),i=0;i<n.length;i++){var o=n[i].node,a=o.name.value;!0!==t[a]&&e.reportError(new l.e(r.name?'Variable "$'.concat(a,'" is not defined by operation "').concat(r.name.value,'".'):'Variable "$'.concat(a,'" is not defined.'),[o,r]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function t4(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(r){for(var n=Object.create(null),i=e.getRecursiveVariableUsages(r),o=0;o<i.length;o++)n[i[o].node.name.value]=!0;for(var a=0,s=t;a<s.length;a++){var u=s[a],c=u.variable.name.value;!0!==n[c]&&e.reportError(new l.e(r.name?'Variable "$'.concat(c,'" is never used in operation "').concat(r.name.value,'".'):'Variable "$'.concat(c,'" is never used.'),u))}}},VariableDefinition:function(e){t.push(e)}}}function t8(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():tE,i=0;i<n.length;i++){var o=n[i];t[o.name]=o.locations}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===k.b.DIRECTIVE_DEFINITION&&(t[u.name.value]=u.locations.map(function(e){return e.value}))}return{Directive:function(r,n,i,o,a){var s=r.name.value,u=t[s];if(!u)return void e.reportError(new l.e('Unknown directive "@'.concat(s,'".'),r));var c=function(e){var t=e[e.length-1];switch(Array.isArray(t)&&(0,L.A)(0),t.kind){case k.b.OPERATION_DEFINITION:var r=t.operation;switch(r){case"query":return eH.H.QUERY;case"mutation":return eH.H.MUTATION;case"subscription":return eH.H.SUBSCRIPTION}(0,L.A)(0,"Unexpected operation: "+(0,p.A)(r));return;case k.b.FIELD:return eH.H.FIELD;case k.b.FRAGMENT_SPREAD:return eH.H.FRAGMENT_SPREAD;case k.b.INLINE_FRAGMENT:return eH.H.INLINE_FRAGMENT;case k.b.FRAGMENT_DEFINITION:return eH.H.FRAGMENT_DEFINITION;case k.b.VARIABLE_DEFINITION:return eH.H.VARIABLE_DEFINITION;case k.b.SCHEMA_DEFINITION:case k.b.SCHEMA_EXTENSION:return eH.H.SCHEMA;case k.b.SCALAR_TYPE_DEFINITION:case k.b.SCALAR_TYPE_EXTENSION:return eH.H.SCALAR;case k.b.OBJECT_TYPE_DEFINITION:case k.b.OBJECT_TYPE_EXTENSION:return eH.H.OBJECT;case k.b.FIELD_DEFINITION:return eH.H.FIELD_DEFINITION;case k.b.INTERFACE_TYPE_DEFINITION:case k.b.INTERFACE_TYPE_EXTENSION:return eH.H.INTERFACE;case k.b.UNION_TYPE_DEFINITION:case k.b.UNION_TYPE_EXTENSION:return eH.H.UNION;case k.b.ENUM_TYPE_DEFINITION:case k.b.ENUM_TYPE_EXTENSION:return eH.H.ENUM;case k.b.ENUM_VALUE_DEFINITION:return eH.H.ENUM_VALUE;case k.b.INPUT_OBJECT_TYPE_DEFINITION:case k.b.INPUT_OBJECT_TYPE_EXTENSION:return eH.H.INPUT_OBJECT;case k.b.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===k.b.INPUT_OBJECT_TYPE_DEFINITION?eH.H.INPUT_FIELD_DEFINITION:eH.H.ARGUMENT_DEFINITION}}(a);c&&-1===u.indexOf(c)&&e.reportError(new l.e('Directive "@'.concat(s,'" may not be used on ').concat(c,"."),r))}}}function t6(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():tE,i=0;i<n.length;i++){var o=n[i];t[o.name]=!o.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===k.b.DIRECTIVE_DEFINITION&&(t[u.name.value]=!u.repeatable)}var c=Object.create(null),d=Object.create(null);
92return{enter:function(r){if(null!=r.directives){if(r.kind===k.b.SCHEMA_DEFINITION||r.kind===k.b.SCHEMA_EXTENSION)n=c;else if((0,tq.a6)(r)||(0,tq.i7)(r)){var n,i=r.name.value;void 0===(n=d[i])&&(d[i]=n=Object.create(null))}else n=Object.create(null);for(var o=0,a=r.directives;o<a.length;o++){var s=a[o],u=s.name.value;t[u]&&(n[u]?e.reportError(new l.e('The directive "@'.concat(u,'" can only be used once at this location.'),[n[u],s])):n[u]=s)}}}}}function t9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t7(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?t9(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t9(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function re(e){return t7(t7({},rt(e)),{},{Argument:function(t){var r=e.getArgument(),n=e.getFieldDef(),i=e.getParentType();if(!r&&n&&i){var o=t.name.value,a=N(o,n.args.map(function(e){return e.name}));e.reportError(new l.e('Unknown argument "'.concat(o,'" on field "').concat(i.name,".").concat(n.name,'".')+C(a),t))}}})}function rt(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():tE,i=0;i<n.length;i++){var o=n[i];t[o.name]=o.args.map(function(e){return e.name})}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];if(u.kind===k.b.DIRECTIVE_DEFINITION){var c,d=null!=(c=u.arguments)?c:[];t[u.name.value]=d.map(function(e){return e.name.value})}}return{Directive:function(r){var n=r.name.value,i=t[n];if(r.arguments&&i)for(var o=0,a=r.arguments;o<a.length;o++){var s=a[o],u=s.name.value;if(-1===i.indexOf(u)){var c=N(u,i);e.reportError(new l.e('Unknown argument "'.concat(u,'" on directive "@').concat(n,'".')+C(c),s))}}return!1}}}function rr(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(r){var n=r.name.value;return t[n]?e.reportError(new l.e('There can be only one argument named "'.concat(n,'".'),[t[n],r.name])):t[n]=r.name,!1}}}function rn(e){return{ListValue:function(t){if(!et(e_(e.getParentInputType())))return ri(e,t),!1},ObjectValue:function(t){var r=eS(e.getInputType());if(!Z(r))return ri(e,t),!1;for(var n=E(t.fields,function(e){return e.name.value}),i=0,o=f(r.getFields());i<o.length;i++){var a=o[i];if(!n[a.name]&&eB(a)){var s=(0,p.A)(a.type);e.reportError(new l.e('Field "'.concat(r.name,".").concat(a.name,'" of required type "').concat(s,'" was not provided.'),t))}}},ObjectField:function(t){var r=eS(e.getParentInputType());if(!e.getInputType()&&Z(r)){var n=N(t.name.value,Object.keys(r.getFields()));e.reportError(new l.e('Field "'.concat(t.name.value,'" is not defined by type "').concat(r.name,'".')+C(n),t))}},NullValue:function(t){var r=e.getInputType();en(r)&&e.reportError(new l.e('Expected value of type "'.concat((0,p.A)(r),'", found ').concat((0,M.y)(t),"."),t))},EnumValue:function(t){return ri(e,t)},IntValue:function(t){return ri(e,t)},FloatValue:function(t){return ri(e,t)},StringValue:function(t){return ri(e,t)},BooleanValue:function(t){return ri(e,t)}}}function ri(e,t){var r=e.getInputType();if(r){var n=eS(r);if(!el(n)){var i=(0,p.A)(r);e.reportError(new l.e('Expected value of type "'.concat(i,'", found ').concat((0,M.y)(t),"."),t));return}try{var o=n.parseLiteral(t,void 0);if(void 0===o){var a=(0,p.A)(r);e.reportError(new l.e('Expected value of type "'.concat(a,'", found ').concat((0,M.y)(t),"."),t))}}catch(n){var s=(0,p.A)(r);n instanceof l.e?e.reportError(n):e.reportError(new l.e('Expected value of type "'.concat(s,'", found ').concat((0,M.y)(t),"; ")+n.message,t,void 0,void 0,void 0,n))}}}function ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ra(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
92t%2?ro(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ro(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function rs(e){return ra(ra({},ru(e)),{},{Field:{leave:function(t){var r,n=e.getFieldDef();if(!n)return!1;for(var i=E(null!=(r=t.arguments)?r:[],function(e){return e.name.value}),o=0,a=n.args;o<a.length;o++){var s=a[o];if(!i[s.name]&&ej(s)){var u=(0,p.A)(s.type);e.reportError(new l.e('Field "'.concat(n.name,'" argument "').concat(s.name,'" of type "').concat(u,'" is required, but it was not provided.'),t))}}}}})}function ru(e){for(var t=Object.create(null),r=e.getSchema(),n=r?r.getDirectives():tE,i=0;i<n.length;i++){var o=n[i];t[o.name]=E(o.args.filter(ej),function(e){return e.name})}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];if(u.kind===k.b.DIRECTIVE_DEFINITION){var c,d=null!=(c=u.arguments)?c:[];t[u.name.value]=E(d.filter(rl),function(e){return e.name.value})}}return{Directive:{leave:function(r){var n=r.name.value,i=t[n];if(i)for(var o,a=E(null!=(o=r.arguments)?o:[],function(e){return e.name.value}),s=0,u=Object.keys(i);s<u.length;s++){var c=u[s];if(!a[c]){var d=i[c].type,f=q(d)?(0,p.A)(d):(0,M.y)(d);e.reportError(new l.e('Directive "@'.concat(n,'" argument "').concat(c,'" of type "').concat(f,'" is required, but it was not provided.'),r))}}}}}}function rl(e){return e.type.kind===k.b.NON_NULL_TYPE&&null==e.defaultValue}function rc(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(r){for(var n=e.getRecursiveVariableUsages(r),i=0;i<n.length;i++){var o=n[i],a=o.node,s=o.type,u=o.defaultValue,c=a.name.value,d=t[c];if(d&&s){var f,h,m,y,v,g=e.getSchema(),b=tL(g,d.type);if(b&&(f=g,h=b,m=d.defaultValue,y=s,v=u,en(y)&&!en(h)?!((null!=m&&m.kind!==k.b.NULL||void 0!==v)&&eQ(f,h,y.ofType)):!eQ(f,h,y))){var E=(0,p.A)(b),_=(0,p.A)(s);e.reportError(new l.e('Variable "$'.concat(c,'" of type "').concat(E,'" used in position expecting type "').concat(_,'".'),[d,a]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function rd(e){var t=new rg,r=new Map;return{SelectionSet:function(n){for(var i=function(e,t,r,n,i){var o=[],a=ry(e,t,n,i),s=a[0],u=a[1];if(function(e,t,r,n,i){for(var o=0,a=g(i);o<a.length;o++){var s=a[o],u=s[0],l=s[1];if(l.length>1)for(var c=0;c<l.length;c++)for(var d=c+1;d<l.length;d++){var f=rm(e,r,n,!1,u,l[c],l[d]);f&&t.push(f)}}}(e,o,t,r,s),0!==u.length)for(var l=0;l<u.length;l++){rf(e,o,t,r,!1,s,u[l]);for(var c=l+1;c<u.length;c++)rp(e,o,t,r,!1,u[l],u[c])}return o}(e,r,t,e.getParentType(),n),o=0;o<i.length;o++){var a=i[o],s=a[0],u=s[0],c=s[1],d=a[1],f=a[2],p=function e(t){return Array.isArray(t)?t.map(function(t){var r=t[0],n=t[1];return'subfields "'.concat(r,'" conflict because ')+e(n)}).join(" and "):t}(c);e.reportError(new l.e('Fields "'.concat(u,'" conflict because ').concat(p,". Use different aliases on the fields to fetch both if this was intentional."),d.concat(f)))}}}}function rf(e,t,r,n,i,o,a){var s=e.getFragment(a);if(s){var u=rv(e,r,s),l=u[0],c=u[1];if(o!==l){rh(e,t,r,n,i,o,l);for(var d=0;d<c.length;d++)rf(e,t,r,n,i,o,c[d])}}}function rp(e,t,r,n,i,o,a){if(!(o===a||n.has(o,a,i))){n.add(o,a,i);var s=e.getFragment(o),u=e.getFragment(a);if(s&&u){var l=rv(e,r,s),c=l[0],d=l[1],f=rv(e,r,u),p=f[0],h=f[1];rh(e,t,r,n,i,c,p);for(var m=0;m<h.length;m++)rp(e,t,r,n,i,o,h[m]);for(var y=0;y<d.length;y++)rp(e,t,r,n,i,d[y],a)}}}function rh(e,t,r,n,i,o,a){for(var s=0,u=Object.keys(o);s<u.length;s++){var l=u[s],c=a[l];if(c)for(var d=o[l],f=0;f<d.length;f++)for(var p=0;p<c.length;p++){var h=rm(e,r,n,i,l,d[f],c[p]);h&&t.push(h)}}}function rm(e,t,r,n,i,o,a){var s=o[0],u=o[1],l=o[2],c=a[0],f=a[1],h=a[2],m=n||s!==c&&z(s)&&z(c);if(!m){var y,v,g,b,E=u.name.value,_=f.name.value;if(E!==_)return[[i,'"'.concat(E,'" and "').concat(_,'" are different fields')],[u],[f]];if(y=null!=(g=u.arguments)?g:[],v=null!=(b=f.arguments)?b:[],!(y.length===v.length&&y.every(function(e){var t,r,n=d(v,function(t){return t.name.value===e.name.value});return!!n&&(t=e.value,r=n.value,(0,M.y)(t)===(0,M.y)(r))})))return[[i,"they have differing arguments"],[u],[f]]}var O=null==l?void 0:l.type,w=null==h?void 0:h.type;if(O&&w&&function e(t,r){return et(t)?!et(r)||e(t.ofType,r.ofType):!!et(r)||(en(t)?!en(r)||e(t.ofType,r.ofType):!!en(r)||!!(el(t)||el(r))&&t!==r)}(O,w))return[[i,'they return conflicting types "'.concat((0,p.A)(O),'" and "').concat((0,p.A)(w),'"')],[u],[f]];var S=u.selectionSet,C=f.selectionSet;if(S&&C){var T=function(e,t,r,n,i,o,a,s){var u=[],l=ry(e,t,i,o),c=l[0],d=l[1],f=ry(e,t,a,s),p=f[0],h=f[1];if(rh(e,u,t,r,n,c,p),0!==h.length)for(var m=0;m<h.length;m++)rf(e,u,t,r,n,c,h[m]);if(0!==d.length)for(var y=0;y<d.length;y++)rf(e,u,t,r,n,p,d[y]);for(var v=0;v<d.length;v++)for(var g=0;g<h.length;g++)rp(e,u,t,r,n,d[v],h[g]);return u}(e,t,r,m,eS(O),S,eS(w),C),R=i,P=u,A=f;return T.length>0?[[R,T.map(function(e){return e[0]})],T.reduce(function(e,t){var r=t[1];return e.concat(r)},[P]),T.reduce(function(e,t){var r=t[2];return e.concat(r)},[A])]:void 0}}function ry(e,t,r,n){var i=t.get(n);if(!i){var o=Object.create(null),a=Object.create(null);(function e(t,r,n,i,o){for(var a=0,s=n.selections;a<s.length;a++){var u=s[a];switch(u.kind){case k.b.FIELD:var l=u.name.value,c=void 0;(z(r)||H(r))&&(c=r.getFields()[l]);var d=u.alias?u.alias.value:l;i[d]||(i[d]=[]),i[d].push([r,u,c]);break;case k.b.FRAGMENT_SPREAD:o[u.name.value]=!0;break;case k.b.INLINE_FRAGMENT:var f=u.typeCondition,p=f?tL(t.getSchema(),f):r;e(t,p,u.selectionSet,i,o)}}})(e,r,n,o,a),i=[o,Object.keys(a)],t.set(n,i)}return i}function rv(e,t,r){var n=t.get(r.selectionSet);if(n)return n;var i=tL(e.getSchema(),r.typeCondition);return ry(e,t,i,r.selectionSet)}var rg=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,r){var n=this._data[e],i=n&&n[t];return void 0!==i&&(!1!==r||!1===i)},t.add=function(e,t,r){this._pairSetAdd(e,t,r),this._pairSetAdd(t,e,r)},t._pairSetAdd=function(e,t,r){var n=this._data[e];n||(n=Object.create(null),this._data[e]=n),n[t]=r},e}();function rb(e){var t=[],r=Object.create(null);return{ObjectValue:{enter:function(){t.push(r),r=Object.create(null)},leave:function(){r=t.pop()}},ObjectField:function(t){var n=t.name.value;r[n]?e.reportError(new l.e('There can be only one input field named "'.concat(n,'".'),[r[n],t.name])):r[n]=t.name}}}function rE(e){var t,r,n,i=e.getSchema(),o=null!=(t=null!=(r=null!=(n=null==i?void 0:i.astNode)?n:null==i?void 0:i.getQueryType())?r:null==i?void 0:i.getMutationType())?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){if(o)return void e.reportError(new l.e("Cannot define a new schema within a schema extension.",t));a>0&&e.reportError(new l.e("Must provide only one schema definition.",t)),++a}}}function r_(e){var t=e.getSchema(),r=Object.create(null),n=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){for(var i,o=null!=(i=t.operationTypes)?i:[],a=0;a<o.length;a++){var s=o[a],u=s.operation,c=r[u];n[u]?e.reportError(new l.e("Type for ".concat(u," already defined in the schema. It cannot be redefined."),s)):c?e.reportError(new l.e("There can be only one ".concat(u," type in schema."),[c,s])):r[u]=s}return!1}}function rO(e){var t=Object.create(null),r=e.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(n){var i=n.name.value;return null!=r&&r.getType(i)?void e.reportError(new l.e('Type "'.concat(i,'" already exists in the schema. It cannot also be defined in this type definition.'),n.name)):(t[i]?e.reportError(new l.e('There can be only one type named "'.concat(i,'".'),[t[i],n.name])):t[i]=n.name,!1)}}function rw(e){var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i,o=t.name.value;n[o]||(n[o]=Object.create(null));for(var a=null!=(i=t.values)?i:[],s=n[o],u=0;u<a.length;u++){var c=a[u],d=c.name.value,f=r[o];J(f)&&f.getValue(d)?e.reportError(new l.e('Enum value "'.concat(o,".").concat(d,'" already exists in the schema. It cannot also be defined in this type extension.'),c.name)):s[d]?e.reportError(new l.e('Enum value "'.concat(o,".").concat(d,'" can only be defined once.'),[s[d],c.name])):s[d]=c.name}return!1}}function rS(e){var t=e.getSchema(),r=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o=t.name.value;n[o]||(n[o]=Object.create(null));for(var a=null!=(i=t.fields)?i:[],s=n[o],u=0;u<a.length;u++){var c,d,f=a[u],p=f.name.value;(c=r[o],d=p,(z(c)||H(c)||Z(c))&&null!=c.getFields()[d])?e.reportError(new l.e('Field "'.concat(o,".").concat(p,'" already exists in the schema. It cannot also be defined in this type extension.'),f.name)):s[p]?e.reportError(new l.e('Field "'.concat(o,".").concat(p,'" can only be defined once.'),[s[p],f.name])):s[p]=f.name}return!1}}function rC(e){var t=Object.create(null),r=e.getSchema();return{DirectiveDefinition:function(n){var i=n.name.value;return null!=r&&r.getDirective(i)?void e.reportError(new l.e('Directive "@'.concat(i,'" already exists in the schema. It cannot be redefined.'),n.name)):(t[i]?e.reportError(new l.e('There can be only one directive named "@'.concat(i,'".'),[t[i],n.name])):t[i]=n.name,!1)}}}function rT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rR(e){for(var t=e.getSchema(),r=Object.create(null),n=0,i=e.getDocument().definitions;n<i.length;n++){var o=i[n];(0,tq.a6)(o)&&(r[o.name.value]=o)}return{ScalarTypeExtension:a,ObjectTypeExtension:a,InterfaceTypeExtension:a,UnionTypeExtension:a,EnumTypeExtension:a,InputObjectTypeExtension:a};function a(n){var i,o,a=n.name.value,s=r[a],u=null==t?void 0:t.getType(a);if(s?o=rP[s.kind]:u&&(o=G(i=u)?k.b.SCALAR_TYPE_EXTENSION:z(i)?k.b.OBJECT_TYPE_EXTENSION:H(i)?k.b.INTERFACE_TYPE_EXTENSION:Y(i)?k.b.UNION_TYPE_EXTENSION:J(i)?k.b.ENUM_TYPE_EXTENSION:Z(i)?k.b.INPUT_OBJECT_TYPE_EXTENSION:void(0,L.A)(0,"Unexpected type: "+(0,p.A)(i))),o){if(o!==n.kind){var c=function(e){switch(e){case k.b.SCALAR_TYPE_EXTENSION:return"scalar";case k.b.OBJECT_TYPE_EXTENSION:return"object";case k.b.INTERFACE_TYPE_EXTENSION:return"interface";case k.b.UNION_TYPE_EXTENSION:return"union";case k.b.ENUM_TYPE_EXTENSION:return"enum";
92case k.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}(0,L.A)(0,"Unexpected kind: "+(0,p.A)(e))}(n.kind);e.reportError(new l.e("Cannot extend non-".concat(c,' type "').concat(a,'".'),s?[s,n]:n))}}else{var d=Object.keys(r);t&&(d=d.concat(Object.keys(t.getTypeMap())));var f=N(a,d);e.reportError(new l.e('Cannot extend type "'.concat(a,'" because it is not defined.')+C(f),n.name))}}}var rP=(rT(n={},k.b.SCALAR_TYPE_DEFINITION,k.b.SCALAR_TYPE_EXTENSION),rT(n,k.b.OBJECT_TYPE_DEFINITION,k.b.OBJECT_TYPE_EXTENSION),rT(n,k.b.INTERFACE_TYPE_DEFINITION,k.b.INTERFACE_TYPE_EXTENSION),rT(n,k.b.UNION_TYPE_DEFINITION,k.b.UNION_TYPE_EXTENSION),rT(n,k.b.ENUM_TYPE_DEFINITION,k.b.ENUM_TYPE_EXTENSION),rT(n,k.b.INPUT_OBJECT_TYPE_DEFINITION,k.b.INPUT_OBJECT_TYPE_EXTENSION),n),rA=Object.freeze([tB,tG,tQ,tz,t$,tK,tY,tW,tJ,tX,tZ,t0,t1,t2,t5,t3,t4,t8,t6,re,rr,rn,rs,rc,rd,rb]),rI=Object.freeze([rE,r_,rO,rw,rS,rC,t$,t8,t6,rR,rt,rr,rb,ru]);function rD(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var rN=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce(function(e,t){return t.kind===k.b.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e},Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var r=[e];0!==r.length;)for(var n=r.pop(),i=0,o=n.selections;i<o.length;i++){var a=o[i];a.kind===k.b.FRAGMENT_SPREAD?t.push(a):a.selectionSet&&r.push(a.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var r=Object.create(null),n=[e.selectionSet];0!==n.length;)for(var i=n.pop(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==r[s]){r[s]=!0;var u=this.getFragment(s);u&&(t.push(u),n.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),rx=function(e){function t(t,r,n){var i;return(i=e.call(this,t,n)||this)._schema=r,i}return rD(t,e),t.prototype.getSchema=function(){return this._schema},t}(rN),rj=function(e){function t(t,r,n,i){var o;return(o=e.call(this,r,i)||this)._schema=t,o._typeInfo=n,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}rD(t,e);var r=t.prototype;return r.getSchema=function(){return this._schema},r.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var r=[],n=new tF(this._schema);(0,c.YR)(e,tU(n,{VariableDefinition:function(){return!1},Variable:function(e){r.push({node:e,type:n.getInputType(),defaultValue:n.getDefaultValue()})}})),t=r,this._variableUsages.set(e,t)}return t},r.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var r=0,n=this.getRecursivelyReferencedFragments(e);r<n.length;r++){var i=n[r];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},r.getType=function(){return this._typeInfo.getType()},r.getParentType=function(){return this._typeInfo.getParentType()},r.getInputType=function(){return this._typeInfo.getInputType()},r.getParentInputType=function(){return this._typeInfo.getParentInputType()},r.getFieldDef=function(){return this._typeInfo.getFieldDef()},r.getDirective=function(){return this._typeInfo.getDirective()},r.getArgument=function(){return this._typeInfo.getArgument()},r.getEnumValue=function(){return this._typeInfo.getEnumValue()},t}(rN);function rk(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rA,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new tF(e),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||(0,u.A)(0,"Must provide document."),tR(e);var o=Object.freeze({}),a=[],s=new rj(e,t,n,function(e){if(null!=i.maxErrors&&a.length>=i.maxErrors)throw a.push(new l.e("Too many validation errors, error limit reached. Validation aborted.")),o;a.push(e)}),d=(0,c.oP)(r.map(function(e){return e(s)}));try{(0,c.YR)(t,tU(n,d))}catch(e){if(e!==o)throw e}return a}function rM(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rI,n=[],i=new rx(e,t,function(e){n.push(e)}),o=r.map(function(e){return e(i)});return(0,c.YR)(e,(0,c.oP)(o)),n}function rL(e,t,r){return{prev:e,key:t,typename:r}}function rF(e){for(var t=[],r=e;r;)t.push(r.key),r=r.prev;return t.reverse()}function rV(e,t){if("query"===t.operation){var r=e.getQueryType();if(!r)throw new l.e("Schema does not define the required query root type.",t);return r}if("mutation"===t.operation){var n=e.getMutationType();if(!n)throw new l.e("Schema is not configured for mutations.",t);return n}if("subscription"===t.operation){var i=e.getSubscriptionType();if(!i)throw new l.e("Schema is not configured for subscriptions.",t);return i}throw new l.e("Can only have query, mutation and subscription operations.",t)}function rU(e){return e.map(function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e}).join("")}function rq(e,t,r){if(e){if(e.kind===k.b.VARIABLE){var n,i=e.name.value;if(null==r||void 0===r[i])return;var o=r[i];if(null===o&&en(t))return;return o}if(en(t)){if(e.kind===k.b.NULL)return;return rq(e,t.ofType,r)}if(e.kind===k.b.NULL)return null;if(et(t)){var a=t.ofType;if(e.kind===k.b.LIST){for(var s=[],u=0,l=e.values;u<l.length;u++){var c=l[u];
92if(rB(c,r)){if(en(a))return;s.push(null)}else{var d=rq(c,a,r);if(void 0===d)return;s.push(d)}}return s}var h=rq(e,a,r);if(void 0===h)return;return[h]}if(Z(t)){if(e.kind!==k.b.OBJECT)return;for(var m=Object.create(null),y=E(e.fields,function(e){return e.name.value}),v=0,g=f(t.getFields());v<g.length;v++){var b=g[v],_=y[b.name];if(!_||rB(_.value,r)){if(void 0!==b.defaultValue)m[b.name]=b.defaultValue;else if(en(b.type))return;continue}var O=rq(_.value,b.type,r);if(void 0===O)return;m[b.name]=O}return m}if(el(t)){try{n=t.parseLiteral(e,r)}catch(e){return}if(void 0===n)return;return n}(0,L.A)(0,"Unexpected input type: "+(0,p.A)(t))}}function rB(e,t){return e.kind===k.b.VARIABLE&&(null==t||void 0===t[e.name.value])}function rG(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rQ;return function e(t,r,n,i){if(en(r))return null!=t?e(t,r.ofType,n,i):void n(rF(i),t,new l.e('Expected non-nullable type "'.concat((0,p.A)(r),'" not to be null.')));if(null==t)return null;if(et(r)){var o,a=r.ofType,s=eW(t,function(t,r){return e(t,a,n,rL(i,r,void 0))});return null!=s?s:[e(t,a,n,i)]}if(Z(r)){if(!(0,T.A)(t))return void n(rF(i),t,new l.e('Expected type "'.concat(r.name,'" to be an object.')));for(var u={},c=r.getFields(),d=0,h=f(c);d<h.length;d++){var m=h[d],y=t[m.name];if(void 0===y){if(void 0!==m.defaultValue)u[m.name]=m.defaultValue;else if(en(m.type)){var v=(0,p.A)(m.type);n(rF(i),t,new l.e('Field "'.concat(m.name,'" of required type "').concat(v,'" was not provided.')))}continue}u[m.name]=e(y,m.type,n,rL(i,m.name,r.name))}for(var g=0,b=Object.keys(t);g<b.length;g++){var E=b[g];if(!c[E]){var _=N(E,Object.keys(r.getFields()));n(rF(i),t,new l.e('Field "'.concat(E,'" is not defined by type "').concat(r.name,'".')+C(_)))}}return u}if(el(r)){try{o=r.parseValue(t)}catch(e){e instanceof l.e?n(rF(i),t,e):n(rF(i),t,new l.e('Expected type "'.concat(r.name,'". ')+e.message,void 0,void 0,void 0,void 0,e));return}return void 0===o&&n(rF(i),t,new l.e('Expected type "'.concat(r.name,'".'))),o}(0,L.A)(0,"Unexpected input type: "+(0,p.A)(r))}(e,t,r)}function rQ(e,t,r){var n="Invalid value "+(0,p.A)(t);throw e.length>0&&(n+=' at "value'.concat(rU(e),'"')),r.message=n+": "+r.message,r}function rz(e,t,r){for(var n,i={},o=E(null!=(n=t.arguments)?n:[],function(e){return e.name.value}),a=0,s=e.args;a<s.length;a++){var u=s[a],c=u.name,d=u.type,f=o[c];if(!f){if(void 0!==u.defaultValue)i[c]=u.defaultValue;else if(en(d))throw new l.e('Argument "'.concat(c,'" of required type "').concat((0,p.A)(d),'" ')+"was not provided.",t);continue}var h=f.value,m=h.kind===k.b.NULL;if(h.kind===k.b.VARIABLE){var y=h.name.value;if(null==r||!rH(r,y)){if(void 0!==u.defaultValue)i[c]=u.defaultValue;else if(en(d))throw new l.e('Argument "'.concat(c,'" of required type "').concat((0,p.A)(d),'" ')+'was provided the variable "$'.concat(y,'" which was not provided a runtime value.'),h);continue}m=null==r[y]}if(m&&en(d))throw new l.e('Argument "'.concat(c,'" of non-null type "').concat((0,p.A)(d),'" ')+"must not be null.",h);var v=rq(h,d,r);if(void 0===v)throw new l.e('Argument "'.concat(c,'" has invalid value ').concat((0,M.y)(h),"."),h);i[c]=v}return i}function r$(e,t,r){var n=t.directives&&d(t.directives,function(t){return t.name.value===e.name});if(n)return rz(e,n,r)}function rH(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function rK(e,t,r,n,i,o,a,s){return 1==arguments.length?rW(e):rW({schema:e,document:t,rootValue:r,contextValue:n,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function rY(e){var t=rW(e);if(a(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function rW(e){var t=e.schema,r=e.document,n=e.rootValue,i=e.contextValue,o=e.variableValues,s=e.operationName,u=e.fieldResolver,l=e.typeResolver;rJ(t,r,o);var c=rX(t,r,n,i,o,s,u,l);if(Array.isArray(c))return{errors:c};var d=function(e,t,r){var n=rV(e.schema,t),i=r0(e,n,t.selectionSet,Object.create(null),Object.create(null)),o=void 0;try{var s,u,l,c,d,f,p,h,m="mutation"===t.operation?(s=e,u=n,l=r,c=o,d=i,f=Object.keys(d),p=function(e,t){var r=d[t],n=rL(c,t,u.name),i=r5(s,u,l,r,n);return void 0===i?e:a(i)?i.then(function(r){return e[t]=r,e}):(e[t]=i,e)},h=Object.create(null),f.reduce(function(e,t){return a(e)?e.then(function(e){return p(e,t)}):p(e,t)},h)):rZ(e,n,r,o,i);if(a(m))return m.then(void 0,function(t){return e.errors.push(t),Promise.resolve(null)});return m}catch(t){return e.errors.push(t),null}}(c,c.operation,n);return function e(t,r){return a(r)?r.then(function(r){return e(t,r)}):0===t.errors.length?{data:r}:{errors:t.errors,data:r}}(c,d)}function rJ(e,t,r){t||(0,u.A)(0,"Must provide document."),tR(e),null==r||(0,T.A)(r)||(0,u.A)(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function rX(e,t,r,n,i,o,a,s){for(var u,c,d,f=Object.create(null),h=0,m=t.definitions;h<m.length;h++){var y=m[h];switch(y.kind){case k.b.OPERATION_DEFINITION:if(null==o){if(void 0!==d)return[new l.e("Must provide operation name if query contains multiple operations.")];d=y}else(null==(u=y.name)?void 0:u.value)===o&&(d=y);break;case k.b.FRAGMENT_DEFINITION:f[y.name.value]=y}}if(!d)return null!=o?[new l.e('Unknown operation named "'.concat(o,'".'))]:[new l.e("Must provide an operation.")];var v=function(e,t,r,n){var i=[],o=null==n?void 0:n.maxErrors;try{var a=function(e,t,r,n){for(var i={},o=0;o<t.length;o++)if("continue"===function(o){var a=t[o],s=a.variable.name.value,u=tL(e,a.type);if(!eo(u)){var c=(0,M.y)(a.type);return n(new l.e('Variable "$'.concat(s,'" expected value of type "').concat(c,'" which cannot be used as an input type.'),a.type)),"continue"}if(!rH(r,s)){if(a.defaultValue)i[s]=rq(a.defaultValue,u);else if(en(u)){var d=(0,p.A)(u);n(new l.e('Variable "$'.concat(s,'" of required type "').concat(d,'" was not provided.'),a))}return"continue"}var f=r[s];if(null===f&&en(u)){var h=(0,p.A)(u);return n(new l.e('Variable "$'.concat(s,'" of non-null type "').concat(h,'" must not be null.'),a)),"continue"}i[s]=rG(f,u,function(e,t,r){var i='Variable "$'.concat(s,'" got invalid value ')+(0,p.A)(t);e.length>0&&(i+=' at "'.concat(s).concat(rU(e),'"')),n(new l.e(i+"; "+r.message,a,void 0,void 0,void 0,r.originalError))})}(o))continue;return i}(e,t,r,function(e){if(null!=o&&i.length>=o)throw new l.e("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:a}}catch(e){i.push(e)}return{errors:i}}(e,null!=(c=d.variableDefinitions)?c:[],null!=i?i:{},{maxErrors:50});return v.errors?v.errors:{schema:e,fragments:f,rootValue:r,contextValue:n,operation:d,variableValues:v.coerced,fieldResolver:null!=a?a:nn,typeResolver:null!=s?s:nr,errors:[]}}function rZ(e,t,r,n,i){for(var o,s=Object.create(null),u=!1,l=0,c=Object.keys(i);l<c.length;l++){var d=c[l],f=i[d],p=rL(n,d,t.name),h=r5(e,t,r,f,p);void 0!==h&&(s[d]=h,a(h)&&(u=!0))}return u?Promise.all((o=Object.keys(s)).map(function(e){return s[e]})).then(function(e){return e.reduce(function(e,t,r){return e[o[r]]=t,e},Object.create(null))}):s}function r0(e,t,r,n,i){for(var o=0,a=r.selections;o<a.length;o++){var s=a[o];
92switch(s.kind){case k.b.FIELD:if(!r1(e,s))continue;var u,l=(u=s).alias?u.alias.value:u.name.value;n[l]||(n[l]=[]),n[l].push(s);break;case k.b.INLINE_FRAGMENT:if(!r1(e,s)||!r2(e,s,t))continue;r0(e,t,s.selectionSet,n,i);break;case k.b.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!r1(e,s))continue;i[c]=!0;var d=e.fragments[c];if(!d||!r2(e,d,t))continue;r0(e,t,d.selectionSet,n,i)}}return n}function r1(e,t){var r=r$(ty,t,e.variableValues);if((null==r?void 0:r.if)===!0)return!1;var n=r$(tm,t,e.variableValues);return(null==n?void 0:n.if)!==!1}function r2(e,t,r){var n=t.typeCondition;if(!n)return!0;var i=tL(e.schema,n);return i===r||!!ep(i)&&e.schema.isSubType(i,r)}function r5(e,t,r,n,i){var o=n[0].name.value,s=ni(e.schema,t,o);if(s){var u=s.type,l=null!=(d=s.resolve)?d:e.fieldResolver,c=r3(e,s,n,t,i);try{var d,f,p=rz(s,n[0],e.variableValues),m=e.contextValue,y=l(r,p,m,c);if(f=a(y)?y.then(function(t){return r8(e,u,n,c,i,t)}):r8(e,u,n,c,i,y),a(f))return f.then(void 0,function(t){var r=h(t,n,rF(i));return r4(r,u,e)});return f}catch(t){return r4(h(t,n,rF(i)),u,e)}}}function r3(e,t,r,n,i){return{fieldName:t.name,fieldNodes:r,returnType:t.type,parentType:n,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function r4(e,t,r){if(en(t))throw e;return r.errors.push(e),null}function r8(e,t,r,n,i,o){if(o instanceof Error)throw o;if(en(t)){var s,u,c,d,f,m,y,v,g=r8(e,t.ofType,r,n,i,o);if(null===g)throw Error("Cannot return null for non-nullable field ".concat(n.parentType.name,".").concat(n.fieldName,"."));return g}return null==o?null:et(t)?function(e,t,r,n,i,o){var s=t.ofType,u=!1,c=eW(o,function(t,o){var l,c=rL(i,o,void 0);try{if(l=a(t)?t.then(function(t){return r8(e,s,r,n,c,t)}):r8(e,s,r,n,c,t),a(l))return u=!0,l.then(void 0,function(t){var n=h(t,r,rF(c));return r4(n,s,e)});return l}catch(t){return r4(h(t,r,rF(c)),s,e)}});if(null==c)throw new l.e('Expected Iterable, but did not find one for field "'.concat(n.parentType.name,".").concat(n.fieldName,'".'));return u?Promise.all(c):c}(e,t,r,n,i,o):el(t)?function(e,t){var r=e.serialize(t);if(void 0===r)throw Error('Expected a value of type "'.concat((0,p.A)(e),'" but ')+"received: ".concat((0,p.A)(t)));return r}(t,o):ep(t)?(s=e,u=t,c=r,d=n,f=i,m=o,a(v=(null!=(y=u.resolveType)?y:s.typeResolver)(m,s.contextValue,d,u))?v.then(function(e){return r9(s,r6(e,s,u,c,d,m),c,d,f,m)}):r9(s,r6(v,s,u,c,d,m),c,d,f,m)):z(t)?r9(e,t,r,n,i,o):void(0,L.A)(0,"Cannot complete value of unexpected output type: "+(0,p.A)(t))}function r6(e,t,r,n,i,o){if(null==e)throw new l.e('Abstract type "'.concat(r.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'". Either the "').concat(r.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),n);var a=eO(e)?e.name:e;if("string"!=typeof a)throw new l.e('Abstract type "'.concat(r.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'" with ')+"value ".concat((0,p.A)(o),', received "').concat((0,p.A)(e),'".'));var s=t.schema.getType(a);if(null==s)throw new l.e('Abstract type "'.concat(r.name,'" was resolve to a type "').concat(a,'" that does not exist inside schema.'),n);if(!z(s))throw new l.e('Abstract type "'.concat(r.name,'" was resolve to a non-object type "').concat(a,'".'),n);if(!t.schema.isSubType(r,s))throw new l.e('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(r.name,'".'),n);return s}function r9(e,t,r,n,i,o){if(t.isTypeOf){var s=t.isTypeOf(o,e.contextValue,n);if(a(s))return s.then(function(n){if(!n)throw r7(t,o,r);return ne(e,t,r,i,o)});if(!s)throw r7(t,o,r)}return ne(e,t,r,i,o)}function r7(e,t,r){return new l.e('Expected value of type "'.concat(e.name,'" but got: ').concat((0,p.A)(t),"."),r)}function ne(e,t,r,n,i){var o=nt(e,t,r);return rZ(e,t,i,n,o)}var nt=function(e){var t;return function(r,n,i){t||(t=new WeakMap);var o,a=t.get(r);if(a){if(o=a.get(n)){var s=o.get(i);if(void 0!==s)return s}}else a=new WeakMap,t.set(r,a);o||(o=new WeakMap,a.set(n,o));var u=e(r,n,i);return o.set(i,u),u}}(function(e,t,r){for(var n=Object.create(null),i=Object.create(null),o=0;o<r.length;o++){var a=r[o];a.selectionSet&&(n=r0(e,t,a.selectionSet,n,i))}return n}),nr=function(e,t,r,n){if((0,T.A)(e)&&"string"==typeof e.__typename)return e.__typename;for(var i=r.schema.getPossibleTypes(n),o=[],s=0;s<i.length;s++){var u=i[s];if(u.isTypeOf){var l=u.isTypeOf(e,t,r);if(a(l))o[s]=l;else if(l)return u.name}}if(o.length)return Promise.all(o).then(function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t].name})},nn=function(e,t,r,n){if((0,T.A)(e)||"function"==typeof e){var i=e[n.fieldName];return"function"==typeof i?e[n.fieldName](t,r,n):i}};function ni(e,t,r){return r===ts.name&&e.getQueryType()===t?ts:r===tu.name&&e.getQueryType()===t?tu:r===tl.name?tl:t.getFields()[r]}function no(e,t,r,n,i,o,a,s){var u=arguments;return new Promise(function(l){return l(1===u.length?ns(e):ns({schema:e,source:t,rootValue:r,contextValue:n,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))})}function na(e,t,r,n,i,o,s,u){var l=1==arguments.length?ns(e):ns({schema:e,source:t,rootValue:r,contextValue:n,variableValues:i,operationName:o,fieldResolver:s,typeResolver:u});if(a(l))throw Error("GraphQL execution failed to complete synchronously.");return l}function ns(e){var t,r=e.schema,n=e.source,i=e.rootValue,o=e.contextValue,a=e.variableValues,u=e.operationName,l=e.fieldResolver,c=e.typeResolver,d=tT(r);if(d.length>0)return{errors:d};try{t=(0,s.qg)(n)}catch(e){return{errors:[e]}}var f=rk(r,t);return f.length>0?{errors:f}
92:rK({schema:r,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:u,fieldResolver:l,typeResolver:c})}var nu=r(26515),nl=r(37565),nc=r(88082),nd=r(61080),nf=r(96175);function np(e){return"function"==typeof(null==e?void 0:e[b.$r])}function nh(e,t){return new Promise(function(r){return r(t(e))})}function nm(e){return{value:e,done:!1}}function ny(e,t,r,n,i,o,a,s){return 1==arguments.length?ng(e):ng({schema:e,document:t,rootValue:r,contextValue:n,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function nv(e){if(e instanceof l.e)return{errors:[e]};throw e}function ng(e){var t=e.schema,r=e.document,n=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,u=nb(t,r,n,i,o,a,e.subscribeFieldResolver),l=function(e){return rK({schema:t,document:r,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return u.then(function(e){return np(e)?function(e,t,r){var n,i,o,a,s,u,l=e[b.$r].call(e);function c(e){return e.done?e:nh(e.value,t).then(nm,i)}return"function"==typeof l.return&&(n=l.return,i=function(e){var t=function(){return Promise.reject(e)};return n.call(l).then(t,t)}),r&&(o=function(e){return nh(e,r).then(nm,i)}),a={next:function(){return l.next().then(c,o)},return:function(){return n?n.call(l).then(c,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof l.throw?l.throw(e).then(c,o):Promise.reject(e).catch(i)}},s=b.$r,u=function(){return this},s in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a}(e,l,nv):e})}function nb(e,t,r,n,i,o,a){return rJ(e,t,i),new Promise(function(s){var u=rX(e,t,r,n,i,o,a);s(Array.isArray(u)?{errors:u}:function(e){var t=e.schema,r=e.operation,n=e.variableValues,i=e.rootValue,o=rV(t,r),a=r0(e,o,r.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(a)[0],u=a[s],c=u[0].name.value,d=ni(t,o,c);if(!d)throw new l.e('The subscription field "'.concat(c,'" is not defined.'),u);var f=rL(void 0,s,o.name),m=r3(e,d,u,o,f);return new Promise(function(t){var r,o=rz(d,u[0],n),a=e.contextValue;t((null!=(r=d.subscribe)?r:e.fieldResolver)(i,o,a,m))}).then(function(e){if(e instanceof Error)throw h(e,u,rF(f));if(!np(e))throw Error("Subscription field must return Async Iterable. "+"Received: ".concat((0,p.A)(e),"."));return e},function(e){throw h(e,u,rF(f))})}(u))}).catch(nv)}function nE(e){return{Field:function(t){var r=e.getFieldDef(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var i=e.getParentType();null!=i||(0,L.A)(0),e.reportError(new l.e("The field ".concat(i.name,".").concat(r.name," is deprecated. ").concat(n),t))}},Argument:function(t){var r=e.getArgument(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var i=e.getDirective();if(null!=i)e.reportError(new l.e('Directive "@'.concat(i.name,'" argument "').concat(r.name,'" is deprecated. ').concat(n),t));else{var o=e.getParentType(),a=e.getFieldDef();null!=o&&null!=a||(0,L.A)(0),e.reportError(new l.e('Field "'.concat(o.name,".").concat(a.name,'" argument "').concat(r.name,'" is deprecated. ').concat(n),t))}}},ObjectField:function(t){var r=eS(e.getParentInputType());if(Z(r)){var n=r.getFields()[t.name.value],i=null==n?void 0:n.deprecationReason;null!=i&&e.reportError(new l.e("The input field ".concat(r.name,".").concat(n.name," is deprecated. ").concat(i),t))}},EnumValue:function(t){var r=e.getEnumValue(),n=null==r?void 0:r.deprecationReason;if(r&&null!=n){var i=eS(e.getInputType());null!=i||(0,L.A)(0),e.reportError(new l.e('The enum value "'.concat(i.name,".").concat(r.name,'" is deprecated. ').concat(n),t))}}}}function n_(e){return{Field:function(t){var r=eS(e.getType());r&&td(r)&&e.reportError(new l.e('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}function nO(e){e||(0,u.A)(0,"Received null or undefined error.");var t,r=null!=(t=e.message)?t:"An unknown error occurred.",n=e.locations,i=e.path,o=e.extensions;return o&&Object.keys(o).length>0?{message:r,locations:n,path:i,extensions:o}:{message:r,locations:n,path:i}}var nw=r(45075);function nS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nC(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
92t%2?nS(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nS(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),r=t.descriptions?"description":"",n=t.specifiedByUrl?"specifiedByUrl":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?r:"";function a(e){return t.inputValueDeprecation?e:""}return"\n    query IntrospectionQuery {\n      __schema {\n        ".concat(o,"\n        queryType { name }\n        mutationType { name }\n        subscriptionType { name }\n        types {\n          ...FullType\n        }\n        directives {\n          name\n          ").concat(r,"\n          ").concat(i,"\n          locations\n          args").concat(a("(includeDeprecated: true)")," {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      ").concat(r,"\n      ").concat(n,"\n      fields(includeDeprecated: true) {\n        name\n        ").concat(r,"\n        args").concat(a("(includeDeprecated: true)")," {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields").concat(a("(includeDeprecated: true)")," {\n        ...InputValue\n      }\n      interfaces {\n        ...TypeRef\n      }\n      enumValues(includeDeprecated: true) {\n        name\n        ").concat(r,"\n        isDeprecated\n        deprecationReason\n      }\n      possibleTypes {\n        ...TypeRef\n      }\n    }\n\n    fragment InputValue on __InputValue {\n      name\n      ").concat(r,"\n      type { ...TypeRef }\n      defaultValue\n      ").concat(a("isDeprecated"),"\n      ").concat(a("deprecationReason"),"\n    }\n\n    fragment TypeRef on __Type {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                  ofType {\n                    kind\n                    name\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  ")}function nT(e,t){for(var r=null,n=0,i=e.definitions;n<i.length;n++){var o,a=i[n];if(a.kind===k.b.OPERATION_DEFINITION){if(null==t){if(r)return null;r=a}else if((null==(o=a.name)?void 0:o.value)===t)return a}}return r}function nR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nP(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nR(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nR(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),n=rY({schema:e,document:(0,s.qg)(nC(r))});return!n.errors&&n.data||(0,L.A)(0),n.data}function nA(e,t){(0,T.A)(e)&&(0,T.A)(e.__schema)||(0,u.A)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat((0,p.A)(e),"."));for(var r=e.__schema,n=w(r.types,function(e){return e.name},function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case to.SCALAR:return new eR({name:(t=e).name,description:t.description,specifiedByUrl:t.specifiedByUrl});case to.OBJECT:return new eP({name:(r=e).name,description:r.description,interfaces:function(){return b(r)},fields:function(){return E(r)}});case to.INTERFACE:return new ek({name:(n=e).name,description:n.description,interfaces:function(){return b(n)},fields:function(){return E(n)}});case to.UNION:var t,r,n,i=e;if(!i.possibleTypes){var o=(0,p.A)(i);throw Error("Introspection result missing possibleTypes: ".concat(o,"."))}return new eM({name:i.name,description:i.description,types:function(){return i.possibleTypes.map(v)}});case to.ENUM:var a=e;if(!a.enumValues){var s=(0,p.A)(a);throw Error("Introspection result missing enumValues: ".concat(s,"."))}return new eF({name:a.name,description:a.description,values:w(a.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})});case to.INPUT_OBJECT:var u=e;if(!u.inputFields){var l=(0,p.A)(u);throw Error("Introspection result missing inputFields: ".concat(l,"."))}return new eU({name:u.name,description:u.description,fields:function(){return O(u.inputFields)}})}var c=(0,p.A)(e);throw Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(c,"."))}(e)}),i=0,o=[].concat(e3,tc);i<o.length;i++){var a=o[i];n[a.name]&&(n[a.name]=a)}var l=r.queryType?v(r.queryType):null,c=r.mutationType?v(r.mutationType):null,d=r.subscriptionType?v(r.subscriptionType):null,h=r.directives?r.directives.map(function(e){if(!e.args){var t=(0,p.A)(e);throw Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var r=(0,p.A)(e);throw Error("Introspection result missing directive locations: ".concat(r,"."))}return new th({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:O(e.args)})}):[];return new tS({description:r.description,query:l,mutation:c,subscription:d,types:f(n),directives:h,assumeValid:null==t?void 0:t.assumeValid});function m(e){if(e.kind===to.LIST){var t=e.ofType;
92if(!t)throw Error("Decorated type deeper than introspection query.");return new em(m(t))}if(e.kind===to.NON_NULL){var r=e.ofType;if(!r)throw Error("Decorated type deeper than introspection query.");return new ey(eE(m(r)))}return y(e)}function y(e){var t=e.name;if(!t)throw Error("Unknown type reference: ".concat((0,p.A)(e),"."));var r=n[t];if(!r)throw Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return r}function v(e){return $(y(e))}function g(e){return K(y(e))}function b(e){if(null===e.interfaces&&e.kind===to.INTERFACE)return[];if(!e.interfaces){var t=(0,p.A)(e);throw Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(g)}function E(e){if(!e.fields)throw Error("Introspection result missing fields: ".concat((0,p.A)(e),"."));return w(e.fields,function(e){return e.name},_)}function _(e){var t=m(e.type);if(!es(t)){var r=(0,p.A)(t);throw Error("Introspection must provide output type for fields, but received: ".concat(r,"."))}if(!e.args){var n=(0,p.A)(e);throw Error("Introspection result missing field args: ".concat(n,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:O(e.args)}}function O(e){return w(e,function(e){return e.name},S)}function S(e){var t=m(e.type);if(!eo(t)){var r=(0,p.A)(t);throw Error("Introspection must provide input type for arguments, but received: ".concat(r,"."))}var n=null!=e.defaultValue?rq((0,s.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}var nI=r(47518);function nD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nN(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nD(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nD(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function nx(e,t,r){tw(e),null!=t&&t.kind===k.b.DOCUMENT||(0,u.A)(0,"Must provide valid Document AST."),(null==r?void 0:r.assumeValid)!==!0&&(null==r?void 0:r.assumeValidSDL)!==!0&&function(e,t){var r=rM(e,t);if(0!==r.length)throw Error(r.map(function(e){return e.message}).join("\n\n"))}(t,e);var n=e.toConfig(),i=nj(n,t,r);return n===i?e:new tS(i)}function nj(e,t,r){for(var n=[],i=Object.create(null),o=[],a=[],s=0,u=t.definitions;s<u.length;s++){var l=u[s];if(l.kind===k.b.SCHEMA_DEFINITION)C=l;else if(l.kind===k.b.SCHEMA_EXTENSION)a.push(l);else if((0,tq.a6)(l))n.push(l);else if((0,tq.i7)(l)){var c=l.name.value,d=i[c];i[c]=d?d.concat([l]):[l]}else l.kind===k.b.DIRECTIVE_DEFINITION&&o.push(l)}if(0===Object.keys(i).length&&0===n.length&&0===o.length&&0===a.length&&null==C)return e;for(var h=Object.create(null),m=0,y=e.types;m<y.length;m++){var v,g=y[m];h[g.name]=td(v=g)||e4(v)?v:G(v)?function(e){for(var t,r,n=e.toConfig(),o=null!=(t=i[n.name])?t:[],a=n.specifiedByUrl,s=0;s<o.length;s++)a=null!=(r=nL(o[s]))?r:a;return new eR(nN(nN({},n),{},{specifiedByUrl:a,extensionASTNodes:n.extensionASTNodes.concat(o)}))}(v):z(v)?function(e){var t,r=e.toConfig(),n=null!=(t=i[r.name])?t:[];return new eP(nN(nN({},r),{},{interfaces:function(){return[].concat(e.getInterfaces().map(D),Q(n))},fields:function(){return nN(nN({},_(r.fields,N)),V(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(v):H(v)?function(e){var t,r=e.toConfig(),n=null!=(t=i[r.name])?t:[];return new ek(nN(nN({},r),{},{interfaces:function(){return[].concat(e.getInterfaces().map(D),Q(n))},fields:function(){return nN(nN({},_(r.fields,N)),V(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(v):Y(v)?function(e){var t,r=e.toConfig(),n=null!=(t=i[r.name])?t:[];return new eM(nN(nN({},r),{},{types:function(){return[].concat(e.getTypes().map(D),$(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(v):J(v)?function(e){var t,r=e.toConfig(),n=null!=(t=i[e.name])?t:[];return new eF(nN(nN({},r),{},{values:nN(nN({},r.values),B(n)),extensionASTNodes:r.extensionASTNodes.concat(n)}))}(v):Z(v)?function(e){var t,r=e.toConfig(),n=null!=(t=i[r.name])?t:[];return new eU(nN(nN({},r),{},{fields:function(){return nN(nN({},_(r.fields,function(e){return nN(nN({},e),{},{type:I(e.type)})})),q(n))},extensionASTNodes:r.extensionASTNodes.concat(n)}))}(v):void(0,L.A)(0,"Unexpected type: "+(0,p.A)(v))}for(var b=0;b<n.length;b++){var E,O,w,S,C,T,R=n[b],P=R.name.value;h[P]=null!=(T=nk[P])?T:function(e){var t,n=e.name.value,o=nF(e,r),a=null!=(t=i[n])?t:[];switch(e.kind){case k.b.OBJECT_TYPE_DEFINITION:var s=[e].concat(a);return new eP({name:n,description:o,interfaces:function(){return Q(s)},fields:function(){return V(s)},astNode:e,extensionASTNodes:a});case k.b.INTERFACE_TYPE_DEFINITION:var u=[e].concat(a);return new ek({name:n,description:o,interfaces:function(){return Q(u)},fields:function(){return V(u)},astNode:e,extensionASTNodes:a});case k.b.ENUM_TYPE_DEFINITION:return new eF({name:n,description:o,values:B([e].concat(a)),astNode:e,extensionASTNodes:a});case k.b.UNION_TYPE_DEFINITION:var l=[e].concat(a);return new eM({name:n,description:o,types:function(){return $(l)},astNode:e,extensionASTNodes:a});case k.b.SCALAR_TYPE_DEFINITION:return new eR({name:n,description:o,specifiedByUrl:nL(e),astNode:e,extensionASTNodes:a});case k.b.INPUT_OBJECT_TYPE_DEFINITION:var c=[e].concat(a);return new eU({name:n,description:o,fields:function(){return q(c)},astNode:e,extensionASTNodes:a})}(0,L.A)(0,"Unexpected type definition node: "+(0,p.A)(e))}(R)}var A=nN(nN({query:e.query&&D(e.query),mutation:e.mutation&&D(e.mutation),subscription:e.subscription&&D(e.subscription)},C&&j([C])),j(a));return nN(nN({description:null==(E=C)||null==(O=E.description)?void 0:O.value},A),{},{types:f(h),directives:[].concat(e.directives.map(function(e){var t=e.toConfig();return new th(nN(nN({},t),{},{args:_(t.args,x)}))}),o.map(function(e){var t=e.locations.map(function(e){return e.value});return new th({name:e.name.value,description:nF(e,r),locations:t,isRepeatable:e.repeatable,args:U(e.arguments),astNode:e})})),extensions:void 0,astNode:null!=(w=C)?w:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(a),assumeValid:null!=(S=null==r?void 0:r.assumeValid)&&S});function I(e){return et(e)?new em(I(e.ofType)):en(e)?new ey(I(e.ofType)):D(e)}function D(e){return h[e.name]}function N(e){return nN(nN({},e),{},{type:I(e.type),args:_(e.args,x)})}function x(e){return nN(nN({},e),{},{type:I(e.type)})}function j(e){for(var t={},r=0;r<e.length;r++)for(var n,i=null!=(n=e[r].operationTypes)?n:[],o=0;o<i.length;o++){var a=i[o];t[a.operation]=M(a.type)}return t}function M(e){var t,r=e.name.value,n=null!=(t=nk[r])?t:h[r];if(void 0===n)throw Error('Unknown type: "'.concat(r,'".'));return n}function F(e){return e.kind===k.b.LIST_TYPE?new em(F(e.type)):e.kind===k.b.NON_NULL_TYPE?new ey(F(e.type)):M(e)}function V(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var i,o=null!=(i=e[n].fields)?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={type:F(s.type),description:nF(s,r),args:U(s.arguments),deprecationReason:nM(s),astNode:s}}return t}function U(e){for(var t=null!=e?e:[],n=Object.create(null),i=0;i<t.length;i++){var o=t[i],a=F(o.type);n[o.name.value]={type:a,description:nF(o,r),defaultValue:rq(o.defaultValue,a),deprecationReason:nM(o),astNode:o}}return n}function q(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var i,o=null!=(i=e[n].fields)?i:[],a=0;a<o.length;a++){var s=o[a],u=F(s.type);t[s.name.value]={type:u,description:nF(s,r),defaultValue:rq(s.defaultValue,u),deprecationReason:nM(s),astNode:s}}return t}function B(e){for(var t=Object.create(null),n=0;n<e.length;n++)for(var i,o=null!=(i=e[n].values)?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={description:nF(s,r),deprecationReason:nM(s),astNode:s}}return t}function Q(e){for(var t=[],r=0;r<e.length;r++)for(var n,i=null!=(n=e[r].interfaces)?n:[],o=0;o<i.length;o++){var a=i[o];t.push(M(a))}return t}function $(e){for(var t=[],r=0;r<e.length;r++)for(var n,i=null!=(n=e[r].types)?n:[],o=0;o<i.length;o++){var a=i[o];t.push(M(a))}return t}}var nk=E(e3.concat(tc),function(e){return e.name});function nM(e){var t=r$(tg,e);return null==t?void 0:t.reason}function nL(e){var t=r$(tb,e);return null==t?void 0:t.url}function nF(e,t){if(e.description)return e.description.value;if((null==t?void 0:t.commentDescriptions)===!0){var r=function(e){var t=e.loc;if(t){for(var r=[],n=t.startToken.prev;null!=n&&n.kind===nf.Y.COMMENT&&n.next&&n.prev&&n.line+1===n.next.line&&n.line!==n.prev.line;){var i=String(n.value);r.push(i),n=n.prev}return r.length>0?r.reverse().join("\n"):void 0}}(e);if(void 0!==r)return(0,nI.i$)("\n"+r)}}function nV(e,t){null!=e&&e.kind===k.b.DOCUMENT||(0,u.A)(0,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e){var t=rM(e);if(0!==t.length)throw Error(t.map(function(e){return e.message}).join("\n\n"))}(e);var r=nj({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==r.astNode)for(var n=0,i=r.types;n<i.length;n++){var o=i[n];switch(o.name){case"Query":r.query=o;break;case"Mutation":r.mutation=o;break;case"Subscription":r.subscription=o}}for(var a=r.directives,s=0;s<tE.length;s++)!function(e){var t=tE[e];a.every(function(e){return e.name!==t.name})&&a.push(t)}(s);return new tS(r)}function nU(e,t){return nV((0,s.qg)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}
92),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function nq(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nB(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nq(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nq(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function nG(e){var t,r,n,i=e.toConfig(),o=w(nz(i.types),function(e){return e.name},function(e){if(G(e)||td(e))return e;if(z(e)){var t=e.toConfig();return new eP(nB(nB({},t),{},{interfaces:function(){return c(t.interfaces)},fields:function(){return l(t.fields)}}))}if(H(e)){var r=e.toConfig();return new ek(nB(nB({},r),{},{interfaces:function(){return c(r.interfaces)},fields:function(){return l(r.fields)}}))}if(Y(e)){var n=e.toConfig();return new eM(nB(nB({},n),{},{types:function(){return c(n.types)}}))}if(J(e)){var i=e.toConfig();return new eF(nB(nB({},i),{},{values:nQ(i.values)}))}if(Z(e)){var o=e.toConfig();return new eU(nB(nB({},o),{},{fields:function(){return nQ(o.fields,function(e){return nB(nB({},e),{},{type:a(e.type)})})}}))}(0,L.A)(0,"Unexpected type: "+(0,p.A)(e))});return new tS(nB(nB({},i),{},{types:f(o),directives:nz(i.directives).map(function(e){var t=e.toConfig();return new th(nB(nB({},t),{},{locations:n$(t.locations,function(e){return e}),args:u(t.args)}))}),query:(t=i.query)&&s(t),mutation:(r=i.mutation)&&s(r),subscription:(n=i.subscription)&&s(n)}));function a(e){return et(e)?new em(a(e.ofType)):en(e)?new ey(a(e.ofType)):s(e)}function s(e){return o[e.name]}function u(e){return nQ(e,function(e){return nB(nB({},e),{},{type:a(e.type)})})}function l(e){return nQ(e,function(e){return nB(nB({},e),{},{type:a(e.type),args:u(e.args)})})}function c(e){return nz(e).map(s)}}function nQ(e,t){for(var r=Object.create(null),n=n$(Object.keys(e),function(e){return e}),i=0;i<n.length;i++){var o=n[i],a=e[o];r[o]=t?t(a):a}return r}function nz(e){return n$(e,function(e){return e.name})}function n$(e,t){return e.slice().sort(function(e,r){return A(t(e),t(r))})}function nH(e,t){return nW(e,function(e){return!t_(e)},nY,t)}function nK(e,t){return nW(e,t_,td,t)}function nY(e){return!e4(e)&&!td(e)}function nW(e,t,r,n){var i=e.getDirectives().filter(t),o=f(e.getTypeMap()).filter(r);return[function(e){if(!(null==e.description&&function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var r=e.getMutationType();if(r&&"Mutation"!==r.name)return!1;var n=e.getSubscriptionType();return!n||"Subscription"===n.name}(e))){var t=[],r=e.getQueryType();r&&t.push("  query: ".concat(r.name));var n=e.getMutationType();n&&t.push("  mutation: ".concat(n.name));var i=e.getSubscriptionType();return i&&t.push("  subscription: ".concat(i.name)),n3({},e)+"schema {\n".concat(t.join("\n"),"\n}")}}(e)].concat(i.map(function(e){var t,r;return t=e,n3(r=n,t)+"directive @"+t.name+n1(r,t.args)+(t.isRepeatable?" repeatable":"")+" on "+t.locations.join(" | ")}),o.map(function(e){return nJ(e,n)})).filter(Boolean).join("\n\n")+"\n"}function nJ(e,t){var r,n,i,o,a,s,u,l,c,d,h,m,y,v,g;return G(e)?n3(t,r=e)+"scalar ".concat(r.name)+function(e){if(null==e.specifiedByUrl)return"";var t=e8(e.specifiedByUrl,e1);return t||(0,L.A)(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+(0,M.y)(t)+")"}(r):z(e)?(n=e,n3(i=t,n)+"type ".concat(n.name)+nX(n)+nZ(i,n)):H(e)?(o=e,n3(a=t,o)+"interface ".concat(o.name)+nX(o)+nZ(a,o)):Y(e)?(s=e,u=t,c=(l=s.getTypes()).length?" = "+l.join(" | "):"",n3(u,s)+"union "+s.name+c):J(e)?(d=e,h=t,m=d.getValues().map(function(e,t){return n3(h,e,"  ",!t)+"  "+e.name+n5(e.deprecationReason)}),n3(h,d)+"enum ".concat(d.name)+n0(m)):Z(e)?(y=e,v=t,g=f(y.getFields()).map(function(e,t){return n3(v,e,"  ",!t)+"  "+n2(e)}
92),n3(v,y)+"input ".concat(y.name)+n0(g)):void(0,L.A)(0,"Unexpected type: "+(0,p.A)(e))}function nX(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(e){return e.name}).join(" & "):""}function nZ(e,t){return n0(f(t.getFields()).map(function(t,r){return n3(e,t,"  ",!r)+"  "+t.name+n1(e,t.args,"  ")+": "+String(t.type)+n5(t.deprecationReason)}))}function n0(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function n1(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(n2).join(", ")+")":"(\n"+t.map(function(t,n){return n3(e,t,"  "+r,!n)+"  "+r+n2(t)}).join("\n")+"\n"+r+")"}function n2(e){var t=e8(e.defaultValue,e.type),r=e.name+": "+String(e.type);return t&&(r+=" = ".concat((0,M.y)(t))),r+n5(e.deprecationReason)}function n5(e){if(null==e)return"";var t=e8(e,e1);return t&&e!==tv?" @deprecated(reason: "+(0,M.y)(t)+")":" @deprecated"}function n3(e,t){var r,n,i,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],u=t.description;if(null==u)return"";if((null==e?void 0:e.commentDescriptions)===!0){return r=u,n=a,i=s,o=r.split("\n").map(function(e){return n+(""!==e?"# "+e:"#")}).join("\n"),(n&&!i?"\n":"")+o+"\n"}var l=u.length>70;return(a&&!s?"\n"+a:a)+(0,nI.yo)(u,"",l).replace(/\n/g,"\n"+a)+"\n"}function n4(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t=t.concat(n.definitions)}return{kind:"Document",definitions:t}}function n8(e){for(var t=[],r=Object.create(null),n=0,i=e.definitions;n<i.length;n++){var o=i[n];switch(o.kind){case k.b.OPERATION_DEFINITION:t.push(o);break;case k.b.FRAGMENT_DEFINITION:r[o.name.value]=n6(o.selectionSet)}}for(var a=Object.create(null),s=0;s<t.length;s++){for(var u=s,l=t[u],c=new Set,d=0,f=n6(l.selectionSet);d<f.length;d++)!function e(t,r,n){if(!t.has(n)){t.add(n);var i=r[n];if(void 0!==i)for(var o=0;o<i.length;o++)e(t,r,i[o])}}(c,r,f[d]);a[l.name?l.name.value:""]={kind:k.b.DOCUMENT,definitions:e.definitions.filter(function(e){return e===l||e.kind===k.b.FRAGMENT_DEFINITION&&c.has(e.name.value)})}}return a}function n6(e){var t=[];return(0,c.YR)(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function n9(e){for(var t=(0,nu._)(e)?e:new nu.k(e),r=t.body,n=new nd.J(t),i="",o=!1;n.advance().kind!==nf.Y.EOF;){var a=n.token,s=a.kind,u=!(0,nd.Z)(a.kind);o&&(u||a.kind===nf.Y.SPREAD)&&(i+=" ");var l=r.slice(a.start,a.end);s===nf.Y.BLOCK_STRING?i+=function(e){var t=e.slice(3,-3),r=(0,nI.i$)(t);(0,nI.IN)(r)>0&&(r="\n"+r);var n=r[r.length-1];return('"'===n&&'\\"""'!==r.slice(-4)||"\\"===n)&&(r+="\n"),'"""'+r+'"""'}(l):i+=l,o=u}return i}function n7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n7(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n7(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var it=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),ir=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENT
92ED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function ii(e,t){return ia(e,t).filter(function(e){return e.type in it})}function io(e,t){return ia(e,t).filter(function(e){return e.type in ir})}function ia(e,t){return[].concat(function(e,t){for(var r=[],n=ic(f(e.getTypeMap()),f(t.getTypeMap())),i=0,o=n.removed;i<o.length;i++){var a=o[i];r.push({type:it.TYPE_REMOVED,description:e4(a)?"Standard scalar ".concat(a.name," was removed because it is not referenced anymore."):"".concat(a.name," was removed.")})}for(var s=0,u=n.persisted;s<u.length;s++){var l=u[s],c=l[0],d=l[1];J(c)&&J(d)?r.push.apply(r,function(e,t){for(var r=[],n=ic(e.getValues(),t.getValues()),i=0,o=n.added;i<o.length;i++){var a=o[i];r.push({type:ir.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var s=0,u=n.removed;s<u.length;s++){var l=u[s];r.push({type:it.VALUE_REMOVED_FROM_ENUM,description:"".concat(l.name," was removed from enum type ").concat(e.name,".")})}return r}(c,d)):Y(c)&&Y(d)?r.push.apply(r,function(e,t){for(var r=[],n=ic(e.getTypes(),t.getTypes()),i=0,o=n.added;i<o.length;i++){var a=o[i];r.push({type:ir.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var s=0,u=n.removed;s<u.length;s++){var l=u[s];r.push({type:it.TYPE_REMOVED_FROM_UNION,description:"".concat(l.name," was removed from union type ").concat(e.name,".")})}return r}(c,d)):Z(c)&&Z(d)?r.push.apply(r,function(e,t){for(var r=[],n=ic(f(e.getFields()),f(t.getFields())),i=0,o=n.added;i<o.length;i++){var a=o[i];eB(a)?r.push({type:it.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):r.push({type:ir.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var s=0,u=n.removed;s<u.length;s++){var l=u[s];r.push({type:it.FIELD_REMOVED,description:"".concat(e.name,".").concat(l.name," was removed.")})}for(var c=0,d=n.persisted;c<d.length;c++){var p=d[c],h=p[0],m=p[1];is(h.type,m.type)||r.push({type:it.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(h.name," changed type from ")+"".concat(String(h.type)," to ").concat(String(m.type),".")})}return r}(c,d)):z(c)&&z(d)||H(c)&&H(d)?r.push.apply(r,(function(e,t){for(var r=[],n=ic(f(e.getFields()),f(t.getFields())),i=0,o=n.removed;i<o.length;i++){var a=o[i];r.push({type:it.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var s=0,u=n.persisted;s<u.length;s++){var l=u[s],c=l[0],d=l[1];r.push.apply(r,function(e,t,r){for(var n=[],i=ic(t.args,r.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];n.push({type:it.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}for(var u=0,l=i.persisted;u<l.length;u++){var c=l[u],d=c[0],f=c[1];if(is(d.type,f.type)){if(void 0!==d.defaultValue)if(void 0===f.defaultValue)n.push({type:ir.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," defaultValue was removed.")});else{var p=il(d.defaultValue,d.type),h=il(f.defaultValue,f.type);p!==h&&n.push({type:ir.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed defaultValue from ").concat(p," to ").concat(h,".")})}}else n.push({type:it.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed type from ")+"".concat(String(d.type)," to ").concat(String(f.type),".")})}for(var m=0,y=i.added;m<y.length;m++){var v=y[m];ej(v)?n.push({type:it.REQUIRED_ARG_ADDED,description:"A required arg ".concat(v.name," on ").concat(e.name,".").concat(t.name," was added.")}):n.push({type:ir.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(v.name," on ").concat(e.name,".").concat(t.name," was added.")})}return n}(e,c,d)),!function e(t,r){return et(t)?et(r)&&e(t.ofType,r.ofType)||en(r)&&e(t,r.ofType):en(t)?en(r)&&e(t.ofType,r.ofType):eO(r)&&t.name===r.name||en(r)&&e(t,r.ofType)}(c.type,d.type)&&r.push({type:it.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(c.name," changed type from ")+"".concat(String(c.type)," to ").concat(String(d.type),".")})}return r})(c,d).concat(function(e,t){for(var r=[],n=ic(e.getInterfaces(),t.getInterfaces()),i=0,o=n.added;i<o.length;i++){var a=o[i];
92r.push({type:ir.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,u=n.removed;s<u.length;s++){var l=u[s];r.push({type:it.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(l.name,".")})}return r}(c,d))):c.constructor!==d.constructor&&r.push({type:it.TYPE_CHANGED_KIND,description:"".concat(c.name," changed from ")+"".concat(iu(c)," to ").concat(iu(d),".")})}return r}(e,t),function(e,t){for(var r=[],n=ic(e.getDirectives(),t.getDirectives()),i=0,o=n.removed;i<o.length;i++){var a=o[i];r.push({type:it.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,u=n.persisted;s<u.length;s++){for(var l=u[s],c=l[0],d=l[1],f=ic(c.args,d.args),p=0,h=f.added;p<h.length;p++){var m=h[p];ej(m)&&r.push({type:it.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(m.name," on directive ").concat(c.name," was added.")})}for(var y=0,v=f.removed;y<v.length;y++){var g=v[y];r.push({type:it.DIRECTIVE_ARG_REMOVED,description:"".concat(g.name," was removed from ").concat(c.name,".")})}c.isRepeatable&&!d.isRepeatable&&r.push({type:it.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(c.name,".")});for(var b=0,E=c.locations;b<E.length;b++){var _=E[b];-1===d.locations.indexOf(_)&&r.push({type:it.DIRECTIVE_LOCATION_REMOVED,description:"".concat(_," was removed from ").concat(c.name,".")})}}return r}(e,t))}function is(e,t){return et(e)?et(t)&&is(e.ofType,t.ofType):en(e)?en(t)&&is(e.ofType,t.ofType)||!en(t)&&is(e.ofType,t):eO(t)&&e.name===t.name}function iu(e){return G(e)?"a Scalar type":z(e)?"an Object type":H(e)?"an Interface type":Y(e)?"a Union type":J(e)?"an Enum type":Z(e)?"an Input type":void(0,L.A)(0,"Unexpected type: "+(0,p.A)(e))}function il(e,t){var r=e8(e,t);null!=r||(0,L.A)(0);var n=(0,c.YR)(r,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort(function(e,t){return A(e.name.value,t.name.value)}),ie(ie({},e),{},{fields:t})}});return(0,M.y)(n)}function ic(e,t){for(var r=[],n=[],i=[],o=E(e,function(e){return e.name}),a=E(t,function(e){return e.name}),s=0;s<e.length;s++){var u=e[s],l=a[u.name];void 0===l?n.push(u):i.push([u,l])}for(var c=0;c<t.length;c++){var d=t[c];void 0===o[d.name]&&r.push(d)}return{added:r,persisted:i,removed:n}}function id(e,t){return rk(e,t,[nE])}},43303:e=>{"use strict";e.exports=JSON.parse('{"name":"@sitecore-cloudsdk/events","version":"0.5.8","license":"Apache-2.0","homepage":"https://doc.sitecore.com/xmc/en/developers/sdk/latest/cloud-sdk/index.html","exports":{"./server":{"import":"./server.js","require":"./server.cjs","types":"./server.d.ts"},"./browser":{"import":"./browser.js","require":"./browser.cjs","types":"./browser.d.ts"}},"dependencies":{"@sitecore-cloudsdk/core":"^0.5.8","@sitecore-cloudsdk/utils":"^0.5.8"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"tsc -b tsconfig.cjs.json","build:es":"tsc -b ."},"files":["dist","README.md","browser.js","browser.cjs","browser.d.ts","server.cjs","server.js","server.d.ts"],"engines":{"node":">=18"}}')},43735:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLRequestClient=void 0;let i=r(41448),o=n(r(2544)),a=n(r(3107)),s=n(r(86761)),u=r(6602);class l{constructor(e,t={}){var r;if(this.endpoint=e,this.headers={},t.apiKey&&(this.headers.sc_apikey=t.apiKey),t.headers&&(this.headers=Object.assign(Object.assign({},this.headers),t.headers)),!e||!(0,o.default)(e).hostname)throw Error(`Invalid GraphQL endpoint '${e}'. Verify that appropriate environment variable is set`);this.timeout=t.timeout,this.retries=null!=(r=t.retries)?r:3,this.retryStrategy=t.retryStrategy||new u.DefaultRetryStrategy({statusCodes:[429,502,503,504,520,521,522,523,524]}),this.client=new i.GraphQLClient(e,{headers:this.headers,fetch:t.fetch}),this.debug=t.debugger||a.default.http}static createClientFactory({endpoint:e,apiKey:t}){return (r={})=>new l(e,Object.assign(Object.assign({},r),{apiKey:t}))}async request(e,t,r){let n=1,i=async()=>{let o=(null==r?void 0:r.retries)||this.retries,a=(null==r?void 0:r.retryStrategy)||this.retryStrategy,u=(null==r?void 0:r.debugger)||this.debug;u("request: %o",{url:this.endpoint,headers:Object.assign(Object.assign({},this.headers),null==r?void 0:r.headers),query:e,variables:t,timeout:this.timeout});let l=Date.now(),c=Object.assign(Object.assign({},this.headers),null==r?void 0:r.headers),d=[this.client.request(e,t,c)];return this.timeout&&(this.abortTimeout=new s.default(this.timeout),d.push(this.abortTimeout.start)),Promise.race(d).then(e=>{var t;return null==(t=this.abortTimeout)||t.clear(),this.debug("response in %dms: %o",Date.now()-l,e),Promise.resolve(e)},async e=>{var t,r;null==(t=this.abortTimeout)||t.clear(),u("response error: %o",e.response||e.message||e);let s=(null==(r=e.response)?void 0:r.status)||e.code;if(!a.shouldRetry(e,n,o))return Promise.reject(e);{let t=a.getDelay(e,n);return u("Error: %s. Retrying in %dms (attempt %d).",s,t,n),n++,new Promise(e=>setTimeout(e,t)).then(i)}})};return i()}}t.GraphQLRequestClient=l},43774:(e,t,r)=>{"use strict";let n,i=r(18135),{stdout:o,stderr:a}=r(58361),{stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:u}=r(310),{isArray:l}=Array,c=["ansi","ansi","ansi256","ansi16m"],d=Object.create(null);class f{constructor(e){return p(e)}}let p=e=>{let t={};return((e,t={})=>
92{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let r=o?o.level:0;e.level=void 0===t.level?r:t.level})(t,e),t.template=(...e)=>E(t.template,...e),Object.setPrototypeOf(t,h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=f,t.template};function h(e){return p(e)}for(let[e,t]of Object.entries(i))d[e]={get(){let r=g(this,v(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};d.visible={get(){let e=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};let m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of m)d[e]={get(){let{level:t}=this;return function(...r){return g(this,v(i.color[c[t]][e](...r),i.color.close,this._styler),this._isEmpty)}}};for(let e of m)d["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:t}=this;return function(...r){return g(this,v(i.bgColor[c[t]][e](...r),i.bgColor.close,this._styler),this._isEmpty)}}};let y=Object.defineProperties(()=>{},{...d,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),v=(e,t,r)=>{let n,i;return void 0===r?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},g=(e,t,r)=>{let n=(...e)=>l(e[0])&&l(e[0].raw)?b(n,E(n,...e)):b(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,y),n._generator=e,n._styler=t,n._isEmpty=r,n},b=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;let{openAll:n,closeAll:i}=r;if(-1!==t.indexOf("\x1b"))for(;void 0!==r;)t=s(t,r.close,r.open),r=r.parent;let o=t.indexOf("\n");return -1!==o&&(t=u(t,i,n,o)),n+t+i},E=(e,...t)=>{let[i]=t;if(!l(i)||!l(i.raw))return t.join(" ");let o=t.slice(1),a=[i.raw[0]];for(let e=1;e<i.length;e++)a.push(String(o[e-1]).replace(/[{}\\]/g,"\\$&"),String(i.raw[e]));return void 0===n&&(n=r(12637)),n(e,a.join(""))};Object.defineProperties(h.prototype,d);let _=p(void 0);_.supportsColor=o,_.stderr=p({level:a?a.level:0}),_.stderr.supportsColor=a,e.exports=_},43966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let n=r(76720);function i(e,t,i,o){{let a=r(44890).normalizeLocalePath,s=r(43773).detectDomainLocale,u=t||a(e,i).detectedLocale,l=s(o,void 0,u);if(l){let t="http"+(l.http?"":"s")+"://",r=u===l.defaultLocale?"":"/"+u;return""+t+l.domain+(0,n.normalizePathTrailingSlash)(""+r+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchGuestIdFromEdgeProxy=void 0;let n=r(10768);t.fetchGuestIdFromEdgeProxy=async function(e,t,r){let i=`${r}/v1/events/${n.API_VERSION}/browser/${e}/show.json?sitecoreContextId=${t}&client_key=&api_token=`,o=await fetch(i,{headers:{"X-Library-Version":n.LIBRARY_VERSION}}),a=await o.json();if(!o.ok){let{error_msg:e,moreInfo:t}=a;throw Error(`${e}, for more info: ${t}`)}if(!a.customer.ref)throw Error(n.ErrorMessages.IE_0011);return a.customer.ref}},44890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>r(73775).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45075:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var n=r(68827);function i(e,t,r){return new n.e("Syntax Error: ".concat(r),void 0,e,[t])}},45105:(e,t,r)=>{e.exports=r(13209)},45495:(e,t,r)=>{"use strict";r.d(t,{XK:()=>k,LU:()=>M});var n=r(23399),i=r(7060),o=r(23913),a=r(70334);let s={name:"Ordercloud",buildInterface:!0,file:"ocContext",properties:{sellerId:{type:"string"},requiredInventoryLocations:{type:"array",name:"requiredInventoryLocations"}}},u=(0,a.k)(s);class l extends u{}
92var c=r(49218),d=r(70454),f=r(5873);class p extends f.w{constructor(){super(),Object.defineProperty(this,"ocContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.setContext(new l),d.A.subscribe(this)}setContext(e){this.ocContext=e,this.ocContext.addListener(this)}getContext(){return this.ocContext}handleAction(e){switch(e.type){case c.A.OC_CONTEXT_CHANGED:o.Vy.info("OC Context changed");break;case c.A.INITIALIZE:this.initialize()}}onChange(e,t,r){this.initialized&&d.A.dispatch({type:c.A.OC_CONTEXT_CHANGED,payload:{context:this.ocContext}})}}let h=new p;var m=r(1055),y=r(91811),v=r(106);let g=(e,t)=>(e.cancel=()=>{t.abort()},e);var b=r(75243);let E={async getData(e,t){let r=new AbortController,n={...t,signal:r.signal,abortController:r};return g(this.fetch(e.toJson(),n),r)},async fetch(e,t){let r=String(Date.now().toString(32)+Math.random().toString(16)).replace(/\./g,""),o=i.Ay.getContext(),a=(0,n.D)({context:o.toJson()},e);d.A.dispatch({type:c.A.REQUEST,payload:{requestId:r,request:e,pageContext:o,payload:a}});try{let n=await b.A.get(a,{signal:t?.signal});return d.A.dispatch({type:c.A.REQUEST_SUCCESS,payload:{requestId:r,request:e,pageContext:o,payload:a,response:n}}),{_requestId:r,...n}}catch(t){return d.A.dispatch({type:c.A.REQUEST_FAIL,payload:{error:t,requestId:r,request:e,pageContext:o,payload:a}}),Promise.reject(t)}}};var _=r(71157);let O={name:"Widget",properties:{items:{type:"array",model:r(22229).A}}},w={context:{type:"model",model:_.A},rfk_flags:{type:"array",name:"rfkFlags"},widget:{type:"model",model:O}},S={name:"OCSearchRequest",file:"OCSearchRequest",buildInterface:!0,properties:{...w,ordercloud:{type:"model",model:s,setter:"setOrderCloudContext",getter:"getOrderCloudContext"}}},C=(0,a.k)(S);class T extends C{getWidgetInfo(e){return this.getWidgetItems()?.find(t=>t.rfk_id&&t.rfk_id===e)}addWidgets(e){return e.forEach(e=>this.addWidgetItem(e)),this}}let R={name:"SearchRequest",file:"SearchRequest",buildInterface:!0,properties:{...w}},P=(0,a.k)(R);class A extends P{getWidgetInfo(e){return this.getWidgetItems()?.find(t=>t.rfk_id&&t.rfk_id===e)}addWidgets(e){return e.forEach(e=>this.addWidgetItem(e)),this}}let I=()=>{let{connector:e}=(0,y.Gc)();if("oc"!==e)return o.Vy.info("Using default Request"),new A;{o.Vy.info("Using OC Request");let e=new T;return e.setOrderCloudContext(h.getContext().toJson()),e}},D=async e=>{let t=I(),r=Array.from((e=>{let t=new Map;return e.slice().reverse().forEach(([e,r])=>{let{rfkId:n,instanceId:i,payload:o}=e,a=(({rfkId:e,entity:t})=>`${e}@${t}`)(e);t.get(a)?.get(i||"")?r.abortController.abort():((e,t,r,n)=>{e.has(t)||e.set(t,new Map([[r,{}]])),e.get(t).set(r,n)})(t,a,i||"",{...o,rfk_id:n})}),t})(e.filter(([,e])=>!e.signal.aborted)).values()).map(e=>Array.from(e.values())).flat();t.addWidgets(r),e[0][0].context&&t.setContext(e[0][0].context.toJson());let{requestMiddleware:n}=(0,y.Gc)();n&&await n();let i=await E.fetch(t.toJson());return e.map(([,{abortController:e}])=>e.signal.aborted?Object.assign({},i,{_canceled:!0}):i)},N={},x={async getWidgetData(e,t){let{rfkId:r,entity:n,request:o}=e,a=i.Ay.getContext(),s=o.toJson();d.A.dispatch({type:c.A.WIDGET_DATA_REQUEST,payload:{...e,pageContext:a,payload:s}});try{let i=await this.fetchWidgetData({...e,payload:s},t);if(!i||i._canceled)return d.A.dispatch({type:c.A.WIDGET_DATA_REQUEST_CANCELED,payload:{...e,pageContext:a,payload:s}}),Promise.reject(new v.A(i));let{_requestId:o,...u}=i,{widgets:l=[]}=u,f=l.find(({rfk_id:e,entity:t})=>e===r&&t===n);if(!f)throw Error(`Response processing error: could not find ${r} in response`);return d.A.dispatch({type:c.A.WIDGET_DATA_REQUEST_SUCCESS,payload:{...e,pageContext:a,response:f,payload:s,requestId:o}}),f}catch(t){return d.A.dispatch({type:c.A.WIDGET_DATA_REQUEST_FAIL,payload:{error:t,...e,pageContext:a,payload:s}}),Promise.reject(t)}},fetchWidgetData(e,t){let r,n=new AbortController,i={...t,signal:n.signal,abortController:n,groupBy:((e,t)=>{if(t?.debounceBy)return`debounceBy@${t.debounceBy}`;let r=e.context?.toJson();return r?JSON.stringify(r):"default"})(e,t)};return t?.signal?.addEventListener("abort",()=>{n.abort()}),g(t?.debounce?(N[r=i.groupBy]||(N[r]=m(D,250,{accumulate:!0})),N[r])(e,i).then(e=>e):((e,t)=>{let{payload:r}=e,n=I();return n.addWidgetItem(r),e.context&&n.setContext(e.context.toJson()),E.fetch(n.toJson(),t)})(e,i),n)}};var j=r(13176);class k{constructor(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:new j.A}),Object.defineProperty(this,"ocContext",{enumerable:!0,configurable:!0,writable:!0,value:new l}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"debounced",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"debounceBy",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"widgetRequest",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastResponse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"enabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"enabledChangeListeners",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"destroyListeners",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.widgetRequest=t,this.instanceId=e}onUpdate(e){var t,r;let n,o=(t=()=>{e()},function(...e){let i=this;clearTimeout(n),n=setTimeout(function(){n=null,r||t.apply(i,e)},50)}),a={handleAction(e){switch(e.type){case c.A.OC_CONTEXT_CHANGED:case c.A.PAGE_CONTEXT_CHANGED:o()}}};i.Ay.register(a);let s={onChange(e,t,r){o()}};
92this.getRequest().addListener(s),this.getContext().addListener(s),this.getOCContext().addListener(s);let u=e=>{e&&o()};this.enabledChangeListeners.push(u),this.destroyListeners.push(()=>{i.Ay.unregister(a),this.getRequest().removeListener(s),this.getContext().removeListener(s),this.getOCContext().removeListener(s),this.enabledChangeListeners=this.enabledChangeListeners.filter(e=>e!==u)})}destroy(){this.destroyListeners.forEach(e=>{e()}),this.destroyListeners=[]}getContext(){return this.context}getOCContext(){return this.ocContext}getRequest(){return this.widgetRequest}getKey(){return((e,t,...r)=>[t.getRfkId(),e,i.Ay.getContext().toJson(),t.toJson(),h.getContext().toJson(),...r])(this.instanceId,this.widgetRequest,this.context.toJson())}getLastResponse(){return this.lastResponse}getRequestContext(){return(0,n.D)(i.Ay.getContext().toJson(),this.context.toJson())}getRequestOCContext(){return(0,n.D)(h.getContext().toJson(),this.ocContext.toJson())}setDebounced(e){this.debounced=e}isDebounced(){return this.debounced}setDebounceBy(...e){this.debounceBy=e.join("#")}getDebounceBy(){return this.debounceBy}fetch(e={}){return this.run(e)}run(e={}){let t=this.getRequest().getRfkId(),r={rfkId:t,entity:this.getRequest().getEntity(),instanceId:this.instanceId,request:this.getRequest(),context:this.getContext(),ocContext:this.getOCContext()};return x.getWidgetData(r,{debounceBy:this.getDebounceBy(),debounce:this.isDebounced(),...e}).then(e=>(this.lastResponse=e,e))}setEnabled(e){e!==this.enabled&&(this.enabled=e,this.enabledChangeListeners.forEach(t=>{t(e)}))}toggleEnabled(){this.setEnabled(!this.enabled)}isEnabled(){return this.enabled}getInstanceId(){return this.instanceId}}class M extends k{constructor(e,t){super(e.getInstanceId(),t.load(e.getRequest()))}getKey(){return[...super.getKey(),{subQuery:!0}]}}},45537:e=>{"use strict";e.exports=JSON.parse('{"name":"@sitecore-cloudsdk/core","version":"0.5.8","license":"Apache-2.0","exports":{"./browser":{"import":"./browser.js","require":"./browser.cjs","types":"./browser.d.ts"},"./server":{"import":"./server.js","require":"./server.cjs","types":"./server.d.ts"},"./internal":{"import":"./internal.js","require":"./internal.cjs","types":"./internal.d.ts"}},"dependencies":{"@sitecore-cloudsdk/utils":"^0.5.8","debug":"^4.3.4"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"tsc -b tsconfig.cjs.json","build:es":"tsc -b ."},"files":["dist","README.md","browser.js","browser.cjs","browser.d.ts","server.js","server.cjs","server.d.ts","internal.js","internal.cjs","internal.d.ts"],"engines":{"node":">=18"},"devDependencies":{"@types/debug":"^4.1.12"}}')},45813:(e,t,r)=>{"use strict";r.d(t,{AT:()=>l,E4:()=>c,Vn:()=>d,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>f,zK:()=>u});var n=r(36938),i=r(58851);function o(e){(0,n.V1)(e&&"Document"===e.kind,115);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(116,e.kind);return e});return(0,n.V1)(t.length<=1,117,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function l(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,118),t}function c(e){(0,n.V1)("Document"===e.kind,119),(0,n.V1)(e.definitions.length<=1,120);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,121),t}function d(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(122)}function f(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},46395:(e,t,r)=>{"use strict";
92Object.defineProperty(t,"__esModule",{value:!0}),t.updateComponent=t.COMPONENT_PREVIEW_CACHE_KEY_PREFIX=t.COMPONENT_UPDATE_CACHE_KEY_PREFIX=t.postToDesignLibrary=t.isDesignLibraryMode=t.getDesignLibraryScriptLink=t.getDesignLibraryStatusEvent=t.DesignLibraryStatus=t.addComponentUpdateHandler=t.DesignLibraryMode=t.MetadataKind=t.LayoutKind=t.DesignLibraryVariantGeneration=t.ComponentLayoutService=t.PREVIEW_KEY=t.PAGES_EDITING_MARKER=t.INVALID_SECRET_HTML_MESSAGE=t.QUERY_PARAM_EDITING_SECRET=t.EDITING_ALLOWED_ORIGINS=t.getContentSdkPagesClientData=t.resetEditorChromes=t.isEditorActive=t.PagesEditor=t.DEFAULT_PLACEHOLDER_UID=t.EditingService=void 0;var n=r(28817);Object.defineProperty(t,"EditingService",{enumerable:!0,get:function(){return n.EditingService}});var i=r(93622);Object.defineProperty(t,"DEFAULT_PLACEHOLDER_UID",{enumerable:!0,get:function(){return i.DEFAULT_PLACEHOLDER_UID}}),Object.defineProperty(t,"PagesEditor",{enumerable:!0,get:function(){return i.PagesEditor}}),Object.defineProperty(t,"isEditorActive",{enumerable:!0,get:function(){return i.isEditorActive}}),Object.defineProperty(t,"resetEditorChromes",{enumerable:!0,get:function(){return i.resetEditorChromes}}),Object.defineProperty(t,"getContentSdkPagesClientData",{enumerable:!0,get:function(){return i.getContentSdkPagesClientData}}),Object.defineProperty(t,"EDITING_ALLOWED_ORIGINS",{enumerable:!0,get:function(){return i.EDITING_ALLOWED_ORIGINS}}),Object.defineProperty(t,"QUERY_PARAM_EDITING_SECRET",{enumerable:!0,get:function(){return i.QUERY_PARAM_EDITING_SECRET}}),Object.defineProperty(t,"INVALID_SECRET_HTML_MESSAGE",{enumerable:!0,get:function(){return i.INVALID_SECRET_HTML_MESSAGE}}),Object.defineProperty(t,"PAGES_EDITING_MARKER",{enumerable:!0,get:function(){return i.PAGES_EDITING_MARKER}}),Object.defineProperty(t,"PREVIEW_KEY",{enumerable:!0,get:function(){return i.PREVIEW_KEY}});var o=r(69667);Object.defineProperty(t,"ComponentLayoutService",{enumerable:!0,get:function(){return o.ComponentLayoutService}});var a=r(64547);Object.defineProperty(t,"DesignLibraryVariantGeneration",{enumerable:!0,get:function(){return a.DesignLibraryVariantGeneration}});var s=r(64547);Object.defineProperty(t,"LayoutKind",{enumerable:!0,get:function(){return s.LayoutKind}}),Object.defineProperty(t,"MetadataKind",{enumerable:!0,get:function(){return s.MetadataKind}}),Object.defineProperty(t,"DesignLibraryMode",{enumerable:!0,get:function(){return s.DesignLibraryMode}});var u=r(34561);Object.defineProperty(t,"addComponentUpdateHandler",{enumerable:!0,get:function(){return u.addComponentUpdateHandler}}),Object.defineProperty(t,"DesignLibraryStatus",{enumerable:!0,get:function(){return u.DesignLibraryStatus}}),Object.defineProperty(t,"getDesignLibraryStatusEvent",{enumerable:!0,get:function(){return u.getDesignLibraryStatusEvent}}),Object.defineProperty(t,"getDesignLibraryScriptLink",{enumerable:!0,get:function(){return u.getDesignLibraryScriptLink}}),Object.defineProperty(t,"isDesignLibraryMode",{enumerable:!0,get:function(){return u.isDesignLibraryMode}}),Object.defineProperty(t,"postToDesignLibrary",{enumerable:!0,get:function(){return u.postToDesignLibrary}}),Object.defineProperty(t,"COMPONENT_UPDATE_CACHE_KEY_PREFIX",{enumerable:!0,get:function(){return u.COMPONENT_UPDATE_CACHE_KEY_PREFIX}}),Object.defineProperty(t,"COMPONENT_PREVIEW_CACHE_KEY_PREFIX",{enumerable:!0,get:function(){return u.COMPONENT_PREVIEW_CACHE_KEY_PREFIX}}),Object.defineProperty(t,"updateComponent",{enumerable:!0,get:function(){return u.updateComponent}})},46441:(e,t,r)=>{"use strict";var n=r(82944);e.exports=function(e,t){if(!n(e)&&"function"!=typeof e)return{};var r={};if("string"==typeof t)return t in e&&(r[t]=e[t]),r;for(var i=t.length,o=-1;++o<i;){var a=t[o];a in e&&(r[a]=e[a])}return r}},46496:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloCache:()=>f.k,ApolloClient:()=>s.R,ApolloConsumer:()=>W,ApolloError:()=>d.K4,ApolloLink:()=>g.C,ApolloProvider:()=>Y,Cache:()=>n,DocumentTransform:()=>F.c,DocumentType:()=>i,HttpLink:()=>D.P,InMemoryCache:()=>p.D,MissingFieldError:()=>h.Z,NetworkStatus:()=>c.pT,Observable:()=>k.c,ObservableQuery:()=>l.U,checkFetcher:()=>R.S,concat:()=>O,createHttpLink:()=>I.$,createQueryPreloader:()=>tp,createSignalIfSupported:()=>P,defaultDataIdFromObject:()=>m.or,defaultPrinter:()=>T.i1,disableExperimentalFragmentVariables:()=>q.qj,disableFragmentWarnings:()=>q.gi,empty:()=>b,enableExperimentalFragmentVariables:()=>q.VC,execute:()=>w.g,fallbackHttpConfig:()=>T.R4,from:()=>E.H,fromError:()=>x.N,fromPromise:()=>M,getApolloContext:()=>H,gql:()=>q.J1,isApolloError:()=>
92d.Mn,isNetworkRequestSettled:()=>c.D2,isReference:()=>V.A_,makeReference:()=>V.WU,makeVar:()=>y.UT,mergeOptions:()=>u.l,operationName:()=>ea,parseAndCheckHttpResponse:()=>S.OQ,parser:()=>es,resetApolloContext:()=>K,resetCaches:()=>q.Nh,rewriteURIForGET:()=>N.E,selectHttpOptionsAndBody:()=>T.Wz,selectHttpOptionsAndBodyInternal:()=>T.HY,selectURI:()=>A.z,serializeFetchParameter:()=>C.Y,setLogVerbosity:()=>U.Q9,skipToken:()=>e9,split:()=>_,throwServerError:()=>L.A,toPromise:()=>j,useApolloClient:()=>J,useBackgroundQuery:()=>tn,useFragment:()=>eG,useLazyQuery:()=>eL,useLoadableQuery:()=>tu,useMutation:()=>eF,useQuery:()=>eg,useQueryRefHandlers:()=>tl,useReactiveVar:()=>eq,useReadQuery:()=>td,useSubscription:()=>eU,useSuspenseFragment:()=>ta,useSuspenseQuery:()=>e7});var n,i,o,a,s=r(76251),u=r(18877),l=r(35518),c=r(66434),d=r(83070);n||(n={});var f=r(84667),p=r(83621),h=r(47580),m=r(90739),y=r(48235),v=r(36938),g=r(22337),b=g.C.empty,E=r(1849),_=g.C.split,O=g.C.concat,w=r(46552),S=r(1242),C=r(76293),T=r(9835),R=r(6095),P=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},A=r(69906),I=r(30644),D=r(36464),N=r(50131),x=r(71713);function j(e){var t=!1;return new Promise(function(r,n){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&v.V1.warn(57):(t=!0,r(e))},error:n})})}var k=r(15072);function M(e){return new k.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}var L=r(8190),F=r(60592),V=r(58851),U=r(12229),q=r(3219);(0,U.Q9)(!1!==globalThis.__DEV__?"log":"silent");var B=r(4902),G=r(60427),Q=r.t(G,2),z=r(80542),$=z.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function H(){(0,v.V1)("createContext"in Q,69);var e=G.createContext[$];return e||(Object.defineProperty(G.createContext,$,{value:e=G.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var K=function(){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&v.V1.warn(70),H()},Y=function(e){var t=e.client,r=e.children,n=H(),i=G.useContext(n),o=G.useMemo(function(){return(0,B.Cl)((0,B.Cl)({},i),{client:t||i.client})},[i,t]);return(0,v.V1)(o.client,71),G.createElement(n.Provider,{value:o},r)},W=function(e){var t=H();return G.createElement(t.Consumer,null,function(t){return(0,v.V1)(t&&t.client,68),e.children(t.client)})};function J(e){var t=G.useContext(H()),r=e||t.client;return(0,v.V1)(!!r,78),r}var X=!1,Z=Q.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||X||n===t()||(X=!0,!1!==globalThis.__DEV__&&v.V1.error(91));var i=G.useState({inst:{value:n,getSnapshot:t}}),o=i[0].inst,a=i[1];return z.JR?G.useLayoutEffect(function(){Object.assign(o,{value:n,getSnapshot:t}),ee(o)&&a({inst:o})},[e,n,t]):Object.assign(o,{value:n,getSnapshot:t}),G.useEffect(function(){return ee(o)&&a({inst:o}),e(function(){ee(o)&&a({inst:o})})},[e]),n};function ee(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}var et=r(20996),er=r(95682),en=r(80593),ei=r(17070),eo=r(33408);function ea(e){var t;switch(e){case i.Query:t="Query";break;case i.Mutation:t="Mutation";break;case i.Subscription:t="Subscription"}return t}function es(e){(0,eo.S2)("parser",function(){!1!==globalThis.__DEV__&&v.V1.warn(93)}),o||(o=new er.A(en.v.parser||1e3));var t,r,n=o.get(e);if(n)return n;(0,v.V1)(!!e&&!!e.kind,94,e);for(var a=[],s=[],u=[],l=[],c=0,d=e.definitions;c<d.length;c++){var f=d[c];if("FragmentDefinition"===f.kind){a.push(f);continue}if("OperationDefinition"===f.kind)switch(f.operation){case"query":s.push(f);break;case"mutation":u.push(f);break;case"subscription":l.push(f)}}(0,v.V1)(!a.length||s.length||u.length||l.length,95),(0,v.V1)(s.length+u.length+l.length<=1,96,e,s.length,l.length,u.length),r=s.length?i.Query:i.Mutation,s.length||u.length||(r=i.Subscription);var p=s.length?s:u.length?u:l;(0,v.V1)(1===p.length,97,e,p.length);var h=p[0];t=h.variableDefinitions||[];var m={name:h.name&&"Name"===h.name.kind?h.name.value:"data",type:r,variables:t};return o.set(e,m),m}function eu(e,t){var r=(0,eo.lz)("parser",es,[e]),n=ea(t),i=ea(r.type);(0,v.V1)(r.type===t,98,n,n,i)}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(i||(i={})),es.resetCache=function(){o=void 0},!1!==globalThis.__DEV__&&(0,ei.D_)("parser",function(){return o?o.size:0});var el=r(79760),ec=r(35785),ed=r(21500),ef=Symbol.for("apollo.hook.wrappers");function ep(e,t,r){var n=r.queryManager,i=n&&n[ef],o=i&&i[e];return o?o(t):t}function eh(e,t,r,n){void 0===n&&(n="Please remove this option.");var i=G.useRef(!1);!1!==globalThis.__DEV__&&t in e&&!i.current&&((0,eo.cc)(e,t,r,n),i.current=!0)}var em=Object.prototype.hasOwnProperty;function ey(){}var ev=Symbol();function eg(e,t){return void 0===t&&(t=Object.create(null)),ep("useQuery",eb,J(t&&t.client))(e,t)}function eb(e,t){!1!==globalThis.__DEV__&&(eh(t,"canonizeResults","useQuery"),eh(t,"partialRefetch","useQuery"),eh(t,"defaultOptions","useQuery","Pass the options directly to the hook instead."),eh(t,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),eh(t,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var r=eE(e,t),n=r.result,i=r.obsQueryFields;return G.useMemo(function(){return(0,B.Cl)((0,B.Cl)({},n),i)},[n,i])}function eE(e,t){var r,n,o,a,s,u,d,f,p,h,m,y,g,b,E,_,O,w,S,C,T,R,P=J(t.client),A=G.useContext(H()).renderPromises,I=!!A,D=P.disableNetworkFetches,N=!1!==t.ssr&&!t.skip,x=t.partialRefetch,j=e_(P,e,t,I),k=function(e,t,r,n,o){function a(a){var s;return eu(t,i.Query),{client:e,query:t,observable:n&&n.getSSRObservable(
92o())||l.U.inactiveOnCreation.withValue(!n,function(){return(0,eo.lz)(["canonizeResults","partialRefetch"],function(){return e.watchQuery(eO(void 0,e,r,o()))})}),resultData:{previousData:null==(s=null==a?void 0:a.resultData.current)?void 0:s.data}}}var s=G.useState(a),u=s[0],c=s[1];function d(e){Object.assign(u.observable,((t={})[ev]=e,t));var t,r,n=u.resultData;c((0,B.Cl)((0,B.Cl)({},u),{query:e.query,resultData:Object.assign(n,{previousData:(null==(r=n.current)?void 0:r.data)||n.previousData,current:void 0})}))}if(e!==u.client||t!==u.query){var f=a(u);return c(f),[f,d]}return[u,d]}(P,e,t,A,j),M=k[0],L=M.observable,F=M.resultData,V=k[1],U=j(L);r=F,n=L,o=P,a=t,s=U,n[ev]&&!(0,et.L)(n[ev],s)&&(n.reobserve(eO(n,o,a,s)),r.previousData=(null==(u=r.current)?void 0:u.data)||r.previousData,r.current=void 0),n[ev]=s;var q=G.useMemo(function(){var e;return{refetch:(e=L).refetch.bind(e),reobserve:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&v.V1.warn(83),e.reobserve.apply(e,t)},fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[L]);return d=L,f=A,p=N,f&&p&&(f.registerSSRObservable(d),d.getCurrentResult().loading&&f.addObservableQueryPromise(d)),{result:(h=F,m=L,y=P,g=t,b=U,E=D,_=x,O=I,w={onCompleted:t.onCompleted||ey,onError:t.onError||ey},S=G.useRef(w),G.useEffect(function(){S.current=w}),C=(O||E)&&!1===g.ssr&&!g.skip?eP:g.skip||"standby"===b.fetchPolicy?eA:void 0,T=h.previousData,R=G.useMemo(function(){return C&&eR(C,T,m,y)},[y,m,C,T]),Z(G.useCallback(function(e){if(O)return function(){};var t=function(){var t=h.current,r=m.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,et.L)(t.data,r.data)||ew(r,h,m,y,_,e,S.current)},r=function(i){if(n.current.unsubscribe(),n.current=m.resubscribeAfterError(t,r),!em.call(i,"graphQLErrors"))throw i;var o=h.current;(!o||o&&o.loading||!(0,et.L)(i,o.error))&&ew({data:o&&o.data,error:i,loading:!1,networkStatus:c.pT.error},h,m,y,_,e,S.current)},n={current:m.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[E,O,m,h,_,y]),function(){return R||eS(h,m,S.current,_,y)},function(){return R||eS(h,m,S.current,_,y)})),obsQueryFields:q,observable:L,resultData:F,client:P,onQueryExecuted:V}}function e_(e,t,r,n){void 0===r&&(r={});var i=r.skip,o=(r.ssr,r.onCompleted,r.onError,r.defaultOptions),a=(0,B.Tt)(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(r){var s=Object.assign(a,{query:t});return n&&("network-only"===s.fetchPolicy||"cache-and-network"===s.fetchPolicy)&&(s.fetchPolicy="cache-first"),s.variables||(s.variables={}),i?(s.initialFetchPolicy=s.initialFetchPolicy||s.fetchPolicy||eC(o,e.defaultOptions),s.fetchPolicy="standby"):s.fetchPolicy||(s.fetchPolicy=(null==r?void 0:r.options.initialFetchPolicy)||eC(o,e.defaultOptions)),s}}function eO(e,t,r,n){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,el.o)(e&&e.options,n)),i.reduce(u.l)}function ew(e,t,r,n,i,o,a){var s,u,l,f=t.current;f&&f.data&&(t.previousData=f.data),!e.error&&(0,ec.E)(e.errors)&&(e.error=new d.K4({graphQLErrors:e.errors})),t.current=eR((s=e,u=r,l=i,s.partial&&l&&!s.loading&&(!s.data||0===Object.keys(s.data).length)&&"cache-only"!==u.options.fetchPolicy?(u.refetch(),(0,B.Cl)((0,B.Cl)({},s),{loading:!0,networkStatus:c.pT.refetch})):s),t.previousData,r,n),o(),function(e,t,r){if(!e.loading){var n=eT(e);Promise.resolve().then(function(){n?r.onError(n):e.data&&t!==e.networkStatus&&e.networkStatus===c.pT.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&v.V1.warn(e)})}}(e,null==f?void 0:f.networkStatus,a)}function eS(e,t,r,n,i){return e.current||ew(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function eC(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null==(r=null==t?void 0:t.watchQuery)?void 0:r.fetchPolicy)||"cache-first"}function eT(e){return(0,ec.E)(e.errors)?new d.K4({graphQLErrors:e.errors}):e.error}function eR(e,t,r,n){var i=e.data,o=(e.partial,(0,B.Tt)(e,["data","partial"]));return(0,B.Cl)((0,B.Cl)({data:i},o),{client:n,observable:r,variables:r.variables,called:e!==eP&&e!==eA,previousData:t})}var eP=(0,ed.G)({loading:!0,data:void 0,error:void 0,networkStatus:c.pT.loading}),eA=(0,ed.G)({loading:!1,data:void 0,error:void 0,networkStatus:c.pT.ready}),eI=z.Sw?G.useLayoutEffect:G.useEffect,eD=r(29462);function eN(){}function ex(){return a||(a=G.createContext(null)),G.useCallback(function(){var e=console.error;try{return console.error=eN,G.useContext(a),!0}catch(e){return!1}finally{console.error=e}},[])}var ej=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],ek=["initialFetchPolicy","onCompleted","onError","defaultOptions","partialRefetch","canonizeResults"],eM=["query","ssr","client","fetchPolicy","nextFetchPolicy","refetchWritePolicy","errorPolicy","pollInterval","notifyOnNetworkStatusChange","returnPartialData","skipPollAttempt"];function eL(e,t){if(!1!==globalThis.__DEV__){var r,n=t||{};eh(n,"canonizeResults","useLazyQuery"),eh(n,"variables","useLazyQuery","Pass all `variables` to the returned `execute` function instead."),eh(n,"context","useLazyQuery","Pass `context` to the returned `execute` function instead."),eh(n,"onCompleted","useLazyQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),eh(n,"onError","useLazyQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."),eh(n,"defaultOptions","useLazyQuery","Pass the options directly to the hook instead."),eh(n,"initialFetchPolicy","useLazyQuery","Use the `fetchPolicy` option instead."),eh(n,"partialRefetch","useLazyQuery")}var i=G.useRef(void 0),o=G.useRef(void 0),a=G.useRef(void 0),s=(0,u.l)(t,i.current||{}),l=null!=(r=null==s?void 0:s.query)?r:e;o.current=t,a.current=l;var c=(0,B.Cl)((0,B.Cl)({},s),{skip:!i.current}),d=eE(l,c),f=d.obsQueryFields,p=d.result,h=d.client,m=d.resultData,y=d.observable,v=d.onQueryExecuted,g=y.options.initialFetchPolicy||eC(c.defaultOptions,h.defaultOptions),b=G.useReducer(function(e){return e+1},0)[1],E=G.useMemo(function(){for(var e={},t=function(t){var r=f[t];e[t]=function(){return!1!==globalThis.__DEV__&&"reobserve"===t&&!1!==globalThis.__DEV__&&eD.V1.warn(79),i.current||(i.current=Object.create(null),b()),r.apply(this,arguments)}},r=0;r<ej.length;r++)t(ej[r]);return e},[b,f]),_=!!i.current,O=G.useMemo(function(){return(0,B.Cl)((0,B.Cl)((0,B.Cl)({},p),E),{called:_})},[p,E,_]),w=ex(),S=G.useRef(new Set),C=G.useCallback(function(e){if(!1!==globalThis.__DEV__){w()&&!1!==globalThis.__DEV__&&eD.V1.warn(80);for(var t,r,n,s,c,d,f,p,b=0;b<ek.length;b++){var _=ek[b];S.current.has(_)||((0,eo.cc)(e||{},_,"useLazyQuery.execute"),S.current.add(_))}for(var O=0;O<eM.length;O++){var C=eM[O];S.current.has(C)||((0,eo.cc)(e||{},C,"useLazyQuery.execute","Please pass the option to the `useLazyQuery` hook instead."),S.current.add(C))}}i.current=e?(0,B.Cl)((0,B.Cl)({},e),{fetchPolicy:e.fetchPolicy||g}):{fetchPolicy:g};var T=(0,u.l)(o.current,(0,B.Cl)({query:a.current},i.current)),R=(t=m,r=y,n=h,s=l,c=(0,B.Cl)((0,B.Cl)({},T),{skip:!1}),d=v,f=e_(n,c.query||s,c,!1)(r),p=r.reobserveAsConcast(eO(r,n,c,f)),d(f),new Promise(function(e){var i;p.subscribe({next:function(e){i=e},error:function(){e(eR(r.getCurrentResult(),t.previousData,r,n))},complete:function(){e(eR(r.maskResult(i),t.previousData,r,n))}})})).then(function(e){return Object.assign(e,E)});return R.catch(function(){}),R},[w,h,l,E,g,y,m,v]),T=G.useRef(C);return eI(function(){T.current=C}),[G.useCallback(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return T.current.apply(T,e)},[]),O]}function eF(e,t){!1!==globalThis.__DEV__&&eh(t||{},"ignoreResults","useMutation","If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");var r=J(null==t?void 0:t.client);eu(e,i.Mutation);var n=G.useState({called:!1,loading:!1,client:r}),o=n[0],a=n[1],s=G.useRef({result:o,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});eI(function(){Object.assign(s.current,{client:r,options:t,mutation:e})});var l=G.useCallback(function(e){void 0===e&&(e={});var t=s.current,r=t.options,n=t.mutation,i=(0,B.Cl)((0,B.Cl)({},r),{mutation:n}),o=e.client||s.current.client;s.current.result.loading||i.ignoreResults||!s.current.isMounted||a(s.
92current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});var l=++s.current.mutationId,c=(0,u.l)(i,e);return o.mutate(c).then(function(t){var r,n,i=t.data,u=t.errors,f=u&&u.length>0?new d.K4({graphQLErrors:u}):void 0,p=e.onError||(null==(r=s.current.options)?void 0:r.onError);if(f&&p&&p(f,c),l===s.current.mutationId&&!c.ignoreResults){var h={called:!0,loading:!1,data:i,error:f,client:o};s.current.isMounted&&!(0,et.L)(s.current.result,h)&&a(s.current.result=h)}var m=e.onCompleted||(null==(n=s.current.options)?void 0:n.onCompleted);return f||null==m||m(t.data,c),t},function(t){if(l===s.current.mutationId&&s.current.isMounted){var r,n={loading:!1,error:t,data:void 0,called:!0,client:o};(0,et.L)(s.current.result,n)||a(s.current.result=n)}var i=e.onError||(null==(r=s.current.options)?void 0:r.onError);if(i)return i(t,c),{data:void 0,errors:t};throw t})},[]),c=G.useCallback(function(){if(s.current.isMounted){var e={called:!1,loading:!1,client:s.current.client};Object.assign(s.current,{mutationId:0,result:e}),a(e)}},[]);return G.useEffect(function(){var e=s.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[l,(0,B.Cl)({reset:c},o)]}function eV(e,t){var r=G.useRef(void 0);return r.current&&(0,et.L)(r.current.deps,t)||(r.current={value:e(),deps:t}),r.current.value}function eU(e,t){void 0===t&&(t=Object.create(null));var r=G.useRef(!1),n=J(t.client);eu(e,i.Subscription),!r.current&&(r.current=!0,t.onSubscriptionData&&!1!==globalThis.__DEV__&&v.V1.warn(t.onData?84:85),t.onSubscriptionComplete&&!1!==globalThis.__DEV__&&v.V1.warn(t.onComplete?86:87));var o=t.skip,a=t.fetchPolicy,s=t.errorPolicy,u=t.shouldResubscribe,l=t.context,c=t.extensions,f=t.ignoreResults,p=eV(function(){return t.variables},[t.variables]),h=function(){var t,r,i,o,u;return t=n,i={query:e,variables:r=p,fetchPolicy:a,errorPolicy:s,context:l,extensions:c},o=(0,B.Cl)((0,B.Cl)({},i),{client:t,result:{loading:!0,data:void 0,error:void 0,variables:r},setResult:function(e){o.result=e}}),u=null,Object.assign(new k.c(function(e){u||(u=t.subscribe(i));var r=u.subscribe(e);return function(){return r.unsubscribe()}}),{__:o})},m=G.useState(t.skip?null:h),y=m[0],g=m[1],b=G.useRef(h);eI(function(){b.current=h}),o?y&&g(y=null):y&&(n===y.__.client&&e===y.__.query&&a===y.__.fetchPolicy&&s===y.__.errorPolicy&&(0,et.L)(p,y.__.variables)||("function"==typeof u?!!u(t):u)===!1)||g(y=h());var E=G.useRef(t);G.useEffect(function(){E.current=t});var _=!o&&!f,O=G.useMemo(function(){return{loading:_,error:void 0,data:void 0,variables:p}},[_,p]),w=G.useRef(f);eI(function(){w.current=f});var S=Z(G.useCallback(function(e){if(!y)return function(){};var t=!1,r=y.__.variables,n=y.__.client,i=y.subscribe({next:function(i){if(!t){var o,a,s={loading:!1,data:i.data,error:eT(i),variables:r};y.__.setResult(s),w.current||e(),s.error?null==(a=(o=E.current).onError)||a.call(o,s.error):E.current.onData?E.current.onData({client:n,data:s}):E.current.onSubscriptionData&&E.current.onSubscriptionData({client:n,subscriptionData:s})}},error:function(n){var i,o;n=n instanceof d.K4?n:new d.K4({protocolErrors:[n]}),t||(y.__.setResult({loading:!1,data:void 0,error:n,variables:r}),w.current||e(),null==(o=(i=E.current).onError)||o.call(i,n))},complete:function(){!t&&(E.current.onComplete?E.current.onComplete():E.current.onSubscriptionComplete&&E.current.onSubscriptionComplete())}});return function(){t=!0,setTimeout(function(){i.unsubscribe()})}},[y]),function(){return!y||o||f?O:y.__.result},function(){return O}),C=G.useCallback(function(){(0,v.V1)(!E.current.skip,88),g(b.current())},[E,b]);return G.useMemo(function(){return(0,B.Cl)((0,B.Cl)({},S),{restart:C})},[S,C])}function eq(e){return Z(G.useCallback(function(t){return e.onNextChange(function r(){t(),e.onNextChange(r)})},[e]),e,e)}var eB=r(48131);function eG(e){return ep("useFragment",eQ,J(e.client))(e)}function eQ(e){!1!==globalThis.__DEV__&&eh(e,"canonizeResults","useFragment");var t=J(e.client),r=t.cache,n=e.from,i=(0,B.Tt)(e,["from"]),o=G.useMemo(function(){return"string"==typeof n?n:null===n?null:r.identify(n)},[r,n]),a=eV(function(){return(0,B.Cl)((0,B.Cl)({},i),{from:o})},[i,o]),s=G.useMemo(function(){var e=a.fragment,r=a.fragmentName,n=a.from,i=a.optimistic,o=void 0===i||i;if(null===n)return{result:ez({result:{},complete:!1})};var s=t.cache,u=(0,eo.lz)("canonizeResults",function(){return s.diff((0,B.Cl)((0,B.Cl)({},a),{returnPartialData:!0,id:n,query:s.getFragmentDoc(e,r),optimistic:o}))});return{result:ez((0,B.Cl)((0,B.Cl)({},u),{result:t.queryManager.maskFragment({fragment:e,fragmentName:r,data:u.result})}))}},[t,a]),u=G.useCallback(function(){return s.result},[s]);return Z(G.useCallback(function(e){var r=0,n=(0,eo.lz)("canonizeResults",function(){return null===a.from?null:t.watchFragment(a).subscribe({next:function(t){(0,et.A)(t,s.result)||(s.result=t,clearTimeout(r),r=setTimeout(e))}})});return function(){null==n||n.unsubscribe(),clearTimeout(r)}},[t,a,s]),u,u)}function ez(e){var t={data:e.result,complete:!!e.complete};return e.missing&&(t.missing=(0,eB.IM)(e.missing.map(function(e){return e.missing}))),t}function e$(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function eH(e){return"status"in e||(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}var eK=Q.use||function(e){var t=eH(e);
92switch(t.status){case"pending":throw t;case"rejected":throw t.reason;case"fulfilled":return t.value}},eY=r(39668),eW=Symbol.for("apollo.internal.queryRef"),eJ=Symbol.for("apollo.internal.refPromise");function eX(e){var t,r=((t={toPromise:function(){return e0(r).then(function(){return r})}})[eW]=e,t[eJ]=e.promise,t);return r}function eZ(e){(0,eD.V1)(!e||eW in e,92)}function e0(e){var t=e[eW];return"fulfilled"===t.promise.status?t.promise:e[eJ]}var e1=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],e2=function(){function e(e,t){var r=this;this.key={},this.listeners=new Set,this.references=0,this.softReferences=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,t.onDispose&&(this.onDispose=t.onDispose),this.setResult(),this.subscribeToQuery();var n=function(){var e;r.references||(r.autoDisposeTimeoutId=setTimeout(r.dispose,null!=(e=t.autoDisposeTimeoutMs)?e:3e4))};this.promise.then(n,n)}return Object.defineProperty(e.prototype,"disposed",{get:function(){return this.subscription.closed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"watchQueryOptions",{get:function(){return this.observable.options},enumerable:!1,configurable:!0}),e.prototype.reinitialize=function(){var e=this.observable,t=this.watchQueryOptions.fetchPolicy,r="no-cache"===t||"standby"===t;try{if(r?e.silentSetOptions({fetchPolicy:"standby"}):((0,eo.lz)("resetLastResults",function(){return e.resetLastResults()}),e.silentSetOptions({fetchPolicy:"cache-first"})),this.subscribeToQuery(),r)return;e.resetDiff(),this.setResult()}finally{e.silentSetOptions({fetchPolicy:t})}},e.prototype.retain=function(){var e=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var t=!1;return function(){t||(t=!0,e.references--,setTimeout(function(){e.references||e.dispose()}))}},e.prototype.softRetain=function(){var e=this;this.softReferences++;var t=!1;return function(){t||(t=!0,e.softReferences--,setTimeout(function(){e.softReferences||e.references||e.dispose()}))}},e.prototype.didChangeOptions=function(e){var t=this;return e1.some(function(r){return r in e&&!(0,et.L)(t.watchQueryOptions[r],e[r])})},e.prototype.applyOptions=function(e){var t=this.watchQueryOptions,r=t.fetchPolicy,n=t.canonizeResults;return"standby"===r&&r!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):(this.observable.silentSetOptions(e),n!==e.canonizeResults&&(this.result=(0,B.Cl)((0,B.Cl)({},this.result),this.observable.getCurrentResult()),this.promise=e$(this.result))),this.promise},e.prototype.listen=function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},e.prototype.refetch=function(e){return this.initiateFetch(this.observable.refetch(e))},e.prototype.fetchMore=function(e){return this.initiateFetch(this.observable.fetchMore(e))},e.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},e.prototype.onDispose=function(){},e.prototype.handleNext=function(e){var t;if("pending"===this.promise.status)void 0===e.data&&(e.data=this.result.data),this.result=e,null==(t=this.resolve)||t.call(this,e);else{if(e.data===this.result.data&&e.networkStatus===this.result.networkStatus)return;void 0===e.data&&(e.data=this.result.data),this.result=e,this.promise=e$(e),this.deliver(this.promise)}},e.prototype.handleError=function(e){var t,r;(this.subscription.unsubscribe(),this.subscription=this.observable.resubscribeAfterError(this.handleNext,this.handleError),"pending"===this.promise.status)?null==(t=this.reject)||t.call(this,e):(this.promise=((r=Promise.reject(e)).catch(function(){}),r.status="rejected",r.reason=e,r),this.deliver(this.promise))},e.prototype.deliver=function(e){this.listeners.forEach(function(t){return t(e)})},e.prototype.initiateFetch=function(e){var t=this;return this.promise=this.createPendingPromise(),this.promise.catch(function(){}),e.then(function(){setTimeout(function(){var e;"pending"===t.promise.status&&(t.result=t.observable.getCurrentResult(),null==(e=t.resolve)||e.call(t,t.result))})}).catch(function(e){var r;return null==(r=t.reject)?void 0:r.call(t,e)}),e},e.prototype.subscribeToQuery=function(){var e=this;this.subscription=this.observable.filter(function(t){return!(0,et.L)(t.data,{})&&!(0,et.L)(t,e.result)}).subscribe(this.handleNext,this.handleError)},e.prototype.setResult=function(){var e=this.observable.getCurrentResult(!1);(0,et.L)(e,this.result)||(this.result=e,this.promise=e.data&&(!e.partial||this.watchQueryOptions.returnPartialData)?e$(e):this.createPendingPromise())},e.prototype.createPendingPromise=function(){var e=this;return eH(new Promise(function(t,r){e.resolve=t,e.reject=r}))},e}(),e5=function(){function e(e,t,r){var n=this;this.key={},this.listeners=new Set,this.references=0,this.dispose=this.dispose.bind(this),this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.observable=e.watchFragment(t),r.onDispose&&(this.onDispose=r.onDispose);var i=this.getDiff(e,t),o=function(){var e;n.references||(n.autoDisposeTimeoutId=setTimeout(n.dispose,null!=(e=r.autoDisposeTimeoutMs)?e:3e4))};this.promise=i.complete?e$(i.result):this.createPendingPromise(),this.subscribeToFragment(),this.promise.then(o,o)}return e.prototype.listen=function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},e.prototype.retain=function(){var e=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var t=!1;return function(){t||(t=!0,e.references--,setTimeout(function(){e.references||e.dispose()}))}},e.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},e.prototype.onDispose=function(){},e.prototype.subscribeToFragment=function(){this.subscription=this.observable.subscribe(this.handleNext.bind(this),this.handleError.bind(this))},e.prototype.handleNext=function(e){var t;
92switch(this.promise.status){case"pending":if(e.complete)return null==(t=this.resolve)?void 0:t.call(this,e.data);this.deliver(this.promise);break;case"fulfilled":if((0,et.L)(this.promise.value,e.data))return;this.promise=e.complete?e$(e.data):this.createPendingPromise(),this.deliver(this.promise)}},e.prototype.handleError=function(e){var t;null==(t=this.reject)||t.call(this,e)},e.prototype.deliver=function(e){this.listeners.forEach(function(t){return t(e)})},e.prototype.createPendingPromise=function(){var e=this;return eH(new Promise(function(t,r){e.resolve=t,e.reject=r}))},e.prototype.getDiff=function(e,t){var r=e.cache,n=t.from,i=t.fragment,o=t.fragmentName,a=r.diff((0,B.Cl)((0,B.Cl)({},t),{query:r.getFragmentDoc(i,o),returnPartialData:!0,id:n,optimistic:!0}));return(0,B.Cl)((0,B.Cl)({},a),{result:e.queryManager.maskFragment({fragment:i,fragmentName:o,data:a.result})})},e}(),e3=function(){function e(e){void 0===e&&(e=Object.create(null)),this.queryRefs=new eY.b(z.et),this.fragmentRefs=new eY.b(z.et),this.options=e}return e.prototype.getQueryRef=function(e,t){var r=this.queryRefs.lookupArray(e);return r.current||(r.current=new e2(t(),{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete r.current}})),r.current},e.prototype.getFragmentRef=function(e,t,r){var n=this.fragmentRefs.lookupArray(e);return n.current||(n.current=new e5(t,r,{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete n.current}})),n.current},e.prototype.add=function(e,t){this.queryRefs.lookupArray(e).current=t},e}(),e4=Symbol.for("apollo.suspenseCache");function e8(e){var t;return e[e4]||(e[e4]=new e3(null==(t=e.defaultOptions.react)?void 0:t.suspense)),e[e4]}var e6=r(26828),e9=Symbol.for("apollo.skipToken");function e7(e,t){return void 0===t&&(t=Object.create(null)),ep("useSuspenseQuery",te,J("object"==typeof t?t.client:void 0))(e,t)}function te(e,t){!1!==globalThis.__DEV__&&eh("symbol"==typeof t?{}:t,"canonizeResults","useSuspenseQuery");var r=J(t.client),n=e8(r),i=tr({client:r,query:e,options:t}),o=i.fetchPolicy,a=i.variables,s=t.queryKey,u=(0,B.fX)([e,(0,e6.M)(a)],[].concat(void 0===s?[]:s),!0),l=(0,eo.lz)("canonizeResults",function(){return n.getQueryRef(u,function(){return r.watchQuery(i)})}),d=G.useState([l.key,l.promise]),f=d[0],p=d[1];f[0]!==l.key&&(f[0]=l.key,f[1]=l.promise);var h=f[1];l.didChangeOptions(i)&&(f[1]=h=l.applyOptions(i)),G.useEffect(function(){var e=l.retain(),t=l.listen(function(e){p([l.key,e])});return function(){t(),e()}},[l]);var m=G.useMemo(function(){var e=tt(l.result);return{loading:!1,data:l.result.data,networkStatus:e?c.pT.error:c.pT.ready,error:e}},[l.result]),y="standby"===o?m:eK(h),v=G.useCallback(function(e){var t=l.fetchMore(e);return p([l.key,l.promise]),t},[l]),g=G.useCallback(function(e){var t=l.refetch(e);return p([l.key,l.promise]),t},[l]),b=l.observable.subscribeToMore;return G.useMemo(function(){return{client:r,data:y.data,error:tt(y),networkStatus:y.networkStatus,fetchMore:v,refetch:g,subscribeToMore:b}},[r,v,g,y,b])}function tt(e){return(0,ec.E)(e.errors)?new d.K4({graphQLErrors:e.errors}):e.error}function tr(e){var t=e.client,r=e.query,n=e.options;return eV(function(){if(n===e9)return{query:r,fetchPolicy:"standby"};var e,o,a,s,u,l,c,d=n.fetchPolicy||(null==(c=t.defaultOptions.watchQuery)?void 0:c.fetchPolicy)||"cache-first",f=(0,B.Cl)((0,B.Cl)({},n),{fetchPolicy:d,query:r,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&(s=f.query,u=f.fetchPolicy,l=f.returnPartialData,eu(s,i.Query),void 0===(e=u)&&(e="cache-first"),(0,v.V1)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),89,e),o=u,a=l,"no-cache"===o&&a&&!1!==globalThis.__DEV__&&v.V1.warn(90)),n.skip&&(f.fetchPolicy="standby"),f},[t,n,r])}function tn(e,t){return void 0===t&&(t=Object.create(null)),ep("useBackgroundQuery",ti,J("object"==typeof t?t.client:void 0))(e,t)}function ti(e,t){!1!==globalThis.__DEV__&&eh("symbol"==typeof t?{}:t,"canonizeResults","useBackgroundQuery");var r=J(t.client),n=e8(r),i=tr({client:r,query:e,options:t}),o=i.fetchPolicy,a=i.variables,s=t.queryKey,u=G.useRef("standby"!==o);u.current||(u.current="standby"!==o);var l=(0,B.fX)([e,(0,e6.M)(a)],[].concat(void 0===s?[]:s),!0),c=(0,eo.lz)("canonizeResults",function(){return n.getQueryRef(l,function(){return r.watchQuery(i)})}),d=G.useState(eX(c)),f=d[0],p=d[1];if(f[eW]!==c&&p(eX(c)),c.didChangeOptions(i)){var h=c.applyOptions(i);f[eJ]=h}G.useEffect(function(){var e=setTimeout(function(){c.disposed&&n.add(l,c)});return function(){return clearTimeout(e)}});var m=G.useCallback(function(e){var t=c.fetchMore(e);return p(eX(c)),t},[c]),y=G.useCallback(function(e){var t=c.refetch(e);return p(eX(c)),t},[c]);return G.useEffect(function(){return c.softRetain()},[c]),[u.current?f:void 0,{fetchMore:m,refetch:y,subscribeToMore:c.observable.subscribeToMore}]}var to=[];function ta(e){return ep("useSuspenseFragment",ts,J("object"==typeof e?e.client:void 0))(e)}function ts(e){var t=J(e.client),r=e.from,n=e.variables,i=t.cache,o=G.useMemo(function(){return"string"==typeof r?r:null===r?null:i.identify(r)},[i,r]),a=null===o?null:e8(t).getFragmentRef([o,e.fragment,(0,e6.M)(n)],t,(0,B.Cl)((0,B.Cl)({},e),{variables:n,from:o})),s=G.useState(null===a?to:[a.key,a.promise]),u=s[0],l=s[1];return(G.useEffect(function(){if(null!==a){var e=a.retain(),t=a.listen(function(e){l([a.key,e])});return function(){e(),t()}}},[a]),null===a)?{data:null}:(u[0]!==a.key&&(u[0]=a.key,u[1]=a.promise),{data:eK(u[1])})}function tu(e,t){void 0===t&&(t=Object.create(null)),!1!==globalThis.__DEV__&&eh(t,"canonizeResults","useLoadableQuery");var r=J(t.client),n=e8(r),i=tr({client:r,query:e,options:t}),o=t.queryKey,a=void 0===o?[]:o,s=G.useState(null),u=s[0],l=s[1];eZ(u);var c=u&&u[eW];if(u&&(null==c?void 0:c.didChangeOptions(i))){var d=c.applyOptions(i);u[eJ]=d}var f=ex(),p=G.useCallback(function(e){if(!c)throw Error("The query has not been loaded. Please load the query.");var t=c.fetchMore(e);return l(eX(c)),t},[c]),h=G.useCallback(function(e){if(!c)throw Error("The query has not been loaded. Please load the query.");var t=c.refetch(e);return l(eX(c)),t},[c]),m=G.useCallback(function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];(0,v.V1)(!f(),81);var s=t[0],u=(0,B.fX)([e,(0,e6.M)(s)],[].concat(a),!0);l(eX((0,eo.lz)("canonizeResults",function(){return n.getQueryRef(u,function(){return r.watchQuery((0,B.Cl)((0,B.Cl)({},i),{variables:s}))})})))},[e,a,n,i,f,r]),y=G.useCallback(function(e){return(0,v.V1)(c,82),c.observable.subscribeToMore(e)},[c]);return[m,u,{fetchMore:p,refetch:h,reset:G.useCallback(function(){l(null)},[]),subscribeToMore:y}]}function tl(e){var t=e[eW];return ep("useQueryRefHandlers",tc,J(t?t.observable:void 0))(e)}function tc(e){eZ(e);var t,r=G.useState(e),n=r[0],i=r[1],o=G.useState(e),a=o[0],s=o[1],u=e[eW];
92return n!==e?(i(e),s(e)):(t=e0(a),e[eJ]=t),{refetch:G.useCallback(function(e){var t=u.refetch(e);return s(eX(u)),t},[u]),fetchMore:G.useCallback(function(e){var t=u.fetchMore(e);return s(eX(u)),t},[u]),subscribeToMore:u.observable.subscribeToMore}}function td(e){var t=e[eW];return ep("useReadQuery",tf,J(t?t.observable:void 0))(e)}function tf(e){eZ(e);var t,r=G.useMemo(function(){return e[eW]},[e]),n=G.useCallback(function(){return e0(e)},[e]);r.disposed&&(r.reinitialize(),t=r.promise,e[eJ]=t),G.useEffect(function(){return r.retain()},[r]);var i=eK(Z(G.useCallback(function(t){return r.listen(function(r){e[eJ]=r,t()})},[r,e]),n,n));return G.useMemo(function(){return{data:i.data,networkStatus:i.networkStatus,error:tt(i)}},[i])}function tp(e){return ep("createQueryPreloader",th,e)(e)}var th=function(e){return Object.assign(function(t,r){return void 0===r&&(r=Object.create(null)),(0,eo.cc)(r,"canonizeResults","preloadQuery"),eX((0,eo.lz)("canonizeResults",function(){var n,i;return new e2(e.watchQuery((0,B.Cl)((0,B.Cl)({},r),{query:t})),{autoDisposeTimeoutMs:null==(i=null==(n=e.defaultOptions.react)?void 0:n.suspense)?void 0:i.autoDisposeTimeoutMs})}))},{toPromise:function(e){return e.toPromise()}})}},46552:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});var n=r(22337).C.execute},46865:(e,t,r)=>{"use strict";r.d(t,{$x:()=>d,Mb:()=>f,qg:()=>c});var n=r(45075),i=r(94587),o=r(86158),a=r(96175),s=r(26515),u=r(32776),l=r(61080);function c(e,t){return new p(e,t).parseDocument()}function d(e,t){var r=new p(e,t);r.expectToken(a.Y.SOF);var n=r.parseValueLiteral(!1);return r.expectToken(a.Y.EOF),n}function f(e,t){var r=new p(e,t);r.expectToken(a.Y.SOF);var n=r.parseTypeReference();return r.expectToken(a.Y.EOF),n}var p=function(){function e(e,t){var r=(0,s._)(e)?e:new s.k(e);this._lexer=new l.J(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(a.Y.NAME);return{kind:i.b.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:i.b.DOCUMENT,definitions:this.many(a.Y.SOF,this.parseDefinition,a.Y.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(a.Y.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else if(this.peek(a.Y.BRACE_L))return this.parseOperationDefinition();else if(this.peekDescription())return this.parseTypeSystemDefinition();throw this.unexpected()},t.parseOperationDefinition=function(){var e,t=this._lexer.token;if(this.peek(a.Y.BRACE_L))return{kind:i.b.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var r=this.parseOperationType();return this.peek(a.Y.NAME)&&(e=this.parseName()),{kind:i.b.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseOperationType=function(){var e=this.expectToken(a.Y.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(a.Y.PAREN_L,this.parseVariableDefinition,a.Y.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:i.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.Y.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(a.Y.DOLLAR),{kind:i.b.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:i.b.SELECTION_SET,selections:this.many(a.Y.BRACE_L,this.parseSelection,a.Y.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(a.Y.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(a.Y.COLON)?(e=n,t=this.parseName()):t=n,{kind:i.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.Y.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}
vendor: 14,428 bytes, line 92
92},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.Y.PAREN_L,t,a.Y.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(a.Y.COLON),{kind:i.b.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:i.b.ARGUMENT,name:this.parseName(),value:(this.expectToken(a.Y.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(a.Y.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(a.Y.NAME)?{kind:i.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:i.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return(this.expectKeyword("fragment"),(null==(e=this._options)?void 0:e.experimentalFragmentVariables)===!0)?{kind:i.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:i.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case a.Y.BRACKET_L:return this.parseList(e);case a.Y.BRACE_L:return this.parseObject(e);case a.Y.INT:return this._lexer.advance(),{kind:i.b.INT,value:t.value,loc:this.loc(t)};case a.Y.FLOAT:return this._lexer.advance(),{kind:i.b.FLOAT,value:t.value,loc:this.loc(t)};case a.Y.STRING:case a.Y.BLOCK_STRING:return this.parseStringLiteral();case a.Y.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:i.b.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:i.b.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:i.b.NULL,loc:this.loc(t)};default:return{kind:i.b.ENUM,value:t.value,loc:this.loc(t)}}case a.Y.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:i.b.STRING,value:e.value,block:e.kind===a.Y.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:i.b.LIST,values:this.any(a.Y.BRACKET_L,function(){return t.parseValueLiteral(e)},a.Y.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:i.b.OBJECT,fields:this.any(a.Y.BRACE_L,function(){return t.parseObjectField(e)},a.Y.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(a.Y.COLON),{kind:i.b.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(a.Y.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(a.Y.AT),{kind:i.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(a.Y.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(a.Y.BRACKET_R),e={kind:i.b.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(a.Y.BANG))?{kind:i.b.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:i.b.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===a.Y.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(a.Y.STRING)||this.peek(a.Y.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(a.Y.BRACE_L,this.parseOperationTypeDefinition,a.Y.BRACE_R);return{kind:i.b.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.Y.COLON);var r=this.parseNamedType();return{kind:i.b.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:i.b.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if((null==(e=this._options)?void 0:e.allowLegacySDLImplementsInterfaces)===!0){var t=[];this.expectOptionalToken(a.Y.AMP);do t.push(this.parseNamedType());while(this.expectOptionalToken(a.Y.AMP)||this.peek(a.Y.NAME));return t}return this.delimitedMany(a.Y.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return(null==(e=this._options)?void 0:e.allowLegacySDLEmptyFields)===!0&&this.peek(a.Y.BRACE_L)&&this._lexer.lookahead().kind===a.Y.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(a.Y.BRACE_L,this.parseFieldDefinition,a.Y.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(a.Y.COLON);var o=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:i.b.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:s,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(a.Y.PAREN_L,this.parseInputValueDef,a.Y.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(a.Y.COLON);var o=this.parseTypeReference();this.expectOptionalToken(a.Y.EQUALS)&&(e=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:i.b.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:e,directives:s,loc:this.loc(t)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:i.b.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(a.Y.EQUALS)?this.delimitedMany(a.Y.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:i.b.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(a.Y.BRACE_L,this.parseEnumValueDefinition,a.Y.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:i.b.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:i.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(a.Y.BRACE_L,this.parseInputValueDef,a.Y.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===a.Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(a.Y.BRACE_L,this.parseOperationTypeDefinition,a.Y.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:i.b.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:i.b.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:i.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:i.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:i.b.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:i.b.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:i.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.Y.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var s=this.parseDirectiveLocations();return{kind:i.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:s,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(a.Y.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==u.H[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if((null==(t=this._options)?void 0:t.noLocation)!==!0)return new o.aZ(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,n.I)(this._lexer.source,t.start,"Expected ".concat(m(e),", found ").concat(h(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind===a.Y.NAME&&t.value===e)this._lexer.advance();else throw(0,n.I)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(h(t),"."))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===a.Y.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return(0,n.I)(this._lexer.source,t.start,"Unexpected ".concat(h(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r},e}();function h(e){var t=e.value;return m(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function m(e){return(0,l.Z)(e)?'"'.concat(e,'"'):e}},46891:(e,t)=>{"use strict";
92Object.defineProperty(t,"__esModule",{value:!0}),t.pageName=t.language=void 0,t.language=function(){return"undefined"==typeof window||window.document.documentElement.lang.length<=1?void 0:new Intl.Locale(window.document.documentElement.lang).language.toLocaleUpperCase()},t.pageName=function(){return"undefined"==typeof window?"":"/"===window.location.pathname?"Home Page":window.location.pathname.split("/").pop()}},47271:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Form=t.mockFormModule=void 0;let s=a(r(14232)),u=r(72276),l=r(94082),c=r(12963),{executeScriptElements:d,loadForm:f,subscribeToFormSubmitEvent:p}=u.form;t.mockFormModule=e=>{d=e.executeScriptElements,f=e.loadForm,p=e.subscribeToFormSubmitEvent},t.Form=({params:e,rendering:t})=>{var r;let n=null==e?void 0:e.RenderingIdentifier,[i,o]=(0,s.useState)(!1),[a,u]=(0,s.useState)(""),h=(0,l.useSitecore)(),m=(0,s.useRef)(null),y=h.page.mode.isEditing;return((0,s.useEffect)(()=>{var r,n,i,s;if(a){if(!m.current)return;y||p(m.current,t.uid),d(m.current)}else{let t=null==(n=null==(r=h.api)?void 0:r.edge)?void 0:n.clientContextId;if(!t)return void console.warn("Warning: clientContextId is missing – form cannot be loaded properly on the client");f(t,e.FormId,null==(s=null==(i=h.api)?void 0:i.edge)?void 0:s.edgeUrl).then(u).catch(()=>{y&&console.error(`Failed to load form with id ${e.FormId}. Check debug logs for content-sdk:form for more details.`),o(!0)})}},[a]),y&&i)?s.default.createElement(c.ErrorComponent,{message:"There was a problem loading this section"}):s.default.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:a},className:null==(r=e.styles)?void 0:r.trimEnd(),id:n||void 0})}},47421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}
92),t.VARIANT_PREFIX=t.DEFAULT_VARIANT=t.CdpHelper=t.normalizePersonalizedRewrite=t.getGroomedVariantIds=t.getPersonalizedRewriteData=t.getPersonalizedRewrite=t.PersonalizeService=t.personalizeLayout=void 0;var n=r(12352);Object.defineProperty(t,"personalizeLayout",{enumerable:!0,get:function(){return n.personalizeLayout}});var i=r(72925);Object.defineProperty(t,"PersonalizeService",{enumerable:!0,get:function(){return i.PersonalizeService}});var o=r(16784);Object.defineProperty(t,"getPersonalizedRewrite",{enumerable:!0,get:function(){return o.getPersonalizedRewrite}}),Object.defineProperty(t,"getPersonalizedRewriteData",{enumerable:!0,get:function(){return o.getPersonalizedRewriteData}}),Object.defineProperty(t,"getGroomedVariantIds",{enumerable:!0,get:function(){return o.getGroomedVariantIds}}),Object.defineProperty(t,"normalizePersonalizedRewrite",{enumerable:!0,get:function(){return o.normalizePersonalizedRewrite}}),Object.defineProperty(t,"CdpHelper",{enumerable:!0,get:function(){return o.CdpHelper}}),Object.defineProperty(t,"DEFAULT_VARIANT",{enumerable:!0,get:function(){return o.DEFAULT_VARIANT}}),Object.defineProperty(t,"VARIANT_PREFIX",{enumerable:!0,get:function(){return o.VARIANT_PREFIX}})},47518:(e,t,r)=>{"use strict";function n(e){var t=e.split(/\r\n|[\n\r]/g),r=o(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var a=0;a<t.length&&i(t[a]);)++a;for(var s=t.length;s>a&&i(t[s-1]);)--s;return t.slice(a,s).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"	"!==e[t])return!1;return!0}function o(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===o||i<o)&&(o=i),n=!1}return null!=(t=o)?t:0}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"	"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,u="";return s&&!(n&&i)&&(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}r.d(t,{IN:()=>o,i$:()=>n,yo:()=>a})},47580:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(4902),i=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)(a={})[s.path[u]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error)},47599:(e,t,r)=>{"use strict";r.d(t,{O:()=>f,R:()=>c});var n=r(14232),i=r(58610),o=r(67271),a=r(58457),s=r(86365),u=r(99514),l=r(59764);class c extends n.Component{constructor(e){super(e),this.isEmpty=!1,this.state={}}componentDidMount(){this.isEmpty&&o.qH.isActive()&&o.qH.resetChromes()}componentDidCatch(e){this.setState({error:e})}renderEmptyPlaceholder(e){return(0,s.hl)(e)}render(){let e=Object.assign({},this.props);if(delete e.componentMap,this.state.error)return e.errorComponent?n.createElement(e.errorComponent,{error:this.state.error}):n.createElement(l.A,{message:`A rendering error occurred: ${this.state.error.message}.`});let t=e.rendering,r=(0,s.nV)(t,this.props.name,this.props.page.mode.isEditing);this.isEmpty=!r.length;let i=c.getRenderedComponents(this.props,r);if(this.isEmpty){let e=this.props.renderEmpty?this.props.renderEmpty(i):i;return this.props.page.mode.isEditing?(0,s.hl)(e):e}if(this.props.render)return this.props.render(i,r,e);if(!this.props.renderEach)return i;{let e=this.props.renderEach;return i.map((t,r)=>t&&t.props&&"text/sitecore"===t.props.type?t:e(t,r))}}}c.getRenderedComponents=(e,t)=>{let{name:r,missingComponentComponent:i,hiddenRenderingComponent:o}=e,a=t.map((t,a)=>{let c=t.uid||`component-${a}`,d=(0,s.lo)(e,t,c),f=(0,s.tt)(t,r,e.componentMap,o,i),p=n.createElement(f.component,e.modifyComponentProps?e.modifyComponentProps(d):d);if(!f.isEmpty){let t=p.type+"-"+a,r=e.disableSuspense||!1;p=n.createElement(l.h,{"data-testid":"error-boundary",key:t,errorComponent:e.errorComponent,componentLoadingMessage:e.componentLoadingMessage,isDynamic:f.dynamic,disableSuspense:r,rendering:p.props.rendering},p)}return e.page.mode.isEditing?n.createElement(u.f,{key:c,rendering:t},p):p}).filter(e=>e);return e.page.mode.isEditing?[n.createElement(u.f,{key:e.rendering.uid,placeholderName:r,rendering:e.rendering},a)]:a};let d=(0,i.M)(c),f=(0,a.F)()(d)},47962:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
92(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentPropsContext=t.ComponentPropsReactContext=void 0,t.useComponentProps=function(e){if(e)return(0,s.useContext)(t.ComponentPropsReactContext)[e]};let s=a(r(14232));t.ComponentPropsReactContext=(0,s.createContext)({}),t.ComponentPropsContext=({children:e,value:r})=>s.default.createElement(t.ComponentPropsReactContext.Provider,{value:r},e)},48041:e=>{!function(){"use strict";var t={815:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var l=0;l<u;++l){var c,d,f,p,h=e[l].replace(a,"%20"),m=h.indexOf(n);(m>=0?(c=h.substr(0,m),d=h.substr(m+1)):(c=h,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(o,f))?t(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,s){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var s=encodeURIComponent(t(i))+a;return r(e[i])?n(e[i],function(e){return s+encodeURIComponent(t(e))}).join(o):s+encodeURIComponent(t(e[i]))}).join(o):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i={};i.decode=i.parse=n(815),i.encode=i.stringify=n(577),e.exports=i}()},48084:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},48131:(e,t,r)=>{"use strict";r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>l});var n=r(4902),i=r(93957),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new l,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},l=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},48230:(e,t,r)=>{e.exports=r(6334)},48235:(e,t,r)=>{"use strict";r.d(t,{MS:()=>u,UT:()=>l,WR:()=>s,bl:()=>i});var n=r(63965),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}
92function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function l(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var l=i.getValue();l&&(o(l),a(l).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},48269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidLocation=void 0,t.isValidLocation=function(e){return{latitude:!(e.latitude>90||e.latitude<-90),longitude:!(e.longitude>180||e.longitude<-180)}}},48288:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(79885),i=r(70086),o=r(70402);let a=()=>{let{config:e}=(0,n.A)(),{selectedFacets:t=[]}=(0,i.A)();return t.map(t=>{let r=(0,o.ol)(e,t.facetId);return{...t,valueLabel:t.valueLabel||t?.facetValueText||"",type:r}})}},48331:function(e,t,r){e.exports=function(){"use strict";var e=function(e){var t=e.id,r=e.viewBox,n=e.content;this.id=t,this.viewBox=r,this.content=n};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach(function(t){return delete e[t]})};var t=function(e){var t=!!document.importNode,r=new DOMParser().parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(r,!0):r};function n(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;var i=n(function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,r){return r&&!0===r.clone&&e(t)?n(Array.isArray(t)?[]:{},t,r):t}function r(r,i,o){var a=r.slice();return i.forEach(function(i,s){void 0===a[s]?a[s]=t(i,o):e(i)?a[s]=n(r[s],i,o):-1===r.indexOf(i)&&a.push(t(i,o))}),a}function n(i,o,a){var s,u=Array.isArray(o),l=(a||{arrayMerge:r}).arrayMerge||r;return u?Array.isArray(i)?l(i,o,a):t(o,a):(s={}
92,e(i)&&Object.keys(i).forEach(function(e){s[e]=t(i[e],a)}),Object.keys(o).forEach(function(r){e(o[r])&&i[r]?s[r]=n(i[r],o[r],a):s[r]=t(o[r],a)}),s)}return n.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw Error("first argument should be an array with at least two elements");return e.reduce(function(e,r){return n(e,r,t)})},n}()}),o=n(function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default}),a=o.svg,s=o.xlink,u={};u[a.name]=a.uri,u[s.name]=s.uri;var l=function(e,t){var r;return void 0===e&&(e=""),"<svg "+Object.keys(r=i(u,t||{})).map(function(e){var t=r[e].toString().replace(/"/g,"&quot;");return e+'="'+t+'"'}).join(" ")+">"+e+"</svg>"},c=e;function d(){c.apply(this,arguments)}c&&(d.__proto__=c),d.prototype=Object.create(c&&c.prototype),d.prototype.constructor=d;var f={isMounted:{}};return f.isMounted.get=function(){return!!this.node},d.createFromExistingNode=function(e){return new d({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},d.prototype.destroy=function(){this.isMounted&&this.unmount(),c.prototype.destroy.call(this)},d.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t.appendChild(r),r},d.prototype.render=function(){return t(l(this.stringify())).childNodes[0]},d.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(d.prototype,f),d}()},48486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidEmail=void 0,t.isValidEmail=function(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}},48915:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>d});
92var i=r(78639),o=r(83325),a=r(91811);let s=(0,i.Y)({cookie:""});s.cookie||(s.cookie="");class u{getCookieValue(e,t){let r=e.slice(t.length+1,e.length);return r?decodeURIComponent(r):""}getCookieFromBrowser(e){let t=s.cookie.split("; ");for(let r=0;r<t.length;r++)if(t[r].slice(0,e.length)===e)return this.getCookieValue(t[r],e);return""}setCookieInBrowser(e,t,r){let n=new Date,i=encodeURIComponent(t);n.setMilliseconds(n.getMilliseconds()+r),i+=`;domain=${(0,a.v3)()};path=/;`,i+=r?`;expires=${n.toUTCString()}`:"",i+=";secure;SameSite=None;",s.cookie=`${e}=${i}`}removeCookieFromBrowser(e){s.cookie=`${e}=;domain=${(0,a.v3)()};path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;secure;SameSite=None`}removeCachedCookie(e){this.removeCookieFromBrowser(e)}set(e,t,r){if(t){let n="object"==typeof t?JSON.stringify(t):t;this.setCookieInBrowser(e,n,r)}else this.removeCachedCookie(e)}get(e){return this.getCookieFromBrowser(e)}remove(e){this.removeCachedCookie(e)}}class l{set(e,t,r){let n={value:t,lastModifiedAt:new Date().getTime()||0,expiryTime:r};void 0!==t?localStorage.setItem(e,JSON.stringify(n)):localStorage.removeItem(e)}get(e){let t=new Date().getTime()||0,r=(0,o.Gl)(localStorage.getItem(e));return r&&r.lastModifiedAt&&t-r.lastModifiedAt>+r.expiryTime&&(this.remove(e),r=void 0),r&&r.value}remove(e){localStorage.removeItem(e)}}class c{static init(e){n=e&&(0,i.z)().localStorage?new l:new u}static set(e,t,r){n.set(e,t,r||3e5)}static get(e){let t=n.get(e),r=t?(0,o.Gl)(t):{};return"undefined"===t&&(t=void 0),t&&r?r:t}static remove(e){n.remove(e)}}let d=c},49077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},forbidden:function(){return u.forbidden},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return u.unauthorized},unstable_isUnrecognizedActionError:function(){return c.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return u.unstable_rethrow},useParams:function(){return m},usePathname:function(){return p},useRouter:function(){return h},useSearchParams:function(){return f},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return y},useServerInsertedHTML:function(){return l.useServerInsertedHTML}});let n=r(14232),i=r(21965),o=r(40760),a=r(13182),s=r(79853),u=r(83
92044),l=r(40302),c=r(53966),d=void 0;function f(){let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e])}function p(){return null==d||d("usePathname()"),(0,n.useContext)(o.PathnameContext)}function h(){let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function m(){return null==d||d("useParams()"),(0,n.useContext)(o.PathParamsContext)}function y(e){void 0===e&&(e="children"),null==d||d("useSelectedLayoutSegments()");let t=(0,n.useContext)(i.LayoutRouterContext);return t?function e(t,r,n,i){let o;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)o=t[1][r];else{var u;let e=t[1];o=null!=(u=e.children)?u:Object.values(e)[0]}if(!o)return i;let l=o[0],c=(0,a.getSegmentValue)(l);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?i:(i.push(c),e(o,r,!1,i))}(t.parentTree,e):null}function v(e){void 0===e&&(e="children"),null==d||d("useSelectedLayoutSegment()");let t=y(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49161:function(e,t,r){"use strict";var n,i,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendErrorEvent=t.createComponentInstance=t.addServerComponentPreviewHandler=t.addComponentPreviewHandler=t.DesignLibraryPreviewError=void 0,t.buildComponentDependencies=d,t.addStyleElement=f,t.getDesignLibraryErrorEvent=p,t.getDesignLibraryComponentPropsEvent=function(e,t={},r={}){return{name:"component:generation:component-props",message:{uid:e,fields:t,parameters:r}}},t.getDesignLibraryImportMapEvent=function(e,t){return{name:"component:generation:import-map",message:{uid:e,importMap:m(t)?t:h(t)}}},t.getImportMapInfo=h,t.isImportEntryInfoArray=m,t.fetchGeneratedComponentFromCache=y;let a=r(84429),s=r(849),u=r(34561),l=o(r(3107)),c="component:generation:component-preview";function d(e,t){let r=[],n={modules:[],exports:[]};return e.forEach(e=>{let i=t.find(t=>t.module===e.module);if(!i)return void n.modules.push({module:e.module,alias:e.alias});let o=i.exports.find(t=>t.name===e.export);return o?r.push({name:e.alias,value:o.value}):void n.exports.push({alias:e.alias,export:e.export,module:e.module})}),{successful:r,missing:n}}function f(e){let t="content-sdk-style-preview",r=document.getElementById(t);r&&r.remove();let n=document.createElement("style");n.setAttribute("id",t),n.innerHTML=e,document.head.appendChild(n)}function p(e,t,r){switch(r){case i.Render:case i.RenderInit:return{name:"component:generation:component-preview-error",message:{uid:e,error:t,type:r}};default:return{name:"component:generation:error",message:{uid:e,error:t,type:r}}}}function h(e){return e.map(e=>({module:e.module,exports:e.exports.map(e=>e.name)}))}function m(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0].module&&Array.isArray(e[0].exports)&&"string"==typeof e[0].exports[0]}async function y(e,t,r=s.SITECORE_EDGE_URL_DEFAULT){let n=new a.NativeDataFetcher({debugger:l.default.editing}),i=await n.fetch(`${r}/authoring/api/v1/components/cache/${e}`,{method:"GET",headers:{Authorization:`Bearer ${t}`}});if(200!==i.status)throw Error(`Failed to fetch generated component data from cache for id: ${e}. Response Status: ${i.status}, Response Status Text: ${i.statusText}`);return JSON.parse(i.data.content)}(n=i||(t.DesignLibraryPreviewError=i={})).Render="render",n.RenderInit="render-init",n.ImportMapMissing="import-map-missing",n.ImportMapLoad="import-map-load-error",n.GeneratedComponentFetch="generated-component-fetch-error",t.addComponentPreviewHandler=(e,r)=>{if(!window)return;let n=n=>{let o=n.data;try{if(!(0,u.validateEvent)(n,c))return;console.debug("Component Library: message received",o);let i=(0,t.createComponentInstance)(e,o.message);f(o.message.styles.content),r(null,i)}catch(e){(0,t.sendErrorEvent)(o.message.uid,e,i.RenderInit),r(e,null)}};
92return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},t.addServerComponentPreviewHandler=e=>{let t=t=>{(0,u.validateEvent)(t,c)&&(console.debug("Component Library: message received",t.data),e(t.data))};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},t.createComponentInstance=(e,t)=>{let r=d(t.imports,e);if(r.missing.modules.length>0||r.missing.exports.length>0){let e="";throw r.missing.modules.forEach(t=>{e+=`Missing module: '${t.module}' with alias: '${t.alias}'
93`}),r.missing.exports.forEach(t=>{let r=t.export!==t.alias?` with alias: '${t.alias}'`:"";e+=`Missing export: '${t.export}' from module: '${t.module}'${r}
94`}),e}let n=r.successful.map(e=>e.name),i=r.successful.map(e=>e.value),o={Component:null};return Function("exports",t.styles.styleImport.name,...n,t.code.content)(o,t.styles.styleImport.content,...i),o.Component},t.sendErrorEvent=(e,t,r)=>{let n=p(e,t,r);console.error("Component Library: sending error event",n),"undefined"!=typeof window&&(window.parent&&window.parent!==window?window.parent:window).postMessage(n,"*")}},49218:(e,t,r)=>{"use strict";var n;r.d(t,{A:()=>i}),function(e){e.LOAD="core/LOAD",e.UNLOAD="core/UNLOAD",e.REQUEST="core/REQUEST",e.REQUEST_SUCCESS="core/REQUEST_SUCCESS",e.REQUEST_FAIL="core/REQUEST_FAIL",e.REQUEST_CANCELED="core/REQUEST_CANCELED",e.WIDGET_DATA_REQUEST="core/WIDGET_DATA_REQUEST",e.WIDGET_DATA_REQUEST_SUCCESS="core/WIDGET_DATA_REQUEST_SUCCESS",e.WIDGET_DATA_REQUEST_FAIL="core/WIDGET_DATA_REQUEST_FAIL",e.WIDGET_DATA_REQUEST_CANCELED="core/WIDGET_DATA_REQUEST_CANCELED",e.WIDGET_STATE_CHANGED="core/WIDGET_STATE_CHANGED",e.WIDGET_APPEAR="core/WIDGET_APPEAR",e.PAGE_CONTAINER_READY="core/PAGE_CONTAINER_READY",e.WIDGET_READY="core/WIDGET_READY",e.INITIALIZE="core/INITIALIZE",e.INITIALIZED="core/INITIALIZED",e.RESET_WIDGET="core/RESET_WIDGET",e.PAGE_CONTEXT_CHANGED="core/PAGE_CONTEXT_CHANGED",e.OC_CONTEXT_CHANGED="core/OC_CONTEXT_CHANGED",e.FOUND_WIDGETS="core/FOUND_WIDGETS",e.ADD_TO_CART="core/interaction/ADD_TO_CART",e.ORDER_CONFIRM="core/interaction/ORDER_CONFIRM",e.USER_LOGIN="core/interaction/USER_LOGIN",e.ADD_TO_WISHLIST="core/interaction/ADD_TO_WISHLIST",e.CART_STATUS="core/interaction/CART_STATUS",e.ITEM_CLICKED="core/interaction/ITEM_CLICKED",e.PAGE_WIDGETS_DATA_REQUEST="core/PAGE_WIDGETS_DATA_REQUEST",e.PAGE_WIDGETS_DATA_REQUEST_SUCCESS="core/PAGE_WIDGETS_DATA_REQUEST_SUCCESS",e.PAGE_WIDGETS_DATA_REQUEST_FAIL="core/PAGE_WIDGETS_DATA_REQUEST_FAIL",e.PAGE_WIDGETS_DATA_REQUEST_CANCELED="core/PAGE_WIDGETS_DATA_REQUEST_CANCELED"}(n||(n={}));let i=n},49308:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t){return e instanceof t}},49794:(e,t)=>{"use strict";var r,n=Object.prototype.hasOwnProperty;function i(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){var i,a,s=[];for(a in"string"!=typeof(t=t||"")&&(t="?"),e)if(n.call(e,a)){if(!(i=e[a])&&(null===i||i===r||isNaN(i))&&(i=""),a=o(a),i=o(i),null===a||null===i)continue;s.push(a+"="+i)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,n={};t=r.exec(e);){var o=i(t[1]),a=i(t[2]);null===o||null===a||o in n||(n[o]=a)}return n}},49969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCookieString=void 0,t.createCookieString=function(e,t,r){let n=`${e}=${t};`;return n+=` Max-Age=${r.maxAge}; SameSite=${r.sameSite};`,n+=r.secure?" Secure;":"",n+=r.path?` Path=${r.path};`:"",n+=r.domain?` Domain=${r.domain};`:"",n=n.substring(0,n.length-1)}},50131:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(76293);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,n.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,l=e.indexOf("#");-1!==l&&(s=e.substr(l),u=e.substr(0,l));var c=-1===u.indexOf("?")?"?":"&";return{newURI:u+c+r.join("&")+s}}},50316:(e,t,r)=>{"use strict";var n;r.d(t,{b:()=>n}),function(e){e.RECOMMENDATION="recommendation",e.PREVIEW_SEARCH="preview_search",e.SEARCH_RESULTS="content_grid",e.CONTENT_BLOCK="content_block",e.QUESTIONS="questions_answers",e.HTML_BLOCK="html_block",e.BANNER="banner",e.SEO="seo"}(n=n||(n={}))},50848:(e,t,r)=>{"use strict";e.exports=r(33576)},51024:(e,t,r)=>{"use strict";
94Object.defineProperty(t,"__esModule",{value:!0}),t.PackageInitializerServer=void 0;let n=r(27941);class i{constructor(e){this._sideEffects=e.sideEffects,this._settings=e.settings,this._dependencies=e.dependencies??[]}checkDependencies(){this._dependencies.forEach(e=>{let t=e.name.split("/")[1];if(!(0,n.getEnabledPackage)(e.name))throw Error(`[IE-0021] - This functionality also requires the "${t}" package. Import "${e.name}/server", then run ".${e.method}()" on "CloudSDK", before ".initialize()"`)})}async exec(){this.checkDependencies(),await this._sideEffects()}get settings(){return this._settings}}t.PackageInitializerServer=i},51186:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientComponentWrapper=void 0;let i=r(58252),o=r(14232),a=n(r(14232)),s=r(94082),u=r(74412);t.ClientComponentWrapper=e=>{let{page:t}=(0,s.useSitecore)(),r=(0,o.useContext)(i.ComponentMapReactContext),n=Object.assign(Object.assign({},e.componentProps),{rendering:e.rendering,componentMap:r,page:t}),{component:l}=(0,u.getComponentForRendering)(e.rendering,e.placeholderName,r);return a.default.createElement(l,Object.assign({},n))}},51271:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibraryServerPreview=t.DesignLibraryServerVariantGeneration=t.DesignLibraryServer=t.__mockDependencies=void 0;let u=s(r(14232)),l=r(85917),c=r(24098),d=a(r(9922)),f=r(46395),p=a(r(78565)),h=r(9737),m=r(26908),y=r(12963),{getCacheAndClean:v,hasCache:g}=d,{createComponentInstance:b,getImportMapInfo:E}=p,_=f.updateComponent;t.__mockDependencies=async e=>{v=e.getCacheAndClean,g=e.hasCache,b=e.createComponentInstance,e.updateComponent&&(_=e.updateComponent),e.getImportMapInfo&&(E=e.getImportMapInfo)};let O=async({page:e,componentMap:r,rendering:n,loadServerImportMap:i})=>{var o;return e.mode.isDesignLibrary?(null==(o=e.mode.designLibrary)?void 0:o.isVariantGeneration)?u.default.createElement(t.DesignLibraryServerVariantGeneration,{page:e,rendering:n,loadServerImportMap:i,componentMap:r}):u.default.createElement(t.DesignLibraryServerPreview,{page:e,rendering:n,componentMap:r}):null};t.DesignLibraryServer=O,t.DesignLibraryServerVariantGeneration=async({page:e,rendering:t,loadServerImportMap:r,componentMap:n})=>{var i,o;let a,s,d,O,w,S=f.DesignLibraryStatus.READY,C=(e,t)=>({type:e,message:t instanceof Error?t.message:String(t)});if(r)try{a=(await r()).default,s=E(a)}catch(e){O=C(p.DesignLibraryPreviewError.ImportMapLoad,`Error loading import map: ${e}`)}else O=C(p.DesignLibraryPreviewError.ImportMapMissing,"No loadImportMap provided");let T=null==(o=null==(i=null==t?void 0:t.placeholders)?void 0:i[l.EDITING_COMPONENT_PLACEHOLDER])?void 0:o[0];if(!T)return u.default.createElement(y.ErrorComponent,{message:"Rendering data is missing"});if(!T.uid)return u.default.createElement(y.ErrorComponent,{message:"Rendering UID is missing in the rendering data"});let R=T.uid,P=`${f.COMPONENT_UPDATE_CACHE_KEY_PREFIX}${R}`,A=`${f.COMPONENT_PREVIEW_CACHE_KEY_PREFIX}${R}`;if(g(P)){S=f.DesignLibraryStatus.RENDERED;let e=v(P);if((null==e?void 0:e.rendering)&&_(T,e.rendering.fields,e.rendering.params),(null==e?void 0:e.generatedComponentData)&&!O&&a){w=e.generatedComponentData;try{d=b(a,e.generatedComponentData)}catch(e){O=C(p.DesignLibraryPreviewError.RenderInit,e)}}}else if(g(A)&&!O&&a){S=f.DesignLibraryStatus.RENDERED;let e=v(A);if((null==e?void 0:e.error)&&(O=C(p.DesignLibraryPreviewError.GeneratedComponentFetch,e.error)),null==e?void 0:e.generatedComponentData){w=e.generatedComponentData;try{d=b(a,e.generatedComponentData)}catch(e){O=C(p.DesignLibraryPreviewError.RenderInit,e)}}}return u.default.createElement(u.default.Fragment,null,d?u.default.createElement(m.De
94signLibraryErrorBoundary,{uid:T.uid},u.default.createElement(h.PlaceholderMetadata,{rendering:T},u.default.createElement(d,{fields:T.fields,params:T.params,key:Date.now()}))):u.default.createElement(h.AppPlaceholder,{name:l.EDITING_COMPONENT_PLACEHOLDER,page:e,rendering:t,componentMap:n,key:Date.now()}),u.default.createElement(c.DesignLibraryVariantGenerationEvents,{designLibraryStatus:S,importMap:s,component:Object.assign({},T),componentInitError:O,generatedComponentData:w}))},t.DesignLibraryServerPreview=async({page:e,rendering:t,componentMap:r})=>{var n,i;let o=f.DesignLibraryStatus.READY,a=null==(i=null==(n=null==t?void 0:t.placeholders)?void 0:n[l.EDITING_COMPONENT_PLACEHOLDER])?void 0:i[0];if(!a)return u.default.createElement(y.ErrorComponent,{message:"Rendering data is missing"});if(!a.uid)return u.default.createElement(y.ErrorComponent,{message:"Rendering UID is missing in the rendering data"});let s=`${f.COMPONENT_UPDATE_CACHE_KEY_PREFIX}${a.uid}`;if(g(s)){o=f.DesignLibraryStatus.RENDERED;let e=v(s);(null==e?void 0:e.rendering)&&_(a,e.rendering.fields,e.rendering.params)}return u.default.createElement(u.default.Fragment,null,u.default.createElement(h.AppPlaceholder,{name:l.EDITING_COMPONENT_PLACEHOLDER,page:e,rendering:t,componentMap:r,key:Date.now()}),u.default.createElement(c.DesignLibraryPreviewEvents,{designLibraryStatus:o,component:Object.assign({},a)}))}},52035:(e,t,r)=>{e.exports=r(4101)},52076:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}r.d(t,{A:()=>n})},52094:function(e,t,r){"use strict";var n,i,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorMessages=t.X_CLIENT_SOFTWARE_ID=t.PACKAGE_INITIALIZER_METHOD_NAME=t.PACKAGE_NAME=t.PACKAGE_VERSION=t.EVENTS_NAMESPACE=void 0;let a=o(r(43303));r(65036),t.EVENTS_NAMESPACE="sitecore-cloudsdk:events",t.PACKAGE_VERSION=a.default.version,t.PACKAGE_NAME=a.default.name,t.PACKAGE_INITIALIZER_METHOD_NAME="addEvents",t.X_CLIENT_SOFTWARE_ID=`${t.PACKAGE_NAME} ${t.PACKAGE_VERSION}`,(n=i||(t.ErrorMessages=i={})).IE_0001='[IE-0001] You are trying to run a browser-side function on the server side. On the server side, run the server-side equivalent of the function, available in "server" modules.',n.IE_0014='[IE-0014] You must first initialize the Cloud SDK and the "events" package. First, import "CloudSDK" from "@sitecore-cloudsdk/core/browser" and import "@sitecore-cloudsdk/events/browser". Then, run "CloudSDK().addEvents().initialize()".',n.IE_0015='[IE-0015] You must first initialize the Cloud SDK and the "events" package. First, import "CloudSDK" from "@sitecore-cloudsdk/core/server" and import "@sitecore-cloudsdk/events/server". Then, run "await CloudSDK().addEvents().initialize()".',n.IV_0002='[IV-0002] Incorrect value for "dob". Format the value according to ISO 8601.',n.IV_0003='[IV-0003] Incorrect value for "email". Set the value to a valid email address.',n.IV_0004='[IV-0004] Incorrect value for "expiryDate". Format the value according to ISO 8601.',n.IV_0005='[IV-0005] "extensionData" supports maximum 50 attributes. Reduce the number of attributes.',n.MV_0003='[MV-0003] "identifiers" is required.'},52612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultCookieAttributes=void 0;let n=r(10768);t.getDefaultCookieAttributes=function(e=n.DEFAULT_COOKIE_EXPIRY_DAYS,t){return{domain:t,maxAge:e*n.DAILY_SECONDS,path:"/",sameSite:"None",secure:!0}}},52782:(e,t,r)=>{var n=r(88046),i=r(98825),o=r(76014),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):s.test(e)?a:+e}},52795:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,a=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+a+(n.startsWith("/_next/static/media/"),"")}
94Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},52820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditingScripts=t.withEmptyFieldEditingComponent=t.withFieldMetadata=t.withDatasourceCheck=t.withPlaceholder=t.withEditorChromes=t.useSitecore=t.withSitecore=t.SitecoreProviderReactContext=t.SitecoreProvider=t.File=t.Link=t.DesignLibraryApp=t.DesignLibrary=t.BYOCServerWrapper=t.FEaaSServerWrapper=t.FEaaSClientWrapper=t.FEaaSWrapper=t.BYOCClientWrapper=t.BYOCWrapper=t.fetchBYOCComponentServerProps=t.BYOCComponent=t.fetchFEaaSComponentServerProps=t.FEaaSComponent=t.DateField=t.Text=t.RichText=t.Image=t.AppPlaceholder=t.Placeholder=t.Form=t.mediaApi=t.ErrorPage=t.GraphQLRequestClient=t.DefaultRetryStrategy=t.DictionaryService=t.EditMode=t.getFieldValue=t.getChildPlaceholder=t.LayoutService=t.LayoutServicePageState=t.getDesignLibraryStylesheetLinks=t.getContentStylesheetLink=t.resetEditorChromes=t.isEditorActive=t.NativeDataFetcher=t.MemoryCacheClient=t.ClientError=t.enableDebug=t.constants=void 0,t.SitePathService=t.ClientEditingChromesUpdate=t.DefaultEmptyFieldEditingComponentImage=t.DefaultEmptyFieldEditingComponentText=void 0;var n=r(72276);Object.defineProperty(t,"constants",{enumerable:!0,get:function(){return n.constants}}),Object.defineProperty(t,"enableDebug",{enumerable:!0,get:function(){return n.enableDebug}}),Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return n.ClientError}}),Object.defineProperty(t,"MemoryCacheClient",{enumerable:!0,get:function(){return n.MemoryCacheClient}}),Object.defineProperty(t,"NativeDataFetcher",{enumerable:!0,get:function(){return n.NativeDataFetcher}});var i=r(46395);Object.defineProperty(t,"isEditorActive",{enumerable:!0,get:function(){return i.isEditorActive}}),Object.defineProperty(t,"resetEditorChromes",{enumerable:!0,get:function(){return i.resetEditorChromes}});var o=r(85917);Object.defineProperty(t,"getContentStylesheetLink",{enumerable:!0,get:function(){return o.getContentStylesheetLink}}),Object.defineProperty(t,"getDesignLibraryStylesheetLinks",{enumerable:!0,get:function(){return o.getDesignLibraryStylesheetLinks}}),Object.defineProperty(t,"LayoutServicePageState",{enumerable:!0,get:function(){return o.LayoutServicePageState}}),Object.defineProperty(t,"LayoutService",{enumerable:!0,get:function(){return o.LayoutService}}),Object.defineProperty(t,"getChildPlaceholder",{enumerable:!0,get:function(){return o.getChildPlaceholder}}),Object.defineProperty(t,"getFieldValue",{enumerable:!0,get:function(){return o.getFieldValue}}),Object.defineProperty(t,"EditMode",{enumerable:!0,get:function(){return o.EditMode}});var a=r(11643);Object.defineProperty(t,"DictionaryService",{enumerable:!0,get:function(){return a.DictionaryService}});var s=r(83308);Object.defineProperty(t,"DefaultRetryStrategy",{enumerable:!0,get:function(){return s.DefaultRetryStrategy}}),Object.defineProperty(t,"GraphQLRequestClient",{enumerable:!0,get:function(){return s.GraphQLRequestClient}}),Object.defineProperty(t,"ErrorPage",{enumerable:!0,get:function(){return s.ErrorPage}});var u=r(1291);Object.defineProperty(t,"mediaApi",{enumerable:!0,get:function(){return u.mediaApi}});var l=r(47271);Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return l.Form}});var c=r(9737);Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return c.Placeholder}}),Object.defineProperty(t,"AppPlaceholder",{enumerable:!0,get:function(){return c.AppPlaceholder}});var d=r(41286);Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return d.Image}});var f=r(77468);Object.defineProperty(t,"RichText",{enumerable:!0,get:function(){return f.RichText}});var p=r(5378);Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return p.Text}});var h=r(64045);Object.defineProperty(t,"DateField",{enumerable:!0,get:function(){return h.DateField}});var m=r(85512);Object.defineProperty(t,"FEaaSComponent",{enumerable:!0,get:function(){return m.FEaaSComponent}}),Object.defineProperty(t,"fetchFEaaSComponentServerProps",{enumerable:!0,get:function(){return m.fetchFEaaSComponentServerProps}}),Object.defineProperty(t,"BYOCComponent",{enumerable:!0,get:function(){return m.BYOCComponent}}),Object.defineProperty(t,"fetchBYOCComponentServerProps",{enumerable:!0,get:function(){return m.fetchBYOCComponentServerProps}}),Object.defineProperty(t,"BYOCWrapper",{enumerable:!0,get:function(){return m.BYOCWrapper}}),Object.defineProperty(t,"BYOCClientWrapper",{enumerable:!0,get:function(){return m.BYOCWrapper}}),Object.defineProperty(t,"FEaaSWrapper",{enumerable:!0,get:function(){return m.FEaaSWrapper}}),Object.defineProperty(t,"FEaaSClientWrapper",{enumerable:!0,get:function(){return m.FEaaSWrapper}}),Object.defineProperty(t,"FEaaSServerWrapper",{enumerable:!0,get:function(){return m.FEaaSServerWrapper}}),Object.defineProperty(t,"BYOCServerWrapper",{enumerable:!0,get:function(){return m.BYOCServerWrapper}});var y=r(90373);Object.defineProperty(t,"DesignLibrary",{enumerable:!0,get:function(){return y.DesignLibrary}}),Object.defineProperty(t,"DesignLibraryApp",{enumerable:!0,get:function(){return y.DesignLibraryApp}});var v=r(77181);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return v.Link}});
94var g=r(85107);Object.defineProperty(t,"File",{enumerable:!0,get:function(){return g.File}});var b=r(58252);Object.defineProperty(t,"SitecoreProvider",{enumerable:!0,get:function(){return b.SitecoreProvider}}),Object.defineProperty(t,"SitecoreProviderReactContext",{enumerable:!0,get:function(){return b.SitecoreProviderReactContext}});var E=r(94082);Object.defineProperty(t,"withSitecore",{enumerable:!0,get:function(){return E.withSitecore}}),Object.defineProperty(t,"useSitecore",{enumerable:!0,get:function(){return E.useSitecore}});var _=r(16550);Object.defineProperty(t,"withEditorChromes",{enumerable:!0,get:function(){return _.withEditorChromes}});var O=r(69063);Object.defineProperty(t,"withPlaceholder",{enumerable:!0,get:function(){return O.withPlaceholder}});var w=r(93217);Object.defineProperty(t,"withDatasourceCheck",{enumerable:!0,get:function(){return w.withDatasourceCheck}});var S=r(80323);Object.defineProperty(t,"withFieldMetadata",{enumerable:!0,get:function(){return S.withFieldMetadata}});var C=r(98646);Object.defineProperty(t,"withEmptyFieldEditingComponent",{enumerable:!0,get:function(){return C.withEmptyFieldEditingComponent}});var T=r(94053);Object.defineProperty(t,"EditingScripts",{enumerable:!0,get:function(){return T.EditingScripts}});var R=r(27015);Object.defineProperty(t,"DefaultEmptyFieldEditingComponentText",{enumerable:!0,get:function(){return R.DefaultEmptyFieldEditingComponentText}}),Object.defineProperty(t,"DefaultEmptyFieldEditingComponentImage",{enumerable:!0,get:function(){return R.DefaultEmptyFieldEditingComponentImage}});var P=r(4216);Object.defineProperty(t,"ClientEditingChromesUpdate",{enumerable:!0,get:function(){return P.ClientEditingChromesUpdate}});var A=r(52892);Object.defineProperty(t,"SitePathService",{enumerable:!0,get:function(){return A.SitePathService}})},52892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteResolver=t.SITE_KEY=t.SITE_PREFIX=t.normalizeSiteRewrite=t.getSiteRewriteData=t.getSiteRewrite=t.SitePathService=t.SiteInfoService=t.ErrorPagesService=t.SitemapXmlService=t.RedirectsService=t.REDIRECT_TYPE_SERVER_TRANSFER=t.REDIRECT_TYPE_302=t.REDIRECT_TYPE_301=t.RobotsService=void 0;var n=r(60931);Object.defineProperty(t,"RobotsService",{enumerable:!0,get:function(){return n.RobotsService}});var i=r(3843);Object.defineProperty(t,"REDIRECT_TYPE_301",{enumerable:!0,get:function(){return i.REDIRECT_TYPE_301}}),Object.defineProperty(t,"REDIRECT_TYPE_302",{enumerable:!0,get:function(){return i.REDIRECT_TYPE_302}}),Object.defineProperty(t,"REDIRECT_TYPE_SERVER_TRANSFER",{enumerable:!0,get:function(){return i.REDIRECT_TYPE_SERVER_TRANSFER}}),Object.defineProperty(t,"RedirectsService",{enumerable:!0,get:function(){return i.RedirectsService}});var o=r(34085);Object.defineProperty(t,"SitemapXmlService",{enumerable:!0,get:function(){return o.SitemapXmlService}});var a=r(36277);Object.defineProperty(t,"ErrorPagesService",{enumerable:!0,get:function(){return a.ErrorPagesService}});var s=r(55845);Object.defineProperty(t,"SiteInfoService",{enumerable:!0,get:function(){return s.SiteInfoService}});var u=r(26146);Object.defineProperty(t,"SitePathService",{enumerable:!0,get:function(){return u.SitePathService}});var l=r(26213);Object.defineProperty(t,"getSiteRewrite",{enumerable:!0,get:function(){return l.getSiteRewrite}}),Object.defineProperty(t,"getSiteRewriteData",{enumerable:!0,get:function(){return l.getSiteRewriteData}}),Object.defineProperty(t,"normalizeSiteRewrite",{enumerable:!0,get:function(){return l.normalizeSiteRewrite}}),Object.defineProperty(t,"SITE_PREFIX",{enumerable:!0,get:function(){return l.SITE_PREFIX}}),Object.defineProperty(t,"SITE_KEY",{enumerable:!0,get:function(){return l.SITE_KEY}});var c=r(41068);Object.defineProperty(t,"SiteResolver",{enumerable:!0,get:function(){return c.SiteResolver}})},53282:(e,t,r)=>{"use strict";r.d(t,{G:()=>i,n:()=>o});var n=r(14232);let i=e=>n.createElement(e.tag||"span",Object.assign(Object.assign({},e),{suppressHydrationWarning:!0}),"[No text in field]"),o=e=>n.createElement("img",Object.assign({},e,{suppressContentEditableWarning:!0,alt:"",src:'data:image/svg+xml,%3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 240 240" style="enable-background:new 0 0 240 240;" xml:space="preserve"%3E%3Cstyle type="text/css"%3E .st0%7Bfill:none;%7D .st1%7Bfill:%23969696;%7D .st2%7Bfill:%23FFFFFF;%7D .st3%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.75;stroke-miterlimit:10;%7D%0A%3C/style%3E%3Cg%3E%3Crect class="st0" width="240" height="240"/%3E%3Cg%3E%3Cg%3E%3Crect x="20" y="20" class="st1" width="200" height="200"/%3E%3C/g%3E%3Cg%3E%3Ccircle class="st2" cx="174" cy="67" r="14"/%3E%3Cpath class="st2" d="M174,54c7.17,0,13,5.83,13,13s-5.83,13-13,13s-13-5.83-13-13S166.83,54,174,54 M174,52 c-8.28,0-15,6.72-15,15s6.72,15,15,15s15-6.72,15-15S182.28,52,174,52L174,52z"/%3E%3C/g%3E%3Cpolyline class="st3" points="29.5,179.25 81.32,122.25 95.41,137.75 137.23,91.75 209.5,179.75 "/%3E%3C/g%3E%3C/g%3E%3C/svg%3E',className:`scEmptyImage ${e.className||""}`,style:{minWidth:"48px",minHeight:"48px",maxWidth:"400px",maxHeight:"400px",cursor:"pointer"}}))},53378:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})};
94Object.defineProperty(t,"__esModule",{value:!0}),t.getComponentServerProps=void 0;let i=r(52820);t.getComponentServerProps=e=>n(void 0,void 0,void 0,function*(){let t=e.params||{};return yield(0,i.fetchBYOCComponentServerProps)(t)}),t.default=i.BYOCWrapper},53459:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(52076),i=r(48084);function o(e){var t=e.prototype.toJSON;"function"==typeof t||(0,n.A)(0),e.prototype.inspect=t,i.A&&(e.prototype[i.A]=t)}},53507:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendScriptWithAttributes=void 0,t.appendScriptWithAttributes=function(e){let t=document.createElement("script");t.type="text/javascript",t.src=e.src,t.async=e.async,document.head.appendChild(t)}},53966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{UnrecognizedActionError:function(){return r},unstable_isUnrecognizedActionError:function(){return n}});class r extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function n(e){return!!(e&&"object"==typeof e&&e instanceof r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53975:(e,t,r)=>{"use strict";function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}r.d(t,{w:()=>n})},54226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=void 0;let n=r(10620),i=r(83917),o="ping",a="pong",s="complete";class u{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e,t,r){this._type=e,this._payload=t,this._id=r}get text(){let e={type:this.type};return null!=this.id&&void 0!=this.id&&(e.id=this.id),null!=this.payload&&void 0!=this.payload&&(e.payload=this.payload),JSON.stringify(e)}static parse(e,t){let{type:r,payload:n,id:i}=JSON.parse(e);return new u(r,t(n),i)}}class l{constructor(e,{onInit:t,onAcknowledged:r,onPing:n,onPong:l}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e,e.addEventListener("open",async r=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={},e.send(new u("connection_init",t?await t():null).text)}),e.addEventListener("close",e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e.addEventListener("error",e=>{console.error(e)}),e.addEventListener("message",t=>{try{let d=function(e,t=e=>e){return u.parse(e,t)}(t.data);switch(d.type){case"connection_ack":this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,r&&r(d.payload));return;case o:n?n(d.payload).then(t=>e.send(c(t).text)):e.send(c(null).text);return;case a:l&&l(d.payload);return}if(!this.socketState.acknowledged||void 0===d.id||null===d.id||!this.socketState.subscriptions[d.id])return;let{query:f,variables:p,subscriber:h}=this.socketState.subscriptions[d.id];switch(d.type){case"next":!d.payload.errors&&d.payload.data&&h.next&&h.next(d.payload.data),d.payload.errors&&h.error&&h.error(new i.ClientError({...d.payload,status:200},{query:f,variables:p}));return;case"error":h.error&&h.error(new i.ClientError({errors:d.payload,status:200},{query:f,variables:p}));return;case s:h.complete&&h.complete(),delete this.socketState.subscriptions[d.id];return}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e,t,r,n){let i=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[i]={query:e,variables:n,subscriber:r},this.socket.send(new u("subscribe",{query:e,operationName:t,variables:n},i).text),()=>{this.socket.send(new u(s,void 0,i).text),delete this.socketState.subscriptions[i]}}rawRequest(e,t){return new Promise((r,n)=>{let i;this.rawSubscribe(e,{next:(e,t)=>i={data:e,extensions:t},error:n,complete:()=>r(i)},t)})}request(e,t){return new Promise((r,n)=>{let i;this.subscribe(e,{next:e=>i=e,error:n,complete:()=>r(i)},t)})}subscribe(e,t,r){let{query:i,operationName:o}=(0,n.resolveRequestDocument)(e);return this.makeSubscribe(i,o,t,r)}rawSubscribe(e,t,r){return this.makeSubscribe(e,void 0,t,r)}ping(e){this.socket.send(new u(o,e,void 0).text)}close(){this.socket.close(1e3)}}function c(e){return new u(a,e,void 0)}l.PROTOCOL="graphql-transport-ws",t.GraphQLWebSocketClient=l},54235:function(e,t,r){"use strict";var n=r(99742),i=this&&this.__importDefault||function(e){return e&&e.__esMo
94dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeURLSearchParams=t.escapeNonSpecialQuestionMarks=t.areURLSearchParamsEqual=t.isRegexOrUrl=t.getEnforcedCorsHeaders=t.enforceCors=t.getAllowedOriginsFromEnv=t.isTimeoutError=t.isAbsoluteUrl=void 0,t.resolveUrl=function(e,t={}){if(!e)throw RangeError("url must be a non-empty string");if((0,o.default)()){let r=new URL(e);for(let e in t)({}).hasOwnProperty.call(t,e)&&r.searchParams.append(e,String(t[e]));return r.toString()}let r=Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t[e]))}`).join("&");return -1!==e.indexOf("?")?`${e}&${r}`:`${e}?${r}`};let o=i(r(12410));t.isAbsoluteUrl=e=>{if(!e)return!1;if("string"!=typeof e)throw TypeError("Expected a string");return/^[a-z][a-z0-9+.-]*:/.test(e)},t.isTimeoutError=e=>{var t;return(null==(t=e.response)?void 0:t.status)===408||"AbortError"===e.name};let a=e=>"^"+e.replace(/\//g,"\\/").replace(/\./g,"\\.").replace(/\*/g,".*")+"$";t.getAllowedOriginsFromEnv=()=>n.env.JSS_ALLOWED_ORIGINS?n.env.JSS_ALLOWED_ORIGINS.replace(" ","").split(","):[],t.enforceCors=(e,r,n)=>{if(!e.headers.origin)return!0;n=(0,t.getAllowedOriginsFromEnv)().concat(n||[]);let i=r.getHeader("Access-Control-Allow-Origin");i&&n.push(i);let o=e.headers.origin;return!!(o&&n.some(e=>o===e||new RegExp(a(e)).test(o)))&&(r.setHeader("Access-Control-Allow-Origin",o),r.setHeader("Access-Control-Allow-Methods","GET, POST, OPTIONS, DELETE, PUT, PATCH"),"OPTIONS"===e.method&&r.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization"),!0)},t.getEnforcedCorsHeaders=({requestMethod:e,headers:r,presetCorsHeader:n,allowedOrigins:i=[]})=>{let o=r.get?r.get("origin"):r.origin;if(!o)return{};if(i=(0,t.getAllowedOriginsFromEnv)().concat(i||[]),n&&i.push(n),o&&i.some(e=>o===e||new RegExp(a(e)).test(o))){let t={"Access-Control-Allow-Origin":o,"Access-Control-Allow-Methods":"GET, POST, OPTIONS, DELETE, PUT, PATCH","x-middleware-cache":"no-cache","Cache-Control":"no-store, must-revalidate"};return"OPTIONS"===e&&(t["Access-Control-Allow-Headers"]="Content-Type, Authorization"),t}return null},t.isRegexOrUrl=e=>(e=e.slice(0,-1),/^\/[a-zA-Z0-9\-\/]+(\?([a-zA-Z0-9\-_]+=[a-zA-Z0-9\-_]+)(&[a-zA-Z0-9\-_]+=[a-zA-Z0-9\-_]+)*)?$/.test(e))?"url":"regex",t.areURLSearchParamsEqual=(e,t)=>{let r=e=>[...e.entries()].sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}=${t}`).join("&");return r(e)===r(t)},t.escapeNonSpecialQuestionMarks=e=>e.startsWith("^")||e.endsWith("$")?e:e.replace(/\?/g,"\\?"),t.mergeURLSearchParams=(e,t)=>{let r=new URLSearchParams;for(let[t,n]of e.entries())r.set(t,n);for(let[e,n]of t.entries())r.set(e,n);return r.toString()}},54587:(e,t,r)=>{e.exports=r(59447)},54868:(e,t,r)=>{"use strict";r.d(t,{Nw:()=>u,ST:()=>a,YX:()=>s,bd:()=>l});var n=r(93957),i=r(35785),o=r(48131);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function u(e){return(0,n.U)(e)&&"payload"in e}function l(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}},54926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRawRequestExtendedArgs=t.parseRequestExtendedArgs=t.parseBatchRequestArgs=t.parseRawRequestArgs=t.parseRequestArgs=void 0,t.parseRequestArgs=(e,t,r)=>e.document?e:{document:e,variables:t,requestHeaders:r,signal:void 0},t.parseRawRequestArgs=(e,t,r)=>e.query?e:{query:e,variables:t,requestHeaders:r,signal:void 0},t.parseBatchRequestArgs=(e,t)=>e.documents?e:{documents:e,requestHeaders:t,signal:void 0},t.parseRequestExtendedArgs=(e,t,...r)=>
94{let[n,i]=r;return e.document?e:{url:e,document:t,variables:n,requestHeaders:i,signal:void 0}},t.parseRawRequestExtendedArgs=(e,t,...r)=>{let[n,i]=r;return e.query?e:{url:e,query:t,variables:n,requestHeaders:i,signal:void 0}}},54962:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},54989:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(46780).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomEvent=void 0;let n=r(31356),i=r(52094),o=r(29088),a=r(65036);class s extends o.BaseEvent{constructor(e){let{channel:t,currency:r,language:o,page:s,type:u,extensionData:l,searchData:c,...d}=e.eventData;super({channel:t,currency:r,language:o,page:s},e.id),this.extensionData={},this.sendEvent=e.sendEvent,this.settings=e.settings,this.customEventPayload={type:u,...d},l&&(this.extensionData=(0,n.flattenObject)({object:l}));let f=Object.entries(this.extensionData).length;if(f>a.MAX_EXT_ATTRIBUTES)throw Error(i.ErrorMessages.IV_0005);f>0&&(this.customEventPayload.ext=this.extensionData),c&&(this.customEventPayload.sc_search={data:c,metadata:{ut_api_version:"1.0"}})}async send(){let e=this.mapBaseEventPayload(),t=Object.assign({},this.customEventPayload,e);return await this.sendEvent(t,this.settings)}}t.CustomEvent=s},55541:(e,t,r)=>{var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};if(i.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i.iterable&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function d(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}}function f(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function p(e){var t=new FileReader,r=f(t);return t.readAsArrayBuffer(e),r}function h(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this.bodyUsed=this.bodyUsed,this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(i.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(i.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(i.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var t;i.arrayBuffer&&i.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=h(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))?this._bodyArrayBuffer=h(e):this._bodyText=e=Object.prototype.toString.call(e)}else this._noBody=!0,this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=d(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(i.blob)return this.blob().then(p);throw Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,i,o=d(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,r=f(t=new FileReader),i=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,i),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},i.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(e,t){e=s(e),t=u(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),l(e)},i.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var y=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(e,t){if(!(this instanceof v))throw TypeError('Please use the "new" operator, this DOM object c
94onstructor cannot be called as a function.');var r,i,o=(t=t||{}).body;if(e instanceof v){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new c(t.headers)),this.method=(i=(r=t.method||this.method||"GET").toUpperCase(),y.indexOf(i)>-1?i:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in n)return new AbortController().signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),("GET"===this.method||"HEAD"===this.method)&&("no-store"===t.cache||"no-cache"===t.cache)){var a=/([?&])_=[^&]*/;a.test(this.url)?this.url=this.url.replace(a,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function b(e,t){if(!(this instanceof b))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var E=[301,302,303,307,308];b.redirect=function(e,t){if(-1===E.indexOf(t))throw RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function _(e,r){return new Promise(function(o,a){var l=new v(e,r);if(l.signal&&l.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var d=new XMLHttpRequest;function f(){d.abort()}if(d.onload=function(){var e,t,r={statusText:d.statusText,headers:(e=d.getAllResponseHeaders()||"",t=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===l.url.indexOf("file://")&&(d.status<200||d.status>599)?r.status=200:r.status=d.status,r.url="responseURL"in d?d.responseURL:r.headers.get("X-Request-URL");var n="response"in d?d.response:d.responseText;setTimeout(function(){o(new b(n,r))},0)},d.onerror=function(){setTimeout(function(){a(TypeError("Network request failed"))},0)},d.ontimeout=function(){setTimeout(function(){a(TypeError("Network request timed out"))},0)},d.onabort=function(){setTimeout(function(){a(new t.DOMException("Aborted","AbortError"))},0)},d.open(l.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(l.url),!0),"include"===l.credentials?d.withCredentials=!0:"omit"===l.credentials&&(d.withCredentials=!1),"responseType"in d&&(i.blob?d.responseType="blob":i.arrayBuffer&&(d.responseType="arraybuffer")),r&&"object"==typeof r.headers&&!(r.headers instanceof c||n.Headers&&r.headers instanceof n.Headers)){var p=[];
94Object.getOwnPropertyNames(r.headers).forEach(function(e){p.push(s(e)),d.setRequestHeader(e,u(r.headers[e]))}),l.headers.forEach(function(e,t){-1===p.indexOf(t)&&d.setRequestHeader(t,e)})}else l.headers.forEach(function(e,t){d.setRequestHeader(t,e)});l.signal&&(l.signal.addEventListener("abort",f),d.onreadystatechange=function(){4===d.readyState&&l.signal.removeEventListener("abort",f)}),d.send(void 0===l._bodyInit?null:l._bodyInit)})}_.polyfill=!0,n.fetch||(n.fetch=_,n.Headers=c,n.Request=v,n.Response=b),t.Headers=c,t.Request=v,t.Response=b,t.fetch=_,Object.defineProperty(t,"__esModule",{value:!0})}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=n.fetch?n:i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},55771:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.getComponentServerProps=void 0;let i=r(52820);t.getComponentServerProps=(e,t)=>n(void 0,void 0,void 0,function*(){let r=e.params||{},n=!t.sitecore.context.pageState||t.sitecore.context.pageState===i.LayoutServicePageState.Normal;return yield(0,i.fetchFEaaSComponentServerProps)(r,n)}),t.default=i.FEaaSWrapper},55845:function(e,t,r){"use strict";var n=r(99742),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SiteInfoService=void 0;let o=i(r(3107)),a=r(862),s=`
95  query {
96    site {
97      siteInfoCollection {
98        name
99        hostName: hostname
100        language
101      }
102    }
103  }
104`;class u{constructor(e){this.config=e,this.graphQLClient=this.getGraphQLClient(),this.cache=this.getCacheClient()}get siteQuery(){return s}async fetchSiteInfo(e){var t,r;let i=this.cache.getCacheValue(this.getCacheKey());if(i)return i;if(n.env.SITECORE)return o.default.multisite("Skipping site information fetch (building on XM Cloud)"),[];let a=await this.graphQLClient.request(this.siteQuery,{},e),s=null==(r=null==(t=null==a?void 0:a.site)?void 0:t.siteInfoCollection)?void 0:r.reduce((e,t)=>("website"!==t.name&&e.push({name:t.name,hostName:t.hostName,language:t.language}),e),[]);return this.cache.setCacheValue(this.getCacheKey(),s),s}getCacheClient(){var e,t;return new a.MemoryCacheClient({cacheEnabled:null==(e=this.config.cacheEnabled)||e,cacheTimeout:null!=(t=this.config.cacheTimeout)?t:10})}getGraphQLClient(){if(!this.config.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.config.clientFactory({debugger:o.default.multisite})}getCacheKey(){return"siteinfo-service-cache"}}t.SiteInfoService=u},55893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cookieExists=void 0,t.cookieExists=function(e,t){return e.split("; ").some(e=>e.split("=")[0]===t)}},55982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowserId=void 0;let n=r(31356),i=r(23816);t.getBrowserId=function(){let e=(0,i.getCloudSDKSettings)();return(0,n.getCookieValueClientSide)(e.cookieSettings.name.browserId)}},56276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omit=void 0,t.omit=function(e,t){let r={...e};for(let e of t)delete r[e];return r}},56426:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MissingComponent=void 0;let i=n(r(14232));t.MissingComponent=e=>{let t=e.rendering&&e.rendering.componentName?e.rendering.componentName:"Unnamed Component";e.errorOverride||console.log(`Component props for unimplemented '${t}' component`,e);let r=e.errorOverride||"Content SDK component is missing React implementation. See the developer console for more information.";return i.default.createElement("div",{style:{background:"darkorange",outline:"5px solid orange",padding:"10px",color:"white",maxWidth:"500px"}},i.default.createElement("h2",null,t),i.default.createElement("p",null,r))},t.MissingComponent.displayName="MissingComponent"},57054:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(23913),i=r(80187),o=r(70875);let a=async(e,t,{index:r,items:a,...s})=>e?await (0,o.rd)(e,t,{actionCause:"entity",index:r,items:a,request:(0,i.d9)(s)}):void n.Vy.warn("trackEvent :::","Widget's rfkId mandatory field is empty"),s=async(e,t,{filters:r,...a})=>e?await (0,o.sF)(e,t,{...r?{filters:(0,i.iR)(r)}:{},request:(0,i.d9)(a)}):void n.Vy.warn("trackEvent :::","Widget's rfkId mandatory field is empty");var u=r(74019),l=r(40052),c=r(73911),d=r(79885),f=r(72680),p=r(28076),h=r(80942),m=r(70086),y=r(66884);let v=(e,t)=>
104{switch(t.type){case u.E.KEYPHRASE_CHANGED:{let{keyphrase:r}=t.payload;return{...e,keyphrase:r}}case u.E.SUGGESTION_ADDED:{let{suggestion:r,max:n=3}=t.payload;return{...e,suggestionsList:[...e.suggestionsList||[],{suggestion:r,max:n}]}}case u.E.SUGGESTION_REMOVED:{let{suggestion:r}=t.payload;return{...e,suggestionsList:(e.suggestionsList||[]).filter(({suggestion:e})=>e!==r)}}default:return e}},g=function(e){let{rfkId:t,entity:r,dispatch:n}=(0,l.A)(),i=(0,d.A)();i.isInitialized()||i.initialize(e||{});let{query:o,options:g,actions:b}=i,E=(0,m.A)(),_=(0,c.A)(o),O=(0,h.A)();return(0,p.A)(v,[]),(0,f.A)(e=>{switch(e.type){case u.E.ITEM_CLICKED:{let{id:r,index:n,entity:i,sourceId:s}=e.payload;a(t,i,{index:n,items:[{id:r,sourceId:s}],...(0,y.l)(o)});break}case u.E.KEYPHRASE_CHANGED:{let{keyphrase:t}=e.payload,r=o.getRequest();""!==t?r.setSearchQueryKeyphrase(t):r.resetSearchQueryKeyphrase();break}case u.E.SUGGESTION_CLICKED:{let{name:n,title:i,value:a,displayName:u,uri:l,modifiedKeyword:c}=e.payload;s(t,r,{filters:[{name:n,title:i,value:a,displayName:u,uri:l}],...(0,y.l)(o),modifiedKeyword:c});break}case u.E.SUGGESTION_ADDED:{let{suggestion:t,max:r=3}=e.payload;o.getRequest().resetSearchFilter().removeSearchSuggestion({name:t},({name:e})=>e===t).addSearchSuggestion({name:t,max:r});break}case u.E.SUGGESTION_REMOVED:{let{suggestion:t}=e.payload;o.getRequest().resetSearchFilter().removeSearchSuggestion({name:t},({name:e})=>e===t)}}},[t,o]),{widgetRef:O,rfkId:t,state:E,queryResult:_,actions:b,options:g,dispatch:n,query:o}}},57086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processEventQueue=void 0;let n=r(89814),i=r(16241);t.processEventQueue=async function(){await (0,n.awaitInit)(),i.eventQueue.sendAllEvents()}},57168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchBrowserIdFromEdgeProxy=void 0;let n=r(10768),i=r(31356),o=r(20454);t.fetchBrowserIdFromEdgeProxy=async function(e,t,r){let a,s={headers:{"X-Library-Version":n.LIBRARY_VERSION}},u=(0,o.constructGetBrowserIdUrl)(e,t);if(a=void 0!==r?await (0,i.fetchWithTimeout)(u,r,s).then(e=>e&&e.json()||null).catch(e=>{if(e.message===i.ErrorMessages.IV_0006||e.message===i.ErrorMessages.IE_0002)throw Error(e.message);return null}):await fetch(u,s).then(e=>e.json()).catch(()=>void 0),!a?.ref)throw Error(n.ErrorMessages.IE_0003);let{ref:l,customer_ref:c}=a;return{browserId:l,guestId:c}}},57486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGuestId=void 0;let n=r(31356),i=r(23816),o=r(44552);t.getGuestId=async function(){let e=(0,i.getCloudSDKSettings)(),t=(0,n.getCookieValueClientSide)(e.cookieSettings.name.browserId);return(0,o.fetchGuestIdFromEdgeProxy)(t,e.sitecoreEdgeContextId,e.sitecoreEdgeUrl)}},58162:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n,i=r(14232),o=r(81285),a=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,s,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}({defaultProp:t,onChange:r}),l=void 0!==e,c=l?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,n])}return[c,i.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else s(t)},[l,e,s,u])]}Symbol("RADIX:SYNC_STATE")},58252:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SitecoreProvider=t.ImportMapReactContext=t.ComponentMapReactContext=t.SitecoreProviderReactContext=void 0;let i=n(r(14232)),o=n(r(42059)),a=r(72276);t.SitecoreProviderReactContext=i.default.createContext({}),t.ComponentMapReactContext=i.default.createContext(new Map),t.ImportMapReactContext=i.default.createContext(void 0);class s extends i.default.Component{constructor(e){var t,r,n,i,o,s;super(e),this.setPage=e=>{this.setState({page:e})};let u=e.api;((null==(r=null==(t=e.api)?void 0:t.edge)?void 0:r.contextId)||(null==(i=null==(n=e.api)?void 0:n.edge)?void 0:i.clientContextId))&&!(null==(s=null==(o=e.api)?void 0:o.edge)?void 0:s.edgeUrl)&&(u=Object.assign(Object.assign({},e.api),{edge:Object.assign(Object.assign({},e.api.edge),{edgeUrl:a.constants.SITECORE_EDGE_URL_DEFAULT})})),this.state={page:e.page,setPage:this.setPage,api:u}}componentDidUpdate(e){if(!(0,o.default)(e.page,this.props.page))return void this.setPage(this.props.page)}render(){return i.default.createElement(t.ImportMapReactContext.Provider,{value:this.props.loadImportMap},i.default.createElement(t.ComponentMapReactContext.Provider,{value:this.props.componentMap},i.default.createElement(t.SitecoreProviderReactContext.Provider,{value:this.state},this.props.children)))}}t.SitecoreProvider=s,s.displayName="SitecoreProvider"},58287:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{A:()=>n})},58361:e=>{"use strict";e.exports={stdout:!1,stderr:!1}},58457:(e,t,r)=>{"use strict";r.d(t,{F:()=>o,M:()=>a});var n=r(14232),i=r(44825);function o(e){return function(t){return function(r){return n.createElement(i.w_.Consumer,null,i=>n.createElement(t,Object.assign({},r,{page:i.page,api:i.api,updatePage:e&&e.updatable&&i.setPage})))}}}function a(e){let t=n.useContext(i.w_),r=null==e?void 0:e.updatable;return{api:t.api,page:t.page,updatePage:r?t.setPage:void 0}}},58497:(e,t,r)=>{"use strict";
104Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return i}});let n=""+r(46780).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function i(){let e=Object.defineProperty(Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=n,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58610:(e,t,r)=>{"use strict";r.d(t,{M:()=>o});var n=r(14232),i=r(44825);function o(e){function t(t){let r=(0,n.useContext)(i.kb);return n.createElement(e,Object.assign({},t,{componentMap:t.componentMap||r}))}return t.displayName=`withComponentMap(${e.displayName||e.name||"Anonymous"})`,t}},58712:(e,t,r)=>{"use strict";r.d(t,{_V:()=>b,bL:()=>g});var n=r(37876),i=r(14232),o=r(91844),a=r(66326);let s="ArticleCard",u="ArticleCardImage",l="ArticleCardTitle",c="ArticleCardContent",d="ArticleCardId",[f,p]=(0,o.A)(s,[]),[h,m]=f(s),y=e=>{let{__scopeArticleCard:t,children:r,article:i,...o}=e;return(0,n.jsx)(h,{article:i,scope:t,children:(0,n.jsx)(a.sG.div,{...o,children:r})})};y.displayName=s;let v=i.forwardRef((e,t)=>{let{src:r,__scopeArticleCard:i,...o}=e,s=m(u,i);return(0,n.jsx)(a.sG.img,{src:r||s.article?.image_url,...o,ref:t})});v.displayName=u,i.forwardRef((e,t)=>{let{asTitle:r="h2",children:i,__scopeArticleCard:o,...s}=e,u=m(l,o),c=a.sG[r];return(0,n.jsx)(c,{...s,ref:t,children:i||u.article?.title})}).displayName=l,i.forwardRef((e,t)=>{let{children:r,__scopeArticleCard:i,...o}=e,{article:{id:s=""}={}}=m(d,i);return(0,n.jsx)(a.sG.div,{...o,ref:t,children:r||s})}).displayName=d,i.forwardRef((e,t)=>{let{children:r,__scopeArticleCard:i,...o}=e,s=m(c,i);return(0,n.jsx)(a.sG.div,{...o,ref:t,children:r||(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{})," ",s.article?.description," "]})})}).displayName=c,i.forwardRef((e,t)=>{let{children:r,__scopeArticleCard:i,...o}=e,s=m("ArticleCardSubtitle",i);return(0,n.jsx)(a.sG.div,{...o,ref:t,children:r||s.article?.subtitle})});let g=y,b=v},58851:(e,t,r)=>{"use strict";r.d(t,{A_:()=>u,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var u=s[a];if(v(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var l=0,c=i;l<c.length;l++){var u=c[l],d=e(t,(0,o.HQ)(u,n).selectionSet,n);if("string"==typeof d)return d}},Ii:()=>d,J:()=>c,Kc:()=>l,MB:()=>m,WU:()=>s,dt:()=>v,kd:()=>g,o5:()=>h,ue:()=>y});var n=r(36938),i=r(93957),o=r(68922),a=r(26828);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function l(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return c(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return c(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(123,t.value,r.kind)}function d(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return c(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),h(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export","nonreactive"],p=a.M,h=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(p(i),")")}var o=e;if(t){var a=p(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(p(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=p;return p=e,t}});function m(e,t){if(e.arguments&&e.arguments.length){var r={};
104return e.arguments.forEach(function(e){return c(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function v(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},59447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return s}});let n=r(64252),i=r(61925),o=r(14741),a=n._(r(52795));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},59501:function(e,t){(function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};e.CountUp=function(){function e(e,r,n){var i=this;this.endVal=r,this.options=n,this.version="2.10.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",autoAnimate:!1,autoAnimateDelay:200,autoAnimateOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(e){i.startTime||(i.startTime=e);var t=e-i.startTime;i.remaining=i.duration-t,i.useEasing?i.countDown?i.frameVal=i.startVal-i.easingFn(t,0,i.startVal-i.endVal,i.duration):i.frameVal=i.easingFn(t,i.startVal,i.endVal-i.startVal,i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(t/i.duration);var r=i.countDown?i.frameVal<i.endVal:i.frameVal>i.endVal;i.frameVal=r?i.endVal:i.frameVal,i.frameVal=Number(i.frameVal.toFixed(i.options.decimalPlaces)),i.printValue(i.frameVal),t<i.duration?i.rAF=requestAnimationFrame(i.count):null!==i.finalEndVal?i.update(i.finalEndVal):i.options.onCompleteCallback&&i.options.onCompleteCallback()},this.formatNumber=function(e){var t,r,n,o=(Math.abs(e).toFixed(i.options.decimalPlaces)+"").split(".");if(t=o[0],r=o.length>1?i.options.decimal+o[1]:"",i.options.useGrouping){n="";for(var a=3,s=0,u=0,l=t.length;u<l;++u)i.options.useIndianSeparators&&4===u&&(a=2,s=1),0!==u&&s%a==0&&(n=i.options.separator+n),s++,n=t[l-u-1]+n;t=n}return i.options.numerals&&i.options.numerals.length&&(t=t.replace(/[0-9]/g,function(e){return i.options.numerals[+e]}),r=r.replace(/[0-9]/g,function(e){return i.options.numerals[+e]})),(e<0?"-":"")+i.options.prefix+t+r+i.options.suffix},this.easeOutExpo=function(e,t,r,n){return r*(1-Math.pow(2,-10*e/n))*1024/1023+t},this.options=t(t({},this.defaults),n),this.options.enableScrollSpy&&(this.options.autoAnimate=!0),void 0!==this.options.scrollSpyDelay&&(this.options.autoAnimateDelay=this.options.scrollSpyDelay),this.options.scrollSpyOnce&&(this.options.autoAnimateOnce=!0),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.el="string"==typeof e?document.getElementById(e):e,r=null==r?this.parse(this.el.innerHTML):r,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(r),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined","undefined"!=typeof window&&this.options.autoAnimate&&(this.error||"undefined"==typeof IntersectionObserver?this.error?console.error(this.error,e):console.error("IntersectionObserver is not supported by this browser"):this.setupObserver())}return e.prototype.setupObserver=function(){var t=this,r=e.observedElements.get(this.el);r&&r.unobserve(),e.observedElements.set(this.el,this),this.observer=new IntersectionObserver(function(e){for(var r=0;r<e.length;r++){var n=e[r];n.isIntersecting&&t.paused&&!t.once?(t.paused=!1,t.autoAnimateTimeout=setTimeout(function(){return t.start()},t.options.autoAnimateDelay),t.options.autoAnimateOnce&&(t.once=!0,t.observer.disconnect())):n.isIntersecting||t.paused||(clearTimeout(t.autoAnimateTimeout),t.reset())}},{threshold:0}),this.observer.observe(this.el)},e.prototype.unobserve=function(){var t;clearTimeout(this.autoAnimateTimeout),null==(t=this.observer)||t.disconnect(),e.observedElements.delete(this.el)},e.prototype.onDestroy=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.unobserve(),this.options.onCompleteCallback=null,this.options.onStartCallback=null},e.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;if(this.countDown=this.startVal>e,Math.abs(e-this.startVal)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=e;var t=this.countDown?1:-1;
104this.endVal=e+t*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(e){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),e&&(this.options.onCompleteCallback=e),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.once=!1,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(e){var t;if(this.el){var r=this.formattingFn(e);(null==(t=this.options.plugin)?void 0:t.render)?this.options.plugin.render(this.el,r):"INPUT"===this.el.tagName?this.el.value=r:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=r:this.el.innerHTML=r}},e.prototype.ensureNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: ".concat(e),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e.prototype.parse=function(e){var t=function(e){return e.replace(/([.,'  ])/g,"\\$1")},r=t(this.options.separator),n=t(this.options.decimal);return parseFloat(e.replace(RegExp(r,"g"),"").replace(RegExp(n,"g"),"."))},e.observedElements=new WeakMap,e}()})(t)},59764:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,h:()=>s});var n=r(14232),i=r(58457);let o=e=>n.createElement("div",{className:"sc-content-sdk-placeholder-error"},e.message?e.message:e.children);class a extends n.Component{constructor(e){super(e),this.defaultErrorMessage="There was a problem loading this section.",this.defaultLoadingMessage="Loading component...",this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){var r,n;this.showErrorDetails()&&console.error(`An error occurred in component ${null==(r=this.props.rendering)?void 0:r.componentName} (${null==(n=this.props.rendering)?void 0:n.uid}): `),console.error({error:e,errorInfo:t})}isInDevMode(){return!1}showErrorDetails(){return this.isInDevMode()||this.props.page.mode.isEditing||this.props.page.mode.isPreview}render(){var e;if(this.state.error)if(this.props.errorComponent)return n.createElement(this.props.errorComponent,{error:this.state.error});else if(this.showErrorDetails())return n.createElement("div",null,n.createElement(o,null,"A rendering error occurred in component"," ",n.createElement("em",null,null==(e=this.props.rendering)?void 0:e.componentName),n.createElement("br",null),"Error: ",n.createElement("em",null,this.state.error.message||JSON.stringify(this.state.error))));else return n.createElement("div",null,n.createElement(o,{message:this.defaultErrorMessage}));return this.props.disableSuspense||this.props.isDynamic?this.props.children:n.createElement(n.Suspense,{fallback:n.createElement("h4",null,this.props.componentLoadingMessage||this.defaultLoadingMessage)},this.props.children)}}let s=(0,i.F)()(a)},60039:(e,t,r)=>{"use strict";function n(e,t,r){if(!e||!t)return r;let n=e[t];return n&&void 0!==n.value?n.value:e.fields&&e.fields[t]&&void 0!==e.fields[t].value?e.fields[t].value:r}function i(e,t){return e&&t&&e.placeholders&&e.placeholders[t]?e.placeholders[t]:[]}r.d(t,{GR:()=>n,JE:()=>s,Np:()=>a,WE:()=>i,jz:()=>o});let o=e=>RegExp(`^${e.replace(/\{\*\}+/i,"\\d+")}$`),a=e=>-1!==e.indexOf("{*}");function s(e){if(!e)return!0;let t=e=>"string"==typeof e?"0001-01-01T00:00:00Z"===e:!("function"==typeof(null==e?void 0:e.getMonth)&&!isNaN(null==e?void 0:e.getMonth())),r=e=>null==e||("object"==typeof e?!e.src&&!e.src&&!e.href&&t(e):"number"!=typeof e&&"boolean"!=typeof e&&(!e||t(e)));return r(void 0!==e.value?e.value:e)}},60427:(e,t,r)=>{"use strict";
104e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(14232))},60469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addToEventQueue=void 0;let n=r(92849),i=r(31356),o=r(89814),a=r(16241);t.addToEventQueue=async function(e){await (0,o.awaitInit)();let t=(0,n.getCloudSDKSettingsBrowser)(),r=(0,i.getCookieValueClientSide)(t.cookieSettings.name.browserId);a.eventQueue.enqueueEvent({eventData:e,id:r,settings:t})}},60534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_EXPORT_NAME=void 0,t.DEFAULT_EXPORT_NAME="Default"},60592:(e,t,r)=>{"use strict";r.d(t,{c:()=>d});var n=r(39668),i=r(80542),o=r(45813),a=r(36938),s=r(99853),u=r(63965),l=r(80593);function c(e){return e}var d=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(c,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,u.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),104),r.lookupArray(n)},max:l.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},60931:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RobotsService=void 0;let i=r(849),o=n(r(3107)),a=`
105  query RobotsQuery($siteName: String!) {
106    site {
107      siteInfo(site: $siteName) {
108        robots
109      }
110    }
111  }
112`;class s{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient()}get query(){return a}async fetchRobots(e){let t=this.options.siteName;if(!t)throw Error(i.siteNameError);let r=this.graphQLClient.request(this.query,{siteName:t},e);try{return r.then(e=>{var t,r;return null==(r=null==(t=null==e?void 0:e.site)?void 0:t.siteInfo)?void 0:r.robots})}catch(e){return Promise.reject(e)}}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:o.default.robots})}}t.RobotsService=s},61055:(e,t,r)=>{"use strict";r.d(t,{XY:()=>h,er:()=>y,iz:()=>p,x3:()=>v,zc:()=>m});var n=r(4902),i=r(36938),o=r(94587),a=r(74968),s=r(45813),u=r(58851),l=r(68922),c=r(35785),d={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function f(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function p(e,t){(0,s.sw)(t);for(var r,u,d,p=f(""),h=f(""),m=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,c.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return p(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return h(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(124),null},y=0,v=t.definitions.length-1;v>=0;--v)t.definitions[v].kind===o.b.OPERATION_DEFINITION&&++y;var g=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,c.E)(e)&&e.map(g).some(function(e){return e&&e.remove})},E=new Map,_=!1,O={enter:function(e){if(b(e.directives))return _=!0,null}},w=(0,a.YR)(t,{Field:O,InlineFragment:O,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=m(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return _=!0,null;var o=m(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){E.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===E.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(h(e.name.value).removed=!0,_=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return _=!0,null}}});if(!_)return t;var S=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){S(
112h(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},C=new Set;w.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?S(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){C.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||h(e.name.value).removed||C.add(e.name.value)}),C.forEach(function(e){S(h(e)).fragmentSpreads.forEach(function(e){C.add(e)})});var T={enter:function(e){var t;if(t=e.name.value,!C.has(t)||h(t).removed)return null}};return d=(0,a.YR)(w,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(p(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(d)||(0,s.E4)(d),(0,l.JG)((0,s.zK)(d)))?d:null}var h=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[d],!1)})}}}})},{added:function(e){return e===d}});function m(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function y(e){return(0,s.sw)(e),p([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function v(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
112],!1)})}})}},61080:(e,t,r)=>{"use strict";r.d(t,{J:()=>s,Z:()=>u});var n=r(45075),i=r(86158),o=r(96175),a=r(47518),s=function(){function e(e){var t=new i.ou(o.Y.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e,t=this.token;if(t.kind!==o.Y.EOF)do t=null!=(e=t.next)?e:t.next=function(e,t){for(var r=e.source,s=r.body,u=s.length,f=t.end;f<u;){var p,h=s.charCodeAt(f),m=e.line,y=1+f-e.lineStart;switch(h){case 65279:case 9:case 32:case 44:++f;continue;case 10:++f,++e.line,e.lineStart=f;continue;case 13:10===s.charCodeAt(f+1)?f+=2:++f,++e.line,e.lineStart=f;continue;case 33:return new i.ou(o.Y.BANG,f,f+1,m,y,t);case 35:return function(e,t,r,n,a){var s,u=e.body,l=t;do s=u.charCodeAt(++l);while(!isNaN(s)&&(s>31||9===s));return new i.ou(o.Y.COMMENT,t,l,r,n,a,u.slice(t+1,l))}(r,f,m,y,t);case 36:return new i.ou(o.Y.DOLLAR,f,f+1,m,y,t);case 38:return new i.ou(o.Y.AMP,f,f+1,m,y,t);case 40:return new i.ou(o.Y.PAREN_L,f,f+1,m,y,t);case 41:return new i.ou(o.Y.PAREN_R,f,f+1,m,y,t);case 46:if(46===s.charCodeAt(f+1)&&46===s.charCodeAt(f+2))return new i.ou(o.Y.SPREAD,f,f+3,m,y,t);break;case 58:return new i.ou(o.Y.COLON,f,f+1,m,y,t);case 61:return new i.ou(o.Y.EQUALS,f,f+1,m,y,t);case 64:return new i.ou(o.Y.AT,f,f+1,m,y,t);case 91:return new i.ou(o.Y.BRACKET_L,f,f+1,m,y,t);case 93:return new i.ou(o.Y.BRACKET_R,f,f+1,m,y,t);case 123:return new i.ou(o.Y.BRACE_L,f,f+1,m,y,t);case 124:return new i.ou(o.Y.PIPE,f,f+1,m,y,t);case 125:return new i.ou(o.Y.BRACE_R,f,f+1,m,y,t);case 34:if(34===s.charCodeAt(f+1)&&34===s.charCodeAt(f+2))return function(e,t,r,s,u,c){for(var d=e.body,f=t+3,p=f,h=0,m="";f<d.length&&!isNaN(h=d.charCodeAt(f));){if(34===h&&34===d.charCodeAt(f+1)&&34===d.charCodeAt(f+2))return m+=d.slice(p,f),new i.ou(o.Y.BLOCK_STRING,t,f+3,r,s,u,(0,a.i$)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw(0,n.I)(e,f,"Invalid character within String: ".concat(l(h),"."));10===h?(++f,++c.line,c.lineStart=f):13===h?(10===d.charCodeAt(f+1)?f+=2:++f,++c.line,c.lineStart=f):92===h&&34===d.charCodeAt(f+1)&&34===d.charCodeAt(f+2)&&34===d.charCodeAt(f+3)?(m+=d.slice(p,f)+'"""',f+=4,p=f):++f}throw(0,n.I)(e,f,"Unterminated string.")}(r,f,m,y,t,e);return function(e,t,r,a,s){for(var u=e.body,c=t+1,f=c,p=0,h="";c<u.length&&!isNaN(p=u.charCodeAt(c))&&10!==p&&13!==p;){if(34===p)return h+=u.slice(f,c),new i.ou(o.Y.STRING,t,c+1,r,a,s,h);if(p<32&&9!==p)throw(0,n.I)(e,c,"Invalid character within String: ".concat(l(p),"."));if(++c,92===p){switch(h+=u.slice(f,c-1),p=u.charCodeAt(c)){case 34:h+='"';break;case 47:h+="/";break;case 92:h+="\\";break;case 98:h+="\b";break;case 102:h+="\f";break;case 110:h+="\n";break;case 114:h+="\r";break;case 116:h+="	";break;case 117:var m,y,v,g,b=(m=u.charCodeAt(c+1),y=u.charCodeAt(c+2),v=u.charCodeAt(c+3),g=u.charCodeAt(c+4),d(m)<<12|d(y)<<8|d(v)<<4|d(g));if(b<0){var E=u.slice(c+1,c+5);throw(0,n.I)(e,c,"Invalid character escape sequence: \\u".concat(E,"."))}h+=String.fromCharCode(b),c+=4;break;default:throw(0,n.I)(e,c,"Invalid character escape sequence: \\".concat(String.fromCharCode(p),"."))}f=++c}}throw(0,n.I)(e,c,"Unterminated string.")}(r,f,m,y,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,a,s,u){var d,f=e.body,p=r,h=t,m=!1;if(45===p&&(p=f.charCodeAt(++h)),48===p){if((p=f.charCodeAt(++h))>=48&&p<=57)throw(0,n.I)(e,h,"Invalid number, unexpected digit after 0: ".concat(l(p),"."))}else h=c(e,h,p),p=f.charCodeAt(h);if(46===p&&(m=!0,p=f.charCodeAt(++h),h=c(e,h,p),p=f.charCodeAt(h)),(69===p||101===p)&&(m=!0,(43===(p=f.charCodeAt(++h))||45===p)&&(p=f.charCodeAt(++h)),h=c(e,h,p),p=f.charCodeAt(h)),46===p||95===(d=p)||d>=65&&d<=90||d>=97&&d<=122)throw(0,n.I)(e,h,"Invalid number, expected digit but got: ".concat(l(p),"."));return new i.ou(m?o.Y.FLOAT:o.Y.INT,t,h,a,s,u,f.slice(t,h))}(r,f,h,m,y,t);
112case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:for(var v=r,g=f,b=m,E=y,_=t,O=v.body,w=O.length,S=g+1,C=0;S!==w&&!isNaN(C=O.charCodeAt(S))&&(95===C||C>=48&&C<=57||C>=65&&C<=90||C>=97&&C<=122);)++S;return new i.ou(o.Y.NAME,g,S,b,E,_,O.slice(g,S))}throw(0,n.I)(r,f,(p=h)<32&&9!==p&&10!==p&&13!==p?"Cannot contain the invalid character ".concat(l(p),"."):39===p?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(l(p),"."))}var T=e.line,R=1+f-e.lineStart;return new i.ou(o.Y.EOF,u,u,T,R,t)}(this,t);while(t.kind===o.Y.COMMENT);return t},e}();function u(e){return e===o.Y.BANG||e===o.Y.DOLLAR||e===o.Y.AMP||e===o.Y.PAREN_L||e===o.Y.PAREN_R||e===o.Y.SPREAD||e===o.Y.COLON||e===o.Y.EQUALS||e===o.Y.AT||e===o.Y.BRACKET_L||e===o.Y.BRACKET_R||e===o.Y.BRACE_L||e===o.Y.PIPE||e===o.Y.BRACE_R}function l(e){return isNaN(e)?o.Y.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function c(e,t,r){var i=e.body,o=t,a=r;if(a>=48&&a<=57){do a=i.charCodeAt(++o);while(a>=48&&a<=57);return o}throw(0,n.I)(e,o,"Invalid number, expected digit but got: ".concat(l(a),"."))}function d(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},61584:(e,t,r)=>{"use strict";r.d(t,{v:()=>l});var n=r(14232),i=r(98741),o=r(63561),a=r(53282),s=r(60039),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let l=(0,i.O)((0,o.N)(e=>{let t;var{field:r,tag:i,editable:o=!0,render:a}=e,l=u(e,["field","tag","editable","render"]);if((0,s.JE)(r))return null;let c=Object.assign({},l);return(t=a?a(r.value?new Date(r.value):null):r.value,i)?n.createElement(i||"span",c,t):n.createElement(n.Fragment,null,t)},{defaultEmptyFieldEditingComponent:a.G}));l.displayName="Date"},61800:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.composeComponentEndpoint=void 0,t.fetchBYOCComponentServerProps=u,t.fetchFEaaSComponentServerProps=l;let s=a(r(74218));async function u(e){let t=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};return{fetchedData:await s.DataSettings.fetch(t||{})}}async function l(e,r,n){let i=r?"published":"staged",o=n||(0,t.composeComponentEndpoint)(e,i),a="",s={},u=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};try{a=await c(o,e,i),s=await d(u)}catch(e){console.error(e)}return{fetchedData:s,revisionFallback:i,template:a}}async function c(e,t,r){try{let{template:t}=await s.fetchComponent(e);return t}catch(n){throw console.error(`Fetch FEAAS component from ${e} failed. Ensure the component revision "${t.ComponentRevision||r}" is present`),n}}async function d(e){try{return await s.DataSettings.fetch(e||{})}catch(e){throw console.error("Fetch FEAAS component data settings failed"),e}}t.composeComponentEndpoint=(e,t)=>
112{var r;let n=e.ComponentRevision||t,i=(null==(r=e.ComponentHostName)?void 0:r.startsWith("https://"))?e.ComponentHostName:`https://${e.ComponentHostName}`;return`${i}/components/${e.LibraryId}/${e.ComponentId}/${e.ComponentVersion}/${n}`}},61925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(88912);let n=r(16806),i=r(50946),o=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t){var r,u;let l,c,d,{src:f,sizes:p,unoptimized:h=!1,priority:m=!1,loading:y,className:v,quality:g,width:b,height:E,fill:_=!1,style:O,overrideSrc:w,onLoad:S,onLoadingComplete:C,placeholder:T="empty",blurDataURL:R,fetchPriority:P,decoding:A="async",layout:I,objectFit:D,objectPosition:N,lazyBoundary:x,lazyRoot:j,...k}=e,{imgConf:M,showAltText:L,blurComplete:F,defaultLoader:V}=t,U=M||i.imageConfigDefault;if("allSizes"in U)l=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),n=null==(r=U.qualities)?void 0:r.sort((e,t)=>e-t);l={...U,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===V)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let q=k.loader||V;delete k.loader,delete k.srcSet;let B="__next_img_default"in q;if(B){if("custom"===l.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=q;q=t=>{let{config:r,...n}=t;return e(n)}}if(I){"fill"===I&&(_=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[I];e&&(O={...O,...e});let t={responsive:"100vw",fill:"100vw"}[I];t&&!p&&(p=t)}let G="",Q=s(b),z=s(E);if((u=f)&&"object"==typeof u&&(a(u)||void 0!==u.src)){let e=a(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,R=R||e.blurDataURL,G=e.src,!_)if(Q||z){if(Q&&!z){let t=Q/e.width;z=Math.round(e.height*t)}else if(!Q&&z){let t=z/e.height;Q=Math.round(e.width*t)}}else Q=e.width,z=e.height}let $=!m&&("lazy"===y||void 0===y);(!(f="string"==typeof f?f:G)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,$=!1),l.unoptimized&&(h=!0),B&&!l.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(h=!0);let H=s(g),K=Object.assign(_?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:N}:{},L?{}:{color:"transparent"},O),Y=F||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:Q,heightInt:z,blurWidth:c,blurHeight:d,blurDataURL:R||"",objectFit:K.objectFit})+'")':'url("'+T+'")',W=o.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,J=Y?{backgroundSize:W,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},X=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:l}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=u.length-1;return{sizes:a||"w"!==l?a:"100vw",srcSet:u.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===l?e:n+1)+l).join(", "),src:s({config:t,src:r,quality:o,width:u[c]})}}({config:l,src:f,unoptimized:h,width:Q,quality:H,sizes:p,loader:q});return{props:{...k,loading:$?"lazy":y,fetchPriority:P,width:Q,height:z,decoding:A,className:v,style:{...K,...J},sizes:X.sizes,srcSet:X.srcSet,src:w||X.src},meta:{unoptimized:h,priority:m,placeholder:T,fill:_}}}},61965:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var n=r(4902),i=r(74968);function o(e,t){var r=(0,n.Cl)({},e),o=new Set(Object.keys(e));return(0,i.YR)(t,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&o.delete(e.name.value)}}),o.forEach(function(e){delete r[e]}),r}},62091:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(18659);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},62310:(e,t,r)=>{"use strict";r.d(t,{V$:()=>A,YW:()=>I,bQ:()=>D,nw:()=>P,bL:()=>R});var n=r(37876),i=r(14232),o=r(91844),a=r(66326),s=r(58162);let u=(e,t)=>
112{let r=[];for(let n=1;n<=e;n++)r.push({page:n,isCurrent:n===t});return r},l=(e,t)=>({"data-current":e===t}),c="Pagination",[d,f]=(0,o.A)(c),[p,h]=d(c),m=e=>`#${e}`,y=i.forwardRef((e,t)=>{let{__scopePagination:r,totalPages:o,currentPage:l,defaultCurrentPage:c,onPageChange:d,href:f=m,...h}=e,y=(({onPageChange:e,totalPages:t=0,defaultCurrentPage:r,currentPage:n})=>{let[o=n||r||1,a]=(0,s.i)({prop:n,defaultProp:r??1,onChange:e}),[l,c]=(0,i.useState)(()=>u(t,o));(0,i.useEffect)(()=>{o>t&&a(t)},[o]),(0,i.useEffect)(()=>{c(u(t,o))},[t,o]);let d=o<t,f=o>1,p=f?o-1:o,h=d?o+1:o;return{currentPage:o,totalPages:t,pages:l,hasPrev:f,hasNext:d,setPage:a,prevPage:p,nextPage:h}})({totalPages:o,currentPage:l,defaultCurrentPage:c,onPageChange:d});return(0,n.jsx)(p,{scope:r,...y,hrefFunc:f,children:(0,n.jsx)(a.sG.nav,{"aria-label":"pagination",...h,ref:t})})});y.displayName=c;let v="PaginationFirstPage";i.forwardRef((e,t)=>{let{__scopePagination:r,children:o,...s}=e,{hrefFunc:u,currentPage:c,setPage:d}=h(v,r),f=(0,i.useCallback)(e=>{s.onClick?.(e),d(1)},[d,s.onClick]);return(0,n.jsx)(a.sG.a,{ref:t,"aria-disabled":1===c,...l(1,c),"data-page":1,href:u(1),...s,onClick:f,children:"function"==typeof o?o(1):o})}).displayName=v;let g="PaginationLastPage";i.forwardRef((e,t)=>{let{__scopePagination:r,children:o,...s}=e,{hrefFunc:u,totalPages:c,currentPage:d,setPage:f}=h(g,r),p=(0,i.useCallback)(e=>{s.onClick?.(e),f(c)},[f,c,s.onClick]);return(0,n.jsx)(a.sG.a,{ref:t,"aria-disabled":c===d,...l(c,d),"data-page":c,href:u(c),...s,onClick:p,children:"function"==typeof o?o(c):o})}).displayName=g;let b="PaginationPrevPage",E=i.forwardRef((e,t)=>{let{__scopePagination:r,children:o,...s}=e,{currentPage:u,prevPage:c,hrefFunc:d,setPage:f}=h(b,r),p=(0,i.useCallback)(e=>{s.onClick?.(e),f(c)},[s.onClick,f,c]);return(0,n.jsx)(a.sG.a,{ref:t,"aria-disabled":c===u,...l(c,u),"data-page":c,href:d(c),...s,onClick:p,children:"function"==typeof o?o(c):o})});E.displayName=b;let _="PaginationNextPage",O=i.forwardRef((e,t)=>{let{__scopePagination:r,children:o,...s}=e,{currentPage:u,nextPage:c,hrefFunc:d,setPage:f}=h(_,r),p=(0,i.useCallback)(e=>{s.onClick?.(e),f(c)},[s.onClick,f,c]);return(0,n.jsx)(a.sG.a,{ref:t,"aria-disabled":c===u,...l(c,u),"data-page":c,href:d(c),...s,onClick:p,children:"function"==typeof o?o(c):o})});O.displayName=_;let w="PaginationPages",S=i.forwardRef((e,t)=>{let{__scopePagination:r,children:i,...o}=e,s=h(w,r);return(0,n.jsx)(a.sG.div,{ref:t,...o,children:"function"==typeof i?i(s):i})});S.displayName=w;let C="PaginationPage",T=i.forwardRef((e,t)=>{let{__scopePagination:r,page:o,...s}=e,{currentPage:u,setPage:c,hrefFunc:d}=h(C,r),f=(0,i.useCallback)(e=>{s.onClick?.(e),c(o)},[s.onClick,c,o]);return(0,n.jsx)(a.sG.a,{ref:t,...o===u?{"aria-current":"page"}:{},...l(o,u),"data-page":o,href:d(o),...s,onClick:f})});T.displayName=C,i.forwardRef((e,t)=>{let{__scopePagination:r,...i}=e;return(0,n.jsx)(a.sG.span,{ref:t,...i})}).displayName="PaginationTruncate";let R=y,P=E,A=O,I=T,D=S},62360:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenObject=void 0,t.flattenObject=function e(t){let{currentKey:r,object:n}=t,i=t.newObject??{};for(let t in n){let o=n[t];void 0!==o&&("object"!=typeof o||Array.isArray(o)?i[r?`${r}_${t}`:t]=o:e({currentKey:`${r?`${r}_${t}`:t}`,newObject:i,object:o}))}return i}},62697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseComponent=t.traverseField=t.traversePlaceholder=t.getContentStylesheetUrl=t.getContentStylesheetLink=void 0;let n=r(849),i=r(30393),o=/class=".*(\bck-content\b).*"/g;t.getContentStylesheetLink=(e,r,i=n.SITECORE_EDGE_URL_DEFAULT)=>{if(!e.sitecore.route)return null;let o={loadStyles:!1};return((0,t.traverseComponent)(e.sitecore.route,o),o.loadStyles)?{href:(0,t.getContentStylesheetUrl)(r,i),rel:"stylesheet"}:null},t.getContentStylesheetUrl=(e,t=n.SITECORE_EDGE_URL_DEFAULT)=>`${(0,i.normalizeUrl)(t)}/v1/files/pages/styles/content-styles.css?sitecoreContextId=${e}`,t.traversePlaceholder=(e,r)=>{r.loadStyles||e.forEach(e=>{(0,t.traverseComponent)(e,r)})},t.traverseField=(e,r)=>{e&&"object"==typeof e&&!r.loadStyles&&("value"in e&&"string"==typeof e.value?r.loadStyles=o.test(e.value):"fields"in e?Object.values(e.fields).forEac
112h(e=>{(0,t.traverseField)(e,r)}):Array.isArray(e)&&e.forEach(e=>{(0,t.traverseField)(e,r)}))},t.traverseComponent=(e,r)=>{if(r.loadStyles)return;"fields"in e&&e.fields&&Object.values(e.fields).forEach(e=>{(0,t.traverseField)(e,r)});let n=e.placeholders||{};Object.keys(n).forEach(e=>{(0,t.traversePlaceholder)(n[e],r)})}},63561:(e,t,r)=>{"use strict";r.d(t,{N:()=>o});var n=r(14232),i=r(60039);function o(e,t){let r=e=>{var r;let{editable:o=!0}=e;if((null==(r=e.field)?void 0:r.metadata)&&o&&(0,i.JE)(e.field)){let r=e.emptyFieldEditingComponent||t.defaultEmptyFieldEditingComponent,i=e;return e.emptyFieldEditingComponent||(i=Object.assign(Object.assign({},e),{editable:void 0,field:void 0})),n.createElement(r,Object.assign({},i,{suppressHydrationWarning:!0}))}return null};return t.isForwardRef?(0,n.forwardRef)((t,i)=>r(t)||n.createElement(e,Object.assign({},t,{ref:i}))):t=>r(t)||n.createElement(e,Object.assign({},t))}},63965:(e,t,r)=>{"use strict";let n;r.d(t,{DX:()=>f,yN:()=>j,LV:()=>L});var i=r(39668),o=r(36898);let a=null,s={},u=1;function l(e){try{return e()}catch(e){}}let c="@wry/context:Slot",d=l(()=>globalThis)||l(()=>global)||Object.create(null),f=d[c]||Array[c]||function(e){try{Object.defineProperty(d,c,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:p,noContext:h}=f,m=new f,{hasOwnProperty:y}=Object.prototype,v=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function g(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let b=[];function E(e,t){if(!e)throw Error(t||"assertion failure")}function _(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function O(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class w{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++w.count}peek(){if(1===this.value.length&&!T(this))return S(this),this.value[0]}recompute(e){var t,r,n;return E(!this.recomputing,"already recomputing"),S(this),T(this)?(t=this,r=e,D(t),m.withValue(t,C,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{g(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,T(n)||function(e){R(e,A)}(n)),O(t.value)):O(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,R(e,P),g(this))}dispose(){this.setDirty(),D(this),R(this,(e,t)=>{e.setDirty(),N(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(v(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),b.push(this.deps),this.deps=null)}}function S(e){let t=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?P(t,e):A(t,e),t}function C(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!_(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function T(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}w.count=0;function R(e,t){let r=e.parents.size;if(r){let n=v(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function P(e,t){E(e.childValues.has(t)),E(T(t));let r=!T(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&R(e,P)}function A(e,t){E(e.childValues.has(t)),E(!T(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):_(r,t.value)||e.setDirty(),I(e,t),T(e)||R(e,A)}function I(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function D(e){e.childValues.size>
1120&&e.childValues.forEach((t,r)=>{N(e,r)}),e.forgetDeps(),E(null===e.dirtyChildren)}function N(e,t){t.parents.delete(e),e.childValues.delete(t),I(e,t)}let x={setDirty:!0,dispose:!0,forget:!0};function j(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=m.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(g(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&y.call(x,r)?r:"setDirty";v(n).forEach(e=>e[i]()),t.delete(e),g(n)}},n}function k(...e){return(n||(n=new i.b("function"==typeof WeakMap))).lookupArray(e)}let M=new Set;function L(e,{max:t=65536,keyArgs:r,makeCacheKey:n=k,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,l=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new w(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),M.add(u),m.hasValue()||(M.forEach(e=>e.clean()),M.clear()),s};function c(e){let t=e&&u.get(e);t&&t.setDirty()}function d(e){let t=e&&u.get(e);if(t)return t.peek()}function f(e){return!!e&&u.delete(e)}return Object.defineProperty(l,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:u}),l.dirtyKey=c,l.dirty=function(){c(n.apply(null,arguments))},l.peekKey=d,l.peek=function(){return d(n.apply(null,arguments))},l.forgetKey=f,l.forget=function(){return f(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}},64045:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DateField=void 0;let o=i(r(14232)),a=r(80323),s=r(98646),u=r(27015),l=r(85917);t.DateField=(0,a.withFieldMetadata)((0,s.withEmptyFieldEditingComponent)(e=>{let t;var{field:r,tag:i,editable:a=!0,render:s}=e,u=n(e,["field","tag","editable","render"]);if((0,l.isFieldValueEmpty)(r))return null;let c=Object.assign({},u);return(t=s?s(r.value?new Date(r.value):null):r.value,i)?o.default.createElement(i||"span",c,t):o.default.createElement(o.default.Fragment,null,t)},{defaultEmptyFieldEditingComponent:u.DefaultEmptyFieldEditingComponentText})),t.DateField.displayName="Date"},64183:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rsc=void 0,t.rsc=!1},64333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCorrelationId=void 0;let n=r(31356);t.generateCorrelationId=function(){return(0,n.generateV4UUID)().replace(/-/g,"")}},64451:(e,t,r)=>{e.exports=r(19031).Symbol},64547:(e,t)=>{"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibraryVariantGeneration=t.DesignLibraryMode=t.MetadataKind=t.LayoutKind=void 0,function(e){e.Final="final",e.Shared="shared"}(r||(t.LayoutKind=r={})),function(e){e.Open="open",e.Close="close"}(n||(t.MetadataKind=n={})),function(e){e.Normal="library",e.Metadata="library-metadata"}(i||(t.DesignLibraryMode=i={})),(o||(t.DesignLibraryVariantGeneration=o={})).Variant="variant"},64650:(e,t,r)=>{"use strict";r.d(t,{II:()=>c,v_:()=>s,wm:()=>l});var n=r(1860),i=r(97555),o=r(15154);function a(e){return Math.min(1e3*2**e,3e4)}function s(e){return(null!=e?e:"online")!=="online"||i.t.isOnline()}class u{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function l(e){return e instanceof u}function c(e){let t,r,l,c=!1,d=0,f=!1,p=new Promise((e,t)=>{r=e,l=t}),h=()=>!n.m.isFocused()||"always"!==e.networkMode&&!i.t.isOnline(),m=n=>{f||(f=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),r(n))},y=r=>{f||(f=!0,null==e.onError||e.onError(r),null==t||t(),l(r))},v=()=>new Promise(r=>{t=e=>{let t=f||!h();return t&&r(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,f||null==e.onContinue||e.onContinue()}),g=()=>{let t;if(!f){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch(t=>{var r,n;if(f)return;let i=null!=(r=e.retry)?r:3,s=null!=(n=e.retryDelay)?n:a,u="function"==typeof s?s(d,t):s,l=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,t);
112if(c||!l)return void y(t);d++,null==e.onFail||e.onFail(d,t),(0,o.yy)(u).then(()=>{if(h())return v()}).then(()=>{c?y(t):g()})})}};return s(e.networkMode)?g():v().then(g),{promise:p,cancel:t=>{f||(y(new u(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?p:Promise.resolve(),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1}}}},65036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UTM_PREFIX=t.MAX_EXT_ATTRIBUTES=void 0,t.MAX_EXT_ATTRIBUTES=50,t.UTM_PREFIX="utm_"},65076:function(e,t,r){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;var t,n,i=e(function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,r){return r&&!0===r.clone&&e(t)?n(Array.isArray(t)?[]:{},t,r):t}function r(r,i,o){var a=r.slice();return i.forEach(function(i,s){void 0===a[s]?a[s]=t(i,o):e(i)?a[s]=n(r[s],i,o):-1===r.indexOf(i)&&a.push(t(i,o))}),a}function n(i,o,a){var s,u=Array.isArray(o),l=(a||{arrayMerge:r}).arrayMerge||r;return u?Array.isArray(i)?l(i,o,a):t(o,a):(s={}
112,e(i)&&Object.keys(i).forEach(function(e){s[e]=t(i[e],a)}),Object.keys(o).forEach(function(r){e(o[r])&&i[r]?s[r]=n(i[r],o[r],a):s[r]=t(o[r],a)}),s)}return n.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw Error("first argument should be an array with at least two elements");return e.reduce(function(e,r){return n(e,r,t)})},n}()}),o=e(function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default}),a=o.svg,s=o.xlink,u={};u[a.name]=a.uri,u[s.name]=s.uri;var l=function(e,t){var r;return void 0===e&&(e=""),"<svg "+Object.keys(r=i(u,t||{})).map(function(e){var t=r[e].toString().replace(/"/g,"&quot;");return e+'="'+t+'"'}).join(" ")+">"+e+"</svg>"},c=o.svg,d=o.xlink,f={attrs:((t={style:"position: absolute; width: 0; height: 0","aria-hidden":"true"})[c.name]=c.uri,t[d.name]=d.uri,t)},p=function(e){this.config=i(f,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,r=this.find(e.id);return r?(t[t.indexOf(r)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,r=this.find(e);return!!r&&(t.splice(t.indexOf(r),1),r.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter(function(t){return t.id===e})[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs;return l(this.symbols.map(function(e){return e.stringify()}).join(""),e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach(function(e){return e.destroy()})};var h=function(e){var t=e.id,r=e.viewBox,n=e.content;this.id=t,this.viewBox=r,this.content=n};h.prototype.stringify=function(){return this.content},h.prototype.toString=function(){return this.stringify()},h.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach(function(t){return delete e[t]})};var m=function(e){var t=!!document.importNode,r=new DOMParser().parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(r,!0):r},y=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t.appendChild(r),r},t.prototype.render=function(){return m(l(this.stringify())).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,r),t}(h),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},g=function(e){return Array.prototype.slice.call(e,0)},b=function(e,t){var r=document.createEvent("CustomEvent");r.initCustomEvent(e,!1,!1,t),window.dispatchEvent(r)},E=function(e){var t=[];
112return g(e.querySelectorAll("style")).forEach(function(e){e.textContent+="",t.push(e)}),t},_=function(e){return(e||window.location.href).split("#")[0]},O=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",function(t,r,n){b(e,{oldUrl:n,newUrl:r})})}])},w=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),g(e.querySelectorAll("symbol")).forEach(function(e){g(e.querySelectorAll(t)).forEach(function(t){e.parentNode.insertBefore(t,e)})}),e},S=o.xlink.uri,C="xlink:href",T=/[{}|\\\^\[\]`"<>]/g;function R(e){return e.replace(T,function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()})}var P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],A=P.map(function(e){return"["+e+"]"}).join(","),I=function(e,t,r,n){var i,o,a=R(r),s=R(n);(i=e.querySelectorAll(A),o=function(e){var t=e.localName,r=e.value;return -1!==P.indexOf(t)&&-1!==r.indexOf("url("+a)},g(i).reduce(function(e,t){if(!t.attributes)return e;var r=g(t.attributes),n=o?r.filter(o):r;return e.concat(n)},[])).forEach(function(e){return e.value=e.value.replace(RegExp(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),s)}),g(t).forEach(function(e){var t=e.getAttribute(C);if(t&&0===t.indexOf(a)){var r=t.replace(a,s);e.setAttributeNS(S,C,r)}})},D="mount",N="symbol_mount",x=function(e){function t(t){var r,n=this;void 0===t&&(t={}),e.call(this,i(v,t));var o=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map(function(e){e(t)}),(r["*"]||[]).map(function(r){r(e,t)})}});this._emitter=o,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");o.on(D,function(){return n.updateUrls("#",s)})}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&O(a.locationChangeEvent),o.on(D,function(e){a.moveGradientsOutsideSymbol&&w(e)}),o.on(N,function(e){a.moveGradientsOutsideSymbol&&w(e.parentNode),(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/edge/i.test(navigator.userAgent))&&E(e)})}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=/firefox/i.test(navigator.userAgent))},t.prototype._handleLocationChange=function(e){var t=e.detail,r=t.oldUrl,n=t.newUrl;this.updateUrls(r,n)},t.prototype.add=function(t){var r=e.prototype.add.call(this,t);return this.isMounted&&r&&(t.mount(this.node),this._emitter.emit(N,t.node)),r},t.prototype.attach=function(e){var t=this,r=this;if(r.isMounted)return r.node;var n="string"==typeof e?document.querySelector(e):e;return r.node=n,this.symbols.forEach(function(e){e.mount(r.node),t._emitter.emit(N,e.node)}),g(n.querySelectorAll("symbol")).forEach(function(e){var t=y.createFromExistingNode(e);t.node=e,r.add(t)}),this._emitter.emit(D,n),n},t.prototype.destroy=function(){var e=this.config,t=this.symbols,r=this._emitter;t.forEach(function(e){return e.destroy()}),r.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var r="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t&&r.childNodes[0]?r.insertBefore(n,r.childNodes[0]):r.appendChild(n),this._emitter.emit(D,n),n},t.prototype.render=function(){return m(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var r=document.querySelectorAll(this.config.usagesToUpdate);return I(this.node,r,_(e)+"#",_(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(p),j=e(function(e){var t,r,n,i,o,a;r=[],i=(n=document).documentElement.doScroll,o="DOMContentLoaded",(a=(i?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState))||n.addEventListener(o,t=function(){for(n.removeEventListener(o,t),a=1;t=r.shift();)t()}),e.exports=function(e){a?setTimeout(e,0):r.push(e)}}),k="__SVG_SPRITE_NODE__",M="__SVG_SPRITE__";window[M]?n=window[M]:(n=new x({attrs:{id:k,"aria-hidden":"true"}}),window[M]=n);var L=function(){var e=document.getElementById(k);e?n.attach(e):n.mount(document.body,!0)};return document.body?L():j(L),n}()},65234:(e,t,r)=>{"use strict";e.exports=r(7734)},65397:(e,t,r)=>{"use strict";
112Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToFormSubmitEvent=t.loadForm=t.executeScriptElements=void 0;var n=r(1609);Object.defineProperty(t,"executeScriptElements",{enumerable:!0,get:function(){return n.executeScriptElements}}),Object.defineProperty(t,"loadForm",{enumerable:!0,get:function(){return n.loadForm}}),Object.defineProperty(t,"subscribeToFormSubmitEvent",{enumerable:!0,get:function(){return n.subscribeToFormSubmitEvent}})},65540:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SitecoreServiceBase=void 0;let i=n(r(3107));class o{constructor(e){this.serviceConfig=e,this.graphQLClient=this.getGraphQLClient()}getGraphQLClient(){var e,t;if(!this.serviceConfig.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.serviceConfig.clientFactory({debugger:this.serviceConfig.debugger||i.default.http,retries:null==(e=this.serviceConfig.retries)?void 0:e.count,retryStrategy:null==(t=this.serviceConfig.retries)?void 0:t.retryStrategy})}}t.SitecoreServiceBase=o},65958:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(94587),i=r(21500),o=r(58851),a=r(71211),s=r(90240),u=r(36938);function l(e,t,r){return s.yV.withValue(!0,function(){var l=function e(t,r,i,l,c){var d,f=i.knownChanged,p=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var h=0,m=Array.from(t.entries());h<m.length;h++){var y=m[h],v=y[0],g=y[1];if(null===g){p[v]=null;continue}var b=e(g,r,i,l,!1!==globalThis.__DEV__?"".concat(c||"","[").concat(v,"]"):void 0);f.has(b)&&f.add(p),p[v]=b}return f.has(p)?p:t}for(var E=0,_=r.selections;E<_.length;E++){var O=_[E],w=void 0;if(l&&f.add(p),O.kind===n.b.FIELD){var S=(0,o.ue)(O),C=O.selectionSet;if(void 0===(w=p[S]||t[S]))continue;if(C&&null!==w){var b=e(t[S],C,i,l,!1!==globalThis.__DEV__?"".concat(c||"",".").concat(S):void 0);f.has(b)&&(w=b)}!1===globalThis.__DEV__&&(p[S]=w),!1!==globalThis.__DEV__&&(!l||"__typename"===S||(null==(d=Object.getOwnPropertyDescriptor(p,S))?void 0:d.value)?(delete p[S],p[S]=w):Object.defineProperty(p,S,function(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.V1.warn(60,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(S,w,c||"",i.operationName,i.operationType)))}if(O.kind===n.b.INLINE_FRAGMENT&&(!O.typeCondition||i.cache.fragmentMatches(O,t.__typename))&&(w=e(t,O.selectionSet,i,l,c)),O.kind===n.b.FRAGMENT_SPREAD){var T=O.name.value,R=i.fragmentMap[T]||(i.fragmentMap[T]=i.cache.lookupFragment(T));(0,u.V1)(R,59,T);var P=(0,a.s7)(O);"mask"!==P&&(w=e(t,R.selectionSet,i,"migrate"===P,c))}f.has(w)&&f.add(p)}return"__typename"in t&&!("__typename"in p)&&(p.__typename=t.__typename),Object.keys(p).length!==Object.keys(t).length&&f.add(p),f.has(p)?p:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(l),l})}},66326:(e,t,r)=>{"use strict";r.d(t,{hO:()=>u,sG:()=>s});var n=r(14232),i=r(98477),o=r(82987),a=r(37876),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?r:t,{...o,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},66434:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}function o(e){return 7===e||8===e}r.d(t,{D2:()=>o,bi:()=>i,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},66794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGuestIdServer=void 0;let n=r(27941),i=r(44552);t.getGuestIdServer=async function(e){let t=(0,n.getCloudSDKSettings)();return(0,i.fetchGuestIdFromEdgeProxy)(e,t.sitecoreEdgeContextId,t.sitecoreEdgeUrl)}},66884:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});let n=e=>
112{let t=e.getRequest().getSearchLimit()?e.getRequest().getSearchLimit():e.getLastResponse()?.limit,r=t?Math.floor((e.getRequest().getSearchOffset()||0)/t+1):0;return{keyword:e.getRequest().getSearchQueryKeyphrase()||"",pageNumber:isNaN(r)?void 0:r,pageSize:t,numRequested:t,numResults:e.getLastResponse()?.content?.length,totalResults:e.getLastResponse()?.total_item}}},67184:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATE_FIELD_VALUE=t.isDynamicPlaceholder=t.getDynamicPlaceholderPattern=void 0,t.getFieldValue=function(e,t,r){if(!e||!t)return r;let n=e[t];return n&&void 0!==n.value?n.value:e.fields&&e.fields[t]&&void 0!==e.fields[t].value?e.fields[t].value:r},t.getChildPlaceholder=function(e,t){return e&&t&&e.placeholders&&e.placeholders[t]?e.placeholders[t]:[]},t.isFieldValueEmpty=function(e){if(!e)return!0;let r=e=>"string"==typeof e?e===t.EMPTY_DATE_FIELD_VALUE:!("function"==typeof(null==e?void 0:e.getMonth)&&!isNaN(null==e?void 0:e.getMonth())),n=e=>null==e||("object"==typeof e?!e.src&&!e.src&&!e.href&&r(e):"number"!=typeof e&&"boolean"!=typeof e&&(!e||r(e)));return n(void 0!==e.value?e.value:e)},t.getDynamicPlaceholderPattern=e=>RegExp(`^${e.replace(/\{\*\}+/i,"\\d+")}$`),t.isDynamicPlaceholder=e=>-1!==e.indexOf("{*}"),t.EMPTY_DATE_FIELD_VALUE="0001-01-01T00:00:00Z"},67224:function(e,t,r){"use strict";var n,i=r(99742),o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),i=0;i<r.length;i++)"default"!==r[i]&&o(t,e,r[i]);return a(t,e),t}),u=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;let c=s(r(14232)),d=l(r(48230)),f=r(52820),p=["as","onNavigate","passHref","prefetch","replace","scroll","shallow"],h=/^\/.*\.\w+$/;t.Link=(0,c.forwardRef)((e,t)=>{let{field:r,editable:n=!0,children:o,internalLinkMatcher:a=/^\//g,showLinkTextWithChildrenPresent:s}=e,l=u(e,["field","editable","children","internalLinkMatcher","showLinkTextWithChildrenPresent"]);if(!r||!r.value&&!r.href&&!r.metadata)return null;let m=r.href?r:r.value,{href:y,querystring:v,anchor:g}=m||{},b=n&&r.metadata;if(y&&!b){let r=s||!o?m.text||m.href:null,n=a.test(y),u=h.test(y);if(n&&!u)return c.default.createElement(d.default,Object.assign({href:{pathname:y,query:v,hash:g},key:"link",title:m.title,target:m.target,className:m.class},l,{locale:!1,ref:t},i.env.TEST?{"data-nextjs-link":!0,"data-nextjs-prefetch":e.prefetch}:{}),r,o)}let E=function(e){let t=Object.assign({},e);for(let e of[...p,"internalLinkMatcher"])delete t[e];return t}(e);return c.default.createElement(f.Link,Object.assign({},E,{ref:t},i.env.TEST?{"data-react-link":!0}:{}))}),t.Link.displayName="NextLink"},67271:(e,t,r)=>{"use strict";r.d(t,{Z1:()=>l,fF:()=>i,qH:()=>s,sx:()=>u});var n=r(31723);let i="00000000-0000-0000-0000-000000000000",o="jss-hrz-editing",a={name:"Sitecore.Horizon.ResetChromes"};class s{static isActive(){return!(0,n.A)()&&(window.location.search.indexOf("sc_headless_mode=edit")>-1||!!window.document.getElementById(o))}static resetChromes(){!(0,n.A)()&&window[a.name]&&window[a.name]()}}let u=()=>{s.isActive()&&s.resetChromes()},l=()=>{let e={};return e[o]={},e}},67274:(e,t,r)=>{let n=r(98311),i=r(9955),o={};
112Object.keys(n).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});let t=i(e);Object.keys(t).forEach(r=>{let n=t[r];o[e][r]=function(e){let t=function(...t){let r=t[0];if(null==r)return r;r.length>1&&(t=r);let n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),o[e][r].raw=function(e){let t=function(...t){let r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),e.exports=o},67941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeHeaders=void 0,t.normalizeHeaders=function(e={}){let t={};return"function"==typeof e.forEach?e.forEach((e,r)=>{t[r]=e}):Object.entries(e).forEach(([e,r])=>{t[e]=r}),t}},68148:(e,t,r)=>{"use strict";r.d(t,{y:()=>u});var n,i=r(90738),o=r(95682),a=r(80593),s=r(17070),u=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.y)(e),n.set(e,t)),t},{reset:function(){n=new o.A(a.v.print||2e3)}});u.reset(),!1!==globalThis.__DEV__&&(0,s.D_)("print",function(){return n?n.size:0})},68827:(e,t,r)=>{"use strict";r.d(t,{e:()=>y,y:()=>g});var n=r(22366),i=r(76743),o=r(37565),a=r(88082);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:c(e)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){var r;if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,m(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),h(n,e)})(e)}function f(e,t,r){return(f=p()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&h(i,r.prototype),i}).apply(null,arguments)}function p(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),e&&h(s,e);var t,r,a=(t=p(),function(){var e,r=m(s);return e=t?Reflect.construct(r,arguments,m(this).constructor):r.apply(this,arguments),l(this,e)});function s(e,t,r,i,d,f,p){if(!(this instanceof s))throw TypeError("Cannot call a class as a function");(_=a.call(this,e)).name="GraphQLError",_.originalError=null!=f?f:void 0,_.nodes=v(Array.isArray(t)?t:t?[t]:void 0);for(var h=[],m=0,y=null!=(O=_.nodes)?O:[];m<y.length;m++){var g,b,E,_,O,w=y[m].loc;null!=w&&h.push(w)}h=v(h),_.source=null!=r?r:null==(g=h)?void 0:g[0].source,_.positions=null!=i?i:null==(b=h)?void 0:b.map(function(e){return e.start}),_.locations=i&&r?i.map(function(e){return(0,o.g)(r,e)}):null==(E=h)?void 0:E.map(function(e){return(0,o.g)(e.source,e.start)}),_.path=null!=d?d:void 0;var S=null==f?void 0:f.extensions;return(null==p&&(0,n.A)(S)?_.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
112t%2?u(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},S):_.extensions=null!=p?p:{},Object.defineProperties(c(_),{message:{enumerable:!0},locations:{enumerable:null!=_.locations},path:{enumerable:null!=_.path},extensions:{enumerable:null!=_.extensions&&Object.keys(_.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack)?(Object.defineProperty(c(_),"stack",{value:f.stack,writable:!0,configurable:!0}),l(_)):(Error.captureStackTrace?Error.captureStackTrace(c(_),s):Object.defineProperty(c(_),"stack",{value:Error().stack,writable:!0,configurable:!0}),_)}return r=[{key:"toString",value:function(){return g(this)}},{key:i.Kp,get:function(){return"Object"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(s.prototype,r),s}(d(Error));function v(e){return void 0===e||0===e.length?void 0:e}function g(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i=n[r];i.loc&&(t+="\n\n"+(0,a.V)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var u=s[o];t+="\n\n"+(0,a.C)(e.source,u)}return t}},68922:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>u,JG:()=>s,ct:()=>a,s6:()=>l});var n=r(4902),i=r(36938),o=r(74968);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(112,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,113,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,114,r),n||null;default:return null}}function l(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},68941:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(15154);let i=function(){let e=[],t=0,r=e=>{e()},i=e=>{e()},o=i=>{t?e.push(i):(0,n.G6)(()=>{r(i)})};return{batch:o=>{let a;t++;try{a=o()}finally{--t||(()=>{let t=e;e=[],t.length&&(0,n.G6)(()=>{i(()=>{t.forEach(e=>{r(e)})})})})()}return a},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{i=e}}}()},69063:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withPlaceholder=function(e,t){return r=>{class n extends s.PlaceholderComponent{constructor(e){super(e)}render(){let n=Object.assign({},this.props);if(delete n.componentMap,t&&t.propsTransformer&&(n=t.propsTransformer(n)),this.state.error)return n.errorComponent?i.default.createElement(n.errorComponent,{error:this.state.error}):i.default.createElement(u.ErrorComponent,{message:`A rendering error occurred: ${this.state.error.message}.`});let o=t&&t.resolvePlaceholderDataFromProps?t.resolvePlaceholderDataFromProps(n):n.rendering;return(Array.isArray(e)?e:[e]).forEach(e=>{let t;"string"!=typeof e&&e.placeholder&&e.prop?(t=(0,s.getPlaceholderRenderings)(o,e.placeholder,n.page.mode.isEditing))&&(n[e.prop]=s.PlaceholderComponent.getRenderedComponents(this.props,t)):(t=(0,s.getPlaceholderRenderings)(o,e,n.page.mode.isEditing))&&(n[e]=s.PlaceholderComponent.getRenderedComponents(this.props,t))}),i.default.createElement(r,Object.assign({},n))}}return(0,a.withSitecore)()((0,o.withComponentMap)(n))}};
112let i=n(r(14232)),o=r(19289),a=r(94082),s=r(9737),u=r(12963)},69228:(e,t,r)=>{"use strict";r.d(t,{O:()=>a});var n=r(14232),i=r(47599),o=r(34699);let a=e=>{let t=(0,n.useContext)(o.sL);return n.createElement(i.O,Object.assign({},e,{modifyComponentProps:e=>{if(!e.rendering.uid)return e;let r=t[e.rendering.uid];return Object.assign(Object.assign({},e),r)}}))}},69256:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(23913),i=r(91811),o=r(80187);let a=(0,r(78639).z)();class s{constructor(e){Object.defineProperty(this,"cache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=e,this.cache={},a.RFK_CACHE||(a.RFK_CACHE={}),a.RFK_CACHE[e]=this.cache}hashKey(e){let t,r,n=0;for(t=0,r=e.length;t<r;t++)n=(n<<5)-n+e.charCodeAt(t)|0;return n}sortObjectKeys(e){return null==e?"":"object"!=typeof e?e:Object.keys(e).sort().reduce((t,r)=>(Array.isArray(e[r])?t[r]=e[r].map(e=>this.sortObjectKeys(e)):"object"==typeof e[r]?t[r]=this.sortObjectKeys(e[r]):t[r]=e[r],t),{})}createKey(e){let t=JSON.stringify(this.sortObjectKeys(e));return(0,i.kL)("debug")?(n.Vy.debug("cache ::: createKey",e),t):String(this.hashKey(t))}has(e){return e in this.cache}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}delete(e){delete this.cache[e]}all(){return this.cache}clear(){this.cache={},window.RFK_CACHE[this.name]=this.cache}getName(){return this.name}}let u={sitecore:{async getAuthHeader(){let{apiKey:e}=(0,i.Gc)();return Promise.resolve(e)}},oc:{getAuthHeader:async()=>r.e(621).then(r.bind(r,74773)).then(e=>e.Tokens).then(e=>{let t=e?.GetIdentityToken();if(!t)throw n.Vy.error("Could not found an Order Cloud Cloud logged user."),Error("Could not found an Order Cloud Cloud logged user.");return n.Vy.info("Using existing Order Cloud Token."),`Bearer ${t}`}).catch(e=>{throw n.Vy.error("Could not import Ordercloud SDK.",e),Error("Could not import Ordercloud SDK.")})}},l=async()=>{let{connector:e="oc"}=(0,i.Gc)();return{...{"Content-Type":"application/json"},Authorization:await u[e].getAuthHeader()||""}},c=new s("api-adapter"),d={cache:!0};class f{static async trackEvent(e){let t=(0,o.Ds)(e),{eventUrl:r,apiKey:a}=(0,i.Gc)();try{return(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify(t)})).json()}catch(e){return n.Vy.error(e),n.Vy.error("There was a problem on the service call"),e.message||null}}static async callApiWithoutCache(e,t){try{let r=await fetch(e,t),n=await r.json();return Promise.resolve(n)}catch(e){return n.Vy.error(e),n.Vy.error("There was a problem on the service call"),e.message||null}}static async callApiWithCache(e,t){let r=c.createKey(t);if(c.has(r))return c.get(r);let n=await f.callApiWithoutCache(e,t);return c.set(r,n),n}static async callApi(e,t=d){let{searchUrl:r}=(0,i.Gc)(),n={method:"POST",headers:await l(),body:JSON.stringify(e),signal:t.signal};return t.cache?f.callApiWithCache(r,n):f.callApiWithoutCache(r,n)}static clearCache(){c.clear()}}},69265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieServerSide=void 0;let n=r(77801);t.getCookieServerSide=function(e,t){return(0,n.getCookie)(e,t)}},69667:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentLayoutService=void 0;let i=r(84429),o=n(r(3107)),a=r(849),s=r(9922),u=r(64547);class l{constructor(e){this.config=e}fetchComponentData(e,t){let r=new i.NativeDataFetcher({debugger:o.default.layout});return o.default.layout("fetching component with uid %s for %s %s %s %s",e.componentUid,e.itemId,e.language,e.siteName,e.dataSourceId),r.get(this.getFetchUrl(e),Object.assign(Object.assign({},t),{headers:Object.assign(Object.assign({},null==t?void 0:t.headers),{sc_editMode:`${e.mode===u.DesignLibraryMode.Metadata}`})})).then(e=>e.data).catch(e=>{var t;if((null==(t=e.response)?void 0:t.status)===404)return e.response.data;throw e})}getComponentFetchParams(e){let t=this.config.contextId||this.config.clientContextId;if(!t)throw Error(`ComponentLayoutService misconfigured: contextId is missing.
113         Provide contextId on the server, and clientContextId in the browser if you need to full client-side functionality.`);return JSON.parse(JSON.stringify({sitecoreContextId:t,item:e.itemId,uid:e.componentUid,dataSourceId:e.dataSourceId,renderingItemId:e.renderingId,version:e.version,sc_site:e.siteName,sc_lang:e.language||"en"}))}getFetchUrl(e){return(0,s.resolveUrl)(`${this.config.edgeUrl||a.S
113ITECORE_EDGE_URL_DEFAULT}/layout/component`,this.getComponentFetchParams(e))}}t.ComponentLayoutService=l},69906:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});var n=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}},70086:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(14232),i=r(49218),o=r(7060),a=r(40052),s=r(79885);let u=()=>{let e=(0,s.A)(),{rfkId:t,instanceId:r}=(0,a.A)(),[u,l]=(0,n.useState)(e.state),c=(0,n.useRef)({});return(0,n.useEffect)(()=>{let e={handleAction(e){if(e.type===i.A.WIDGET_STATE_CHANGED){let{rfkId:n,instanceId:i=null,state:o}=e.payload;if(n===t&&r===i){let e=((e,t)=>{let r=Object.fromEntries(Object.entries(e).filter(([e])=>t[e]));return 0===Object.keys(r).length?null:r})(o,c.current);e&&l(t=>({...t,...e}))}}}};return o.Ay.register(e),()=>o.Ay.unregister(e)},[t,r]),((e,t)=>{let r={};for(let n in e)"request"!==n&&"response"!==n&&Object.defineProperty(r,n,{get:()=>(t[n]=!0,e[n])});return r})(u,c.current)}},70334:(e,t,r)=>{"use strict";r.d(t,{k:()=>v});let n=(e,t,r="")=>{let n=(e=>{let t=e.split("_");return`${t[0]}${t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}`})(t);return`${e}${n[0].toUpperCase()+n.slice(1)}${r}`};var i=r(20310);function o(e,t){let r={};if(Array.isArray(t))for(let n of t){let t=Object.getOwnPropertyDescriptor(e,n);t?.enumerable&&Object.defineProperty(r,n,t)}else for(let n of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,n);if(i.enumerable){let o=e[n];t(n,o,e)&&Object.defineProperty(r,n,i)}}return r}var a=r(23399);let s=e=>{if("object"!=typeof e||null===e)return e;let t=Array.isArray(e)?[]:{};for(let r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=s(e[r]));return t};var u=r(46441);class l{constructor(){Object.defineProperty(this,"listeners",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"props",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"dataSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:{}})}takeSnapshot(){return this.dataSnapshot=JSON.parse(JSON.stringify(this.data)),this}restoreSnapshot(){return this.data=JSON.parse(JSON.stringify(this.dataSnapshot)),this.onChange("@restore-snapshot",null),this}set(e,t,r){if(e in this.props){let n=this.getPropExportKey(e,r);if(this.get(e,void 0)!==t){let r=this.props[e];void 0===t?this.removeKey(r.parent?.key,r.keyPath[0]):(0,i.oq)(this.data,n,t),this.onChange(e,t)}}return this}get(e,t,r){return e in this.props?(0,i.UU)(this.data,this.getPropExportKey(e,r),t):t}resetValue(e,t){if(e in this.props){let r=this.props[e],n=r.initialValue?r.initialValue():void 0;return void 0===n&&t&&r.parent&&"map"===r.parent.type?this.removeKey(r.parent.key,t):this.set(e,n,t)}return this}getMapExportKey(e,t){return e.map(e=>"#KEY#"===e?t:e)}getPropExportKey(e,t){if(e in this.props){let r=this.props[e].exportKey;return t?this.getMapExportKey(r,t).join("."):r.join(".")}return""}getValue(e,t,r){return e in this.props?this.get(e,t,r):t}setValue(e,t,r){return e in this.props?"array"===this.props[e].type&&0===t.length?this.resetValue(e,r):this.set(e,t,r):this}removeKey(e,t){if(!e)return this.data=function(e,t){if(Array.isArray(t)){let r=new Set(t);return o(e,e=>!r.has(e))}return o(e,(e,r,n)=>!t(e,r,n))}(this.data,[t]),this;let r=this.getValue(e,{});return(0,i.BJ)(r,"string"==typeof t?t:`[${t}]`),0===Object.keys(r).length&&(r=void 0),this.setValue(e,r)}updateValue(e,t,r){return this.setValue(e,(0,a.D)(this.getValue(e,{},r),t),r)}addValue(e,t,r){return e in this.props&&"array"===this.props[e].type?this.setValue(e,this.getValue(e,[],r).concat(t),r):this}removeValue(e,t,r=e=>e!==t,n){return e in this.props&&"array"===this.props[e].type&&this.setValue(e,this.getValue(e,[],n).filter(e=>r(e,t)),n),this}load(e,t=!1){return this.data=e.toJson(),t&&this.onChange("load","load"),this}transformJson(e){return e}toJson(...e){return 0===Object.keys(this.data).length?this.transformJson(void 0):0===e.length?this.transformJson(s(this.data)):this.transformJson(u(s(this.data),e))}
113onChange(e,t){this.listeners.forEach(r=>{r.onChange(this,e,t)})}addListeners(e){e.forEach(e=>this.addListener(e))}addListener(e){this.listeners.find(t=>t===e)||this.listeners.push(e)}removeListener(e){this.listeners=this.listeners.filter(t=>t!==e)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let h=(e,t,r)=>{let{name:n=e}=t;return r?`${r.key}.${n}`:n},m=(e,{parent:t},r,n=0)=>{if(t?.type==="map"){if(e.length<r-n+1)throw Error("Invalid number of arguments");if("string"!=typeof e[0])throw Error(`Invalid map key argument: ${e[0]}`);let t=e.slice(1);return[...Array(r).fill(void 0).map((e,r)=>t[r]),e[0]]}return e},y=(e,t,r,o,a)=>{let s={};return Object.keys(t).forEach(u=>{let{key:l,methodKey:c,config:d,config:{accessProp:f,exportKey:p,setter:v,getter:g,type:b,model:E,initialValue:_}}=((e,t,r)=>{let{exportKey:i=[e],getter:o,setter:a}=r,s=t?.type==="map",u=h(e,r,t),l=t?`${t.accessProp}.${e}`:e,c=[...s?["#KEY#"]:[],..."__constructor__"===e?[]:i],d=t?.exportKey?.concat(...c)||c,f=((e,t,r,n)=>("__constructor__"===t&&(e=h(t,n,r?.parent||null)),e.replace(/\./g,"_")))(u,e,t,r),p=o||n("get",f),m=a||n("set",f);return{config:{...r,key:u,accessProp:l,exportKey:d,keyPath:c,getter:p,setter:m,parent:t},key:u,methodKey:f}})(u,e,t[u]),O={type:b,...a};s[l]=d;let w=_?_():void 0;if(void 0===w||l.includes("#KEY#")||(0,i.oq)(r,p.join("."),w),o.push({typeOptions:O,prop:f,key:g,value:function(...e){return this.getValue(l,...m(e,O,1,1))}}),o.push({typeOptions:O,prop:f,key:v,value:function(...e){return this.setValue(l,...m(e,O,1))}}),o.push({typeOptions:O,prop:f,key:n("reset",c),value:function(...e){return this.resetValue(l,...m(e,O,0))}}),"array"===b){let e=c.replace(/s$/,"").replace(/ie$/,"y");o.push({typeOptions:O,prop:f,key:n("add",e),value:function(...e){return this.addValue(l,...m(e,O,1))}}),o.push({typeOptions:O,prop:f,key:n("remove",e),value:function(...e){return this.removeValue(l,...m(e,O,2,1))}})}else"model"===b&&E?(Object.assign(s,y(d,E.properties,r,o,a)),o.push({typeOptions:O,prop:f,key:n("update",c),value:function(...e){return this.updateValue(l,...m(e,O,1))}})):"map"===b&&E&&Object.assign(s,y(d,E.properties,r,o,{parent:d,...a}))}),s},v=e=>{let{name:t,properties:r={}}=e,n={},i=[],o=y(null,r,n,i);!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,l);let a=function(e){let t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){let r,n=d(e);r=t?Reflect.construct(n,arguments,d(this).constructor):n.apply(this,arguments);if(r&&("object"===f(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this}}(s);function s(...e){let t=a.call.apply(a,[this].concat(e));return p(t,"listeners",[]),p(t,"props",o),p(t,"data",JSON.parse(JSON.stringify(n))),t}return!function(e,t,r){t&&function(e,t){for(let r=0;r<t.length;r++){let n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t)}(s,i),Object.defineProperty(s,"name",{value:t}),s}},70402:(e,t,r)=>{"use strict";function n(e,t){return e?.facet?.find(({name:e})=>e===t)}function i(e,t,r){let i=n(e,t);if(i)return i.value.find(({id:e})=>r===e)}function o(e,t){let{facets:r={}}=e,{type:n}=r[t]||{};return n||e.defaultFacetType||"valueId"}r.d(t,{RJ:()=>n,XA:()=>i,Lp:()=>a,hL:()=>u,Rq:()=>s,ol:()=>o});let a=(e,t)=>"facetValueId"in t&&e.id===t.facetValueId||"facetValueText"in t&&e.text===t.facetValueText;function s(e,t,r){return e.findIndex(e=>r&&e.facetId===t&&e.facetValueId===r)}function u(e,t,r,n){if(void 0!==r){let o=i(n,t,r);if(o)return e.findIndex(e=>e.facetId===t&&e.facetValueText===o.text)}return -1}},70454:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(23913);let i=[],o=[];class a{static addActionHandler(e){i.push(e)}static removeActionHandler(e){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}static subscribe(e){i.push(e)}static unsubscribe(e){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}static dispatch(e){n.Vy.debug("dispatcher ::: dispatch",`[${e.type}
113]`,e.payload),i.forEach(t=>{t.handleAction(e)}),o.forEach(t=>{t.handleAction(e)})}}},70543:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FEaaSWrapper=t.FEaaSComponent=void 0;let u=s(r(14232)),l=a(r(74218)),c=r(83757);t.FEaaSComponent=e=>{var t,r,n,i,o,a,s,d,f;let p=(null==(t=e.params)?void 0:t.ComponentRevision)||e.revisionFallback;if(!e.template&&(!e.params||!e.params.LibraryId||!e.params.ComponentId||!e.params.ComponentVersion||!e.params.ComponentHostName||!p))return null;let h=Object.assign(Object.assign({},e.fetchedData),{_:(0,c.getDataFromFields)(null!=(r=e.fields)?r:{})});return u.default.createElement(l.Component,{data:h,template:e.template,cdn:null==(n=e.params)?void 0:n.ComponentHostName,library:null!=(o=null==(i=e.params)?void 0:i.LibraryId)?o:"",version:null==(a=e.params)?void 0:a.ComponentVersion,component:null!=(d=null==(s=e.params)?void 0:s.ComponentId)?d:"",instance:null==(f=e.params)?void 0:f.ComponentInstanceId,revision:p,fetch:[]})},t.FEaaSWrapper=e=>{var r,n;let i=`component feaas ${null==(r=e.params)?void 0:r.styles}`.trimEnd(),o=null==(n=e.params)?void 0:n.RenderingIdentifier;return u.default.createElement("div",{className:i,id:o||void 0},u.default.createElement("div",{className:"component-content"},u.default.createElement(t.FEaaSComponent,Object.assign({},e))))}},70875:(e,t,r)=>{"use strict";r.d(t,{Pr:()=>l,rd:()=>s,sF:()=>u,vC:()=>c});var n=r(23913),i=r(83325),o=r(81969),a=r(80187);let s=async(e,t,{actionCause:r,index:s,request:u,items:l})=>{let c=[];if(t&&l&&(c=(0,a.G$)(t,l))&&!(0,a.kz)(c))return void n.Vy.warn("trackEvent :::","A field is missing on one or more of the items provided");if(r&&"entity"===r&&(0,i.BU)(s))return void n.Vy.warn("trackEvent :::","Field index is mandatory for widget click entity events and is having invalid/missing value");let d={name:"widget",action:"click",action_cause:r,value:{entity:t,rfk_id:e,index:s,entities:c,request:u,context:o.A.toJson()}};return(0,a.u4)(d)},u=async(e,t,{request:r,filters:n})=>{let i={name:"widget",action:"click",action_cause:"suggestion",value:{entity:t,rfk_id:e,request:r,filters:n,context:o.A.toJson()}};return(0,a.u4)(i)},l=async(e,t,{index:r,request:n,filters:i})=>{let s={name:"widget",action:"click",action_cause:"filter",value:{rfk_id:e,entity:t,index:r,request:n,filters:i,context:o.A.toJson()}};return(0,a.u4)(s)},c=async(e,t,{request:r,items:i}={})=>{let s=[];if(t&&i&&(s=(0,a.G$)(t,i))&&!(0,a.kz)(s))return void n.Vy.warn("trackEvent :::","A field is missing on one or more of the items provided");let u={action:"view",name:"widget",value:{entity:t,rfk_id:e,request:r,entities:s,context:o.A.toJson()}};return(0,a.u4)(u)}},71157:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={name:"Context",file:"context",buildInterface:!0,properties:{browser:{type:"model",model:{name:"ContextBrowser",file:"browser",properties:{user_agent:{},device:{},app_type:{}}}},campaign:{type:"model",model:{name:"ContextCampaign",properties:{utm_source:{},utm_medium:{},utm_campaign:{},utm_term:{},utm_content:{}}}},geo:{type:"model",model:{name:"ContextGeo",properties:{ip:{},location:{type:"model",model:{name:"ContextGeoLocation",properties:{lat:{required:!0},lon:{required:!0}}}}}}},ids:{type:"map",model:{name:"ContextEntityIds",properties:{__constructor__:{type:"array",name:"entity
113Ids"}}},mapKey:"entity",mapKeyType:"Entity"},locale:{type:"model",model:{name:"ContextLocale",properties:{country:{required:!0},language:{required:!0}}}},page:{type:"model",model:{name:"ContextPage",properties:{uri:{required:!0},custom:{}}}},store:{type:"model",model:{name:"ContextStore",properties:{group_id:{},id:{required:!0}}}},time:{type:"model",model:{name:"ContextTime",properties:{epoch:{}}}},user:{type:"model",model:{name:"ContextUser",properties:{user_id:{name:"id"},uuid:{required:!0},groups:{type:"array",name:"groups"},custom:{}}}}}}},71211:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,d8:()=>s,f2:()=>u,s7:()=>l});var n=r(36938),i=r(74968),o=r(94587);function a(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,106,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,107,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),108,o),i.push({directive:e,ifArgument:a})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,105,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function u(e){return e&&s(["client","export"],e,!0)}function l(e){var t,r,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(109):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(110):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(111,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},71457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadersInstanceToPlainObject=t.uppercase=void 0,t.uppercase=e=>e.toUpperCase(),t.HeadersInstanceToPlainObject=e=>{let t={};return e.forEach((e,r)=>{t[r]=e}),t}},71713:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(15072);function i(e){return new n.c(function(t){t.error(e)})}},72276:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.defineConfig=t.form=t.constants=t.NativeDataFetcher=t.ClientError=t.MemoryCacheClient=t.DefaultRetryStrategy=t.GraphQLRequestClient=t.enableDebug=t.debug=void 0,t.constants=a(r(849)),t.form=a(r(65397));var u=r(3107);Object.defineProperty(t,"debug",{enumerable:!0,get:function(){return s(u).default}}),Object.defineProperty(t,"enableDebug",{enumerable:!0,get:function(){return u.enableDebug}});var l=r(43735);Object.defineProperty(t,"GraphQLRequestClient",{enumerable:!0,get:function(){return l.GraphQLRequestClient}});var c=r(6602);Object.defineProperty(t,"DefaultRetryStrategy",{enumerable:!0,get:function(){return c.DefaultRetryStrategy}});var d=r(862);Object.defineProperty(t,"MemoryCacheClient",{enumerable:!0,get:function(){return d.MemoryCacheClient}});var f=r(41448);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return f.ClientError}});var p=r(84429);Object.defineProperty(t,"NativeDataFetcher",{enumerable:!0,get:function(){return p.NativeDataFetcher}});var h=r(98157);Object.defineProperty(t,"defineConfig",{enumerable:!0,get:function(){return h.defineConfig}})},72552:()=>{},72680:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});
113var n=r(14232),i=r(7060),o=r(40052),a=r(23015);let s=(e,t)=>{let{rfkId:r,instanceId:s}=(0,o.A)(),u=(0,a.n)(e,t);(0,n.useEffect)(()=>{let e={handleAction(e){let{rfkId:t,instanceId:n}=e.payload;t&&(t!==r||n!==s)||u.current(e)}};return i.Ay.register(e),()=>i.Ay.unregister(e)},[r,s,u])}},72914:(e,t,r)=>{"use strict";r.d(t,{M:()=>s,a:()=>a});var n=r(14232),i=r(74218),o=r(86056);let a=e=>{var t,r,a,s,u,l,c,d,f;let p=(null==(t=e.params)?void 0:t.ComponentRevision)||e.revisionFallback;if(!e.template&&(!e.params||!e.params.LibraryId||!e.params.ComponentId||!e.params.ComponentVersion||!e.params.ComponentHostName||!p))return null;let h=Object.assign(Object.assign({},e.fetchedData),{_:(0,o.q)(null!=(r=e.fields)?r:{})});return n.createElement(i.Component,{data:h,template:e.template,cdn:null==(a=e.params)?void 0:a.ComponentHostName,library:null!=(u=null==(s=e.params)?void 0:s.LibraryId)?u:"",version:null==(l=e.params)?void 0:l.ComponentVersion,component:null!=(d=null==(c=e.params)?void 0:c.ComponentId)?d:"",instance:null==(f=e.params)?void 0:f.ComponentInstanceId,revision:p,fetch:[]})},s=e=>{var t,r;let i=`component feaas ${null==(t=e.params)?void 0:t.styles}`.trimEnd(),o=null==(r=e.params)?void 0:r.RenderingIdentifier;return n.createElement("div",{className:i,id:o||void 0},n.createElement("div",{className:"component-content"},n.createElement(a,Object.assign({},e))))}},72925:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalizeService=void 0;let i=n(r(3107)),o=r(9922),a=r(862);class s{constructor(e){this.config=e,this.config.timeout=e.timeout||400,this.graphQLClient=this.getGraphQLClient(),this.cache=this.getCacheClient()}get query(){return`
114      query ($siteName: String!, $language: String!, $itemPath: String!) {
115        layout(site: $siteName, routePath: $itemPath, language: $language) {
116          item {
117            id
118            version
119            personalization {
120              variantIds
121            }
122          }
123        }
124      }
125    `}async getPersonalizeInfo(e,t,r){var n;i.default.personalize("fetching personalize info for %s %s %s",r,e,t);let a=this.getCacheKey(e,t,r),s=this.cache.getCacheValue(a);if(!s)try{s=await this.graphQLClient.request(this.query,{siteName:r,itemPath:e,language:t}),this.cache.setCacheValue(a,s)}catch(e){if((0,o.isTimeoutError)(e))return;throw e}return(null==(n=null==s?void 0:s.layout)?void 0:n.item)?{pageId:s.layout.item.id,variantIds:s.layout.item.personalization.variantIds}:void 0}getCacheClient(){var e,t;return new a.MemoryCacheClient({cacheEnabled:null==(e=this.config.cacheEnabled)||e,cacheTimeout:null!=(t=this.config.cacheTimeout)?t:10})}getCacheKey(e,t,r){return`${r}-${e}-${t}`}getGraphQLClient(){if(!this.config.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.config.clientFactory({debugger:i.default.personalize,fetch:this.config.fetch,timeout:this.config.timeout})}}t.PersonalizeService=s},73108:function(e,t,r){"use strict";var n,i,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SitecoreClient=t.ErrorPage=void 0;let a=r(46395),s=r(11643),u=r(85917),l=r(16784),c=r(12352),d=r(52892),f=r(10517),p=r(84429),h=r(60931),m=r(64547),y=o(r(3107));(n=i||(t.ErrorPage=i={})).NotFound="404",n.InternalServerError="500";class v{constructor(e){var t,r,n,i,o,a,s,u,l,c;this.initOptions=e,this.clientFactory=this.getClientFactory(),this.graphQLClient=this.clientFactory({debugger:y.default.http});let d=this.getBaseServiceOptions();this.layoutService=null!=(r=null==(t=e.custom)?void 0:t.layoutService)?r:this.getLayoutService(d),this.dictionaryService=null!=(i=null==(n=e.custom)?void 0:n.dictionaryService)?i:this.getDictionaryService(d),this.editingService=null!=(a=null==(o=e.custom)?void 0:o.editingService)?a:this.getEditingService(),this.errorPagesService=null!=(u=null==(s=e.custom)?void 0:s.errorPagesService)?u:this.getErrorPagesService(),this.sitePathService=null!=(c=null==(l=e.custom)?void 0:l.sitePathService)?c:this.getSitePathService(),this.componentService=this.getComponentService()}parsePath(e){return"string"==typeof e?e.startsWith("/")?e:`/${e}`:`/${e.filter(e=>"/"!==e).map(e=>e.replace(/^\/+/,"").replace(/\/+$/,"")).join("/")}`}getData(e,t,r){return this.graphQLClient.request(e,t,r)}async getPage(e,t,r){var n,i,o,a;let s=this.parsePath(e),l=null!=(n=null==t?void 0:t.locale)?n:this.initOptions.defaultLanguage,d=null!=(i=null==t?void 0:t.site)?i:this.initOptions.defaultSite,f=await this.layoutService.fetchLayoutData(s,{locale:l,site:d},r);return f.sitecore.route?((null==(o=null==t?void 0:t.personalize)?void 0:o.variantId)&&(0,c.personalizeLayout)(f,t.personalize.variantId,t.personalize.componentVariantIds),{layout:f,siteName:(null==(a=f.sitecore.context.site)?void 0:a.name)||d,locale:l,mode:this.getPageMode(u.LayoutServicePageState.Normal)}):null}getHeadLinks(e,t={}){let{enableStyles:r=!0,enableThemes:n=!0}=t,{contextId:i,clientContextId:o,edgeUrl:a}=this.initOptions.api.edge,s=[],l=i||o;if(r){let t=(0,u.getContentStylesheetLink)(e,l,a);t&&s.push(t)}return n&&s.push(...(0,u.getDesignLibraryStylesheetLinks)(e,l,a)),s}async getDictionary(e,t){let r=(null==e?void 0:e.locale)||this.initOptions.defaultLanguage,n=(null==e?void 0:e.site)||this.initOptions.defaultSite;return await this.dictionaryService.fetchDictionaryData(r,n,t)}async getErrorPages(e,t){let r=(null==e?void 0:e.locale)||this.initOptions.defaultLanguage,n=(null==e?void 0:e.site)||this.initOptions.defaultSite;return await this.errorPagesService.fetchErrorPages(n,r,t)}async getPreview(e,t){var r;if(!e)return console.error("Preview data missing"),null;let{site:n,itemId:i,language:o,version:a,layoutKind:s,mode:u}=e,d=Array.isArray(e.variantIds)?e.variantIds:e.variantIds.split(","),f=await this.editingService.fetchEditingData({itemId:i,language:o,version:a,layoutKind:s,mode:u},t);if(!f)throw Error(`Unable to fetch editing data for preview ${JSON.stringify(e)}`);let p={locale:o,layout:f.layoutData,siteName:(null==(r=f.layoutData.sitecore.context.site)?void 0:r.name)||n,mode:this.getPageMode(u)},h=(0,l.getGroomedVariantIds)(d);return(0,c.personalizeLayout)(p.layout,h.variantId,h.componentVariantIds),p}async getDesignLibraryData(e,t){var r;if(!this.initOptions.api.local)throw Error("Component Library requires Sitecore apiHost and apiKey to be provided");let{itemId:n,componentUid:i,site:o,language:a,renderingId:s,dataSourceId:u,version:l,mode:c,generation:d}=e,f=await this.componentService.fetchComponentData(Object.assign({siteName:o,itemId:n,language:a,c
125omponentUid:i,renderingId:s,dataSourceId:u,version:l,mode:c},d?{generation:d}:{}),t);if(!f)throw Error(`Unable to fetch editing data for preview ${JSON.stringify(e)}`);return{locale:e.language,layout:f,siteName:(null==(r=f.sitecore.context.site)?void 0:r.name)||o,mode:this.getPageMode(c,d)}}async getErrorPage(e,t,r){var n,o;let a=(null==t?void 0:t.locale)||this.initOptions.defaultLanguage,s=(null==t?void 0:t.site)||this.initOptions.defaultSite,l=await this.getErrorPages({site:s,locale:a},r),c=null;switch(e){case i.NotFound:c=(null==(n=null==l?void 0:l.notFoundPage)?void 0:n.rendered)||null;break;case i.InternalServerError:c=(null==(o=null==l?void 0:l.serverErrorPage)?void 0:o.rendered)||null;break;default:return null}return c?{layout:c,locale:a,mode:this.getPageMode(u.LayoutServicePageState.Normal),siteName:s}:null}async getPagePaths(e,t,r){return this.sitePathService.fetchSiteRoutes(e,t||[],r)}async getSiteMap(e,t){let{reqHost:r,reqProtocol:n,id:i,siteName:o}=e,a=this.getGraphqlSitemapXMLService(o||this.initOptions.defaultSite),s=await a.getSitemap(i);if(s)try{let e=new p.NativeDataFetcher,t=await e.fetch(s);if(!t.data)throw Error("REDIRECT_404");return t.data}catch(e){throw Error("REDIRECT_404")}let u=await a.fetchSitemaps(t);if(!u.length)throw Error("REDIRECT_404");return`<?xml version="1.0" encoding="UTF-8"?>
126      <sitemapindex xmlns="http://sitemaps.org/schemas/sitemap/0.9">
127      ${u.map(e=>{let t=e.split("/"),i=t[t.length-1],o=`${n}://${r}/${i}`.replace(/&/g,"&amp;");return`<sitemap><loc>${o}</loc></sitemap>`}).join("")}
128      </sitemapindex>`}async getRobots(e,t){let r=this.getRobotsService(e||this.initOptions.defaultSite);return await r.fetchRobots(t)||null}getGraphqlSitemapXMLService(e){return new d.SitemapXmlService({clientFactory:this.clientFactory,siteName:e})}getRobotsService(e){return new h.RobotsService({clientFactory:this.clientFactory,siteName:e})}getBaseServiceOptions(){return{defaultSite:this.initOptions.defaultSite,clientFactory:this.clientFactory,retries:this.initOptions.retries}}getPageMode(e,t){let r={name:e,isNormal:!1,isPreview:!1,isEditing:!1,isDesignLibrary:!1,designLibrary:{isVariantGeneration:!1}};switch(e){case u.LayoutServicePageState.Normal:r.isNormal=!0;break;case u.LayoutServicePageState.Preview:r.isPreview=!0;break;case u.LayoutServicePageState.Edit:r.isEditing=!0;break;case a.DesignLibraryMode.Normal:r.isDesignLibrary=!0;break;case a.DesignLibraryMode.Metadata:r.isDesignLibrary=!0,r.isEditing=!0}return r.isDesignLibrary&&t===m.DesignLibraryVariantGeneration.Variant&&(r.designLibrary.isVariantGeneration=!0,r.isEditing=!0),r}getClientFactory(){let e={api:this.initOptions.api,retries:this.initOptions.retries.count,retryStrategy:this.initOptions.retries.retryStrategy};return(0,f.createGraphQLClientFactory)(e)}getLayoutService(e){return new u.LayoutService(Object.assign(Object.assign({},e),{formatLayoutQuery:this.initOptions.layout.formatLayoutQuery}))}getDictionaryService(e){return new s.DictionaryService(Object.assign(Object.assign({},e),{cacheEnabled:this.initOptions.dictionary.caching.enabled,cacheTimeout:this.initOptions.dictionary.caching.timeout}))}getEditingService(){return new a.EditingService({clientFactory:this.clientFactory})}getErrorPagesService(){return new d.ErrorPagesService(Object.assign(Object.assign({},this.initOptions),{language:this.initOptions.defaultLanguage,clientFactory:this.clientFactory}))}getComponentService(){return new a.ComponentLayoutService(this.initOptions.api.edge)}getSitePathService(){return new d.SitePathService({clientFactory:this.clientFactory})}}t.SitecoreClient=v},73379:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultJsonSerializer=void 0,t.defaultJsonSerializer=JSON},73911:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(14232),i=r(106),o=r(85461),a=r(15154),s=r(68941),u=r(1860),l=r(29382),c=r(64650);class d extends l.Q{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),f(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return p(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return p(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,a.f8)(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let i=this.hasListeners();i&&h(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),i&&(this.currentQuery!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();i&&(this.currentQuery!==n||this.options.enabled!==r.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){var t,r,n;let i=this.client.getQueryCache().build(this.client,e),o=this.createResult(i,e);return t=this,r=o,(n=e).keepPreviousData||(void 0!==n.placeholderData?!r.isPlaceholderData:(0,a.f8)(t.getCurrentResult(),r))||(this.currentResult=o,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),o}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(a.lQ)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),a.S$||this.currentResult.isStale||!(0,a.gn)(this.options.staleTime))return;let e=(0,a.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!a.S$&&!1!==this.options.enabled&&(0,a.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
128{(this.options.refetchIntervalInBackground||u.m.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r,n=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,u=this.currentResultOptions,l=e!==n,d=l?e.state:this.currentQueryInitialState,p=l?this.currentResult:this.previousQueryResult,{state:y}=e,{dataUpdatedAt:v,error:g,errorUpdatedAt:b,fetchStatus:E,status:_}=y,O=!1,w=!1;if(t._optimisticResults){let r=this.hasListeners(),o=!r&&f(e,t),a=r&&h(e,n,t,i);(o||a)&&(E=(0,c.v_)(e.options.networkMode)?"fetching":"paused",v||(_="loading")),"isRestoring"===t._optimisticResults&&(E="idle")}if(t.keepPreviousData&&!y.dataUpdatedAt&&null!=p&&p.isSuccess&&"error"!==_)r=p.data,v=p.dataUpdatedAt,_=p.status,O=!0;else if(t.select&&void 0!==y.data)if(o&&y.data===(null==s?void 0:s.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(y.data),r=(0,a.pl)(null==o?void 0:o.data,r,t),this.selectResult=r,this.selectError=null}catch(e){this.selectError=e}else r=y.data;if(void 0!==t.placeholderData&&void 0===r&&"loading"===_){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==u?void 0:u.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(_="success",r=(0,a.pl)(null==o?void 0:o.data,e,t),w=!0)}this.selectError&&(g=this.selectError,r=this.selectResult,b=Date.now(),_="error");let S="fetching"===E,C="loading"===_,T="error"===_;return{status:_,fetchStatus:E,isLoading:C,isSuccess:"success"===_,isError:T,isInitialLoading:C&&S,data:r,dataUpdatedAt:v,error:g,errorUpdatedAt:b,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>d.dataUpdateCount||y.errorUpdateCount>d.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:T&&0===y.dataUpdatedAt,isPaused:"paused"===E,isPlaceholderData:w,isPreviousData:O,isRefetchError:T&&0!==y.dataUpdatedAt,isStale:m(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,a.f8)(r,t))return;this.currentResult=r;let n={cache:!0},i=()=>
128{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let n=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&n.has(e))};(null==e?void 0:e.listeners)!==!1&&i()&&(n.listeners=!0),this.notify({...n,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,c.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){s.j.batch(()=>{var t,r,n,i,o,a,s,u;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(n=(i=this.options).onSettled)||n.call(i,this.currentResult.data,null)):e.onError&&(null==(o=(a=this.options).onError)||o.call(a,this.currentResult.error),null==(s=(u=this.options).onSettled)||s.call(u,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function f(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&("error"!==e.state.status||!1!==t.retryOnMount)||e.state.dataUpdatedAt>0&&p(e,t,t.refetchOnMount)}function p(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&m(e,t)}return!1}function h(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&m(e,r)}function m(e,t){return e.isStaleByTime(t.staleTime)}let y=r(38806).useSyncExternalStore,v=n.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),g=n.createContext(!1);g.Provider;let b=e=>{var t;let[r,u]=(0,n.useState)(()=>e.getKey()),l=(0,o.jE)();return(0,n.useEffect)(()=>(e.onUpdate(()=>{u(e.getKey())}),()=>{l.cancelQueries({queryKey:e.getKey(),exact:!0}),e.destroy()}),[e,l]),t={queryKey:r,queryFn:t=>e.run({signal:t.signal}).catch(e=>e instanceof i.A?l.cancelQueries({queryKey:t.queryKey,exact:!0}).then(()=>null):Promise.reject(e)),refetchOnMount:!1,enabled:e.isEnabled()},function(e,t){let r=(0,o.jE)({context:e.context}),i=n.useContext(g),a=n.useContext(v),u=r.defaultQueryOptions(e);u._optimisticResults=i?"isRestoring":"optimistic",u.onError&&(u.onError=s.j.batchCalls(u.onError)),u.onSuccess&&(u.onSuccess=s.j.batchCalls(u.onSuccess)),u.onSettled&&(u.onSettled=s.j.batchCalls(u.onSettled)),u.suspense&&("number"!=typeof u.staleTime&&(u.staleTime=1e3),"number"==typeof u.cacheTime&&(u.cacheTime=Math.max(u.cacheTime,1e3))),(u.suspense||u.useErrorBoundary)&&!a.isReset()&&(u.retryOnMount=!1),n.useEffect(()=>{a.clearReset()},[a]);let[l]=n.useState(()=>new t(r,u)),c=l.getOptimisticResult(u);if(y(n.useCallback(e=>{let t=i?()=>void 0:l.subscribe(s.j.batchCalls(e));return l.updateResult(),t},[l,i]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),n.useEffect(()=>{l.setOptions(u,{listeners:!1})},[u,l]),(null==u?void 0:u.suspense)&&c.isLoading&&c.isFetching&&!i)throw l.fetchOptimistic(u).then(({data:e})=>{null==u.onSuccess||u.onSuccess(e),null==u.onSettled||u.onSettled(e,null)}
128).catch(e=>{a.clearReset(),null==u.onError||u.onError(e),null==u.onSettled||u.onSettled(void 0,e)});if((({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>{var i,o;return e.isError&&!t.isReset()&&!e.isFetching&&(i=r,o=[e.error,n],"function"==typeof i?i(...o):!!i)})({result:c,errorResetBoundary:a,useErrorBoundary:u.useErrorBoundary,query:l.getCurrentQuery()}))throw c.error;return u.notifyOnChangeProps?c:l.trackResult(c)}((0,a.vh)(t,void 0,void 0),d)}},74019:(e,t,r)=>{"use strict";var n;r.d(t,{E:()=>n}),function(e){e.ITEM_CLICKED="search/ITEM_CLICKED",e.SUGGESTION_CLICKED="search/SUGGESTION_CLICKED",e.SUGGESTION_ADDED="search/SUGGESTION_ADDED",e.SUGGESTION_REMOVED="search/SUGGESTION_REMOVED",e.KEYPHRASE_CHANGED="search/KEYPHRASE_CHANGED"}(n=n||(n={}))},74412:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getComponentForRendering=t.getRenderedComponentProps=t.renderEmptyPlaceholder=t.getSXAParams=t.getPlaceholderRenderings=void 0,t.getAppComponentProps=f;let o=i(r(14232)),a=r(56426),s=r(90838),u=r(85917),l=r(72276),c=r(24775),d=r(85512);function f(e,r){return{fields:Object.assign(Object.assign({},e.fields||{}),r.fields||{}),params:Object.assign(Object.assign({},Object.assign(Object.assign({},e.params||{}),r.params||{})),(0,t.getSXAParams)(r)),rendering:r}}t.getPlaceholderRenderings=(e,t,r)=>{let n,i=t.slice();return((null==e?void 0:e.placeholders)&&Object.entries(e.placeholders).forEach(([t,n])=>{let o=(0,u.isDynamicPlaceholder)(t)?(0,u.getDynamicPlaceholderPattern)(t):null;o&&o.test(i)&&(r?i=t:(e.placeholders[i]=n,delete e.placeholders[t]))}),n=e&&e.placeholders&&Object.keys(e.placeholders).length>0?e.placeholders[i]:null)?n:(console.warn(`Placeholder '${i}' was not found in the current rendering data`,JSON.stringify(e,null,2)),[])},t.getSXAParams=e=>{if(!e.params)return{styles:""};let{GridParameters:t,Styles:r}=e.params;return(t||r)&&{styles:`${t||""} ${r||""}`}},t.renderEmptyPlaceholder=e=>o.default.createElement("div",{className:"sc-jss-empty-placeholder"},e),t.getRenderedComponentProps=(e,t,r)=>{let{fields:i,params:o}=e,a=n(e,["fields","params"]);delete a.missingComponentComponent,delete a.hiddenRenderingComponent,delete a.name;let s=f(e,t);return Object.assign(Object.assign(Object.assign({key:r},a),s),{rendering:t})},t.getComponentForRendering=(e,t,r,n,i)=>{var u,f;let p=r=>{console.error(`Placeholder ${t} contains unknown component ${e.componentName}${r?` (${r})`:""}. Ensure that a React component exists for it, and that it is registered in your component-map file.`)};if(e.componentName===l.constants.HIDDEN_RENDERING_NAME)return{component:null!=n?n:c.HiddenRendering,isEmpty:!0,componentType:"universal"};
128if(!e.componentName)return{component:()=>o.default.createElement(o.default.Fragment,null),isEmpty:!0,componentType:"universal"};let h=null;if(r&&0!==r.size?h=r.get(e.componentName):console.warn(`No components were available in component map to service request for component ${e}`),!h){if(e.componentName===d.FEAAS_COMPONENT_RENDERING_NAME)return{component:d.FEaaSComponent,isEmpty:!1,componentType:"universal"};if(e.componentName===d.FEAAS_WRAPPER_RENDERING_NAME)return{component:d.FEaaSWrapper,isEmpty:!1,componentType:"universal"};if(e.componentName===d.BYOC_COMPONENT_RENDERING_NAME)return{component:d.BYOCComponent,isEmpty:!1,componentType:"universal"};else if(e.componentName===d.BYOC_WRAPPER_RENDERING_NAME)return{component:d.BYOCWrapper,dynamic:!0,componentType:"universal",isEmpty:!1};return p(),{component:null!=i?i:a.MissingComponent,isEmpty:!0,componentType:"universal"}}let m=null==(u=e.params)?void 0:u.FieldNames,y=m&&m!==s.DEFAULT_EXPORT_NAME?h[m]:h.default||h.Default||h;if(!y)return p(m!==s.DEFAULT_EXPORT_NAME?m:void 0),{component:null!=i?i:a.MissingComponent,isEmpty:!0,componentType:"universal"};let v=!!(null==(f=y.render)?void 0:f.preload)||e.componentName===d.BYOC_WRAPPER_RENDERING_NAME;return{component:y,dynamic:v,componentType:h.componentType,isEmpty:!1}}},74493:(e,t,r)=>{"use strict";e.exports=r(99428).style},74968:(e,t,r)=>{"use strict";r.d(t,{UY:()=>l,YR:()=>s,oP:()=>u,sP:()=>a});var n=r(77016),i=r(86158),o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=Object.freeze({});function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,u=Array.isArray(e),c=[e],d=-1,f=[],p=void 0,h=void 0,m=void 0,y=[],v=[],g=e;do{var b,E=++d===c.length,_=E&&0!==f.length;if(E){if(h=0===v.length?void 0:y[y.length-1],p=m,m=v.pop(),_){if(u)p=p.slice();else{for(var O={},w=0,S=Object.keys(p);w<S.length;w++){var C=S[w];O[C]=p[C]}p=O}for(var T=0,R=0;R<f.length;R++){var P=f[R][0],A=f[R][1];u&&(P-=T),u&&null===A?(p.splice(P,1),T++):p[P]=A}}d=s.index,c=s.keys,f=s.edits,u=s.inArray,s=s.prev}else{if(h=m?u?d:c[d]:void 0,null==(p=m?m[h]:g))continue;m&&y.push(h)}var I=void 0;if(!Array.isArray(p)){if(!(0,i.Ll)(p))throw Error("Invalid AST Node: ".concat((0,n.A)(p),"."));var D=l(t,p.kind,E);if(D){if((I=D.call(t,p,h,m,y,v))===a)break;if(!1===I){if(!E){y.pop();continue}}else if(void 0!==I&&(f.push([h,I]),!E))if((0,i.Ll)(I))p=I;else{y.pop();continue}}}
128void 0===I&&_&&f.push([h,p]),E?y.pop():(s={inArray:u,index:d,keys:c,edits:f,prev:s},c=(u=Array.isArray(p))?p:null!=(b=r[p.kind])?b:[],d=-1,f=[],m&&v.push(m),m=p)}while(void 0!==s);return 0!==f.length&&(g=f[f.length-1][1]),g}function u(e){var t=Array(e.length);return{enter:function(r){for(var n=0;n<e.length;n++)if(null==t[n]){var i=l(e[n],r.kind,!1);if(i){var o=i.apply(e[n],arguments);if(!1===o)t[n]=r;else if(o===a)t[n]=a;else if(void 0!==o)return o}}},leave:function(r){for(var n=0;n<e.length;n++)if(null==t[n]){var i=l(e[n],r.kind,!0);if(i){var o=i.apply(e[n],arguments);if(o===a)t[n]=a;else if(void 0!==o&&!1!==o)return o}}else t[n]===r&&(t[n]=null)}}}function l(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}},75064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},75162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageViewEvent=void 0;let n=r(65036),i=r(29088),o=r(52094),a=r(31356);class s extends i.BaseEvent{constructor(e){let{channel:t,currency:r,language:i,page:s,extensionData:u}={...e.pageViewData};if(super({channel:t,currency:r,language:i,page:s},e.id),this.extensionData={},this.pageViewData=e.pageViewData,this.sendEvent=e.sendEvent,this.settings=e.settings,this.urlSearchParams=new URLSearchParams(decodeURI(e.searchParams)),u&&(this.extensionData=(0,a.flattenObject)({object:u})),Object.entries(this.extensionData).length>n.MAX_EXT_ATTRIBUTES)throw Error(o.ErrorMessages.IV_0005);this.includeUTMParameters=(e.pageViewData&&e.pageViewData.includeUTMParameters)??!0}getPageVariantId(e,t){if(e)return e;let r=this.urlSearchParams.get("variantid");return r||t||null}getReferrer(){if(this.pageViewData?.referrer)return this.pageViewData.referrer;if("undefined"==typeof window||!s.isFirstPageView||!document.referrer)return null;let{hostname:e,href:t}=new URL(document.referrer);return window.location.hostname!==e?t:null}mapAttributes(){let e={type:"VIEW"},t=this.pageViewData&&this.getPageVariantId(this.pageViewData.pageVariantId,this.extensionData.pageVariantId);if(null!==t&&(e.ext={...e.ext,pageVariantId:t}),Object.keys(this.extensionData).length>0&&(delete this.extensionData.pageVariantId,e.ext={...e.ext,...this.extensionData}),this.includeUTMParameters){let t=this.getUTMParameters();e={...e,...t}}let r=this.getReferrer();return null!==r&&(e={...e,referrer:r}),this.pageViewData?.searchData&&(e.sc_search={data:this.pageViewData.searchData,metadata:{ut_api_version:"1.0"}}),e}async send(){let e=this.mapBaseEventPayload(),t=this.mapAttributes();return s.isFirstPageView=!1,await this.sendEvent({...e,...t},this.settings)}getUTMParameters(){let e={};return this.urlSearchParams.forEach((t,r)=>{let i=r.toLowerCase();0===i.indexOf(n.UTM_PREFIX)&&(e[i]=t)}),e}}t.PageViewEvent=s,s.isFirstPageView=!0},75243:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(69256);let i=null,o=async(e,t)=>a(e.toJson(),t),a=async(e,t)=>{if(!i)return Promise.reject(Error("No data processor configured"));try{let r=await n.A.callApi(e,{cache:!1,...t}),o=i.validateResponse(r,e);if(o)return Promise.reject(o);return Promise.resolve(i.processResponse(r,e))}catch(e){return Promise.reject(e)}},s={get:a,run:o,setProcessor:e=>{i=e},getProcessor:()=>i}},75725:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryParseEnvValue=void 0,t.tryParseEnvValue=(e,t)=>{if(!e)return t;if(e.startsWith("{")&&e.endsWith("}"))try{return JSON.parse(e)}catch(t){console.warn("Parsing of env variable failed"),console.warn(`Attempted to parse ${e}`)}return t}},76014:(e,t,r)=>{var n=r(89950),i=r(28654);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},76040:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)}
128,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Placeholder=t.PlaceholderComponent=void 0;let u=s(r(14232)),l=r(19289),c=r(46395),d=r(94082),f=r(74412),p=r(15821),h=a(r(12963));class m extends u.default.Component{constructor(e){super(e),this.isEmpty=!1,this.state={}}componentDidMount(){this.isEmpty&&c.PagesEditor.isActive()&&c.PagesEditor.resetChromes()}componentDidCatch(e){this.setState({error:e})}renderEmptyPlaceholder(e){return(0,f.renderEmptyPlaceholder)(e)}render(){let e=Object.assign({},this.props);if(delete e.componentMap,this.state.error)return e.errorComponent?u.default.createElement(e.errorComponent,{error:this.state.error}):u.default.createElement(h.ErrorComponent,{message:`A rendering error occurred: ${this.state.error.message}.`});let t=e.rendering,r=(0,f.getPlaceholderRenderings)(t,this.props.name,this.props.page.mode.isEditing);this.isEmpty=!r.length;let n=m.getRenderedComponents(this.props,r);if(this.isEmpty){let e=this.props.renderEmpty?this.props.renderEmpty(n):n;return this.props.page.mode.isEditing?(0,f.renderEmptyPlaceholder)(e):e}if(this.props.render)return this.props.render(n,r,e);if(!this.props.renderEach)return n;{let e=this.props.renderEach;return n.map((t,r)=>t&&t.props&&"text/sitecore"===t.props.type?t:e(t,r))}}}t.PlaceholderComponent=m,m.getRenderedComponents=(e,t)=>{let{name:r,missingComponentComponent:n,hiddenRenderingComponent:i}=e,o=t.map((t,o)=>{let a=t.uid||`component-${o}`,s=(0,f.getRenderedComponentProps)(e,t,a),l=(0,f.getComponentForRendering)(t,r,e.componentMap,i,n),c=u.default.createElement(l.component,e.modifyComponentProps?e.modifyComponentProps(s):s);if(!l.isEmpty){let t=c.type+"-"+o,r=e.disableSuspense||!1;c=u.default.createElement(h.default,{"data-testid":"error-boundary",key:t,errorComponent:e.errorComponent,componentLoadingMessage:e.componentLoadingMessage,isDynamic:l.dynamic,disableSuspense:r,rendering:c.props.rendering},c)}return e.page.mode.isEditing?u.default.createElement(p.PlaceholderMetadata,{key:a,rendering:t},c):c}).filter(e=>e);return e.page.mode.isEditing?[u.default.createElement(p.PlaceholderMetadata,{key:e.rendering.uid,placeholderName:r,rendering:e.rendering},o)]:o};let y=(0,l.withComponentMap)(m);t.Placeholder=(0,d.withSitecore)()(y)},76246:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentPropsService=void 0;let o=i(r(43774));class a{fetchComponentProps(e){return n(this,void 0,void 0,function*(){var t;let{layoutData:r,context:n,components:i}=e,o=yield this.collectRequests({placeholders:null==(t=r.sitecore.route)?void 0:t.placeholders,components:i,layoutData:r,context:n});return yield this.execRequests(o)})}collectRequests(e){return n(this,void 0,void 0,function*(){let{placeholders:t={},components:r,layoutData:i,context:o}=e;e.requests||(e.requests=[]);let a=this.flatRenderings(t).map(t=>n(this,void 0,void 0,function*(){var n;let a=null==(n=yield this.getModule(r,t.componentName))?void 0:n.getComponentServerProps;a&&e.requests&&e.requests.push({fetch:a,rendering:t,layoutData:i,context:o}),t.placeholders&&(yield this.collectRequests(Object.assign(Object.assign({},e),{placeholders:t.placeholders})))}));return yield Promise.all(a),e.requests})}execRequests(e){return n(this,void 0,void 0,function*(){let t={},r=e.map(e=>{let{uid:r}=e.rendering;return r?e.fetch(e.rendering,e.layoutData,e.context).then(e=>{t[r]=e}).catch(n=>{let i=`Error during preload data for component ${e.rendering.componentName} (${r}): ${n.message||n}`;console.error(o.default.red(i)),t[r]={error:n.message||i,componentName:e.rendering.componentName}}):void console.log(`Component ${e.rendering.componentName} doesn't have uid, can't store data for this component`)});return yield Promise.all(r),t})}flatRenderings(e){let t=[];
128return Object.values(e).forEach(e=>{t.push(...e)}),t}getModule(e,t){return n(this,void 0,void 0,function*(){var r;let n=e.get(t);return n?n.dynamicModule?yield null==(r=null==n?void 0:n.dynamicModule)?void 0:r.call(n):n:null})}}t.ComponentPropsService=a},76251:(e,t,r)=>{"use strict";r.d(t,{R:()=>er});var n=r(4902),i=r(36938),o=r(22337),a=r(46552),s=r(84918),u=r(36464),l=r(20996),c=r(54868),d=r(71211),f=r(61055),p=r(68922),h=r(26828),m=r(60592),y=r(15072);function v(e,t,r){return new y.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var g=r(35785);function b(e){var t=E(e);return(0,g.E)(t)}function E(e){var t=(0,g.E)(e.errors)?e.errors.slice(0):[];return(0,c.ST)(e)&&(0,g.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var _=r(45813),O=r(58851),w=r(93957),S=r(18659),C=r(53975),T=r(36974);function R(e){return e&&"function"==typeof e.then}var P=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,C.w)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,C.w)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?R(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,C.w)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new y.c(t)]),R(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(y.c);(0,T.r)(P);var A=r(83070),I=r(35518),D=r(66434),N=r(48131),x=r(80542),j=r(33408),k=new(x.et?WeakMap:Map);function M(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return k.set(e,(k.get(e)+1)%1e15),r.apply(this,arguments)})}var L=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;k.has(r)||(k.set(r,0),M(r,"evict"),M(r,"modify"),M(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||D.pT.loading;return this.variables&&this.networkStatus!==D.pT.loading&&!(0,l.L)(this.variables,e.variables)&&(t=D.pT.setVariables),(0,l.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,l.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=(0,j.lz)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(0,j.lz)("getLastError",function(){var e;return null==(e=r.observableQuery)?void 0:e.getLastError()}))&&(this.updateLastDiff(e),(0,l.L)(n&&n.result,e&&e.result)||null==(t=this.observableQuery)||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
128this.lastWatch&&(0,l.L)(i,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===k.get(this.cache)&&(0,l.L)(t,r.variables)&&(0,l.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,o=this,a=new N.ZI,s=(0,g.E)(e.errors)?e.errors.slice(0):[];if(null==(i=this.observableQuery)||i.resetNotifications(),"incremental"in e&&(0,g.E)(e.incremental)){var u=(0,c.bd)(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var d=this.getDiff();e.data=a.merge(d.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(F(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:k.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=(0,j.lz)("canonizeResults",function(){return i.diff(a)});!o.stopped&&(0,l.L)(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=D.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=D.pT.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function F(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!b(e);return!n&&r&&e.data&&(n=!0),n}var V=r(68148),U=r(39668),q=r(95682),B=r(80593),G=r(65958),Q=r(90240),z=r(28347),$=Object.prototype.hasOwnProperty,H=Object.create(null),K=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new q.A(B.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new U.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new m.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,i.vA)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t,r,o,a,s,u,l,c=e.mutation,d=e.variables,f=e.optimisticResponse,p=e.updateQueries,h=e.refetchQueries,m=void 0===h?[]:h,y=e.awaitRefetchQueries,g=void 0!==y&&y,_=e.update,O=e.onQueryUpdated,w=e.fetchPolicy,S=void 0===w?(null==(u=this.defaultOptions.mutate)?void 0:u.fetchPolicy)||"network-only":w,C=e.errorPolicy,T=void 0===C?(null==(l=this.defaultOptions.mutate)?void 0:l.errorPolicy)||"none":C,R=e.keepRootFields,P=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:if((0,i.V1)(c,36),(0,i.V1)("network-only"===S||"no-cache"===S,37),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,d=this.getVariables(c,d),!r)return[3,2];return[4,this.localState.addExportedVariables(c,d,P)];case 1:d=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:d,loading:!0,error:null}),a=f&&this.markMutationOptimistic(f,{mutationId:t,document:c,variables:d,fetchPolicy:S,errorPolicy:T,context:P,updateQueries:p,update:_,keepRootFields:R}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return v(s.getObservableFromLink(c,(0,n.Cl)((0,n.Cl)({},P),{optimisticResponse:a?f:void 0}),d,{},!1),function(e){if(b(e)&&"none"===T)throw new A.K4({graphQLErrors:E(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof m&&(m=m(r)),"ignore"===T&&b(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:c,variables:d,fetchPolicy:S,errorPolicy:T,context:P,update:_,updateQueries:p,awaitRefetchQueries:g,refetchQueries:m,removeOptimistic:a?t:void 0,onQueryUpdated:O,keepRootFields:R})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.Cl)((0,n.Cl)({},r),{data:s.maskOperation({document:c,data:r.data,fetchPolicy:S,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof A.K4?e:new A.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&F(i,e.errorPolicy)){if((0,c.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,c.ST)(i)&&(0,g.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
128),u=void 0;s.result&&(u=(0,c.bd)(s.result,i)),void 0!==u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&$.call(l,s)){var u=l[s],c=r.queries.get(n),d=c.document,f=c.variables,p=t.diff({query:d,variables:f,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var m=u(h,{mutationResult:i,queryName:d&&(0,_.n4)(d)||void 0,queryVariables:f});m&&o.push({result:m,dataId:"ROOT_QUERY",query:d,variables:f})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,u=!(0,c.YX)(i)||(0,c.ST)(i)&&!i.hasNext;if(s){if(!a){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return d.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(d).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables,{IGNORE:H}):e;return o!==H&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,d.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,d.d8)(["nonreactive"],e),nonReactiveQuery:(0,f.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,f.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,_.wY)((0,_.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new L(this),i=new I.U({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,I.U.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,38),(0,i.V1)("Document"===e.query.kind,39),(0,i.V1)(!e.returnPartialData,40),(0,i.V1)(!e.pollInterval,41);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:o})).then(function(i){return i&&(0,n.Cl)((0,n.Cl)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
128),this.cancelPendingFetches((0,i.vA)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=D.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)o.set(e,e),a.set(e,!1);else if((0,O.Kc)(e)){var r=(0,V.y)(t.transform(e));o.set(r,(0,_.n4)(e)),a.set(r,!1)}else(0,w.U)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,V.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,V.y)(o),!0))}}),s.size&&s.forEach(function(e){var o=(0,S.v)("legacyOneTimeQuery"),a=t.getOrCreateQuery(o).init({document:e.query,variables:e.variables}),s=new I.U({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){if(!e){var r=o.get(t);r?!1!==globalThis.__DEV__&&i.V1.warn(43,r):!1!==globalThis.__DEV__&&i.V1.warn(44)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;(0,j.lz)("resetLastResults",function(){return n.resetLastResults()}),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,l=e.extensions,c=void 0===l?{}:l;r=this.transform(r),n=this.getVariables(r,n);var d=function(e){return t.getObservableFromLink(r,u,e,c).map(function(n){"no-cache"!==i&&(F(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=b(n),s=(0,A.uR)(n);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[A.K$]),"none"===a||s)throw new A.K4(u)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var f=this.localState.addExportedVariables(r,n,u).then(d);return new y.c(function(e){var t=null;return f.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return d(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,o){var s,u,l=this;void 0===o&&(o=null!=(s=null==t?void 0:t.queryDeduplication)?s:this.queryDeduplication);var c=this.getDocumentInfo(e),d=c.serverQuery,f=c.clientQuery;if(d){var p=this.inFlightLinkObservables,m=this.link,g={query:d,variables:r,operationName:(0,_.n4)(d)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=g.context,o){var b=(0,V.y)(d),E=(0,h.M)(r),O=p.lookup(b,E);if(!(u=O.observable)){var w=new P([(0,a.g)(m,g)]);u=O.observable=w,w.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?w.beforeNext(e):p.remove(b,E)})}}else u=new P([(0,a.g)(m,g)])}else u=new P([y.c.of({data:{}})]),t=this.prepareContext(t);return f&&(u=v(u,function(e){return l.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return v(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=E(o),s=a.length>0,u=r.errorPolicy;if(n>
128=e.lastRequestId){if(s&&"none"===u)throw e.markError(new A.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var l={data:o.data,loading:!1,networkStatus:D.pT.ready};return s&&"none"===u&&(l.data=void 0),s&&"ignore"!==u&&(l.errors=a,l.networkStatus=D.pT.error),l},function(t){var r=(0,A.Mn)(t)?t:new A.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=D.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,c=void 0===l?u&&u.fetchPolicy||"cache-first":l,d=t.errorPolicy,f=void 0===d?u&&u.errorPolicy||"none":d,p=t.returnPartialData,h=t.notifyOnNetworkStatusChange,m=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:c,errorPolicy:f,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==h&&h,context:void 0===m?{}:m}),v=function(n){y.variables=n;var i=a.fetchQueryByPolicy(e,y,r);return"standby"!==y.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},g=function(){return a.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new P(this.localState.addExportedVariables(y.query,y.variables,y.context).then(v).then(function(e){return e.sources})),o=!0;else{var b=v(y.variables);o=b.fromLink,i=new P(b.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,S.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,l=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){l.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof L&&e.watcher.observableQuery;if(n){if(u){l.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==u&&l.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),l.size&&l.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;u&&(a||(a=(0,j.lz)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=u(i,a,o)),u&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,r,n,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,u=e.id,l=null==(t=(0,_.Vu)(o))?void 0:t.operation,c=(null!=(r=null==l?void 0:l[0])?r:"o")+u;!this.dataMasking||"no-cache"!==s||(0,p.s6)(o)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&i.V1.warn(45,null!=(n=(0,_.n4)(o))?n:"Unnamed ".concat(null!=l?l:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,Q.Ki)(),e;var n,o=(0,_.Vu)(t);return((0,i.V1)(o,63),null==e)?e:(0,G.S)(e,o.selectionSet,{operationType:o.operation,operationName:null==(n=o.name)?void 0:n.value,fragmentMap:(0,p.JG)((0,_.zK)(t)),cache:r,mutableTargets:new Q.jq,knownChanged:new Q.xm})}(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,z.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,d=t.returnPartialData,f=t.context,p=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var m=function(){return e.getDiff()},v=function(t,r){void 0===r&&(r=e.networkStatus||D.pT.loading);var s=t.result;!1===globalThis.__DEV__||d||(0,l.L)(s,{})||(0,I.y)(t.missing);var u=function(e){return y.c.of((0,n.Cl)({data:e,loading:(0,D.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===c&&r===D.pT.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},g="no-cache"===s?0:r===D.pT.refetch&&"merge"!==u?1:2,b=function(){return i.getResultsFromLink(e,g,{query:o,variables:a,context:f,fetchPolicy:s,errorPolicy:c})},E=p&&"number"==typeof h&&h!==r&&(0,D.bi)(r);switch(s){default:case"cache-first":var _=m();if(_.complete)return{fromLink:!1,sources:[v(_,e.markReady())]};if(d||E)return{fromLink:!0,sources:[v(_),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var _=m();if(_.complete||d||E)return{fromLink:!0,sources:[v(_),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[v(m(),e.markReady())]};case"network-only":if(E)return{fromLink:!0,sources:[v(m()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(E)return{fromLink:!0,sources:[v(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new L(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),Y=r(74968),W=r(93194),J=r(48235),X=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,N.D9)(t.resolvers,e)}):this.resolvers=(0,N.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.Cl)((0,n.Cl)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,d.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,f.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.YH)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)})]:[2,(0,n.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,Y.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return Y.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,f.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.sH)(this,arguments,void 0,function(e,t,r,i,o,a){var s,u,l,c,d,f,h,m,y,v;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.YH)(this,function(g){return s=(0,_.Vn)(e),u=(0,_.zK)(e),l=(0,p.JG)(u),c=this.collectSelectionsToResolve(s,l),f=(d=s.operation)?d.charAt(0).toUpperCase()+d.slice(1):"Query",h=this,m=h.cache,y=h.client,v={fragmentMap:l,context:(0,n.Cl)((0,n.Cl)({},r),{cache:m,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,u,l,c,f=this;return(0,n.YH)(this,function(p){return a=o.fragmentMap,s=o.context,u=o.variables,l=[r],c=function(e){return(0,n.sH)(f,void 0,void 0,function(){var c,f;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,d.MS)(e,u)?(0,O.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&l.push(((r={}
128)[(0,O.ue)(e)]=t,r))})]:((0,O.kd)(e)?c=e:(c=a[e.name.value],(0,i.V1)(c,21,e.name.value)),c&&c.typeCondition&&(f=c.typeCondition.name.value,o.fragmentMatcher(r,f,s)))?[2,this.resolveSelectionSet(c.selectionSet,t,r,o).then(function(e){l.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return(0,N.IM)(l)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,u,l,c,d,f,p,h=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,u=(a=e.name.value)!==(s=(0,O.ue)(e)),c=Promise.resolve(l=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(d=r.__typename||i.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(p=f[u?a:s])&&(c=Promise.resolve(J.bl.withValue(this.cache,p,[r,(0,O.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=l),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!=(o=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?h.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,Y.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&(0,W.VK)(e)&&a.add(e)})},FragmentSpread:function(n,o,s,u,l){var c=t[n.name.value];(0,i.V1)(c,22,n.name.value);var d=e(c);d.size>0&&(l.forEach(function(e){r(e)&&(0,W.VK)(e)&&a.add(e)}),a.add(n),d.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),Z=r(18877),ee=r(17070),et=!1,er=function(){function e(e){var t,r,a,l=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var c=e.uri,d=e.credentials,f=e.headers,p=e.cache,h=e.documentTransform,m=e.ssrMode,y=void 0!==m&&m,v=e.ssrForceFetchDelay,g=void 0===v?0:v,b=e.connectToDevTools,E=e.queryDeduplication,_=void 0===E||E,O=e.defaultOptions,w=e.defaultContext,S=e.assumeImmutableResults,C=void 0===S?p.assumeImmutableResults:S,T=e.resolvers,R=e.typeDefs,P=e.fragmentMatcher,A=e.clientAwareness,I=e.name,D=e.version,N=e.devtools,x=e.dataMasking;!1!==globalThis.__DEV__&&((0,j.cc)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,j.cc)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,j.cc)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,j.cc)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,j.cc)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,j.cc)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,j.cc)(e,"typeDefs","ApolloClient"),e.link||!1===globalThis.__DEV__||i.V1.warn(17));var k=e.link;k||(k=c?new u.P({uri:c,credentials:d,headers:f}):o.C.empty()),this.link=k,this.cache=p,this.disableNetworkFetches=y||g>0,this.queryDeduplication=_,this.defaultOptions=O||Object.create(null),this.typeDefs=R,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},N),{enabled:null!=(t=null==N?void 0:N.enabled)?t:b}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),g&&setTimeout(function(){return l.disableNetworkFetches=!1},g),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new X({cache:p,client:this,resolvers:T,fragmentMatcher:P}),this.queryManager=new K({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:w,documentTransform:h,queryDeduplication:_,ssrMode:y,dataMasking:!!x,clientAwareness:{name:null!=(r=null==A?void 0:A.name)?r:I,version:null!=(a=null==A?void 0:A.version)?a:D},localState:this.localState,assumeImmutableResults:C,onBroadcast:this.devtoolsConfig.enabled?function(){l.devToolsHookCb&&l.devToolsHookCb({action:{},state:{queries:l.queryManager.getQueryStore(),mutations:l.queryManager.mutationStore||{}},dataWithOptimisticResults:l.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
128,enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!et&&!1!==globalThis.__DEV__&&(et=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,Z.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,j.cc)(e,"canonizeResults","client.watchQuery"),(0,j.cc)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,Z.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,j.cc)(e,"canonizeResults","client.query"),(0,j.cc)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&i.V1.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,Z.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return(0,n.Cl)((0,n.Cl)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.Cl)((0,n.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.g)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&i.V1.debug(20,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
128,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(er.prototype.getMemoryInternals=ee.ep)},76293:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var n=r(36938),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var i=(0,n.vA)(54,t,e.message);throw i.parseError=e,i}return r}},76454:(e,t,r)=>{"use strict";r.d(t,{A:()=>H});var n=r(23913),i=r(49218),o=r(80187),a=r(70875);let s=async(e,t,{index:r,items:i,...s})=>e?await (0,a.rd)(e,t,{actionCause:"entity",index:r,request:(0,o.d9)(s),items:i}):void n.Vy.warn("trackEvent :::","Widget's rfkId mandatory field is empty"),u=async(e,t,{index:r,filters:i,...s})=>e?i&&!(0,o.KJ)(i)?void n.Vy.warn("trackEvent :::","Filter's name is not defined"):await (0,a.Pr)(e,t,{index:r,request:(0,o.d9)(s),filters:(0,o.VD)(i)}):void n.Vy.warn("trackEvent :::","Widget's rfkId mandatory field is empty");var l=r(76537),c=r(40052),d=r(73911),f=r(79885),p=r(72680),h=r(28076),m=r(80942),y=r(70086),v=r(66884);class g{static buildItem(e,t){let{facetId:r,facetValueId:n,type:i,facetValueText:o}=t;if("text"===i){if(o)return{type:"eq",value:o};let{facet:t=[]}=e.getLastResponse()||{},{value:i=[]}=t.find(({name:e})=>e===r)||{};return{type:"eq",value:i.find(({id:e})=>e===n)?.text||""}}return n}}class b{getCurrentFacetInfo(e,t){let{facetId:r}=t,{facet:n=[]}=e.getLastResponse()||{},{value:i=[],label:o=""}=n.find(({name:e})=>e===r)||{};return{facetValues:i,facetTitle:o}}}class E extends b{process(e,t,r){let{facetId:n,facetValueId:i,facetIndex:o,facetValueIndex:a,silentTracking:s,checked:l}=r,{facetValues:c,facetTitle:d}=this.getCurrentFacetInfo(t,r),f=c.find(({id:e})=>e===i)?.text||"";s||u(e,t.getRequest().getEntity(),{filters:[{facetId:n,facetValueId:i,facetValue:f,valueIndex:a,facetIndex:o,facetTitle:d}],...(0,v.l)(t)}),t.getRequest().setSearchOffset(0),l?t.getRequest().addSearchFacetTypeFilter(n,g.buildItem(t,r)):t.getRequest().removeSearchFacetTypeFilter(n,g.buildItem(t,r))}}class _ extends b{process(e,t,r){let{facetId:n,min:i,max:o,facetIndex:a,silentTracking:s}=r;if(t.getRequest().resetSearchFacetTypeFilter(n),void 0!==i||void 0!==o){t.getRequest().addSearchFacetTypeFilter(n,{value:i,type:"gte"},"and"),t.getRequest().addSearchFacetTypeFilter(n,{value:o,type:"lte"},"and");let{facetTitle:l}=this.getCurrentFacetInfo(t,r);s||u(e,t.getRequest().getEntity(),{filters:[{facetId:n,...void 0!==i?{startValue:i.toString()}:{},...void 0!==o?{endValue:o.toString()}:{},facetValue:`${i} - ${o}`,valueIndex:0,facetIndex:a,facetTitle:l}]})}}}let O=new E,w={range:new _,valueId:O,text:O},S=function(e,t){let{type:r,rfkId:i}=t,o=w[r];o?o.process(i,e,t):n.Vy.warn(`${r} has not a valid action handler`)};class C{}let T=C;class R extends T{process(e,t){let{facetId:r}=t;e.getRequest().removeSearchFacetTypeFilter(r,g.buildItem(e,t))}}class P extends T{process(e,t){let{facetId:r}=t;e.getRequest().resetSearchFacetTypeFilter(r)}}let A=new R,I={range:new P,valueId:A,text:A},D=function(e,t){let{type:r}=t,i=I[r];i?i.process(e,t):n.Vy.warn(`${r} has not a valid action handler`)};var N=r(70402);class x{run(e,t){if("min"in t||"max"in t){let{min:r,max:n,facetId:i}=t;return e.getRequest().addSearchFacetTypeFilter(i,{value:r,type:"gte"},"and").addSearchFacetTypeFilter(i,{value:n,type:"lte"},"and"),!0}return n.Vy.error("Type range expected properties min or max to be present on the initial state for selected facets. Since none of them has been provided, initializer will not run."),!1}}class j{run(e,t){if("facetValueId"in t){let{facetId:r,facetValueId:n}=t;return e.getRequest().addSearchFacetTypeFilter(r,n),!0}return n.Vy.error("Type valueId expected property facetValueId to be present on the initial state for selected facets. Since it has not been provided, initializer will not run."),!1}}class k{run(e,t){if("facetValueText"in t){let{facetId:r,facetValueText:n}=t;return e.getRequest().addSearchFacetTypeFilter(r,{value:n,type:"eq"}),!0}return n.Vy.error("Type text expected property facetValueText to be present on the initial state for selected facets. Since it has not been provided, initializer will not run."),!1}}let M={range:new x,valueId:new j,text:new k};class L{process(e,t,r){let{facetId:n,min:i,max:o}=r,a=e.findIndex(e=>e.facetId===n),s=[...e],u=(0,N.RJ)(t,n);return a>-1?s[a]={...s[a],min:i,max:o,facetLabel:u?u.label:s[a].facetLabel}:s.push({min:i,max:o,facetId:n,facetLabel:u?u.label:""}),s}}class F{process(e,t,r){let{facetId:n,facetValueId:i,checked:o}=r,a=this.findPreviousValueIndex(e,n,i,t);
128if(!o&&a>-1)return e.filter((e,t)=>t!==a);let s=[...e],u=(0,N.RJ)(t,n),l=(0,N.XA)(t,n,i);return o&&-1===a&&s.push(this.buildNewItem(u,l,n,i)),s}}class V extends F{findPreviousValueIndex(e,t,r,n){return(0,N.hL)(e,t,r,n)}buildNewItem(e,t,r,n){return{facetId:r,facetValueId:n,facetValueText:t?.text,facetLabel:e?e.label:"",valueLabel:t?t.text:""}}}class U extends F{buildNewItem(e,t,r,n){return{facetId:r,facetValueId:n,facetLabel:e?e.label:"",valueLabel:t?t.text:""}}findPreviousValueIndex(e,t,r){return(0,N.Rq)(e,t,r)}}let q={range:new L,valueId:new U,text:new V};class B{process(e,t){return e.filter(e=>e.facetId!==t.facetId)}}class G{process(e,t){let r=(0,N.Rq)(e,t.facetId,t.facetValueId);return e.filter((e,t)=>t!==r)}}class Q{process(e,t,r){let{facetId:n,facetValueText:i}=t,o=e.findIndex(e=>e.facetId===n&&e.facetValueText===i);return e.filter((e,t)=>t!==o)}}let z={valueId:new G,range:new B,text:new Q},$=(e,t)=>{switch(t.type){case i.A.WIDGET_DATA_REQUEST_SUCCESS:return(e=>{let{selectedFacets:t=[],response:r}=e;return t.some(e=>{if(!e.facetLabel)return!0;let t=(0,N.RJ)(r,e.facetId),n=t?.value?.find(t=>(0,N.Lp)(t,e));return!!(n&&n.text&&!e.valueLabel)})?{...e,selectedFacets:t.map(e=>{let t=(0,N.RJ)(r,e.facetId);return t?((e,t)=>{let r=t.value.find(t=>(0,N.Lp)(t,e));return{...e,facetValueId:r?r.id:e.facetValueId,facetLabel:t.label||e.facetLabel,valueLabel:r?r.text:e.valueLabel}})(e,t):e})}:e})(e);case l.E.FILTER_CLICKED:case l.E.REMOVE_FILTER:return((e,t)=>{let{selectedFacets:r=[],response:i}=e,{type:o}=t,a=z[o];return a?{...e,page:1,selectedFacets:a.process(r,t,i)}:(n.Vy.warn(`${o} has not a valid reducer for REMOVE_FILTER action. No reduce transformation applied.`),{...e,page:1})})(e,t.payload);case l.E.FACET_CLICKED:return((e,t)=>{let{selectedFacets:r=[],response:i}=e,{type:o}=t,a=q[o];return a?{...e,page:1,selectedFacets:a.process(r,i,t)}:(n.Vy.warn(`${o} has not a valid action reducer. No reduce transformation applied.`),{...e,selectedFacets:r})})(e,t.payload);case l.E.SORT_CHANGED:return{...e,page:1,sortType:t.payload.name};case l.E.PAGE_NUMBER_CHANGED:return{...e,page:t.payload.page};case l.E.RESULTS_PER_PAGE_CHANGED:return{...e,page:1,itemsPerPage:t.payload.numItems};case l.E.KEYPHRASE_CHANGED:return{...e,page:1,keyphrase:t.payload.keyphrase,selectedFacets:[]};case l.E.CLEAR_FILTERS:return{...e,page:1,selectedFacets:[]};default:return e}},H=function(e){let{rfkId:t,dispatch:r}=(0,c.A)(),i=(0,f.A)();if(!i.isInitialized()){i.initialize(e||{});let{query:t,state:{selectedFacets:r=[]},config:o={}}=i;r.forEach(e=>{let r=(0,N.ol)(o,e.facetId),i=M[r];if(!i)return n.Vy.warn(`Facet type ${r} is not supported.`);i.run(t,e)})}let{query:o,options:a,actions:u}=i,g=(0,y.A)(),b=(0,d.A)(o),E=(0,m.A)();return(0,h.A)($,[]),(0,p.A)(e=>{switch(e.type){case l.E.FACET_CLICKED:S(o,e.payload);break;case l.E.FILTER_CLICKED:case l.E.REMOVE_FILTER:D(o,e.payload);break;case l.E.ITEM_CLICKED:{let{index:r,id:n,entity:i,sourceId:a}=e.payload;s(t,i,{index:r,items:[{id:n,sourceId:a}],...(0,v.l)(o)});break}case l.E.SORT_CHANGED:o.getRequest().resetSearchSortCriteria().setSearchSortCriteriaName(e.payload.name).setSearchOffset(0);break;case l.E.PAGE_NUMBER_CHANGED:{let r=o.getRequest().getSearchLimit()??o.getLastResponse()?.limit;void 0===r?n.Vy.warn(`Widget "${t}" has triggered a onPageNumberChanged action and there is no itemsPerPage state or query search limit defined`):o.getRequest().setSearchOffset(r*(e.payload.page-1));break}case l.E.RESULTS_PER_PAGE_CHANGED:o.getRequest().setSearchLimit(e.payload.numItems).setSearchOffset(0);break;case l.E.KEYPHRASE_CHANGED:o.getRequest().resetSearchFacetTypeFilters().setSearchOffset(0),e.payload.keyphrase?o.getRequest().setSearchQueryKeyphrase(e.payload.keyphrase):o.getRequest().resetSearchQueryKeyphrase();break;case l.E.CLEAR_FILTERS:o.getRequest().resetSearchFacetTypeFilters().setSearchOffset(0)}},[t,o]),{widgetRef:E,rfkId:t,state:g,queryResult:b,actions:u,options:a,dispatch:r,query:o}}},76537:(e,t,r)=>{"use strict";var n;r.d(t,{E:()=>n}),function(e){e.FACET_CLICKED="searchResults/FACET_CLICKED",e.FILTER_CLICKED="searchResults/FILTER_CLICKED",e.REMOVE_FILTER="searchResults/REMOVE_FILTER",e.SORT_CHANGED="searchResults/SORT_CHANGED",e.PAGE_NUMBER_CHANGED="searchResults/PAGE_NUMBER_CHANGED",e.ITEM_CLICKED="searchResults/ITEM_CLICKED",e.RESULTS_PER_PAGE_CHANGED="searchResults/RESULTS_PER_PAGE_CHANGED",e.KEYPHRASE_CHANGED="searchResults/KEYPHRASE_CHANGED",e.CLEAR_FILTERS="searchResults/CLEAR_FILTERS"}(n=n||(n={}))},76540:(e,t,r)=>{"use strict";r.d(t,{z:()=>b});var n=r(4902),i=r(22337),o=r(36938),a=r(71211),s=r(61055),u=r(15072),l=r(71713),c=r(9835),d=r(6095),f=r(69906),p=r(76293),h=r(1242),m=function(){function e(e){var t=e.batchDebounce,r=e.batchInterval,n=e.batchMax,i=e.batchHandler,o=e.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=t,this.batchInterval=r,this.batchMax=n||0,this.batchHandler=i,this.batchKey=o||function(){return""}}return e.prototype.enqueueRequest=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e),{next:[],error:[],complete:[],subscribers:new Set}),i=this.batchKey(e.operation);return r.observable||(r.observable=new u.c(function(e){var n=t.batchesByKey.get(i);n||t.batchesByKey.set(i,n=new Set);var o=0===n.size,a=0===r.subscribers.size;return r.subscribers.add(e),a&&n.add(r),e.next&&r.next.push(e.next.bind(e)),e.error&&r.error.push(e.error.bind(e)),e.complete&&r.complete.push(e.complete.bind(e)),(o||t.batchDebounce)&&t.scheduleQueueConsumption(i),n.size===t.batchMax&&t.consumeQueue(i),function(){var o;r.subscribers.delete(e)&&r.subscribers.size<1&&n.delete(r)&&n.size<1&&(t.consumeQueue(i),null==(o=n.subscription)||o.unsubscribe())}})),r.observable},e.prototype.consumeQueue=function(e){void 0===e&&(e="");var t=this.batchesByKey.get(e);if(this.batchesByKey.delete(e),t&&t.size){var r=[],n=[],i=[],o=[],a=[],s=[];t.forEach(function(e){r.push(e.operation),n.push(e.forward),i.push(e.observable),o.push(e.next),a.push(e.error),s.push(e.complete)});var l=this.batchHandler(r,n)||u.c.of(),c=function(e){a.forEach(function(t){t&&t.forEach(function(t){return t(e)})})};return t.subscription=l.subscribe({next:function(e){if(Array.isArray(e)||(e=[e]),o.length!==e.length){var t=Error("server returned results with length ".concat(e.length,", expected length of ").concat(o.length));return t.result=e,c(t)}e.forEach(function(e,t){o[t]&&o[t].forEach(function(t){return t(e)})})}
128,error:c,complete:function(){s.forEach(function(e){e&&e.forEach(function(e){return e()})})}}),i}},e.prototype.scheduleQueueConsumption=function(e){var t=this;clearTimeout(this.scheduledBatchTimerByKey.get(e)),this.scheduledBatchTimerByKey.set(e,setTimeout(function(){t.consumeQueue(e),t.scheduledBatchTimerByKey.delete(e)},this.batchInterval))},e}(),y=function(e){function t(t){var r=e.call(this)||this,n=t||{},i=n.batchDebounce,o=n.batchInterval,a=n.batchMax,s=n.batchHandler,u=n.batchKey;return r.batcher=new m({batchDebounce:i,batchInterval:void 0===o?10:o,batchMax:void 0===a?0:a,batchHandler:void 0===s?function(){return null}:s,batchKey:void 0===u?function(){return""}:u}),t.batchHandler.length<=1&&(r.request=function(e){return r.batcher.enqueueRequest({operation:e})}),r}return(0,n.C6)(t,e),t.prototype.request=function(e,t){return this.batcher.enqueueRequest({operation:e,forward:t})},t}(i.C),v=r(61965),g=(0,o.no)(function(){return fetch}),b=function(e){function t(t){var r=e.call(this)||this,i=t||{},m=i.uri,b=void 0===m?"/graphql":m,E=i.fetch,_=i.print,O=void 0===_?c.i1:_,w=i.includeExtensions,S=i.preserveHeaderCase,C=i.batchInterval,T=i.batchDebounce,R=i.batchMax,P=i.batchKey,A=i.includeUnusedVariables,I=void 0!==A&&A,D=(0,n.Tt)(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","batchInterval","batchDebounce","batchMax","batchKey","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,d.S)(E||g);var N={http:{includeExtensions:w,preserveHeaderCase:S},options:D.fetchOptions,credentials:D.credentials,headers:D.headers};return r.batchDebounce=T,r.batchInterval=C||10,r.batchMax=R||10,P=P||function(e){var t=e.getContext(),r={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:t.headers};return(0,f.z)(e,b)+JSON.stringify(r)},r.batcher=new y({batchDebounce:r.batchDebounce,batchInterval:r.batchInterval,batchMax:r.batchMax,batchKey:P,batchHandler:function(e){var t,r=(0,f.z)(e[0],b),i=e[0].getContext(),d={};if(i.clientAwareness){var m=i.clientAwareness,y=m.name,_=m.version;y&&(d["apollographql-client-name"]=y),_&&(d["apollographql-client-version"]=_)}var w={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:(0,n.Cl)((0,n.Cl)({},d),i.headers)};!1!==globalThis.__DEV__&&e.some(function(e){var t=e.query;return(0,a.d8)(["client"],t)})&&!1!==globalThis.__DEV__&&o.V1.warn(46);var S=e.map(function(e){var t=e.query;return(0,a.d8)(["client"],t)?(0,s.er)(t):t});if(S.some(function(e){return!e}))return(0,l.N)(Error("BatchHttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or enable the `transformOptions.removeClientFields` option."));var C=e.map(function(e,t){var r=(0,c.HY)((0,n.Cl)((0,n.Cl)({},e),{query:S[t]}),O,c.R4,N,w);return r.body.variables&&!I&&(r.body.variables=(0,v.X)(r.body.variables,e.query)),r}),T=C.map(function(e){return e.body}),R=C[0].options;if("GET"===R.method)return(0,l.N)(Error("apollo-link-batch-http does not support GET requests"));try{R.body=(0,p.Y)(T,"Payload")}catch(e){return(0,l.N)(e)}return R.signal||"undefined"==typeof AbortController||(R.signal=(t=new AbortController).signal),new u.c(function(n){return(E||(0,o.no)(function(){return fetch})||g)(r,R).then(function(t){return e.forEach(function(e){return e.setContext({response:t})}),t}).then((0,h.OQ)(e)).then(function(e){return t=void 0,n.next(e),n.complete(),e}).catch(function(e){t=void 0,e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e)}),function(){t&&t.abort()}})}}),r}return(0,n.C6)(t,e),t.prototype.request=function(e){return this.batcher.request(e)},t}(i.C)},76743:(e,t,r)=>{"use strict";r.d(t,{$r:()=>i,Kp:()=>o,q4:()=>n});var n="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",i="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",o="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"},77016:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(48084);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function e(t,r){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":if(null===t)return"null";return function(t,r){if(-1!==r.indexOf(t))return"[Circular]";var i,o,a,s,u,l=[].concat(r,[t]),c="function"==typeof(o=(i=t)[String(n.A)])?o:"function"==typeof i.inspect?i.inspect:void 0;if(void 0!==c){var d=c.call(t);if(d!==t)return"string"==typeof d?d:e(d,l)}else if(Array.isArray(t)){var f=t,p=l;if(0===f.length)return"[]";if(p.length>2)return"[Array]";for(var h=Math.min(10,f.length),m=f.length-h,y=[],v=0;v<h;++v)y.push(e(f[v],p));return 1===m?y.push("... 1 more item"):m>1&&y.push("... ".concat(m," more items")),"["+y.join(", ")+"]"}return a=t,s=l,0===(u=Object.keys(a)).length?"{}":s.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(a)+"]":"{ "+u.map(function(t){var r=e(a[t],s);return t+": "+r}).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}},77181:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
128(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;let u=a(r(14232)),l=r(85917),c=r(80323),d=r(98646),f=r(27015);t.Link=(0,c.withFieldMetadata)((0,d.withEmptyFieldEditingComponent)((0,u.forwardRef)((e,t)=>{var{field:r,editable:n=!0,showLinkTextWithChildrenPresent:i}=e,o=s(e,["field","editable","showLinkTextWithChildrenPresent"]);let a=o.children;if((0,l.isFieldValueEmpty)(r))return null;let c=r.href?r:r.value;if(!c)return null;let d="anchor"!==c.linktype&&c.anchor?`#${c.anchor}`:"",f=c.querystring?`?${c.querystring}`:"",p={href:`${c.href}${f}${d}`,className:c.class,title:c.title,target:c.target};"_blank"!==p.target||p.rel||(p.rel="noopener noreferrer");let h=i||!a?c.text||c.href:null,m=u.default.createElement("a",Object.assign(Object.assign(Object.assign({},p),o),{key:"link",ref:t}),h,a);return u.default.createElement(u.default.Fragment,null,m)}),{defaultEmptyFieldEditingComponent:f.DefaultEmptyFieldEditingComponentText,isForwardRef:!0}),!0),t.Link.displayName="Link"},77328:(e,t,r)=>{e.exports=r(88022)},77376:(e,t,r)=>{"use strict";r.d(t,{F6:()=>c,a3:()=>d});var n=r(83325),i=r(91811);let o=Date.now();var a=r(98212),s=r(48915);let u={},l=()=>{let{domainId:e,customerKey:t}=(0,i.Gc)();return t?(0,a.aX)(t):e},c=()=>{let e=(0,i.kL)("userId");if(e)return{user_id:e};let{uid:t}=(()=>{let{domainHash:e}=(0,i.Gc)();u.domainHashCkey=e,u.domainHash=u.domainHashCkey,u.domainRoot=(0,i.v3)();let t=(()=>{let e=0,t=s.A.get("__rutma");return s.A.get("__rutmb")||(s.A.set("__rutmb",l(),18e5),e=1),t=t?((e,t)=>{let r=e.split(".");return r.length>3&&(t&&(r[1]=r[2],r[2]=o,r[3]=+r[3]+1),4===r.length&&(r[4]=1),5===r.length&&(r[5]=1),r[4]=+r[4]+1,r[5]=1+(t?0:+r[5]),e=r.join(".")),e})(t,e):`${(()=>{let e=s.A.get("__ruid");if(e)return e;e="xx-xx-4x-1p-".replace(/[x]/g,()=>(0,n.hW)(36*Math.random()|0));for(let t=0;t<5;t++)e+=("0000"+(1679615*Math.random()|0).toString(36)).slice(-4);let t=l()+"-"+e+"-"+o;return s.A.set("__ruid",t),t})()}.${o}.${o}.1.1.1`,s.A.set("__rutma",t,18e5),t})(),r=t.split(".");return u.uid=r[0],u.usetLastDigit=(0,n.lj)(r[0]),u.previousSessionStartTime=parseInt(r[1]),u.currentSessionStartTime=parseInt(r[2]),u.visitCount=parseInt(r[3]),u.pageViewCount=parseInt(r[4]),u.visitPageCount=parseInt(r[5]),u.utma=t,u})();return{uuid:t}},d=()=>{s.A.remove("__ruid"),s.A.remove("__rutma"),s.A.remove("__rutmb"),s.A.remove("__ec")}},77468:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)}
128,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t}),s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.RichText=void 0;let u=a(r(14232)),l=r(80323),c=r(98646),d=r(27015),f=r(85917);t.RichText=(0,l.withFieldMetadata)((0,c.withEmptyFieldEditingComponent)((0,u.forwardRef)((e,t)=>{var{field:r,tag:n="div",editable:i=!0}=e,o=s(e,["field","tag","editable"]);if((0,f.isFieldValueEmpty)(r))return null;let a=Object.assign({dangerouslySetInnerHTML:{__html:r.value},ref:t,suppressHydrationWarning:!!r.metadata||void 0},o);return u.default.createElement(n||"div",a)}),{defaultEmptyFieldEditingComponent:d.DefaultEmptyFieldEditingComponentText,isForwardRef:!0}),!0),t.RichText.displayName="RichText"},77622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleRewrite=function(e,t){if("/"===e)return`/${t}`;let r=e.startsWith("/")?e:"/"+e;return`/${t}${r}`}},77665:(e,t,r)=>{"use strict";var n=r(7282),i=r(37876),o=r(15039),a=r(83529);r(14232),r(48230),r(87776),r(46496),r(98477);n.AnchorLinks,n.AnchorTitle,n.BannerCard,n.BannerPush,n.BigEpigraph,n.Caption,n.Card,n.CardList,t.m6=n.ContactPushBlock,t.eg=n.ContactPushLinks,n.ContentBlock,n.Body,n.Footer,n.Head,n.Logo,n.Root,t._H=n.FormWrapper,n.FullBanner,n.GridLayout,n.H2Title,n.Hero,n.HeroCard,t.Kl=n.HeroEditorial,n.ImageBannerCard,n.ImageMedia,n.ImageMediaCard,n.InteractiveMap,n.LeafletPush,n.LeafletPushLight,n.Media,n.MediaCard,n.MediumPush,n.PushLinks,n.ScrollToButton,n.SurfaceService,n.ThreeColumnTextPromo,n.ThreeColumnTextPromoItem,n.Transcript,n.TwentyThreePlayerMedia,n.TwentyThreeVideoBannerCard,n.TwentyThreeVideoMediaCard,n.UsefulLinks,n.YouTubeBannerCard,n.YouTubeMedia,n.YouTubeMediaCard,n.fetchBreadcrumbs,n.fetchInteractiveMapCities,t.$7=n.fetchSurfaceItem,n.useSurface},77801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookie=void 0,t.getCookie=function(e,t){if(!e)return;let r=e.split("; ").find(e=>e.indexOf("=")>0&&e.split("=")[0]===t);return void 0!==r?{name:r.split("=")[0],value:r.split("=")[1]}:void 0}},77813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n=r(83615).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78038:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldMetadata=void 0;let i=n(r(14232)),o=r(46395);t.FieldMetadata=e=>{let t=JSON.stringify(e.metadata),r={type:"text/sitecore",chrometype:"field",className:"scpm"},n=Object.assign(Object.assign({},r),{kind:o.MetadataKind.Open}),a=Object.assign(Object.assign({},r),{kind:o.MetadataKind.Close});return i.default.createElement(i.default.Fragment,null,i.default.createElement("code",Object.assign({},n),t),e.children,i.default.createElement("code",Object.assign({},a)))},t.FieldMetadata.displayName="FieldMetadata"},78565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchGeneratedComponentFromCache=t.DesignLibraryPreviewError=t.sendErrorEvent=t.createComponentInstance=t.addStyleElement=t.getImportMapInfo=t.getDesignLibraryImportMapEvent=t.getDesignLibraryComponentPropsEvent=t.getDesignLibraryErrorEvent=t.addServerComponentPreviewHandler=t.addComponentPreviewHandler=void 0;var n=r(49161);Object.defineProperty(t,"addComponentPreviewHandler",{enumerable:!0,get:function(){return n.addComponentPreviewHandler}}),Object.defineProperty(t,"addServerComponentPreviewHandler",{enumerable:!0,get:function(){return n.addServerComponentPreviewHandler}}),Object.defineProperty(t,"getDesignLibraryErrorEvent",{enumerable:!0,get:function(){return n.getDesignLibraryErrorEvent}}),Object.defineProperty(t,"getDesignLibraryComponentPropsEvent",{enumerable:!0,get:function(){return n.getDesignLibraryComponentPropsEvent}}),Object.defineProperty(t,"getDesignLibraryImportMapEvent",{enumerable:!0,get:function(){return n.getDesignLibraryImportMapEvent}}),Object.defineProperty(t,"getImportMapInfo",{enumerable:!0,get:function(){return n.getImportMapInfo}}),Object.defineProperty(t,"addStyleElement",{enumerable:!0,get:function(){return n.addStyleElement}}),Object.defineProperty(t,"createComponentInstance",{enumerable:!0,get:function(){return n.createComponentInstance}}),Object.defineProperty(t,"sendErrorEvent",{enumerable:!0,get:function(){return n.sendErrorEvent}}),Object.defineProperty(t,"DesignLibraryPreviewError",{enumerable:!0,get:function(){return n.DesignLibraryPreviewError}}),Object.defineProperty(t,"fetchGeneratedComponentFromCache",{enumerable:!0,get:function(){return n.fetchGeneratedComponentFromCache}})},78639:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i,z:()=>n});let n=(e={})=>"undefined"!=typeof window?window:e,i=(e={})=>"undefined"!=typeof document?document:e},79052:e=>{!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else if(47===r)break;else r=47;if(47===r){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){-1===u?(n="",i=0):i=(n=n.slice(0,u)).length-1-n.lastIndexOf("/"),o=s,a=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=s,a=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var n={resolve:function(){for(var e,n,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--)a>=0?n=arguments[a]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(i=n+"/"+i,o=47===n.charCodeAt(0));if(i=r(i,!o),o)if(i.length>0)return"/"+i;else return"/";return i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var u=r.length-s,l=a<u?a:u,c=-1,d=0;d<=l;++d){if(d===l){if(u>l){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);else if(0===d)return r.slice(s+d)}else a>l&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(i+d);if(f!==r.charCodeAt(s+d))break;47===f&&(c=d)}var p="";for(d=i+c+1;d<=o;
128++d)(d===o||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+c):(s+=c,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(r=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,u=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(47===l){if(!a){i=n+1;break}}else -1===u&&(a=!1,u=n+1),s>=0&&(l===r.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){i=n+1;break}}else -1===o&&(a=!1,o=n+1);return -1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47===u){if(!o){n=s+1;break}continue}-1===i&&(o=!1,i=s+1),46===u?-1===r?r=s:1!==a&&(a=1):-1!==r&&(a=-1)}return -1===r||-1===i||0===a||1===a&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){var t,r;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+r:t+"/"+r:r},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,u=-1,l=!0,c=e.length-1,d=0;c>=r;--c){if(47===(i=e.charCodeAt(c))){if(!l){s=c+1;break}continue}-1===u&&(l=!1,u=c+1),46===i?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1)}return -1===a||-1===u||0===d||1===d&&a===u-1&&a===s+1?-1!==u&&(0===s&&o?n.base=n.name=e.slice(1,u):n.base=n.name=e.slice(s,u)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,u)):(n.name=e.slice(s,a),n.base=e.slice(s,u)),n.ext=e.slice(a,u)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//",e.exports=n(114)}()},79239:(e,t,r)=>{"use strict";r.d(t,{s:()=>h});var n=r(14232),i=r(34824),o=r(14e3),a=r(98741),s=r(63561),u=r(53282),l=r(60039),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let d=(0,a.O)((0,s.N)((0,n.forwardRef)((e,t)=>{var{field:r,tag:i="div",editable:o=!0}=e,a=c(e,["field","tag","editable"]);if((0,l.JE)(r))return null;let s=Object.assign({dangerouslySetInnerHTML:{__html:r.value},ref:t,suppressHydrationWarning:!!r.metadata||void 0},a);return n.createElement(i||"div",s)}),{defaultEmptyFieldEditingComponent:u.G,isForwardRef:!0}),!0);d.displayName="RichText";var f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let p={},h=e=>{let{internalLinksSelector:t='a[href^="/"]',prefetchLinks:r=!0,editable:a=!0}=e,s=f(e,["internalLinksSelector","prefetchLinks","editable"]),u=e.field&&e.field.value,l=a&&e.field&&e.field.metadata,{pageRouter:c,appRouter:h}={pageRouter:(0,i.useRouter)(),appRouter:(()=>{try{return(0,o.useRouter)()}catch(e){return null}})()},m=(0,n.useRef)(null);(0,n.useEffect)(()=>{u&&!l&&v()},[u]);let y=e=>{if(!e.currentTarget)return;e.preventDefault();let t=e.currentTarget.href;c?c.push(t,t,{locale:!1}):h&&h.push(t)},v=()=>{let e=m.current,n=e&&e.querySelectorAll(t);
128n&&n.length&&n.forEach(e=>{if("_blank"===e.target)return;let t=()=>{c?c.prefetch(e.pathname,void 0,{locale:!1}):h&&h.prefetch(e.pathname),p[e.pathname]=!0};if(!p[e.pathname]&&!1!==r&&(!0===r&&t(),"hover"===r)){let r=()=>{t(),e.removeEventListener("mouseover",r)};e.addEventListener("mouseover",r,!1)}e.addEventListener("click",y,!1)})};return n.createElement(d,Object.assign({ref:m,editable:a},s))};h.displayName="NextRichText"},79738:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(23399);let i=(e,t)=>`${e}${t?`@${t}`:""}`,o={widgetTypesConfigMapping:{},widgetsConfigMapping:{},setWidgetType(e,t){(0,n.D)(this.widgetTypesConfigMapping,{[e]:t},{mutate:!0})},getType(e){let{type:t}=this.widgetsConfigMapping[i(e)]||{};return t},set(e,t,r){"string"==typeof t?this.widgetsConfigMapping[i(e,t)]=r:this.widgetsConfigMapping[i(e)]=t},update(e,t,r){"string"==typeof t?(0,n.D)(this.getOrCreate(e,t),r,{mutate:!0}):(0,n.D)(this.getOrCreate(e),r,{mutate:!0})},get(e,t){let r=this.widgetsConfigMapping[i(e,t)],o=this.widgetsConfigMapping[i(e)];if(!o&&!r)return;let a=(0,n.D)(o||{},r||{}),{component:s,options:u}=this.getForType(e)||{},{component:l=s,options:c}=a;return{...a,component:l,options:c?(0,n.D)(u||{},c):u}},getWidgetIds(){return Object.keys(this.widgetsConfigMapping)},getByType(e){return this.widgetTypesConfigMapping[e]||void 0},getForType(e){let t=this.getType(e);return t?this.getByType(t):void 0},getOrCreate(e,t){return this.widgetsConfigMapping[i(e,t)]||(this.widgetsConfigMapping[i(e,t)]={}),this.widgetsConfigMapping[i(e,t)]},getMetadata(e){let{metadata:t}=this.widgetsConfigMapping[i(e)]||{};return t},setMetadata(e,t){Object.assign(this.getOrCreate(e),{metadata:t}),this.setType(e,t.type)},updateMetadata(e,t){(0,n.D)(this.getOrCreate(e),{metadata:t},{mutate:!0}),this.setType(e,t.type)},setType(e,t){this.getType(e)||Object.assign(this.getOrCreate(e),{type:t})}}},79760:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},79885:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(14232),i=r(20722);let o=()=>(0,n.useContext)(i.A)},80187:(e,t,r)=>{"use strict";r.d(t,{Ds:()=>v,Fm:()=>d,G$:()=>f,KJ:()=>c,M8:()=>p,VD:()=>m,d9:()=>h,iR:()=>y,kz:()=>l,u4:()=>u});var n=r(23913),i=r(83325),o=r(69256),a=r(77376),s=r(91811);let u=async e=>{let{trackConsent:t}=(0,s.Gc)();if(n.Vy.debug("trackEvent ",`Consent: ${t} `,v(e)),!t)return;let r={...e,...(0,a.F6)(),client_time_ms:Date.now()};return n.Vy.debug("trackEvent","Sending: ",JSON.stringify(r,null,4)),await o.A.trackEvent(r)},l=e=>!e.find(({id:e,entity_type:t})=>(0,i.BU)(e)||(0,i.BU)(t)),c=e=>!e.find(({facetId:e})=>(0,i.BU)(e)),d=e=>!(0,i.BU)(e),f=(e,t)=>t.map(({id:t,entitySubtype:r,attributes:n,variant:o,uri:a,sourceId:s,price:u,finalPrice:l,quantity:c})=>({id:t,entity_type:e,...r?{entity_subtype:r}:{},...n&&!(0,i.vB)(n)?{attributes:n}:{},...u?{price:u}:{},...c?{quantity:c}:{},...l?{final_price:l}:{},...o?{variant:o}:{},...a?{uri:a}:{},...s?{source_id:s}:{}})),p=(e,t,r,n,i)=>({order_id:e,...t?{order_total:t}:{},...r?{order_subtotal:r}:{},...n?{coupon:n}:{},...i?{store:i}:{}}),h=({keyword:e,advancedQueryText:t,modifiedKeyword:r,numResults:n,totalResults:i,numRequested:o,pageSize:a,pageNumber:s,redirectUrl:u})=>({...e?{keyword:e}:{keyword:""},...t?{advanced_query_text:t}:{},...r?{modified_keyword:r}:{},...n?{num_results:n}:{},...i?{total_results:i}:{},...o?{num_requested:o}:{},...a?{page_size:a}:{},...s?{page_number:s}:{},...u?{redirect_url:u}:{}}),m=e=>e.map(({facetId:e,facetValue:t,startValue:r,endValue:n,facetValueId:i,valueIndex:o,facetIndex:a,facetTitle:s,displayName:u})=>({name:e,title:s,...u?{display_name:u}:{},...e?{field:e}:{},...i?{value:[i]}:t?{value:[t]}:{},...r?{start_value:r}:{},...n?{end_value:n}:{},...t?{display_name:[t]}:{},...o||0===o?{value_position:[o]}:{},...a||0===a?{facet_position:a}:{}})),y=e=>e.map(({name:e,title:t,value:r,displayName:n,uri:i})=>({name:e,title:t,...r?{value:[r]}:{},...n?{display_name:[n]}:{},...i?{uri:[i]}:{}}));function v(e){let t={};for(let r in e){let n=e[r];if(null!=n&&!("object"==typeof n&&0===Object.keys(n).length&&!Array.isArray(n))&&void 0!==n)if(Array.isArray(n)){let e=[];for(let t=0;t<n.length;t++){let r=n[t];if(null!=r&&!("object"==typeof r&&0===Object.keys(r).length&&!Array.isArray(r)))if("object"==typeof r){let t=v(r);(Object.keys(t).length>0||Array.isArray(t))&&e.push(t)}else e.push(r)}e.length>0&&(t[r]=e)}else if("object"==typeof n&&Object.keys(n).length>0){let e=v(n);(Object.keys(e).length>0||Array.isArray(e))&&(t[r]=e)}else t[r]=n}return t}},80209:(e,t,r)=>{"use strict";
128Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieValueFromRequest=void 0;let n=r(31356),i=r(9300);t.getCookieValueFromRequest=function(e,t){let r;if((0,n.isNextJsMiddlewareRequest)(e))r=(0,i.getCookieValueFromMiddlewareRequest)(e,t);else if((0,n.isHttpRequest)(e)){let i=e.headers.cookie;r=(0,n.getCookieServerSide)(i,t)?.value}return r??""}},80301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(14232),i=r(62640),o="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,l=u||!o,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(l||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[l,r,t,c,f.current]),[p,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80323:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.withFieldMetadata=function(e,t=!1){return t?(0,s.forwardRef)((t,r)=>{var n;let{editable:i=!0}=t,o=null==(n=t.field)?void 0:n.metadata;return o&&i?s.default.createElement(u.FieldMetadata,{metadata:o},s.default.createElement(e,Object.assign({},t,{ref:r}))):s.default.createElement(e,Object.assign({},t,{ref:r}))}):t=>{var r;let{editable:n=!0}=t,i=null==(r=t.field)?void 0:r.metadata;return i&&n?s.default.createElement(u.FieldMetadata,{metadata:i},s.default.createElement(e,Object.assign({},t))):s.default.createElement(e,Object.assign({},t))}};let s=a(r(14232)),u=r(78038)},80542:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,JR:()=>d,Sw:()=>l,et:()=>o,ol:()=>s,uJ:()=>u});var n=r(36938),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,l="function"==typeof(0,n.no)(function(){return window.document.createElement}),c=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,d=(l||i)&&!c},80593:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(4902),i=r(36938),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},80782:(e,t,r)=>{var n=r(4917),i=r(98825);e.exports=function(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:o,maxWait:t,trailing:a})}},80894:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
128ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},80942:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(14232),i=r(79885),o=Object.defineProperty,a=new Map,s=new WeakMap,u=0,l=void 0;n.Component;var c=r(49218),d=r(66884),f=r(40052);let p=(e,t)=>{if(!t)return;let r=t.getLastResponse(),n=r?.content||[];e({type:c.A.WIDGET_APPEAR,payload:{items:n.map(({id:e,source_id:t})=>({id:e,sourceId:t})),request:(0,d.l)(t)}})},h=()=>{let{options:e}=(0,i.A)(),{visibility:{onInView:t,onUpdate:r}={}}=e,{ref:o,inView:c,entry:d}=(()=>{let{dispatch:e}=(0,f.A)(),{options:{visibility:t={}}={}}=(0,i.A)(),r=(0,i.A)().query,o=r.getLastResponse(),{triggerOnce:c=!0}=t,d=(0,n.useRef)(!0),{ref:h,inView:m,entry:y}=function({threshold:e,delay:t,trackVisibility:r,rootMargin:i,root:o,triggerOnce:c,skip:d,initialInView:f,fallbackInView:p,onChange:h}={}){var m;let[y,v]=n.useState(null),g=n.useRef(h),[b,E]=n.useState({inView:!!f,entry:void 0});g.current=h,n.useEffect(()=>{let n;if(!d&&y)return n=function(e,t,r={},n=l){if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:o,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(s.has(r)||(u+=1,s.set(r,u.toString())),s.get(r)):e[t]}`}).toString(),r=a.get(t);if(!r){let n,i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var r;let o=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(r=i.get(t.target))||r.forEach(e=>{e(o,t)})})},e);n=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:o,elements:i},a.set(t,r)}return r}(r),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),o.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),o.unobserve(e)),0===c.size&&(o.disconnect(),a.delete(i))}}(y,(e,t)=>{E({inView:e,entry:t}),g.current&&g.current(e,t),t.isIntersecting&&c&&n&&(n(),n=void 0)},{root:o,rootMargin:i,threshold:e,trackVisibility:r,delay:t},p),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,y,o,i,c,d,r,p,t]);let _=null==(m=b.entry)?void 0:m.target,O=n.useRef(void 0);y||!_||c||d||O.current===_||(O.current=_,E({inView:!!f,entry:void 0}));let w=[v,b.inView,b.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}({...t,triggerOnce:c}),v=(0,n.useCallback)(()=>{p(e,r)},[e,r]);return(0,n.useEffect)(()=>{d.current&&m&&o&&(d.current=!c,p(e,r))},[e,m,y,c,o,r]),{ref:h,inView:m,entry:y,trigger:v}})();return(0,n.useEffect)(()=>{c&&t&&t(d),r&&r(c,d)},[c,d,r,t]),o}},80978:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(14232),i=r(58610),o=r(58457),a=r(47599),s=r(86365),u=r(59764);function l(e,t){return r=>{class l extends a.R{constructor(e){super(e)}render(){let i=Object.assign({},this.props);if(delete i.componentMap,t&&t.propsTransformer&&(i=t.propsTransformer(i)),this.state.error)return i.errorComponent?n.createElement(i.errorComponent,{error:this.state.error}):n.createElement(u.A,{message:`A rendering error occurred: ${this.state.error.message}.`});let o=t&&t.resolvePlaceholderDataFromProps?t.resolvePlaceholderDataFromProps(i):i.rendering;
128return(Array.isArray(e)?e:[e]).forEach(e=>{let t;"string"!=typeof e&&e.placeholder&&e.prop?(t=(0,s.nV)(o,e.placeholder,i.page.mode.isEditing))&&(i[e.prop]=a.R.getRenderedComponents(this.props,t)):(t=(0,s.nV)(o,e,i.page.mode.isEditing))&&(i[e]=a.R.getRenderedComponents(this.props,t))}),n.createElement(r,Object.assign({},i))}}return(0,o.F)()((0,i.M)(l))}}},81187:e=>{"use strict";function t(){var e=Object.create(null),t=0,r=0,n=0,i=!1;function o(t){n--,delete e[t]}this.put=function(t,r,a,s){if(i&&console.log("caching: %s = %j (@%s)",t,r,a),void 0!==a&&("number"!=typeof a||isNaN(a)||a<=0))throw Error("Cache timeout must be a positive number");if(void 0!==s&&"function"!=typeof s)throw Error("Cache timeout callback must be a function");var u=e[t];u?clearTimeout(u.timeout):n++;var l={value:r,expire:a+Date.now()};return isNaN(l.expire)||(l.timeout=setTimeout((function(){o(t),s&&s(t,r)}).bind(this),a)),e[t]=l,r},this.del=function(t){var r=!0,n=e[t];return n?(clearTimeout(n.timeout),!isNaN(n.expire)&&n.expire<Date.now()&&(r=!1)):r=!1,r&&o(t),r},this.clear=function(){for(var o in e)clearTimeout(e[o].timeout);n=0,e=Object.create(null),i&&(t=0,r=0)},this.get=function(o){var a=e[o];if(void 0!==a)if(isNaN(a.expire)||a.expire>=Date.now())return i&&t++,a.value;else i&&r++,n--,delete e[o];else i&&r++;return null},this.size=function(){return n},this.memsize=function(){var t,r=0;for(t in e)r++;return r},this.debug=function(e){i=e},this.hits=function(){return t},this.misses=function(){return r},this.keys=function(){return Object.keys(e)},this.exportJson=function(){var t={};for(var r in e){var n=e[r];t[r]={value:n.value,expire:n.expire||"NaN"}}return JSON.stringify(t)},this.importJson=function(t,r){var n=JSON.parse(t),o=Date.now(),a=r&&r.skipDuplicates;for(var s in n)if(n.hasOwnProperty(s)){if(a&&e[s]){i&&console.log("Skipping duplicate imported key '%s'",s);continue}var u=n[s],l=u.expire-o;if(l<=0){this.del(s);continue}l=l>0?l:void 0,this.put(s,u.value,l)}return this.size()}}e.exports=new t,e.exports.Cache=t},81285:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(14232),i=globalThis?.document?n.useLayoutEffect:()=>{}},81370:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),a=o[0],s=o[1],l=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},81781:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)}
128,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Placeholder=void 0;let s=a(r(14232)),u=r(52820),l=r(47962);t.Placeholder=e=>{let t=(0,s.useContext)(l.ComponentPropsReactContext);return s.default.createElement(u.Placeholder,Object.assign({},e,{modifyComponentProps:e=>{if(!e.rendering.uid)return e;let r=t[e.rendering.uid];return Object.assign(Object.assign({},e),r)}}))}},81907:(e,t,r)=>{"use strict";r.d(t,{l:()=>w});var n,i={};r.r(i),r.d(i,{mZ:()=>y,dX:()=>m,u2:()=>v});var o=r(14232),a=r(712),s=r(47804),u=r(27164),l=r(71673),c=r.n(l),d=r(31723),f=r(99742);let p="content-sdk";(0,d.A)()&&(null==(n=null==f?void 0:f.env)?void 0:n.DEBUG_MULTILINE)==="true"&&c().formatters.o&&c().formatters.O&&(c().formatters.o=c().formatters.O);let h={search:c()(`${p}:search`),common:c()(`${p}:common`),form:c()(`${p}:form`),http:c()(`${p}:http`),layout:c()(`${p}:layout`),dictionary:c()(`${p}:dictionary`),editing:c()(`${p}:editing`),sitemap:c()(`${p}:sitemap`),multisite:c()(`${p}:multisite`),robots:c()(`${p}:robots`),redirects:c()(`${p}:redirects`),personalize:c()(`${p}:personalize`),locale:c()(`${p}:locale`),errorpages:c()(`${p}:errorpages`),proxy:c()(`${p}:proxy`)},m=async(e,t,r)=>{if(!e)return h.form("Form was not able to render since context id was not provided"),"";let n=((e,t,r=s.Xq)=>`${(0,u.l)(r)}/v1/forms/publisher/${t}?sitecoreContextId=${e}`)(e,t,r);try{h.form(`Fetching form data from ${n}`);let e=await fetch(n,{method:"GET",cache:"no-cache"});if(200!==e.status)throw Error("Failed to fetch form data");let t=await e.text();return h.form(`Form data fetch response: ${t}`),t}catch(e){throw h.form(`Form '${t}' was not able to render`,e),e}},y=e=>{let t=e.querySelectorAll("script");t&&Array.from(t).forEach(e=>{var t;let r=document.createElement("script");Array.from(e.attributes).forEach(e=>{r.setAttribute(e.name,e.value)}),r.text=e.text,null==(t=null==e?void 0:e.parentNode)||t.replaceChild(r,e)})},v=(e,t)=>{e.addEventListener("form:engage",e=>{let{formId:r,name:n}=e.detail;r&&n&&(h.form("Sending form event",r,n),(0,a.form)(r,n,(null==t?void 0:t.replace(/-/g,""))||""))})};var g=r(58457),b=r(59764);let{mZ:E,dX:_,u2:O}=i,w=({params:e,rendering:t})=>{var r;let n=null==e?void 0:e.RenderingIdentifier,[i,a]=(0,o.useState)(!1),[s,u]=(0,o.useState)(""),l=(0,g.M)(),c=(0,o.useRef)(null),d=l.page.mode.isEditing;return((0,o.useEffect)(()=>{var r,n,i,o;if(s){if(!c.current)return;d||O(c.current,t.uid),E(c.current)}else{let t=null==(n=null==(r=l.api)?void 0:r.edge)?void 0:n.clientContextId;if(!t)return void console.warn("Warning: clientContextId is missing – form cannot be loaded properly on the client");_(t,e.FormId,null==(o=null==(i=l.api)?void 0:i.edge)?void 0:o.edgeUrl).then(u).catch(()=>{d&&console.error(`Failed to load form with id ${e.FormId}. Check debug logs for content-sdk:form for more details.`),a(!0)})}},[s]),d&&i)?o.createElement(b.A,{message:"There was a problem loading this section"}):o.createElement("div",{ref:c,dangerouslySetInnerHTML:{__html:s},className:null==(r=e.styles)?void 0:r.trimEnd(),id:n||void 0})}},81948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CORE_NAMESPACE=void 0,t.CORE_NAMESPACE="sitecore-cloudsdk:core"},81969:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(13176);class i{static get(){return this.context}static toJson(){if(this.context){let e=this.context.toJson();return{...e.browser?{browser:e.browser}:{},...e.geo?{geo:e.geo}:{},...e.store?{store:e.store}:{},...e.page?{page:{...e.page,...e.locale?{...e.locale.country?{locale_country:e.locale.country}:{},...e.locale.language?{locale_language:e.locale.language}:{}}:{}}}:{},...e.user?{user:e.user}:{}}}return{}}}Object.defineProperty(i,"context",{enumerable:!0,configurable:!0,writable:!0,value:new n.A});let o=i},82228:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FEaaSServerWrapper=void 0;let i=n(r(14232)),o=r(61800),a=r(70543),s=r(35161);t.FEaaSServerWrapper=async e=>{var t,r;let n=(null==(t=e.rendering)?void 0:t.params)||{},u=null==(r=e.page)?void 0:r.mode.isNormal,l=Object.fromEntries(Object.entries(e).filter(([e])=>!s.nonSerializedPlaceholderProps.includes(e))),c=Object.assign(Object.assign({},await (0,o.fetchFEaaSComponentServerProps)(n,u)),l);return i.default.createElement(a.FEaaSWrapper,Object.assign({},c))}},82273:(e,t,r)=>{"use strict";r.d(t,{M:()=>C});var n,i={};r.r(i),r.d(i,{rC:()=>l,vv:()=>d,RL:()=>f,hO:()=>p});var o={};r.r(o),r.d(o,{$u:()=>u.$u});var a=r(14232),s=r(5484),u=r(84750);!function(e){e.Render="render",e.RenderInit="render-init",e.ImportMapMissing="import-map-missing",e.ImportMapLoad="import-map-load-error",e.GeneratedComponentFetch="generated-component-fetch-error"}(n||(n={}));let l=(e,t)=>
128{if(!window)return;let r=r=>{let i=r.data;try{if(!(0,u.$r)(r,"component:generation:component-preview"))return;console.debug("Component Library: message received",i);let n=c(e,i.message);(function(e){let t="content-sdk-style-preview",r=document.getElementById(t);r&&r.remove();let n=document.createElement("style");n.setAttribute("id",t),n.innerHTML=e,document.head.appendChild(n)})(i.message.styles.content),t(null,n)}catch(e){p(i.message.uid,e,n.RenderInit),t(e,null)}};return window.addEventListener("message",r),()=>{window.removeEventListener("message",r)}},c=(e,t)=>{let r=function(e,t){let r=[],n={modules:[],exports:[]};return e.forEach(e=>{let i=t.find(t=>t.module===e.module);if(!i)return void n.modules.push({module:e.module,alias:e.alias});let o=i.exports.find(t=>t.name===e.export);return o?r.push({name:e.alias,value:o.value}):void n.exports.push({alias:e.alias,export:e.export,module:e.module})}),{successful:r,missing:n}}(t.imports,e);if(r.missing.modules.length>0||r.missing.exports.length>0){let e="";throw r.missing.modules.forEach(t=>{e+=`Missing module: '${t.module}' with alias: '${t.alias}'
129`}),r.missing.exports.forEach(t=>{let r=t.export!==t.alias?` with alias: '${t.alias}'`:"";e+=`Missing export: '${t.export}' from module: '${t.module}'${r}
130`}),e}let n=r.successful.map(e=>e.name),i=r.successful.map(e=>e.value),o={Component:null};return Function("exports",t.styles.styleImport.name,...n,t.code.content)(o,t.styles.styleImport.content,...i),o.Component};function d(e,t={},r={}){return{name:"component:generation:component-props",message:{uid:e,fields:t,parameters:r}}}function f(e,t){var r;return{name:"component:generation:import-map",message:{uid:e,importMap:Array.isArray(r=t)&&r.length>0&&"string"==typeof r[0].module&&Array.isArray(r[0].exports)&&"string"==typeof r[0].exports[0]?t:t.map(e=>({module:e.module,exports:e.exports.map(e=>e.name)}))}}}let p=(e,t,r)=>{let i=function(e,t,r){switch(r){case n.Render:case n.RenderInit:return{name:"component:generation:component-preview-error",message:{uid:e,error:t,type:r}};default:return{name:"component:generation:error",message:{uid:e,error:t,type:r}}}}(e,t,r);console.error("Component Library: sending error event",i),"undefined"!=typeof window&&(window.parent&&window.parent!==window?window.parent:window).postMessage(i,"*")};var h=r(58457),m=r(99514),y=r(47599);class v extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidUpdate(e){e.renderKey!==this.props.renderKey&&this.setState({hasError:!1})}componentDidCatch(e){p(this.props.uid,e,n.Render)}render(){return this.state.hasError?a.createElement("div",null,"Error during component rendering"):a.createElement(a.Suspense,null,this.props.children)}}var g=r(44825),b=r(59764);let{RL:E,vv:_,rC:O,hO:w}=i,{$u:S}=o,C=function(e){let t=t=>{let r=(0,a.useContext)(g.gf),n=t.loadImportMap||r;return a.createElement(e,Object.assign({},t,{loadImportMap:n}))};return t.displayName=`withLoadImportMap(${e.displayName||e.name||"Component"})`,t}(({loadImportMap:e})=>{var t,r;let{page:i}=(0,h.M)(),o=i.layout.sitecore.route,l=null==(t=null==o?void 0:o.placeholders[s.TB])?void 0:t[0],c=null==l?void 0:l.uid,{isDesignLibrary:d}=i.mode,f=null==(r=i.mode.designLibrary)?void 0:r.isVariantGeneration,[p,g]=(0,a.useState)({fields:null==l?void 0:l.fields,params:null==l?void 0:l.params}),[C,T]=(0,a.useState)(0),[R,P]=(0,a.useState)(null),A=!!R;return d?c?((0,a.useEffect)(()=>{S((0,u.mv)(u.gn.READY,c)),f||requestAnimationFrame(()=>{T(e=>0===e?e+1:e)});let e=(0,u.sI)(l,e=>{g({fields:e.fields,params:e.params}),T(e=>e+1)});return()=>e&&e()},[f,l,c]),(0,a.useEffect)(()=>{0!==C&&S((0,u.mv)(u.gn.RENDERED,c))},[C,c]),(0,a.useEffect)(()=>{let t;if(!d||!f)return;let r=!1;return(async()=>{let i;if(!e)return w(c,"No loadImportMap provided",n.ImportMapMissing);try{i=(await e()).default}catch(e){w(c,`Error loading import map: ${e}`,n.ImportMapLoad);return}r||(t=O(i,(e,t)=>{e||(P(()=>t),T(e=>e+1))}),S(E(c,i)),S(_(c,p.fields,p.params)))})(),()=>{r=!0,t&&t()}},[f,c]),a.createElement("main",null,A?a.createElement(v,{uid:c,renderKey:C},a.createElement(m.f,{rendering:l},a.createElement(R,{fields:p.fields,params:p.params,key:C}))):a.createElement("div",{id:s.BQ},o&&a.createElement(y.O,{name:s.TB,rendering:o,key:C})))):a.createElement(b.A,{message:"Rendering UID is missing in the rendering data"}):null})},82909:(e,t,r)=>{"use strict";let n=r(81370),i=r(87247),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>
vendor: 21,072 bytes, line 130
1300x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);let r=0|h(n,i),o=a(r),u=o.write(n,i);return u!==r&&(o=o.slice(0,u)),o}if(ArrayBuffer.isView(e)){var o=e;if(L(o,Uint8Array)){let e=new Uint8Array(o);return f(e.buffer,e.byteOffset,e.byteLength)}return d(o)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return s.from(u,t,r);let l=function(e){if(s.isBuffer(e)){let t=0|p(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(l)return l;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),a(e<0?0:0|p(e))}function d(e){let t=e.length<0?0:0|p(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return k(e).length;default:if(i)return n?-1:j(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=F[e[n]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":var o,a,s;return o=this,a=t,s=r,0===a&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function y(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return g(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){let o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*a}else -1!==n&&(o-=o-n),n=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(l(e,o+n)!==l(t,n)){r=!1;break}if(r)return o}return -1}function b(e,t,r){r=Math.min(e.length,r);let n=[],i=t;for(;i<r;){let t=e[i],o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:(192&(r=e[i+1]))==128&&(u=(31&t)<<6|63&r)>127&&(o=u);break;case 3:r=e[i+1],n=e[i+2],(192&r)==128&&(192&n)==128&&(u=(15&t)<<12|(63&r)<<6|63&n)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:r=e[i+1],n=e[i+2],s=e[i+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}var o=n;let a=o.length;if(a<=4096)return String.fromCharCode.apply(String,o);let s="",u=0;for(;u<a;)s+=String.fromCharCode.apply(String,o.slice(u,u+=4096));return s}function E(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function _(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function O(e,t,r,n,i){I(t,n,i,e,r,7);let o=Number(t&BigInt(0xffffffff));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function w(e,t,r,n,i){I(t,n,i,e,r,7);let o=Number(t&BigInt(0xffffffff));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function S(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function C(e,t,r,n,o){return t*=1,r>>>=0,o||S(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,o){return t*=1,r>>>=0,o||S(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(l(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){let t=e[r];if(L(t,Uint8Array))i+t.length>n.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else if(s.isBuffer(t))t.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){let e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;let o=i-n,a=r-t,u=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<u;++e)if(l[e]!==c[e]){o=l[e],a=c[e];break}return o<a?-1:+(a<o)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){var i,o,a,s,u,l,c,d;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let i;r=Number(r)||0;let o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;let a=t.length;for(n>a/2&&(n=a/2),i=0;i<n;++i){var s;let n=parseInt(t.substr(2*i,2),16);if((s=n)!=s)break;e[r+i]=n}return i}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,M(j(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,M(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return u=t,l=r,M(k(e),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,M(function(e,t){let r,n,i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=V(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&N(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(n)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=V(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&N(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=V(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&N(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),s.prototype.readBigInt64BE=V(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&N(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;_(this,e,t,r,n,0)}let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;_(this,e,t,r,n,0)}let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=V(function(e,t=0){return O(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=V(function(e,t=0){return w(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=V(function(e,t=0){return O(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=V(function(e,t=0){return w(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,r){return C(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return C(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){let i;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{let o=s.isBuffer(e)?e:s.from(e,n),a=o.length;
130if(0===a)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};let R={};function P(e,t,r){R[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function A(e){let t="",r=e.length,n=+("-"===e[0]);for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function I(e,t,r,n,i,o){if(e>r||e<t){let n,i="bigint"==typeof t?"n":"";throw n=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${r}${i}`,new R.ERR_OUT_OF_RANGE("value",n,e)}D(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&N(i,n.length-(o+1))}function D(e,t){if("number"!=typeof e)throw new R.ERR_INVALID_ARG_TYPE(t,"number",e)}function N(e,t,r){if(Math.floor(e)!==e)throw D(e,r),new R.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new R.ERR_BUFFER_OUT_OF_BOUNDS;throw new R.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}P("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),P("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),P("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?i=A(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=A(i)),i+="n"),n+=` It must be ${t}. Received ${i}`},RangeError);let x=/[^+/0-9A-Za-z-_]/g;function j(e,t){let r;t=t||1/0;let n=e.length,i=null,o=[];for(let a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function k(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let F=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function V(e){return"undefined"==typeof BigInt?U:e}function U(){throw Error("BigInt not supported")}},82944:e=>{"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},82987:(e,t,r)=>{"use strict";r.d(t,{TL:()=>a});var n=r(14232),i=r(10714),o=r(37876);function a(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var a;let e,s,u=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),l=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(l.ref=t?(0,i.t)(t,u):u),n.cloneElement(r,l)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:i,...a}=e,s=n.Children.toArray(i),l=s.find(u);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:n.Children.count(e)>
1301?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}var s=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},83044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return c},RedirectType:function(){return i.RedirectType},forbidden:function(){return a.forbidden},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unauthorized:function(){return s.unauthorized},unstable_isUnrecognizedActionError:function(){return d},unstable_rethrow:function(){return u.unstable_rethrow}});let n=r(963),i=r(29212),o=r(58497),a=r(6764),s=r(54989),u=r(77813);class l extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class c extends URLSearchParams{append(){throw new l}delete(){throw new l}set(){throw new l}sort(){throw new l}}function d(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83070:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>l,Mn:()=>s,uR:()=>a});var n=r(4902);r(36938);var i=r(93957),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,n.fX)((0,n.fX)((0,n.fX)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},l=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,l=r.errorMessage,c=r.extraInfo,d=e.call(this,l)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=o||[],d.clientErrors=a||[],d.networkError=s||null,d.message=l||u(d),d.extraInfo=c,d.cause=(0,n.fX)((0,n.fX)((0,n.fX)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return(0,n.C6)(t,e),t}(Error)},83308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQLClientFactory=t.ErrorPage=t.SitecoreClient=t.getEdgeProxyFormsUrl=t.getEdgeProxyContentUrl=t.DefaultRetryStrategy=t.GraphQLRequestClient=void 0;var n=r(43735);Object.defineProperty(t,"GraphQLRequestClient",{enumerable:!0,get:function(){return n.GraphQLRequestClient}});var i=r(6602);Object.defineProperty(t,"DefaultRetryStrategy",{enumerable:!0,get:function(){return i.DefaultRetryStrategy}});var o=r(25988);Object.defineProperty(t,"getEdgeProxyContentUrl",{enumerable:!0,get:function(){return o.getEdgeProxyContentUrl}}),Object.defineProperty(t,"getEdgeProxyFormsUrl",{enumerable:!0,get:function(){return o.getEdgeProxyFormsUrl}});var a=r(73108);Object.defineProperty(t,"SitecoreClient",{enumerable:!0,get:function(){return a.SitecoreClient}}),Object.defineProperty(t,"ErrorPage",{enumerable:!0,get:function(){return a.ErrorPage}});var s=r(10517);Object.defineProperty(t,"createGraphQLClientFactory",{enumerable:!0,get:function(){return s.createGraphQLClientFactory}})},83325:(e,t,r)=>{"use strict";r.d(t,{BU:()=>o,Gl:()=>s,hW:()=>a,lj:()=>n,vB:()=>i}),r(20310),r(46441);let n=e=>e.length?e[e.length-1]:void 0,i=e=>0===Object.keys(e||{}).length,o=e=>void 0===e,a=e=>String.fromCharCode(e<10?e+48:e<36?e+87:e+29),s=e=>{try{if(e)return JSON.parse(e);return""}catch(t){return e}}},83529:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
vendor: 8,991 bytes, line 130
130(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.BYOCWrapper=t.FEaaSWrapper=t.BYOCServerWrapper=t.BYOCClientWrapper=t.FEaaSServerWrapper=t.FEaaSClientWrapper=t.NextImage=t.Placeholder=t.RichText=t.Link=t.useComponentProps=t.ComponentPropsContext=t.ComponentPropsReactContext=t.ComponentPropsService=t.normalizeSiteRewrite=t.getSiteRewriteData=t.getSiteRewrite=t.SiteInfoService=t.SiteResolver=t.RobotsService=t.ErrorPagesService=t.SitemapXmlService=t.REDIRECT_TYPE_SERVER_TRANSFER=t.REDIRECT_TYPE_302=t.REDIRECT_TYPE_301=t.RedirectsService=t.SitePathService=t.PersonalizeService=t.CdpHelper=t.normalizePersonalizedRewrite=t.getGroomedVariantIds=t.getPersonalizedRewriteData=t.getPersonalizedRewrite=t.personalizeLayout=t.DictionaryService=t.mediaApi=t.ComponentLayoutService=t.ErrorPage=t.RenderingType=t.EditMode=t.getContentStylesheetLink=t.getFieldValue=t.getChildPlaceholder=t.LayoutService=t.LayoutServicePageState=t.MemoryCacheClient=t.debug=t.enableDebug=t.NativeDataFetcher=t.constants=void 0,t.AppPlaceholder=t.ClientEditingChromesUpdate=t.Form=t.EditingScripts=t.withEmptyFieldEditingComponent=t.withFieldMetadata=t.withDatasourceCheck=t.withPlaceholder=t.withEditorChromes=t.useSitecore=t.withSitecore=t.SitecoreProviderReactContext=t.SitecoreProvider=t.DefaultEmptyFieldEditingComponentText=t.DefaultEmptyFieldEditingComponentImage=t.DesignLibraryApp=t.DesignLibrary=t.File=t.getDesignLibraryStylesheetLinks=t.BYOCComponent=t.fetchFEaaSComponentServerProps=t.FEaaSComponent=t.DateField=t.Text=t.Image=void 0;var s=r(72276);Object.defineProperty(t,"constants",{enumerable:!0,get:function(){return s.constants}}),Object.defineProperty(t,"NativeDataFetcher",{enumerable:!0,get:function(){return s.NativeDataFetcher}}),Object.defineProperty(t,"enableDebug",{enumerable:!0,get:function(){return s.enableDebug}}),Object.defineProperty(t,"debug",{enumerable:!0,get:function(){return s.debug}}),Object.defineProperty(t,"MemoryCacheClient",{enumerable:!0,get:function(){return s.MemoryCacheClient}});var u=r(85917);Object.defineProperty(t,"LayoutServicePageState",{enumerable:!0,get:function(){return u.LayoutServicePageState}}),Object.defineProperty(t,"LayoutService",{enumerable:!0,get:function(){return u.LayoutService}}),Object.defineProperty(t,"getChildPlaceholder",{enumerable:!0,get:function(){return u.getChildPlaceholder}}),Object.defineProperty(t,"getFieldValue",{enumerable:!0,get:function(){return u.getFieldValue}}),Object.defineProperty(t,"getContentStylesheetLink",{enumerable:!0,get:function(){return u.getContentStylesheetLink}}),Object.defineProperty(t,"EditMode",{enumerable:!0,get:function(){return u.EditMode}}),Object.defineProperty(t,"RenderingType",{enumerable:!0,get:function(){return u.RenderingType}});var l=r(83308);Object.defineProperty(t,"ErrorPage",{enumerable:!0,get:function(){return l.ErrorPage}});var c=r(46395);Object.defineProperty(t,"ComponentLayoutService",{enumerable:!0,get:function(){return c.ComponentLayoutService}});var d=r(1291);Object.defineProperty(t,"mediaApi",{enumerable:!0,get:function(){return d.mediaApi}});var f=r(11643);Object.defineProperty(t,"DictionaryService",{enumerable:!0,get:function(){return f.DictionaryService}});var p=r(47421);Object.defineProperty(t,"personalizeLayout",{enumerable:!0,get:function(){return p.personalizeLayout}}),Object.defineProperty(t,"getPersonalizedRewrite",{enumerable:!0,get:function(){return p.getPersonalizedRewrite}}),Object.defineProperty(t,"getPersonalizedRewriteData",{enumerable:!0,get:function(){return p.getPersonalizedRewriteData}}),Object.defineProperty(t,"getGroomedVariantIds",{enumerable:!0,get:function(){return p.getGroomedVariantIds}}),Object.defineProperty(t,"normalizePersonalizedRewrite",{enumerable:!0,get:function(){return p.normalizePersonalizedRewrite}}),Object.defineProperty(t,"CdpHelper",{enumerable:!0,get:function(){return p.CdpHelper}}),Object.defineProperty(t,"PersonalizeService",{enumerable:!0,get:function(){return p.PersonalizeService}});var h=r(52892);Object.defineProperty(t,"SitePathService",{enumerable:!0,get:function(){return h.SitePathService}}),Object.defineProperty(t,"RedirectsService",{enumerable:!0,get:function(){return h.RedirectsService}}),Object.defineProperty(t,"REDIRECT_TYPE_301",{enumerable:!0,get:function(){return h.REDIRECT_TYPE_301}}),Object.defineProperty(t,"REDIRECT_TYPE_302",{enumerable:!0,get:function(){return h.REDIRECT_TYPE_302}}),Object.defineProperty(t,"REDIRECT_TYPE_SERVER_TRANSFER",{enumerable:!0,get:function(){return h.REDIRECT_TYPE_SERVER_TRANSFER}});var m=r(52892);Object.defineProperty(t,"SitemapXmlService",{enumerable:!0,get:function(){return m.SitemapXmlService}}),Object.defineProperty(t,"ErrorPagesService",{enumerable:!0,get:function(){return m.ErrorPagesService}}),Object.defineProperty(t,"RobotsService",{enumerable:!0,get:function(){return m.RobotsService}}),Object.defineProperty(t,"SiteResolver",{enumerable:!0,get:function(){return m.SiteResolver}}),Object.defineProperty(t,"SiteInfoService",{enumerable:!0,get:function(){return m.SiteInfoService}}),Object.defineProperty(t,"getSiteRewrite",{enumerable:!0,get:function(){return m.getSiteRewrite}}),Object.defineProperty(t,"getSiteRewriteData",{enumerable:!0,get:function(){return m.getSiteRewriteData}}),Object.defineProperty(t,"normalizeSiteRewrite",{enumerable:!0,get:function(){return m.normalizeSiteRewrite}});var y=r(76246);Object.defineProperty(t,"ComponentPropsService",{enumerable:!0,get:function(){return y.ComponentPropsService}});var v=r(47962);Object.defineProperty(t,"ComponentPropsReactContext",{enumerable:!0,get:function(){return v.ComponentPropsReactContext}}),Object.defineProperty(t,"ComponentPropsContext",{enumerable:!0,get:function(){return v.ComponentPropsContext}}),Object.defineProperty(t,"useComponentProps",{enumerable:!0,get:function(){return v.useComponentProps}});var g=r(67224);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return g.Link}});var b=r(22181);Object.defineProperty(t,"RichText",{enumerable:!0,get:function(){return b.RichText}});var E=r(81781);Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return E.Placeholder}});var _=r(6234);Object.defineProperty(t,"NextImage",{enumerable:!0,get:function(){return _.NextImage}}),t.FEaaSWrapper=a(r(55771)),t.BYOCWrapper=a(r(53378));var O=r(52820);Object.defineProperty(t,"FEaaSClientWrapper",{enumerable:!0,get:function(){return O.FEaaSClientWrapper}}),Object.defineProperty(t,"FEaaSServerWrapper",{enumerable:!0,get:function(){return O.FEaaSServerWrapper}}),Object.defineProperty(t,"BYOCClientWrapper",{enumerable:!0,get:function(){return O.BYOCClientWrapper}}),Object.defineProperty(t,"BYOCServerWrapper",{enumerable:!0,get:function(){return O.BYOCServerWrapper}});var w=r(52820);Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w.Image}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return w.Text}}),Object.defineProperty(t,"DateField",{enumerable:!0,get:function(){return w.DateField}}),Object.defineProperty(t,"FEaaSComponent",{enumerable:!0,get:function(){return w.FEaaSComponent}}),Object.defineProperty(t,"fetchFEaaSComponentServerProps",{enumerable:!0,get:function(){return w.fetchFEaaSComponentServerProps}}),Object.defineProperty(t,"BYOCComponent",{enumerable:!0,get:function(){return w.BYOCComponent}}),Object.defineProperty(t,"getDesignLibraryStylesheetLinks",{enumerable:!0,get:function(){return w.getDesignLibraryStylesheetLinks}}),Object.defineProperty(t,"File",{enumerable:!0,get:function(){return w.File}}),Object.defineProperty(t,"DesignLibrary",{enumerable:!0,get:function(){return w.DesignLibrary}}),Object.defineProperty(t,"DesignLibraryApp",{enumerable:!0,get:function(){return w.DesignLibraryApp}}),Object.defineProperty(t,"DefaultEmptyFieldEditingComponentImage",{enumerable:!0,get:function(){return w.DefaultEmptyFieldEditingComponentImage}}),Object.defineProperty(t,"DefaultEmptyFieldEditingComponentText",{enumerable:!0,get:function(){return w.DefaultEmptyFieldEditingComponentText}}),Object.defineProperty(t,"SitecoreProvider",{enumerable:!0,get:function(){return w.SitecoreProvider}}),Object.defineProperty(t,"SitecoreProviderReactContext",{enumerable:!0,get:function(){return w.SitecoreProviderReactContext}}),Object.defineProperty(t,"withSitecore",{enumerable:!0,get:function(){return w.withSitecore}}
130),Object.defineProperty(t,"useSitecore",{enumerable:!0,get:function(){return w.useSitecore}}),Object.defineProperty(t,"withEditorChromes",{enumerable:!0,get:function(){return w.withEditorChromes}}),Object.defineProperty(t,"withPlaceholder",{enumerable:!0,get:function(){return w.withPlaceholder}}),Object.defineProperty(t,"withDatasourceCheck",{enumerable:!0,get:function(){return w.withDatasourceCheck}}),Object.defineProperty(t,"withFieldMetadata",{enumerable:!0,get:function(){return w.withFieldMetadata}}),Object.defineProperty(t,"withEmptyFieldEditingComponent",{enumerable:!0,get:function(){return w.withEmptyFieldEditingComponent}}),Object.defineProperty(t,"EditingScripts",{enumerable:!0,get:function(){return w.EditingScripts}}),Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return w.Form}}),Object.defineProperty(t,"ClientEditingChromesUpdate",{enumerable:!0,get:function(){return w.ClientEditingChromesUpdate}}),Object.defineProperty(t,"AppPlaceholder",{enumerable:!0,get:function(){return w.AppPlaceholder}})},83615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,i.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(4808),i=r(57804);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83621:(e,t,r)=>{"use strict";r.d(t,{D:()=>em});var n=r(4902),i=r(36938),o=r(63965),a=r(20996),s=r(84667),u=r(47580),l=r(60592),c=r(61055),d=r(80593),f=r(26828),p=r(68148),h=r(58851),m=r(94587),y=r(80542),v=r(79760),g=r(45813),b=r(48131),E=r(71211),_=r(68922),O=r(21500),w=r(93957),S=r(39668),C=r(90739),T=Object.create(null),R=function(){return T},P=Object.create(null),A=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,O.G)((0,h.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,h.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,h.WU)(e);if((0,h.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,h.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),C.$3.call(this.data,e)){var r=this.data[e];if(r&&C.$3.call(r,t))return r[t]}return"__typename"===t&&C.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof N?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),C.$3.call(this.data,e))?this.data[e]:this instanceof N?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,h.A_)(e)&&(e=e.__ref),(0,h.A_)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new b.ZI(j).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=(0,C.iJ)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof N||delete s[e]}}),u.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,u=!0,l={DELETE:T,INVALIDATE:P,isReference:h.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,h.WU)(e)}:t,{store:r})}};
130if(Object.keys(o).forEach(function(c){var d=(0,C.iJ)(c),f=o[c];if(void 0!==f){var p="function"==typeof t?t:t[c]||t[d];if(p){var m=p===R?T:p((0,O.G)(f),(0,n.Cl)((0,n.Cl)({},l),{fieldName:d,storeFieldName:c,storage:r.getStorage(e,c)}));if(m===P)r.group.dirty(e,c);else if(m===T&&(m=void 0),m!==f&&(a[c]=m,s=!0,f=m,!1!==globalThis.__DEV__)){var y=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,h.A_)(m))y(m);else if(Array.isArray(m))for(var v=!1,g=void 0,b=0,E=m;b<E.length;b++){var _=E[b];if((0,h.A_)(_)){if(v=!0,y(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(g=_);if(v&&void 0!==g){!1!==globalThis.__DEV__&&i.V1.warn(4,g);break}}}}void 0!==f&&(u=!1)}}),s)return this.merge(e,a),u&&(this instanceof N?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=R,n):R)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(C.$3.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof N&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){C.$3.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&C.$3.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
130Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof N?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){C.$3.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof N;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!C.$3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,h.A_)(e)&&(t[e.__ref]=!0),(0,w.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,w.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),I=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new S.b(y.et)}
130,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=(0,C.iJ)(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function D(e,t){k(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new I(void 0===n||n))||this;return o.stump=new x(o),o.storageTrie=new S.b(y.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(A||(A={}));var N=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
130):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return C.$3.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(A),x=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new I(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(N);function j(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function k(e){return!!(e instanceof A&&e.group.caching)}var M=r(35785),L=function(){function e(){this.known=new(y.En?WeakSet:Set),this.pool=new S.b(y.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,w.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,w.U)(e)){var t=(0,w.U)(e)?(0,M.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,w.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var l=i.object=Object.create(o);this.known.add(l),s.sorted.forEach(function(e,t){l[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function F(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var V=function(){function e(e){var t=this;this.knownResults=new(y.et?WeakMap:Map),this.config=(0,v.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,C.Xx)(e)}),this.canon=e.canon||new L,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=F(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(D(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||d.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:F,makeCacheKey:function(e,t,r,n){if(k(r.store))return r.store.makeCacheKey(e,(0,h.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return D(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||d.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(k(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new L},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,l=e.canonizeResults,c=void 0===l?this.config.canonizeResults:l,d=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,g.wY)((0,g.AT)(i))),a);var p=(0,h.WU)(void 0===o?"ROOT_QUERY":o),m=this.executeSelectionSet({selectionSet:(0,g.Vn)(i).selectionSet,objectOrReference:p,enclosingRef:p,context:(0,n.Cl)({store:r,query:i,policies:d,variables:a,varString:(0,f.M)(a),canonizeResults:c},(0,C.lq)(i,this.config.fragments))});if(m.missing&&(t=[new u.Z(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(m.missing),m.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:m.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(k(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,h.A_)(o)&&!s.policies.rootTypenamesById[o.__ref]&&!s.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=s.variables,l=s.policies,d=s.store.getFieldValue(o,"__typename"),f=[],p=new b.ZI;function y(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof d&&!l.rootIdsByTypename[d]&&f.push({__typename:d});var v=new Set(n.selections);v.forEach(function(e){var n,g;if((0,E.MS)(e,u))if((0,h.dt)(e)){var b=l.readField({fieldName:e.n
130ame.value,field:e,variables:s.variables,from:o},s),O=(0,h.ue)(e);void 0===b?c.XY.added(e)||(t=p.merge(t,((n={})[O]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,M.c)(b)?b.length>0&&(b=y(r.executeSubSelectedArray({field:e,array:b,enclosingRef:a,context:s}),O)):e.selectionSet?null!=b&&(b=y(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,h.A_)(b)?b:a,context:s}),O)):s.canonizeResults&&(b=r.canon.pass(b)),void 0!==b&&f.push(((g={})[O]=b,g))}else{var w=(0,_.HQ)(e,s.lookupFragment);if(!w&&e.kind===m.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);w&&l.fragmentMatches(w,d)&&w.selectionSet.selections.forEach(v.add,v)}});var g={result:(0,b.IM)(f),missing:t},w=s.canonizeResults?this.canon.admit(g):(0,O.G)(g);return w.result&&this.knownResults.set(w.result,n),w},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new b.ZI;function l(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,M.c)(e)?l(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?l(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,h.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,w.U)(r)&&((0,i.V1)(!(0,h.A_)(r),11,(0,C.Ui)(e,r),t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),U=r(54962),q=r(62091),B=r(48235),G=Object.create(null);function Q(e){var t=JSON.stringify(e);return G[t]||(G[t]=Object.create(null))}function z(e){var t=Q(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=H(e,function(e){var o=Y(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&C.$3.call(t,e[0])&&(o=Y(t,e,K)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function $(e){var t=Q(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(H(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,M.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,h.MB)(s,i);return u&&Y(u,e.slice(1))}return}if("$"===o){var l=r.slice(1);if(i&&C.$3.call(i,l)){var c=e.slice(0);return c[0]=l,Y(i,c)}return}if(t)return Y(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function H(e,t){var r=new b.ZI;return(function e(t){var r=Q(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,M.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,M.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function K(e,t){return e[t]}function Y(e,t,r){return r=r||K,function e(t){return(0,w.U)(t)?(0,M.c)(t)?t.map(e):H(Object.keys(t).sort(),function(e){return Y(t,e)}):t}(t.reduce(function e(t,n){return(0,M.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var W=r(90240);function J(e){return void 0!==e.args?e.args:e.field?(0,h.MB)(e.field,e.variables):null}var X=function(){},Z=function(e,t){return t.fieldName},ee=function(e,t,r){return(0,r.mergeObjects)(e,t)},et=function(e,t){return t},er=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:C.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=ei(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),c=l&&l.keyFn||this.config.dataIdFromObject;return W.yV.withValue(!0,function(){for(;c;){var t=c((0,n.Cl)((0,n.Cl)({},e),s),u);if((0,M.c)(t))c=z(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),C.$3.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ee:!1===t?et:e.merge}a(n,t.merge),n.keyFn=!1===i?X:(0,M.c)(i)?z(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
130h(function(t){var n=r[t];n&&(null==n?void 0:n.typename)===e||(n=r[t]={typename:e});var i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===s?Z:(0,M.c)(s)?$(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||Z)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(C.gk);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!C.$3.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},c=!!(r&&this.fuzzySubtypes.size),d=!1,f=0;f<u.length;++f){var p=u[f];if(p.has(a))return s.has(a)||(d&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;p.forEach(l),c&&f===u.length-1&&(0,C.T9)(e.selectionSet,r,n)&&(c=!1,d=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=J(e);o;){var u=o(s,a);if((0,M.c)(u))o=$(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,h.Ii)(e.field,e.variables):(0,h.o5)(n,J(e))),!1===t)?n:n===(0,C.iJ)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=(0,C.iJ)(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o),u=s&&s.read;if(u){var l=en(this,r,e,t,t.store.getStorage((0,h.A_)(r)?r.__ref:r,i));return B.bl.withValue(this.cache,u,[a,l])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ee?eo(n.store)(e,t):s===et?t:(n.overwrite&&(e=void 0),s(e,t,en(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function en(e,t,r,n,i){var o=e.getStoreFieldName(r),a=(0,C.iJ)(o),s=r.variables||n.variables,u=n.store,l=u.toReference,c=u.canRead;return{args:J(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:h.A_,toReference:l,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(ei(arguments,t,s),n)},mergeObjects:eo(n.store)}}function ei(e,t,r){var o,a=e[0],s=e[1],u=e.length;return"string"==typeof a?o={fieldName:a,from:u>1?s:t}:(o=(0,n.Cl)({},a),C.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,q.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function eo(e){return function(t,r){if((0,M.c)(t)||(0,M.c)(r))throw(0,i.vA)(9);if((0,w.U)(t)&&(0,w.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,h.A_)(t)&&(0,C.d1)(r))return e.merge(t.__ref,r),t;if((0,C.d1)(t)&&(0,h.A_)(r))return e.merge(t,r.__ref),r;if((0,C.d1)(t)&&(0,C.d1)(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function ea(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var es=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,u=t.dataId,l=t.variables,c=t.overwrite,d=(0,g.Vu)(o),p=(0,C.mv)();l=(0,n.Cl)((0,n.Cl)({},(0,g.wY)(d)),l);var m=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)}
130,variables:l,varString:(0,f.M)(l)},(0,C.lq)(o,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:d.selectionSet,mergeTree:{map:new Map},context:m});if(!(0,h.A_)(y))throw(0,i.vA)(12,s);return m.incomingById.forEach(function(t,o){var s=t.storeObject,u=t.mergeTree,l=t.fieldNodeSet,c=(0,h.WU)(o);if(u&&u.map.size){var d=r.applyMerges(u,c,s,m);if((0,h.A_)(d))return;s=d}if(!1!==globalThis.__DEV__&&!m.overwrite){var f=Object.create(null);l.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});var p=function(e){var t=u&&u.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==f[(0,C.iJ)(e)]||p(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},u=s(e);if(u){var l=s(t);if(!(!l||(0,h.A_)(u)||(0,a.L)(u,l)||Object.keys(u).every(function(e){return void 0!==o.getFieldValue(l,e)}))){var c=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),d=(0,C.iJ)(r),f="".concat(c,".").concat(d);if(!ef.has(f)){ef.add(f);var p=[];(0,M.c)(u)||(0,M.c)(l)||[u,l].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}),!1!==globalThis.__DEV__&&i.V1.warn(15,d,c,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",f,(0,n.Cl)({},u),(0,n.Cl)({},l))}}}}(c,s,e,m.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,l=this.cache.policies,d=Object.create(null),f=r&&l.rootTypenamesById[r]||(0,h.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(d.__typename=f);var p=function(){var e=ei(arguments,d,s.variables);if((0,h.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=l.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return l.readField(e,s)},m=new Set;this.flattenFields(a,o,s,f).forEach(function(e,r){var n,a=o[(0,h.ue)(r)];if(m.add(r),void 0!==a){var s=l.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),y=el(u,s),v=t.processFieldValue(a,r,r.selectionSet?ea(e,!1,!1):e,y),g=void 0;r.selectionSet&&((0,h.A_)(v)||(0,C.d1)(v))&&(g=p("__typename",v));var b=l.getMergeFunction(f,r.name.value,g);b?y.info={field:r,typename:f,merge:b}:ed(u,s),d=e.merge(d,((n={})[s]=v,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||c.XY.added(r)||l.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||i.V1.error(13,(0,h.ue)(r),o)});try{var y=l.identify(o,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:d,readField:p}),v=y[0],g=y[1];r=r||v,g&&(d=s.merge(d,g))}catch(e){if(!r)throw e}if("string"==typeof r){var b=(0,h.WU)(r),E=s.written[r]||(s.written[r]=[]);if(E.indexOf(a)>=0||(E.push(a),this.reader&&this.reader.isFresh(o,b,a,s)))return b;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,d),_.mergeTree=function e(t,r){if(t===r||!r||ec(r))return t;if(!t||ec(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(_.mergeTree,u),m.forEach(function(e){return _.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:d,mergeTree:ec(u)?void 0:u,fieldNodeSet:m}),b}return d},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,M.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,el(n,o));return ed(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,U.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,h.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new S.b(!1);return!function e(u,l){var c=s.lookup(u,l.clientOnly,l.deferred);c.visited||(c.visited=!0,u.selections.forEach(function(s){if((0,E.MS)(s,r.variables)){var u=l.clientOnly,c=l.deferred;
130if(!(u&&c)&&(0,M.E)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,h.MB)(e,r.variables);n&&!1===n.if||(c=!0)}}),(0,h.dt)(s)){var d=o.get(s);d&&(u=u&&d.clientOnly,c=c&&d.deferred),o.set(s,ea(r,u,c))}else{var f=(0,_.HQ)(s,r.lookupFragment);if(!f&&s.kind===m.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,s.name.value);f&&a.fragmentMatches(f,n,t,r.variables)&&e(f.selectionSet,ea(r,u,c))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,h.A_)(r)){var u,l,c=!(0,M.c)(r)&&((0,h.A_)(t)||(0,C.d1)(t))?t:void 0,d=r;c&&!a&&(a=[(0,h.A_)(c)?c.__ref:c]);var f=function(e,t){return(0,M.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=f(c,t),n=f(d,t);if(void 0!==n){a&&a.push(t);var u=s.applyMerges(e,r,n,o,a);u!==n&&(l=l||new Map).set(t,u),a&&(0,i.V1)(a.pop()===t)}}),l&&(r=(0,M.c)(d)?d.slice(0):(0,n.Cl)({},d),l.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(u=o.store).getStorage.apply(u,a)):r},e}(),eu=[];function el(e,t){var r=e.map;return r.has(t)||r.set(t,eu.pop()||{map:new Map}),r.get(t)}function ec(e){return!e||!(e.info||e.map.size)}function ed(e,t){var r=e.map,n=r.get(t);n&&ec(n)&&(eu.push(n),r.delete(t))}var ef=new Set,ep=r(17070),eh=r(33408),em=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new l.c(c.XY),r.assumeImmutableResults=!0,r.makeVar=B.UT,r.txCount=0,!1!==globalThis.__DEV__&&((0,eh.cc)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,eh.cc)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r.config=(0,C.I6)(t),r.addTypename=!!r.config.addTypename,r.policies=new er({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new A.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.addTypenameTransform.resetCache(),null==n||n.resetCaches(),this.storeWriter=new es(this,this.storeReader=new V({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,C.Xx)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||d.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(k(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,f.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&(0,eh.cc)(e,"canonizeResults","cache.read");var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof u.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(C.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return!1!==globalThis.__DEV__&&(0,eh.cc)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,B.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,B.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,eh.cc)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),f.M.reset(),p.y.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(C.$3.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),f.M.reset(),e&&e.discardWatches?(this.watches.forEac
130h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,B.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,l=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},c=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,l):!1===a?l(this.data):l(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&c.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=this,n=e.lastDiff,i=(0,eh.lz)("canonizeResults",function(){return r.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,n)))&&(n&&(0,a.L)(n.result,i.result)||e.callback(e.lastDiff=i,n))},t}(s.k);!1!==globalThis.__DEV__&&(em.prototype.getMemoryInternals=ep.cM)},83757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataFromFields=t.addClassName=void 0;let n=r(85917);t.addClassName=e=>{if(e.class){if(e.className){let t=e.className;t+=` ${e.class}`,e.className=t}else e.className=e.class;delete e.class}},t.getDataFromFields=e=>{let t={};return Object.entries(e).reduce((t,[r])=>(t[r]=(0,n.getFieldValue)(e,r),t),t)}},83917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0;class r extends Error{constructor(e,t){super(`${r.extractMessage(e)}: ${JSON.stringify({response:e,request:t})}`),Object.setPrototypeOf(this,r.prototype),this.response=e,this.request=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${e.status})`}}t.ClientError=r},84022:(e,t,r)=>{"use strict";r.d(t,{Nn:()=>tH,eB:()=>t$,v9:()=>tz});var n=r(14232),i="(prefers-reduced-motion: reduce)";function o(e){e.length=0}function a(e,t,r){return Array.prototype.slice.call(e,t,r)}function s(e){return e.bind.apply(e,[null].concat(a(arguments,1)))}var u=setTimeout,l=function(){};function c(e){return requestAnimationFrame(e)}function d(e,t){return typeof t===e}function f(e){return null!==e&&d("object",e)}var p=Array.isArray,h=s(d,"function"),m=s(d,"string"),y=s(d,"undefined");function v(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function g(e){return p(e)?e:[e]}function b(e,t){g(e).forEach(t)}function E(e,t){return e.indexOf(t)>-1}function _(e,t){return e.push.apply(e,g(t)),e}function O(e,t,r){e&&b(t,function(t){t&&e.classList[r?"add":"remove"](t)})}function w(e,t){O(e,m(t)?t.split(" "):t,!0)}function S(e,t){b(t,e.appendChild.bind(e))}function C(e,t){b(e,function(e){var r=(t||e).parentNode;r&&r.insertBefore(e,t)})}function T(e,t){return v(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function R(e,t){var r=e?a(e.children):[];return t?r.filter(function(e){return T(e,t)}):r}function P(e,t){return t?R(e,t)[0]:e.firstElementChild}var A=Object.keys;
130function I(e,t,r){return e&&(r?A(e).reverse():A(e)).forEach(function(r){"__proto__"!==r&&t(e[r],r)}),e}function D(e){return a(arguments,1).forEach(function(t){I(t,function(r,n){e[n]=t[n]})}),e}function N(e){return a(arguments,1).forEach(function(t){I(t,function(t,r){p(t)?e[r]=t.slice():f(t)?e[r]=N({},f(e[r])?e[r]:{},t):e[r]=t})}),e}function x(e,t){b(t||A(e),function(t){delete e[t]})}function j(e,t){b(e,function(e){b(t,function(t){e&&e.removeAttribute(t)})})}function k(e,t,r){f(t)?I(t,function(t,r){k(e,r,t)}):b(e,function(e){null===r||""===r?j(e,t):e.setAttribute(t,String(r))})}function M(e,t,r){var n=document.createElement(e);return t&&(m(t)?w(n,t):k(n,t)),r&&S(r,n),n}function L(e,t,r){if(y(r))return getComputedStyle(e)[t];null!==r&&(e.style[t]=""+r)}function F(e,t){L(e,"display",t)}function V(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function U(e,t){return e.getAttribute(t)}function q(e,t){return e&&e.classList.contains(t)}function B(e){return e.getBoundingClientRect()}function G(e){b(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Q(e){return P(new DOMParser().parseFromString(e,"text/html").body)}function z(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function $(e,t){return e&&e.querySelector(t)}function H(e,t){return t?a(e.querySelectorAll(t)):[]}function K(e,t){O(e,t,!1)}function Y(e){return e.timeStamp}function W(e){return m(e)?e:e?e+"px":""}var J="splide",X="data-"+J;function Z(e,t){if(!e)throw Error("["+J+"] "+(t||""))}var ee=Math.min,et=Math.max,er=Math.floor,en=Math.ceil,ei=Math.abs;function eo(e,t,r,n){var i=ee(t,r),o=et(t,r);return n?i<e&&e<o:i<=e&&e<=o}function ea(e,t,r){var n=ee(t,r),i=et(t,r);return ee(et(n,e),i)}function es(e,t){return b(t,function(t){e=e.replace("%s",""+t)}),e}function eu(e){return e<10?"0"+e:""+e}var el={};function ec(){var e=[];function t(e,t,r){b(e,function(e){e&&b(t,function(t){t.split(" ").forEach(function(t){var n=t.split(".");r(e,n[0],n[1])})})})}return{bind:function(r,n,i,o){t(r,n,function(t,r,n){var a="addEventListener"in t,s=a?t.removeEventListener.bind(t,r,i,o):t.removeListener.bind(t,i);a?t.addEventListener(r,i,o):t.addListener(i),e.push([t,r,n,i,s])})},unbind:function(r,n,i){t(r,n,function(t,r,n){e=e.filter(function(e){return e[0]!==t||e[1]!==r||e[2]!==n||!!i&&e[3]!==i||(e[4](),!1)})})},dispatch:function(e,t,r){var n;return"function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:!0,detail:r}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,r),e.dispatchEvent(n),n},destroy:function(){e.forEach(function(e){e[4]()}),o(e)}}}var ed="mounted",ef="ready",ep="move",eh="moved",em="click",ey="active",ev="inactive",eg="visible",eb="hidden",eE="refresh",e_="updated",eO="resize",ew="resized",eS="drag",eC="dragging",eT="dragged",eR="scroll",eP="scrolled",eA="destroy",eI="arrows:mounted",eD="arrows:updated",eN="pagination:mounted",ex="pagination:updated",ej="navigation:mounted",ek="autoplay:play",eM="autoplay:playing",eL="autoplay:pause",eF="lazyload:loaded";function eV(e){var t=e?e.event.bus:document.createDocumentFragment(),r=ec();return e&&e.event.on(eA,r.destroy),D(r,{bus:t,on:function(e,n){r.bind(t,g(e).join(" "),function(e){n.apply(n,p(e.detail)?e.detail:[])})},off:s(r.unbind,t),emit:function(e){r.dispatch(t,e,a(arguments,1))}})}function eU(e,t,r,n){var i,o,a=Date.now,s=0,u=!0,l=0;function d(){if(!u){if(s=e?ee((a()-i)/e,1):1,r&&r(s),s>=1&&(t(),i=a(),n&&++l>=n))return f();o=c(d)}}function f(){u=!0}function p(){o&&cancelAnimationFrame(o),s=0,o=0,u=!0}return{start:function(t){t||p(),i=a()-(t?s*e:0),u=!1,o=c(d)},rewind:function(){i=a(),s=0,r&&r(s)},pause:f,cancel:p,set:function(t){e=t},isPaused:function(){return u}}}var eq="Arrow",eB=eq+"Left",eG=eq+"Right",eQ=eq+"Up",ez=eq+"Down",e$={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[eQ,eG],ArrowRight:[ez,eB]}
130,eH="role",eK="tabindex",eY="aria-",eW=eY+"controls",eJ=eY+"current",eX=eY+"selected",eZ=eY+"label",e0=eY+"labelledby",e1=eY+"hidden",e2=eY+"orientation",e5=eY+"roledescription",e3=eY+"live",e4=eY+"busy",e8=eY+"atomic",e6=[eH,eK,"disabled",eW,eJ,eZ,e0,e1,e2,e5],e9=J+"__",e7=e9+"track",te=e9+"list",tt=e9+"slide",tr=tt+"--clone",tn=tt+"__container",ti=e9+"arrows",to=e9+"arrow",ta=to+"--prev",ts=to+"--next",tu=e9+"pagination",tl=tu+"__page",tc=e9+"progress__bar",td=e9+"toggle",tf=e9+"sr",tp="is-active",th="is-prev",tm="is-next",ty="is-visible",tv="is-loading",tg="is-focus-in",tb="is-overflow",tE=[tp,ty,th,tm,tv,tg,tb],t_="touchstart mousedown",tO="touchmove mousemove",tw="touchend touchcancel mouseup click",tS="slide",tC="loop",tT="fade",tR=X+"-interval",tP={passive:!1,capture:!0},tA={Spacebar:" ",Right:eG,Left:eB,Up:eQ,Down:ez};function tI(e){return tA[e=m(e)?e:e.key]||e}var tD="keydown",tN=X+"-lazy",tx=tN+"-srcset",tj="["+tN+"], ["+tx+"]",tk=[" ","Enter"],tM=Object.freeze({__proto__:null,Media:function(e,t,r){var n=e.state,o=r.breakpoints||{},a=r.reducedMotion||{},s=ec(),u=[];function l(e){e&&s.destroy()}function c(e,t){var r=matchMedia(t);s.bind(r,"change",d),u.push([e,r])}function d(){var t=n.is(7),i=r.direction,o=u.reduce(function(e,t){return N(e,t[1].matches?t[0]:{})},{});x(r),f(o),r.destroy?e.destroy("completely"===r.destroy):t?(l(!0),e.mount()):i!==r.direction&&e.refresh()}function f(t,i,o){N(r,t),i&&N(Object.getPrototypeOf(r),t),(o||!n.is(1))&&e.emit(e_,r)}return{setup:function(){var e="min"===r.mediaQuery;A(o).sort(function(t,r){return e?t-r:r-t}).forEach(function(t){c(o[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),c(a,i),d()},destroy:l,reduce:function(e){matchMedia(i).matches&&(e?N(r,a):x(r,A(a)))},set:f}},Direction:function(e,t,r){return{resolve:function(e,t,n){var i="rtl"!==(n=n||r.direction)||t?"ttb"===n?0:-1:1;return e$[e]&&e$[e][i]||e.replace(/width|left|right/i,function(e,t){var r=e$[e.toLowerCase()][i]||e;return t>0?r.charAt(0).toUpperCase()+r.slice(1):r})},orient:function(e){return e*("rtl"===r.direction?1:-1)}}},Elements:function(e,t,r){var n,i,a,s=eV(e),u=s.on,l=s.bind,c=e.root,d=r.i18n,f={},p=[],m=[],y=[];function v(){i=P(n=E("."+e7),"."+te),Z(n&&i,"A track/list element is missing."),_(p,R(i,"."+tt+":not(."+tr+")")),I({arrows:ti,pagination:tu,prev:ta,next:ts,bar:tc,toggle:td},function(e,t){f[t]=E("."+e)}),D(f,{root:c,track:n,list:i,slides:p}),function(){var e=c.id||""+J+eu(el[J]=(el[J]||0)+1),t=r.role;c.id=e,n.id=n.id||e+"-track",i.id=i.id||e+"-list",!U(c,eH)&&"SECTION"!==c.tagName&&t&&k(c,eH,t),k(c,e5,d.carousel),k(i,eH,"presentation")}(),b()}function g(e){var t=e6.concat("style");o(p),K(c,m),K(n,y),j([n,i],t),j(c,e?t:["style",e5])}function b(){K(c,m),K(n,y),m=S(J),y=S(e7),w(c,m),w(n,y),k(c,eZ,r.label),k(c,e0,r.labelledby)}function E(e){var t=$(c,e);return t&&function(e,t){if(h(e.closest))return e.closest(t);for(var r=e;r&&1===r.nodeType&&!T(r,t);)r=r.parentElement;return r}(t,"."+J)===c?t:void 0}function S(e){return[e+"--"+r.type,e+"--"+r.direction,r.drag&&e+"--draggable",r.isNavigation&&e+"--nav",e===J&&tp]}return D(f,{setup:v,mount:function(){u(eE,g),u(eE,v),u(e_,b),l(document,t_+" keydown",function(e){a="keydown"===e.type},{capture:!0}),l(c,"focusin",function(){O(c,tg,!!a)})},destroy:g})},Slides:function(e,t,r){var n=eV(e),i=n.on,a=n.emit,u=n.bind,l=t.Elements,c=l.slides,d=l.list,f=[];function p(){c.forEach(function(e,t){_(e,t,-1)})}function y(){A(function(e){e.destroy()}),o(f)}function _(t,r,n){var i=function(e,t,r,n){var i,o=eV(e),a=o.on,u=o.emit,l=o.bind,c=e.Components,d=e.root,f=e.options,p=f.isNavigation,h=f.updateOnMove,m=f.i18n,y=f.pagination,v=f.slideFocus,g=c.Direction.resolve,b=U(n,"style"),E=U(n,eZ),_=r>-1,w=P(n,"."+tn);function S(){var i=e.splides.map(function(e){var r=e.splide.Components.Slides.getAt(t);return r?r.slide.id:""}).join(" ");k(n,eZ,es(m.slideX,(_?r:t)+1)),k(n,eW,i),k(n,eH,v?"button":""),v&&j(n,e5)}function C(){i||T()}function T(){if(!i){var r,o=e.index;(r=R())!==q(n,tp)&&(O(n,tp,r),k(n,eJ,p&&r||""),u(r?ey:ev,A)),function(){var t=function(){if(e.is(tT))return R();var t=B(c.Elements.track),r=B(n),i=g("left",!0),o=g("right",!0);
130return er(t[i])<=en(r[i])&&er(r[o])<=en(t[o])}(),r=!t&&(!R()||_);if(e.state.is([4,5])||k(n,e1,r||""),k(H(n,f.focusableNodes||""),eK,r?-1:""),v&&k(n,eK,r?-1:0),t!==q(n,ty)&&(O(n,ty,t),u(t?eg:eb,A)),!t&&document.activeElement===n){var i=c.Slides.getAt(e.index);i&&V(i.slide)}}(),O(n,th,t===o-1),O(n,tm,t===o+1)}}function R(){var n=e.index;return n===t||f.cloneStatus&&n===r}var A={index:t,slideIndex:r,slide:n,container:w,isClone:_,mount:function(){_||(n.id=d.id+"-slide"+eu(t+1),k(n,eH,y?"tabpanel":"group"),k(n,e5,m.slide),k(n,eZ,E||es(m.slideLabel,[t+1,e.length]))),l(n,"click",s(u,em,A)),l(n,"keydown",s(u,"sk",A)),a([eh,"sh",eP],T),a(ej,S),h&&a(ep,C)},destroy:function(){i=!0,o.destroy(),K(n,tE),j(n,e6),k(n,"style",b),k(n,eZ,E||"")},update:T,style:function(e,t,r){L(r&&w||n,e,t)},isWithin:function(r,n){var i=ei(r-t);return!_&&(f.rewind||e.is(tC))&&(i=ee(i,e.length-i)),i<=n}};return A}(e,r,n,t);i.mount(),f.push(i),f.sort(function(e,t){return e.index-t.index})}function R(e){return e?I(function(e){return!e.isClone}):f}function A(e,t){R(t).forEach(e)}function I(e){return f.filter(h(e)?e:function(t){return m(e)?T(t.slide,e):E(g(e),t.index)})}return{mount:function(){p(),i(eE,y),i(eE,p)},destroy:y,update:function(){A(function(e){e.update()})},register:_,get:R,getIn:function(e){var n=t.Controller,i=n.toIndex(e),o=n.hasFocus()?1:r.perPage;return I(function(e){return eo(e.index,i,i+o-1)})},getAt:function(e){return I(e)[0]},add:function(e,t){b(e,function(e){if(m(e)&&(e=Q(e)),v(e)){var n,i,o,l,f=c[t];f?C(e,f):S(d,e),w(e,r.classes.slide),n=e,i=s(a,eO),(l=(o=H(n,"img")).length)?o.forEach(function(e){u(e,"load error",function(){--l||i()})}):i()}}),a(eE)},remove:function(e){G(I(e).map(function(e){return e.slide})),a(eE)},forEach:A,filter:I,style:function(e,t,r){A(function(n){n.style(e,t,r)})},getLength:function(e){return e?c.length:f.length},isEnough:function(){return f.length>r.perPage}}},Layout:function(e,t,r){var n,i,o,a=eV(e),u=a.on,l=a.bind,c=a.emit,d=t.Slides,p=t.Direction.resolve,h=t.Elements,m=h.root,y=h.track,v=h.list,g=d.getAt,b=d.style;function E(){n="ttb"===r.direction,L(m,"maxWidth",W(r.width)),L(y,p("paddingLeft"),w(!1)),L(y,p("paddingRight"),w(!0)),_(!0)}function _(e){var t,a=B(m);(e||i.width!==a.width||i.height!==a.height)&&(L(y,"height",(t="",n&&(Z(t=S(),"height or heightRatio is missing."),t="calc("+t+" - "+w(!1)+" - "+w(!0)+")"),t)),b(p("marginRight"),W(r.gap)),b("width",r.autoWidth?null:W(r.fixedWidth)||(n?"":C())),b("height",W(r.fixedHeight)||(n?r.autoHeight?null:C():S()),!0),i=a,c(ew),o!==(o=D())&&(O(m,tb,o),c("overflow",o)))}function w(e){var t=r.padding,n=p(e?"right":"left");return t&&W(t[n]||(f(t)?0:t))||"0px"}function S(){return W(r.height||B(v).width*r.heightRatio)}function C(){var e=W(r.gap);return"calc((100%"+(e&&" + "+e)+")/"+(r.perPage||1)+(e&&" - "+e)+")"}function T(){return B(v)[p("width")]}function R(e,t){var r=g(e||0);return r?B(r.slide)[p("width")]+(t?0:I()):0}function P(e,t){var r=g(e);return r?ei(B(r.slide)[p("right")]-B(v)[p("left")])+(t?0:I()):0}function A(t){return P(e.length-1)-P(0)+R(0,t)}function I(){var e=g(0);return e&&parseFloat(L(e.slide,p("marginRight")))||0}function D(){return e.is(tT)||A(!0)>T()}return{mount:function(){var e;E(),l(window,"resize load",(e=eU(0,s(c,eO),null,1),function(){e.isPaused()&&e.start()})),u([e_,eE],E),u(eO,_)},resize:_,listSize:T,slideSize:R,sliderSize:A,totalSize:P,getPadding:function(e){return parseFloat(L(y,p("padding"+(e?"Right":"Left"))))||0},isOverflow:D}},Clones:function(e,t,r){var n,i=eV(e),a=i.on,s=t.Elements,u=t.Slides,l=t.Direction.resolve,c=[];function d(){a(eE,f),a([e_,eO],h),(n=m())&&(function(t){var n=u.get().slice(),i=n.length;if(i){for(;n.length<t;)_(n,n);_(n.slice(-t),n.slice(0,t)).forEach(function(o,a){var l,d,f,p=a<t,h=(l=o.slide,d=a,w(f=l.cloneNode(!0),r.classes.clone),f.id=e.root.id+"-clone"+eu(d+1),f);p?C(h,n[0].slide):S(s.list,h),_(c,h),u.register(h,a-t+(p?0:i),o.index)})}}(n),t.Layout.resize(!0))}function f(){p(),d()}function p(){G(c),o(c),i.destroy()}function h(){var e=m();n!==e&&(n<e||!e)&&i.emit(eE)}function m(){var n=r.clones;if(e.is(tC)){if(y(n)){var i=r[l("fixedWidth")]&&t.Layout.slideSize(0);n=i&&en(B(s.track)[l("width")]/i)||r[l("autoWidth")]&&e.length||2*r.perPage}}else n=0;return n}return{mount:d,destroy:p}},Move:function(e,t,r){var n,i=eV(e),o=i.on,a=i.emit,s=e.state.set,u=t.Layout,l=u.slideSize,c=u.getPadding,d=u.totalSize,f=u.listSize,p=u.sliderSize,h=t.Direction,m=h.resolve,v=h.orient,g=t.Elements,b=g.list,E=g.track;function _(){t.Controller.isBusy()||(t.Scroll.cancel(),O(e.index),t.Slides.update())}function O(e){w(R(e,!0))}function w(r,n){if(!e.is(tT)){var i=n?r:function(r){if(e.is(tC)){var n=T(r),i=n>t.Controller.getEnd();(n<0||i)&&(r=S(r,i))}return r}(r);L(b,"transform","translate"+m("X")+"("+i+"px)"),r!==i&&a("sh")}}function S(e,t){var r=e-A(t),n=p();return e-v(n*(en(ei(r)/n)||1))*(t?1:-1)}function C(){w(P(),!0),n.cancel()}function T(e){for(var r=t.Slides.get(),n=0,i=1/0,o=0;o<r.length;o++){var a=r[o].index,s=ei(R(a,!0)-e);if(s<=i)i=s,n=a;else break}return n}function R(t,n){var i,o,a,s=v(d(t-1)-(i=t,"center"===(o=r.focus)?(f()-l(i,!0))/2:o*l(i)||0));return n?(a=s,r.trimSpace&&e.is(tS)&&(a=ea(a,0,v(p(!0)-f()))),a):s}function P(){var e=m("left");return B(b)[e]-B(E)[e]+v(c(!1))}function A(e){return R(e?t.Controller.getEnd():0,!!r.trimSpace)}return{mount:function(){n=t.Transition,o([ed,ew,e_,eE],_)},move:function(e,t,r,i){var o,u;e!==t&&(o=e>r,u=v(S(P(),o)),o?u>=0:u<=b[m("scrollWidth")]-B(E)[m("width")])&&(C(),w(S(P(),e>r),!0)),s(4),a(ep,t,r,e),n.start(t,function(){s(3),a(eh,t,r,e),i&&i()})},jump:O,translate:w,shift:S,cancel:C,toIndex:T,toPosition:R,getPosition:P,getLimit:A,exceededLimit:function(e,t){t=y(t)?P():t;var r=!0!==e&&v(t)<v(A(!1)),n=!1!==e&&v(t)>v(A(!0));return r||n},reposition:_}},Controller:function(e,t,r){var n,i,o,a,u=eV(e),l=u.on,c=u.emit,d=t.Move,f=d.getPosition,p=d.getLimit,h=d.toPosition,v=t.Slides,g=v.isEnough,b=v.getLength,E=r.omitEnd,_=e.is(tC),O=e.is(tS),w=s(A,!1),S=s(A,!0),C=r.start||0,T=C;function R(){i=b(!0),o=r.perMove,a=r.perPage,n=N();var e=ea(C,0,E?n:i-1);e!==C&&(C=e,d.reposition())}function P(){n!==N()&&c("ei")}function A(e,t){var r=o||(M()?1:a),i=I(C+r*(e?-1:1),C,!(o||M()));return -1===i&&O&&!(1>ei(f()-p(!e)))?e?0:n:t?i:D(i)}function I(t,s,u){if(g()||M()){var l=function(t){if(O&&"move"===r.trimSpace&&t!==C)for(var n=f();n===h(t,!0)&&eo(t,0,e.length-1,!r.rewind);)t<C?--t:++t;return t}(t);l!==t&&(s=t,t=l,u=!1),t<0||t>n?t=!o&&(eo(0,t,s,!0)||eo(n,s,t,!0))?x(j(t)):_?u?t<0?-(i%a||a):i:t:r.rewind?t<0?n:0:-1:u&&t!==s&&(t=x(j(s)+(t<s?-1:1)))}else t=-1;return t}function D(e){return _?(e+i)%i||0:e}function N(){for(var e=i-(M()||_&&o?1:a);E&&e-- >0;
130)if(h(i-1,!0)!==h(e,!0)){e++;break}return ea(e,0,i-1)}function x(e){return ea(M()?e:a*e,0,n)}function j(e){return M()?ee(e,n):er((e>=n?i-1:e)/a)}function k(e){e!==C&&(T=C,C=e)}function M(){return!y(r.focus)||r.isNavigation}function L(){return e.state.is([4,5])&&!!r.waitForTransition}return{mount:function(){R(),l([e_,eE,"ei"],R),l(ew,P)},go:function(e,t,r){if(!L()){var i=function(e){var t=C;if(m(e)){var r=e.match(/([+\-<>])(\d+)?/)||[],i=r[1],o=r[2];"+"===i||"-"===i?t=I(C+ +(""+i+(+o||1)),C):">"===i?t=o?x(+o):w(!0):"<"===i&&(t=S(!0))}else t=_?e:ea(e,0,n);return t}(e),o=D(i);o>-1&&(t||o!==C)&&(k(o),d.move(i,o,T,r))}},scroll:function(e,r,i,o){t.Scroll.scroll(e,r,i,function(){var e=D(d.toIndex(f()));k(E?ee(e,n):e),o&&o()})},getNext:w,getPrev:S,getAdjacent:A,getEnd:N,setIndex:k,getIndex:function(e){return e?T:C},toIndex:x,toPage:j,toDest:function(e){var t=d.toIndex(e);return O?ea(t,0,n):t},hasFocus:M,isBusy:L}},Arrows:function(e,t,r){var n,i,o=eV(e),a=o.on,u=o.bind,l=o.emit,c=r.classes,d=r.i18n,f=t.Elements,p=t.Controller,h=f.arrows,m=f.track,y=h,v=f.prev,g=f.next,b={};function E(){var e;(e=r.arrows)&&!(v&&g)&&(y=h||M("div",c.arrows),v=R(!0),g=R(!1),n=!0,S(y,[v,g]),h||C(y,m)),v&&g&&(D(b,{prev:v,next:g}),F(y,e?"":"none"),w(y,i=ti+"--"+r.direction),e&&(a([ed,eh,eE,eP,"ei"],P),u(g,"click",s(T,">")),u(v,"click",s(T,"<")),P(),k([v,g],eW,m.id),l(eI,v,g))),a(e_,_)}function _(){O(),E()}function O(){o.destroy(),K(y,i),n?(G(h?[v,g]:y),v=g=null):j([v,g],e6)}function T(e){p.go(e,!0)}function R(e){return Q('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(r.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function P(){if(v&&g){var t=e.index,r=p.getPrev(),n=p.getNext(),i=r>-1&&t<r?d.last:d.prev,o=n>-1&&t>n?d.first:d.next;v.disabled=r<0,g.disabled=n<0,k(v,eZ,i),k(g,eZ,o),l(eD,v,g,r,n)}}return{arrows:b,mount:E,destroy:O,update:P}},Autoplay:function(e,t,r){var n,i,o=eV(e),a=o.on,s=o.bind,u=o.emit,l=eU(r.interval,e.go.bind(e,">"),function(e){var t=d.bar;t&&L(t,"width",100*e+"%"),u(eM,e)}),c=l.isPaused,d=t.Elements,f=t.Elements,p=f.root,h=f.toggle,m=r.autoplay,y="pause"===m;function v(){c()&&t.Slides.isEnough()&&(l.start(!r.resetProgress),i=n=y=!1,E(),u(ek))}function g(e){void 0===e&&(e=!0),y=!!e,E(),c()||(l.pause(),u(eL))}function b(){y||(n||i?g(!1):v())}function E(){h&&(O(h,tp,!y),k(h,eZ,r.i18n[y?"play":"pause"]))}function _(e){var n=t.Slides.getAt(e);l.set(n&&+U(n.slide,tR)||r.interval)}return{mount:function(){m&&(r.pauseOnHover&&s(p,"mouseenter mouseleave",function(e){n="mouseenter"===e.type,b()}),r.pauseOnFocus&&s(p,"focusin focusout",function(e){i="focusin"===e.type,b()}),h&&s(h,"click",function(){y?v():g(!0)}),a([ep,eR,eE],l.rewind),a(ep,_),h&&k(h,eW,d.track.id),y||v(),E())},destroy:l.cancel,play:v,pause:g,isPaused:c}},Cover:function(e,t,r){var n=eV(e).on;function i(e){t.Slides.forEach(function(t){var r=P(t.container||t.slide,"img");r&&r.src&&o(e,r,t)})}function o(e,t,r){r.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),F(t,e?"none":"")}return{mount:function(){r.cover&&(n(eF,s(o,!0)),n([ed,e_,eE],s(i,!0)))},destroy:s(i,!1)}},Scroll:function(e,t,r){var n,i,o=eV(e),a=o.on,u=o.emit,l=e.state.set,c=t.Move,d=c.getPosition,f=c.getLimit,p=c.exceededLimit,h=c.translate,m=e.is(tS),y=1;function v(e,r,o,a,f){var h=d();if(E(),o&&(!m||!p())){var v,_=t.Layout.sliderSize(),O=(((v=e)>0)-(v<0))*_*er(ei(e)/_)||0;e=c.toPosition(t.Controller.toDest(e%_))+O}var w=1>ei(h-e);y=1,r=w?0:r||et(ei(e-h)/1.5,800),i=a,n=eU(r,g,s(b,h,e,f),1),l(5),u(eR),n.start()}function g(){l(3),i&&i(),u(eP)}function b(e,t,n,o){var a,s,u=d(),l=(e+(t-e)*(a=o,(s=r.easingFunc)?s(a):1-Math.pow(1-a,4))-u)*y;h(u+l),m&&!n&&p()&&(y*=.6,10>ei(l)&&v(f(p(!0)),600,!1,i,!0))}function E(){n&&n.cancel()}function _(){n&&!n.isPaused()&&(E(),g())}return{mount:function(){a(ep,E),a([e_,eE],_)},destroy:E,scroll:v,cancel:_}},Drag:function(e,t,r){var n,i,o,a,s,u,c,d,p=eV(e),h=p.on,m=p.emit,y=p.bind,v=p.unbind,g=e.state,b=t.Move,E=t.Scroll,_=t.Controller,O=t.Elements.track,w=t.Media.reduce,S=t.Direction,C=S.resolve,R=S.orient,P=b.getPosition,A=b.exceededLimit,I=!1;function D(){var e=r.drag;c=!e,a="free"===e}function N(e){if(u=!1,!c){var t,n,i=U(e);t=e.target,n=r.noDrag,T(t,"."+tl+", ."+to)||n&&T(t,n)||!i&&e.button||(_.isBusy()?z(e,!0):(d=i?O:window,s=g.is([4,5]),o=null,y(d,tO,x,tP),y(d,tw,j,tP),b.cancel(),E.cancel(),M(e)))}}function x(t){if(g.is(6)||(g.set(6),m(eS)),t.cancelable)if(s){b.translate(n+L(t)/(I&&e.is(tS)?5:1));var i,o,a,l,c,d,p=F(t)>200,h=I!==(I=A());(p||h)&&M(t),u=!0,m(eC),z(t)}else{ei(L(i=t))>ei(L(i,!0))&&(o=t,c=(l=f(a=r.dragMinThreshold))&&a.mouse||0,d=(l?a.touch:+a)||10,s=ei(L(o))>(U(o)?d:c),z(t))}}function j(n){g.is(6)&&(g.set(3),m(eT)),s&&(function(n){var i=function(t){if(e.is(tC)||!I){var r=F(t);if(r&&r<200)return L(t)/r}return 0}(n),o=function(e){return P()+((e>0)-(e<0))*ee(ei(e)*(r.flickPower||600),a?1/0:t.Layout.listSize()*(r.flickMaxPages||1))}(i),s=r.rewind&&r.rewindByDrag;(w(!1),a)?_.scroll(o,0,r.snap):e.is(tT)?_.go(0>R((i>0)-(i<0))?s?"<":"-":s?">":"+"):e.is(tS)&&I&&s?_.go(A(!0)?">":"<"):_.go(_.toDest(o),!0),w(!0)}(n),z(n)),v(d,tO,x),v(d,tw,j),s=!1}function k(e){!c&&u&&z(e,!0)}function M(e){o=i,i=e,n=P()}function L(e,t){return V(e,t)-V(i===e&&o||i,t)}function F(e){return Y(e)-Y(i===e&&o||i)}function V(e,t){return(U(e)?e.changedTouches[0]:e)["page"+C(t?"Y":"X")]}function U(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}return{mount:function(){y(O,tO,l,tP),y(O,tw,l,tP),y(O,t_,N,tP),y(O,"click",k,{capture:!0}),y(O,"dragstart",z),h([ed,e_],D)},disable:function(e){c=e},isDragging:function(){return s}}},Keyboard:function(e,t,r){var n,i,o=eV(e),a=o.on,s=o.bind,l=o.unbind,c=e.root,d=t.Direction.resolve;function f(){var e=r.keyboard;e&&s(n="global"===e?window:c,tD,m)}function p(){l(n,tD)}function h(){var e=i;i=!0,u(function(){i=e})}function m(t){if(!i){var r=tI(t);r===d(eB)?e.go("<"):r===d(eG)&&e.go(">")}}return{mount:function(){f(),a(e_,p),a(e_,f),a(ep,h)},destroy:p,disable:function(e){i=e}}},LazyLoad:function(e,t,r){var n=eV(e),i=n.on,a=n.off,u=n.bind,l=n.emit,c="sequential"===r.lazyLoad,d=[eh,eP],f=[];
130function p(){o(f),t.Slides.forEach(function(e){H(e.slide,tj).forEach(function(t){var n=U(t,tN),i=U(t,tx);if(n!==t.src||i!==t.srcset){var o=r.classes.spinner,a=t.parentElement,s=P(a,"."+o)||M("span",o,a);f.push([t,e,s]),t.src||F(t,"none")}})}),c?v():(a(d),i(d,h),h())}function h(){(f=f.filter(function(t){var n=r.perPage*((r.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,n)||m(t)})).length||a(d)}function m(e){var t=e[0];w(e[1].slide,tv),u(t,"load error",s(y,e)),k(t,"src",U(t,tN)),k(t,"srcset",U(t,tx)),j(t,tN),j(t,tx)}function y(e,t){var r=e[0],n=e[1];K(n.slide,tv),"error"!==t.type&&(G(e[2]),F(r,""),l(eF,r,n),l(eO)),c&&v()}function v(){f.length&&m(f.shift())}return{mount:function(){r.lazyLoad&&(p(),i(eE,p))},destroy:s(o,f),check:h}},Pagination:function(e,t,r){var n,i,u=eV(e),l=u.on,c=u.emit,d=u.bind,f=t.Slides,p=t.Elements,h=t.Controller,m=h.hasFocus,y=h.getIndex,v=h.go,g=t.Direction.resolve,b=p.pagination,E=[];function _(){n&&(G(b?a(n.children):n),K(n,i),o(E),n=null),u.destroy()}function O(e){v(">"+e,!0)}function S(e,t){var r=E.length,n=tI(t),i=C(),o=-1;n===g(eG,!1,i)?o=++e%r:n===g(eB,!1,i)?o=(--e+r)%r:"Home"===n?o=0:"End"===n&&(o=r-1);var a=E[o];a&&(V(a.button),v(">"+o),z(t,!0))}function C(){return r.paginationDirection||r.direction}function T(e){return E[h.toPage(e)]}function R(){var e=T(y(!0)),t=T(y());if(e){var r=e.button;K(r,tp),j(r,eX),k(r,eK,-1)}if(t){var i=t.button;w(i,tp),k(i,eX,!0),k(i,eK,"")}c(ex,{list:n,items:E},e,t)}return{items:E,mount:function t(){_(),l([e_,eE,"ei"],t);var o=r.pagination;b&&F(b,o?"":"none"),o&&(l([ep,eR,eP],R),function(){var t=e.length,o=r.classes,a=r.i18n,u=r.perPage,l=m()?h.getEnd()+1:en(t/u);w(n=b||M("ul",o.pagination,p.track.parentElement),i=tu+"--"+C()),k(n,eH,"tablist"),k(n,eZ,a.select),k(n,e2,"ttb"===C()?"vertical":"");for(var c=0;c<l;c++){var y=M("li",null,n),v=M("button",{class:o.page,type:"button"},y),g=f.getIn(c).map(function(e){return e.slide.id}),_=!m()&&u>1?a.pageX:a.slideX;d(v,"click",s(O,c)),r.paginationKeyboard&&d(v,"keydown",s(S,c)),k(y,eH,"presentation"),k(v,eH,"tab"),k(v,eW,g.join(" ")),k(v,eZ,es(_,c+1)),k(v,eK,-1),E.push({li:y,button:v,page:c})}}(),R(),c(eN,{list:n,items:E},T(e.index)))},destroy:_,getAt:T,update:R}},Sync:function(e,t,r){var n=r.isNavigation,i=r.slideFocus,a=[];function u(){var t,r;e.splides.forEach(function(t){t.isParent||(c(e,t.splide),c(t.splide,e))}),n&&((r=(t=eV(e)).on)(em,f),r("sk",p),r([ed,e_],d),a.push(t),t.emit(ej,e.splides))}function l(){a.forEach(function(e){e.destroy()}),o(a)}function c(e,t){var r=eV(e);r.on(ep,function(e,r,n){t.go(t.is(tC)?n:e)}),a.push(r)}function d(){k(t.Elements.list,e2,"ttb"===r.direction?"vertical":"")}function f(t){e.go(t.index)}function p(e,t){E(tk,tI(t))&&(f(e),z(t))}return{setup:s(t.Media.set,{slideFocus:y(i)?n:i},!0),mount:u,destroy:l,remount:function(){l(),u()}}},Wheel:function(e,t,r){var n=eV(e).bind,i=0;function o(n){if(n.cancelable){var o,a=n.deltaY,s=a<0,u=Y(n),l=r.wheelMinThreshold||0,c=r.wheelSleep||0;ei(a)>l&&u-i>c&&(e.go(s?"<":">"),i=u),o=s,(!r.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(o))&&z(n)}}return{mount:function(){r.wheel&&n(t.Elements.track,"wheel",o,tP)}}},Live:function(e,t,r){var n=eV(e).on,i=t.Elements.track,o=r.live&&!r.isNavigation,a=M("span",tf),u=eU(90,s(l,!1));function l(e){k(i,e4,e),e?(S(i,a),u.start()):(G(a),u.cancel())}function c(e){o&&k(i,e3,e?"off":"polite")}return{mount:function(){o&&(c(!t.Autoplay.isPaused()),k(i,e8,!0),a.textContent="…",n(ek,s(c,!0)),n(eL,s(c,!1)),n([eh,eP],s(l,!0)))},disable:c,destroy:function(){j(i,[e3,e8,e4]),G(a)}}}}),tL={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:tt,clone:tr,arrows:ti,arrow:to,prev:ta,next:ts,pagination:tu,page:tl,spinner:e9+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function tF(e,t,r){var n=t.Slides;
130function i(){n.forEach(function(e){e.style("transform","translateX(-"+100*e.index+"%)")})}return{mount:function(){eV(e).on([ed,eE],i)},start:function(e,t){n.style("transition","opacity "+r.speed+"ms "+r.easing),u(t)},cancel:l}}function tV(e,t,r){var n,i=t.Move,o=t.Controller,a=t.Scroll,u=t.Elements.list,l=s(L,u,"transition");function c(){l(""),a.cancel()}return{mount:function(){eV(e).bind(u,"transitionend",function(e){e.target===u&&n&&(c(),n())})},start:function(t,s){var u=i.toPosition(t,!0),c=i.getPosition(),d=function(t){var n=r.rewindSpeed;if(e.is(tS)&&n){var i=o.getIndex(!0),a=o.getEnd();if(0===i&&t>=a||i>=a&&0===t)return n}return r.speed}(t);ei(u-c)>=1&&d>=1?r.useScroll?a.scroll(u,d,!1,s):(l("transform "+d+"ms "+r.easing),i.translate(u,!0),n=s):(i.jump(t),s())},cancel:c}}var tU=function(){function e(t,r){this.event=eV(),this.Components={},this.state=(n=1,{set:function(e){n=e},is:function(e){return E(g(e),n)}}),this.splides=[],this._o={},this._E={};var n,i=m(t)?$(document,t):t;Z(i,i+" is invalid."),this.root=i,r=N({label:U(i,eZ)||"",labelledby:U(i,e0)||""},tL,e.defaults,r||{});try{N(r,JSON.parse(U(i,X)))}catch(e){Z(!1,"Invalid JSON")}this._o=Object.create(N({},r))}var t,r=e.prototype;return r.mount=function(e,t){var r=this,n=this.state,i=this.Components;return Z(n.is([1,7]),"Already mounted!"),n.set(1),this._C=i,this._T=t||this._T||(this.is(tT)?tF:tV),this._E=e||this._E,I(D({},tM,this._E,{Transition:this._T}),function(e,t){var n=e(r,i,r._o);i[t]=n,n.setup&&n.setup()}),I(i,function(e){e.mount&&e.mount()}),this.emit(ed),w(this.root,"is-initialized"),n.set(3),this.emit(ef),this},r.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},r.go=function(e){return this._C.Controller.go(e),this},r.on=function(e,t){return this.event.on(e,t),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(a(arguments,1))),this},r.add=function(e,t){return this._C.Slides.add(e,t),this},r.remove=function(e){return this._C.Slides.remove(e),this},r.is=function(e){return this._o.type===e},r.refresh=function(){return this.emit(eE),this},r.destroy=function(e){void 0===e&&(e=!0);var t=this.event,r=this.state;return r.is(1)?eV(this).on(ef,this.destroy.bind(this,e)):(I(this._C,function(t){t.destroy&&t.destroy(e)},!0),t.emit(eA),t.destroy(),e&&o(this.splides),r.set(7)),this},t=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();tU.defaults={},tU.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};var tq=[[ed,"onMounted"],[ef,"onReady"],[ep,"onMove"],[eh,"onMoved"],[em,"onClick"],[ey,"onActive"],[ev,"onInactive"],[eg,"onVisible"],[eb,"onHidden"],[eE,"onRefresh"],[e_,"onUpdated"],[eO,"onResize"],[ew,"onResized"],[eS,"onDrag"],[eC,"onDragging"],[eT,"onDragged"],[eR,"onScroll"],[eP,"onScrolled"],[eA,"onDestroy"],[eI,"onArrowsMounted"],[eD,"onArrowsUpdated"],[eN,"onPaginationMounted"],[ex,"onPaginationUpdated"],[ej,"onNavigationMounted"],[ek,"onAutoplayPlay"],[eM,"onAutoplayPlaying"],[eL,"onAutoplayPause"],[eF,"onLazyLoadLoaded"]];function tB(...e){return e.filter(Boolean).join(" ")}function tG(e){return null!==e&&"object"==typeof e}function tQ(e,t){return!function(e,t){if(e){let r=Object.keys(e);for(let n=0;n<r.length;n++){let i=r[n];if("__proto__"!==i&&!1===t(e[i],i))break}}}(t,(t,r)=>{Array.isArray(t)?e[r]=t.slice():tG(t)?e[r]=tQ(tG(e[r])?e[r]:{},t):e[r]=t}),e}var tz=({children:e,className:t,...r})=>n.createElement("div",{className:tB("splide__track",t),...r},n.createElement("ul",{className:"splide__list"},e)),t$=class extends n.Component{constructor(){super(...arguments),this.splideRef=n.createRef(),this.slides=[]}componentDidMount(){let{options:e,extensions:t,transition:r}=this.props,{current:n}=this.splideRef;n&&(this.splide=new tU(n,e),this.bind(this.splide),this.splide.mount(t,r),this.options=tQ({},e||{}),this.slides=this.getSlides())}componentWillUnmount(){this.splide&&(this.splide.destroy(),this.splide=void 0),this.options=void 0,this.slides.length=0}componentDidUpdate(){var e;if(!this.splide)return;let{options:t}=this.props;t&&!function e(t,r){if(Array.isArray(t)&&Array.isArray(r))return t.length===r.length&&!t.some((t,n)=>!e(t,r[n]));if(tG(t)&&tG(r)){let n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&!n.some(n=>!Object.prototype.hasOwnProperty.call(r,n)||!e(t[n],r[n]))}return t===r}(this.options,t)&&(this.splide.options=t,this.options=tQ({},t));let r=this.getSlides();e=this.slides,(e.length!==r.length||e.some((e,t)=>e!==r[t]))&&(this.splide.refresh(),this.slides=r)}sync(e){var t;null==(t=this.splide)||t.sync(e)}go(e){var t;null==(t=this.splide)||t.go(e)}getSlides(){var e;if(this.splide){let t=null==(e=this.splide.Components.Elements)?void 0:e.list.children;return t&&Array.prototype.slice.call(t)||[]}return[]}bind(e){tq.forEach(([t,r])=>{let n=this.props[r];"function"==typeof n&&e.on(t,(...t)=>{n(e,...t)})})}omit(e,t){return t.forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&delete e[t]}),e}render(){let{className:e,tag:t="div",hasTrack:r=!0,children:i,...o}=this.props;return n.createElement(t,{className:tB("splide",e),ref:this.splideRef,...this.omit(o,["options",...tq.map(e=>e[1])])},r?n.createElement(tz,null,i):i)}},tH=({children:e,className:t,...r})=>n.createElement("li",{className:tB("splide__slide",t),...r},e)},84429:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}
130,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeDataFetcher=void 0;let o=i(r(3107)),a=i(r(86761));class s{constructor(e={}){this.config=e}async fetch(e,t={}){var r;let i=this.config,{debugger:s,fetch:u}=i,l=n(i,["debugger","fetch"]),c=Date.now(),d=u||fetch,f=s||o.default.http,p=this.getRequestInit(Object.assign(Object.assign({},l),t)),h=[d(e,p)];l.timeout&&(this.abortTimeout=new a.default(l.timeout),h.push(this.abortTimeout.start)),f("Request initiated: %o",Object.assign({url:e,headers:this.extractDebugHeaders(p.headers)},p));try{let e=await Promise.race(h).then(e=>{var t;return null==(t=this.abortTimeout)||t.clear(),e}),t=await this.parseResponse(e,f);if(!e.ok){let r=this.createError(e,t);throw f("Response error: %o",r.response),r}return f("Response in %dms: %o",Date.now()-c,{status:e.status,statusText:e.statusText,headers:this.extractDebugHeaders(e.headers),url:e.url,data:t}),{data:t,headers:e.headers,status:e.status,statusText:e.statusText}}catch(e){throw null==(r=this.abortTimeout)||r.clear(),f("Request failed: %o",e),e}}async get(e,t={}){return this.fetch(e,Object.assign({method:"GET"},t))}async post(e,t,r={}){return this.fetch(e,Object.assign({method:"POST",body:JSON.stringify(t)},r))}async delete(e,t={}){return this.fetch(e,Object.assign({method:"DELETE"},t))}async put(e,t,r={}){return this.fetch(e,Object.assign({method:"PUT",body:JSON.stringify(t)},r))}head(e,t={}){return this.fetch(e,Object.assign({method:"HEAD"},t))}getRequestInit(e={}){let t=new Headers(e.headers);return e.method||(e.method=e.body?"POST":"GET"),t.set("Content-Type","application/json"),e.headers=t,e}extractDebugHeaders(e={}){let t={};return"string"!=typeof(null==e?void 0:e.forEach)&&e.forEach&&(null==e||e.forEach((e,r)=>{t[r]=e})),t}async parseResponse(e,t){let r=e.headers.get("Content-Type")||"";try{if(r.includes("application/json"))return await e.json();return await e.text()}catch(e){t("Response parsing error: %o",e);return}}createError(e,t){let r=Error(`HTTP ${e.status}${e.statusText?` ${e.statusText}`:""}`);return{name:r.name,message:r.message,stack:r.stack,response:{status:e.status,statusText:e.statusText,headers:this.extractDebugHeaders(e.headers),data:t}}}}t.NativeDataFetcher=s},84667:(e,t,r)=>{"use strict";r.d(t,{k:()=>y});var n=r(4902),i=r(63965),o=r(68922),a=r(80593),s=r(45813),u=r(15072),l=r(48131),c=r(99853),d=r(17070),f=r(19221),p=r(36938),h=r(28347),m=r(33408),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.LV)(o.ct,{max:a.v["cache.fragmentQueryDocuments"]||1e3,cache:c.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,m.cc)(e,"canonizeResults","cache.readQuery"),(0,m.lz)("canonizeResults",function(){return r.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,r=this,i=e.fragment,o=e.fragmentName,a=e.from,c=e.optimistic,d=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),m=this.getFragmentDoc(i,o),y=void 0===a||"string"==typeof a?a:this.identify(a),v=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=o||(0,s.E4)(i).name.value;y||!1===globalThis.__DEV__||p.V1.warn(1,g)}var b=(0,n.Cl)((0,n.Cl)({},d),{returnPartialData:!0,id:y,query:m,optimistic:void 0===c||c});return new u.c(function(a){return r.watch((0,n.Cl)((0,n.Cl)({},b),{immediate:!0,callback:function(s){var u=v?(0,h.z)(s.result,i,r,o):s.result;if(!(t&&(0,f.a)(m,{data:t.result},{data:u},e.variables))){var c={data:u,complete:!!s.complete};s.missing&&(c.missing=(0,l.IM)(s.missing.map(function(e){return e.missing}))),t=(0,n.Cl)((0,n.Cl)({},s),{result:u}),a.next(c)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,m.cc)(e,"canonizeResults","cache.readFragment"),(0,m.lz)("canonizeResults",function(){return r.read((0,n.Cl)((0,n.Cl)({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,m.cc)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var i=(0,m.lz)("canonizeResults",function(){return r.readQuery(e)}),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,m.cc)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var i=(0,m.lz)("canonizeResults",function(){return r.readFragment(e)}),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=d.tQ)},84750:(e,t,r)=>{"use strict";r.d(t,{$O:()=>f,$r:()=>u,$u:()=>p,gn:()=>n,mv:()=>d,sI:()=>a});var n,i=r(47804),o=r(27164);!function(e){e.READY="ready",e.RENDERED="rendered"}(n||(n={}));let a=(e,t)=>{if(!window)return;let r=r=>l(r,e,t);return window.addEventListener("message",r),()=>{window.removeEventListener("message",r)}},s=e=>["*"].some(t=>t===e.origin||RegExp("^"+t.replace(".","\\.").replace(/\*/g,".*")+"$").test(e.origin)),u=(e,t)=>
130!!e.origin&&!!e.data&&e.data.name===t||(s(e)||console.debug("Component Library: event skipped - invalid origin: message %s from origin %s",e.data.name,e.origin),!1),l=(e,t,r)=>{var n;let i=e.data;if(!e.origin||!i||"component:update"!==i.name){s(e)||console.debug("Component Library: event skipped: message %s from origin %s",i.name,e.origin);return}if(!(null==(n=i.details)?void 0:n.uid))return void console.debug("Received component:update event without uid, aborting event handler...");let o=e=>{var t,r;if((null==(t=e.uid)?void 0:t.toLowerCase())===(null==(r=i.details)?void 0:r.uid.toLowerCase()))return e;if(e.placeholders)for(let t of Object.keys(e.placeholders))for(let r of e.placeholders[t]){let e=o(r);if(e)return e}return null},a=o(t);return a?(console.debug("Found component with uid %s to update. Update fields: %o. Update params: %o.",i.details.uid,i.details.fields,i.details.params),c(a,i.details.fields,i.details.params),r&&r(t)):console.debug("Rendering with uid %s not found",i.details.uid),t},c=(e,t,r)=>{t&&(e.fields=Object.assign(Object.assign({},e.fields),t)),r&&(e.params=Object.assign(Object.assign({},e.params),r))};function d(e,t,r=!1){return{name:"component:status",message:{status:e,uid:t,isRenderingServerComponent:r}}}function f(e=i.Xq){return`${(0,o.l)(e)}/v1/files/designlibrary/lib/rh-lib-script.js`}let p=e=>{if("undefined"==typeof window)return;let t=window.parent&&window.parent!==window?window.parent:window;try{console.log("Component Library: sending event",e.name,e),t.postMessage(e,"*")}catch(t){console.error("Component Library: postMessage failed",t,e)}}},84918:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.14.1"},85107:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;let o=r(85917),a=i(r(14232));t.File=e=>{var{field:t,children:r}=e,i=n(e,["field","children"]);if((0,o.isFieldValueEmpty)(t))return null;let s=t.src?t:t.value;if(!s)return null;let u=r?null:s.title||s.displayName,l={href:s.src};return a.default.createElement("a",Object.assign(Object.assign({},l),i),u,r)},t.File.displayName="File"},85461:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>u,jE:()=>s});var n=r(14232);let i=n.createContext(void 0),o=n.createContext(!1);function a(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i)}let s=({context:e}={})=>{let t=n.useContext(a(e,n.useContext(o)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},u=({client:e,children:t,context:r,contextSharing:i=!1})=>{n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let s=a(r,i);return n.createElement(o.Provider,{value:!r&&i},n.createElement(s.Provider,{value:e},t))}},85512:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchBYOCComponentServerProps=t.fetchFEaaSComponentServerProps=t.BYOCServerWrapper=t.FEaaSServerWrapper=t.BYOC_WRAPPER_RENDERING_NAME=t.FEAAS_WRAPPER_RENDERING_NAME=t.BYOC_COMPONENT_RENDERING_NAME=t.FEAAS_COMPONENT_RENDERING_NAME=t.BYOCComponent=t.BYOCWrapper=t.FEaaSComponent=t.FEaaSWrapper=void 0;var n=r(70543);Object.defineProperty(t,"FEaaSWrapper",{enumerable:!0,get:function(){return n.FEaaSWrapper}}),Object.defineProperty(t,"FEaaSComponent",{enumerable:!0,get:function(){return n.FEaaSComponent}});var i=r(24822);Object.defineProperty(t,"BYOCWrapper",{enumerable:!0,get:function(){return i.BYOCWrapper}}),Object.defineProperty(t,"BYOCComponent",{enumerable:!0,get:function(){return i.BYOCComponent}});var o=r(32022);Object.defineProperty(t,"FEAAS_COMPONENT_RENDERING_NAME",{enumerable:!0,get:function(){return o.FEAAS_COMPONENT_RENDERING_NAME}}),Object.defineProperty(t,"BYOC_COMPONENT_RENDERING_NAME",{enumerable:!0,get:function(){return o.BYOC_COMPONENT_RENDERING_NAME}}),Object.defineProperty(t,"FEAAS_WRAPPER_RENDERING_NAME",{enumerable:!0,get:function(){return o.FEAAS_WRAPPER_RENDERING_NAME}}),Object.defineProperty(t,"BYOC_WRAPPER_RENDERING_NAME",{enumerable:!0,get:function(){return o.BYOC_WRAPPER_RENDERING_NAME}});var a=r(82228);Object.defineProperty(t,"FEaaSServerWrapper",{enumerable:!0,get:function(){return a.FEaaSServerWrapper}});var s=r(90407);Object.defineProperty(t,"BYOCServerWrapper",{enumerable:!0,get:function(){return s.BYOCServerWrapper}});var u=r(61800);Object.defineProperty(t,"fetchFEaaSComponentServerProps",{enumerable:!0,get:function(){return u.fetchFEaaSComponentServerProps}}),Object.defineProperty(t,"fetchBYOCComponentServerProps",{enumerable:!0,get:function(){return u.fetchBYOCComponentServerProps}})},85917:(e,t,r)=>{"use strict";
130Object.defineProperty(t,"__esModule",{value:!0}),t.getDesignLibraryStylesheetLinks=t.GRAPHQL_LAYOUT_QUERY_NAME=t.LayoutService=t.getContentStylesheetLink=t.EMPTY_DATE_FIELD_VALUE=t.getDynamicPlaceholderPattern=t.isDynamicPlaceholder=t.isFieldValueEmpty=t.getChildPlaceholder=t.getFieldValue=t.EDITING_COMPONENT_ID=t.EDITING_COMPONENT_PLACEHOLDER=t.RenderingType=t.EditMode=t.LayoutServicePageState=void 0;var n=r(6677);Object.defineProperty(t,"LayoutServicePageState",{enumerable:!0,get:function(){return n.LayoutServicePageState}}),Object.defineProperty(t,"EditMode",{enumerable:!0,get:function(){return n.EditMode}}),Object.defineProperty(t,"RenderingType",{enumerable:!0,get:function(){return n.RenderingType}}),Object.defineProperty(t,"EDITING_COMPONENT_PLACEHOLDER",{enumerable:!0,get:function(){return n.EDITING_COMPONENT_PLACEHOLDER}}),Object.defineProperty(t,"EDITING_COMPONENT_ID",{enumerable:!0,get:function(){return n.EDITING_COMPONENT_ID}});var i=r(67184);Object.defineProperty(t,"getFieldValue",{enumerable:!0,get:function(){return i.getFieldValue}}),Object.defineProperty(t,"getChildPlaceholder",{enumerable:!0,get:function(){return i.getChildPlaceholder}}),Object.defineProperty(t,"isFieldValueEmpty",{enumerable:!0,get:function(){return i.isFieldValueEmpty}}),Object.defineProperty(t,"isDynamicPlaceholder",{enumerable:!0,get:function(){return i.isDynamicPlaceholder}}),Object.defineProperty(t,"getDynamicPlaceholderPattern",{enumerable:!0,get:function(){return i.getDynamicPlaceholderPattern}}),Object.defineProperty(t,"EMPTY_DATE_FIELD_VALUE",{enumerable:!0,get:function(){return i.EMPTY_DATE_FIELD_VALUE}});var o=r(62697);Object.defineProperty(t,"getContentStylesheetLink",{enumerable:!0,get:function(){return o.getContentStylesheetLink}});var a=r(9055);Object.defineProperty(t,"LayoutService",{enumerable:!0,get:function(){return a.LayoutService}}),Object.defineProperty(t,"GRAPHQL_LAYOUT_QUERY_NAME",{enumerable:!0,get:function(){return a.GRAPHQL_LAYOUT_QUERY_NAME}});var s=r(13941);Object.defineProperty(t,"getDesignLibraryStylesheetLinks",{enumerable:!0,get:function(){return s.getDesignLibraryStylesheetLinks}})},86056:(e,t,r)=>{"use strict";r.d(t,{B:()=>i,q:()=>o});var n=r(60039);let i=e=>{if(e.class){if(e.className){let t=e.className;t+=` ${e.class}`,e.className=t}else e.className=e.class;delete e.class}},o=e=>{let t={};return Object.entries(e).reduce((t,[r])=>(t[r]=(0,n.GR)(e,r),t),t)}},86158:(e,t,r)=>{"use strict";r.d(t,{Ll:()=>a,aZ:()=>i,ou:()=>o});var n=r(53459),i=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();(0,n.A)(i);var o=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&"string"==typeof e.kind}(0,n.A)(o)},86365:(e,t,r)=>{"use strict";r.d(t,{tt:()=>g,nV:()=>m,lo:()=>v,hl:()=>y});var n=r(14232),i=r(9863);let o="Default";var a=r(60039),s=r(47804);let u={backgroundSize:"3px 3px",display:"flex",justifyContent:"center",alignItems:"center",padding:"30px",color:"#aaa"},l={backgroundImage:"linear-gradient(45deg, #ffffff 25%, #dcdcdc 25%, #dcdcdc 50%, #ffffff 50%, #ffffff 75%, #dcdcdc 75%, #dcdcdc 100%)"},c=()=>{let e=Object.assign(Object.assign({},u),l);return n.createElement("div",{style:e},"The component is hidden")},d="BYOCWrapper";var f=r(72914),p=r(23041),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let m=(e,t,r)=>{let n,i=t.slice();return((null==e?void 0:e.placeholders)&&Object.entries(e.placeholders).forEach(([t,n])=>{let o=(0,a.Np)(t)?(0,a.jz)(t):null;o&&o.test(i)&&(r?i=t:(e.placeholders[i]=n,delete e.placeholders[t]))}),n=e&&e.placeholders&&Object.keys(e.placeholders).length>0?e.placeholders[i]:null)?n:(console.warn(`Placeholder '${i}' was not found in the current rendering data`,JSON.stringify(e,null,2)),[])},y=e=>n.createElement("div",{className:"sc-jss-empty-placeholder"},e),v=(e,t,r)=>{let{fields:n,params:i}=e,o=h(e,["fields","params"]);delete o.missingComponentComponent,delete o.hiddenRenderingComponent,delete o.name;let a=function(e,t){return{fields:Object.assign(Object.assign({},e.fields||{}),t.fields||{}),params:Object.assign(Object.assign({},Object.assign(Object.assign({},e.params||{}),t.params||{})),(e=>{if(!e.params)return{styles:""};let{GridParameters:t,Styles:r}=e.params;return(t||r)&&{styles:`${t||""} ${r||""}`}})(t)),rendering:t}}(e,t);return Object.assign(Object.assign(Object.assign({key:r},o),a),{rendering:t})},g=(e,t,r,a,u)=>{var l,h;let m=r=>{console.error(`Placeholder ${t} contains unknown component ${e.componentName}${r?` (${r})`:""}. Ensure that a React component exists for it, and that it is registered in your component-map file.`)};if(e.componentName===s.YR)return{component:null!=a?a:c,isEmpty:!0,componentType:"universal"};
130if(!e.componentName)return{component:()=>n.createElement(n.Fragment,null),isEmpty:!0,componentType:"universal"};let y=null;if(r&&0!==r.size?y=r.get(e.componentName):console.warn(`No components were available in component map to service request for component ${e}`),!y){if("FEaaSComponent"===e.componentName)return{component:f.a,isEmpty:!1,componentType:"universal"};if("FEaaSWrapper"===e.componentName)return{component:f.M,isEmpty:!1,componentType:"universal"};if("BYOCComponent"===e.componentName)return{component:p.Xf,isEmpty:!1,componentType:"universal"};else if(e.componentName===d)return{component:p.dW,dynamic:!0,componentType:"universal",isEmpty:!1};return m(),{component:null!=u?u:i.K,isEmpty:!0,componentType:"universal"}}let v=null==(l=e.params)?void 0:l.FieldNames,g=v&&v!==o?y[v]:y.default||y.Default||y;if(!g)return m(v!==o?v:void 0),{component:null!=u?u:i.K,isEmpty:!0,componentType:"universal"};let b=!!(null==(h=g.render)?void 0:h.preload)||e.componentName===d;return{component:g,dynamic:b,componentType:y.componentType,isEmpty:!1}}},86475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateV4UUID=void 0,t.generateV4UUID=function(){return globalThis.crypto.randomUUID()}},86761:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e){this.timeout=e,this.timeoutId=void 0}get start(){return new Promise((e,t)=>{this.timeoutId=setTimeout(()=>{let e=Error(`Request timed out, timeout of ${this.timeout}ms is exceeded`);e.name="AbortError",t(e)},this.timeout)})}clear(){this.timeoutId&&clearTimeout(this.timeoutId)}}t.default=r},86813:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(29042);let i=(0,n.n)(function(){return globalThis})||(0,n.n)(function(){return window})||(0,n.n)(function(){return self})||(0,n.n)(function(){return global})||(0,n.n)(function(){return n.n.constructor("return this")()})},87247:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,d=r?i-1:0,f=r?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=l}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=5960464477539062e-23*(23===i),p=n?0:o-1,h=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+d>=1?t+=f/u:t+=f*Math.pow(2,1-d),t*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+p]=255&a,p+=h,a/=256,l-=8);e[r+p-h]|=128*m}},87273:(e,t,r)=>{"use strict";r.d(t,{_:()=>d});var n=r(96503),i=r(14232),o=r(86056),a=r(98741),s=r(63561),u=r(53282),l=r(60039),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let d=(0,a.O)((0,s.N)(e=>{var{editable:t=!0,imageParams:r,field:a,mediaUrlPrefix:s}=e,u=c(e,["editable","imageParams","field","mediaUrlPrefix"]);if((0,l.JE)(a))return null;let d=a.src?a:a.value;if(!d)return null;d.metadata&&delete d.metadata;let f=((e,t,r)=>{var{src:i,srcSet:a}=e,s=c(e,["src","srcSet"]);if(!i)return null;(0,o.B)(s);let u=Object.assign({},s),l=n.k6(i,t,r);return a&&(u.srcSet=n.tS(l,a,t,r)),u.src=l,u})(Object.assign(Object.assign({},d),u),r,s);return f?i.createElement("img",Object.assign({},f)):null},{defaultEmptyFieldEditingComponent:u.n}));d.displayName="Image"},87494:(e,t,r)=>{"use strict";r.d(t,{HL:()=>O});var n=r(23913),i=r(50316),o=r(14232),a=r(70454),s=r(20722),u=r(40052);let l=({rfkId:e,entity:t,children:r})=>{let n=(0,o.useMemo)(()=>Math.random().toString(36).substring(2,9),[]),i=(0,o.useCallback)(r=>a.A.dispatch({...r,payload:{rfkId:e,instanceId:n,entity:t,...r.payload}}),[e,t,n]),u=(0,o.useMemo)(()=>({rfkId:e,instanceId:n,dispatch:i,entity:t}),[e,i,t,n]);return(0,o.createElement)(s.$.Provider,{value:u},r)},c=e=>{let{children:t}=e,r=(0,u.A)();return r?.rfkId===e.rfkId?(0,o.createElement)(o.Fragment,{},t||null):(0,o.createElement)(l,e,t)};var d=r(23399),f=r(7060),p=r(79738),h=r(49218);let m={visibility:{threshold:.2,triggerOnce:!0}};var y=r(45495);let v=(e,t,r)=>{e({type:t,payload:r})},g=({children:e})=>{let{rfkId:t,entity:r,dispatch:n,instanceId:i}=(0,u.A)(),a=(0,o.useRef)(null);return a.current||(a.current=(({dispatch:e,entity:t,instanceId:r,rfkId:n})=>{let i={},o={},a=!1,s=(0,f.eo)(n);s.setEntity(t);let u=new y.XK(r,s),l=(0,d.D)(m,p.A.get(n,t)?.options);return{actions:((e,t)=>{let{actionProps:r={}}=t;return Object.keys(r).reduce((t,n)=>({...t,[n]:v.bind(null,e,r[n])}),{})})(e,l),options:l,query:u,state:i,config:o,updateState:o=>{let a=Object.fromEntries(Object.entries(o).filter(([e,t])=>i[e]!==t));Object.assign(i,o),e({type:h.A.WIDGET_STATE_CHANGED,payload:{rfkId:n,entity:t,instanceId:r,state:a}})},initialize:e=>{a||((e=>{Object.assign(i,"function"==typeof e?e():e)})(e.state),(e=>{((e,t,r={})=>{let{options:{propStateMapping:n=null,props:{initial:i={}}={}}={}}=p.A.get(e)||{};
130n&&((e,t,r)=>{Object.keys(r).forEach(n=>{"function"==typeof e[n]&&e[n](t,r)})})(n,t,(0,d.D)(i,r))})(u.getRequest().getRfkId(),u.getRequest(),i),e&&e(u),u.getRequest().takeSnapshot()})(e.query),Object.assign(o,e.config),a=!0)},isInitialized:()=>a}})({dispatch:n,entity:r,instanceId:i,rfkId:t})),(0,o.useEffect)(()=>(n({type:h.A.LOAD,payload:{rfkId:t,entity:r,instanceId:i}}),()=>{n({type:h.A.UNLOAD,payload:{rfkId:t,entity:r,instanceId:i}})}),[n,t,r,i]),(0,o.createElement)(s.A.Provider,{value:a.current},e)};var b=r(7820),E=r(3773);let _=(e,t,r)=>((...e)=>(t,r)=>e.reduceRight((e,t)=>(0,o.createElement)(t,r,e),t))(c,g)((0,o.createElement)(r,e),t),O=(e,t,r)=>(n.Vy.debug("widget",e&&e.name,t),((e,t,r,n)=>((e,t,r)=>{if(!0===e.__wrapped)throw Error(`Seems you are trying to wrap an already wrapped Widget component (entity: ${t})`);return r.__wrapped=!0,r})(t,r,i=>{let{rfkId:a}=i;return(0,o.useMemo)(()=>{p.A.setType(a,e)},[a]),n(i,{rfkId:a,entity:r},t)}))(t,e,r,_));O(b.A,i.b.BANNER,"content"),O(b.A,i.b.HTML_BLOCK,"content"),O(E.A,i.b.SEO,"content")},87711:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e*=1))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},87776:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Accordion:()=>l,AccordionTrigger:()=>f,useAccordion:()=>p});var n,i=r(37876),o=r(14232),a=r(15039),s=r.n(a);let u=(0,o.createContext)({}),l=({className:e,children:t,isOpen:r=!1,contentClassName:n,contentId:a,onTriggerClick:l,triggerId:c})=>{let[d,...f]=o.Children.toArray(t);return(0,i.jsxs)("div",{className:s()("accordion",e,{open:r}),children:[(0,i.jsx)(u.Provider,{value:{contentId:a,isOpen:r,onTriggerClick:l,triggerId:c},children:d}),(0,i.jsx)("div",{id:a,role:"region","aria-labelledby":c,className:"accordion-collapse",children:(0,i.jsx)("div",{className:n,children:f})})]})};function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var d=function(e){return o.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},e),n||(n=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m16.32 11-4.23 4.243L7.857 11"})))};let f=({buttonClassName:e,children:t,className:r,tag:n="h3",iconEnd:a=(0,i.jsx)(d,{className:"accordion-icon"})})=>{let{isOpen:l,contentId:c,triggerId:f,onTriggerClick:p}=(0,o.useContext)(u);return(0,o.createElement)(n,{className:s()("accordion-header",r)},(0,i.jsxs)("button",{"aria-controls":c,"aria-expanded":l,className:s()("accordion-button",e),type:"button",id:f,onClick:p,children:[t,a]}))},p=({defaultIsExpanded:e=!1}={})=>{let[t,r]=(0,o.useState)(e),n=(0,o.useId)(),i=(0,o.useId)(),a=()=>{r(e=>!e)};return{contentId:i,triggerId:n,isOpen:t,setIsOpen:r,toggle:a,onTriggerClick:()=>{a()}}}},87833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.event=void 0;let n=r(92849),i=r(31356),o=r(89814),a=r(23906),s=r(55325);t.event=async function(e){await (0,o.awaitInit)();let t=(0,n.getCloudSDKSettingsBrowser)(),r=(0,i.getCookieValueClientSide)(t.cookieSettings.name.browserId);return new s.CustomEvent({eventData:e,id:r,sendEvent:a.sendEvent,settings:t}).send()}},88046:(e,t,r)=>{var n=r(39824),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},88082:(e,t,r)=>{"use strict";r.d(t,{C:()=>o,V:()=>i});var n=r(37565);function i(e){return o(e.source,(0,n.g)(e.source,e.start))}function o(e,t){var r=e.locationOffset.column-1,n=s(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,u=t.line+o,l=1===t.line?r:0,c=t.column+l,d="".concat(e.name,":").concat(u,":").concat(c,"\n"),f=n.split(/\r\n|[\n\r]/g),p=f[i];if(p.length>120){for(var h=Math.floor(c/80),m=c%80,y=[],v=0;v<p.length;v+=80)y.push(p.slice(v,v+80));return d+a([["".concat(u),y[0]]].concat(y.slice(1,h+1).map(function(e){return["",e]}),[[" ",s(m-1)+"^"],["",y[h+1]]]))}return d+a([["".concat(u-1),f[i-1]],["".concat(u),p],["",s(c-1)+"^"],["".concat(u+1),f[i+1]]])}function a(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}
130),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t,n=e[0],i=e[1];return s(r-(t=n).length)+t+(i?" | "+i:" |")}).join("\n")}function s(e){return Array(e+1).join(" ")}},88352:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});let n=(e,t)=>Array.from({length:t-e+1},(t,r)=>e+r);function i(e,t){let{currentPage:r,totalPages:i}=e,{boundaryCount:o=1,siblingCount:a=1}=t,s=n(1,Math.min(o,i)),u=n(Math.max(i-o+1,o+1),i),l=Math.max(Math.min(r-a,i-o-2*a-1),o+2),c=Math.min(Math.max(r+a,o+2*a+2),u.length>0?u[0]-2:i-1);return[...s,...l>o+2?["start-ellipsis"]:o+1<i-o?[o+1]:[],...n(l,c),...c<i-o-1?["end-ellipsis"]:i-o>o?[i-o]:[],...u].map(e=>"number"==typeof e?{type:"page",page:e}:{type:e})}},88652:(e,t,r)=>{"use strict";let n;r.d(t,{UC:()=>ne,pd:()=>r7,q7:()=>na,tN:()=>no,nB:()=>nt,bL:()=>r9,ZL:()=>ni,CJ:()=>nr,T3:()=>nn});var i,o,a,s=r(37876),u=r(14232),l=r.t(u,2);function c(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}"undefined"!=typeof window&&window.document&&window.document.createElement;var d=r(10714),f=Symbol.for("react.lazy"),p=l[" use ".trim().toString()];function h(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function m(e){let t=function(e){let t=u.forwardRef((e,t)=>{let{children:r,...n}=e;if(h(r)&&"function"==typeof p&&(r=p(r._payload)),u.isValidElement(r)){var i;let e,o,a=(i=r,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==u.Fragment&&(s.ref=t?(0,d.t)(t,a):a),u.cloneElement(r,s)}return u.Children.count(r)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=u.forwardRef((e,r)=>{let{children:n,...i}=e;h(n)&&"function"==typeof p&&(n=p(n._payload));let o=u.Children.toArray(n),a=o.find(v);if(a){let e=a.props.children,n=o.map(t=>t!==a?t:u.Children.count(e)>1?u.Children.only(null):u.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...i,ref:r,children:u.isValidElement(e)?u.cloneElement(e,void 0,n):null})}return(0,s.jsx)(t,{...i,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var y=Symbol("radix.slottable");function v(e){return u.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===y}var g=new WeakMap;function b(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=E(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}(e,t);return -1===r?void 0:e[r]}function E(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],g.set(this,!0)}set(e,t){return g.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,a=E(e),s=a>=0?a:o+a,u=s<0||s>=o?-1:s;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,r),this;let l=this.size+ +!i;a<0&&s++;let c=[...this.#e],d=!1;for(let e=s;e<l;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=b(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=b(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return b(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
130n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}});var _=r(91844),O=r(66326);function w(e){let t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...e)=>t.current?.(...e),[])}var S="dismissableLayer.update",C=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T=u.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:f,...p}=e,h=u.useContext(C),[m,y]=u.useState(null),v=m?.ownerDocument??globalThis?.document,[,g]=u.useState({}),b=(0,d.s)(t,e=>y(e)),E=Array.from(h.layers),[_]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),T=E.indexOf(_),A=m?E.indexOf(m):-1,I=h.layersWithOutsidePointerEventsDisabled.size>0,D=A>=T,N=function(e,t=globalThis?.document){let r=w(e),n=u.useRef(!1),i=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){P("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...h.branches].some(e=>e.contains(t));D&&!r&&(i?.(e),l?.(e),e.defaultPrevented||f?.())},v),x=function(e,t=globalThis?.document){let r=w(e),n=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!n.current&&P("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...h.branches].some(e=>e.contains(t))&&(a?.(e),l?.(e),e.defaultPrevented||f?.())},v);return!function(e,t=globalThis?.document){let r=w(e);u.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{A===h.layers.size-1&&(n?.(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))},v),u.useEffect(()=>{if(m)return r&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(o=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(m)),h.layers.add(m),R(),()=>{r&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=o)}},[m,v,r,h]),u.useEffect(()=>()=>{m&&(h.layers.delete(m),h.layersWithOutsidePointerEventsDisabled.delete(m),R())},[m,h]),u.useEffect(()=>{let e=()=>g({});return document.addEventListener(S,e),()=>document.removeEventListener(S,e)},[]),(0,s.jsx)(O.sG.div,{...p,ref:b,style:{pointerEvents:I?D?"auto":"none":void 0,...e.style},onFocusCapture:c(e.onFocusCapture,x.onFocusCapture),onBlurCapture:c(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:c(e.onPointerDownCapture,N.onPointerDownCapture)})});function R(){let e=new CustomEvent(S);document.dispatchEvent(e)}function P(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,O.hO)(i,o):i.dispatchEvent(o)}T.displayName="DismissableLayer",u.forwardRef((e,t)=>{let r=u.useContext(C),n=u.useRef(null),i=(0,d.s)(t,n);return u.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,s.jsx)(O.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var A=0;function I(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
130style.position="fixed",e.style.pointerEvents="none",e}var D="focusScope.autoFocusOnMount",N="focusScope.autoFocusOnUnmount",x={bubbles:!1,cancelable:!0},j=u.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[l,c]=u.useState(null),f=w(i),p=w(o),h=u.useRef(null),m=(0,d.s)(t,e=>c(e)),y=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let e=function(e){if(y.paused||!l)return;let t=e.target;l.contains(t)?h.current=t:L(h.current,{select:!0})},t=function(e){if(y.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||L(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&L(l)});return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,l,y.paused]),u.useEffect(()=>{if(l){F.add(y);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(D,x);l.addEventListener(D,f),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(L(n,{select:t}),document.activeElement!==r)return}(k(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&L(l))}return()=>{l.removeEventListener(D,f),setTimeout(()=>{let t=new CustomEvent(N,x);l.addEventListener(N,p),l.dispatchEvent(t),t.defaultPrevented||L(e??document.body,{select:!0}),l.removeEventListener(N,p),F.remove(y)},0)}}},[l,f,p,y]);let v=u.useCallback(e=>{if(!r&&!n||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,o]=function(e){let t=k(e);return[M(t,e),M(t.reverse(),e)]}(t);n&&o?e.shiftKey||i!==o?e.shiftKey&&i===n&&(e.preventDefault(),r&&L(o,{select:!0})):(e.preventDefault(),r&&L(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,y.paused]);return(0,s.jsx)(O.sG.div,{tabIndex:-1,...a,ref:m,onKeyDown:v})});function k(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function M(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function L(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}j.displayName="FocusScope";var F=function(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=V(e,t)).unshift(t)},remove(t){e=V(e,t),e[0]?.resume()}}}();function V(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var U=r(81285),q=l[" useId ".trim().toString()]||(()=>void 0),B=0;let G=["top","right","bottom","left"],Q=Math.min,z=Math.max,$=Math.round,H=Math.floor,K=e=>({x:e,y:e}),Y={left:"right",right:"left",bottom:"top",top:"bottom"};function W(e,t){return"function"==typeof e?e(t):e}function J(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function Z(e){return"x"===e?"y":"x"}function ee(e){return"y"===e?"height":"width"}function et(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function er(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let en=["left","right"],ei=["right","left"],eo=["top","bottom"],ea=["bottom","top"];function es(e){let t=J(e);return Y[t]+e.slice(t.length)}function eu(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function el(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function ec(e,t,r){let n,{reference:i,floating:o}=e,a=et(t),s=Z(et(t)),u=ee(s),l=J(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,p=i[u]/2-o[u]/2;switch(l){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:f};break;case"left":n={x:i.x-o.width,y:f};break;default:n={x:i.x,y:i.y}}switch(X(t)){case"start":n[s]-=p*(r&&c?-1:1);break;case"end":n[s]+=p*(r&&c?-1:1)}return n}async function ed(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=W(t,e),h=eu(p),m=s[f?"floating"===d?"reference":"floating":d],y=el(await o.getClippingRect
130({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),v="floating"===d?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,g=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await (null==o.isElement?void 0:o.isElement(g))&&await (null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},E=el(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:g,strategy:u}):v);return{top:(y.top-E.top+h.top)/b.y,bottom:(E.bottom-y.bottom+h.bottom)/b.y,left:(y.left-E.left+h.left)/b.x,right:(E.right-y.right+h.right)/b.x}}let ef=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=a.detectOverflow?a:{...a,detectOverflow:ed},u=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=ec(l,n,u),f=n,p=0,h={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:y,fn:v}=m,{x:g,y:b,data:E,reset:_}=await v({x:c,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:h,rects:l,platform:s,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=b?b:d,h[y]={...h[y],...E},_&&p<50&&(p++,"object"==typeof _&&(_.placement&&(f=_.placement),_.rects&&(l=!0===_.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):_.rects),{x:c,y:d}=ec(l,f,u)),r=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};function ep(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eh(e){return G.some(t=>e[t]>=0)}let em=new Set(["left","top"]);async function ey(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=J(r),s=X(r),u="y"===et(r),l=em.has(a)?-1:1,c=o&&u?-1:1,d=W(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),u?{x:p*c,y:f*l}:{x:f*l,y:p*c}}function ev(){return"undefined"!=typeof window}function eg(e){return e_(e)?(e.nodeName||"").toLowerCase():"#document"}function eb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eE(e){var t;return null==(t=(e_(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function e_(e){return!!ev()&&(e instanceof Node||e instanceof eb(e).Node)}function eO(e){return!!ev()&&(e instanceof Element||e instanceof eb(e).Element)}function ew(e){return!!ev()&&(e instanceof HTMLElement||e instanceof eb(e).HTMLElement)}function eS(e){return!!ev()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eb(e).ShadowRoot)}function eC(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ex(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function eT(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let eR=/transform|translate|scale|rotate|perspective|filter/,eP=/paint|layout|strict|content/,eA=e=>!!e&&"none"!==e;function eI(e){let t=eO(e)?ex(e):e;return eA(t.transform)||eA(t.translate)||eA(t.scale)||eA(t.rotate)||eA(t.perspective)||!eD()&&(eA(t.backdropFilter)||eA(t.filter))||eR.test(t.willChange||"")||eP.test(t.contain||"")}function eD(){return null==n&&(n="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function eN(e){return/^(html|body|#document)$/.test(eg(e))}function ex(e){return eb(e).getComputedStyle(e)}function ej(e){return eO(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ek(e){if("html"===eg(e))return e;let t=e.assignedSlot||e.parentNode||eS(e)&&e.host||eE(e);return eS(t)?t.host:t}function eM(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=ek(t);return eN(r)?t.ownerDocument?t.ownerDocument.body:t.body:ew(r)&&e
130C(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=eb(i);if(!o)return t.concat(i,eM(i,[],r));{let e=eL(a);return t.concat(a,a.visualViewport||[],eC(i)?i:[],e&&r?eM(e):[])}}function eL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eF(e){let t=ex(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=ew(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=$(r)!==o||$(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function eV(e){return eO(e)?e:e.contextElement}function eU(e){let t=eV(e);if(!ew(t))return K(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=eF(t),a=(o?$(r.width):r.width)/n,s=(o?$(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let eq=K(0);function eB(e){let t=eb(e);return eD()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eq}function eG(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=eV(e),s=K(1);t&&(n?eO(n)&&(s=eU(n)):s=eU(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===eb(a))&&i)?eB(a):K(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){let e=eb(a),t=n&&eO(n)?eb(n):n,r=e,i=eL(r);for(;i&&n&&t!==r;){let e=eU(i),t=i.getBoundingClientRect(),n=ex(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,f*=e.y,l+=o,c+=a,i=eL(r=eb(i))}}return el({width:d,height:f,x:l,y:c})}function eQ(e,t){let r=ej(e).scrollLeft;return t?t.left+r:eG(eE(e)).left+r}function ez(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-eQ(e,r),y:r.top+t.scrollTop}}function e$(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=eb(e),n=eE(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,u=0;if(i){o=i.width,a=i.height;let e=eD();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,u=i.offsetTop)}let l=eQ(n);if(l<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else l<=25&&(o+=l);return{width:o,height:a,x:s,y:u}}(e,r);else if("document"===t)n=function(e){let t=eE(e),r=ej(e),n=e.ownerDocument.body,i=z(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=z(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+eQ(e),s=-r.scrollTop;return"rtl"===ex(n).direction&&(a+=z(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}(eE(e));else if(eO(t))n=function(e,t){let r=eG(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=ew(e)?eU(e):K(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y;return{width:a,height:s,x:i*o.x,y:n*o.y}}(t,r);else{let r=eB(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return el(n)}function eH(e){return"static"===ex(e).position}function eK(e,t){if(!ew(e)||"fixed"===ex(e).position)return null;if(t)return t(e);let r=e.offsetParent;return eE(e)===r&&(r=r.ownerDocument.body),r}function eY(e,t){var r;let n=eb(e);if(eT(e))return n;if(!ew(e)){let t=ek(e);for(;t&&!eN(t);){if(eO(t)&&!eH(t))return t;t=ek(t)}return n}let i=eK(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(eg(r)))&&eH(i);)i=eK(i,t);return i&&eN(i)&&eH(i)&&!eI(i)?n:i||function(e){let t=ek(e);for(;ew(t)&&!eN(t);){if(eI(t))return t;if(eT(t))break;t=ek(t)}return null}(e)||n}let eW=async function(e){let t=this.getOffsetParent||eY,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=ew(t),i=eE(t),o="fixed"===r,a=eG(e,!0,o,t),s={scrollLeft:0,scrollTop:0},u=K(0);if(n||!n&&!o)if(("body"!==eg(t)||eC(i))&&(s=ej(t)),n){let e=eG(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=eQ(i));o&&!n&&i&&(u.x=eQ(i));let l=!i||n||o?K(0):ez(i,s);return{x:a.left+s.scrollLeft-u.x-l.x,y:a.top+s.scrollTop-u.y-l.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eJ={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,a=eE(n),s=!!t&&eT(t.floating);if(n===a||s&&o)return r;let u={scrollLeft:0,scrollTop:0},l=K(1),c=K(0),d=ew(n);
130if((d||!d&&!o)&&(("body"!==eg(n)||eC(a))&&(u=ej(n)),d)){let e=eG(n);l=eU(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let f=!a||d||o?K(0):ez(a,u);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+f.x,y:r.y*l.y-u.scrollTop*l.y+c.y+f.y}},getDocumentElement:eE,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?eT(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=eM(e,[],!1).filter(e=>eO(e)&&"body"!==eg(e)),i=null,o="fixed"===ex(e).position,a=o?ek(e):e;for(;eO(a)&&!eN(a);){let t=ex(a),r=eI(a);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||eC(a)&&!r&&function e(t,r){let n=ek(t);return!(n===r||!eO(n)||eN(n))&&("fixed"===ex(n).position||e(n,r))}(e,a)))?i=t:n=n.filter(e=>e!==a),a=ek(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=e$(t,o[0],i),s=a.top,u=a.right,l=a.bottom,c=a.left;for(let e=1;e<o.length;e++){let r=e$(t,o[e],i);s=z(r.top,s),u=Q(r.right,u),l=Q(r.bottom,l),c=z(r.left,c)}return{width:u-c,height:l-s,x:c,y:s}},getOffsetParent:eY,getElementRects:eW,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=eF(e);return{width:t,height:r}},getScale:eU,isElement:eO,isRTL:function(e){return"rtl"===ex(e).direction}};function eX(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eZ=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:c=0}=W(e,t)||{};if(null==l)return{};let d=eu(c),f={x:r,y:n},p=Z(et(i)),h=ee(p),m=await a.getDimensions(l),y="y"===p,v=y?"clientHeight":"clientWidth",g=o.reference[h]+o.reference[p]-f[p]-o.floating[h],b=f[p]-o.reference[p],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l)),_=E?E[v]:0;_&&await (null==a.isElement?void 0:a.isElement(E))||(_=s.floating[v]||o.floating[h]);let O=_/2-m[h]/2-1,w=Q(d[y?"top":"left"],O),S=Q(d[y?"bottom":"right"],O),C=_-m[h]-S,T=_/2-m[h]/2+(g/2-b/2),R=z(w,Q(T,C)),P=!u.arrow&&null!=X(i)&&T!==R&&o.reference[h]/2-(T<w?w:S)-m[h]/2<0,A=P?T<w?T-w:T-C:0;return{[p]:f[p]+A,data:{[p]:R,centerOffset:T-R-A,...P&&{alignmentOffset:A}},reset:P}}});var e0=r(98477),e1="undefined"!=typeof document?u.useLayoutEffect:function(){};function e2(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!e2(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!e2(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function e5(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e3(e,t){let r=e5(e);return Math.round(t*r)/r}function e4(e){let t=u.useRef(e);return e1(()=>{t.current=e}),t}var e8=u.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,s.jsx)(O.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e8.displayName="Arrow";var e6="Popper",[e9,e7]=(0,_.A)(e6),[te,tt]=e9(e6),tr=e=>{let{__scopePopper:t,children:r}=e,[n,i]=u.useState(null);return(0,s.jsx)(te,{scope:t,anchor:n,onAnchorChange:i,children:r})};tr.displayName=e6;var tn="PopperAnchor",ti=u.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,o=tt(tn,r),a=u.useRef(null),l=(0,d.s)(t,a),c=u.useRef(null);return u.useEffect(()=>{let e=c.current;c.current=n?.current||a.current,e!==c.current&&o.onAnchorChange(c.current)}),n?null:(0,s.jsx)(O.sG.div,{...i,ref:l})});ti.displayName=tn;var to="PopperContent",[ta,ts]=e9(to),tu=u.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:h="partial",hideWhenDetached:m=!1,updatePositionStrategy:y="optimized",onPlaced:v,...g}=e,b=tt(to,r),[E,_]=u.useState(null),S=(0,d.s)(t,e=>_(e)),[C,T]=u.useState(null),R=function(e){let[t,r]=u.useState(void 0);return(0,U.N)(()=>
130{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(C),P=R?.width??0,A=R?.height??0,I="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},D=Array.isArray(f)?f:[f],N=D.length>0,x={padding:I,boundary:D.filter(tf),altBoundary:N},{refs:j,floatingStyles:k,placement:M,isPositioned:L,middlewareData:F}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[d,f]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=u.useState(n);e2(p,n)||h(n);let[m,y]=u.useState(null),[v,g]=u.useState(null),b=u.useCallback(e=>{e!==w.current&&(w.current=e,y(e))},[]),E=u.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),_=o||m,O=a||v,w=u.useRef(null),S=u.useRef(null),C=u.useRef(d),T=null!=l,R=e4(l),P=e4(i),A=e4(c),I=u.useCallback(()=>{if(!w.current||!S.current)return;let e={placement:t,strategy:r,middleware:p};P.current&&(e.platform=P.current),((e,t,r)=>{let n=new Map,i={platform:eJ,...r},o={...i.platform,_c:n};return ef(e,t,{...i,platform:o})})(w.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==A.current};D.current&&!e2(C.current,t)&&(C.current=t,e0.flushSync(()=>{f(t)}))})},[p,t,r,P,A]);e1(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let D=u.useRef(!1);e1(()=>(D.current=!0,()=>{D.current=!1}),[]),e1(()=>{if(_&&(w.current=_),O&&(S.current=O),_&&O){if(R.current)return R.current(_,O,I);I()}},[_,O,I,R,T]);let N=u.useMemo(()=>({reference:w,floating:S,setReference:b,setFloating:E}),[b,E]),x=u.useMemo(()=>({reference:_,floating:O}),[_,O]),j=u.useMemo(()=>{let e={position:r,left:0,top:0};if(!x.floating)return e;let t=e3(x.floating,d.x),n=e3(x.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...e5(x.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,x.floating,d.x,d.y]);return u.useMemo(()=>({...d,update:I,refs:N,elements:x,floatingStyles:j}),[d,I,N,x,j])}({strategy:"fixed",placement:n+("center"!==o?"-"+o:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=eV(e),d=o||a?[...c?eM(c):[],...t?eM(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let f=c&&u?function(e,t){let r,n=null,i=eE(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),o();let l=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let h=H(d),m=H(i.clientWidth-(c+f)),y={rootMargin:-h+"px "+-m+"px "+-H(i.clientHeight-(d+p))+"px "+-H(c)+"px",threshold:z(0,Q(1,u))||1},v=!0;function g(t){let n=t[0].intersectionRatio;if(n!==u){if(!v)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||eX(l,e.getBoundingClientRect())||a(),v=!1}try{n=new IntersectionObserver(g,{...y,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(g,y)}n.observe(e)}(!0),o}(c,r):null,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),c&&!l&&h.observe(c),t&&h.observe(t));let m=l?eG(e):null;return l&&function t(){let n=eG(e);m&&!eX(m,n)&&r(),m=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===y}),elements:{reference:b.anchor},middleware:[((e,t)=>{let r=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:o,placement:a,middlewareData:s}=t,u=await ey(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:a}}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({mainAxis:i+A,alignmentAxis:a}),c&&((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=W(e,t),c={x:r,y:n},d=await o.detectOverflow(t,l),f=et(J(i)),p=Z(f),h=c[p],m=c[f];
130if(a){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=h+d[e],n=h-d[t];h=z(r,Q(h,n))}if(s){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=m+d[e],n=m-d[t];m=z(r,Q(m,n))}let y=u.fn({...t,[p]:h,[f]:m});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[p]:a,[f]:s}}}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({mainAxis:!0,crossAxis:!1,limiter:"partial"===h?((e,t)=>({fn:function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=W(e,t),c={x:r,y:n},d=et(i),f=Z(d),p=c[f],h=c[d],m=W(s,t),y="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+y.mainAxis,r=o.reference[f]+o.reference[e]-y.mainAxis;p<t?p=t:p>r&&(p=r)}if(l){var v,g;let e="y"===f?"width":"height",t=em.has(J(i)),r=o.reference[d]-o.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:y.crossAxis),n=o.reference[d]+o.reference[e]+(t?0:(null==(g=a.offset)?void 0:g[d])||0)-(t?y.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[f]:p,[d]:h}}}}(e).fn,options:[e,t]}))():void 0,...x}),c&&((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,o,a;let{placement:s,middlewareData:u,rects:l,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...b}=W(e,t);if(null!=(r=u.arrow)&&r.alignmentOffset)return{};let E=J(s),_=et(c),O=J(c)===c,w=await (null==d.isRTL?void 0:d.isRTL(f.floating)),S=m||(O||!g?[es(c)]:function(e){let t=es(e);return[er(e),t,er(t)]}(c)),C="none"!==v;!m&&C&&S.push(...function(e,t,r,n){let i=X(e),o=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?ei:en;return t?en:ei;case"left":case"right":return t?eo:ea;default:return[]}}(J(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(er)))),o}(c,g,v,w));let T=[c,...S],R=await d.detectOverflow(t,b),P=[],A=(null==(n=u.flip)?void 0:n.overflows)||[];if(p&&P.push(R[E]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=X(e),i=Z(et(e)),o=ee(i),a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=es(a)),[a,es(a)]}(s,l,w);P.push(R[e[0]],R[e[1]])}if(A=[...A,{placement:s,overflows:P}],!P.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=T[e];if(t&&("alignment"!==h||_===et(t)||A.every(e=>et(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let r=null==(o=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(y){case"bestFit":{let e=null==(a=A.filter(e=>{if(C){let t=et(e.placement);return t===_||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=c}if(s!==r)return{reset:{placement:r}}}return{}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({...x}),((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let i,o,{placement:a,rects:s,platform:u,elements:l}=t,{apply:c=()=>{},...d}=W(e,t),f=await u.detectOverflow(t,d),p=J(a),h=X(a),m="y"===et(a),{width:y,height:v}=s.floating;"top"===p||"bottom"===p?(i=p,o=h===(await (null==u.isRTL?void 0:u.isRTL(l.floating))?"start":"end")?"left":"right"):(o=p,i="end"===h?"top":"bottom");let g=v-f.top-f.bottom,b=y-f.left-f.right,E=Q(v-f[i],g),_=Q(y-f[o],b),O=!t.middlewareData.shift,w=E,S=_;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(S=b),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(w=g),O&&!h){let e=z(f.left,0),t=z(f.right,0),r=z(f.top,0),n=z(f.bottom,0);m?S=y-2*(0!==e||0!==t?e+t:z(f.left,f.right)):w=v-2*(0!==r||0!==n?r+n:z(f.top,f.bottom))}await c({...t,availableWidth:S,availableHeight:w});let C=await u.getDimensions(l.floating);return y!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({...x,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),C&&((e,t)=>{let r=(e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?eZ({element:r.current,padding:n}).fn(t):{}:r?eZ({element:r,padding:n}).fn(t):{}}}))(e);return{name:r.name,fn:r.fn,options:[e,t]}})({element:C,padding:l}),tp({arrowWidth:P,arrowHeight:A}),m&&((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:n}=t,{strategy:i="referenceHidden",...o}=W(e,t);switch(i){case"referenceHidden":{let e=ep(await n.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:eh(e)}}}case"escaped":{let e=ep(await n.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:eh(e)}}}default:return{}}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({strategy:"referenceHidden",...x})]}),[V,q]=th(M),B=w(v);(0,U.N)(()=>{L&&B?.()},[L,B]);let G=F.arrow?.x,$=F.arrow?.y,K=F.arrow?.centerOffset!==0,[Y,eu]=u.useState();return(0,U.N)(()=>{E&&eu(window.getComputedStyle(E).zIndex)},[E]),(0,s.jsx)("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...k,transform:L?k.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(ta,{scope:r,placedSide:V,onArrowChange:T,arrowX:G,arrowY:$,shouldHideArrow:K,children:(0,s.jsx)(O.sG.div,{"data-side":V,"data-align":q,...g,ref:S,style:{...g.style,animation:L?void 0:"none"}})})})});tu.displayName=to;var tl="PopperArrow",tc={top:"bottom",right:"left",bottom:"top",left:"r
130ight"},td=u.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=ts(tl,r),o=tc[i.placedSide];return(0,s.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,s.jsx)(e8,{...n,ref:t,style:{...n.style,display:"block"}})})});function tf(e){return null!==e}td.displayName=tl;var tp=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[u,l]=th(r),c={start:"0%",center:"50%",end:"100%"}[l],d=(i.arrow?.x??0)+a/2,f=(i.arrow?.y??0)+s/2,p="",h="";return"bottom"===u?(p=o?c:`${d}px`,h=`${-s}px`):"top"===u?(p=o?c:`${d}px`,h=`${n.floating.height+s}px`):"right"===u?(p=`${-s}px`,h=o?c:`${f}px`):"left"===u&&(p=`${n.floating.width+s}px`,h=o?c:`${f}px`),{data:{x:p,y:h}}}});function th(e){let[t,r="center"]=e.split("-");return[t,r]}u.forwardRef((e,t)=>{let{container:r,...n}=e,[i,o]=u.useState(!1);(0,U.N)(()=>o(!0),[]);let a=r||i&&globalThis?.document?.body;return a?e0.createPortal((0,s.jsx)(O.sG.div,{...n,ref:t}),a):null}).displayName="Portal";var tm=r(96822),ty=r(82987),tv=r(58162),tg=new WeakMap,tb=new WeakMap,tE={},t_=0,tO=function(e){return e&&(e.host||tO(e.parentNode))},tw=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=tO(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tE[r]||(tE[r]=new WeakMap);var o=tE[r],a=[],s=new Set,u=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var c=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,u=(tg.get(e)||0)+1,l=(o.get(e)||0)+1;tg.set(e,u),o.set(e,l),a.push(e),1===u&&i&&tb.set(e,!0),1===l&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),t_++,function(){a.forEach(function(e){var t=tg.get(e)-1,i=o.get(e)-1;tg.set(e,t),o.set(e,i),t||(tb.has(e)||e.removeAttribute(n),tb.delete(e)),i||e.removeAttribute(r)}),--t_||(tg=new WeakMap,tg=new WeakMap,tb=new WeakMap,tE={})}},tS=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),tw(n,i,r,"aria-hidden")):function(){return null}},tC=r(4902),tT="right-scroll-bar-position",tR="width-before-scroll-bar";function tP(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tA="undefined"!=typeof window?u.useLayoutEffect:u.useEffect,tI=new WeakMap;function tD(e){return e}var tN=function(e){void 0===e&&(e={});var t,r,n,i=(void 0===t&&(t=tD),r=[],n=!1,{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var i=t(e,n);return r.push(i),function(){r=r.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var i=r;r=[],i.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return i.options=(0,tC.Cl)({async:!0,ssr:!1},e),i}(),tx=function(){},tj=u.forwardRef(function(e,t){var r,n,i,o,a=u.useRef(null),s=u.useState({onScrollCapture:tx,onWheelCapture:tx,onTouchMoveCapture:tx}),l=s[0],c=s[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,y=e.shards,v=e.sideCar,g=e.noRelative,b=e.noIsolation,E=e.inert,_=e.allowPinchZoom,O=e.as,w=e.gapMode,S=(0,tC.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(r=[a,t],n=function(e){return r.forEach(function(t){return tP(t,e)})},(i=(0,u.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,tA(function(){var e=tI.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||tP(e,null)}
130),n.forEach(function(e){t.has(e)||tP(e,i)})}tI.set(o,r)},[r]),o),T=(0,tC.Cl)((0,tC.Cl)({},S),l);return u.createElement(u.Fragment,null,m&&u.createElement(v,{sideCar:tN,removeScrollBar:h,shards:y,noRelative:g,noIsolation:b,inert:E,setCallbacks:c,allowPinchZoom:!!_,lockRef:a,gapMode:w}),d?u.cloneElement(u.Children.only(f),(0,tC.Cl)((0,tC.Cl)({},T),{ref:C})):u.createElement(void 0===O?"div":O,(0,tC.Cl)({},T,{className:p,ref:C}),f))});tj.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tj.classNames={fullWidth:tR,zeroRight:tT};var tk=function(e){var t=e.sideCar,r=(0,tC.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return u.createElement(n,(0,tC.Cl)({},r))};tk.isSideCarExport=!0;var tM=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tL=function(){var e=tM();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},tF=function(){var e=tL();return function(t){return e(t.styles,t.dynamic),null}},tV={left:0,top:0,right:0,gap:0},tU=function(e){return parseInt(e||"",10)||0},tq=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[tU(r),tU(n),tU(i)]},tB=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tV;var t=tq(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},tG=tF(),tQ="data-scroll-locked",tz=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(tQ,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(tT," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(tR," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(tT," .").concat(tT," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(tR," .").concat(tR," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(tQ,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},t$=function(){var e=parseInt(document.body.getAttribute(tQ)||"0",10);return isFinite(e)?e:0},tH=function(){u.useEffect(function(){return document.body.setAttribute(tQ,(t$()+1).toString()),function(){var e=t$()-1;e<=0?document.body.removeAttribute(tQ):document.body.setAttribute(tQ,e.toString())}},[])},tK=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;tH();var o=u.useMemo(function(){return tB(i)},[i]);return u.createElement(tG,{styles:tz(o,!t,i,r?"":"!important")})},tY=!1;if("undefined"!=typeof window)try{var tW=Object.defineProperty({},"passive",{get:function(){return tY=!0,!0}});window.addEventListener("test",tW,tW),window.removeEventListener("test",tW,tW)}catch(e){tY=!1}var tJ=!!tY&&{passive:!1},tX=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},tZ=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),t0(e,n)){var i=t1(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},t0=function(e,t){return"v"===e?tX(t,"overflowY"):tX(t,"overflowX")},t1=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},t2=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,u=r.target,l=t.contains(u),c=!1,d=s>0,f=0,p=0;
130do{if(!u)break;var h=t1(e,u),m=h[0],y=h[1]-h[2]-a*m;(m||y)&&t0(e,u)&&(f+=y,p+=m);var v=u.parentNode;u=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-s>p)&&(c=!0),c},t5=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},t3=function(e){return[e.deltaX,e.deltaY]},t4=function(e){return e&&"current"in e?e.current:e},t8=0,t6=[];let t9=(i=function(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),i=u.useState(t8++)[0],o=u.useState(tF)[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,tC.fX)([e.lockRef.current],(e.shards||[]).map(t4),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=t5(e),s=r.current,u="deltaX"in e?e.deltaX:s[0]-o[0],l="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=tZ(d,c);if(!h)return!0;if(h?i=d:(i="v"===d?"h":"v",h=tZ(d,c)),!h)return!1;if(!n.current&&"changedTouches"in e&&(u||l)&&(n.current=i),!i)return!0;var m=n.current||i;return t2(m,t,e,"h"===m?u:l,!0)},[]),l=u.useCallback(function(e){if(t6.length&&t6[t6.length-1]===o){var r="deltaY"in e?t3(e):t5(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(t4).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=u.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=u.useCallback(function(e){r.current=t5(e),n.current=void 0},[]),f=u.useCallback(function(t){c(t.type,t3(t),t.target,s(t,e.lockRef.current))},[]),p=u.useCallback(function(t){c(t.type,t5(t),t.target,s(t,e.lockRef.current))},[]);u.useEffect(function(){return t6.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,tJ),document.addEventListener("touchmove",l,tJ),document.addEventListener("touchstart",d,tJ),function(){t6=t6.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,tJ),document.removeEventListener("touchmove",l,tJ),document.removeEventListener("touchstart",d,tJ)}},[]);var h=e.removeScrollBar,m=e.inert;return u.createElement(u.Fragment,null,m?u.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,h?u.createElement(tK,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tN.useMedium(i),tk);var t7=u.forwardRef(function(e,t){return u.createElement(tj,(0,tC.Cl)({},e,{ref:t,sideCar:t9}))});t7.classNames=tj.classNames;var re="Popover",[rt,rr]=(0,_.A)(re,[e7]),rn=e7(),[ri,ro]=rt(re),ra=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:a=!1}=e,l=rn(t),c=u.useRef(null),[d,f]=u.useState(!1),[p,h]=(0,tv.i)({prop:n,defaultProp:i??!1,onChange:o,caller:re});return(0,s.jsx)(tr,{...l,children:(0,s.jsx)(ri,{scope:t,contentId:function(e){let[t,r]=u.useState(q());return(0,U.N)(()=>{r(e=>e??String(B++))},[void 0]),e||(t?`radix-${t}`:"")}(),triggerRef:c,open:p,onOpenChange:h,onOpenToggle:u.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:a,children:r})})};ra.displayName=re;var rs="PopoverAnchor";u.forwardRef((e,t)=>
130{let{__scopePopover:r,...n}=e,i=ro(rs,r),o=rn(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:l}=i;return u.useEffect(()=>(a(),()=>l()),[a,l]),(0,s.jsx)(ti,{...o,...n,ref:t})}).displayName=rs;var ru="PopoverTrigger",rl=u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ro(ru,r),o=rn(r),a=(0,d.s)(t,i.triggerRef),u=(0,s.jsx)(O.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":rb(i.open),...n,ref:a,onClick:c(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,s.jsx)(ti,{asChild:!0,...o,children:u})});rl.displayName=ru;var[rc,rd]=rt("PopoverPortal",{forceMount:void 0}),rf="PopoverContent",rp=u.forwardRef((e,t)=>{let r=rd(rf,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,o=ro(rf,e.__scopePopover);return(0,s.jsx)(tm.C,{present:n||o.open,children:o.modal?(0,s.jsx)(rm,{...i,ref:t}):(0,s.jsx)(ry,{...i,ref:t})})});rp.displayName=rf;var rh=(0,ty.TL)("PopoverContent.RemoveScroll"),rm=u.forwardRef((e,t)=>{let r=ro(rf,e.__scopePopover),n=u.useRef(null),i=(0,d.s)(t,n),o=u.useRef(!1);return u.useEffect(()=>{let e=n.current;if(e)return tS(e)},[]),(0,s.jsx)(t7,{as:rh,allowPinchZoom:!0,children:(0,s.jsx)(rv,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:c(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||r.triggerRef.current?.focus()}),onPointerDownOutside:c(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;o.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:c(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ry=u.forwardRef((e,t)=>{let r=ro(rf,e.__scopePopover),n=u.useRef(!1),i=u.useRef(!1);return(0,s.jsx)(rv,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),rv=u.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,h=ro(rf,r),m=rn(r);return u.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??I()),document.body.insertAdjacentElement("beforeend",e[1]??I()),A++,()=>{1===A&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),A--}},[]),(0,s.jsx)(j,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,s.jsx)(T,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>h.onOpenChange(!1),children:(0,s.jsx)(tu,{"data-state":rb(h.open),role:"dialog",id:h.contentId,...m,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),rg="PopoverClose";function rb(e){return e?"open":"closed"}u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ro(rg,r);return(0,s.jsx)(O.sG.button,{type:"button",...n,ref:t,onClick:c(e.onClick,()=>i.onOpenChange(!1))})}).displayName=rg,u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=rn(r);return(0,s.jsx)(td,{...i,...n,ref:t})}).displayName="PopoverArrow";class rE{}class r_ extends rE{constructor(e,t,r){super(),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.type=e,this.name=t,this.value=r}getType(){return this.type}getName(){return this.name}getValue(){return this.value}
130toJson(){return{type:this.type,name:this.name,value:this.value}}}class rO extends r_{constructor(e,t){super("eq",e,t)}}var rw=r(7060),rS=r(45495),rC=r(40052),rT=r(73911),rR=r(79885),rP=r(23015);let rA=e=>e.preventDefault(),rI="PreviewSearch",[rD,rN,rx]=function(e){let t=e+"CollectionProvider",[r,n]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>u.createContext(e));return function(r){let n=r?.[e]||t;return u.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let i=u.createContext(n);i.displayName=t+"Context";let o=r.length;r=[...r,n];let a=t=>{let{scope:r,children:n,...a}=t,l=r?.[e]?.[o]||i,c=u.useMemo(()=>a,Object.values(a));return(0,s.jsx)(l.Provider,{value:c,children:n})};return a.displayName=t+"Provider",[a,function(r,a){let s=a?.[e]?.[o]||i,l=u.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=u.useRef(null),o=u.useRef(new Map).current;return(0,s.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})};a.displayName=t;let l=e+"CollectionSlot",c=m(l),f=u.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(l,r),a=(0,d.s)(t,i.collectionRef);return(0,s.jsx)(c,{ref:a,children:n})});f.displayName=l;let p=e+"CollectionItemSlot",h="data-radix-collection-item",y=m(p),v=u.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,a=u.useRef(null),l=(0,d.s)(t,a),c=o(p,r);return u.useEffect(()=>(c.itemMap.set(a,{ref:a,...i}),()=>void c.itemMap.delete(a))),(0,s.jsx)(y,{...{[h]:""},ref:l,children:n})});return v.displayName=p,[{Provider:a,Slot:f,ItemSlot:v},function(t){let r=o(e+"CollectionConsumer",t);return u.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(rI),[rj,rk]=(0,_.A)(rI,[rx]),[rM,rL]=rj(rI),[rF,rV]=rj(rI),rU=e=>{let{__scopePreviewSearch:t,children:r,dir:n="ltr",activeItem:i,defaultActiveItem:o,onActiveItemChange:a,...l}=e,[c,d]=u.useState(!1);return(0,s.jsx)(rF,{scope:t,open:c,setOpen:e=>d(e),dir:n,children:(0,s.jsx)(rq,{scope:t,activeItem:i,defaultActiveItem:o,onActiveItemChange:a,children:(0,s.jsx)(ra,{...l,open:c,onOpenChange:e=>{d(e)},children:r})})})};rU.displayName=rI;let rq=e=>{let{scope:t,children:r}=e,[n,i]=u.useState(null),o=u.useRef(0);u.useEffect(()=>()=>{window.clearTimeout(o.current)},[]);let a=u.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(()=>{i(null)},200)},[]);return(0,s.jsx)(rM,{scope:t,activeItem:n,onTriggerEnter:u.useCallback(e=>{window.clearTimeout(o.current),i(e)},[]),onTriggerLeave:a,onItemsEnter:u.useCallback(()=>{window.clearTimeout(o.current)},[]),onItemsLeave:a,children:r})},rB="PreviewSearchInput",rG=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,...n}=e,i=rV(rB,r);return(0,s.jsx)(rl,{asChild:!0,children:(0,s.jsx)(O.sG.input,{type:"text",role:"searchbox","aria-expanded":void 0,...i.open?{tabIndex:0}:{},...n,onClick:c(e.onClick,e=>{e.preventDefault()}),onKeyDown:c(e.onKeyDown,e=>{"Enter"===e.key&&(i.open?i.setOpen(!1):i.setOpen(!0))}),ref:t,onChange:c(e.onChange,()=>{i.open||i.setOpen(!0)}),onFocus:c(e.onFocus,()=>{i.setOpen(!0)})})})});rG.displayName=rB;let rQ=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,children:n,sideOffset:i=1,...o}=e;return(0,s.jsx)(rD.Provider,{scope:r,children:(0,s.jsx)(rD.Slot,{scope:r,children:(0,s.jsx)(rp,{sideOffset:i,side:"bottom",align:"start",avoidCollisions:!1,...o,ref:t,onOpenAutoFocus:rA,children:n})})})});rQ.displayName="PreviewSearchContent";let rz="PreviewSearchResults",r$=e=>{let{__scopePreviewSearch:t,children:r,defaultQueryResult:n,...i}=e,o=rL(rz,t);return o.activeItem?(0,s.jsx)(rK,{__scopePreviewSearch:t,...i,children:r},o.activeItem.id):"function"==typeof r?r(n||{}):null};r$.displayName=rz;let rH=(e,{value:t,filterAttribute:r})=>
130{e.getRequest().resetSearchSuggestion(),r?e.getRequest().setSearchFilter(new rO(r,t)):e.getRequest().setSearchQueryKeyphrase(t)},rK=e=>{let{__scopePreviewSearch:t,children:r}=e,{id:n,...i}=rL(rz,t).activeItem,o=(({active:e,onUpdate:t,...r})=>{let n=Object.entries(r).map(([,e])=>e),{query:i}=(0,rR.A)(),o=(0,rP.n)(t,n).current,a=((e,t)=>{let{rfkId:r,instanceId:n}=(0,rC.A)(),i=(0,u.useRef)(null),o=(0,u.useRef)(e=>{"function"==typeof t&&t(e)}),a=(0,u.useMemo)(()=>{let t=(0,rw.eo)(r),i=new rS.LU(e,t);return i.setDebounceBy("subQuery",n),o.current(i),i},[e,r,n]);(0,u.useEffect)(()=>(e.onUpdate(()=>{i.current&&i.current(a,e)}),()=>{a.destroy()}),[a,e]);let s=(0,rT.A)(a);return{query:a,queryResult:s,onParentUpdate:e=>{i.current=e}}})(i,t=>{o(t,r),t.setEnabled(e)}),{query:s,onParentUpdate:l,queryResult:{refetch:c,isFetched:d,isInitialLoading:f}}=a;return(0,u.useEffect)(()=>{e&&!s.isEnabled()&&s.setEnabled(e)},[s,e]),(0,u.useEffect)(()=>{!e||d||f||c()},[e,d,f,c]),l((e,t)=>{e.getRequest().load(t.getRequest()),o(e,r)}),(0,u.useEffect)(()=>{o(s,r)},[s,o,...n]),a})({active:!0,onUpdate:rH,...i}).queryResult;return"function"==typeof r?r(o):null},rY=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,...n}=e,i=rL(rz,r);return(0,s.jsx)(O.sG.div,{role:"list",...n,ref:t,onPointerEnter:c(e.onPointerEnter,r6(()=>{i.onItemsEnter()})),onPointerLeave:c(e.onPointerLeave,r6(()=>{i.onItemsLeave()}))})});rY.displayName="PreviewSearchItems";let rW=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,...n}=e;return(0,s.jsx)(r8,{asChild:!0,children:(0,s.jsx)(O.sG.div,{role:"listitem",...n,ref:t})})});rW.displayName="PreviewSearchItem";let rJ="PreviewSearchItemLink";u.forwardRef((e,t)=>{let r=u.useRef(null),n=(0,d.s)(t,r),{__scopePreviewSearch:i,...o}=e,{setOpen:a}=rV(rJ,i);return(0,s.jsx)(O.sG.a,{...o,ref:n,onClick:c(e.onClick,e=>{e.preventDefault(),a(!1)})})}).displayName=rJ;let rX=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,...n}=e;return(0,s.jsx)(O.sG.div,{role:"list",...n,ref:t})});rX.displayName="PreviewSearchSuggestions";let[rZ,r0]=rj(rI),r1=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,id:n,filterAttribute:i,...o}=e,a=u.useRef(void 0);return(0,s.jsx)(rZ,{scope:r,groupId:n,displayText:a,filterAttribute:i,children:(0,s.jsx)(O.sG.div,{role:"group",...o,ref:t})})});r1.displayName="PreviewSearchSuggestionsGroup";let r2=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,id:n,disabled:i,...o}=e;return(0,s.jsx)(r8,{asChild:!0,children:(0,s.jsx)(O.sG.button,{disabled:i,"data-disabled":i?"":void 0,...o,ref:t})})});r2.displayName="PreviewSearchSuggestionItem";let r5="PreviewSearchSuggestionTrigger",r3=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,id:n,disabled:i}=e,{setOpen:o}=rV(r5,r),{groupId:a,filterAttribute:u}=r0(r5,r),l=`suggestion-${a}-${n}`,{activeItem:d,onTriggerEnter:f,onTriggerLeave:p}=rL(r5,r),{id:h}=d||{},m=l===h;return(0,s.jsx)(r2,{"data-state":m?"active":void 0,...e,ref:t,onPointerEnter:c(e.onPointerEnter,r6(()=>{i||f({id:l,value:n,filterAttribute:u})})),onPointerLeave:c(e.onPointerLeave,r6(()=>{i||p()})),onClick:c(e.onClick,()=>{o(!1)})})});r3.displayName=r5;let r4=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],r8=u.forwardRef((e,t)=>{let{__scopePreviewSearch:r,...n}=e,i=rN(r),o=rV("FocusGroupItem",r);return(0,s.jsx)(rD.ItemSlot,{scope:r,children:(0,s.jsx)(O.sG.button,{role:"listitem",...n,tabIndex:0,ref:t,onKeyDown:c(e.onKeyDown,e=>{if(["Home","End",...r4].includes(e.key)){let t=i().map(e=>e.ref.current).filter(e=>null!==e);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),r4.includes(e.key)){let r=t.indexOf(e.currentTarget);r<t.length-1&&(t=t.slice(r+1))}setTimeout(()=>(function(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))})(t)),e.preventDefault()}})})})});function r6(e){return t=>"mouse"===t.pointerType?e(t):void 0}let r9=rU,r7=rG,ne=rQ,nt=r$,nr=rX,nn=r1,ni=r3,no=rY,na=rW},89161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGuestIdServer=t.getCookiesValuesFromEdgeServer=t.getCloudSDKResponse=t.getCloudSDKRequest=t.PackageInitializerServer=t.builderInstanceServer=t.enabledPackagesServer=t.getEnabledPackageServer=t.getCloudSDKSettingsServer=t.getCookiesValuesFromEdgeBrowser=t.initCoreState=t.PackageInitializer=t.fetchBrowserIdFromEdgeProxy=t.builderInstanceBrowser=t.enabledPackagesBrowser=t.getEnabledPackageBrowser=t.getCloudSDKSettingsBrowser=t.CORRELATION_ID_HEADER=t.SITECORE_EDGE_URL=t.LIBRARY_VERSION=t.DEFAULT_COOKIE_EXPIRY_DAYS=t.DAILY_SECONDS=t.COOKIE_NAME_PREFIX=t.API_VERSION=t.processDebugResponse=t.debug=t.generateCorrelationId=t.getCookieValueFromRequest=t.pageName=t.language=t.getDefaultCookieAttributes=t.getCookieValueFromMiddlewareRequest=void 0;var n=r(9300);Object.defineProperty(t,"getCookieValueFromMiddlewareRequest",{enumerable:!0,get:function(){return n.getCookieValueFromMiddlewareRequest}});var i=r(52612);Object.defineProperty(t,"getDefaultCookieAttributes",{enumerable:!0,get:function(){return i.getDefaultCookieAttributes}});var o=r(46891);Object.defineProperty(t,"language",{enumerable:!0,get:function(){return o.language}}
130),Object.defineProperty(t,"pageName",{enumerable:!0,get:function(){return o.pageName}});var a=r(80209);Object.defineProperty(t,"getCookieValueFromRequest",{enumerable:!0,get:function(){return a.getCookieValueFromRequest}});var s=r(64333);Object.defineProperty(t,"generateCorrelationId",{enumerable:!0,get:function(){return s.generateCorrelationId}});var u=r(17139);Object.defineProperty(t,"debug",{enumerable:!0,get:function(){return u.debug}}),Object.defineProperty(t,"processDebugResponse",{enumerable:!0,get:function(){return u.processDebugResponse}});var l=r(10768);Object.defineProperty(t,"API_VERSION",{enumerable:!0,get:function(){return l.API_VERSION}}),Object.defineProperty(t,"COOKIE_NAME_PREFIX",{enumerable:!0,get:function(){return l.COOKIE_NAME_PREFIX}}),Object.defineProperty(t,"DAILY_SECONDS",{enumerable:!0,get:function(){return l.DAILY_SECONDS}}),Object.defineProperty(t,"DEFAULT_COOKIE_EXPIRY_DAYS",{enumerable:!0,get:function(){return l.DEFAULT_COOKIE_EXPIRY_DAYS}}),Object.defineProperty(t,"LIBRARY_VERSION",{enumerable:!0,get:function(){return l.LIBRARY_VERSION}}),Object.defineProperty(t,"SITECORE_EDGE_URL",{enumerable:!0,get:function(){return l.SITECORE_EDGE_URL}}),Object.defineProperty(t,"CORRELATION_ID_HEADER",{enumerable:!0,get:function(){return l.CORRELATION_ID_HEADER}});var c=r(23816);Object.defineProperty(t,"getCloudSDKSettingsBrowser",{enumerable:!0,get:function(){return c.getCloudSDKSettings}});var d=r(23816);Object.defineProperty(t,"getEnabledPackageBrowser",{enumerable:!0,get:function(){return d.getEnabledPackage}});var f=r(23816);Object.defineProperty(t,"enabledPackagesBrowser",{enumerable:!0,get:function(){return f.enabledPackages}});var p=r(23816);Object.defineProperty(t,"builderInstanceBrowser",{enumerable:!0,get:function(){return p.builderInstance}});var h=r(57168);Object.defineProperty(t,"fetchBrowserIdFromEdgeProxy",{enumerable:!0,get:function(){return h.fetchBrowserIdFromEdgeProxy}});var m=r(33533);Object.defineProperty(t,"PackageInitializer",{enumerable:!0,get:function(){return m.PackageInitializer}});var y=r(23816);Object.defineProperty(t,"initCoreState",{enumerable:!0,get:function(){return y.initCoreState}});var v=r(23816);Object.defineProperty(t,"getCookiesValuesFromEdgeBrowser",{enumerable:!0,get:function(){return v.getCookiesValuesFromEdge}});var g=r(27941);Object.defineProperty(t,"getCloudSDKSettingsServer",{enumerable:!0,get:function(){return g.getCloudSDKSettings}});var b=r(27941);Object.defineProperty(t,"getEnabledPackageServer",{enumerable:!0,get:function(){return b.getEnabledPackage}});var E=r(27941);Object.defineProperty(t,"enabledPackagesServer",{enumerable:!0,get:function(){return E.enabledPackages}});var _=r(27941);Object.defineProperty(t,"builderInstanceServer",{enumerable:!0,get:function(){return _.builderInstance}});var O=r(51024);Object.defineProperty(t,"PackageInitializerServer",{enumerable:!0,get:function(){return O.PackageInitializerServer}});var w=r(27941);Object.defineProperty(t,"getCloudSDKRequest",{enumerable:!0,get:function(){return w.getCloudSDKRequest}}),Object.defineProperty(t,"getCloudSDKResponse",{enumerable:!0,get:function(){return w.getCloudSDKResponse}});var S=r(27941);Object.defineProperty(t,"getCookiesValuesFromEdgeServer",{enumerable:!0,get:function(){return S.getCookiesValuesFromEdge}});var C=r(66794);Object.defineProperty(t,"getGuestIdServer",{enumerable:!0,get:function(){return C.getGuestIdServer}})},89814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.awaitInit=t.addEvents=t.sideEffects=void 0;let n=r(50848),i=r(92849),o=r(52094),a=r(87833),s=r(35593),u=r(38841),l=r(3687),c=r(60469),d=r(29602),f=r(57086);async function p(){window.scCloudSDK={...window.scCloudSDK,events:{addToEventQueue:c.addToEventQueue,clearEventQueue:d.clearEventQueue,event:a.event,form:s.form,identity:u.identity,pageView:l.pageView,processEventQueue:f.processEventQueue,version:o.PACKAGE_VERSION}},(0,i.debug)(o.EVENTS_NAMESPACE)("eventsClient library initialized")}function h(){let e=new i.PackageInitializer({sideEffects:p});
130return i.enabledPackagesBrowser.set(o.PACKAGE_NAME,e),this}t.sideEffects=p,t.addEvents=h,n.CloudSDKBrowserInitializer.prototype.addEvents=h,t.awaitInit=async function(){let e=(0,i.getEnabledPackageBrowser)(o.PACKAGE_NAME)?.initState;if(!e)throw Error(o.ErrorMessages.IE_0014);await e}},89939:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibraryApp=void 0;let i=n(r(14232)),o=r(85917),a=r(51271),s=r(4172);t.DesignLibraryApp=({page:e,componentMap:t,loadServerImportMap:r})=>{var n;let{route:u}=e.layout.sitecore;if(!u)return null;let l=null==(n=null==u?void 0:u.placeholders[o.EDITING_COMPONENT_PLACEHOLDER])?void 0:n[0],c=t.get((null==l?void 0:l.componentName)||""),d=c&&"client"===c.componentType;return i.default.createElement(i.default.Fragment,null,d?i.default.createElement(s.DesignLibrary,null):i.default.createElement(a.DesignLibraryServer,{page:e,componentMap:t,loadServerImportMap:r,rendering:u}))}},89950:(e,t,r)=>{var n=r(64451),i=r(97023),o=r(99828),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},90240:(e,t,r)=>{"use strict";r.d(t,{Ki:()=>c,jq:()=>a,xm:()=>s,yV:()=>u});var n=r(63965),i=r(36938),o=r(80542),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,u=new n.DX,l=!1;function c(){l||(l=!0,!1!==globalThis.__DEV__&&i.V1.warn(64))}},90373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLibraryApp=t.DesignLibrary=void 0;var n=r(4172);Object.defineProperty(t,"DesignLibrary",{enumerable:!0,get:function(){return n.DesignLibrary}});var i=r(89939);Object.defineProperty(t,"DesignLibraryApp",{enumerable:!0,get:function(){return i.DesignLibraryApp}})},90407:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BYOCServerWrapper=void 0;let i=n(r(14232)),o=r(61800),a=r(24822),s=r(35161);t.BYOCServerWrapper=async e=>{var t;let r=(null==(t=e.rendering)?void 0:t.params)||{},n=Object.fromEntries(Object.entries(e).filter(([e])=>!s.nonSerializedPlaceholderProps.includes(e))),u=Object.assign(Object.assign({},await (0,o.fetchBYOCComponentServerProps)(r)),n);return i.default.createElement(a.BYOCWrapper,Object.assign({},u))}},90581:(e,t,r)=>{"use strict";r.d(t,{Or:()=>a,_u:()=>l});var n=r(14232),i=r(47599);let o=(0,n.createContext)({}),a=e=>{let t=(0,n.useContext)(o);return n.createElement(i.O,Object.assign({},e,{modifyComponentProps:e=>{if(!e.rendering.uid)return e;let r=t[e.rendering.uid];return Object.assign(Object.assign({},e),r)}}))};r(37876),"function"==typeof SuppressedError&&SuppressedError;var s={exports:{}};!function(e){var t={}.hasOwnProperty;function r(){for(var e="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(e=n(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var o in e)t.call(e,o)&&e[o]&&(i=n(i,o));return i}(o)))}return e}function n(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):window.classNames=r}(s),s.exports;let u=e=>Object.hasOwnProperty.call(e,"componentName"),l=(e,t,r=[])=>{if(!e.placeholders)return r;for(let n of Object.values(e.placeholders))for(let e of n)u(e)&&(e.componentName===t&&r.push(e),e.placeholders&&l(e,t,r));return r}},90738:(e,t,r)=>{"use strict";r.d(t,{y:()=>o});var n=r(74968),i=r(47518);function o(e){return(0,n.YR)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return u(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=c("(",u(e.variableDefinitions,", "),")"),i=u(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?u([t,u([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+c(" = ",n)+c(" ",u(i," "))},SelectionSet:function(e){return l(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=c("",t,": ")+r,s=a+c("(",u(n,", "),")");return s.length>80&&(s=a+c("(\n",d(u(n,"\n")),"\n)")),u([s,u(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value}
130,FragmentSpread:function(e){return"..."+e.name+c(" ",u(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return u(["...",c("on ",t),u(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(c("(",u(n,", "),")")," ")+"on ".concat(r," ").concat(c("",u(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,i.yo)(r,"description"===t?"":"  "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+u(e.values,", ")+"]"},ObjectValue:function(e){return"{"+u(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+c("(",u(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s(function(e){var t=e.directives,r=e.operationTypes;return u(["schema",u(t," "),l(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s(function(e){return u(["scalar",e.name,u(e.directives," ")]," ")}),ObjectTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["type",t,c("implements ",u(r," & ")),u(n," "),l(i)]," ")}),FieldDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(p(r)?c("(\n",d(u(r,"\n")),"\n)"):c("(",u(r,", "),")"))+": "+n+c(" ",u(i," "))}),InputValueDefinition:s(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return u([t+": "+r,c("= ",n),u(i," ")]," ")}),InterfaceTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["interface",t,c("implements ",u(r," & ")),u(n," "),l(i)]," ")}),UnionTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.types;return u(["union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")}),EnumTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.values;return u(["enum",t,u(r," "),l(n)]," ")}),EnumValueDefinition:s(function(e){return u([e.name,u(e.directives," ")]," ")}),InputObjectTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.fields;return u(["input",t,u(r," "),l(n)]," ")}),DirectiveDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(p(r)?c("(\n",d(u(r,"\n")),"\n)"):c("(",u(r,", "),")"))+(n?" repeatable":"")+" on "+u(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return u(["extend schema",u(t," "),l(r)]," ")},ScalarTypeExtension:function(e){return u(["extend scalar",e.name,u(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend type",t,c("implements ",u(r," & ")),u(n," "),l(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend interface",t,c("implements ",u(r," & ")),u(n," "),l(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return u(["extend union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return u(["extend enum",t,u(r," "),l(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return u(["extend input",t,u(r," "),l(n)]," ")}};function s(e){return function(t){return u([t.description,e(t)],"\n")}}function u(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=(t=null==e?void 0:e.filter(function(e){return e}).join(r))?t:""}function l(e){return c("{\n",d(u(e,"\n")),"\n}")}function c(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function d(e){return c("  ",e.replace(/\n/g,"\n  "))}function f(e){return -1!==e.indexOf("\n")}function p(e){return null!=e&&e.some(f)}},90739:(e,t,r)=>{"use strict";r.d(t,{$3:()=>d,I6:()=>m,T9:()=>function e(t,r,n){return!!(0,o.U)(r)&&((0,a.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,i.dt)(t)&&(0,s.MS)(t,n)){var o=(0,i.ue)(t);return d.call(r,o)&&(!t.selectionSet||e(t.selectionSet,r[o],n))}return!0}))},Ui:()=>v,Xx:()=>y,d1:()=>E,gk:()=>g,iJ:()=>b,lq:()=>O,mv:()=>_,or:()=>p});var n=r(79760),i=r(58851),o=r(93957),a=r(35785),s=r(71211),u=r(48131),l=r(68922),c=r(45813),d=Object.prototype.hasOwnProperty;function f(e){return null==e}function p(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=f(n)?f(i)?void 0:{_id:i}:{id:n}),f(n)&&!f(i)&&(n=i),!f(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var h={dataIdFromObject:p,addTypename:!0,resultCaching:!0,canonizeResults:!1};function m(e){return(0,n.o)(h,e)}function y(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function v(e,t){return(0,i.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var g=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(g);return t?t[0]:e}function E(e){return(0,o.U)(e)&&!(0,i.A_)(e)&&!(0,a.c)(e)}function _(){return new u.ZI}function O(e,t){var r=(0,l.JG)((0,c.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},90838:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
130(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(60534),t),i(r(75064),t)},91040:(e,t,r)=>{"use strict";r.d(t,{A:()=>to});var n,i,o={};function a(e,t){return function(){return e.apply(t,arguments)}}r.r(o),r.d(o,{hasBrowserEnv:()=>ef,hasStandardBrowserEnv:()=>eh,hasStandardBrowserWebWorkerEnv:()=>em,navigator:()=>ep,origin:()=>ey});var s=r(99742);let{toString:u}=Object.prototype,{getPrototypeOf:l}=Object,{iterator:c,toStringTag:d}=Symbol,f=(e=>t=>{let r=u.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),p=e=>(e=e.toLowerCase(),t=>f(t)===e),h=e=>t=>typeof t===e,{isArray:m}=Array,y=h("undefined");function v(e){return null!==e&&!y(e)&&null!==e.constructor&&!y(e.constructor)&&E(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let g=p("ArrayBuffer"),b=h("string"),E=h("function"),_=h("number"),O=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==f(e))return!1;let t=l(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(d in e)&&!(c in e)},S=p("Date"),C=p("File"),T=p("Blob"),R=p("FileList"),P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},A=void 0!==P.FormData?P.FormData:void 0,I=p("URLSearchParams"),[D,N,x,j]=["ReadableStream","Request","Response","Headers"].map(p);function k(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e)if("object"!=typeof e&&(e=[e]),m(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i;if(v(e))return;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(n=0;n<a;n++)i=o[n],t.call(null,e[i],i,e)}}function M(e,t){let r;if(v(e))return null;t=t.toLowerCase();let n=Object.keys(e),i=n.length;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,F=e=>!y(e)&&e!==L,V=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&l(Uint8Array)),U=p("HTMLFormElement"),q=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),B=p("RegExp"),G=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};k(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)},Q=p("AsyncFunction"),z=(n="function"==typeof setImmediate,i=E(L.postMessage),n?setImmediate:i?((e,t)=>(L.addEventListener("message",({source:r,data:n})=>{r===L&&n===e&&t.length&&t.shift()()},!1),r=>{t.push(r),L.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),$="undefined"!=typeof queueMicrotask?queueMicrotask.bind(L):void 0!==s&&s.nextTick||z,H={isArray:m,isArrayBuffer:g,isBuffer:v,isFormData:e=>{let t;return e&&(A&&e instanceof A||E(e.append)&&("formdata"===(t=f(e))||"object"===t&&E(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&g(e.buffer)},isString:b,isNumber:_,isBoolean:e=>!0===e||!1===e,isObject:O,isPlainObject:w,isEmptyObject:e=>{if(!O(e)||v(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:D,isRequest:N,isResponse:x,isHeaders:j,isUndefined:y,isDate:S,isFile:C,isReactNativeBlob:e=>!!(e&&void 0!==e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:T,isRegExp:B,isFunction:E,isStream:e=>O(e)&&E(e.pipe),isURLSearchParams:I,isTypedArray:V,isFileList:R,forEach:k,merge:function e(){let{caseless:t,skipUndefined:r}=F(this)&&this||{},n={},i=(i,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;let a=t&&M(n,o)||o;w(n[a])&&w(i)?n[a]=e(n[a],i):w(i)?n[a]=e({},i):m(i)?n[a]=i.slice():r&&y(i)||(n[a]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&k(arguments[e],i);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(k(t,(t,n)=>{r&&E(t)?Object.defineProperty(e,n,{value:a(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,
130configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==r&&l(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:f,kindOfTest:p,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(m(e))return e;let t=e.length;if(!_(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[c]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:U,hasOwnProperty:q,hasOwnProp:q,reduceDescriptors:G,freezeMethods:e=>{G(e,(t,r)=>{if(E(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(E(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(m(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:M,global:L,isContextDefined:F,isSpecCompliantForm:function(e){return!!(e&&E(e.append)&&"FormData"===e[d]&&e[c])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(O(e)){if(t.indexOf(e)>=0)return;if(v(e))return e;if(!("toJSON"in e)){t[n]=e;let i=m(e)?[]:{};return k(e,(e,t)=>{let o=r(e,n+1);y(o)||(i[t]=o)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:Q,isThenable:e=>e&&(O(e)||E(e))&&E(e.then)&&E(e.catch),setImmediate:z,asap:$,isIterable:e=>null!=e&&E(e[c])};class K extends Error{static from(e,t,r,n,i,o){let a=new K(e.message,t||e.code,r,n,i);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,t,r,n,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.status}}}K.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",K.ERR_BAD_OPTION="ERR_BAD_OPTION",K.ECONNABORTED="ECONNABORTED",K.ETIMEDOUT="ETIMEDOUT",K.ERR_NETWORK="ERR_NETWORK",K.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",K.ERR_DEPRECATED="ERR_DEPRECATED",K.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",K.ERR_BAD_REQUEST="ERR_BAD_REQUEST",K.ERR_CANCELED="ERR_CANCELED",K.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",K.ERR_INVALID_URL="ERR_INVALID_URL";let Y=K;var W=r(82909).hp;function J(e){return H.isPlainObject(e)||H.isArray(e)}function X(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,r){return e?e.concat(t).map(function(e,t){return e=X(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ee=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)}),et=function(e,t,r){if(!H.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=H.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!H.isUndefined(t[e])})).metaTokens,i=r.visitor||l,o=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(i))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(H.isDate(e))return e.toISOString();if(H.isBoolean(e))return e.toString();if(!s&&H.isBlob(e))throw new Y("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(e)||H.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):W.from(e):e}function l(e,r,i){let s=e;if(H.isReactNative(t)&&H.isReactNativeBlob(e))return t.append(Z(i,r,o),u(e)),!1;if(e&&!i&&"object"==typeof e)if(H.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var l;if(H.isArray(e)&&(l=e,H.isArray(l)&&!l.some(J))||(H.isFileList(e)||H.endsWith(r,"[]"))&&(s=H.toArray(e)))return r=X(r),s.forEac
130h(function(e,n){H.isUndefined(e)||null===e||t.append(!0===a?Z([r],n,o):null===a?r:r+"[]",u(e))}),!1}return!!J(e)||(t.append(Z(i,r,o),u(e)),!1)}let c=[],d=Object.assign(ee,{defaultVisitor:l,convertValue:u,isVisitable:J});if(!H.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!H.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),H.forEach(r,function(r,o){!0===(!(H.isUndefined(r)||null===r)&&i.call(t,r,H.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])}),c.pop()}}(e),t};function er(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&et(e,this,t)}let ei=en.prototype;function eo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ea(e,t,r){let n;if(!t)return e;let i=r&&r.encode||eo,o=H.isFunction(r)?{serialize:r}:r,a=o&&o.serialize;if(n=a?a(t,o):H.isURLSearchParams(t)?t.toString():new en(t,o).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ei.append=function(e,t){this._pairs.push([e,t])},ei.toString=function(e){let t=e?function(t){return e.call(this,t,er)}:er;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class es{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,function(t){null!==t&&e(t)})}}let eu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},el="undefined"!=typeof URLSearchParams?URLSearchParams:en,ec="undefined"!=typeof FormData?FormData:null,ed="undefined"!=typeof Blob?Blob:null,ef="undefined"!=typeof window&&"undefined"!=typeof document,ep="object"==typeof navigator&&navigator||void 0,eh=ef&&(!ep||0>["ReactNative","NativeScript","NS"].indexOf(ep.product)),em="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ey=ef&&window.location.href||"http://localhost",ev={...o,isBrowser:!0,classes:{URLSearchParams:el,FormData:ec,Blob:ed},protocols:["http","https","file","blob","url","data"]},eg=function(e){if(H.isFormData(e)&&H.isFunction(e.entries)){let t={};return H.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=i>=t.length;return(o=!o&&H.isArray(n)?n.length:o,s)?H.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&H.isObject(n[o])||(n[o]=[]),e(t,r,n[o],i)&&H.isArray(n[o])&&(n[o]=function(e){let t,r,n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(n[o]))),!a}(H.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},eb={transitional:eu,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=H.isObject(e);if(o&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return i?JSON.stringify(eg(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e)||H.isReadableStream(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,et(a,new ev.classes.URLSearchParams,{visitor:function(e,t,r,n){return ev.isNode&&H.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...s})).toString()}if((r=H.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return et(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||i){t.setContentType("application/json",!1);var u=e;if(H.isString(u))try{return(0,JSON.parse)(u),H.trim(u)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(u)}return e}],transformResponse:[function(e){let t=this.transitional||eb.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(H.isResponse(e)||H.isReadableStream(e))return e;
130if(e&&H.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw Y.from(e,Y.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ev.classes.FormData,Blob:ev.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],e=>{eb.headers[e]={}});let eE=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),e_=Symbol("internals");function eO(e){return e&&String(e).trim().toLowerCase()}function ew(e){return!1===e||null==e?e:H.isArray(e)?e.map(ew):String(e)}function eS(e,t,r,n,i){if(H.isFunction(n))return n.call(this,t,r);if(i&&(t=r),H.isString(t)){if(H.isString(n))return -1!==t.indexOf(n);if(H.isRegExp(n))return n.test(t)}}class eC{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=eO(t);if(!i)throw Error("header name must be a non-empty string");let o=H.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=ew(e))}let o=(e,t)=>H.forEach(e,(e,r)=>i(e,r,t));if(H.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let n;if(H.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim())))o((e=>{let t,r,n,i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&eE[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i})(e),t);else if(H.isObject(e)&&H.isIterable(e)){let r={},n,i;for(let t of e){if(!H.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[i=t[0]]=(n=r[i])?H.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(r,t)}else null!=e&&i(t,e,r)}return this}get(e,t){if(e=eO(e)){let r=H.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
130for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(H.isFunction(t))return t.call(this,e,r);if(H.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eO(e)){let r=H.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eS(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=eO(e)){let i=H.findKey(r,e);i&&(!t||eS(r,r[i],i,t))&&(delete r[i],n=!0)}}return H.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eS(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return H.forEach(this,(n,i)=>{let o=H.findKey(r,i);if(o){t[o]=ew(n),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();a!==i&&delete t[i],t[a]=ew(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return H.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&H.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[e_]=this[e_]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=eO(e);if(!t[n]){let i=H.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(r,t+i,{value:function(r,n,i){return this[t].call(this,e,r,n,i)},configurable:!0})}),t[n]=!0}}return H.isArray(e)?e.forEach(n):n(e),this}}function eT(e,t){let r=this||eb,n=t||r,i=eC.from(n.headers),o=n.data;return H.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eR(e){return!!(e&&e.__CANCEL__)}eC.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(eC.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),H.freezeMethods(eC);class eP extends Y{constructor(e,t,r){super(null==e?"canceled":e,Y.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}}function eA(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Y("Request failed with status code "+r.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}let eI=function(e,t){let r,n=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let u=Date.now(),l=i[a];r||(r=u),n[o]=s,i[o]=u;let c=a,d=0;for(;c!==o;)d+=n[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),u-r<t)return;let f=l&&u-l;return f?Math.round(1e3*d/f):void 0}},eD=function(e,t){let r,n,i=0,o=1e3/t,a=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=o?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},o-s)))},()=>r&&a(r)]},eN=(e,t,r=3)=>{let n=0,i=eI(50,250);return eD(r=>{let o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,u=i(s);n=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&o<=a?(a-o)/u:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},ex=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ej=e=>(...t)=>H.asap(()=>e(...t)),ek=ev.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ev.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ev.origin),ev.navigator&&/(msie|trident)/i.test(ev.navigator.userAgent)):()=>!0,eM=ev.hasStandardBrowserEnv?{write(e,t,r,n,i,o,a){if("undefined"==typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];H.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),H.isString(n)&&s.push(`path=${n}`),H.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),H.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function eL(e,t,r){let n=!("string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t));return e&&(n||!1==r)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eF=e=>e instanceof eC?{...e}:e;
130function eV(e,t){t=t||{};let r={};function n(e,t,r,n){return H.isPlainObject(e)&&H.isPlainObject(t)?H.merge.call({caseless:n},e,t):H.isPlainObject(t)?H.merge({},t):H.isArray(t)?t.slice():t}function i(e,t,r,i){return H.isUndefined(t)?H.isUndefined(e)?void 0:n(void 0,e,r,i):n(e,t,r,i)}function o(e,t){if(!H.isUndefined(t))return n(void 0,t)}function a(e,t){return H.isUndefined(t)?H.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>i(eF(e),eF(t),r,!0)};return H.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;let o=H.hasOwnProp(u,n)?u[n]:i,a=o(e[n],t[n],n);H.isUndefined(a)&&o!==s||(r[n]=a)}),r}let eU=e=>{let t=eV({},e),{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;if(t.headers=a=eC.from(a),t.url=ea(eL(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),H.isFormData(r)){if(ev.hasStandardBrowserEnv||ev.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(H.isFunction(r.getHeaders)){let e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&a.set(e,r)})}}if(ev.hasStandardBrowserEnv&&(n&&H.isFunction(n)&&(n=n(t)),n||!1!==n&&ek(t.url))){let e=i&&o&&eM.read(o);e&&a.set(i,e)}return t},eq="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,o,a,s,u=eU(e),l=u.data,c=eC.from(u.headers).normalize(),{responseType:d,onUploadProgress:f,onDownloadProgress:p}=u;function h(){a&&a(),s&&s(),u.cancelToken&&u.cancelToken.unsubscribe(n),u.signal&&u.signal.removeEventListener("abort",n)}let m=new XMLHttpRequest;function y(){if(!m)return;let n=eC.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());eA(function(e){t(e),h()},function(e){r(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(u.method.toUpperCase(),u.url,!0),m.timeout=u.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(r(new Y("Request aborted",Y.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){let n=new Y(t&&t.message?t.message:"Network Error",Y.ERR_NETWORK,e,m);n.event=t||null,r(n),m=null},m.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||eu;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),r(new Y(t,n.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,m)),m=null},void 0===l&&c.setContentType(null),"setRequestHeader"in m&&H.forEach(c.toJSON(),function(e,t){m.setRequestHeader(t,e)}),H.isUndefined(u.withCredentials)||(m.withCredentials=!!u.withCredentials),d&&"json"!==d&&(m.responseType=u.responseType),p&&([o,s]=eN(p,!0),m.addEventListener("progress",o)),f&&m.upload&&([i,a]=eN(f),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",a)),(u.cancelToken||u.signal)&&(n=t=>{m&&(r(!t||t.type?new eP(null,e,m):t),m.abort(),m=null)},u.cancelToken&&u.cancelToken.subscribe(n),u.signal&&(u.signal.aborted?n():u.signal.addEventListener("abort",n)));let v=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u.url);if(v&&-1===ev.protocols.indexOf(v))return void r(new Y("Unsupported protocol "+v+":",Y.ERR_BAD_REQUEST,e));m.send(l||null)})},eB=function*(e,t){let r,n=e.byteLength;if(!t||n<t)return void(yield e);let i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},eG=async function*(e,t){for await(let r of eQ(e))yield*eB(r,t)},eQ=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},ez=(e,t,r,n)=>{let i,o=eG(e,t),a=0,s=e=>{!i&&(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){s(),e.close();return}let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:e$}=H,eH=(({Request:e,Response:t})=>({Request:e,Response:t}))(H.global),{ReadableStream:eK,TextEncoder:eY}=H.global,eW=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},eJ=e=>{let t,{fetch:r,Request:n,Response:i}=e=H.merge.call({skipUndefined:!0},eH,e),o=r?e$(r):"function"==typeof fetch,a=e$(n),s=e$(i);if(!o)return!1;let u=o&&e$(eK),l=o&&("function"==typeof eY?(t=new eY,e=>t.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer())),c=a&&u&&eW(()=>{let e=!1,t=new n(ev.origin,{body:new eK,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=s&&u&&eW(()=>
130H.isReadableStream(new i("").body)),f={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{f[e]||(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Y(`Response type '${e}' is not supported`,Y.ERR_NOT_SUPPORT,r)})});let p=async e=>{if(null==e)return 0;if(H.isBlob(e))return e.size;if(H.isSpecCompliantForm(e)){let t=new n(ev.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return H.isArrayBufferView(e)||H.isArrayBuffer(e)?e.byteLength:(H.isURLSearchParams(e)&&(e+=""),H.isString(e))?(await l(e)).byteLength:void 0},h=async(e,t)=>{let r=H.toFiniteNumber(e.getContentLength());return null==r?p(t):r};return async e=>{let t,{url:o,method:s,data:u,signal:l,cancelToken:p,timeout:m,onDownloadProgress:y,onUploadProgress:v,responseType:g,headers:b,withCredentials:E="same-origin",fetchOptions:_}=eU(e),O=r||fetch;g=g?(g+"").toLowerCase():"text";let w=((e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,i=function(e){if(!r){r=!0,a();let t=e instanceof Error?e:this.reason;n.abort(t instanceof Y?t:new eP(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new Y(`timeout of ${t}ms exceeded`,Y.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=n;return s.unsubscribe=()=>H.asap(a),s}})([l,p&&p.toAbortSignal()],m),S=null,C=w&&w.unsubscribe&&(()=>{w.unsubscribe()});try{if(v&&c&&"get"!==s&&"head"!==s&&0!==(t=await h(b,u))){let e,r=new n(o,{method:"POST",body:u,duplex:"half"});if(H.isFormData(u)&&(e=r.headers.get("content-type"))&&b.setContentType(e),r.body){let[e,n]=ex(t,eN(ej(v)));u=ez(r.body,65536,e,n)}}H.isString(E)||(E=E?"include":"omit");let r=a&&"credentials"in n.prototype,l={..._,signal:w,method:s.toUpperCase(),headers:b.normalize().toJSON(),body:u,duplex:"half",credentials:r?E:void 0};S=a&&new n(o,l);let p=await (a?O(S,_):O(o,l)),m=d&&("stream"===g||"response"===g);if(d&&(y||m&&C)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=p[t]});let t=H.toFiniteNumber(p.headers.get("content-length")),[r,n]=y&&ex(t,eN(ej(y),!0))||[];p=new i(ez(p.body,65536,r,()=>{n&&n(),C&&C()}),e)}g=g||"text";let T=await f[H.findKey(f,g)||"text"](p,e);return!m&&C&&C(),await new Promise((t,r)=>{eA(t,r,{data:T,headers:eC.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:S})})}catch(t){if(C&&C(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,S,t&&t.response),{cause:t.cause||t});throw Y.from(t,t&&t.code,e,S,t&&t.response)}}},eX=new Map,eZ=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,o=[n,i,r],a=o.length,s,u,l=eX;for(;a--;)s=o[a],void 0===(u=l.get(s))&&l.set(s,u=a?new Map:eJ(t)),l=u;return u};eZ();let e0={http:null,xhr:eq,fetch:{get:eZ}};H.forEach(e0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e1=e=>`- ${e}`,e2=e=>H.isFunction(e)||null===e||!1===e,e5={getAdapter:function(e,t){let r,n,{length:i}=e=H.isArray(e)?e:[e],o={};for(let a=0;a<i;a++){let i;if(n=r=e[a],!e2(r)&&void 0===(n=e0[(i=String(r)).toLowerCase()]))throw new Y(`Unknown adapter '${i}'`);if(n&&(H.isFunction(n)||(n=n.get(t))))break;o[i||"#"+a]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new Y("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(e1).join("\n"):" "+e1(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function e3(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eP(null,e)}function e4(e){return e3(e),e.headers=eC.from(e.headers),e.data=eT.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e5.getAdapter(e.adapter||eb.adapter,e)(e).then(function(t){return e3(e),t.data=eT.call(e,e.transformResponse,t),t.headers=eC.from(t.headers),t},function(t){return!eR(t)&&(e3(e),t&&t.response&&(t.response.data=eT.call(e,e.transformResponse,t.response),t.response.headers=eC.from(t.response.headers))),Promise.reject(t)})}let e8="1.13.6",e6={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{e6[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let e9={};e6.transitional=function(e,t,r){function n(e,t){return"[Axios v"+e8+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>
130{if(!1===e)throw new Y(n(i," has been removed"+(t?" in "+t:"")),Y.ERR_DEPRECATED);return t&&!e9[i]&&(e9[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}},e6.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};let e7={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],a=t[o];if(a){let t=e[o],r=void 0===t||a(t,o,e);if(!0!==r)throw new Y("option "+o+" must be "+r,Y.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Y("Unknown option "+o,Y.ERR_BAD_OPTION)}},validators:e6},te=e7.validators;class tt{constructor(e){this.defaults=e||{},this.interceptors={request:new es,response:new es}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:a}=t=eV(this.defaults,t);void 0!==i&&e7.assertOptions(i,{silentJSONParsing:te.transitional(te.boolean),forcedJSONParsing:te.transitional(te.boolean),clarifyTimeoutError:te.transitional(te.boolean),legacyInterceptorReqResOrdering:te.transitional(te.boolean)},!1),null!=o&&(H.isFunction(o)?t.paramsSerializer={serialize:o}:e7.assertOptions(o,{encode:te.function,serialize:te.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),e7.assertOptions(t,{baseUrl:te.spelling("baseURL"),withXsrfToken:te.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&H.merge(a.common,a[t.method]);a&&H.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eC.concat(s,a);let u=[],l=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;l=l&&e.synchronous;let r=t.transitional||eu;r&&r.legacyInterceptorReqResOrdering?u.unshift(e.fulfilled,e.rejected):u.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!l){let e=[e4.bind(this),void 0];for(e.unshift(...u),e.push(...c),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=u.length;let f=t;for(;d<n;){let e=u[d++],t=u[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{r=e4.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,n=c.length;d<n;)r=r.then(c[d++],c[d++]);return r}getUri(e){return ea(eL((e=eV(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}H.forEach(["delete","get","head","options"],function(e){tt.prototype[e]=function(t,r){return this.request(eV(r||{},{method:e,url:t,data:(r||{}).data}))}}),H.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,i){return this.request(eV(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}tt.prototype[e]=t(),tt.prototype[e+"Form"]=t(!0)});class tr{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new eP(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tr(function(t){e=t}),cancel:e}}}let tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
130setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tn).forEach(([e,t])=>{tn[t]=e});let ti=function e(t){let r=new tt(t),n=a(tt.prototype.request,r);return H.extend(n,tt.prototype,r,{allOwnKeys:!0}),H.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eV(t,r))},n}(eb);ti.Axios=tt,ti.CanceledError=eP,ti.CancelToken=tr,ti.isCancel=eR,ti.VERSION=e8,ti.toFormData=et,ti.AxiosError=Y,ti.Cancel=ti.CanceledError,ti.all=function(e){return Promise.all(e)},ti.spread=function(e){return function(t){return e.apply(null,t)}},ti.isAxiosError=function(e){return H.isObject(e)&&!0===e.isAxiosError},ti.mergeConfig=eV,ti.AxiosHeaders=eC,ti.formToJSON=e=>eg(H.isHTMLForm(e)?new FormData(e):e),ti.getAdapter=e5.getAdapter,ti.HttpStatusCode=tn,ti.default=ti;let to=ti},91811:(e,t,r)=>{"use strict";r.d(t,{kL:()=>h,v3:()=>v,Gc:()=>m,ri:()=>d,Nk:()=>p,Wc:()=>y});var n=r(78639),i=r(23913);let o={staging:"https://discover-staging.sitecore-staging.cloud",prod:"https://discover.sitecorecloud.io",prodEu:"https://discover-euc1.sitecorecloud.io",apse2:"https://discover-apse2.sitecorecloud.io"},a={australiaEast:"https://australiaeast-integrations.ordercloud.io",europeWest:"https://westeurope-integrations.ordercloud.io",japanEast:"https://japaneast-integrations.ordercloud.io",usEast:"https://useast-integrations.ordercloud.io",usWest:"https://uswest-integrations.ordercloud.io",usWestQa:"https://uswest-integrations.ordercloud-qa.com"},s="/event/{{key}}/v4/publish",u={build:(e,t)=>{let r=Object.assign({},e,t),{orderCloudRegion:n="usWest",env:i="prod",discoverDomainId:u}=t;if(!u)throw Error("{discoverDomainId} has not been provided.");return r.domainId=u,r.connector="oc",Object.assign(r,((e,t,r)=>({useAccessToken:!0,apiDomain:a[e],searchUrl:`${a[e]}${"/api/v1/search/{{domain}}".replace("{{domain}}",r)}`,eventUrl:`${o[t]}${s.replace("{{key}}",r)}`}))(n,i,u))}};var l=r(98212);let c={build:(e,t)=>{let r=Object.assign({},e,t),{env:n="prod",customerKey:i=""}=r,{serviceHost:a,apiKey:u}=t,c=d(i);if(!c)throw Error(`Invalid customerKey: "${i}". It should match the following pattern: (\\d+)-(\\d+). Example: 11111-2222222`);let[f,p]=c;if(Object.assign(r,{domainId:f,domainHash:p}),r.connector="sitecore",!u&&!a)throw Error('Invalid configuration: "apiKey" has not been set but not serviceHost provided. Please, review your domain configuration');return Object.assign(r,((e,t,r,n)=>t?{apiDomain:n,searchUrl:`${n}${"/discover/v2/{{key}}".replace("{{key}}",(0,l.aX)(e))}`,eventUrl:`${n}${s.replace("{{key}}",e)}`}:{apiDomain:r,searchUrl:`${r}/api/discover/v2`,eventUrl:`${r}/api/event/v4/publish`})(i,u,a,o[n]))}},d=e=>{if(e){let t=e.match(/^(\d+)-(\d+)$/);if(t)return[t[1],t[2]]}return null},f={apiDomain:"",apiKey:"",clientId:"",connector:"sitecore",customerKey:"",debug:!1,domainHash:"",domainId:"",env:"prod",eventUrl:"",orderCloudRegion:"usWest",publicSuffix:!1,searchUrl:"",tokenDomain:"",tokenUrl:"",trackConsent:!0,useAccessToken:!1,userId:null},p=e=>{f=((e,t)=>("useToken"in t&&void 0!==t.useToken&&i.Vy.warn('Parameter "useToken" has been deprecated'),t.customerKey)?c.build(e,t):u.build(e,t))(f,e)},h=e=>f[e],m=()=>f,y=e=>{f.trackConsent=e},v=()=>{let e=(0,n.z)({location:{hostname:""}}),{publicSuffix:t}=m();return t?e.location.hostname:e.location.hostname.split(".").reverse().splice(0,2).reverse().join(".")}},91844:(e,t,r)=>{"use strict";r.d(t,{A:()=>
130o});var n=r(14232),i=r(37876);function o(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(t,o){let a=n.createContext(o),s=r.length;r=[...r,o];let u=t=>{let{scope:r,children:o,...u}=t,l=r?.[e]?.[s]||a,c=n.useMemo(()=>u,Object.values(u));return(0,i.jsx)(l.Provider,{value:c,children:o})};return u.displayName=t+"Provider",[u,function(r,i){let u=i?.[e]?.[s]||a,l=n.useContext(u);if(l)return l;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(a,...t)]}},92809:(e,t,r)=>{"use strict";var n=r(99742);Object.defineProperty(t,"__esModule",{value:!0}),t.defineConfig=t.getFallbackConfig=void 0,t.deepMerge=s;let i=r(849),o=r(6602),a=r(282);function s(e,t){if(!t)return e;let r=Object.assign({},e);for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=e[n],o=t[n];void 0!==o&&""!==o&&("object"!=typeof o||null===o||Array.isArray(o)||Object.getPrototypeOf(o)!==Object.prototype?r[n]=o:r[n]=s(i,o))}return r}t.getFallbackConfig=()=>({api:{edge:{contextId:n.env.SITECORE_EDGE_CONTEXT_ID||"",clientContextId:"",edgeUrl:n.env.SITECORE_EDGE_URL||i.SITECORE_EDGE_URL_DEFAULT},local:{apiKey:n.env.SITECORE_API_KEY||n.env.NEXT_PUBLIC_SITECORE_API_KEY||"",apiHost:n.env.SITECORE_API_HOST||n.env.NEXT_PUBLIC_SITECORE_API_HOST||"",path:"/sitecore/api/graph/edge"}},editingSecret:n.env.SITECORE_EDITING_SECRET||"editing-secret-missing",retries:{count:3,retryStrategy:new o.DefaultRetryStrategy({statusCodes:[429,502,503,504,520,521,522,523,524]})},redirects:{enabled:!0,locales:["en"]},multisite:{enabled:!0,useCookieResolution:()=>!1},personalize:{enabled:!0,edgeTimeout:parseInt(n.env.PERSONALIZE_MIDDLEWARE_EDGE_TIMEOUT,10)||400,cdpTimeout:parseInt(n.env.PERSONALIZE_MIDDLEWARE_CDP_TIMEOUT,10)||400,scope:"",channel:"WEB",currency:"USD"},defaultSite:"",defaultLanguage:"en",layout:{formatLayoutQuery:null},dictionary:{caching:{enabled:!0,timeout:60}},disableCodeGeneration:!1});let u=e=>{var t,r,n,i,o,a,s,u;let l="undefined"!=typeof window,c=!!(null==(r=null==(t=e.api)?void 0:t.edge)?void 0:r.contextId),d=(null==(i=null==(n=e.api)?void 0:n.edge)||i.clientContextId,!!(null==(a=null==(o=e.api)?void 0:o.local)?void 0:a.apiHost)&&!!(null==(u=null==(s=e.api)?void 0:s.local)?void 0:u.apiKey));if(!l){if(!c&&!d)throw Error("Configuration error: provide either Edge contextId (api.edge.contextId) or local credentials (api.local.apiHost + api.local.apiKey).");return}},l={"api.edge.contextId":u,"api.local.apiKey":u};t.defineConfig=e=>{let r=((e,t)=>{let r=s(e,t);return(Number.isNaN(r.personalize.cdpTimeout)||!r.personalize.cdpTimeout)&&(r.personalize.cdpTimeout=e.personalize.cdpTimeout),(Number.isNaN(r.personalize.edgeTimeout)||!r.personalize.edgeTimeout)&&(r.personalize.edgeTimeout=e.personalize.edgeTimeout),r})((0,t.getFallbackConfig)(),e);return"true"===n.env[a.SITECORE_CLI_MODE_ENV_VAR]?(e=>{let t=new Set,r=(n,i="")=>new Proxy(n,{get(n,o,a){if("symbol"==typeof o)return Reflect.get(n,o,a);let s=i?`${i}.${o}`:o,u=Reflect.get(n,o,a);return(s in l&&!t.has(s)&&((0,l[s])(e),t.add(s)),"object"!=typeof u||null===u||Array.isArray(u))?u:r(u,s)}});return r(e)})(r):(u(r),r)}},92849:(e,t,r)=>{"use strict";e.exports=r(89161)},93194:(e,t,r)=>{"use strict";r.d(t,{MD:()=>i,VK:()=>a,_m:()=>o,a6:()=>c,aR:()=>s,dI:()=>u,fT:()=>d,i7:()=>f,xu:()=>l});var n=r(94587);function i(e){return o(e)||l(e)||d(e)}function o(e){return e.kind===n.b.OPERATION_DEFINITION||e.kind===n.b.FRAGMENT_DEFINITION}function a(e){return e.kind===n.b.FIELD||e.kind===n.b.FRAGMENT_SPREAD||e.kind===n.b.INLINE_FRAGMENT}function s(e){return e.kind===n.b.VARIABLE||e.kind===n.b.INT||e.kind===n.b.FLOAT||e.kind===n.b.STRING||e.kind===n.b.BOOLEAN||e.kind===n.b.NULL||e.kind===n.b.ENUM||e.kind===n.b.LIST||e.kind===n.b.OBJECT}function u(e){return e.kind===n.b.NAMED_TYPE||e.kind===n.b.LIST_TYPE||e.kind===n.b.NON_NULL_TYPE}function l(e){return e.kind===n.b.SCHEMA_DEFINITION||c(e)||e.kind===n.b.DIRECTIVE_DEFINITION}function c(e){return e.kind===n.b.SCALAR_TYPE_DEFINITION||e.kind===n.b.OBJECT_TYPE_DEFINITION||e.kind===n.b.INTERFACE_TYPE_DEFINITION||e.kind===n.b.UNION_TYPE_DEFINITION||e.kind===n.b.ENUM_TYPE_DEFINITION||e.kind===n.b.INPUT_OBJECT_TYPE_DEFINITION}function d(e){return e.kind===n.b.SCHEMA_EXTENSION||f(e)}function f(e){return e.kind===n.b.SCALAR_TYPE_EXTENSION||e.kind===n.b.OBJECT_TYPE_EXTENSION||e.kind===n.b.INTERFACE_TYPE_EXTENSION||e.kind===n.b.UNION_TYPE_EXTENSION||e.kind===n.b.ENUM_TYPE_EXTENSION||e.kind===n.b.INPUT_OBJECT_TYPE_EXTENSION}},93217:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
130dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultEditingError=void 0,t.withDatasourceCheck=function(e){return function(r){return function(n){var a,s;let{page:u}=(0,o.useSitecore)(),l=null!=(a=null==e?void 0:e.editingErrorComponent)?a:t.DefaultEditingError;return u.mode.isDesignLibrary||(null==(s=n.rendering)?void 0:s.dataSource)?i.default.createElement(r,Object.assign({},n)):u.mode.isEditing?i.default.createElement(l,null):null}}};let i=n(r(14232)),o=r(94082);t.DefaultEditingError=()=>i.default.createElement("div",{className:"sc-jss-editing-error",role:"alert"},"Datasource is required. Please choose a content item for this component.")},93622:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getContentSdkPagesClientData=t.resetEditorChromes=t.isEditorActive=t.PagesEditor=t.ChromeRediscoveryGlobalFunctionName=t.EDITING_ALLOWED_ORIGINS=t.PAGES_EDITING_MARKER=t.PREVIEW_KEY=t.INVALID_SECRET_HTML_MESSAGE=t.QUERY_PARAM_EDITING_SECRET=t.DEFAULT_PLACEHOLDER_UID=void 0;let i=n(r(12410));t.DEFAULT_PLACEHOLDER_UID="00000000-0000-0000-0000-000000000000",t.QUERY_PARAM_EDITING_SECRET="secret",t.INVALID_SECRET_HTML_MESSAGE="<html><body>Missing or invalid secret</body></html>",t.PREVIEW_KEY="sc_preview",t.PAGES_EDITING_MARKER="jss-hrz-editing",t.EDITING_ALLOWED_ORIGINS=["https://pages.sitecorecloud.io","https://xmapps.sitecorecloud.io","https://designlibrary.sitecorecloud.io"],t.ChromeRediscoveryGlobalFunctionName={name:"Sitecore.Horizon.ResetChromes"};class o{static isActive(){return!(0,i.default)()&&(window.location.search.indexOf("sc_headless_mode=edit")>-1||!!window.document.getElementById(t.PAGES_EDITING_MARKER))}static resetChromes(){!(0,i.default)()&&window[t.ChromeRediscoveryGlobalFunctionName.name]&&window[t.ChromeRediscoveryGlobalFunctionName.name]()}}t.PagesEditor=o,t.isEditorActive=()=>o.isActive(),t.resetEditorChromes=()=>{o.isActive()&&o.resetChromes()},t.getContentSdkPagesClientData=()=>{let e={};return e[t.PAGES_EDITING_MARKER]={},e}},93639:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(96503),i=r(14232),o=r(98741),a=r(63561),s=r(44825),u=r(53282),l=r(54587),c=r.n(l),d=r(60039),f=r(99742),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let h=(0,o.O)((0,a.N)(e=>{var{editable:t=!0,imageParams:r,field:o,mediaUrlPrefix:a,fill:u,priority:l}=e,h=p(e,["editable","imageParams","field","mediaUrlPrefix","fill","priority"]);let m=i.useContext(s.w_);if(h.src)throw Error("Detected src prop. If you wish to use src, use next/image directly.");if((0,d.JE)(o))return null;let y=o.src?o:o.value;if(!y)return null;let v=h.unoptimized||!m.page.mode.isNormal,g=Object.assign(Object.assign(Object.assign({},y),h),{fill:u,priority:l,src:n.k6(y.src,r,a),unoptimized:v}),b=Object.assign(Object.assign({},g),{src:n.Eu(g.src,a)});return(b.fill&&(delete b.width,delete b.height),g)?i.createElement(c(),Object.assign({alt:""},b,f.env.TEST?{"data-unoptimized":v}:{})):null},{defaultEmptyFieldEditingComponent:u.n}));h.displayName="NextImage"},93957:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},94053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EditingScripts=void 0;let i=n(r(14232)),o=r(94082),a=r(46395),s=r(46395);t.EditingScripts=()=>{var e;let{page:{mode:t,layout:r},api:n}=(0,o.useSitecore)(),{clientData:u,clientScripts:l}=r.sitecore.context;if(t.isNormal||t.isPreview)return i.default.createElement(i.default.Fragment,null);if(t.isDesignLibrary){let t=new Date,r=String(t.getUTCHours()).padStart(2,"0"),o=String(t.getUTCDate()).padStart(2,"0"),a=String(t.getUTCMonth()+1).padStart(2,"0"),u=String(t.getUTCFullYear()),l=`${r}-${o}-${a}-${u}`,c=`${(0,s.getDesignLibraryScriptLink)(null==(e=null==n?void 0:n.edge)?void 0:e.edgeUrl)}?cb=${l}`;return i.default.createElement(i.default.Fragment,null,i.default.createElement("script",{src:c,suppressHydrationWarning:!0}))}let c=Object.assign(Object.assign({},u),(0,a.getContentSdkPagesClientData)());return i.default.createElement(i.default.Fragment,null,null==l?void 0:l.map((e,t)=>i.default.createElement("script",{src:e,key:t})),Object.keys(c).map(e=>i.default.createElement("script",{key:e,id:e,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(c[e])}})))}},94082:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
130dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withSitecore=function(e){return function(t){return function(r){return i.default.createElement(o.SitecoreProviderReactContext.Consumer,null,n=>i.default.createElement(t,Object.assign({},r,{page:n.page,api:n.api,updatePage:e&&e.updatable&&n.setPage})))}}},t.useSitecore=function(e){let t=i.default.useContext(o.SitecoreProviderReactContext),r=null==e?void 0:e.updatable;return{api:t.api,page:t.page,updatePage:r?t.setPage:void 0}};let i=n(r(14232)),o=r(58252)},94587:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},95095:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AppPlaceholder=void 0;let i=r(74412),o=n(r(14232)),a=r(15821),s=n(r(12963)),u=r(51186),l=r(64183);t.AppPlaceholder=e=>{let{rendering:t,componentMap:r,page:n}=e,c=(0,i.getPlaceholderRenderings)(t,e.name,n.mode.isEditing),d=c.map((t,c)=>{let{component:d,isEmpty:f,componentType:p,dynamic:h}=(0,i.getComponentForRendering)(t,e.name,r,e.hiddenRenderingComponent,e.missingComponentComponent),m=t.uid||`component-${c}`,y=l.rsc?"server":"client",v=(0,i.getAppComponentProps)(e,t),g=e.modifyComponentProps?e.modifyComponentProps(v):v,b="client"===p&&l.rsc&&!f?o.default.createElement(u.ClientComponentWrapper,{rendering:t,componentProps:g,placeholderName:e.name,key:m}):o.default.createElement(d,Object.assign({key:m},g,{rendering:t,page:n,componentMap:r}));if(!f){let t=b.type+"-"+c,r=e.disableSuspense||!1;b=o.default.createElement(s.default,{"data-testid":"error-boundary",key:t,errorComponent:e.errorComponent,componentLoadingMessage:e.componentLoadingMessage,isDynamic:h,disableSuspense:r,rendering:b.props.rendering},b)}if(n.mode.isEditing){let e=t.uid||`component-${c}`;return o.default.createElement(a.PlaceholderMetadata,{key:e,rendering:t,componentRuntime:y},b)}return b}).filter(e=>e),f=n.mode.isEditing?[o.default.createElement(a.PlaceholderMetadata,{key:t.uid||"placeholder-metadata-root",placeholderName:e.name,rendering:t},d)]:d;if(!c.length){let t=e.renderEmpty?e.renderEmpty(f):f;return n.mode.isEditing?(0,i.renderEmptyPlaceholder)(t):t}if(e.render)return e.render(d,c,e);if(!e.renderEach)return f;{let t=e.renderEach;return f.map((e,r)=>e&&e.props&&"text/sitecore"===e.props.type?e:t(e,r))}}},95682:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>u});var n=r(99853),i=r(36898),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},95734:(e,t)=>{"use strict";
130Object.defineProperty(t,"__esModule",{value:!0}),t.yellow=t.green=t.cyan=t.blue=t.red=void 0;let r={BLUE:"\x1b[34m",CYAN:"\x1b[36m",GREEN:"\x1b[32m",RED:"\x1b[31m",RESET:"\x1b[0m",YELLOW:"\x1b[33m"};function n(){return"undefined"!=typeof window}function i(e,t){return n()&&navigator.userAgent.includes("Chrome")||!n()?`${e}${t}${r.RESET}`:t}t.red=function(e){return i(r.RED,e)},t.blue=function(e){return i(r.BLUE,e)},t.cyan=function(e){return i(r.CYAN,e)},t.green=function(e){return i(r.GREEN,e)},t.yellow=function(e){return i(r.YELLOW,e)}},96175:(e,t,r)=>{"use strict";r.d(t,{Y:()=>n});var n=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},96503:(e,t,r)=>{"use strict";r.d(t,{Eu:()=>a,k6:()=>s,tS:()=>u});var n=r(2544),i=r.n(n);let o=/\/([-~]{1})\/media\//i,a=(e,t=o)=>{let r=i()(e,{},!0),n=t.exec(r.pathname);return n&&n.length>1&&r.set("pathname",r.pathname.replace(t,`/${n[1]}/jssmedia/`)),r.toString()},s=(e,t,r=o)=>{if(!t||0===Object.keys(t).length)return e;"undefined"==typeof window||window.global||(window.global={});let n=i()(a(e,r),{},!0),s=(e=>{let{rev:t,db:r,la:n,vs:i,ts:o}=e;return{rev:t,db:r,la:n,vs:i,ts:o}})(n.query),u=Object.assign({},t);return Object.entries(s).forEach(([e,t])=>{t&&(u[e]=t)}),n.set("query",u),n.toString()},u=(e,t,r,n)=>t.map(t=>{let i=Object.assign(Object.assign({},r),t),o=i.w||i.mw;return o?`${s(e,i,n)} ${o}w`:null}).filter(e=>e).join(", ")},96822:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(14232),i=r(10714),o=r(81285),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[i,a]=n.useState(),u=n.useRef(null),l=n.useRef(e),c=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=s(u.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=u.current,r=l.current;if(r!==e){let n=c.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=s(u.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(f("ANIMATION_END"),!l.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=s(u.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{u.current=e?getComputedStyle(e):null,a(e)},[])}}(t),u="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),l=(0,i.s)(a.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof r||a.isPresent?n.cloneElement(u,{ref:l}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},97023:(e,t,r)=>{var n=r(64451),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},97189:(e,t,r)=>{"use strict";r.d(t,{E8:()=>n});class n{static getPageVariantId(e,t,r,n){let i=e.replace(/[{}-]/g,""),o=t.replace("-","_"),a=n?`${this.normalizeScope(n)}_`:"",s=r;return r&&"_default"!==r||(s="default"),`${a}${i}_${o}_${s}`.toLowerCase()}static getPageFriendlyId(e,t,r){let n=e.replace(/[{}
130-]/g,""),i=t.replace("-","_"),o=r?`${this.normalizeScope(r)}_`:"";return`embedded_${o}${n}_${i}`.toLowerCase()}static getComponentFriendlyId(e,t,r,n){let i=e.replace(/[{}-]/g,""),o=t.replace(/[{}-]/g,""),a=r.replace("-","_"),s=n?`${this.normalizeScope(n)}_`:"";return`component_${s}${i}_${o}_${a}*`.toLowerCase()}static normalizeScope(e){return(null==e?void 0:e.replace(/[^a-zA-Z0-9]+/g,""))||""}}},97555:(e,t,r)=>{"use strict";r.d(t,{t:()=>s});var n=r(29382),i=r(15154);let o=["online","offline"];class a extends n.Q{constructor(){super(),this.setup=e=>{if(!i.S$&&window.addEventListener){let t=()=>e();return o.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{o.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let s=new a},98157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineConfig=t.ComponentTemplateType=void 0;var n=r(6405);Object.defineProperty(t,"ComponentTemplateType",{enumerable:!0,get:function(){return n.ComponentTemplateType}});var i=r(92809);Object.defineProperty(t,"defineConfig",{enumerable:!0,get:function(){return i.defineConfig}})},98212:(e,t,r)=>{"use strict";r.d(t,{aX:()=>n});let n=e=>{let t=e.split("-");return 2===t.length&&t[1]||""}},98311:(e,t,r)=>{let n=r(80894),i={};for(let e of Object.keys(n))i[n[e]]=e;let o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(let t of(e.exports=o,Object.keys(o))){if(!("channels"in o[t]))throw Error("missing channels property: "+t);if(!("labels"in o[t]))throw Error("missing channel labels property: "+t);if(o[t].labels.length!==o[t].channels)throw Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=o[t];delete o[t].channels,delete o[t].labels,Object.defineProperty(o[t],"channels",{value:e}),Object.defineProperty(o[t],"labels",{value:r})}o.rgb.hsl=function(e){let t,r=e[0]/255,n=e[1]/255,i=e[2]/255,o=Math.min(r,n,i),a=Math.max(r,n,i),s=a-o;a===o?t=0:r===a?t=(n-i)/s:n===a?t=2+(i-r)/s:i===a&&(t=4+(r-n)/s),(t=Math.min(60*t,360))<0&&(t+=360);let u=(o+a)/2;return[t,100*(a===o?0:u<=.5?s/(a+o):s/(2-a-o)),100*u]},o.rgb.hsv=function(e){let t,r,n,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),d=function(e){return(l-e)/6/c+.5};return 0===c?(i=0,o=0):(o=c/l,t=d(a),r=d(s),n=d(u),a===l?i=n-r:s===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},o.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,n))*100,100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},o.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n);return[100*((1-t-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*i]},o.rgb.keyword=function(e){let t,r=i[e];if(r)return r;let o=1/0;for(let r of Object.keys(n)){let i=n[r],a=(e[0]-i[0])**2+(e[1]-i[1])**2+(e[2]-i[2])**2;a<o&&(o=a,t=r)}return t},o.keyword.rgb=function(e){return n[e]},o.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(r=r>.04045?((r+.055)/1.055)**2.4:r/12.92)+.1805*(n=n>.04045?((n+.055)/1.055)**2.4:n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},o.rgb.lab=function(e){let t=o.rgb.xyz(e),r=t[0],n=t[1],i=t[2];return r/=95.047,n/=100,i/=108.883,[116*(n=n>.008856?n**(1/3):7.787*n+16/116)-16,500*((r=r>.008856?r**(1/3):7.787*r+16/116)-n),200*(n-(i=i>.008856?i**(1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){let t,r,n,i=e[0]/360,o=e[1]/100,a=e[2]/100;if(0===o)return[n=255*a,n,n];t=a<.5?a*(1+o):a+o-a*o;let s=2*a-t,u=[0,0,0];for(let e=0;e<3;e++)(r=i+-(1/3*(e-1)))<0&&r++,r>1&&r--,n=6*r<1?s+(t-s)*6*r:2*r<1?t:3*r<2?s+(t-s)*(2/3-r)*6:s,u[e]=255*n;return u},o.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,i=r,o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=o<=1?o:2-o;let a=(n+r)/2;return[t,100*(0===n?2*i/(o+i):2*r/(n+r)),100*a]},o.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*o),u=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,u,a];case 1:return[s,n,a];case 2:return[a,n,u];case 3:return[a,s,n];case 4:return[u,a,n];case 5:return[n,a,s]}},o.hsv.hsl=function(e){let t,r,n=e[0],i=e[1]/100,o=e[2]/100,a=Math.max(o,.01);r=(2-i)*o;let s=(2-i)*a;return[n,100*(t=(t=i*a/(s<=1?s:2-s))||0),100*(r/=2)]},o.hwb.rgb=function(e){let t,r,n,i,o=e[0]/360,a=e[1]/100,s=e[2]/100,u=a+s;u>1&&(a/=u,s/=u);let l=Math.floor(6*o),c=1-s;t=6*o-l,(1&l)!=0&&(t=1-t);let d=a+t*(c-a);switch(l){default:case 6:case 0:r=c,n=d,i=a;break;case 1:r=d,n=c,i=a;break;case 2:r=a,n=c,i=d;break;case 3:r=a,n=d,i=c;break;case 4:r=d,n=a,i=c;break;case 5:r=c,n=a,i=d}return[255*r,255*n,255*i]},o.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},o.xyz.rgb=function(e){let t,r,n,i=e[0]/100,o=e[1]/100,a=e[2]/100;return t=(t=3.2406*i+-1.5372*o+-.4986*a)>
130.0031308?1.055*t**(1/2.4)-.055:12.92*t,r=(r=-.9689*i+1.8758*o+.0415*a)>.0031308?1.055*r**(1/2.4)-.055:12.92*r,n=(n=.0557*i+-.204*o+1.057*a)>.0031308?1.055*n**(1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},o.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];return t/=95.047,r/=100,n/=108.883,[116*(r=r>.008856?r**(1/3):7.787*r+16/116)-16,500*((t=t>.008856?t**(1/3):7.787*t+16/116)-r),200*(r-(n=n>.008856?n**(1/3):7.787*n+16/116))]},o.lab.xyz=function(e){let t,r,n,i=e[0],o=e[1],a=e[2];t=o/500+(r=(i+16)/116),n=r-a/200;let s=r**3,u=t**3,l=n**3;return r=(s>.008856?s:(r-16/116)/7.787)*100,[t=(u>.008856?u:(t-16/116)/7.787)*95.047,r,n=(l>.008856?l:(n-16/116)/7.787)*108.883]},o.lab.lch=function(e){let t,r=e[0],n=e[1],i=e[2];return(t=360*Math.atan2(i,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+i*i),t]},o.lch.lab=function(e){let t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},o.rgb.ansi16=function(e,t=null){let[r,n,i]=e,a=null===t?o.rgb.hsv(e)[2]:t;if(0===(a=Math.round(a/50)))return 30;let s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===a&&(s+=60),s},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];let r=(~~(e>50)+1)*.5;return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},o.ansi256.rgb=function(e){let t;if(e>=232){let t=(e-232)*10+8;return[t,t,t]}return[Math.floor((e-=16)/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){let t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map(e=>e+e).join(""));let n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},o.rgb.hcg=function(e){let t,r=e[0]/255,n=e[1]/255,i=e[2]/255,o=Math.max(Math.max(r,n),i),a=Math.min(Math.min(r,n),i),s=o-a;return t=s<1?a/(1-s):0,[360*((s<=0?0:o===r?(n-i)/s%6:o===n?2+(i-r)/s:4+(r-n)/s)/6%1),100*s,100*t]},o.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},o.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},o.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];let i=[0,0,0],o=t%1*6,a=o%1,s=1-a,u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]},o.hcg.hsv=function(e){let t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},o.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},o.hcg.hwb=function(e){let t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],(r-t)*100,(1-r)*100]},o.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,n=r-t,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},98462:(e,t,r)=>{"use strict";let n,i;r.d(t,{Ay:()=>ei});var o,a,s=r(14232),u=r(78639),l=r(23913),c=r(75243);class d{validateResponse(e,t){return e&&(e.errors||[]).length>0?e:null}processResponse(e,t){return e}}var f=r(91811),p=r(48915),h=r(49218),m=r(7060),y=r(79738);class v extends d{processResponse(e){return e.widgets?.forEach(({rfk_id:e,type:t,variation_id:r,used_in:n})=>{y.A.setMetadata(e,{rfkId:e,type:t,variationId:r,usedIn:n})}),e}}let g=!1,b=()=>{g||((()=>{let{trackConsent:e}=(0,f.Gc)();m.Ay.toggleTrackConsent(e),m.Ay.getContext().setBrowserUserAgent((0,u.z)({navigator:{userAgent:""}}).navigator.userAgent)})(),g=!0,m.Ay.getDispatcher().dispatch({type:h.A.INITIALIZE,payload:{options:{}}}))};var E=r(15154);let _=console;var O=r(68941),w=r(64650);class S{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,E.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:E.S$?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}
130class C extends S{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||_,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=(0,E.pl)(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(E.lQ).catch(E.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,E.j3)(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,n,i,o;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let a=(0,E.jY)(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};u(s);let l=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};u(c),null==(r=this.options.behavior)||r.onFetch(c),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=c.fetchOptions)?void 0:n.meta))&&this.dispatch({type:"fetch",meta:null==(o=c.fetchOptions)?void 0:o.meta});let d=e=>{if((0,w.wm)(e)&&e.silent||this.dispatch({type:"error",error:e}),!(0,w.wm)(e)){var t,r,n,i;null==(t=(r=this.cache.config).onError)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,w.II)({fn:c.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,r,n,i;if(void 0===e)return void d(Error(this.queryHash+" data is undefined"));this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){let t=t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:(0,w.v_)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if((0,w.wm)(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};
130return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),O.j.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}var T=r(29382);class R extends T.Q{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var n;let i=t.queryKey,o=null!=(n=t.queryHash)?n:(0,E.F$)(i,t),a=this.get(o);return a||(a=new C({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){O.j.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=(0,E.b_)(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>(0,E.MK)(r,e))}findAll(e,t){let[r]=(0,E.b_)(e,t);return Object.keys(r).length>0?this.queries.filter(e=>(0,E.MK)(r,e)):this.queries}notify(e){O.j.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){O.j.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){O.j.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class P extends S{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||_,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,r,n,i,o,a,s,u,l,c,d,f,p,h,m,y,v,g,b;let E=()=>{var e;return this.retryer=(0,w.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},_="loading"===this.state.status;try{if(!_){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(u=(l=this.mutationCache.config).onMutate)?void 0:u.call(l,this.state.variables,this));let e=await (null==(c=(d=this.options).onMutate)?void 0:c.call(d,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}let f=await E();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,f,this.state.variables,this.state.context,this)),await (null==(r=(n=this.options).onSuccess)?void 0:r.call(n,f,this.state.variables,this.state.context)),await (null==(i=(o=this.mutationCache.config).onSettled)?void 0:i.call(o,f,null,this.state.variables,this.state.context,this)),await (null==(a=(s=this.options).onSettled)?void 0:a.call(s,f,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:f}),f}catch(e){try{throw await (null==(f=(p=this.mutationCache.config).onError)?void 0:f.call(p,e,this.state.variables,this.state.context,this)),await (null==(h=(m=this.options).onError)?void 0:h.call(m,e,this.state.variables,this.state.context)),await (null==(y=(v=this.mutationCache.config).onSettled)?void 0:y.call(v,void 0,e,this.state.variables,this.state.context,this)),await (null==(g=(b=this.options).onSettled)?void 0:g.call(b,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){let t=t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,w.v_)(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
130sed:!1,status:"error"};case"setState":return{...t,...e.state}}};this.state=t(this.state),O.j.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}class A extends T.Q{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new P({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){O.j.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>(0,E.nJ)(e,t))}findAll(e){return this.mutations.filter(t=>(0,E.nJ)(e,t))}notify(e){O.j.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>
130e.state.isPaused);return O.j.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(E.lQ)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var I=r(1860),D=r(97555);function N(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class x{constructor(e={}){this.queryCache=e.queryCache||new R,this.mutationCache=e.mutationCache||new A,this.logger=e.logger||_,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=I.m.subscribe(()=>{I.m.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=D.t.subscribe(()=>{D.t.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[r]=(0,E.b_)(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}ensureQueryData(e,t,r){let n=(0,E.vh)(e,t,r),i=this.getQueryData(n.queryKey);return i?Promise.resolve(i):this.fetchQuery(n)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let n=this.queryCache.find(e),i=null==n?void 0:n.state.data,o=(0,E.Zw)(t,i);if(void 0===o)return;let a=(0,E.vh)(e),s=this.defaultQueryOptions(a);return this.queryCache.build(this,s).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return O.j.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=(0,E.b_)(e,t),n=this.queryCache;O.j.batch(()=>{n.findAll(r).forEach(e=>{n.remove(e)})})}resetQueries(e,t,r){let[n,i]=(0,E.b_)(e,t,r),o=this.queryCache,a={type:"active",...n};return O.j.batch(()=>(o.findAll(n).forEach(e=>{e.reset()}),this.refetchQueries(a,i)))}cancelQueries(e,t,r){let[n,i={}]=(0,E.b_)(e,t,r);return void 0===i.revert&&(i.revert=!0),Promise.all(O.j.batch(()=>this.queryCache.findAll(n).map(e=>e.cancel(i)))).then(E.lQ).catch(E.lQ)}invalidateQueries(e,t,r){let[n,i]=(0,E.b_)(e,t,r);return O.j.batch(()=>{var e,t;if(this.queryCache.findAll(n).forEach(e=>{e.invalidate()}),"none"===n.refetchType)return Promise.resolve();let r={...n,type:null!=(e=null!=(t=n.refetchType)?t:n.type)?e:"active"};return this.refetchQueries(r,i)})}refetchQueries(e,t,r){let[n,i]=(0,E.b_)(e,t,r),o=Promise.all(O.j.batch(()=>this.queryCache.findAll(n).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...i,cancelRefetch:null==(t=null==i?void 0:i.cancelRefetch)||t,meta:{refetchPage:n.refetchPage}})}))).then(E.lQ);return null!=i&&i.throwOnError||(o=o.catch(E.lQ)),o}fetchQuery(e,t,r){let n=(0,E.vh)(e,t,r),i=this.defaultQueryOptions(n);void 0===i.retry&&(i.retry=!1);let o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(E.lQ).catch(E.lQ)}fetchInfiniteQuery(e,t,r){let n=(0,E.vh)(e,t,r);return n.behavior={onFetch:e=>{e.fetchFn=()=>{var t,r,n,i,o,a,s,u;let l,c=null==(t=e.fetchOptions)||null==(r=t.meta)?void 0:r.refetchPage,d=null==(n=e.fetchOptions)||null==(i=n.meta)?void 0:i.fetchMore,f=null==d?void 0:d.pageParam,p=(null==d?void 0:d.direction)==="forward",h=(null==d?void 0:d.direction)==="backward",m=(null==(o=e.state.data)?void 0:o.pages)||[],y=(null==(a=e.state.data)?void 0:a.pageParams)||[],v=y,g=!1,b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),E=(e,t,r,n)=>(v=n?[t,...v]:[...v,t],n?[r,...e]:[...e,r]),_=(t,r,n,i)=>{if(g)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:n,meta:e.options.meta};return Object.defineProperty(o,"signal",{enumerable:!0,get:()=>{var t,r;return null!=(t=e.signal)&&t.aborted?g=!0:null==(r=e.signal)||r.addEventListener("abort",()=>{g=!0}),e.signal}}),Promise.resolve(b(o)).then(e=>E(t,n,e,i))};if(m.length)if(p){let t=void 0!==f,r=t?f:N(e.options,m);l=_(m,t,r)}else if(h){let t=void 0!==f,r=t?f:(s=e.options,u=m,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(u[0],u));l=_(m,t,r,!0)}else{v=[];let t=void 0===e.options.getNextPageParam;l=!c||!m[0]||c(m[0],0,m)?_([],t,y[0]):Promise.resolve(E([],y[0],m[0]));for(let r=1;r<m.length;r++)l=l.then(n=>{if(!c||!m[r]||c(m[r],r,m)){let i=t?y[r]:N(e.options,n);return _(n,t,i)}return Promise.resolve(E(n,y[r],m[r]))})}else l=_([]);return l.then(e=>({pages:e,pageParams:v}))}}},this.fetchQuery(n)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(E.lQ).catch(E.lQ)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>(0,E.Od)(e)===(0,E.Od)(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>(0,E.Cp)(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>(0,E.Od)(e)===(0,E.Od)(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>(0,E.Cp)(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,E.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}var j=r(85461);class k{constructor(){Object.defineProperty(this,"containerHandled",{enumerable:!0,configurable:!0,writable:!0,value:!1}),m.Ay.register(this)}handleAction(e){switch(e.type){case h.A.PAGE_CONTAINER_READY:this.containerHandled||(this.containerHandled=this.handlePageContainerReadyAction(e.payload));break;case h.A.FOUND_WIDGETS:{let{widgets:t=[]}=e.payload;t.forEach(({rfkId:e,entity:t,node:r})=>{this.handleAddWidget(e,t,r)})}}}handlePageContainerReadyAction(e){return!0}handleAddWidget(e,t,r){}}var M=r(9869);let L='[data-rfkid="rfkid_container"]',F={start:()=>{if(n)return;let e=document.querySelector(L);(n=new MutationObserver(t=>{let r=[];t.forEach(t=>
130{t.addedNodes.forEach(t=>{let n=t.dataset.rfkid,i=t.dataset.entity;t.nodeType===Node.ELEMENT_NODE&&(!e||!e.contains(t))&&n&&i&&r.push({rfkId:n,entity:i,node:t})})}),Object.keys(r).length>0&&m.Ay.getDispatcher().dispatch({type:h.A.FOUND_WIDGETS,payload:{widgets:r}})})).observe(document.body,{subtree:!0,childList:!0,characterData:!0})}};var V=r(50316);let U={keyphrase:(e,t)=>t.keyphrase&&e.setSearchQueryKeyphrase(t.keyphrase),suggestionsList:(e,t)=>t.suggestionsList&&e.setSearchSuggestion(t.suggestionsList.map(({suggestion:e,max:t=3})=>({name:e,max:t}))),itemsPerPage:(e,t)=>e.setSearchLimit(t.itemsPerPage)};var q=r(74019);let B={onItemClick:q.E.ITEM_CLICKED,onSuggestionClick:q.E.SUGGESTION_CLICKED,onSuggestionAdded:q.E.SUGGESTION_ADDED,onSuggestionRemoved:q.E.SUGGESTION_REMOVED,onKeyphraseChange:q.E.KEYPHRASE_CHANGED},G={itemsPerPage:(e,t)=>e.setRecommendationsLimit(t.itemsPerPage)};!function(e){e.ITEM_CLICKED="recommendation/ITEM_CLICKED",e.NAVIGATION_NEXT="recommendation/NAVIGATION_NEXT",e.NAVIGATION_PREV="recommendation/NAVIGATION_PREV"}(o=o||(o={}));let Q={onNavigationNext:o.NAVIGATION_NEXT,onNavigationPrev:o.NAVIGATION_PREV,onItemClick:o.ITEM_CLICKED},z={keyphrase:(e,t)=>t.keyphrase&&e.setQuestionsKeyphrase(t.keyphrase),relatedQuestions:(e,t)=>t.relatedQuestions&&e.setQuestionsRelatedQuestionsLimit(t.relatedQuestions)};(a=a||(a={})).KEYPHRASE_CHANGED="questions/KEYPHRASE_CHANGED";let $={onKeyphraseChanged:a.KEYPHRASE_CHANGED},H={keyphrase:(e,t)=>t.keyphrase&&e.setSearchQueryKeyphrase(t.keyphrase),page:(e,t)=>e.setSearchOffset((t.itemsPerPage??e.getSearchLimit())*((t.page??1)-1)||0),itemsPerPage:(e,t)=>e.setSearchLimit(t.itemsPerPage),sortType:(e,t)=>e.setSearchSortCriteriaName(t.sortType)};var K=r(76537);let Y={onKeyphraseChange:K.E.KEYPHRASE_CHANGED,onClearFilters:K.E.CLEAR_FILTERS,onResultsPerPageChange:K.E.RESULTS_PER_PAGE_CHANGED,onPageNumberChange:K.E.PAGE_NUMBER_CHANGED,onItemClick:K.E.ITEM_CLICKED,onSortChange:K.E.SORT_CHANGED,onFacetClick:K.E.FACET_CLICKED,onFilterClick:K.E.FILTER_CLICKED,onRemoveFilter:K.E.REMOVE_FILTER};var W=r(7820),J=r(3773);let X={component:W.A,options:{state:{}}},Z=(e,t)=>((e,t)=>{l.Vy.debug("setWidgetType",`Type: ${e}`,`Mapping: ${JSON.stringify(t)}`),y.A.setWidgetType(e,t)})(e,t);class ee{constructor(){Object.defineProperty(this,"widgets",{enumerable:!0,configurable:!0,writable:!0,value:{}})}getWidgetComponentConfig(e,t){let r=y.A.get(e,t);if(r&&r.type&&r.component)return r}getWidget(e,t){if(!this.widgets[e]){let r=this.getWidgetComponentConfig(e,t);r&&(this.widgets[e]=this.doSetup({...r,entity:t},e))}return this.widgets[e]}setup(e,t){return this.getWidget(e,t)}}let et=ee;var er=r(87494);class en extends et{doSetup({type:e,entity:t,component:r}){return(0,er.HL)(r,e,t)}}let ei=({apiKey:e,children:t,clientId:r,customerKey:n,debug:o,discoverDomainId:a,env:u="prod",orderCloudRegion:l,publicSuffix:y=!1,requestMiddleware:g,serviceHost:E,trackConsent:_=!0,uri:O,useAccessToken:w,useStorage:S,useToken:C,userId:T,...R})=>((0,s.useMemo)(()=>{((e,{processor:t=new d}={})=>{(0,f.Nk)(e);let{useStorage:r=!1}=e;p.A.init(r),t&&c.A.setProcessor(t)})({apiKey:e,clientId:r,customerKey:n,debug:o,discoverDomainId:a,env:u,orderCloudRegion:l,publicSuffix:y,requestMiddleware:g,serviceHost:E,trackConsent:_,useAccessToken:w,useStorage:S,useToken:C,userId:T},{processor:new v}),((...e)=>{Z(V.b.CONTENT_BLOCK,X),Z(V.b.HTML_BLOCK,X),Z(V.b.BANNER,X),Z(V.b.SEO,{...X,component:J.A}),Z(V.b.PREVIEW_SEARCH,{options:{propStateMapping:U,actionProps:B,state:{}}}),Z(V.b.RECOMMENDATION,{options:{propStateMapping:G,actionProps:Q,state:{}}}),Z(V.b.QUESTIONS,{options:{propStateMapping:z,actionProps:$,state:{}}}),Z(V.b.SEARCH_RESULTS,{options:{propStateMapping:H,actionProps:Y,state:{selectedFacets:{},page:1}}}),new k,new en,(e=>{let{autoIncludeNewWidgets:t=!1,autoIncludeWidgets:r=!0,uri:n}=e||{};if((0,M.f)()){n&&m.Ay.getContext().setPageUri(n),b();return}if(m.Ay.getContext().setPageUri(n||window.location.pathname),t&&F.start(),r){let e=Array.from(document.querySelectorAll(`:not(${L}) > [data-rfkid]:not(${L})`)).filter((e,t,r)=>r.indexOf(e)===t).map(e=>
130({rfkId:e.dataset.rfkid,entity:e.dataset.entity,node:e}));e.length&&setTimeout(()=>{m.Ay.getDispatcher().dispatch({type:h.A.FOUND_WIDGETS,payload:{widgets:e}})},0)}b()})(...e)})({uri:O,autoIncludeWidgets:!1,autoIncludeNewWidgets:!1})},[]),(0,s.useEffect)(()=>{m.Ay.toggleTrackConsent(_)},[_]),(0,s.createElement)(j.Ht,{...R,client:(e=>(!i&&e?i=e:i||(i=new x({defaultOptions:{queries:{retry:!1,keepPreviousData:!0,refetchOnWindowFocus:!1}}})),i))(R.client)},t))},98646:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.withEmptyFieldEditingComponent=function(e,t){let r=e=>{var r;let{editable:n=!0}=e;if((null==(r=e.field)?void 0:r.metadata)&&n&&(0,u.isFieldValueEmpty)(e.field)){let r=e.emptyFieldEditingComponent||t.defaultEmptyFieldEditingComponent,n=e;return e.emptyFieldEditingComponent||(n=Object.assign(Object.assign({},e),{editable:void 0,field:void 0})),s.default.createElement(r,Object.assign({},n,{suppressHydrationWarning:!0}))}return null};return t.isForwardRef?(0,s.forwardRef)((t,n)=>r(t)||s.default.createElement(e,Object.assign({},t,{ref:n}))):t=>r(t)||s.default.createElement(e,Object.assign({},t))};let s=a(r(14232)),u=r(85917)},98741:(e,t,r)=>{"use strict";r.d(t,{O:()=>a});var n=r(14232),i=r(9900);let o=e=>{let t=JSON.stringify(e.metadata),r={type:"text/sitecore",chrometype:"field",className:"scpm"},o=Object.assign(Object.assign({},r),{kind:i.mV.Open}),a=Object.assign(Object.assign({},r),{kind:i.mV.Close});return n.createElement(n.Fragment,null,n.createElement("code",Object.assign({},o),t),e.children,n.createElement("code",Object.assign({},a)))};function a(e,t=!1){return t?(0,n.forwardRef)((t,r)=>{var i;let{editable:a=!0}=t,s=null==(i=t.field)?void 0:i.metadata;return s&&a?n.createElement(o,{metadata:s},n.createElement(e,Object.assign({},t,{ref:r}))):n.createElement(e,Object.assign({},t,{ref:r}))}):t=>{var r;let{editable:i=!0}=t,a=null==(r=t.field)?void 0:r.metadata;return a&&i?n.createElement(o,{metadata:a},n.createElement(e,Object.assign({},t))):n.createElement(e,Object.assign({},t))}}o.displayName="FieldMetadata"},98825:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},98987:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DictionaryService=t.queryError=void 0;let i=r(862),o=r(36681),a=n(r(3107));t.queryError="Valid value for rootItemId not provided and failed to auto-resolve app root item.";let s=`
131  query DictionarySiteQuery(
132    $siteName: String!
133    $language: String!
134    $pageSize: Int = 500
135    $after: String
136  ) {
137    site {
138      siteInfo(site: $siteName) {
139        dictionary(language: $language, first: $pageSize, after: $after) {
140          pageInfo {
141            endCursor
142            hasNext
143          }
144          results {
145            key
146            value
147          }
148        }
149      }
150    }
151  }
152`;class u{constructor(e){this.options=e,this.cache=this.getCacheClient(),this.graphQLClient=this.getGraphQLClient()}async fetchDictionaryData(e,t,r){var n,i;let u=t+e,l=this.getCacheValue(u);if(l)return a.default.dictionary("using cached dictionary data for %s %s",e,t),l;let c={};a.default.dictionary("fetching dictionary data for %s %s",e,t);let d=[],f=!0,p="";if(!t)throw RangeError(o.siteNameError);if(!e)throw RangeError(o.languageError);for(;f;){let o=await this.graphQLClient.request(s,{siteName:t,language:e,pageSize:this.options.pageSize,after:p},r);(null==(i=null==(n=null==o?void 0:o.site)?void 0:n.siteInfo)?void 0:i.dictionary)?(d=d.concat(o.site.siteInfo.dictionary.results),p=o.site.siteInfo.dictionary.pageInfo.endCursor,f=o.site.siteInfo.dictionary.pageInfo.hasNext):f=!1}
152return d.forEach(e=>c[e.key]=e.value),this.setCacheValue(u,c),c}setCacheValue(e,t){return this.cache.setCacheValue(e,t)}getCacheValue(e){return this.cache.getCacheValue(e)}getCacheClient(){return new i.MemoryCacheClient(this.options)}getGraphQLClient(){var e,t;if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:a.default.dictionary,retries:null==(e=this.options.retries)?void 0:e.count,retryStrategy:null==(t=this.options.retries)?void 0:t.retryStrategy})}}t.DictionaryService=u},99428:(e,t,r)=>{"use strict";var n=r(99742);r(72552);var i=r(14232),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),a=void 0!==n&&n.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,o=void 0===i?a:i;l(s(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",l("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var u=document.querySelector('meta[property="csp-nonce"]');this._nonce=u?u.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){l("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(l(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(l(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];l(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];l(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
152h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&l(s(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function l(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function f(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return d[n]||(d[n]="jsx-"+c(e+"-"+r)),d[n]}function p(e,t){var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var h=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=n||new u({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),n&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=o,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=f(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:f(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var y=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new h;function g(e){var t=v||i.useContext(m);return t&&y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}g.dynamic=function(e){return e.map(function(e){return f(e[0],e[1])}).join(" ")},t.style=g},99514:(e,t,r)=>{"use strict";r.d(t,{f:()=>s});var n=r(14232),i=r(60039),o=r(9900),a=r(67271);let s=({rendering:e,placeholderName:t,children:r,componentRuntime:s})=>{let u=({kind:t,id:r,placeholderName:n})=>{var u;let l=n?"placeholder":"rendering",c={type:"text/sitecore",chrometype:l,className:"scpm",kind:t};
152if(t===o.mV.Open){if("placeholder"===l&&n){let t="";for(let o of Object.keys(null!=(u=e.placeholders)?u:{})){if(n===o){t=r?`${n}_${r}`:`${n}_${a.fF}`;break}if((0,i.Np)(o)&&(0,i.jz)(o).test(n)){t=r?`${o}_${r}`:`${o}_${a.fF}`;break}}c.id=t}else c.id=r;"rendering"===l&&s&&(c["data-csdk-component-runtime"]=s)}return c};return n.createElement(n.Fragment,null,n.createElement("code",Object.assign({},u({kind:o.mV.Open,id:e.uid,placeholderName:t}))),r,n.createElement("code",Object.assign({},u({kind:o.mV.Close,placeholderName:t}))))}},99624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isShortISODateString=void 0,t.isShortISODateString=function(e){try{return new Date(e+"Z").toISOString().substring(0,16)===e}catch(e){return!1}}},99828:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},99853:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}}}]);

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.