@unocss/runtime 0.65.0-beta.3 → 0.65.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/runtime",
3
3
  "type": "module",
4
- "version": "0.65.0-beta.3",
4
+ "version": "0.65.1",
5
5
  "description": "CSS-in-JS Runtime for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -35,9 +35,9 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.65.0-beta.3",
39
- "@unocss/preset-attributify": "0.65.0-beta.3",
40
- "@unocss/preset-uno": "0.65.0-beta.3"
38
+ "@unocss/preset-uno": "0.65.1",
39
+ "@unocss/preset-attributify": "0.65.1",
40
+ "@unocss/core": "0.65.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "pnpm run build:node && pnpm run build:cdn && pnpm run build:presets",
@@ -2,4 +2,4 @@
2
2
  `).join(`
3
3
  `+i),e.push(r+"m+"+X.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=$t()+o+" "+e[0]}function $t(){return w.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Lt(...e){return process.stderr.write(Z.formatWithOptions(w.inspectOpts,...e)+`
4
4
  `)}function Rt(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function At(){return process.env.DEBUG}function _t(e){e.inspectOpts={};let o=Object.keys(w.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=w.inspectOpts[o[t]]}X.exports=ce()(w);var{formatters:ze}=X.exports;ze.o=function(e){return this.inspectOpts.colors=this.useColors,Z.inspect(e,this.inspectOpts).split(`
5
- `).map(o=>o.trim()).join(" ")};ze.O=function(e){return this.inspectOpts.colors=this.useColors,Z.inspect(e,this.inspectOpts)}});var D=N((ho,ue)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ue.exports=Ae():ue.exports=De()});async function fe(e,o,t,n){let r;Pt(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let i=e[t];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${t}" in "${o}":`,i);return}if(r){let i=r.indexOf("<svg");i>0&&(r=r.slice(i));let{transform:c}=n?.customizations??{};return r=typeof c=="function"?await c(r,o,t):r,r.startsWith("<svg")?await W(n?.customizations?.trimCustomSvg===!0?je(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Me,Pt,Ue=F(()=>{"use strict";Me=T(D(),1);se();ke();Pt=(0,Me.default)("@iconify-loader:custom")});async function Q(e,o,t,n){let r,{customize:i}=n?.customizations??{};for(let c of t)if(r=Fe(e,c),r){Nt(`${o}:${c}`);let l={...q};typeof i=="function"&&(r=Object.assign({},r),l=i(l,r,`${o}:${c}`)??l);let{attributes:{width:m,height:h,...s},body:u}=Te(r,l),p=n?.scale;return await W(`<svg >${u}</svg>`,o,c,n,()=>({...s}),x=>{let I=(f,a)=>{let y=x[f],b;if(!z(y)){if(y)return;typeof p=="number"?p&&(b=E(a??"1em",p)):b=a}b?x[f]=b:delete x[f]};I("width",m),I("height",h)})}}var Ge,Nt,pe=F(()=>{"use strict";re();ve();B();se();Ge=T(D(),1);te();Nt=(0,Ge.default)("@iconify-loader:icon")});var Eo,M,me=F(()=>{"use strict";Ue();pe();Eo=T(D(),1),M=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(i){console.warn(`Failed to load custom icon "${o}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await fe(()=>r,e,o,t);if("icons"in r){let i=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await Q(r,e,i,t)}}}else return await fe(n,e,o,t)}});function Ee(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ne(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),Ee(o)}me();var ko=T(D(),1);var Ve=new Set;function qe(e){Ve.has(e)||(console.warn("[unocss]",e),Ve.add(e))}me();pe();var de=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","proicons","ps","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];var Dt=3;function We(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:i=!1,collections:c,extraProperties:l={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:s,layer:u="icons",unit:p,processor:x}=o,I=Mt(),f={addXmlNs:!0,scale:t,customCollections:c,autoInstall:h,cwd:s,warn:void 0,customizations:{...m,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(y,b,C){await m.iconCustomizer?.(y,b,C),p&&(C.width||(C.width=`${t}${p}`),C.height||(C.height=`${t}${p}`))}}},a;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},api:{encodeSvgForCss:ne,parseIconWithLoader:Be},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async y=>{let[b,C,g=n]=y;a=a||await e(o);let U={},O=await Be(C,a,{...f,usedProps:U});if(!O){i&&!I.isESLint&&qe(`failed to load icon "${b}"`);return}let k,_=`url("data:image/svg+xml;utf8,${ne(O.svg)}")`;return g==="auto"&&(g=O.svg.includes("currentColor")?"mask":"bg"),g==="mask"?k={"--un-icon":_,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...U}:k={background:`${_} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...U},x?.(k,{...O,icon:O.name,mode:g}),k},{layer:u,prefix:r}]]}}}function Ke(e,o){let t=new Map;function n(r){if(de.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,i,c)=>{let l=await M(r,i,c);if(l)return l;let m=await n(r);if(m){let h=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];l=await Q(m,r,h,c)}return l}}function Mt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}async function Be(e,o,t={}){let n="",r="",i,c=[...de,...Object.keys(t.customCollections||{})];if(e.includes(":")){if([n,r]=e.split(":"),!c.includes(n))return;i=await o(n,r,t)}else{let l=e.split(/-/g);for(let m=Dt;m>=1&&(n=l.slice(0,m).join("-"),!(!!c.includes(n)&&(r=l.slice(m).join("-"),i=await o(n,r,t),i)));m--);}if(i)return{collection:n,name:r,svg:i}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=We(async o=>{let t=o?.customFetch??(r=>fetch(r).then(i=>i.json())),n=o?.cdn;return n?Ke(t,n):M});return{presetIcons:o=>e(o)}})());})();
5
+ `).map(o=>o.trim()).join(" ")};ze.O=function(e){return this.inspectOpts.colors=this.useColors,Z.inspect(e,this.inspectOpts)}});var D=N((ho,ue)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ue.exports=Ae():ue.exports=De()});async function fe(e,o,t,n){let r;Pt(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let i=e[t];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${t}" in "${o}":`,i);return}if(r){let i=r.indexOf("<svg");i>0&&(r=r.slice(i));let{transform:c}=n?.customizations??{};return r=typeof c=="function"?await c(r,o,t):r,r.startsWith("<svg")?await W(n?.customizations?.trimCustomSvg===!0?je(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Me,Pt,Ue=F(()=>{"use strict";Me=T(D(),1);se();ke();Pt=(0,Me.default)("@iconify-loader:custom")});async function Q(e,o,t,n){let r,{customize:i}=n?.customizations??{};for(let c of t)if(r=Fe(e,c),r){Nt(`${o}:${c}`);let l={...q};typeof i=="function"&&(r=Object.assign({},r),l=i(l,r,`${o}:${c}`)??l);let{attributes:{width:m,height:h,...s},body:u}=Te(r,l),p=n?.scale;return await W(`<svg >${u}</svg>`,o,c,n,()=>({...s}),x=>{let I=(f,a)=>{let y=x[f],b;if(!z(y)){if(y)return;typeof p=="number"?p&&(b=E(a??"1em",p)):b=a}b?x[f]=b:delete x[f]};I("width",m),I("height",h)})}}var Ge,Nt,pe=F(()=>{"use strict";re();ve();B();se();Ge=T(D(),1);te();Nt=(0,Ge.default)("@iconify-loader:icon")});var Eo,M,me=F(()=>{"use strict";Ue();pe();Eo=T(D(),1),M=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(i){console.warn(`Failed to load custom icon "${o}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await fe(()=>r,e,o,t);if("icons"in r){let i=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await Q(r,e,i,t)}}}else return await fe(n,e,o,t)}});function Ee(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ne(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),Ee(o)}me();var ko=T(D(),1);var Ve=new Set;function qe(e){Ve.has(e)||(console.warn("[unocss]",e),Ve.add(e))}me();pe();var de=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];var Dt=3;function We(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:i=!1,collections:c,extraProperties:l={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:s,layer:u="icons",unit:p,processor:x}=o,I=Mt(),f={addXmlNs:!0,scale:t,customCollections:c,autoInstall:h,cwd:s,warn:void 0,customizations:{...m,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(y,b,C){await m.iconCustomizer?.(y,b,C),p&&(C.width||(C.width=`${t}${p}`),C.height||(C.height=`${t}${p}`))}}},a;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},api:{encodeSvgForCss:ne,parseIconWithLoader:Be},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async y=>{let[b,C,g=n]=y;a=a||await e(o);let U={},O=await Be(C,a,{...f,usedProps:U});if(!O){i&&!I.isESLint&&qe(`failed to load icon "${b}"`);return}let k,_=`url("data:image/svg+xml;utf8,${ne(O.svg)}")`;return g==="auto"&&(g=O.svg.includes("currentColor")?"mask":"bg"),g==="mask"?k={"--un-icon":_,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...U}:k={background:`${_} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...U},x?.(k,{...O,icon:O.name,mode:g}),k},{layer:u,prefix:r}]]}}}function Ke(e,o){let t=new Map;function n(r){if(de.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,i,c)=>{let l=await M(r,i,c);if(l)return l;let m=await n(r);if(m){let h=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];l=await Q(m,r,h,c)}return l}}function Mt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}async function Be(e,o,t={}){let n="",r="",i,c=[...de,...Object.keys(t.customCollections||{})];if(e.includes(":")){if([n,r]=e.split(":"),!c.includes(n))return;i=await o(n,r,t)}else{let l=e.split(/-/g);for(let m=Dt;m>=1&&(n=l.slice(0,m).join("-"),!(!!c.includes(n)&&(r=l.slice(m).join("-"),i=await o(n,r,t),i)));m--);}if(i)return{collection:n,name:r,svg:i}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=We(async o=>{let t=o?.customFetch??(r=>fetch(r).then(i=>i.json())),n=o?.cdn;return n?Ke(t,n):M});return{presetIcons:o=>e(o)}})());})();
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var io=Object.defineProperty;var so=(e,t)=>{for(var r in t)io(e,r,{get:t[r],enumerable:!0})};var Te=/[\\:]?[\s'"`;{}]+/g;function L(e=[]){return Array.isArray(e)?e:[e]}function ot(e){return typeof e=="string"}function z(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function I(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var lo=/[\w\u00A0-\uFFFF%-?]/;function it(e=""){return lo.test(e)}function co(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function st(e){return e==null?"":co(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function uo(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function at(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${uo(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function lt(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var fo=/\/\/#\s*sourceMappingURL=.*\n?/g;function ct(e){return e.includes("sourceMappingURL=")?e.replace(fo,""):e}var po=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,ho=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,mo=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function go(e){let t=[];for(let o of e.matchAll(ho))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(po))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=at(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Te).forEach(o=>{o.includes(n)&&(o=lt(o,r)),it(o)&&!mo.test(o)&&t.push(o)}),t}function ut(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return go(ct(e))}}}function ft(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=st(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),L(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}function _(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let l=0;l<n;l++)switch(e[l]){case t:i||(i=!0,s=l),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,l+1),e.slice(l+1),e.slice(0,s)];break}}function N(e,t,r,n){if(e===""||(ot(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(let l of n){let c=l.length;if(c&&l===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function U(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=N(e,"(",")",t);if(!i)return;let[s,l]=i;n.push(s),e=l}if(n.length>0)return n}var je=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],pt=["%alpha","<alpha-value>"],bo=new RegExp(pt.map(e=>z(e)).join("|"));function A(e=""){let t=xo(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(je.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function G(e){let t=e.alpha??1;return typeof t=="string"&&pt.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(bo,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,je.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function xo(e){if(!e)return;let t=yo(e);if(t!=null||(t=wo(e),t!=null)||(t=$o(e),t!=null)||(t=vo(e),t!=null)||(t=ko(e),t!=null))return t}function yo(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function wo(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function $o(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=U(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var So=new RegExp(`^(${je.join("|")})\\((.+)\\)$`,"i");function vo(e){let t=e.match(So);if(!t)return;let[,r,n]=t,o=dt(`${r} ${n}`);if(o){let{alpha:i,components:[s,...l]}=o;return{type:s,components:l,alpha:i}}}function ko(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=dt(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function dt(e){let t=U(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=U(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function ht(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=e[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xt=new Uint8Array(64),Co=new Uint8Array(128);for(let e=0;e<mt.length;e++){let t=mt.charCodeAt(e);xt[e]=t,Co[t]=e}function Y(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(xt[o])}while(n>0);return t}var gt=1024*16,bt=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Oe=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(gt)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===gt&&(this.out+=bt.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+bt.decode(t.subarray(0,n)):r}};function yt(e){let t=new Oe,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let l=e[s];if(s>0&&t.write(59),l.length===0)continue;let c=0;for(let u=0;u<l.length;u++){let p=l[u];u>0&&t.write(44),c=Y(t,p[0],c),p.length!==1&&(r=Y(t,p[1],r),n=Y(t,p[2],n),o=Y(t,p[3],o),p.length!==4&&(i=Y(t,p[4],i)))}}return t.flush()}var ue=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},fe=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Ro(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Eo=Ro(),ze=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=yt(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Eo(this.toString())}};function To(e){let t=e.split(`
1
+ "use strict";(()=>{var io=Object.defineProperty;var so=(e,t)=>{for(var r in t)io(e,r,{get:t[r],enumerable:!0})};var Te=/[\\:]?[\s'"`;{}]+/g;function L(e=[]){return Array.isArray(e)?e:[e]}function ot(e){return typeof e=="string"}function z(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function I(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var lo=/[\w\u00A0-\uFFFF%-?]/;function it(e=""){return lo.test(e)}function co(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function st(e){return e==null?"":co(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function uo(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function at(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${uo(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function lt(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var fo=/\/\/#\s*sourceMappingURL=.*\n?/g;function ct(e){return e.includes("sourceMappingURL=")?e.replace(fo,""):e}var po=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,ho=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,mo=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function go(e){let t=[];for(let o of e.matchAll(ho))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(po))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=at(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Te).forEach(o=>{o.includes(n)&&(o=lt(o,r)),it(o)&&!mo.test(o)&&t.push(o)}),t}function ut(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return go(ct(e))}}}function ft(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=st(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),L(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}function _(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let l=0;l<n;l++)switch(e[l]){case t:i||(i=!0,s=l),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,l+1),e.slice(l+1),e.slice(0,s)];break}}function N(e,t,r,n){if(e===""||(ot(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(let l of n){let c=l.length;if(c&&l===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function U(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=N(e,"(",")",t);if(!i)return;let[s,l]=i;n.push(s),e=l}if(n.length>0)return n}var je=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],pt=["%alpha","<alpha-value>"],bo=new RegExp(pt.map(e=>z(e)).join("|"));function A(e=""){let t=xo(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(je.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function G(e){let t=e.alpha??1;return typeof t=="string"&&pt.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(bo,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,je.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function xo(e){if(!e)return;let t=yo(e);if(t!=null||(t=wo(e),t!=null)||(t=$o(e),t!=null)||(t=vo(e),t!=null)||(t=ko(e),t!=null))return t}function yo(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function wo(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function $o(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=U(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var So=new RegExp(`^(${je.join("|")})\\((.+)\\)$`,"i");function vo(e){let t=e.match(So);if(!t)return;let[,r,n]=t,o=dt(`${r} ${n}`);if(o){let{alpha:i,components:[s,...l]}=o;return{type:s,components:l,alpha:i}}}function ko(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=dt(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function dt(e){let t=U(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=U(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function ht(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=e[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xt=new Uint8Array(64),Co=new Uint8Array(128);for(let e=0;e<mt.length;e++){let t=mt.charCodeAt(e);xt[e]=t,Co[t]=e}function Y(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(xt[o])}while(n>0);return t}var gt=1024*16,bt=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Oe=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(gt)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===gt&&(this.out+=bt.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+bt.decode(t.subarray(0,n)):r}};function yt(e){let t=new Oe,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let l=e[s];if(s>0&&t.write(59),l.length===0)continue;let c=0;for(let u=0;u<l.length;u++){let p=l[u];u>0&&t.write(44),c=Y(t,p[0],c),p.length!==1&&(r=Y(t,p[1],r),n=Y(t,p[2],n),o=Y(t,p[3],o),p.length!==4&&(i=Y(t,p[4],i)))}}return t.flush()}var ue=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},fe=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Ro(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Eo=Ro(),ze=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=yt(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Eo(this.toString())}};function To(e){let t=e.split(`
2
2
  `),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let l=/^ +/.exec(s)[0].length;return Math.min(l,i)},1/0);return new Array(o+1).join(" ")}function jo(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Oo=Object.prototype.toString;function zo(e){return Oo.call(e)==="[object Object]"}function wt(e){let t=e.split(`
3
3
  `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let u=i+s>>1;o<r[u]?s=u:i=u+1}let l=i-1,c=o-r[l];return{line:l,column:c}}}var Ao=/\w/,Ae=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.length-1,s=r.indexOf(`
4
4
  `,0),l=-1;for(;s>=0&&i>s;){let u=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=s,s=r.indexOf(`