neo-cmp-cli 1.13.20 → 1.13.22
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/dist/_virtual/array-set2.js +1 -0
- package/dist/_virtual/base64-vlq2.js +1 -0
- package/dist/_virtual/base642.js +1 -0
- package/dist/_virtual/binary-search2.js +1 -0
- package/dist/_virtual/mapping-list2.js +1 -0
- package/dist/_virtual/picocolors.js +1 -0
- package/dist/_virtual/quick-sort2.js +1 -0
- package/dist/_virtual/source-map-consumer2.js +1 -0
- package/dist/_virtual/source-map-generator2.js +1 -0
- package/dist/_virtual/source-map2.js +1 -0
- package/dist/_virtual/source-node2.js +1 -0
- package/dist/_virtual/symbols.js +1 -0
- package/dist/_virtual/util2.js +1 -0
- package/dist/config/auth.config.js +1 -1
- package/dist/loaders/component-scope-style-loader2.js +1 -1
- package/dist/node_modules/nanoid/non-secure/index.js +1 -0
- package/dist/node_modules/picocolors/picocolors.js +1 -0
- package/dist/node_modules/postcss/lib/at-rule.js +1 -0
- package/dist/node_modules/postcss/lib/comment.js +1 -0
- package/dist/node_modules/postcss/lib/container.js +1 -0
- package/dist/node_modules/postcss/lib/css-syntax-error.js +1 -0
- package/dist/node_modules/postcss/lib/declaration.js +1 -0
- package/dist/node_modules/postcss/lib/document.js +1 -0
- package/dist/node_modules/postcss/lib/fromJSON.js +1 -0
- package/dist/node_modules/postcss/lib/input.js +1 -0
- package/dist/node_modules/postcss/lib/lazy-result.js +1 -0
- package/dist/node_modules/postcss/lib/list.js +1 -0
- package/dist/node_modules/postcss/lib/map-generator.js +1 -0
- package/dist/node_modules/postcss/lib/no-work-result.js +1 -0
- package/dist/node_modules/postcss/lib/node.js +1 -0
- package/dist/node_modules/postcss/lib/parse.js +1 -0
- package/dist/node_modules/postcss/lib/parser.js +1 -0
- package/dist/node_modules/postcss/lib/postcss.js +1 -0
- package/dist/node_modules/postcss/lib/previous-map.js +1 -0
- package/dist/node_modules/postcss/lib/processor.js +1 -0
- package/dist/node_modules/postcss/lib/result.js +1 -0
- package/dist/node_modules/postcss/lib/root.js +1 -0
- package/dist/node_modules/postcss/lib/rule.js +1 -0
- package/dist/node_modules/postcss/lib/stringifier.js +1 -0
- package/dist/node_modules/postcss/lib/stringify.js +1 -0
- package/dist/node_modules/postcss/lib/symbols.js +1 -0
- package/dist/node_modules/postcss/lib/terminal-highlight.js +1 -0
- package/dist/node_modules/postcss/lib/tokenize.js +1 -0
- package/dist/node_modules/postcss/lib/warn-once.js +1 -0
- package/dist/node_modules/postcss/lib/warning.js +1 -0
- package/dist/node_modules/source-map/lib/array-set.js +1 -1
- package/dist/node_modules/source-map/lib/base64-vlq.js +1 -1
- package/dist/node_modules/source-map/lib/base64.js +1 -1
- package/dist/node_modules/source-map/lib/binary-search.js +1 -1
- package/dist/node_modules/source-map/lib/mapping-list.js +1 -1
- package/dist/node_modules/source-map/lib/quick-sort.js +1 -1
- package/dist/node_modules/source-map/lib/source-map-consumer.js +1 -1
- package/dist/node_modules/source-map/lib/source-map-generator.js +1 -1
- package/dist/node_modules/source-map/lib/source-node.js +1 -1
- package/dist/node_modules/source-map/lib/util.js +1 -1
- package/dist/node_modules/source-map/source-map.js +1 -1
- package/dist/node_modules/source-map-js/lib/array-set.js +1 -0
- package/dist/node_modules/source-map-js/lib/base64-vlq.js +1 -0
- package/dist/node_modules/source-map-js/lib/base64.js +1 -0
- package/dist/node_modules/source-map-js/lib/binary-search.js +1 -0
- package/dist/node_modules/source-map-js/lib/mapping-list.js +1 -0
- package/dist/node_modules/source-map-js/lib/quick-sort.js +1 -0
- package/dist/node_modules/source-map-js/lib/source-map-consumer.js +1 -0
- package/dist/node_modules/source-map-js/lib/source-map-generator.js +1 -0
- package/dist/node_modules/source-map-js/lib/source-node.js +1 -0
- package/dist/node_modules/source-map-js/lib/util.js +1 -0
- package/dist/node_modules/source-map-js/source-map.js +1 -0
- package/dist/package.json.js +1 -1
- package/package.json +7 -5
- package/template/antd-custom-cmp-template/package.json +1 -1
- package/template/asset-manage-template/package.json +1 -1
- package/template/echarts-custom-cmp-template/package.json +1 -1
- package/template/empty-custom-cmp-template/package.json +1 -1
- package/template/map-custom-cmp-template/package.json +1 -1
- package/template/neo-bi-cmps/package.json +1 -1
- package/template/neo-custom-cmp-template/CODEBUDDY.md +92 -0
- package/template/neo-custom-cmp-template/package.json +1 -1
- package/template/neo-custom-cmp-template/src/components/customApi__c/index.tsx +9 -5
- package/template/neo-custom-cmp-template/src/components/customApi__c/model.ts +1 -1
- package/template/neo-custom-cmp-template/src/components/customApi__c/style.scss +21 -18
- package/template/neo-custom-cmp-template/src/components/entityCardList__c/index.tsx +4 -3
- package/template/neo-custom-cmp-template/src/components/entityCardList__c/model.ts +10 -2
- package/template/neo-custom-cmp-template/src/components/entityCardList__c/style.scss +1 -1
- package/template/neo-custom-cmp-template/src/components/entityDetail__c/index.tsx +1 -1
- package/template/neo-custom-cmp-template/src/components/entityDetail__c/style.scss +51 -39
- package/template/neo-custom-cmp-template/src/components/entityForm__c/model.ts +10 -2
- package/template/neo-custom-cmp-template/src/components/entityForm__c/style.scss +1 -1
- package/template/neo-custom-cmp-template/src/components/entityTable__c/index.tsx +11 -9
- package/template/neo-custom-cmp-template/src/components/entityTable__c/model.ts +11 -2
- package/template/neo-custom-cmp-template/src/components/entityTable__c/style.scss +169 -114
- package/template/neo-custom-cmp-template/src/components/simpleCmp__c/index.tsx +1 -1
- package/template/neo-custom-cmp-template/src/components/simpleCmp__c/style.scss +94 -13
- package/template/neo-h5-cmps/package.json +1 -1
- package/template/neo-order-cmps/package.json +1 -1
- package/template/neo-pipeline-cmps/package.json +1 -1
- package/template/neo-web-entity-grid/package.json +1 -1
- package/template/neo-web-entity-grid/src/components/entityGrid2__c/model.ts +1 -1
- package/template/neo-web-entity-grid/src/components/entityGrid2__c/style.scss +1 -5
- package/template/neo-web-entity-grid/src/components/entityGrid3__c/model.ts +2 -0
- package/template/neo-web-entity-grid/src/components/entityGrid3__c/style.scss +1 -6
- package/template/neo-web-entity-grid/src/components/entityGrid__c/style.scss +1 -6
- package/template/neo-web-entity-grid/src/components/searchForm__c/model.ts +10 -2
- package/template/neo-web-form/package.json +1 -1
- package/template/react-custom-cmp-template/package.json +1 -1
- package/template/react-ts-custom-cmp-template/package.json +1 -1
- package/template/vue2-custom-cmp-template/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__module={exports:{}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__exports={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e
|
|
1
|
+
"use strict";var t,e;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){return e?t:(e=1,t={redirectUri:"http://localhost:1028",getRedirectURI:t=>`http://localhost:${t}`,authType:"oauth2"})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path"),t=require("../node_modules/postcss/lib/postcss.js"),r=require("postcss-scss"),s=require("postcss-less"),o=require("../config/index.js");var n,i;exports.__require=function(){if(i)return n;i=1;const c=e,a=t.__require(),u=r,l=s,p=o.__require().componentsDir||"./src/components",f=new Set(["import","charset","namespace","font-face","keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","property"]),h=new Set(["media","supports","page","viewport","layer","container"]),d=new Set([":root","html","body"]);function m(e,t,r){e.each(e=>{if("rule"===e.type){if(e.selector&&e.selector.includes(":global("))return void(e.selector=e.selector.replace(/:global\((.+?)\)/g,"$1"));!function(e,t,r){const s=function(e){const t=e.selector;if(!t||!t.includes("//"))return t;const r=t.split("\n"),s=[],o=[];for(const e of r)e.trimStart().startsWith("//")?s.push(e):o.push(e);if(s.length>0){const t=s.join("\n")+"\n";e.raws.before=(e.raws.before||"")+t}return o.join("\n").trim()}(e);e.selector=s;const o=s.trim();if(d.has(o))return;const n=s.split(",").map(e=>function(e,t,r){const s=e.trim();if(!s)return e;const o=s.match(/^:global\((.+)\)$/);return o?o[1]:s.includes(t)?s:function(e,t){if(!e||!t||0===t.length)return!1;const r=e.trim().match(/^[.#]([a-zA-Z0-9_-]+)/);if(!r)return!1;const s=r[1].toLowerCase();return t.some(e=>e.toLowerCase()===s)}(s,r)||s.startsWith("[")?`${t}${s}`:(s.startsWith(".")||s.startsWith("#"),`${t} ${s}`)}(e.trim(),t,r));e.selector=n.join(", ")}(e,t,r)}else if("atrule"===e.type){const s=e.name.toLowerCase();if(f.has(s))return;h.has(s)&&m(e,t,r)}})}return n=function(e){"function"==typeof this?.cacheable&&this.cacheable();const t="function"==typeof this?.getOptions&&this.getOptions()||this?.query||{},r=t.scopeKey||"data-scope",s=t.componentsDir||p,o=this.resourcePath||"";if(!/(index|style)\.(scss|less)$/i.test(o))return e;const n=/\.scss$/i.test(o),i=/\.less$/i.test(o),f=n?u:i?l:null;if(!f)return e;const h=c.isAbsolute(s)?s:c.resolve(process.cwd(),s),d=c.normalize(o),y=c.normalize(h+c.sep);if(!d.startsWith(y))return e;const g=c.relative(h,o).split(c.sep),$=g[0];if(!$)return e;if(g.length>2)return e;const w=function(e){if(!e)return[];const t=new Set;t.add(e),t.add(e.charAt(0).toUpperCase()+e.slice(1)),t.add(e.toLowerCase()),t.add(e.toUpperCase());const r=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=(o=e,o.replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase());var o;t.add(r),t.add(s),t.add(r.charAt(0).toUpperCase()+r.slice(1)),t.add(s.charAt(0).toUpperCase()+s.slice(1));const n=["-container","Container","_container"];return Array.from(t).forEach(e=>{n.forEach(r=>{t.add(e+r)})}),Array.from(t)}($),b=`[${r}="${$}"]`;try{return function(e,t,r,s){const o=a.parse(e,{syntax:s});return m(o,t,r),o.toResult({syntax:s}).css}(e,b,w,f)}catch(t){return"function"==typeof this?.emitWarning&&this.emitWarning(new Error(`[component-scope-style-loader] Failed to parse ${o}: ${t.message}`)),e}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var r,t;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){return t?r:(t=1,r={nanoid:(r=21)=>{let t="",e=0|r;for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(r,t=21)=>(e=t)=>{let o="",n=0|e;for(;n--;)o+=r[Math.random()*r.length|0];return o}})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../_virtual/picocolors.js");var e;exports.__require=function(){if(e)return m.__module.exports;e=1;let r=process||{},t=r.argv||[],g=r.env||{},i=!(g.NO_COLOR||t.includes("--no-color"))&&(!!g.FORCE_COLOR||t.includes("--color")||"win32"===r.platform||(r.stdout||{}).isTTY&&"dumb"!==g.TERM||!!g.CI),l=(m,e,r=m)=>t=>{let g=""+t,i=g.indexOf(e,m.length);return~i?m+o(g,e,r,i)+e:m+g+e},o=(m,e,r,t)=>{let g="",i=0;do{g+=m.substring(i,t)+r,i=t+e.length,t=m.indexOf(e,i)}while(~t);return g+m.substring(i)},n=(m=i)=>{let e=m?l:()=>String;return{isColorSupported:m,reset:e("[0m","[0m"),bold:e("[1m","[22m","[22m[1m"),dim:e("[2m","[22m","[22m[2m"),italic:e("[3m","[23m"),underline:e("[4m","[24m"),inverse:e("[7m","[27m"),hidden:e("[8m","[28m"),strikethrough:e("[9m","[29m"),black:e("[30m","[39m"),red:e("[31m","[39m"),green:e("[32m","[39m"),yellow:e("[33m","[39m"),blue:e("[34m","[39m"),magenta:e("[35m","[39m"),cyan:e("[36m","[39m"),white:e("[37m","[39m"),gray:e("[90m","[39m"),bgBlack:e("[40m","[49m"),bgRed:e("[41m","[49m"),bgGreen:e("[42m","[49m"),bgYellow:e("[43m","[49m"),bgBlue:e("[44m","[49m"),bgMagenta:e("[45m","[49m"),bgCyan:e("[46m","[49m"),bgWhite:e("[47m","[49m"),blackBright:e("[90m","[39m"),redBright:e("[91m","[39m"),greenBright:e("[92m","[39m"),yellowBright:e("[93m","[39m"),blueBright:e("[94m","[39m"),magentaBright:e("[95m","[39m"),cyanBright:e("[96m","[39m"),whiteBright:e("[97m","[39m"),bgBlackBright:e("[100m","[49m"),bgRedBright:e("[101m","[49m"),bgGreenBright:e("[102m","[49m"),bgYellowBright:e("[103m","[49m"),bgBlueBright:e("[104m","[49m"),bgMagentaBright:e("[105m","[49m"),bgCyanBright:e("[106m","[49m"),bgWhiteBright:e("[107m","[49m")}};return m.__module.exports=n(),m.__module.exports.createColors=n,m.__module.exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./container.js");var r,t;exports.__require=function(){if(t)return r;t=1;let s=e.__require();class n extends s{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return r=n,n.default=n,s.registerAtRule(n),r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./node.js");var r,t;exports.__require=function(){if(t)return r;t=1;let o=e.__require();class s extends o{constructor(e){super(e),this.type="comment"}}return r=s,s.default=s,r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./comment.js"),t=require("./declaration.js"),r=require("./node.js"),s=require("./symbols.js");var i,o;exports.__require=function(){if(o)return i;o=1;let n,l,a,p,h=e.__require(),f=t.__require(),d=r.__require(),{isClean:u,my:y}=s.__require();function x(e){return e.map(e=>(e.nodes&&(e.nodes=x(e.nodes)),delete e.source,e))}function c(e){if(e[u]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)c(t)}class m extends d{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)):"every"===t||"some"===t?r=>e[t]((e,...t)=>r(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,s=this.index(e),i=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let e of i)this.proxyOf.nodes.splice(s+1,0,e);for(let e in this.indexes)r=this.indexes[e],s<r&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertBefore(e,t){let r,s=this.index(e),i=0===s&&"prepend",o=this.normalize(t,this.proxyOf.nodes[s],i).reverse();s=this.index(e);for(let e of o)this.proxyOf.nodes.splice(s,0,e);for(let e in this.indexes)r=this.indexes[e],s<=r&&(this.indexes[e]=r+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=x(l(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new f(e)]}else if(e.selector||e.selectors)e=[new p(e)];else if(e.name)e=[new n(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new h(e)]}return e.map(e=>(e[y]||m.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[u]&&c(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}return!1!==s&&t.walk&&(s=t.walk(e)),s})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}}return m.registerParse=e=>{l=e},m.registerRule=e=>{p=e},m.registerAtRule=e=>{n=e},m.registerRoot=e=>{a=e},i=m,m.default=m,m.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,p.prototype):"decl"===e.type?Object.setPrototypeOf(e,f.prototype):"comment"===e.type?Object.setPrototypeOf(e,h.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[y]=!0,e.nodes&&e.nodes.forEach(e=>{m.rebuild(e)})},i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../picocolors/picocolors.js"),t=require("./terminal-highlight.js");var i,s;exports.__require=function(){if(s)return i;s=1;let r=e.__require(),n=t.__require();class l extends Error{constructor(e,t,i,s,r,n){super(e),this.name="CssSyntaxError",this.reason=e,r&&(this.file=r),s&&(this.source=s),n&&(this.plugin=n),void 0!==t&&void 0!==i&&("number"==typeof t?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,l)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported);let i=e=>e,s=e=>e,l=e=>e;if(e){let{bold:e,gray:t,red:o}=r.createColors(!0);s=t=>e(o(t)),i=e=>t(e),n&&(l=e=>n(e))}let o=t.split(/\r?\n/),h=Math.max(this.line-3,0),u=Math.min(this.line+2,o.length),c=String(u).length;return o.slice(h,u).map((e,t)=>{let r=h+1+t,n=" "+(" "+r).slice(-c)+" | ";if(r===this.line){if(e.length>160){let t=20,r=Math.max(0,this.column-t),o=Math.max(this.column+t,this.endColumn+t),h=e.slice(r,o),u=i(n.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return s(">")+i(n)+l(h)+"\n "+u+s("^")}let t=i(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+i(n)+l(e)+"\n "+t+s("^")}return" "+i(n)+l(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return i=l,l.default=l,i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./node.js");var t,r;exports.__require=function(){if(r)return t;r=1;let s=e.__require();class u extends s{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}return t=u,u.default=u,t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./container.js");var r,t;exports.__require=function(){if(t)return r;t=1;let s,n,o=e.__require();class i extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new s(new n,this,e).stringify()}}return i.registerLazyResult=e=>{s=e},i.registerProcessor=e=>{n=e},r=i,i.default=i,r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./at-rule.js"),r=require("./comment.js"),t=require("./declaration.js"),u=require("./input.js"),o=require("./previous-map.js"),i=require("./root.js"),n=require("./rule.js");var p,_;exports.__require=function(){if(_)return p;_=1;let s=e.__require(),l=r.__require(),a=t.__require(),f=u.__require(),q=o.__require(),c=i.__require(),y=n.__require();function m(e,r){if(Array.isArray(e))return e.map(e=>m(e));let{inputs:t,...u}=e;if(t){r=[];for(let e of t){let t={...e,__proto__:f.prototype};t.map&&(t.map={...t.map,__proto__:q.prototype}),r.push(t)}}if(u.nodes&&(u.nodes=e.nodes.map(e=>m(e,r))),u.source){let{inputId:e,...t}=u.source;u.source=t,null!=e&&(u.source.input=r[e])}if("root"===u.type)return new c(u);if("decl"===u.type)return new a(u);if("rule"===u.type)return new y(u);if("comment"===u.type)return new l(u);if("atrule"===u.type)return new s(u);throw new Error("Unknown node type: "+e.type)}return p=m,m.default=m,p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../nanoid/non-secure/index.js"),i=require("node:path"),t=require("../../source-map-js/source-map.js"),o=require("node:url"),n=require("./css-syntax-error.js"),r=require("./previous-map.js"),s=require("./terminal-highlight.js");var l,u;exports.__require=function(){if(u)return l;u=1;let{nanoid:f}=e.__require(),{isAbsolute:c,resolve:m}=i,{SourceMapConsumer:h,SourceMapGenerator:a}=t.__require(),{fileURLToPath:p,pathToFileURL:d}=o,g=n.__require(),S=r.__require(),C=s.__require(),q=Symbol("lineToIndexCache"),v=Boolean(h&&a),b=Boolean(m&&c);function L(e){if(e[q])return e[q];let i=e.css.split("\n"),t=new Array(i.length),o=0;for(let e=0,n=i.length;e<n;e++)t[e]=o,o+=i[e].length+1;return e[q]=t,t}class _{get from(){return this.file||this.id}constructor(e,i={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,i.document&&(this.document=i.document.toString()),i.from&&(!b||/^\w+:\/\//.test(i.from)||c(i.from)?this.file=i.from:this.file=m(i.from)),b&&v){let e=new S(this.css,i);if(e.text){this.map=e;let i=e.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+f(6)+">"),this.map&&(this.map.file=this.from)}error(e,i,t,o={}){let n,r,s,l,u;if(i&&"object"==typeof i){let e=i,o=t;if("number"==typeof e.offset){l=e.offset;let o=this.fromOffset(l);i=o.line,t=o.col}else i=e.line,t=e.column,l=this.fromLineAndColumn(i,t);if("number"==typeof o.offset){s=o.offset;let e=this.fromOffset(s);r=e.line,n=e.col}else r=o.line,n=o.column,s=this.fromLineAndColumn(o.line,o.column)}else if(t)l=this.fromLineAndColumn(i,t);else{l=i;let e=this.fromOffset(l);i=e.line,t=e.col}let f=this.origin(i,t,r,n);return u=f?new g(e,void 0===f.endLine?f.line:{column:f.column,line:f.line},void 0===f.endLine?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,o.plugin):new g(e,void 0===r?i:{column:t,line:i},void 0===r?t:{column:n,line:r},this.css,this.file,o.plugin),u.input={column:t,endColumn:n,endLine:r,endOffset:s,line:i,offset:l,source:this.css},this.file&&(d&&(u.input.url=d(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(e,i){return L(this)[e-1]+i-1}fromOffset(e){let i=L(this),t=0;if(e>=i[i.length-1])t=i.length-1;else{let o,n=i.length-2;for(;t<n;)if(o=t+(n-t>>1),e<i[o])n=o-1;else{if(!(e>=i[o+1])){t=o;break}t=o+1}}return{col:e-i[t]+1,line:t+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:m(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,i,t,o){if(!this.map)return!1;let n,r,s=this.map.consumer(),l=s.originalPositionFor({column:i,line:e});if(!l.source)return!1;"number"==typeof t&&(n=s.originalPositionFor({column:o,line:t})),r=c(l.source)?d(l.source):new URL(l.source,this.map.consumer().sourceRoot||d(this.map.mapFile));let u={column:l.column,endColumn:n&&n.column,endLine:n&&n.line,line:l.line,url:r.toString()};if("file:"===r.protocol){if(!p)throw new Error("file: protocol is not available in this PostCSS build");u.file=p(r)}let f=s.sourceContentFor(l.source);return f&&(u.source=f),u}toJSON(){let e={};for(let i of["hasBOM","css","file","id"])null!=this[i]&&(e[i]=this[i]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return l=_,_.default=_,C&&C.registerInput&&C.registerInput(_),l};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./container.js"),e=require("./document.js"),r=require("./map-generator.js"),s=require("./parse.js"),i=require("./result.js"),o=require("./root.js"),n=require("./stringify.js"),l=require("./symbols.js"),h=require("./warn-once.js");var u,c;exports.__require=function(){if(c)return u;c=1;let p=t.__require(),a=e.__require(),f=r.__require(),y=s.__require(),g=i.__require(),d=o.__require(),m=n.__require(),{isClean:x,my:w}=l.__require(),E=h.__require();const v={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},S={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},P={Once:!0,postcssPlugin:!0,prepare:!0};function _(t){return"object"==typeof t&&"function"==typeof t.then}function q(t){let e=!1,r=v[t.type];return"decl"===t.type?e=t.prop.toLowerCase():"atrule"===t.type&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,0,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function O(t){let e;return e="document"===t.type?["Document",0,"DocumentExit"]:"root"===t.type?["Root",0,"RootExit"]:q(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function j(t){return t[x]=!1,t.nodes&&t.nodes.forEach(t=>j(t)),t}let R={};class b{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(t,e,r){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof e||null===e||"root"!==e.type&&"document"!==e.type)if(e instanceof b||e instanceof g)s=j(e.root),e.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{let t=y;r.syntax&&(t=r.syntax.parse),r.parser&&(t=r.parser),t.parse&&(t=t.parse);try{s=t(e,r)}catch(t){this.processed=!0,this.error=t}s&&!s[w]&&p.rebuild(s)}else s=j(e);this.result=new g(t,s,r),this.helpers={...R,postcss:R,result:this.result},this.plugins=this.processor.plugins.map(t=>"object"==typeof t&&t.prepare?{...t,...t.prepare(this.result)}:t)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,e){let r=this.result.lastPlugin;try{if(e&&e.addToError(t),this.error=t,"CssSyntaxError"!==t.name||t.plugin){if(r.postcssVersion&&"production"!==process.env.NODE_ENV){let t=r.postcssPlugin,e=r.postcssVersion,s=this.result.processor.version,i=e.split("."),o=s.split(".");(i[0]!==o[0]||parseInt(i[1])>parseInt(o[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+t+" uses "+e+". Perhaps this is the source of the error below.")}}else t.plugin=r.postcssPlugin,t.setMessage()}catch(t){console&&console.error&&console.error(t)}return t}prepareVisitors(){this.listeners={};let t=(t,e,r)=>{this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push([t,r])};for(let e of this.plugins)if("object"==typeof e)for(let r in e){if(!S[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${e.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!P[r])if("object"==typeof e[r])for(let s in e[r])t(e,"*"===s?r:r+"-"+s.toLowerCase(),e[r][s]);else"function"==typeof e[r]&&t(e,r,e[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let e=this.plugins[t],r=this.runOnRoot(e);if(_(r))try{await r}catch(t){throw this.handleError(t)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[x];){t[x]=!0;let e=[O(t)];for(;e.length>0;){let t=this.visitTick(e);if(_(t))try{await t}catch(t){let r=e[e.length-1].node;throw this.handleError(t,r)}}}if(this.listeners.OnceExit)for(let[e,r]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===t.type){let e=t.nodes.map(t=>r(t,this.helpers));await Promise.all(e)}else await r(t,this.helpers)}catch(t){throw this.handleError(t)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if("object"==typeof t&&t.Once){if("document"===this.result.root.type){let e=this.result.root.nodes.map(e=>t.Once(e,this.helpers));return _(e[0])?Promise.all(e):e}return t.Once(this.result.root,this.helpers)}if("function"==typeof t)return t(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,e=m;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);let r=new f(e,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){if(_(this.runOnRoot(t)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[x];)t[x]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,e){return"production"!==process.env.NODE_ENV&&("from"in this.opts||E("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,e)}toString(){return this.css}visitSync(t,e){for(let[r,s]of t){let t;this.result.lastPlugin=r;try{t=s(e,this.helpers)}catch(t){throw this.handleError(t,e.proxyOf)}if("root"!==e.type&&"document"!==e.type&&!e.parent)return!0;if(_(t))throw this.getAsyncError()}}visitTick(t){let e=t[t.length-1],{node:r,visitors:s}=e;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void t.pop();if(s.length>0&&e.visitorIndex<s.length){let[t,i]=s[e.visitorIndex];e.visitorIndex+=1,e.visitorIndex===s.length&&(e.visitors=[],e.visitorIndex=0),this.result.lastPlugin=t;try{return i(r.toProxy(),this.helpers)}catch(t){throw this.handleError(t,r)}}if(0!==e.iterator){let s,i=e.iterator;for(;s=r.nodes[r.indexes[i]];)if(r.indexes[i]+=1,!s[x])return s[x]=!0,void t.push(O(s));e.iterator=0,delete r.indexes[i]}let i=e.events;for(;e.eventIndex<i.length;){let t=i[e.eventIndex];if(e.eventIndex+=1,0===t)return void(r.nodes&&r.nodes.length&&(r[x]=!0,e.iterator=r.getIterator()));if(this.listeners[t])return void(e.visitors=this.listeners[t])}t.pop()}walkSync(t){t[x]=!0;let e=q(t);for(let r of e)if(0===r)t.nodes&&t.each(t=>{t[x]||this.walkSync(t)});else{let e=this.listeners[r];if(e&&this.visitSync(e,t.toProxy()))return}}warnings(){return this.sync().warnings()}}return b.registerPostcss=t=>{R=t},u=b,b.default=b,d.registerLazyResult(b),a.registerLazyResult(b),u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t,e;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){if(e)return t;e=1;let r={comma:t=>r.split(t,[","],!0),space:t=>r.split(t,[" ","\n","\t"]),split(t,e,r){let i=[],u="",l=!1,s=0,o=!1,n="",p=!1;for(let r of t)p?p=!1:"\\"===r?p=!0:o?r===n&&(o=!1):'"'===r||"'"===r?(o=!0,n=r):"("===r?s+=1:")"===r?s>0&&(s-=1):0===s&&e.includes(r)&&(l=!0),l?(""!==u&&i.push(u.trim()),u="",l=!1):u+=r;return(r||""!==u)&&i.push(u.trim()),i}};return t=r,r.default=r,t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("node:path"),s=require("../../source-map-js/source-map.js"),e=require("node:url"),i=require("./input.js");var o,n;exports.__require=function(){if(n)return o;n=1;let{dirname:r,relative:a,resolve:p,sep:h}=t,{SourceMapConsumer:l,SourceMapGenerator:u}=s.__require(),{pathToFileURL:c}=e,m=i.__require(),g=Boolean(l&&u),d=Boolean(r&&p&&a&&h);return o=class{constructor(t,s,e,i){this.stringify=t,this.mapOpts=e.map||{},this.root=s,this.opts=e,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;t=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let s="\n";this.css.includes("\r\n")&&(s="\r\n"),this.css+=s+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let s,e=this.toUrl(this.path(t.file)),i=t.root||r(t.file);!1===this.mapOpts.sourcesContent?(s=new l(t.text),s.sourcesContent&&(s.sourcesContent=null)):s=t.consumer(),this.map.applySourceMap(s,e,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let t;for(let s=this.root.nodes.length-1;s>=0;s--)t=this.root.nodes[s],"comment"===t.type&&t.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(s)}else if(this.css){let t;for(;-1!==(t=this.css.lastIndexOf("/*#"));){let s=this.css.indexOf("*/",t+3);if(-1===s)break;for(;t>0&&"\n"===this.css[t-1];)t--;this.css=this.css.slice(0,t)+this.css.slice(s+2)}}}generate(){if(this.clearAnnotation(),d&&g&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,s=>{t+=s}),[t]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=u.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0});let t,s,e=1,i=1,o="<no source>",n={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(r,a,p)=>{if(this.css+=r,a&&"end"!==p&&(n.generated.line=e,n.generated.column=i-1,a.source&&a.source.start?(n.source=this.sourcePath(a),n.original.line=a.source.start.line,n.original.column=a.source.start.column-1,this.map.addMapping(n)):(n.source=o,n.original.line=1,n.original.column=0,this.map.addMapping(n))),s=r.match(/\n/g),s?(e+=s.length,t=r.lastIndexOf("\n"),i=r.length-t):i+=r.length,a&&"start"!==p){let t=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===t.last&&!t.raws.semicolon||(a.source&&a.source.end?(n.source=this.sourcePath(a),n.original.line=a.source.end.line,n.original.column=a.source.end.column-1,n.generated.line=e,n.generated.column=i-2,this.map.addMapping(n)):(n.source=o,n.original.line=1,n.original.column=0,n.generated.line=e,n.generated.column=i-1,this.map.addMapping(n)))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(t=>t.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let t=this.mapOpts.annotation;return(void 0===t||!0===t)&&(!this.previous().length||this.previous().some(t=>t.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(t=>t.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute)return t;if(60===t.charCodeAt(0))return t;if(/^\w+:\/\//.test(t))return t;let s=this.memoizedPaths.get(t);if(s)return s;let e=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(e=r(p(e,this.mapOpts.annotation)));let i=a(e,t);return this.memoizedPaths.set(t,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let s=t.source.input.map;this.previousMaps.includes(s)||this.previousMaps.push(s)}});else{let t=new m(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(s=>{if(s.source){let e=s.source.input.from;if(e&&!t[e]){t[e]=!0;let i=this.usesFileUrls?this.toFileUrl(e):this.toUrl(this.path(e));this.map.setSourceContent(i,s.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let s=this.memoizedFileURLs.get(t);if(s)return s;if(c){let s=c(t).toString();return this.memoizedFileURLs.set(t,s),s}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let s=this.memoizedURLs.get(t);if(s)return s;"\\"===h&&(t=t.replace(/\\/g,"/"));let e=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,e),e}},o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./map-generator.js"),r=require("./parse.js"),e=require("./result.js"),s=require("./stringify.js"),i=require("./warn-once.js");var o,n;exports.__require=function(){if(n)return o;n=1;let u=t.__require(),h=r.__require();const c=e.__require();let l=s.__require(),a=i.__require();class p{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,r=h;try{t=r(this._css,this._opts)}catch(t){this.error=t}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,r,e){r=r.toString(),this.stringified=!1,this._processor=t,this._css=r,this._opts=e,this._map=void 0;let s=l;this.result=new c(this._processor,void 0,this._opts),this.result.css=r;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let o=new u(s,void 0,this._opts,r);if(o.isMap()){let[t,r]=o.generate();t&&(this.result.css=t),r&&(this.result.map=r)}else o.clearAnnotation(),this.result.css=o.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,r){return"production"!==process.env.NODE_ENV&&("from"in this._opts||a("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,r)}toString(){return this._css}warnings(){return[]}}return o=p,p.default=p,o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./css-syntax-error.js"),e=require("./stringifier.js"),r=require("./stringify.js"),n=require("./symbols.js");var s,i;exports.__require=function(){if(i)return s;i=1;let o=t.__require(),u=e.__require(),l=r.__require(),{isClean:c,my:h}=n.__require();function a(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;if("proxyCache"===n)continue;let s=t[n],i=typeof s;"parent"===n&&"object"===i?e&&(r[n]=e):"source"===n?r[n]=s:Array.isArray(s)?r[n]=s.map(t=>a(t,r)):("object"===i&&null!==s&&(s=a(s)),r[n]=s)}return r}function f(t,e){if(e&&void 0!==e.offset)return e.offset;let r=1,n=1,s=0;for(let i=0;i<t.length;i++){if(n===e.line&&r===e.column){s=i;break}"\n"===t[i]?(r=1,n+=1):r+=1}return s}class p{get proxyOf(){return this}constructor(t={}){this.raws={},this[c]=!1,this[h]=!0;for(let e in t)if("nodes"===e){this.nodes=[];for(let r of t[e])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[e]=t[e]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let e=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let e in t)this[e]=t[e];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let e=a(this);for(let r in t)e[r]=t[r];return e}cloneAfter(t={}){let e=this.clone(t);return this.parent.insertAfter(this,e),e}cloneBefore(t={}){let e=this.clone(t);return this.parent.insertBefore(this,e),e}error(t,e={}){if(this.source){let{end:r,start:n}=this.rangeBy(e);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},e)}return new o(t)}getProxyProcessor(){return{get:(t,e)=>"proxyOf"===e?t:"root"===e?()=>t.root().toProxy():t[e],set:(t,e,r)=>(t[e]===r||(t[e]=r,"prop"!==e&&"value"!==e&&"name"!==e&&"params"!==e&&"important"!==e&&"text"!==e||t.markDirty()),!0)}}markClean(){this[c]=!0}markDirty(){if(this[c]){this[c]=!1;let t=this;for(;t=t.parent;)t[c]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t={}){let e=this.source.start;if(t.index)e=this.positionInside(t.index);else if(t.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n=r.slice(f(r,this.source.start),f(r,this.source.end)).indexOf(t.word);-1!==n&&(e=this.positionInside(n))}return e}positionInside(t){let e=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,s=f(n,this.source.start),i=s+t;for(let t=s;t<i;t++)"\n"===n[t]?(e=1,r+=1):e+=1;return{column:e,line:r,offset:i}}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}rangeBy(t={}){let e="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:f(e,this.source.start)},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:f(e,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(t.word){let s=e.slice(f(e,this.source.start),f(e,this.source.end)).indexOf(t.word);-1!==s&&(r=this.positionInside(s),n=this.positionInside(s+t.word.length))}else t.start?r={column:t.start.column,line:t.start.line,offset:f(e,t.start)}:t.index&&(r=this.positionInside(t.index)),t.end?n={column:t.end.column,line:t.end.line,offset:f(e,t.end)}:"number"==typeof t.endIndex?n=this.positionInside(t.endIndex):t.index&&(n=this.positionInside(t.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line,offset:r.offset+1}),{end:n,start:r}}raw(t,e){return(new u).raw(this,t,e)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...t){if(this.parent){let e=this,r=!1;for(let n of t)n===this?r=!0:r?(this.parent.insertAfter(e,n),e=n):this.parent.insertBefore(e,n);r||this.remove()}return this}root(){let t=this;for(;t.parent&&"document"!==t.parent.type;)t=t.parent;return t}toJSON(t,e){let r={},n=null==e;e=e||new Map;let s=0;for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t))continue;if("parent"===t||"proxyCache"===t)continue;let n=this[t];if(Array.isArray(n))r[t]=n.map(t=>"object"==typeof t&&t.toJSON?t.toJSON(null,e):t);else if("object"==typeof n&&n.toJSON)r[t]=n.toJSON(null,e);else if("source"===t){if(null==n)continue;let i=e.get(n.input);null==i&&(i=s,e.set(n.input,s),s++),r[t]={end:n.end,inputId:i,start:n.start}}else r[t]=n}return n&&(r.inputs=[...e.keys()].map(t=>t.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=l){t.stringify&&(t=t.stringify);let e="";return t(this,t=>{e+=t}),e}warn(t,e,r={}){let n={node:this};for(let t in r)n[t]=r[t];return t.warn(e,n)}}return s=p,p.default=p,s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./container.js"),r=require("./input.js"),s=require("./parser.js");var t,a;exports.__require=function(){if(a)return t;a=1;let i=e.__require(),o=r.__require(),n=s.__require();function u(e,r){let s=new o(e,r),t=new n(s);try{t.parse()}catch(e){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===e.name&&r&&r.from&&(/\.scss$/i.test(r.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(r.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(r.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return t.root}return t=u,u.default=u,i.registerParse(u),t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./at-rule.js"),t=require("./comment.js"),s=require("./declaration.js"),r=require("./root.js"),i=require("./rule.js"),o=require("./tokenize.js");var n,h;exports.__require=function(){if(h)return n;h=1;let c=e.__require(),l=t.__require(),a=s.__require(),u=r.__require(),p=i.__require(),f=o.__require();const m={empty:!0,space:!0};return n=class{constructor(e){this.input=e,this.root=new u,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,s,r,i=new c;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,n=!1,h=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){n=!0;break}if("}"===t){if(h.length>0){for(r=h.length-1,s=h[r];s&&"space"===s[0];)s=h[--r];s&&(i.source.end=this.getPosition(s[3]||s[2]),i.source.end.offset++)}this.end(e);break}h.push(e)}else h.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(h),h.length?(i.raws.afterName=this.spacesAndCommentsFromStart(h),this.raw(i,"params",h),o&&(e=h[h.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),n&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let s,r=0;for(let i=t-1;i>=0&&(s=e[i],"space"===s[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===s[0]?s[3]+1:s[2])}colon(e){let t,s,r,i=0;for(let[o,n]of e.entries()){if(s=n,r=s[0],"("===r&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(t){if("word"===t[0]&&"progid"===t[1])continue;return o}this.doubleColon(s)}t=s}return!1}comment(e){let t=new l;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let s=e[1].slice(2,-2);if(s.trim()){let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}else t.text="",t.raws.left=s,t.raws.right=""}createTokenizer(){this.tokenizer=f(this.input)}decl(e,t){let s=new a;this.init(s,e[0][2]);let r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),s.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let s=e[t],r=s[3]||s[2];if(r)return r}}(e)),s.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),s.raws.before+=e.shift()[1];for(s.source.start=this.getPosition(e[0][2]),s.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;s.prop+=e.shift()[1]}for(s.raws.between="";e.length;){if(r=e.shift(),":"===r[0]){s.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),s.raws.between+=r[1]}"_"!==s.prop[0]&&"*"!==s.prop[0]||(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let o,n=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)n.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(r=e[t],"!important"===r[1].toLowerCase()){s.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(s.raws.important=r);break}if("important"===r[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=r.pop()[1]+i}i.trim().startsWith("!")&&(s.important=!0,s.raws.important=i,e=r)}if("space"!==r[0]&&"comment"!==r[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(s.raws.between+=n.map(e=>e[1]).join(""),n=[]),this.raw(s,"value",n.concat(e),t),s.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new p;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,s=null,r=!1,i=null,o=[],n=e[1].startsWith("--"),h=[],c=e;for(;c;){if(s=c[0],h.push(c),"("===s||"["===s)i||(i=c),o.push("("===s?")":"]");else if(n&&r&&"{"===s)i||(i=c),o.push("}");else if(0===o.length){if(";"===s){if(r)return void this.decl(h,n);break}if("{"===s)return void this.rule(h);if("}"===s){this.tokenizer.back(h.pop()),t=!0;break}":"===s&&(r=!0)}else s===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!n)for(;h.length&&(c=h[h.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(h.pop());this.decl(h,n)}else this.unknownWord(h)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,s,r){let i,o,n,h,c=s.length,l="",a=!0;for(let e=0;e<c;e+=1)i=s[e],o=i[0],"space"!==o||e!==c-1||r?"comment"===o?(h=s[e-1]?s[e-1][0]:"empty",n=s[e+1]?s[e+1][0]:"empty",m[h]||m[n]||","===l.slice(-1)?a=!1:l+=i[1]):l+=i[1]:a=!1;if(!a){let r=s.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:r,value:l}}e[t]=l}rule(e){e.pop();let t=new p;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)s+=e.shift()[1];return s}spacesFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)s=e.pop()[1]+s;return s}stringFrom(e,t){let s="";for(let r=t;r<e.length;r++)s+=e[r][1];return e.splice(t,e.length-t),s}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./at-rule.js"),r=require("./comment.js"),s=require("./container.js"),i=require("./css-syntax-error.js"),t=require("./declaration.js"),n=require("./document.js"),u=require("./fromJSON.js"),o=require("./input.js"),c=require("./lazy-result.js"),_=require("./list.js"),q=require("./node.js"),l=require("./parse.js"),a=require("./processor.js"),p=require("./result.js"),j=require("./root.js"),g=require("./rule.js"),w=require("./stringify.js"),m=require("./warning.js");var d,f;exports.__require=function(){if(f)return d;f=1;let y=e.__require(),h=r.__require(),v=s.__require(),A=i.__require(),N=t.__require(),P=n.__require(),R=u.__require(),S=o.__require(),x=c.__require(),O=_.__require(),b=q.__require(),C=l.__require(),D=a.__require(),G=p.__require(),J=j.__require(),L=g.__require(),M=w.__require(),W=m.__require();function z(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new D(e)}return z.plugin=function(e,r){let s,i=!1;function t(...s){console&&console.warn&&!i&&(i=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let t=r(...s);return t.postcssPlugin=e,t.postcssVersion=(new D).version,t}return Object.defineProperty(t,"postcss",{get:()=>(s||(s=t()),s)}),t.process=function(e,r,s){return z([t(s)]).process(e,r)},t},z.stringify=M,z.parse=C,z.fromJSON=R,z.list=O,z.comment=e=>new h(e),z.atRule=e=>new y(e),z.decl=e=>new N(e),z.rule=e=>new L(e),z.root=e=>new J(e),z.document=e=>new P(e),z.CssSyntaxError=A,z.Declaration=N,z.Container=v,z.Processor=D,z.Document=P,z.Comment=h,z.Warning=W,z.AtRule=y,z.Result=G,z.Input=S,z.Rule=L,z.Root=J,z.Node=b,x.registerPostcss(z),d=z,z.default=z,d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("node:fs"),e=require("node:path"),r=require("../../source-map-js/source-map.js");var n,i;exports.__require=function(){if(i)return n;i=1;let{existsSync:o,readFileSync:a}=t,{dirname:s,join:u}=e,{SourceMapConsumer:p,SourceMapGenerator:c}=r.__require();class h{constructor(t,e){if(!1===e.map)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=e.map?e.map.prev:void 0,n=this.loadMap(e.from,r);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new p(this.text)),this.consumerCache}decodeInline(t){let e=t.match(/^data:application\/json;charset=utf-?8,/)||t.match(/^data:application\/json,/);if(e)return decodeURIComponent(t.substr(e[0].length));let r=t.match(/^data:application\/json;charset=utf-?8;base64,/)||t.match(/^data:application\/json;base64,/);if(r)return n=t.substr(r[0].length),Buffer?Buffer.from(n,"base64").toString():window.atob(n);var n;let i=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return"object"==typeof t&&("string"==typeof t.mappings||"string"==typeof t._mappings||Array.isArray(t.sections))}loadAnnotation(t){let e=t.match(/\/\*\s*# sourceMappingURL=/g);if(!e)return;let r=t.lastIndexOf(e.pop()),n=t.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=s(t),o(t))return this.mapFile=t,a(t,"utf-8").toString().trim()}loadMap(t,e){if(!1===e)return!1;if(e){if("string"==typeof e)return e;if("function"!=typeof e){if(e instanceof p)return c.fromSourceMap(e).toString();if(e instanceof c)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}{let r=e(t);if(r){let t=this.loadFile(r);if(!t)throw new Error("Unable to load previous source map: "+r.toString());return t}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let e=this.annotation;return t&&(e=u(s(t),e)),this.loadFile(e)}}}startWith(t,e){return!!t&&t.substr(0,e.length)===e}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return n=h,h.default=h,n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./document.js"),r=require("./lazy-result.js"),s=require("./no-work-result.js"),t=require("./root.js");var i,o;exports.__require=function(){if(o)return i;o=1;let n=e.__require(),u=r.__require(),l=s.__require(),p=t.__require();class c{constructor(e=[]){this.version="8.5.8",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let s of e)if(!0===s.postcss?s=s():s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))r=r.concat(s.plugins);else if("object"==typeof s&&s.postcssPlugin)r.push(s);else if("function"==typeof s)r.push(s);else{if("object"!=typeof s||!s.parse&&!s.stringify)throw new Error(s+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return r}process(e,r={}){return this.plugins.length||r.parser||r.stringifier||r.syntax?new u(this,e,r):new l(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return i=c,c.default=c,p.registerProcessor(c),n.registerProcessor(c),i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./warning.js");var t,e;exports.__require=function(){if(e)return t;e=1;let r=s.__require();class i{get content(){return this.css}constructor(s,t,e){this.processor=s,this.messages=[],this.root=t,this.opts=e,this.css="",this.map=void 0}toString(){return this.css}warn(s,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let e=new r(s,t);return this.messages.push(e),e}warnings(){return this.messages.filter(s=>"warning"===s.type)}}return t=i,i.default=i,t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./container.js");var r,t;exports.__require=function(){if(t)return r;t=1;let s,o,i=e.__require();class n extends i{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,t){let s=super.normalize(e);if(r)if("prepend"===t)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let e of s)e.raws.before=r.raws.before;return s}removeChild(e,r){let t=this.index(e);return!r&&0===t&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[t].raws.before),super.removeChild(e)}toResult(e={}){return new s(new o,this,e).stringify()}}return n.registerLazyResult=e=>{s=e},n.registerProcessor=e=>{o=e},r=n,n.default=n,i.registerRoot(n),r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./container.js"),t=require("./list.js");var r,s;exports.__require=function(){if(s)return r;s=1;let i=e.__require(),o=t.__require();class l extends i{get selectors(){return o.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}return r=l,l.default=l,i.registerRule(l),r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,r;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){if(r)return e;r=1;const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,r){let t="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?t+=e.raws.afterName:n&&(t+=" "),e.nodes)this.block(e,t+n);else{let o=(e.raws.between||"")+(r?";":"");this.builder(t+n+o,e)}}beforeAfter(e,r){let t;t="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===r?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,o=0;for(;n&&"root"!==n.type;)o+=1,n=n.parent;if(t.includes("\n")){let r=this.raw(e,null,"indent");if(r.length)for(let e=0;e<o;e++)t+=r}return t}block(e,r){let t,n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),t=this.raw(e,"after")):t=this.raw(e,"after","emptyBody"),t&&this.builder(t),this.builder("}",e,"end")}body(e){let r=e.nodes.length-1;for(;r>0&&"comment"===e.nodes[r].type;)r-=1;let t=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let o=e.nodes[n],a=this.raw(o,"before");a&&this.builder(a),this.stringify(o,r!==n||t)}}comment(e){let r=this.raw(e,"left","commentLeft"),t=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+t+"*/",e)}decl(e,r){let t=this.raw(e,"between","colon"),n=e.prop+t+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),r&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(e,r,n){let o;if(n||(n=r),r&&(o=e.raws[r],void 0!==o))return o;let a=e.parent;if("before"===n){if(!a||"root"===a.type&&a.first===e)return"";if(a&&"document"===a.type)return""}if(!a)return t[n];let l=e.root();if(l.rawCache||(l.rawCache={}),void 0!==l.rawCache[n])return l.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let t="raw"+((i=n)[0].toUpperCase()+i.slice(1));this[t]?o=this[t](l,e):l.walk(e=>{if(o=e.raws[r],void 0!==o)return!1})}var i;return void 0===o&&(o=t[n]),l.rawCache[n]=o,o}rawBeforeClose(e){let r;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return r=e.raws.after,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeComment(e,r){let t;return e.walkComments(e=>{if(void 0!==e.raws.before)return t=e.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),void 0===t?t=this.raw(r,null,"beforeDecl"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeDecl(e,r){let t;return e.walkDecls(e=>{if(void 0!==e.raws.before)return t=e.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),void 0===t?t=this.raw(r,null,"beforeRule"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let r;return e.walk(e=>{if("decl"!==e.type&&(r=e.raws.between,void 0!==r))return!1}),r}rawBeforeRule(e){let r;return e.walk(t=>{if(t.nodes&&(t.parent!==e||e.first!==t)&&void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(e){let r;return e.walkDecls(e=>{if(void 0!==e.raws.between)return r=e.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(e){let r;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(r=e.raws.after,void 0!==r))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(t=>{let n=t.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==t.raws.before){let e=t.raws.before.split("\n");return r=e[e.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(e){let r;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(r=e.raws.semicolon,void 0!==r))return!1}),r}rawValue(e,r){let t=e[r],n=e.raws[r];return n&&n.value===t?n.raw:t}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}}return e=n,n.default=n,e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./stringifier.js");var r,t;exports.__require=function(){if(t)return r;t=1;let i=e.__require();function n(e,r){new i(r).stringify(e)}return r=n,n.default=n,r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/symbols.js");var r;exports.__require=function(){return r||(r=1,e.__exports.isClean=Symbol("isClean"),e.__exports.my=Symbol("my")),e.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../picocolors/picocolors.js"),r=require("./tokenize.js");var n,t;exports.__require=function(){if(t)return n;t=1;let o,l=e.__require(),i=r.__require();const c={";":l.yellow,":":l.yellow,"(":l.cyan,")":l.cyan,"[":l.yellow,"]":l.yellow,"{":l.yellow,"}":l.yellow,"at-word":l.cyan,brackets:l.cyan,call:l.cyan,class:l.yellow,comment:l.gray,hash:l.magenta,string:l.green};function a([e,r],n){if("word"===e){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!n.endOfFile()){let e=n.nextToken();if(n.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function s(e){let r=i(new o(e),{ignoreErrors:!0}),n="";for(;!r.endOfFile();){let e=r.nextToken(),t=c[a(e,r)];n+=t?e[1].split(/\r?\n/).map(e=>t(e)).join("\n"):e[1]}return n}return s.registerInput=function(e){o=e},n=s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,t;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){if(t)return e;t=1;const r="'".charCodeAt(0),c='"'.charCodeAt(0),a="\\".charCodeAt(0),o="/".charCodeAt(0),n="\n".charCodeAt(0),s=" ".charCodeAt(0),d="\f".charCodeAt(0),h="\t".charCodeAt(0),i="\r".charCodeAt(0),l="[".charCodeAt(0),f="]".charCodeAt(0),A="(".charCodeAt(0),C=")".charCodeAt(0),u="{".charCodeAt(0),g="}".charCodeAt(0),b=";".charCodeAt(0),k="*".charCodeAt(0),x=":".charCodeAt(0),p="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,m=/.[\r\n"'(/\\]/,I=/[\da-f]/i;return e=function(e,t={}){let v,S,y,T,U,_,j,q,E,F,M=e.css.valueOf(),P=t.ignoreErrors,z=M.length,B=0,D=[],G=[];function H(t){throw e.error("Unclosed "+t,B)}return{back:function(e){G.push(e)},endOfFile:function(){return 0===G.length&&B>=z},nextToken:function(e){if(G.length)return G.pop();if(B>=z)return;let t=!!e&&e.ignoreUnclosed;switch(v=M.charCodeAt(B),v){case n:case s:case h:case i:case d:T=B;do{T+=1,v=M.charCodeAt(T)}while(v===s||v===n||v===h||v===i||v===d);_=["space",M.slice(B,T)],B=T-1;break;case l:case f:case u:case g:case x:case b:case C:{let e=String.fromCharCode(v);_=[e,e,B];break}case A:if(F=D.length?D.pop()[1]:"",E=M.charCodeAt(B+1),"url"===F&&E!==r&&E!==c&&E!==s&&E!==n&&E!==h&&E!==d&&E!==i){T=B;do{if(j=!1,T=M.indexOf(")",T+1),-1===T){if(P||t){T=B;break}H("bracket")}for(q=T;M.charCodeAt(q-1)===a;)q-=1,j=!j}while(j);_=["brackets",M.slice(B,T+1),B,T],B=T}else T=M.indexOf(")",B+1),S=M.slice(B,T+1),-1===T||m.test(S)?_=["(","(",B]:(_=["brackets",S,B,T],B=T);break;case r:case c:U=v===r?"'":'"',T=B;do{if(j=!1,T=M.indexOf(U,T+1),-1===T){if(P||t){T=B+1;break}H("string")}for(q=T;M.charCodeAt(q-1)===a;)q-=1,j=!j}while(j);_=["string",M.slice(B,T+1),B,T],B=T;break;case p:w.lastIndex=B+1,w.test(M),T=0===w.lastIndex?M.length-1:w.lastIndex-2,_=["at-word",M.slice(B,T+1),B,T],B=T;break;case a:for(T=B,y=!0;M.charCodeAt(T+1)===a;)T+=1,y=!y;if(v=M.charCodeAt(T+1),y&&v!==o&&v!==s&&v!==n&&v!==h&&v!==i&&v!==d&&(T+=1,I.test(M.charAt(T)))){for(;I.test(M.charAt(T+1));)T+=1;M.charCodeAt(T+1)===s&&(T+=1)}_=["word",M.slice(B,T+1),B,T],B=T;break;default:v===o&&M.charCodeAt(B+1)===k?(T=M.indexOf("*/",B+2)+1,0===T&&(P||t?T=M.length:H("comment")),_=["comment",M.slice(B,T+1),B,T],B=T):(O.lastIndex=B+1,O.test(M),T=0===O.lastIndex?M.length-1:O.lastIndex-2,_=["word",M.slice(B,T+1),B,T],D.push(_),B=T)}return B++,_},position:function(){return B}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,n;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){if(n)return e;n=1;let o={};return e=function(e){o[e]||(o[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t,e;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.__require=function(){if(e)return t;e=1;class i{constructor(t,e={}){if(this.type="warning",this.text=t,e.node&&e.node.source){let t=e.node.rangeBy(e);this.line=t.start.line,this.column=t.start.column,this.endLine=t.end.line,this.endColumn=t.end.column}for(let t in e)this[t]=e[t]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return t=i,i.default=i,t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/array-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/array-set2.js"),r=require("./util.js");var e;exports.__require=function(){if(e)return t.__exports;e=1;var i=r.__require(),s=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function o(){this._array=[],this._set=n?new Map:Object.create(null)}return o.fromArray=function(t,r){for(var e=new o,i=0,s=t.length;i<s;i++)e.add(t[i],r);return e},o.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(t,r){var e=n?t:i.toSetString(t),o=n?this.has(t):s.call(this._set,e),a=this._array.length;o&&!r||this._array.push(t),o||(n?this._set.set(t,a):this._set[e]=a)},o.prototype.has=function(t){if(n)return this._set.has(t);var r=i.toSetString(t);return s.call(this._set,r)},o.prototype.indexOf=function(t){if(n){var r=this._set.get(t);if(r>=0)return r}else{var e=i.toSetString(t);if(s.call(this._set,e))return this._set[e]}throw new Error('"'+t+'" is not in the set.')},o.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)},o.prototype.toArray=function(){return this._array.slice()},t.__exports.ArraySet=o,t.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/base64-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/base64-vlq2.js"),r=require("./base64.js");var t;exports.__require=function(){if(t)return e.__exports;t=1;var o=r.__require();return e.__exports.encode=function(e){var r,t="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{r=31&i,(i>>>=5)>0&&(r|=32),t+=o.encode(r)}while(i>0);return t},e.__exports.decode=function(e,r,t){var i,n,u,s,a=e.length,d=0,c=0;do{if(r>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=o.decode(e.charCodeAt(r++))))throw new Error("Invalid base64 digit: "+e.charAt(r-1));i=!!(32&n),d+=(n&=31)<<c,c+=5}while(i);t.value=(s=(u=d)>>1,1&~u?s:-s),t.rest=r},e.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/base642.js");var r;exports.__require=function(){if(r)return e.__exports;r=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return e.__exports.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},e.__exports.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},e.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/binary-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/binary-search2.js");var e;exports.__require=function(){return e||(e=1,function(r){function e(t,n,_,o,u,i){var E=Math.floor((n-t)/2)+t,a=u(_,o[E],!0);return 0===a?E:a>0?n-E>1?e(E,n,_,o,u,i):i==r.LEAST_UPPER_BOUND?n<o.length?n:-1:E:E-t>1?e(t,E,_,o,u,i):i==r.LEAST_UPPER_BOUND?E:t<0?-1:t}r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.search=function(t,n,_,o){if(0===n.length)return-1;var u=e(-1,n.length,t,n,_,o||r.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&0===_(n[u],n[u-1],!0);)--u;return u}}(r.__exports)),r.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/mapping-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/mapping-list2.js"),e=require("./util.js");var r;exports.__require=function(){if(r)return t.__exports;r=1;var s=e.__require();function a(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return a.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)},a.prototype.add=function(t){var e,r,a,i,o,n;e=this._last,r=t,a=e.generatedLine,i=r.generatedLine,o=e.generatedColumn,n=r.generatedColumn,i>a||i==a&&n>=o||s.compareByGeneratedPositionsInflated(e,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},a.prototype.toArray=function(){return this._sorted||(this._array.sort(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.__exports.MappingList=a,t.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/quick-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/quick-sort2.js");var t;exports.__require=function(){if(t)return r.__exports;function e(r,t,e){var o=r[t];r[t]=r[e],r[e]=o}function o(r,t,n,u){if(n<u){var i=n-1;e(r,(_=n,f=u,Math.round(_+Math.random()*(f-_))),u);for(var a=r[u],s=n;s<u;s++)t(r[s],a)<=0&&e(r,i+=1,s);e(r,i+1,s);var c=i+1;o(r,t,n,c-1),o(r,t,c+1,u)}var _,f}return t=1,r.__exports.quickSort=function(r,t){o(r,t,0,r.length-1)},r.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/source-map-consumer.js"),n=require("./util.js"),r=require("./binary-search.js"),t=require("./array-set.js"),o=require("./base64-vlq.js"),i=require("./quick-sort.js");var s;exports.__require=function(){if(s)return e.__exports;s=1;var a=n.__require(),u=r.__require(),l=t.__require().ArraySet,g=o.__require(),p=i.__require().quickSort;function c(e,n){var r=e;return"string"==typeof e&&(r=a.parseSourceMapInput(e)),null!=r.sections?new m(r,n):new h(r,n)}function h(e,n){var r=e;"string"==typeof e&&(r=a.parseSourceMapInput(e));var t=a.getArg(r,"version"),o=a.getArg(r,"sources"),i=a.getArg(r,"names",[]),s=a.getArg(r,"sourceRoot",null),u=a.getArg(r,"sourcesContent",null),g=a.getArg(r,"mappings"),p=a.getArg(r,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);s&&(s=a.normalize(s)),o=o.map(String).map(a.normalize).map(function(e){return s&&a.isAbsolute(s)&&a.isAbsolute(e)?a.relative(s,e):e}),this._names=l.fromArray(i.map(String),!0),this._sources=l.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return a.computeSourceURL(s,e,n)}),this.sourceRoot=s,this.sourcesContent=u,this._mappings=g,this._sourceMapURL=n,this.file=p}function _(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function m(e,n){var r=e;"string"==typeof e&&(r=a.parseSourceMapInput(e));var t=a.getArg(r,"version"),o=a.getArg(r,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=a.getArg(e,"offset"),t=a.getArg(r,"line"),o=a.getArg(r,"column");if(t<i.line||t===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:t+1,generatedColumn:o+1},consumer:new c(a.getArg(e,"map"),n)}})}return c.fromSourceMap=function(e,n){return h.fromSourceMap(e,n)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,n){var r=e.charAt(n);return";"===r||","===r},c.prototype._parseMappings=function(e,n){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,n,r){var t,o=n||null;switch(r||c.GENERATED_ORDER){case c.GENERATED_ORDER:t=this._generatedMappings;break;case c.ORIGINAL_ORDER:t=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;t.map(function(e){var n=null===e.source?null:this._sources.at(e.source);return{source:n=a.computeSourceURL(i,n,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,o)},c.prototype.allGeneratedPositionsFor=function(e){var n=a.getArg(e,"line"),r={source:a.getArg(e,"source"),originalLine:n,originalColumn:a.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var t=[],o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},e.__exports.SourceMapConsumer=c,h.prototype=Object.create(c.prototype),h.prototype.consumer=c,h.prototype._findSourceIndex=function(e){var n,r=e;if(null!=this.sourceRoot&&(r=a.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1},h.fromSourceMap=function(e,n){var r=Object.create(h.prototype),t=r._names=l.fromArray(e._names.toArray(),!0),o=r._sources=l.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=n,r._absoluteSources=r._sources.toArray().map(function(e){return a.computeSourceURL(r.sourceRoot,e,n)});for(var i=e._mappings.toArray().slice(),s=r.__generatedMappings=[],u=r.__originalMappings=[],g=0,c=i.length;g<c;g++){var m=i[g],f=new _;f.generatedLine=m.generatedLine,f.generatedColumn=m.generatedColumn,m.source&&(f.source=o.indexOf(m.source),f.originalLine=m.originalLine,f.originalColumn=m.originalColumn,m.name&&(f.name=t.indexOf(m.name)),u.push(f)),s.push(f)}return p(r.__originalMappings,a.compareByOriginalPositions),r},h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),h.prototype._parseMappings=function(e,n){for(var r,t,o,i,s,u=1,l=0,c=0,h=0,m=0,f=0,d=e.length,C=0,v={},y={},A=[],L=[];C<d;)if(";"===e.charAt(C))u++,C++,l=0;else if(","===e.charAt(C))C++;else{for((r=new _).generatedLine=u,i=C;i<d&&!this._charIsMappingSeparator(e,i);i++);if(o=v[t=e.slice(C,i)])C+=t.length;else{for(o=[];C<i;)g.decode(e,C,y),s=y.value,C=y.rest,o.push(s);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");v[t]=o}r.generatedColumn=l+o[0],l=r.generatedColumn,o.length>1&&(r.source=m+o[1],m+=o[1],r.originalLine=c+o[2],c=r.originalLine,r.originalLine+=1,r.originalColumn=h+o[3],h=r.originalColumn,o.length>4&&(r.name=f+o[4],f+=o[4])),L.push(r),"number"==typeof r.originalLine&&A.push(r)}p(L,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=L,p(A,a.compareByOriginalPositions),this.__originalMappings=A},h.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},h.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var n=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(n.generatedLine===r.generatedLine){n.lastGeneratedColumn=r.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}},h.prototype.originalPositionFor=function(e){var n={generatedLine:a.getArg(e,"line"),generatedColumn:a.getArg(e,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",a.compareByGeneratedPositionsDeflated,a.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(r>=0){var t=this._generatedMappings[r];if(t.generatedLine===n.generatedLine){var o=a.getArg(t,"source",null);null!==o&&(o=this._sources.at(o),o=a.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var i=a.getArg(t,"name",null);return null!==i&&(i=this._names.at(i)),{source:o,line:a.getArg(t,"originalLine",null),column:a.getArg(t,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},h.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var t,o=e;if(null!=this.sourceRoot&&(o=a.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(t=a.urlParse(this.sourceRoot))){var i=o.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!t.path||"/"==t.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},t=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(t>=0){var o=this._originalMappings[t];if(o.source===r.source)return{line:a.getArg(o,"generatedLine",null),column:a.getArg(o,"generatedColumn",null),lastColumn:a.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.__exports.BasicSourceMapConsumer=h,m.prototype=Object.create(c.prototype),m.prototype.constructor=c,m.prototype._version=3,Object.defineProperty(m.prototype,"sources",{get:function(){for(var e=[],n=0;n<this._sections.length;n++)for(var r=0;r<this._sections[n].consumer.sources.length;r++)e.push(this._sections[n].consumer.sources[r]);return e}}),m.prototype.originalPositionFor=function(e){var n={generatedLine:a.getArg(e,"line"),generatedColumn:a.getArg(e,"column")},r=u.search(n,this._sections,function(e,n){var r=e.generatedLine-n.generatedOffset.generatedLine;return r||e.generatedColumn-n.generatedOffset.generatedColumn}),t=this._sections[r];return t?t.consumer.originalPositionFor({line:n.generatedLine-(t.generatedOffset.generatedLine-1),column:n.generatedColumn-(t.generatedOffset.generatedLine===n.generatedLine?t.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},m.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},m.prototype.sourceContentFor=function(e,n){for(var r=0;r<this._sections.length;r++){var t=this._sections[r].consumer.sourceContentFor(e,!0);if(t)return t}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},m.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(-1!==r.consumer._findSourceIndex(a.getArg(e,"source"))){var t=r.consumer.generatedPositionFor(e);if(t)return{line:t.line+(r.generatedOffset.generatedLine-1),column:t.column+(r.generatedOffset.generatedLine===t.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},m.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var t=this._sections[r],o=t.consumer._generatedMappings,i=0;i<o.length;i++){var s=o[i],u=t.consumer._sources.at(s.source);u=a.computeSourceURL(t.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;s.name&&(l=t.consumer._names.at(s.name),this._names.add(l),l=this._names.indexOf(l));var g={source:u,generatedLine:s.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(t.generatedOffset.generatedLine===s.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:l};this.__generatedMappings.push(g),"number"==typeof g.originalLine&&this.__originalMappings.push(g)}p(this.__generatedMappings,a.compareByGeneratedPositionsDeflated),p(this.__originalMappings,a.compareByOriginalPositions)},e.__exports.IndexedSourceMapConsumer=m,e.__exports};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/source-map-consumer2.js"),n=require("./util.js"),r=require("./binary-search.js"),t=require("./array-set.js"),o=require("./base64-vlq.js"),i=require("./quick-sort.js");var s;exports.__require=function(){if(s)return e.__exports;s=1;var a=n.__require(),u=r.__require(),l=t.__require().ArraySet,g=o.__require(),p=i.__require().quickSort;function c(e,n){var r=e;return"string"==typeof e&&(r=a.parseSourceMapInput(e)),null!=r.sections?new m(r,n):new h(r,n)}function h(e,n){var r=e;"string"==typeof e&&(r=a.parseSourceMapInput(e));var t=a.getArg(r,"version"),o=a.getArg(r,"sources"),i=a.getArg(r,"names",[]),s=a.getArg(r,"sourceRoot",null),u=a.getArg(r,"sourcesContent",null),g=a.getArg(r,"mappings"),p=a.getArg(r,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);s&&(s=a.normalize(s)),o=o.map(String).map(a.normalize).map(function(e){return s&&a.isAbsolute(s)&&a.isAbsolute(e)?a.relative(s,e):e}),this._names=l.fromArray(i.map(String),!0),this._sources=l.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return a.computeSourceURL(s,e,n)}),this.sourceRoot=s,this.sourcesContent=u,this._mappings=g,this._sourceMapURL=n,this.file=p}function _(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function m(e,n){var r=e;"string"==typeof e&&(r=a.parseSourceMapInput(e));var t=a.getArg(r,"version"),o=a.getArg(r,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=a.getArg(e,"offset"),t=a.getArg(r,"line"),o=a.getArg(r,"column");if(t<i.line||t===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:t+1,generatedColumn:o+1},consumer:new c(a.getArg(e,"map"),n)}})}return c.fromSourceMap=function(e,n){return h.fromSourceMap(e,n)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,n){var r=e.charAt(n);return";"===r||","===r},c.prototype._parseMappings=function(e,n){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,n,r){var t,o=n||null;switch(r||c.GENERATED_ORDER){case c.GENERATED_ORDER:t=this._generatedMappings;break;case c.ORIGINAL_ORDER:t=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;t.map(function(e){var n=null===e.source?null:this._sources.at(e.source);return{source:n=a.computeSourceURL(i,n,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,o)},c.prototype.allGeneratedPositionsFor=function(e){var n=a.getArg(e,"line"),r={source:a.getArg(e,"source"),originalLine:n,originalColumn:a.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var t=[],o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},e.__exports.SourceMapConsumer=c,h.prototype=Object.create(c.prototype),h.prototype.consumer=c,h.prototype._findSourceIndex=function(e){var n,r=e;if(null!=this.sourceRoot&&(r=a.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1},h.fromSourceMap=function(e,n){var r=Object.create(h.prototype),t=r._names=l.fromArray(e._names.toArray(),!0),o=r._sources=l.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=n,r._absoluteSources=r._sources.toArray().map(function(e){return a.computeSourceURL(r.sourceRoot,e,n)});for(var i=e._mappings.toArray().slice(),s=r.__generatedMappings=[],u=r.__originalMappings=[],g=0,c=i.length;g<c;g++){var m=i[g],f=new _;f.generatedLine=m.generatedLine,f.generatedColumn=m.generatedColumn,m.source&&(f.source=o.indexOf(m.source),f.originalLine=m.originalLine,f.originalColumn=m.originalColumn,m.name&&(f.name=t.indexOf(m.name)),u.push(f)),s.push(f)}return p(r.__originalMappings,a.compareByOriginalPositions),r},h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),h.prototype._parseMappings=function(e,n){for(var r,t,o,i,s,u=1,l=0,c=0,h=0,m=0,f=0,d=e.length,C=0,v={},y={},A=[],L=[];C<d;)if(";"===e.charAt(C))u++,C++,l=0;else if(","===e.charAt(C))C++;else{for((r=new _).generatedLine=u,i=C;i<d&&!this._charIsMappingSeparator(e,i);i++);if(o=v[t=e.slice(C,i)])C+=t.length;else{for(o=[];C<i;)g.decode(e,C,y),s=y.value,C=y.rest,o.push(s);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");v[t]=o}r.generatedColumn=l+o[0],l=r.generatedColumn,o.length>1&&(r.source=m+o[1],m+=o[1],r.originalLine=c+o[2],c=r.originalLine,r.originalLine+=1,r.originalColumn=h+o[3],h=r.originalColumn,o.length>4&&(r.name=f+o[4],f+=o[4])),L.push(r),"number"==typeof r.originalLine&&A.push(r)}p(L,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=L,p(A,a.compareByOriginalPositions),this.__originalMappings=A},h.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},h.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var n=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(n.generatedLine===r.generatedLine){n.lastGeneratedColumn=r.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}},h.prototype.originalPositionFor=function(e){var n={generatedLine:a.getArg(e,"line"),generatedColumn:a.getArg(e,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",a.compareByGeneratedPositionsDeflated,a.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(r>=0){var t=this._generatedMappings[r];if(t.generatedLine===n.generatedLine){var o=a.getArg(t,"source",null);null!==o&&(o=this._sources.at(o),o=a.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var i=a.getArg(t,"name",null);return null!==i&&(i=this._names.at(i)),{source:o,line:a.getArg(t,"originalLine",null),column:a.getArg(t,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},h.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var t,o=e;if(null!=this.sourceRoot&&(o=a.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(t=a.urlParse(this.sourceRoot))){var i=o.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!t.path||"/"==t.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},t=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(t>=0){var o=this._originalMappings[t];if(o.source===r.source)return{line:a.getArg(o,"generatedLine",null),column:a.getArg(o,"generatedColumn",null),lastColumn:a.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.__exports.BasicSourceMapConsumer=h,m.prototype=Object.create(c.prototype),m.prototype.constructor=c,m.prototype._version=3,Object.defineProperty(m.prototype,"sources",{get:function(){for(var e=[],n=0;n<this._sections.length;n++)for(var r=0;r<this._sections[n].consumer.sources.length;r++)e.push(this._sections[n].consumer.sources[r]);return e}}),m.prototype.originalPositionFor=function(e){var n={generatedLine:a.getArg(e,"line"),generatedColumn:a.getArg(e,"column")},r=u.search(n,this._sections,function(e,n){var r=e.generatedLine-n.generatedOffset.generatedLine;return r||e.generatedColumn-n.generatedOffset.generatedColumn}),t=this._sections[r];return t?t.consumer.originalPositionFor({line:n.generatedLine-(t.generatedOffset.generatedLine-1),column:n.generatedColumn-(t.generatedOffset.generatedLine===n.generatedLine?t.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},m.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},m.prototype.sourceContentFor=function(e,n){for(var r=0;r<this._sections.length;r++){var t=this._sections[r].consumer.sourceContentFor(e,!0);if(t)return t}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},m.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(-1!==r.consumer._findSourceIndex(a.getArg(e,"source"))){var t=r.consumer.generatedPositionFor(e);if(t)return{line:t.line+(r.generatedOffset.generatedLine-1),column:t.column+(r.generatedOffset.generatedLine===t.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},m.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var t=this._sections[r],o=t.consumer._generatedMappings,i=0;i<o.length;i++){var s=o[i],u=t.consumer._sources.at(s.source);u=a.computeSourceURL(t.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;s.name&&(l=t.consumer._names.at(s.name),this._names.add(l),l=this._names.indexOf(l));var g={source:u,generatedLine:s.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(t.generatedOffset.generatedLine===s.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:l};this.__generatedMappings.push(g),"number"==typeof g.originalLine&&this.__originalMappings.push(g)}p(this.__generatedMappings,a.compareByGeneratedPositionsDeflated),p(this.__originalMappings,a.compareByOriginalPositions)},e.__exports.IndexedSourceMapConsumer=m,e.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/source-map-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/source-map-generator2.js"),n=require("./base64-vlq.js"),o=require("./util.js"),r=require("./array-set.js"),t=require("./mapping-list.js");var i;exports.__require=function(){if(i)return e.__exports;i=1;var s=n.__require(),l=o.__require(),u=r.__require().ArraySet,a=t.__require().MappingList;function c(e){e||(e={}),this._file=l.getArg(e,"file",null),this._sourceRoot=l.getArg(e,"sourceRoot",null),this._skipValidation=l.getArg(e,"skipValidation",!1),this._sources=new u,this._names=new u,this._mappings=new a,this._sourcesContents=null}return c.prototype._version=3,c.fromSourceMap=function(e){var n=e.sourceRoot,o=new c({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=n&&(r.source=l.relative(n,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),o.addMapping(r)}),e.sources.forEach(function(r){var t=r;null!==n&&(t=l.relative(n,r)),o._sources.has(t)||o._sources.add(t);var i=e.sourceContentFor(r);null!=i&&o.setSourceContent(r,i)}),o},c.prototype.addMapping=function(e){var n=l.getArg(e,"generated"),o=l.getArg(e,"original",null),r=l.getArg(e,"source",null),t=l.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,o,r,t),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=t&&(t=String(t),this._names.has(t)||this._names.add(t)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=o&&o.line,originalColumn:null!=o&&o.column,source:r,name:t})},c.prototype.setSourceContent=function(e,n){var o=e;null!=this._sourceRoot&&(o=l.relative(this._sourceRoot,o)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[l.toSetString(o)]=n):this._sourcesContents&&(delete this._sourcesContents[l.toSetString(o)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},c.prototype.applySourceMap=function(e,n,o){var r=n;if(null==n){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var t=this._sourceRoot;null!=t&&(r=l.relative(t,r));var i=new u,s=new u;this._mappings.unsortedForEach(function(n){if(n.source===r&&null!=n.originalLine){var u=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=u.source&&(n.source=u.source,null!=o&&(n.source=l.join(o,n.source)),null!=t&&(n.source=l.relative(t,n.source)),n.originalLine=u.line,n.originalColumn=u.column,null!=u.name&&(n.name=u.name))}var a=n.source;null==a||i.has(a)||i.add(a);var c=n.name;null==c||s.has(c)||s.add(c)},this),this._sources=i,this._names=s,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=o&&(n=l.join(o,n)),null!=t&&(n=l.relative(t,n)),this.setSourceContent(n,r))},this)},c.prototype._validateMapping=function(e,n,o,r){if(n&&"number"!=typeof n.line&&"number"!=typeof n.column)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((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||n||o||r)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&o))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:o,original:n,name:r}))},c.prototype._serializeMappings=function(){for(var e,n,o,r,t=0,i=1,u=0,a=0,c=0,p=0,g="",h=this._mappings.toArray(),m=0,_=h.length;m<_;m++){if(e="",(n=h[m]).generatedLine!==i)for(t=0;n.generatedLine!==i;)e+=";",i++;else if(m>0){if(!l.compareByGeneratedPositionsInflated(n,h[m-1]))continue;e+=","}e+=s.encode(n.generatedColumn-t),t=n.generatedColumn,null!=n.source&&(r=this._sources.indexOf(n.source),e+=s.encode(r-p),p=r,e+=s.encode(n.originalLine-1-a),a=n.originalLine-1,e+=s.encode(n.originalColumn-u),u=n.originalColumn,null!=n.name&&(o=this._names.indexOf(n.name),e+=s.encode(o-c),c=o)),g+=e}return g},c.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=l.relative(n,e));var o=l.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)},c.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},c.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.__exports.SourceMapGenerator=c,e.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/source-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/source-node2.js"),n=require("./source-map-generator.js"),r=require("./util.js");var t;exports.__require=function(){if(t)return e.__exports;t=1;var o=n.__require().SourceMapGenerator,i=r.__require(),l=/(\r?\n)/,u="$$$isSourceNode$$$";function s(e,n,r,t,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==n?null:n,this.source=null==r?null:r,this.name=null==o?null:o,this[u]=!0,null!=t&&this.add(t)}return s.fromStringWithSourceMap=function(e,n,r){var t=new s,o=e.split(l),u=0,c=function(){return e()+(e()||"");function e(){return u<o.length?o[u++]:void 0}},a=1,h=0,d=null;return n.eachMapping(function(e){if(null!==d){if(!(a<e.generatedLine)){var n=(r=o[u]||"").substr(0,e.generatedColumn-h);return o[u]=r.substr(e.generatedColumn-h),h=e.generatedColumn,p(d,n),void(d=e)}p(d,c()),a++,h=0}for(;a<e.generatedLine;)t.add(c()),a++;if(h<e.generatedColumn){var r=o[u]||"";t.add(r.substr(0,e.generatedColumn)),o[u]=r.substr(e.generatedColumn),h=e.generatedColumn}d=e},this),u<o.length&&(d&&p(d,c()),t.add(o.splice(u).join(""))),n.sources.forEach(function(e){var o=n.sourceContentFor(e);null!=o&&(null!=r&&(e=i.join(r,e)),t.setSourceContent(e,o))}),t;function p(e,n){if(null===e||void 0===e.source)t.add(n);else{var o=r?i.join(r,e.source):e.source;t.add(new s(e.originalLine,e.originalColumn,o,n,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var n=e.length-1;n>=0;n--)this.prepend(e[n]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var n,r=0,t=this.children.length;r<t;r++)(n=this.children[r])[u]?n.walk(e):""!==n&&e(n,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var n,r,t=this.children.length;if(t>0){for(n=[],r=0;r<t-1;r++)n.push(this.children[r]),n.push(e);n.push(this.children[r]),this.children=n}return this},s.prototype.replaceRight=function(e,n){var r=this.children[this.children.length-1];return r[u]?r.replaceRight(e,n):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,n):this.children.push("".replace(e,n)),this},s.prototype.setSourceContent=function(e,n){this.sourceContents[i.toSetString(e)]=n},s.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;n<r;n++)this.children[n][u]&&this.children[n].walkSourceContents(e);var t=Object.keys(this.sourceContents);for(n=0,r=t.length;n<r;n++)e(i.fromSetString(t[n]),this.sourceContents[t[n]])},s.prototype.toString=function(){var e="";return this.walk(function(n){e+=n}),e},s.prototype.toStringWithSourceMap=function(e){var n={code:"",line:1,column:0},r=new o(e),t=!1,i=null,l=null,u=null,s=null;return this.walk(function(e,o){n.code+=e,null!==o.source&&null!==o.line&&null!==o.column?(i===o.source&&l===o.line&&u===o.column&&s===o.name||r.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:n.line,column:n.column},name:o.name}),i=o.source,l=o.line,u=o.column,s=o.name,t=!0):t&&(r.addMapping({generated:{line:n.line,column:n.column}}),i=null,t=!1);for(var c=0,a=e.length;c<a;c++)10===e.charCodeAt(c)?(n.line++,n.column=0,c+1===a?(i=null,t=!1):t&&r.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:n.line,column:n.column},name:o.name})):n.column++}),this.walkSourceContents(function(e,n){r.setSourceContent(e,n)}),{code:n.code,map:r}},e.__exports.SourceNode=s,e.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/util2.js");var r;exports.__require=function(){return r||(r=1,function(e){e.getArg=function(e,r,n){if(r in e)return e[r];if(3===arguments.length)return n;throw new Error('"'+r+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function t(e){var n=e.match(r);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function a(e){var r="";return e.scheme&&(r+=e.scheme+":"),r+="//",e.auth&&(r+=e.auth+"@"),e.host&&(r+=e.host),e.port&&(r+=":"+e.port),e.path&&(r+=e.path),r}function o(r){var n=r,o=t(r);if(o){if(!o.path)return r;n=o.path}for(var i,u=e.isAbsolute(n),c=n.split(/\/+/),l=0,s=c.length-1;s>=0;s--)"."===(i=c[s])?c.splice(s,1):".."===i?l++:l>0&&(""===i?(c.splice(s+1,l),l=0):(c.splice(s,2),l--));return""===(n=c.join("/"))&&(n=u?"/":"."),o?(o.path=n,a(o)):n}function i(e,r){""===e&&(e="."),""===r&&(r=".");var i=t(r),u=t(e);if(u&&(e=u.path||"/"),i&&!i.scheme)return u&&(i.scheme=u.scheme),a(i);if(i||r.match(n))return r;if(u&&!u.host&&!u.path)return u.host=r,a(u);var c="/"===r.charAt(0)?r:o(e.replace(/\/+$/,"")+"/"+r);return u?(u.path=c,a(u)):c}e.urlParse=t,e.urlGenerate=a,e.normalize=o,e.join=i,e.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},e.relative=function(e,r){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==r.indexOf(e+"/");){var t=e.lastIndexOf("/");if(t<0)return r;if((e=e.slice(0,t)).match(/^([^\/]+:\/)?\/*$/))return r;++n}return Array(n+1).join("../")+r.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var r=e.length;if(r<9)return!1;if(95!==e.charCodeAt(r-1)||95!==e.charCodeAt(r-2)||111!==e.charCodeAt(r-3)||116!==e.charCodeAt(r-4)||111!==e.charCodeAt(r-5)||114!==e.charCodeAt(r-6)||112!==e.charCodeAt(r-7)||95!==e.charCodeAt(r-8)||95!==e.charCodeAt(r-9))return!1;for(var n=r-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function s(e,r){return e===r?0:null===e?1:null===r?-1:e>r?1:-1}e.toSetString=u?c:function(e){return l(e)?"$"+e:e},e.fromSetString=u?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,r,n){var t=s(e.source,r.source);return 0!==t||0!==(t=e.originalLine-r.originalLine)||0!==(t=e.originalColumn-r.originalColumn)||n||0!==(t=e.generatedColumn-r.generatedColumn)||0!==(t=e.generatedLine-r.generatedLine)?t:s(e.name,r.name)},e.compareByGeneratedPositionsDeflated=function(e,r,n){var t=e.generatedLine-r.generatedLine;return 0!==t||0!==(t=e.generatedColumn-r.generatedColumn)||n||0!==(t=s(e.source,r.source))||0!==(t=e.originalLine-r.originalLine)||0!==(t=e.originalColumn-r.originalColumn)?t:s(e.name,r.name)},e.compareByGeneratedPositionsInflated=function(e,r){var n=e.generatedLine-r.generatedLine;return 0!==n||0!==(n=e.generatedColumn-r.generatedColumn)||0!==(n=s(e.source,r.source))||0!==(n=e.originalLine-r.originalLine)||0!==(n=e.originalColumn-r.originalColumn)?n:s(e.name,r.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,r,n){if(r=r||"",e&&("/"!==e[e.length-1]&&"/"!==r[0]&&(e+="/"),r=e+r),n){var u=t(n);if(!u)throw new Error("sourceMapURL could not be parsed");if(u.path){var c=u.path.lastIndexOf("/");c>=0&&(u.path=u.path.substring(0,c+1))}r=i(a(u),r)}return o(r)}}(e.__exports)),e.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/source-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/source-map2.js"),r=require("./lib/source-map-generator.js"),o=require("./lib/source-map-consumer.js"),u=require("./lib/source-node.js");var s;exports.__require=function(){return s||(s=1,e.__exports.SourceMapGenerator=r.__require().SourceMapGenerator,e.__exports.SourceMapConsumer=o.__require().SourceMapConsumer,e.__exports.SourceNode=u.__require().SourceNode),e.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/array-set.js"),r=require("./util.js");var e;exports.__require=function(){if(e)return t.__exports;e=1;var i=r.__require(),s=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function o(){this._array=[],this._set=n?new Map:Object.create(null)}return o.fromArray=function(t,r){for(var e=new o,i=0,s=t.length;i<s;i++)e.add(t[i],r);return e},o.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(t,r){var e=n?t:i.toSetString(t),o=n?this.has(t):s.call(this._set,e),a=this._array.length;o&&!r||this._array.push(t),o||(n?this._set.set(t,a):this._set[e]=a)},o.prototype.has=function(t){if(n)return this._set.has(t);var r=i.toSetString(t);return s.call(this._set,r)},o.prototype.indexOf=function(t){if(n){var r=this._set.get(t);if(r>=0)return r}else{var e=i.toSetString(t);if(s.call(this._set,e))return this._set[e]}throw new Error('"'+t+'" is not in the set.')},o.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)},o.prototype.toArray=function(){return this._array.slice()},t.__exports.ArraySet=o,t.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/base64-vlq.js"),r=require("./base64.js");var t;exports.__require=function(){if(t)return e.__exports;t=1;var o=r.__require();return e.__exports.encode=function(e){var r,t="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{r=31&i,(i>>>=5)>0&&(r|=32),t+=o.encode(r)}while(i>0);return t},e.__exports.decode=function(e,r,t){var i,n,u,s,a=e.length,d=0,c=0;do{if(r>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=o.decode(e.charCodeAt(r++))))throw new Error("Invalid base64 digit: "+e.charAt(r-1));i=!!(32&n),d+=(n&=31)<<c,c+=5}while(i);t.value=(s=(u=d)>>1,1&~u?s:-s),t.rest=r},e.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/base64.js");var r;exports.__require=function(){if(r)return e.__exports;r=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return e.__exports.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},e.__exports.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},e.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/binary-search.js");var e;exports.__require=function(){return e||(e=1,function(r){function e(t,n,_,o,u,i){var E=Math.floor((n-t)/2)+t,a=u(_,o[E],!0);return 0===a?E:a>0?n-E>1?e(E,n,_,o,u,i):i==r.LEAST_UPPER_BOUND?n<o.length?n:-1:E:E-t>1?e(t,E,_,o,u,i):i==r.LEAST_UPPER_BOUND?E:t<0?-1:t}r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.search=function(t,n,_,o){if(0===n.length)return-1;var u=e(-1,n.length,t,n,_,o||r.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&0===_(n[u],n[u-1],!0);)--u;return u}}(r.__exports)),r.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/mapping-list.js"),e=require("./util.js");var r;exports.__require=function(){if(r)return t.__exports;r=1;var s=e.__require();function a(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return a.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)},a.prototype.add=function(t){var e,r,a,i,o,n;e=this._last,r=t,a=e.generatedLine,i=r.generatedLine,o=e.generatedColumn,n=r.generatedColumn,i>a||i==a&&n>=o||s.compareByGeneratedPositionsInflated(e,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},a.prototype.toArray=function(){return this._sorted||(this._array.sort(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.__exports.MappingList=a,t.__exports};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/quick-sort.js");var r;exports.__require=function(){if(r)return t.__exports;function e(t){function r(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}return function t(e,n,o,u){if(o<u){var i=o-1;r(e,(f=o,v=u,Math.round(f+Math.random()*(v-f))),u);for(var a=e[u],c=o;c<u;c++)n(e[c],a,!1)<=0&&r(e,i+=1,c);r(e,i+1,c);var s=i+1;t(e,n,o,s-1),t(e,n,s+1,u)}var f,v}}r=1;let n=new WeakMap;return t.__exports.quickSort=function(t,r,o=0){let u=n.get(r);void 0===u&&(u=function(t){let r=e.toString();return new Function(`return ${r}`)()(t)}(r),n.set(r,u)),u(t,r,o,t.length-1)},t.__exports};
|