!function(){var e=document.createElement("style");e.innerHTML=':root{--font-regular: "proxima_nova_regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-semibold: "proxima_nova_semibold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-light: "proxima_nova_light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-bold: "proxima_nova_bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-black: "proxima_nova_black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--grey-ultra-dark: #424242;--grey-dark: #626262;--grey-medium: #828282;--grey-light: #c2c2c2;--grey-ultra-light: #f2f2f2;--grey-1: #2e2e2e;--grey-5: #cacaca;--grey-6: #efefef;--white: #ffffff;--black: #000000;--transparent: rgba(255, 255, 255, 0);--coral-dark: #ff271e;--coral: #ff6458;--coral-light: #ffefee;--green: #3cb064;--amber: #e6b94f;--accent-color: var(--coral);--primary-light-40: #ffa29b;--error-color: var(--coral-dark);--warning-color: var(--amber);--success-color: var(--green);--background-color: var(--grey-ultra-light);--font-color: var(--grey-dark);--font-accent-color: var(--coral);--font-inverted-color: var(--white);--border-color: var(--grey-light);--link-color: var(--grey-dark);--link-hover-color: var(--grey-ultra-dark);--overlay-color: rgba(255, 255, 255, .7);--shadow-color: rgba(0, 0, 0, .2);--font-size: 1rem;--font-size-12: .75rem;--font-size-14: .875rem;--font-size-16: 1rem;--font-size-20: 1.25rem;--font-size-24: 1.5rem;--font-size-32: 2rem;--font-size-48: 3rem;--font-size-64: 4rem;--font-size-96: 6rem;--line-height: 1.5rem;--line-height-12: 1.3125rem;--line-height-14: 1.3125rem;--line-height-16: 1.5rem;--line-height-20: 1.5625rem;--line-height-24: 1.875rem;--line-height-32: 2.5rem;--line-height-48: 3.75rem;--line-height-1em: 1em;--line-height-125em: 1.25em;--space-unit: .25rem;--space-0: calc(var(--space-unit) * 0);--space-1: calc(var(--space-unit) * 1);--space-2: calc(var(--space-unit) * 2);--space-3: calc(var(--space-unit) * 3);--space-4: calc(var(--space-unit) * 4);--space-5: calc(var(--space-unit) * 5);--space-6: calc(var(--space-unit) * 6);--space-7: calc(var(--space-unit) * 7);--space-8: calc(var(--space-unit) * 8);--space-9: calc(var(--space-unit) * 9);--space-10: calc(var(--space-unit) * 10);--space-12: calc(var(--space-unit) * 12);--space-16: calc(var(--space-unit) * 16);--space-20: calc(var(--space-unit) * 20);--space-24: calc(var(--space-unit) * 24);--uppercase-letter-spacing: .1em;--button-border-radius: 20px;--container-border-radius: 8px;--circle-border-radius: 50%;--box-shadow-blur: 4px;--box-shadow-spread: 8px;--ctf-link-decoration: underline;--ctf-link-color: var(--coral)}:export{extraSmallBreakpoint:320px;smallBreakpoint:425px;mobileBreakpoint:768px;tabletBreakpoint:970px;desktopBreakpoint:1200px;largeBreakpoint:1400px;extraLargeBreakpoint:1600px;xxlBreakpoint:1800px}.frame.contentfulframe-scoped{position:relative}.frame.contentfulframe-scoped .asset{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;overflow:hidden}.frame.contentfulframe-scoped .typography-weight-light{text-transform:unset;letter-spacing:unset;color:#141414;font-family:var(--font-light);font-style:normal;font-weight:300}.frame.contentfulframe-scoped .typography-weight-regular{text-transform:unset;letter-spacing:unset;color:#141414;font-family:var(--font-regular);font-style:normal;font-weight:400}.frame.contentfulframe-scoped .typography-weight-semibold{text-transform:unset;letter-spacing:unset;color:#141414;font-family:var(--font-semibold);font-style:normal;font-weight:600}.frame.contentfulframe-scoped .typography-weight-bold{text-transform:unset;letter-spacing:unset;color:#141414;font-family:var(--font-bold);font-style:normal}.frame.contentfulframe-scoped .typography-weight-black{text-transform:unset;letter-spacing:unset;color:#141414;font-family:var(--font-black);font-style:normal;font-weight:900}.frame.contentfulframe-scoped .typography-style-uppercase{text-transform:uppercase;letter-spacing:.1em}.frame.contentfulframe-scoped .typography-style-underline{text-decoration:underline}.frame.contentfulframe-scoped .typography-size-display1{line-height:125%;font-size:var(--font-size-96)}.frame.contentfulframe-scoped .typography-size-display2{line-height:125%;font-size:var(--font-size-64)}.frame.contentfulframe-scoped .typography-size-display3{line-height:125%;font-size:var(--font-size-48)}.frame.contentfulframe-scoped .typography-size-display4{line-height:125%;font-size:var(--font-size-32)}.frame.contentfulframe-scoped .typography-size-display5{line-height:125%;font-size:var(--font-size-24)}.frame.contentfulframe-scoped .typography-size-display6{line-height:150%;font-size:var(--font-size-20)}.frame.contentfulframe-scoped .typography-size-display7{line-height:150%;font-size:var(--font-size-16)}.frame.contentfulframe-scoped .typography-size-display8{line-height:150%;font-size:var(--font-size-14)}.frame.contentfulframe-scoped .typography-size-display9{font-size:var(--font-size-12);line-height:150%}\n',document.head.appendChild(e);try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c2a43f74-48ad-40fc-93d8-027be5107f4d",e._sentryDebugIdIdentifier="sentry-dbid-c2a43f74-48ad-40fc-93d8-027be5107f4d")}catch(t){}System.register(["./vendor-legacy.e0101702.js","./index-legacy.4c333bdb.js","./ContentfulRichTextRenderer-legacy.c69f414d.js","./ContentfulResponsiveAsset-legacy.b905d13a.js","./ContentfulField-legacy.8b7ebd8e.js","./ContentfulAsset-legacy.fa73404b.js","./Divider-legacy.9e9d1292.js","./slugify-legacy.92064a12.js","./useProduct-legacy.a93d46c0.js","./EventAnalytics-legacy.6a559971.js","./useContentfulLivePreview-legacy.0f087775.js"],(function(e){"use strict";var t,r,s,n,o,i,a,l,u,c,p,h,f,d,m,g,y,v,w,b,S,k,x,O,E,_,T,P,I,A,C,L,M,j,D;return{setters:[function(e){t=e.bB,r=e.bC,s=e.aB,n=e.bD,o=e.d,i=e.a0,a=e.i,l=e.c,u=e.ay,c=e.ao,p=e.o,h=e.E,f=e.a,d=e.Z,m=e.Q,g=e.w,y=e.K,v=e.av,w=e.ax,b=e.a2},function(e){S=e.o,k=e.p,x=e.h,O=e.i,E=e.n,_=e.T,T=e.r},function(e){P=e.B,I=e.I,A=e.R},function(e){C=e.default},function(e){L=e.C},function(e){M=e._},function(e){j=e.default},function(e){D=e.s},function(){},function(){},function(){}],execute:function(){let R=t.exports,F=r;class N extends Error{constructor(e,t,r,s,n,o){super(e),this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),s&&(this.source=s),o&&(this.plugin=o),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,N)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=R.isColorSupported),F&&e&&(t=F(t));let r,s,n=t.split(/\r?\n/),o=Math.max(this.line-3,0),i=Math.min(this.line+2,n.length),a=String(i).length;if(e){let{bold:e,gray:t,red:n}=R.createColors(!0);r=t=>e(n(t)),s=e=>t(e)}else r=s=e=>e;return n.slice(o,i).map(((e,t)=>{let n=o+1+t,i=" "+(" "+n).slice(-a)+" | ";if(n===this.line){let t=s(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+s(i)+e+"\n "+t+r("^")}return" "+s(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}var U=N;N.default=N;var B={};B.isClean=Symbol("isClean"),B.my=Symbol("my");const z={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class q{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let s=0;s{if(s=e.raws[t],void 0!==s)return!1}))}return void 0===s&&(s=z[r]),o.rawCache[r]=s,s}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}var W=q;q.default=q;let $=W;function Y(e,t){new $(t).stringify(e)}var G=Y;Y.default=Y;let{isClean:Q,my:V}=B,H=U,J=W,K=G;function Z(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if("proxyCache"===s)continue;let n=e[s],o=typeof n;"parent"===s&&"object"===o?t&&(r[s]=t):"source"===s?r[s]=n:Array.isArray(n)?r[s]=n.map((e=>Z(e,r))):("object"===o&&null!==n&&(n=Z(n)),r[s]=n)}return r}class X{constructor(e={}){this.raws={},this[Q]=!1,this[V]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Z(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new H(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[Q]){this[Q]=!1;let e=this;for(;e=e.parent;)e[Q]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let s=(t=this.toString()).indexOf(e.word);-1!==s&&(r=this.positionInside(s,t))}return r}positionInside(e,t){let r=t||this.toString(),s=this.source.start.column,n=this.source.start.line;for(let o=0;o"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof e&&e.toJSON)r[o]=e.toJSON(null,t);else if("source"===o){let s=t.get(e.input);null==s&&(s=n,t.set(e.input,n),n++),r[o]={end:e.end,inputId:s,start:e.start}}else r[o]=e}return s&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=K){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let s={node:this};for(let n in r)s[n]=r[n];return e.warn(t,s)}get proxyOf(){return this}}var ee=X;X.default=X;let te=ee;class re extends te{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var se=re;re.default=re;var ne={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let s="",n=r;for(;n--;)s+=e[Math.random()*e.length|0];return s}};let{SourceMapConsumer:oe,SourceMapGenerator:ie}=r,{existsSync:ae,readFileSync:le}=r,{dirname:ue,join:ce}=r;class pe{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=ue(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new oe(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return function(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}(e.substr(RegExp.lastMatch.length));let t=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+t)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=ue(e),ae(e))return this.mapFile=e,le(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof oe)return ie.fromSourceMap(t).toString();if(t instanceof ie)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=ce(ue(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}var he=pe;pe.default=pe;let{SourceMapConsumer:fe,SourceMapGenerator:de}=r,{fileURLToPath:me,pathToFileURL:ge}=r,{isAbsolute:ye,resolve:ve}=r,{nanoid:we}=ne,be=r,Se=U,ke=he,xe=Symbol("fromOffsetCache"),Oe=Boolean(fe&&de),Ee=Boolean(ve&&ye);class _e{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Ee||/^\w+:\/\//.test(t.from)||ye(t.from)?this.file=t.from:this.file=ve(t.from)),Ee&&Oe){let e=new ke(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,t,r,s={}){let n,o,i;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof e.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);o=e.line,i=e.col}else o=s.line,i=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,o,i);return n=a?new Se(e,void 0===a.endLine?a.line:{column:a.column,line:a.line},void 0===a.endLine?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,s.plugin):new Se(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:i,line:o},this.css,this.file,s.plugin),n.input={column:r,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(ge&&(n.input.url=ge(this.file).toString()),n.input.file=this.file),n}fromOffset(e){let t,r;if(this[xe])r=this[xe];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s=t)s=r.length-1;else{let t,n=r.length-2;for(;s>1),e=r[t+1])){s=t;break}s=t+1}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ve(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,s){if(!this.map)return!1;let n,o,i=this.map.consumer(),a=i.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(n=i.originalPositionFor({column:s,line:r})),o=ye(a.source)?ge(a.source):new URL(a.source,this.map.consumer().sourceRoot||ge(this.map.mapFile));let l={column:a.column,endColumn:n&&n.column,endLine:n&&n.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!me)throw new Error("file: protocol is not available in this PostCSS build");l.file=me(o)}let u=i.sourceContentFor(a.source);return u&&(l.source=u),l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}var Te=_e;_e.default=_e,be&&be.registerInput&&be.registerInput(_e);let{SourceMapConsumer:Pe,SourceMapGenerator:Ie}=r,{dirname:Ae,relative:Ce,resolve:Le,sep:Me}=r,{pathToFileURL:je}=r,De=Te,Re=Boolean(Pe&&Ie),Fe=Boolean(Ae&&Le&&Ce&&Me);var Ne=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),s=e.root||Ae(e.file);!1===this.mapOpts.sourcesContent?(t=new Pe(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(s)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),Fe&&Re&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Ie.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Ie({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Ie({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,s=1,n="",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(o.generated.line=r,o.generated.column=s-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,this.map.addMapping(o))),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf("\n"),s=i.length-t):s+=i.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=r,o.generated.column=s-2,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=s-1,this.map.addMapping(o)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Ae(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Ae(Le(r,this.mapOpts.annotation)));let s=Ce(r,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new De(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(je){let t=je(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===Me&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};let Ue=ee;class Be extends Ue{constructor(e){super(e),this.type="comment"}}var ze=Be;Be.default=Be;let qe,We,$e,Ye,{isClean:Ge,my:Qe}=B,Ve=se,He=ze,Je=ee;function Ke(e){return e.map((e=>(e.nodes&&(e.nodes=Ke(e.nodes)),delete e.source,e)))}function Ze(e){if(e[Ge]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Ze(t)}class Xe extends Je{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,s=this.index(e),n=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let o of n)this.proxyOf.nodes.splice(s+1,0,o);for(let o in this.indexes)r=this.indexes[o],s(e[Qe]||Xe.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Ge]&&Ze(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(Mn){throw t.addToError(Mn)}return!1!==s&&t.walk&&(s=t.walk(e)),s}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)})):this.walk(((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)})):this.walk(((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)})):this.walk(((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}Xe.registerParse=e=>{qe=e},Xe.registerRule=e=>{We=e},Xe.registerAtRule=e=>{$e=e},Xe.registerRoot=e=>{Ye=e};var et=Xe;Xe.default=Xe,Xe.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,$e.prototype):"rule"===e.type?Object.setPrototypeOf(e,We.prototype):"decl"===e.type?Object.setPrototypeOf(e,Ve.prototype):"comment"===e.type?Object.setPrototypeOf(e,He.prototype):"root"===e.type&&Object.setPrototypeOf(e,Ye.prototype),e[Qe]=!0,e.nodes&&e.nodes.forEach((e=>{Xe.rebuild(e)}))};let tt,rt,st=et;class nt extends st{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new tt(new rt,this,e).stringify()}}nt.registerLazyResult=e=>{tt=e},nt.registerProcessor=e=>{rt=e};var ot=nt;nt.default=nt;class it{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var at=it;it.default=it;let lt=at;class ut{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new lt(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}var ct=ut;ut.default=ut;const pt="'".charCodeAt(0),ht='"'.charCodeAt(0),ft="\\".charCodeAt(0),dt="/".charCodeAt(0),mt="\n".charCodeAt(0),gt=" ".charCodeAt(0),yt="\f".charCodeAt(0),vt="\t".charCodeAt(0),wt="\r".charCodeAt(0),bt="[".charCodeAt(0),St="]".charCodeAt(0),kt="(".charCodeAt(0),xt=")".charCodeAt(0),Ot="{".charCodeAt(0),Et="}".charCodeAt(0),_t=";".charCodeAt(0),Tt="*".charCodeAt(0),Pt=":".charCodeAt(0),It="@".charCodeAt(0),At=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ct=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Lt=/.[\r\n"'(/\\]/,Mt=/[\da-f]/i;let jt=et;class Dt extends jt{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}var Rt=Dt;Dt.default=Dt,jt.registerAtRule(Dt);let Ft,Nt,Ut=et;class Bt extends Ut{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let n of s)n.raws.before=t.raws.before;return s}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Ft(new Nt,this,e).stringify()}}Bt.registerLazyResult=e=>{Ft=e},Bt.registerProcessor=e=>{Nt=e};var zt=Bt;Bt.default=Bt,Ut.registerRoot(Bt);let qt={comma:e=>qt.split(e,[","],!0),space:e=>qt.split(e,[" ","\n","\t"]),split(e,t,r){let s=[],n="",o=!1,i=0,a=!1,l="",u=!1;for(let c of e)u?u=!1:"\\"===c?u=!0:a?c===l&&(a=!1):'"'===c||"'"===c?(a=!0,l=c):"("===c?i+=1:")"===c?i>0&&(i-=1):0===i&&t.includes(c)&&(o=!0),o?(""!==n&&s.push(n.trim()),n="",o=!1):n+=c;return(r||""!==n)&&s.push(n.trim()),s}};var Wt=qt;qt.default=qt;let $t=et,Yt=Wt;class Gt extends $t{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Yt.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}var Qt=Gt;Gt.default=Gt,$t.registerRule(Gt);let Vt=se,Ht=function(e,t={}){let r,s,n,o,i,a,l,u,c,p,h=e.css.valueOf(),f=t.ignoreErrors,d=h.length,m=0,g=[],y=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=d},nextToken:function(e){if(y.length)return y.pop();if(m>=d)return;let t=!!e&&e.ignoreUnclosed;switch(r=h.charCodeAt(m),r){case mt:case gt:case vt:case wt:case yt:s=m;do{s+=1,r=h.charCodeAt(s)}while(r===gt||r===mt||r===vt||r===wt||r===yt);p=["space",h.slice(m,s)],m=s-1;break;case bt:case St:case Ot:case Et:case Pt:case _t:case xt:{let e=String.fromCharCode(r);p=[e,e,m];break}case kt:if(u=g.length?g.pop()[1]:"",c=h.charCodeAt(m+1),"url"===u&&c!==pt&&c!==ht&&c!==gt&&c!==mt&&c!==vt&&c!==yt&&c!==wt){s=m;do{if(a=!1,s=h.indexOf(")",s+1),-1===s){if(f||t){s=m;break}v("bracket")}for(l=s;h.charCodeAt(l-1)===ft;)l-=1,a=!a}while(a);p=["brackets",h.slice(m,s+1),m,s],m=s}else s=h.indexOf(")",m+1),o=h.slice(m,s+1),-1===s||Lt.test(o)?p=["(","(",m]:(p=["brackets",o,m,s],m=s);break;case pt:case ht:n=r===pt?"'":'"',s=m;do{if(a=!1,s=h.indexOf(n,s+1),-1===s){if(f||t){s=m+1;break}v("string")}for(l=s;h.charCodeAt(l-1)===ft;)l-=1,a=!a}while(a);p=["string",h.slice(m,s+1),m,s],m=s;break;case It:At.lastIndex=m+1,At.test(h),s=0===At.lastIndex?h.length-1:At.lastIndex-2,p=["at-word",h.slice(m,s+1),m,s],m=s;break;case ft:for(s=m,i=!0;h.charCodeAt(s+1)===ft;)s+=1,i=!i;if(r=h.charCodeAt(s+1),i&&r!==dt&&r!==gt&&r!==mt&&r!==vt&&r!==wt&&r!==yt&&(s+=1,Mt.test(h.charAt(s)))){for(;Mt.test(h.charAt(s+1));)s+=1;h.charCodeAt(s+1)===gt&&(s+=1)}p=["word",h.slice(m,s+1),m,s],m=s;break;default:r===dt&&h.charCodeAt(m+1)===Tt?(s=h.indexOf("*/",m+2)+1,0===s&&(f||t?s=h.length:v("comment")),p=["comment",h.slice(m,s+1),m,s],m=s):(Ct.lastIndex=m+1,Ct.test(h),s=0===Ct.lastIndex?h.length-1:Ct.lastIndex-2,p=["word",h.slice(m,s+1),m,s],g.push(p),m=s)}return m++,p},position:function(){return m}}},Jt=ze,Kt=Rt,Zt=zt,Xt=Qt;const er={empty:!0,space:!0};let tr=et,rr=class{constructor(e){this.input=e,this.root=new Zt,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,s,n=new Kt;n.name=e[1].slice(1),""===n.name&&this.unnamedAtrule(n,e),this.init(n,e[2]);let o=!1,i=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){n.source.end=this.getPosition(e[2]),n.source.end.offset++,this.semicolon=!0;break}if("{"===t){i=!0;break}if("}"===t){if(a.length>0){for(s=a.length-1,r=a[s];r&&"space"===r[0];)r=a[--s];r&&(n.source.end=this.getPosition(r[3]||r[2]),n.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(n.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(n,"params",a),o&&(e=a[a.length-1],n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),i&&(n.nodes=[],this.current=n)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,s,n=0;for(let[o,i]of e.entries()){if(t=i,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return o}this.doubleColon(t)}s=t}return!1}comment(e){let t=new Jt;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=Ht(this.input)}decl(e,t){let r=new Vt;this.init(r,e[0][2]);let s,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],s=r[3]||r[2];if(s)return s}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(s=e.shift(),":"===s[0]){r.raws.between+=s[1];break}"word"===s[0]&&/\w/.test(s[1])&&this.unknownWord([s]),r.raws.between+=s[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o,i=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)i.push(e.shift());this.precheckMissedSemicolon(e);for(let a=e.length-1;a>=0;a--){if(s=e[a],"!important"===s[1].toLowerCase()){r.important=!0;let t=this.stringFrom(e,a);t=this.spacesFromEnd(e)+t," !important"!==t&&(r.raws.important=t);break}if("important"===s[1].toLowerCase()){let t=e.slice(0),s="";for(let e=a;e>0;e--){let r=t[e][0];if(0===s.trim().indexOf("!")&&"space"!==r)break;s=t.pop()[1]+s}0===s.trim().indexOf("!")&&(r.important=!0,r.raws.important=s,e=t)}if("space"!==s[0]&&"comment"!==s[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=i.map((e=>e[1])).join(""),i=[]),this.raw(r,"value",i.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Xt;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,s=!1,n=null,o=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)n||(n=l),o.push("("===r?")":"]");else if(i&&s&&"{"===r)n||(n=l),o.push("}");else if(0===o.length){if(";"===r){if(s)return void this.decl(a,i);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(s=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(n=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(n),t&&s){if(!i)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,i)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let n,o,i,a,l=r.length,u="",c=!0;for(let p=0;pe+t[1]),"");e.raws[t]={raw:s,value:u}}e[t]=u}rule(e){e.pop();let t=new Xt;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;sSr(e))),e}let kr={};class xr{constructor(e,t,r){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof xr||t instanceof hr)s=Sr(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=fr;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{s=e(t,r)}catch(n){this.processed=!0,this.error=n}s&&!s[ar]&&cr.rebuild(s)}else s=Sr(t);this.result=new hr(e,s,r),this.helpers={...kr,postcss:kr,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!gr[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!yr[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let e=this.visitTick(t);if(vr(e))try{await e}catch(Mn){let r=t[t.length-1].node;throw this.handleError(Mn,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(Mn){throw this.handleError(Mn)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return vr(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=ur;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new lr(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(vr(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ir];)e[ir]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,s]of e){let e;this.result.lastPlugin=r;try{e=s(t,this.helpers)}catch(Mn){throw this.handleError(Mn,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(vr(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(s.length>0&&t.visitorIndex{e[ir]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}xr.registerPostcss=e=>{kr=e};var Or=xr;xr.default=xr,dr.registerLazyResult(xr),pr.registerLazyResult(xr);let Er=Ne,_r=G,Tr=or;const Pr=ct;class Ir{constructor(e,t,r){let s;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let n=_r;this.result=new Pr(this._processor,s,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});let i=new Er(n,s,this._opts,t);if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else i.clearAnnotation(),this.result.css=i.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=Tr;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}var Ar=Ir;Ir.default=Ir;let Cr=Ar,Lr=Or,Mr=ot,jr=zt;class Dr{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new Lr(this,e,t):new Cr(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}var Rr=Dr;Dr.default=Dr,jr.registerProcessor(Dr),Mr.registerProcessor(Dr);let Fr=se,Nr=he,Ur=ze,Br=Rt,zr=Te,qr=zt,Wr=Qt;function $r(e,t){if(Array.isArray(e))return e.map((e=>$r(e)));let{inputs:r,...s}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:zr.prototype};r.map&&(r.map={...r.map,__proto__:Nr.prototype}),t.push(r)}}if(s.nodes&&(s.nodes=e.nodes.map((e=>$r(e,t)))),s.source){let{inputId:e,...r}=s.source;s.source=r,null!=e&&(s.source.input=t[e])}if("root"===s.type)return new qr(s);if("decl"===s.type)return new Fr(s);if("rule"===s.type)return new Wr(s);if("comment"===s.type)return new Ur(s);if("atrule"===s.type)return new Br(s);throw new Error("Unknown node type: "+e.type)}var Yr=$r;$r.default=$r;let Gr=U,Qr=se,Vr=Or,Hr=et,Jr=Rr,Kr=G,Zr=Yr,Xr=ot,es=at,ts=ze,rs=Rt,ss=ct,ns=Te,os=or,is=Wt,as=Qt,ls=zt,us=ee;function cs(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new Jr(e)}cs.plugin=function(e,t){let r,s=!1;function n(...r){console&&console.warn&&!s&&(s=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{}.LANG&&{}.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let n=t(...r);return n.postcssPlugin=e,n.postcssVersion=(new Jr).version,n}return Object.defineProperty(n,"postcss",{get:()=>(r||(r=n()),r)}),n.process=function(e,t,r){return cs([n(r)]).process(e,t)},n},cs.stringify=Kr,cs.parse=os,cs.fromJSON=Zr,cs.list=is,cs.comment=e=>new ts(e),cs.atRule=e=>new rs(e),cs.decl=e=>new Qr(e),cs.rule=e=>new as(e),cs.root=e=>new ls(e),cs.document=e=>new Xr(e),cs.CssSyntaxError=Gr,cs.Declaration=Qr,cs.Container=Hr,cs.Processor=Jr,cs.Document=Xr,cs.Comment=ts,cs.Warning=es,cs.AtRule=rs,cs.Result=ss,cs.Input=ns,cs.Rule=as,cs.Root=ls,cs.Node=us,Vr.registerPostcss(cs);var ps=cs;cs.default=cs,ps.stringify,ps.fromJSON,ps.plugin,ps.parse,ps.list,ps.document,ps.comment,ps.atRule,ps.rule,ps.decl,ps.root,ps.CssSyntaxError,ps.Declaration,ps.Container,ps.Processor,ps.Document,ps.Comment,ps.Warning,ps.AtRule,ps.Result,ps.Input,ps.Rule,ps.Root,ps.Node;var hs={exports:{}},fs={exports:{}},ds={exports:{}},ms={exports:{}},gs={exports:{}},ys={exports:{}},vs={},ws={exports:{}};!function(e,t){function r(e){for(var t=e.toLowerCase(),r="",s=!1,n=0;n<6&&void 0!==t[n];n++){var o=t.charCodeAt(n);if(s=32===o,!(o>=97&&o<=102||o>=48&&o<=57))break;r+=t[n]}if(0!==r.length){var i=parseInt(r,16);return i>=55296&&i<=57343||0===i||i>1114111?["�",r.length+(s?1:0)]:[String.fromCodePoint(i),r.length+(s?1:0)]}}t.__esModule=!0,t.default=function(e){if(!s.test(e))return e;for(var t="",n=0;n1?t-1:0),s=1;s0;){var n=r.shift();if(!e[n])return;e=e[n]}return e},e.exports=t.default}(bs,bs.exports);var Ss={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s0;){var n=r.shift();e[n]||(e[n]={}),e=e[n]}},e.exports=t.default}(Ss,Ss.exports);var ks={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){var t="",r=e.indexOf("/*"),s=0;for(;r>=0;){t+=e.slice(s,r);var n=e.indexOf("*/",r+2);if(n<0)return t;s=n+2,r=e.indexOf("/*",s)}return t+=e.slice(s)},e.exports=t.default}(ks,ks.exports),vs.__esModule=!0,vs.unesc=vs.stripComments=vs.getProp=vs.ensureObject=void 0;var xs=Ts(ws.exports);vs.unesc=xs.default;var Os=Ts(bs.exports);vs.getProp=Os.default;var Es=Ts(Ss.exports);vs.ensureObject=Es.default;var _s=Ts(ks.exports);function Ts(e){return e&&e.__esModule?e:{default:e}}vs.stripComments=_s.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=vs;function s(e,t){for(var r=0;re)&&(!(this.source.end.linet)&&!(this.source.end.line===e&&this.source.end.column=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r=e&&(this.indexes[r]=t-1);return this},p.removeAll=function(){for(var e,t=i(this.nodes);!(e=t()).done;){e.value.parent=void 0}return this.nodes=[],this},p.empty=function(){return this.removeAll()},p.insertAfter=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s+1,0,t),t.parent=this,this.indexes)s<=(r=this.indexes[n])&&(this.indexes[n]=r+1);return this},p.insertBefore=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s,0,t),t.parent=this,this.indexes)(r=this.indexes[n])<=s&&(this.indexes[n]=r+1);return this},p._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(s){if(s.atPosition){var n=s.atPosition(e,t);if(n)return r=n,!1}else if(s.isAtPosition(e,t))return r=s,!1})),r},p.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},p._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},p.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,s;this.indexes[t]126){if(c>=55296&&c<=56319&&a0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),y(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},i=n,(c=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){h()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=d(e),r=t.deprecatedUsage,s=t.unescaped,n=t.quoteMark;if(r&&p(),s===this._value&&n===this._quoteMark)return;this._value=s,this._quoteMark=n,this._syncRawValue()}else this._value=e}},{key:"insensitive",get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,!this.raws||"I"!==this.raws.insensitiveFlag&&"i"!==this.raws.insensitiveFlag||(this.raws.insensitiveFlag=void 0)),this._insensitive=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&a(i.prototype,c),m&&a(i,m),Object.defineProperty(i,"prototype",{writable:!1}),n}(n.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var g=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},t);function y(e,t){return""+t.before+e+t.after}}(Ws);var Gs={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bs.exports)&&r.__esModule?r:{default:r},n=Ps;function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.UNIVERSAL,r.value="*",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(s.default);t.default=i,e.exports=t.default}(Gs,Gs.exports);var Qs={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=ys.exports)&&r.__esModule?r:{default:r},n=Ps;function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMBINATOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(s.default);t.default=i,e.exports=t.default}(Qs,Qs.exports);var Vs={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=ys.exports)&&r.__esModule?r:{default:r},n=Ps;function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.NESTING,r.value="&",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(s.default);t.default=i,e.exports=t.default}(Vs,Vs.exports);var Hs={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}(Hs,Hs.exports);var Js={},Ks={__esModule:!0};Ks.word=Ks.tilde=Ks.tab=Ks.str=Ks.space=Ks.slash=Ks.singleQuote=Ks.semicolon=Ks.plus=Ks.pipe=Ks.openSquare=Ks.openParenthesis=Ks.newline=Ks.greaterThan=Ks.feed=Ks.equals=Ks.doubleQuote=Ks.dollar=Ks.cr=Ks.comment=Ks.comma=Ks.combinator=Ks.colon=Ks.closeSquare=Ks.closeParenthesis=Ks.caret=Ks.bang=Ks.backslash=Ks.at=Ks.asterisk=Ks.ampersand=void 0;Ks.ampersand=38;Ks.asterisk=42;Ks.at=64;Ks.comma=44;Ks.colon=58;Ks.semicolon=59;Ks.openParenthesis=40;Ks.closeParenthesis=41;Ks.openSquare=91;Ks.closeSquare=93;Ks.dollar=36;Ks.tilde=126;Ks.caret=94;Ks.plus=43;Ks.equals=61;Ks.pipe=124;Ks.greaterThan=62;Ks.space=32;Ks.singleQuote=39;Ks.doubleQuote=34;Ks.slash=47;Ks.bang=33;Ks.backslash=92;Ks.cr=13;Ks.feed=12;Ks.newline=10;Ks.tab=9;Ks.str=39;Ks.comment=-1;Ks.word=-2;Ks.combinator=-3,function(e){e.__esModule=!0,e.FIELDS=void 0,e.default=function(e){var t,r,n,o,i,a,l,u,p,h,f,d,m,g=[],y=e.css.valueOf(),v=y.length,w=-1,b=1,S=0,k=0;function x(t,r){if(!e.safe)throw e.error("Unclosed "+t,b,S-w,S);p=(y+=r).length-1}for(;S0?(h=b+l,f=p-u[l].length):(h=b,f=w),m=s.comment,b=h,o=h,n=p-f):t===s.slash?(m=t,o=b,n=S-w,k=(p=S)+1):(p=c(y,S),m=s.word,o=b,n=p-w),k=p+1}g.push([m,b,S-w,o,n,S,k]),f&&(w=f,f=null),S=k}return g};var t,r,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var s={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}s.default=e,r&&r.set(e,s);return s}(Ks);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}for(var o=((t={})[s.tab]=!0,t[s.newline]=!0,t[s.cr]=!0,t[s.feed]=!0,t),i=((r={})[s.space]=!0,r[s.tab]=!0,r[s.newline]=!0,r[s.cr]=!0,r[s.feed]=!0,r[s.ampersand]=!0,r[s.asterisk]=!0,r[s.bang]=!0,r[s.comma]=!0,r[s.colon]=!0,r[s.semicolon]=!0,r[s.openParenthesis]=!0,r[s.closeParenthesis]=!0,r[s.openSquare]=!0,r[s.closeSquare]=!0,r[s.singleQuote]=!0,r[s.doubleQuote]=!0,r[s.plus]=!0,r[s.pipe]=!0,r[s.tilde]=!0,r[s.greaterThan]=!0,r[s.equals]=!0,r[s.dollar]=!0,r[s.caret]=!0,r[s.slash]=!0,r),a={},l="0123456789abcdefABCDEF",u=0;uthis.position&&(n=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===v.combinator?(r=new d.default({value:this.content(),source:A(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):E[this.currToken[y.FIELDS.TYPE]]||n||this.unexpected(),r){if(n){var o=this.convertWhitespaceNodesToSpace(n),i=o.space,a=o.rawSpace;r.spaces.before=i,r.rawSpaceBefore=a}}else{var l=this.convertWhitespaceNodesToSpace(n,!0),u=l.space,c=l.rawSpace;c||(c=u);var p={},h={spaces:{}};u.endsWith(" ")&&c.endsWith(" ")?(p.before=u.slice(0,u.length-1),h.spaces.before=c.slice(0,c.length-1)):u.startsWith(" ")&&c.startsWith(" ")?(p.after=u.slice(1),h.spaces.after=c.slice(1)):h.value=c,r=new d.default({value:" ",source:C(s,this.tokens[this.position-1]),sourceIndex:s[y.FIELDS.START_POS],spaces:p,raws:h})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===v.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var f=this.parseWhitespaceEquivalentTokens(t);if(f.length>0){var m=this.current.last;if(m){var g=this.convertWhitespaceNodesToSpace(f),w=g.space,b=g.rawSpace;void 0!==b&&(m.rawSpaceAfter+=b),m.spaces.after+=w}else f.forEach((function(t){return e.newNode(t)}))}},S.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new o.default({source:{start:T(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},S.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:A(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},S.error=function(e,t){throw this.root.error(e,t)},S.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},S.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},S.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},S.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},S.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[y.FIELDS.START_POS])},S.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===v.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===v.asterisk?(this.position++,this.universal(e)):void this.unexpectedPipe()},S.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new m.default({value:this.content(),source:A(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},S.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===w.PSEUDO){var r=new o.default({source:{start:T(this.tokens[this.position-1])}}),s=this.current;for(e.append(r),this.current=r;this.position1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===v.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},S.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===v.comma||this.prevToken[y.FIELDS.TYPE]===v.openParenthesis||this.current.nodes.every((function(e){return"comment"===e.type}))?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[y.FIELDS.TYPE]===v.comma||this.nextToken[y.FIELDS.TYPE]===v.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},S.string=function(){var e=this.currToken;this.newNode(new c.default({value:this.content(),source:A(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},S.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new f.default({value:this.content(),source:A(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},S.splitWord=function(e,t){for(var r=this,s=this.nextToken,n=this.content();s&&~[v.dollar,v.caret,v.equals,v.word].indexOf(s[y.FIELDS.TYPE]);){this.position++;var o=this.content();if(n+=o,o.lastIndexOf("\\")===o.length-1){var a=this.nextToken;a&&a[y.FIELDS.TYPE]===v.space&&(n+=this.requiredSpace(this.content(a)),this.position++)}s=this.nextToken}var c=M(n,".").filter((function(e){var t="\\"===n[e-1],r=/^\d+\.\d+%$/.test(n);return!t&&!r})),p=M(n,"#").filter((function(e){return"\\"!==n[e-1]})),h=M(n,"#{");h.length&&(p=p.filter((function(e){return!~h.indexOf(e)})));var f=(0,g.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(c,p)));f.forEach((function(s,o){var a,h=f[o+1]||n.length,d=n.slice(s,h);if(0===o&&t)return t.call(r,d,f.length);var m=r.currToken,g=m[y.FIELDS.START_POS]+f[o],v=I(m[1],m[2]+s,m[3],m[2]+(h-1));if(~c.indexOf(s)){var w={value:d.slice(1),source:v,sourceIndex:g};a=new i.default(L(w,"value"))}else if(~p.indexOf(s)){var b={value:d.slice(1),source:v,sourceIndex:g};a=new l.default(L(b,"value"))}else{var S={value:d,source:v,sourceIndex:g};L(S,"value"),a=new u.default(S)}r.newNode(a,e),e=null})),this.position++},S.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},S.loop=function(){for(;this.position0){const n=Dn(e.nodes);t+=n.a,r+=n.b,s+=n.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return e.nodes&&1===e.nodes.length&&"selector"===e.nodes[0].type&&function(e){if(!e)return!1;if(!e.nodes)return!1;const t=e.nodes.filter((e=>"comment"!==e.type));return 0===t.length||1===t.length&&"universal"===t[0].type}(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:s+=1}else if(Mn.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:r+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){const n=Dn(e.nodes);t+=n.a,r+=n.b,s+=n.c}break;case":where":break;case":nth-child":case":nth-last-child":if(r+=1,e.nodes&&e.nodes.length>0){const n=e.nodes[0].nodes.findIndex((e=>"tag"===e.type&&"of"===e.value.toLowerCase()));if(n>-1){const o=[Mn.selector({nodes:e.nodes[0].nodes.slice(n+1),value:""})];e.nodes.length>1&&o.push(...e.nodes.slice(1));const i=Dn(o);t+=i.a,r+=i.b,s+=i.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach((e=>{const n=jn(e);t+=n.a,r+=n.b,s+=n.c}));break;case":host":case":host-context":if(r+=1,e.nodes&&e.nodes.length>0){const n=Dn(e.nodes);t+=n.a,r+=n.b,s+=n.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Mn.isContainer(e)&&e.nodes.length>0&&e.nodes.forEach((e=>{const n=jn(e);t+=n.a,r+=n.b,s+=n.c}));return{a:t,b:r,c:s}}function Dn(e){let t={a:0,b:0,c:0};return e.forEach((e=>{const r=jn(e);r.a>t.a?t=r:r.at.b?t=r:r.bt.c&&(t=r))})),t}function Rn(e){return{sourceIndex:e.sourceIndex??0,source:e.source}}function Fn(e){const t=[];let r=[];e.each((e=>{if("combinator"===e.type)return t.push(r,[e]),void(r=[]);if(Mn.isPseudoElement(e))return t.push(r),void(r=[e]);if("universal"===e.type&&r.find((e=>"universal"===e.type)))e.remove();else{if("tag"===e.type&&r.find((e=>"tag"===e.type))){e.remove();const t=Mn.selector({value:"",...Rn(e)});t.append(e);const s=Mn.pseudo({value:":is",...Rn(e)});return s.append(t),void r.push(s)}r.push(e)}})),t.push(r);const s=[];for(let n=0;nNn(e)-Nn(t))),s.push(...e)}e.removeAll();for(let n=s.length-1;n>=0;n--)s[n].remove(),e.prepend(s[n])}function Nn(e){return Mn.isPseudoElement(e)?Un.pseudoElement:Un[e.type]}const Un={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8};function Bn(e,t){const r=[];for(let n=0;n(e=!0,!1))),e?"combinator"===s.nodes[0]?.type&&s.prepend(Mn.nesting({...Rn(s)})):(s.prepend(Mn.combinator({value:" ",...Rn(s)})),s.prepend(Mn.nesting({...Rn(s)})))}{const e=new Set;s.walkNesting((r=>{const s=r.parent;e.add(s),"pseudo"===s.parent?.type&&":has"===s.parent.value?.toLowerCase()?r.replaceWith(...zn(t,!0)):r.replaceWith(...zn(t))}));for(const t of e)Fn(t)}s.walk((e=>{"combinator"===e.type&&""!==e.value.trim()?(e.rawSpaceAfter=" ",e.rawSpaceBefore=" "):(e.rawSpaceAfter="",e.rawSpaceBefore="")})),r.push(s)}const s=Mn.root({value:"",...Rn(e)});return r.forEach((e=>{s.append(e)})),s}function zn(e,t=!1){if(t||!function(e){return 1===e.length&&!e[0].nodes.some((e=>"combinator"===e.type||Mn.isPseudoElement(e)))}(e.nodes)){const t=Mn.pseudo({value:":is",...Rn(e)});return e.nodes.forEach((e=>{t.append(e.clone())})),[t]}return e.nodes[0].nodes.map((e=>e.clone()))}const qn=Mn.pseudo({value:":is"});function Wn(e){if(!e||!e.nodes)return;const t=[];let r=[];for(let n=0;n"tag"===e.type))){const t=qn.clone({}),r=e.nodes[n];r.replaceWith(t),t.append(Mn.selector({nodes:[r],value:void 0}))}r.push(e.nodes[n])}else t.push(r),t.push([e.nodes[n]]),r=[];t.push(r);const s=[];for(let n=0;n"selector"===e.type&&"selector"===t.type&&e.nodes.length&&t.nodes.length?$n(e.nodes[0])-$n(t.nodes[0]):"selector"===e.type&&e.nodes.length?$n(e.nodes[0])-$n(t):"selector"===t.type&&t.nodes.length?$n(e)-$n(t.nodes[0]):$n(e)-$n(t)));for(let t=0;t=0;n--)s[n].remove(),e.prepend(s[n])}function $n(e){return Mn.isPseudoElement(e)?Yn.pseudoElement:Yn[e.type]}const Yn={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function Gn(e,t){let r,s=e.parent;for(;s;){if("rule"===s.type)return;s=s.parent}try{r=Mn().astSync(e.selector)}catch(Mn){return void e.warn(t,`Failed to parse selector : "${e.selector}" with message: "${Mn instanceof Error?Mn.message:Mn}"`)}r&&(r.walkNesting((e=>{const t=e.parent;e.replaceWith(Mn.pseudo({value:":scope"})),t&&Wn(t)})),e.selector=r.toString())}function Qn(e){if(!e.nodes.length)return void e.remove();const t=e.nodes.filter((e=>"comment"===e.type));t.length===e.nodes.length&&e.replaceWith(...t)}function Vn(e){const t=[],r=[];e.each((e=>{if(Hn(e,r.length>0))t.push(e);else{if("comment"===e.type){let s=e.next();for(;s&&"comment"===s.type;)s=s.next();if(Hn(s,r.length>0))return void t.push(e)}r.push(e)}})),e.removeAll(),t.forEach((t=>{e.append(t)})),r.forEach((t=>{e.append(t)}))}function Hn(e,t){return!!e&&("decl"===e.type||"atrule"===e.type&&"mixin"===e.name.toLowerCase()&&!t)}function Jn(e){const t=[];let r="",s=!1,n=0,o=!1,i=!1;for(const a of e)i?i=!1:"\\"===a?i=!0:o?a===o&&(o=!1):'"'===a||"'"===a?o=a:"("===a?n+=1:")"===a?n>0&&(n-=1):0===n&&","===a&&(s=!0),s?(""!==r&&t.push(r.trim()),r="",s=!1):r+=a;return t.push(r.trim()),t}function Kn(e,t){const r=t.index(e);if(r){const e=t.cloneBefore().removeAll().append(t.nodes.slice(0,r));e.raws.semicolon=!0,Qn(e)}t.before(e),t.raws.semicolon=!0}var Zn=["container","document","media","supports","layer","starting-style"];function Xn(e,t){if(t<2)throw new Error("n must be greater than 1");if(e.length<2)throw new Error("s must be greater than 1");if(Math.pow(e.length,t)>1e4)throw new Error("Too many combinations when trying to resolve a nested selector with lists, reduce the complexity of your selectors");const r=[];for(let n=0;n=0;o--){let t=r[o];if(t>=e.length){if(t=0,r[o]=0,0===o)return s;r[o-1]+=1}n[o]=e[t]}s.push(n),r[r.length-1]++}}function eo(e,t,r){let s=[];s=function(e){const t=e.map((e=>Mn().astSync(e))).map((e=>jn(e))),r=t[0];for(let s=1;sMn().astSync(e))):[Mn().astSync(`:is(${e.join(",")})`)];const n=[];for(let o=0;o{"nesting"===e.type&&(t=!0)}));const r=e.nodes[0];let s=!1;r.each((e=>"combinator"===e.type&&(s=!0,!1))),t?s&&r.insertBefore(r.at(0),Mn.nesting({})):(r.insertBefore(r.at(0),Mn.combinator({value:" "})),r.insertBefore(r.at(0),Mn.nesting({}))),i=e.toString()}let a=[],l=0;if(Mn().astSync(i).walkNesting((()=>{l++})),l>1&&s.length>1)a=Xn(s,l),e=a.length;else{e=s.length;for(let e=0;e{if("nesting"!==s.type)return;let n=a[t][e];e++,"root"===n.type&&1===n.nodes.length&&(n=n.nodes[0]);const o=Mn().astSync(`:is(${n.toString()})`),i=to(n.nodes[0]),l=ro(n.nodes[0]),u=to(s),c=ro(s);if(i&&u)return void s.replaceWith(n.clone());if((i||l)&&(u||c)){const e=s.parent;return i&&"selector"===n.type?s.replaceWith(n.clone().nodes[0]):s.replaceWith(...n.clone().nodes),void(e&&e.nodes.length>1&&Wn(e))}if(i){const e=s.parent;return s.replaceWith(n.clone().nodes[0]),void(e&&Wn(e))}if(l){const e=s.parent;return s.replaceWith(...n.clone().nodes),void(e&&Wn(e))}if(so(s)){const e=s.parent;return s.replaceWith(...n.clone().nodes),void(e&&Wn(e))}if(no(s)){const e=s.parent;return s.replaceWith(...n.clone().nodes),void(e&&Wn(e))}const p=s.parent;r.noIsPseudoSelector?s.replaceWith(...n.clone().nodes):s.replaceWith(...o.clone({}).nodes),p&&Wn(p)})),n.push(s.toString())}}return n}function to(e){return"combinator"!==e.type&&!(e.parent&&e.parent.nodes.length>1)}function ro(e,t=null){return!to(e)&&(!!e.parent&&(!e.parent.nodes.find((e=>"combinator"===e.type))&&!(e.parent.nodes.find((e=>"nesting"===e.type))&&t&&!ro(t))))}function so(e){if(!e.parent)return!1;if(0!==e.parent.nodes.indexOf(e))return!1;for(let t=1;t"!==e.parent.nodes[t].value)return!1;return!0}function no(e){if(to(e))return!0;if(!e.parent)return!1;for(let t=0;t{const n=s.parent;io(s)&&!r.silenceAtNestWarning&&e.warn(t,`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version.\nChange \`@nest ${s.params} {}\` to \`${s.params} {}\` to migrate to the latest standard.`),ao(s)&&ao(n)&&function(e){return e.selectors.every((e=>-1===e.indexOf("|")))}(s)?function(e,t,r,s){let n=[];try{n=eo(t.selectors,e.selectors,s)}catch(s){return void e.warn(r,`Failed to parse selectors : "${t.selector}" / "${e.selector}" with message: "${s instanceof Error?s.message:s}"`)}n.length&&(Vn(t),Kn(e,t),e.selectors=n,"rule"===e.type&&"rule"===t.type&&e.selector===t.selector&&e.append(...t.nodes),Qn(t))}(s,n,t,r):io(s)&&ao(n)&&function(e){return Jn(e.params).every((e=>e.split("&").length>=2&&-1===e.indexOf("|")))}(s)?function(e,t,r,s,n){let o=[];try{o=eo(t.selectors,Jn(e.params),n)}catch(s){return void e.warn(r,`Failed to parse selectors : "${t.selector}" / "${e.params}" with message: "${s instanceof Error?s.message:s}"`)}if(!o.length)return;Kn(e,t);const i=t.clone().removeAll().append(e.nodes);i.raws.semicolon=!0,i.selectors=o,e.replaceWith(i),Qn(t),s(i,r,n)}(s,n,t,lo,r):oo(s)&&ao(n)&&function(e){return Zn.includes(e.name)}(s)?function(e,t,r,s,n){if(Vn(t),Kn(e,t),e.nodes){const o=t.clone().removeAll().append(e.nodes);e.append(o),Qn(t),s(o,r,n)}else Qn(t)}(s,n,t,lo,r):oo(s)&&oo(n)&&function(e,t){return Zn.includes(e.name)&&e.name===t.name}(s,n)&&function(e,t){var r,s;Vn(t),Kn(e,t),e.params=(r=t.params,s=e.params,Jn(r).map((e=>Jn(s).map((t=>`${e} and ${t}`)).join(", "))).join(", ")),Qn(t)}(s,n),"nodes"in s&&s.nodes.length&&lo(s,t,r)}))}const uo=e=>{const t=Object.assign({noIsPseudoSelector:!1,silenceAtNestWarning:!1},e);return{postcssPlugin:"postcss-nesting",Rule(e,{result:r}){lo(e,r,t),e.selector.includes("&")&&Gn(e,r)}}};function co(e,t){let r,s=e.parent;for(;s;){if("rule"===s.type)return;s=s.parent}try{r=Mn().astSync(e.selector)}catch(Mn){return void e.warn(t,`Failed to parse selector : "${e.selector}" with message: "${Mn instanceof Error?Mn.message:Mn}"`)}r&&(r.walkNesting((e=>{e.replaceWith(Mn.pseudo({value:":scope"}))})),e.selector=r.toString())}uo.postcss=!0;const po=Mn();function ho(e,t,r){const s=function(e,t,s,n){let o;try{o=Bn(po.astSync(t),po.astSync(s))}catch(r){return e.warn(n,`Failed to parse selectors : "${s}" / "${t}" with message: "${r instanceof Error?r.message:r}"`),!1}return!!o&&o.toString()}(e,e.selector,t.selector,r);s&&(Kn(e,t),e.selector=s,"rule"===e.type&&"rule"===t.type&&e.selector===t.selector&&e.append(...t.nodes),Qn(t))}function fo(e,t){e.each((e=>{const r=e.parent;ao(e)&&ao(r)&&function(e){return e.selectors.every((e=>-1===e.indexOf("|")))}(e)?ho(e,r,t):oo(e)&&ao(r)&&function(e){return Zn.includes(e.name)}(e)&&function(e,t,r,s){if(Kn(e,t),e.nodes){const n=t.clone().removeAll().append(e.nodes);e.append(n),Qn(t),s(n,r)}else Qn(t)}(e,r,t,fo),"nodes"in e&&e.nodes.length&&fo(e,t)}))}const mo=()=>({postcssPlugin:"postcss-nesting",Rule(e,{result:t}){fo(e,t),e.selector.includes("&")&&co(e,t)},AtRule:{nest(e){throw e.error(`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version.\nChange \`@nest ${e.params} {}\` to \`${e.params} {}\` to migrate to the latest standard.`)}}});mo.postcss=!0;const go=e=>{const t=Object.assign({edition:"2021"},e);switch(t.edition){case"2021":return uo(e);case"2024-02":return mo();default:throw new Error(`Invalid edition: ${t.edition}`)}};go.postcss=!0;var yo=o({functional:!0,props:["css"],render(){return i("style",{type:"text/css"},this.css)}});const vo={[P.HR]:(e,t,r)=>i(j,{key:t,class:"margin",marginTop:"var(--space-10)",marginBottom:"var(--space-10)",color:"var(--grey-ultra-light) !important",height:"4px !important"}),[P.HEADING_1]:(e,t,r)=>i("h1",{key:t,class:"typography-weight-bold typography-style-as-typed typography-size-display4 typography-bold-as-typed-display4",id:D(e.content[0].value)},r(e.content,t,r)),[P.HEADING_2]:(e,t,r)=>i("h2",{key:t,class:"typography-weight-bold typography-style-as-typed typography-size-display4 typography-bold-as-typed-display4",id:D(e.content[0].value)},r(e.content,t,r)),[P.HEADING_3]:(e,t,r)=>i("h3",{key:t,class:"typography-weight-bold typography-style-as-typed typography-size-display5 typography-bold-as-typed-display5",id:D(e.content[0].value)},r(e.content,t,r)),[P.HEADING_4]:(e,t,r)=>i("h4",{key:t,class:"typography-weight-bold typography-style-as-typed typography-size-display6 typography-bold-as-typed-display6",id:D(e.content[0].value)},r(e.content,t,r)),[P.HEADING_5]:(e,t,r)=>i("h5",{key:t,class:"typography-weight-bold typography-style-as-typed typography-size-display7 typography-bold-as-typed-display7",id:D(e.content[0].value)},r(e.content,t,r)),[P.HEADING_6]:(e,t,r)=>i("h6",{key:t,class:"typography-weight-bold typography-style-as-typed typography-size-display8 typography-bold-as-typed-display8",id:D(e.content[0].value)},r(e.content,t,r)),[P.PARAGRAPH]:(e,t,r)=>i("p",{key:t,class:"typography-weight-regular typography-style-as-typed typography-size-display7 typography-regular-as-typed-display7"},r(e.content,t,r)),[I.HYPERLINK]:(e,t,r)=>i("a",{key:t,style:"color: var(--ctf-link-color);",href:e.data.uri,target:S.isStorefrontUrl(e.data.uri)?"_self":"_blank"},r(e.content,t,r)),[P.EMBEDDED_ENTRY]:function(e,t,r){const s=e?.data?.target;if(!s)return i("div",{class:"error"},"This entry cannot be found. Please make sure it is published");const n=k(s.sys?.contentType?.sys?.id);return n?i(n,{key:t,...s}):i("div",{},`unknown type: ${s.sys?.contentType?.sys?.id}`)},[I.EMBEDDED_ENTRY]:function(e,t,r){const s=e?.data?.target,n=k(s.sys?.contentType?.sys?.id);return n?i(n,{key:t,style:"display: inline-block;",...s}):i("div",{},`unknown type: ${s.sys?.contentType?.sys?.id}`)},[P.EMBEDDED_ASSET]:function(e,t,r){return i(M,{key:t,...e.data.target})}};const wo=["id"],bo={key:0,class:"asset"},So={key:0,class:"asset"};e("default",{__name:"ContentfulFrame",props:{...x,__typename:{type:String}},emits:["updated"],setup(e,{emit:t}){const r=e,s=t,n=a(!1),{data:o,init:i}=O("frame",r,{emit:s},{resolveDepth:2}),S=E().isPreview,k=l((()=>`f-${r.sys?.id}`)),x=l((()=>{if(!o.value?.css)return"";const e=`div#${k.value} { ${o.value?.css} }`.trim();try{return ps([go()]).process(e).css}catch(Mn){return S?console.error(Mn,{extra:{id:r.sys?.id,slug:o.value?.slug,css:o.value?.css,wrappedCss:e,isPreview:S}}):_.sentryCaptureError(Mn,{extra:{id:r.sys?.id,slug:o.value?.slug,css:o.value?.css,wrappedCss:e,isPreview:S}}),""}}));async function P(){await i();try{await Promise.all((o.value?.content?.content??[]).filter((e=>e?.data?.target)).map((e=>T(e.data?.target,2,S))))}catch(Mn){_.sentryCaptureError(Mn,{extra:{id:r.sys?.id,slug:o.value?.slug}})}n.value=!0}return u(P),c(P),(e,t)=>(p(),h(b,null,[x.value?(p(),f(d(yo),{key:0,css:x.value},null,8,["css"])):m("",!0),d(o)?.url?(p(),f(d(L),{key:1,component:"a","field-id":"content","entry-id":e.sys?.id,href:d(o).url,"aria-label":d(o).titleAriaLabel||" ",target:d(o).openLinkInNewTab?"_blank":"_self"},{default:g((()=>[y("div",{id:k.value,class:"frame contentfulframe-scoped to-edge to-edge-mobile"},[d(o)?.backgroundAsset?(p(),h("div",bo,[d(o)?.backgroundAsset?(p(),f(C,v(w({key:0},d(o).backgroundAsset)),null,16)):m("",!0)])):m("",!0),n.value&&d(o)?.content?(p(),f(d(A),{key:1,document:d(o).content,"node-renderers":d(vo)},null,8,["document","node-renderers"])):m("",!0)],8,wo)])),_:1},8,["entry-id","href","aria-label","target"])):m("",!0),d(o)?.url?m("",!0):(p(),f(d(L),{key:2,id:k.value,component:"div","field-id":"content","entry-id":e.sys?.id,class:"frame contentfulframe-scoped to-edge to-edge-mobile"},{default:g((()=>[d(o)?.backgroundAsset?(p(),h("div",So,[d(o)?.backgroundAsset?(p(),f(C,v(w({key:0},d(o).backgroundAsset)),null,16)):m("",!0)])):m("",!0),n.value&&d(o)?.content?(p(),f(d(A),{key:1,document:d(o).content,"node-renderers":d(vo)},null,8,["document","node-renderers"])):m("",!0)])),_:1},8,["id","entry-id"]))],64))}})}}}))}(); //# sourceMappingURL=ContentfulFrame-legacy.5a996764.js.map