1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{10528:(e,t,r)=>{r.d(t,{Ay:()=>c,mN:()=>u});var i=r(52936),n=null,o=class e extends Error{constructor(t="The Payment 'applicationId' option is not in the correct format."){super(t),this.name="InvalidApplicationIdError",Object.setPrototypeOf(this,e.prototype)}},l=r(89800);(0,l.I)("div",{background:"#FFFFFF",border:"1px solid #e0e2e4",borderLeft:"4px solid",borderLeftColor:"#d92b2b",borderRadius:4,boxShadow:"0 0 2px rgb(0 0 0 / 10%), 0 2px 2px rgb(0 0 0 / 10%), 0 1px 2px rgb(0 0 0 / 10%)",display:"flex",flexFlow:"row nowrap",margin:"24px auto",maxWidth:800,padding:"16px 24px 16px 16px",width:"100%"}),(0,l.I)("div",{alignItems:"center",display:"inline-flex",marginRight:16,maxHeight:24}),(0,l.I)("svg",{display:"inline-block",verticalAlign:"middle"}),(0,l.I)("div",{flexGrow:1,fontSize:16,lineHeight:28}),(0,l.I)("h4",{color:"#373f4a",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',fontSize:14,fontWeight:500,marginBottom:0,marginTop:0,letterSpacing:0,lineHeight:"24px",textTransform:"none"}),(0,l.I)("p",{color:"#373f4a",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',fontSize:14,lineHeight:"24px",marginBottom:0,marginTop:0,maxWidth:700,width:"100%","& a":{color:"#006be6",textDecoration:"none","&:hover":{textDecoration:"underline"}}});let a=i.forwardRef(function({isDevelopment:e=!1},t){throw Error("Please contact your developer to provide the required parameters to use the Web Payments SDK.")}),s="u">typeof window?i.useLayoutEffect:i.useEffect,d=i.createContext({cardTokenizeResponseReceived:null,createPaymentRequest:null,payments:null});function c({applicationId:e,locationId:t,children:r,overrides:l,...c}){let[u,p]=i.useState(),[f]=i.useState(()=>c.createPaymentRequest?.());i.useEffect(()=>{let r=new AbortController,{signal:i}=r;async function a(r){await (function(e,t,r){let i,l;return i=this,l=function*(){let i=r?.scriptSrc===void 0?function(e){let t="";if("string"!=typeof e||null===e||(e.startsWith("sq0idp-")&&(t="https://web.squarecdn.com/"),e.startsWith("sandbox-sq0idb-")&&(t="https://sandbox.web.squarecdn.com/"),0===t.length))throw new o;return t+"v1/square.js"}(e):r.scriptSrc,l=yield(null!==n||(n=new Promise((e,t)=>{if(typeof window>"u")return void e(null);if(window.Square)return void e(window.Square);try{let r=document.querySelector(`script[src="${i}"]`);r||(r=function(e){let t=document.head||document.body;if(!t)throw Error("Square.js requires a <body> or <head> element.");let r=document.createElement("script");return r.src=e,t.appendChild(r),r}(i)),r.addEventListener("load",()=>{window.Square?e(window.Square):t(Error("Square.js failed to load properly."))}),r.addEventListener("error",()=>{t(Error("Error occurred while loading Square.js"))})}catch(e){t(e)}})),n);return null===l?null:l.payments(e,t)},new Promise((e,t)=>{var r=e=>{try{o(l.next(e))}catch(e){t(e)}},n=e=>{try{o(l.throw(e))}catch(e){t(e)}},o=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,n);o((l=l.apply(i,null)).next())})})(e,t,l).then(e=>{if(null===e)throw Error("Square Web Payments SDK failed to load");if(!r?.aborted)return p(e),e})}return e&&t&&a(i),()=>{r.abort()}},[e,t]);let g=function(e){let t=i.useRef(e);return s(()=>{t.current=e},[e]),i.useCallback((...e)=>t.current(...e),[])}(async e=>{if("OK"!==e.status||!c.createVerificationDetails)return void await c.cardTokenizeResponseReceived(e);let t=await u?.verifyBuyer(String(e.token),c.createVerificationDetails());await c.cardTokenizeResponseReceived(e,t)});return e&&t?u?i.createElement(d.Provider,{value:{cardTokenizeResponseReceived:g,createPaymentRequest:f,payments:u}},r):null:i.createElement(a,null)}let u=()=>{let e=i.useContext(d);if(void 0===e)throw Error("useForm must be used within a FormProvider");return e}},17098:(e,t,r)=>{r.d(t,{A:()=>c});var i=r(52936),n=r(10528);let o=!("u">typeof window&&window.document?.createElement);var l=r(89800);let a=(0,l.i)({"0%, 100%":{opacity:1},"50%":{opacity:.5}}),s=(0,l.I)("div",{animation:`${a()} 2s cubic-bezier(0.4, 0, 0.6, 1) infinite`,background:"#F3F4F6",borderRadius:6,height:50,marginBottom:39,position:"relative"}),d=(0,l.I)("button",{backgroundColor:"#006aff",borderRadius:5,boxSh
1adow:1,color:"#fff",cursor:"pointer",borderStyle:"none",fontSize:16,fontWeight:500,lineHeight:"24px",outline:"none",padding:12,userSelect:"none",width:"100%","&:active":{backgroundColor:"rgb(0, 85, 204)"},"&:disabled":{backgroundColor:"rgba(0, 0, 0, 0.05)",color:"rgba(0, 0, 0, 0.3)",cursor:"not-allowed"}});function c({buttonProps:e,callbacks:t,children:r,focus:l,id:a="rswps-card-container",includeInputLabels:c,postalCode:u,recalculateSize:p,render:f,style:g,...m}){let[h,b]=i.useState(()=>{}),[S,y]=i.useState(!1),k=i.useRef(null),{cardTokenizeResponseReceived:w,payments:x}=(0,n.mN)(),v=i.useMemo(()=>{let e={includeInputLabels:c,postalCode:u,style:g};return Object.keys(e).reduce((t,r)=>(void 0!==e[r]&&(t[r]=e[r]),t),{})},[c,u,g]),I=async t=>{if(t.stopPropagation(),!e?.isLoading){if(!h)return void console.warn("Credit Card button was clicked, but no Credit Card instance was found.");y(!0);try{let e=await h.tokenize();if("OK"===e.status)return await w(e);let t=`Tokenization failed with status: ${e.status}`;if(e&&"errors"in e)throw t+=` and errors: ${JSON.stringify(e?.errors)}`,Error(t);console.warn(t)}catch(e){console.error(e)}finally{y(!1)}}};if(i.useEffect(()=>{let e=new AbortController,{signal:t}=e;return(async e=>{let t=await x?.card(v).then(t=>e.aborted?null:(b(t),t));await t?.attach(`#${a}`),l&&await t?.focus(l),e.aborted&&await t?.destroy()})(t),()=>{e.abort()}},[x,a]),i.useEffect(()=>{h&&l&&h.focus(l)},[h,l]),t)for(let e of Object.keys(t))h?.addEventListener(e,t[e]);p&&p(h?.recalculateSize),function({type:e,listener:t,element:r=o?void 0:window,options:n}){let l=i.useRef();i.useEffect(()=>{l.current=t},[t]);let a=i.useCallback(e=>{l.current?.(e)},[]);i.useEffect(()=>{let t=r&&"object"==typeof r&&"current"in r?r.current:r;return t?.addEventListener(e,a,n),()=>t?.removeEventListener(e,a)},[e,r,n,a])}({listener:I,type:"click",element:k,options:{passive:!0}});let E=({children:e,isLoading:t,...r})=>{let n=t||!h||S;return i.createElement(d,{...r,"aria-disabled":n,css:r?.css,disabled:n,id:"rswp-card-button",ref:k,type:"button"},e??"Pay")};return i.createElement(i.Fragment,null,i.createElement("div",{...m,"data-testid":"rswps-card-container",id:a,style:{minHeight:89}},!h&&i.createElement(s,null)),"function"==typeof f?f(E):i.createElement(E,{...e},r??"Pay"))}},53480:(e,t,r)=>{r.d(t,{K:()=>o});var i=null,n=class e extends Error{constructor(t="The Payment 'applicationId' option is not in the correct format."){super(t),this.name="InvalidApplicationIdError",Object.setPrototypeOf(this,e.prototype)}};function o(e,t,r){let o,l;return o=this,l=function*(){let o=(null==r?void 0:r.scriptSrc)===void 0?function(e){let t="";if("string"!=typeof e||null===e||(e.startsWith("sq0idp-")&&(t="https://web.squarecdn.com/"),e.startsWith("sandbox-sq0idb-")&&(t="https://sandbox.web.squarecdn.com/"),0===t.length))throw new n;return t+"v1/square.js"}(e):r.scriptSrc,l=yield(null!==i||(i=new Promise((e,t)=>{if("undefined"==typeof window)return void e(null);if(window.Square)return void e(window.Square);try{let r=document.querySelector(`script[src="${o}"]`);r||(r=function(e){let t=document.head||document.body;if(!t)throw Error("Square.js requires a <body> or <head> element.");let r=document.createElement("script");return r.src=e,t.appendChild(r),r}(o)),r.addEventListener("load",()=>{window.Square?e(window.Square):t(Error("Square.js failed to load properly."))}),r.addEventListener("error",()=>{t(Error("Error occurred while loading Square.js"))})}catch(e){t(e)}})),i);return null===l?null:l.payments(e,t)},new Promise((e,t)=>{var r=e=>{try{n(l.next(e))}catch(e){t(e)}},i=e=>{try{n(l.throw(e))}catch(e){t(e)}},n=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,i);n((l=l.apply(o,null)).next())})}},87454:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(52936),n=r(10528);let o=i.forwardRef(function({applicationId:e,cardTokenizeResponseReceived:t,locationId:r,children:o,formProps:l={"aria-label":"Payment form",id:"rswps-form"},overrides:a,...s},d){return i.createElement(n.Ay,{...s,applicationId:e,cardTokenizeResponseReceived:t,locationId:r,overrides:a},i.createElement("div",{"data-testid":"rswps-form",...l,ref:d,role:"form"},o))})},89800:(e,t,r)=>{r.d(t,{i:()=>J,I:()=>_});var i=r(52936),n="colors",o="sizes",l="space",a={gap:l,gridGap:l,columnGap:l,gridColumnGap:l,rowGap:l,gridRowGap:l,inset:l,insetBlock:l,insetBlockEnd:l,insetBlockStart:l,insetInline:l,insetInlineEnd:l,insetInlineStart:l,margin:l,marginTop:l,marginRight:l,marginBottom:l,marginLeft:l,marginBlock:l,marginBlockEnd:l,marginBlockStart:l,marginInline:l,marginInlineEnd:l,marginInlineStart:l,padding:l,paddingTop:l,paddingRight:l,paddingBottom:l,paddingLeft:l,paddingBlock:l,paddingBlockEnd:l,paddingBlockStart:l,paddingInline:l,paddingInlineEnd:l,paddingInlineStart:l,top:l,right:l,bottom:l,left:l,scrollMargin:l,scrollMarginTop:l,scrollMarginRight:l,scrollMarginBottom:l,scrollMarginLeft:l,scrollMarginX:l,scrollMarginY:l,scrollMarginBlock:l,scrollMarginBlockEnd:l,scrollMarginBlockStart:l,scrollMarginInline:l,scrollMarginInlineEnd:l,scrollMarginInlineStart:l,scrollPadding:l,scrollPaddingTop:l,scrollPaddingRight:l,scrollPaddingBottom:l,scrollPaddingLeft:l,scrollPaddingX:l,scrollPaddingY:l,scrollPaddingBlock:l,scrollPaddingBlockEnd:l,scrollPaddingBlockStart:l,scrollPaddingInline:l,scrollPaddingInlineEnd:l,scrollPaddingInlineStart:l,fontSize:"fontSizes",background:n,backgroundColor:n,backgroundImage:n,borderImage:n,border:n,borderBlock:n,borderBlockEnd:n,borderBlockStart:n,borderBottom:n,borderBottomColor:n,borderColor:n,borderInline:n,borderInlineEnd:n,borderInlineStart:n,borderLeft:n,borderLeftColor:n,borderRight:n,borderRightColor:n,borderTop:n,borderTopColor:n,caretColor:n,color:n,columnRuleColor:n,fill:n,outline:n,outlineColor:n,stroke:n,textDecorationColor:n,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:o,minBlockSize:o,maxBlockSize:o,inlineSize:o,minInlineSize:o,maxInlineSize:o,width:o,minWidth:o,maxWidth:o,height:o,minHeight:o,maxHeight:o,flexBasis:o,gridTemplateColumns:o,gridTemplateRows:o,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},s=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,d=()=>{let e=Object.create(null);return(t,r,...i)=>{let n=JSON.stringify(t,s);return n in e?e[n]:e[n]=r(t,...i)}},c=Symbol.for("sxs.internal"),u=(e,t)=>
1Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),p=e=>{for(let t in e)return!0;return!1},{hasOwnProperty:f}=Object.prototype,g=e=>e.includes("-")?e:e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),m=/\s+(?![^()]*\))/,h=e=>t=>e(..."string"==typeof t?String(t).split(m):[t]),b={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:h((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:h((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:h((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:h((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:h((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:h((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},S=/([\d.]+)([^]*)/,y=(e,t)=>e.length?e.reduce((e,r)=>(e.push(...t.map(e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(e)?`:is(${r})`:r):r+" "+e)),e),[]):t,k=(e,t)=>e in w&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(t,r,i,n)=>r+("stretch"===i?`-moz-available${n};${g(e)}:${r}-webkit-fill-available`:`-moz-fit-content${n};${g(e)}:${r}fit-content`)+n):String(t),w={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},x=e=>e?e+"-":"",v=(e,t,r)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(e,i,n,o,l)=>"$"==o==!!n?e:(i||"--"==o?"calc(":"")+"var(--"+("$"===o?x(t)+(l.includes("$")?"":x(r))+l.replace(/\$/g,"-"):l)+")"+(i||"--"==o?"*"+(i||"")+(n||"1")+")":"")),I=/\s*,\s*(?![^()]*\))/,E=Object.prototype.toString,R=(e,t,r,i,n)=>{let o,l,a,s=(e,t,r)=>{let d,c,u=e=>{var p;for(d in e){let f=64===d.charCodeAt(0);for(c of f&&Array.isArray(e[d])?e[d]:[e[d]]){let e=/[A-Z]/.test(p=d)?p:p.replace(/-[^]/g,e=>e[1].toUpperCase()),m="object"==typeof c&&c&&c.toString===E&&(!i.utils[e]||!t.length);if(e in i.utils&&!m){let t=i.utils[e];if(t!==l){l=t,u(t(c)),l=null;continue}}else if(e in b){let t=b[e];if(t!==a){a=t,u(t(c)),a=null;continue}}if(f&&(d=(d.slice(1)in i.media?"@media "+i.media[d.slice(1)]:d).replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(e,t,r,i,n,o)=>{let l=S.test(t),a=.0625*(l?-1:1),[s,d]=l?[i,t]:[t,i];return"("+("="===r[0]?"":">"===r[0]===l?"max-":"min-")+s+":"+("="!==r[0]&&1===r.length?d.replace(S,(e,t,i)=>Number(t)+a*(">"===r?1:-1)+i):d)+(n?") and ("+(">"===n[0]?"min-":"max-")+s+":"+(1===n.length?o.replace(S,(e,t,r)=>Number(t)+a*(">"===n?-1:1)+r):o):"")+")"})),m){let e=f?r.concat(d):[...r],i=f?[...t]:y(t,d.split(I));void 0!==o&&n(B(...o)),o=void 0,s(c,i,e)}else void 0===o&&(o=[[],t,r]),d=f||36!==d.charCodeAt(0)?d:`--${x(i.prefix)}${d.slice(1).replace(/\$/g,"-")}`,c=m?c:"number"==typeof c?c&&e in $?String(c)+"px":String(c):v(k(e,null==c?"":c),i.prefix,i.themeMap[e]),o[0].push(`${f?`${d} `:`${g(d)}:`}${c}`)}}};u(e),void 0!==o&&n(B(...o)),o=void 0};s(e,t,r)},B=(e,t,r)=>`${r.map(e=>`${e}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(r.length?r.length+1:0).join("}")}`,$={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},j=e=>String.fromCharCode(e+(e>25?39:97)),z=e=>(e=>{let t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=j(t%52)+r;return j(t%52)+r})(((e,t)=>{let r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return e})(5381,JSON.stringify(e))>>>0),W=["themed","global","styled","onevar","resonevar","allvar","inline"],P=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},C=e=>{let t=e.group,r=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,r),++r}catch(e){}}},T=Symbol(),M=d(),L=(e,t)=>M(e,()=>(...r)=>{let i={type:null,composers:new Set};for(let t of r)if(null!=t)if(t[c])for(let e of(null==i.type&&(i.type=t[c].type),t[c].composers))i.composers.add(e);else t.constructor!==Object||t.$$typeof?null==i.type&&(i.type=t):i.composers.add(q(t,e));return null==i.type&&(i.type="span"),i.composers.size||i.composers.add(["PJLV",{},[],[],{},[]]),A(e,i,t)}),q=({variants:e,compoundVariants:t,defaultVariants:r,...i},n)=>{let o=`${x(n.prefix)}c-${z(i)}`,l=[],a=[],s=Object.create(null),d=[];for(let e in r)s[e]=String(r[e]);if("object"==typeof e&&e)for(let t in e){f.call(s,t)||(s[t]="undefined");let r=e[t];for(let e in r){let i={[t]:String(e)};"undefined"===String(e)&&d.push(t);let n=r[e],o=[i,n,!p(n)];l.push(o)}}if("object"==typeof t&&t)for(let e of t){let{css:t,...r}=e;for(let e in t="object"==typeof t&&t||{},r)r[e]=String(r[e]);let i=[r,t,!p(t)];a.push(i)}return[o,i,l,a,s,d]},A=(e,t,r)=>{let[i,n,o,l]=O(t.composers),a="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let r=0;r<t[T].length;r++){let[i,n]=t[T][r];e.rules[i].apply(n)}return t[T]=[],null}return t[T]=[],t.rules={}
1,W.forEach(e=>t.rules[e]={apply:r=>t[T].push([e,r])}),t})(r):null,s=(a||r).rules,d=`.${i}${n.length>1?`:where(.${n.slice(1).join(".")})`:""}`,p=c=>{let{css:u,...p}=c="object"==typeof c&&c||F,f={};for(let e in o)if(delete p[e],e in c){let t=c[e];"object"==typeof t&&t?f[e]={"@initial":o[e],...t}:(t=String(t),f[e]="undefined"!==t||l.has(e)?t:o[e])}else f[e]=o[e];let g=new Set([...n]);for(let[i,n,o,l]of t.composers){r.rules.styled.cache.has(i)||(r.rules.styled.cache.add(i),R(n,[`.${i}`],[],e,e=>{s.styled.apply(e)}));let t=N(o,f,e.media),a=N(l,f,e.media,!0);for(let n of t)if(void 0!==n)for(let[t,o,l]of n){let n=`${i}-${z(o)}-${t}`;g.add(n);let a=(l?r.rules.resonevar:r.rules.onevar).cache,d=l?s.resonevar:s.onevar;a.has(n)||(a.add(n),R(o,[`.${n}`],[],e,e=>{d.apply(e)}))}for(let t of a)if(void 0!==t)for(let[n,o]of t){let t=`${i}-${z(o)}-${n}`;g.add(t),r.rules.allvar.cache.has(t)||(r.rules.allvar.cache.add(t),R(o,[`.${t}`],[],e,e=>{s.allvar.apply(e)}))}}if("object"==typeof u&&u){let t=`${i}-i${z(u)}-css`;g.add(t),r.rules.inline.cache.has(t)||(r.rules.inline.cache.add(t),R(u,[`.${t}`],[],e,e=>{s.inline.apply(e)}))}for(let e of String(c.className||"").trim().split(/\s+/))e&&g.add(e);let m=p.className=[...g].join(" ");return{type:t.type,className:m,selector:d,props:p,toString:()=>m,deferredInjector:a}};return u(p,{className:i,selector:d,[c]:t,toString:()=>(r.rules.styled.cache.has(i)||p(),i)})},O=e=>{let t="",r=[],i={},n=[];for(let[o,,,,l,a]of e)for(let e in""===t&&(t=o),r.push(o),n.push(...a),l){let t=l[e];(void 0===i[e]||"undefined"!==t||a.includes(t))&&(i[e]=t)}return[t,r,i,new Set(n)]},N=(e,t,r,i)=>{let n=[];e:for(let[o,l,a]of e){if(a)continue;let e,s=0,d=!1;for(e in o){let i=o[e],n=t[e];if(n!==i){if("object"!=typeof n||!n)continue e;{let e,t,o=0;for(let l in n){if(i===String(n[l])){if("@initial"!==l){let e=l.slice(1);(t=t||[]).push(e in r?r[e]:l.replace(/^@media ?/,"")),d=!0}s+=o,e=!0}++o}if(t&&t.length&&(l={["@media "+t.join(", ")]:l}),!e)continue e}}}(n[s]=n[s]||[]).push([i?"cv":`${e}-${o[e]}`,l,d])}return n},F={}
1,D=d(),H=d(),V=class{constructor(e,t,r,i){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==r?"":String(r),this.prefix=null==i?"":String(i)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+x(this.prefix)+x(this.scale)+this.token}toString(){return this.computedValue}},U=d(),G=d(),K=d();let{keyframes:J,styled:_}=(e=>{let t=(e=>{let t=!1,r=G(e,e=>{t=!0;let r="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",i="object"==typeof e.media&&e.media||{},n="object"==typeof e.root?e.root||null:globalThis.document||null,o="object"==typeof e.theme&&e.theme||{},l={prefix:r,media:i,theme:o,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...a},utils:"object"==typeof e.utils&&e.utils||{}},s=(e=>{let t,r=()=>{let{cssRules:e}=t.sheet;return[].map.call(e,(r,i)=>{let{cssText:n}=r,o="";if(n.startsWith("--sxs"))return"";if(e[i-1]&&(o=e[i-1].cssText).startsWith("--sxs")){if(!r.cssRules.length)return"";for(let e in t.rules)if(t.rules[e].group===r)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${n}`;return r.cssRules.length?`${o}${n}`:""}return n}).join("")},i=()=>
1{if(t){let{rules:e,sheet:r}=t;if(!r.deleteRule){for(;3===Object(Object(r.cssRules)[0]).type;)r.cssRules.splice(0,1);r.cssRules=[]}for(let t in e)delete e[t]}for(let n of Object(e).styleSheets||[])if(P(n)){for(let e=0,o=n.cssRules;o[e];++e){let l=Object(o[e]);if(1!==l.type)continue;let a=Object(o[e+1]);if(4!==a.type)continue;++e;let{cssText:s}=l;if(!s.startsWith("--sxs"))continue;let d=s.slice(14,-3).trim().split(/\s+/),c=W[d[0]];c&&(t||(t={sheet:n,reset:i,rules:{},toString:r}),t.rules[c]={group:a,index:e,cache:new Set(d)})}if(t)break}if(!t){let n=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,n(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,e=>e.cssText).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:n("","text/css"),rules:{},reset:i,toString:r}}let{sheet:n,rules:o}=t;for(let e=W.length-1;e>=0;--e){let t=W[e];if(!o[t]){let r=W[e+1],i=o[r]?o[r].index:n.cssRules.length;n.insertRule("@media{}",i),n.insertRule(`--sxs{--sxs:${e}}`,i),o[t]={group:n.cssRules[i+1],index:i,cache:new Set([e])}}C(o[t])}};return i(),t})(n),d={css:L(l,s),globalCss:((e,t)=>D(e,()=>(...r)=>{let i=()=>{for(let i of r){let r=z(i="object"==typeof i&&i||{});if(!t.rules.global.cache.has(r)){if(t.rules.global.cache.add(r),"@import"in i){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let r of[].concat(i["@import"]))r=r.includes('"')||r.includes("'")?r:`"${r}"`,t.sheet.insertRule(`@import ${r};`,e++);delete i["@import"]}
1R(i,[],[],e,e=>{t.rules.global.apply(e)})}}return""};return u(i,{toString:i})}))(l,s),keyframes:((e,t)=>H(e,()=>r=>{let i=`${x(e.prefix)}k-${z(r)}`,n=()=>{if(!t.rules.global.cache.has(i)){t.rules.global.cache.add(i);let n=[];R(r,[],[],e,e=>n.push(e));let o=`@keyframes ${i}{${n.join("")}}`;t.rules.global.apply(o)}return i};return u(n,{get name(){return n()},toString:n})}))(l,s),createTheme:((e,t)=>U(e,()=>(r,i)=>{i="object"==typeof r&&r||Object(i);let n=`.${r=(r="string"==typeof r?r:"")||`${x(e.prefix)}t-${z(i)}`}`,o={},l=[];for(let t in i)for(let r in o[t]={},i[t]){let n=`--${x(e.prefix)}${t}-${r}`,a=v(String(i[t][r]),e.prefix,t);o[t][r]=new V(r,a,t,e.prefix),l.push(`${n}:${a}`)}let a=()=>{if(l.length&&!t.rules.themed.cache.has(r)){t.rules.themed.cache.add(r);let n=`${i===e.theme?":root,":""}.${r}{${l.join(";")}}`;t.rules.themed.apply(n)}return r};return{...o,get className(){return a()},selector:n,toString:a}}))(l,s),reset(){s.reset(),d.theme.toString()},theme:{},sheet:s,config:l,prefix:r,getCssText:s.toString,toString:s.toString};return String(d.theme=d.createTheme(o)),d});return t||r.reset(),r})(void 0);return t.styled=(({config:e,sheet:t})=>K(e,()=>{let r=L(e,t);return(...e)=>{let t=r(...e),n=t[c].type,o=i.forwardRef((e,r)=>{let o=e&&e.as||n,{props:l,deferredInjector:a}=t(e);return delete l.as,l.ref=r,a?i.createElement(i.Fragment,null,i.createElement(o,l),i.createElement(a,null)):i.createElement(o,l)});return o.className=t.className,o.displayName=`Styled.${n.displayName||n.name||n}`,o.selector=t.selector,o.toString=()=>t.selector,o[c]=t[c],o}}))(t),t})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.