@webflow/webflow-cli 1.12.1 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -0
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var Ug=Object.create;var Ri=Object.defineProperty;var Vg=Object.getOwnPropertyDescriptor;var Gg=Object.getOwnPropertyNames;var qg=Object.getPrototypeOf,Hg=Object.prototype.hasOwnProperty;var S=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ni=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Nl=(e,t)=>{for(var n in t)Ri(e,n,{get:t[n],enumerable:!0})},Jg=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gg(t))!Hg.call(e,o)&&o!==n&&Ri(e,o,{get:()=>t[o],enumerable:!(r=Vg(t,o))||r.enumerable});return e};var D=(e,t,n)=>(n=e!=null?Ug(qg(e)):{},Jg(t||!e||!e.__esModule?Ri(n,"default",{value:e,enumerable:!0}):n,e));function Kg(){let e=new Map;for(let[t,n]of Object.entries(K)){for(let[r,o]of Object.entries(n))K[r]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},n[r]=K[r],e.set(o[0],o[1]);Object.defineProperty(K,t,{value:n,enumerable:!1})}return Object.defineProperty(K,"codes",{value:e,enumerable:!1}),K.color.close="\x1B[39m",K.bgColor.close="\x1B[49m",K.color.ansi=Ml(),K.color.ansi256=$l(),K.color.ansi16m=Wl(),K.bgColor.ansi=Ml(10),K.bgColor.ansi256=$l(10),K.bgColor.ansi16m=Wl(10),Object.defineProperties(K,{rgbToAnsi256:{value(t,n,r){return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(t){let n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!n)return[0,0,0];let[r]=n;r.length===3&&(r=[...r].map(i=>i+i).join(""));let o=Number.parseInt(r,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:t=>K.rgbToAnsi256(...K.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let n,r,o;if(t>=232)n=((t-232)*10+8)/255,r=n,o=n;else{t-=16;let a=t%36;n=Math.floor(t/36)/5,r=Math.floor(a/6)/5,o=a%6/5}let i=Math.max(n,r,o)*2;if(i===0)return 30;let s=30+(Math.round(o)<<2|Math.round(r)<<1|Math.round(n));return i===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(t,n,r)=>K.ansi256ToAnsi(K.rgbToAnsi256(t,n,r)),enumerable:!1},hexToAnsi:{value:t=>K.ansi256ToAnsi(K.hexToAnsi256(t)),enumerable:!1}}),K}var Ml,$l,Wl,K,
|
|
2
|
+
"use strict";var Ug=Object.create;var Ri=Object.defineProperty;var Vg=Object.getOwnPropertyDescriptor;var Gg=Object.getOwnPropertyNames;var qg=Object.getPrototypeOf,Hg=Object.prototype.hasOwnProperty;var S=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ni=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Nl=(e,t)=>{for(var n in t)Ri(e,n,{get:t[n],enumerable:!0})},Jg=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gg(t))!Hg.call(e,o)&&o!==n&&Ri(e,o,{get:()=>t[o],enumerable:!(r=Vg(t,o))||r.enumerable});return e};var D=(e,t,n)=>(n=e!=null?Ug(qg(e)):{},Jg(t||!e||!e.__esModule?Ri(n,"default",{value:e,enumerable:!0}):n,e));function Kg(){let e=new Map;for(let[t,n]of Object.entries(K)){for(let[r,o]of Object.entries(n))K[r]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},n[r]=K[r],e.set(o[0],o[1]);Object.defineProperty(K,t,{value:n,enumerable:!1})}return Object.defineProperty(K,"codes",{value:e,enumerable:!1}),K.color.close="\x1B[39m",K.bgColor.close="\x1B[49m",K.color.ansi=Ml(),K.color.ansi256=$l(),K.color.ansi16m=Wl(),K.bgColor.ansi=Ml(10),K.bgColor.ansi256=$l(10),K.bgColor.ansi16m=Wl(10),Object.defineProperties(K,{rgbToAnsi256:{value(t,n,r){return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(t){let n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!n)return[0,0,0];let[r]=n;r.length===3&&(r=[...r].map(i=>i+i).join(""));let o=Number.parseInt(r,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:t=>K.rgbToAnsi256(...K.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let n,r,o;if(t>=232)n=((t-232)*10+8)/255,r=n,o=n;else{t-=16;let a=t%36;n=Math.floor(t/36)/5,r=Math.floor(a/6)/5,o=a%6/5}let i=Math.max(n,r,o)*2;if(i===0)return 30;let s=30+(Math.round(o)<<2|Math.round(r)<<1|Math.round(n));return i===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(t,n,r)=>K.ansi256ToAnsi(K.rgbToAnsi256(t,n,r)),enumerable:!1},hexToAnsi:{value:t=>K.ansi256ToAnsi(K.hexToAnsi256(t)),enumerable:!1}}),K}var Ml,$l,Wl,K,KC,Zg,Yg,XC,Xg,Ie,zl=S(()=>{"use strict";Ml=(e=0)=>t=>`\x1B[${t+e}m`,$l=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Wl=(e=0)=>(t,n,r)=>`\x1B[${38+e};2;${t};${n};${r}m`,K={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},KC=Object.keys(K.modifier),Zg=Object.keys(K.color),Yg=Object.keys(K.bgColor),XC=[...Zg,...Yg];Xg=Kg(),Ie=Xg});function ve(e,t=globalThis.Deno?globalThis.Deno.args:oo.default.argv){let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return r!==-1&&(o===-1||r<o)}function Qg(){if("FORCE_COLOR"in ee)return ee.FORCE_COLOR==="true"?1:ee.FORCE_COLOR==="false"?0:ee.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(ee.FORCE_COLOR,10),3)}function ey(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function ty(e,{streamIsTTY:t,sniffFlags:n=!0}={}){let r=Qg();r!==void 0&&(ro=r);let o=n?ro:r;if(o===0)return 0;if(n){if(ve("color=16m")||ve("color=full")||ve("color=truecolor"))return 3;if(ve("color=256"))return 2}if("TF_BUILD"in ee&&"AGENT_NAME"in ee)return 1;if(e&&!t&&o===void 0)return 0;let i=o||0;if(ee.TERM==="dumb")return i;if(oo.default.platform==="win32"){let s=Vl.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in ee)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(s=>s in ee)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in ee)||ee.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in ee)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ee.TEAMCITY_VERSION)?1:0;if(ee.COLORTERM==="truecolor"||ee.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in ee){let s=Number.parseInt((ee.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ee.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ee.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ee.TERM)||"COLORTERM"in ee?1:i}function Ul(e,t={}){let n=ty(e,{streamIsTTY:e&&e.isTTY,...t});return ey(n)}var oo,Vl,Mi,ee,ro,ny,Gl,ql=S(()=>{"use strict";oo=D(require("process"),1),Vl=D(require("os"),1),Mi=D(require("tty"),1);({env:ee}=oo.default);ve("no-color")||ve("no-colors")||ve("color=false")||ve("color=never")?ro=0:(ve("color")||ve("colors")||ve("color=true")||ve("color=always"))&&(ro=1);ny={stdout:Ul({isTTY:Mi.default.isatty(1)}),stderr:Ul({isTTY:Mi.default.isatty(2)})},Gl=ny});function Hl(e,t,n){let r=e.indexOf(t);if(r===-1)return e;let o=t.length,i=0,s="";do s+=e.slice(i,r)+t+n,i=r+o,r=e.indexOf(t,i);while(r!==-1);return s+=e.slice(i),s}function Jl(e,t,n,r){let o=0,i="";do{let s=e[r-1]==="\r";i+=e.slice(o,s?r-1:r)+t+(s?`\r
|
|
3
3
|
`:`
|
|
4
4
|
`)+n,o=r+1,r=e.indexOf(`
|
|
5
|
-
`,o)}while(r!==-1);return i+=e.slice(o),i}var Zl=S(()=>{"use strict"});function ir(e){return oy(e)}var Yl,Kl,$i,mn,or,Xl,hn,ry,oy,Wi,iy,sy,zi,io,ay,ly,
|
|
6
|
-
`);return i!==-1&&(t=Jl(t,o,r,i)),r+t+o};Object.defineProperties(ir.prototype,hn);ly=ir(),
|
|
7
|
-
${t}`,fy=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),my=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),hy=(e,t,n)=>{let r=n===""?"":`with ${n.trim()}() `,o=py.bind(null,r,t.toString());Object.defineProperty(o,"name",my);let{writable:i,enumerable:s,configurable:a}=fy;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:s,configurable:a})}});var so,eu,tu,nu=S(()=>{"use strict";Ql();so=new WeakMap,eu=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,r=0,o=e.displayName||e.name||"<anonymous>",i=function(...s){if(so.set(i,++r),r===1)n=e.apply(this,s),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${o}\` can only be called once`);return n};return Ui(i,e),so.set(i,r),i};eu.callCount=e=>{if(!so.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return so.get(e)};tu=eu});var jt,ru=S(()=>{"use strict";jt=[];jt.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&jt.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&jt.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT")});var ao,Vi,Gi,gy,qi,lo,yy,Hi,Ji,Zi,ou,dE,pE,iu=S(()=>{"use strict";ru();ao=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",Vi=Symbol.for("signal-exit emitter"),Gi=globalThis,gy=Object.defineProperty.bind(Object),qi=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Gi[Vi])return Gi[Vi];gy(Gi,Vi,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,n){this.listeners[t].push(n)}removeListener(t,n){let r=this.listeners[t],o=r.indexOf(n);o!==-1&&(o===0&&r.length===1?r.length=0:r.splice(o,1))}emit(t,n,r){if(this.emitted[t])return!1;this.emitted[t]=!0;let o=!1;for(let i of this.listeners[t])o=i(n,r)===!0||o;return t==="exit"&&(o=this.emit("afterExit",n,r)||o),o}},lo=class{},yy=e=>({onExit(t,n){return e.onExit(t,n)},load(){return e.load()},unload(){return e.unload()}}),Hi=class extends lo{onExit(){return()=>{}}load(){}unload(){}},Ji=class extends lo{#s=Zi.platform==="win32"?"SIGINT":"SIGHUP";#n=new qi;#e;#o;#p;#t={};#i=!1;constructor(t){super(),this.#e=t,this.#t={};for(let n of jt)this.#t[n]=()=>{let r=this.#e.listeners(n),{count:o}=this.#n,i=t;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(o+=i.__signal_exit_emitter__.count),r.length===o){this.unload();let s=this.#n.emit("exit",null,n),a=n==="SIGHUP"?this.#s:n;s||t.kill(t.pid,a)}};this.#p=t.reallyExit,this.#o=t.emit}onExit(t,n){if(!ao(this.#e))return()=>{};this.#i===!1&&this.load();let r=n?.alwaysLast?"afterExit":"exit";return this.#n.on(r,t),()=>{this.#n.removeListener(r,t),this.#n.listeners.exit.length===0&&this.#n.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#i){this.#i=!0,this.#n.count+=1;for(let t of jt)try{let n=this.#t[t];n&&this.#e.on(t,n)}catch{}this.#e.emit=(t,...n)=>this.#f(t,...n),this.#e.reallyExit=t=>this.#r(t)}}unload(){this.#i&&(this.#i=!1,jt.forEach(t=>{let n=this.#t[t];if(!n)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,n)}catch{}}),this.#e.emit=this.#o,this.#e.reallyExit=this.#p,this.#n.count-=1)}#r(t){return ao(this.#e)?(this.#e.exitCode=t||0,this.#n.emit("exit",this.#e.exitCode,null),this.#p.call(this.#e,this.#e.exitCode)):0}#f(t,...n){let r=this.#o;if(t==="exit"&&ao(this.#e)){typeof n[0]=="number"&&(this.#e.exitCode=n[0]);let o=r.call(this.#e,t,...n);return this.#n.emit("exit",this.#e.exitCode,null),o}else return r.call(this.#e,t,...n)}},Zi=globalThis.process,{onExit:ou,load:dE,unload:pE}=yy(ao(Zi)?new Ji(Zi):new Hi)});var ar,su,by,au,lu=S(()=>{"use strict";ar=D(require("process"),1);nu();iu();su=ar.default.stderr.isTTY?ar.default.stderr:ar.default.stdout.isTTY?ar.default.stdout:void 0,by=su?tu(()=>{ou(()=>{su.write("\x1B[?25h")},{alwaysLast:!0})}):()=>{},au=by});var Yi,uo,gn,Ki,uu=S(()=>{"use strict";Yi=D(require("process"),1);lu();uo=!1,gn={};gn.show=(e=Yi.default.stderr)=>{e.isTTY&&(uo=!1,e.write("\x1B[?25h"))};gn.hide=(e=Yi.default.stderr)=>{e.isTTY&&(au(),uo=!0,e.write("\x1B[?25l"))};gn.toggle=(e,t)=>{e!==void 0&&(uo=e),uo?gn.show(t):gn.hide(t)};Ki=gn});var cu=Ni((DE,Dy)=>{Dy.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var Xi=Ni((wE,pu)=>{"use strict";var co=Object.assign({},cu()),du=Object.keys(co);Object.defineProperty(co,"random",{get(){let e=Math.floor(Math.random()*du.length),t=du[e];return co[t]}});pu.exports=co});function Qi(){return ke.default.platform!=="win32"?ke.default.env.TERM!=="linux":!!ke.default.env.CI||!!ke.default.env.WT_SESSION||!!ke.default.env.TERMINUS_SUBLIME||ke.default.env.ConEmuTask==="{cmd::Cmder}"||ke.default.env.TERM_PROGRAM==="Terminus-Sublime"||ke.default.env.TERM_PROGRAM==="vscode"||ke.default.env.TERM==="xterm-256color"||ke.default.env.TERM==="alacritty"||ke.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var ke,fu=S(()=>{"use strict";ke=D(require("process"),1)});var wy,vy,ky,lr,mu=S(()=>{"use strict";sr();fu();wy={info:Q.blue("\u2139"),success:Q.green("\u2714"),warning:Q.yellow("\u26A0"),error:Q.red("\u2716")},vy={info:Q.blue("i"),success:Q.green("\u221A"),warning:Q.yellow("\u203C"),error:Q.red("\xD7")},ky=Qi()?wy:vy,lr=ky});function es({onlyFirst:e=!1}={}){let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(n,e?void 0:"g")}var hu=S(()=>{"use strict"});function ur(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(xy,"")}var xy,ts=S(()=>{"use strict";hu();xy=es()});function gu(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function yu(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function bu(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Du=S(()=>{"use strict"});function Fy(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function wu(e,{ambiguousAsWide:t=!1}={}){return Fy(e),yu(e)||bu(e)||t&&gu(e)?2:1}var vu=S(()=>{"use strict";Du()});var ku,xu=S(()=>{"use strict";ku=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});function ns(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:n=!0,countAnsiEscapeCodes:r=!1}=t;if(r||(e=ur(e)),e.length===0)return 0;let o=0,i={ambiguousAsWide:!n};for(let{segment:s}of Cy.segment(e)){let a=s.codePointAt(0);if(!(a<=31||a>=127&&a<=159)&&!(a>=8203&&a<=8207||a===65279)&&!(a>=768&&a<=879||a>=6832&&a<=6911||a>=7616&&a<=7679||a>=8400&&a<=8447||a>=65056&&a<=65071)&&!(a>=55296&&a<=57343)&&!(a>=65024&&a<=65039)&&!Ey.test(s)){if(ku().test(s)){o+=2;continue}o+=wu(a,i)}}return o}var Cy,Ey,Fu=S(()=>{"use strict";ts();vu();xu();Cy=new Intl.Segmenter,Ey=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u")});function rs({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var Cu=S(()=>{"use strict"});function is(){let{env:e}=os.default,{TERM:t,TERM_PROGRAM:n}=e;return os.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||n==="Terminus-Sublime"||n==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var os,Eu=S(()=>{"use strict";os=D(require("process"),1)});var je,_y,ss,Sy,as,_u=S(()=>{"use strict";je=D(require("process"),1),_y=3,ss=class{#s=0;start(){this.#s++,this.#s===1&&this.#n()}stop(){if(this.#s<=0)throw new Error("`stop` called more times than `start`");this.#s--,this.#s===0&&this.#e()}#n(){je.default.platform==="win32"||!je.default.stdin.isTTY||(je.default.stdin.setRawMode(!0),je.default.stdin.on("data",this.#o),je.default.stdin.resume())}#e(){je.default.stdin.isTTY&&(je.default.stdin.off("data",this.#o),je.default.stdin.pause(),je.default.stdin.setRawMode(!1))}#o(t){t[0]===_y&&je.default.emit("SIGINT")}},Sy=new ss,as=Sy});function yn(e){return new ls(e)}var cr,dr,Ty,ls,us=S(()=>{"use strict";cr=D(require("process"),1);sr();uu();dr=D(Xi(),1);mu();ts();Fu();Cu();Eu();_u();Ty=D(Xi(),1),ls=class{#s=0;#n=!1;#e=0;#o=-1;#p=0;#t;#i;#r;#f;#h;#u;#c;#d;#g;#a;#l;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#t={color:"cyan",stream:cr.default.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#t.color,this.spinner=this.#t.spinner,this.#h=this.#t.interval,this.#r=this.#t.stream,this.#u=typeof this.#t.isEnabled=="boolean"?this.#t.isEnabled:rs({stream:this.#r}),this.#c=typeof this.#t.isSilent=="boolean"?this.#t.isSilent:!1,this.text=this.#t.text,this.prefixText=this.#t.prefixText,this.suffixText=this.#t.suffixText,this.indent=this.#t.indent,cr.default.env.NODE_ENV==="test"&&(this._stream=this.#r,this._isEnabled=this.#u,Object.defineProperty(this,"_linesToClear",{get(){return this.#s},set(n){this.#s=n}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#o}}),Object.defineProperty(this,"_lineCount",{get(){return this.#e}}))}get indent(){return this.#d}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#d=t,this.#m()}get interval(){return this.#h??this.#i.interval??100}get spinner(){return this.#i}set spinner(t){if(this.#o=-1,this.#h=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#i=t}else if(!is())this.#i=dr.default.line;else if(t===void 0)this.#i=dr.default.dots;else if(t!=="default"&&dr.default[t])this.#i=dr.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#g}set text(t=""){this.#g=t,this.#m()}get prefixText(){return this.#a}set prefixText(t=""){this.#a=t,this.#m()}get suffixText(){return this.#l}set suffixText(t=""){this.#l=t,this.#m()}get isSpinning(){return this.#f!==void 0}#y(t=this.#a,n=" "){return typeof t=="string"&&t!==""?t+n:typeof t=="function"?t()+n:""}#b(t=this.#l,n=" "){return typeof t=="string"&&t!==""?n+t:typeof t=="function"?n+t():""}#m(){let t=this.#r.columns??80,n=this.#y(this.#a,"-"),r=this.#b(this.#l,"-"),o=" ".repeat(this.#d)+n+"--"+this.#g+"--"+r;this.#e=0;for(let i of ur(o).split(`
|
|
5
|
+
`,o)}while(r!==-1);return i+=e.slice(o),i}var Zl=S(()=>{"use strict"});function ir(e){return oy(e)}var Yl,Kl,$i,mn,or,Xl,hn,ry,oy,Wi,iy,sy,zi,io,ay,ly,iE,Q,sr=S(()=>{"use strict";zl();ql();Zl();({stdout:Yl,stderr:Kl}=Gl),$i=Symbol("GENERATOR"),mn=Symbol("STYLER"),or=Symbol("IS_EMPTY"),Xl=["ansi","ansi","ansi256","ansi16m"],hn=Object.create(null),ry=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let n=Yl?Yl.level:0;e.level=t.level===void 0?n:t.level},oy=e=>{let t=(...n)=>n.join(" ");return ry(t,e),Object.setPrototypeOf(t,ir.prototype),t};Object.setPrototypeOf(ir.prototype,Function.prototype);for(let[e,t]of Object.entries(Ie))hn[e]={get(){let n=io(this,zi(t.open,t.close,this[mn]),this[or]);return Object.defineProperty(this,e,{value:n}),n}};hn.visible={get(){let e=io(this,this[mn],!0);return Object.defineProperty(this,"visible",{value:e}),e}};Wi=(e,t,n,...r)=>e==="rgb"?t==="ansi16m"?Ie[n].ansi16m(...r):t==="ansi256"?Ie[n].ansi256(Ie.rgbToAnsi256(...r)):Ie[n].ansi(Ie.rgbToAnsi(...r)):e==="hex"?Wi("rgb",t,n,...Ie.hexToRgb(...r)):Ie[n][e](...r),iy=["rgb","hex","ansi256"];for(let e of iy){hn[e]={get(){let{level:n}=this;return function(...r){let o=zi(Wi(e,Xl[n],"color",...r),Ie.color.close,this[mn]);return io(this,o,this[or])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);hn[t]={get(){let{level:n}=this;return function(...r){let o=zi(Wi(e,Xl[n],"bgColor",...r),Ie.bgColor.close,this[mn]);return io(this,o,this[or])}}}}sy=Object.defineProperties(()=>{},{...hn,level:{enumerable:!0,get(){return this[$i].level},set(e){this[$i].level=e}}}),zi=(e,t,n)=>{let r,o;return n===void 0?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},io=(e,t,n)=>{let r=(...o)=>ay(r,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(r,sy),r[$i]=e,r[mn]=t,r[or]=n,r},ay=(e,t)=>{if(e.level<=0||!t)return e[or]?"":t;let n=e[mn];if(n===void 0)return t;let{openAll:r,closeAll:o}=n;if(t.includes("\x1B"))for(;n!==void 0;)t=Hl(t,n.close,n.open),n=n.parent;let i=t.indexOf(`
|
|
6
|
+
`);return i!==-1&&(t=Jl(t,o,r,i)),r+t+o};Object.defineProperties(ir.prototype,hn);ly=ir(),iE=ir({level:Kl?Kl.level:0}),Q=ly});function Ui(e,t,{ignoreNonConfigurable:n=!1}={}){let{name:r}=e;for(let o of Reflect.ownKeys(t))uy(e,t,o,n);return dy(e,t),hy(e,t,r),e}var uy,cy,dy,py,fy,my,hy,Ql=S(()=>{"use strict";uy=(e,t,n,r)=>{if(n==="length"||n==="prototype"||n==="arguments"||n==="caller")return;let o=Object.getOwnPropertyDescriptor(e,n),i=Object.getOwnPropertyDescriptor(t,n);!cy(o,i)&&r||Object.defineProperty(e,n,i)},cy=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},dy=(e,t)=>{let n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)},py=(e,t)=>`/* Wrapped ${e}*/
|
|
7
|
+
${t}`,fy=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),my=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),hy=(e,t,n)=>{let r=n===""?"":`with ${n.trim()}() `,o=py.bind(null,r,t.toString());Object.defineProperty(o,"name",my);let{writable:i,enumerable:s,configurable:a}=fy;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:s,configurable:a})}});var so,eu,tu,nu=S(()=>{"use strict";Ql();so=new WeakMap,eu=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,r=0,o=e.displayName||e.name||"<anonymous>",i=function(...s){if(so.set(i,++r),r===1)n=e.apply(this,s),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${o}\` can only be called once`);return n};return Ui(i,e),so.set(i,r),i};eu.callCount=e=>{if(!so.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return so.get(e)};tu=eu});var jt,ru=S(()=>{"use strict";jt=[];jt.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&jt.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&jt.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT")});var ao,Vi,Gi,gy,qi,lo,yy,Hi,Ji,Zi,ou,pE,fE,iu=S(()=>{"use strict";ru();ao=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",Vi=Symbol.for("signal-exit emitter"),Gi=globalThis,gy=Object.defineProperty.bind(Object),qi=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Gi[Vi])return Gi[Vi];gy(Gi,Vi,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,n){this.listeners[t].push(n)}removeListener(t,n){let r=this.listeners[t],o=r.indexOf(n);o!==-1&&(o===0&&r.length===1?r.length=0:r.splice(o,1))}emit(t,n,r){if(this.emitted[t])return!1;this.emitted[t]=!0;let o=!1;for(let i of this.listeners[t])o=i(n,r)===!0||o;return t==="exit"&&(o=this.emit("afterExit",n,r)||o),o}},lo=class{},yy=e=>({onExit(t,n){return e.onExit(t,n)},load(){return e.load()},unload(){return e.unload()}}),Hi=class extends lo{onExit(){return()=>{}}load(){}unload(){}},Ji=class extends lo{#s=Zi.platform==="win32"?"SIGINT":"SIGHUP";#n=new qi;#e;#o;#p;#t={};#i=!1;constructor(t){super(),this.#e=t,this.#t={};for(let n of jt)this.#t[n]=()=>{let r=this.#e.listeners(n),{count:o}=this.#n,i=t;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(o+=i.__signal_exit_emitter__.count),r.length===o){this.unload();let s=this.#n.emit("exit",null,n),a=n==="SIGHUP"?this.#s:n;s||t.kill(t.pid,a)}};this.#p=t.reallyExit,this.#o=t.emit}onExit(t,n){if(!ao(this.#e))return()=>{};this.#i===!1&&this.load();let r=n?.alwaysLast?"afterExit":"exit";return this.#n.on(r,t),()=>{this.#n.removeListener(r,t),this.#n.listeners.exit.length===0&&this.#n.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#i){this.#i=!0,this.#n.count+=1;for(let t of jt)try{let n=this.#t[t];n&&this.#e.on(t,n)}catch{}this.#e.emit=(t,...n)=>this.#f(t,...n),this.#e.reallyExit=t=>this.#r(t)}}unload(){this.#i&&(this.#i=!1,jt.forEach(t=>{let n=this.#t[t];if(!n)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,n)}catch{}}),this.#e.emit=this.#o,this.#e.reallyExit=this.#p,this.#n.count-=1)}#r(t){return ao(this.#e)?(this.#e.exitCode=t||0,this.#n.emit("exit",this.#e.exitCode,null),this.#p.call(this.#e,this.#e.exitCode)):0}#f(t,...n){let r=this.#o;if(t==="exit"&&ao(this.#e)){typeof n[0]=="number"&&(this.#e.exitCode=n[0]);let o=r.call(this.#e,t,...n);return this.#n.emit("exit",this.#e.exitCode,null),o}else return r.call(this.#e,t,...n)}},Zi=globalThis.process,{onExit:ou,load:pE,unload:fE}=yy(ao(Zi)?new Ji(Zi):new Hi)});var ar,su,by,au,lu=S(()=>{"use strict";ar=D(require("process"),1);nu();iu();su=ar.default.stderr.isTTY?ar.default.stderr:ar.default.stdout.isTTY?ar.default.stdout:void 0,by=su?tu(()=>{ou(()=>{su.write("\x1B[?25h")},{alwaysLast:!0})}):()=>{},au=by});var Yi,uo,gn,Ki,uu=S(()=>{"use strict";Yi=D(require("process"),1);lu();uo=!1,gn={};gn.show=(e=Yi.default.stderr)=>{e.isTTY&&(uo=!1,e.write("\x1B[?25h"))};gn.hide=(e=Yi.default.stderr)=>{e.isTTY&&(au(),uo=!0,e.write("\x1B[?25l"))};gn.toggle=(e,t)=>{e!==void 0&&(uo=e),uo?gn.show(t):gn.hide(t)};Ki=gn});var cu=Ni((wE,Dy)=>{Dy.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var Xi=Ni((vE,pu)=>{"use strict";var co=Object.assign({},cu()),du=Object.keys(co);Object.defineProperty(co,"random",{get(){let e=Math.floor(Math.random()*du.length),t=du[e];return co[t]}});pu.exports=co});function Qi(){return ke.default.platform!=="win32"?ke.default.env.TERM!=="linux":!!ke.default.env.CI||!!ke.default.env.WT_SESSION||!!ke.default.env.TERMINUS_SUBLIME||ke.default.env.ConEmuTask==="{cmd::Cmder}"||ke.default.env.TERM_PROGRAM==="Terminus-Sublime"||ke.default.env.TERM_PROGRAM==="vscode"||ke.default.env.TERM==="xterm-256color"||ke.default.env.TERM==="alacritty"||ke.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var ke,fu=S(()=>{"use strict";ke=D(require("process"),1)});var wy,vy,ky,lr,mu=S(()=>{"use strict";sr();fu();wy={info:Q.blue("\u2139"),success:Q.green("\u2714"),warning:Q.yellow("\u26A0"),error:Q.red("\u2716")},vy={info:Q.blue("i"),success:Q.green("\u221A"),warning:Q.yellow("\u203C"),error:Q.red("\xD7")},ky=Qi()?wy:vy,lr=ky});function es({onlyFirst:e=!1}={}){let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(n,e?void 0:"g")}var hu=S(()=>{"use strict"});function ur(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(xy,"")}var xy,ts=S(()=>{"use strict";hu();xy=es()});function gu(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function yu(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function bu(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Du=S(()=>{"use strict"});function Fy(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function wu(e,{ambiguousAsWide:t=!1}={}){return Fy(e),yu(e)||bu(e)||t&&gu(e)?2:1}var vu=S(()=>{"use strict";Du()});var ku,xu=S(()=>{"use strict";ku=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});function ns(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:n=!0,countAnsiEscapeCodes:r=!1}=t;if(r||(e=ur(e)),e.length===0)return 0;let o=0,i={ambiguousAsWide:!n};for(let{segment:s}of Cy.segment(e)){let a=s.codePointAt(0);if(!(a<=31||a>=127&&a<=159)&&!(a>=8203&&a<=8207||a===65279)&&!(a>=768&&a<=879||a>=6832&&a<=6911||a>=7616&&a<=7679||a>=8400&&a<=8447||a>=65056&&a<=65071)&&!(a>=55296&&a<=57343)&&!(a>=65024&&a<=65039)&&!Ey.test(s)){if(ku().test(s)){o+=2;continue}o+=wu(a,i)}}return o}var Cy,Ey,Fu=S(()=>{"use strict";ts();vu();xu();Cy=new Intl.Segmenter,Ey=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u")});function rs({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var Cu=S(()=>{"use strict"});function is(){let{env:e}=os.default,{TERM:t,TERM_PROGRAM:n}=e;return os.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||n==="Terminus-Sublime"||n==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var os,Eu=S(()=>{"use strict";os=D(require("process"),1)});var je,_y,ss,Sy,as,_u=S(()=>{"use strict";je=D(require("process"),1),_y=3,ss=class{#s=0;start(){this.#s++,this.#s===1&&this.#n()}stop(){if(this.#s<=0)throw new Error("`stop` called more times than `start`");this.#s--,this.#s===0&&this.#e()}#n(){je.default.platform==="win32"||!je.default.stdin.isTTY||(je.default.stdin.setRawMode(!0),je.default.stdin.on("data",this.#o),je.default.stdin.resume())}#e(){je.default.stdin.isTTY&&(je.default.stdin.off("data",this.#o),je.default.stdin.pause(),je.default.stdin.setRawMode(!1))}#o(t){t[0]===_y&&je.default.emit("SIGINT")}},Sy=new ss,as=Sy});function yn(e){return new ls(e)}var cr,dr,Ty,ls,us=S(()=>{"use strict";cr=D(require("process"),1);sr();uu();dr=D(Xi(),1);mu();ts();Fu();Cu();Eu();_u();Ty=D(Xi(),1),ls=class{#s=0;#n=!1;#e=0;#o=-1;#p=0;#t;#i;#r;#f;#h;#u;#c;#d;#g;#a;#l;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#t={color:"cyan",stream:cr.default.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#t.color,this.spinner=this.#t.spinner,this.#h=this.#t.interval,this.#r=this.#t.stream,this.#u=typeof this.#t.isEnabled=="boolean"?this.#t.isEnabled:rs({stream:this.#r}),this.#c=typeof this.#t.isSilent=="boolean"?this.#t.isSilent:!1,this.text=this.#t.text,this.prefixText=this.#t.prefixText,this.suffixText=this.#t.suffixText,this.indent=this.#t.indent,cr.default.env.NODE_ENV==="test"&&(this._stream=this.#r,this._isEnabled=this.#u,Object.defineProperty(this,"_linesToClear",{get(){return this.#s},set(n){this.#s=n}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#o}}),Object.defineProperty(this,"_lineCount",{get(){return this.#e}}))}get indent(){return this.#d}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#d=t,this.#m()}get interval(){return this.#h??this.#i.interval??100}get spinner(){return this.#i}set spinner(t){if(this.#o=-1,this.#h=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#i=t}else if(!is())this.#i=dr.default.line;else if(t===void 0)this.#i=dr.default.dots;else if(t!=="default"&&dr.default[t])this.#i=dr.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#g}set text(t=""){this.#g=t,this.#m()}get prefixText(){return this.#a}set prefixText(t=""){this.#a=t,this.#m()}get suffixText(){return this.#l}set suffixText(t=""){this.#l=t,this.#m()}get isSpinning(){return this.#f!==void 0}#y(t=this.#a,n=" "){return typeof t=="string"&&t!==""?t+n:typeof t=="function"?t()+n:""}#b(t=this.#l,n=" "){return typeof t=="string"&&t!==""?n+t:typeof t=="function"?n+t():""}#m(){let t=this.#r.columns??80,n=this.#y(this.#a,"-"),r=this.#b(this.#l,"-"),o=" ".repeat(this.#d)+n+"--"+this.#g+"--"+r;this.#e=0;for(let i of ur(o).split(`
|
|
8
8
|
`))this.#e+=Math.max(1,Math.ceil(ns(i,{countAnsiEscapeCodes:!0})/t))}get isEnabled(){return this.#u&&!this.#c}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#u=t}get isSilent(){return this.#c}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#c=t}frame(){let t=Date.now();(this.#o===-1||t-this.#p>=this.interval)&&(this.#o=++this.#o%this.#i.frames.length,this.#p=t);let{frames:n}=this.#i,r=n[this.#o];this.color&&(r=Q[this.color](r));let o=typeof this.#a=="string"&&this.#a!==""?this.#a+" ":"",i=typeof this.text=="string"?" "+this.text:"",s=typeof this.#l=="string"&&this.#l!==""?" "+this.#l:"";return o+r+i+s}clear(){if(!this.#u||!this.#r.isTTY)return this;this.#r.cursorTo(0);for(let t=0;t<this.#s;t++)t>0&&this.#r.moveCursor(0,-1),this.#r.clearLine(1);return(this.#d||this.lastIndent!==this.#d)&&this.#r.cursorTo(this.#d),this.lastIndent=this.#d,this.#s=0,this}render(){return this.#c?this:(this.clear(),this.#r.write(this.frame()),this.#s=this.#e,this)}start(t){return t&&(this.text=t),this.#c?this:this.#u?this.isSpinning?this:(this.#t.hideCursor&&Ki.hide(this.#r),this.#t.discardStdin&&cr.default.stdin.isTTY&&(this.#n=!0,as.start()),this.render(),this.#f=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#r.write(`- ${this.text}
|
|
9
9
|
`),this)}stop(){return this.#u?(clearInterval(this.#f),this.#f=void 0,this.#o=0,this.clear(),this.#t.hideCursor&&Ki.show(this.#r),this.#t.discardStdin&&cr.default.stdin.isTTY&&this.#n&&(as.stop(),this.#n=!1),this):this}succeed(t){return this.stopAndPersist({symbol:lr.success,text:t})}fail(t){return this.stopAndPersist({symbol:lr.error,text:t})}warn(t){return this.stopAndPersist({symbol:lr.warning,text:t})}info(t){return this.stopAndPersist({symbol:lr.info,text:t})}stopAndPersist(t={}){if(this.#c)return this;let n=t.prefixText??this.#a,r=this.#y(n," "),o=t.symbol??" ",i=t.text??this.text,a=typeof i=="string"?(o?" ":"")+i:"",u=t.suffixText??this.#l,l=this.#b(u," "),c=r+o+a+l+`
|
|
10
|
-
`;return this.stop(),this.#r.write(c),this}}});function ps(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),po.default.platform==="darwin"?Ay(e):po.default.platform==="win32"?Oy(e):Py(e)}var X,cs,po,gt,ds,bn,Ay,Oy,Py,Su=S(()=>{"use strict";X=D(require("path"),1),cs=D(require("os"),1),po=D(require("process"),1),gt=cs.default.homedir(),ds=cs.default.tmpdir(),{env:bn}=po.default,Ay=e=>{let t=X.default.join(gt,"Library");return{data:X.default.join(t,"Application Support",e),config:X.default.join(t,"Preferences",e),cache:X.default.join(t,"Caches",e),log:X.default.join(t,"Logs",e),temp:X.default.join(ds,e)}},Oy=e=>{let t=bn.APPDATA||X.default.join(gt,"AppData","Roaming"),n=bn.LOCALAPPDATA||X.default.join(gt,"AppData","Local");return{data:X.default.join(n,e,"Data"),config:X.default.join(t,e,"Config"),cache:X.default.join(n,e,"Cache"),log:X.default.join(n,e,"Log"),temp:X.default.join(ds,e)}},Py=e=>{let t=X.default.basename(gt);return{data:X.default.join(bn.XDG_DATA_HOME||X.default.join(gt,".local","share"),e),config:X.default.join(bn.XDG_CONFIG_HOME||X.default.join(gt,".config"),e),cache:X.default.join(bn.XDG_CACHE_HOME||X.default.join(gt,".cache"),e),log:X.default.join(bn.XDG_STATE_HOME||X.default.join(gt,".local","state"),e),temp:X.default.join(ds,t,e)}}});function fo(){return/[<>:"/\\|?*\u0000-\u001F]/g}function Tu(){return/^(con|prn|aux|nul|com\d|lpt\d)$/i}var Au=S(()=>{"use strict"});function pr(e,t={}){let n=/[\u0000-\u001F\u0080-\u009F]/g,r=/([<>:"/\\|?*\u0000-\u001F]){2,}/g;if(typeof e!="string")throw new TypeError("Expected a string");let o=t.replacement===void 0?"!":t.replacement;if(fo().test(o)&&n.test(o))throw new Error("Replacement string cannot contain reserved filename characters");o.length>0&&(e=e.replace(r,"$1")),e=e.normalize("NFD"),e=e.replace(jy,o),e=e.replace(fo(),o),e=e.replace(n,o),e=e.replace(By,""),o.length>0&&(!(e[0]===".")&&e[0]==="."&&(e=o+e),e[e.length-1]==="."&&(e+=o)),e=Tu().test(e)?e+o:e;let i=typeof t.maxLength=="number"?t.maxLength:Iy;if(e.length>i){let s=e.lastIndexOf(".");if(s===-1)e=e.slice(0,i);else{let a=e.slice(0,s),u=e.slice(s);e=a.slice(0,Math.max(1,i-u.length))+u}}return e}var Iy,jy,By,fs=S(()=>{"use strict";Au();Iy=100,jy=/^\.+(\\|\/)|^\.+$/,By=/\.+$/});var Ly,Ou=S(()=>{"use strict";Ly=D(require("path"),1);fs()});var Pu=S(()=>{"use strict";fs();Ou()});function ju(e){ms=e}function ne(){return ms}function Ve(){return!ms}function Bu(e){Iu=e}function Lu(){return Iu}var ms,Iu,pe=S(()=>{"use strict";ms=!1});async function mo(e){try{return await e()}catch(t){throw t instanceof Error&&Ry.test(t.message)&&(d.debug(t.message),process.exit(130)),t}}async function fe(e){return ne()?e.default??!1:mo(()=>yt.confirm(e))}async function xe(e){return ne()?"default"in e?e.default:null:mo(()=>yt.select(e))}async function Be(e){return ne()?e.default!==void 0?await e.validate?.(e.default)!==!0?null:e.default:null:mo(()=>yt.input(e))}async function ho(e){if(ne()){let t=[];return await e.validate?.(t)!==!0?null:t}return mo(()=>yt.checkbox(e))}var yt,Ry,Le=S(()=>{"use strict";yt=D(require("@inquirer/prompts"));pe();V();Ry=/SIGINT/i});var go,hs=S(()=>{"use strict";go="webflow.json"});var et,Bt,fr=S(()=>{"use strict";et=class extends Error{constructor(t){super(`Manifest file not found at path: ${t}`),this.name="ManifestFileNotFoundError"}},Bt=class extends Error{constructor(t){super(`Manifest config for key "${t}" not found`),this.name="ManifestConfigKeyNotFoundError"}}});function tt(){let e=Lu();if(e){if(e.endsWith(".json"))return{path:e,isUserDefined:!0};try{if((0,Ru.statSync)(e)?.isDirectory())return{path:(0,Nu.join)(e,go),isUserDefined:!0}}catch{if(e.endsWith(".json"))return{path:e,isUserDefined:!0}}throw new Error(`Manifest path must be either a directory or a .json file. Got: ${e}`)}return{path:`./${go}`,isUserDefined:!1}}var Ru,Nu,yo=S(()=>{"use strict";Ru=require("fs"),Nu=require("path");hs();pe()});var Mu,Ny,My,gs,$u=S(()=>{"use strict";Mu=D(require("ajv")),Ny=new Mu.default,My={type:"object",properties:{library:{type:"object",properties:{name:{type:"string",minLength:1},id:{type:"string",minLength:1},components:{type:"array",items:{type:"string"},minItems:1},renderer:{anyOf:[{type:"object",properties:{client:{type:"string",minLength:1},server:{type:"string",minLength:1}}},{type:"string",minLength:1}]},globals:{type:"string",minLength:1}},required:[]},devlink:{type:"object",properties:{rootDir:{type:"string",minLength:1},cssModules:{type:"boolean"},allowTelemetry:{type:"boolean"},overwriteModule:{type:"boolean"},skipTagSelectors:{type:"boolean"},envVariables:{type:"object",additionalProperties:{type:"string"}},components:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]},fileExtensions:{type:"object",properties:{js:{type:"string"},css:{type:"string"}}},relativeHrefRoot:{oneOf:[{type:"boolean"},{type:"string"}]}},required:["rootDir"]}}},gs=Ny.compile(My)});function Wu(e){return e instanceof Error?e:new Error("Unknown error")}function re(){let{path:e}=tt();if(!(0,bo.existsSync)(e))throw new et(e);let t;try{t=(0,bo.readFileSync)(e,"utf8")}catch(r){throw new Error(`Failed to read manifest file: ${Wu(r).message}`)}let n;try{n=JSON.parse(t)}catch(r){throw new Error(`Invalid JSON in manifest file: ${Wu(r).message}`)}if(!gs(n)){let r=gs.errors?.map(o=>`${o.instancePath} ${o.message}`).join(", ")||"Unknown error";throw new Error(`Invalid manifest: ${r}.`)}return{manifest:n,manifestPath:e}}var bo,ys=S(()=>{"use strict";bo=require("fs");fr();yo();$u()});function mr(e,t){let n=e[t];if(!n)throw new Bt(t);return n}var zu=S(()=>{"use strict";fr()});function le(e){let t,n;try{let o=re();t=o.manifest,n=o.manifestPath}catch(o){if(o instanceof et)t={},n=tt().path;else throw o}let r={...t};for(let o in e){let i=o,s=e[i];if(s!==void 0)if(typeof s=="string"||typeof s=="number"||typeof s=="boolean"||s===null)r[i]=s;else{let a=r[i];r[i]={...typeof a=="object"&&a!==null?a:{},...s}}}(0,Uu.writeFileSync)(n,JSON.stringify(r,null,2),"utf-8")}var Uu,Vu=S(()=>{"use strict";Uu=require("fs");fr();ys();yo()});var Re=S(()=>{"use strict";hs();fr();ys();yo();zu();Vu()});var bs=Ni((P_,$y)=>{$y.exports={name:"@webflow/webflow-cli",version:"1.12.1",license:"MIT",bin:{webflow:"./dist/index.js"},scripts:{build:"tsup",dev:"tsup",lint:"eslint .",test:"jest --ci","test:unit":"jest --ci --ignoreProjects e2e","test:local":"jest"},files:["CHANGELOG.md","dist/**/*"],publishConfig:{access:"public"},dependencies:{"@babel/preset-env":"^7.26.9","@babel/preset-react":"^7.26.3","@babel/preset-typescript":"^7.27.0","@dotenvx/dotenvx":"^1.44.1","@inquirer/prompts":"^7.9.0","@module-federation/enhanced":"0.20.0","@webflow/data-types":"*",ajv:"^8.17.1",archiver:"^5.3.1","babel-loader":"^10.0.0",commander:"^10.0.0",cosmiconfig:"^8.2.0","css-loader":"^7.1.2","css-tree":"^2.3.1",dotenv:"^16.0.3","env-paths":"^3.0.0","fast-glob":"^3.3.3",filenamify:"^6.0.0","fork-ts-checker-webpack-plugin":"9.1.0","form-data":"4.0.4","fs-extra":"^11.3.0","jsonc-parser":"^3.2.0",md5:"^2.2.1",memfs:"4.17.0","mime-types":"^2.1.35","mini-css-extract-plugin":"^2.9.2","node-fetch":"^2.6.7",open:"^8.4.2",ora:"^8.2.0",postcss:"^8.5.6","postcss-loader":"^8.1.1","postcss-selector-parser":"^7.1.0",prettier:"^2.7.1",semver:"^7.7.2","serve-handler":"^6.1.5","source-map-support":"^0.5.21",tar:"^7.4.3","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.2.0",unionfs:"^4.5.4","webflow-api":"3.2.0",webpack:"^5.99.7","webpack-merge":"^6.0.1","webpack-node-externals":"^3.0.0",zod:"^3.22.4"},devDependencies:{"@types/archiver":"^5.3.2","@types/css-tree":"^2.3.1","@types/express":"^4.17.13","@types/fs-extra":"^11.0.4","@types/jest":"^29.2.3","@types/md5":"^2.3.2","@types/mime-types":"^2.1.4","@types/nock":"^8.0.33","@types/node":"^18.16.0","@types/node-fetch":"2.6.13","@types/prettier":"^2.7.1","@types/serve-handler":"^6.1.1","@types/source-map":"^0.5.2","@types/webpack-node-externals":"^3.0.4",astro:"^5.7.0","eslint-config-custom":"*",express:"^4.18.1",jest:"^29.3.1",nock:"13.3.1",tar:"^7.4.3","ts-jest":"^29.0.3","ts-node":"^10.9.1",tsconfig:"*",tsup:"^8.4.0",typescript:"^4.9.3"},engines:{node:">=18.16.0"}}});function nt(){try{return bs().version}catch{return"unknown"}}function Ge(e=""){if(!e)return"";let t=e;t=t.replace(/\/.*?\/webflow-cli/gi,"/REDACTED_PII/webflow-cli"),t=t.replace(/\/.*?\/node_modules/gi,"/REDACTED_PII/node_modules");let n=hr.default.homedir();if(n){let o=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi");t=t.replace(o,"~/REDACTED_PII")}let r=hr.default.userInfo().username;if(r){let o=new RegExp(`/Users/${r}`,"gi");t=t.replace(o,"/Users/REDACTED_PII")}return t=t.replace(/\/Users\/[^\/\s]+/gi,"/Users/REDACTED_PII"),t=t.replace(/C:\\Users\\[^\\]+/gi,"C:\\Users\\REDACTED_PII"),t=t.replace(/[a-zA-Z0-9]{32,}/g,"[REDACTED_TOKEN]"),t=t.replace(/Bearer\s+[^\s]+/gi,"Bearer [REDACTED_TOKEN]"),t=t.replace(/token[=:]\s*[^\s]+/gi,"token=[REDACTED_TOKEN]"),t=t.replace(/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,"[REDACTED_EMAIL]"),t=t.replace(/\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,"[REDACTED_IP]"),t}function Ds(e){if(e.stack)return Ge(e.stack)}function bt(e){let t=["password","token","secret","key","auth","bearer","authorization","apikey","api_key","access_token","refresh_token","client_secret","private_key"],n={};for(let[r,o]of Object.entries(e)){let i=r.toLowerCase();t.some(s=>i.includes(s))?n[r]="[REDACTED]":typeof o=="string"?n[r]=Ge(o):typeof o=="object"&&o!==null&&!Array.isArray(o)?n[r]=bt(o):Array.isArray(o)?n[r]=o.map(s=>typeof s=="object"&&s!==null?bt(s):typeof s=="string"?Ge(s):s):n[r]=o}return n}function Gu(){return{platform:process.platform,nodeVersion:process.version,arch:process.arch,os:`${hr.default.type()} ${hr.default.release()}`}}function ws(){let e=Date.now().toString(36),t=Math.random().toString(36).substring(2,8);return`${e}-${t}`}var hr,gr=S(()=>{"use strict";hr=D(require("os"))});var Lt,vs=S(()=>{"use strict";Le();Re();gr();pe();Lt=class e{static instance;cache=void 0;static getInstance(){return e.instance||(e.instance=new e),e.instance}async getPreference(){if(this.cache!==void 0)return this.cache;try{let{manifest:t}=await re(),n=t?.telemetry?.global?.allowTelemetry;return this.cache=n,n}catch{return}}async setPreference(t){this.cache=t,await this.setGlobalPreference(t)}async promptForConsent(t){if(ne())return Promise.resolve(!1);let o=await fe({message:t||"Help us improve Webflow CLI by sharing usage data and error reports?",default:!0});return await fe({message:"Would you like to save this choice for all Webflow CLI commands?",default:!0})&&await this.setPreference(o),o}clearCache(){this.cache=void 0}async getGlobalPreference(){return this.getPreference()}async setGlobalPreference(t){let n={telemetry:{global:{allowTelemetry:t,lastPrompted:Date.now(),version:nt()}}};await le(n),this.cache=t}async hasGlobalPreference(){return await this.getPreference()!==void 0}async getTelemetryStatus(){let t=await this.getPreference();return t!==void 0?{enabled:t,source:"global",hasPreference:!0}:{enabled:!1,source:"none",hasPreference:!1}}setCacheValue(t,n){this.cache=n}}});async function Ne(e,t){let r={"User-Agent":`webflow-cli@${nt()}`};return(0,qu.default)(e,{...t,headers:{...t?.headers,...r}})}var qu,Dn=S(()=>{"use strict";qu=D(require("node-fetch"));Rt()});var Hu,Ju=S(()=>{"use strict";Hu=e=>{try{let t=new URL(e);return!(!["http:","https:"].includes(t.protocol)||e.includes("?")||e.includes("#")||t.search||t.hash)}catch{return!1}}});var ks,J,rt,wn,yr,xs,br,Dr,Do,de=S(()=>{"use strict";Ju();ks=(e,t)=>(Hu(t)||(console.error(`Error: Invalid ${e} environment variable. Only valid plain HTTP/HTTPS URLs without query parameters and anchors is allowed.`),process.exit(1)),t),J=process.env.WEBFLOW_API_HOST?ks("WEBFLOW_API_HOST",process.env.WEBFLOW_API_HOST):"https://api.webflow.com",rt=process.env.WEBFLOW_CDN_API_HOST?ks("WEBFLOW_CDN_API_HOST",process.env.WEBFLOW_CDN_API_HOST):"https://api-cdn.webflow.com",wn=process.env.WEBFLOW_HOST?ks("WEBFLOW_HOST",process.env.WEBFLOW_HOST):"https://webflow.com",yr="wf-manifest.json",xs="mf-manifest.json",br="@webflow_renderer",Dr="ssr-bundle.tar",Do="index.js"});var qe,Fs=S(()=>{"use strict";vs();gr();V();Dn();de();qe=class e{config;consentManager;sessionId;platformInfo;constructor(t){this.config=t,this.consentManager=Lt.getInstance(),this.sessionId=ws(),this.platformInfo=Gu()}async sendEvent(t){if(await this.isEnabled())try{let n=this.enrichEvent(t),r=this.sanitizeEvent(n);await this.transmitEvent(r)}catch(n){d.debug(`Failed to send telemetry event: ${n}`)}}async sendError(t,n,r){if(!await this.isEnabled())return;let o={eventType:"error",name:t.name,message:t.message,cause:t.cause,stack:Ds(t),context:n,metadata:r?bt(r):void 0};await this.sendEvent(o)}async sendUsage(t,n,r,o){if(!await this.isEnabled())return;let i={eventType:"usage",feature:t,success:n,duration:r,data:o?bt(o):void 0};await this.sendEvent(i)}async sendPerformance(t,n,r){if(!await this.isEnabled())return;let o={eventType:"performance",operation:t,duration:n,memoryBefore:void 0,memoryAfter:void 0,metrics:r};await this.sendEvent(o)}async isEnabled(){return await this.consentManager.getPreference()!==!1}async isGloballyEnabled(){return await this.consentManager.getGlobalPreference()!==!1}async updatePreferences(t){await this.consentManager.setPreference(t)}async promptForConsentIfNeeded(t){let n=await this.consentManager.getPreference();return n!==void 0?n:await this.consentManager.promptForConsent(t??"Help us improve Webflow CLI by sharing usage data and error reports?")}enrichEvent(t){return{...{eventType:t.eventType||"usage",timestamp:Date.now(),sessionId:this.sessionId,platform:this.platformInfo.platform,nodeVersion:this.platformInfo.nodeVersion,cliVersion:nt(),command:process.argv.slice(2).join(" ")||void 0,metadata:{...t.metadata,commandType:this.config.commandType,siteId:this.config.siteId,projectId:this.config.projectId,os:this.platformInfo.os,arch:this.platformInfo.arch}},...t}}sanitizeEvent(t){let n=JSON.parse(JSON.stringify(t));return n.message&&(n.message=Ge(n.message)),n.stack&&(n.stack=Ge(n.stack)),n.context&&(n.context=Ge(n.context)),n.metadata&&(n.metadata=bt(n.metadata)),n.data&&(n.data=bt(n.data)),n}async transmitEvent(t){let n=this.getEndpoint(),r=process.env.WEBFLOW_TELEMETRY_DEBUG==="true";if(r){console.log(`\u{1F4CA} [Telemetry] Sending to: ${n}`);let i={...t};i.metadata&&(delete i.metadata.authToken,delete i.metadata.apiToken),console.log("\u{1F4CA} [Telemetry] Payload:",JSON.stringify(i,null,2))}let o=await Ne(n,{method:"POST",headers:{Authorization:`Bearer ${this.config.authToken}`,"Content-Type":"application/json"},body:JSON.stringify(t),timeout:5e3});if(o.ok)r&&console.log(`\u{1F4CA} [Telemetry] Request successful: ${o.status}`);else throw r&&console.error(`\u{1F4CA} [Telemetry] Request failed: ${o.status} ${o.statusText}`),new Error(`Telemetry request failed: ${o.status} ${o.statusText}`)}getEndpoint(){let{host:t,commandType:n}=this.config;return`${t}/webflow-cli/${n}/telemetry`}static fromDevlinkConfig(t){return new e({host:t.host,authToken:t.authToken,siteId:t.siteId,commandType:"devlink",allowTelemetry:t.allowTelemetry})}static fromExportConfig(t){return new e({host:J,authToken:t.authToken,siteId:t.siteId,commandType:"devlink",allowTelemetry:t.allowTelemetry})}static forCloud(t){return new e({host:t.host,authToken:t.authToken,siteId:t.siteId,projectId:t.projectId,commandType:"cloud"})}static forExtension(t){return new e({host:t.host,authToken:t.authToken,siteId:t.siteId,commandType:"extension"})}static forCodeLibraries(t){return new e({host:t.host,authToken:t.authToken,commandType:"library"})}}});var Zu=S(()=>{"use strict"});function wo(e){return async(t,n)=>{try{await e.sendError(t,n)}catch(r){d.debug("Failed to send error telemetry:"+r)}}}function vo(e){return async(t,n,r)=>{let o=Date.now(),i=process.memoryUsage().heapUsed;try{let s=await n(),a=Date.now()-o,u=process.memoryUsage().heapUsed;return await e.sendPerformance(t,a,{memoryDelta:u-i,...r}),s}catch(s){let a=Date.now()-o;throw await e.sendPerformance(t,a,{failed:1,...r}),s}}}function Yu(e){return async(t,n,r)=>{let o=Date.now();try{let i=await n(),s=Date.now()-o;return await e.sendUsage(t,!0,s,r),i}catch(i){let s=Date.now()-o;throw await e.sendUsage(t,!1,s,{error:i instanceof Error?i.message:"Unknown error",...r}),i}}}var Rt=S(()=>{"use strict";V();Fs();vs();Zu();gr();Fs();gr()});var Es,Cs,Wy,ot,_s=S(()=>{"use strict";Es=Symbol("webflow-cli-warn"),Cs=class{warnings=[];originalConsoleWarn=null;isActive=!1;parseSource(t){let n=t.split(`
|
|
10
|
+
`;return this.stop(),this.#r.write(c),this}}});function ps(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),po.default.platform==="darwin"?Ay(e):po.default.platform==="win32"?Oy(e):Py(e)}var X,cs,po,gt,ds,bn,Ay,Oy,Py,Su=S(()=>{"use strict";X=D(require("path"),1),cs=D(require("os"),1),po=D(require("process"),1),gt=cs.default.homedir(),ds=cs.default.tmpdir(),{env:bn}=po.default,Ay=e=>{let t=X.default.join(gt,"Library");return{data:X.default.join(t,"Application Support",e),config:X.default.join(t,"Preferences",e),cache:X.default.join(t,"Caches",e),log:X.default.join(t,"Logs",e),temp:X.default.join(ds,e)}},Oy=e=>{let t=bn.APPDATA||X.default.join(gt,"AppData","Roaming"),n=bn.LOCALAPPDATA||X.default.join(gt,"AppData","Local");return{data:X.default.join(n,e,"Data"),config:X.default.join(t,e,"Config"),cache:X.default.join(n,e,"Cache"),log:X.default.join(n,e,"Log"),temp:X.default.join(ds,e)}},Py=e=>{let t=X.default.basename(gt);return{data:X.default.join(bn.XDG_DATA_HOME||X.default.join(gt,".local","share"),e),config:X.default.join(bn.XDG_CONFIG_HOME||X.default.join(gt,".config"),e),cache:X.default.join(bn.XDG_CACHE_HOME||X.default.join(gt,".cache"),e),log:X.default.join(bn.XDG_STATE_HOME||X.default.join(gt,".local","state"),e),temp:X.default.join(ds,t,e)}}});function fo(){return/[<>:"/\\|?*\u0000-\u001F]/g}function Tu(){return/^(con|prn|aux|nul|com\d|lpt\d)$/i}var Au=S(()=>{"use strict"});function pr(e,t={}){let n=/[\u0000-\u001F\u0080-\u009F]/g,r=/([<>:"/\\|?*\u0000-\u001F]){2,}/g;if(typeof e!="string")throw new TypeError("Expected a string");let o=t.replacement===void 0?"!":t.replacement;if(fo().test(o)&&n.test(o))throw new Error("Replacement string cannot contain reserved filename characters");o.length>0&&(e=e.replace(r,"$1")),e=e.normalize("NFD"),e=e.replace(jy,o),e=e.replace(fo(),o),e=e.replace(n,o),e=e.replace(By,""),o.length>0&&(!(e[0]===".")&&e[0]==="."&&(e=o+e),e[e.length-1]==="."&&(e+=o)),e=Tu().test(e)?e+o:e;let i=typeof t.maxLength=="number"?t.maxLength:Iy;if(e.length>i){let s=e.lastIndexOf(".");if(s===-1)e=e.slice(0,i);else{let a=e.slice(0,s),u=e.slice(s);e=a.slice(0,Math.max(1,i-u.length))+u}}return e}var Iy,jy,By,fs=S(()=>{"use strict";Au();Iy=100,jy=/^\.+(\\|\/)|^\.+$/,By=/\.+$/});var Ly,Ou=S(()=>{"use strict";Ly=D(require("path"),1);fs()});var Pu=S(()=>{"use strict";fs();Ou()});function ju(e){ms=e}function ne(){return ms}function Ve(){return!ms}function Bu(e){Iu=e}function Lu(){return Iu}var ms,Iu,pe=S(()=>{"use strict";ms=!1});async function mo(e){try{return await e()}catch(t){throw t instanceof Error&&Ry.test(t.message)&&(d.debug(t.message),process.exit(130)),t}}async function fe(e){return ne()?e.default??!1:mo(()=>yt.confirm(e))}async function xe(e){return ne()?"default"in e?e.default:null:mo(()=>yt.select(e))}async function Be(e){return ne()?e.default!==void 0?await e.validate?.(e.default)!==!0?null:e.default:null:mo(()=>yt.input(e))}async function ho(e){if(ne()){let t=[];return await e.validate?.(t)!==!0?null:t}return mo(()=>yt.checkbox(e))}var yt,Ry,Le=S(()=>{"use strict";yt=D(require("@inquirer/prompts"));pe();V();Ry=/SIGINT/i});var go,hs=S(()=>{"use strict";go="webflow.json"});var et,Bt,fr=S(()=>{"use strict";et=class extends Error{constructor(t){super(`Manifest file not found at path: ${t}`),this.name="ManifestFileNotFoundError"}},Bt=class extends Error{constructor(t){super(`Manifest config for key "${t}" not found`),this.name="ManifestConfigKeyNotFoundError"}}});function tt(){let e=Lu();if(e){if(e.endsWith(".json"))return{path:e,isUserDefined:!0};try{if((0,Ru.statSync)(e)?.isDirectory())return{path:(0,Nu.join)(e,go),isUserDefined:!0}}catch{if(e.endsWith(".json"))return{path:e,isUserDefined:!0}}throw new Error(`Manifest path must be either a directory or a .json file. Got: ${e}`)}return{path:`./${go}`,isUserDefined:!1}}var Ru,Nu,yo=S(()=>{"use strict";Ru=require("fs"),Nu=require("path");hs();pe()});var Mu,Ny,My,gs,$u=S(()=>{"use strict";Mu=D(require("ajv")),Ny=new Mu.default,My={type:"object",properties:{library:{type:"object",properties:{name:{type:"string",minLength:1},id:{type:"string",minLength:1},components:{type:"array",items:{type:"string"},minItems:1},renderer:{anyOf:[{type:"object",properties:{client:{type:"string",minLength:1},server:{type:"string",minLength:1}}},{type:"string",minLength:1}]},globals:{type:"string",minLength:1}},required:[]},devlink:{type:"object",properties:{rootDir:{type:"string",minLength:1},cssModules:{type:"boolean"},allowTelemetry:{type:"boolean"},overwriteModule:{type:"boolean"},skipTagSelectors:{type:"boolean"},envVariables:{type:"object",additionalProperties:{type:"string"}},components:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]},fileExtensions:{type:"object",properties:{js:{type:"string"},css:{type:"string"}}},relativeHrefRoot:{oneOf:[{type:"boolean"},{type:"string"}]}},required:["rootDir"]},export:{type:"object",properties:{rootDir:{type:"string",minLength:1},components:{type:"string"},componentGroups:{type:"string"},ts:{type:"boolean"},cssModules:{type:"boolean"},includePropGroupName:{type:"boolean"},camelCaseVariantNames:{type:"boolean"},relativeHrefRoot:{oneOf:[{type:"boolean",const:!1},{type:"string"}]}},required:[]}}},gs=Ny.compile(My)});function Wu(e){return e instanceof Error?e:new Error("Unknown error")}function re(){let{path:e}=tt();if(!(0,bo.existsSync)(e))throw new et(e);let t;try{t=(0,bo.readFileSync)(e,"utf8")}catch(r){throw new Error(`Failed to read manifest file: ${Wu(r).message}`)}let n;try{n=JSON.parse(t)}catch(r){throw new Error(`Invalid JSON in manifest file: ${Wu(r).message}`)}if(!gs(n)){let r=gs.errors?.map(o=>`${o.instancePath} ${o.message}`).join(", ")||"Unknown error";throw new Error(`Invalid manifest: ${r}.`)}return{manifest:n,manifestPath:e}}var bo,ys=S(()=>{"use strict";bo=require("fs");fr();yo();$u()});function mr(e,t){let n=e[t];if(!n)throw new Bt(t);return n}var zu=S(()=>{"use strict";fr()});function le(e){let t,n;try{let o=re();t=o.manifest,n=o.manifestPath}catch(o){if(o instanceof et)t={},n=tt().path;else throw o}let r={...t};for(let o in e){let i=o,s=e[i];if(s!==void 0)if(typeof s=="string"||typeof s=="number"||typeof s=="boolean"||s===null)r[i]=s;else{let a=r[i];r[i]={...typeof a=="object"&&a!==null?a:{},...s}}}(0,Uu.writeFileSync)(n,JSON.stringify(r,null,2),"utf-8")}var Uu,Vu=S(()=>{"use strict";Uu=require("fs");fr();ys();yo()});var Re=S(()=>{"use strict";hs();fr();ys();yo();zu();Vu()});var bs=Ni((I_,$y)=>{$y.exports={name:"@webflow/webflow-cli",version:"1.12.2",license:"MIT",bin:{webflow:"./dist/index.js"},scripts:{build:"tsup",dev:"tsup",lint:"eslint .",test:"jest --ci","test:unit":"jest --ci --ignoreProjects e2e","test:local":"jest"},files:["CHANGELOG.md","dist/**/*"],publishConfig:{access:"public"},dependencies:{"@babel/preset-env":"^7.26.9","@babel/preset-react":"^7.26.3","@babel/preset-typescript":"^7.27.0","@dotenvx/dotenvx":"^1.44.1","@inquirer/prompts":"^7.9.0","@module-federation/enhanced":"0.20.0","@webflow/data-types":"*",ajv:"^8.17.1",archiver:"^5.3.1","babel-loader":"^10.0.0",commander:"^10.0.0",cosmiconfig:"^8.2.0","css-loader":"^7.1.2","css-tree":"^2.3.1",dotenv:"^16.0.3","env-paths":"^3.0.0","fast-glob":"^3.3.3",filenamify:"^6.0.0","fork-ts-checker-webpack-plugin":"9.1.0","form-data":"4.0.4","fs-extra":"^11.3.0","jsonc-parser":"^3.2.0",md5:"^2.2.1",memfs:"4.17.0","mime-types":"^2.1.35","mini-css-extract-plugin":"^2.9.2","node-fetch":"^2.6.7",open:"^8.4.2",ora:"^8.2.0",postcss:"^8.5.6","postcss-loader":"^8.1.1","postcss-selector-parser":"^7.1.0",prettier:"^2.7.1",semver:"^7.7.2","serve-handler":"^6.1.5","source-map-support":"^0.5.21",tar:"^7.4.3","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.2.0",unionfs:"^4.5.4","webflow-api":"3.2.0",webpack:"^5.99.7","webpack-merge":"^6.0.1","webpack-node-externals":"^3.0.0",zod:"^3.22.4"},devDependencies:{"@types/archiver":"^5.3.2","@types/css-tree":"^2.3.1","@types/express":"^4.17.13","@types/fs-extra":"^11.0.4","@types/jest":"^29.2.3","@types/md5":"^2.3.2","@types/mime-types":"^2.1.4","@types/nock":"^8.0.33","@types/node":"^18.16.0","@types/node-fetch":"2.6.13","@types/prettier":"^2.7.1","@types/serve-handler":"^6.1.1","@types/source-map":"^0.5.2","@types/webpack-node-externals":"^3.0.4",astro:"^5.7.0","eslint-config-custom":"*",express:"^4.18.1",jest:"^29.3.1",nock:"13.3.1",tar:"^7.4.3","ts-jest":"^29.0.3","ts-node":"^10.9.1",tsconfig:"*",tsup:"^8.4.0",typescript:"^4.9.3"},engines:{node:">=18.16.0"}}});function nt(){try{return bs().version}catch{return"unknown"}}function Ge(e=""){if(!e)return"";let t=e;t=t.replace(/\/.*?\/webflow-cli/gi,"/REDACTED_PII/webflow-cli"),t=t.replace(/\/.*?\/node_modules/gi,"/REDACTED_PII/node_modules");let n=hr.default.homedir();if(n){let o=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi");t=t.replace(o,"~/REDACTED_PII")}let r=hr.default.userInfo().username;if(r){let o=new RegExp(`/Users/${r}`,"gi");t=t.replace(o,"/Users/REDACTED_PII")}return t=t.replace(/\/Users\/[^\/\s]+/gi,"/Users/REDACTED_PII"),t=t.replace(/C:\\Users\\[^\\]+/gi,"C:\\Users\\REDACTED_PII"),t=t.replace(/[a-zA-Z0-9]{32,}/g,"[REDACTED_TOKEN]"),t=t.replace(/Bearer\s+[^\s]+/gi,"Bearer [REDACTED_TOKEN]"),t=t.replace(/token[=:]\s*[^\s]+/gi,"token=[REDACTED_TOKEN]"),t=t.replace(/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,"[REDACTED_EMAIL]"),t=t.replace(/\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,"[REDACTED_IP]"),t}function Ds(e){if(e.stack)return Ge(e.stack)}function bt(e){let t=["password","token","secret","key","auth","bearer","authorization","apikey","api_key","access_token","refresh_token","client_secret","private_key"],n={};for(let[r,o]of Object.entries(e)){let i=r.toLowerCase();t.some(s=>i.includes(s))?n[r]="[REDACTED]":typeof o=="string"?n[r]=Ge(o):typeof o=="object"&&o!==null&&!Array.isArray(o)?n[r]=bt(o):Array.isArray(o)?n[r]=o.map(s=>typeof s=="object"&&s!==null?bt(s):typeof s=="string"?Ge(s):s):n[r]=o}return n}function Gu(){return{platform:process.platform,nodeVersion:process.version,arch:process.arch,os:`${hr.default.type()} ${hr.default.release()}`}}function ws(){let e=Date.now().toString(36),t=Math.random().toString(36).substring(2,8);return`${e}-${t}`}var hr,gr=S(()=>{"use strict";hr=D(require("os"))});var Lt,vs=S(()=>{"use strict";Le();Re();gr();pe();Lt=class e{static instance;cache=void 0;static getInstance(){return e.instance||(e.instance=new e),e.instance}async getPreference(){if(this.cache!==void 0)return this.cache;try{let{manifest:t}=await re(),n=t?.telemetry?.global?.allowTelemetry;return this.cache=n,n}catch{return}}async setPreference(t){this.cache=t,await this.setGlobalPreference(t)}async promptForConsent(t){if(ne())return Promise.resolve(!1);let o=await fe({message:t||"Help us improve Webflow CLI by sharing usage data and error reports?",default:!0});return await fe({message:"Would you like to save this choice for all Webflow CLI commands?",default:!0})&&await this.setPreference(o),o}clearCache(){this.cache=void 0}async getGlobalPreference(){return this.getPreference()}async setGlobalPreference(t){let n={telemetry:{global:{allowTelemetry:t,lastPrompted:Date.now(),version:nt()}}};await le(n),this.cache=t}async hasGlobalPreference(){return await this.getPreference()!==void 0}async getTelemetryStatus(){let t=await this.getPreference();return t!==void 0?{enabled:t,source:"global",hasPreference:!0}:{enabled:!1,source:"none",hasPreference:!1}}setCacheValue(t,n){this.cache=n}}});async function Ne(e,t){let r={"User-Agent":`webflow-cli@${nt()}`};return(0,qu.default)(e,{...t,headers:{...t?.headers,...r}})}var qu,Dn=S(()=>{"use strict";qu=D(require("node-fetch"));Rt()});var Hu,Ju=S(()=>{"use strict";Hu=e=>{try{let t=new URL(e);return!(!["http:","https:"].includes(t.protocol)||e.includes("?")||e.includes("#")||t.search||t.hash)}catch{return!1}}});var ks,J,rt,wn,yr,xs,br,Dr,Do,de=S(()=>{"use strict";Ju();ks=(e,t)=>(Hu(t)||(console.error(`Error: Invalid ${e} environment variable. Only valid plain HTTP/HTTPS URLs without query parameters and anchors is allowed.`),process.exit(1)),t),J=process.env.WEBFLOW_API_HOST?ks("WEBFLOW_API_HOST",process.env.WEBFLOW_API_HOST):"https://api.webflow.com",rt=process.env.WEBFLOW_CDN_API_HOST?ks("WEBFLOW_CDN_API_HOST",process.env.WEBFLOW_CDN_API_HOST):"https://api-cdn.webflow.com",wn=process.env.WEBFLOW_HOST?ks("WEBFLOW_HOST",process.env.WEBFLOW_HOST):"https://webflow.com",yr="wf-manifest.json",xs="mf-manifest.json",br="@webflow_renderer",Dr="ssr-bundle.tar",Do="index.js"});var qe,Fs=S(()=>{"use strict";vs();gr();V();Dn();de();qe=class e{config;consentManager;sessionId;platformInfo;constructor(t){this.config=t,this.consentManager=Lt.getInstance(),this.sessionId=ws(),this.platformInfo=Gu()}async sendEvent(t){if(await this.isEnabled())try{let n=this.enrichEvent(t),r=this.sanitizeEvent(n);await this.transmitEvent(r)}catch(n){d.debug(`Failed to send telemetry event: ${n}`)}}async sendError(t,n,r){if(!await this.isEnabled())return;let o={eventType:"error",name:t.name,message:t.message,cause:t.cause,stack:Ds(t),context:n,metadata:r?bt(r):void 0};await this.sendEvent(o)}async sendUsage(t,n,r,o){if(!await this.isEnabled())return;let i={eventType:"usage",feature:t,success:n,duration:r,data:o?bt(o):void 0};await this.sendEvent(i)}async sendPerformance(t,n,r){if(!await this.isEnabled())return;let o={eventType:"performance",operation:t,duration:n,memoryBefore:void 0,memoryAfter:void 0,metrics:r};await this.sendEvent(o)}async isEnabled(){return await this.consentManager.getPreference()!==!1}async isGloballyEnabled(){return await this.consentManager.getGlobalPreference()!==!1}async updatePreferences(t){await this.consentManager.setPreference(t)}async promptForConsentIfNeeded(t){let n=await this.consentManager.getPreference();return n!==void 0?n:await this.consentManager.promptForConsent(t??"Help us improve Webflow CLI by sharing usage data and error reports?")}enrichEvent(t){return{...{eventType:t.eventType||"usage",timestamp:Date.now(),sessionId:this.sessionId,platform:this.platformInfo.platform,nodeVersion:this.platformInfo.nodeVersion,cliVersion:nt(),command:process.argv.slice(2).join(" ")||void 0,metadata:{...t.metadata,commandType:this.config.commandType,siteId:this.config.siteId,projectId:this.config.projectId,os:this.platformInfo.os,arch:this.platformInfo.arch}},...t}}sanitizeEvent(t){let n=JSON.parse(JSON.stringify(t));return n.message&&(n.message=Ge(n.message)),n.stack&&(n.stack=Ge(n.stack)),n.context&&(n.context=Ge(n.context)),n.metadata&&(n.metadata=bt(n.metadata)),n.data&&(n.data=bt(n.data)),n}async transmitEvent(t){let n=this.getEndpoint(),r=process.env.WEBFLOW_TELEMETRY_DEBUG==="true";if(r){console.log(`\u{1F4CA} [Telemetry] Sending to: ${n}`);let i={...t};i.metadata&&(delete i.metadata.authToken,delete i.metadata.apiToken),console.log("\u{1F4CA} [Telemetry] Payload:",JSON.stringify(i,null,2))}let o=await Ne(n,{method:"POST",headers:{Authorization:`Bearer ${this.config.authToken}`,"Content-Type":"application/json"},body:JSON.stringify(t),timeout:5e3});if(o.ok)r&&console.log(`\u{1F4CA} [Telemetry] Request successful: ${o.status}`);else throw r&&console.error(`\u{1F4CA} [Telemetry] Request failed: ${o.status} ${o.statusText}`),new Error(`Telemetry request failed: ${o.status} ${o.statusText}`)}getEndpoint(){let{host:t,commandType:n}=this.config;return`${t}/webflow-cli/${n}/telemetry`}static fromDevlinkConfig(t){return new e({host:t.host,authToken:t.authToken,siteId:t.siteId,commandType:"devlink",allowTelemetry:t.allowTelemetry})}static fromExportConfig(t){return new e({host:J,authToken:t.authToken,siteId:t.siteId,commandType:"devlink",allowTelemetry:t.allowTelemetry})}static forCloud(t){return new e({host:t.host,authToken:t.authToken,siteId:t.siteId,projectId:t.projectId,commandType:"cloud"})}static forExtension(t){return new e({host:t.host,authToken:t.authToken,siteId:t.siteId,commandType:"extension"})}static forCodeLibraries(t){return new e({host:t.host,authToken:t.authToken,commandType:"library"})}}});var Zu=S(()=>{"use strict"});function wo(e){return async(t,n)=>{try{await e.sendError(t,n)}catch(r){d.debug("Failed to send error telemetry:"+r)}}}function vo(e){return async(t,n,r)=>{let o=Date.now(),i=process.memoryUsage().heapUsed;try{let s=await n(),a=Date.now()-o,u=process.memoryUsage().heapUsed;return await e.sendPerformance(t,a,{memoryDelta:u-i,...r}),s}catch(s){let a=Date.now()-o;throw await e.sendPerformance(t,a,{failed:1,...r}),s}}}function Yu(e){return async(t,n,r)=>{let o=Date.now();try{let i=await n(),s=Date.now()-o;return await e.sendUsage(t,!0,s,r),i}catch(i){let s=Date.now()-o;throw await e.sendUsage(t,!1,s,{error:i instanceof Error?i.message:"Unknown error",...r}),i}}}var Rt=S(()=>{"use strict";V();Fs();vs();Zu();gr();Fs();gr()});var Es,Cs,Wy,ot,_s=S(()=>{"use strict";Es=Symbol("webflow-cli-warn"),Cs=class{warnings=[];originalConsoleWarn=null;isActive=!1;parseSource(t){let n=t.split(`
|
|
11
11
|
`);for(let r=2;r<n.length;r++){let o=n[r],i=o.match(/at .+? \((.+?):\d+:\d+\)/)||o.match(/at (.+?):\d+:\d+/);if(i){let s=i[1];if(s.includes("node_modules")){let a=s.match(/node_modules\/(@?[^/]+(?:\/[^/]+)?)/);return a?`External: ${a[1]}`:"External Dependencies"}else if(s.includes("webflow-cli"))return s.includes("/metadata/")?"Metadata Collection":s.includes("/bundler/")?"Bundling":s.includes("/commands/")?"CLI Commands":"Webflow CLI"}}return"General"}start(){this.isActive||(this.warnings=[],this.originalConsoleWarn=console.warn,this.isActive=!0,console.warn=(...t)=>{if(t.length>1&&t[t.length-1]===Es){let i=t.slice(0,-1);this.originalConsoleWarn&&this.originalConsoleWarn(...i);return}let n=t.map(i=>{if(typeof i=="string")return i;if(i instanceof Error)return i.message;try{return String(i)}catch{return"[Object]"}}).join(" "),r=new Error().stack||"",o=this.parseSource(r);this.warnings.push({message:n,timestamp:Date.now(),source:o,stackTrace:r})})}stop(){this.isActive&&(this.originalConsoleWarn&&(console.warn=this.originalConsoleWarn,this.originalConsoleWarn=null),this.isActive=!1)}displayGrouped(){if(this.warnings.length===0)return;console.log(`
|
|
12
12
|
\u26A0\uFE0F Warnings:
|
|
13
13
|
`);let t=this.warnings.reduce((n,r)=>{let o=r.source||"General";return n[o]||(n[o]=[]),n[o].push(r),n},{});Object.entries(t).forEach(([n,r])=>{n!=="General"&&console.log(` ${n}:`),r.forEach((o,i)=>{let s=n!=="General"?" ":" ",a=o.message||"[Empty warning message]";console.log(`${s}${i+1}. ${a}`)}),n!=="General"&&console.log("")}),t.General&&console.log("")}debug(){console.log(`
|
|
@@ -17,8 +17,8 @@ ${t}`,fy=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),my=Objec
|
|
|
17
17
|
`),vn.default.writeFileSync(Ku,wr.join(`
|
|
18
18
|
`)),(process.env.DEBUG||Ss||process.argv.includes("--verbose"))&&(console.info(`
|
|
19
19
|
Full log of this session: ${Ku}`),console.info(`
|
|
20
|
-
All logs: ${Fe}`))}catch(e){console.error("Failed to write logs:",e)}}var vn,ko,
|
|
21
|
-
${t instanceof Error?t.stack:t}`),console.error(Yy(n))},success:e=>console.log(Ky(e)),spinner:Xy}});async function cb(e){return(await import(process.platform==="win32"&&e?.match(/[a-zA-Z]:[\\\/]/)?(0,wc.pathToFileURL)(e).href:e)).default}function Dc(e,t){let n=t.filter(r=>!e[r]);if(n.length)throw new Ws(n.join(", "))}async function Fn(e=[],t=!1){if(!xc){if(t)return{};throw new Ao(it)}if(!st)throw new $s;switch(st){case"js":case"cjs":{await He.access(it);let n=await cb(it);return Dc(n,e),n}case"json":{let n=JSON.parse(await He.readFile(it,"utf8"));return Dc(n,e),n}default:throw new To}}function db(e,t){if(st==="js"||st==="cjs"){let r=new RegExp(`${t}: process.env.([\\w]+),`,"gi").exec(e);if(r)return r[1]}}function pb(e,t,n){let r=db(t,n);if(r){let o=new RegExp(`${n}: ".*?",`,"g");return e.replace(o,`${n}: process.env.${r},`)}return e}async function fb(e){let t=["authToken","host","siteId"],n=await He.readFile(it,"utf-8");for(let r of t)e=pb(e,n,r);return e}async function mb(){try{let e=Sr.join(zs,"package.json");return await He.access(e),JSON.parse(await He.readFile(e,"utf-8"))?.type==="module"}catch{return!1}}async function Fc(e){if(!xc)throw new Ao(it);let t=JSON.stringify(e,null,2);switch(st){case"js":case"cjs":{let n=await fb(t.replace(/"([^"]+)":/g,"$1:")),r=await mb()&&st==="js"?"export default ":"module.exports = ";return He.writeFile(it,r+n)}case"json":return He.writeFile(it,t);default:throw new To}}var Sr,He,Oo,wc,
|
|
20
|
+
All logs: ${Fe}`))}catch(e){console.error("Failed to write logs:",e)}}var vn,ko,l2,zy,Fe,Uy,Vy,Gy,Ku,wr,Ss,qy,Nt,kn,d,V=S(()=>{"use strict";vn=D(require("fs-extra")),ko=D(require("path")),l2=require("source-map-support/register");us();Su();Pu();Rt();_s();zy=ps("webflow-cli"),Fe=zy.log;Uy=Xu(process.env.MAX_PERSISTED_LOGS,50),Vy=Xu(process.env.MAX_IN_MEMORY_LOGS,1e3),Gy=`${pr(new Date().toISOString(),{replacement:"_"}).replace(/\./g,"_")}-debug.log`,Ku=ko.default.join(Fe,Gy);wr=[],Ss=!1,qy={reset:"\x1B[0m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m"},Nt=Object.entries(qy).reduce((e,[t,n])=>({...e,[t]:r=>`${n}${r}\x1B[0m`}),{});kn=!1;process.on("uncaughtException",e=>{kn||(kn=!0,Dt(`UNCAUGHT EXCEPTION: ${e?.stack}`),Ts()),ot.displayGrouped(),ot.stop(),process.exit(1)});process.on("unhandledRejection",e=>{kn||(kn=!0,Dt(`UNHANDLED REJECTION: ${e?.stack}`),Ts()),ot.displayGrouped(),ot.stop(),process.exit(1)});process.on("exit",()=>{kn||(kn=!0,Ts())});d={debug:e=>{let t=Hy(e);process.env.DEBUG&&console.debug(t)},dir:e=>console.dir(e,{depth:100}),info:e=>console.info(Jy(e)),warn:e=>console.warn(Zy(e),Es),error:(e,t)=>{let n=e;t!==void 0&&(n+=`
|
|
21
|
+
${t instanceof Error?t.stack:t}`),console.error(Yy(n))},success:e=>console.log(Ky(e)),spinner:Xy}});async function cb(e){return(await import(process.platform==="win32"&&e?.match(/[a-zA-Z]:[\\\/]/)?(0,wc.pathToFileURL)(e).href:e)).default}function Dc(e,t){let n=t.filter(r=>!e[r]);if(n.length)throw new Ws(n.join(", "))}async function Fn(e=[],t=!1){if(!xc){if(t)return{};throw new Ao(it)}if(!st)throw new $s;switch(st){case"js":case"cjs":{await He.access(it);let n=await cb(it);return Dc(n,e),n}case"json":{let n=JSON.parse(await He.readFile(it,"utf8"));return Dc(n,e),n}default:throw new To}}function db(e,t){if(st==="js"||st==="cjs"){let r=new RegExp(`${t}: process.env.([\\w]+),`,"gi").exec(e);if(r)return r[1]}}function pb(e,t,n){let r=db(t,n);if(r){let o=new RegExp(`${n}: ".*?",`,"g");return e.replace(o,`${n}: process.env.${r},`)}return e}async function fb(e){let t=["authToken","host","siteId"],n=await He.readFile(it,"utf-8");for(let r of t)e=pb(e,n,r);return e}async function mb(){try{let e=Sr.join(zs,"package.json");return await He.access(e),JSON.parse(await He.readFile(e,"utf-8"))?.type==="module"}catch{return!1}}async function Fc(e){if(!xc)throw new Ao(it);let t=JSON.stringify(e,null,2);switch(st){case"js":case"cjs":{let n=await fb(t.replace(/"([^"]+)":/g,"$1:")),r=await mb()&&st==="js"?"export default ":"module.exports = ";return He.writeFile(it,r+n)}case"json":return He.writeFile(it,t);default:throw new To}}var Sr,He,Oo,wc,iS,vc,zs,kc,st,it,xc,$s,To,Ao,Ws,Po=S(()=>{"use strict";Sr=D(require("path")),He=D(require("fs/promises")),Oo=D(require("fs")),wc=require("url"),iS=require("dotenv/config"),vc=["js","cjs","json"],zs=process.cwd(),kc=".webflowrc",st=Sr.extname(Oo.readdirSync(zs).find(e=>e.includes(kc))??"").replace(/\./g,""),it=Sr.join(zs,`${kc}${st&&`.${st}`}`),xc=Oo.existsSync(it),$s=class extends Error{constructor(){super(`Missing extension for .webflowrc file. The supported extensions are: ${vc.join(", ")}`)}},To=class extends Error{constructor(){super(`Unsupported extension for .webflowrc: ${st}. The supported extensions are: ${vc.join(", ")}`)}},Ao=class extends Error{constructor(t){let n=t.includes(".webflowrc"),r=t.includes("webflow.json"),o;n?o=`It seems like you don't have a .webflowrc file in your project (${t}). Make sure there is a .webflowrc file in your project root.`:r?o=`It seems like you don't have a webflow.json file in your project (${t}). Make sure there is a webflow.json file in your project root.`:o=`It seems like you don't have a config file in your project (${t}). Make sure there is a config file in your project root.`,super(o)}},Ws=class extends Error{constructor(t){super(`The following required fields are missing or undefined in your .webflowrc file: ${t}. If you're using process.env variables, make sure they're set up correctly.`)}}});async function Ro(e){let{authToken:t,siteId:n}=e||{},{path:r,isUserDefined:o}=tt(),i=Hc.existsSync(r),s=!1;try{let{manifest:a}=re();s=!0,o&&d.info(`Using manifest file: ${r}`);try{let u=mr(a,"devlink");if(!t||!n)throw new Error(`Missing Site ID or API token. Make sure you have WEBFLOW_SITE_API_TOKEN and WEBFLOW_SITE_ID set in your environment variables, or pass them as arguments --site and --api-token.
|
|
22
22
|
|
|
23
23
|
To set up your credentials, run:
|
|
24
24
|
webflow auth login`);return qc(u?.relativeHrefRoot),{...u,host:J,authToken:t,siteId:n,cssModules:!!u?.cssModules,components:Lo(u?.components),fileExtensions:{...Bo,...u.fileExtensions},...e}}catch(u){d.error(`Failed to read devlink config from manifest file: ${r}
|
|
@@ -42,10 +42,10 @@ in your project root.`:a.message;d.error(u),process.exit(1)}else throw a}}functi
|
|
|
42
42
|
`+sd({source:t,line:r,column:o},2)}})}function DD(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}function kD(e){return function(){return this[e]()}}function sa(e){let t=Object.create(null);for(let n in e){let r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function xD(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:sa(e.atrule),pseudo:sa(e.pseudo),node:sa(e.node)};for(let n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=kD(e.parseContext[n]);break}return{config:t,...t,...t.node}}function FD(e){let t="",n="<unknown>",r=!1,o=ld,i=!1,s=new gD,a=Object.assign(new bD,xD(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:DD,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===ud?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===ud||u===ia?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===wD||u===ia?1:0},consumeUntilSemicolonIncluded(u){return u===ia?2:0},createList(){return new oe},createSingleNodeList(u){return new oe().appendData(u)},getFirstListNode(u){return u&&u.first},getLastListNode(u){return u&&u.last},parseWithFallback(u,l){let c=this.tokenIndex;try{return u.call(this)}catch(p){if(i)throw p;let f=l.call(this,c);return i=!0,o(p,f),i=!1,f}},lookupNonWSType(u){let l;do if(l=this.lookupType(u++),l!==13)return l;while(l!==cd);return cd},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,l){return t.substring(u,l)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,l){return In(t,u,l)},cmpStr(u,l,c){return $r(t,u,l,c)},consume(u){let l=this.tokenStart;return this.eat(u),this.substrToCursor(l)},consumeFunctionName(){let u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),u},consumeNumber(u){let l=t.substring(this.tokenStart,ii(t,this.tokenStart));return this.eat(u),l},eat(u){if(this.tokenType!==u){let l=ep[u].slice(0,-6).replace(/-/g," ").replace(/^./,f=>f.toUpperCase()),c=`${/[[\](){}]/.test(l)?`"${l}"`:l} is expected`,p=this.tokenStart;switch(u){case 1:this.tokenType===2||this.tokenType===7?(p=this.tokenEnd-1,c="Identifier is expected but function found"):c="Identifier is expected";break;case 4:this.isDelim(vD)&&(this.next(),p++,c="Name is expected");break;case 11:this.tokenType===10&&(p=this.tokenEnd,c="Percent sign is expected");break}this.error(c,p)}this.next()},eatIdent(u){(this.tokenType!==1||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,l){return r?s.getLocationRange(u,l,n):null},getLocationFromList(u){if(r){let l=this.getFirstListNode(u),c=this.getLastListNode(u);return s.getLocationRange(l!==null?l.loc.start.offset-s.startOffset:this.tokenStart,c!==null?c.loc.end.offset-s.startOffset:this.tokenStart,n)}return null},error(u,l){let c=typeof l<"u"&&l<t.length?s.getLocation(l):this.eof?s.getLocation(mD(t,t.length-1)):s.getLocation(this.tokenStart);throw new ad(u||"Unexpected input",t,c.offset,c.line,c.column)}});return Object.assign(function(u,l){t=u,l=l||{},a.setSource(t,si),s.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=!!l.positions,o=typeof l.onParseError=="function"?l.onParseError:ld,i=!1,a.parseAtrulePrelude="parseAtrulePrelude"in l?!!l.parseAtrulePrelude:!0,a.parseRulePrelude="parseRulePrelude"in l?!!l.parseRulePrelude:!0,a.parseValue="parseValue"in l?!!l.parseValue:!0,a.parseCustomProperty="parseCustomProperty"in l?!!l.parseCustomProperty:!1;let{context:c="default",onComment:p}=l;if(!(c in a.context))throw new Error("Unknown context `"+c+"`");typeof p=="function"&&a.forEachToken((m,y,x)=>{if(m===25){let R=a.getLocation(y,x),A=$r(t,x-2,x,"*/")?t.slice(y+2,x-2):t.slice(y+2,x);p(A,R)}});let f=a.context[c].call(a,l);return a.eof||a.error(),f},{SyntaxError:ad,config:a.config})}function ED(e){let t=new CD.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},i={generated:o},s=1,a=0,u=!1,l=e.node;e.node=function(f){if(f.loc&&f.loc.start&&dd.has(f.type)){let m=f.loc.start.line,y=f.loc.start.column-1;(r.line!==m||r.column!==y)&&(r.line=m,r.column=y,n.line=s,n.column=a,u&&(u=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(i)),u=!0,t.addMapping({source:f.loc.source,original:r,generated:n}))}l.call(this,f),u&&dd.has(f.type)&&(o.line=s,o.column=a)};let c=e.emit;e.emit=function(f,m,y){for(let x=0;x<f.length;x++)f.charCodeAt(x)===10?(s++,a=0):a++;c(f,m,y)};let p=e.result;return e.result=function(){return u&&t.addMapping(i),{css:p(),map:t}},e}function np(e){let t=new Set(e.map(([n,r])=>aa(n)<<16|aa(r)));return function(n,r,o){let i=aa(r,o),s=o.charCodeAt(0);return(s===SD&&r!==1&&r!==2&&r!==15||s===_D?t.has(n<<16|s<<8):t.has(n<<16|i))&&this.emit(" ",13,!0),i}}function PD(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function ID(e){si(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function jD(e){let t=new Map;for(let n in e.node){let r=e.node[n];typeof(r.generate||r)=="function"&&t.set(n,r.generate||r)}return function(n,r){let o="",i=0,s={node(u){if(t.has(u.type))t.get(u.type).call(a,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:rp,token(u,l){i=this.tokenBefore(i,u,l),this.emit(l,u,!1),u===9&&l.charCodeAt(0)===OD&&this.emit(`
|
|
43
43
|
`,13,!0)},emit(u){o+=u},result(){return o}};r&&(typeof r.decorator=="function"&&(s=r.decorator(s)),r.sourceMap&&(s=ED(s)),r.mode in va&&(s.tokenBefore=va[r.mode]));let a={node:u=>s.node(u),children:PD,token:(u,l)=>s.token(u,l),tokenize:ID};return s.node(n),s.result()}}function BD(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof oe)&&(n.children=new oe().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof oe&&(n.children=n.children.toArray())}}),t}}}function pd(e){return typeof e=="function"?e:Ir}function fd(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function LD(e,t){let n=t.structure,r=[];for(let o in n){if(Wa.call(n,o)===!1)continue;let i=n[o],s={name:o,type:!1,nullable:!1};Array.isArray(i)||(i=[i]);for(let a of i)a===null?s.nullable=!0:typeof a=="string"?s.type="node":Array.isArray(a)&&(s.type="list");s.type&&r.push(s)}return r.length?{context:t.walkContext,fields:r}:null}function RD(e){let t={};for(let n in e.node)if(Wa.call(e.node,n)){let r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=LD(n,r)}return t}function md(e,t){let n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(i,s,a,u){let l;o&&(l=s[r],s[r]=i);for(let c of n){let p=i[c.name];if(!c.nullable||p){if(c.type==="list"){if(t?p.reduceRight(u,!1):p.reduce(u,!1))return!0}else if(a(p))return!0}}o&&(s[r]=l)}}function hd({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function ND(e){let t=RD(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(let l in t)Wa.call(t,l)&&t[l]!==null&&(n[l]=md(t[l],!1),r[l]=md(t[l],!0));let s=hd(n),a=hd(r),u=function(l,c){function p(A,W,C){let E=f.call(R,A,W,C);return E===o?!0:E===i?!1:!!(y.hasOwnProperty(A.type)&&y[A.type](A,R,p,x)||m.call(R,A,W,C)===o)}let f=Ir,m=Ir,y=n,x=(A,W,C,E)=>A||p(W,C,E),R={break:o,skip:i,root:l,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")f=c;else if(c&&(f=pd(c.enter),m=pd(c.leave),c.reverse&&(y=r),c.visit)){if(s.hasOwnProperty(c.visit))y=c.reverse?a[c.visit]:s[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");f=fd(f,c.visit),m=fd(m,c.visit)}if(f===Ir&&m===Ir)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");p(l)};return u.break=o,u.skip=i,u.find=function(l,c){let p=null;return u(l,function(f,m,y){if(c.call(this,f,m,y))return p=f,o}),p},u.findLast=function(l,c){let p=null;return u(l,{reverse:!0,enter(f,m,y){if(c.call(this,f,m,y))return p=f,o}}),p},u.findAll=function(l,c){let p=[];return u(l,function(f,m,y){c.call(this,f,m,y)&&p.push(f)}),p},u}function MD(e){return e}function $D(e){let{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function WD(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function zD(e,t,n,r){let o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",i=e.terms.map(s=>za(s,t,n,r)).join(o);return e.explicit||n?(r||i[0]===","?"[":"[ ")+i+(r?"]":" ]"):i}function za(e,t,n,r){let o;switch(e.type){case"Group":o=zD(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return za(e.term,t,n,r)+t($D(e),e);case"Type":o="<"+e.name+(e.opts?t(WD(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function li(e,t){let n=MD,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),za(e,n,r,o)}function UD(e,t){let n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,i=o!==t?o:null,s=0,a=0,u=0,l="",c,p;for(let f=0;f<n.length;f++){let m=n[f].value;f===r&&(a=m.length,s=l.length),i!==null&&n[f].node===i&&(f<=r?u++:u=0),l+=m}return r===n.length||u>1?(c=Wo(i||t,"end")||jr(gd,l),p=jr(c)):(c=Wo(i,"start")||jr(Wo(t,"start")||gd,l.slice(0,s)),p=Wo(i,"end")||jr(c,l.substr(s,a))),{css:l,mismatchOffset:s,mismatchLength:a,start:c,end:p}}function Wo(e,t){let n=e&&e.loc&&e.loc[t];return n?"line"in n?jr(n):n:null}function jr({offset:e,line:t,column:n},r){let o={offset:e,line:t,column:n};if(r){let i=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=i.length-1,o.column=i.length===1?o.column+r.length:i.pop().length+1}return o}function Ua(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===ei&&e.charCodeAt(t+1)===ei}function op(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===ei&&e.charCodeAt(t+1)!==ei){let n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function GD(e){if(zo.has(e))return zo.get(e);let t=e.toLowerCase(),n=zo.get(t);if(n===void 0){let r=Ua(t,0),o=r?"":op(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return zo.set(e,n),n}function qD(e){if(Sn.has(e))return Sn.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");let r=Ua(t,n.length);if(!r&&(t=t.toLowerCase(),Sn.has(t))){let a=Sn.get(t);return Sn.set(e,a),a}let o=r?"":op(t,n.length),i=t.substr(0,n.length+o.length),s=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:o,prefix:i,custom:r});return Sn.set(e,s),s}function ka(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Nr(e,t,n){for(;e!==null&&(e.type===13||e.type===25);)e=n(++t);return t}function xt(e,t,n,r){if(!e)return 0;let o=e.value.charCodeAt(t);if(o===Wr||o===Je){if(n)return 0;t++}for(;t<e.value.length;t++)if(!se(e.value.charCodeAt(t)))return 0;return r+1}function ca(e,t,n){let r=!1,o=Nr(e,t,n);if(e=n(o),e===null)return t;if(e.type!==10)if(ka(e,Wr)||ka(e,Je)){if(r=!0,o=Nr(n(++o),o,n),e=n(o),e===null||e.type!==10)return 0}else return t;if(!r){let i=e.value.charCodeAt(0);if(i!==Wr&&i!==Je)return 0}return xt(e,r?0:1,r,o)}function JD(e,t){let n=0;if(!e)return 0;if(e.type===10)return xt(e,0,HD,n);if(e.type===1&&e.value.charCodeAt(0)===Je){if(!In(e.value,1,ua))return 0;switch(e.value.length){case 2:return ca(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Je?0:(n=Nr(t(++n),n,t),e=t(n),xt(e,0,Tn,n));default:return e.value.charCodeAt(2)!==Je?0:xt(e,3,Tn,n)}}else if(e.type===1||ka(e,Wr)&&t(n+1).type===1){if(e.type!==1&&(e=t(++n)),e===null||!In(e.value,0,ua))return 0;switch(e.value.length){case 1:return ca(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Je?0:(n=Nr(t(++n),n,t),e=t(n),xt(e,0,Tn,n));default:return e.value.charCodeAt(1)!==Je?0:xt(e,2,Tn,n)}}else if(e.type===12){let r=e.value.charCodeAt(0),o=r===Wr||r===Je?1:0,i=o;for(;i<e.value.length&&se(e.value.charCodeAt(i));i++);return i===o||!In(e.value,i,ua)?0:i+1===e.value.length?ca(t(++n),n,t):e.value.charCodeAt(i+1)!==Je?0:i+2===e.value.length?(n=Nr(t(++n),n,t),e=t(n),xt(e,0,Tn,n)):xt(e,i+2,Tn,n)}return 0}function xa(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function KD(e,t){return e.value.charCodeAt(0)===t}function Br(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){let i=e.value.charCodeAt(o);if(i===sp&&n&&r!==0)return Br(e,t+r+1,!1),6;if(!Ft(i)||++r>6)return 0}return r}function Uo(e,t,n){if(!e)return 0;for(;xa(n(t),ap);){if(++e>6)return 0;t++}return t}function XD(e,t){let n=0;if(e===null||e.type!==1||!In(e.value,0,YD)||(e=t(++n),e===null))return 0;if(xa(e,ZD))return e=t(++n),e===null?0:e.type===1?Uo(Br(e,0,!0),++n,t):xa(e,ap)?Uo(1,++n,t):0;if(e.type===10){let r=Br(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===12||e.type===10?!KD(e,sp)||!Br(e,1,!1)?0:n+1:Uo(r,n,t))}return e.type===12?Uo(Br(e,1,!0),++n,t):0}function ze(e,t){return t<e.length?e.charCodeAt(t):0}function lp(e,t){return $r(e,0,e.length,t)}function up(e,t){for(let n=0;n<t.length;n++)if(lp(e,t[n]))return!0;return!1}function cp(e,t){return t!==e.length-2?!1:ze(e,t)===92&&se(ze(e,t+1))}function ui(e,t,n){if(e&&e.type==="Range"){let r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function e0(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case 2:case 21:case 19:case 23:r.push(n),n=Va.get(e.type);break}o++}while(e=t(o));return o}function _e(e){return function(t,n,r){return t===null?0:t.type===2&&up(t.value,QD)?e0(t,n):e(t,n,r)}}function Z(e){return function(t){return t===null||t.type!==e?0:1}}function t0(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return up(t,ip)||lp(t,"default")?0:1}function n0(e){return e===null||e.type!==1||ze(e.value,0)!==45||ze(e.value,1)!==45?0:1}function r0(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!Ft(ze(e.value,n)))return 0;return 1}function o0(e){return e===null||e.type!==4||!qo(ze(e.value,1),ze(e.value,2),ze(e.value,3))?0:1}function i0(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==n)break e;n=r.pop();break;case 17:if(n===0)break e;break;case 9:if(n===0&&e.value==="!")break e;break;case 2:case 21:case 19:case 23:r.push(n),n=Va.get(e.type);break}o++}while(e=t(o));return o}function s0(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==n)break e;n=r.pop();break;case 2:case 21:case 19:case 23:r.push(n),n=Va.get(e.type);break}o++}while(e=t(o));return o}function lt(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==12)return 0;let o=ii(t.value,0);if(e!==null){let i=t.value.indexOf("\\",o),s=i===-1||!cp(t.value,i)?t.value.substr(o):t.value.substring(o,i);if(e.has(s.toLowerCase())===!1)return 0}return ui(r,t.value,o)?0:1}}function a0(e,t,n){return e===null||e.type!==11||ui(n,e.value,e.value.length-1)?0:1}function dp(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,n,r)}}function l0(e,t,n){if(e===null)return 0;let r=ii(e.value,0);return r!==e.value.length&&!cp(e.value,r)||ui(n,e.value,r)?0:1}function u0(e,t,n){if(e===null||e.type!==10)return 0;let r=ze(e.value,0)===43||ze(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!se(ze(e.value,r)))return 0;return ui(n,e.value,r)?0:1}function p0(e){let{angle:t,decibel:n,frequency:r,flex:o,length:i,resolution:s,semitones:a,time:u}=e||{};return{dimension:_e(lt(null)),angle:_e(lt(t)),decibel:_e(lt(n)),frequency:_e(lt(r)),flex:_e(lt(o)),length:_e(dp(lt(i))),resolution:_e(lt(s)),semitones:_e(lt(a)),time:_e(lt(u))}}function f0(e){return{...c0,...d0,...p0(e)}}function pp(e,t,n){return Object.assign(ai("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
44
44
|
`+t+`
|
|
45
|
-
--`+new Array((n||t.length)+1).join("-")+"^"})}function ri(e){return e.substringToPos(e.findWsEnd(e.pos))}function jn(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n>=128||zr[n]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function oi(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function L0(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Fd(e){let t=null,n=null;return e.eat(ni),t=oi(e),e.charCode()===Ha?(e.pos++,e.charCode()!==vd&&(n=oi(e))):n=t,e.eat(vd),{min:Number(t),max:n?Number(n):0}}function R0(e){let t=null,n=!1;switch(e.charCode()){case hp:e.pos++,t={min:0,max:0};break;case qa:e.pos++,t={min:1,max:0};break;case Ca:e.pos++,t={min:0,max:1};break;case Ga:e.pos++,n=!0,e.charCode()===ni?t=Fd(e):e.charCode()===Ca?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case ni:t=Fd(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Bn(e,t){let n=R0(e);return n!==null?(n.term=t,e.charCode()===Ga&&e.charCodeAt(e.pos-1)===qa?Bn(e,n):n):t}function da(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function N0(e){let t;return e.eat(Ja),e.eat(ti),t=jn(e),e.eat(ti),e.eat(gp),Bn(e,{type:"Property",name:t})}function M0(e){let t=null,n=null,r=1;return e.eat(ci),e.charCode()===Dd&&(e.peek(),r=-1),r==-1&&e.charCode()===kd?e.peek():(t=r*Number(oi(e)),zr[e.charCode()]!==0&&(t+=jn(e))),ri(e),e.eat(Ha),ri(e),e.charCode()===kd?e.peek():(r=1,e.charCode()===Dd&&(e.peek(),r=-1),n=r*Number(oi(e)),zr[e.charCode()]!==0&&(n+=jn(e))),e.eat(Za),{type:"Range",min:t,max:n}}function $0(e){let t,n=null;return e.eat(Ja),t=jn(e),e.charCode()===mp&&e.nextCharCode()===j0&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===ci&&(ri(e),n=M0(e)),e.eat(gp),Bn(e,{type:"Type",name:t,opts:n})}function W0(e){let t=jn(e);return e.charCode()===mp?(e.pos++,{type:"Function",name:t}):Bn(e,{type:"Keyword",name:t})}function z0(e,t){function n(o,i){return{type:"Group",terms:o,combinator:i,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,i)=>xd[o]-xd[i]);t.length>0;){r=t.shift();let o=0,i=0;for(;o<e.length;o++){let s=e[o];s.type==="Combinator"&&(s.value===r?(i===-1&&(i=o-1),e.splice(o,1),o--):(i!==-1&&o-i>1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}i!==-1&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function yp(e){let t=[],n={},r,o=null,i=e.pos;for(;r=V0(e);)r.type!=="Spaces"&&(r.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=i,e.error("Unexpected combinator")),n[r.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(r),o=r,i=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:z0(t,n)||" ",disallowEmpty:!1,explicit:!1}}function U0(e){let t;return e.eat(ci),t=yp(e),e.eat(Za),t.explicit=!0,e.charCode()===fp&&(e.pos++,t.disallowEmpty=!0),t}function V0(e){let t=e.charCode();if(t<128&&zr[t]===1)return W0(e);switch(t){case Za:break;case ci:return Bn(e,U0(e));case Ja:return e.nextCharCode()===ti?N0(e):$0(e);case wd:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===wd?2:1))};case bd:return e.pos++,e.eat(bd),{type:"Combinator",value:"&&"};case Ha:return e.pos++,{type:"Comma"};case ti:return Bn(e,{type:"String",value:L0(e)});case I0:case T0:case A0:case P0:case O0:return{type:"Spaces",value:ri(e)};case B0:return t=e.nextCharCode(),t<128&&zr[t]===1?(e.pos++,{type:"AtKeyword",name:jn(e)}):da(e);case hp:case qa:case Ca:case Ga:case fp:break;case ni:if(t=e.nextCharCode(),t<48||t>57)return da(e);break;default:return da(e)}}function Ya(e){let t=new S0(e),n=yp(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}function Cd(e){return typeof e=="function"?e:Lr}function bp(e,t,n){function r(s){switch(o.call(n,s),s.type){case"Group":s.terms.forEach(r);break;case"Multiplier":r(s.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+s.type)}i.call(n,s)}let o=Lr,i=Lr;if(typeof t=="function"?o=t:t&&(o=Cd(t.enter),i=Cd(t.leave)),o===Lr&&i===Lr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e,n)}function q0(e){let t=[];return si(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function H0(e,t){return typeof e=="string"?q0(e):t.generate(e,G0)}function ue(e,t,n){return t===G&&n===q||e===G&&t===G&&n===G?e:(e.type==="If"&&e.else===q&&t===G&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Dp(e){return e.length>2&&e.charCodeAt(e.length-2)===J0&&e.charCodeAt(e.length-1)===Z0}function Ed(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&Dp(e.name)}function Ea(e,t,n){switch(e){case" ":{let r=G;for(let o=t.length-1;o>=0;o--){let i=t[o];r=ue(i,r,q)}return r}case"|":{let r=q,o=null;for(let i=t.length-1;i>=0;i--){let s=t[i];if(Ed(s)&&(o===null&&i>0&&Ed(t[i-1])&&(o=Object.create(null),r=ue({type:"Enum",map:o},G,r)),o!==null)){let a=(Dp(s.name)?s.name.slice(0,-1):s.name).toLowerCase();if(!(a in o)){o[a]=s;continue}}o=null,r=ue(s,G,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=q;for(let o=t.length-1;o>=0;o--){let i=t[o],s;t.length>1?s=Ea(e,t.filter(function(a){return a!==i}),!1):s=G,r=ue(i,s,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?G:q;for(let o=t.length-1;o>=0;o--){let i=t[o],s;t.length>1?s=Ea(e,t.filter(function(a){return a!==i}),!0):s=G,r=ue(i,s,r)}return r}}}function Y0(e){let t=G,n=Xa(e.term);if(e.max===0)n=ue(n,Ka,q),t=ue(n,null,q),t.then=ue(G,G,t),e.comma&&(t.then.else=ue({type:"Comma",syntax:e},t,q));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==G&&(t=ue({type:"Comma",syntax:e},t,q)),t=ue(n,ue(G,G,t),q);if(e.min===0)t=ue(G,G,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==G&&(t=ue({type:"Comma",syntax:e},t,q)),t=ue(n,t,q);return t}function Xa(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Ea(e.combinator,e.terms.map(Xa),!1);return e.disallowEmpty&&(t=ue(t,Ka,q)),t}case"Multiplier":return Y0(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function _a(e,t){return typeof e=="string"&&(e=Ya(e)),{type:"MatchGraph",match:Xa(e),syntax:t||null,source:e}}function nw(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function pa(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=t.charCodeAt(n),o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function rw(e){return e.type!==9?!1:e.value!=="?"}function Ad(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||rw(e)}function Od(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function ow(e,t,n){function r(){do W++,A=W<e.length?e[W]:null;while(A!==null&&(A.type===13||A.type===25))}function o(U){let M=W+U;return M<e.length?e[M]:null}function i(U,M){return{nextState:U,matchStack:E,syntaxStack:p,thenStack:f,tokenIndex:W,prev:M}}function s(U){f={nextState:U,matchStack:E,syntaxStack:p,prev:f}}function a(U){m=i(U,m)}function u(){E={type:X0,syntax:t.syntax,token:A,prev:E},r(),y=null,W>C&&(C=W)}function l(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},E={type:Sa,syntax:t.syntax,token:E.token,prev:E}}function c(){E.type===Sa?E=E.prev:E={type:wp,syntax:p.syntax,token:E.token,prev:E},p=p.prev}let p=null,f=null,m=null,y=null,x=0,R=null,A=null,W=-1,C=0,E={type:K0,syntax:null,token:null,prev:null};for(r();R===null&&++x<Td;)switch(t.type){case"Match":if(f===null){if(A!==null&&(W!==e.length-1||A.value!=="\\0"&&A.value!=="\\9")){t=q;break}R=Sd;break}if(t=f.nextState,t===Ka)if(f.matchStack===E){t=q;break}else t=G;for(;f.syntaxStack!==p;)c();f=f.prev;break;case"Mismatch":if(y!==null&&y!==!1)(m===null||W>m.tokenIndex)&&(m=y,y=!1);else if(m===null){R=Q0;break}t=m.nextState,f=m.thenStack,p=m.syntaxStack,E=m.matchStack,W=m.tokenIndex,A=W<e.length?e[W]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==q&&a(t.else),t.then!==G&&s(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let F=t.syntax.terms;if(t.index===F.length){if(t.mask===0||t.syntax.all){t=q;break}t=G;break}if(t.mask===(1<<F.length)-1){t=G;break}for(;t.index<F.length;t.index++){let h=1<<t.index;if((t.mask&h)===0){a(t),s({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|h}),t=F[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(A!==null){let F=A.value.toLowerCase();if(F.indexOf("\\")!==-1&&(F=F.replace(/\\[09].*$/,"")),_d.call(t.map,F)){t=t.map[F];break}}t=q;break;case"Generic":{let F=p!==null?p.opts:null,h=W+Math.floor(t.fn(A,o,F));if(!isNaN(h)&&h>W){for(;W<h;)u();t=G}else t=q;break}case"Type":case"Property":{let F=t.type==="Type"?"types":"properties",h=_d.call(n,F)?n[F][t.name]:null;if(!h||!h.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(y!==!1&&A!==null&&t.type==="Type"&&(t.name==="custom-ident"&&A.type===1||t.name==="length"&&A.value==="0")){y===null&&(y=i(t,m)),t=q;break}l(),t=h.match;break}case"Keyword":{let F=t.name;if(A!==null){let h=A.value;if(h.indexOf("\\")!==-1&&(h=h.replace(/\\[09].*$/,"")),pa(h,F)){u(),t=G;break}}t=q;break}case"AtKeyword":case"Function":if(A!==null&&pa(A.value,t.name)){u(),t=G;break}t=q;break;case"Token":if(A!==null&&A.value===t.value){u(),t=G;break}t=q;break;case"Comma":A!==null&&A.type===18?Ad(E.token)?t=q:(u(),t=Od(A)?q:G):t=Ad(E.token)||Od(A)?G:q;break;case"String":let U="",M=W;for(;M<e.length&&U.length<t.value.length;M++)U+=e[M].value;if(pa(U,t.value)){for(;W<M;)u();t=G}else t=q;break;default:throw new Error("Unknown node type: "+t.type)}switch(tw+=x,R){case null:console.warn("[csstree-match] BREAK after "+Td+" iterations"),R=ew,E=null;break;case Sd:for(;p!==null;)c();break;default:E=null}return{tokens:e,reason:R,iterations:x,match:E,longestMatch:C}}function Pd(e,t,n){let r=ow(e,t,n||{});if(r.match===null)return r;let o=r.match,i=r.match={syntax:t.syntax||null,match:[]},s=[i];for(o=nw(o).prev;o!==null;){switch(o.type){case Sa:i.match.push(i={syntax:o.syntax,match:[]}),s.push(i);break;case wp:s.pop(),i=s[s.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function kp(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let i=0;i<o.match.length;i++)if(n(o.match[i]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function iw(e,t){return Qa(this,e,n=>n.type==="Type"&&n.name===t)}function sw(e,t){return Qa(this,e,n=>n.type==="Property"&&n.name===t)}function aw(e){return Qa(this,e,t=>t.type==="Keyword")}function Qa(e,t,n){let r=kp.call(e,t);return r===null?!1:r.some(n)}function xp(e){return"node"in e?e.node:xp(e.match[0])}function Fp(e){return"node"in e?e.node:Fp(e.match[e.match.length-1])}function Id(e,t,n,r,o){function i(a){if(a.syntax!==null&&a.syntax.type===r&&a.syntax.name===o){let u=xp(a),l=Fp(a);e.syntax.walk(t,function(c,p,f){if(c===u){let m=new oe;do{if(m.appendData(p.data),p.data===l)break;p=p.next}while(p!==null);s.push({parent:f,nodes:m})}})}Array.isArray(a.match)&&a.match.forEach(i)}let s=[];return n.matched!==null&&i(n.matched),s}function fa(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function jd(e){return!!e&&fa(e.offset)&&fa(e.line)&&fa(e.column)}function lw(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let o in n){let i=!0;if(Mr.call(n,o)!==!1){if(o==="type")n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!jd(n.loc.start))o+=".start";else if(!jd(n.loc.end))o+=".end";else continue;i=!1}else if(t.hasOwnProperty(o)){i=!1;for(let s=0;!i&&s<t[o].length;s++){let a=t[o][s];switch(a){case String:i=typeof n[o]=="string";break;case Boolean:i=typeof n[o]=="boolean";break;case null:i=n[o]===null;break;default:typeof a=="string"?i=n[o]&&n[o].type===a:Array.isArray(a)&&(i=n[o]instanceof oe)}}}else r(n,"Unknown field `"+o+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+o+"`")}}for(let o in t)Mr.call(t,o)&&Mr.call(n,o)===!1&&r(n,"Field `"+e+"."+o+"` is missed")}}function uw(e,t){let n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(let i in n){if(Mr.call(n,i)===!1)continue;let s=[],a=r[i]=Array.isArray(n[i])?n[i].slice():[n[i]];for(let u=0;u<a.length;u++){let l=a[u];if(l===String||l===Boolean)s.push(l.name);else if(l===null)s.push("null");else if(typeof l=="string")s.push("<"+l+">");else if(Array.isArray(l))s.push("List");else throw new Error("Wrong value `"+l+"` in `"+e+"."+i+"` structure definition")}o[i]=s.join(" | ")}return{docs:o,check:lw(e,r)}}function cw(e){let t={};if(e.node){for(let n in e.node)if(Mr.call(e.node,n)){let r=e.node[n];if(r.structure)t[n]=uw(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function Ta(e,t,n){let r={};for(let o in e)e[o].syntax&&(r[o]=n?e[o].syntax:li(e[o].syntax,{compact:t}));return r}function pw(e,t,n){let r={};for(let[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:li(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&Ta(i.descriptors,t,n)};return r}function fw(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function $e(e,t,n){return{matched:e,iterations:n,error:t,...vp}}function An(e,t,n,r){let o=H0(n,e.syntax),i;return fw(o)?$e(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=Pd(o,e.cssWideKeywordsSyntax,e)),(!r||!i.match)&&(i=Pd(o,t.match,e),!i.match)?$e(null,new VD(i.reason,t.syntax,n,i),i.iterations):$e(i.match,null,i.iterations))}function ma(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Ld(e,t){let n=Object.create(null);for(let[r,o]of Object.entries(e))if(o){n[r]={};for(let i of Object.keys(o))t.includes(i)&&(n[r][i]=o[i])}return n}function Aa(e,t){let n={...e};for(let[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"units":n[r]={...e[r]};for(let[i,s]of Object.entries(o))n[r][i]=Array.isArray(s)?s:[];break;case"atrules":n[r]={...e[r]};for(let[i,s]of Object.entries(o)){let a=n[r][i]||{},u=n[r][i]={prelude:a.prelude||null,descriptors:{...a.descriptors}};if(s){u.prelude=s.prelude?ma(u.prelude,s.prelude):u.prelude||null;for(let[l,c]of Object.entries(s.descriptors||{}))u.descriptors[l]=c?ma(u.descriptors[l],c):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(let[i,s]of Object.entries(o))n[r][i]=ma(n[r][i],s);break;case"scope":n[r]={...e[r]};for(let[i,s]of Object.entries(o))n[r][i]={...n[r][i],...s};break;case"parseContext":n[r]={...e[r],...o};break;case"atrule":case"pseudo":n[r]={...e[r],...Ld(o,["parse"])};break;case"node":n[r]={...e[r],...Ld(o,["name","structure","parse","generate","walkContext"])};break}return n}function Cp(e){let t=FD(e),n=ND(e),r=jD(e),{fromPlainObject:o,toPlainObject:i}=BD(n),s={lexer:null,createLexer:a=>new Bd(a,s,s.lexer.structure),tokenize:si,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(a){let u=Aa({},e);return Cp(typeof a=="function"?a(u,Object.assign):Aa(u,a))}};return s.lexer=new Bd({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},s),s}function Zo(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===Ze||r===De)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)se(this.charCodeAt(n))||this.error("Integer is expected",n)}function On(e){return Zo.call(this,0,e)}function kt(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Jo:n="N is expected";break;case De:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function ha(){let e=0,t=0,n=this.tokenType;for(;n===13||n===25;)n=this.lookupType(++e);if(n!==10)if(this.isDelim(Ze,e)||this.isDelim(De,e)){t=this.isDelim(Ze,e)?Ze:De;do n=this.lookupType(++e);while(n===13||n===25);n!==10&&(this.skip(e),On.call(this,Gt))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Ze&&n!==De&&this.error("Number sign is expected")),On.call(this,t!==0),t===De?"-"+this.consume(10):this.consume(10)}function _p(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===10)On.call(this,gw),n=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,De))switch(t="-1",kt.call(this,1,Jo),this.tokenEnd-this.tokenStart){case 2:this.next(),n=ha.call(this);break;case 3:kt.call(this,2,De),this.next(),this.skipSC(),On.call(this,Gt),n="-"+this.consume(10);break;default:kt.call(this,2,De),Zo.call(this,3,Gt),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(Ze)&&this.lookupType(1)===1){let r=0;switch(t="1",this.isDelim(Ze)&&(r=1,this.next()),kt.call(this,0,Jo),this.tokenEnd-this.tokenStart){case 1:this.next(),n=ha.call(this);break;case 2:kt.call(this,1,De),this.next(),this.skipSC(),On.call(this,Gt),n="-"+this.consume(10);break;default:kt.call(this,1,De),Zo.call(this,2,Gt),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===12){let r=this.charCodeAt(this.tokenStart),o=r===Ze||r===De,i=this.tokenStart+o;for(;i<this.tokenEnd&&se(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),kt.call(this,i-this.tokenStart,Jo),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=ha.call(this)):(kt.call(this,i-this.tokenStart+1,De),i+2===this.tokenEnd?(this.next(),this.skipSC(),On.call(this,Gt),n="-"+this.consume(10)):(Zo.call(this,i-this.tokenStart+2,Gt),this.next(),n=this.substrToCursor(i+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Ze&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Ze&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Dw(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}function Rd(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function ww(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function Tp(e=!1){let t=this.tokenStart,n,r,o=null,i=null;switch(this.eat(3),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Rd):o=Rd.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?i=this.atrule[r].block.call(this,e):i=this.Block(ww.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}function Fw(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}function Op(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function Sw(e){this.children(e)}function Pw(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Ip)?(t=!0,this.next()):this.isDelim(Oa)||this.eat(1),this.isDelim(Oa)?this.charCodeAt(this.tokenStart+1)!==Yo?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Iw(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Yo&&t!==Ow&&t!==Aw&&t!==Tw&&t!==Ip&&t!==Oa&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Yo&&(this.isDelim(Yo)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function jp(){let e=this.tokenStart,t,n=null,r=null,o=null;return this.eat(19),this.skipSC(),t=Pw.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(n=Iw.call(this),this.skipSC(),r=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(o=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function Lw(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}function Lp(e){return this.Raw(e,null,!0)}function Nd(){return this.parseWithFallback(this.Rule,Lp)}function Md(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function Nw(){if(this.tokenType===17)return Md.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Md);return this.tokenType===17&&this.next(),e}function Rp(e){let t=e?Nw:Nd,n=this.tokenStart,r=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Lp));break;default:e&&this.isDelim(Rw)?r.push(Nd.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function zw(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}function Mp(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function Gw(e){this.token(9,"["),this.children(e),this.token(9,"]")}function Wp(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Jw(){this.token(15,"-->")}function Up(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Kw(){this.token(14,"<!--")}function Gp(){return this.eatDelim(Xw),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function tv(e){this.token(9,"."),this.token(1,e.name)}function Hp(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case rv:case nv:case ov:this.next();break;case $d:this.next(),this.eatIdent("deep"),this.eatDelim($d);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function av(e){this.tokenize(e.name)}function Zp(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===lv&&this.charCodeAt(t-1)===uv&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function pv(e){this.token(25,"/*"+e.value+"*/")}function bv(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function Dv(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function wv(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Kp)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function Xp(){let e=this.tokenStart,t=this.tokenIndex,n=Cv.call(this),r=Ua(n),o=r?this.parseCustomProperty:this.parseValue,i=r?Dv:bv,s=!1,a;this.skipSC(),this.eat(16);let u=this.tokenIndex;if(r||this.skipSC(),o?a=this.parseWithFallback(wv,i):a=i.call(this,this.tokenIndex),r&&a.type==="Value"&&a.children.isEmpty){for(let l=u-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===13){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Kp)&&(s=Ev.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function Fv(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function Cv(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case gv:case mv:case yv:case fv:case hv:this.next();break;case Wd:this.next(),this.isDelim(Wd)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function Ev(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}function ga(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function ef(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),ga));break;default:this.isDelim(_v)?e.push(this.parseWithFallback(this.Rule,ga)):e.push(this.parseWithFallback(this.Declaration,ga))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Av(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}function nf(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Iv(e){this.token(12,e.value+e.unit)}function of(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase(),i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}function Rv(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}function af(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Wv(e){this.token(4,"#"+e.value)}function uf(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Vv(e){this.token(1,e.name)}function df(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Hv(e){this.token(9,"#"+e.name)}function ff(){let e=this.tokenStart,t,n=null;if(this.eat(21),this.skipSC(),t=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(22),{type:"MediaFeature",loc:this.getLocation(e,this.tokenStart),name:t,value:n}}function Yv(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}function hf(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break e}e.push(t)}return t===null&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function Qv(e){this.children(e)}function yf(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function nk(e){this.children(e,()=>this.token(18,","))}function Df(){let e=this.tokenStart;return this.eatDelim(rk),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function sk(){this.token(9,"&")}function vf(){this.skipSC();let e=this.tokenStart,t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function uk(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}function xf(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function pk(e){this.token(10,e.value)}function Cf(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function hk(e){this.tokenize(e.value)}function _f(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function bk(e){this.token(21,"("),this.children(e),this.token(22,")")}function Tf(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function vk(e){this.token(11,e.value+"%")}function Of(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Ck(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}function If(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Tk(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}function zd(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);!se(n)&&n!==Ok&&this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return Number(e)===0&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}function Bf(){let e=this.tokenStart,t=zd.call(this),n;return this.skipSC(),this.eatDelim(Ak),n=zd.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function jk(e){this.token(10,e.left),this.token(9,"/"),this.token(10,e.right)}function Bk(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function Rf(e,t,n){let r=this.getTokenStart(e),o;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),n&&this.tokenStart>r?o=Bk.call(this):o=this.tokenStart,{type:"Raw",loc:this.getLocation(r,o),value:this.substring(r,o)}}function Nk(e){this.tokenize(e.value)}function Ud(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function Mk(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function Mf(){let e=this.tokenIndex,t=this.tokenStart,n,r;return this.parseRulePrelude?n=this.parseWithFallback(Mk,Ud):n=Ud.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Uk(e){this.node(e.prelude),this.node(e.block)}function Wf(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function qk(e){this.children(e)}function Uf(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Yk(e){this.children(e,()=>this.token(18,","))}function tl(e){let t=e.length,n=e.charCodeAt(0),r=n===Gf||n===qf?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,i="";for(let s=r;s<=o;s++){let a=e.charCodeAt(s);if(a===Pa){if(s===o){s!==t-1&&(i=e.substr(s+1));break}if(a=e.charCodeAt(++s),We(Pa,a)){let u=s-1,l=Ht(e,u);s=l-1,i+=$a(e.substring(u+1,l))}else a===13&&e.charCodeAt(s+1)===10&&s++}else i+=e[s]}return i}function Hf(e,t){let n=t?"'":'"',r=t?qf:Gf,o="",i=!1;for(let s=0;s<e.length;s++){let a=e.charCodeAt(s);if(a===0){o+="\uFFFD";continue}if(a<=31||a===127){o+="\\"+a.toString(16),i=!0;continue}a===r||a===Pa?(o+="\\"+e.charAt(s),i=!1):(i&&(Ft(a)||qt(a))&&(o+=" "),o+=e.charAt(s),i=!1)}return n+o+n}function Jf(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:tl(this.consume(5))}}function ex(e){this.token(5,Hf(e.value))}function Vd(e){return this.Raw(e,null,!1)}function Yf(){let e=this.tokenStart,t=this.createList(),n;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==tx){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case 15:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,Vd);break;default:n=this.parseWithFallback(this.Rule,Vd)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function ix(e){this.children(e)}function ya(){this.tokenType!==1&&this.isDelim(sx)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function Xf(){let e=this.tokenStart;return this.isDelim(Gd)?(this.next(),ya.call(this)):(ya.call(this),this.isDelim(Gd)&&(this.next(),ya.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ux(e){this.tokenize(e.name)}function Rr(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let o=this.charCodeAt(r);if(o===tm&&t&&n!==0)return Rr.call(this,e+n+1,!1),-1;Ft(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Vo(e){let t=0;for(;this.isDelim(Ia);)++t>e&&this.error("Too many question marks"),this.next()}function cx(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===em?"Plus sign":"Hyphen minus")+" is expected")}function dx(){let e=0;switch(this.tokenType){case 10:if(e=Rr.call(this,1,!0),this.isDelim(Ia)){Vo.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){cx.call(this,tm),Rr.call(this,1,!1);break}break;case 12:e=Rr.call(this,1,!0),e>0&&Vo.call(this,6-e);break;default:if(this.eatDelim(em),this.tokenType===1){e=Rr.call(this,0,!0),e>0&&Vo.call(this,6-e);break}if(this.isDelim(Ia)){this.next(),Vo.call(this,5);break}this.error("Hex digit or question mark is expected")}}function nm(){let e=this.tokenStart;return this.eatIdent("u"),dx.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function mx(e){this.tokenize(e.value)}function im(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===om?t-2:t-1,o="";for(;n<r&&qt(e.charCodeAt(n));)n++;for(;n<r&&qt(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let s=e.charCodeAt(i);if(s===ja){if(i===r){i!==t-1&&(o=e.substr(i+1));break}if(s=e.charCodeAt(++i),We(ja,s)){let a=i-1,u=Ht(e,a);i=u-1,o+=$a(e.substring(a+1,u))}else s===13&&e.charCodeAt(i+1)===10&&i++}else o+=e[i]}return o}function sm(e){let t="",n=!1;for(let r=0;r<e.length;r++){let o=e.charCodeAt(r);if(o===0){t+="\uFFFD";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===gx||o===ja||o===yx||o===bx||o===Dx||o===om?(t+="\\"+e.charAt(r),n=!1):(n&&Ft(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}function am(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=im(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=tl(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function kx(e){this.token(7,sm(e.value))}function um(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Cx(e){this.children(e)}function dm(){return this.eat(13),Ex}function Tx(e){this.token(13,e.value)}function fm(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,Bx)&&this.cmpChar(this.tokenStart+1,qd)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===jx||t===Px||t===qd||t===Ix)return this.Operator();t===Ox&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}function Gx(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function qx(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Hd&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case $x:case zx:case Vx:case Wx:return this.Combinator();case Hd:return this.ClassSelector();case Mx:case Ux:return this.TypeSelector();case Rx:return this.IdSelector();case Nx:return this.NestingSelector()}break}}}function Jx(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Zx(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===13){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Jd(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}function n1(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function r1(){return this.skipSC(),this.tokenType===1&&this.lookupNonWSType(1)===16?this.createSingleNodeList(this.Declaration()):mm.call(this)}function mm(){let e=this.createList(),t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 2:t=this.Function(n1,this.scope.AtrulePrelude);break;case 1:t=this.Identifier();break;case 21:t=this.Parentheses(r1,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}function d1(e){let t=e.length-1,n="";for(let r=0;r<e.length;r++){let o=e.charCodeAt(r);if(o===Yd){if(r===t)break;if(o=e.charCodeAt(++r),We(Yd,o)){let i=r-1,s=Ht(e,i);r=s-1,n+=$a(e.substring(i+1,s))}else o===13&&e.charCodeAt(r+1)===10&&r++}else n+=e[r]}return n}function p1(e){let t="";if(e.length===1&&e.charCodeAt(0)===45)return"\\-";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r===0){t+="\uFFFD";continue}if(r<=31||r===127||r>=48&&r<=57&&(n===0||n===1&&e.charCodeAt(0)===45)){t+="\\"+r.toString(16)+" ";continue}Na(r)?t+=e.charAt(n):t+="\\"+e.charAt(n)}return t}var Fb,Ba,Cb,Eb,_b,Sb,Ln,O,Tb,Ab,Ob,Pb,La,Ib,jb,Bb,Lb,Rb,Nb,Mb,$b,Wb,zb,Ub,Vb,Gb,qb,Hb,Jb,Zb,Yb,Kb,Xb,Qb,eD,tD,nD,rD,oD,iD,sD,aD,lD,Da,fD,Ho,Xd,Ma,Qd,ep,td,hD,nd,gD,Ee,vt,yD,bD,_n,oe,oa,od,id,ld,wD,vD,ia,ud,cd,CD,dd,va,_D,SD,aa,tp,TD,AD,rp,OD,Wa,Ir,gd,Pr,VD,zo,Sn,ei,la,yd,ip,Wr,Je,ua,Tn,HD,ZD,sp,ap,YD,QD,Va,c0,d0,Fa,m0,h0,g0,y0,b0,D0,w0,v0,k0,x0,F0,C0,E0,_0,S0,T0,A0,O0,P0,I0,fp,Ga,bd,ti,mp,j0,hp,qa,Ha,Dd,Ja,gp,Ca,B0,ci,Za,ni,wd,vd,kd,zr,xd,Lr,G0,G,q,Ka,J0,Z0,_d,K0,X0,Sa,wp,Sd,Q0,ew,Td,tw,vp,Mr,dw,Bd,mw,hw,el,Ep,Ze,De,Jo,Gt,gw,yw,bw,Sp,vw,kw,xw,Ap,Cw,Ew,_w,Pp,Tw,Ip,Yo,Aw,Oa,Ow,jw,Bw,Bp,Rw,Mw,$w,Ww,Np,Uw,Vw,$p,qw,Hw,zp,Zw,Yw,Vp,Xw,Qw,ev,qp,nv,$d,rv,ov,iv,sv,Jp,lv,uv,cv,dv,Yp,Kp,fv,mv,hv,gv,yv,Wd,vv,kv,xv,Qp,_v,Sv,Tv,tf,Ov,Pv,rf,jv,Bv,Lv,sf,Nv,Mv,$v,lf,zv,Uv,cf,Gv,qv,pf,Jv,Zv,mf,Kv,Xv,gf,ek,tk,bf,rk,ok,ik,wf,ak,lk,kf,ck,dk,Ff,fk,mk,Ef,gk,yk,Sf,Dk,wk,Af,kk,xk,Fk,Pf,Ek,_k,Sk,jf,Ak,Ok,Pk,Ik,Lf,Lk,Rk,Nf,$k,Wk,zk,$f,Vk,Gk,zf,Hk,Jk,Zk,Vf,Kk,Pa,Gf,qf,Xk,Qk,Zf,tx,nx,rx,ox,Kf,sx,Gd,ax,lx,Qf,em,tm,Ia,px,fx,rm,hx,gx,ja,yx,bx,Dx,om,wx,vx,lm,xx,Fx,cm,Ex,_x,Sx,Ax,pm,Ox,Px,qd,Ix,jx,Bx,Lx,Rx,Nx,Mx,$x,Wx,Hd,zx,Ux,Vx,Hx,Yx,Kx,Xx,Qx,e1,t1,o1,i1,Vt,ba,Zd,Go,s1,hm,a1,l1,u1,c1,Yd,jS,gm,ym,BS,LS,bm,RS,NS,MS,$S,WS,zS,Dm=S(()=>{"use strict";Fb=Object.create,Ba=Object.defineProperty,Cb=Object.getOwnPropertyDescriptor,Eb=Object.getOwnPropertyNames,_b=Object.getPrototypeOf,Sb=Object.prototype.hasOwnProperty,Ln=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),O=(e,t)=>{for(var n in t)Ba(e,n,{get:t[n],enumerable:!0})},Tb=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Eb(t))!Sb.call(e,o)&&o!==n&&Ba(e,o,{get:()=>t[o],enumerable:!(r=Cb(t,o))||r.enumerable});return e},Ab=(e,t,n)=>(n=e!=null?Fb(_b(e)):{},Tb(t||!e||!e.__esModule?Ba(n,"default",{value:e,enumerable:!0}):n,e)),Ob=Ln(e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<t.length)return t[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){var r=65,o=90,i=97,s=122,a=48,u=57,l=43,c=47,p=26,f=52;return r<=n&&n<=o?n-r:i<=n&&n<=s?n-i+p:a<=n&&n<=u?n-a+f:n==l?62:n==c?63:-1}}),Pb=Ln(e=>{var t=Ob(),n=5,r=1<<n,o=r-1,i=r;function s(u){return u<0?(-u<<1)+1:(u<<1)+0}function a(u){var l=(u&1)===1,c=u>>1;return l?-c:c}e.encode=function(u){var l="",c,p=s(u);do c=p&o,p>>>=n,p>0&&(c|=i),l+=t.encode(c);while(p>0);return l},e.decode=function(u,l,c){var p=u.length,f=0,m=0,y,x;do{if(l>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(x=t.decode(u.charCodeAt(l++)),x===-1)throw new Error("Invalid base64 digit: "+u.charAt(l-1));y=!!(x&i),x&=o,f=f+(x<<m),m+=n}while(y);c.value=a(f),c.rest=l}}),La=Ln(e=>{function t(h,g,P){if(g in h)return h[g];if(arguments.length===3)return P;throw new Error('"'+g+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(h){var g=h.match(n);return g?{scheme:g[1],auth:g[2],host:g[3],port:g[4],path:g[5]}:null}e.urlParse=o;function i(h){var g="";return h.scheme&&(g+=h.scheme+":"),g+="//",h.auth&&(g+=h.auth+"@"),h.host&&(g+=h.host),h.port&&(g+=":"+h.port),h.path&&(g+=h.path),g}e.urlGenerate=i;var s=32;function a(h){var g=[];return function(P){for(var v=0;v<g.length;v++)if(g[v].input===P){var ie=g[0];return g[0]=g[v],g[v]=ie,g[0].result}var Pe=h(P);return g.unshift({input:P,result:Pe}),g.length>s&&g.pop(),Pe}}var u=a(function(h){var g=h,P=o(h);if(P){if(!P.path)return h;g=P.path}for(var v=e.isAbsolute(g),ie=[],Pe=0,L=0;;)if(Pe=L,L=g.indexOf("/",Pe),L===-1){ie.push(g.slice(Pe));break}else for(ie.push(g.slice(Pe,L));L<g.length&&g[L]==="/";)L++;for(var Y,ht=0,L=ie.length-1;L>=0;L--)Y=ie[L],Y==="."?ie.splice(L,1):Y===".."?ht++:ht>0&&(Y===""?(ie.splice(L+1,ht),ht=0):(ie.splice(L,2),ht--));return g=ie.join("/"),g===""&&(g=v?"/":"."),P?(P.path=g,i(P)):g});e.normalize=u;function l(h,g){h===""&&(h="."),g===""&&(g=".");var P=o(g),v=o(h);if(v&&(h=v.path||"/"),P&&!P.scheme)return v&&(P.scheme=v.scheme),i(P);if(P||g.match(r))return g;if(v&&!v.host&&!v.path)return v.host=g,i(v);var ie=g.charAt(0)==="/"?g:u(h.replace(/\/+$/,"")+"/"+g);return v?(v.path=ie,i(v)):ie}e.join=l,e.isAbsolute=function(h){return h.charAt(0)==="/"||n.test(h)};function c(h,g){h===""&&(h="."),h=h.replace(/\/$/,"");for(var P=0;g.indexOf(h+"/")!==0;){var v=h.lastIndexOf("/");if(v<0||(h=h.slice(0,v),h.match(/^([^\/]+:\/)?\/*$/)))return g;++P}return Array(P+1).join("../")+g.substr(h.length+1)}e.relative=c;var p=function(){var h=Object.create(null);return!("__proto__"in h)}();function f(h){return h}function m(h){return x(h)?"$"+h:h}e.toSetString=p?f:m;function y(h){return x(h)?h.slice(1):h}e.fromSetString=p?f:y;function x(h){if(!h)return!1;var g=h.length;if(g<9||h.charCodeAt(g-1)!==95||h.charCodeAt(g-2)!==95||h.charCodeAt(g-3)!==111||h.charCodeAt(g-4)!==116||h.charCodeAt(g-5)!==111||h.charCodeAt(g-6)!==114||h.charCodeAt(g-7)!==112||h.charCodeAt(g-8)!==95||h.charCodeAt(g-9)!==95)return!1;for(var P=g-10;P>=0;P--)if(h.charCodeAt(P)!==36)return!1;return!0}function R(h,g,P){var v=E(h.source,g.source);return v!==0||(v=h.originalLine-g.originalLine,v!==0)||(v=h.originalColumn-g.originalColumn,v!==0||P)||(v=h.generatedColumn-g.generatedColumn,v!==0)||(v=h.generatedLine-g.generatedLine,v!==0)?v:E(h.name,g.name)}e.compareByOriginalPositions=R;function A(h,g,P){var v;return v=h.originalLine-g.originalLine,v!==0||(v=h.originalColumn-g.originalColumn,v!==0||P)||(v=h.generatedColumn-g.generatedColumn,v!==0)||(v=h.generatedLine-g.generatedLine,v!==0)?v:E(h.name,g.name)}e.compareByOriginalPositionsNoSource=A;function W(h,g,P){var v=h.generatedLine-g.generatedLine;return v!==0||(v=h.generatedColumn-g.generatedColumn,v!==0||P)||(v=E(h.source,g.source),v!==0)||(v=h.originalLine-g.originalLine,v!==0)||(v=h.originalColumn-g.originalColumn,v!==0)?v:E(h.name,g.name)}e.compareByGeneratedPositionsDeflated=W;function C(h,g,P){var v=h.generatedColumn-g.generatedColumn;return v!==0||P||(v=E(h.source,g.source),v!==0)||(v=h.originalLine-g.originalLine,v!==0)||(v=h.originalColumn-g.originalColumn,v!==0)?v:E(h.name,g.name)}e.compareByGeneratedPositionsDeflatedNoLine=C;function E(h,g){return h===g?0:h===null?1:g===null?-1:h>g?1:-1}function U(h,g){var P=h.generatedLine-g.generatedLine;return P!==0||(P=h.generatedColumn-g.generatedColumn,P!==0)||(P=E(h.source,g.source),P!==0)||(P=h.originalLine-g.originalLine,P!==0)||(P=h.originalColumn-g.originalColumn,P!==0)?P:E(h.name,g.name)}e.compareByGeneratedPositionsInflated=U;function M(h){return JSON.parse(h.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=M;function F(h,g,P){if(g=g||"",h&&(h[h.length-1]!=="/"&&g[0]!=="/"&&(h+="/"),g=h+g),P){var v=o(P);if(!v)throw new Error("sourceMapURL could not be parsed");if(v.path){var ie=v.path.lastIndexOf("/");ie>=0&&(v.path=v.path.substring(0,ie+1))}g=l(i(v),g)}return u(g)}e.computeSourceURL=F}),Ib=Ln(e=>{var t=La(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function o(){this._array=[],this._set=r?new Map:Object.create(null)}o.fromArray=function(i,s){for(var a=new o,u=0,l=i.length;u<l;u++)a.add(i[u],s);return a},o.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(i,s){var a=r?i:t.toSetString(i),u=r?this.has(i):n.call(this._set,a),l=this._array.length;(!u||s)&&this._array.push(i),u||(r?this._set.set(i,l):this._set[a]=l)},o.prototype.has=function(i){if(r)return this._set.has(i);var s=t.toSetString(i);return n.call(this._set,s)},o.prototype.indexOf=function(i){if(r){var s=this._set.get(i);if(s>=0)return s}else{var a=t.toSetString(i);if(n.call(this._set,a))return this._set[a]}throw new Error('"'+i+'" is not in the set.')},o.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},o.prototype.toArray=function(){return this._array.slice()},e.ArraySet=o}),jb=Ln(e=>{var t=La();function n(o,i){var s=o.generatedLine,a=i.generatedLine,u=o.generatedColumn,l=i.generatedColumn;return a>s||a==s&&l>=u||t.compareByGeneratedPositionsInflated(o,i)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(o,i){this._array.forEach(o,i)},r.prototype.add=function(o){n(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=r}),Bb=Ln(e=>{var t=Pb(),n=La(),r=Ib().ArraySet,o=jb().MappingList;function i(s){s||(s={}),this._file=n.getArg(s,"file",null),this._sourceRoot=n.getArg(s,"sourceRoot",null),this._skipValidation=n.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new o,this._sourcesContents=null}i.prototype._version=3,i.fromSourceMap=function(s){var a=s.sourceRoot,u=new i({file:s.file,sourceRoot:a});return s.eachMapping(function(l){var c={generated:{line:l.generatedLine,column:l.generatedColumn}};l.source!=null&&(c.source=l.source,a!=null&&(c.source=n.relative(a,c.source)),c.original={line:l.originalLine,column:l.originalColumn},l.name!=null&&(c.name=l.name)),u.addMapping(c)}),s.sources.forEach(function(l){var c=l;a!==null&&(c=n.relative(a,l)),u._sources.has(c)||u._sources.add(c);var p=s.sourceContentFor(l);p!=null&&u.setSourceContent(l,p)}),u},i.prototype.addMapping=function(s){var a=n.getArg(s,"generated"),u=n.getArg(s,"original",null),l=n.getArg(s,"source",null),c=n.getArg(s,"name",null);this._skipValidation||this._validateMapping(a,u,l,c),l!=null&&(l=String(l),this._sources.has(l)||this._sources.add(l)),c!=null&&(c=String(c),this._names.has(c)||this._names.add(c)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:l,name:c})},i.prototype.setSourceContent=function(s,a){var u=s;this._sourceRoot!=null&&(u=n.relative(this._sourceRoot,u)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(u)]=a):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(s,a,u){var l=a;if(a==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);l=s.file}var c=this._sourceRoot;c!=null&&(l=n.relative(c,l));var p=new r,f=new r;this._mappings.unsortedForEach(function(m){if(m.source===l&&m.originalLine!=null){var y=s.originalPositionFor({line:m.originalLine,column:m.originalColumn});y.source!=null&&(m.source=y.source,u!=null&&(m.source=n.join(u,m.source)),c!=null&&(m.source=n.relative(c,m.source)),m.originalLine=y.line,m.originalColumn=y.column,y.name!=null&&(m.name=y.name))}var x=m.source;x!=null&&!p.has(x)&&p.add(x);var R=m.name;R!=null&&!f.has(R)&&f.add(R)},this),this._sources=p,this._names=f,s.sources.forEach(function(m){var y=s.sourceContentFor(m);y!=null&&(u!=null&&(m=n.join(u,m)),c!=null&&(m=n.relative(c,m)),this.setSourceContent(m,y))},this)},i.prototype._validateMapping=function(s,a,u,l){if(a&&typeof a.line!="number"&&typeof a.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!a&&!u&&!l)){if(s&&"line"in s&&"column"in s&&a&&"line"in a&&"column"in a&&s.line>0&&s.column>=0&&a.line>0&&a.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:u,original:a,name:l}))}},i.prototype._serializeMappings=function(){for(var s=0,a=1,u=0,l=0,c=0,p=0,f="",m,y,x,R,A=this._mappings.toArray(),W=0,C=A.length;W<C;W++){if(y=A[W],m="",y.generatedLine!==a)for(s=0;y.generatedLine!==a;)m+=";",a++;else if(W>0){if(!n.compareByGeneratedPositionsInflated(y,A[W-1]))continue;m+=","}m+=t.encode(y.generatedColumn-s),s=y.generatedColumn,y.source!=null&&(R=this._sources.indexOf(y.source),m+=t.encode(R-p),p=R,m+=t.encode(y.originalLine-1-l),l=y.originalLine-1,m+=t.encode(y.originalColumn-u),u=y.originalColumn,y.name!=null&&(x=this._names.indexOf(y.name),m+=t.encode(x-c),c=x)),f+=m}return f},i.prototype._generateSourcesContent=function(s,a){return s.map(function(u){if(!this._sourcesContents)return null;a!=null&&(u=n.relative(a,u));var l=n.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,l)?this._sourcesContents[l]:null},this)},i.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=i}),Lb={};O(Lb,{AtKeyword:()=>$b,BadString:()=>Ub,BadUrl:()=>Gb,CDC:()=>Xb,CDO:()=>Kb,Colon:()=>Qb,Comma:()=>tD,Comment:()=>lD,Delim:()=>qb,Dimension:()=>Zb,EOF:()=>Rb,Function:()=>Mb,Hash:()=>Wb,Ident:()=>Nb,LeftCurlyBracket:()=>sD,LeftParenthesis:()=>oD,LeftSquareBracket:()=>nD,Number:()=>Hb,Percentage:()=>Jb,RightCurlyBracket:()=>aD,RightParenthesis:()=>iD,RightSquareBracket:()=>rD,Semicolon:()=>eD,String:()=>zb,Url:()=>Vb,WhiteSpace:()=>Yb});Rb=0,Nb=1,Mb=2,$b=3,Wb=4,zb=5,Ub=6,Vb=7,Gb=8,qb=9,Hb=10,Jb=11,Zb=12,Yb=13,Kb=14,Xb=15,Qb=16,eD=17,tD=18,nD=19,rD=20,oD=21,iD=22,sD=23,aD=24,lD=25;Da=new Array(128),fD=128,Ho=130,Xd=131,Ma=132,Qd=133;for(let e=0;e<Da.length;e++)Da[e]=qt(e)&&Ho||se(e)&&Xd||Ko(e)&&Ma||pD(e)&&Qd||e||fD;ep=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];td=10,hD=12,nd=13;gD=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(e,t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||rd(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||rd(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}},Ee=16777215,vt=24,yD=new Map([[2,22],[21,22],[19,20],[23,24]]),bD=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){e=String(e||"");let n=e.length,r=Qo(this.offsetAndType,e.length+1),o=Qo(this.balance,e.length+1),i=0,s=0,a=0,u=-1;for(this.offsetAndType=null,this.balance=null,t(e,(l,c,p)=>{switch(l){default:o[i]=n;break;case s:{let f=a&Ee;for(a=o[f],s=a>>vt,o[i]=f,o[f++]=i;f<i;f++)o[f]===n&&(o[f]=i);break}case 21:case 2:case 19:case 23:o[i]=a,s=yD.get(l),a=s<<vt|i;break}r[i++]=l<<vt|p,u===-1&&(u=c)}),r[i]=0<<vt|n,o[i]=n,o[n]=n;a!==0;){let l=a&Ee;a=o[l],o[l]=n}this.source=e,this.firstCharOffset=u===-1?0:u,this.tokenCount=i,this.offsetAndType=r,this.balance=o,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>vt:0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Ee:this.source.length}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?$r(this.source,this.offsetAndType[e-1]&Ee,this.offsetAndType[e]&Ee,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Ee:this.offsetAndType[this.tokenCount]&Ee:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&Ee,t=this.offsetAndType[t],this.tokenType=t>>vt,this.tokenEnd=t&Ee):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>vt,this.tokenEnd=e&Ee):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let n=e,r,o;e:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break e;switch(o=n>0?this.offsetAndType[n-1]&Ee:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.balance[r]===n&&(n=r)}}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){let r=n,o=this.offsetAndType[t],i=o&Ee,s=o>>vt;n=i,e(s,r,i,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:ep[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}};_n=null,oe=class{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return oe.createItem(e)}allocateCursor(e,t){let n;return _n!==null?(n=_n,_n=_n.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=_n,_n=e}updateCursors(e,t,n,r){let{cursor:o}=this;for(;o!==null;)o.prev===e&&(o.prev=t),o.next===n&&(o.next=r),o=o.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){let r=oe.createItem(n);t!==null?t.next=r:this.head=r,r.prev=t,t=r}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r=this.allocateCursor(null,this.head),o=t,i;for(;r.next!==null;)i=r.next,r.next=i.next,o=e.call(n,o,i.data,i,this);return this.releaseCursor(),o}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),o=t,i;for(;r.prev!==null;)i=r.prev,r.prev=i.prev,o=e.call(n,o,i.data,i,this);return this.releaseCursor(),o}some(e,t=this){for(let n=this.head;n!==null;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){let n=new oe;for(let r=this.head;r!==null;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){let n=new oe;for(let r=this.head;r!==null;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){let o=r.next;if(r.next=o.next,t.call(n,o.data,o,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){let o=r.prev;if(r.prev=o.prev,t.call(n,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let e=new oe;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),this.head!==null?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(oe.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(oe.createItem(e))}insert(e,t=null){if(t!==null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),this.tail!==null?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(oe.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(e.next!==null)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(oe.createItem(e))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(e){this.prepend(oe.createItem(e))}shift(){return this.head!==null?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t!=null?(this.updateCursors(t.prev,e.tail,t,e.head),t.prev!==null?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),this.tail!==null?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null,this)}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}};oa=100,od=60,id=" ";ld=()=>{},wD=33,vD=35,ia=59,ud=123,cd=0;CD=Ab(Bb(),1),dd=new Set(["Atrule","Selector","Declaration"]);va={};O(va,{safe:()=>rp,spec:()=>AD});_D=43,SD=45,aa=(e,t)=>{if(e===9&&(e=t),typeof e=="string"){let n=e.charCodeAt(0);return n>127?32768:n<<8}return e},tp=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],TD=tp.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);AD=np(tp),rp=np(TD),OD=92;({hasOwnProperty:Wa}=Object.prototype),Ir=function(){};gd={offset:0,line:1,column:1};Pr=function(e,t){let n=ai("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},VD=function(e,t,n,r){let o=ai("SyntaxMatchError",e),{css:i,mismatchOffset:s,mismatchLength:a,start:u,end:l}=UD(r,n);return o.rawMessage=e,o.syntax=t?li(t):"<generic>",o.css=i,o.mismatchOffset=s,o.mismatchLength=a,o.message=e+`
|
|
45
|
+
--`+new Array((n||t.length)+1).join("-")+"^"})}function ri(e){return e.substringToPos(e.findWsEnd(e.pos))}function jn(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n>=128||zr[n]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function oi(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function L0(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Fd(e){let t=null,n=null;return e.eat(ni),t=oi(e),e.charCode()===Ha?(e.pos++,e.charCode()!==vd&&(n=oi(e))):n=t,e.eat(vd),{min:Number(t),max:n?Number(n):0}}function R0(e){let t=null,n=!1;switch(e.charCode()){case hp:e.pos++,t={min:0,max:0};break;case qa:e.pos++,t={min:1,max:0};break;case Ca:e.pos++,t={min:0,max:1};break;case Ga:e.pos++,n=!0,e.charCode()===ni?t=Fd(e):e.charCode()===Ca?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case ni:t=Fd(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Bn(e,t){let n=R0(e);return n!==null?(n.term=t,e.charCode()===Ga&&e.charCodeAt(e.pos-1)===qa?Bn(e,n):n):t}function da(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function N0(e){let t;return e.eat(Ja),e.eat(ti),t=jn(e),e.eat(ti),e.eat(gp),Bn(e,{type:"Property",name:t})}function M0(e){let t=null,n=null,r=1;return e.eat(ci),e.charCode()===Dd&&(e.peek(),r=-1),r==-1&&e.charCode()===kd?e.peek():(t=r*Number(oi(e)),zr[e.charCode()]!==0&&(t+=jn(e))),ri(e),e.eat(Ha),ri(e),e.charCode()===kd?e.peek():(r=1,e.charCode()===Dd&&(e.peek(),r=-1),n=r*Number(oi(e)),zr[e.charCode()]!==0&&(n+=jn(e))),e.eat(Za),{type:"Range",min:t,max:n}}function $0(e){let t,n=null;return e.eat(Ja),t=jn(e),e.charCode()===mp&&e.nextCharCode()===j0&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===ci&&(ri(e),n=M0(e)),e.eat(gp),Bn(e,{type:"Type",name:t,opts:n})}function W0(e){let t=jn(e);return e.charCode()===mp?(e.pos++,{type:"Function",name:t}):Bn(e,{type:"Keyword",name:t})}function z0(e,t){function n(o,i){return{type:"Group",terms:o,combinator:i,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,i)=>xd[o]-xd[i]);t.length>0;){r=t.shift();let o=0,i=0;for(;o<e.length;o++){let s=e[o];s.type==="Combinator"&&(s.value===r?(i===-1&&(i=o-1),e.splice(o,1),o--):(i!==-1&&o-i>1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}i!==-1&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function yp(e){let t=[],n={},r,o=null,i=e.pos;for(;r=V0(e);)r.type!=="Spaces"&&(r.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=i,e.error("Unexpected combinator")),n[r.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(r),o=r,i=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:z0(t,n)||" ",disallowEmpty:!1,explicit:!1}}function U0(e){let t;return e.eat(ci),t=yp(e),e.eat(Za),t.explicit=!0,e.charCode()===fp&&(e.pos++,t.disallowEmpty=!0),t}function V0(e){let t=e.charCode();if(t<128&&zr[t]===1)return W0(e);switch(t){case Za:break;case ci:return Bn(e,U0(e));case Ja:return e.nextCharCode()===ti?N0(e):$0(e);case wd:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===wd?2:1))};case bd:return e.pos++,e.eat(bd),{type:"Combinator",value:"&&"};case Ha:return e.pos++,{type:"Comma"};case ti:return Bn(e,{type:"String",value:L0(e)});case I0:case T0:case A0:case P0:case O0:return{type:"Spaces",value:ri(e)};case B0:return t=e.nextCharCode(),t<128&&zr[t]===1?(e.pos++,{type:"AtKeyword",name:jn(e)}):da(e);case hp:case qa:case Ca:case Ga:case fp:break;case ni:if(t=e.nextCharCode(),t<48||t>57)return da(e);break;default:return da(e)}}function Ya(e){let t=new S0(e),n=yp(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}function Cd(e){return typeof e=="function"?e:Lr}function bp(e,t,n){function r(s){switch(o.call(n,s),s.type){case"Group":s.terms.forEach(r);break;case"Multiplier":r(s.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+s.type)}i.call(n,s)}let o=Lr,i=Lr;if(typeof t=="function"?o=t:t&&(o=Cd(t.enter),i=Cd(t.leave)),o===Lr&&i===Lr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e,n)}function q0(e){let t=[];return si(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function H0(e,t){return typeof e=="string"?q0(e):t.generate(e,G0)}function ue(e,t,n){return t===G&&n===q||e===G&&t===G&&n===G?e:(e.type==="If"&&e.else===q&&t===G&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Dp(e){return e.length>2&&e.charCodeAt(e.length-2)===J0&&e.charCodeAt(e.length-1)===Z0}function Ed(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&Dp(e.name)}function Ea(e,t,n){switch(e){case" ":{let r=G;for(let o=t.length-1;o>=0;o--){let i=t[o];r=ue(i,r,q)}return r}case"|":{let r=q,o=null;for(let i=t.length-1;i>=0;i--){let s=t[i];if(Ed(s)&&(o===null&&i>0&&Ed(t[i-1])&&(o=Object.create(null),r=ue({type:"Enum",map:o},G,r)),o!==null)){let a=(Dp(s.name)?s.name.slice(0,-1):s.name).toLowerCase();if(!(a in o)){o[a]=s;continue}}o=null,r=ue(s,G,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=q;for(let o=t.length-1;o>=0;o--){let i=t[o],s;t.length>1?s=Ea(e,t.filter(function(a){return a!==i}),!1):s=G,r=ue(i,s,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?G:q;for(let o=t.length-1;o>=0;o--){let i=t[o],s;t.length>1?s=Ea(e,t.filter(function(a){return a!==i}),!0):s=G,r=ue(i,s,r)}return r}}}function Y0(e){let t=G,n=Xa(e.term);if(e.max===0)n=ue(n,Ka,q),t=ue(n,null,q),t.then=ue(G,G,t),e.comma&&(t.then.else=ue({type:"Comma",syntax:e},t,q));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==G&&(t=ue({type:"Comma",syntax:e},t,q)),t=ue(n,ue(G,G,t),q);if(e.min===0)t=ue(G,G,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==G&&(t=ue({type:"Comma",syntax:e},t,q)),t=ue(n,t,q);return t}function Xa(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Ea(e.combinator,e.terms.map(Xa),!1);return e.disallowEmpty&&(t=ue(t,Ka,q)),t}case"Multiplier":return Y0(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function _a(e,t){return typeof e=="string"&&(e=Ya(e)),{type:"MatchGraph",match:Xa(e),syntax:t||null,source:e}}function nw(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function pa(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=t.charCodeAt(n),o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function rw(e){return e.type!==9?!1:e.value!=="?"}function Ad(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||rw(e)}function Od(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function ow(e,t,n){function r(){do W++,A=W<e.length?e[W]:null;while(A!==null&&(A.type===13||A.type===25))}function o(U){let M=W+U;return M<e.length?e[M]:null}function i(U,M){return{nextState:U,matchStack:E,syntaxStack:p,thenStack:f,tokenIndex:W,prev:M}}function s(U){f={nextState:U,matchStack:E,syntaxStack:p,prev:f}}function a(U){m=i(U,m)}function u(){E={type:X0,syntax:t.syntax,token:A,prev:E},r(),y=null,W>C&&(C=W)}function l(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},E={type:Sa,syntax:t.syntax,token:E.token,prev:E}}function c(){E.type===Sa?E=E.prev:E={type:wp,syntax:p.syntax,token:E.token,prev:E},p=p.prev}let p=null,f=null,m=null,y=null,x=0,R=null,A=null,W=-1,C=0,E={type:K0,syntax:null,token:null,prev:null};for(r();R===null&&++x<Td;)switch(t.type){case"Match":if(f===null){if(A!==null&&(W!==e.length-1||A.value!=="\\0"&&A.value!=="\\9")){t=q;break}R=Sd;break}if(t=f.nextState,t===Ka)if(f.matchStack===E){t=q;break}else t=G;for(;f.syntaxStack!==p;)c();f=f.prev;break;case"Mismatch":if(y!==null&&y!==!1)(m===null||W>m.tokenIndex)&&(m=y,y=!1);else if(m===null){R=Q0;break}t=m.nextState,f=m.thenStack,p=m.syntaxStack,E=m.matchStack,W=m.tokenIndex,A=W<e.length?e[W]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==q&&a(t.else),t.then!==G&&s(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let F=t.syntax.terms;if(t.index===F.length){if(t.mask===0||t.syntax.all){t=q;break}t=G;break}if(t.mask===(1<<F.length)-1){t=G;break}for(;t.index<F.length;t.index++){let h=1<<t.index;if((t.mask&h)===0){a(t),s({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|h}),t=F[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(A!==null){let F=A.value.toLowerCase();if(F.indexOf("\\")!==-1&&(F=F.replace(/\\[09].*$/,"")),_d.call(t.map,F)){t=t.map[F];break}}t=q;break;case"Generic":{let F=p!==null?p.opts:null,h=W+Math.floor(t.fn(A,o,F));if(!isNaN(h)&&h>W){for(;W<h;)u();t=G}else t=q;break}case"Type":case"Property":{let F=t.type==="Type"?"types":"properties",h=_d.call(n,F)?n[F][t.name]:null;if(!h||!h.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(y!==!1&&A!==null&&t.type==="Type"&&(t.name==="custom-ident"&&A.type===1||t.name==="length"&&A.value==="0")){y===null&&(y=i(t,m)),t=q;break}l(),t=h.match;break}case"Keyword":{let F=t.name;if(A!==null){let h=A.value;if(h.indexOf("\\")!==-1&&(h=h.replace(/\\[09].*$/,"")),pa(h,F)){u(),t=G;break}}t=q;break}case"AtKeyword":case"Function":if(A!==null&&pa(A.value,t.name)){u(),t=G;break}t=q;break;case"Token":if(A!==null&&A.value===t.value){u(),t=G;break}t=q;break;case"Comma":A!==null&&A.type===18?Ad(E.token)?t=q:(u(),t=Od(A)?q:G):t=Ad(E.token)||Od(A)?G:q;break;case"String":let U="",M=W;for(;M<e.length&&U.length<t.value.length;M++)U+=e[M].value;if(pa(U,t.value)){for(;W<M;)u();t=G}else t=q;break;default:throw new Error("Unknown node type: "+t.type)}switch(tw+=x,R){case null:console.warn("[csstree-match] BREAK after "+Td+" iterations"),R=ew,E=null;break;case Sd:for(;p!==null;)c();break;default:E=null}return{tokens:e,reason:R,iterations:x,match:E,longestMatch:C}}function Pd(e,t,n){let r=ow(e,t,n||{});if(r.match===null)return r;let o=r.match,i=r.match={syntax:t.syntax||null,match:[]},s=[i];for(o=nw(o).prev;o!==null;){switch(o.type){case Sa:i.match.push(i={syntax:o.syntax,match:[]}),s.push(i);break;case wp:s.pop(),i=s[s.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function kp(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let i=0;i<o.match.length;i++)if(n(o.match[i]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function iw(e,t){return Qa(this,e,n=>n.type==="Type"&&n.name===t)}function sw(e,t){return Qa(this,e,n=>n.type==="Property"&&n.name===t)}function aw(e){return Qa(this,e,t=>t.type==="Keyword")}function Qa(e,t,n){let r=kp.call(e,t);return r===null?!1:r.some(n)}function xp(e){return"node"in e?e.node:xp(e.match[0])}function Fp(e){return"node"in e?e.node:Fp(e.match[e.match.length-1])}function Id(e,t,n,r,o){function i(a){if(a.syntax!==null&&a.syntax.type===r&&a.syntax.name===o){let u=xp(a),l=Fp(a);e.syntax.walk(t,function(c,p,f){if(c===u){let m=new oe;do{if(m.appendData(p.data),p.data===l)break;p=p.next}while(p!==null);s.push({parent:f,nodes:m})}})}Array.isArray(a.match)&&a.match.forEach(i)}let s=[];return n.matched!==null&&i(n.matched),s}function fa(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function jd(e){return!!e&&fa(e.offset)&&fa(e.line)&&fa(e.column)}function lw(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let o in n){let i=!0;if(Mr.call(n,o)!==!1){if(o==="type")n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!jd(n.loc.start))o+=".start";else if(!jd(n.loc.end))o+=".end";else continue;i=!1}else if(t.hasOwnProperty(o)){i=!1;for(let s=0;!i&&s<t[o].length;s++){let a=t[o][s];switch(a){case String:i=typeof n[o]=="string";break;case Boolean:i=typeof n[o]=="boolean";break;case null:i=n[o]===null;break;default:typeof a=="string"?i=n[o]&&n[o].type===a:Array.isArray(a)&&(i=n[o]instanceof oe)}}}else r(n,"Unknown field `"+o+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+o+"`")}}for(let o in t)Mr.call(t,o)&&Mr.call(n,o)===!1&&r(n,"Field `"+e+"."+o+"` is missed")}}function uw(e,t){let n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(let i in n){if(Mr.call(n,i)===!1)continue;let s=[],a=r[i]=Array.isArray(n[i])?n[i].slice():[n[i]];for(let u=0;u<a.length;u++){let l=a[u];if(l===String||l===Boolean)s.push(l.name);else if(l===null)s.push("null");else if(typeof l=="string")s.push("<"+l+">");else if(Array.isArray(l))s.push("List");else throw new Error("Wrong value `"+l+"` in `"+e+"."+i+"` structure definition")}o[i]=s.join(" | ")}return{docs:o,check:lw(e,r)}}function cw(e){let t={};if(e.node){for(let n in e.node)if(Mr.call(e.node,n)){let r=e.node[n];if(r.structure)t[n]=uw(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function Ta(e,t,n){let r={};for(let o in e)e[o].syntax&&(r[o]=n?e[o].syntax:li(e[o].syntax,{compact:t}));return r}function pw(e,t,n){let r={};for(let[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:li(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&Ta(i.descriptors,t,n)};return r}function fw(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function $e(e,t,n){return{matched:e,iterations:n,error:t,...vp}}function An(e,t,n,r){let o=H0(n,e.syntax),i;return fw(o)?$e(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=Pd(o,e.cssWideKeywordsSyntax,e)),(!r||!i.match)&&(i=Pd(o,t.match,e),!i.match)?$e(null,new VD(i.reason,t.syntax,n,i),i.iterations):$e(i.match,null,i.iterations))}function ma(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Ld(e,t){let n=Object.create(null);for(let[r,o]of Object.entries(e))if(o){n[r]={};for(let i of Object.keys(o))t.includes(i)&&(n[r][i]=o[i])}return n}function Aa(e,t){let n={...e};for(let[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"units":n[r]={...e[r]};for(let[i,s]of Object.entries(o))n[r][i]=Array.isArray(s)?s:[];break;case"atrules":n[r]={...e[r]};for(let[i,s]of Object.entries(o)){let a=n[r][i]||{},u=n[r][i]={prelude:a.prelude||null,descriptors:{...a.descriptors}};if(s){u.prelude=s.prelude?ma(u.prelude,s.prelude):u.prelude||null;for(let[l,c]of Object.entries(s.descriptors||{}))u.descriptors[l]=c?ma(u.descriptors[l],c):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(let[i,s]of Object.entries(o))n[r][i]=ma(n[r][i],s);break;case"scope":n[r]={...e[r]};for(let[i,s]of Object.entries(o))n[r][i]={...n[r][i],...s};break;case"parseContext":n[r]={...e[r],...o};break;case"atrule":case"pseudo":n[r]={...e[r],...Ld(o,["parse"])};break;case"node":n[r]={...e[r],...Ld(o,["name","structure","parse","generate","walkContext"])};break}return n}function Cp(e){let t=FD(e),n=ND(e),r=jD(e),{fromPlainObject:o,toPlainObject:i}=BD(n),s={lexer:null,createLexer:a=>new Bd(a,s,s.lexer.structure),tokenize:si,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(a){let u=Aa({},e);return Cp(typeof a=="function"?a(u,Object.assign):Aa(u,a))}};return s.lexer=new Bd({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},s),s}function Zo(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===Ze||r===De)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)se(this.charCodeAt(n))||this.error("Integer is expected",n)}function On(e){return Zo.call(this,0,e)}function kt(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Jo:n="N is expected";break;case De:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function ha(){let e=0,t=0,n=this.tokenType;for(;n===13||n===25;)n=this.lookupType(++e);if(n!==10)if(this.isDelim(Ze,e)||this.isDelim(De,e)){t=this.isDelim(Ze,e)?Ze:De;do n=this.lookupType(++e);while(n===13||n===25);n!==10&&(this.skip(e),On.call(this,Gt))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Ze&&n!==De&&this.error("Number sign is expected")),On.call(this,t!==0),t===De?"-"+this.consume(10):this.consume(10)}function _p(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===10)On.call(this,gw),n=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,De))switch(t="-1",kt.call(this,1,Jo),this.tokenEnd-this.tokenStart){case 2:this.next(),n=ha.call(this);break;case 3:kt.call(this,2,De),this.next(),this.skipSC(),On.call(this,Gt),n="-"+this.consume(10);break;default:kt.call(this,2,De),Zo.call(this,3,Gt),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(Ze)&&this.lookupType(1)===1){let r=0;switch(t="1",this.isDelim(Ze)&&(r=1,this.next()),kt.call(this,0,Jo),this.tokenEnd-this.tokenStart){case 1:this.next(),n=ha.call(this);break;case 2:kt.call(this,1,De),this.next(),this.skipSC(),On.call(this,Gt),n="-"+this.consume(10);break;default:kt.call(this,1,De),Zo.call(this,2,Gt),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===12){let r=this.charCodeAt(this.tokenStart),o=r===Ze||r===De,i=this.tokenStart+o;for(;i<this.tokenEnd&&se(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),kt.call(this,i-this.tokenStart,Jo),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=ha.call(this)):(kt.call(this,i-this.tokenStart+1,De),i+2===this.tokenEnd?(this.next(),this.skipSC(),On.call(this,Gt),n="-"+this.consume(10)):(Zo.call(this,i-this.tokenStart+2,Gt),this.next(),n=this.substrToCursor(i+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Ze&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Ze&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Dw(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}function Rd(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function ww(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function Tp(e=!1){let t=this.tokenStart,n,r,o=null,i=null;switch(this.eat(3),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Rd):o=Rd.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?i=this.atrule[r].block.call(this,e):i=this.Block(ww.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}function Fw(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}function Op(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function Sw(e){this.children(e)}function Pw(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Ip)?(t=!0,this.next()):this.isDelim(Oa)||this.eat(1),this.isDelim(Oa)?this.charCodeAt(this.tokenStart+1)!==Yo?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Iw(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Yo&&t!==Ow&&t!==Aw&&t!==Tw&&t!==Ip&&t!==Oa&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Yo&&(this.isDelim(Yo)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function jp(){let e=this.tokenStart,t,n=null,r=null,o=null;return this.eat(19),this.skipSC(),t=Pw.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(n=Iw.call(this),this.skipSC(),r=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(o=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function Lw(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}function Lp(e){return this.Raw(e,null,!0)}function Nd(){return this.parseWithFallback(this.Rule,Lp)}function Md(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function Nw(){if(this.tokenType===17)return Md.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Md);return this.tokenType===17&&this.next(),e}function Rp(e){let t=e?Nw:Nd,n=this.tokenStart,r=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Lp));break;default:e&&this.isDelim(Rw)?r.push(Nd.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function zw(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}function Mp(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function Gw(e){this.token(9,"["),this.children(e),this.token(9,"]")}function Wp(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Jw(){this.token(15,"-->")}function Up(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Kw(){this.token(14,"<!--")}function Gp(){return this.eatDelim(Xw),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function tv(e){this.token(9,"."),this.token(1,e.name)}function Hp(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case rv:case nv:case ov:this.next();break;case $d:this.next(),this.eatIdent("deep"),this.eatDelim($d);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function av(e){this.tokenize(e.name)}function Zp(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===lv&&this.charCodeAt(t-1)===uv&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function pv(e){this.token(25,"/*"+e.value+"*/")}function bv(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function Dv(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function wv(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Kp)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function Xp(){let e=this.tokenStart,t=this.tokenIndex,n=Cv.call(this),r=Ua(n),o=r?this.parseCustomProperty:this.parseValue,i=r?Dv:bv,s=!1,a;this.skipSC(),this.eat(16);let u=this.tokenIndex;if(r||this.skipSC(),o?a=this.parseWithFallback(wv,i):a=i.call(this,this.tokenIndex),r&&a.type==="Value"&&a.children.isEmpty){for(let l=u-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===13){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Kp)&&(s=Ev.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function Fv(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function Cv(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case gv:case mv:case yv:case fv:case hv:this.next();break;case Wd:this.next(),this.isDelim(Wd)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function Ev(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}function ga(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function ef(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),ga));break;default:this.isDelim(_v)?e.push(this.parseWithFallback(this.Rule,ga)):e.push(this.parseWithFallback(this.Declaration,ga))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Av(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}function nf(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Iv(e){this.token(12,e.value+e.unit)}function of(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase(),i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}function Rv(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}function af(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Wv(e){this.token(4,"#"+e.value)}function uf(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Vv(e){this.token(1,e.name)}function df(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Hv(e){this.token(9,"#"+e.name)}function ff(){let e=this.tokenStart,t,n=null;if(this.eat(21),this.skipSC(),t=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(22),{type:"MediaFeature",loc:this.getLocation(e,this.tokenStart),name:t,value:n}}function Yv(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}function hf(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break e}e.push(t)}return t===null&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function Qv(e){this.children(e)}function yf(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function nk(e){this.children(e,()=>this.token(18,","))}function Df(){let e=this.tokenStart;return this.eatDelim(rk),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function sk(){this.token(9,"&")}function vf(){this.skipSC();let e=this.tokenStart,t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function uk(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}function xf(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function pk(e){this.token(10,e.value)}function Cf(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function hk(e){this.tokenize(e.value)}function _f(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function bk(e){this.token(21,"("),this.children(e),this.token(22,")")}function Tf(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function vk(e){this.token(11,e.value+"%")}function Of(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Ck(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}function If(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Tk(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}function zd(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);!se(n)&&n!==Ok&&this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return Number(e)===0&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}function Bf(){let e=this.tokenStart,t=zd.call(this),n;return this.skipSC(),this.eatDelim(Ak),n=zd.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function jk(e){this.token(10,e.left),this.token(9,"/"),this.token(10,e.right)}function Bk(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function Rf(e,t,n){let r=this.getTokenStart(e),o;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),n&&this.tokenStart>r?o=Bk.call(this):o=this.tokenStart,{type:"Raw",loc:this.getLocation(r,o),value:this.substring(r,o)}}function Nk(e){this.tokenize(e.value)}function Ud(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function Mk(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function Mf(){let e=this.tokenIndex,t=this.tokenStart,n,r;return this.parseRulePrelude?n=this.parseWithFallback(Mk,Ud):n=Ud.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Uk(e){this.node(e.prelude),this.node(e.block)}function Wf(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function qk(e){this.children(e)}function Uf(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Yk(e){this.children(e,()=>this.token(18,","))}function tl(e){let t=e.length,n=e.charCodeAt(0),r=n===Gf||n===qf?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,i="";for(let s=r;s<=o;s++){let a=e.charCodeAt(s);if(a===Pa){if(s===o){s!==t-1&&(i=e.substr(s+1));break}if(a=e.charCodeAt(++s),We(Pa,a)){let u=s-1,l=Ht(e,u);s=l-1,i+=$a(e.substring(u+1,l))}else a===13&&e.charCodeAt(s+1)===10&&s++}else i+=e[s]}return i}function Hf(e,t){let n=t?"'":'"',r=t?qf:Gf,o="",i=!1;for(let s=0;s<e.length;s++){let a=e.charCodeAt(s);if(a===0){o+="\uFFFD";continue}if(a<=31||a===127){o+="\\"+a.toString(16),i=!0;continue}a===r||a===Pa?(o+="\\"+e.charAt(s),i=!1):(i&&(Ft(a)||qt(a))&&(o+=" "),o+=e.charAt(s),i=!1)}return n+o+n}function Jf(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:tl(this.consume(5))}}function ex(e){this.token(5,Hf(e.value))}function Vd(e){return this.Raw(e,null,!1)}function Yf(){let e=this.tokenStart,t=this.createList(),n;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==tx){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case 15:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,Vd);break;default:n=this.parseWithFallback(this.Rule,Vd)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function ix(e){this.children(e)}function ya(){this.tokenType!==1&&this.isDelim(sx)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function Xf(){let e=this.tokenStart;return this.isDelim(Gd)?(this.next(),ya.call(this)):(ya.call(this),this.isDelim(Gd)&&(this.next(),ya.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ux(e){this.tokenize(e.name)}function Rr(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let o=this.charCodeAt(r);if(o===tm&&t&&n!==0)return Rr.call(this,e+n+1,!1),-1;Ft(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Vo(e){let t=0;for(;this.isDelim(Ia);)++t>e&&this.error("Too many question marks"),this.next()}function cx(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===em?"Plus sign":"Hyphen minus")+" is expected")}function dx(){let e=0;switch(this.tokenType){case 10:if(e=Rr.call(this,1,!0),this.isDelim(Ia)){Vo.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){cx.call(this,tm),Rr.call(this,1,!1);break}break;case 12:e=Rr.call(this,1,!0),e>0&&Vo.call(this,6-e);break;default:if(this.eatDelim(em),this.tokenType===1){e=Rr.call(this,0,!0),e>0&&Vo.call(this,6-e);break}if(this.isDelim(Ia)){this.next(),Vo.call(this,5);break}this.error("Hex digit or question mark is expected")}}function nm(){let e=this.tokenStart;return this.eatIdent("u"),dx.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function mx(e){this.tokenize(e.value)}function im(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===om?t-2:t-1,o="";for(;n<r&&qt(e.charCodeAt(n));)n++;for(;n<r&&qt(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let s=e.charCodeAt(i);if(s===ja){if(i===r){i!==t-1&&(o=e.substr(i+1));break}if(s=e.charCodeAt(++i),We(ja,s)){let a=i-1,u=Ht(e,a);i=u-1,o+=$a(e.substring(a+1,u))}else s===13&&e.charCodeAt(i+1)===10&&i++}else o+=e[i]}return o}function sm(e){let t="",n=!1;for(let r=0;r<e.length;r++){let o=e.charCodeAt(r);if(o===0){t+="\uFFFD";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===gx||o===ja||o===yx||o===bx||o===Dx||o===om?(t+="\\"+e.charAt(r),n=!1):(n&&Ft(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}function am(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=im(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=tl(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function kx(e){this.token(7,sm(e.value))}function um(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Cx(e){this.children(e)}function dm(){return this.eat(13),Ex}function Tx(e){this.token(13,e.value)}function fm(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,Bx)&&this.cmpChar(this.tokenStart+1,qd)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===jx||t===Px||t===qd||t===Ix)return this.Operator();t===Ox&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}function Gx(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function qx(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Hd&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case $x:case zx:case Vx:case Wx:return this.Combinator();case Hd:return this.ClassSelector();case Mx:case Ux:return this.TypeSelector();case Rx:return this.IdSelector();case Nx:return this.NestingSelector()}break}}}function Jx(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Zx(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===13){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Jd(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}function n1(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function r1(){return this.skipSC(),this.tokenType===1&&this.lookupNonWSType(1)===16?this.createSingleNodeList(this.Declaration()):mm.call(this)}function mm(){let e=this.createList(),t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 2:t=this.Function(n1,this.scope.AtrulePrelude);break;case 1:t=this.Identifier();break;case 21:t=this.Parentheses(r1,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}function d1(e){let t=e.length-1,n="";for(let r=0;r<e.length;r++){let o=e.charCodeAt(r);if(o===Yd){if(r===t)break;if(o=e.charCodeAt(++r),We(Yd,o)){let i=r-1,s=Ht(e,i);r=s-1,n+=$a(e.substring(i+1,s))}else o===13&&e.charCodeAt(r+1)===10&&r++}else n+=e[r]}return n}function p1(e){let t="";if(e.length===1&&e.charCodeAt(0)===45)return"\\-";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r===0){t+="\uFFFD";continue}if(r<=31||r===127||r>=48&&r<=57&&(n===0||n===1&&e.charCodeAt(0)===45)){t+="\\"+r.toString(16)+" ";continue}Na(r)?t+=e.charAt(n):t+="\\"+e.charAt(n)}return t}var Fb,Ba,Cb,Eb,_b,Sb,Ln,O,Tb,Ab,Ob,Pb,La,Ib,jb,Bb,Lb,Rb,Nb,Mb,$b,Wb,zb,Ub,Vb,Gb,qb,Hb,Jb,Zb,Yb,Kb,Xb,Qb,eD,tD,nD,rD,oD,iD,sD,aD,lD,Da,fD,Ho,Xd,Ma,Qd,ep,td,hD,nd,gD,Ee,vt,yD,bD,_n,oe,oa,od,id,ld,wD,vD,ia,ud,cd,CD,dd,va,_D,SD,aa,tp,TD,AD,rp,OD,Wa,Ir,gd,Pr,VD,zo,Sn,ei,la,yd,ip,Wr,Je,ua,Tn,HD,ZD,sp,ap,YD,QD,Va,c0,d0,Fa,m0,h0,g0,y0,b0,D0,w0,v0,k0,x0,F0,C0,E0,_0,S0,T0,A0,O0,P0,I0,fp,Ga,bd,ti,mp,j0,hp,qa,Ha,Dd,Ja,gp,Ca,B0,ci,Za,ni,wd,vd,kd,zr,xd,Lr,G0,G,q,Ka,J0,Z0,_d,K0,X0,Sa,wp,Sd,Q0,ew,Td,tw,vp,Mr,dw,Bd,mw,hw,el,Ep,Ze,De,Jo,Gt,gw,yw,bw,Sp,vw,kw,xw,Ap,Cw,Ew,_w,Pp,Tw,Ip,Yo,Aw,Oa,Ow,jw,Bw,Bp,Rw,Mw,$w,Ww,Np,Uw,Vw,$p,qw,Hw,zp,Zw,Yw,Vp,Xw,Qw,ev,qp,nv,$d,rv,ov,iv,sv,Jp,lv,uv,cv,dv,Yp,Kp,fv,mv,hv,gv,yv,Wd,vv,kv,xv,Qp,_v,Sv,Tv,tf,Ov,Pv,rf,jv,Bv,Lv,sf,Nv,Mv,$v,lf,zv,Uv,cf,Gv,qv,pf,Jv,Zv,mf,Kv,Xv,gf,ek,tk,bf,rk,ok,ik,wf,ak,lk,kf,ck,dk,Ff,fk,mk,Ef,gk,yk,Sf,Dk,wk,Af,kk,xk,Fk,Pf,Ek,_k,Sk,jf,Ak,Ok,Pk,Ik,Lf,Lk,Rk,Nf,$k,Wk,zk,$f,Vk,Gk,zf,Hk,Jk,Zk,Vf,Kk,Pa,Gf,qf,Xk,Qk,Zf,tx,nx,rx,ox,Kf,sx,Gd,ax,lx,Qf,em,tm,Ia,px,fx,rm,hx,gx,ja,yx,bx,Dx,om,wx,vx,lm,xx,Fx,cm,Ex,_x,Sx,Ax,pm,Ox,Px,qd,Ix,jx,Bx,Lx,Rx,Nx,Mx,$x,Wx,Hd,zx,Ux,Vx,Hx,Yx,Kx,Xx,Qx,e1,t1,o1,i1,Vt,ba,Zd,Go,s1,hm,a1,l1,u1,c1,Yd,BS,gm,ym,LS,RS,bm,NS,MS,$S,WS,zS,US,Dm=S(()=>{"use strict";Fb=Object.create,Ba=Object.defineProperty,Cb=Object.getOwnPropertyDescriptor,Eb=Object.getOwnPropertyNames,_b=Object.getPrototypeOf,Sb=Object.prototype.hasOwnProperty,Ln=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),O=(e,t)=>{for(var n in t)Ba(e,n,{get:t[n],enumerable:!0})},Tb=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Eb(t))!Sb.call(e,o)&&o!==n&&Ba(e,o,{get:()=>t[o],enumerable:!(r=Cb(t,o))||r.enumerable});return e},Ab=(e,t,n)=>(n=e!=null?Fb(_b(e)):{},Tb(t||!e||!e.__esModule?Ba(n,"default",{value:e,enumerable:!0}):n,e)),Ob=Ln(e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<t.length)return t[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){var r=65,o=90,i=97,s=122,a=48,u=57,l=43,c=47,p=26,f=52;return r<=n&&n<=o?n-r:i<=n&&n<=s?n-i+p:a<=n&&n<=u?n-a+f:n==l?62:n==c?63:-1}}),Pb=Ln(e=>{var t=Ob(),n=5,r=1<<n,o=r-1,i=r;function s(u){return u<0?(-u<<1)+1:(u<<1)+0}function a(u){var l=(u&1)===1,c=u>>1;return l?-c:c}e.encode=function(u){var l="",c,p=s(u);do c=p&o,p>>>=n,p>0&&(c|=i),l+=t.encode(c);while(p>0);return l},e.decode=function(u,l,c){var p=u.length,f=0,m=0,y,x;do{if(l>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(x=t.decode(u.charCodeAt(l++)),x===-1)throw new Error("Invalid base64 digit: "+u.charAt(l-1));y=!!(x&i),x&=o,f=f+(x<<m),m+=n}while(y);c.value=a(f),c.rest=l}}),La=Ln(e=>{function t(h,g,P){if(g in h)return h[g];if(arguments.length===3)return P;throw new Error('"'+g+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(h){var g=h.match(n);return g?{scheme:g[1],auth:g[2],host:g[3],port:g[4],path:g[5]}:null}e.urlParse=o;function i(h){var g="";return h.scheme&&(g+=h.scheme+":"),g+="//",h.auth&&(g+=h.auth+"@"),h.host&&(g+=h.host),h.port&&(g+=":"+h.port),h.path&&(g+=h.path),g}e.urlGenerate=i;var s=32;function a(h){var g=[];return function(P){for(var v=0;v<g.length;v++)if(g[v].input===P){var ie=g[0];return g[0]=g[v],g[v]=ie,g[0].result}var Pe=h(P);return g.unshift({input:P,result:Pe}),g.length>s&&g.pop(),Pe}}var u=a(function(h){var g=h,P=o(h);if(P){if(!P.path)return h;g=P.path}for(var v=e.isAbsolute(g),ie=[],Pe=0,L=0;;)if(Pe=L,L=g.indexOf("/",Pe),L===-1){ie.push(g.slice(Pe));break}else for(ie.push(g.slice(Pe,L));L<g.length&&g[L]==="/";)L++;for(var Y,ht=0,L=ie.length-1;L>=0;L--)Y=ie[L],Y==="."?ie.splice(L,1):Y===".."?ht++:ht>0&&(Y===""?(ie.splice(L+1,ht),ht=0):(ie.splice(L,2),ht--));return g=ie.join("/"),g===""&&(g=v?"/":"."),P?(P.path=g,i(P)):g});e.normalize=u;function l(h,g){h===""&&(h="."),g===""&&(g=".");var P=o(g),v=o(h);if(v&&(h=v.path||"/"),P&&!P.scheme)return v&&(P.scheme=v.scheme),i(P);if(P||g.match(r))return g;if(v&&!v.host&&!v.path)return v.host=g,i(v);var ie=g.charAt(0)==="/"?g:u(h.replace(/\/+$/,"")+"/"+g);return v?(v.path=ie,i(v)):ie}e.join=l,e.isAbsolute=function(h){return h.charAt(0)==="/"||n.test(h)};function c(h,g){h===""&&(h="."),h=h.replace(/\/$/,"");for(var P=0;g.indexOf(h+"/")!==0;){var v=h.lastIndexOf("/");if(v<0||(h=h.slice(0,v),h.match(/^([^\/]+:\/)?\/*$/)))return g;++P}return Array(P+1).join("../")+g.substr(h.length+1)}e.relative=c;var p=function(){var h=Object.create(null);return!("__proto__"in h)}();function f(h){return h}function m(h){return x(h)?"$"+h:h}e.toSetString=p?f:m;function y(h){return x(h)?h.slice(1):h}e.fromSetString=p?f:y;function x(h){if(!h)return!1;var g=h.length;if(g<9||h.charCodeAt(g-1)!==95||h.charCodeAt(g-2)!==95||h.charCodeAt(g-3)!==111||h.charCodeAt(g-4)!==116||h.charCodeAt(g-5)!==111||h.charCodeAt(g-6)!==114||h.charCodeAt(g-7)!==112||h.charCodeAt(g-8)!==95||h.charCodeAt(g-9)!==95)return!1;for(var P=g-10;P>=0;P--)if(h.charCodeAt(P)!==36)return!1;return!0}function R(h,g,P){var v=E(h.source,g.source);return v!==0||(v=h.originalLine-g.originalLine,v!==0)||(v=h.originalColumn-g.originalColumn,v!==0||P)||(v=h.generatedColumn-g.generatedColumn,v!==0)||(v=h.generatedLine-g.generatedLine,v!==0)?v:E(h.name,g.name)}e.compareByOriginalPositions=R;function A(h,g,P){var v;return v=h.originalLine-g.originalLine,v!==0||(v=h.originalColumn-g.originalColumn,v!==0||P)||(v=h.generatedColumn-g.generatedColumn,v!==0)||(v=h.generatedLine-g.generatedLine,v!==0)?v:E(h.name,g.name)}e.compareByOriginalPositionsNoSource=A;function W(h,g,P){var v=h.generatedLine-g.generatedLine;return v!==0||(v=h.generatedColumn-g.generatedColumn,v!==0||P)||(v=E(h.source,g.source),v!==0)||(v=h.originalLine-g.originalLine,v!==0)||(v=h.originalColumn-g.originalColumn,v!==0)?v:E(h.name,g.name)}e.compareByGeneratedPositionsDeflated=W;function C(h,g,P){var v=h.generatedColumn-g.generatedColumn;return v!==0||P||(v=E(h.source,g.source),v!==0)||(v=h.originalLine-g.originalLine,v!==0)||(v=h.originalColumn-g.originalColumn,v!==0)?v:E(h.name,g.name)}e.compareByGeneratedPositionsDeflatedNoLine=C;function E(h,g){return h===g?0:h===null?1:g===null?-1:h>g?1:-1}function U(h,g){var P=h.generatedLine-g.generatedLine;return P!==0||(P=h.generatedColumn-g.generatedColumn,P!==0)||(P=E(h.source,g.source),P!==0)||(P=h.originalLine-g.originalLine,P!==0)||(P=h.originalColumn-g.originalColumn,P!==0)?P:E(h.name,g.name)}e.compareByGeneratedPositionsInflated=U;function M(h){return JSON.parse(h.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=M;function F(h,g,P){if(g=g||"",h&&(h[h.length-1]!=="/"&&g[0]!=="/"&&(h+="/"),g=h+g),P){var v=o(P);if(!v)throw new Error("sourceMapURL could not be parsed");if(v.path){var ie=v.path.lastIndexOf("/");ie>=0&&(v.path=v.path.substring(0,ie+1))}g=l(i(v),g)}return u(g)}e.computeSourceURL=F}),Ib=Ln(e=>{var t=La(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function o(){this._array=[],this._set=r?new Map:Object.create(null)}o.fromArray=function(i,s){for(var a=new o,u=0,l=i.length;u<l;u++)a.add(i[u],s);return a},o.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(i,s){var a=r?i:t.toSetString(i),u=r?this.has(i):n.call(this._set,a),l=this._array.length;(!u||s)&&this._array.push(i),u||(r?this._set.set(i,l):this._set[a]=l)},o.prototype.has=function(i){if(r)return this._set.has(i);var s=t.toSetString(i);return n.call(this._set,s)},o.prototype.indexOf=function(i){if(r){var s=this._set.get(i);if(s>=0)return s}else{var a=t.toSetString(i);if(n.call(this._set,a))return this._set[a]}throw new Error('"'+i+'" is not in the set.')},o.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},o.prototype.toArray=function(){return this._array.slice()},e.ArraySet=o}),jb=Ln(e=>{var t=La();function n(o,i){var s=o.generatedLine,a=i.generatedLine,u=o.generatedColumn,l=i.generatedColumn;return a>s||a==s&&l>=u||t.compareByGeneratedPositionsInflated(o,i)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(o,i){this._array.forEach(o,i)},r.prototype.add=function(o){n(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=r}),Bb=Ln(e=>{var t=Pb(),n=La(),r=Ib().ArraySet,o=jb().MappingList;function i(s){s||(s={}),this._file=n.getArg(s,"file",null),this._sourceRoot=n.getArg(s,"sourceRoot",null),this._skipValidation=n.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new o,this._sourcesContents=null}i.prototype._version=3,i.fromSourceMap=function(s){var a=s.sourceRoot,u=new i({file:s.file,sourceRoot:a});return s.eachMapping(function(l){var c={generated:{line:l.generatedLine,column:l.generatedColumn}};l.source!=null&&(c.source=l.source,a!=null&&(c.source=n.relative(a,c.source)),c.original={line:l.originalLine,column:l.originalColumn},l.name!=null&&(c.name=l.name)),u.addMapping(c)}),s.sources.forEach(function(l){var c=l;a!==null&&(c=n.relative(a,l)),u._sources.has(c)||u._sources.add(c);var p=s.sourceContentFor(l);p!=null&&u.setSourceContent(l,p)}),u},i.prototype.addMapping=function(s){var a=n.getArg(s,"generated"),u=n.getArg(s,"original",null),l=n.getArg(s,"source",null),c=n.getArg(s,"name",null);this._skipValidation||this._validateMapping(a,u,l,c),l!=null&&(l=String(l),this._sources.has(l)||this._sources.add(l)),c!=null&&(c=String(c),this._names.has(c)||this._names.add(c)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:l,name:c})},i.prototype.setSourceContent=function(s,a){var u=s;this._sourceRoot!=null&&(u=n.relative(this._sourceRoot,u)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(u)]=a):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(s,a,u){var l=a;if(a==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);l=s.file}var c=this._sourceRoot;c!=null&&(l=n.relative(c,l));var p=new r,f=new r;this._mappings.unsortedForEach(function(m){if(m.source===l&&m.originalLine!=null){var y=s.originalPositionFor({line:m.originalLine,column:m.originalColumn});y.source!=null&&(m.source=y.source,u!=null&&(m.source=n.join(u,m.source)),c!=null&&(m.source=n.relative(c,m.source)),m.originalLine=y.line,m.originalColumn=y.column,y.name!=null&&(m.name=y.name))}var x=m.source;x!=null&&!p.has(x)&&p.add(x);var R=m.name;R!=null&&!f.has(R)&&f.add(R)},this),this._sources=p,this._names=f,s.sources.forEach(function(m){var y=s.sourceContentFor(m);y!=null&&(u!=null&&(m=n.join(u,m)),c!=null&&(m=n.relative(c,m)),this.setSourceContent(m,y))},this)},i.prototype._validateMapping=function(s,a,u,l){if(a&&typeof a.line!="number"&&typeof a.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!a&&!u&&!l)){if(s&&"line"in s&&"column"in s&&a&&"line"in a&&"column"in a&&s.line>0&&s.column>=0&&a.line>0&&a.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:u,original:a,name:l}))}},i.prototype._serializeMappings=function(){for(var s=0,a=1,u=0,l=0,c=0,p=0,f="",m,y,x,R,A=this._mappings.toArray(),W=0,C=A.length;W<C;W++){if(y=A[W],m="",y.generatedLine!==a)for(s=0;y.generatedLine!==a;)m+=";",a++;else if(W>0){if(!n.compareByGeneratedPositionsInflated(y,A[W-1]))continue;m+=","}m+=t.encode(y.generatedColumn-s),s=y.generatedColumn,y.source!=null&&(R=this._sources.indexOf(y.source),m+=t.encode(R-p),p=R,m+=t.encode(y.originalLine-1-l),l=y.originalLine-1,m+=t.encode(y.originalColumn-u),u=y.originalColumn,y.name!=null&&(x=this._names.indexOf(y.name),m+=t.encode(x-c),c=x)),f+=m}return f},i.prototype._generateSourcesContent=function(s,a){return s.map(function(u){if(!this._sourcesContents)return null;a!=null&&(u=n.relative(a,u));var l=n.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,l)?this._sourcesContents[l]:null},this)},i.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=i}),Lb={};O(Lb,{AtKeyword:()=>$b,BadString:()=>Ub,BadUrl:()=>Gb,CDC:()=>Xb,CDO:()=>Kb,Colon:()=>Qb,Comma:()=>tD,Comment:()=>lD,Delim:()=>qb,Dimension:()=>Zb,EOF:()=>Rb,Function:()=>Mb,Hash:()=>Wb,Ident:()=>Nb,LeftCurlyBracket:()=>sD,LeftParenthesis:()=>oD,LeftSquareBracket:()=>nD,Number:()=>Hb,Percentage:()=>Jb,RightCurlyBracket:()=>aD,RightParenthesis:()=>iD,RightSquareBracket:()=>rD,Semicolon:()=>eD,String:()=>zb,Url:()=>Vb,WhiteSpace:()=>Yb});Rb=0,Nb=1,Mb=2,$b=3,Wb=4,zb=5,Ub=6,Vb=7,Gb=8,qb=9,Hb=10,Jb=11,Zb=12,Yb=13,Kb=14,Xb=15,Qb=16,eD=17,tD=18,nD=19,rD=20,oD=21,iD=22,sD=23,aD=24,lD=25;Da=new Array(128),fD=128,Ho=130,Xd=131,Ma=132,Qd=133;for(let e=0;e<Da.length;e++)Da[e]=qt(e)&&Ho||se(e)&&Xd||Ko(e)&&Ma||pD(e)&&Qd||e||fD;ep=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];td=10,hD=12,nd=13;gD=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(e,t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||rd(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||rd(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}},Ee=16777215,vt=24,yD=new Map([[2,22],[21,22],[19,20],[23,24]]),bD=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){e=String(e||"");let n=e.length,r=Qo(this.offsetAndType,e.length+1),o=Qo(this.balance,e.length+1),i=0,s=0,a=0,u=-1;for(this.offsetAndType=null,this.balance=null,t(e,(l,c,p)=>{switch(l){default:o[i]=n;break;case s:{let f=a&Ee;for(a=o[f],s=a>>vt,o[i]=f,o[f++]=i;f<i;f++)o[f]===n&&(o[f]=i);break}case 21:case 2:case 19:case 23:o[i]=a,s=yD.get(l),a=s<<vt|i;break}r[i++]=l<<vt|p,u===-1&&(u=c)}),r[i]=0<<vt|n,o[i]=n,o[n]=n;a!==0;){let l=a&Ee;a=o[l],o[l]=n}this.source=e,this.firstCharOffset=u===-1?0:u,this.tokenCount=i,this.offsetAndType=r,this.balance=o,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>vt:0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Ee:this.source.length}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?$r(this.source,this.offsetAndType[e-1]&Ee,this.offsetAndType[e]&Ee,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Ee:this.offsetAndType[this.tokenCount]&Ee:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&Ee,t=this.offsetAndType[t],this.tokenType=t>>vt,this.tokenEnd=t&Ee):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>vt,this.tokenEnd=e&Ee):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let n=e,r,o;e:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break e;switch(o=n>0?this.offsetAndType[n-1]&Ee:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.balance[r]===n&&(n=r)}}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){let r=n,o=this.offsetAndType[t],i=o&Ee,s=o>>vt;n=i,e(s,r,i,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:ep[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}};_n=null,oe=class{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return oe.createItem(e)}allocateCursor(e,t){let n;return _n!==null?(n=_n,_n=_n.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=_n,_n=e}updateCursors(e,t,n,r){let{cursor:o}=this;for(;o!==null;)o.prev===e&&(o.prev=t),o.next===n&&(o.next=r),o=o.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){let r=oe.createItem(n);t!==null?t.next=r:this.head=r,r.prev=t,t=r}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r=this.allocateCursor(null,this.head),o=t,i;for(;r.next!==null;)i=r.next,r.next=i.next,o=e.call(n,o,i.data,i,this);return this.releaseCursor(),o}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),o=t,i;for(;r.prev!==null;)i=r.prev,r.prev=i.prev,o=e.call(n,o,i.data,i,this);return this.releaseCursor(),o}some(e,t=this){for(let n=this.head;n!==null;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){let n=new oe;for(let r=this.head;r!==null;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){let n=new oe;for(let r=this.head;r!==null;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){let o=r.next;if(r.next=o.next,t.call(n,o.data,o,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){let o=r.prev;if(r.prev=o.prev,t.call(n,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let e=new oe;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),this.head!==null?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(oe.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(oe.createItem(e))}insert(e,t=null){if(t!==null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),this.tail!==null?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(oe.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(e.next!==null)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(oe.createItem(e))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(e){this.prepend(oe.createItem(e))}shift(){return this.head!==null?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t!=null?(this.updateCursors(t.prev,e.tail,t,e.head),t.prev!==null?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),this.tail!==null?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null,this)}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}};oa=100,od=60,id=" ";ld=()=>{},wD=33,vD=35,ia=59,ud=123,cd=0;CD=Ab(Bb(),1),dd=new Set(["Atrule","Selector","Declaration"]);va={};O(va,{safe:()=>rp,spec:()=>AD});_D=43,SD=45,aa=(e,t)=>{if(e===9&&(e=t),typeof e=="string"){let n=e.charCodeAt(0);return n>127?32768:n<<8}return e},tp=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],TD=tp.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);AD=np(tp),rp=np(TD),OD=92;({hasOwnProperty:Wa}=Object.prototype),Ir=function(){};gd={offset:0,line:1,column:1};Pr=function(e,t){let n=ai("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},VD=function(e,t,n,r){let o=ai("SyntaxMatchError",e),{css:i,mismatchOffset:s,mismatchLength:a,start:u,end:l}=UD(r,n);return o.rawMessage=e,o.syntax=t?li(t):"<generic>",o.css=i,o.mismatchOffset=s,o.mismatchLength=a,o.message=e+`
|
|
46
46
|
syntax: `+o.syntax+`
|
|
47
47
|
value: `+(i||"<empty string>")+`
|
|
48
|
-
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:l},o},zo=new Map,Sn=new Map,ei=45,la=GD,yd=qD;ip=["initial","inherit","unset","revert","revert-layer"],Wr=43,Je=45,ua=110,Tn=!0,HD=!1;ZD=43,sp=45,ap=63,YD=117;QD=["calc(","-moz-calc(","-webkit-calc("],Va=new Map([[2,22],[21,22],[19,20],[23,24]]);c0={"ident-token":Z(1),"function-token":Z(2),"at-keyword-token":Z(3),"hash-token":Z(4),"string-token":Z(5),"bad-string-token":Z(6),"url-token":Z(7),"bad-url-token":Z(8),"delim-token":Z(9),"number-token":Z(10),"percentage-token":Z(11),"dimension-token":Z(12),"whitespace-token":Z(13),"CDO-token":Z(14),"CDC-token":Z(15),"colon-token":Z(16),"semicolon-token":Z(17),"comma-token":Z(18),"[-token":Z(19),"]-token":Z(20),"(-token":Z(21),")-token":Z(22),"{-token":Z(23),"}-token":Z(24)},d0={string:Z(5),ident:Z(1),percentage:_e(a0),zero:dp(),number:_e(l0),integer:_e(u0),"custom-ident":t0,"custom-property-name":n0,"hex-color":r0,"id-selector":o0,"an-plus-b":JD,urange:XD,"declaration-value":i0,"any-value":s0};Fa={};O(Fa,{angle:()=>h0,decibel:()=>w0,flex:()=>D0,frequency:()=>y0,length:()=>m0,resolution:()=>b0,semitones:()=>v0,time:()=>g0});m0=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],h0=["deg","grad","rad","turn"],g0=["s","ms"],y0=["hz","khz"],b0=["dpi","dpcm","dppx","x"],D0=["fr"],w0=["db"],v0=["st"],k0={};O(k0,{SyntaxError:()=>pp,generate:()=>li,parse:()=>Ya,walk:()=>bp});x0=9,F0=10,C0=12,E0=13,_0=32,S0=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==E0&&t!==F0&&t!==C0&&t!==_0&&t!==x0)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new pp(e,this.str,this.pos)}},T0=9,A0=10,O0=12,P0=13,I0=32,fp=33,Ga=35,bd=38,ti=39,mp=40,j0=41,hp=42,qa=43,Ha=44,Dd=45,Ja=60,gp=62,Ca=63,B0=64,ci=91,Za=93,ni=123,wd=124,vd=125,kd=8734,zr=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),xd={" ":1,"&&":2,"||":3,"|":4};Lr=function(){};G0={decorator(e){let t=[],n=null;return{...e,node(r){let o=n;n=r,e.node.call(this,r),n=o},emit(r,o,i){t.push({type:o,value:r,node:i?null:n})},result(){return t}}}};G={type:"Match"},q={type:"Mismatch"},Ka={type:"DisallowEmpty"},J0=40,Z0=41;({hasOwnProperty:_d}=Object.prototype),K0=0,X0=1,Sa=2,wp=3,Sd="Match",Q0="Mismatch",ew="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Td=15e3,tw=0;vp={};O(vp,{getTrace:()=>kp,isKeyword:()=>aw,isProperty:()=>sw,isType:()=>iw});({hasOwnProperty:Mr}=Object.prototype);dw=_a(ip.join(" | "));Bd=class{constructor(e,t,n){if(this.cssWideKeywordsSyntax=dw,this.syntax=t,this.generic=!1,this.units={...Fa},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||cw(e),e){if(e.units)for(let r of Object.keys(Fa))Array.isArray(e.units[r])&&(this.units[r]=e.units[r]);if(e.types)for(let r in e.types)this.addType_(r,e.types[r]);if(e.generic){this.generic=!0;for(let[r,o]of Object.entries(f0(this.units)))this.addType_(r,o)}if(e.atrules)for(let r in e.atrules)this.addAtrule_(r,e.atrules[r]);if(e.properties)for(let r in e.properties)this.addProperty_(r,e.properties[r])}}checkStructure(e){function t(o,i){r.push({node:o,message:i})}let n=this.structure,r=[];return this.syntax.walk(e,function(o){n.hasOwnProperty(o.type)?n[o.type].check(o,t):t(o,"Unknown node type `"+o.type+"`")}),r.length?r:!1}createDescriptor(e,t,n,r=null){let o={type:t,name:n},i={type:t,name:n,parent:r,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null};return typeof e=="function"?i.match=_a(e,o):(typeof e=="string"?Object.defineProperty(i,"syntax",{get(){return Object.defineProperty(i,"syntax",{value:Ya(e)}),i.syntax}}):i.syntax=e,Object.defineProperty(i,"match",{get(){return Object.defineProperty(i,"match",{value:_a(i.syntax,o)}),i.match}})),i}addAtrule_(e,t){!t||(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n),Object.create(null)):null})}addProperty_(e,t){!t||(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){!t||(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Pr("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);if(!r.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(r.prelude&&!t&&!An(this,r.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e),o=la(t);if(!r.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!r.descriptors[o.name]&&!r.descriptors[o.basename])return new Pr("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Pr("Unknown property",e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return $e(null,n);let r=this.getAtrule(e);return r.prelude?An(this,r.prelude,t||"",!1):$e(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return $e(null,r);let o=this.getAtrule(e),i=la(t);return An(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return e.type!=="Declaration"?$e(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(yd(e).custom)return $e(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(e);return n?$e(null,n):An(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?An(this,n,t,!1):$e(null,new Pr("Unknown type",e))}match(e,t){return typeof e!="string"&&(!e||!e.type)?$e(null,new Pr("Bad syntax")):((typeof e=="string"||!e.match)&&(e=this.createDescriptor(e,"Type","anonymous")),An(this,e,t,!1))}findValueFragments(e,t,n,r){return Id(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Id(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){let r=[];return this.syntax.walk(e,{visit:"Declaration",enter:o=>{r.push.apply(r,this.findDeclarationValueFragments(o,t,n))}}),r}getAtrule(e,t=!0){let n=la(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){let n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){let n=yd(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(r,o,i,s){if(i.has(o))return i.get(o);i.set(o,!1),s.syntax!==null&&bp(s.syntax,function(a){if(a.type!=="Type"&&a.type!=="Property")return;let u=a.type==="Type"?r.types:r.properties,l=a.type==="Type"?t:n;(!hasOwnProperty.call(u,a.name)||e(r,a.name,l,u[a.name]))&&i.set(o,!0)},this)}let t=new Map,n=new Map;for(let r in this.types)e(this,r,t,this.types[r]);for(let r in this.properties)e(this,r,n,this.properties[r]);return t=[...t.keys()].filter(r=>t.get(r)),n=[...n.keys()].filter(r=>n.get(r)),t.length||n.length?{types:t,properties:n}:null}dump(e,t){return{generic:this.generic,units:this.units,types:Ta(this.types,!t,e),properties:Ta(this.properties,!t,e),atrules:pw(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};mw=e=>Cp(Aa({},e)),hw={generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,\u221E]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,\u221E]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,\u221E]> [/ <number [0,\u221E]>]?","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>|scroll( <axis>? <scroller>? )","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",right:"<length>|auto","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221E]>","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[none|<length>|auto <length>]{1,2}","contain-intrinsic-block-size":"none|<length>|auto <length>","contain-intrinsic-height":"none|<length>|auto <length>","contain-intrinsic-inline-size":"none|<length>|auto <length>","contain-intrinsic-width":"none|<length>|auto <length>",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221E]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"<scroll-timeline-name>||<scroll-timeline-axis>","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}}},el={};O(el,{AnPlusB:()=>Ep,Atrule:()=>Sp,AtrulePrelude:()=>Ap,AttributeSelector:()=>Pp,Block:()=>Bp,Brackets:()=>Np,CDC:()=>$p,CDO:()=>zp,ClassSelector:()=>Vp,Combinator:()=>qp,Comment:()=>Jp,Declaration:()=>Yp,DeclarationList:()=>Qp,Dimension:()=>tf,Function:()=>rf,Hash:()=>sf,IdSelector:()=>cf,Identifier:()=>lf,MediaFeature:()=>pf,MediaQuery:()=>mf,MediaQueryList:()=>gf,NestingSelector:()=>bf,Nth:()=>wf,Number:()=>kf,Operator:()=>Ff,Parentheses:()=>Ef,Percentage:()=>Sf,PseudoClassSelector:()=>Af,PseudoElementSelector:()=>Pf,Ratio:()=>jf,Raw:()=>Lf,Rule:()=>Nf,Selector:()=>$f,SelectorList:()=>zf,String:()=>Vf,StyleSheet:()=>Zf,TypeSelector:()=>Kf,UnicodeRange:()=>Qf,Url:()=>rm,Value:()=>lm,WhiteSpace:()=>cm});Ep={};O(Ep,{generate:()=>Dw,name:()=>yw,parse:()=>_p,structure:()=>bw});Ze=43,De=45,Jo=110,Gt=!0,gw=!1;yw="AnPlusB",bw={a:[String,null],b:[String,null]};Sp={};O(Sp,{generate:()=>Fw,name:()=>vw,parse:()=>Tp,structure:()=>xw,walkContext:()=>kw});vw="Atrule",kw="atrule",xw={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};Ap={};O(Ap,{generate:()=>Sw,name:()=>Cw,parse:()=>Op,structure:()=>_w,walkContext:()=>Ew});Cw="AtrulePrelude",Ew="atrulePrelude",_w={children:[[]]};Pp={};O(Pp,{generate:()=>Lw,name:()=>jw,parse:()=>jp,structure:()=>Bw});Tw=36,Ip=42,Yo=61,Aw=94,Oa=124,Ow=126;jw="AttributeSelector",Bw={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};Bp={};O(Bp,{generate:()=>zw,name:()=>Mw,parse:()=>Rp,structure:()=>Ww,walkContext:()=>$w});Rw=38;Mw="Block",$w="block",Ww={children:[["Atrule","Rule","Declaration"]]};Np={};O(Np,{generate:()=>Gw,name:()=>Uw,parse:()=>Mp,structure:()=>Vw});Uw="Brackets",Vw={children:[[]]};$p={};O($p,{generate:()=>Jw,name:()=>qw,parse:()=>Wp,structure:()=>Hw});qw="CDC",Hw=[];zp={};O(zp,{generate:()=>Kw,name:()=>Zw,parse:()=>Up,structure:()=>Yw});Zw="CDO",Yw=[];Vp={};O(Vp,{generate:()=>tv,name:()=>Qw,parse:()=>Gp,structure:()=>ev});Xw=46,Qw="ClassSelector",ev={name:String};qp={};O(qp,{generate:()=>av,name:()=>iv,parse:()=>Hp,structure:()=>sv});nv=43,$d=47,rv=62,ov=126,iv="Combinator",sv={name:String};Jp={};O(Jp,{generate:()=>pv,name:()=>cv,parse:()=>Zp,structure:()=>dv});lv=42,uv=47,cv="Comment",dv={value:String};Yp={};O(Yp,{generate:()=>Fv,name:()=>vv,parse:()=>Xp,structure:()=>xv,walkContext:()=>kv});Kp=33,fv=35,mv=36,hv=38,gv=42,yv=43,Wd=47;vv="Declaration",kv="declaration",xv={important:[Boolean,String],property:String,value:["Value","Raw"]};Qp={};O(Qp,{generate:()=>Av,name:()=>Sv,parse:()=>ef,structure:()=>Tv});_v=38;Sv="DeclarationList",Tv={children:[["Declaration","Atrule","Rule"]]};tf={};O(tf,{generate:()=>Iv,name:()=>Ov,parse:()=>nf,structure:()=>Pv});Ov="Dimension",Pv={value:String,unit:String};rf={};O(rf,{generate:()=>Rv,name:()=>jv,parse:()=>of,structure:()=>Lv,walkContext:()=>Bv});jv="Function",Bv="function",Lv={name:String,children:[[]]};sf={};O(sf,{generate:()=>Wv,name:()=>Mv,parse:()=>af,structure:()=>$v,xxx:()=>Nv});Nv="XXX",Mv="Hash",$v={value:String};lf={};O(lf,{generate:()=>Vv,name:()=>zv,parse:()=>uf,structure:()=>Uv});zv="Identifier",Uv={name:String};cf={};O(cf,{generate:()=>Hv,name:()=>Gv,parse:()=>df,structure:()=>qv});Gv="IdSelector",qv={name:String};pf={};O(pf,{generate:()=>Yv,name:()=>Jv,parse:()=>ff,structure:()=>Zv});Jv="MediaFeature",Zv={name:String,value:["Identifier","Number","Dimension","Ratio",null]};mf={};O(mf,{generate:()=>Qv,name:()=>Kv,parse:()=>hf,structure:()=>Xv});Kv="MediaQuery",Xv={children:[["Identifier","MediaFeature","WhiteSpace"]]};gf={};O(gf,{generate:()=>nk,name:()=>ek,parse:()=>yf,structure:()=>tk});ek="MediaQueryList",tk={children:[["MediaQuery"]]};bf={};O(bf,{generate:()=>sk,name:()=>ok,parse:()=>Df,structure:()=>ik});rk=38,ok="NestingSelector",ik={};wf={};O(wf,{generate:()=>uk,name:()=>ak,parse:()=>vf,structure:()=>lk});ak="Nth",lk={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};kf={};O(kf,{generate:()=>pk,name:()=>ck,parse:()=>xf,structure:()=>dk});ck="Number",dk={value:String};Ff={};O(Ff,{generate:()=>hk,name:()=>fk,parse:()=>Cf,structure:()=>mk});fk="Operator",mk={value:String};Ef={};O(Ef,{generate:()=>bk,name:()=>gk,parse:()=>_f,structure:()=>yk});gk="Parentheses",yk={children:[[]]};Sf={};O(Sf,{generate:()=>vk,name:()=>Dk,parse:()=>Tf,structure:()=>wk});Dk="Percentage",wk={value:String};Af={};O(Af,{generate:()=>Ck,name:()=>kk,parse:()=>Of,structure:()=>Fk,walkContext:()=>xk});kk="PseudoClassSelector",xk="function",Fk={name:String,children:[["Raw"],null]};Pf={};O(Pf,{generate:()=>Tk,name:()=>Ek,parse:()=>If,structure:()=>Sk,walkContext:()=>_k});Ek="PseudoElementSelector",_k="function",Sk={name:String,children:[["Raw"],null]};jf={};O(jf,{generate:()=>jk,name:()=>Pk,parse:()=>Bf,structure:()=>Ik});Ak=47,Ok=46;Pk="Ratio",Ik={left:String,right:String};Lf={};O(Lf,{generate:()=>Nk,name:()=>Lk,parse:()=>Rf,structure:()=>Rk});Lk="Raw",Rk={value:String};Nf={};O(Nf,{generate:()=>Uk,name:()=>$k,parse:()=>Mf,structure:()=>zk,walkContext:()=>Wk});$k="Rule",Wk="rule",zk={prelude:["SelectorList","Raw"],block:["Block"]};$f={};O($f,{generate:()=>qk,name:()=>Vk,parse:()=>Wf,structure:()=>Gk});Vk="Selector",Gk={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};zf={};O(zf,{generate:()=>Yk,name:()=>Hk,parse:()=>Uf,structure:()=>Zk,walkContext:()=>Jk});Hk="SelectorList",Jk="selector",Zk={children:[["Selector","Raw"]]};Vf={};O(Vf,{generate:()=>ex,name:()=>Xk,parse:()=>Jf,structure:()=>Qk});Kk={};O(Kk,{decode:()=>tl,encode:()=>Hf});Pa=92,Gf=34,qf=39;Xk="String",Qk={value:String};Zf={};O(Zf,{generate:()=>ix,name:()=>nx,parse:()=>Yf,structure:()=>ox,walkContext:()=>rx});tx=33;nx="StyleSheet",rx="stylesheet",ox={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};Kf={};O(Kf,{generate:()=>ux,name:()=>ax,parse:()=>Xf,structure:()=>lx});sx=42,Gd=124;ax="TypeSelector",lx={name:String};Qf={};O(Qf,{generate:()=>mx,name:()=>px,parse:()=>nm,structure:()=>fx});em=43,tm=45,Ia=63;px="UnicodeRange",fx={value:String};rm={};O(rm,{generate:()=>kx,name:()=>wx,parse:()=>am,structure:()=>vx});hx={};O(hx,{decode:()=>im,encode:()=>sm});gx=32,ja=92,yx=34,bx=39,Dx=40,om=41;wx="Url",vx={value:String};lm={};O(lm,{generate:()=>Cx,name:()=>xx,parse:()=>um,structure:()=>Fx});xx="Value",Fx={children:[[]]};cm={};O(cm,{generate:()=>Tx,name:()=>_x,parse:()=>dm,structure:()=>Sx});Ex=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),_x="WhiteSpace",Sx={value:String};Ax={generic:!0,...hw,node:el},pm={};O(pm,{AtrulePrelude:()=>Lx,Selector:()=>Hx,Value:()=>Yx});Ox=35,Px=42,qd=43,Ix=45,jx=47,Bx=117;Lx={getNode:fm},Rx=35,Nx=38,Mx=42,$x=43,Wx=47,Hd=46,zx=62,Ux=124,Vx=126;Hx={onWhiteSpace:Gx,getNode:qx};Yx={getNode:fm,onWhiteSpace(e,t){Jd(e)&&(e.value=" "+e.value),Jd(t.last)&&(t.last.value+=" ")},expression:Jx,var:Zx},Kx={parse:{prelude:null,block(){return this.Block(!0)}}},Xx={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}},Qx={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},e1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},t1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};o1={parse:{prelude(){let e=mm.call(this);return this.getFirstListNode(e)===null&&this.error("Condition is expected"),e},block(e=!1){return this.Block(e)}}},i1={"font-face":Kx,import:Xx,media:Qx,nest:e1,page:t1,supports:o1},Vt={parse(){return this.createSingleNodeList(this.SelectorList())}},ba={parse(){return this.createSingleNodeList(this.Selector())}},Zd={parse(){return this.createSingleNodeList(this.Identifier())}},Go={parse(){return this.createSingleNodeList(this.Nth())}},s1={dir:Zd,has:Vt,lang:Zd,matches:Vt,is:Vt,"-moz-any":Vt,"-webkit-any":Vt,where:Vt,not:Vt,"nth-child":Go,"nth-last-child":Go,"nth-last-of-type":Go,"nth-of-type":Go,slotted:ba,host:ba,"host-context":ba},hm={};O(hm,{AnPlusB:()=>_p,Atrule:()=>Tp,AtrulePrelude:()=>Op,AttributeSelector:()=>jp,Block:()=>Rp,Brackets:()=>Mp,CDC:()=>Wp,CDO:()=>Up,ClassSelector:()=>Gp,Combinator:()=>Hp,Comment:()=>Zp,Declaration:()=>Xp,DeclarationList:()=>ef,Dimension:()=>nf,Function:()=>of,Hash:()=>af,IdSelector:()=>df,Identifier:()=>uf,MediaFeature:()=>ff,MediaQuery:()=>hf,MediaQueryList:()=>yf,NestingSelector:()=>Df,Nth:()=>vf,Number:()=>xf,Operator:()=>Cf,Parentheses:()=>_f,Percentage:()=>Tf,PseudoClassSelector:()=>Of,PseudoElementSelector:()=>If,Ratio:()=>Bf,Raw:()=>Rf,Rule:()=>Mf,Selector:()=>Wf,SelectorList:()=>Uf,String:()=>Jf,StyleSheet:()=>Yf,TypeSelector:()=>Xf,UnicodeRange:()=>nm,Url:()=>am,Value:()=>um,WhiteSpace:()=>dm});a1={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:pm,atrule:i1,pseudo:s1,node:hm},l1={node:el},u1=mw({...Ax,...a1,...l1}),c1={};O(c1,{decode:()=>d1,encode:()=>p1});Yd=92;({tokenize:jS,parse:gm,generate:ym,lexer:BS,createLexer:LS,walk:bm,find:RS,findLast:NS,findAll:MS,toPlainObject:$S,fromPlainObject:WS,fork:zS}=u1)});function m1(e,t,n){let r=["ClassSelector","AttributeSelector","IdSelector","PseudoClassSelector"],o=["type"],i=["root"];if(e.type==="Rule"&&(e.prelude.type==="SelectorList"&&(e.prelude.children=new oe().fromArray(e.prelude.children.toArray().filter(s=>{let a="children"in s?s.children?.first:null;return!a||!r.includes(a.type)?!1:a.type==="PseudoClassSelector"?i.includes(a.name):a.type==="AttributeSelector"?!o.includes(a.name.name):!0}))),e.prelude.children.toArray().length===0&&n)){n.remove(t);return}}function km(e){if(d.info("Detected skipTagSelectors flag is enabled. Skipping global CSS tags."),!e)return wm("");let t=Ys(e?.css,!0);try{let n=gm(t);bm(n,{enter:m1});let r=vm.default.format([ym(n),f1].join(`
|
|
48
|
+
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:l},o},zo=new Map,Sn=new Map,ei=45,la=GD,yd=qD;ip=["initial","inherit","unset","revert","revert-layer"],Wr=43,Je=45,ua=110,Tn=!0,HD=!1;ZD=43,sp=45,ap=63,YD=117;QD=["calc(","-moz-calc(","-webkit-calc("],Va=new Map([[2,22],[21,22],[19,20],[23,24]]);c0={"ident-token":Z(1),"function-token":Z(2),"at-keyword-token":Z(3),"hash-token":Z(4),"string-token":Z(5),"bad-string-token":Z(6),"url-token":Z(7),"bad-url-token":Z(8),"delim-token":Z(9),"number-token":Z(10),"percentage-token":Z(11),"dimension-token":Z(12),"whitespace-token":Z(13),"CDO-token":Z(14),"CDC-token":Z(15),"colon-token":Z(16),"semicolon-token":Z(17),"comma-token":Z(18),"[-token":Z(19),"]-token":Z(20),"(-token":Z(21),")-token":Z(22),"{-token":Z(23),"}-token":Z(24)},d0={string:Z(5),ident:Z(1),percentage:_e(a0),zero:dp(),number:_e(l0),integer:_e(u0),"custom-ident":t0,"custom-property-name":n0,"hex-color":r0,"id-selector":o0,"an-plus-b":JD,urange:XD,"declaration-value":i0,"any-value":s0};Fa={};O(Fa,{angle:()=>h0,decibel:()=>w0,flex:()=>D0,frequency:()=>y0,length:()=>m0,resolution:()=>b0,semitones:()=>v0,time:()=>g0});m0=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],h0=["deg","grad","rad","turn"],g0=["s","ms"],y0=["hz","khz"],b0=["dpi","dpcm","dppx","x"],D0=["fr"],w0=["db"],v0=["st"],k0={};O(k0,{SyntaxError:()=>pp,generate:()=>li,parse:()=>Ya,walk:()=>bp});x0=9,F0=10,C0=12,E0=13,_0=32,S0=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==E0&&t!==F0&&t!==C0&&t!==_0&&t!==x0)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new pp(e,this.str,this.pos)}},T0=9,A0=10,O0=12,P0=13,I0=32,fp=33,Ga=35,bd=38,ti=39,mp=40,j0=41,hp=42,qa=43,Ha=44,Dd=45,Ja=60,gp=62,Ca=63,B0=64,ci=91,Za=93,ni=123,wd=124,vd=125,kd=8734,zr=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),xd={" ":1,"&&":2,"||":3,"|":4};Lr=function(){};G0={decorator(e){let t=[],n=null;return{...e,node(r){let o=n;n=r,e.node.call(this,r),n=o},emit(r,o,i){t.push({type:o,value:r,node:i?null:n})},result(){return t}}}};G={type:"Match"},q={type:"Mismatch"},Ka={type:"DisallowEmpty"},J0=40,Z0=41;({hasOwnProperty:_d}=Object.prototype),K0=0,X0=1,Sa=2,wp=3,Sd="Match",Q0="Mismatch",ew="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Td=15e3,tw=0;vp={};O(vp,{getTrace:()=>kp,isKeyword:()=>aw,isProperty:()=>sw,isType:()=>iw});({hasOwnProperty:Mr}=Object.prototype);dw=_a(ip.join(" | "));Bd=class{constructor(e,t,n){if(this.cssWideKeywordsSyntax=dw,this.syntax=t,this.generic=!1,this.units={...Fa},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||cw(e),e){if(e.units)for(let r of Object.keys(Fa))Array.isArray(e.units[r])&&(this.units[r]=e.units[r]);if(e.types)for(let r in e.types)this.addType_(r,e.types[r]);if(e.generic){this.generic=!0;for(let[r,o]of Object.entries(f0(this.units)))this.addType_(r,o)}if(e.atrules)for(let r in e.atrules)this.addAtrule_(r,e.atrules[r]);if(e.properties)for(let r in e.properties)this.addProperty_(r,e.properties[r])}}checkStructure(e){function t(o,i){r.push({node:o,message:i})}let n=this.structure,r=[];return this.syntax.walk(e,function(o){n.hasOwnProperty(o.type)?n[o.type].check(o,t):t(o,"Unknown node type `"+o.type+"`")}),r.length?r:!1}createDescriptor(e,t,n,r=null){let o={type:t,name:n},i={type:t,name:n,parent:r,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null};return typeof e=="function"?i.match=_a(e,o):(typeof e=="string"?Object.defineProperty(i,"syntax",{get(){return Object.defineProperty(i,"syntax",{value:Ya(e)}),i.syntax}}):i.syntax=e,Object.defineProperty(i,"match",{get(){return Object.defineProperty(i,"match",{value:_a(i.syntax,o)}),i.match}})),i}addAtrule_(e,t){!t||(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n),Object.create(null)):null})}addProperty_(e,t){!t||(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){!t||(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Pr("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);if(!r.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(r.prelude&&!t&&!An(this,r.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e),o=la(t);if(!r.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!r.descriptors[o.name]&&!r.descriptors[o.basename])return new Pr("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Pr("Unknown property",e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return $e(null,n);let r=this.getAtrule(e);return r.prelude?An(this,r.prelude,t||"",!1):$e(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return $e(null,r);let o=this.getAtrule(e),i=la(t);return An(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return e.type!=="Declaration"?$e(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(yd(e).custom)return $e(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(e);return n?$e(null,n):An(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?An(this,n,t,!1):$e(null,new Pr("Unknown type",e))}match(e,t){return typeof e!="string"&&(!e||!e.type)?$e(null,new Pr("Bad syntax")):((typeof e=="string"||!e.match)&&(e=this.createDescriptor(e,"Type","anonymous")),An(this,e,t,!1))}findValueFragments(e,t,n,r){return Id(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Id(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){let r=[];return this.syntax.walk(e,{visit:"Declaration",enter:o=>{r.push.apply(r,this.findDeclarationValueFragments(o,t,n))}}),r}getAtrule(e,t=!0){let n=la(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){let n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){let n=yd(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(r,o,i,s){if(i.has(o))return i.get(o);i.set(o,!1),s.syntax!==null&&bp(s.syntax,function(a){if(a.type!=="Type"&&a.type!=="Property")return;let u=a.type==="Type"?r.types:r.properties,l=a.type==="Type"?t:n;(!hasOwnProperty.call(u,a.name)||e(r,a.name,l,u[a.name]))&&i.set(o,!0)},this)}let t=new Map,n=new Map;for(let r in this.types)e(this,r,t,this.types[r]);for(let r in this.properties)e(this,r,n,this.properties[r]);return t=[...t.keys()].filter(r=>t.get(r)),n=[...n.keys()].filter(r=>n.get(r)),t.length||n.length?{types:t,properties:n}:null}dump(e,t){return{generic:this.generic,units:this.units,types:Ta(this.types,!t,e),properties:Ta(this.properties,!t,e),atrules:pw(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};mw=e=>Cp(Aa({},e)),hw={generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,\u221E]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,\u221E]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,\u221E]> [/ <number [0,\u221E]>]?","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>|scroll( <axis>? <scroller>? )","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",right:"<length>|auto","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221E]>","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[none|<length>|auto <length>]{1,2}","contain-intrinsic-block-size":"none|<length>|auto <length>","contain-intrinsic-height":"none|<length>|auto <length>","contain-intrinsic-inline-size":"none|<length>|auto <length>","contain-intrinsic-width":"none|<length>|auto <length>",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221E]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"<scroll-timeline-name>||<scroll-timeline-axis>","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}}},el={};O(el,{AnPlusB:()=>Ep,Atrule:()=>Sp,AtrulePrelude:()=>Ap,AttributeSelector:()=>Pp,Block:()=>Bp,Brackets:()=>Np,CDC:()=>$p,CDO:()=>zp,ClassSelector:()=>Vp,Combinator:()=>qp,Comment:()=>Jp,Declaration:()=>Yp,DeclarationList:()=>Qp,Dimension:()=>tf,Function:()=>rf,Hash:()=>sf,IdSelector:()=>cf,Identifier:()=>lf,MediaFeature:()=>pf,MediaQuery:()=>mf,MediaQueryList:()=>gf,NestingSelector:()=>bf,Nth:()=>wf,Number:()=>kf,Operator:()=>Ff,Parentheses:()=>Ef,Percentage:()=>Sf,PseudoClassSelector:()=>Af,PseudoElementSelector:()=>Pf,Ratio:()=>jf,Raw:()=>Lf,Rule:()=>Nf,Selector:()=>$f,SelectorList:()=>zf,String:()=>Vf,StyleSheet:()=>Zf,TypeSelector:()=>Kf,UnicodeRange:()=>Qf,Url:()=>rm,Value:()=>lm,WhiteSpace:()=>cm});Ep={};O(Ep,{generate:()=>Dw,name:()=>yw,parse:()=>_p,structure:()=>bw});Ze=43,De=45,Jo=110,Gt=!0,gw=!1;yw="AnPlusB",bw={a:[String,null],b:[String,null]};Sp={};O(Sp,{generate:()=>Fw,name:()=>vw,parse:()=>Tp,structure:()=>xw,walkContext:()=>kw});vw="Atrule",kw="atrule",xw={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};Ap={};O(Ap,{generate:()=>Sw,name:()=>Cw,parse:()=>Op,structure:()=>_w,walkContext:()=>Ew});Cw="AtrulePrelude",Ew="atrulePrelude",_w={children:[[]]};Pp={};O(Pp,{generate:()=>Lw,name:()=>jw,parse:()=>jp,structure:()=>Bw});Tw=36,Ip=42,Yo=61,Aw=94,Oa=124,Ow=126;jw="AttributeSelector",Bw={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};Bp={};O(Bp,{generate:()=>zw,name:()=>Mw,parse:()=>Rp,structure:()=>Ww,walkContext:()=>$w});Rw=38;Mw="Block",$w="block",Ww={children:[["Atrule","Rule","Declaration"]]};Np={};O(Np,{generate:()=>Gw,name:()=>Uw,parse:()=>Mp,structure:()=>Vw});Uw="Brackets",Vw={children:[[]]};$p={};O($p,{generate:()=>Jw,name:()=>qw,parse:()=>Wp,structure:()=>Hw});qw="CDC",Hw=[];zp={};O(zp,{generate:()=>Kw,name:()=>Zw,parse:()=>Up,structure:()=>Yw});Zw="CDO",Yw=[];Vp={};O(Vp,{generate:()=>tv,name:()=>Qw,parse:()=>Gp,structure:()=>ev});Xw=46,Qw="ClassSelector",ev={name:String};qp={};O(qp,{generate:()=>av,name:()=>iv,parse:()=>Hp,structure:()=>sv});nv=43,$d=47,rv=62,ov=126,iv="Combinator",sv={name:String};Jp={};O(Jp,{generate:()=>pv,name:()=>cv,parse:()=>Zp,structure:()=>dv});lv=42,uv=47,cv="Comment",dv={value:String};Yp={};O(Yp,{generate:()=>Fv,name:()=>vv,parse:()=>Xp,structure:()=>xv,walkContext:()=>kv});Kp=33,fv=35,mv=36,hv=38,gv=42,yv=43,Wd=47;vv="Declaration",kv="declaration",xv={important:[Boolean,String],property:String,value:["Value","Raw"]};Qp={};O(Qp,{generate:()=>Av,name:()=>Sv,parse:()=>ef,structure:()=>Tv});_v=38;Sv="DeclarationList",Tv={children:[["Declaration","Atrule","Rule"]]};tf={};O(tf,{generate:()=>Iv,name:()=>Ov,parse:()=>nf,structure:()=>Pv});Ov="Dimension",Pv={value:String,unit:String};rf={};O(rf,{generate:()=>Rv,name:()=>jv,parse:()=>of,structure:()=>Lv,walkContext:()=>Bv});jv="Function",Bv="function",Lv={name:String,children:[[]]};sf={};O(sf,{generate:()=>Wv,name:()=>Mv,parse:()=>af,structure:()=>$v,xxx:()=>Nv});Nv="XXX",Mv="Hash",$v={value:String};lf={};O(lf,{generate:()=>Vv,name:()=>zv,parse:()=>uf,structure:()=>Uv});zv="Identifier",Uv={name:String};cf={};O(cf,{generate:()=>Hv,name:()=>Gv,parse:()=>df,structure:()=>qv});Gv="IdSelector",qv={name:String};pf={};O(pf,{generate:()=>Yv,name:()=>Jv,parse:()=>ff,structure:()=>Zv});Jv="MediaFeature",Zv={name:String,value:["Identifier","Number","Dimension","Ratio",null]};mf={};O(mf,{generate:()=>Qv,name:()=>Kv,parse:()=>hf,structure:()=>Xv});Kv="MediaQuery",Xv={children:[["Identifier","MediaFeature","WhiteSpace"]]};gf={};O(gf,{generate:()=>nk,name:()=>ek,parse:()=>yf,structure:()=>tk});ek="MediaQueryList",tk={children:[["MediaQuery"]]};bf={};O(bf,{generate:()=>sk,name:()=>ok,parse:()=>Df,structure:()=>ik});rk=38,ok="NestingSelector",ik={};wf={};O(wf,{generate:()=>uk,name:()=>ak,parse:()=>vf,structure:()=>lk});ak="Nth",lk={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};kf={};O(kf,{generate:()=>pk,name:()=>ck,parse:()=>xf,structure:()=>dk});ck="Number",dk={value:String};Ff={};O(Ff,{generate:()=>hk,name:()=>fk,parse:()=>Cf,structure:()=>mk});fk="Operator",mk={value:String};Ef={};O(Ef,{generate:()=>bk,name:()=>gk,parse:()=>_f,structure:()=>yk});gk="Parentheses",yk={children:[[]]};Sf={};O(Sf,{generate:()=>vk,name:()=>Dk,parse:()=>Tf,structure:()=>wk});Dk="Percentage",wk={value:String};Af={};O(Af,{generate:()=>Ck,name:()=>kk,parse:()=>Of,structure:()=>Fk,walkContext:()=>xk});kk="PseudoClassSelector",xk="function",Fk={name:String,children:[["Raw"],null]};Pf={};O(Pf,{generate:()=>Tk,name:()=>Ek,parse:()=>If,structure:()=>Sk,walkContext:()=>_k});Ek="PseudoElementSelector",_k="function",Sk={name:String,children:[["Raw"],null]};jf={};O(jf,{generate:()=>jk,name:()=>Pk,parse:()=>Bf,structure:()=>Ik});Ak=47,Ok=46;Pk="Ratio",Ik={left:String,right:String};Lf={};O(Lf,{generate:()=>Nk,name:()=>Lk,parse:()=>Rf,structure:()=>Rk});Lk="Raw",Rk={value:String};Nf={};O(Nf,{generate:()=>Uk,name:()=>$k,parse:()=>Mf,structure:()=>zk,walkContext:()=>Wk});$k="Rule",Wk="rule",zk={prelude:["SelectorList","Raw"],block:["Block"]};$f={};O($f,{generate:()=>qk,name:()=>Vk,parse:()=>Wf,structure:()=>Gk});Vk="Selector",Gk={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};zf={};O(zf,{generate:()=>Yk,name:()=>Hk,parse:()=>Uf,structure:()=>Zk,walkContext:()=>Jk});Hk="SelectorList",Jk="selector",Zk={children:[["Selector","Raw"]]};Vf={};O(Vf,{generate:()=>ex,name:()=>Xk,parse:()=>Jf,structure:()=>Qk});Kk={};O(Kk,{decode:()=>tl,encode:()=>Hf});Pa=92,Gf=34,qf=39;Xk="String",Qk={value:String};Zf={};O(Zf,{generate:()=>ix,name:()=>nx,parse:()=>Yf,structure:()=>ox,walkContext:()=>rx});tx=33;nx="StyleSheet",rx="stylesheet",ox={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};Kf={};O(Kf,{generate:()=>ux,name:()=>ax,parse:()=>Xf,structure:()=>lx});sx=42,Gd=124;ax="TypeSelector",lx={name:String};Qf={};O(Qf,{generate:()=>mx,name:()=>px,parse:()=>nm,structure:()=>fx});em=43,tm=45,Ia=63;px="UnicodeRange",fx={value:String};rm={};O(rm,{generate:()=>kx,name:()=>wx,parse:()=>am,structure:()=>vx});hx={};O(hx,{decode:()=>im,encode:()=>sm});gx=32,ja=92,yx=34,bx=39,Dx=40,om=41;wx="Url",vx={value:String};lm={};O(lm,{generate:()=>Cx,name:()=>xx,parse:()=>um,structure:()=>Fx});xx="Value",Fx={children:[[]]};cm={};O(cm,{generate:()=>Tx,name:()=>_x,parse:()=>dm,structure:()=>Sx});Ex=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),_x="WhiteSpace",Sx={value:String};Ax={generic:!0,...hw,node:el},pm={};O(pm,{AtrulePrelude:()=>Lx,Selector:()=>Hx,Value:()=>Yx});Ox=35,Px=42,qd=43,Ix=45,jx=47,Bx=117;Lx={getNode:fm},Rx=35,Nx=38,Mx=42,$x=43,Wx=47,Hd=46,zx=62,Ux=124,Vx=126;Hx={onWhiteSpace:Gx,getNode:qx};Yx={getNode:fm,onWhiteSpace(e,t){Jd(e)&&(e.value=" "+e.value),Jd(t.last)&&(t.last.value+=" ")},expression:Jx,var:Zx},Kx={parse:{prelude:null,block(){return this.Block(!0)}}},Xx={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}},Qx={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},e1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},t1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};o1={parse:{prelude(){let e=mm.call(this);return this.getFirstListNode(e)===null&&this.error("Condition is expected"),e},block(e=!1){return this.Block(e)}}},i1={"font-face":Kx,import:Xx,media:Qx,nest:e1,page:t1,supports:o1},Vt={parse(){return this.createSingleNodeList(this.SelectorList())}},ba={parse(){return this.createSingleNodeList(this.Selector())}},Zd={parse(){return this.createSingleNodeList(this.Identifier())}},Go={parse(){return this.createSingleNodeList(this.Nth())}},s1={dir:Zd,has:Vt,lang:Zd,matches:Vt,is:Vt,"-moz-any":Vt,"-webkit-any":Vt,where:Vt,not:Vt,"nth-child":Go,"nth-last-child":Go,"nth-last-of-type":Go,"nth-of-type":Go,slotted:ba,host:ba,"host-context":ba},hm={};O(hm,{AnPlusB:()=>_p,Atrule:()=>Tp,AtrulePrelude:()=>Op,AttributeSelector:()=>jp,Block:()=>Rp,Brackets:()=>Mp,CDC:()=>Wp,CDO:()=>Up,ClassSelector:()=>Gp,Combinator:()=>Hp,Comment:()=>Zp,Declaration:()=>Xp,DeclarationList:()=>ef,Dimension:()=>nf,Function:()=>of,Hash:()=>af,IdSelector:()=>df,Identifier:()=>uf,MediaFeature:()=>ff,MediaQuery:()=>hf,MediaQueryList:()=>yf,NestingSelector:()=>Df,Nth:()=>vf,Number:()=>xf,Operator:()=>Cf,Parentheses:()=>_f,Percentage:()=>Tf,PseudoClassSelector:()=>Of,PseudoElementSelector:()=>If,Ratio:()=>Bf,Raw:()=>Rf,Rule:()=>Mf,Selector:()=>Wf,SelectorList:()=>Uf,String:()=>Jf,StyleSheet:()=>Yf,TypeSelector:()=>Xf,UnicodeRange:()=>nm,Url:()=>am,Value:()=>um,WhiteSpace:()=>dm});a1={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:pm,atrule:i1,pseudo:s1,node:hm},l1={node:el},u1=mw({...Ax,...a1,...l1}),c1={};O(c1,{decode:()=>d1,encode:()=>p1});Yd=92;({tokenize:BS,parse:gm,generate:ym,lexer:LS,createLexer:RS,walk:bm,find:NS,findLast:MS,findAll:$S,toPlainObject:WS,fromPlainObject:zS,fork:US}=u1)});function m1(e,t,n){let r=["ClassSelector","AttributeSelector","IdSelector","PseudoClassSelector"],o=["type"],i=["root"];if(e.type==="Rule"&&(e.prelude.type==="SelectorList"&&(e.prelude.children=new oe().fromArray(e.prelude.children.toArray().filter(s=>{let a="children"in s?s.children?.first:null;return!a||!r.includes(a.type)?!1:a.type==="PseudoClassSelector"?i.includes(a.name):a.type==="AttributeSelector"?!o.includes(a.name.name):!0}))),e.prelude.children.toArray().length===0&&n)){n.remove(t);return}}function km(e){if(d.info("Detected skipTagSelectors flag is enabled. Skipping global CSS tags."),!e)return wm("");let t=Ys(e?.css,!0);try{let n=gm(t);bm(n,{enter:m1});let r=vm.default.format([ym(n),f1].join(`
|
|
49
49
|
|
|
50
50
|
`).trim(),{parser:"css"});return wm(r)}catch{return d.warn("There was a problem skipping global tags from CSS. Falling back to normal global CSS."),e}}function xm(e){return e.reduce((t,n)=>(n.name==="global"?t.globalCss=n:t.rest.push(n),t),{rest:[]})}var vm,f1,wm,Fm=S(()=>{"use strict";Dm();vm=D(require("prettier"));Ks();V();f1=`
|
|
51
51
|
.w-icon-slider-right:before {
|
|
@@ -107,15 +107,15 @@ ${wn}/dashboard/sites/${e.site_slug}/webflow-cloud/projects/${e.project_id}/envi
|
|
|
107
107
|
\u2705 Deployment triggered successfully!`),await nC(t,e.environment_id),rC(e))}catch(r){d.error(`Failed to trigger deployment: ${r}`),process.exit(1)}},iC=(e,t)=>{e&&ah(process.cwd(),e),t&&sh(t)},Fh=async(e,t,n)=>{let r=null,o=null,i=Date.now(),s=null,a=null,u=gl(process.cwd());await Se(n?.telemetry,"cloud_deploy_start",!0,void 0,{environment:e,mountPath:t,projectName:n?.projectName,hasDescription:!!n?.description,hasDirectory:!!n?.directory,cloudflareBindings:u});try{d.info("\u{1F527} Detecting framework..."),s=await Bm(),d.info(`Framework: ${s.framework}`),d.info(`Build command: ${s.config.build_command}`),d.info("\u{1F3D7}\uFE0F Building project..."),r=await fh(e,t,n),QF(n)?d.info("\u23ED\uFE0F Skipping mount path validation..."):await eC(t,r.environment_id,n?.autoPublish),o=await tC(s,r,t,n),d.info(`Starting deployment process for environment: ${e} at mount path: ${t}`);let l=Date.now()-i;await Se(n?.telemetry,"cloud_deploy_success",!0,l,{environment:e,mountPath:t,projectName:n?.projectName,hasDescription:!!n?.description,hasDirectory:!!n?.directory,framework:s.framework,buildCommand:s.config.build_command,cloudflareBindings:u})}catch(l){a=l instanceof Error?l:new Error(String(l)),d.error("Error during deployment initialization:"),d.error(a.message);let c=Date.now()-i;await Se(n?.telemetry,"cloud_deploy_failure",!1,c,{environment:e,mountPath:t,projectName:n?.projectName,hasDescription:!!n?.description,hasDirectory:!!n?.directory,cloudflareBindings:u,errorType:l instanceof Error?l.name:"unknown",errorMessage:l instanceof Error?l.message:String(l)},l instanceof Error?l:new Error(String(l)))}finally{iC(s,o),r&&await oC(r,t,a),a&&process.exit(1)}},xh=e=>{d.info("--- "),d.info(Q.bold.green("Get started with the following commands:")),d.info(` cd ${e}`),d.info(" npm install"),d.info(" npm run dev"),d.info(` webflow cloud deploy
|
|
108
108
|
|
|
109
109
|
`),d.info("Run the following command to sync Webflow components when they update:"),d.info(` webflow devlink sync
|
|
110
|
-
`),d.info("--- ")};Re();Le();V();pe();var Ch=D(require("path"));function dn(e){if(!e||e.trim()==="")return"/";let t=Ch.posix.normalize(e);return t.startsWith("/")||(t="/"+t),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t=t.split("/").map((r,o)=>o===0?r:encodeURIComponent(r)).join("/"),t}function Fi(e){return!(!e||e.trim()===""||!e.startsWith("/")||e.includes(".."))}var Eh=e=>{let t=e.command("cloud").description("Create and manage Webflow Cloud projects");t.command("create").description("Create a new Webflow Cloud project").argument("<name>","Project name").option("-f, --framework <framework>","Framework to use","nextjs").action(async(n,r)=>{let{framework:o}=r;if(!(await xi()).find(a=>a===o)){d.error(`Framework ${o} not found`);return}await wl(n,o,o)}),t.command("list").description("Get list of project templates that can be used for `init`").action(async()=>{let n=await xi();d.info("Available project templates:"),n.length>0?n.forEach(r=>d.info(`- ${r}`)):d.info("No templates found.")}),t.command("init").description("Bootstrap a new Webflow Cloud project").option("-n, --project-name <name>","Project name").option("-f, --framework <framework>","Framework to use (e.g., astro, nextjs)").option("-m, --mount <mount>","Mount path (e.g., /app)").option("-s, --site-id <siteId>","Webflow site ID to connect to").action(async n=>{let r=process.stdin.isTTY,o=await xi(),i={};if(r&&Ve()){if(!n.projectName){let f=await Be({message:"What would you like to name your project?",validate:m=>m.trim()===""?"Project name cannot be empty":!0});f==null&&(console.error("When --no-input mode is enabled please provide the --project-name option or the cloud.project_id manifest field."),process.exit(1)),i.projectName=f}if(n.framework||(i.scaffoldName=await xe({message:"Which framework would you like to use?",choices:o.map(f=>({name:f,value:f})),default:"astro"})),!n.mount){let f=await Be({message:"What path do you want to use locally? (e.g., /app)",default:"/app"});i.mountPath=dn(f)}}let s=n.projectName||i.projectName,a=n.framework||i.scaffoldName,u=n.mount||i.mountPath||"/app",l=n.siteId,c=dn(u),p=!0;(!s||s.trim()==="")&&(d.error("--project-name cannot be empty"),p=!1),(!a||!o.includes(a))&&(d.error(`--framework "${a||"undefined"}" not found`),d.error("Available frameworks:"),o.forEach(f=>d.error(`- ${f}`)),p=!1),Fi(c)||(d.error("Invalid mount path: "+c),p=!1),!l&&(!r||ne())&&(d.error("--site-id is required"),p=!1),(!p||typeof s!="string"||typeof c!="string"||typeof a!="string")&&process.exit(1),await wl(s,c,a,l)}),t.command("deploy").description("Deploy your Webflow Cloud project").option("-e, --environment <environment>","Environment name").option("-m, --mount <mount>","Mount path (e.g., /app)").option("-n, --project-name <name>","Project name (for new projects)").option("-d, --directory <path>","Project directory path (for new projects)").option("--description <description>","Project description (for new projects)").option("--skip-mount-path-check","Skip mount path checking").option("--auto-publish","Automatically publish site for mount path updates").action(async n=>{let r;try{let{siteId:o,accessToken:i}=Me();r=fi({authToken:i,siteId:o}),await r.promptForConsentIfNeeded()}catch(o){d.debug(`Failed to initialize telemetry: ${o}`)}try{if(n.directory)try{process.chdir(n.directory),d.info(`Changed directory to: ${n.directory}`)}catch(p){d.error(`Error: Could not change to directory ${n.directory}`),d.error(p instanceof Error?p.message:String(p)),process.exit(1)}let{manifest:o}=re(),s=(o.cloud||{}).project_id,a,u,l=n.projectName,c=n.description;if(n.environment&&n.mount)a=n.environment,u=dn(n.mount),Fi(u)||(d.error("Invalid mount path: "+u),process.exit(1));else{let p=[];if(!s){!l&&ne()&&(d.error("When --no-input mode is enabled please provide the --project-name option or the cloud.project_id manifest field."),process.exit(1));try{let m=await hh();if(m.projects.length>0){let y=await xe({message:"Select a project to deploy to:",choices:[...m.projects.map(x=>({name:`${x.name} (${x.description||"No description"})`,value:x.id})),{name:"Create new project",value:null}]});y?(s=y,d.info("\u{1F4DD} Updating webflow.json with project ID..."),le({cloud:{project_id:y}})):d.info("Creating a new project will be handled during deployment.")}else d.info("No existing projects found. A new project will be created during deployment.")}catch(m){d.warn("Could not fetch existing projects. A new project will be created during deployment."),d.warn(m instanceof Error?m.message:String(m))}}if(!s&&!l&&(l=await Be({message:"What would you like to name your new project?",default:"New Webflow Cloud Project",validate:m=>m.trim()===""?"Project name cannot be empty":!0})),s)try{let y=(await mh(s)).environments.map(x=>({name:`${x.branch} (${x.mount})`,value:{branch:x.branch,mount:x.mount}}));p.push(...y)}catch(m){d.error("Error fetching project environments:"),d.error(m instanceof Error?m.message:String(m)),process.exit(1)}p.push({name:"Create new environment",value:null});let f=await xe({message:"Select an environment to deploy to:",choices:p});if(f)a=f.branch,u=dn(f.mount);else if(n.environment?a=n.environment:a=await Be({message:"What environment would you like to deploy to?",default:"main",validate:m=>m.trim()===""?"Environment cannot be empty":!0}),n.mount)u=dn(n.mount);else{let m=await Be({message:"What path should this environment be mounted at? (e.g., /app)",default:"/app"});u=dn(m)}}Fi(u)||(d.error("Invalid mount path: "+u),process.exit(1)),await Fh(a,u,{projectName:l,description:c,directory:n.directory,skipMountPathCheck:n.skipMountPathCheck,autoPublish:n.autoPublish,telemetry:r})}catch(o){d.error("Error during deployment setup:"),d.error(o instanceof Error?o.message:String(o)),process.exit(1)}})};var rr=require("commander");var ji=require("path"),tr=require("@webflow/data-types");de();var _h=D(require("md5"));function Jr(e,t,n){try{let r=new Blob([e]).size,o=Buffer.from(e,"utf-8");return{value:o,meta:{title:t.replace(/^.*[\\\/]/,""),fileHash:(0,_h.default)(o),size:r,...n}}}catch{throw new Error(`Error parsing '${t}' inline file`)}}var Sh=D(require("node-fetch")),Th=D(require("form-data"));async function vl(e,t){let n={...t.fields,file:e.value},r=new Th.default;Object.entries(n).forEach(([i,s])=>{r.append(i,s)});let o=await(0,Sh.default)("https://"+t.fields.bucket+".s3.amazonaws.com",{method:"POST",body:r});sC(o)}function sC(e){switch(e.status){case 200:case 201:return;case 403:throw new Error("Unauthorized. Please check your AWS access key");default:throw new Error(`Something went wrong when uploading the file: ${e.statusText}`)}}V();Re();Rt();de();Dn();function aC({workspaceApiToken:e=process.env.WEBFLOW_WORKSPACE_API_TOKEN,siteApiToken:t=process.env.WEBFLOW_SITE_API_TOKEN,siteId:n=process.env.WEBFLOW_SITE_ID,libraryTarget:r=process.env.WEBFLOW_LIBRARY_TARGET}){if(r==="site"){if(!t)throw new Error("No API token provided");if(!n)throw new Error("No site provided");return{baseUrl:`${J}/v2/sites/${n}`,authToken:t}}if(!e)throw new Error("No API token provided");return{baseUrl:`${J}/v2/workspaces`,authToken:e}}function lC(e){if(e)return JSON.stringify(Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)))}async function uC(e){if(e.ok)return;if(e.status===401||e.status===403)throw new Error("Your API token is invalid or not authorized to perform this action. Remove the token from .env and run the command again to generate a new token.");if(e.status===404)throw new Error("Code components are rolling out in phases. Check back soon for access.");let t=await e.json();throw new Error(t.message||e.statusText)}async function Ot({endpoint:e,method:t="GET",body:n,options:r}){let{baseUrl:o,authToken:i}=aC(r),s=`${o.replace(/\/+$/,"")}/${e.replace(/^\/+/,"")}`,a=await Ne(s,{method:t,headers:{"Content-Type":"application/json",Authorization:`Bearer ${i}`},body:lC(n)});return await uC(a),a.json()}async function kl({options:e}){return(await Ot({endpoint:"/code_libraries",options:e})).payload.workspaces[0]}async function xl({name:e,description:t,slug:n,options:r}){return(await Ot({method:"POST",endpoint:"/code_library/init",body:{name:e,description:t,slug:n},options:r})).payload}async function Fl({resourceId:e,files:t,options:n}){return(await Ot({method:"POST",endpoint:`/code_library/${e}/files`,body:{files:t},options:n})).payload}async function Cl({resourceId:e,codeModule:t,components:n,options:r}){return(await Ot({method:"POST",endpoint:`/code_library/${e}/share`,body:{codeModule:t,components:n},options:r})).payload}var rg=require("path"),og=D(require("webpack-merge")),ft=require("@webflow/data-types");function pn(){return{module:{rules:[{test:/\.(js|ts)x?$/,exclude:/node_modules/,use:[{ident:"babel-loader",loader:require.resolve("babel-loader"),options:{presets:[require.resolve("@babel/preset-env"),[require.resolve("@babel/preset-react"),{runtime:"automatic"}],require.resolve("@babel/preset-typescript")]}}]}]},resolve:{extensions:[".tsx",".ts",".jsx",".js",".json"]}}}var Ph=require("webpack"),_l=D(require("mini-css-extract-plugin")),Ih=D(require("tsconfig-paths-webpack-plugin")),jh=require("tsconfig-paths"),Sl=require("@webflow/data-types"),Bh=require("path");de();var Ah=D(require("postcss-selector-parser")),El=()=>({postcssPlugin:"CSSinShadowDOM",Once(e){e.walkRules(t=>{t.selector=(0,Ah.default)(n=>{n.walkPseudos(r=>{r.value===":root"&&(r.value=":host")})}).processSync(t.selector)})}});El.postcss=!0;El.postcssPlugin="CSSinShadowDOM";var Oh=El;function cC(){return(0,jh.loadConfig)(process.cwd()).resultType==="success"}function Zr({entry:e,env:t,mode:n="production",publicPath:r,libraryName:o,outputPath:i}){let s={mode:n,module:{rules:[{test:/\.css$/i,use:[{ident:"mini-css-extract-loader",loader:_l.default.loader},{ident:"css-loader",loader:require.resolve("css-loader"),options:{importLoaders:1}},{ident:"postcss-loader",loader:require.resolve("postcss-loader"),options:{postcssOptions:{plugins:[Oh]}}}]},{test:/\.(png|svg|jpg|jpeg|gif|woff|woff2|eot|ttf|otf)$/i,type:"asset/resource",generator:{filename:"[hash]-[name][ext]"}}]},plugins:[new _l.default({filename:"[contenthash].css",chunkFilename:"[contenthash].css",runtime:!1})],resolve:{plugins:[cC()?new Ih.default:null].filter(Boolean)},performance:{hints:!1}};if(t===Sl.Environment.Client)return{...s,entry:()=>({}),output:{path:i?(0,Bh.join)(process.cwd(),i,t):"/",publicPath:r,clean:!0,uniqueName:o},target:"web"};if(t===Sl.Environment.Server)return{...s,plugins:[...s.plugins||[],new Ph.optimize.LimitChunkCountPlugin({maxChunks:1})],entry:e,output:{filename:Do,library:{type:"commonjs2"}},optimization:{splitChunks:!1},target:"async-node"};throw new Error(`Unknown environment ${t}`)}var Lh=require("@module-federation/enhanced"),Tl=require("@webflow/data-types");function Rh({libraryName:e,env:t,exposes:n}){if(t===Tl.Environment.Client)return{plugins:[new Lh.ModuleFederationPlugin({name:e,filename:"remoteEntry.js",exposes:n,dts:!1,experiments:{optimization:{disableSnapshot:!0}}})]};if(t===Tl.Environment.Server)return{};throw new Error(`Unknown environment ${t}`)}de();V();var $h=require("memfs/lib/volume"),Yr=require("@webflow/data-types");var Qe="./tmp_entry",Nh="components";function Mh(e,t){let n=e.map(({name:u,path:l,isDefaultExport:c})=>c?`import ${u} from "${l}";`:`import { ${u} } from "${l}";`).join(`
|
|
110
|
+
`),d.info("--- ")};Re();Le();V();pe();var Ch=D(require("path"));function dn(e){if(!e||e.trim()==="")return"/";let t=Ch.posix.normalize(e);return t.startsWith("/")||(t="/"+t),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t=t.split("/").map((r,o)=>o===0?r:encodeURIComponent(r)).join("/"),t}function Fi(e){return!(!e||e.trim()===""||!e.startsWith("/")||e.includes(".."))}var Eh=e=>{let t=e.command("cloud").description("Create and manage Webflow Cloud projects");t.command("create").description("Create a new Webflow Cloud project").argument("<name>","Project name").option("-f, --framework <framework>","Framework to use","nextjs").action(async(n,r)=>{let{framework:o}=r;if(!(await xi()).find(a=>a===o)){d.error(`Framework ${o} not found`);return}await wl(n,o,o)}),t.command("list").description("Get list of project templates that can be used for `init`").action(async()=>{let n=await xi();d.info("Available project templates:"),n.length>0?n.forEach(r=>d.info(`- ${r}`)):d.info("No templates found.")}),t.command("init").description("Bootstrap a new Webflow Cloud project").option("-n, --project-name <name>","Project name").option("-f, --framework <framework>","Framework to use (e.g., astro, nextjs)").option("-m, --mount <mount>","Mount path (e.g., /app)").option("-s, --site-id <siteId>","Webflow site ID to connect to").action(async n=>{let r=process.stdin.isTTY,o=await xi(),i={};if(r&&Ve()){if(!n.projectName){let f=await Be({message:"What would you like to name your project?",validate:m=>m.trim()===""?"Project name cannot be empty":!0});f==null&&(console.error("When --no-input mode is enabled please provide the --project-name option or the cloud.project_id manifest field."),process.exit(1)),i.projectName=f}if(n.framework||(i.scaffoldName=await xe({message:"Which framework would you like to use?",choices:o.map(f=>({name:f,value:f})),default:"astro"})),!n.mount){let f=await Be({message:"What path do you want to use locally? (e.g., /app)",default:"/app"});i.mountPath=dn(f)}}let s=n.projectName||i.projectName,a=n.framework||i.scaffoldName,u=n.mount||i.mountPath||"/app",l=n.siteId,c=dn(u),p=!0;(!s||s.trim()==="")&&(d.error("--project-name cannot be empty"),p=!1),(!a||!o.includes(a))&&(d.error(`--framework "${a||"undefined"}" not found`),d.error("Available frameworks:"),o.forEach(f=>d.error(`- ${f}`)),p=!1),Fi(c)||(d.error("Invalid mount path: "+c),p=!1),!l&&(!r||ne())&&(d.error("--site-id is required"),p=!1),(!p||typeof s!="string"||typeof c!="string"||typeof a!="string")&&process.exit(1),await wl(s,c,a,l)}),t.command("deploy").description("Deploy your Webflow Cloud project").option("-e, --environment <environment>","Environment name").option("-m, --mount <mount>","Mount path (e.g., /app)").option("-n, --project-name <name>","Project name (for new projects)").option("-d, --directory <path>","Project directory path (for new projects)").option("--description <description>","Project description (for new projects)").option("--skip-mount-path-check","Skip mount path checking").option("--auto-publish","Automatically publish site for mount path updates").action(async n=>{let r;try{let{siteId:o,accessToken:i}=Me();r=fi({authToken:i,siteId:o}),await r.promptForConsentIfNeeded()}catch(o){d.debug(`Failed to initialize telemetry: ${o}`)}try{if(n.directory)try{process.chdir(n.directory),d.info(`Changed directory to: ${n.directory}`)}catch(p){d.error(`Error: Could not change to directory ${n.directory}`),d.error(p instanceof Error?p.message:String(p)),process.exit(1)}let{manifest:o}=re(),s=(o.cloud||{}).project_id,a,u,l=n.projectName,c=n.description;if(n.environment&&n.mount)a=n.environment,u=dn(n.mount),Fi(u)||(d.error("Invalid mount path: "+u),process.exit(1));else{let p=[];if(!s){!l&&ne()&&(d.error("When --no-input mode is enabled please provide the --project-name option or the cloud.project_id manifest field."),process.exit(1));try{let m=await hh();if(m.projects.length>0){let y=await xe({message:"Select a project to deploy to:",choices:[...m.projects.map(x=>({name:`${x.name} (${x.description||"No description"})`,value:x.id})),{name:"Create new project",value:null}]});y?(s=y,d.info("\u{1F4DD} Updating webflow.json with project ID..."),le({cloud:{project_id:y}})):d.info("Creating a new project will be handled during deployment.")}else d.info("No existing projects found. A new project will be created during deployment.")}catch(m){d.warn("Could not fetch existing projects. A new project will be created during deployment."),d.warn(m instanceof Error?m.message:String(m))}}if(!s&&!l&&(l=await Be({message:"What would you like to name your new project?",default:"New Webflow Cloud Project",validate:m=>m.trim()===""?"Project name cannot be empty":!0})),s)try{let y=(await mh(s)).environments.map(x=>({name:`${x.branch} (${x.mount})`,value:{branch:x.branch,mount:x.mount}}));p.push(...y)}catch(m){d.error("Error fetching project environments:"),d.error(m instanceof Error?m.message:String(m)),process.exit(1)}p.push({name:"Create new environment",value:null});let f=await xe({message:"Select an environment to deploy to:",choices:p});if(f)a=f.branch,u=dn(f.mount);else if(n.environment?a=n.environment:a=await Be({message:"What environment would you like to deploy to?",default:"main",validate:m=>m.trim()===""?"Environment cannot be empty":!0}),n.mount)u=dn(n.mount);else{let m=await Be({message:"What path should this environment be mounted at? (e.g., /app)",default:"/app"});u=dn(m)}}Fi(u)||(d.error("Invalid mount path: "+u),process.exit(1)),await Fh(a,u,{projectName:l,description:c,directory:n.directory,skipMountPathCheck:n.skipMountPathCheck,autoPublish:n.autoPublish,telemetry:r})}catch(o){d.error("Error during deployment setup:"),d.error(o instanceof Error?o.message:String(o)),process.exit(1)}})};var rr=require("commander");var ji=require("path"),tr=require("@webflow/data-types");de();var _h=D(require("md5"));function Jr(e,t,n){try{let r=new Blob([e]).size,o=Buffer.from(e,"utf-8");return{value:o,meta:{title:t.replace(/^.*[\\\/]/,""),fileHash:(0,_h.default)(o),size:r,...n}}}catch{throw new Error(`Error parsing '${t}' inline file`)}}var Sh=D(require("node-fetch")),Th=D(require("form-data"));async function vl(e,t){let n={...t.fields,file:e.value},r=new Th.default;Object.entries(n).forEach(([i,s])=>{r.append(i,s)});let o=await(0,Sh.default)("https://"+t.fields.bucket+".s3.amazonaws.com",{method:"POST",body:r});sC(o)}function sC(e){switch(e.status){case 200:case 201:return;case 403:throw new Error("Unauthorized. Please check your AWS access key");default:throw new Error(`Something went wrong when uploading the file: ${e.statusText}`)}}V();Re();Rt();de();Dn();function aC({workspaceApiToken:e=process.env.WEBFLOW_WORKSPACE_API_TOKEN,siteApiToken:t=process.env.WEBFLOW_SITE_API_TOKEN,siteId:n=process.env.WEBFLOW_SITE_ID,libraryTarget:r=process.env.WEBFLOW_LIBRARY_TARGET}){if(r==="site"){if(!t)throw new Error("No API token provided");if(!n)throw new Error("No site provided");return{baseUrl:`${J}/v2/sites/${n}`,authToken:t}}if(!e)throw new Error("No API token provided");return{baseUrl:`${J}/v2/workspaces`,authToken:e}}function lC(e){if(e)return JSON.stringify(Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)))}async function uC(e){if(e.ok)return;if(e.status===401||e.status===403)throw new Error("Your API token is invalid or not authorized to perform this action. Remove the token from .env and run the command again to generate a new token.");if(e.status===404)throw new Error("Code components are rolling out in phases. Check back soon for access.");let t=await e.json();throw new Error(t.message||e.statusText)}async function Ot({endpoint:e,method:t="GET",body:n,options:r}){let{baseUrl:o,authToken:i}=aC(r),s=`${o.replace(/\/+$/,"")}/${e.replace(/^\/+/,"")}`,a=await Ne(s,{method:t,headers:{"Content-Type":"application/json",Authorization:`Bearer ${i}`},body:lC(n)});return await uC(a),a.json()}async function kl({options:e}){return(await Ot({endpoint:"/code_libraries",options:e})).payload.workspaces[0]}async function xl({name:e,description:t,slug:n,options:r}){return(await Ot({method:"POST",endpoint:"/code_library/init",body:{name:e,description:t,slug:n},options:r})).payload}async function Fl({resourceId:e,files:t,options:n}){return(await Ot({method:"POST",endpoint:`/code_library/${e}/files`,body:{files:t},options:n})).payload}async function Cl({resourceId:e,codeModule:t,components:n,options:r}){return(await Ot({method:"POST",endpoint:`/code_library/${e}/share`,body:{codeModule:t,components:n},options:r})).payload}var rg=require("path"),og=D(require("webpack-merge")),ft=require("@webflow/data-types");function pn(){return{module:{rules:[{test:/\.(js|ts)x?$/,exclude:/node_modules/,use:[{ident:"babel-loader",loader:require.resolve("babel-loader"),options:{presets:[require.resolve("@babel/preset-env"),[require.resolve("@babel/preset-react"),{runtime:"automatic"}],require.resolve("@babel/preset-typescript")]}}]}]},resolve:{extensions:[".tsx",".ts",".jsx",".js",".json"]}}}var Ph=require("webpack"),_l=D(require("mini-css-extract-plugin")),Ih=D(require("tsconfig-paths-webpack-plugin")),jh=require("tsconfig-paths"),Sl=require("@webflow/data-types"),Bh=require("path");de();var Ah=D(require("postcss-selector-parser")),El=()=>({postcssPlugin:"CSSinShadowDOM",Once(e){e.walkRules(t=>{t.selector=(0,Ah.default)(n=>{n.walkPseudos(r=>{r.value===":root"&&(r.value=":host")})}).processSync(t.selector)})}});El.postcss=!0;El.postcssPlugin="CSSinShadowDOM";var Oh=El;function cC(){return(0,jh.loadConfig)(process.cwd()).resultType==="success"}function Zr({entry:e,env:t,mode:n="production",publicPath:r,libraryName:o,outputPath:i}){let s={mode:n,module:{rules:[{test:/\.css$/i,use:[{ident:"mini-css-extract-loader",loader:_l.default.loader},{ident:"css-loader",loader:require.resolve("css-loader"),options:{importLoaders:1}},{ident:"postcss-loader",loader:require.resolve("postcss-loader"),options:{postcssOptions:{plugins:[Oh]}}}]},{test:/\.(png|svg|jpg|jpeg|gif|woff|woff2|eot|ttf|otf)$/i,type:"asset/resource",generator:{filename:"[hash]-[name][ext]"}}]},plugins:[new _l.default({filename:"[contenthash].css",chunkFilename:"[contenthash].css",runtime:!1})],resolve:{plugins:[cC()?new Ih.default:null].filter(Boolean)},performance:{hints:!1}};if(t===Sl.Environment.Client)return{...s,entry:()=>({}),output:{path:i?(0,Bh.join)(process.cwd(),i,t):"/",publicPath:r,clean:!0,uniqueName:o},target:"web"};if(t===Sl.Environment.Server)return{...s,plugins:[...s.plugins||[],new Ph.optimize.LimitChunkCountPlugin({maxChunks:1})],entry:e,output:{filename:Do,library:{type:"commonjs2"}},optimization:{splitChunks:!1},target:"async-node"};throw new Error(`Unknown environment ${t}`)}var Lh=require("@module-federation/enhanced"),Tl=require("@webflow/data-types");function Rh({libraryName:e,env:t,exposes:n}){if(t===Tl.Environment.Client)return{plugins:[new Lh.ModuleFederationPlugin({name:e,filename:"remoteEntry.js",exposes:n,dts:!1,experiments:{optimization:{disableSnapshot:!0}}})]};if(t===Tl.Environment.Server)return{};throw new Error(`Unknown environment ${t}`)}de();V();var $h=require("memfs/lib/volume"),Yr=require("@webflow/data-types");var Qe="./tmp_entry",Nh="components";function dC(e){let t=pC(e);return/^[a-zA-Z]/.test(t.charAt(0))?t:"_"+t}function Mh(e,t){let n=e.map(({name:u,path:l,isDefaultExport:c})=>c?`import ${u} from "${l}";`:`import { ${u} } from "${l}";`).join(`
|
|
111
111
|
`),r=e.filter(u=>u.type==="internal").map(({name:u,exportKey:l})=>`${l}: ${u}`).join(", "),o=e.filter(u=>u.type==="component").map(({name:u,exportKey:l})=>`"${l}": ${u}`).join(", "),i=`env: "${t}"`,s=r,a=o?`components: { ${o} }`:void 0;return`${n}
|
|
112
112
|
|
|
113
|
-
export default { ${[i,s,a].filter(Boolean).join(", ")} };`}function Wh(e,t,n){let r={},o=`${Qe}/Client.js`,i=`${Qe}/Server.js`;r[o]=Mh([{name:"ClientRenderer",path:e.client,exportKey:"Renderer",type:"internal"}],Yr.Environment.Client);let s={},a=l=>{let c=dC(l);return s[c]?(s[c]+=1,`${c}${s[c]}`):(s[c]=1,c)};r[i]=Mh([{name:"ServerRenderer",path:e.server,exportKey:"Renderer",type:"internal"},...Object.entries(t).filter(([l])=>n[l]?.ssr??!0).map(([l,c])=>{let p=a(l),f=c.startsWith(Qe)?c.replace(`${Qe}/`,"./"):c;return{name:p,path:f,exportKey:l,isDefaultExport:!0,type:"component"}})],Yr.Environment.Server);let u={[Yr.Environment.Client]:o,[Yr.Environment.Server]:i};return{entryPointsVolume:$h.Volume.fromJSON(r),paths:u}}var dC=e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[-_]+|[^\p{L}\p{N}]/gu," ").toLowerCase().replace(new RegExp("(?:^|\\s)(\\p{L})","gu"),(t,n)=>n.toUpperCase()).replace(/\s+/g,"");var ig=require("memfs/lib/volume");var pC=D(require("fs")),zh=require("unionfs"),Uh=require("webpack");async function Pt({config:e,sourceVolumes:t=[],outputVolume:n,outputPath:r,failOnWarnings:o=!0}){let i=t.reduce((s,a)=>(s.use(a),s),new zh.Union().use(pC));return new Promise((s,a)=>{let u=(0,Uh.webpack)(e);u.inputFileSystem=i,n&&(u.outputFileSystem=n),r&&(u.outputPath=r),u.run((l,c)=>{u.close(p=>{l||p?a(l||p):c?c.hasErrors()||o&&c.hasWarnings()?a(new Error(c.toString("errors-warnings"))):s(c):a(new Error("Webpack stats are undefined"))})})})}var Zn=D(require("webpack-merge"));V();var qh=require("@module-federation/enhanced");function Vh(e,t){let n=Object.entries(e).filter(([r])=>!t.includes(r));return Object.fromEntries(n)}function Kr(e,t,n){let r=["entry","output","target"],o=fC(e),i=Array.isArray(n)?Gh(...n.map(o)):Gh(o(n));Object.keys(i).some(f=>r.includes(f))&&d.warn(`Cannot override blocked properties: ${r.join(", ")}`);let s=Vh(i,[...r,"ModuleFederationPlugin","module","plugins"]),a=(0,Zn.default)(t,{...s,module:Vh(i.module??{},["rules"])}),{plugins:u}=(0,Zn.mergeWithCustomize)({customizeArray:(0,Zn.unique)("plugins",["ModuleFederationPlugin","MiniCssExtractPlugin"],f=>f?.constructor?.name)})({plugins:i.plugins},{plugins:t.plugins}),l=i?.ModuleFederationPlugin?.shared,c=u?.map(f=>{if(f?.constructor?.name==="ModuleFederationPlugin"){let m=f._options;return new qh.ModuleFederationPlugin({...m,...l?{shared:l}:{}})}return f});a.plugins=c;let p=i.module?.rules;return p&&typeof p=="function"&&(a.module={...a.module,rules:p(t.module?.rules??[])}),a}function Gh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={};for(let n of e){let{module:r,ModuleFederationPlugin:o,plugins:i,...s}=n;if(t={...t,...s},r){let{rules:a,...u}=r;if(t.module={...t.module,...u},a){let l=t.module?.rules;l?t.module.rules=c=>{let p=l(c);return a(p)}:t.module.rules=a}}o?.shared&&(t.ModuleFederationPlugin={shared:{...t.ModuleFederationPlugin?.shared,...o.shared}}),i&&(t.plugins=[...t.plugins??[],...i])}return t}function fC(e){return t=>typeof t=="function"?t(e):t}var Kh=D(require("archiver")),Yn=require("path");de();var Xr=require("@webflow/data-types");de();V();var It=e=>e.endsWith("/")||/%2F$/i.test(e)?e:`${e}/`;var Hh=2;function Jh(e){let t={type:Xr.ModuleLoader.FEDERATION,version:Hh,entry:xs,renderer:br,components:e};return{title:yr,content:JSON.stringify(t)}}function Zh(e){let t={type:Xr.ModuleLoader.SSR,version:Hh,entry:Do,components:e};return{title:yr,content:JSON.stringify(t)}}function Yh(e){let t=`/${Xr.Environment.Client}/${xs}`;try{if(e.existsSync(t)){let n=e.readFileSync(t,"utf8"),r=JSON.parse(n.toString()),o="publicPath"in r.metaData?r.metaData.publicPath:null;if(!o)throw new Error("Public path not found in module federation manifest");return r.exposes.reduce((i,s)=>{let a=s.name;return a===br||(i[a]={css:[]},s.assets.css.sync.forEach(u=>{i[a].css.push(`${It(o)}${u}`)})),i},{})}}catch(n){d.error(`Failed to extract components metadata from MF manifest: ${n}`)}return{}}var Ci=require("@webflow/data-types"),mC=/\.css$/i;async function Xh(e,t,n){let r=!1;return new Promise(async(o,i)=>{e.length===0&&i(new Error("No assets to bundle"));let s=`/${Ci.Environment.Server}/${Dr}`,a=(0,Kh.default)("tar",{gzip:!1}),u=t.createWriteStream(s);a.on("error",p=>(r=!0,i(p))),u.on("close",()=>{if(!r)try{let p={type:"asset",name:Dr,info:{},size:a.pointer(),emitted:!0,comparedForEmit:!1,cached:!1};return e.forEach(f=>{let m=(0,Yn.resolve)((0,Yn.join)(`/${Ci.Environment.Server}`,f.name));t.existsSync(m)&&t.rmSync(m)}),o([p])}catch(p){return i(p)}finally{r=!0}}),a.pipe(u);let{title:l,content:c}=Zh(n);a.append(c,{name:l}),e.forEach(p=>{if(!mC.test(p.name))try{let f=(0,Yn.resolve)((0,Yn.join)(`/${Ci.Environment.Server}`,p.name)),m=t.readFileSync(f,"utf8");a.append(m,{name:p.name})}catch(f){return r=!0,i(f)}}),await a.finalize()})}var Qh=require("@webflow/data-types");async function eg(e,t,n){let{title:r,content:o}=Jh(n);await t.promises.writeFile(`/${Qh.Environment.Client}/${r}`,o);let i={type:"asset",name:r,info:{},size:o.length,emitted:!0,comparedForEmit:!1,cached:!1};return e.filter(s=>s.name!=="mf-stats.json").concat([i])}var tg={[ft.Framework.React]:{generateBundlerConfig:pn}},ng={colors:!0,chunks:!1,modules:!1,chunkModules:!1,reasons:!1,errorDetails:!1,assetsSpace:1/0,warnings:!1,assets:!0,entrypoints:!0,performance:!0};async function Ei(e){d.debug("Generating entry points...");let{entryPointsVolume:t,paths:n}=Wh(e.renderer,e.componentsFiles,e.componentsOptions),r=ig.Volume.fromJSON({"/Server":null,"/Client":null});d.debug("Generating bundling config...");let o=e.overrideConfig??{};Object.keys(o).length&&d.debug("Found bundle config overrides. Merging...");let i=m=>{let y=Kr(m,hC({env:m,mode:e.dev?"development":"production",framework:e.framework,publicPath:e.publicPath,components:e.componentsFiles,entryPaths:n,libraryName:e.libraryIdentifier}),o);return e?.debugBundler&&(d.info(`Webpack config for env ${m}:`),d.dir(y)),y},[s,a]=await Promise.all([Pt({config:i(ft.Environment.Server),sourceVolumes:[...e.sourceVolumes,t],outputVolume:r,outputPath:`/${ft.Environment.Server}`,failOnWarnings:e.failOnWarnings}),Pt({config:i(ft.Environment.Client),sourceVolumes:[...e.sourceVolumes,t],outputVolume:r,outputPath:`/${ft.Environment.Client}`,failOnWarnings:e.failOnWarnings})]);e?.debugBundler&&(d.debug(r.toTree()),d.debug(`Server Bundler Stats: ${s.toString(ng)}`),d.debug(`Client Bundler Stats: ${a.toString(ng)}`));let u=Yh(r);d.debug("Packaging server bundle...");let l=await Xh(s.toJson().assets||[],r,u);d.debug("Packaging client bundle...");let c=await eg(a.toJson().assets||[],r,u),p=m=>y=>[y,m];return{outputFiles:[...l.map(p(ft.Environment.Server)),...c.map(p(ft.Environment.Client))],outputVolume:r}}function hC({env:e,mode:t="production",framework:n,publicPath:r,components:o,entryPaths:i,libraryName:s,outputPath:a}){if(tg[n]){let u=Object.entries({[br]:i[e],...o}).reduce((f,[m,y])=>({...f,[`./${m}`]:`./${(0,rg.relative)(process.cwd(),y)}`}),{}),l=Zr({entry:i[e],env:e,mode:t,libraryName:s,publicPath:r,outputPath:a}),c=tg[n].generateBundlerConfig(e),p=Rh({exposes:u,env:e,libraryName:s});return(0,og.default)(l,c,p)}else throw new Error(`Unknown framework: ${n}`)}var ag=D(require("path")),Al=require("memfs/lib/volume"),Ol=D(require("webpack-merge")),lg=D(require("webpack-node-externals")),ug=D(require("mini-css-extract-plugin")),cg=D(require("fork-ts-checker-webpack-plugin")),fn=require("@webflow/data-types");var gC=D(require("fs")),Kn=require("path"),Xn=require("webpack");function yC(e,t=gC){let n=(0,Kn.join)(process.cwd(),"node_modules",e);for(;n!==(0,Kn.dirname)(n)&&n!=="node_modules";){let r=(0,Kn.join)(n,"package.json");if(t.existsSync(r))try{let{name:o,version:i}=JSON.parse(t.readFileSync(r,"utf8"));return`${o}@${i}`}catch{return null}n=(0,Kn.dirname)(n)}return null}var _i=class{apply(t){t.hooks.compilation.tap("ProcessSourceMapsPlugin",function(n){n.hooks.processAssets.tap({name:"ProcessSourceMapsPlugin",stage:Xn.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE},function(){try{let r=n.getAssets(),o={};Object.values(r).forEach(({name:i,source:s})=>{if(!i.endsWith(".map"))return;let[a,u,l]=i.split("."),c=o[a]?.sources??{},p=o[a]?.dependencies??new Set;JSON.parse(s.source().toString()).sources.forEach(m=>{if(m.startsWith("external")){let y=m.match(/^external \S+ "(.+)"$/)?.[1];if(!y)throw new Error(`Could not extract package name from ${m}`);let x=yC(y,n.inputFileSystem);if(!x)throw new Error(`Could not find package information for ${y}`);x&&p.add(x)}}),o[a]={sources:{...c,[`./${a}.${l}`]:u},dependencies:p},n.deleteAsset(i)}),Object.entries(o).forEach(([i,{sources:s,dependencies:a}])=>{n.emitAsset(`${i}.js.map`,new Xn.sources.RawSource(JSON.stringify({sources:s,dependencies:[...a]})))})}catch(r){n.errors.push(new Xn.WebpackError(`[ProcessSourceMapsPlugin] Could not process source maps: ${r?.stack}`))}})})}};var sg=D(require("module"));function Qr(e,t){let n=e.readFileSync(t,"utf-8"),r=new sg.default(t,module);return r._compile(n,t),r}function bC(e,t){let n=`/${t}.js`,r=Qr(e,n),o=r.exports.default||r.exports;if(o&&typeof o=="object")try{let{name:i,description:s,group:a,props:u,options:l}=(0,fn.parseComponentData)(o);return{displayName:i,description:s,group:a,props:Object.entries(u||{}).map(([c,p])=>({...p,name:c,defaultValue:typeof p.defaultValue!="string"?JSON.stringify(p.defaultValue):p.defaultValue,settings:p.settings!==void 0?JSON.stringify(p.settings):p.settings})),options:l}}catch(i){throw new Error(`Error parsing component data for '${t}': ${i?.stack}`)}throw new Error(`Could not get declaration for '${t}'`)}async function DC({declarations:e,sources:t,overrideConfig:n={},performTypeCheck:r}){let o=new Al.Volume;return await Pt({config:Kr(fn.Environment.Client,(0,Ol.default)(Zr({entry:e,env:fn.Environment.Client,publicPath:"/",libraryName:"metadata"}),pn(),{entry:e,mode:"development",output:{path:"/",library:{type:"commonjs2"}},target:"node",plugins:r?[new cg.default]:[]}),n),sourceVolumes:t?[t]:[],outputVolume:o,failOnWarnings:!1}),o}async function wC({declarations:e,sources:t,overrideConfig:n={}}){let r=new Al.Volume,o=Kr(fn.Environment.Client,(0,Ol.default)(Zr({entry:e,env:fn.Environment.Client,publicPath:"/",libraryName:"source-maps"}),pn(),{entry:e,mode:"production",optimization:{mangleExports:"deterministic",moduleIds:"deterministic",chunkIds:"deterministic"},output:{hashFunction:"md5",filename:"[name].[contenthash].js",path:"/",library:{type:"commonjs2"},devtoolModuleFilenameTemplate:"[resource-path]"},externalsPresets:{node:!0},externals:[(0,lg.default)()],devtool:"source-map",plugins:[new _i]}),n);return o.plugins=o.plugins?.map(i=>i?.constructor?.name==="MiniCssExtractPlugin"?new ug.default({filename:"[name].[contenthash].css"}):i),await Pt({config:o,sourceVolumes:t?[t]:[],outputVolume:r,failOnWarnings:!1}),r}function vC(e){return Object.entries(e.toJSON()).reduce((t,[n,r])=>{if(n.endsWith(".map")&&r?.length){let o=ag.default.basename(n).split(".")[0];t[o]=r}return t},{})}async function Si({declarations:e,sources:t,overrideConfig:n,performTypeCheck:r=!1,skipSourceMaps:o=!1}){let[i,s]=await Promise.all([DC({declarations:e,sources:t,overrideConfig:n,performTypeCheck:r}),o?Promise.resolve(null):wC({declarations:e,sources:t,overrideConfig:n})]),{metadata:a,options:u}=Object.keys(e).reduce((c,p)=>{let f=bC(i,p);return c.metadata[p]=f,c.options[p]=f.options||{},c},{metadata:{},options:{}});return{sourceMaps:s?vC(s):{},metadata:a,options:u}}function dg(e,{framework:t,sourceMaps:n}){return Object.fromEntries(Object.keys(e).map(r=>[r,{...e[r],id:r,framework:t,exportPath:"default",hash:n[r]}]))}Le();var fg=D(require("md5"));V();pe();var mg=" - ";function kC(e){return e==="added"?` ${Nt.green("(Added)")}`:e==="removed"?` ${Nt.yellow("(Removed)")}`:e==="changed"?` ${Nt.blue("(Changed)")}`:""}function pg(e){if(!e)return"";let t=JSON.parse(e);return(0,fg.default)(JSON.stringify([...Object.values(t.sources),...t.dependencies.filter(n=>!n.includes("@webflow/data-types")&&!n.includes("@webflow/react"))].sort()))}function xC({componentsMetadata:e,latestVersion:t,sourceMaps:n}){let r=t.resource.codeLibraryResource.manifest.components.reduce((s,a)=>(s[a.id]=a,s),{}),o={};return Object.entries(r).forEach(([s,a])=>{if(!e[s])o[s]={component:a,status:"removed"};else{let u=e[s],l=pg(n[s]),c=a.displayName&&u.displayName!==a.displayName,p=l&&a.hash&&l!==pg(a.hash),f=c||p;o[s]={component:u,status:f?"changed":"unchanged",previousName:c?a.displayName:void 0}}}),Object.entries(e).forEach(([s,a])=>{r[s]||(o[s]={component:a,status:"added"})}),Object.values(o).map(({component:s,status:a,previousName:u})=>{let l=s.displayName,c=u?`${u} \u2192 ${l}`:l;return`${mg}${c}${kC(a)}`}).sort().join(`
|
|
114
|
-
`)}function
|
|
115
|
-
`)}async function hg({libraryConfig:e,componentsMetadata:t,existingCodeLibraries:n,sourceMaps:r,workspaceInfo:o}){if(ne())return Promise.resolve(!0);let i=e.id?n.find(({profile:p})=>p.slug===e.id):null,s=i&&i.profile.status==="ACTIVE",a="Code components:",u=s?
|
|
113
|
+
export default { ${[i,s,a].filter(Boolean).join(", ")} };`}function Wh(e,t,n){let r={},o=`${Qe}/Client.js`,i=`${Qe}/Server.js`;r[o]=Mh([{name:"ClientRenderer",path:e.client,exportKey:"Renderer",type:"internal"}],Yr.Environment.Client);let s={},a=l=>{let c=dC(l);return s[c]?(s[c]+=1,`${c}${s[c]}`):(s[c]=1,c)};r[i]=Mh([{name:"ServerRenderer",path:e.server,exportKey:"Renderer",type:"internal"},...Object.entries(t).filter(([l])=>n[l]?.ssr??!0).map(([l,c])=>{let p=a(l),f=c.startsWith(Qe)?c.replace(`${Qe}/`,"./"):c;return{name:p,path:f,exportKey:l,isDefaultExport:!0,type:"component"}})],Yr.Environment.Server);let u={[Yr.Environment.Client]:o,[Yr.Environment.Server]:i};return{entryPointsVolume:$h.Volume.fromJSON(r),paths:u}}var pC=e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[-_]+|[^\p{L}\p{N}]/gu," ").toLowerCase().replace(new RegExp("(?:^|\\s)(\\p{L})","gu"),(t,n)=>n.toUpperCase()).replace(/\s+/g,"");var ig=require("memfs/lib/volume");var fC=D(require("fs")),zh=require("unionfs"),Uh=require("webpack");async function Pt({config:e,sourceVolumes:t=[],outputVolume:n,outputPath:r,failOnWarnings:o=!0}){let i=t.reduce((s,a)=>(s.use(a),s),new zh.Union().use(fC));return new Promise((s,a)=>{let u=(0,Uh.webpack)(e);u.inputFileSystem=i,n&&(u.outputFileSystem=n),r&&(u.outputPath=r),u.run((l,c)=>{u.close(p=>{l||p?a(l||p):c?c.hasErrors()||o&&c.hasWarnings()?a(new Error(c.toString("errors-warnings"))):s(c):a(new Error("Webpack stats are undefined"))})})})}var Zn=D(require("webpack-merge"));V();var qh=require("@module-federation/enhanced");function Vh(e,t){let n=Object.entries(e).filter(([r])=>!t.includes(r));return Object.fromEntries(n)}function Kr(e,t,n){let r=["entry","output","target"],o=mC(e),i=Array.isArray(n)?Gh(...n.map(o)):Gh(o(n));Object.keys(i).some(f=>r.includes(f))&&d.warn(`Cannot override blocked properties: ${r.join(", ")}`);let s=Vh(i,[...r,"ModuleFederationPlugin","module","plugins"]),a=(0,Zn.default)(t,{...s,module:Vh(i.module??{},["rules"])}),{plugins:u}=(0,Zn.mergeWithCustomize)({customizeArray:(0,Zn.unique)("plugins",["ModuleFederationPlugin","MiniCssExtractPlugin"],f=>f?.constructor?.name)})({plugins:i.plugins},{plugins:t.plugins}),l=i?.ModuleFederationPlugin?.shared,c=u?.map(f=>{if(f?.constructor?.name==="ModuleFederationPlugin"){let m=f._options;return new qh.ModuleFederationPlugin({...m,...l?{shared:l}:{}})}return f});a.plugins=c;let p=i.module?.rules;return p&&typeof p=="function"&&(a.module={...a.module,rules:p(t.module?.rules??[])}),a}function Gh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={};for(let n of e){let{module:r,ModuleFederationPlugin:o,plugins:i,...s}=n;if(t={...t,...s},r){let{rules:a,...u}=r;if(t.module={...t.module,...u},a){let l=t.module?.rules;l?t.module.rules=c=>{let p=l(c);return a(p)}:t.module.rules=a}}o?.shared&&(t.ModuleFederationPlugin={shared:{...t.ModuleFederationPlugin?.shared,...o.shared}}),i&&(t.plugins=[...t.plugins??[],...i])}return t}function mC(e){return t=>typeof t=="function"?t(e):t}var Kh=D(require("archiver")),Yn=require("path");de();var Xr=require("@webflow/data-types");de();V();var It=e=>e.endsWith("/")||/%2F$/i.test(e)?e:`${e}/`;var Hh=2;function Jh(e){let t={type:Xr.ModuleLoader.FEDERATION,version:Hh,entry:xs,renderer:br,components:e};return{title:yr,content:JSON.stringify(t)}}function Zh(e){let t={type:Xr.ModuleLoader.SSR,version:Hh,entry:Do,components:e};return{title:yr,content:JSON.stringify(t)}}function Yh(e){let t=`/${Xr.Environment.Client}/${xs}`;try{if(e.existsSync(t)){let n=e.readFileSync(t,"utf8"),r=JSON.parse(n.toString()),o="publicPath"in r.metaData?r.metaData.publicPath:null;if(!o)throw new Error("Public path not found in module federation manifest");return r.exposes.reduce((i,s)=>{let a=s.name;return a===br||(i[a]={css:[]},s.assets.css.sync.forEach(u=>{i[a].css.push(`${It(o)}${u}`)})),i},{})}}catch(n){d.error(`Failed to extract components metadata from MF manifest: ${n}`)}return{}}var Ci=require("@webflow/data-types"),hC=/\.css$/i;async function Xh(e,t,n){let r=!1;return new Promise(async(o,i)=>{e.length===0&&i(new Error("No assets to bundle"));let s=`/${Ci.Environment.Server}/${Dr}`,a=(0,Kh.default)("tar",{gzip:!1}),u=t.createWriteStream(s);a.on("error",p=>(r=!0,i(p))),u.on("close",()=>{if(!r)try{let p={type:"asset",name:Dr,info:{},size:a.pointer(),emitted:!0,comparedForEmit:!1,cached:!1};return e.forEach(f=>{let m=(0,Yn.resolve)((0,Yn.join)(`/${Ci.Environment.Server}`,f.name));t.existsSync(m)&&t.rmSync(m)}),o([p])}catch(p){return i(p)}finally{r=!0}}),a.pipe(u);let{title:l,content:c}=Zh(n);a.append(c,{name:l}),e.forEach(p=>{if(!hC.test(p.name))try{let f=(0,Yn.resolve)((0,Yn.join)(`/${Ci.Environment.Server}`,p.name)),m=t.readFileSync(f,"utf8");a.append(m,{name:p.name})}catch(f){return r=!0,i(f)}}),await a.finalize()})}var Qh=require("@webflow/data-types");async function eg(e,t,n){let{title:r,content:o}=Jh(n);await t.promises.writeFile(`/${Qh.Environment.Client}/${r}`,o);let i={type:"asset",name:r,info:{},size:o.length,emitted:!0,comparedForEmit:!1,cached:!1};return e.filter(s=>s.name!=="mf-stats.json").concat([i])}var tg={[ft.Framework.React]:{generateBundlerConfig:pn}},ng={colors:!0,chunks:!1,modules:!1,chunkModules:!1,reasons:!1,errorDetails:!1,assetsSpace:1/0,warnings:!1,assets:!0,entrypoints:!0,performance:!0};async function Ei(e){d.debug("Generating entry points...");let{entryPointsVolume:t,paths:n}=Wh(e.renderer,e.componentsFiles,e.componentsOptions),r=ig.Volume.fromJSON({"/Server":null,"/Client":null});d.debug("Generating bundling config...");let o=e.overrideConfig??{};Object.keys(o).length&&d.debug("Found bundle config overrides. Merging...");let i=m=>{let y=Kr(m,gC({env:m,mode:e.dev?"development":"production",framework:e.framework,publicPath:e.publicPath,components:e.componentsFiles,entryPaths:n,libraryName:e.libraryIdentifier}),o);return e?.debugBundler&&(d.info(`Webpack config for env ${m}:`),d.dir(y)),y},[s,a]=await Promise.all([Pt({config:i(ft.Environment.Server),sourceVolumes:[...e.sourceVolumes,t],outputVolume:r,outputPath:`/${ft.Environment.Server}`,failOnWarnings:e.failOnWarnings}),Pt({config:i(ft.Environment.Client),sourceVolumes:[...e.sourceVolumes,t],outputVolume:r,outputPath:`/${ft.Environment.Client}`,failOnWarnings:e.failOnWarnings})]);e?.debugBundler&&(d.debug(r.toTree()),d.debug(`Server Bundler Stats: ${s.toString(ng)}`),d.debug(`Client Bundler Stats: ${a.toString(ng)}`));let u=Yh(r);d.debug("Packaging server bundle...");let l=await Xh(s.toJson().assets||[],r,u);d.debug("Packaging client bundle...");let c=await eg(a.toJson().assets||[],r,u),p=m=>y=>[y,m];return{outputFiles:[...l.map(p(ft.Environment.Server)),...c.map(p(ft.Environment.Client))],outputVolume:r}}function gC({env:e,mode:t="production",framework:n,publicPath:r,components:o,entryPaths:i,libraryName:s,outputPath:a}){if(tg[n]){let u=Object.entries({[br]:i[e],...o}).reduce((f,[m,y])=>({...f,[`./${m}`]:`./${(0,rg.relative)(process.cwd(),y)}`}),{}),l=Zr({entry:i[e],env:e,mode:t,libraryName:s,publicPath:r,outputPath:a}),c=tg[n].generateBundlerConfig(e),p=Rh({exposes:u,env:e,libraryName:s});return(0,og.default)(l,c,p)}else throw new Error(`Unknown framework: ${n}`)}var ag=D(require("path")),Al=require("memfs/lib/volume"),Ol=D(require("webpack-merge")),lg=D(require("webpack-node-externals")),ug=D(require("mini-css-extract-plugin")),cg=D(require("fork-ts-checker-webpack-plugin")),fn=require("@webflow/data-types");var yC=D(require("fs")),Kn=require("path"),Xn=require("webpack");function bC(e,t=yC){let n=(0,Kn.join)(process.cwd(),"node_modules",e);for(;n!==(0,Kn.dirname)(n)&&n!=="node_modules";){let r=(0,Kn.join)(n,"package.json");if(t.existsSync(r))try{let{name:o,version:i}=JSON.parse(t.readFileSync(r,"utf8"));return`${o}@${i}`}catch{return null}n=(0,Kn.dirname)(n)}return null}var _i=class{apply(t){t.hooks.compilation.tap("ProcessSourceMapsPlugin",function(n){n.hooks.processAssets.tap({name:"ProcessSourceMapsPlugin",stage:Xn.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE},function(){try{let r=n.getAssets(),o={};Object.values(r).forEach(({name:i,source:s})=>{if(!i.endsWith(".map"))return;let[a,u,l]=i.split("."),c=o[a]?.sources??{},p=o[a]?.dependencies??new Set;JSON.parse(s.source().toString()).sources.forEach(m=>{if(m.startsWith("external")){let y=m.match(/^external \S+ "(.+)"$/)?.[1];if(!y)throw new Error(`Could not extract package name from ${m}`);let x=bC(y,n.inputFileSystem);if(!x)throw new Error(`Could not find package information for ${y}`);x&&p.add(x)}}),o[a]={sources:{...c,[`./${a}.${l}`]:u},dependencies:p},n.deleteAsset(i)}),Object.entries(o).forEach(([i,{sources:s,dependencies:a}])=>{n.emitAsset(`${i}.js.map`,new Xn.sources.RawSource(JSON.stringify({sources:s,dependencies:[...a]})))})}catch(r){n.errors.push(new Xn.WebpackError(`[ProcessSourceMapsPlugin] Could not process source maps: ${r?.stack}`))}})})}};var sg=D(require("module"));function Qr(e,t){let n=e.readFileSync(t,"utf-8"),r=new sg.default(t,module);return r._compile(n,t),r}function DC(e,t){let n=`/${t}.js`,r=Qr(e,n),o=r.exports.default||r.exports;if(o&&typeof o=="object")try{let{name:i,description:s,group:a,props:u,options:l}=(0,fn.parseComponentData)(o);return{displayName:i,description:s,group:a,props:Object.entries(u||{}).map(([c,p])=>({...p,name:c,defaultValue:typeof p.defaultValue!="string"?JSON.stringify(p.defaultValue):p.defaultValue,settings:p.settings!==void 0?JSON.stringify(p.settings):p.settings})),options:l}}catch(i){throw new Error(`Error parsing component data for '${t}': ${i?.stack}`)}throw new Error(`Could not get declaration for '${t}'`)}async function wC({declarations:e,sources:t,overrideConfig:n={},performTypeCheck:r}){let o=new Al.Volume;return await Pt({config:Kr(fn.Environment.Client,(0,Ol.default)(Zr({entry:e,env:fn.Environment.Client,publicPath:"/",libraryName:"metadata"}),pn(),{entry:e,mode:"development",output:{path:"/",library:{type:"commonjs2"}},target:"node",plugins:r?[new cg.default]:[]}),n),sourceVolumes:t?[t]:[],outputVolume:o,failOnWarnings:!1}),o}async function vC({declarations:e,sources:t,overrideConfig:n={}}){let r=new Al.Volume,o=Kr(fn.Environment.Client,(0,Ol.default)(Zr({entry:e,env:fn.Environment.Client,publicPath:"/",libraryName:"source-maps"}),pn(),{entry:e,mode:"production",optimization:{mangleExports:"deterministic",moduleIds:"deterministic",chunkIds:"deterministic"},output:{hashFunction:"md5",filename:"[name].[contenthash].js",path:"/",library:{type:"commonjs2"},devtoolModuleFilenameTemplate:"[resource-path]"},externalsPresets:{node:!0},externals:[(0,lg.default)()],devtool:"source-map",plugins:[new _i]}),n);return o.plugins=o.plugins?.map(i=>i?.constructor?.name==="MiniCssExtractPlugin"?new ug.default({filename:"[name].[contenthash].css"}):i),await Pt({config:o,sourceVolumes:t?[t]:[],outputVolume:r,failOnWarnings:!1}),r}function kC(e){return Object.entries(e.toJSON()).reduce((t,[n,r])=>{if(n.endsWith(".map")&&r?.length){let o=ag.default.basename(n).split(".")[0];t[o]=r}return t},{})}async function Si({declarations:e,sources:t,overrideConfig:n,performTypeCheck:r=!1,skipSourceMaps:o=!1}){let[i,s]=await Promise.all([wC({declarations:e,sources:t,overrideConfig:n,performTypeCheck:r}),o?Promise.resolve(null):vC({declarations:e,sources:t,overrideConfig:n})]),{metadata:a,options:u}=Object.keys(e).reduce((c,p)=>{let f=DC(i,p);return c.metadata[p]=f,c.options[p]=f.options||{},c},{metadata:{},options:{}});return{sourceMaps:s?kC(s):{},metadata:a,options:u}}function dg(e,{framework:t,sourceMaps:n}){return Object.fromEntries(Object.keys(e).map(r=>[r,{...e[r],id:r,framework:t,exportPath:"default",hash:n[r]}]))}Le();var fg=D(require("md5"));V();pe();var mg=" - ";function xC(e){return e==="added"?` ${Nt.green("(Added)")}`:e==="removed"?` ${Nt.yellow("(Removed)")}`:e==="changed"?` ${Nt.blue("(Changed)")}`:""}function pg(e){if(!e)return"";let t=JSON.parse(e);return(0,fg.default)(JSON.stringify([...Object.values(t.sources),...t.dependencies.filter(n=>!n.includes("@webflow/data-types")&&!n.includes("@webflow/react"))].sort()))}function FC({componentsMetadata:e,latestVersion:t,sourceMaps:n}){let r=t.resource.codeLibraryResource.manifest.components.reduce((s,a)=>(s[a.id]=a,s),{}),o={};return Object.entries(r).forEach(([s,a])=>{if(!e[s])o[s]={component:a,status:"removed"};else{let u=e[s],l=pg(n[s]),c=a.displayName&&u.displayName!==a.displayName,p=l&&a.hash&&l!==pg(a.hash),f=c||p;o[s]={component:u,status:f?"changed":"unchanged",previousName:c?a.displayName:void 0}}}),Object.entries(e).forEach(([s,a])=>{r[s]||(o[s]={component:a,status:"added"})}),Object.values(o).map(({component:s,status:a,previousName:u})=>{let l=s.displayName,c=u?`${u} \u2192 ${l}`:l;return`${mg}${c}${xC(a)}`}).sort().join(`
|
|
114
|
+
`)}function CC({componentsMetadata:e}){return Object.values(e).map(n=>`${mg}${n.displayName}`).sort().join(`
|
|
115
|
+
`)}async function hg({libraryConfig:e,componentsMetadata:t,existingCodeLibraries:n,sourceMaps:r,workspaceInfo:o}){if(ne())return Promise.resolve(!0);let i=e.id?n.find(({profile:p})=>p.slug===e.id):null,s=i&&i.profile.status==="ACTIVE",a="Code components:",u=s?FC({componentsMetadata:t,latestVersion:i,sourceMaps:r}):CC({componentsMetadata:t}),l=s?`Ready to update ${e.name} on ${o.name}?`:`Ready to share ${e.name} with ${o.name}?`;return await fe({message:`${a}
|
|
116
116
|
${u}
|
|
117
117
|
|
|
118
|
-
${l}`})}var Ti=require("path"),bg=require("memfs/lib/volume");var gg=D(require("fast-glob")),
|
|
118
|
+
${l}`})}var Ti=require("path"),bg=require("memfs/lib/volume");var gg=D(require("fast-glob")),EC=e=>{let t=e.split("/");return t[t.length-1]},_C=e=>EC(e).split(".")[0];async function yg(e,t){return(await gg.default.glob(e,{absolute:!0,...t||{}})).reduce((r,o)=>{let i=_C(o);if(r[i])throw new Error(`Duplicate component '${i}' found. Already declared at ${r[i]}, but also found at ${o}.`);return{...r,[i]:o}},{})}async function Ai(e){let t=await yg(e.components,{cwd:(0,Ti.dirname)(e.manifestPath),ignore:[e.globals,e.bundleConfig].filter(o=>o!=null)});if(!Object.keys(t).length)throw new Error("No declaration files found");let{componentsFiles:n,componentsVolume:r}=SC(t,e.renderer.client,e.globals);return{componentsFiles:n,componentsVolume:r}}function SC(e,t,n){let r={},o={};return Object.entries(e).forEach(([i,s])=>{let a=(0,Ti.extname)(s),u=`${Qe}/${Nh}/${i}${a}`;r[i]=u,o[u]=TC(t,s,n)}),{componentsFiles:r,componentsVolume:bg.Volume.fromJSON(o)}}function TC(e,t,n){return n?`
|
|
119
119
|
import { applyDecorators } from "${e}";
|
|
120
120
|
import componentDefinition from "${t}";
|
|
121
121
|
const globals = require("${n}") || {};
|
|
@@ -137,23 +137,23 @@ export default decoratedDefinition;
|
|
|
137
137
|
`.trim():`
|
|
138
138
|
import componentDefinition from "${t}";
|
|
139
139
|
export default {...componentDefinition};
|
|
140
|
-
`.trim()}V();pe();var
|
|
140
|
+
`.trim()}V();pe();var AC="fbab9abdbeeb35bb2554a1b83b8bd060d719f22eca26ff9119b87608c87c0074",OC=["code_components:read","code_components:write"];function PC(){return AC}async function Dg(e){let t=e?.apiToken||process.env.WEBFLOW_WORKSPACE_API_TOKEN;if(!t&&Ve()&&(d.debug("No workspace API token found. Performing OAuth..."),t=await xn({clientId:PC(),scope:OC}),t&&zt({workspaceApiToken:t})),!t)throw new Error("Workspace API token is required.");return t}var wg=require("path"),vg=require("fs-extra");function Oi(e,t){try{let n=IC(),r=jC(Object.values(e)),o=t?.force;return r&&n&&!o}catch{return!1}}var IC=()=>{try{return(0,vg.existsSync)((0,wg.join)(process.cwd(),"tsconfig.json"))}catch{return!1}},jC=e=>e.some(t=>t.endsWith(".ts")||t.endsWith(".tsx"));var kg=require("@webflow/data-types"),Pi={renderer:{client:"@webflow/react",server:"@webflow/react"},components:["**/*.webflow.@(js|jsx|mjs|ts|tsx)"],framework:kg.Framework.React};var Qn=require("path"),er=require("fs");Le();V();Re();function mt(e){return e.replace(/\\/g,"/")}pe();function xg(e){let t={...e};if(e.globals){let n=(0,Qn.resolve)(process.cwd(),e.globals);if(!(0,er.existsSync)(n))throw new Error(`Globals file not found: ${e.globals}
|
|
141
141
|
Resolved path: ${n}
|
|
142
142
|
Please ensure the file exists or remove the 'globals' field from your manifest.`);t.globals=mt(n)}if(e.bundleConfig){let n=(0,Qn.resolve)(process.cwd(),e.bundleConfig);if(!(0,er.existsSync)(n))throw new Error(`Bundle config file not found: ${e.bundleConfig}
|
|
143
143
|
Resolved path: ${n}
|
|
144
|
-
Please ensure the file exists or remove the 'bundleConfig' field from your manifest.`);t.bundleConfig=mt(n)}if(typeof e.renderer=="string"){let n=(0,Qn.resolve)(process.cwd(),e.renderer);(0,er.existsSync)(n)&&(t.renderer=mt(n))}else if(typeof e.renderer=="object"&&typeof t.renderer=="object"){if(typeof e.renderer.client=="string"){let n=(0,Qn.resolve)(process.cwd(),e.renderer.client);(0,er.existsSync)(n)&&(t.renderer={...t.renderer,client:mt(n)})}if(typeof e.renderer.server=="string"){let n=(0,Qn.resolve)(process.cwd(),e.renderer.server);(0,er.existsSync)(n)&&(t.renderer={...t.renderer,server:mt(n)})}}return t}async function
|
|
144
|
+
Please ensure the file exists or remove the 'bundleConfig' field from your manifest.`);t.bundleConfig=mt(n)}if(typeof e.renderer=="string"){let n=(0,Qn.resolve)(process.cwd(),e.renderer);(0,er.existsSync)(n)&&(t.renderer=mt(n))}else if(typeof e.renderer=="object"&&typeof t.renderer=="object"){if(typeof e.renderer.client=="string"){let n=(0,Qn.resolve)(process.cwd(),e.renderer.client);(0,er.existsSync)(n)&&(t.renderer={...t.renderer,client:mt(n)})}if(typeof e.renderer.server=="string"){let n=(0,Qn.resolve)(process.cwd(),e.renderer.server);(0,er.existsSync)(n)&&(t.renderer={...t.renderer,server:mt(n)})}}return t}async function BC({initialData:e}){let t=await Be({message:"Enter a name for your code library",validate:o=>o.trim()===""?"The library name cannot be empty.":!0,default:e?.name});t==null&&(console.error("When --no-input mode is enabled please provide a name in your library manifest"),process.exit(1));let n=await Be({message:"Enter a description for your code library",default:e?.description??""});if(!await fe({message:"Is the code (including 3rd party packages) you are uploading to Webflow trusted and secure?"}))throw new Error("Code library is not trusted and secure");return{name:t,description:n}}async function LC({existingCodeLibraries:e}){return await xe({message:"Select existing code library (or create new)",choices:[{name:"[Create new code library]",value:null},...e.map(({resource:n,profile:r})=>{let o=`${n.codeLibraryResource.manifest.name} (${r.slug})`;r.status==="ARCHIVED"&&(o+=` ${Nt.yellow("(Unshared)")}`);let i={id:r.slug,name:n.codeLibraryResource.manifest.name,description:n.codeLibraryResource.manifest.description};return{name:o,value:i}})]})}async function Pl({initialData:e,existingCodeLibraries:t}){let n,r={components:Pi.components},o=t.length>0?await LC({existingCodeLibraries:t}):null;if(o)n={...r,...o,...e,id:o.id};else{let a=await BC({initialData:e});n={...r,...e,...a}}let i=xg(n);le({library:i});let{path:s}=tt();return{libraryManifest:i,manifestPath:s}}async function Fg({existingCodeLibraries:e}){let t=d.spinner("Looking for webflow.json manifest");try{let{manifest:n,manifestPath:r}=re(),o=mr(n,"library");if(!o.id){if(Ve())return t.succeed(),Pl({initialData:o,existingCodeLibraries:e});throw new Error("Library manifest does not have an id")}let i=o.name??e.find(({profile:a})=>a.slug===o.id)?.resource.codeLibraryResource.manifest.name;if(!i&&Ve())return t.succeed(),Pl({initialData:o,existingCodeLibraries:e});i||(i=o.id),t.succeed();let s=xg({...o,name:i});return Promise.resolve({libraryManifest:s,manifestPath:r})}catch(n){if((n instanceof et||n instanceof Bt)&&Ve())return t.info(n.message),Pl({existingCodeLibraries:e});throw t.fail(),n}}var Il=require("memfs/lib/volume"),_g=D(require("webpack-merge"));var Sg="/client-renderer.js",Tg="/server-renderer.js",Cg=`${Qe}/test-renderers${Sg}`,Eg=`${Qe}/test-renderers${Tg}`,RC=new Set(["@webflow/react"]),NC=new Set(["@webflow/react","@webflow/emotion-utils/server","@webflow/styled-components-utils/server"]);async function Ag(e){if(!e.client||!e.server)throw new Error("Invalid renderer configuration. Both client and server renderers must be specified.");if(RC.has(e.client)&&NC.has(e.server))return;let t=await WC(e);MC(e.client,t),$C(e.server,t)}function MC(e,t){let n=Qr(t,Sg);if(typeof n.exports.ClientRenderer!="function")throw new Error(`Invalid client renderer: ${e} does not have a valid 'ClientRenderer' export.`);if(typeof n.exports.applyDecorators!="function")throw new Error(`Invalid client renderer: ${e} does not have a valid 'applyDecorators' export.`);let r=()=>null,o=n.exports.ClientRenderer(r),i=["mount","hydrate","render","createSlot"];for(let s of i)if(typeof o[s]!="function")throw new Error(`Invalid client renderer: ${e} ClientRenderer must return an object with a '${s}' function.`)}function $C(e,t){let n=Qr(t,Tg);if(typeof n.exports.ServerRenderer!="function")throw new Error(`Invalid server renderer: ${e} does not have a valid 'ServerRenderer' export.`);let r=()=>null,o=n.exports.ServerRenderer(r),i=["renderToStream","renderToString","createSlot"];for(let s of i)if(typeof o[s]!="function")throw new Error(`Invalid server renderer: ${e} ServerRenderer must return an object with a '${s}' function.`)}async function WC(e){let t=new Il.Volume,n=mt(e.client),r=mt(e.server),o={[Cg]:`
|
|
145
145
|
export * from "${n}";
|
|
146
146
|
`,[Eg]:`
|
|
147
147
|
export * from "${r}";
|
|
148
|
-
`},i=(0,_g.default)(pn(),{entry:{"client-renderer":Cg,"server-renderer":Eg},mode:"development",output:{path:"/",filename:"[name].js",library:{type:"commonjs2"}},target:"node"});return await Pt({config:i,sourceVolumes:[Il.Volume.fromJSON(o)],outputVolume:t,failOnWarnings:!1}),t}async function Ii({existingCodeLibraries:e}){let{libraryManifest:t,manifestPath:n}=await Fg({existingCodeLibraries:e}),{renderer:r,...o}=Pi,i=typeof t.renderer=="string"?{client:t.renderer,server:t.renderer}:{client:t.renderer?.client??r.client,server:t.renderer?.server??r.server};return await Ag(i),{...o,...t,renderer:i,manifestPath:n}}async function
|
|
148
|
+
`},i=(0,_g.default)(pn(),{entry:{"client-renderer":Cg,"server-renderer":Eg},mode:"development",output:{path:"/",filename:"[name].js",library:{type:"commonjs2"}},target:"node"});return await Pt({config:i,sourceVolumes:[Il.Volume.fromJSON(o)],outputVolume:t,failOnWarnings:!1}),t}async function Ii({existingCodeLibraries:e}){let{libraryManifest:t,manifestPath:n}=await Fg({existingCodeLibraries:e}),{renderer:r,...o}=Pi,i=typeof t.renderer=="string"?{client:t.renderer,server:t.renderer}:{client:t.renderer?.client??r.client,server:t.renderer?.server??r.server};return await Ag(i),{...o,...t,renderer:i,manifestPath:n}}async function zC(e,t){let{trackPerformance:n,libraryConfig:r}=e;return await n("collect_metadata",async()=>{let{componentsFiles:o,componentsVolume:i}=await Ai(r);d.debug(`Components: ${JSON.stringify(o,null,2)}`);let{sourceMaps:s,metadata:a,options:u}=await Si({declarations:o,sources:i,overrideConfig:e.overrideConfig,performTypeCheck:Oi(o,t)});return d.debug(`Metadata: ${JSON.stringify(a,null,2)}`),d.debug(`Source Maps:
|
|
149
149
|
|
|
150
150
|
${Object.entries(s).reduce((l,[c,p])=>(l+=`${c}: ${JSON.stringify(JSON.parse(p),null,2)}
|
|
151
151
|
|
|
152
|
-
`,l),"")}`),{componentsFiles:o,componentsVolume:i,componentsMetadata:a,componentsOptions:u,sourceMaps:s}})}async function
|
|
152
|
+
`,l),"")}`),{componentsFiles:o,componentsVolume:i,componentsMetadata:a,componentsOptions:u,sourceMaps:s}})}async function UC(e,t,n,r,o,i,s){let{trackPerformance:a,libraryConfig:u}=e;return await a("generate_library_bundle",async()=>await Ei({libraryIdentifier:`_${o}`,renderer:u.renderer,framework:u.framework,publicPath:It(i[tr.Environment.Client]),sourceVolumes:[n],componentsFiles:t,componentsOptions:r,debugBundler:s?.debugBundler,dev:s?.dev,overrideConfig:e.overrideConfig,failOnWarnings:!s?.force}))}async function VC(e,t,n,r){let{trackPerformance:o,apiOptions:i}=e;return await o("upload_files",async()=>{let s=t.map(([u,l])=>{let c=(0,ji.resolve)((0,ji.join)(`/${l}`,`${u.name}`));return Jr(n.readFileSync(c,"utf8").toString(),c,{bundleEnvironment:l})}),{signatures:a}=await Fl({resourceId:r,files:s.map(({meta:u})=>u),options:i});await Promise.all(a.map(async u=>{let l=s.find(c=>c.meta.fileHash===u.hash);if(!l)throw new Error(`File not found: ${u.hash}`);await vl(l,u.value)}))})}async function GC(e,t,n,r,o){let{trackPerformance:i,libraryConfig:s,apiOptions:a}=e;return await i("share_library",async()=>{let u={clientModule:{bundleUrl:It(o[tr.Environment.Client])+yr,loaderType:tr.ModuleLoader.FEDERATION},serverModule:{bundleUrl:It(o[tr.Environment.Server])+Dr}},l=dg(t,{framework:s.framework,sourceMaps:n}),{taskId:c}=await Cl({resourceId:r,codeModule:u,components:Object.values(l),options:a});d.debug(JSON.stringify({taskId:c},null,2))})}async function jl(e){e?.verbose&&(process.env.DEBUG="true");let t,n=Date.now(),r;d.debug("Initializing workspace API token...");try{r=await Dg(e)}catch(a){d.error(a instanceof Error?a.message:String(a)),process.exit(1)}d.debug("Initializing telemetry service...");let o=qe.forCodeLibraries({host:J,authToken:r}),i=wo(o),s=vo(o);try{await o.promptForConsentIfNeeded(),d.debug("Checking dependencies versions..."),new $t().run();let a={workspaceApiToken:r};t=d.spinner("Initializing");let u=await s("get_code_libraries",async()=>await kl({options:a})),{workspace:l,libraries:c}=u;t.succeed(),d.debug("Parsing library config...");let p=await Ii({existingCodeLibraries:c}),f=p.bundleConfig?require(p.bundleConfig):{},m={trackPerformance:s,apiOptions:a,libraryConfig:p,overrideConfig:f};t=d.spinner("Collecting metadata");let{componentsFiles:y,componentsVolume:x,componentsMetadata:R,componentsOptions:A,sourceMaps:W}=await zC(m,e);if(t.succeed(),!await hg({libraryConfig:p,componentsMetadata:R,existingCodeLibraries:c,sourceMaps:W,workspaceInfo:l}))return;t=d.spinner("Creating code library");let{resourceId:E,profileSlug:U,workspace:M,s3Urls:F,cdnUrls:h}=await s("init_code_library",async()=>await xl({name:p.name,slug:p.id,description:p.description,options:a}));t.succeed(),d.debug(JSON.stringify({resourceId:E,profileSlug:U,s3Urls:F,cdnUrls:h},null,2)),await o.sendUsage("library_initialized",!0,void 0,{libraryName:p.name,framework:p.framework,resourceId:E,profileSlug:U}),p.id||le({library:{id:U}}),t=d.spinner("Compiling code components");let{outputFiles:g,outputVolume:P}=await UC(m,y,x,A,E,h,e);t.succeed(),await o.sendUsage("bundle_generated",!0,void 0,{libraryName:p.name,componentCount:Object.keys(y).length,resourceId:E,profileSlug:U}),t=d.spinner("Uploading files"),await VC(m,g,P,E),t.succeed(),await o.sendUsage("files_uploaded",!0,void 0,{libraryName:p.name,fileCount:g.length,resourceId:E,profileSlug:U}),t=d.spinner("Sharing library"),await GC(m,R,W,E,h),t.succeed(),d.success(`Code library shared successfully${M?.slug?`: ${wn}/dashboard/workspace/${M?.slug}/shared-libraries-and-templates`:"!"}`);let v=Date.now()-n;await o.sendUsage("share_library",!0,v,{componentCount:Object.keys(y).length,libraryName:p.name,framework:p.framework,resourceId:E,profileSlug:U})}catch(a){t?.fail();let u=a instanceof Error?a.message:String(a);await i(a instanceof Error?a:new Error(String(a)),"share_library");let l=Date.now()-n;await o.sendUsage("share_library",!1,l,{error:u}),d.error(a)}}var Bi=D(require("fs")),nr=require("path");V();function qC(e){return e.replace(/[-_]+/g," ").replace(/\w\S*/g,t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).replace(/\s+/g,"")}var HC="dist",JC="http://localhost/";async function Bl(e){e.verbose&&(process.env.DEBUG="true");let t;try{d.debug("Checking dependencies versions..."),new $t().run(),d.debug("Looking for manifest...");let n=await Ii({existingCodeLibraries:[]}),r=`_${e.libraryId||qC(n.name)}`;e?.debugBundler&&d.debug(JSON.stringify(n,null,2)),t=d.spinner("Collecting metadata");let{componentsFiles:o,componentsVolume:i}=await Ai(n);e?.debugBundler&&d.debug(`Components: ${JSON.stringify(o,null,2)}`);let s=n.bundleConfig?require(n.bundleConfig):{},{sourceMaps:a,metadata:u,options:l}=await Si({declarations:o,sources:i,overrideConfig:s,performTypeCheck:Oi(o,e),skipSourceMaps:!e?.debugBundler});e?.debugBundler&&(d.debug(`Metadata: ${JSON.stringify(u,null,2)}`),d.debug(`Source Maps:
|
|
153
153
|
|
|
154
154
|
${Object.entries(a).reduce((f,[m,y])=>(f+=`${m}: ${JSON.stringify(JSON.parse(y),null,2)}
|
|
155
155
|
|
|
156
|
-
`,f),"")}`)),t.succeed(),t=d.spinner("Generating library bundle");let{outputFiles:c,outputVolume:p}=await Ei({libraryIdentifier:r,renderer:n.renderer,framework:n.framework,publicPath:It(e.publicPath||
|
|
156
|
+
`,f),"")}`)),t.succeed(),t=d.spinner("Generating library bundle");let{outputFiles:c,outputVolume:p}=await Ei({libraryIdentifier:r,renderer:n.renderer,framework:n.framework,publicPath:It(e.publicPath||JC),sourceVolumes:[i],componentsFiles:o,componentsOptions:l,debugBundler:e?.debugBundler,dev:e?.dev,overrideConfig:s,failOnWarnings:!e.force});t.succeed(),t=d.spinner("Writing to disk"),c.forEach(([f,m])=>{let y=(0,nr.join)(`/${m}`,`${f.name}`),x=Jr(p.readFileSync(y,"utf8").toString(),y,{bundleEnvironment:m}),R=(0,nr.join)(process.cwd(),e.outputPath||HC);Bi.default.existsSync((0,nr.join)(R,`${m}`))||Bi.default.mkdirSync((0,nr.join)(R,`${m}`),{recursive:!0}),Bi.default.writeFileSync((0,nr.join)(R,m,f.name),x.value.toString())}),t.succeed(),d.success("Code Library bundled successfully!")}catch(n){t?.fail(),d.error(n instanceof Error?n.message:String(n))}}var eo=D(require("fs-extra")),Ll=D(require("path"));V();function ZC(){try{if(!eo.default.existsSync(Fe))return null;let e=eo.default.readdirSync(Fe).filter(t=>t.endsWith(".log")).map(t=>({name:t,path:Ll.default.join(Fe,t),time:eo.default.statSync(Ll.default.join(Fe,t)).mtime.getTime()})).sort((t,n)=>n.time-t.time);if(e.length===0)return null;for(let t of e)try{let r=eo.default.readFileSync(t.path,"utf8").match(/Command: (.+)/);if(r&&!r[1].includes("library log"))return t.path}catch{continue}return null}catch{return null}}async function Rl(){let e=ZC();console.info(e?`
|
|
157
157
|
Latest log: ${e}
|
|
158
158
|
`:`
|
|
159
159
|
No log files found.
|