1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,929161,e=>{"use strict";var t,r,i,n,o=Object.defineProperty,s=(e,t,r)=>{let i;return(i="symbol"!=typeof t?t+"":t)in e?o(e,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[i]=r};let a=((t={}).DOCUMENT="doc",t.HEADING="heading",t.PARAGRAPH="paragraph",t.QUOTE="blockquote",t.OL_LIST="ordered_list",t.UL_LIST="bullet_list",t.LIST_ITEM="list_item",t.CODE_BLOCK="code_block",t.HR="horizontal_rule",t.BR="hard_break",t.IMAGE="image",t.EMOJI="emoji",t.COMPONENT="blok",t.TABLE="table",t.TABLE_ROW="tableRow",t.TABLE_CELL="tableCell",t.TABLE_HEADER="tableHeader",t),l=((r={}).BOLD="bold",r.STRONG="strong",r.STRIKE="strike",r.UNDERLINE="underline",r.ITALIC="italic",r.CODE="code",r.LINK="link",r.ANCHOR="anchor",r.STYLED="styled",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.TEXT_STYLE="textStyle",r.HIGHLIGHT="highlight",r),u=((i={}).TEXT="text",i),h=((n={}).URL="url",n.STORY="story",n.ASSET="asset",n.EMAIL="email",n),f=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function c(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}let p=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t));function d(e,t={},r){let i=((e={})=>{let{custom:t,...r}=e,i={...r,...t};return Object.keys(i).map(e=>`${e}="${i[e]}"`).join(" ")})(t),n=i?`${e} ${i}`:e,o=Array.isArray(r)?r.join(""):r||"";return e?f.includes(e)?`<${n}>`:`<${n}>${o}</${e}>`:o}function y(e={}){let t=new Map,{renderFn:r=d,textFn:i=c,resolvers:n={},optimizeImages:o=!1,keyedResolvers:s=!1}=e,f=r!==d,g=(e={})=>{let{textAlign:t,class:r,id:i,style:n,...o}=e,s=[];return n&&s.push(n.endsWith(";")?n:`${n};`),t&&s.push(`text-align: ${t};`),p({...o,class:r,id:i,...s.length>0?{style:s.join(" ")}:{}})},m=e=>(t,r)=>{let i=g(t.attrs);return r.render(e,i,t.children||null)},v=(e,t=!1)=>({text:r,attrs:i},n)=>{let{class:o,id:s,...a}=i||{},l=t?{class:o,id:s,style:((e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; "))(a)||void 0}:i||{};return n.render(e,p(l),r)},b=(e,t)=>{let{linktype:r,href:i,anchor:n,...o}=e.attrs||{},s="";switch(r){case h.ASSET:case h.URL:s=i;break;case h.EMAIL:s=`mailto:${i}`;break;case h.STORY:s=i,n&&(s=`${s}#${n}`);break;default:s=i}let a={...o};return s&&(a.href=s),t.render("a",a,e.text)},w=new Map([[a.DOCUMENT,m("")],[a.HEADING,(e,t)=>{let{level:r,...i}=e.attrs||{},n=g(i);return t.render(`h${r}`,n,e.children)}],[a.PARAGRAPH,m("p")],[a.UL_LIST,m("ul")],[a.OL_LIST,m("ol")],[a.LIST_ITEM,m("li")],[a.IMAGE,(e,t)=>{let{src:r,alt:i,title:n,srcset:s,sizes:a}=e.attrs||{},l=r,u={};if(o){let{src:e,attrs:t}=function(e,t){if(!t)return{src:e,attrs:{}};let r=0,i=0,n={},o=[];function s(e,t,r,i,n){"number"!=typeof e||e<=t||e>=r?console.warn(`[StoryblokRichText] - ${i.charAt(0).toUpperCase()+i.slice(1)} value must be a number between ${t} and ${r} (inclusive)`):n.push(`${i}(${e})`)}if("object"==typeof t){if(void 0!==t.width&&("number"==typeof t.width&&t.width>=0?(n.width=t.width,r=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than or equal to 0")),void 0!==t.height&&("number"==typeof t.height&&t.height>=0?(n.height=t.height,i=t.height):console.warn("[StoryblokRichText] - Height value must be a number greater than or equal to 0")),0===t.height&&0===t.width&&(delete n.width,delete n.height,console.warn("[StoryblokRichText] - Width and height values cannot both be 0")),t.loading&&["lazy","eager"].includes(t.loading)&&(n.loading=t.loading),t.class&&(n.class=t.class),t.filters){let{filters:e}=t||{},{blur:r,brightness:i,fill:n,format:a,grayscale:l,quality:u,rotate:h}=e||{};r&&s(r,0,100,"blur",o),u&&s(u,0,100,"quality",o),i&&s(i,0,100,"brightness",o),n&&o.push(`fill(${n})`),l&&o.push("grayscale()"),h&&[0,90,180,270].includes(t.filters.rotate||0)&&o.push(`rotate(${h})`),a&&["webp","png","jpeg"].includes(a)&&o.push(`format(${a})`)}t.srcset&&(n.srcset=t.srcset.map(t=>{if("number"==typeof t)return`${e}/m/${t}x0/${o.length>0?`filters:${o.join(":")}`:""} ${t}w`;if(!Array.isArray(t)||2!==t.length)return void console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers");{let[r,i]=t;return`${e}/m/${r}x${i}/${o.length>0?`filters:${o.join(":")}`:""} ${r}w`}}).join(", ")),t.sizes&&(n.sizes=t.sizes.join(", "))}let a=`${e}/m/`;return(r>0||i>0)&&(a=`${a}${r}x${i}/`),o.length>0&&(a=`${a}filters:${o.join(":")}`),{src:a,attrs:n}}(r,o);l=e,u=t}let h={src:l,alt:i,title:n,srcset:s,sizes:a,...u};
1return t.render("img",p(h))}],[a.EMOJI,(e,t)=>{var r,i,n,o;let s=t.render("img",{src:null==(r=e.attrs)?void 0:r.fallbackImage,alt:null==(i=e.attrs)?void 0:i.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"});return t.render("span",{"data-type":"emoji","data-name":null==(n=e.attrs)?void 0:n.name,"data-emoji":null==(o=e.attrs)?void 0:o.emoji},s)}],[a.CODE_BLOCK,(e,t)=>t.render("pre",e.attrs||{},t.render("code",{},e.children||""))],[a.HR,m("hr")],[a.BR,m("br")],[a.QUOTE,m("blockquote")],[a.COMPONENT,(e,t)=>{var r,i;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),t.render("span",{blok:null==(r=null==e?void 0:e.attrs)?void 0:r.body[0],id:null==(i=e.attrs)?void 0:i.id,style:"display: none"})}],[u.TEXT,e=>{let{marks:r,...n}=e;if("text"in e){if(r)return r.reduce((e,t)=>k({...t,text:e}),k({...n,children:n.children}));let o=e.attrs||{};if(s){let e=t.get("txt")||0;t.set("txt",e+1),o.key=`txt-${e}`}return i(n.text,o)}return""}],[l.LINK,b],[l.ANCHOR,b],[l.STYLED,v("span",!0)],[l.BOLD,v("strong")],[l.TEXT_STYLE,v("span",!0)],[l.ITALIC,v("em")],[l.UNDERLINE,v("u")],[l.STRIKE,v("s")],[l.CODE,v("code")],[l.SUPERSCRIPT,v("sup")],[l.SUBSCRIPT,v("sub")],[l.HIGHLIGHT,v("mark")],[a.TABLE,(e,t)=>{let r=g(e.attrs),i=e.children||null;return t.render("table",r,t.render("tbody",{},i))}],[a.TABLE_ROW,(e,t)=>{let r=g(e.attrs);return t.render("tr",r,e.children)}],[a.TABLE_CELL,(e,t)=>{let{colspan:r,rowspan:i,colwidth:n,backgroundColor:o,textAlign:s,...a}=e.attrs||{},l=[];n&&l.push(`width: ${n}px;`),o&&l.push(`background-color: ${o};`),s&&l.push(`text-align: ${s};`);let u={...a,...r>1?{colspan:r}:{},...i>1?{rowspan:i}:{},...l.length>0?{style:l.join(" ")}:{}};return t.render("td",p(u),e.children)}],[a.TABLE_HEADER,(e,t)=>{let{colspan:r,rowspan:i,colwidth:n,backgroundColor:o,textAlign:s,...a}=e.attrs||{},l=[];n&&l.push(`width: ${n}px;`),o&&l.push(`background-color: ${o};`),s&&l.push(`text-align: ${s};`);let u={...a,...r>1?{colspan:r}:{},...i>1?{rowspan:i}:{},...l.length>0?{style:l.join(" ")}:{}};return t.render("th",p(u),e.children)}]]),E=new Map([...w,...Object.entries(n).map(([e,t])=>[e,t])]);function A(e){let i=E.get(e.type);if(!i)return console.error("<Storyblok>",`No resolver found for node type ${e.type}`),"";let n={render:(e,i={},n)=>{if(s&&e){let r=t.get(e)||0;t.set(e,r+1),i.key=`${e}-${r}`}return r(e,i,n)},originalResolvers:w,mergedResolvers:E};if("text"===e.type)return i(e,n);let o=e.content?e.content.map(k):void 0;return i({...e,children:o},n)}function k(e){return"doc"===e.type?f?e.content.map(A):e.content.map(A).join(""):Array.isArray(e)?e.map(A):A(e)}return{render:k}}let g=!1,m=[],v=e=>new Promise((t,r)=>{if(typeof window>"u")return void r(Error("Cannot load Storyblok bridge: window is undefined (server-side environment)"));if(window.storyblokRegisterEvent=e=>{window.location.search.includes("_storyblok")?g?e():m.push(e):console.warn("You are not in Draft Mode or in the Visual Editor.")},document.getElementById("storyblok-javascript-bridge"))return void t(void 0);let i=document.createElement("script");i.async=!0,i.src=e,i.id="storyblok-javascript-bridge",i.onerror=e=>r(e),i.onload=e=>{m.forEach(e=>e()),g=!0,t(e)},document.getElementsByTagName("head")[0].appendChild(i)}),b=async(e,t)=>Promise.all(e.map(t)),w=(e,t,r)=>{let i=[];for(let n in e){let o;if(!Object.prototype.hasOwnProperty.call(e,n))continue;let s=e[n];if(null==s)continue;let a=r?"":encodeURIComponent(n);o="object"==typeof s?w(s,t?t+encodeURIComponent(`[${a}]`):a,Array.isArray(s)):`${t?t+encodeURIComponent(`[${a}]`):a}=${encodeURIComponent(s)}`,i.push(o)}return i.join("&")},E=e=>{let t={eu:"api.storyblok.com",us:"api-us.storyblok.com",cn:"app.storyblokchina.cn",ap:"api-ap.storyblok.com",ca:"api-ca.storyblok.com"};return t[e]??t.eu};var A=class{constructor(e){s(this,"baseURL"),s(this,"timeout"),s(this,"headers"),s(this,"responseInterceptor"),s(this,"fetch"),s(this,"ejectInterceptor"),s(this,"url"),s(this,"parameters"),s(this,"fetchOptions"),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=null!=e&&e.timeout?1e3*e.timeout:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler("delete")}async _responseHandler(e){let t=[],r={data:{},headers:{},status:0,statusText:""};for(let i of(204!==e.status&&await e.json().then(e=>{r.data=e}),e.headers.entries()))t[i[0]]=i[1];return r.headers={...t},r.status=e.status,r.statusText=e.statusText,r}async _methodHandler(e){let t=`${this.baseURL}
1${this.url}`,r=null;"get"===e?t=`${this.baseURL}${this.url}?${w(this.parameters)}`:r=JSON.stringify(this.parameters);let i=new URL(t),n=new AbortController,{signal:o}=n,s=null;this.timeout&&(s=setTimeout(()=>n.abort(),this.timeout));try{let t=await this.fetch(`${i}`,{method:e,headers:this.headers,body:r,signal:o,...this.fetchOptions});this.timeout&&s&&clearTimeout(s);let n=await this._responseHandler(t);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(n)):this._statusHandler(n)}catch(e){return"AbortError"===e.name?{message:"Request timeout: The request was aborted due to timeout"}:{message:e.message||e.toString()||"An unknown error occurred"}}}setFetchOptions(e={}){Object.keys(e).length>0&&"method"in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_normalizeErrorMessage(e){if(Array.isArray(e))return e[0]||"Unknown error";if(e&&"object"==typeof e){if(e.error)return e.error;for(let t in e){if(Array.isArray(e[t]))return`${t}: ${e[t][0]}`;if("string"==typeof e[t])return`${t}: ${e[t]}`}if(e.slug)return e.slug}return"Unknown error"}_statusHandler(e){let t=/20[0-6]/g;return new Promise((r,i)=>{if(t.test(`${e.status}`))return r(e);i({message:this._normalizeErrorMessage(e.data),status:e.status,response:e})})}};let k="SB-Agent";function T(e,t,r={},i){var n;let o,s;return void 0!==r.userRateLimit?Math.min(r.userRateLimit,1e3):void 0!==r.serverHeadersRateLimit?Math.min(r.serverHeadersRateLimit,1e3):void 0!==i?i:t&&"draft"!==t.version?1e3:(o=e.includes("/cdn/stories/"),s=e.split("/").length>3&&!e.endsWith("/cdn/stories"),o&&s||"find_by"in t)?50:(n=t.per_page||25)<=25?50:n<=50?15:n<=75?10:6}var R=class extends Error{constructor(e){super(e),this.name="AbortError"}},L=function(e,t,r){if(!Number.isFinite(t))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(r))throw TypeError("Expected `interval` to be a finite number");let i=[],n=[],o=0,s=!1,a=async()=>{o++;let t=i.shift();if(t)try{let r=await e(...t.args);t.resolve(r)}catch(e){t.reject(e)}let s=setTimeout(()=>{o--,i.length>0&&a(),n=n.filter(e=>e!==s)},r);n.includes(s)||n.push(s)},l=(...e)=>s?Promise.reject(Error("Throttled function is already aborted and not accepting new promises")):new Promise((r,n)=>{i.push({resolve:r,reject:n,args:e}),o<t&&a()});return l.abort=()=>{s=!0,n.forEach(clearTimeout),n=[],i.forEach(e=>e.reject(()=>new R("Throttle function aborted"))),i.length=0},l},S=class{constructor(e,t=1e3){s(this,"queues"),s(this,"interval"),s(this,"throttledRequestFn"),this.queues=new Map,this.interval=t,this.throttledRequestFn=e}getQueue(e){let t=this.queues.get(e);return t||(t=L(this.throttledRequestFn,e,this.interval),this.queues.set(e,t)),t}execute(e,...t){return this.getQueue(e)(...t)}
1abortAll(){this.queues.forEach(e=>{var t;null==(t=e.abort)||t.call(e)}),this.queues.clear()}getQueueCount(){return this.queues.size}};let I={},x={};var B=class{constructor(e,t){s(this,"client"),s(this,"maxRetries"),s(this,"retriesDelay"),s(this,"throttleManager"),s(this,"accessToken"),s(this,"cache"),s(this,"resolveCounter"),s(this,"relations"),s(this,"links"),s(this,"version"),s(this,"rateLimitConfig"),s(this,"richTextResolver"),s(this,"resolveNestedRelations"),s(this,"stringifiedStoriesCache"),s(this,"inlineAssets");let r=e.endpoint||t;if(!r){const t=!1===e.https?"http":"https";r=e.oauthToken?`${t}://${E(e.region)}/v1`:`${t}://${E(e.region)}/v2`}const i=new Headers;i.set("Content-Type","application/json"),i.set("Accept","application/json"),e.headers&&("Headers"===e.headers.constructor.name?e.headers.entries().toArray():Object.entries(e.headers)).forEach(([e,t])=>{i.set(e,t)}),i.has(k)||(i.set(k,"SB-JS-CLIENT"),i.set("SB-Agent-Version","7.0.0")),e.oauthToken&&i.set("Authorization",e.oauthToken),this.rateLimitConfig=function(e,t=!1){return{userRateLimit:e,serverHeadersRateLimit:void 0,isManagementApi:t}}(e.rateLimit,!!e.oauthToken),this.maxRetries=e.maxRetries||10,this.retriesDelay=300,this.throttleManager=new S(this.throttledRequest.bind(this),1e3),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.version=e.version||"published",this.inlineAssets=e.inlineAssets||!1,this.client=new A({baseURL:r,timeout:e.timeout||0,headers:i,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}parseParams(e){return e.token||(e.token=this.getToken()),e.cv||(e.cv=x[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),"u">typeof e.resolve_relations&&(e.resolve_level=2),e}factoryParamOptions(e,t){return((e="")=>e.includes("/cdn/"))(e)?this.parseParams(t):t}
1makeRequest(e,t,r,i,n){let o=this.factoryParamOptions(e,((e,t=25,r=1)=>({...e,per_page:t,page:r}))(t,r,i));return this.cacheResponse(e,o,void 0,n)}get(e,t={},r){t||(t={});let i=`/${e}`;((e="")=>e.includes("/cdn/"))(i)&&(t.version=t.version||this.version);let n=this.factoryParamOptions(i,t);return this.cacheResponse(i,n,void 0,r)}async getAll(e,t={},r,i){let n=(null==t?void 0:t.per_page)||25,o=`/${e}`.replace(/\/$/,""),s=r??o.substring(o.lastIndexOf("/")+1);t.version=t.version||this.version;let a=await this.makeRequest(o,t,n,1,i),l=a.total?Math.ceil(a.total/(a.perPage||n)):1;return((e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[]))([a,...await b(((e=0,t=e)=>{let r=Math.abs(t-e)||0,i=e<t?1:-1;return((e=0,t)=>Array.from({length:e},t))(r,(t,r)=>r*i+e)})(1,l),e=>this.makeRequest(o,t,n,e+1,i))],e=>Object.values(e.data[s]))}post(e,t={},r){let i=`/${e}`,n=T(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(n,"post",i,t,r)}put(e,t={},r){let i=`/${e}`,n=T(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(n,"put",i,t,r)}delete(e,t={},r){t||(t={});let i=`/${e}`,n=T(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(n,"delete",i,t,r)}getStories(e={},t){return this._addResolveLevel(e),this.get("cdn/stories",e,t)}getStory(e,t={},r){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){"u">typeof e.resolve_relations&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,r){let i=e[t];i&&"multilink"===i.fieldtype&&"story"===i.linktype&&"string"==typeof i.id&&this.links[r][i.id]?i.story=this._cleanCopy(this.links[r][i.id]):i&&"story"===i.linktype&&"string"==typeof i.uuid&&this.links[r][i.uuid]&&(i.story=this._cleanCopy(this.links[r][i.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,r){let i=e[t];"string"==typeof i?e[t]=this.getStoryReference(r,i):Array.isArray(i)&&(e[t]=i.map(e=>this.getStoryReference(r,e)).filter(Boolean))}_insertRelations(e,t,r,i){if(Array.isArray(r)?r.find(e=>e.endsWith(`.${t}`)):r.endsWith(`.${t}`))return void this._resolveField(e,t,i);let n=e.component?`${e.component}.${t}`:t;(Array.isArray(r)?r.includes(n):r===n)&&this._resolveField(e,t,i)}iterateTree(e,t,r){let i=(e,n="")=>{if(!(!e||e._stopResolving)){if(Array.isArray(e))e.forEach((e,t)=>i(e,`${n}[${t}]`));else if("object"==typeof e)for(let o in e){let s=n?`${n}.${o}`:o;(e.component&&e._uid||"link"===e.type)&&(this._insertRelations(e,o,t,r),this._insertLinks(e,o,r)),i(e[o],s)}}};i(e.content)}async resolveLinks(e,t,r){let i=[];if(e.link_uuids){let r=e.link_uuids.length,n=[];for(let t=0;t<r;t+=50){let i=Math.min(r,t+50);n.push(e.link_uuids.slice(t,i))}for(let e=0;e<n.length;
1e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:n[e].join(",")})).data.stories.forEach(e=>{i.push(e)})}else i=e.links;i.forEach(e=>{this.links[r][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,r){let i=[];if(e.rel_uuids){let r=e.rel_uuids.length,n=[];for(let t=0;t<r;t+=50){let i=Math.min(r,t+50);n.push(e.rel_uuids.slice(t,i))}for(let e=0;e<n.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:n[e].join(","),excluding_fields:t.excluding_fields})).data.stories.forEach(e=>{i.push(e)});i.length>0&&(e.rels=i,delete e.rel_uuids)}else i=e.rels;i&&i.length>0&&i.forEach(e=>{this.relations[r][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,r){var i,n;let o=[];if(this.links[r]={},this.relations[r]={},"u">typeof t.resolve_relations&&t.resolve_relations.length>0&&("string"==typeof t.resolve_relations&&(o=t.resolve_relations.split(",")),await this.resolveRelations(e,t,r)),t.resolve_links&&["1","story","url","link"].includes(t.resolve_links)&&(null!=(i=e.links)&&i.length||null!=(n=e.link_uuids)&&n.length)&&await this.resolveLinks(e,t,r),this.resolveNestedRelations)for(let e in this.relations[r])this.iterateTree(this.relations[r][e],o,r);e.story?this.iterateTree(e.story,o,r):e.stories.forEach(e=>{this.iterateTree(e,o,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(e,t,r,i){let n=w({url:e,params:t}),o=this.cacheProvider();if("published"===t.version&&"/cdn/spaces/me"!==e){let e=await o.get(n);if(e)return Promise.resolve(e)}let s=!((e="")=>e.includes("/cdn/"))(e)&&this.rateLimitConfig.isManagementApi?3:void 0,a=T(e,t,this.rateLimitConfig,s);return new Promise(async(s,l)=>{var u;try{let r=await this.throttleManager.execute(a,"get",e,t,i);if(200!==r.status)return l(r);let h={data:r.data,headers:r.headers},f=function(e){if(!e)return null;let t=e["x-ratelimit"]||e["X-RateLimit"],r=e["x-ratelimit-policy"]||e["X-RateLimit-Policy"];if(!t&&!r)return null;let i={};if(t){let e=t.match(/r=(\d+)/);e&&(i.remaining=Number.parseInt(e[1],10))}if(r){let e=r.match(/q=(\d+)/);e&&(i.max=Number.parseInt(e[1],10))}return Object.keys(i).length>0?i:null}(r.headers);if((null==f?void 0:f.max)!==void 0&&(this.rateLimitConfig.serverHeadersRateLimit=f.max),null!=(u=r.headers)&&u["per-page"]&&(h=Object.assign({},h,{perPage:r.headers["per-page"]?Number.parseInt(r.headers["per-page"]):0,total:r.headers["per-page"]?Number.parseInt(r.headers.total):0})),h.data.story||h.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(h.data,t,`${e}`),h=await this.processInlineAssets(h)}"published"===t.version&&"/cdn/spaces/me"!==e&&await o.set(n,h);let c="onpreview"===this.cache.clear&&"draft"===t.version||"auto"===this.cache.clear;return t.token&&h.data.cv&&(c&&x[t.token]&&x[t.token]!==h.data.cv&&await this.flushCache(),x[t.token]=h.data.cv),s(h)}catch(i){if(i.response&&429===i.status&&(r=typeof r>"u"?0:r+1)<this.maxRetries){let i;return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await (i=this.retriesDelay,new Promise(e=>setTimeout(e,i))),this.cacheResponse(e,t,r).then(s).catch(l)}l(i)}})}throttledRequest(e,t,r,i){return this.client.setFetchOptions(i),this.client[e](t,r)}cacheVersions(){return x}cacheVersion(){return x[this.accessToken]}setCacheVersion(e){this.accessToken&&(x[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(x[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case"memory":return{get:e=>Promise.resolve(I[e]),getAll:()=>Promise.resolve(I),set:(e,t)=>(I[e]=t,Promise.resolve(void 0)),flush:()=>(I={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}async processInlineAssets(e){if(!this.inlineAssets)return e;let t=r=>{if(!r||"object"!=typeof r)return r;if(Array.isArray(r))return r.map(e=>t(e));let i={...r};for(let r in"asset"===i.fieldtype&&Array.isArray(e.data.assets)&&(i={...e.data.assets.find(e=>e.id===i.id),...i}),i)"object"==typeof i[r]&&(i[r]=t(i[r]));return i};return e.data.story&&(e.data.story.content=t(e.data.story.content)),e.data.stories&&(e.data.stories=e.data.stories.map(e=>(e.content=t(e.content),e))),e}};let _="https://app.storyblok.com/f/storyblok-v2-latest.js",O=(e,t,r={})=>{var i;let n=!(typeof window>"u")&&"u">typeof window.storyblokRegisterEvent,o=new URL(null==(i=window.location)?void 0:i.href).searchParams.get("_storyblok");if(!(!n||null===o||+o!==e)){if(!e)return void console.warn("Story ID is not defined. Please provide a valid ID.");window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(r).on(["input","published","change"],r=>{var i;r&&("input"===r.action&&(null==(i=r.story)?void 0:i.id)===e?t(r.story):("change"===r.action||"published"===r.action)&&r.storyId===e&&window.location.reload())})})}};e.s(["BlockTypes",0,a,"MarkTypes",0,l,"TextTypes",0,u,"apiPlugin",0,(e={})=>{let{apiOptions:t}=e;return t&&t.accessToken?{storyblokApi:new B(t)}:void console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication")},"loadStoryblokBridge",0,()=>v(_),"registerStoryblokBridge",0,O,"renderRichText",0,function(e,t){return y(t).render(e)},"richTextResolver",0,y,"storyblokEditable",0,e=>{if("object"!=typeof e||typeof e._editable>"u")return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}},"storyblokInit",0,(e={})=>{var t,r;let{bridge:i,accessToken:n,use:o=[],apiOptions:s={},bridgeUrl:a}=e;s.accessToken=s.accessToken||n;let l={bridge:i,apiOptions:s},u={};
1o.forEach(e=>{u={...u,...e(l)}}),a&&(_=a);let h=!(typeof window>"u")&&(null==(r=null==(t=window.location)?void 0:t.search)?void 0:r.includes("_storyblok_tk"));return!1!==i&&h&&v(_),u},"useStoryblokBridge",0,O])},76998,e=>{"use strict";var t=e.i(271645),r=e.i(929161);e.s(["useStoryblokState",0,(e=null,i={})=>{let[n,o]=(0,t.useState)(null),s=(null==e?void 0:e.id)??null;return(0,t.useEffect)(()=>{o(null)},[s]),(0,t.useEffect)(()=>{"u">typeof window&&"u">typeof window.storyblokRegisterEvent&&s&&(0,r.registerStoryblokBridge)(s,e=>o(e),i)},[s,i]),n&&n.id===s?n:e}])},812010,e=>{"use strict";var t=e.i(271645);let r=()=>"u">typeof window,i=()=>r()&&window.self!==window.top;e.s(["convertAttributesInElement",0,function e(r){if(Array.isArray(r))return r.map(t=>e(t));let i={allowfullscreen:"allowFullScreen",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",charset:"charSet",class:"className",colspan:"colSpan",colwidth:"colWidth",contenteditable:"contentEditable",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formnovalidate:"formNoValidate",frameborder:"frameBorder",inputmode:"inputMode",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",minlength:"minLength",
1novalidate:"noValidate",playsinline:"playsInline",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",srcset:"srcSet",tabindex:"tabIndex",targetAttr:"targetattr",usemap:"useMap"},n=Object.keys(r.props).reduce((e,t)=>{let n=r.props[t];return"style"===t&&"string"==typeof n&&(n=n.split(";").reduce((e,t)=>{let[r,i]=t.split(":");return r=null==r?void 0:r.trim(),i=null==i?void 0:i.trim(),r&&i&&(e[r.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=i),e},{})),e[i[t]||t]=n,e},{});n.key=r.key;let o=t.default.Children.map(r.props.children,t=>"string"==typeof t?t:e(t));return t.default.createElement(r.type,n,o)},"isBridgeLoaded",0,()=>r()&&"u">typeof window.storyblokRegisterEvent,"isBrowser",0,r,"isIframe",0,i,"isServer",0,()=>typeof window>"u","isVisualEditor",0,()=>r()&&i()&&window.location.search.includes("_storyblok")])},467034,(e,t,r)=>{var i={872:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],i=t[1];return(r+i)*3/4-i},t.toByteArray=function(e){var t,r,o=l(e),s=o[0],a=o[1],u=new n((s+a)*3/4-a),h=0,f=a>0?s-4:s;for(r=0;r<f;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[h++]=t>>16&255,u[h++]=t>>8&255,u[h++]=255&t;return 2===a&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[h++]=255&t),1===a&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[h++]=t>>8&255,u[h++]=255&t),u},t.fromByteArray=function(e){for(var t,i=e.length,n=i%3,o=[],s=0,a=i-n;s<a;s+=16383)o.push(function(e,t,i){for(var n,o=[],s=t;s<i;s+=3)n=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[n>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===n?o.push(r[(t=e[i-1])>>2]+r[t<<4&63]+"=="):2===n&&o.push(r[(t=(e[i-2]<<8)+e[i-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],i=[],n="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],i[o.charCodeAt(s)]=s;function l(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 i=r===t?0:4-r%4;return[r,i]}i[45]=62,i[95]=63},230:function(e,t,r){"use strict";var i=r(872),n=r(321),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(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 h(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var i=e,n=t;if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);var o=0|p(i,n),l=s(o),u=l.write(i,n);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e))return f(e);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(x(e,ArrayBuffer)||e&&x(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(x(e,SharedArrayBuffer)||e&&x(e.buffer,SharedArrayBuffer)))return function(e,t,r){var i;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(i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),i}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var h=e.valueOf&&e.valueOf();if(null!=h&&h!==e)return a.from(h,t,r);var d=function(e){if(a.isBuffer(e)){var t=0|c(e.length),r=s(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)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(d)return d;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.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 u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 16,459 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return u(e),s(e<0?0:0|c(e))}function f(e){for(var t=e.length<0?0:0|c(e.length),r=s(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var 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}}(),!a.TYPED_ARRAY_SUPPORT&&"u">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(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return h(e)},a.allocUnsafeSlow=function(e){return h(e)};function c(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||x(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);var r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(e).length;default:if(n)return i?-1:R(e).length;t=(""+t).toLowerCase(),n=!0}}function d(e,t,r){var n,o,s,a=!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){var i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var n="",o=t;o<r;++o)n+=B[e[o]];return n}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(127&e[n]);return i}(this,t,r);case"latin1":case"binary":return function(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}(this,t,r);case"base64":return n=this,o=t,s=r,0===o&&s===n.length?i.fromByteArray(n):i.fromByteArray(n.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var i=e.slice(t,r),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+256*i[o+1]);return n}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function y(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function g(e,t,r,i,n){var o;if(0===e.length)return -1;if("string"==typeof r?(i=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(n)return -1;else r=e.length-1;else if(r<0)if(!n)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,i)),a.isBuffer(t))return 0===t.length?-1:m(e,t,r,i,n);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return m(e,[t],r,i,n)}throw TypeError("val must be string, number or Buffer")}function m(e,t,r,i,n){var o,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(n){var h=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===l)return h*s}else -1!==h&&(o-=o-h),h=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var f=!0,c=0;c<l;c++)if(u(e,o+c)!==u(t,c)){f=!1;break}if(f)return o}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(x(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),x(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,i=t.length,n=0,o=Math.min(r,i);n<o;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}return r<i?-1:+(i<r)},a.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}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,i=a.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var o=e[r];if(x(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(i,n),n+=o.length}return i},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var 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},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):d.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,i,n){if(x(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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===i&&(i=0),void 0===n&&(n=this.length),t<0||r>e.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,n>>>=0,this===e)return 0;for(var o=n-i,s=r-t,l=Math.min(o,s),u=this.slice(i,n),h=e.slice(t,r),f=0;f<l;++f)if(u[f]!==h[f]){o=u[f],s=h[f];break}return o<s?-1:+(s<o)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function v(e,t,r){r=Math.min(e.length,r);for(var i=[],n=t;n<r;){var o,s,a,l,u=e[n],h=null,f=u>239?4:u>223?3:u>191?2:1;if(n+f<=r)switch(f){case 1:u<128&&(h=u);break;case 2:(192&(o=e[n+1]))==128&&(l=(31&u)<<6|63&o)>127&&(h=l);break;case 3:o=e[n+1],s=e[n+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:o=e[n+1],s=e[n+2],a=e[n+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(h=l)}null===h?(h=65533,f=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),n+=f}var c=i,p=c.length;if(p<=4096)return String.fromCharCode.apply(String,c);for(var d="",y=0;y<p;)d+=String.fromCharCode.apply(String,c.slice(y,y+=4096));return d}function b(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 w(e,t,r,i,n,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<o)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function E(e,t,r,i,n,o){if(r+i>e.length||r<0)throw RangeError("Index out of range")}function A(e,t,r,i,o){return t*=1,r>>>=0,o||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,i,23,4),r+4}function k(e,t,r,i,o){return t*=1,r>>>=0,o||E(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,i,52,8),r+8}a.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,o,s,a,l,u,h,f,c=this.length-t;if((void 0===r||r>c)&&(r=c),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return function(e,t,r,i){r=Number(r)||0;var n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;var o=t.length;i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a,l=parseInt(t.substr(2*s,2),16);if((a=l)!=a)break;e[r+s]=l}return s}(this,e,t,r);case"utf8":case"utf-8":return n=t,o=r,I(R(e,this.length-n),this,n,o);case"ascii":return s=t,a=r,I(L(e),this,s,a);case"latin1":case"binary":return function(e,t,r,i){return I(L(t),e,r,i)}(this,e,t,r);case"base64":return l=t,u=r,I(S(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=t,f=r,I(function(e,t){for(var r,i,n=[],o=0;o<e.length&&!((t-=2)<0);++o)i=(r=e.charCodeAt(o))>>8,n.push(r%256),n.push(i);return n}(e,this.length-h),this,h,f);default:if(p)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var 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);var i=this.subarray(e,t);return Object.setPrototypeOf(i,a.prototype),i},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var i=this[e],n=1,o=0;++o<t&&(n*=256);)i+=this[e+o]*n;return i},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var i=this[e+--t],n=1;t>0&&(n*=256);)i+=this[e+--t]*n;return i},a.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var i=this[e],n=1,o=0;++o<t&&(n*=256);)i+=this[e+o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var i=t,n=1,o=this[e+--i];i>0&&(n*=256);)o+=this[e+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),n.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),n.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),n.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),n.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,i){if(e*=1,t>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;w(this,e,t,r,n,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,i){if(e*=1,t>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;w(this,e,t,r,n,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(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},a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(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},a.prototype.writeIntLE=function(e,t,r,i){if(e*=1,t>>>=0,!i){var n=Math.pow(2,8*r-1);w(this,e,t,r,n-1,-n)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,i){if(e*=1,t>>>=0,!i){var n=Math.pow(2,8*r-1);w(this,e,t,r,n-1,-n)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(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},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(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},a.prototype.writeFloatLE=function(e,t,r){return A(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return A(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return k(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return k(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,i){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===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(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);var n=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,i);else if(this===e&&r<t&&t<i)for(var o=n-1;o>=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),t);return n},a.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){var n,o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}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(n=t;n<r;++n)this[n]=e;
1else{var s=a.isBuffer(e)?e:a.from(e,i),l=s.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=s[n%l]}return this};var T=/[^+/0-9A-Za-z-_]/g;function R(e,t){t=t||1/0;for(var r,i=e.length,n=null,o=[],s=0;s<i;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!n){if(r>56319||s+1===i){(t-=3)>-1&&o.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(t-=3)>-1&&o.push(239,191,189);if(n=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 L(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function S(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,i){for(var n=0;n<i&&!(n+r>=t.length)&&!(n>=e.length);++n)t[n+r]=e[n];return n}function x(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var B=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var i=16*r,n=0;n<16;++n)t[i+n]=e[r]+e[n];return t}()},321:function(e,t){t.read=function(e,t,r,i,n){var o,s,a=8*n-i-1,l=(1<<a)-1,u=l>>1,h=-7,f=r?n-1:0,c=r?-1:1,p=e[t+f];for(f+=c,o=p&(1<<-h)-1,p>>=-h,h+=a;h>0;o=256*o+e[t+f],f+=c,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=i;h>0;s=256*s+e[t+f],f+=c,h-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),o-=u}return(p?-1:1)*s*Math.pow(2,o-i)},t.write=function(e,t,r,i,n,o){var s,a,l,u=8*o-n-1,h=(1<<u)-1,f=h>>1,c=5960464477539062e-23*(23===n),p=i?0:o-1,d=i?1:-1,y=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+f>=1?t+=c/l:t+=c*Math.pow(2,1-f),t*l>=2&&(s++,l/=2),s+f>=h?(a=0,s=h):s+f>=1?(a=(t*l-1)*Math.pow(2,n),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,n),s=0));n>=8;e[r+p]=255&a,p+=d,a/=256,n-=8);for(s=s<<n|a,u+=n;u>0;e[r+p]=255&s,p+=d,s/=256,u-=8);e[r+p-d]|=128*y}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}},s=!0;try{i[e](r,r.exports,o),s=!1}finally{s&&delete n[e]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=o(230)}]);
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.