@soma-vertical-web/multi-lib 0.0.69 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cms/ContentTypes/LPCadastro/LPCadastroContent.d.ts +4 -0
- package/cms/server.d.ts +1 -0
- package/contexts/contexts/header/HeaderCategoryContext.d.ts +7 -0
- package/contexts/contexts/header/MenuMobileContext.d.ts +5 -4
- package/contexts/index.d.ts +2 -2
- package/index.js +16 -16
- package/index.mjs +5250 -5068
- package/index2.js +1 -1
- package/index2.mjs +452 -437
- package/layout/index.d.ts +14 -2
- package/layout/team-component/Form/Composite/Content.d.ts +4 -0
- package/layout/team-component/Form/Composite/FieldGroup.d.ts +7 -0
- package/layout/team-component/Form/Composite/FieldWrapper.d.ts +7 -0
- package/layout/team-component/Form/Composite/FormError.d.ts +4 -0
- package/layout/team-component/Form/Composite/Success.d.ts +4 -0
- package/layout/team-component/Form/Composite/index.d.ts +4 -0
- package/layout/team-component/Form/Form.d.ts +11 -0
- package/layout/team-component/Form/FormContext.d.ts +5 -0
- package/layout/team-component/Form/index.d.ts +1 -0
- package/layout/team-component/Header/Composite/HeaderDesktopWrapper.d.ts +5 -1
- package/layout/team-component/Header/Composite/HeaderMobileWrapper.d.ts +6 -1
- package/layout/team-component/Header/index.d.ts +1 -1
- package/layout/team-component/Menu/Composite/Mobile/Body/Body.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/Banner.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/Category.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/List.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/SubCategory.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/Title.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/index.d.ts +22 -0
- package/layout/team-component/Menu/Composite/Mobile/{Body/SubMenu/SubMenu.d.ts → Header/Header.d.ts} +2 -2
- package/layout/team-component/Menu/Composite/Mobile/MenuRoot.d.ts +4 -7
- package/layout/team-component/Menu/Composite/Mobile/Navigation/{NavigationBarItem.d.ts → BarItem.d.ts} +1 -1
- package/layout/team-component/Menu/MenuMobile.d.ts +7 -8
- package/layout/team-component/UserMenu/Composite/Menu.d.ts +1 -1
- package/layout/team-component/UserMenu/UserMenu.d.ts +1 -1
- package/layout/team-component/UserMenu/index.d.ts +3 -1
- package/layout/template/LPCadastro/index.d.ts +3 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/ContentTypes/Header/index.d.ts +9 -1
- package/types/constants.d.ts +12 -14
- package/types/layout/team-components/Form/index.d.ts +16 -3
- package/types/layout/team-components/Header/index.d.ts +9 -1
- package/types/layout/team-components/Menu/Mobile/Body/Category/index.d.ts +23 -0
- package/types/layout/team-components/Menu/Mobile/Body/index.d.ts +3 -0
- package/types/layout/team-components/Menu/Mobile/index.d.ts +10 -1
- package/types/layout/team-components/UserMenu/index.d.ts +10 -7
- package/types/layout/templates/LPCadastro/index.d.ts +31 -0
- package/Footer-93X9fl_J.mjs +0 -7055
- package/Footer-BjB3blIh.mjs +0 -6956
- package/Footer-By1Gk2Ku.mjs +0 -7050
- package/Footer-COiI-tye.mjs +0 -7049
- package/Footer-CZqTxkCn.js +0 -41
- package/Footer-D3zDoa2N.mjs +0 -6961
- package/Footer-DfAuGt3s.js +0 -41
- package/Footer-TLfR7lta.js +0 -41
- package/Footer-okPVOqRy.js +0 -41
- package/Footer-rMb9FYog.js +0 -41
- package/SearchPageScreening-BIyp1dAW.mjs +0 -112
- package/SearchPageScreening-gO7dG13l.js +0 -1
- package/__vite-browser-external-B8mGO3z6.js +0 -1
- package/__vite-browser-external-BYRIRx8p.mjs +0 -8
- package/__vite-browser-external-C4n7rb1H.mjs +0 -85
- package/__vite-browser-external-Cjz79hOw.js +0 -1
- package/__vite-browser-external-CpdIDx9o.mjs +0 -79
- package/__vite-browser-external-DDWPeg5L.js +0 -1
- package/cms/ContentTypes/CommonPage/index.d.ts +0 -2
- package/cms/ContentTypes/FlagsAndTags/index.d.ts +0 -1
- package/cms/ContentTypes/PLP/PLPContentContext.d.ts +0 -4
- package/cms/ContentTypes/Search/SearchContentScreening.d.ts +0 -3
- package/cms/ContentTypes/index.d.ts +0 -6
- package/data/actions/masterDataServices.d.ts +0 -5
- package/data/api/user/index.d.ts +0 -3
- package/data/helpers/search/policy.d.ts +0 -3
- package/data/helpers/search/product/utils/index.d.ts +0 -8
- package/data/helpers/search/region.d.ts +0 -3
- package/index-ASRiF3PD.js +0 -1
- package/index-BJzBUeMp.js +0 -1
- package/index-BR5lPUsH.js +0 -1
- package/index-BRfMTuMz.mjs +0 -405
- package/index-BYY2x6mQ.js +0 -1
- package/index-Ba7fQCkk.js +0 -1
- package/index-BzNV29ol.mjs +0 -402
- package/index-C3QT-3iu.mjs +0 -355
- package/index-C5zOWvXN.js +0 -1
- package/index-CbOiLJQX.mjs +0 -403
- package/index-CiBRnp7U.js +0 -1
- package/index-CiMxj6Pg.mjs +0 -412
- package/index-CkcBCfzG.js +0 -1
- package/index-CuKKHhKx.mjs +0 -355
- package/index-D3ONVIla.mjs +0 -412
- package/index-DD12Nl4r.mjs +0 -412
- package/index-DJR4CcKO.mjs +0 -398
- package/index-DJeLEsRl.js +0 -1
- package/index-DKnolQoT.mjs +0 -412
- package/index-DYpuW0tu.mjs +0 -354
- package/index-D__YfUie.js +0 -1
- package/index-DfnS9D5I.mjs +0 -354
- package/index-Do5eAlCL.mjs +0 -219
- package/index-VkanwPXK.mjs +0 -221
- package/index-WV5Gjz3i.js +0 -1
- package/index-catAI5a3.mjs +0 -258
- package/index-drKDwA8_.js +0 -1
- package/layout/team-component/Menu/Composite/Mobile/Body/MenuBody.d.ts +0 -7
- package/layout/team-component/Menu/Composite/Mobile/Body/MenuCategories.d.ts +0 -7
- package/layout/team-component/Menu/Composite/Mobile/Body/MenuCategoriesWrapper.d.ts +0 -7
- package/layout/team-component/Menu/Composite/Mobile/Body/SubMenu/SubMenuItem.d.ts +0 -7
- package/layout/team-component/Menu/Composite/Mobile/Body/SubMenu/SubMenuSubCategory.d.ts +0 -7
- package/layout/team-component/Menu/Composite/Mobile/Header/MenuHeaderContainer.d.ts +0 -5
- package/layout/team-component/Menu/Composite/Mobile/Header/MenuHeaderNavLinks.d.ts +0 -7
- package/layout/team-component/Menu/Composite/Mobile/Header/MenuHeaderWrapper.d.ts +0 -7
- package/types/data/actions/index.d.ts +0 -27
- package/types/layout/team-components/PDCNavigation/intex.d.ts +0 -9
- package/types/layout/team-components/ProductList/Composite/Card/index.d.ts +0 -9
- package/types/utils.d.ts +0 -3
- /package/layout/team-component/Menu/Composite/Mobile/Navigation/{NavigationBar.d.ts → Bar.d.ts} +0 -0
package/Footer-okPVOqRy.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";var ca=Object.defineProperty;var la=(e,t,r)=>t in e?ca(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ot=(e,t,r)=>la(e,typeof t!="symbol"?t+"":t,r);const W=require("react/jsx-runtime"),he=require("@soma-vertical-web/core-components"),ae=require("react"),fa=require("react-dom"),Se=require("idb-keyval"),ei=require("zustand"),en=require("js-cookie"),ti=(e,t)=>{const[r,n]=e.split(t);return{name:r.trim(),size:n?n.trim():""}},Gr=(e,t)=>{if(!e)return{};const[r,n]=e.split(t);return{color:r==null?void 0:r.trim(),size:n==null?void 0:n.trim()}},pa=(e,t="tamanho")=>{if(e.additionalProperty){const[r]=e.additionalProperty;return r!=null&&r.name?r.name.toLocaleLowerCase()===t?r.value:e.name:""}return e.name},da=(e,t)=>e.replace(t,"").trim(),ha=e=>e.replace(/\//g,""),Ee=({event:e,data:t})=>{const r=(window==null?void 0:window.dataLayer)||[];t.ecommerce&&r.push({ecommerce:null}),r.push({...e&&{event:`custom_${e}`},...t})},me={configs:{PLP_FILTERS:[{key:"",label:"",eventLabel:"",order:0}],currency:"BRL",categoryOff:"bazar",storeUrl:"https://www.example.com",MAIN_IMAGE:"1",NAME_SPLIT_SYMBOL:"-"},productEvents:(e,t)=>{const{event:r,commonData:n,customData:a,promotionInfo:o,itemList:i,outsideEcommerceData:s}=e,{availableSizes:u,sizes:h,price:g}=n,y={...r==="view_item"?{currency:me.configs.currency,value:g,grade_disponivel:u??(h?ri(h):"")}:{},...r==="add_to_wishlist"||r==="remove_from_wishlist"?{value:g,currency:me.configs.currency}:{}},f=Le({data:n,customData:{...a,...i,...o},configs:me.configs});Ee({event:r,data:{...s,ecommerce:{...i,...y,items:[f]}}}),typeof t=="function"&&t(f,y)},productListEvent:e=>{const{commonData:{products:t},promotionInfo:r,itemList:n,outsideEcommerceData:a,customData:o}=e;if(t.length===0)return;const i=t.map(({node:s},u)=>Le({data:{...s},customData:{...r,index:u,...o!=null&&o.item_list_name?{item_list_name:o==null?void 0:o.item_list_name}:n},configs:me.configs}));Ee({event:"view_item_list",data:{...a,ecommerce:{...o!=null&&o.item_list_name?{item_list_name:o==null?void 0:o.item_list_name}:n,items:i}}})},skuEvents:e=>{const{event:t,commonData:{products:r},customData:n,supportData:{selectedSkus:a,price:o},promotionInfo:i,itemList:s,outsideEcommerceData:u}=e;let h=0;const g=r.map(y=>{var m,d,_,E,l,b,w,x,v;const f=a==null?void 0:a.find(S=>(y.productId??y.id)===S.productId);let c={...i,...s};if(f){const S=oi(),M=ii(S,f);M&&(c={...c,...M}),t==="add_to_cart"&&(i||s)&&kr({persistedData:S,type:"add",sku:(f==null?void 0:f.id)??(f==null?void 0:f.sku),newData:{promotionInfo:i,itemList:s}}),t==="remove_from_cart"&&kr({persistedData:S,type:"remove",sku:(f==null?void 0:f.id)??(f==null?void 0:f.sku)})}h+=y.price??((_=(d=(m=f==null?void 0:f.offers)==null?void 0:m.offers)==null?void 0:d[0])==null?void 0:_.price)??0;const p=(f==null?void 0:f.size)??Gr((f==null?void 0:f.skuName)??(f==null?void 0:f.name)??((E=y.itemOffered)==null?void 0:E.skuName),me.configs.NAME_SPLIT_SYMBOL).size;return Le({data:y,customData:{...n,...c??{...i,...s},item_sku:(f==null?void 0:f.id)??(f==null?void 0:f.sku)??((l=y.itemOffered)==null?void 0:l.sku),quantity:(n==null?void 0:n.quantity)??y.quantity??1,item_variant2:p,seller_id:(f==null?void 0:f.sellerId)??(f==null?void 0:f.seller)??((v=(x=(w=(b=f==null?void 0:f.offers)==null?void 0:b.offers)==null?void 0:w[0])==null?void 0:x.seller)==null?void 0:v.identifier)??y.seller},configs:me.configs})});Ee({event:t,data:{...u,ecommerce:{value:o??h,currency:me.configs.currency,items:g}}})},filterEvent:e=>{var i;const{commonData:t,customData:r,outsideEcommerceData:n}=e,a={},o={};Array.isArray(t==null?void 0:t.selectedFacets)&&((i=t==null?void 0:t.selectedFacets)!=null&&i.length)&&((t==null?void 0:t.selectedFacets).forEach(({key:s,value:u})=>{var y;const h=((y=me.configs.PLP_FILTERS.find(f=>f.key===s))==null?void 0:y.eventLabel)??s,g=(a==null?void 0:a[h])||[];h==="price_range"&&u.replace(":","-"),a[h]=[...g,u]}),Object.keys(a).forEach(s=>o[s]=a[s].join(", "))),Ee({event:"filter",data:{...n,...o,...r}})},viewCartEvent:e=>{var g,y,f,c,p,m,d,_,E,l;const{commonData:t,outsideEcommerceData:r}=e,{cartStore:n}=t;if(!n)return;const a=window.localStorage.getItem("persistedCartEventsData"),o=a?JSON.parse(a):{},i=n.items.map(b=>{const{promotionInfo:w,itemList:x}=o[b.id]??{};return Le({data:{...b,price:b.price/100,listPrice:b.listPrice/100},customData:{...w,...x,item_sku:b.id??b.itemOffered.sku,quantity:b.quantity??1},configs:me.configs})}),s=(((g=n.totalizers.find(b=>b.name==="Total dos Itens"))==null?void 0:g.value)??0)/100,u=(((y=n.totalizers.find(b=>b.name==="Total dos Descontos"))==null?void 0:y.value)??0)/100,h=((f=n.marketingData)==null?void 0:f.utmiCampaign)==="codigodavendedora"?(c=n.marketingData)==null?void 0:c.utmCampaign:(m=String((p=n.openTextField)==null?void 0:p.value))==null?void 0:m.split(" - ")[0];Ee({event:"view_cart",data:{...r,ecommerce:{currency:me.configs.currency,value:s+u,total_discount:Math.abs(u),cep_preenchido:!!((_=(d=n.shippingData)==null?void 0:d.address)!=null&&_.postalCode),...h?{seller_coupon_name:h}:{},...((E=n.marketingData)==null?void 0:E.coupon)&&{sale_coupon_name:(l=n.marketingData)==null?void 0:l.coupon},subtotal:s,items:i}}})},readyEvents:e=>{const{event:t,readyData:r}=e;Ee({event:t,data:{...r}})}},ri=e=>e.reduce((t,r)=>(r.available&&t.push(r.value),t),[]).toString(),ya=e=>{const t=e.length;return{...e&&e.length>0?{item_category:e[0].includes(me.configs.categoryOff)?"Bazar":"Coleção",...e[1]?{item_category2:e[1]}:{},...t>2?{item_category3:e[t-1]}:{}}:{}}},Le=({data:e,customData:t,configs:r})=>({...ma(e,r==null?void 0:r.MAIN_IMAGE),...ga(e),..._a(e),...va(e),...t}),ni=()=>{var e,t;return document?((t=(e=window.document.head.querySelector('meta[name="category"]'))==null?void 0:e.getAttribute("content"))==null?void 0:t.split("_"))??[]:[]},oi=()=>{const e=window.localStorage.getItem("persistedCartEventsData");return e?JSON.parse(e):null},ii=(e,t)=>e==null?void 0:e[t],kr=({persistedData:e,type:t,sku:r,newData:n})=>{if(!e&&t==="add"){window.localStorage.setItem("persistedCartEventsData",JSON.stringify({[r]:n}));return}if(e&&t==="add"){window.localStorage.setItem("persistedCartEventsData",JSON.stringify({...e,[r]:n}));return}e&&t==="remove"&&(delete e[r],window.localStorage.setItem("persistedCartEventsData",JSON.stringify(e)))},ma=(e,t="1")=>{var o,i,s,u,h,g,y,f,c,p,m;const r=e.productReference??e.gtin??e.productRefId,n=e.image??((i=(o=e.items)==null?void 0:o[0])==null?void 0:i.images)??((s=e.itemOffered)==null?void 0:s.image),a=n==null?void 0:n.find(d=>d.alternateName===t||d.imageLabel===t||d.keywords===t);return{item_id:e.productId??((u=e.isVariantOf)==null?void 0:u.productGroupID)??((h=e.isVariationOf)==null?void 0:h.productGroupID)??((y=(g=e.itemOffered)==null?void 0:g.isVariationOf)==null?void 0:y.productGroupID),item_ref:/_\d$/.test(r)?r.slice(0,-2):r,item_name:e.productTitle??e.productName??e.name??ti((f=e.itemOffered)==null?void 0:f.name,me.configs.NAME_SPLIT_SYMBOL).name,item_brand:((c=e.brand)==null?void 0:c.brandName)??((p=e.brand)==null?void 0:p.name)??e.brand??((m=e.itemOffered)==null?void 0:m.brand.name),item_url:`${me.configs.storeUrl}${e.linkText}/p`,item_image:(a==null?void 0:a.url)??(a==null?void 0:a.imageUrl)}},tn=e=>Array.isArray(e)?e.reduce((t,r)=>(r.length>t.length&&(t=r),t),""):e,ga=e=>{var h,g;const{categories:t,categoriesIds:r}=e,n=t??((h=e.itemOffered)==null?void 0:h.categories),a=r??((g=e.itemOffered)==null?void 0:g.categoriesIds),o=tn(n),i=tn(a),s=o.slice(1,-1).split("/"),u=i.slice(1,-1).split("/");return{item_category:s[0].toLowerCase().includes(me.configs.categoryOff)?"Bazar":"Coleção",...s[1]&&{item_category2:s[1]},...s.length>2&&{item_category3:s[s.length-1]},item_category_id:u[u.length-1],...u.length>1&&{item_parent_category_id:u[u.length-2]}}},_a=e=>{var a,o,i,s,u,h;const t=((a=e.itemOffered)==null?void 0:a.skuName)??((s=(i=(o=e.isVariantOf)==null?void 0:o.hasVariant)==null?void 0:i[0])==null?void 0:s.name)??((h=(u=e.items)==null?void 0:u[0])==null?void 0:h.name),{color:r,size:n}=Gr(t,me.configs.NAME_SPLIT_SYMBOL);return{item_variant:r,...e.itemOffered&&{item_variant2:n}}},va=e=>{var u,h;const{price:t,listPrice:r,installments:n}=e,a=t??((u=e.offers)==null?void 0:u.lowPrice)??0,o=r??((h=e.offers)==null?void 0:h.highPrice)??0,i=o?o-a:0,s=i%1===0?i:Number(i.toFixed(2));return{...t&&{price:a??o},...o&&{list_price:o,discount:s},...n&&{installments:n==null?void 0:n.count,installment_value:n==null?void 0:n.value},item_currency:me.configs.currency}},ai=()=>{const[e,t]=ni(),[r,n]=e.split("-"),a=r.includes("shop")||r.includes("sale")?r:"";return{page_category:a&&n?n:"",page_departament:a,id:t,name:e}},ba=Object.freeze(Object.defineProperty({__proto__:null,eventsFunctions:me,findDataInPersistedData:ii,getAvailablesSizes:ri,getCategories:ya,getPageCategoryAndDepartmentFromSlug:ai,getPersistedData:oi,getProductListInfoFromHead:ni,pushDatalayer:Ee,updatePersistedData:kr},Symbol.toStringTag,{value:"Module"})),si=ae.createContext({}),Ra=({children:e,evtFunctionsConfigs:t})=>{const r=ae.useRef({}),n=ae.useRef(null),a=ae.useRef(null),o=ae.useRef({}),i=ae.useRef({trigger:!1,index:0}),s=({functionKey:g,data:y,callBack:f,timeout:c=100})=>{window.dataLayer||(window.dataLayer=[]),me.configs=t;try{typeof me[g]=="function"&&setTimeout(()=>{var p;y.promotionInfo=r.current,(p=a.current)!=null&&p.item_list_name&&(y.itemList=a.current),me[g](y,f)},c)}catch(p){Ee({event:"error_event",data:{error_message:(p==null?void 0:p.message)??p}})}},u=({content:g})=>{s({functionKey:"readyEvents",data:{event:"select_content",readyData:{content_type:g.replace("::",":")}}})},h=({updatePromotionRef:g,promotion:y,index:f})=>{g&&(r.current={...y}),s({functionKey:"readyEvents",data:{event:"select_promotion",readyData:{ecommerce:{...y,...f!==void 0&&{index:f}}}}})};return W.jsx(si.Provider,{value:{sendDataLayerEvent:s,triggerSelectItemEventRef:i,promotionEventRef:r,currentLocalRef:n,itemListRef:a,cartProductsFullDataRef:o,handleSelectContent:u,handleSelectPromotionEvent:h},children:e})},ui=()=>ae.useContext(si),Aa={attachment:"ATTACHMENT",specification:"SPECIFICATION",attribute:"ATTRIBUTE"},Re=Promise.resolve(!1),Hr={id:"",isOpen:!1,items:[],loading:!1,marketingData:null,messages:[],openTextField:{},paymentData:null,shippingData:null,totalizers:[],itemMetadata:[],recentlyAddedProducts:[],addCoupon:()=>Re,addItem:()=>Re,addSellerCode:()=>Re,addMarketingData:()=>Re,emptyCart:()=>{},removeItem:()=>Re,setIsOpen:()=>{},shipping:()=>Re,shippingUpdate:()=>Re,toggleServiceToProduct:()=>Re,updateItemQuantity:()=>Re,insertProfileEmail:()=>Re,setRecentlyAddedProducts:()=>{}},zr=e=>e===0,ci=(e,t)=>{if(!e||e.length===0)return[];let r="";const n=[],a=e.match(/\d+/g)??[];for(const o of a){const i=t[Number(o)];i&&(r+=(r?"/":"")+i,n.push(r))}return n},li=(e,t)=>{const{availability:r,additionalInfo:{brandName:n},bundleItems:a,id:o,uniqueId:i,detailUrl:s,ean:u,imageUrl:h,name:g,listPrice:y,quantity:f,price:c,priceDefinition:p,productCategories:m,productCategoryIds:d,productId:_,refId:E,seller:l,referenceId:b,offerings:w,productRefId:x,skuName:v,sellingPrice:S}=e;return{availability:r,bundleItems:a,referenceId:b,productRefId:x,id:o,ean:u,uniqueId:i,itemOffered:{additionalProperty:[],brand:{name:n},categories:ci(d,m),categoriesIds:d,gtin:E,image:[{alternateName:(t==null?void 0:t.MAIN_IMAGE)??"1",url:h}],name:g,isVariationOf:{name:g,productGroupID:_},sku:o,slug:s,skuName:v},listPrice:y,quantity:f,offerings:w,price:c,priceDefinition:p,sellingPrice:S,seller:l}},fi=(e,t)=>{const r=e.map(n=>({id:n.id,quantity:n.quantity,seller:n.seller}));return Array.isArray(t)?[...r,...t]:[...r,t]},pi=(e,t)=>{const r=e.find(n=>n.id===t);if(r){const n=e.map((a,o)=>{var i,s;return{id:((i=a.itemOffered)==null?void 0:i.sku)??"",index:o,quantity:(r==null?void 0:r.id)===((s=a.itemOffered)==null?void 0:s.sku)?0:a.quantity,seller:a.seller??""}});return{updateItems:n,filterItems:n.filter(a=>a.id!==t)}}return{updateItems:[],filterItems:[]}},di=(e,t,r)=>e.filter(n=>n.availability!=="withoutStock"&&n.availability!=="https://schema.org/OutOfStock").map((n,a)=>{var o,i;return n.id===t?{id:n.id,index:a,quantity:r,seller:n.seller,sku:((o=n.itemOffered)==null?void 0:o.sku)??""}:{id:n.id,index:a,quantity:n.quantity,seller:n.seller,sku:((i=n.itemOffered)==null?void 0:i.sku)??""}}),hi=(e,t)=>e.filter(r=>r.availability!=="withoutStock").findIndex(({id:r})=>r===t),Ea=(e,t)=>{var r;return Array.isArray(e)?(((r=e==null?void 0:e.find(n=>{var a;return((a=n==null?void 0:n.id)==null?void 0:a.toLowerCase())===t}))==null?void 0:r.value)??0)/100:0},wa=e=>{const t=e.reduce((a,o)=>{const i=zr(o.price)?0:o.quantity;return a+i},0),r=e.reduce((a,o)=>a+o.price*o.quantity,0),n=e.reduce((a,o)=>a+o.listPrice*o.quantity,0);return{totalItems:t,total:r,subTotal:n}},Sa=e=>Array.isArray(e)?e.filter(t=>t.availability!=="withoutStock").reduce((t,r)=>t+(zr(r==null?void 0:r.price)?0:r.quantity),0):0,yi=(e,t)=>{const{items:r,itemMetadata:n,marketingData:a,messages:o,orderFormId:i,openTextField:s,paymentData:u,shippingData:h,totalizers:g}=e;return{id:i,itemMetadata:n,items:Array.isArray(r)?r.map(y=>li(y,t)):[],marketingData:a,messages:o,openTextField:s,paymentData:u,shippingData:h,totalizers:g}},mi=(e,t)=>{const r=e.find(n=>n.id===t);return r?r.availability==="unavailableItemFulfillment":!1},Pa=(e,t)=>{const r=e.sku,n=e.isVariantOf.hasVariant.find(a=>a.sku===r);return n?n.name.split(t)[1]:"--"},gi=(e,t,r=!1)=>!e&&t!==""?{code:300,value:t,statusOk:r}:e===t?{code:200,value:t,statusOk:r}:{code:400,value:t,statusOk:r},Oa=(e,t)=>{const r=new Set;return[e,...t].filter(n=>!r.has(n)&&r.add(n),r)},_i=(e,t)=>t&&Array.isArray(t)&&t.find(n=>n.id===e)?Promise.resolve(e):Promise.resolve(!1),vi=(e,t)=>t?Promise.resolve(e[t]):Promise.resolve(!1),bi=async e=>{try{const t=await e();if(typeof t!="boolean")return t}catch(t){console.error(`[Error orderForm]: ${t}`)}return!1},Ri=(e,t)=>{if(t!==-1){const r=Number(e);return r?r+1:1}return e??1},Ai=(e,t)=>Array.isArray(e)?e.filter(r=>t==null?void 0:t.some(n=>n.id===r.id)):[],Ei=async(e,t)=>e.then(r=>[...r??[],...t??[]]),be=async(e,t,r,n)=>{const{priority:a="auto",body:o}=t;return fetch(e,{headers:{"Content-Type":"application/json"},priority:a,method:"POST",body:JSON.stringify(o)}).then(async i=>{const s=await i.json();return r?s:yi(s,n)})},wi=(e,t,r)=>({notifications:[...e.notifications,{id:Date.now(),message:t,callback:r}]}),Ca=e=>[...Array.isArray(e)?e:[e],"faststore"],Si=e=>{const t=e.get("utm_source")||we("utm_source"),r=e.get("utm_campaign")||we("utm_campaign"),n=e.get("utm_medium")||we("utm_medium"),a=e.get("utmi_cp")||we("utmi_cp"),o=e.get("utmi_pc")||we("utmi_pc"),i=e.get("utmi_p")||we("utmi_p");return{...t&&{utmSource:t},...n&&{utmMedium:n},...r&&{utmCampaign:r},...a&&{utmiCampaign:a},...o&&{utmiPart:o},...i&&{utmipage:i}}},we=e=>{if(!e||typeof window>"u")return;const t=window.location.href;e=e.replace(/[[\]]/g,"\\$&");const r=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),n=r.exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},Ia=Object.freeze(Object.defineProperty({__proto__:null,VALUE_REFERENCES:Aa,addItemOrder:fi,addNotification:wi,createItemOrder:li,fetchCartAPI:be,findItemIndex:hi,findOptions:Ai,findTotalizerValue:Ea,getCategories:ci,getCode:gi,getQuantity:Ri,getRemoveId:_i,getSize:Pa,getTotalItems:Sa,getTotalizer:wa,getUrlParameter:we,getValue:vi,initialState:Hr,isGift:zr,marketingTagsBuilder:Ca,mergeOptionsPromise:Ei,mountMarketingData:Si,orderFormValues:yi,promiseDefault:Re,removeQuantity:pi,updateItemSellerExternal:mi,updateOrderFormPromise:bi,updateQuantity:di,wishlistArray:Oa},Symbol.toStringTag,{value:"Module"})),Ta=()=>{const e=async(c,p)=>be("/api/checkout/order-form/coupon",{body:{orderFormId:c,coupon:p}}),t=async(c,p)=>{if(p){const m=p.includes(" - ")?p.split(" - ")[0]:p,d=await be("/api/checkout/order-form/seller-code",{body:{orderFormId:c,sellerCode:m}},!0);return be("/api/checkout/order-form/attachments",{body:{orderFormId:c,sellerCode:m,sellerName:d instanceof Object&&"name"in d?d==null?void 0:d.name:""}}).then(_=>({..._,openTextField:{...(_==null?void 0:_.openTextField)??{},statusOk:(d==null?void 0:d.ativo)??!1}}))}else return be("/api/checkout/order-form/attachments",{body:{orderFormId:c,sellerCode:"",sellerName:""}})},r=async(c,p)=>be("/api/checkout/order-form/attachments/marketing-data",{body:{orderFormId:c,marketingData:p}}),n=async(c,p,m)=>be("/api/checkout/order-form/items",{body:{orderFormId:c,orderItems:fi(p,m)}}),a=async(c,p,m,d)=>be("/api/checkout/order-form/offerings",{body:{id:p,itemIndex:m,orderFormId:c,remove:d}}),o=async c=>be("/api/checkout/order-form/items/remove-all",{body:{orderFormId:c}}),i=async(c,p="low")=>be("/api/checkout/order-form",{priority:p,body:{orderFormId:c??""}}),s=async(c,p)=>be("/api/checkout/order-form/profile",{body:{orderFormId:c,email:p}}),u=async(c,p,m)=>{const d=pi(p,m);return be("/api/checkout/order-form/items/update",{body:{orderItems:d.updateItems,orderFormId:c}})},h=async(c,p,m)=>be("/api/checkout/order-form/shipping",{body:{orderFormId:c,country:m,postalCode:p}}),g=async(c,p,m)=>be("/api/checkout/order-form/shipping/update",{body:{orderFormId:c,options:p,selectedAddresses:m}}),y=async(c,p,m,d)=>{const _=di(p,m,d);return be("/api/checkout/order-form/items/update",{body:{orderFormId:c,orderItems:_}})};return{addCoupon:e,addItem:n,addSellerCode:t,addMarketingData:r,giftItem:a,emptyCart:o,getOrderForm:i,insertProfileEmail:s,removeItem:u,shipping:h,shippingUpdate:g,updateItemQuantity:async(c,p,m,d,_)=>y(c,p,m,d).then(E=>E&&Array.isArray(E.items)?mi(E.items,m)?y(c,p,m,_):E:!1)}},Ur="soma::cart",Ce="soma::options",Xe=ei.create((e,t)=>{const r=Ta(),n=async(a,o,i)=>{e({loading:!0});const s=await bi(a);if(typeof s!="boolean"){e({...s});const u=await Ei(Se.get(Ce),i);return Se.set(Ce,u),vi(s,o).finally(()=>e({loading:!1,options:u}))}return Re};if(typeof window<"u"){const a=async o=>{if(o){const i=await Se.get(Ce).then(h=>Ai(h,o.items));Se.set(Ur,o),Se.set(Ce,i),e({...o,options:i});const s=new URLSearchParams(window.location.search),u=s.get("utm_campaign")||s.get("utmi_campaign")||"";u&&n(()=>r.addSellerCode(t().id,u.toUpperCase()),"openTextField")}};return Se.get(Ur).then(o=>r.getOrderForm(o?o.id:"").then(a)),{...Hr,addCoupon:async o=>n(()=>r.addCoupon(t().id,o),"marketingData"),addItem:(o,i)=>{n(()=>r.addItem(t().id,t().items,o),"items",i)},addSellerCode:async o=>n(()=>r.addSellerCode(t().id,o),"openTextField"),addMarketingData:async o=>n(()=>r.addMarketingData(t().id,o),"marketingData"),emptyCart:()=>{n(()=>r.emptyCart(t().id))},removeItem:async o=>{const i=await n(()=>r.removeItem(t().id,t().items,o),"items");return _i(o,i)},shipping:async(o,i="BR")=>n(()=>r.shipping(t().id,o??"",i),"shippingData"),shippingUpdate:async o=>n(()=>{var i;return r.shippingUpdate(t().id,o,(i=t().shippingData)==null?void 0:i.selectedAddresses)},"shippingData"),toggleServiceToProduct:async(o,i,s)=>n(()=>r.giftItem(t().id,o,i,s),"items"),updateItemQuantity:async(o,i,s)=>{const{id:u,items:h}=t();return n(()=>{var g;return r.updateItemQuantity(u,h,o,i,((g=h.find(y=>y.id===o))==null?void 0:g.quantity)??1)},"items",s?[s]:void 0)},insertProfileEmail:async o=>n(()=>r.insertProfileEmail(t().id,o),"clientProfileData"),setIsOpen:o=>e({isOpen:o})}}return Hr}),xa=()=>Xe(e=>e),Pi=ei.create(e=>({notifications:[],actions:{addNotification:(t,r)=>e(n=>wi(n,t,r)),removeNotification:t=>e(r=>({notifications:r.notifications.filter(n=>n.id!==t)}))}})),Oi=()=>Pi(e=>e.notifications),Ci=()=>Pi(e=>e.actions),Na=Object.freeze(Object.defineProperty({__proto__:null,KEY_INDEXED_OPTIONS:Ce,KEY_INDEXED_STORE:Ur,useCartStore:Xe,useGetCartStoreState:xa,useGetNotificationActions:Ci,useGetNotificationsStore:Oi},Symbol.toStringTag,{value:"Module"})),ja=6e3,Ii=ae.createContext({}),Ti=({children:e,...t})=>{const{items:r}=Xe(),[n,a]=ae.useState([]),o=ae.useRef(null),i=ae.useMemo(()=>Array.isArray(n)&&n.length>0?n.map(s=>r.find(u=>u.id===s.id)).filter(s=>s!==void 0):[],[r,n]);return ae.useEffect(()=>{n.length&&(clearTimeout(o.current??0),o.current=setTimeout(()=>{a([])},ja))},[n]),W.jsx(Ii.Provider,{value:ae.useMemo(()=>({...t,setRecentlyAdded:a,recentlyAddedProducts:i}),[t,a,i]),children:e})},La=()=>{const e=ae.useContext(Ii);if(e===void 0)throw new Error("useUIContext must be used within a UIProvider");return e};class xi{constructor(){ot(this,"events",{});ot(this,"prevData",{})}subscribe(t,r){return this.events[t]||(this.events[t]=[]),this.events[t].push(r),()=>{this.events[t]=this.events[t].filter(n=>n!==r)}}publish(t,r){this.events[t]&&this.events[t].forEach(n=>{this.prevData[t]=r,n(r)})}}const Ni=ae.createContext({}),Ma=({children:e,headerConfigs:t,pathname:r,...n})=>{const[a,o]=ae.useState(!0),i=r==="/",s=ae.useRef(new xi),u=y=>y?{headerVariant:t.home_default_variant,bannerVariant:t.home_default_variant,position:t.home_default_position}:{headerVariant:t.default_variant,bannerVariant:t.default_variant,position:t.default_position},h=u(i),g=ae.useRef(h);return ae.useEffect(()=>{var c;const y=((c=new URLSearchParams(window.location.search))==null?void 0:c.toString())??"";(y.includes("utm_")||y.includes("gclid"))&&(en.get("lastMedias")||en.set("lastMedias",`${y}`,{expires:1/24}));const f=()=>{const p=typeof(window==null?void 0:window.navigator)>"u"?"":navigator==null?void 0:navigator.userAgent,m=/iPad|iPhone|iPod/.test(p),d=window.innerWidth<1024||!!p.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i);if(m){const _=document.querySelector('meta[name="viewport"]');_&&_.setAttribute("content","width=device-width, initial-scale=1, maximum-scale=1")}a!==d&&o(d)};return f(),window.addEventListener("resize",f,{passive:!0}),()=>window.removeEventListener("resize",f)},[a]),ae.useEffect(()=>{const y=u(i);s.current.publish("header:change_variant",y.headerVariant),s.current.publish("header:change_position",y.position),g.current=y},[i]),W.jsx(Ni.Provider,{value:{isMobile:a,mediatorRef:s,currentHeaderConfigsRef:g,...n},children:W.jsx(Ti,{children:e})})},Ye=()=>ae.useContext(Ni),ji=ae.createContext({}),Da=({children:e,...t})=>W.jsx(ji.Provider,{value:{...t},children:e}),Wr=()=>ae.useContext(ji),rn="fuzzy",nn="operator",qa=e=>({isDepartment:e!=null&&e.length?e[0].key==="category-1":!1}),$a=(e,t)=>{const r=decodeURIComponent(t??"").slice(1).split("/");return e.map(n=>{if(n.key==="category-2"&&n.__typename==="FacetBoolean"){const a=n.values;return{...n,values:a.filter(o=>!r.find(i=>i.toLowerCase()===o.value||i.toLowerCase()===o.name.toLowerCase()))}}return n})},ka={default_option:"score:desc"},Ha={nextPage:!1,previousPage:!1,startCursor:"0",endCursor:"0",count:0,total:0},Ua="Imagem do produto",on=1,Ba="Sair",Fa=e=>e.exit,Ga=({ICONS:e,storeConfig:t})=>[{icon:e.person,label:"Minha conta",href:`${t.secureSubdomain}/api/io/account#/profile`,needToBeAuth:!1,deviceShown:"both"},{icon:e.delivery_truck,label:"Meus pedidos",href:`${t.secureSubdomain}/api/io/account#/orders`,needToBeAuth:!1,deviceShown:"both"},{icon:e.favorite_false,label:t.wishlistConfig.label,href:t.wishlistConfig.path,needToBeAuth:!1,deviceShown:"mobile"},{icon:e.help,label:t.termsConfig.label,href:t.termsConfig.path,needToBeAuth:!1,deviceShown:"mobile"}],za=(e,t)=>{const r=(t??"").split("@")[0];return e?`Olá${r.length?", ":" "}${r}!`:"Olá!"},Wa=e=>"Seja bem vindo!",Li=(e,t)=>t?e==="category-1":!1,Va=e=>e.key==="operator"&&(e.value==="and"||e.value==="or"),Ka=e=>e.type==="TEXT",Qa=e=>e.key==="fuzzy"&&(e.value==="0"||e.value==="1"||e.value==="auto"),Xa=e=>{const{key:t,name:r,values:n}=e;return{__typename:"FacetBoolean",key:t,label:r,values:n.slice().sort((a,o)=>a.name.localeCompare(o.name))}},Ya=({key:e,values:t})=>({__typename:"FacetRange",key:e,values:t}),Za=(e,t,r)=>{if(!(e instanceof Object)||!("facets"in e))return[];const{facets:n=[]}=e,a=t!=null&&t.length?t[0].key==="category-1":!1;return n.filter(i=>!r||!Li(i.key,a)).map(i=>Ka(i)?Xa(i):Ya(i))},Ja=(e,t)=>{const r=e.find(({key:a})=>a===rn)??null,n=e.find(({key:a})=>a===nn)??null;r&&Qa(r)&&t.append(rn,r.value),n&&Va(n)&&t.append(nn,n.value)},es=e=>e.map(t=>{const[r,n]=t.split("/");return{key:r,value:n}}),ts=(e,t)=>{const r=decodeURIComponent(t??"").slice(1).split("/"),n=e.filter(({value:o})=>!r.includes(decodeURIComponent(o))).map(o=>({...o,value:decodeURIComponent(o.value)})),{isDepartment:a}=qa(n);return n==null?void 0:n.filter(o=>!Li(o.key,a))},rs=({pathname:e,searchParams:t},r)=>{const n=t.get("sort")??"",a=t.get("query")??null,o=parseInt(t.get("page")??"1",10);return{sort:n,facets:es(r),term:a,base:a?"":e,page:o}},ns=e=>{const t=new URLSearchParams;return Object.entries(e).forEach(([r,n])=>{Array.isArray(n)?n.forEach(a=>t.append(r,a)):n!==void 0&&t.append(r,n)}),t},Mi=ae.createContext({gridBanners:void 0,banners:[]}),os=({children:e,data:t,device:r,SectionZone:n,COMMON_PAGE_COLUMN_GAP_PDC:a})=>{const{isMobile:o}=Ye(),i=(t==null?void 0:t.sections.filter(y=>y.name!=="List Product Banners"))??[],s=i.slice(0,on),u=i.slice(on,i.length),h=t==null?void 0:t.sections.find(y=>y.name==="List Product Banners"),g=ae.useMemo(()=>{var y,f;return((f=(y=h==null?void 0:h.data)==null?void 0:y.banners)==null?void 0:f.map(c=>({...c.banner,columns:c.bannerWidth,position_grid:c.bannerPosition})))??[]},[h]);return o&&r==="mobile"||!o&&r==="desktop"?W.jsxs(Mi.Provider,{value:{gridBanners:h,banners:g},children:[W.jsx(n,{data:s??[]}),W.jsxs(he.Utils.Column,{gap:a,className:he.helpers.classNameConcat("utils-column-modifier"),children:[e,W.jsx(n,{data:u??[]})]})]}):W.jsx(W.Fragment,{})},is=()=>{const e=ae.useContext(Mi);return e===void 0&&console.error("Needs PLPContentContext on parent component"),e},as={"responsive-mobile-flex":"_responsive-mobile-flex_t5bry_2","responsive-desktop-flex":"_responsive-desktop-flex_t5bry_13","responsive-mobile-block":"_responsive-mobile-block_t5bry_24","responsive-desktop-block":"_responsive-desktop-block_t5bry_35"};var Di=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ss(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var Br={exports:{}},Ae={};Ae._=Ae._interop_require_default=us;function us(e){return e&&e.__esModule?e:{default:e}}var Me={exports:{}},it={},an;function qi(){return an||(an=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,s){for(var u in s)Object.defineProperty(i,u,{enumerable:!0,get:s[u]})}t(e,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a},assign:function(){return o}});function r(i){const s={};return i.forEach((u,h)=>{typeof s[h]>"u"?s[h]=u:Array.isArray(s[h])?s[h].push(u):s[h]=[s[h],u]}),s}function n(i){return typeof i=="string"||typeof i=="number"&&!isNaN(i)||typeof i=="boolean"?String(i):""}function a(i){const s=new URLSearchParams;return Object.entries(i).forEach(u=>{let[h,g]=u;Array.isArray(g)?g.forEach(y=>s.append(h,n(y))):s.set(h,n(g))}),s}function o(i){for(var s=arguments.length,u=new Array(s>1?s-1:0),h=1;h<s;h++)u[h-1]=arguments[h];return u.forEach(g=>{Array.from(g.keys()).forEach(y=>i.delete(y)),g.forEach((y,f)=>i.append(f,y))}),i}}(it)),it}var at={},Pe={};function $i(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return($i=function(n){return n?r:t})(e)}Pe._=Pe._interop_require_wildcard=cs;function cs(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=$i(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}var sn;function ki(){return sn||(sn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,h){for(var g in h)Object.defineProperty(u,g,{enumerable:!0,get:h[g]})}t(e,{formatUrl:function(){return o},urlObjectKeys:function(){return i},formatWithValidation:function(){return s}});const n=Pe._(qi()),a=/https?|ftp|gopher|file/;function o(u){let{auth:h,hostname:g}=u,y=u.protocol||"",f=u.pathname||"",c=u.hash||"",p=u.query||"",m=!1;h=h?encodeURIComponent(h).replace(/%3A/i,":")+"@":"",u.host?m=h+u.host:g&&(m=h+(~g.indexOf(":")?"["+g+"]":g),u.port&&(m+=":"+u.port)),p&&typeof p=="object"&&(p=String(n.urlQueryToSearchParams(p)));let d=u.search||p&&"?"+p||"";return y&&!y.endsWith(":")&&(y+=":"),u.slashes||(!y||a.test(y))&&m!==!1?(m="//"+(m||""),f&&f[0]!=="/"&&(f="/"+f)):m||(m=""),c&&c[0]!=="#"&&(c="#"+c),d&&d[0]!=="?"&&(d="?"+d),f=f.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),""+y+m+f+d+c}const i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(u){return process.env.NODE_ENV==="development"&&u!==null&&typeof u=="object"&&Object.keys(u).forEach(h=>{i.includes(h)||console.warn("Unknown key passed via urlObject into url.format: "+h)}),o(u)}}(at)),at}var st={},un;function ls(){return un||(un=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}});function t(r,n){const a={};return Object.keys(r).forEach(o=>{n.includes(o)||(a[o]=r[o])}),a}}(st)),st}var ut={},cn;function Ze(){return cn||(cn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,w){for(var x in w)Object.defineProperty(b,x,{enumerable:!0,get:w[x]})}t(e,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return o},getLocationOrigin:function(){return i},getURL:function(){return s},getDisplayName:function(){return u},isResSent:function(){return h},normalizeRepeatedSlashes:function(){return g},loadGetInitialProps:function(){return y},SP:function(){return f},ST:function(){return c},DecodeError:function(){return p},NormalizeError:function(){return m},PageNotFoundError:function(){return d},MissingStaticPage:function(){return _},MiddlewareNotFoundError:function(){return E},stringifyError:function(){return l}});const r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(b){let w=!1,x;return function(){for(var v=arguments.length,S=new Array(v),M=0;M<v;M++)S[M]=arguments[M];return w||(w=!0,x=b(...S)),x}}const a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=b=>a.test(b);function i(){const{protocol:b,hostname:w,port:x}=window.location;return b+"//"+w+(x?":"+x:"")}function s(){const{href:b}=window.location,w=i();return b.substring(w.length)}function u(b){return typeof b=="string"?b:b.displayName||b.name||"Unknown"}function h(b){return b.finished||b.headersSent}function g(b){const w=b.split("?");return w[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(w[1]?"?"+w.slice(1).join("?"):"")}async function y(b,w){if(process.env.NODE_ENV!=="production"){var x;if((x=b.prototype)!=null&&x.getInitialProps){const M='"'+u(b)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw new Error(M)}}const v=w.res||w.ctx&&w.ctx.res;if(!b.getInitialProps)return w.ctx&&w.Component?{pageProps:await y(w.Component,w.ctx)}:{};const S=await b.getInitialProps(w);if(v&&h(v))return S;if(!S){const M='"'+u(b)+'.getInitialProps()" should resolve to an object. But found "'+S+'" instead.';throw new Error(M)}return process.env.NODE_ENV!=="production"&&Object.keys(S).length===0&&!w.ctx&&console.warn(""+u(b)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),S}const f=typeof performance<"u",c=f&&["mark","measure","getEntriesByName"].every(b=>typeof performance[b]=="function");class p extends Error{}class m extends Error{}class d extends Error{constructor(w){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+w}}class _ extends Error{constructor(w,x){super(),this.message="Failed to load static file for page: "+w+" "+x}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function l(b){return JSON.stringify({message:b.message,stack:b.stack})}}(ut)),ut}var De={exports:{}},ct={},ln;function Hi(){return ln||(ln=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}});function t(r){return r.replace(/\/$/,"")||"/"}}(ct)),ct}var lt={},fn;function Kr(){return fn||(fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}});function t(r){const n=r.indexOf("#"),a=r.indexOf("?"),o=a>-1&&(n<0||a<n);return o||n>-1?{pathname:r.substring(0,o?a:n),query:o?r.substring(a,n>-1?n:void 0):"",hash:n>-1?r.slice(n):""}:{pathname:r,query:"",hash:""}}}(lt)),lt}var pn;function Je(){return pn||(pn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});const r=Hi(),n=Kr(),a=o=>{if(!o.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return o;const{pathname:i,query:s,hash:u}=(0,n.parsePath)(o);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(i)?""+(0,r.removeTrailingSlash)(i)+s+u:i.endsWith("/")?""+i+s+u:i+"/"+s+u:""+(0,r.removeTrailingSlash)(i)+s+u};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(De,De.exports)),De.exports}var ft={},qe={exports:{}},pt={},dn;function Ui(){return dn||(dn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return r}});const t=Kr();function r(n,a){if(typeof n!="string")return!1;const{pathname:o}=(0,t.parsePath)(n);return o===a||o.startsWith(a+"/")}}(pt)),pt}var hn;function fs(){return hn||(hn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return a}});const r=Ui(),n=process.env.__NEXT_ROUTER_BASEPATH||"";function a(o){return(0,r.pathHasPrefix)(o,n)}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(qe,qe.exports)),qe.exports}var yn;function Bi(){return yn||(yn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return n}});const t=Ze(),r=fs();function n(a){if(!(0,t.isAbsoluteUrl)(a))return!0;try{const o=(0,t.getLocationOrigin)(),i=new URL(a,o);return i.origin===o&&(0,r.hasBasePath)(i.pathname)}catch{return!1}}}(ft)),ft}var dt={},ht={},mn;function ps(){return mn||(mn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class t{insert(a){this._insert(a.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(a){a===void 0&&(a="/");const o=[...this.children.keys()].sort();this.slugName!==null&&o.splice(o.indexOf("[]"),1),this.restSlugName!==null&&o.splice(o.indexOf("[...]"),1),this.optionalRestSlugName!==null&&o.splice(o.indexOf("[[...]]"),1);const i=o.map(s=>this.children.get(s)._smoosh(""+a+s+"/")).reduce((s,u)=>[...s,...u],[]);if(this.slugName!==null&&i.push(...this.children.get("[]")._smoosh(a+"["+this.slugName+"]/")),!this.placeholder){const s=a==="/"?"/":a.slice(0,-1);if(this.optionalRestSlugName!=null)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+s+'" and "'+s+"[[..."+this.optionalRestSlugName+']]").');i.unshift(s)}return this.restSlugName!==null&&i.push(...this.children.get("[...]")._smoosh(a+"[..."+this.restSlugName+"]/")),this.optionalRestSlugName!==null&&i.push(...this.children.get("[[...]]")._smoosh(a+"[[..."+this.optionalRestSlugName+"]]/")),i}_insert(a,o,i){if(a.length===0){this.placeholder=!1;return}if(i)throw new Error("Catch-all must be the last part of the URL.");let s=a[0];if(s.startsWith("[")&&s.endsWith("]")){let g=function(y,f){if(y!==null&&y!==f)throw new Error("You cannot use different slug names for the same dynamic path ('"+y+"' !== '"+f+"').");o.forEach(c=>{if(c===f)throw new Error('You cannot have the same slug name "'+f+'" repeat within a single dynamic path');if(c.replace(/\W/g,"")===s.replace(/\W/g,""))throw new Error('You cannot have the slug names "'+c+'" and "'+f+'" differ only by non-word symbols within a single dynamic path')}),o.push(f)},u=s.slice(1,-1),h=!1;if(u.startsWith("[")&&u.endsWith("]")&&(u=u.slice(1,-1),h=!0),u.startsWith("...")&&(u=u.substring(3),i=!0),u.startsWith("[")||u.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('"+u+"').");if(u.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('"+u+"').");if(i)if(h){if(this.restSlugName!=null)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+a[0]+'" ).');g(this.optionalRestSlugName,u),this.optionalRestSlugName=u,s="[[...]]"}else{if(this.optionalRestSlugName!=null)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+a[0]+'").');g(this.restSlugName,u),this.restSlugName=u,s="[...]"}else{if(h)throw new Error('Optional route parameters are not yet supported ("'+a[0]+'").');g(this.slugName,u),this.slugName=u,s="[]"}}this.children.has(s)||this.children.set(s,new t),this.children.get(s)._insert(a.slice(1),o,i)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(n){const a=new t;return n.forEach(o=>a.insert(o)),a.smoosh()}}(ht)),ht}var yt={},gn;function ds(){return gn||(gn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return r}});const t=/\/\[[^/]+?\](?=\/|$)/;function r(n){return t.test(n)}}(yt)),yt}var _n;function hs(){return _n||(_n=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,o){for(var i in o)Object.defineProperty(a,i,{enumerable:!0,get:o[i]})}t(e,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return n.isDynamicRoute}});const r=ps(),n=ds()}(dt)),dt}var mt={},gt={},vn;function ys(){return vn||(vn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return r}});const t=Ze();function r(n){let{re:a,groups:o}=n;return i=>{const s=a.exec(i);if(!s)return!1;const u=g=>{try{return decodeURIComponent(g)}catch{throw new t.DecodeError("failed to decode param")}},h={};return Object.keys(o).forEach(g=>{const y=o[g],f=s[y.pos];f!==void 0&&(h[g]=~f.indexOf("/")?f.split("/").map(c=>u(c)):y.repeat?[u(f)]:u(f))}),h}}}(gt)),gt}var _t={},vt={},bt={},Rt={},bn;function ms(){return bn||(bn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}});function t(r){return r.startsWith("/")?r:"/"+r}}(Rt)),Rt}var At={},Rn;function gs(){return Rn||(Rn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isGroupSegment",{enumerable:!0,get:function(){return t}});function t(r){return r[0]==="("&&r.endsWith(")")}}(At)),At}var An;function _s(){return An||(An=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,s){for(var u in s)Object.defineProperty(i,u,{enumerable:!0,get:s[u]})}t(e,{normalizeAppPath:function(){return a},normalizeRscPath:function(){return o}});const r=ms(),n=gs();function a(i){return(0,r.ensureLeadingSlash)(i.split("/").reduce((s,u,h,g)=>!u||(0,n.isGroupSegment)(u)||u[0]==="@"||(u==="page"||u==="route")&&h===g.length-1?s:s+"/"+u,""))}function o(i,s){return s?i.replace(/\.rsc($|\?)/,"$1"):i}}(bt)),bt}var En;function vs(){return En||(En=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,s){for(var u in s)Object.defineProperty(i,u,{enumerable:!0,get:s[u]})}t(e,{INTERCEPTION_ROUTE_MARKERS:function(){return n},isInterceptionRouteAppPath:function(){return a},extractInterceptionRouteInformation:function(){return o}});const r=_s(),n=["(..)(..)","(.)","(..)","(...)"];function a(i){return i.split("/").find(s=>n.find(u=>s.startsWith(u)))!==void 0}function o(i){let s,u,h;for(const g of i.split("/"))if(u=n.find(y=>g.startsWith(y)),u){[s,h]=i.split(u,2);break}if(!s||!u||!h)throw new Error(`Invalid interception route: ${i}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(s=(0,r.normalizeAppPath)(s),u){case"(.)":s==="/"?h=`/${h}`:h=s+"/"+h;break;case"(..)":if(s==="/")throw new Error(`Invalid interception route: ${i}. Cannot use (..) marker at the root level, use (.) instead.`);h=s.split("/").slice(0,-1).concat(h).join("/");break;case"(...)":h="/"+h;break;case"(..)(..)":const g=s.split("/");if(g.length<=2)throw new Error(`Invalid interception route: ${i}. Cannot use (..)(..) marker at the root level or one level up.`);h=g.slice(0,-2).concat(h).join("/");break;default:throw new Error("Invariant: unexpected marker")}return{interceptingRoute:s,interceptedRoute:h}}}(vt)),vt}var Et={},wn;function bs(){return wn||(wn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return n}});const t=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function n(a){return t.test(a)?a.replace(r,"\\$&"):a}}(Et)),Et}var Sn;function Rs(){return Sn||(Sn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(m,d){for(var _ in d)Object.defineProperty(m,_,{enumerable:!0,get:d[_]})}t(e,{getRouteRegex:function(){return h},getNamedRouteRegex:function(){return c},getNamedMiddlewareRegex:function(){return p}});const r=vs(),n=bs(),a=Hi(),o="nxtP",i="nxtI";function s(m){const d=m.startsWith("[")&&m.endsWith("]");d&&(m=m.slice(1,-1));const _=m.startsWith("...");return _&&(m=m.slice(3)),{key:m,repeat:_,optional:d}}function u(m){const d=(0,a.removeTrailingSlash)(m).slice(1).split("/"),_={};let E=1;return{parameterizedRoute:d.map(l=>{const b=r.INTERCEPTION_ROUTE_MARKERS.find(x=>l.startsWith(x)),w=l.match(/\[((?:\[.*\])|.+)\]/);if(b&&w){const{key:x,optional:v,repeat:S}=s(w[1]);return _[x]={pos:E++,repeat:S,optional:v},"/"+(0,n.escapeStringRegexp)(b)+"([^/]+?)"}else if(w){const{key:x,repeat:v,optional:S}=s(w[1]);return _[x]={pos:E++,repeat:v,optional:S},v?S?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}else return"/"+(0,n.escapeStringRegexp)(l)}).join(""),groups:_}}function h(m){const{parameterizedRoute:d,groups:_}=u(m);return{re:new RegExp("^"+d+"(?:/)?$"),groups:_}}function g(){let m=0;return()=>{let d="",_=++m;for(;_>0;)d+=String.fromCharCode(97+(_-1)%26),_=Math.floor((_-1)/26);return d}}function y(m){let{getSafeRouteKey:d,segment:_,routeKeys:E,keyPrefix:l}=m;const{key:b,optional:w,repeat:x}=s(_);let v=b.replace(/\W/g,"");l&&(v=""+l+v);let S=!1;return(v.length===0||v.length>30)&&(S=!0),isNaN(parseInt(v.slice(0,1)))||(S=!0),S&&(v=d()),l?E[v]=""+l+b:E[v]=""+b,x?w?"(?:/(?<"+v+">.+?))?":"/(?<"+v+">.+?)":"/(?<"+v+">[^/]+?)"}function f(m,d){const _=(0,a.removeTrailingSlash)(m).slice(1).split("/"),E=g(),l={};return{namedParameterizedRoute:_.map(b=>{const w=r.INTERCEPTION_ROUTE_MARKERS.some(v=>b.startsWith(v)),x=b.match(/\[((?:\[.*\])|.+)\]/);return w&&x?y({getSafeRouteKey:E,segment:x[1],routeKeys:l,keyPrefix:d?i:void 0}):x?y({getSafeRouteKey:E,segment:x[1],routeKeys:l,keyPrefix:d?o:void 0}):"/"+(0,n.escapeStringRegexp)(b)}).join(""),routeKeys:l}}function c(m,d){const _=f(m,d);return{...h(m),namedRegex:"^"+_.namedParameterizedRoute+"(?:/)?$",routeKeys:_.routeKeys}}function p(m,d){const{parameterizedRoute:_}=u(m),{catchAll:E=!0}=d;if(_==="/")return{namedRegex:"^/"+(E?".*":"")+"$"};const{namedParameterizedRoute:l}=f(m,!1);let b=E?"(?:(/.*)?)":"";return{namedRegex:"^"+l+b+"$"}}}(_t)),_t}var Pn;function As(){return Pn||(Pn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return n}});const t=ys(),r=Rs();function n(a,o,i){let s="";const u=(0,r.getRouteRegex)(a),h=u.groups,g=(o!==a?(0,t.getRouteMatcher)(u)(o):"")||i;s=a;const y=Object.keys(h);return y.every(f=>{let c=g[f]||"";const{repeat:p,optional:m}=h[f];let d="["+(p?"...":"")+f+"]";return m&&(d=(c?"":"/")+"["+d+"]"),p&&!Array.isArray(c)&&(c=[c]),(m||f in g)&&(s=s.replace(d,p?c.map(_=>encodeURIComponent(_)).join("/"):encodeURIComponent(c))||"/")})||(s=""),{params:y,result:s}}}(mt)),mt}var On;function Es(){return On||(On=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return g}});const r=qi(),n=ki(),a=ls(),o=Ze(),i=Je(),s=Bi(),u=hs(),h=As();function g(y,f,c){let p,m=typeof f=="string"?f:(0,n.formatWithValidation)(f);const d=m.match(/^[a-zA-Z]{1,}:\/\//),_=d?m.slice(d[0].length):m;if((_.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+m+"' passed to next/router in page: '"+y.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const l=(0,o.normalizeRepeatedSlashes)(_);m=(d?d[0]:"")+l}if(!(0,s.isLocalURL)(m))return c?[m]:m;try{p=new URL(m.startsWith("#")?y.asPath:y.pathname,"http://n")}catch{p=new URL("/","http://n")}try{const l=new URL(m,p);l.pathname=(0,i.normalizePathTrailingSlash)(l.pathname);let b="";if((0,u.isDynamicRoute)(l.pathname)&&l.searchParams&&c){const x=(0,r.searchParamsToUrlQuery)(l.searchParams),{result:v,params:S}=(0,h.interpolateAs)(l.pathname,l.pathname,x);v&&(b=(0,n.formatWithValidation)({pathname:v,hash:l.hash,query:(0,a.omit)(x,S)}))}const w=l.origin===p.origin?l.href.slice(l.origin.length):l.href;return c?[w,b||w]:w}catch{return c?[m]:m}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Me,Me.exports)),Me.exports}var $e={exports:{}},wt={},St={},Cn;function Fi(){return Cn||(Cn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return r}});const t=Kr();function r(n,a){if(!n.startsWith("/")||!a)return n;const{pathname:o,query:i,hash:s}=(0,t.parsePath)(n);return""+a+o+i+s}}(St)),St}var In;function ws(){return In||(In=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return n}});const t=Fi(),r=Ui();function n(a,o,i,s){if(!o||o===i)return a;const u=a.toLowerCase();return!s&&((0,r.pathHasPrefix)(u,"/api")||(0,r.pathHasPrefix)(u,"/"+o.toLowerCase()))?a:(0,t.addPathPrefix)(a,"/"+o)}}(wt)),wt}var Tn;function Ss(){return Tn||(Tn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}});const r=Je(),n=function(a){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];return process.env.__NEXT_I18N_SUPPORT?(0,r.normalizePathTrailingSlash)(ws().addLocale(a,...i)):a};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}($e,$e.exports)),$e.exports}var Pt={},xn;function Gi(){return xn||(xn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return n}});const n=Ae._(ae).default.createContext(null);process.env.NODE_ENV!=="production"&&(n.displayName="RouterContext")}(Pt)),Pt}var Ot={},Nn;function Ps(){return Nn||(Nn=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function t(h,g){for(var y in g)Object.defineProperty(h,y,{enumerable:!0,get:g[y]})}t(e,{CacheStates:function(){return a},AppRouterContext:function(){return o},LayoutRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return s},TemplateContext:function(){return u}});const n=Ae._(ae);var a;(function(h){h.LAZY_INITIALIZED="LAZYINITIALIZED",h.DATA_FETCH="DATAFETCH",h.READY="READY"})(a||(a={}));const o=n.default.createContext(null),i=n.default.createContext(null),s=n.default.createContext(null),u=n.default.createContext(null);process.env.NODE_ENV!=="production"&&(o.displayName="AppRouterContext",i.displayName="LayoutRouterContext",s.displayName="GlobalLayoutRouterContext",u.displayName="TemplateContext")}(Ot)),Ot}var ke={exports:{}},He={exports:{}},jn;function zi(){return jn||(jn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function r(o,i){for(var s in i)Object.defineProperty(o,s,{enumerable:!0,get:i[s]})}r(t,{requestIdleCallback:function(){return n},cancelIdleCallback:function(){return a}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(o){let i=Date.now();return self.setTimeout(function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-i))}})},1)},a=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(o){return clearTimeout(o)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(He,He.exports)),He.exports}var Ln;function Os(){return Ln||(Ln=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return h}});const r=ae,n=zi(),a=typeof IntersectionObserver=="function",o=new Map,i=[];function s(g){const y={root:g.root||null,margin:g.rootMargin||""},f=i.find(d=>d.root===y.root&&d.margin===y.margin);let c;if(f&&(c=o.get(f),c))return c;const p=new Map,m=new IntersectionObserver(d=>{d.forEach(_=>{const E=p.get(_.target),l=_.isIntersecting||_.intersectionRatio>0;E&&l&&E(l)})},g);return c={id:y,observer:m,elements:p},i.push(y),o.set(y,c),c}function u(g,y,f){const{id:c,observer:p,elements:m}=s(f);return m.set(g,y),p.observe(g),function(){if(m.delete(g),p.unobserve(g),m.size===0){p.disconnect(),o.delete(c);const _=i.findIndex(E=>E.root===c.root&&E.margin===c.margin);_>-1&&i.splice(_,1)}}}function h(g){let{rootRef:y,rootMargin:f,disabled:c}=g;const p=c||!a,[m,d]=(0,r.useState)(!1),_=(0,r.useRef)(null),E=(0,r.useCallback)(b=>{_.current=b},[]);(0,r.useEffect)(()=>{if(a){if(p||m)return;const b=_.current;if(b&&b.tagName)return u(b,x=>x&&d(x),{root:y==null?void 0:y.current,rootMargin:f})}else if(!m){const b=(0,n.requestIdleCallback)(()=>d(!0));return()=>(0,n.cancelIdleCallback)(b)}},[p,f,y,m,_.current]);const l=(0,r.useCallback)(()=>{d(!1)},[]);return[E,m,l]}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(ke,ke.exports)),ke.exports}var Ue={exports:{}},Be={exports:{}},Ct={},Mn;function Cs(){return Mn||(Mn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return t}});function t(r,n){let a;const o=r.split("/");return(n||[]).some(i=>o[1]&&o[1].toLowerCase()===i.toLowerCase()?(a=i,o.splice(1,1),r=o.join("/")||"/",!0):!1),{pathname:r,detectedLocale:a}}}(Ct)),Ct}var Dn;function Is(){return Dn||(Dn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});const r=(n,a)=>process.env.__NEXT_I18N_SUPPORT?Cs().normalizeLocalePath(n,a):{pathname:n,detectedLocale:void 0};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Be,Be.exports)),Be.exports}var Fe={exports:{}},It={},qn;function Ts(){return qn||(qn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}});function t(r,n,a){if(r){a&&(a=a.toLowerCase());for(const s of r){var o,i;const u=(o=s.domain)==null?void 0:o.split(":")[0].toLowerCase();if(n===u||a===s.defaultLocale.toLowerCase()||(i=s.locales)!=null&&i.some(h=>h.toLowerCase()===a))return s}}}}(It)),It}var $n;function xs(){return $n||($n=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});const r=function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];if(process.env.__NEXT_I18N_SUPPORT)return Ts().detectDomainLocale(...a)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Fe,Fe.exports)),Fe.exports}var kn;function Ns(){return kn||(kn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return a}});const r=Je(),n=process.env.__NEXT_ROUTER_BASEPATH||"";function a(o,i,s,u){if(process.env.__NEXT_I18N_SUPPORT){const h=Is().normalizeLocalePath,g=xs().detectDomainLocale,y=i||h(o,s).detectedLocale,f=g(u,void 0,y);if(f){const c="http"+(f.http?"":"s")+"://",p=y===f.defaultLocale?"":"/"+y;return""+c+f.domain+(0,r.normalizePathTrailingSlash)(""+n+p+o)}return!1}else return!1}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ue,Ue.exports)),Ue.exports}var Ge={exports:{}},Hn;function js(){return Hn||(Hn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});const r=Fi(),n=Je(),a=process.env.__NEXT_ROUTER_BASEPATH||"";function o(i,s){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!s?i:(0,r.addPathPrefix)(i,a))}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ge,Ge.exports)),Ge.exports}var ze={exports:{}},Un;function Ls(){return Un||(Un=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function r(y,f){for(var c in f)Object.defineProperty(y,c,{enumerable:!0,get:f[c]})}r(t,{PrefetchKind:function(){return g},ACTION_REFRESH:function(){return n},ACTION_NAVIGATE:function(){return a},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return i},ACTION_PREFETCH:function(){return s},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return h}});const n="refresh",a="navigate",o="restore",i="server-patch",s="prefetch",u="fast-refresh",h="server-action";var g;(function(y){y.AUTO="auto",y.FULL="full",y.TEMPORARY="temporary"})(g||(g={})),(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(ze,ze.exports)),ze.exports}(function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const n=Ae._(ae),a=Es(),o=Bi(),i=ki(),s=Ze(),u=Ss(),h=Gi(),g=Ps(),y=Os(),f=Ns(),c=js(),p=Ls(),m=new Set;function d(x,v,S,M,R,N){if(typeof window>"u"||!N&&!(0,o.isLocalURL)(v))return;if(!M.bypassPrefetchedCheck){const q=typeof M.locale<"u"?M.locale:"locale"in x?x.locale:void 0,j=v+"%"+S+"%"+q;if(m.has(j))return;m.add(j)}const L=N?x.prefetch(v,R):x.prefetch(v,S,M);Promise.resolve(L).catch(q=>{if(process.env.NODE_ENV!=="production")throw q})}function _(x){const S=x.currentTarget.getAttribute("target");return S&&S!=="_self"||x.metaKey||x.ctrlKey||x.shiftKey||x.altKey||x.nativeEvent&&x.nativeEvent.which===2}function E(x,v,S,M,R,N,L,q,j,U){const{nodeName:F}=x.currentTarget;if(F.toUpperCase()==="A"&&(_(x)||!j&&!(0,o.isLocalURL)(S)))return;x.preventDefault();const Y=()=>{const V=L??!0;"beforePopState"in v?v[R?"replace":"push"](S,M,{shallow:N,locale:q,scroll:V}):v[R?"replace":"push"](M||S,{forceOptimisticNavigation:!U,scroll:V})};j?n.default.startTransition(Y):Y()}function l(x){return typeof x=="string"?x:(0,i.formatUrl)(x)}const w=n.default.forwardRef(function(v,S){let M;const{href:R,as:N,children:L,prefetch:q=null,passHref:j,replace:U,shallow:F,scroll:re,locale:Y,onClick:V,onMouseEnter:$,onTouchStart:ne,legacyBehavior:A=!1,...O}=v;M=L,A&&(typeof M=="string"||typeof M=="number")&&(M=n.default.createElement("a",null,M));const T=n.default.useContext(h.RouterContext),B=n.default.useContext(g.AppRouterContext),Z=T??B,K=!T,C=q!==!1,Q=q===null?p.PrefetchKind.AUTO:p.PrefetchKind.FULL;if(process.env.NODE_ENV!=="production"){let te=function(ee){return new Error("Failed prop type: The prop `"+ee.key+"` expects a "+ee.expected+" in `<Link>`, but got `"+ee.actual+"` instead."+(typeof window<"u"?`
|
|
2
|
-
Open your browser's console to view the Component stack trace.`:""))};Object.keys({href:!0}).forEach(ee=>{if(ee==="href"&&(v[ee]==null||typeof v[ee]!="string"&&typeof v[ee]!="object"))throw te({key:ee,expected:"`string` or `object`",actual:v[ee]===null?"null":typeof v[ee]})}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0}).forEach(ee=>{const H=typeof v[ee];if(ee==="as"){if(v[ee]&&H!=="string"&&H!=="object")throw te({key:ee,expected:"`string` or `object`",actual:H})}else if(ee==="locale"){if(v[ee]&&H!=="string")throw te({key:ee,expected:"`string`",actual:H})}else if(ee==="onClick"||ee==="onMouseEnter"||ee==="onTouchStart"){if(v[ee]&&H!=="function")throw te({key:ee,expected:"`function`",actual:H})}else if((ee==="replace"||ee==="scroll"||ee==="shallow"||ee==="passHref"||ee==="prefetch"||ee==="legacyBehavior")&&v[ee]!=null&&H!=="boolean")throw te({key:ee,expected:"`boolean`",actual:H})});const G=n.default.useRef(!1);v.prefetch&&!G.current&&!K&&(G.current=!0,console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"))}if(process.env.NODE_ENV!=="production"&&K&&!N){let te;if(typeof R=="string"?te=R:typeof R=="object"&&typeof R.pathname=="string"&&(te=R.pathname),te&&te.split("/").some(k=>k.startsWith("[")&&k.endsWith("]")))throw new Error("Dynamic href `"+te+"` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href")}const{href:z,as:X}=n.default.useMemo(()=>{if(!T){const k=l(R);return{href:k,as:N?l(N):k}}const[te,pe]=(0,a.resolveHref)(T,R,!0);return{href:te,as:N?(0,a.resolveHref)(T,N):pe||te}},[T,R,N]),I=n.default.useRef(z),P=n.default.useRef(X);let J;if(A)if(process.env.NODE_ENV==="development"){V&&console.warn('"onClick" was passed to <Link> with `href` of `'+R+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),$&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+R+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{J=n.default.Children.only(M)}catch{throw M?new Error("Multiple children were passed to <Link> with `href` of `"+R+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+(typeof window<"u"?`
|
|
3
|
-
Open your browser's console to view the Component stack trace.`:"")):new Error("No children were passed to <Link> with `href` of `"+R+"` but one child is required https://nextjs.org/docs/messages/link-no-children")}}else J=n.default.Children.only(M);else if(process.env.NODE_ENV==="development"&&(M==null?void 0:M.type)==="a")throw new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
|
|
4
|
-
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`);const oe=A?J&&typeof J=="object"&&J.ref:S,[se,ue,ie]=(0,y.useIntersection)({rootMargin:"200px"}),D=n.default.useCallback(te=>{(P.current!==X||I.current!==z)&&(ie(),P.current=X,I.current=z),se(te),oe&&(typeof oe=="function"?oe(te):typeof oe=="object"&&(oe.current=te))},[X,oe,z,ie,se]);n.default.useEffect(()=>{process.env.NODE_ENV==="production"&&Z&&(!ue||!C||d(Z,z,X,{locale:Y},{kind:Q},K))},[X,z,ue,Y,C,T==null?void 0:T.locale,Z,K,Q]);const de={ref:D,onClick(te){if(process.env.NODE_ENV!=="production"&&!te)throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');!A&&typeof V=="function"&&V(te),A&&J.props&&typeof J.props.onClick=="function"&&J.props.onClick(te),Z&&(te.defaultPrevented||E(te,Z,z,X,U,F,re,Y,K,C))},onMouseEnter(te){!A&&typeof $=="function"&&$(te),A&&J.props&&typeof J.props.onMouseEnter=="function"&&J.props.onMouseEnter(te),Z&&((!C||process.env.NODE_ENV==="development")&&K||d(Z,z,X,{locale:Y,priority:!0,bypassPrefetchedCheck:!0},{kind:Q},K))},onTouchStart(te){!A&&typeof ne=="function"&&ne(te),A&&J.props&&typeof J.props.onTouchStart=="function"&&J.props.onTouchStart(te),Z&&(!C&&K||d(Z,z,X,{locale:Y,priority:!0,bypassPrefetchedCheck:!0},{kind:Q},K))}};if((0,s.isAbsoluteUrl)(X))de.href=X;else if(!A||j||J.type==="a"&&!("href"in J.props)){const te=typeof Y<"u"?Y:T==null?void 0:T.locale,pe=(T==null?void 0:T.isLocaleDomain)&&(0,f.getDomainLocale)(X,te,T==null?void 0:T.locales,T==null?void 0:T.domainLocales);de.href=pe||(0,c.addBasePath)((0,u.addLocale)(X,te,T==null?void 0:T.defaultLocale))}return A?n.default.cloneElement(J,de):n.default.createElement("a",{...O,...de},M)});(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(Br,Br.exports);var Ms=Br.exports,Ds=Ms;const Qe=Vr(Ds),qs="_footer__bottom_1o9af_2",$s="_footer__wrapper_1o9af_10",ks="_footer__main_1o9af_39",Hs="_footer__legalInformation_1o9af_55",Us="_footer__column_1o9af_77",Bs="_footer__columnContent_1o9af_87",Fs="_footer__item_1o9af_91",Gs="_footer__itemLink_1o9af_107",zs="_footer__columnTitle_1o9af_122",Ws="_footer__columnTitleIcon_1o9af_134",Vs="_footer__iconList_1o9af_147",Ks="_footer__itemSmallText_1o9af_157",Qs="_payment_1o9af_168",Xs="_footer__iconContainer_1o9af_173",Ys="_footer__iconListSubHeader_1o9af_178",Zs="_accordionWrapper_1o9af_200",Js="_accordionHeader_1o9af_204",eu="_accordionTextWrapper_1o9af_208",fe={footer__bottom:qs,footer__wrapper:$s,footer__main:ks,footer__legalInformation:Hs,footer__column:Us,footer__columnContent:Bs,footer__item:Fs,footer__itemLink:Gs,footer__columnTitle:zs,footer__columnTitleIcon:Ws,footer__iconList:Vs,footer__itemSmallText:Ks,payment:Qs,footer__iconContainer:Xs,footer__iconListSubHeader:Ys,accordionWrapper:Zs,accordionHeader:Js,accordionTextWrapper:eu,"footer--stamps":"_footer--stamps_1o9af_247","footer--stamps--company":"_footer--stamps--company_1o9af_254","support-container":"_support-container_1o9af_258","support-section":"_support-section_1o9af_277","support-text":"_support-text_1o9af_319","support-items":"_support-items_1o9af_329","support-item":"_support-item_1o9af_329"};var Wi={},Qr={},Ie={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"warnOnce",{enumerable:!0,get:function(){return t}});let t=r=>{};if(process.env.NODE_ENV!=="production"){const r=new Set;t=n=>{r.has(n)||console.warn(n),r.add(n)}}})(Ie);var Vi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}});function t(r){let{widthInt:n,heightInt:a,blurWidth:o,blurHeight:i,blurDataURL:s,objectFit:u}=r;const h=20,g=o?o*40:n,y=i?i*40:a,f=g&&y?"viewBox='0 0 "+g+" "+y+"'":"",c=f?"none":u==="contain"?"xMidYMid":u==="cover"?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+f+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+h+"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='"+h+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+c+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}})(Vi);var et={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,o){for(var i in o)Object.defineProperty(a,i,{enumerable:!0,get:o[i]})}t(e,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});const r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}})(et);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return c}});const t=Ie,r=Vi,n=et,a=["lazy","eager",void 0];function o(p){return p.default!==void 0}function i(p){return p.src!==void 0}function s(p){return typeof p=="object"&&(o(p)||i(p))}const u=new Map;let h;function g(p){return typeof p>"u"?p:typeof p=="number"?Number.isFinite(p)?p:NaN:typeof p=="string"&&/^[0-9]+$/.test(p)?parseInt(p,10):NaN}function y(p,m,d){let{deviceSizes:_,allSizes:E}=p;if(d){const b=/(^|\s)(1?\d?\d)vw/g,w=[];for(let x;x=b.exec(d);x)w.push(parseInt(x[2]));if(w.length){const x=Math.min(...w)*.01;return{widths:E.filter(v=>v>=_[0]*x),kind:"w"}}return{widths:E,kind:"w"}}return typeof m!="number"?{widths:_,kind:"w"}:{widths:[...new Set([m,m*2].map(b=>E.find(w=>w>=b)||E[E.length-1]))],kind:"x"}}function f(p){let{config:m,src:d,unoptimized:_,width:E,quality:l,sizes:b,loader:w}=p;if(_)return{src:d,srcSet:void 0,sizes:void 0};const{widths:x,kind:v}=y(m,E,b),S=x.length-1;return{sizes:!b&&v==="w"?"100vw":b,srcSet:x.map((M,R)=>w({config:m,src:d,quality:l,width:M})+" "+(v==="w"?M:R+1)+v).join(", "),src:w({config:m,src:d,quality:l,width:x[S]})}}function c(p,m){let{src:d,sizes:_,unoptimized:E=!1,priority:l=!1,loading:b,className:w,quality:x,width:v,height:S,fill:M=!1,style:R,onLoad:N,onLoadingComplete:L,placeholder:q="empty",blurDataURL:j,fetchPriority:U,layout:F,objectFit:re,objectPosition:Y,lazyBoundary:V,lazyRoot:$,...ne}=p;const{imgConf:A,showAltText:O,blurComplete:T,defaultLoader:B}=m;let Z,K=A||n.imageConfigDefault;if("allSizes"in K)Z=K;else{const k=[...K.deviceSizes,...K.imageSizes].sort((_e,G)=>_e-G),ce=K.deviceSizes.sort((_e,G)=>_e-G);Z={...K,allSizes:k,deviceSizes:ce}}let C=ne.loader||B;delete ne.loader,delete ne.srcSet;const Q="__next_img_default"in C;if(Q){if(Z.loader==="custom")throw new Error('Image with src "'+d+`" is missing "loader" prop.
|
|
5
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{const k=C;C=ce=>{const{config:_e,...G}=ce;return k(G)}}if(F){F==="fill"&&(M=!0);const k={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},ce={responsive:"100vw",fill:"100vw"},_e=k[F];_e&&(R={...R,..._e});const G=ce[F];G&&!_&&(_=G)}let z="",X=g(v),I=g(S),P,J;if(s(d)){const k=o(d)?d.default:d;if(!k.src)throw new 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(k));if(!k.height||!k.width)throw new 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(k));if(P=k.blurWidth,J=k.blurHeight,j=j||k.blurDataURL,z=k.src,!M){if(!X&&!I)X=k.width,I=k.height;else if(X&&!I){const ce=X/k.width;I=Math.round(k.height*ce)}else if(!X&&I){const ce=I/k.height;X=Math.round(k.width*ce)}}}d=typeof d=="string"?d:z;let oe=!l&&(b==="lazy"||typeof b>"u");(!d||d.startsWith("data:")||d.startsWith("blob:"))&&(E=!0,oe=!1),Z.unoptimized&&(E=!0),Q&&d.endsWith(".svg")&&!Z.dangerouslyAllowSVG&&(E=!0),l&&(U="high");const se=g(x);if(process.env.NODE_ENV!=="production"){if(Z.output==="export"&&Q&&!E)throw new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api");if(!d)E=!0;else if(M){if(v)throw new Error('Image with src "'+d+'" has both "width" and "fill" properties. Only one should be used.');if(S)throw new Error('Image with src "'+d+'" has both "height" and "fill" properties. Only one should be used.');if(R!=null&&R.position&&R.position!=="absolute")throw new Error('Image with src "'+d+'" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.');if(R!=null&&R.width&&R.width!=="100%")throw new Error('Image with src "'+d+'" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.');if(R!=null&&R.height&&R.height!=="100%")throw new Error('Image with src "'+d+'" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.')}else{if(typeof X>"u")throw new Error('Image with src "'+d+'" is missing required "width" property.');if(isNaN(X))throw new Error('Image with src "'+d+'" has invalid "width" property. Expected a numeric value in pixels but received "'+v+'".');if(typeof I>"u")throw new Error('Image with src "'+d+'" is missing required "height" property.');if(isNaN(I))throw new Error('Image with src "'+d+'" has invalid "height" property. Expected a numeric value in pixels but received "'+S+'".')}if(!a.includes(b))throw new Error('Image with src "'+d+'" has invalid "loading" property. Provided "'+b+'" should be one of '+a.map(String).join(",")+".");if(l&&b==="lazy")throw new Error('Image with src "'+d+`" has both "priority" and "loading='lazy'" properties. Only one should be used.`);if(q!=="empty"&&q!=="blur"&&!q.startsWith("data:image/"))throw new Error('Image with src "'+d+'" has invalid "placeholder" property "'+q+'".');if(q!=="empty"&&X&&I&&X*I<1600&&(0,t.warnOnce)('Image with src "'+d+'" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'),q==="blur"&&!j){const k=["jpeg","png","webp","avif"];throw new Error('Image with src "'+d+`" has "placeholder='blur'" property but is missing the "blurDataURL" property.
|
|
6
|
-
Possible solutions:
|
|
7
|
-
- Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
|
|
8
|
-
- Change the "src" property to a static import with one of the supported file types: `+k.join(",")+` (animated images not supported)
|
|
9
|
-
- Remove the "placeholder" property, effectively no blur effect
|
|
10
|
-
Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`)}if("ref"in ne&&(0,t.warnOnce)('Image with src "'+d+'" is using unsupported "ref" property. Consider using the "onLoadingComplete" property instead.'),!E&&!Q){const k=C({config:Z,src:d,width:X||400,quality:se||75});let ce;try{ce=new URL(k)}catch{}(k===d||ce&&ce.pathname===d&&!ce.search)&&(0,t.warnOnce)('Image with src "'+d+`" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
|
|
11
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`)}for(const[k,ce]of Object.entries({layout:F,objectFit:re,objectPosition:Y,lazyBoundary:V,lazyRoot:$}))ce&&(0,t.warnOnce)('Image with src "'+d+'" has legacy prop "'+k+`". Did you forget to run the codemod?
|
|
12
|
-
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);if(typeof window<"u"&&!h&&window.PerformanceObserver){h=new PerformanceObserver(k=>{for(const _e of k.getEntries()){var ce;const G=(_e==null||(ce=_e.element)==null?void 0:ce.src)||"",ee=u.get(G);ee&&!ee.priority&&ee.placeholder==="empty"&&!ee.src.startsWith("data:")&&!ee.src.startsWith("blob:")&&(0,t.warnOnce)('Image with src "'+ee.src+`" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
|
|
13
|
-
Read more: https://nextjs.org/docs/api-reference/next/image#priority`)}});try{h.observe({type:"largest-contentful-paint",buffered:!0})}catch(k){console.error(k)}}}const ue=Object.assign(M?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:re,objectPosition:Y}:{},O?{}:{color:"transparent"},R),ie=!T&&q!=="empty"?q==="blur"?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:X,heightInt:I,blurWidth:P,blurHeight:J,blurDataURL:j||"",objectFit:ue.objectFit})+'")':'url("'+q+'")':null;let D=ie?{backgroundSize:ue.objectFit||"cover",backgroundPosition:ue.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:ie}:{};process.env.NODE_ENV==="development"&&D.backgroundImage&&q==="blur"&&j!=null&&j.startsWith("/")&&(D.backgroundImage='url("'+j+'")');const de=f({config:Z,src:d,unoptimized:E,width:X,quality:se,sizes:_,loader:C});if(process.env.NODE_ENV!=="production"&&typeof window<"u"){let k;try{k=new URL(de.src)}catch{k=new URL(de.src,window.location.href)}u.set(k.href,{src:d,priority:l,placeholder:q})}return{props:{...ne,loading:oe?"lazy":b,fetchPriority:U,width:X,height:I,decoding:"async",className:w,style:{...ue,...D},sizes:de.sizes,srcSet:de.srcSet,src:de.src},meta:{unoptimized:E,priority:l,placeholder:q,fill:M}}}})(Qr);var Fr={exports:{}},We={exports:{}},Tt={},Bn;function tu(){return Bn||(Bn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=ae,r=typeof window>"u",n=r?()=>{}:t.useLayoutEffect,a=r?()=>{}:t.useEffect;function o(i){const{headManager:s,reduceComponentsToState:u}=i;function h(){if(s&&s.mountedInstances){const y=t.Children.toArray(Array.from(s.mountedInstances).filter(Boolean));s.updateHead(u(y,i))}}if(r){var g;s==null||(g=s.mountedInstances)==null||g.add(i.children),h()}return n(()=>{var y;return s==null||(y=s.mountedInstances)==null||y.add(i.children),()=>{var f;s==null||(f=s.mountedInstances)==null||f.delete(i.children)}}),n(()=>(s&&(s._pendingUpdate=h),()=>{s&&(s._pendingUpdate=h)})),a(()=>(s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null),()=>{s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null)})),null}}(Tt)),Tt}var xt={},Fn;function ru(){return Fn||(Fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return n}});const n=Ae._(ae).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="AmpStateContext")}(xt)),xt}var Nt={},Gn;function Ki(){return Gn||(Gn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Ae._(ae).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(Nt)),Nt}var jt={},zn;function nu(){return zn||(zn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}});function t(r){let{ampFirst:n=!1,hybrid:a=!1,hasQuery:o=!1}=r===void 0?{}:r;return n||a&&o}}(jt)),jt}var Wn;function ou(){return Wn||(Wn=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function r(E,l){for(var b in l)Object.defineProperty(E,b,{enumerable:!0,get:l[b]})}r(t,{defaultHead:function(){return y},default:function(){return _}});const n=Ae,o=Pe._(ae),i=n._(tu()),s=ru(),u=Ki(),h=nu(),g=Ie;function y(E){E===void 0&&(E=!1);const l=[o.default.createElement("meta",{charSet:"utf-8"})];return E||l.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),l}function f(E,l){return typeof l=="string"||typeof l=="number"?E:l.type===o.default.Fragment?E.concat(o.default.Children.toArray(l.props.children).reduce((b,w)=>typeof w=="string"||typeof w=="number"?b:b.concat(w),[])):E.concat(l)}const c=["name","httpEquiv","charSet","itemProp"];function p(){const E=new Set,l=new Set,b=new Set,w={};return x=>{let v=!0,S=!1;if(x.key&&typeof x.key!="number"&&x.key.indexOf("$")>0){S=!0;const M=x.key.slice(x.key.indexOf("$")+1);E.has(M)?v=!1:E.add(M)}switch(x.type){case"title":case"base":l.has(x.type)?v=!1:l.add(x.type);break;case"meta":for(let M=0,R=c.length;M<R;M++){const N=c[M];if(x.props.hasOwnProperty(N))if(N==="charSet")b.has(N)?v=!1:b.add(N);else{const L=x.props[N],q=w[N]||new Set;(N!=="name"||!S)&&q.has(L)?v=!1:(q.add(L),w[N]=q)}}break}return v}}function m(E,l){const{inAmpMode:b}=l;return E.reduce(f,[]).reverse().concat(y(b).reverse()).filter(p()).reverse().map((w,x)=>{const v=w.key||x;if(process.env.NODE_ENV!=="development"&&process.env.__NEXT_OPTIMIZE_FONTS&&!b&&w.type==="link"&&w.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(S=>w.props.href.startsWith(S))){const S={...w.props||{}};return S["data-href"]=S.href,S.href=void 0,S["data-optimized-fonts"]=!0,o.default.cloneElement(w,S)}if(process.env.NODE_ENV==="development")if(w.type==="script"&&w.props.type!=="application/ld+json"){const S=w.props.src?'<script> tag with src="'+w.props.src+'"':"inline <script>";(0,g.warnOnce)("Do not add <script> tags using next/head (see "+S+`). Use next/script instead.
|
|
14
|
-
See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`)}else w.type==="link"&&w.props.rel==="stylesheet"&&(0,g.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="'+w.props.href+`"). Use Document instead.
|
|
15
|
-
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);return o.default.cloneElement(w,{key:v})})}function d(E){let{children:l}=E;const b=(0,o.useContext)(s.AmpStateContext),w=(0,o.useContext)(u.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:m,headManager:w,inAmpMode:(0,h.isInAmpMode)(b)},l)}const _=d;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(We,We.exports)),We.exports}var Lt={},Vn;function iu(){return Vn||(Vn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return a}});const r=Ae._(ae),n=et,a=r.default.createContext(n.imageConfigDefault);process.env.NODE_ENV!=="production"&&(a.displayName="ImageConfigContext")}(Lt)),Lt}var Mt={},Dt={},qt={exports:{}};const Qi={},au=Object.freeze(Object.defineProperty({__proto__:null,default:Qi},Symbol.toStringTag,{value:"Module"})),su=ss(au);var $t={},kt={},Ht,Kn;function Xi(){return Kn||(Kn=1,Ht=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==a||s.enumerable!==!0)return!1}return!0}),Ht}var Ut,Qn;function tt(){if(Qn)return Ut;Qn=1;var e=Xi();return Ut=function(){return e()&&!!Symbol.toStringTag},Ut}var Bt,Xn;function Yi(){return Xn||(Xn=1,Bt=Object),Bt}var Ft,Yn;function uu(){return Yn||(Yn=1,Ft=Error),Ft}var Gt,Zn;function cu(){return Zn||(Zn=1,Gt=EvalError),Gt}var zt,Jn;function lu(){return Jn||(Jn=1,zt=RangeError),zt}var Wt,eo;function fu(){return eo||(eo=1,Wt=ReferenceError),Wt}var Vt,to;function Zi(){return to||(to=1,Vt=SyntaxError),Vt}var Kt,ro;function Te(){return ro||(ro=1,Kt=TypeError),Kt}var Qt,no;function pu(){return no||(no=1,Qt=URIError),Qt}var Xt,oo;function du(){return oo||(oo=1,Xt=Math.abs),Xt}var Yt,io;function hu(){return io||(io=1,Yt=Math.floor),Yt}var Zt,ao;function yu(){return ao||(ao=1,Zt=Math.max),Zt}var Jt,so;function mu(){return so||(so=1,Jt=Math.min),Jt}var er,uo;function gu(){return uo||(uo=1,er=Math.pow),er}var tr,co;function _u(){return co||(co=1,tr=Math.round),tr}var rr,lo;function vu(){return lo||(lo=1,rr=Number.isNaN||function(t){return t!==t}),rr}var nr,fo;function bu(){if(fo)return nr;fo=1;var e=vu();return nr=function(r){return e(r)||r===0?r:r<0?-1:1},nr}var or,po;function Ru(){return po||(po=1,or=Object.getOwnPropertyDescriptor),or}var ir,ho;function Oe(){if(ho)return ir;ho=1;var e=Ru();if(e)try{e([],"length")}catch{e=null}return ir=e,ir}var ar,yo;function rt(){if(yo)return ar;yo=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return ar=e,ar}var sr,mo;function Au(){if(mo)return sr;mo=1;var e=typeof Symbol<"u"&&Symbol,t=Xi();return sr=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},sr}var ur,go;function Ji(){return go||(go=1,ur=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),ur}var cr,_o;function ea(){if(_o)return cr;_o=1;var e=Yi();return cr=e.getPrototypeOf||null,cr}var lr,vo;function Eu(){if(vo)return lr;vo=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",a=function(u,h){for(var g=[],y=0;y<u.length;y+=1)g[y]=u[y];for(var f=0;f<h.length;f+=1)g[f+u.length]=h[f];return g},o=function(u,h){for(var g=[],y=h,f=0;y<u.length;y+=1,f+=1)g[f]=u[y];return g},i=function(s,u){for(var h="",g=0;g<s.length;g+=1)h+=s[g],g+1<s.length&&(h+=u);return h};return lr=function(u){var h=this;if(typeof h!="function"||t.apply(h)!==n)throw new TypeError(e+h);for(var g=o(arguments,1),y,f=function(){if(this instanceof y){var _=h.apply(this,a(g,arguments));return Object(_)===_?_:this}return h.apply(u,a(g,arguments))},c=r(0,h.length-g.length),p=[],m=0;m<c;m++)p[m]="$"+m;if(y=Function("binder","return function ("+i(p,",")+"){ return binder.apply(this,arguments); }")(f),h.prototype){var d=function(){};d.prototype=h.prototype,y.prototype=new d,d.prototype=null}return y},lr}var fr,bo;function xe(){if(bo)return fr;bo=1;var e=Eu();return fr=Function.prototype.bind||e,fr}var pr,Ro;function Xr(){return Ro||(Ro=1,pr=Function.prototype.call),pr}var dr,Ao;function Yr(){return Ao||(Ao=1,dr=Function.prototype.apply),dr}var hr,Eo;function wu(){return Eo||(Eo=1,hr=typeof Reflect<"u"&&Reflect&&Reflect.apply),hr}var yr,wo;function ta(){if(wo)return yr;wo=1;var e=xe(),t=Yr(),r=Xr(),n=wu();return yr=n||e.call(r,t),yr}var mr,So;function Zr(){if(So)return mr;So=1;var e=xe(),t=Te(),r=Xr(),n=ta();return mr=function(o){if(o.length<1||typeof o[0]!="function")throw new t("a function is required");return n(e,r,o)},mr}var gr,Po;function Su(){if(Po)return gr;Po=1;var e=Zr(),t=Oe(),r;try{r=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var n=!!r&&t&&t(Object.prototype,"__proto__"),a=Object,o=a.getPrototypeOf;return gr=n&&typeof n.get=="function"?e([n.get]):typeof o=="function"?function(s){return o(s==null?s:a(s))}:!1,gr}var _r,Oo;function Jr(){if(Oo)return _r;Oo=1;var e=Ji(),t=ea(),r=Su();return _r=e?function(a){return e(a)}:t?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return t(a)}:r?function(a){return r(a)}:null,_r}var vr,Co;function ra(){if(Co)return vr;Co=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=xe();return vr=r.call(e,t),vr}var br,Io;function na(){if(Io)return br;Io=1;var e,t=Yi(),r=uu(),n=cu(),a=lu(),o=fu(),i=Zi(),s=Te(),u=pu(),h=du(),g=hu(),y=yu(),f=mu(),c=gu(),p=_u(),m=bu(),d=Function,_=function(Q){try{return d('"use strict"; return ('+Q+").constructor;")()}catch{}},E=Oe(),l=rt(),b=function(){throw new s},w=E?function(){try{return arguments.callee,b}catch{try{return E(arguments,"callee").get}catch{return b}}}():b,x=Au()(),v=Jr(),S=ea(),M=Ji(),R=Yr(),N=Xr(),L={},q=typeof Uint8Array>"u"||!v?e:v(Uint8Array),j={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":x&&v?v([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":L,"%AsyncGenerator%":L,"%AsyncGeneratorFunction%":L,"%AsyncIteratorPrototype%":L,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":L,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&v?v(v([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!x||!v?e:v(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":a,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!x||!v?e:v(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&v?v(""[Symbol.iterator]()):e,"%Symbol%":x?Symbol:e,"%SyntaxError%":i,"%ThrowTypeError%":w,"%TypedArray%":q,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":N,"%Function.prototype.apply%":R,"%Object.defineProperty%":l,"%Object.getPrototypeOf%":S,"%Math.abs%":h,"%Math.floor%":g,"%Math.max%":y,"%Math.min%":f,"%Math.pow%":c,"%Math.round%":p,"%Math.sign%":m,"%Reflect.getPrototypeOf%":M};if(v)try{null.error}catch(Q){var U=v(v(Q));j["%Error.prototype%"]=U}var F=function Q(z){var X;if(z==="%AsyncFunction%")X=_("async function () {}");else if(z==="%GeneratorFunction%")X=_("function* () {}");else if(z==="%AsyncGeneratorFunction%")X=_("async function* () {}");else if(z==="%AsyncGenerator%"){var I=Q("%AsyncGeneratorFunction%");I&&(X=I.prototype)}else if(z==="%AsyncIteratorPrototype%"){var P=Q("%AsyncGenerator%");P&&v&&(X=v(P.prototype))}return j[z]=X,X},re={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Y=xe(),V=ra(),$=Y.call(N,Array.prototype.concat),ne=Y.call(R,Array.prototype.splice),A=Y.call(N,String.prototype.replace),O=Y.call(N,String.prototype.slice),T=Y.call(N,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Z=/\\(\\)?/g,K=function(z){var X=O(z,0,1),I=O(z,-1);if(X==="%"&&I!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(I==="%"&&X!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var P=[];return A(z,B,function(J,oe,se,ue){P[P.length]=se?A(ue,Z,"$1"):oe||J}),P},C=function(z,X){var I=z,P;if(V(re,I)&&(P=re[I],I="%"+P[0]+"%"),V(j,I)){var J=j[I];if(J===L&&(J=F(I)),typeof J>"u"&&!X)throw new s("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:P,name:I,value:J}}throw new i("intrinsic "+z+" does not exist!")};return br=function(z,X){if(typeof z!="string"||z.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof X!="boolean")throw new s('"allowMissing" argument must be a boolean');if(T(/^%?[^%]*%?$/,z)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var I=K(z),P=I.length>0?I[0]:"",J=C("%"+P+"%",X),oe=J.name,se=J.value,ue=!1,ie=J.alias;ie&&(P=ie[0],ne(I,$([0,1],ie)));for(var D=1,de=!0;D<I.length;D+=1){var te=I[D],pe=O(te,0,1),k=O(te,-1);if((pe==='"'||pe==="'"||pe==="`"||k==='"'||k==="'"||k==="`")&&pe!==k)throw new i("property names with quotes must have matching quotes");if((te==="constructor"||!de)&&(ue=!0),P+="."+te,oe="%"+P+"%",V(j,oe))se=j[oe];else if(se!=null){if(!(te in se)){if(!X)throw new s("base intrinsic for "+z+" exists, but the property is not available.");return}if(E&&D+1>=I.length){var ce=E(se,te);de=!!ce,de&&"get"in ce&&!("originalValue"in ce.get)?se=ce.get:se=se[te]}else de=V(se,te),se=se[te];de&&!ue&&(j[oe]=se)}}return se},br}var Rr,To;function Ne(){if(To)return Rr;To=1;var e=na(),t=Zr(),r=t([e("%String.prototype.indexOf%")]);return Rr=function(a,o){var i=e(a,!!o);return typeof i=="function"&&r(a,".prototype.")>-1?t([i]):i},Rr}var Ar,xo;function Pu(){if(xo)return Ar;xo=1;var e=tt()(),t=Ne(),r=t("Object.prototype.toString"),n=function(s){return e&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:r(s)==="[object Arguments]"},a=function(s){return n(s)?!0:s!==null&&typeof s=="object"&&"length"in s&&typeof s.length=="number"&&s.length>=0&&r(s)!=="[object Array]"&&"callee"in s&&r(s.callee)==="[object Function]"},o=function(){return n(arguments)}();return n.isLegacyArguments=a,Ar=o?n:a,Ar}var Er,No;function Ou(){if(No)return Er;No=1;var e=Ne(),t=tt()(),r=ra(),n=Oe(),a;if(t){var o=e("RegExp.prototype.exec"),i={},s=function(){throw i},u={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s),a=function(f){if(!f||typeof f!="object")return!1;var c=n(f,"lastIndex"),p=c&&r(c,"value");if(!p)return!1;try{o(f,u)}catch(m){return m===i}}}else{var h=e("Object.prototype.toString"),g="[object RegExp]";a=function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:h(f)===g}}return Er=a,Er}var wr,jo;function Cu(){if(jo)return wr;jo=1;var e=Ne(),t=Ou(),r=e("RegExp.prototype.exec"),n=Te();return wr=function(o){if(!t(o))throw new n("`regex` must be a RegExp");return function(s){return r(o,s)!==null}},wr}var Sr,Lo;function Iu(){if(Lo)return Sr;Lo=1;var e=Ne(),t=Cu(),r=t(/^\s*(?:function)?\*/),n=tt()(),a=Jr(),o=e("Object.prototype.toString"),i=e("Function.prototype.toString"),s=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch{}},u;return Sr=function(g){if(typeof g!="function")return!1;if(r(i(g)))return!0;if(!n){var y=o(g);return y==="[object GeneratorFunction]"}if(!a)return!1;if(typeof u>"u"){var f=s();u=f?a(f):!1}return a(g)===u},Sr}var Pr,Mo;function Tu(){if(Mo)return Pr;Mo=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(E){E!==n&&(t=null)}else t=null;var a=/^\s*class\b/,o=function(l){try{var b=e.call(l);return a.test(b)}catch{return!1}},i=function(l){try{return o(l)?!1:(e.call(l),!0)}catch{return!1}},s=Object.prototype.toString,u="[object Object]",h="[object Function]",g="[object GeneratorFunction]",y="[object HTMLAllCollection]",f="[object HTML document.all class]",c="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,m=!(0 in[,]),d=function(){return!1};if(typeof document=="object"){var _=document.all;s.call(_)===s.call(document.all)&&(d=function(l){if((m||!l)&&(typeof l>"u"||typeof l=="object"))try{var b=s.call(l);return(b===y||b===f||b===c||b===u)&&l("")==null}catch{}return!1})}return Pr=t?function(l){if(d(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;try{t(l,null,r)}catch(b){if(b!==n)return!1}return!o(l)&&i(l)}:function(l){if(d(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;if(p)return i(l);if(o(l))return!1;var b=s.call(l);return b!==h&&b!==g&&!/^\[object HTML/.test(b)?!1:i(l)},Pr}var Or,Do;function xu(){if(Do)return Or;Do=1;var e=Tu(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(u,h,g){for(var y=0,f=u.length;y<f;y++)r.call(u,y)&&(g==null?h(u[y],y,u):h.call(g,u[y],y,u))},a=function(u,h,g){for(var y=0,f=u.length;y<f;y++)g==null?h(u.charAt(y),y,u):h.call(g,u.charAt(y),y,u)},o=function(u,h,g){for(var y in u)r.call(u,y)&&(g==null?h(u[y],y,u):h.call(g,u[y],y,u))};function i(s){return t.call(s)==="[object Array]"}return Or=function(u,h,g){if(!e(h))throw new TypeError("iterator must be a function");var y;arguments.length>=3&&(y=g),i(u)?n(u,h,y):typeof u=="string"?a(u,h,y):o(u,h,y)},Or}var Cr,qo;function Nu(){return qo||(qo=1,Cr=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Cr}var Ir,$o;function ju(){if($o)return Ir;$o=1;var e=Nu(),t=typeof globalThis>"u"?Di:globalThis;return Ir=function(){for(var n=[],a=0;a<e.length;a++)typeof t[e[a]]=="function"&&(n[n.length]=e[a]);return n},Ir}var Tr={exports:{}},xr,ko;function Lu(){if(ko)return xr;ko=1;var e=rt(),t=Zi(),r=Te(),n=Oe();return xr=function(o,i,s){if(!o||typeof o!="object"&&typeof o!="function")throw new r("`obj` must be an object or a function`");if(typeof i!="string"&&typeof i!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,h=arguments.length>4?arguments[4]:null,g=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,f=!!n&&n(o,i);if(e)e(o,i,{configurable:g===null&&f?f.configurable:!g,enumerable:u===null&&f?f.enumerable:!u,value:s,writable:h===null&&f?f.writable:!h});else if(y||!u&&!h&&!g)o[i]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},xr}var Nr,Ho;function Mu(){if(Ho)return Nr;Ho=1;var e=rt(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},Nr=t,Nr}var jr,Uo;function Du(){if(Uo)return jr;Uo=1;var e=na(),t=Lu(),r=Mu()(),n=Oe(),a=Te(),o=e("%Math.floor%");return jr=function(s,u){if(typeof s!="function")throw new a("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||o(u)!==u)throw new a("`length` must be a positive 32-bit integer");var h=arguments.length>2&&!!arguments[2],g=!0,y=!0;if("length"in s&&n){var f=n(s,"length");f&&!f.configurable&&(g=!1),f&&!f.writable&&(y=!1)}return(g||y||!h)&&(r?t(s,"length",u,!0,!0):t(s,"length",u)),s},jr}var Lr,Bo;function qu(){if(Bo)return Lr;Bo=1;var e=xe(),t=Yr(),r=ta();return Lr=function(){return r(e,t,arguments)},Lr}var Fo;function $u(){return Fo||(Fo=1,function(e){var t=Du(),r=rt(),n=Zr(),a=qu();e.exports=function(i){var s=n(arguments),u=i.length-(arguments.length-1);return t(s,1+(u>0?u:0),!0)},r?r(e.exports,"apply",{value:a}):e.exports.apply=a}(Tr)),Tr.exports}var Mr,Go;function oa(){if(Go)return Mr;Go=1;var e=xu(),t=ju(),r=$u(),n=Ne(),a=Oe(),o=Jr(),i=n("Object.prototype.toString"),s=tt()(),u=typeof globalThis>"u"?Di:globalThis,h=t(),g=n("String.prototype.slice"),y=n("Array.prototype.indexOf",!0)||function(d,_){for(var E=0;E<d.length;E+=1)if(d[E]===_)return E;return-1},f={__proto__:null};s&&a&&o?e(h,function(m){var d=new u[m];if(Symbol.toStringTag in d&&o){var _=o(d),E=a(_,Symbol.toStringTag);if(!E&&_){var l=o(_);E=a(l,Symbol.toStringTag)}f["$"+m]=r(E.get)}}):e(h,function(m){var d=new u[m],_=d.slice||d.set;_&&(f["$"+m]=r(_))});var c=function(d){var _=!1;return e(f,function(E,l){if(!_)try{"$"+E(d)===l&&(_=g(l,1))}catch{}}),_},p=function(d){var _=!1;return e(f,function(E,l){if(!_)try{E(d),_=g(l,1)}catch{}}),_};return Mr=function(d){if(!d||typeof d!="object")return!1;if(!s){var _=g(i(d),8,-1);return y(h,_)>-1?_:_!=="Object"?!1:p(d)}return a?c(d):null},Mr}var Dr,zo;function ku(){if(zo)return Dr;zo=1;var e=oa();return Dr=function(r){return!!e(r)},Dr}var Wo;function Hu(){return Wo||(Wo=1,function(e){var t=Pu(),r=Iu(),n=oa(),a=ku();function o(D){return D.call.bind(D)}var i=typeof BigInt<"u",s=typeof Symbol<"u",u=o(Object.prototype.toString),h=o(Number.prototype.valueOf),g=o(String.prototype.valueOf),y=o(Boolean.prototype.valueOf);if(i)var f=o(BigInt.prototype.valueOf);if(s)var c=o(Symbol.prototype.valueOf);function p(D,de){if(typeof D!="object")return!1;try{return de(D),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=a;function m(D){return typeof Promise<"u"&&D instanceof Promise||D!==null&&typeof D=="object"&&typeof D.then=="function"&&typeof D.catch=="function"}e.isPromise=m;function d(D){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(D):a(D)||O(D)}e.isArrayBufferView=d;function _(D){return n(D)==="Uint8Array"}e.isUint8Array=_;function E(D){return n(D)==="Uint8ClampedArray"}e.isUint8ClampedArray=E;function l(D){return n(D)==="Uint16Array"}e.isUint16Array=l;function b(D){return n(D)==="Uint32Array"}e.isUint32Array=b;function w(D){return n(D)==="Int8Array"}e.isInt8Array=w;function x(D){return n(D)==="Int16Array"}e.isInt16Array=x;function v(D){return n(D)==="Int32Array"}e.isInt32Array=v;function S(D){return n(D)==="Float32Array"}e.isFloat32Array=S;function M(D){return n(D)==="Float64Array"}e.isFloat64Array=M;function R(D){return n(D)==="BigInt64Array"}e.isBigInt64Array=R;function N(D){return n(D)==="BigUint64Array"}e.isBigUint64Array=N;function L(D){return u(D)==="[object Map]"}L.working=typeof Map<"u"&&L(new Map);function q(D){return typeof Map>"u"?!1:L.working?L(D):D instanceof Map}e.isMap=q;function j(D){return u(D)==="[object Set]"}j.working=typeof Set<"u"&&j(new Set);function U(D){return typeof Set>"u"?!1:j.working?j(D):D instanceof Set}e.isSet=U;function F(D){return u(D)==="[object WeakMap]"}F.working=typeof WeakMap<"u"&&F(new WeakMap);function re(D){return typeof WeakMap>"u"?!1:F.working?F(D):D instanceof WeakMap}e.isWeakMap=re;function Y(D){return u(D)==="[object WeakSet]"}Y.working=typeof WeakSet<"u"&&Y(new WeakSet);function V(D){return Y(D)}e.isWeakSet=V;function $(D){return u(D)==="[object ArrayBuffer]"}$.working=typeof ArrayBuffer<"u"&&$(new ArrayBuffer);function ne(D){return typeof ArrayBuffer>"u"?!1:$.working?$(D):D instanceof ArrayBuffer}e.isArrayBuffer=ne;function A(D){return u(D)==="[object DataView]"}A.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&A(new DataView(new ArrayBuffer(1),0,1));function O(D){return typeof DataView>"u"?!1:A.working?A(D):D instanceof DataView}e.isDataView=O;var T=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function B(D){return u(D)==="[object SharedArrayBuffer]"}function Z(D){return typeof T>"u"?!1:(typeof B.working>"u"&&(B.working=B(new T)),B.working?B(D):D instanceof T)}e.isSharedArrayBuffer=Z;function K(D){return u(D)==="[object AsyncFunction]"}e.isAsyncFunction=K;function C(D){return u(D)==="[object Map Iterator]"}e.isMapIterator=C;function Q(D){return u(D)==="[object Set Iterator]"}e.isSetIterator=Q;function z(D){return u(D)==="[object Generator]"}e.isGeneratorObject=z;function X(D){return u(D)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=X;function I(D){return p(D,h)}e.isNumberObject=I;function P(D){return p(D,g)}e.isStringObject=P;function J(D){return p(D,y)}e.isBooleanObject=J;function oe(D){return i&&p(D,f)}e.isBigIntObject=oe;function se(D){return s&&p(D,c)}e.isSymbolObject=se;function ue(D){return I(D)||P(D)||J(D)||oe(D)||se(D)}e.isBoxedPrimitive=ue;function ie(D){return typeof Uint8Array<"u"&&(ne(D)||Z(D))}e.isAnyArrayBuffer=ie,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(D){Object.defineProperty(e,D,{enumerable:!1,value:function(){throw new Error(D+" is not supported in userland")}})})}(kt)),kt}var qr,Vo;function Uu(){return Vo||(Vo=1,qr=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}),qr}var Ve={exports:{}},Ko;function Bu(){return Ko||(Ko=1,typeof Object.create=="function"?Ve.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ve.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}),Ve.exports}var Qo;function Fu(){return Qo||(Qo=1,function(e){var t=Object.getOwnPropertyDescriptors||function(O){for(var T=Object.keys(O),B={},Z=0;Z<T.length;Z++)B[T[Z]]=Object.getOwnPropertyDescriptor(O,T[Z]);return B},r=/%[sdj%]/g;e.format=function(A){if(!w(A)){for(var O=[],T=0;T<arguments.length;T++)O.push(i(arguments[T]));return O.join(" ")}for(var T=1,B=arguments,Z=B.length,K=String(A).replace(r,function(Q){if(Q==="%%")return"%";if(T>=Z)return Q;switch(Q){case"%s":return String(B[T++]);case"%d":return Number(B[T++]);case"%j":try{return JSON.stringify(B[T++])}catch{return"[Circular]"}default:return Q}}),C=B[T];T<Z;C=B[++T])E(C)||!M(C)?K+=" "+C:K+=" "+i(C);return K},e.deprecate=function(A,O){if(typeof process<"u"&&process.noDeprecation===!0)return A;if(typeof process>"u")return function(){return e.deprecate(A,O).apply(this,arguments)};var T=!1;function B(){if(!T){if(process.throwDeprecation)throw new Error(O);process.traceDeprecation?console.trace(O):console.error(O),T=!0}return A.apply(this,arguments)}return B};var n={},a=/^$/;if(process.env.NODE_DEBUG){var o=process.env.NODE_DEBUG;o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+o+"$","i")}e.debuglog=function(A){if(A=A.toUpperCase(),!n[A])if(a.test(A)){var O=process.pid;n[A]=function(){var T=e.format.apply(e,arguments);console.error("%s %d: %s",A,O,T)}}else n[A]=function(){};return n[A]};function i(A,O){var T={seen:[],stylize:u};return arguments.length>=3&&(T.depth=arguments[2]),arguments.length>=4&&(T.colors=arguments[3]),_(O)?T.showHidden=O:O&&e._extend(T,O),v(T.showHidden)&&(T.showHidden=!1),v(T.depth)&&(T.depth=2),v(T.colors)&&(T.colors=!1),v(T.customInspect)&&(T.customInspect=!0),T.colors&&(T.stylize=s),g(T,A,T.depth)}e.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(A,O){var T=i.styles[O];return T?"\x1B["+i.colors[T][0]+"m"+A+"\x1B["+i.colors[T][1]+"m":A}function u(A,O){return A}function h(A){var O={};return A.forEach(function(T,B){O[T]=!0}),O}function g(A,O,T){if(A.customInspect&&O&&L(O.inspect)&&O.inspect!==e.inspect&&!(O.constructor&&O.constructor.prototype===O)){var B=O.inspect(T,A);return w(B)||(B=g(A,B,T)),B}var Z=y(A,O);if(Z)return Z;var K=Object.keys(O),C=h(K);if(A.showHidden&&(K=Object.getOwnPropertyNames(O)),N(O)&&(K.indexOf("message")>=0||K.indexOf("description")>=0))return f(O);if(K.length===0){if(L(O)){var Q=O.name?": "+O.name:"";return A.stylize("[Function"+Q+"]","special")}if(S(O))return A.stylize(RegExp.prototype.toString.call(O),"regexp");if(R(O))return A.stylize(Date.prototype.toString.call(O),"date");if(N(O))return f(O)}var z="",X=!1,I=["{","}"];if(d(O)&&(X=!0,I=["[","]"]),L(O)){var P=O.name?": "+O.name:"";z=" [Function"+P+"]"}if(S(O)&&(z=" "+RegExp.prototype.toString.call(O)),R(O)&&(z=" "+Date.prototype.toUTCString.call(O)),N(O)&&(z=" "+f(O)),K.length===0&&(!X||O.length==0))return I[0]+z+I[1];if(T<0)return S(O)?A.stylize(RegExp.prototype.toString.call(O),"regexp"):A.stylize("[Object]","special");A.seen.push(O);var J;return X?J=c(A,O,T,C,K):J=K.map(function(oe){return p(A,O,T,C,oe,X)}),A.seen.pop(),m(J,z,I)}function y(A,O){if(v(O))return A.stylize("undefined","undefined");if(w(O)){var T="'"+JSON.stringify(O).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return A.stylize(T,"string")}if(b(O))return A.stylize(""+O,"number");if(_(O))return A.stylize(""+O,"boolean");if(E(O))return A.stylize("null","null")}function f(A){return"["+Error.prototype.toString.call(A)+"]"}function c(A,O,T,B,Z){for(var K=[],C=0,Q=O.length;C<Q;++C)Y(O,String(C))?K.push(p(A,O,T,B,String(C),!0)):K.push("");return Z.forEach(function(z){z.match(/^\d+$/)||K.push(p(A,O,T,B,z,!0))}),K}function p(A,O,T,B,Z,K){var C,Q,z;if(z=Object.getOwnPropertyDescriptor(O,Z)||{value:O[Z]},z.get?z.set?Q=A.stylize("[Getter/Setter]","special"):Q=A.stylize("[Getter]","special"):z.set&&(Q=A.stylize("[Setter]","special")),Y(B,Z)||(C="["+Z+"]"),Q||(A.seen.indexOf(z.value)<0?(E(T)?Q=g(A,z.value,null):Q=g(A,z.value,T-1),Q.indexOf(`
|
|
16
|
-
`)>-1&&(K?Q=Q.split(`
|
|
17
|
-
`).map(function(X){return" "+X}).join(`
|
|
18
|
-
`).slice(2):Q=`
|
|
19
|
-
`+Q.split(`
|
|
20
|
-
`).map(function(X){return" "+X}).join(`
|
|
21
|
-
`))):Q=A.stylize("[Circular]","special")),v(C)){if(K&&Z.match(/^\d+$/))return Q;C=JSON.stringify(""+Z),C.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(C=C.slice(1,-1),C=A.stylize(C,"name")):(C=C.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),C=A.stylize(C,"string"))}return C+": "+Q}function m(A,O,T){var B=A.reduce(function(Z,K){return K.indexOf(`
|
|
22
|
-
`)>=0,Z+K.replace(/\u001b\[\d\d?m/g,"").length+1},0);return B>60?T[0]+(O===""?"":O+`
|
|
23
|
-
`)+" "+A.join(`,
|
|
24
|
-
`)+" "+T[1]:T[0]+O+" "+A.join(", ")+" "+T[1]}e.types=Hu();function d(A){return Array.isArray(A)}e.isArray=d;function _(A){return typeof A=="boolean"}e.isBoolean=_;function E(A){return A===null}e.isNull=E;function l(A){return A==null}e.isNullOrUndefined=l;function b(A){return typeof A=="number"}e.isNumber=b;function w(A){return typeof A=="string"}e.isString=w;function x(A){return typeof A=="symbol"}e.isSymbol=x;function v(A){return A===void 0}e.isUndefined=v;function S(A){return M(A)&&j(A)==="[object RegExp]"}e.isRegExp=S,e.types.isRegExp=S;function M(A){return typeof A=="object"&&A!==null}e.isObject=M;function R(A){return M(A)&&j(A)==="[object Date]"}e.isDate=R,e.types.isDate=R;function N(A){return M(A)&&(j(A)==="[object Error]"||A instanceof Error)}e.isError=N,e.types.isNativeError=N;function L(A){return typeof A=="function"}e.isFunction=L;function q(A){return A===null||typeof A=="boolean"||typeof A=="number"||typeof A=="string"||typeof A=="symbol"||typeof A>"u"}e.isPrimitive=q,e.isBuffer=Uu();function j(A){return Object.prototype.toString.call(A)}function U(A){return A<10?"0"+A.toString(10):A.toString(10)}var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function re(){var A=new Date,O=[U(A.getHours()),U(A.getMinutes()),U(A.getSeconds())].join(":");return[A.getDate(),F[A.getMonth()],O].join(" ")}e.log=function(){console.log("%s - %s",re(),e.format.apply(e,arguments))},e.inherits=Bu(),e._extend=function(A,O){if(!O||!M(O))return A;for(var T=Object.keys(O),B=T.length;B--;)A[T[B]]=O[T[B]];return A};function Y(A,O){return Object.prototype.hasOwnProperty.call(A,O)}var V=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(O){if(typeof O!="function")throw new TypeError('The "original" argument must be of type Function');if(V&&O[V]){var T=O[V];if(typeof T!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(T,V,{value:T,enumerable:!1,writable:!1,configurable:!0}),T}function T(){for(var B,Z,K=new Promise(function(z,X){B=z,Z=X}),C=[],Q=0;Q<arguments.length;Q++)C.push(arguments[Q]);C.push(function(z,X){z?Z(z):B(X)});try{O.apply(this,C)}catch(z){Z(z)}return K}return Object.setPrototypeOf(T,Object.getPrototypeOf(O)),V&&Object.defineProperty(T,V,{value:T,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(T,t(O))},e.promisify.custom=V;function $(A,O){if(!A){var T=new Error("Promise was rejected with a falsy value");T.reason=A,A=T}return O(A)}function ne(A){if(typeof A!="function")throw new TypeError('The "original" argument must be of type Function');function O(){for(var T=[],B=0;B<arguments.length;B++)T.push(arguments[B]);var Z=T.pop();if(typeof Z!="function")throw new TypeError("The last argument must be of type Function");var K=this,C=function(){return Z.apply(K,arguments)};A.apply(this,T).then(function(Q){process.nextTick(C.bind(null,null,Q))},function(Q){process.nextTick($.bind(null,Q,C))})}return Object.setPrototypeOf(O,Object.getPrototypeOf(A)),Object.defineProperties(O,t(A)),O}e.callbackify=ne}($t)),$t}var Xo;function Gu(){return Xo||(Xo=1,(()=>{var e={333:(a,o,i)=>{const s=i(137),u=i(179),h=i(13),g=i(719),y=(f,c={})=>{let p=[];if(Array.isArray(f))for(let m of f){let d=y.create(m,c);Array.isArray(d)?p.push(...d):p.push(d)}else p=[].concat(y.create(f,c));return c&&c.expand===!0&&c.nodupes===!0&&(p=[...new Set(p)]),p};y.parse=(f,c={})=>g(f,c),y.stringify=(f,c={})=>s(typeof f=="string"?y.parse(f,c):f,c),y.compile=(f,c={})=>(typeof f=="string"&&(f=y.parse(f,c)),u(f,c)),y.expand=(f,c={})=>{typeof f=="string"&&(f=y.parse(f,c));let p=h(f,c);return c.noempty===!0&&(p=p.filter(Boolean)),c.nodupes===!0&&(p=[...new Set(p)]),p},y.create=(f,c={})=>f===""||f.length<3?[f]:c.expand!==!0?y.compile(f,c):y.expand(f,c),a.exports=y},179:(a,o,i)=>{const s=i(783),u=i(617),h=(g,y={})=>{let f=(c,p={})=>{let m=u.isInvalidBrace(p),d=c.invalid===!0&&y.escapeInvalid===!0,_=m===!0||d===!0,E=y.escapeInvalid===!0?"\\":"",l="";if(c.isOpen===!0||c.isClose===!0)return E+c.value;if(c.type==="open")return _?E+c.value:"(";if(c.type==="close")return _?E+c.value:")";if(c.type==="comma")return c.prev.type==="comma"?"":_?c.value:"|";if(c.value)return c.value;if(c.nodes&&c.ranges>0){let b=u.reduce(c.nodes),w=s(...b,{...y,wrap:!1,toRegex:!0});if(w.length!==0)return b.length>1&&w.length>1?`(${w})`:w}if(c.nodes)for(let b of c.nodes)l+=f(b,c);return l};return f(g)};a.exports=h},457:a=>{a.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
25
|
-
`,CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}},13:(a,o,i)=>{const s=i(783),u=i(137),h=i(617),g=(f="",c="",p=!1)=>{let m=[];if(f=[].concat(f),c=[].concat(c),!c.length)return f;if(!f.length)return p?h.flatten(c).map(d=>`{${d}}`):c;for(let d of f)if(Array.isArray(d))for(let _ of d)m.push(g(_,c,p));else for(let _ of c)p===!0&&typeof _=="string"&&(_=`{${_}}`),m.push(Array.isArray(_)?g(d,_,p):d+_);return h.flatten(m)},y=(f,c={})=>{let p=c.rangeLimit===void 0?1e3:c.rangeLimit,m=(d,_={})=>{d.queue=[];let E=_,l=_.queue;for(;E.type!=="brace"&&E.type!=="root"&&E.parent;)E=E.parent,l=E.queue;if(d.invalid||d.dollar){l.push(g(l.pop(),u(d,c)));return}if(d.type==="brace"&&d.invalid!==!0&&d.nodes.length===2){l.push(g(l.pop(),["{}"]));return}if(d.nodes&&d.ranges>0){let v=h.reduce(d.nodes);if(h.exceedsLimit(...v,c.step,p))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let S=s(...v,c);S.length===0&&(S=u(d,c)),l.push(g(l.pop(),S)),d.nodes=[];return}let b=h.encloseBrace(d),w=d.queue,x=d;for(;x.type!=="brace"&&x.type!=="root"&&x.parent;)x=x.parent,w=x.queue;for(let v=0;v<d.nodes.length;v++){let S=d.nodes[v];if(S.type==="comma"&&d.type==="brace"){v===1&&w.push(""),w.push("");continue}if(S.type==="close"){l.push(g(l.pop(),w,b));continue}if(S.value&&S.type!=="open"){w.push(g(w.pop(),S.value));continue}S.nodes&&m(S,d)}return w};return h.flatten(m(f))};a.exports=y},719:(a,o,i)=>{const s=i(137),{MAX_LENGTH:u,CHAR_BACKSLASH:h,CHAR_BACKTICK:g,CHAR_COMMA:y,CHAR_DOT:f,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:p,CHAR_LEFT_CURLY_BRACE:m,CHAR_RIGHT_CURLY_BRACE:d,CHAR_LEFT_SQUARE_BRACKET:_,CHAR_RIGHT_SQUARE_BRACKET:E,CHAR_DOUBLE_QUOTE:l,CHAR_SINGLE_QUOTE:b,CHAR_NO_BREAK_SPACE:w,CHAR_ZERO_WIDTH_NOBREAK_SPACE:x}=i(457),v=(S,M={})=>{if(typeof S!="string")throw new TypeError("Expected a string");let R=M||{},N=typeof R.maxLength=="number"?Math.min(u,R.maxLength):u;if(S.length>N)throw new SyntaxError(`Input length (${S.length}), exceeds max characters (${N})`);let L={type:"root",input:S,nodes:[]},q=[L],j=L,U=L,F=0,re=S.length,Y=0,V=0,$;const ne=()=>S[Y++],A=O=>{if(O.type==="text"&&U.type==="dot"&&(U.type="text"),U&&U.type==="text"&&O.type==="text"){U.value+=O.value;return}return j.nodes.push(O),O.parent=j,O.prev=U,U=O,O};for(A({type:"bos"});Y<re;)if(j=q[q.length-1],$=ne(),!($===x||$===w)){if($===h){A({type:"text",value:(M.keepEscaping?$:"")+ne()});continue}if($===E){A({type:"text",value:"\\"+$});continue}if($===_){F++;let O;for(;Y<re&&(O=ne());){if($+=O,O===_){F++;continue}if(O===h){$+=ne();continue}if(O===E&&(F--,F===0))break}A({type:"text",value:$});continue}if($===c){j=A({type:"paren",nodes:[]}),q.push(j),A({type:"text",value:$});continue}if($===p){if(j.type!=="paren"){A({type:"text",value:$});continue}j=q.pop(),A({type:"text",value:$}),j=q[q.length-1];continue}if($===l||$===b||$===g){let O=$,T;for(M.keepQuotes!==!0&&($="");Y<re&&(T=ne());){if(T===h){$+=T+ne();continue}if(T===O){M.keepQuotes===!0&&($+=T);break}$+=T}A({type:"text",value:$});continue}if($===m){V++;let T={type:"brace",open:!0,close:!1,dollar:U.value&&U.value.slice(-1)==="$"||j.dollar===!0,depth:V,commas:0,ranges:0,nodes:[]};j=A(T),q.push(j),A({type:"open",value:$});continue}if($===d){if(j.type!=="brace"){A({type:"text",value:$});continue}let O="close";j=q.pop(),j.close=!0,A({type:O,value:$}),V--,j=q[q.length-1];continue}if($===y&&V>0){if(j.ranges>0){j.ranges=0;let O=j.nodes.shift();j.nodes=[O,{type:"text",value:s(j)}]}A({type:"comma",value:$}),j.commas++;continue}if($===f&&V>0&&j.commas===0){let O=j.nodes;if(V===0||O.length===0){A({type:"text",value:$});continue}if(U.type==="dot"){if(j.range=[],U.value+=$,U.type="range",j.nodes.length!==3&&j.nodes.length!==5){j.invalid=!0,j.ranges=0,U.type="text";continue}j.ranges++,j.args=[];continue}if(U.type==="range"){O.pop();let T=O[O.length-1];T.value+=U.value+$,U=T,j.ranges--;continue}A({type:"dot",value:$});continue}A({type:"text",value:$})}do if(j=q.pop(),j.type!=="root"){j.nodes.forEach(B=>{B.nodes||(B.type==="open"&&(B.isOpen=!0),B.type==="close"&&(B.isClose=!0),B.nodes||(B.type="text"),B.invalid=!0)});let O=q[q.length-1],T=O.nodes.indexOf(j);O.nodes.splice(T,1,...j.nodes)}while(q.length>0);return A({type:"eos"}),L};a.exports=v},137:(a,o,i)=>{const s=i(617);a.exports=(u,h={})=>{let g=(y,f={})=>{let c=h.escapeInvalid&&s.isInvalidBrace(f),p=y.invalid===!0&&h.escapeInvalid===!0,m="";if(y.value)return(c||p)&&s.isOpenOrClose(y)?"\\"+y.value:y.value;if(y.value)return y.value;if(y.nodes)for(let d of y.nodes)m+=g(d);return m};return g(u)}},617:(a,o)=>{o.isInteger=i=>typeof i=="number"?Number.isInteger(i):typeof i=="string"&&i.trim()!==""?Number.isInteger(Number(i)):!1,o.find=(i,s)=>i.nodes.find(u=>u.type===s),o.exceedsLimit=(i,s,u=1,h)=>h===!1||!o.isInteger(i)||!o.isInteger(s)?!1:(Number(s)-Number(i))/Number(u)>=h,o.escapeNode=(i,s=0,u)=>{let h=i.nodes[s];h&&(u&&h.type===u||h.type==="open"||h.type==="close")&&h.escaped!==!0&&(h.value="\\"+h.value,h.escaped=!0)},o.encloseBrace=i=>i.type!=="brace"||i.commas>>0+i.ranges>>0?!1:(i.invalid=!0,!0),o.isInvalidBrace=i=>i.type!=="brace"?!1:i.invalid===!0||i.dollar?!0:!(i.commas>>0+i.ranges>>0)||i.open!==!0||i.close!==!0?(i.invalid=!0,!0):!1,o.isOpenOrClose=i=>i.type==="open"||i.type==="close"?!0:i.open===!0||i.close===!0,o.reduce=i=>i.reduce((s,u)=>(u.type==="text"&&s.push(u.value),u.type==="range"&&(u.type="text"),s),[]),o.flatten=(...i)=>{const s=[],u=h=>{for(let g=0;g<h.length;g++){let y=h[g];Array.isArray(y)?u(y):y!==void 0&&s.push(y)}return s};return u(i),s}},783:(a,o,i)=>{/*!
|
|
26
|
-
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
27
|
-
*
|
|
28
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
29
|
-
* Licensed under the MIT License.
|
|
30
|
-
*/const s=i(837),u=i(492),h=R=>R!==null&&typeof R=="object"&&!Array.isArray(R),g=R=>N=>R===!0?Number(N):String(N),y=R=>typeof R=="number"||typeof R=="string"&&R!=="",f=R=>Number.isInteger(+R),c=R=>{let N=`${R}`,L=-1;if(N[0]==="-"&&(N=N.slice(1)),N==="0")return!1;for(;N[++L]==="0";);return L>0},p=(R,N,L)=>typeof R=="string"||typeof N=="string"?!0:L.stringify===!0,m=(R,N,L)=>{if(N>0){let q=R[0]==="-"?"-":"";q&&(R=R.slice(1)),R=q+R.padStart(q?N-1:N,"0")}return L===!1?String(R):R},d=(R,N)=>{let L=R[0]==="-"?"-":"";for(L&&(R=R.slice(1),N--);R.length<N;)R="0"+R;return L?"-"+R:R},_=(R,N)=>{R.negatives.sort((F,re)=>F<re?-1:F>re?1:0),R.positives.sort((F,re)=>F<re?-1:F>re?1:0);let L=N.capture?"":"?:",q="",j="",U;return R.positives.length&&(q=R.positives.join("|")),R.negatives.length&&(j=`-(${L}${R.negatives.join("|")})`),q&&j?U=`${q}|${j}`:U=q||j,N.wrap?`(${L}${U})`:U},E=(R,N,L,q)=>{if(L)return u(R,N,{wrap:!1,...q});let j=String.fromCharCode(R);if(R===N)return j;let U=String.fromCharCode(N);return`[${j}-${U}]`},l=(R,N,L)=>{if(Array.isArray(R)){let q=L.wrap===!0,j=L.capture?"":"?:";return q?`(${j}${R.join("|")})`:R.join("|")}return u(R,N,L)},b=(...R)=>new RangeError("Invalid range arguments: "+s.inspect(...R)),w=(R,N,L)=>{if(L.strictRanges===!0)throw b([R,N]);return[]},x=(R,N)=>{if(N.strictRanges===!0)throw new TypeError(`Expected step "${R}" to be a number`);return[]},v=(R,N,L=1,q={})=>{let j=Number(R),U=Number(N);if(!Number.isInteger(j)||!Number.isInteger(U)){if(q.strictRanges===!0)throw b([R,N]);return[]}j===0&&(j=0),U===0&&(U=0);let F=j>U,re=String(R),Y=String(N),V=String(L);L=Math.max(Math.abs(L),1);let $=c(re)||c(Y)||c(V),ne=$?Math.max(re.length,Y.length,V.length):0,A=$===!1&&p(R,N,q)===!1,O=q.transform||g(A);if(q.toRegex&&L===1)return E(d(R,ne),d(N,ne),!0,q);let T={negatives:[],positives:[]},B=C=>T[C<0?"negatives":"positives"].push(Math.abs(C)),Z=[],K=0;for(;F?j>=U:j<=U;)q.toRegex===!0&&L>1?B(j):Z.push(m(O(j,K),ne,A)),j=F?j-L:j+L,K++;return q.toRegex===!0?L>1?_(T,q):l(Z,null,{wrap:!1,...q}):Z},S=(R,N,L=1,q={})=>{if(!f(R)&&R.length>1||!f(N)&&N.length>1)return w(R,N,q);let j=q.transform||(A=>String.fromCharCode(A)),U=`${R}`.charCodeAt(0),F=`${N}`.charCodeAt(0),re=U>F,Y=Math.min(U,F),V=Math.max(U,F);if(q.toRegex&&L===1)return E(Y,V,!1,q);let $=[],ne=0;for(;re?U>=F:U<=F;)$.push(j(U,ne)),U=re?U-L:U+L,ne++;return q.toRegex===!0?l($,null,{wrap:!1,options:q}):$},M=(R,N,L,q={})=>{if(N==null&&y(R))return[R];if(!y(R)||!y(N))return w(R,N,q);if(typeof L=="function")return M(R,N,1,{transform:L});if(h(L))return M(R,N,0,L);let j={...q};return j.capture===!0&&(j.wrap=!0),L=L||j.step||1,f(L)?f(R)&&f(N)?v(R,N,L,j):S(R,N,Math.max(Math.abs(L),1),j):L!=null&&!h(L)?x(L,j):M(R,N,1,L)};a.exports=M},357:a=>{/*!
|
|
31
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
|
32
|
-
*
|
|
33
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
34
|
-
* Released under the MIT License.
|
|
35
|
-
*/a.exports=function(o){return typeof o=="number"?o-o===0:typeof o=="string"&&o.trim()!==""?Number.isFinite?Number.isFinite(+o):isFinite(+o):!1}},971:(a,o,i)=>{const s=i(837),u=i(333),h=i(251),g=i(513),y=c=>c===""||c==="./",f=(c,p,m)=>{p=[].concat(p),c=[].concat(c);let d=new Set,_=new Set,E=new Set,l=0,b=v=>{E.add(v.output),m&&m.onResult&&m.onResult(v)};for(let v=0;v<p.length;v++){let S=h(String(p[v]),{...m,onResult:b},!0),M=S.state.negated||S.state.negatedExtglob;M&&l++;for(let R of c){let N=S(R,!0);(M?!N.isMatch:N.isMatch)&&(M?d.add(N.output):(d.delete(N.output),_.add(N.output)))}}let x=(l===p.length?[...E]:[..._]).filter(v=>!d.has(v));if(m&&x.length===0){if(m.failglob===!0)throw new Error(`No matches found for "${p.join(", ")}"`);if(m.nonull===!0||m.nullglob===!0)return m.unescape?p.map(v=>v.replace(/\\/g,"")):p}return x};f.match=f,f.matcher=(c,p)=>h(c,p),f.isMatch=(c,p,m)=>h(p,m)(c),f.any=f.isMatch,f.not=(c,p,m={})=>{p=[].concat(p).map(String);let d=new Set,_=[],l=f(c,p,{...m,onResult:b=>{m.onResult&&m.onResult(b),_.push(b.output)}});for(let b of _)l.includes(b)||d.add(b);return[...d]},f.contains=(c,p,m)=>{if(typeof c!="string")throw new TypeError(`Expected a string: "${s.inspect(c)}"`);if(Array.isArray(p))return p.some(d=>f.contains(c,d,m));if(typeof p=="string"){if(y(c)||y(p))return!1;if(c.includes(p)||c.startsWith("./")&&c.slice(2).includes(p))return!0}return f.isMatch(c,p,{...m,contains:!0})},f.matchKeys=(c,p,m)=>{if(!g.isObject(c))throw new TypeError("Expected the first argument to be an object");let d=f(Object.keys(c),p,m),_={};for(let E of d)_[E]=c[E];return _},f.some=(c,p,m)=>{let d=[].concat(c);for(let _ of[].concat(p)){let E=h(String(_),m);if(d.some(l=>E(l)))return!0}return!1},f.every=(c,p,m)=>{let d=[].concat(c);for(let _ of[].concat(p)){let E=h(String(_),m);if(!d.every(l=>E(l)))return!1}return!0},f.all=(c,p,m)=>{if(typeof c!="string")throw new TypeError(`Expected a string: "${s.inspect(c)}"`);return[].concat(p).every(d=>h(d,m)(c))},f.capture=(c,p,m)=>{let d=g.isWindows(m),E=h.makeRe(String(c),{...m,capture:!0}).exec(d?g.toPosixSlashes(p):p);if(E)return E.slice(1).map(l=>l===void 0?"":l)},f.makeRe=(...c)=>h.makeRe(...c),f.scan=(...c)=>h.scan(...c),f.parse=(c,p)=>{let m=[];for(let d of[].concat(c||[]))for(let _ of u(String(d),p))m.push(h.parse(_,p));return m},f.braces=(c,p)=>{if(typeof c!="string")throw new TypeError("Expected a string");return p&&p.nobrace===!0||!/\{.*\}/.test(c)?[c]:u(c,p)},f.braceExpand=(c,p)=>{if(typeof c!="string")throw new TypeError("Expected a string");return f.braces(c,{...p,expand:!0})},a.exports=f},251:(a,o,i)=>{a.exports=i(683)},356:(a,o,i)=>{const s=i(17),u="\\\\/",h=`[^${u}]`,g="\\.",y="\\+",f="\\?",c="\\/",p="(?=.)",m="[^/]",d=`(?:${c}|$)`,_=`(?:^|${c})`,E=`${g}{1,2}${d}`,l=`(?!${g})`,b=`(?!${_}${E})`,w=`(?!${g}{0,1}${d})`,x=`(?!${E})`,v=`[^.${c}]`,S=`${m}*?`,M={DOT_LITERAL:g,PLUS_LITERAL:y,QMARK_LITERAL:f,SLASH_LITERAL:c,ONE_CHAR:p,QMARK:m,END_ANCHOR:d,DOTS_SLASH:E,NO_DOT:l,NO_DOTS:b,NO_DOT_SLASH:w,NO_DOTS_SLASH:x,QMARK_NO_DOT:v,STAR:S,START_ANCHOR:_},R={...M,SLASH_LITERAL:`[${u}]`,QMARK:h,STAR:`${h}*?`,DOTS_SLASH:`${g}{1,2}(?:[${u}]|$)`,NO_DOT:`(?!${g})`,NO_DOTS:`(?!(?:^|[${u}])${g}{1,2}(?:[${u}]|$))`,NO_DOT_SLASH:`(?!${g}{0,1}(?:[${u}]|$))`,NO_DOTS_SLASH:`(?!${g}{1,2}(?:[${u}]|$))`,QMARK_NO_DOT:`[^.${u}]`,START_ANCHOR:`(?:^|[${u}])`,END_ANCHOR:`(?:[${u}]|$)`},N={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};a.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:N,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:s.sep,extglobChars(L){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${L.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(L){return L===!0?R:M}}},754:(a,o,i)=>{const s=i(356),u=i(513),{MAX_LENGTH:h,POSIX_REGEX_SOURCE:g,REGEX_NON_SPECIAL_CHARS:y,REGEX_SPECIAL_CHARS_BACKREF:f,REPLACEMENTS:c}=s,p=(_,E)=>{if(typeof E.expandRange=="function")return E.expandRange(..._,E);_.sort();const l=`[${_.join("-")}]`;try{new RegExp(l)}catch{return _.map(w=>u.escapeRegex(w)).join("..")}return l},m=(_,E)=>`Missing ${_}: "${E}" - use "\\\\${E}" to match literal characters`,d=(_,E)=>{if(typeof _!="string")throw new TypeError("Expected a string");_=c[_]||_;const l={...E},b=typeof l.maxLength=="number"?Math.min(h,l.maxLength):h;let w=_.length;if(w>b)throw new SyntaxError(`Input length: ${w}, exceeds maximum allowed length: ${b}`);const x={type:"bos",value:"",output:l.prepend||""},v=[x],S=l.capture?"":"?:",M=u.isWindows(E),R=s.globChars(M),N=s.extglobChars(R),{DOT_LITERAL:L,PLUS_LITERAL:q,SLASH_LITERAL:j,ONE_CHAR:U,DOTS_SLASH:F,NO_DOT:re,NO_DOT_SLASH:Y,NO_DOTS_SLASH:V,QMARK:$,QMARK_NO_DOT:ne,STAR:A,START_ANCHOR:O}=R,T=G=>`(${S}(?:(?!${O}${G.dot?F:L}).)*?)`,B=l.dot?"":re,Z=l.dot?$:ne;let K=l.bash===!0?T(l):A;l.capture&&(K=`(${K})`),typeof l.noext=="boolean"&&(l.noextglob=l.noext);const C={input:_,index:-1,start:0,dot:l.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};_=u.removePrefix(_,C),w=_.length;const Q=[],z=[],X=[];let I=x,P;const J=()=>C.index===w-1,oe=C.peek=(G=1)=>_[C.index+G],se=C.advance=()=>_[++C.index],ue=()=>_.slice(C.index+1),ie=(G="",ee=0)=>{C.consumed+=G,C.index+=ee},D=G=>{C.output+=G.output!=null?G.output:G.value,ie(G.value)},de=()=>{let G=1;for(;oe()==="!"&&(oe(2)!=="("||oe(3)==="?");)se(),C.start++,G++;return G%2===0?!1:(C.negated=!0,C.start++,!0)},te=G=>{C[G]++,X.push(G)},pe=G=>{C[G]--,X.pop()},k=G=>{if(I.type==="globstar"){const ee=C.braces>0&&(G.type==="comma"||G.type==="brace"),H=G.extglob===!0||Q.length&&(G.type==="pipe"||G.type==="paren");G.type!=="slash"&&G.type!=="paren"&&!ee&&!H&&(C.output=C.output.slice(0,-I.output.length),I.type="star",I.value="*",I.output=K,C.output+=I.output)}if(Q.length&&G.type!=="paren"&&!N[G.value]&&(Q[Q.length-1].inner+=G.value),(G.value||G.output)&&D(G),I&&I.type==="text"&&G.type==="text"){I.value+=G.value,I.output=(I.output||"")+G.value;return}G.prev=I,v.push(G),I=G},ce=(G,ee)=>{const H={...N[ee],conditions:1,inner:""};H.prev=I,H.parens=C.parens,H.output=C.output;const le=(l.capture?"(":"")+H.open;te("parens"),k({type:G,value:ee,output:C.output?"":U}),k({type:"paren",extglob:!0,value:se(),output:le}),Q.push(H)},_e=G=>{let ee=G.close+(l.capture?")":"");if(G.type==="negate"){let H=K;G.inner&&G.inner.length>1&&G.inner.includes("/")&&(H=T(l)),(H!==K||J()||/^\)+$/.test(ue()))&&(ee=G.close=`)$))${H}`),G.prev.type==="bos"&&(C.negatedExtglob=!0)}k({type:"paren",extglob:!0,value:P,output:ee}),pe("parens")};if(l.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(_)){let G=!1,ee=_.replace(f,(H,le,ye,ve,ge,nt)=>ve==="\\"?(G=!0,H):ve==="?"?le?le+ve+(ge?$.repeat(ge.length):""):nt===0?Z+(ge?$.repeat(ge.length):""):$.repeat(ye.length):ve==="."?L.repeat(ye.length):ve==="*"?le?le+ve+(ge?K:""):K:le?H:`\\${H}`);return G===!0&&(l.unescape===!0?ee=ee.replace(/\\/g,""):ee=ee.replace(/\\+/g,H=>H.length%2===0?"\\\\":H?"\\":"")),ee===_&&l.contains===!0?(C.output=_,C):(C.output=u.wrapOutput(ee,C,E),C)}for(;!J();){if(P=se(),P==="\0")continue;if(P==="\\"){const H=oe();if(H==="/"&&l.bash!==!0||H==="."||H===";")continue;if(!H){P+="\\",k({type:"text",value:P});continue}const le=/^\\+/.exec(ue());let ye=0;if(le&&le[0].length>2&&(ye=le[0].length,C.index+=ye,ye%2!==0&&(P+="\\")),l.unescape===!0?P=se()||"":P+=se()||"",C.brackets===0){k({type:"text",value:P});continue}}if(C.brackets>0&&(P!=="]"||I.value==="["||I.value==="[^")){if(l.posix!==!1&&P===":"){const H=I.value.slice(1);if(H.includes("[")&&(I.posix=!0,H.includes(":"))){const le=I.value.lastIndexOf("["),ye=I.value.slice(0,le),ve=I.value.slice(le+2),ge=g[ve];if(ge){I.value=ye+ge,C.backtrack=!0,se(),!x.output&&v.indexOf(I)===1&&(x.output=U);continue}}}(P==="["&&oe()!==":"||P==="-"&&oe()==="]")&&(P=`\\${P}`),P==="]"&&(I.value==="["||I.value==="[^")&&(P=`\\${P}`),l.posix===!0&&P==="!"&&I.value==="["&&(P="^"),I.value+=P,D({value:P});continue}if(C.quotes===1&&P!=='"'){P=u.escapeRegex(P),I.value+=P,D({value:P});continue}if(P==='"'){C.quotes=C.quotes===1?0:1,l.keepQuotes===!0&&k({type:"text",value:P});continue}if(P==="("){te("parens"),k({type:"paren",value:P});continue}if(P===")"){if(C.parens===0&&l.strictBrackets===!0)throw new SyntaxError(m("opening","("));const H=Q[Q.length-1];if(H&&C.parens===H.parens+1){_e(Q.pop());continue}k({type:"paren",value:P,output:C.parens?")":"\\)"}),pe("parens");continue}if(P==="["){if(l.nobracket===!0||!ue().includes("]")){if(l.nobracket!==!0&&l.strictBrackets===!0)throw new SyntaxError(m("closing","]"));P=`\\${P}`}else te("brackets");k({type:"bracket",value:P});continue}if(P==="]"){if(l.nobracket===!0||I&&I.type==="bracket"&&I.value.length===1){k({type:"text",value:P,output:`\\${P}`});continue}if(C.brackets===0){if(l.strictBrackets===!0)throw new SyntaxError(m("opening","["));k({type:"text",value:P,output:`\\${P}`});continue}pe("brackets");const H=I.value.slice(1);if(I.posix!==!0&&H[0]==="^"&&!H.includes("/")&&(P=`/${P}`),I.value+=P,D({value:P}),l.literalBrackets===!1||u.hasRegexChars(H))continue;const le=u.escapeRegex(I.value);if(C.output=C.output.slice(0,-I.value.length),l.literalBrackets===!0){C.output+=le,I.value=le;continue}I.value=`(${S}${le}|${I.value})`,C.output+=I.value;continue}if(P==="{"&&l.nobrace!==!0){te("braces");const H={type:"brace",value:P,output:"(",outputIndex:C.output.length,tokensIndex:C.tokens.length};z.push(H),k(H);continue}if(P==="}"){const H=z[z.length-1];if(l.nobrace===!0||!H){k({type:"text",value:P,output:P});continue}let le=")";if(H.dots===!0){const ye=v.slice(),ve=[];for(let ge=ye.length-1;ge>=0&&(v.pop(),ye[ge].type!=="brace");ge--)ye[ge].type!=="dots"&&ve.unshift(ye[ge].value);le=p(ve,l),C.backtrack=!0}if(H.comma!==!0&&H.dots!==!0){const ye=C.output.slice(0,H.outputIndex),ve=C.tokens.slice(H.tokensIndex);H.value=H.output="\\{",P=le="\\}",C.output=ye;for(const ge of ve)C.output+=ge.output||ge.value}k({type:"brace",value:P,output:le}),pe("braces"),z.pop();continue}if(P==="|"){Q.length>0&&Q[Q.length-1].conditions++,k({type:"text",value:P});continue}if(P===","){let H=P;const le=z[z.length-1];le&&X[X.length-1]==="braces"&&(le.comma=!0,H="|"),k({type:"comma",value:P,output:H});continue}if(P==="/"){if(I.type==="dot"&&C.index===C.start+1){C.start=C.index+1,C.consumed="",C.output="",v.pop(),I=x;continue}k({type:"slash",value:P,output:j});continue}if(P==="."){if(C.braces>0&&I.type==="dot"){I.value==="."&&(I.output=L);const H=z[z.length-1];I.type="dots",I.output+=P,I.value+=P,H.dots=!0;continue}if(C.braces+C.parens===0&&I.type!=="bos"&&I.type!=="slash"){k({type:"text",value:P,output:L});continue}k({type:"dot",value:P,output:L});continue}if(P==="?"){if(!(I&&I.value==="(")&&l.noextglob!==!0&&oe()==="("&&oe(2)!=="?"){ce("qmark",P);continue}if(I&&I.type==="paren"){const le=oe();let ye=P;if(le==="<"&&!u.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(I.value==="("&&!/[!=<:]/.test(le)||le==="<"&&!/<([!=]|\w+>)/.test(ue()))&&(ye=`\\${P}`),k({type:"text",value:P,output:ye});continue}if(l.dot!==!0&&(I.type==="slash"||I.type==="bos")){k({type:"qmark",value:P,output:ne});continue}k({type:"qmark",value:P,output:$});continue}if(P==="!"){if(l.noextglob!==!0&&oe()==="("&&(oe(2)!=="?"||!/[!=<:]/.test(oe(3)))){ce("negate",P);continue}if(l.nonegate!==!0&&C.index===0){de();continue}}if(P==="+"){if(l.noextglob!==!0&&oe()==="("&&oe(2)!=="?"){ce("plus",P);continue}if(I&&I.value==="("||l.regex===!1){k({type:"plus",value:P,output:q});continue}if(I&&(I.type==="bracket"||I.type==="paren"||I.type==="brace")||C.parens>0){k({type:"plus",value:P});continue}k({type:"plus",value:q});continue}if(P==="@"){if(l.noextglob!==!0&&oe()==="("&&oe(2)!=="?"){k({type:"at",extglob:!0,value:P,output:""});continue}k({type:"text",value:P});continue}if(P!=="*"){(P==="$"||P==="^")&&(P=`\\${P}`);const H=y.exec(ue());H&&(P+=H[0],C.index+=H[0].length),k({type:"text",value:P});continue}if(I&&(I.type==="globstar"||I.star===!0)){I.type="star",I.star=!0,I.value+=P,I.output=K,C.backtrack=!0,C.globstar=!0,ie(P);continue}let G=ue();if(l.noextglob!==!0&&/^\([^?]/.test(G)){ce("star",P);continue}if(I.type==="star"){if(l.noglobstar===!0){ie(P);continue}const H=I.prev,le=H.prev,ye=H.type==="slash"||H.type==="bos",ve=le&&(le.type==="star"||le.type==="globstar");if(l.bash===!0&&(!ye||G[0]&&G[0]!=="/")){k({type:"star",value:P,output:""});continue}const ge=C.braces>0&&(H.type==="comma"||H.type==="brace"),nt=Q.length&&(H.type==="pipe"||H.type==="paren");if(!ye&&H.type!=="paren"&&!ge&&!nt){k({type:"star",value:P,output:""});continue}for(;G.slice(0,3)==="/**";){const je=_[C.index+4];if(je&&je!=="/")break;G=G.slice(3),ie("/**",3)}if(H.type==="bos"&&J()){I.type="globstar",I.value+=P,I.output=T(l),C.output=I.output,C.globstar=!0,ie(P);continue}if(H.type==="slash"&&H.prev.type!=="bos"&&!ve&&J()){C.output=C.output.slice(0,-(H.output+I.output).length),H.output=`(?:${H.output}`,I.type="globstar",I.output=T(l)+(l.strictSlashes?")":"|$)"),I.value+=P,C.globstar=!0,C.output+=H.output+I.output,ie(P);continue}if(H.type==="slash"&&H.prev.type!=="bos"&&G[0]==="/"){const je=G[1]!==void 0?"|$":"";C.output=C.output.slice(0,-(H.output+I.output).length),H.output=`(?:${H.output}`,I.type="globstar",I.output=`${T(l)}${j}|${j}${je})`,I.value+=P,C.output+=H.output+I.output,C.globstar=!0,ie(P+se()),k({type:"slash",value:"/",output:""});continue}if(H.type==="bos"&&G[0]==="/"){I.type="globstar",I.value+=P,I.output=`(?:^|${j}|${T(l)}${j})`,C.output=I.output,C.globstar=!0,ie(P+se()),k({type:"slash",value:"/",output:""});continue}C.output=C.output.slice(0,-I.output.length),I.type="globstar",I.output=T(l),I.value+=P,C.output+=I.output,C.globstar=!0,ie(P);continue}const ee={type:"star",value:P,output:K};if(l.bash===!0){ee.output=".*?",(I.type==="bos"||I.type==="slash")&&(ee.output=B+ee.output),k(ee);continue}if(I&&(I.type==="bracket"||I.type==="paren")&&l.regex===!0){ee.output=P,k(ee);continue}(C.index===C.start||I.type==="slash"||I.type==="dot")&&(I.type==="dot"?(C.output+=Y,I.output+=Y):l.dot===!0?(C.output+=V,I.output+=V):(C.output+=B,I.output+=B),oe()!=="*"&&(C.output+=U,I.output+=U)),k(ee)}for(;C.brackets>0;){if(l.strictBrackets===!0)throw new SyntaxError(m("closing","]"));C.output=u.escapeLast(C.output,"["),pe("brackets")}for(;C.parens>0;){if(l.strictBrackets===!0)throw new SyntaxError(m("closing",")"));C.output=u.escapeLast(C.output,"("),pe("parens")}for(;C.braces>0;){if(l.strictBrackets===!0)throw new SyntaxError(m("closing","}"));C.output=u.escapeLast(C.output,"{"),pe("braces")}if(l.strictSlashes!==!0&&(I.type==="star"||I.type==="bracket")&&k({type:"maybe_slash",value:"",output:`${j}?`}),C.backtrack===!0){C.output="";for(const G of C.tokens)C.output+=G.output!=null?G.output:G.value,G.suffix&&(C.output+=G.suffix)}return C};d.fastpaths=(_,E)=>{const l={...E},b=typeof l.maxLength=="number"?Math.min(h,l.maxLength):h,w=_.length;if(w>b)throw new SyntaxError(`Input length: ${w}, exceeds maximum allowed length: ${b}`);_=c[_]||_;const x=u.isWindows(E),{DOT_LITERAL:v,SLASH_LITERAL:S,ONE_CHAR:M,DOTS_SLASH:R,NO_DOT:N,NO_DOTS:L,NO_DOTS_SLASH:q,STAR:j,START_ANCHOR:U}=s.globChars(x),F=l.dot?L:N,re=l.dot?q:N,Y=l.capture?"":"?:",V={negated:!1,prefix:""};let $=l.bash===!0?".*?":j;l.capture&&($=`(${$})`);const ne=B=>B.noglobstar===!0?$:`(${Y}(?:(?!${U}${B.dot?R:v}).)*?)`,A=B=>{switch(B){case"*":return`${F}${M}${$}`;case".*":return`${v}${M}${$}`;case"*.*":return`${F}${$}${v}${M}${$}`;case"*/*":return`${F}${$}${S}${M}${re}${$}`;case"**":return F+ne(l);case"**/*":return`(?:${F}${ne(l)}${S})?${re}${M}${$}`;case"**/*.*":return`(?:${F}${ne(l)}${S})?${re}${$}${v}${M}${$}`;case"**/.*":return`(?:${F}${ne(l)}${S})?${v}${M}${$}`;default:{const Z=/^(.*?)\.(\w+)$/.exec(B);if(!Z)return;const K=A(Z[1]);return K?K+v+Z[2]:void 0}}},O=u.removePrefix(_,V);let T=A(O);return T&&l.strictSlashes!==!0&&(T+=`${S}?`),T},a.exports=d},683:(a,o,i)=>{const s=i(17),u=i(700),h=i(754),g=i(513),y=i(356),f=p=>p&&typeof p=="object"&&!Array.isArray(p),c=(p,m,d=!1)=>{if(Array.isArray(p)){const S=p.map(R=>c(R,m,d));return R=>{for(const N of S){const L=N(R);if(L)return L}return!1}}const _=f(p)&&p.tokens&&p.input;if(p===""||typeof p!="string"&&!_)throw new TypeError("Expected pattern to be a non-empty string");const E=m||{},l=g.isWindows(m),b=_?c.compileRe(p,m):c.makeRe(p,m,!1,!0),w=b.state;delete b.state;let x=()=>!1;if(E.ignore){const S={...m,ignore:null,onMatch:null,onResult:null};x=c(E.ignore,S,d)}const v=(S,M=!1)=>{const{isMatch:R,match:N,output:L}=c.test(S,b,m,{glob:p,posix:l}),q={glob:p,state:w,regex:b,posix:l,input:S,output:L,match:N,isMatch:R};return typeof E.onResult=="function"&&E.onResult(q),R===!1?(q.isMatch=!1,M?q:!1):x(S)?(typeof E.onIgnore=="function"&&E.onIgnore(q),q.isMatch=!1,M?q:!1):(typeof E.onMatch=="function"&&E.onMatch(q),M?q:!0)};return d&&(v.state=w),v};c.test=(p,m,d,{glob:_,posix:E}={})=>{if(typeof p!="string")throw new TypeError("Expected input to be a string");if(p==="")return{isMatch:!1,output:""};const l=d||{},b=l.format||(E?g.toPosixSlashes:null);let w=p===_,x=w&&b?b(p):p;return w===!1&&(x=b?b(p):p,w=x===_),(w===!1||l.capture===!0)&&(l.matchBase===!0||l.basename===!0?w=c.matchBase(p,m,d,E):w=m.exec(x)),{isMatch:!!w,match:w,output:x}},c.matchBase=(p,m,d,_=g.isWindows(d))=>(m instanceof RegExp?m:c.makeRe(m,d)).test(s.basename(p)),c.isMatch=(p,m,d)=>c(m,d)(p),c.parse=(p,m)=>Array.isArray(p)?p.map(d=>c.parse(d,m)):h(p,{...m,fastpaths:!1}),c.scan=(p,m)=>u(p,m),c.compileRe=(p,m,d=!1,_=!1)=>{if(d===!0)return p.output;const E=m||{},l=E.contains?"":"^",b=E.contains?"":"$";let w=`${l}(?:${p.output})${b}`;p&&p.negated===!0&&(w=`^(?!${w}).*$`);const x=c.toRegex(w,m);return _===!0&&(x.state=p),x},c.makeRe=(p,m,d=!1,_=!1)=>{if(!p||typeof p!="string")throw new TypeError("Expected a non-empty string");const E=m||{};let l={negated:!1,fastpaths:!0},b="",w;return p.startsWith("./")&&(p=p.slice(2),b=l.prefix="./"),E.fastpaths!==!1&&(p[0]==="."||p[0]==="*")&&(w=h.fastpaths(p,m)),w===void 0?(l=h(p,m),l.prefix=b+(l.prefix||"")):l.output=w,c.compileRe(l,m,d,_)},c.toRegex=(p,m)=>{try{const d=m||{};return new RegExp(p,d.flags||(d.nocase?"i":""))}catch(d){if(m&&m.debug===!0)throw d;return/$^/}},c.constants=y,a.exports=c},700:(a,o,i)=>{const s=i(513),{CHAR_ASTERISK:u,CHAR_AT:h,CHAR_BACKWARD_SLASH:g,CHAR_COMMA:y,CHAR_DOT:f,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:p,CHAR_LEFT_CURLY_BRACE:m,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:_,CHAR_PLUS:E,CHAR_QUESTION_MARK:l,CHAR_RIGHT_CURLY_BRACE:b,CHAR_RIGHT_PARENTHESES:w,CHAR_RIGHT_SQUARE_BRACKET:x}=i(356),v=R=>R===p||R===g,S=R=>{R.isPrefix!==!0&&(R.depth=R.isGlobstar?1/0:1)},M=(R,N)=>{const L=N||{},q=R.length-1,j=L.parts===!0||L.scanToEnd===!0,U=[],F=[],re=[];let Y=R,V=-1,$=0,ne=0,A=!1,O=!1,T=!1,B=!1,Z=!1,K=!1,C=!1,Q=!1,z=!1,X=0,I,P,J={value:"",depth:0,isGlob:!1};const oe=()=>V>=q,se=()=>Y.charCodeAt(V+1),ue=()=>(I=P,Y.charCodeAt(++V));for(;V<q;){P=ue();let pe;if(P===g){C=J.backslashes=!0,P=ue(),P===m&&(K=!0);continue}if(K===!0||P===m){for(X++;oe()!==!0&&(P=ue());){if(P===g){C=J.backslashes=!0,ue();continue}if(P===m){X++;continue}if(K!==!0&&P===f&&(P=ue())===f){if(A=J.isBrace=!0,T=J.isGlob=!0,z=!0,j===!0)continue;break}if(K!==!0&&P===y){if(A=J.isBrace=!0,T=J.isGlob=!0,z=!0,j===!0)continue;break}if(P===b&&(X--,X===0)){K=!1,A=J.isBrace=!0,z=!0;break}}if(j===!0)continue;break}if(P===p){if(U.push(V),F.push(J),J={value:"",depth:0,isGlob:!1},z===!0)continue;if(I===f&&V===$+1){$+=2;continue}ne=V+1;continue}if(L.noext!==!0&&(P===E||P===h||P===u||P===l||P===c)===!0&&se()===d){if(T=J.isGlob=!0,B=J.isExtglob=!0,z=!0,j===!0){for(;oe()!==!0&&(P=ue());){if(P===g){C=J.backslashes=!0,P=ue();continue}if(P===w){T=J.isGlob=!0,z=!0;break}}continue}break}if(P===u){if(I===u&&(Z=J.isGlobstar=!0),T=J.isGlob=!0,z=!0,j===!0)continue;break}if(P===l){if(T=J.isGlob=!0,z=!0,j===!0)continue;break}if(P===_){for(;oe()!==!0&&(pe=ue());){if(pe===g){C=J.backslashes=!0,ue();continue}if(pe===x){O=J.isBracket=!0,T=J.isGlob=!0,z=!0;break}}if(j===!0)continue;break}if(L.nonegate!==!0&&P===c&&V===$){Q=J.negated=!0,$++;continue}if(L.noparen!==!0&&P===d){if(T=J.isGlob=!0,j===!0){for(;oe()!==!0&&(P=ue());){if(P===d){C=J.backslashes=!0,P=ue();continue}if(P===w){z=!0;break}}continue}break}if(T===!0){if(z=!0,j===!0)continue;break}}L.noext===!0&&(B=!1,T=!1);let ie=Y,D="",de="";$>0&&(D=Y.slice(0,$),Y=Y.slice($),ne-=$),ie&&T===!0&&ne>0?(ie=Y.slice(0,ne),de=Y.slice(ne)):T===!0?(ie="",de=Y):ie=Y,ie&&ie!==""&&ie!=="/"&&ie!==Y&&v(ie.charCodeAt(ie.length-1))&&(ie=ie.slice(0,-1)),L.unescape===!0&&(de&&(de=s.removeBackslashes(de)),ie&&C===!0&&(ie=s.removeBackslashes(ie)));const te={prefix:D,input:R,start:$,base:ie,glob:de,isBrace:A,isBracket:O,isGlob:T,isExtglob:B,isGlobstar:Z,negated:Q};if(L.tokens===!0&&(te.maxDepth=0,v(P)||F.push(J),te.tokens=F),L.parts===!0||L.tokens===!0){let pe;for(let k=0;k<U.length;k++){const ce=pe?pe+1:$,_e=U[k],G=R.slice(ce,_e);L.tokens&&(k===0&&$!==0?(F[k].isPrefix=!0,F[k].value=D):F[k].value=G,S(F[k]),te.maxDepth+=F[k].depth),(k!==0||G!=="")&&re.push(G),pe=_e}if(pe&&pe+1<R.length){const k=R.slice(pe+1);re.push(k),L.tokens&&(F[F.length-1].value=k,S(F[F.length-1]),te.maxDepth+=F[F.length-1].depth)}te.slashes=U,te.parts=re}return te};a.exports=M},513:(a,o,i)=>{const s=i(17),u=process.platform==="win32",{REGEX_BACKSLASH:h,REGEX_REMOVE_BACKSLASH:g,REGEX_SPECIAL_CHARS:y,REGEX_SPECIAL_CHARS_GLOBAL:f}=i(356);o.isObject=c=>c!==null&&typeof c=="object"&&!Array.isArray(c),o.hasRegexChars=c=>y.test(c),o.isRegexChar=c=>c.length===1&&o.hasRegexChars(c),o.escapeRegex=c=>c.replace(f,"\\$1"),o.toPosixSlashes=c=>c.replace(h,"/"),o.removeBackslashes=c=>c.replace(g,p=>p==="\\"?"":p),o.supportsLookbehinds=()=>{const c=process.version.slice(1).split(".").map(Number);return c.length===3&&c[0]>=9||c[0]===8&&c[1]>=10},o.isWindows=c=>c&&typeof c.windows=="boolean"?c.windows:u===!0||s.sep==="\\",o.escapeLast=(c,p,m)=>{const d=c.lastIndexOf(p,m);return d===-1?c:c[d-1]==="\\"?o.escapeLast(c,p,d-1):`${c.slice(0,d)}\\${c.slice(d)}`},o.removePrefix=(c,p={})=>{let m=c;return m.startsWith("./")&&(m=m.slice(2),p.prefix="./"),m},o.wrapOutput=(c,p={},m={})=>{const d=m.contains?"":"^",_=m.contains?"":"$";let E=`${d}(?:${c})${_}`;return p.negated===!0&&(E=`(?:^(?!${E}).*$)`),E}},492:(a,o,i)=>{/*!
|
|
36
|
-
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
37
|
-
*
|
|
38
|
-
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
39
|
-
* Released under the MIT License.
|
|
40
|
-
*/const s=i(357),u=(v,S,M)=>{if(s(v)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(S===void 0||v===S)return String(v);if(s(S)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let R={relaxZeros:!0,...M};typeof R.strictZeros=="boolean"&&(R.relaxZeros=R.strictZeros===!1);let N=String(R.relaxZeros),L=String(R.shorthand),q=String(R.capture),j=String(R.wrap),U=v+":"+S+"="+N+L+q+j;if(u.cache.hasOwnProperty(U))return u.cache[U].result;let F=Math.min(v,S),re=Math.max(v,S);if(Math.abs(F-re)===1){let A=v+"|"+S;return R.capture?`(${A})`:R.wrap===!1?A:`(?:${A})`}let Y=w(v)||w(S),V={min:v,max:S,a:F,b:re},$=[],ne=[];if(Y&&(V.isPadded=Y,V.maxLen=String(V.max).length),F<0){let A=re<0?Math.abs(re):1;ne=f(A,Math.abs(F),V,R),F=V.a=0}return re>=0&&($=f(F,re,V,R)),V.negatives=ne,V.positives=$,V.result=h(ne,$),R.capture===!0?V.result=`(${V.result})`:R.wrap!==!1&&$.length+ne.length>1&&(V.result=`(?:${V.result})`),u.cache[U]=V,V.result};function h(v,S,M){let R=c(v,S,"-",!1)||[],N=c(S,v,"",!1)||[],L=c(v,S,"-?",!0)||[];return R.concat(L).concat(N).join("|")}function g(v,S){let M=1,R=1,N=_(v,M),L=new Set([S]);for(;v<=N&&N<=S;)L.add(N),M+=1,N=_(v,M);for(N=E(S+1,R)-1;v<N&&N<=S;)L.add(N),R+=1,N=E(S+1,R)-1;return L=[...L],L.sort(m),L}function y(v,S,M){if(v===S)return{pattern:v,count:[],digits:0};let R=p(v,S),N=R.length,L="",q=0;for(let j=0;j<N;j++){let[U,F]=R[j];U===F?L+=U:U!=="0"||F!=="9"?L+=b(U,F):q++}return q&&(L+=M.shorthand===!0?"\\d":"[0-9]"),{pattern:L,count:[q],digits:N}}function f(v,S,M,R){let N=g(v,S),L=[],q=v,j;for(let U=0;U<N.length;U++){let F=N[U],re=y(String(q),String(F),R),Y="";if(!M.isPadded&&j&&j.pattern===re.pattern){j.count.length>1&&j.count.pop(),j.count.push(re.count[0]),j.string=j.pattern+l(j.count),q=F+1;continue}M.isPadded&&(Y=x(F,M,R)),re.string=Y+re.pattern+l(re.count),L.push(re),q=F+1,j=re}return L}function c(v,S,M,R,N){let L=[];for(let q of v){let{string:j}=q;!R&&!d(S,"string",j)&&L.push(M+j),R&&d(S,"string",j)&&L.push(M+j)}return L}function p(v,S){let M=[];for(let R=0;R<v.length;R++)M.push([v[R],S[R]]);return M}function m(v,S){return v>S?1:S>v?-1:0}function d(v,S,M){return v.some(R=>R[S]===M)}function _(v,S){return Number(String(v).slice(0,-S)+"9".repeat(S))}function E(v,S){return v-v%Math.pow(10,S)}function l(v){let[S=0,M=""]=v;return M||S>1?`{${S+(M?","+M:"")}}`:""}function b(v,S,M){return`[${v}${S-v===1?"":"-"}${S}]`}function w(v){return/^-?(0+)\d/.test(v)}function x(v,S,M){if(!S.isPadded)return v;let R=Math.abs(S.maxLen-String(v).length),N=M.relaxZeros!==!1;switch(R){case 0:return"";case 1:return N?"0?":"0";case 2:return N?"0{0,2}":"00";default:return N?`0{0,${R}}`:`0{${R}}`}}u.cache={},u.clearCache=()=>u.cache={},a.exports=u},17:a=>{a.exports=su},837:a=>{a.exports=Fu()}},t={};function r(a){var o=t[a];if(o!==void 0)return o.exports;var i=t[a]={exports:{}},s=!0;try{e[a](i,i.exports,r),s=!1}finally{s&&delete t[a]}return i.exports}typeof r<"u"&&(r.ab=__dirname+"/");var n=r(971);qt.exports=n})()),qt.exports}var Yo;function zu(){return Yo||(Yo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o,i){for(var s in i)Object.defineProperty(o,s,{enumerable:!0,get:i[s]})}t(e,{matchRemotePattern:function(){return n},hasMatch:function(){return a}});const r=Gu();function n(o,i){if(o.protocol!==void 0){const u=i.protocol.slice(0,-1);if(o.protocol!==u)return!1}if(o.port!==void 0&&o.port!==i.port)return!1;if(o.hostname===void 0)throw new Error(`Pattern should define hostname but found
|
|
41
|
-
`+JSON.stringify(o));if(!(0,r.makeRe)(o.hostname).test(i.hostname))return!1;var s;return!!(0,r.makeRe)((s=o.pathname)!=null?s:"**").test(i.pathname)}function a(o,i,s){return o.some(u=>s.hostname===u)||i.some(u=>n(u,s))}}(Dt)),Dt}var Zo;function ia(){return Zo||(Zo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n){let{config:a,src:o,width:i,quality:s}=n;if(process.env.NODE_ENV!=="production"){const u=[];if(o||u.push("src"),i||u.push("width"),u.length>0)throw new Error("Next Image Optimization requires "+u.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:o,width:i,quality:s}));if(o.startsWith("//"))throw new Error('Failed to parse src "'+o+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)');if(!o.startsWith("/")&&(a.domains||a.remotePatterns)){let h;try{h=new URL(o)}catch(g){throw console.error(g),new Error('Failed to parse src "'+o+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)')}if(process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasMatch:g}=zu();if(!g(a.domains,a.remotePatterns,h))throw new Error("Invalid src prop ("+o+') on `next/image`, hostname "'+h.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host')}}}return a.path+"?url="+encodeURIComponent(o)+"&w="+i+"&q="+(s||75)+(process.env.NEXT_DEPLOYMENT_ID?"&dpl="+process.env.NEXT_DEPLOYMENT_ID:"")}t.__next_img_default=!0;const r=t}(Mt)),Mt}(function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return E}});const r=Ae,a=Pe._(ae),o=r._(fa),i=r._(ou()),s=Qr,u=et,h=iu(),g=Ie,y=Gi(),f=r._(ia()),c=process.env.__NEXT_IMAGE_OPTS;typeof window>"u"&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);function p(l,b,w,x,v,S){const M=l==null?void 0:l.src;if(!l||l["data-loaded-src"]===M)return;l["data-loaded-src"]=M,("decode"in l?l.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(!(!l.parentElement||!l.isConnected)){if(b!=="empty"&&v(!0),w!=null&&w.current){const N=new Event("load");Object.defineProperty(N,"target",{writable:!1,value:l});let L=!1,q=!1;w.current({...N,nativeEvent:N,currentTarget:l,target:l,isDefaultPrevented:()=>L,isPropagationStopped:()=>q,persist:()=>{},preventDefault:()=>{L=!0,N.preventDefault()},stopPropagation:()=>{q=!0,N.stopPropagation()}})}if(x!=null&&x.current&&x.current(l),process.env.NODE_ENV!=="production"){const N=new URL(M,"http://n").searchParams.get("url")||M;if(l.getAttribute("data-nimg")==="fill"){if(!S&&(!l.getAttribute("sizes")||l.getAttribute("sizes")==="100vw")&&l.getBoundingClientRect().width/window.innerWidth<.6&&(0,g.warnOnce)('Image with src "'+N+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'),l.parentElement){const{position:j}=window.getComputedStyle(l.parentElement),U=["absolute","fixed","relative"];U.includes(j)||(0,g.warnOnce)('Image with src "'+N+'" has "fill" and parent element with invalid "position". Provided "'+j+'" should be one of '+U.map(String).join(",")+".")}l.height===0&&(0,g.warnOnce)('Image with src "'+N+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const L=l.height.toString()!==l.getAttribute("height"),q=l.width.toString()!==l.getAttribute("width");(L&&!q||!L&&q)&&(0,g.warnOnce)('Image with src "'+N+`" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`)}}})}function m(l){const[b,w]=a.version.split("."),x=parseInt(b,10),v=parseInt(w,10);return x>18||x===18&&v>=3?{fetchPriority:l}:{fetchpriority:l}}const d=(0,a.forwardRef)((l,b)=>{let{src:w,srcSet:x,sizes:v,height:S,width:M,decoding:R,className:N,style:L,fetchPriority:q,placeholder:j,loading:U,unoptimized:F,fill:re,onLoadRef:Y,onLoadingCompleteRef:V,setBlurComplete:$,setShowAltText:ne,onLoad:A,onError:O,...T}=l;return a.default.createElement("img",{...T,...m(q),loading:U,width:M,height:S,decoding:R,"data-nimg":re?"fill":"1",className:N,style:L,sizes:v,srcSet:x,src:w,ref:(0,a.useCallback)(B=>{b&&(typeof b=="function"?b(B):typeof b=="object"&&(b.current=B)),B&&(O&&(B.src=B.src),process.env.NODE_ENV!=="production"&&(w||console.error('Image is missing required "src" property:',B),B.getAttribute("alt")===null&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),B.complete&&p(B,j,Y,V,$,F))},[w,j,Y,V,$,O,F,b]),onLoad:B=>{const Z=B.currentTarget;p(Z,j,Y,V,$,F)},onError:B=>{ne(!0),j!=="empty"&&$(!0),O&&O(B)}})});function _(l){let{isAppRouter:b,imgAttributes:w}=l;const x={as:"image",imageSrcSet:w.srcSet,imageSizes:w.sizes,crossOrigin:w.crossOrigin,referrerPolicy:w.referrerPolicy,...m(w.fetchPriority)};return b&&o.default.preload?(o.default.preload(w.src,x),null):a.default.createElement(i.default,null,a.default.createElement("link",{key:"__nimg-"+w.src+w.srcSet+w.sizes,rel:"preload",href:w.srcSet?void 0:w.src,...x}))}const E=(0,a.forwardRef)((l,b)=>{const x=!(0,a.useContext)(y.RouterContext),v=(0,a.useContext)(h.ImageConfigContext),S=(0,a.useMemo)(()=>{const V=c||v||u.imageConfigDefault,$=[...V.deviceSizes,...V.imageSizes].sort((A,O)=>A-O),ne=V.deviceSizes.sort((A,O)=>A-O);return{...V,allSizes:$,deviceSizes:ne}},[v]),{onLoad:M,onLoadingComplete:R}=l,N=(0,a.useRef)(M);(0,a.useEffect)(()=>{N.current=M},[M]);const L=(0,a.useRef)(R);(0,a.useEffect)(()=>{L.current=R},[R]);const[q,j]=(0,a.useState)(!1),[U,F]=(0,a.useState)(!1),{props:re,meta:Y}=(0,s.getImgProps)(l,{defaultLoader:f.default,imgConf:S,blurComplete:q,showAltText:U});return a.default.createElement(a.default.Fragment,null,a.default.createElement(d,{...re,unoptimized:Y.unoptimized,placeholder:Y.placeholder,fill:Y.fill,onLoadRef:N,onLoadingCompleteRef:L,setBlurComplete:j,setShowAltText:F,ref:b}),Y.priority?a.default.createElement(_,{isAppRouter:x,imgAttributes:re}):null)});(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(Fr,Fr.exports);var Wu=Fr.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,g){for(var y in g)Object.defineProperty(h,y,{enumerable:!0,get:g[y]})}t(e,{unstable_getImgProps:function(){return s},default:function(){return u}});const r=Ae,n=Qr,a=Ie,o=Wu,i=r._(ia()),s=h=>{(0,a.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");const{props:g}=(0,n.getImgProps)(h,{defaultLoader:i.default,imgConf:process.env.__NEXT_IMAGE_OPTS});for(const[y,f]of Object.entries(g))f===void 0&&delete g[y];return{props:g}},u=o.Image})(Wi);var Vu=Wi;const Jo=Vr(Vu),Ku=({item:e,CONSTANTS:t})=>{const r=e.icon?t.PAYMENT_FLAGS.includes(e.icon)?"payment":"social":null,n=r==="payment"?t.PAYMENT_FLAGS_DICTIONARY[e.icon]:e.icon;return e.link?W.jsxs(Qe,{href:e.link,target:"_blank",rel:"noopener noreferrer",className:fe["support-item"],children:[e.image&&W.jsx("img",{src:e.image,alt:"",loading:"lazy"}),r==="payment"?W.jsx(Jo,{alt:n,src:`/assets/${n}.svg`,width:20,height:20}):W.jsx(he.Icon,{size:"small",name:n})]}):W.jsxs("div",{className:fe["support-item"],children:[e.image&&W.jsx("img",{src:e.image,alt:"",loading:"lazy"}),r==="payment"?W.jsx(Jo,{alt:n,src:`/assets/${n}.svg`,width:20,height:20}):W.jsx(he.Icon,{size:"small",name:n})]})},Qu=({content:e,CONSTANTS:t})=>W.jsx("div",{className:fe["support-container"],children:e==null?void 0:e.map((r,n)=>W.jsxs("div",{"data-device":r.device,className:fe["support-section"],children:[W.jsxs("div",{className:fe["support-text"],children:[r.title&&W.jsx("h3",{children:r.title}),r.description&&W.jsx("p",{children:r.description})]}),r.items.length&&W.jsx("div",{className:fe["support-items"],"data-gap":r.gap,children:r.items.map((a,o)=>W.jsx(Ku,{item:a,CONSTANTS:t},`footer-support-item-${o}`))})]},`footer-support-${n}`))}),Xu=({name:e,nameIcon:t,maxWidth:r,rowAlignContent:n,columnAlignContent:a,columnAlignItems:o,textAlignContent:i,textAlignItems:s,children:u})=>W.jsx(he.TextStructure.Root,{layoutProps:{textRow:{alignContent:n,alignItems:n},columnWrapper:{alignContent:a,alignItems:o}},children:W.jsxs(he.TextStructure.DivWrapper,{alignContent:i,alignItems:s,className:fe.footer__column,children:[W.jsxs("div",{className:t?fe.footer__columnTitleIcon:fe.footer__columnTitle,children:[W.jsx(he.Icon,{name:`${t}`,size:"small"}),e&&W.jsx("div",{children:e})]}),W.jsx("div",{className:fe.footer__columnContent,style:{maxWidth:`${r}px`},children:u})]})}),Yu=({name:e,nameIcon:t,maxWidth:r,children:n,ICONS:a,...o})=>W.jsxs(he.Accordion.Wrapper,{className:fe.accordionWrapper,title:"accordion-wrapper",...o,children:[W.jsx(he.Accordion.Header,{id:(o==null?void 0:o.id)??"",className:fe.accordionHeader,closeIndicator:W.jsx(he.Icon,{name:a.arrow_up,size:"medium"}),openIndicator:W.jsx(he.Icon,{name:a.arrow_down,size:"medium"}),title:"accordion-header",children:W.jsx(he.TextStructure.Root,{children:W.jsxs(he.TextStructure.DivWrapper,{className:t?fe.accordionTextWrapper:"",children:[W.jsx(he.Icon,{name:`${t}`,size:"medium"}),W.jsx("h2",{className:"typography-style-body-md",children:e})]})})}),W.jsx(he.Accordion.Body,{title:"accordion-body",children:W.jsx(he.TextStructure.Root,{children:W.jsx(he.TextStructure.DivWrapper,{className:fe.footer__columnContent,style:{maxWidth:`${r}px`},children:n})})})]}),$r=e=>{const{isMobile:t}=Ye();return t?W.jsx(Yu,{...e}):W.jsx(Xu,{...e})},Ke=({type:e,children:t,className:r,collumnName:n,collumnNameIcon:a,icons:o,iconLink:i,iconSize:s,link:u,paymentDisclaimer:h,paymentTitle:g,rowAlignContent:y,columnAlignContent:f,columnAlignItems:c,textAlignContent:p,textAlignItems:m,...d})=>{let _;const{handleSelectContent:E}=ui(),{nextimage:l}=Wr();switch(e){case"menu":_=W.jsx(Qe,{className:fe.footer__itemLink,href:u??"#",prefetch:!1,children:W.jsx("span",{onClick:()=>{E({content:`footer:${n}:${t}`})},children:t})});break;case"payment":_=W.jsxs("div",{className:he.helpers.classNameConcat(fe.payment,fe.footer__itemSmallText),...d,children:[h,W.jsxs("div",{className:he.helpers.classNameConcat(fe.footer__iconContainer,fe.footer__iconListSubHeader),children:[g,W.jsx("div",{className:fe.footer__iconList,children:o==null?void 0:o.map((b,w)=>W.jsx(l,{alt:b,src:`/assets/${b}.svg`,width:s??20,height:s??20},w))})]})]});break;case"social-media":_=W.jsx("div",{className:fe.footer__iconContainer,...d,children:W.jsx("div",{className:fe.footer__iconList,children:i==null?void 0:i.map((b,w)=>W.jsx(Qe,{prefetch:!1,href:b.link??"#",target:"_blank",children:W.jsx(he.Icon,{size:"medium",name:b.icon,onClick:()=>E({content:`footer:redes-sociais:${b.icon}`})})},w))})});break;default:_=W.jsx("div",{className:r,...d,children:t})}return W.jsx(he.TextStructure.Root,{layoutProps:{textRow:{alignContent:y,alignItems:y},columnWrapper:{alignContent:f,alignItems:c}},...d,children:W.jsx(he.TextStructure.DivWrapper,{alignContent:p,alignItems:m,className:he.helpers.classNameConcat(fe.footer__item,r),children:_})})},Zu=({className:e,text:t,...r})=>W.jsx("div",{...r,className:he.helpers.classNameConcat(fe.footer__legalInformation,e),children:W.jsx("span",{children:t})}),aa=()=>{const{nextimage:e}=Wr();return W.jsx("div",{className:fe["footer--stamps"],children:W.jsx(e,{alt:"Empresa B",className:fe["footer--stamps--company"],src:"/images/Footer/new_certfB.png",width:56,height:64})})};aa.displayName="Footer.Stamps";const sa=({children:e,legalTextSlot:t,adornment:r,className:n,...a})=>{const{isMobile:o}=Ye(),i=ae.Children.toArray(e).filter(Boolean),s=i.length;return W.jsxs("div",{className:fe.footer__main,children:[(r==null?void 0:r.top)&&W.jsx("div",{className:fe.footer__top,children:r==null?void 0:r.top}),s>0&&W.jsx("div",{...a,className:he.helpers.classNameConcat(fe.footer__wrapper,n),children:i.map((u,h)=>W.jsx("div",{style:{flexGrow:1,maxWidth:`calc(100% / ${o?1:"fit-content"})`},children:u},h))}),(r==null?void 0:r.bottom)&&W.jsx("div",{className:fe.footer__bottom,children:r.bottom}),t&&W.jsx("div",{className:fe.footer__legalText,children:t})]})};sa.displayName="Footer.Wrapper";const ua=({data:{links:{links:e}},payments:t,socialInfo:r,socialMedias:n,adornment:a,LEGAL_INFORMATION_TEXT:o,ICONS:i})=>{var s;return W.jsxs(sa,{adornment:a,legalTextSlot:W.jsx(Zu,{text:o}),children:[Array.isArray(e.column)&&e.column.map((u,h)=>W.jsx($r,{id:`${h}column-menu`,name:u.name,nameIcon:u.nameIcon,ICONS:i,children:u.items.map((g,y)=>W.jsx(Ke,{type:"menu",link:g.link,collumnName:u.name,collumnNameIcon:u.nameIcon,children:g.text},y))},h)),t&&((s=t.acceptedFlags)==null?void 0:s.length)>0&&W.jsx($r,{id:"payment-column",name:t==null?void 0:t.title,nameIcon:t==null?void 0:t.titleIcon,maxWidth:150,ICONS:i,children:W.jsx(Ke,{type:"payment",paymentDisclaimer:t==null?void 0:t.text,paymentTitle:t==null?void 0:t.flagsTitle,iconSize:16,icons:t==null?void 0:t.acceptedFlags})}),W.jsxs($r,{id:"social-media-column",name:r==null?void 0:r.title,ICONS:i,children:[r!=null&&r.subTitle?W.jsx(Ke,{children:r==null?void 0:r.subTitle}):null,W.jsx(Ke,{type:"social-media",iconSize:24,iconLink:n}),W.jsx(aa,{})]})]})};ua.displayName="Footer";exports.DEFAULT_IMAGE_ALT_TEXT=Ua;exports.EventProvider=Ra;exports.Footer=ua;exports.FooterSupport=Qu;exports.GlobalProvider=Ma;exports.LOGIN_MENU_DESCRIPTION=Wa;exports.LOGIN_MENU_OPTIONS_ARRAY=Ga;exports.LOGIN_MENU_TITLE=za;exports.LOGOUT_ICON=Fa;exports.LOGOUT_TEXT=Ba;exports.Mediator=xi;exports.NextLink=Qe;exports.NextProvider=Da;exports.PLPContentProvider=os;exports.PLP_FILTERS_SORT=ka;exports.SEARCH_PAGE_DEFAULT_PAGINATION=Ha;exports.UIProvider=Ti;exports._interop_require_default=Ae;exports._interop_require_wildcard=Pe;exports.addSearchParamsFacets=Ja;exports.cart=Na;exports.cart$1=Ia;exports.convertSearchParams=ns;exports.events=ba;exports.filterNonCategorySelected=$a;exports.filterNonRootFacets=ts;exports.findItemIndex=hi;exports.formattedFacets=Za;exports.fs=Qi;exports.getCode=gi;exports.getColorAndSizeFromSkuName=Gr;exports.getDefaultExportFromCjs=Vr;exports.getPageCategoryAndDepartmentFromSlug=ai;exports.getProductNameWithoutSku=da;exports.getQuantity=Ri;exports.getSKUName=pa;exports.mountMarketingData=Si;exports.parseSearchState=rs;exports.removeSlashes=ha;exports.requireHeadManagerContext_sharedRuntime=Ki;exports.requireRequestIdleCallback=zi;exports.responsive=as;exports.splitNameAndSizeFromFullName=ti;exports.useCartStore=Xe;exports.useEventContext=ui;exports.useGetNotificationActions=Ci;exports.useGetNotificationsStore=Oi;exports.useGlobalContext=Ye;exports.useNextContext=Wr;exports.usePLPContent=is;exports.useUIContext=La;
|