/*!
 * @ikrong/frontend-framework-compiler v1.0.10
 * (c) 2022-2023 ikrong
 * Released under the MIT License.
 * Generated: 2023-11-18
 * Dependencies:
 * minimatch -- 5.1.0
 * balanced-match -- 1.0.2
 * brace-expansion -- 2.0.1
 */
!function(t){"use strict";var e="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}var i=n,s=r;function o(t){if(i===setTimeout)return setTimeout(t,0);if((i===n||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}"function"==typeof e.setTimeout&&(i=setTimeout),"function"==typeof e.clearTimeout&&(s=clearTimeout);var a,h=[],c=!1,u=-1;function l(){c&&a&&(c=!1,a.length?h=a.concat(h):u=-1,h.length&&p())}function p(){if(!c){var t=o(l);c=!0;for(var e=h.length;e;){for(a=h,h=[];++u<e;)a&&a[u].run();u=-1,e=h.length}a=null,c=!1,function(t){if(s===clearTimeout)return clearTimeout(t);if((s===r||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(t);try{s(t)}catch(e){try{return s.call(null,t)}catch(e){return s.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}f.prototype.run=function(){this.fun.apply(null,this.array)};function g(){}var d=g,m=g,b=g,w=g,y=g,v=g,E=g;var x=e.performance||{},j=x.now||x.mozNow||x.msNow||x.oNow||x.webkitNow||function(){return(new Date).getTime()};var O=new Date;var T={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new f(t,e)),1!==h.length||c||o(p)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:d,addListener:m,once:b,off:w,removeListener:y,removeAllListeners:v,emit:E,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*j.call(x),n=Math.floor(e),r=Math.floor(e%1*1e9);return t&&(n-=t[0],(r-=t[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-O)/1e3}};var A="object"==typeof T&&T&&"win32"===T.platform?{sep:"\\"}:{sep:"/"},M=S;function S(t,e,n){t instanceof RegExp&&(t=k(t,n)),e instanceof RegExp&&(e=k(e,n));var r=$(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function k(t,e){var n=e.match(t);return n?n[0]:null}function $(t,e,n){var r,i,s,o,a,h=n.indexOf(t),c=n.indexOf(e,h+1),u=h;if(h>=0&&c>0){if(t===e)return[h,c];for(r=[],s=n.length;u>=0&&!a;)u==h?(r.push(u),h=n.indexOf(t,u+1)):1==r.length?a=[r.pop(),c]:((i=r.pop())<s&&(s=i,o=c),c=n.indexOf(e,u+1)),u=h<c&&h>=0?h:c;r.length&&(a=[s,o])}return a}S.range=$;var R=M,N=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return W(function(t){return t.split("\\\\").join(C).split("\\{").join(L).split("\\}").join(P).split("\\,").join(_).split("\\.").join(D)}(t),!0).map(B)},C="\0SLASH"+Math.random()+"\0",L="\0OPEN"+Math.random()+"\0",P="\0CLOSE"+Math.random()+"\0",_="\0COMMA"+Math.random()+"\0",D="\0PERIOD"+Math.random()+"\0";function z(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function B(t){return t.split(C).join("\\").split(L).join("{").split(P).join("}").split(_).join(",").split(D).join(".")}function I(t){if(!t)return[""];var e=[],n=R("{","}",t);if(!n)return t.split(",");var r=n.pre,i=n.body,s=n.post,o=r.split(",");o[o.length-1]+="{"+i+"}";var a=I(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function F(t){return"{"+t+"}"}function G(t){return/^-?0\d/.test(t)}function Z(t,e){return t<=e}function H(t,e){return t>=e}function W(t,e){var n=[],r=R("{","}",t);if(!r)return[t];var i=r.pre,s=r.post.length?W(r.post,!1):[""];if(/\$$/.test(r.pre))for(var o=0;o<s.length;o++){var a=i+"{"+r.body+"}"+s[o];n.push(a)}else{var h,c,u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),p=u||l,f=r.body.indexOf(",")>=0;if(!p&&!f)return r.post.match(/,.*\}/)?W(t=r.pre+"{"+r.body+P+r.post):[t];if(p)h=r.body.split(/\.\./);else if(1===(h=I(r.body)).length&&1===(h=W(h[0],!1).map(F)).length)return s.map((function(t){return r.pre+h[0]+t}));if(p){var g=z(h[0]),d=z(h[1]),m=Math.max(h[0].length,h[1].length),b=3==h.length?Math.abs(z(h[2])):1,w=Z;d<g&&(b*=-1,w=H);var y=h.some(G);c=[];for(var v=g;w(v,d);v+=b){var E;if(l)"\\"===(E=String.fromCharCode(v))&&(E="");else if(E=String(v),y){var x=m-E.length;if(x>0){var j=new Array(x+1).join("0");E=v<0?"-"+j+E.slice(1):j+E}}c.push(E)}}else{c=[];for(var O=0;O<h.length;O++)c.push.apply(c,W(h[O],!1))}for(O=0;O<c.length;O++)for(o=0;o<s.length;o++){a=i+c[O]+s[o];(!e||p||a)&&n.push(a)}}return n}const q=(t,e,n={})=>(ot(e),!(!n.nocomment&&"#"===e.charAt(0))&&new ht(e,n).match(t));var J=q;const K=A;q.sep=K.sep;const Q=Symbol("globstar **");q.GLOBSTAR=Q;const U=N,V={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},X="[^/]",Y="[^/]*?",tt=t=>t.split("").reduce(((t,e)=>(t[e]=!0,t)),{}),et=tt("().*{}+?[]^$\\!"),nt=tt("[.("),rt=/\/+/;q.filter=(t,e={})=>(n,r,i)=>q(n,t,e);const it=(t,e={})=>{const n={};return Object.keys(t).forEach((e=>n[e]=t[e])),Object.keys(e).forEach((t=>n[t]=e[t])),n};q.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return q;const e=q,n=(n,r,i)=>e(n,r,it(t,i));return(n.Minimatch=class extends e.Minimatch{constructor(e,n){super(e,it(t,n))}}).defaults=n=>e.defaults(it(t,n)).Minimatch,n.filter=(n,r)=>e.filter(n,it(t,r)),n.defaults=n=>e.defaults(it(t,n)),n.makeRe=(n,r)=>e.makeRe(n,it(t,r)),n.braceExpand=(n,r)=>e.braceExpand(n,it(t,r)),n.match=(n,r,i)=>e.match(n,r,it(t,i)),n},q.braceExpand=(t,e)=>st(t,e);const st=(t,e={})=>(ot(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:U(t)),ot=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},at=Symbol("subparse");q.makeRe=(t,e)=>new ht(t,e||{}).makeRe(),q.match=(t,e,n={})=>{const r=new ht(e,n);return t=t.filter((t=>r.match(t))),r.options.nonull&&!t.length&&t.push(e),t};class ht{constructor(t,e){ot(t),e||(e={}),this.options=e,this.set=[],this.pattern=t,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}debug(){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();let n=this.globSet=this.braceExpand();e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,n),n=this.globParts=n.map((t=>t.split(rt))),this.debug(this.pattern,n),n=n.map(((t,e,n)=>t.map(this.parse,this))),this.debug(this.pattern,n),n=n.filter((t=>-1===t.indexOf(!1))),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let r=0;r<t.length&&"!"===t.charAt(r);r++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}matchOne(t,e,n){var r=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,s=0,o=t.length,a=e.length;i<o&&s<a;i++,s++){this.debug("matchOne loop");var h,c=e[s],u=t[i];if(this.debug(e,c,u),!1===c)return!1;if(c===Q){this.debug("GLOBSTAR",[e,c,u]);var l=i,p=s+1;if(p===a){for(this.debug("** at the end");i<o;i++)if("."===t[i]||".."===t[i]||!r.dot&&"."===t[i].charAt(0))return!1;return!0}for(;l<o;){var f=t[l];if(this.debug("\nglobstar while",t,l,e,p,f),this.matchOne(t.slice(l),e.slice(p),n))return this.debug("globstar found match!",l,o,f),!0;if("."===f||".."===f||!r.dot&&"."===f.charAt(0)){this.debug("dot detected!",t,l,e,p);break}this.debug("globstar swallow a segment, and continue"),l++}return!(!n||(this.debug("\n>>> no match, partial?",t,l,e,p),l!==o))}if("string"==typeof c?(h=u===c,this.debug("string match",c,u,h)):(h=u.match(c),this.debug("pattern match",c,u,h)),!h)return!1}if(i===o&&s===a)return!0;if(i===o)return n;if(s===a)return i===o-1&&""===t[i];throw new Error("wtf?")}braceExpand(){return st(this.pattern,this.options)}parse(t,e){ot(t);const n=this.options;if("**"===t){if(!n.noglobstar)return Q;t="*"}if(""===t)return"";let r="",i=!!n.nocase,s=!1;const o=[],a=[];let h,c,u,l,p=!1,f=-1,g=-1;const d="."===t.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=()=>{if(h){switch(h){case"*":r+=Y,i=!0;break;case"?":r+=X,i=!0;break;default:r+="\\"+h}this.debug("clearStateChar %j %j",h,r),h=!1}};for(let e,d=0;d<t.length&&(e=t.charAt(d));d++)if(this.debug("%s\t%s %s %j",t,d,r,e),s){if("/"===e)return!1;et[e]&&(r+="\\"),r+=e,s=!1}else switch(e){case"/":return!1;case"\\":m(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,d,r,e),p){this.debug("  in class"),"!"===e&&d===g+1&&(e="^"),r+=e;continue}this.debug("call clearStateChar %j",h),m(),h=e,n.noext&&m();continue;case"(":if(p){r+="(";continue}if(!h){r+="\\(";continue}o.push({type:h,start:d-1,reStart:r.length,open:V[h].open,close:V[h].close}),r+="!"===h?"(?:(?!(?:":"(?:",this.debug("plType %j %j",h,r),h=!1;continue;case")":if(p||!o.length){r+="\\)";continue}m(),i=!0,u=o.pop(),r+=u.close,"!"===u.type&&a.push(u),u.reEnd=r.length;continue;case"|":if(p||!o.length){r+="\\|";continue}m(),r+="|";continue;case"[":if(m(),p){r+="\\"+e;continue}p=!0,g=d,f=r.length,r+=e;continue;case"]":if(d===g+1||!p){r+="\\"+e;continue}c=t.substring(g+1,d);try{RegExp("["+c+"]")}catch(t){l=this.parse(c,at),r=r.substr(0,f)+"\\["+l[0]+"\\]",i=i||l[1],p=!1;continue}i=!0,p=!1,r+=e;continue;default:m(),!et[e]||"^"===e&&p||(r+="\\"),r+=e}for(p&&(c=t.substr(g+1),l=this.parse(c,at),r=r.substr(0,f)+"\\["+l[0],i=i||l[1]),u=o.pop();u;u=o.pop()){let t;t=r.slice(u.reStart+u.open.length),this.debug("setting tail",r,u),t=t.replace(/((?:\\{2}){0,64})(\\?)\|/g,((t,e,n)=>(n||(n="\\"),e+e+n+"|"))),this.debug("tail=%j\n   %s",t,t,u,r);const e="*"===u.type?Y:"?"===u.type?X:"\\"+u.type;i=!0,r=r.slice(0,u.reStart)+e+"\\("+t}m(),s&&(r+="\\\\");const b=nt[r.charAt(0)];for(let t=a.length-1;t>-1;t--){const n=a[t],i=r.slice(0,n.reStart),s=r.slice(n.reStart,n.reEnd-8);let o=r.slice(n.reEnd);const h=r.slice(n.reEnd-8,n.reEnd)+o,c=i.split("(").length-1;let u=o;for(let t=0;t<c;t++)u=u.replace(/\)[+*?]?/,"");o=u;r=i+s+o+(""===o&&e!==at?"$":"")+h}if(""!==r&&i&&(r="(?=.)"+r),b&&(r=d+r),e===at)return[r,i];if(!i)return t.replace(/\\(.)/g,"$1");const w=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+r+"$",w),{_glob:t,_src:r})}catch(t){return new RegExp("$.")}}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?Y:e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=e.nocase?"i":"";let i=t.map((t=>(t=t.map((t=>"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===Q?Q:t._src)).reduce(((t,e)=>(t[t.length-1]===Q&&e===Q||t.push(e),t)),[]),t.forEach(((e,r)=>{e===Q&&t[r-1]!==Q&&(0===r?t.length>1?t[r+1]="(?:\\/|"+n+"\\/)?"+t[r+1]:t[r]=n:r===t.length-1?t[r-1]+="(?:\\/|"+n+")?":(t[r-1]+="(?:\\/|\\/"+n+"\\/)"+t[r+1],t[r+1]=Q))})),t.filter((t=>t!==Q)).join("/")))).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,r)}catch(t){this.regexp=!1}return this.regexp}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;"/"!==K.sep&&(t=t.split(K.sep).join("/")),t=t.split(rt),this.debug(this.pattern,"split",t);const r=this.set;let i;this.debug(this.pattern,"set",r);for(let e=t.length-1;e>=0&&(i=t[e],!i);e--);for(let s=0;s<r.length;s++){const o=r[s];let a=t;n.matchBase&&1===o.length&&(a=[i]);if(this.matchOne(a,o,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return q.defaults(t).Minimatch}}q.Minimatch=ht;var ct=J;t.minimatch=ct,Object.defineProperty(t,"__esModule",{value:!0})}(this.FE=this.FE||{});
