(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_0"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_0"]||[]).push([[990],{24810:function(e,t,n){var i=n(57073),r=n(46285);function s(e,t,n){(void 0!==n&&!r(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}e.exports=s},39747:function(e,t,n){var i=n(41580),r=Object.create,s=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=s},35636:function(e,t,n){var i=n(86596),r=i();e.exports=r},40091:function(e,t,n){var i=n(51340),r=n(24810),s=n(35636),o=n(26885),a=n(41580),u=n(25288),l=n(78763);function _(e,t,n,c,p){e!==t&&s(t,(function(s,u){if(p||(p=new i),a(s))o(e,t,u,n,_,c,p);else{var h=c?c(l(e,u),s,u+"",e,t,p):void 0;void 0===h&&(h=s),r(e,u,h)}}),u)}e.exports=_},26885:function(e,t,n){var i=n(24810),r=n(17099),s=n(92264),o=n(84354),a=n(75964),u=n(3283),l=n(53142),_=n(65406),c=n(75853),p=n(93655),h=n(41580),f=n(48360),d=n(8666),b=n(78763),g=n(64207);function m(e,t,n,m,v,y,k){var w=b(e,n),x=b(t,n),E=k.get(x);if(E)i(e,n,E);else{var O=y?y(w,x,n+"",e,t,k):void 0,S=void 0===O;if(S){var T=l(x),N=!T&&c(x),I=!T&&!N&&d(x);O=x,T||N||I?l(w)?O=w:_(w)?O=o(w):N?(S=!1,O=r(x,!0)):I?(S=!1,O=s(x,!0)):O=[]:f(x)||u(x)?(O=w,u(w)?O=g(w):h(w)&&!p(w)||(O=a(x))):S=!1}S&&(k.set(x,O),v(O,x,m,y,k),k["delete"](x)),i(e,n,O)}}e.exports=m},16653:function(e,t,n){var i=n(81586),r=n(69632),s=Array.prototype,o=s.splice;function a(e,t){var n=e?t.length:0,s=n-1;while(n--){var a=t[n];if(n==s||a!==u){var u=a;r(a)?o.call(e,a,1):i(e,a)}}return e}e.exports=a},81586:function(e,t,n){var i=n(93526),r=n(98087),s=n(13398),o=n(66040);function a(e,t){return t=i(t,e),e=s(e,t),null==e||delete e[o(r(t))]}e.exports=a},58898:function(e,t,n){var i=n(31623);function r(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}e.exports=r},17099:function(e,t,n){e=n.nmd(e);var i=n(78942),r=t&&!t.nodeType&&t,s=r&&e&&!e.nodeType&&e,o=s&&s.exports===r,a=o?i.Buffer:void 0,u=a?a.allocUnsafe:void 0;function l(e,t){if(t)return e.slice();var n=e.length,i=u?u(n):new e.constructor(n);return e.copy(i),i}e.exports=l},92264:function(e,t,n){var i=n(58898);function r(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}e.exports=r},84354:function(e){function t(e,t){var n=-1,i=e.length;t||(t=Array(i));while(++n1?n[s-1]:void 0,a=s>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(s--,o):void 0,a&&r(n[0],n[1],a)&&(o=s<3?void 0:o,s=1),t=Object(t);while(++i!!n[e.toLowerCase()]:e=>!!n[e]}const o={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"};const a=/;(?![^(]*\))/g,u=/:([^]+)/,l=/\/\*.*?\*\//gs;function _(e){const t={};return e.replace(l,"").split(a).forEach((e=>{if(e){const n=e.split(u);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}const c="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",p="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",h="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",f=s(c),d=s(p),b=s(h);const g={},m=()=>{},v=()=>!1,y=/^on[^a-z]/,k=e=>y.test(e),w=Object.assign,x=(Object.prototype.hasOwnProperty,Array.isArray),E=e=>"string"===typeof e,O=e=>"symbol"===typeof e,S=e=>null!==e&&"object"===typeof e,T=(Object.prototype.toString,s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted")),N=s("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),I=e=>{const t=Object.create(null);return n=>{const i=t[n];return i||(t[n]=e(n))}},R=/-(\w)/g,A=I((e=>e.replace(R,((e,t)=>t?t.toUpperCase():"")))),C=/\B([A-Z])/g,M=I((e=>e.replace(C,"-$1").toLowerCase())),P=I((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=I((e=>e?`on${P(e)}`:""));function j(e){throw e}function D(e){}function $(e,t,n,i){const r=e,s=new SyntaxError(String(r));return s.code=e,s.loc=t,s}const B=Symbol(""),V=Symbol(""),W=Symbol(""),U=Symbol(""),K=Symbol(""),F=Symbol(""),z=Symbol(""),G=Symbol(""),X=Symbol(""),H=Symbol(""),q=Symbol(""),Q=Symbol(""),Y=Symbol(""),J=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),ie=Symbol(""),re=Symbol(""),se=Symbol(""),oe=Symbol(""),ae=Symbol(""),ue=Symbol(""),le=Symbol(""),_e=Symbol(""),ce=Symbol(""),pe=Symbol(""),he=Symbol(""),fe=Symbol(""),de=Symbol(""),be=Symbol(""),ge=Symbol(""),me=Symbol(""),ve=Symbol(""),ye=Symbol(""),ke=Symbol(""),we=Symbol(""),xe=Symbol(""),Ee={[B]:"Fragment",[V]:"Teleport",[W]:"Suspense",[U]:"KeepAlive",[K]:"BaseTransition",[F]:"openBlock",[z]:"createBlock",[G]:"createElementBlock",[X]:"createVNode",[H]:"createElementVNode",[q]:"createCommentVNode",[Q]:"createTextVNode",[Y]:"createStaticVNode",[J]:"resolveComponent",[Z]:"resolveDynamicComponent",[ee]:"resolveDirective",[te]:"resolveFilter",[ne]:"withDirectives",[ie]:"renderList",[re]:"renderSlot",[se]:"createSlots",[oe]:"toDisplayString",[ae]:"mergeProps",[ue]:"normalizeClass",[le]:"normalizeStyle",[_e]:"normalizeProps",[ce]:"guardReactiveProps",[pe]:"toHandlers",[he]:"camelize",[fe]:"capitalize",[de]:"toHandlerKey",[be]:"setBlockTracking",[ge]:"pushScopeId",[me]:"popScopeId",[ve]:"withCtx",[ye]:"unref",[ke]:"isRef",[we]:"withMemo",[xe]:"isMemoSame"};function Oe(e){Object.getOwnPropertySymbols(e).forEach((t=>{Ee[t]=e[t]}))}const Se={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Te(e,t=Se){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Ne(e,t,n,i,r,s,o,a=!1,u=!1,l=!1,_=Se){return e&&(a?(e.helper(F),e.helper(at(e.inSSR,l))):e.helper(ot(e.inSSR,l)),o&&e.helper(ne)),{type:13,tag:t,props:n,children:i,patchFlag:r,dynamicProps:s,directives:o,isBlock:a,disableTracking:u,isComponent:l,loc:_}}function Ie(e,t=Se){return{type:17,loc:t,elements:e}}function Re(e,t=Se){return{type:15,loc:t,properties:e}}function Ae(e,t){return{type:16,loc:Se,key:E(e)?Ce(e,!0):e,value:t}}function Ce(e,t=!1,n=Se,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function Me(e,t=Se){return{type:8,loc:t,children:e}}function Pe(e,t=[],n=Se){return{type:14,loc:n,callee:e,arguments:t}}function Le(e,t=void 0,n=!1,i=!1,r=Se){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:r}}function je(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:Se}}function De(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Se}}function $e(e){return{type:21,body:e,loc:Se}}const Be=e=>4===e.type&&e.isStatic,Ve=(e,t)=>e===t||e===M(t);function We(e){return Ve(e,"Teleport")?V:Ve(e,"Suspense")?W:Ve(e,"KeepAlive")?U:Ve(e,"BaseTransition")?K:void 0}const Ue=/^\d|[^\$\w]/,Ke=e=>!Ue.test(e),Fe=/[A-Za-z_$\xA0-\uFFFF]/,ze=/[\.\?\w$\xA0-\uFFFF]/,Ge=/\s+[.[]\s*|\s*[.[]\s+/g,Xe=e=>{e=e.trim().replace(Ge,(e=>e.trim()));let t=0,n=[],i=0,r=0,s=null;for(let o=0;o7===e.type&&"bind"===e.name&&(!e.arg||4!==e.arg.type||!e.arg.isStatic)))}function nt(e){return 5===e.type||2===e.type}function it(e){return 7===e.type&&"slot"===e.name}function rt(e){return 1===e.type&&3===e.tagType}function st(e){return 1===e.type&&2===e.tagType}function ot(e,t){return e||t?X:H}function at(e,t){return e||t?z:G}const ut=new Set([_e,ce]);function lt(e,t=[]){if(e&&!E(e)&&14===e.type){const n=e.callee;if(!E(n)&&ut.has(n))return lt(e.arguments[0],t.concat(e))}return[e,t]}function _t(e,t,n){let i,r,s=13===e.type?e.props:e.arguments[2],o=[];if(s&&!E(s)&&14===s.type){const e=lt(s);s=e[0],o=e[1],r=o[o.length-1]}if(null==s||E(s))i=Re([t]);else if(14===s.type){const e=s.arguments[0];E(e)||15!==e.type?s.callee===pe?i=Pe(n.helper(ae),[Re([t]),s]):s.arguments.unshift(Re([t])):ct(t,e)||e.properties.unshift(t),!i&&(i=s)}else 15===s.type?(ct(t,s)||s.properties.unshift(t),i=s):(i=Pe(n.helper(ae),[Re([t]),s]),r&&r.callee===ce&&(r=o[o.length-2]));13===e.type?r?r.arguments[0]=i:e.props=i:r?r.arguments[0]=i:e.arguments[2]=i}function ct(e,t){let n=!1;if(4===e.key.type){const i=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===i))}return n}function pt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ht(e){return 14===e.type&&e.callee===we?e.arguments[1].returns:e}function ft(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(ot(i,e.isComponent)),t(F),t(at(i,e.isComponent)))}function dt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,i=n&&n[e];return"MODE"===e?i||3:i}function bt(e,t){const n=dt("MODE",t),i=dt(e,t);return 3===n?!0===i:!1!==i}function gt(e,t,n,...i){const r=bt(e,t);return r}const mt=/&(gt|lt|amp|apos|quot);/g,vt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},yt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:v,isPreTag:v,isCustomElement:v,decodeEntities:e=>e.replace(mt,((e,t)=>vt[t])),onError:j,onWarn:D,comments:!1};function kt(e,t={}){const n=wt(e,t),i=$t(n);return Te(xt(n,0,[]),Bt(n,i))}function wt(e,t){const n=w({},yt);let i;for(i in t)n[i]=void 0===t[i]?yt[i]:t[i];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function xt(e,t,n){const i=Vt(n),r=i?i.ns:0,s=[];while(!Gt(e,t,n)){const o=e.source;let a;if(0===t||1===t)if(!e.inVPre&&Wt(o,e.options.delimiters[0]))a=Lt(e,t);else if(0===t&&"<"===o[0])if(1===o.length)zt(e,5,1);else if("!"===o[1])Wt(o,"\x3c!--")?a=St(e):Wt(o,""===o[2]){zt(e,14,2),Ut(e,3);continue}if(/[a-z]/i.test(o[2])){zt(e,23),Rt(e,1,i);continue}zt(e,12,2),a=Tt(e)}else/[a-z]/i.test(o[1])?(a=Nt(e,n),bt("COMPILER_NATIVE_TEMPLATE",e)&&a&&"template"===a.tag&&!a.props.some((e=>7===e.type&&It(e.name)))&&(a=a.children)):"?"===o[1]?(zt(e,21,1),a=Tt(e)):zt(e,12,1);if(a||(a=jt(e,t)),x(a))for(let e=0;e/.exec(e.source);if(i){i.index<=3&&zt(e,0),i[1]&&zt(e,10),n=e.source.slice(4,i.index);const t=e.source.slice(0,i.index);let r=1,s=0;while(-1!==(s=t.indexOf("\x3c!--",r)))Ut(e,s-r+1),s+4");return-1===r?(i=e.source.slice(n),Ut(e,e.source.length)):(i=e.source.slice(n,r),Ut(e,r+1)),{type:3,content:i,loc:Bt(e,t)}}function Nt(e,t){const n=e.inPre,i=e.inVPre,r=Vt(t),s=Rt(e,0,r),o=e.inPre&&!n,a=e.inVPre&&!i;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return o&&(e.inPre=!1),a&&(e.inVPre=!1),s;t.push(s);const u=e.options.getTextMode(s,r),l=xt(e,u,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&>("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=Bt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=l,Xt(e.source,s.tag))Rt(e,1,r);else if(zt(e,24,0,s.loc.start),0===e.source.length&&"script"===s.tag.toLowerCase()){const t=l[0];t&&Wt(t.loc.source,"\x3c!--")&&zt(e,8)}return s.loc=Bt(e,s.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),s}const It=s("if,else,else-if,for,slot");function Rt(e,t,n){const i=$t(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],o=e.options.getNamespace(s,n);Ut(e,r[0].length),Kt(e);const a=$t(e),u=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let l=Ct(e,t);0===t&&!e.inVPre&&l.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,w(e,a),e.source=u,l=Ct(e,t).filter((e=>"v-pre"!==e.name)));let _=!1;if(0===e.source.length?zt(e,9):(_=Wt(e.source,"/>"),1===t&&_&&zt(e,4),Ut(e,_?2:1)),1===t)return;let c=0;return e.inVPre||("slot"===s?c=2:"template"===s?l.some((e=>7===e.type&&It(e.name)))&&(c=3):At(s,l,e)&&(c=1)),{type:1,ns:o,tag:s,tagType:c,props:l,isSelfClosing:_,children:[],loc:Bt(e,i),codegenNode:void 0}}function At(e,t,n){const i=n.options;if(i.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||We(e)||i.isBuiltInComponent&&i.isBuiltInComponent(e)||i.isNativeTag&&!i.isNativeTag(e))return!0;for(let r=0;r0&&!Wt(e.source,">")&&!Wt(e.source,"/>")){if(Wt(e.source,"/")){zt(e,22),Ut(e,1),Kt(e);continue}1===t&&zt(e,3);const r=Mt(e,i);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&zt(e,15),Kt(e)}return n}function Mt(e,t){const n=$t(e),i=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source),r=i[0];t.has(r)&&zt(e,2),t.add(r),"="===r[0]&&zt(e,19);{const t=/["'<]/g;let n;while(n=t.exec(r))zt(e,17,n.index)}let s;Ut(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Kt(e),Ut(e,1),Kt(e),s=Pt(e),s||zt(e,13));const o=Bt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let i,a=Wt(r,"."),u=t[1]||(a||Wt(r,":")?"bind":Wt(r,"@")?"on":"slot");if(t[2]){const s="slot"===u,o=r.lastIndexOf(t[2]),a=Bt(e,Ft(e,n,o),Ft(e,n,o+t[2].length+(s&&t[3]||"").length));let l=t[2],_=!0;l.startsWith("[")?(_=!1,l.endsWith("]")?l=l.slice(1,l.length-1):(zt(e,27),l=l.slice(1))):s&&(l+=t[3]||""),i={type:4,content:l,isStatic:_,constType:_?3:0,loc:a}}if(s&&s.isQuoted){const e=s.loc;e.start.offset++,e.start.column++,e.end=Qe(e.start,s.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].slice(1).split("."):[];return a&&l.push("prop"),"bind"===u&&i&&l.includes("sync")&>("COMPILER_V_BIND_SYNC",e,o,i.loc.source)&&(u="model",l.splice(l.indexOf("sync"),1)),{type:7,name:u,exp:s&&{type:4,content:s.content,isStatic:!1,constType:0,loc:s.loc},arg:i,modifiers:l,loc:o}}return!e.inVPre&&Wt(r,"v-")&&zt(e,26),{type:6,name:r,value:s&&{type:2,content:s.content,loc:s.loc},loc:o}}function Pt(e){const t=$t(e);let n;const i=e.source[0],r='"'===i||"'"===i;if(r){Ut(e,1);const t=e.source.indexOf(i);-1===t?n=Dt(e,e.source.length,4):(n=Dt(e,t,4),Ut(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const i=/["'<=`]/g;let r;while(r=i.exec(t[0]))zt(e,18,r.index);n=Dt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Bt(e,t)}}function Lt(e,t){const[n,i]=e.options.delimiters,r=e.source.indexOf(i,n.length);if(-1===r)return void zt(e,25);const s=$t(e);Ut(e,n.length);const o=$t(e),a=$t(e),u=r-n.length,l=e.source.slice(0,u),_=Dt(e,u,t),c=_.trim(),p=_.indexOf(c);p>0&&Ye(o,l,p);const h=u-(_.length-c.length-p);return Ye(a,l,h),Ut(e,i.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:c,loc:Bt(e,o,a)},loc:Bt(e,s)}}function jt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let i=e.source.length;for(let o=0;ot&&(i=t)}const r=$t(e),s=Dt(e,i,t);return{type:2,content:s,loc:Bt(e,r)}}function Dt(e,t,n){const i=e.source.slice(0,t);return Ut(e,t),2!==n&&3!==n&&i.includes("&")?e.options.decodeEntities(i,4===n):i}function $t(e){const{column:t,line:n,offset:i}=e;return{column:t,line:n,offset:i}}function Bt(e,t,n){return n=n||$t(e),{start:t,end:n,source:e.originalSource.slice(t.offset,n.offset)}}function Vt(e){return e[e.length-1]}function Wt(e,t){return e.startsWith(t)}function Ut(e,t){const{source:n}=e;Ye(e,n,t),e.source=n.slice(t)}function Kt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ut(e,t[0].length)}function Ft(e,t,n){return Qe(t,e.originalSource.slice(t.offset,n),n)}function zt(e,t,n,i=$t(e)){n&&(i.offset+=n,i.column+=n),e.options.onError($(t,{start:i,end:i,source:""}))}function Gt(e,t,n){const i=e.source;switch(t){case 0:if(Wt(i,"=0;--e)if(Xt(i,n[e].tag))return!0;break;case 1:case 2:{const e=Vt(n);if(e&&Xt(i,e.tag))return!0;break}case 3:if(Wt(i,"]]>"))return!0;break}return!i}function Xt(e,t){return Wt(e,"]/.test(e[2+t.length]||">")}function Ht(e,t){Qt(e,t,qt(e,e.children[0]))}function qt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!st(t)}function Qt(e,t,n=!1){const{children:i}=e,r=i.length;let s=0;for(let o=0;o0){if(i>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const i=nn(n);if((!i||512===i||1===i)&&en(e,t)>=2){const i=tn(e);i&&(n.props=t.hoist(i))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Qt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Qt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;rn&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){E(e)&&(e=Ce(e)),S.hoists.push(e);const t=Ce(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1){return De(S.cached++,e,t)}};return S.filters=new Set,S}function sn(e,t){const n=rn(e,t);un(e,n),t.hoistStatic&&Ht(e,n),t.ssr||on(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function on(e,t){const{helper:n}=t,{children:i}=e;if(1===i.length){const n=i[0];if(qt(e,n)&&n.codegenNode){const i=n.codegenNode;13===i.type&&ft(i,t),e.codegenNode=i}else e.codegenNode=n}else if(i.length>1){let i=64;o[64];0,e.codegenNode=Ne(t,n(B),void 0,e.children,i+"",void 0,void 0,!0,void 0,!1)}}function an(e,t){let n=0;const i=()=>{n--};for(;nt===e:t=>e.test(t);return(e,i)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(it))return;const s=[];for(let o=0;o`${Ee[e]}: _${Ee[e]}`;function pn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:i=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:_=!1,isTS:c=!1,inSSR:p=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:i,filename:r,scopeId:s,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:u,ssrRuntimeModuleName:l,ssr:_,isTS:c,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${Ee[e]}`},push(e,t){h.code+=e},indent(){f(++h.indentLevel)},deindent(e=!1){e?--h.indentLevel:f(--h.indentLevel)},newline(){f(h.indentLevel)}};function f(e){h.push("\n"+" ".repeat(e))}return h}function hn(e,t={}){const n=pn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:i,push:r,prefixIdentifiers:s,indent:o,deindent:a,newline:u,scopeId:l,ssr:_}=n,c=Array.from(e.helpers),p=c.length>0,h=!s&&"module"!==i,f=!1,d=f?pn(e,t):n;fn(e,d);const b=_?"ssrRender":"render",g=_?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"],m=g.join(", ");if(r(`function ${b}(${m}) {`),o(),h&&(r("with (_ctx) {"),o(),p&&(r(`const { ${c.map(cn).join(", ")} } = _Vue`),r("\n"),u())),e.components.length&&(dn(e.components,"component",n),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(dn(e.directives,"directive",n),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),dn(e.filters,"filter",n),u()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),u()),_||r("return "),e.codegenNode?vn(e.codegenNode,n):r("null"),h&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:f?d.code:"",map:n.map?n.map.toJSON():void 0}}function fn(e,t){const{ssr:n,prefixIdentifiers:i,push:r,newline:s,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:u}=t,l=a,_=Array.from(e.helpers);if(_.length>0&&(r(`const _Vue = ${l}\n`),e.hoists.length)){const e=[X,H,q,Q,Y].filter((e=>_.includes(e))).map(cn).join(", ");r(`const { ${e} } = _Vue\n`)}bn(e.hoists,t),s(),r("return ")}function dn(e,t,{helper:n,push:i,newline:r,isTS:s}){const o=n("filter"===t?te:"component"===t?J:ee);for(let a=0;a3||!1;t.push("["),n&&t.indent(),mn(e,t,n),n&&t.deindent(),t.push("]")}function mn(e,t,n=!1,i=!0){const{push:r,newline:s}=t;for(let o=0;oe||"null"))}function Nn(e,t){const{push:n,helper:i,pure:r}=t,s=E(e.callee)?e.callee:i(e.callee);r&&n(_n),n(s+"(",e),mn(e.arguments,t),n(")")}function In(e,t){const{push:n,indent:i,deindent:r,newline:s}=t,{properties:o}=e;if(!o.length)return void n("{}",e);const a=o.length>1||!1;n(a?"{":"{ "),a&&i();for(let u=0;u "),(u||a)&&(n("{"),i()),o?(u&&n("return "),x(o)?gn(o,t):vn(o,t)):a&&vn(a,t),(u||a)&&(r(),n("}")),l&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Cn(e,t){const{test:n,consequent:i,alternate:r,newline:s}=e,{push:o,indent:a,deindent:u,newline:l}=t;if(4===n.type){const e=!Ke(n.content);e&&o("("),kn(n,t),e&&o(")")}else o("("),vn(n,t),o(")");s&&a(),t.indentLevel++,s||o(" "),o("? "),vn(i,t),t.indentLevel--,s&&l(),s||o(" "),o(": ");const _=19===r.type;_||t.indentLevel++,vn(r,t),_||t.indentLevel--,s&&u(!0)}function Mn(e,t){const{push:n,helper:i,indent:r,deindent:s,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${i(be)}(-1),`),o()),n(`_cache[${e.index}] = `),vn(e.value,t),e.isVNode&&(n(","),o(),n(`${i(be)}(1),`),o(),n(`_cache[${e.index}]`),s()),n(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Pn=ln(/^(if|else|else-if)$/,((e,t,n)=>Ln(e,t,n,((e,t,i)=>{const r=n.parent.children;let s=r.indexOf(e),o=0;while(s-- >=0){const e=r[s];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(i)e.codegenNode=Dn(t,o,n);else{const i=Bn(e.codegenNode);i.alternate=Dn(t,o+e.branches.length-1,n)}}}))));function Ln(e,t,n,i){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError($(28,t.loc)),t.exp=Ce("true",!1,i)}if("if"===t.name){const r=jn(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),i)return i(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);while(s-- >=-1){const o=r[s];if(o&&3===o.type)n.removeNode(o);else{if(!o||2!==o.type||o.content.trim().length){if(o&&9===o.type){"else-if"===t.name&&void 0===o.branches[o.branches.length-1].condition&&n.onError($(30,e.loc)),n.removeNode();const r=jn(e,t);0,o.branches.push(r);const s=i&&i(o,r,!1);un(r,n),s&&s(),n.currentNode=null}else n.onError($(30,e.loc));break}n.removeNode(o)}}}}function jn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Je(e,"for")?e.children:[e],userKey:Ze(e,"key"),isTemplateIf:n}}function Dn(e,t,n){return e.condition?je(e.condition,$n(e,t,n),Pe(n.helper(q),['""',"true"])):$n(e,t,n)}function $n(e,t,n){const{helper:i}=n,r=Ae("key",Ce(`${t}`,!1,Se,2)),{children:s}=e,a=s[0],u=1!==s.length||1!==a.type;if(u){if(1===s.length&&11===a.type){const e=a.codegenNode;return _t(e,r,n),e}{let t=64;o[64];return Ne(n,i(B),Re([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=ht(e);return 13===t.type&&ft(t,n),_t(t,r,n),e}}function Bn(e){while(1)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}const Vn=ln("for",((e,t,n)=>{const{helper:i,removeHelper:r}=n;return Wn(e,t,n,(t=>{const s=Pe(i(ie),[t.source]),o=rt(e),a=Je(e,"memo"),u=Ze(e,"key"),l=u&&(6===u.type?Ce(u.value.content,!0):u.exp),_=u?Ae("key",l):null,c=4===t.source.type&&t.source.constType>0,p=c?64:u?128:256;return t.codegenNode=Ne(n,i(B),void 0,s,p+"",void 0,void 0,!0,!c,!1,e.loc),()=>{let u;const{children:p}=t;const h=1!==p.length||1!==p[0].type,f=st(e)?e:o&&1===e.children.length&&st(e.children[0])?e.children[0]:null;if(f?(u=f.codegenNode,o&&_&&_t(u,_,n)):h?u=Ne(n,i(B),_?Re([_]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(u=p[0].codegenNode,o&&_&&_t(u,_,n),u.isBlock!==!c&&(u.isBlock?(r(F),r(at(n.inSSR,u.isComponent))):r(ot(n.inSSR,u.isComponent))),u.isBlock=!c,u.isBlock?(i(F),i(at(n.inSSR,u.isComponent))):i(ot(n.inSSR,u.isComponent))),a){const e=Le(Xn(t.parseResult,[Ce("_cached")]));e.body=$e([Me(["const _memo = (",a.exp,")"]),Me(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(xe)}(_cached, _memo)) return _cached`]),Me(["const _item = ",u]),Ce("_item.memo = _memo"),Ce("return _item")]),s.arguments.push(e,Ce("_cache"),Ce(String(n.cached++)))}else s.arguments.push(Le(Xn(t.parseResult),u,!0))}}))}));function Wn(e,t,n,i){if(!t.exp)return void n.onError($(31,t.loc));const r=zn(t.exp,n);if(!r)return void n.onError($(32,t.loc));const{addIdentifiers:s,removeIdentifiers:o,scopes:a}=n,{source:u,value:l,key:_,index:c}=r,p={type:11,loc:t.loc,source:u,valueAlias:l,keyAlias:_,objectIndexAlias:c,parseResult:r,children:rt(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const h=i&&i(p);return()=>{a.vFor--,h&&h()}}const Un=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Kn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fn=/^\(|\)$/g;function zn(e,t){const n=e.loc,i=e.content,r=i.match(Un);if(!r)return;const[,s,o]=r,a={source:Gn(n,o.trim(),i.indexOf(o,s.length)),value:void 0,key:void 0,index:void 0};let u=s.trim().replace(Fn,"").trim();const l=s.indexOf(u),_=u.match(Kn);if(_){u=u.replace(Kn,"").trim();const e=_[1].trim();let t;if(e&&(t=i.indexOf(e,l+u.length),a.key=Gn(n,e,t)),_[2]){const r=_[2].trim();r&&(a.index=Gn(n,r,i.indexOf(r,a.key?t+e.length:l+u.length)))}}return u&&(a.value=Gn(n,u,l)),a}function Gn(e,t,n){return Ce(t,!1,qe(e,n,t.length))}function Xn({value:e,key:t,index:n},i=[]){return Hn([e,t,n,...i])}function Hn(e){let t=e.length;while(t--)if(e[t])break;return e.slice(0,t+1).map(((e,t)=>e||Ce("_".repeat(t+1),!1)))}const qn=Ce("undefined",!1),Qn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Je(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Yn=(e,t,n)=>Le(e,t,!1,!0,t.length?t[0].loc:n);function Jn(e,t,n=Yn){t.helper(ve);const{children:i,loc:r}=e,s=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const u=Je(e,"slot",!0);if(u){const{arg:e,exp:t}=u;e&&!Be(e)&&(a=!0),s.push(Ae(e||Ce("default",!0),n(t,i,r)))}let l=!1,_=!1;const c=[],p=new Set;let h=0;for(let b=0;b{const s=n(e,i,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Ae("default",s)};l?c.length&&c.some((e=>ti(e)))&&(_?t.onError($(39,c[0].loc)):s.push(e(void 0,c))):s.push(e(void 0,i))}const f=a?2:ei(e.children)?3:1;let d=Re(s.concat(Ae("_",Ce(f+"",!1))),r);return o.length&&(d=Pe(t.helper(se),[d,Ie(o)])),{slots:d,hasDynamicSlots:a}}function Zn(e,t,n){const i=[Ae("name",e),Ae("fn",t)];return null!=n&&i.push(Ae("key",Ce(String(n),!0))),Re(i)}function ei(e){for(let t=0;tfunction(){if(e=t.currentNode,1!==e.type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:i}=e,r=1===e.tagType;let s=r?ri(e,t):`"${n}"`;const o=S(s)&&s.callee===Z;let a,u,l,_,c,p,h=0,f=o||s===V||s===W||!r&&("svg"===n||"foreignObject"===n);if(i.length>0){const n=si(e,t,void 0,r,o);a=n.props,h=n.patchFlag,c=n.dynamicPropNames;const i=n.directives;p=i&&i.length?Ie(i.map((e=>ui(e,t)))):void 0,n.shouldUseBlock&&(f=!0)}if(e.children.length>0){s===U&&(f=!0,h|=1024);const n=r&&s!==V&&s!==U;if(n){const{slots:n,hasDynamicSlots:i}=Jn(e,t);u=n,i&&(h|=1024)}else if(1===e.children.length&&s!==V){const n=e.children[0],i=n.type,r=5===i||8===i;r&&0===Yt(n,t)&&(h|=1),u=r||2===i?n:e.children}else u=e.children}0!==h&&(l=String(h),c&&c.length&&(_=li(c))),e.codegenNode=Ne(t,s,a,u,l,_,p,!!f,!1,r,e.loc)};function ri(e,t,n=!1){let{tag:i}=e;const r=_i(i),s=Ze(e,"is");if(s)if(r||bt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ce(s.value.content,!0):s.exp;if(e)return Pe(t.helper(Z),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(i=s.value.content.slice(4));const o=!r&&Je(e,"is");if(o&&o.exp)return Pe(t.helper(Z),[o.exp]);const a=We(i)||t.isBuiltInComponent(i);return a?(n||t.helper(a),a):(t.helper(J),t.components.add(i),pt(i,"component"))}function si(e,t,n=e.props,i,r,s=!1){const{tag:o,loc:a,children:u}=e;let l=[];const _=[],c=[],p=u.length>0;let h=!1,f=0,d=!1,b=!1,g=!1,m=!1,v=!1,y=!1;const w=[],x=e=>{l.length&&(_.push(Re(oi(l),a)),l=[]),e&&_.push(e)},E=({key:e,value:n})=>{if(Be(e)){const s=e.content,o=k(s);if(!o||i&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||T(s)||(m=!0),o&&T(s)&&(y=!0),20===n.type||(4===n.type||8===n.type)&&Yt(n,t)>0)return;"ref"===s?d=!0:"class"===s?b=!0:"style"===s?g=!0:"key"===s||w.includes(s)||w.push(s),!i||"class"!==s&&"style"!==s||w.includes(s)||w.push(s)}else v=!0};for(let k=0;k0&&l.push(Ae(Ce("ref_for",!0),Ce("true")))),"is"===n&&(_i(o)||i&&i.content.startsWith("vue:")||bt("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(Ae(Ce(n,!0,qe(e,0,n.length)),Ce(i?i.content:"",s,i?i.loc:e)))}else{const{name:n,arg:u,exp:f,loc:d}=r,b="bind"===n,g="on"===n;if("slot"===n){i||t.onError($(40,d));continue}if("once"===n||"memo"===n)continue;if("is"===n||b&&et(u,"is")&&(_i(o)||bt("COMPILER_IS_ON_ELEMENT",t)))continue;if(g&&s)continue;if((b&&et(u,"key")||g&&p&&et(u,"vue:before-update"))&&(h=!0),b&&et(u,"ref")&&t.scopes.vFor>0&&l.push(Ae(Ce("ref_for",!0),Ce("true"))),!u&&(b||g)){if(v=!0,f)if(b){if(x(),bt("COMPILER_V_BIND_OBJECT_ORDER",t)){_.unshift(f);continue}_.push(f)}else x({type:14,loc:d,callee:t.helper(pe),arguments:i?[f]:[f,"true"]});else t.onError($(b?34:35,d));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:i}=m(r,e,t);!s&&n.forEach(E),g&&u&&!Be(u)?x(Re(n,a)):l.push(...n),i&&(c.push(r),O(i)&&ni.set(r,i))}else N(n)||(c.push(r),p&&(h=!0))}}let S;if(_.length?(x(),S=_.length>1?Pe(t.helper(ae),_,a):_[0]):l.length&&(S=Re(oi(l),a)),v?f|=16:(b&&!i&&(f|=2),g&&!i&&(f|=4),w.length&&(f|=8),m&&(f|=32)),h||0!==f&&32!==f||!(d||y||c.length>0)||(f|=512),!t.inSSR&&S)switch(S.type){case 15:let e=-1,n=-1,i=!1;for(let t=0;tAe(e,t))),r))}return Ie(n,e.loc)}function li(e){let t="[";for(let n=0,i=e.length;n{const t=Object.create(null);return n=>{const i=t[n];return i||(t[n]=e(n))}},pi=/-(\w)/g,hi=ci((e=>e.replace(pi,((e,t)=>t?t.toUpperCase():"")))),fi=(e,t)=>{if(st(e)){const{children:n,loc:i}=e,{slotName:r,slotProps:s}=di(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;s&&(o[2]=s,a=3),n.length&&(o[3]=Le([],n,!1,!1,i),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=Pe(t.helper(re),o,i)}};function di(e,t){let n,i='"default"';const r=[];for(let s=0;s0){const{props:i,directives:s}=si(e,t,r,!1,!1);n=i,s.length&&t.onError($(36,s[0].loc))}return{slotName:i,slotProps:n}}const bi=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,gi=(e,t,n,i)=>{const{loc:r,modifiers:s,arg:o}=e;let a;if(e.exp||s.length||n.onError($(35,r)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);const n=0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?L(A(e)):`on:${e}`;a=Ce(n,!0,o.loc)}else a=Me([`${n.helperString(de)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(de)}(`),a.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let l=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const e=He(u.content),t=!(e||bi.test(u.content)),n=u.content.includes(";");0,(t||l&&e)&&(u=Me([`${t?"$event":"(...args)"} => ${n?"{":"("}`,u,n?"}":")"]))}let _={props:[Ae(a,u||Ce("() => {}",!1,r))]};return i&&(_=i(_)),l&&(_.props[0].value=n.cache(_.props[0].value)),_.props.forEach((e=>e.key.isHandlerKey=!0)),_},mi=(e,t,n)=>{const{exp:i,modifiers:r,loc:s}=e,o=e.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.includes("camel")&&(4===o.type?o.isStatic?o.content=A(o.content):o.content=`${n.helperString(he)}(${o.content})`:(o.children.unshift(`${n.helperString(he)}(`),o.children.push(")"))),n.inSSR||(r.includes("prop")&&vi(o,"."),r.includes("attr")&&vi(o,"^")),!i||4===i.type&&!i.content.trim()?(n.onError($(34,s)),{props:[Ae(o,Ce("",!0,s))]}):{props:[Ae(o,i)]}},vi=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},yi=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let i,r=!1;for(let e=0;e7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e{if(1===e.type&&Je(e,"once",!0)){if(ki.has(e)||t.inVOnce)return;return ki.add(e),t.inVOnce=!0,t.helper(be),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},xi=(e,t,n)=>{const{exp:i,arg:r}=e;if(!i)return n.onError($(41,e.loc)),Ei();const s=i.loc.source,o=4===i.type?i.content:s,a=n.bindingMetadata[s];if("props"===a||"props-aliased"===a)return n.onError($(44,i.loc)),Ei();const u=!1;if(!o.trim()||!He(o)&&!u)return n.onError($(42,i.loc)),Ei();const l=r||Ce("modelValue",!0),_=r?Be(r)?`onUpdate:${A(r.content)}`:Me(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;const p=n.isTS?"($event: any)":"$event";c=Me([`${p} => ((`,i,") = $event)"]);const h=[Ae(l,e.exp),Ae(_,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ke(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Be(r)?`${r.content}Modifiers`:Me([r,' + "Modifiers"']):"modelModifiers";h.push(Ae(n,Ce(`{ ${t} }`,!1,e.loc,2)))}return Ei(h)};function Ei(e=[]){return{props:e}}const Oi=/[\w).+\-_$\]]/,Si=(e,t)=>{bt("COMPILER_FILTER",t)&&(5===e.type&&Ti(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Ti(e.exp,t)})))};function Ti(e,t){if(4===e.type)Ni(e,t);else for(let n=0;n=0;t--)if(e=n.charAt(t)," "!==e)break;e&&Oi.test(e)||(_=!0)}}else void 0===o?(f=s+1,o=n.slice(0,s).trim()):b();function b(){d.push(n.slice(f,s).trim()),f=s+1}if(void 0===o?o=n.slice(0,s).trim():0!==f&&b(),d.length){for(s=0;s{if(1===e.type){const n=Je(e,"memo");if(!n||Ri.has(e))return;return Ri.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&13===i.type&&(1!==e.tagType&&ft(i,t),e.codegenNode=Pe(t.helper(we),[n.exp,Le(void 0,i),"_cache",String(t.cached++)]))}}};function Ci(e){return[[wi,Pn,Ai,Vn,Si,fi,ii,Qn,yi],{on:gi,bind:mi,model:xi}]}function Mi(e,t={}){const n=t.onError||j,i="module"===t.mode;!0===t.prefixIdentifiers?n($(47)):i&&n($(48));const r=!1;t.cacheHandlers&&n($(49)),t.scopeId&&!i&&n($(50));const s=E(e)?kt(e,t):e,[o,a]=Ci();return sn(s,w({},t,{prefixIdentifiers:r,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:w({},a,t.directiveTransforms||{})})),hn(s,w({},t,{prefixIdentifiers:r}))}const Pi=()=>({props:[]}),Li=Symbol(""),ji=Symbol(""),Di=Symbol(""),$i=Symbol(""),Bi=Symbol(""),Vi=Symbol(""),Wi=Symbol(""),Ui=Symbol(""),Ki=Symbol(""),Fi=Symbol("");let zi;function Gi(e,t=!1){return zi||(zi=document.createElement("div")),t?(zi.innerHTML=`
`,zi.children[0].getAttribute("foo")):(zi.innerHTML=e,zi.textContent)}Oe({[Li]:"vModelRadio",[ji]:"vModelCheckbox",[Di]:"vModelText",[$i]:"vModelSelect",[Bi]:"vModelDynamic",[Vi]:"withModifiers",[Wi]:"withKeys",[Ui]:"vShow",[Ki]:"Transition",[Fi]:"TransitionGroup"});const Xi=s("style,iframe,script,noscript",!0),Hi={isVoidTag:b,isNativeTag:e=>f(e)||d(e),isPreTag:e=>"pre"===e,decodeEntities:Gi,isBuiltInComponent:e=>Ve(e,"Transition")?Ki:Ve(e,"TransitionGroup")?Fi:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Xi(e))return 2}return 0}},qi=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ce("style",!0,t.loc),exp:Qi(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Qi=(e,t)=>{const n=_(e);return Ce(JSON.stringify(n),!1,t,3)};function Yi(e,t){return $(e,t,void 0)}const Ji=(e,t,n)=>{const{exp:i,loc:r}=e;return i||n.onError(Yi(51,r)),t.children.length&&(n.onError(Yi(52,r)),t.children.length=0),{props:[Ae(Ce("innerHTML",!0,r),i||Ce("",!0))]}},Zi=(e,t,n)=>{const{exp:i,loc:r}=e;return i||n.onError(Yi(53,r)),t.children.length&&(n.onError(Yi(54,r)),t.children.length=0),{props:[Ae(Ce("textContent",!0),i?Yt(i,n)>0?i:Pe(n.helperString(oe),[i],r):Ce("",!0))]}},er=(e,t,n)=>{const i=xi(e,t,n);if(!i.props.length||1===t.tagType)return i;e.arg&&n.onError(Yi(56,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let o=Di,a=!1;if("input"===r||s){const i=Ze(t,"type");if(i){if(7===i.type)o=Bi;else if(i.value)switch(i.value.content){case"radio":o=Li;break;case"checkbox":o=ji;break;case"file":a=!0,n.onError(Yi(57,e.loc));break;default:break}}else tt(t)&&(o=Bi)}else"select"===r&&(o=$i);a||(i.needRuntime=n.helper(o))}else n.onError(Yi(55,e.loc));return i.props=i.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),i},tr=s("passive,once,capture"),nr=s("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ir=s("left,right"),rr=s("onkeyup,onkeydown,onkeypress",!0),sr=(e,t,n,i)=>{const r=[],s=[],o=[];for(let a=0;a{const n=Be(e)&&"onclick"===e.content.toLowerCase();return n?Ce(t,!0):4!==e.type?Me(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e},ar=(e,t,n)=>gi(e,t,n,(t=>{const{modifiers:i}=e;if(!i.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:u}=sr(r,i,n,e.loc);if(a.includes("right")&&(r=or(r,"onContextmenu")),a.includes("middle")&&(r=or(r,"onMouseup")),a.length&&(s=Pe(n.helper(Vi),[s,JSON.stringify(a)])),!o.length||Be(r)&&!rr(r.content)||(s=Pe(n.helper(Wi),[s,JSON.stringify(o)])),u.length){const e=u.map(P).join("");r=Be(r)?Ce(`${r.content}${e}`,!0):Me(["(",r,`) + "${e}"`])}return{props:[Ae(r,s)]}})),ur=(e,t,n)=>{const{exp:i,loc:r}=e;return i||n.onError(Yi(59,r)),{props:[],needRuntime:n.helper(Ui)}};const lr=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Yi(61,e.loc)),t.removeNode())},_r=[qi],cr={cloak:Pi,html:Ji,text:Zi,model:er,on:ar,show:ur};function pr(e,t={}){return Mi(e,w({},Hi,t,{nodeTransforms:[lr,..._r,...t.nodeTransforms||[]],directiveTransforms:w({},cr,t.directiveTransforms||{}),transformHoist:null}))}var hr=n(54804),fr=function(e,t){return fr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},fr(e,t)};function dr(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}fr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var br=function(){return br=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function n(n,i){this.__indent_cache=new t(n,i),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return Cs=1,e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},e.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},e.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},e.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},t.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t,n},t.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t],n},t.prototype.__ensure_cache=function(e){while(e>=this.__cache.length)this.__add_column()},t.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(t=Math.floor(e/this.__indent_size),e-=t*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},n.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},n.prototype.get_line_number=function(){return this.__lines.length},n.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},n.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},n.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},n.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},n.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},n.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},n.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},n.prototype.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},n.prototype.just_added_newline=function(){return this.current_line.is_empty()},n.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},n.prototype.ensure_empty_line_above=function(t,n){var i=this.__lines.length-2;while(i>=0){var r=this.__lines[i];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==n){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},Ds.Output=n,Ds}var Bs,Vs={};function Ws(){if(Bs)return Vs;function e(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return Bs=1,Vs.Token=e,Vs}var Us,Ks={};function Fs(){return Us||(Us=1,function(e){var t="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",n="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",i="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",s="(?:\\\\u[0-9a-fA-F]{4}|["+t+i+"])",o="(?:\\\\u[0-9a-fA-F]{4}|["+n+i+r+"])*";e.identifier=new RegExp(s+o,"g"),e.identifierStart=new RegExp(s),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+n+i+r+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(Ks)),Ks}var zs,Gs,Xs={},Hs={};function qs(){if(zs)return Hs;function e(e,n){this.raw_options=t(e,n),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}function t(e,t){var i,r={};for(i in e=n(e),e)i!==t&&(r[i]=e[i]);if(t&&e[t])for(i in e[t])r[i]=e[t][i];return r}function n(e){var t,n={};for(t in e){var i=t.replace(/-/g,"_");n[i]=e[t]}return n}return zs=1,e.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},e.prototype._get_boolean=function(e,t){var n=this.raw_options[e],i=void 0===n?!!t:!!n;return i},e.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},e.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},e.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},e.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},e.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},Hs.Options=e,Hs.normalizeOpts=n,Hs.mergeOpts=t,Hs}function Qs(){if(Gs)return Xs;Gs=1;var e=qs().Options,t=["before-newline","after-newline","preserve-newline"];function n(n){e.call(this,n,"js");var i=this.raw_options.brace_style||null;"expand-strict"===i?this.raw_options.brace_style="expand":"collapse-preserve-inline"===i?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var r=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var s=0;s0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position=0&&e=0&&t=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},Zs.InputScanner=t,Zs}var to,no={},io={};function ro(){if(to)return io;function e(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}return to=1,e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position=0&&e/),erb:r.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:r.starting_with(/{%/).until_after(/%}/),django_value:r.starting_with(/{{/).until_after(/}}/),django_comment:r.starting_with(/{#/).until_after(/#}/),smarty:r.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:r.starting_with(/{\*/).until_after(/\*}/),smarty_literal:r.starting_with(/{literal}/).until_after(/{\/literal}/)}}return n.prototype=new e,n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){this.__set_templated_pattern()},n.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},n.prototype.read_options=function(e){var n=this._create();for(var i in t)n._disabled[i]=-1===e.templating.indexOf(i);return n._update(),n},n.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},n.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var t=this._read_template();while(t)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},n.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},n.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=e||this.__patterns.handlebars_comment.read(),e=e||this.__patterns.handlebars_unescaped.read(),e=e||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=e||this.__patterns.django_comment.read(),e=e||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=e||this.__patterns.smarty_comment.read(),e=e||this.__patterns.smarty_literal.read(),e=e||this.__patterns.smarty.read()));return e},ko.TemplatablePattern=n,ko}function xo(){if(mo)return Js;mo=1;var e=eo().InputScanner,t=po().Tokenizer,n=po().TOKEN,i=bo().Directives,r=Fs(),s=_o().Pattern,o=wo().TemplatablePattern;function a(e,t){return-1!==t.indexOf(e)}var u={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:n.START,RAW:n.RAW,EOF:n.EOF},l=new i(/\/\*/,/\*\//),_=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,c=/[0-9]/,p=/[^\d\.]/,h=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),f=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";f=f.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),f="\\?\\.(?!\\d) "+f,f=f.replace(/ /g,"|");var d,b=new RegExp(f),g="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),m=g.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),v=new RegExp("^(?:"+m.join("|")+")$"),y=function(e,n){t.call(this,e,n),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var i=new s(this._input),a=new o(this._input).read_options(this._options);this.__patterns={template:a,identifier:a.starting_with(r.identifier).matching(r.identifierMatch),number:i.matching(_),punct:i.matching(b),comment:i.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:i.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:i.matching(//),include:i.starting_with(/#include/).until_after(r.lineBreak),shebang:i.starting_with(/#!/).until_after(r.lineBreak),xml:i.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:a.until(/['\\\n\r\u2028\u2029]/),double_quote:a.until(/["\\\n\r\u2028\u2029]/),template_text:a.until(/[`\\$]/),template_expression:a.until(/[`}\\]/)}};function k(t){var n="",i=0,r=new e(t),s=null;while(r.hasNext())if(s=r.match(/([\s]|[^\\]|\\\\)+/g),s&&(n+=s[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())s=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){n+="\\",r.hasNext()&&(n+=r.next());continue}s=r.match(/u([0-9A-Fa-f]{4})/g)}if(!s)return t;if(i=parseInt(s[1],16),i>126&&i<=255&&0===s[0].indexOf("x"))return t;if(i>=0&&i<32){n+="\\"+s[0];continue}n+=34===i||39===i||92===i?"\\"+String.fromCharCode(i):String.fromCharCode(i)}return n}return y.prototype=new t,y.prototype._is_comment=function(e){return e.type===u.COMMENT||e.type===u.BLOCK_COMMENT||e.type===u.UNKNOWN},y.prototype._is_opening=function(e){return e.type===u.START_BLOCK||e.type===u.START_EXPR},y.prototype._is_closing=function(e,t){return(e.type===u.END_BLOCK||e.type===u.END_EXPR)&&t&&("]"===e.text&&"["===t.text||")"===e.text&&"("===t.text||"}"===e.text&&"{"===t.text)},y.prototype._reset=function(){d=!1},y.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(u.EOF,""):(n=n||this._read_non_javascript(i),n=n||this._read_string(i),n=n||this._read_word(e),n=n||this._read_singles(i),n=n||this._read_comment(i),n=n||this._read_regexp(i,e),n=n||this._read_xml(i,e),n=n||this._read_punctuation(),n=n||this._create_token(u.UNKNOWN,this._input.next()),n)},y.prototype._read_word=function(e){var t;return t=this.__patterns.identifier.read(),""!==t?(t=t.replace(r.allLineBreaks,"\n"),e.type!==u.DOT&&(e.type!==u.RESERVED||"set"!==e.text&&"get"!==e.text)&&v.test(t)?"in"===t||"of"===t?this._create_token(u.OPERATOR,t):this._create_token(u.RESERVED,t):this._create_token(u.WORD,t)):(t=this.__patterns.number.read(),""!==t?this._create_token(u.WORD,t):void 0)},y.prototype._read_singles=function(e){var t=null;return"("===e||"["===e?t=this._create_token(u.START_EXPR,e):")"===e||"]"===e?t=this._create_token(u.END_EXPR,e):"{"===e?t=this._create_token(u.START_BLOCK,e):"}"===e?t=this._create_token(u.END_BLOCK,e):";"===e?t=this._create_token(u.SEMICOLON,e):"."===e&&p.test(this._input.peek(1))?t=this._create_token(u.DOT,e):","===e&&(t=this._create_token(u.COMMA,e)),t&&this._input.next(),t},y.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(""!==e)return"="===e?this._create_token(u.EQUALS,e):"?."===e?this._create_token(u.DOT,e):this._create_token(u.OPERATOR,e)},y.prototype._read_non_javascript=function(e){var t="";if("#"===e){if(this._is_first_token()&&(t=this.__patterns.shebang.read(),t))return this._create_token(u.UNKNOWN,t.trim()+"\n");if(t=this.__patterns.include.read(),t)return this._create_token(u.UNKNOWN,t.trim()+"\n");e=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(c)){do{e=this._input.next(),n+=e}while(this._input.hasNext()&&"#"!==e&&"="!==e);return"#"===e||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(u.WORD,n)}this._input.back()}else if("<"===e&&this._is_first_token()){if(t=this.__patterns.html_comment_start.read(),t){while(this._input.hasNext()&&!this._input.testChar(r.newline))t+=this._input.next();return d=!0,this._create_token(u.COMMENT,t)}}else if(d&&"-"===e&&(t=this.__patterns.html_comment_end.read(),t))return d=!1,this._create_token(u.COMMENT,t);return null},y.prototype._read_comment=function(e){var t=null;if("/"===e){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var i=l.get_directives(n);i&&"start"===i.ignore&&(n+=l.readIgnored(this._input)),n=n.replace(r.allLineBreaks,"\n"),t=this._create_token(u.BLOCK_COMMENT,n),t.directives=i}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),t=this._create_token(u.COMMENT,n))}return t},y.prototype._read_string=function(e){if("`"===e||"'"===e||'"'===e){var t=this._input.next();return this.has_char_escapes=!1,t+="`"===e?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(e),this.has_char_escapes&&this._options.unescape_strings&&(t=k(t)),this._input.peek()===e&&(t+=this._input.next()),t=t.replace(r.allLineBreaks,"\n"),this._create_token(u.STRING,t)}return null},y.prototype._allow_regexp_or_xml=function(e){return e.type===u.RESERVED&&a(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===u.END_EXPR&&")"===e.text&&e.opened.previous.type===u.RESERVED&&a(e.opened.previous.text,["if","while","for"])||a(e.type,[u.COMMENT,u.START_EXPR,u.START_BLOCK,u.START,u.END_BLOCK,u.OPERATOR,u.EQUALS,u.EOF,u.SEMICOLON,u.COMMA])},y.prototype._read_regexp=function(e,t){if("/"===e&&this._allow_regexp_or_xml(t)){var n=this._input.next(),i=!1,s=!1;while(this._input.hasNext()&&(i||s||this._input.peek()!==e)&&!this._input.testChar(r.newline))n+=this._input.peek(),i?i=!1:(i="\\"===this._input.peek(),"["===this._input.peek()?s=!0:"]"===this._input.peek()&&(s=!1)),this._input.next();return this._input.peek()===e&&(n+=this._input.next(),n+=this._input.read(r.identifier)),this._create_token(u.STRING,n)}return null},y.prototype._read_xml=function(e,t){if(this._options.e4x&&"<"===e&&this._allow_regexp_or_xml(t)){var n="",i=this.__patterns.xml.read_match();if(i){var s=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),o=0===s.indexOf("{"),a=0;while(i){var l=!!i[1],_=i[2],c=!!i[i.length-1]||"![CDATA["===_.slice(0,8);if(!c&&(_===s||o&&_.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(l?--a:++a),n+=i[0],a<=0)break;i=this.__patterns.xml.read_match()}return i||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(r.allLineBreaks,"\n"),this._create_token(u.STRING,n)}}return null},y.prototype._read_string_recursive=function(e,t,n){var i,s;"'"===e?s=this.__patterns.single_quote:'"'===e?s=this.__patterns.double_quote:"`"===e?s=this.__patterns.template_text:"}"===e&&(s=this.__patterns.template_expression);var o=s.read(),a="";while(this._input.hasNext()){if(a=this._input.next(),a===e||!t&&r.newline.test(a)){this._input.back();break}"\\"===a&&this._input.hasNext()?(i=this._input.peek(),"x"===i||"u"===i?this.has_char_escapes=!0:"\r"===i&&"\n"===this._input.peek(1)&&this._input.next(),a+=this._input.next()):n&&("${"===n&&"$"===a&&"{"===this._input.peek()&&(a+=this._input.next()),n===a&&(a+="`"===e?this._read_string_recursive("}",t,"`"):this._read_string_recursive("`",t,"${"),this._input.hasNext()&&(a+=this._input.next()))),a+=s.read(),o+=a}return o},Js.Tokenizer=y,Js.TOKEN=u,Js.positionable_operators=h.slice(),Js.line_starters=g.slice(),Js}function Eo(){if(vo)return js;vo=1;var e=$s().Output,t=Ws().Token,n=Fs(),i=Qs().Options,r=xo().Tokenizer,s=xo().line_starters,o=xo().positionable_operators,a=xo().TOKEN;function u(e,t){return-1!==t.indexOf(e)}function l(e){return e.replace(/^\s+/g,"")}function _(e){for(var t={},n=0;ni&&(i=e.line_indent_level));var r={mode:n,parent:e,last_token:e?e.last_token:new t(a.START_BLOCK,""),last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:i,alignment:0,line_indent_level:e?e.line_indent_level:i,start_line_index:this._output.get_line_number(),ternary_depth:0};return r},E.prototype._reset=function(t){var n=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,n),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(g.BlockStatement);var i=new r(t,this._options);return this._tokens=i.tokenize(),t},E.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e,t=this._reset(this._source_text),i=this._options.eol;"auto"===this._options.eol&&(i="\n",t&&n.lineBreak.test(t||"")&&(i=t.match(n.lineBreak)[0]));var r=this._tokens.next();while(r)this.handle_token(r),this._last_last_text=this._flags.last_token.text,this._flags.last_token=r,r=this._tokens.next();return e=this._output.get_code(i),e},E.prototype.handle_token=function(e,t){e.type===a.START_EXPR?this.handle_start_expr(e):e.type===a.END_EXPR?this.handle_end_expr(e):e.type===a.START_BLOCK?this.handle_start_block(e):e.type===a.END_BLOCK?this.handle_end_block(e):e.type===a.WORD||e.type===a.RESERVED?this.handle_word(e):e.type===a.SEMICOLON?this.handle_semicolon(e):e.type===a.STRING?this.handle_string(e):e.type===a.EQUALS?this.handle_equals(e):e.type===a.OPERATOR?this.handle_operator(e):e.type===a.COMMA?this.handle_comma(e):e.type===a.BLOCK_COMMENT?this.handle_block_comment(e,t):e.type===a.COMMENT?this.handle_comment(e,t):e.type===a.DOT?this.handle_dot(e):e.type===a.EOF?this.handle_eof(e):(e.type,a.UNKNOWN,this.handle_unknown(e,t))},E.prototype.handle_whitespace_and_comments=function(e,t){var n=e.newlines,i=this._options.keep_array_indentation&&y(this._flags.mode);if(e.comments_before){var r=e.comments_before.next();while(r)this.handle_whitespace_and_comments(r,t),this.handle_token(r,t),r=e.comments_before.next()}if(i)for(var s=0;s0,t);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,t);for(var o=1;o0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},E.prototype.set_mode=function(e){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,e),this._flags=this.create_flags(this._previous_flags,e),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},E.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===g.Statement&&m(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},E.prototype.start_of_object_property=function(){return this._flags.parent.mode===g.ObjectLiteral&&this._flags.mode===g.Statement&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||p(this._flags.last_token,["get","set"]))},E.prototype.start_of_statement=function(e){var t=!1;return t=t||p(this._flags.last_token,["var","let","const"])&&e.type===a.WORD,t=t||c(this._flags.last_token,"do"),t=t||!(this._flags.parent.mode===g.ObjectLiteral&&this._flags.mode===g.Statement)&&p(this._flags.last_token,O)&&!e.newlines,t=t||c(this._flags.last_token,"else")&&!(c(e,"if")&&!e.comments_before),t=t||this._flags.last_token.type===a.END_EXPR&&(this._previous_flags.mode===g.ForInitializer||this._previous_flags.mode===g.Conditional),t=t||this._flags.last_token.type===a.WORD&&this._flags.mode===g.BlockStatement&&!this._flags.in_case&&!("--"===e.text||"++"===e.text)&&"function"!==this._last_last_text&&e.type!==a.WORD&&e.type!==a.RESERVED,t=t||this._flags.mode===g.ObjectLiteral&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||p(this._flags.last_token,["get","set"])),!!t&&(this.set_mode(g.Statement),this.indent(),this.handle_whitespace_and_comments(e,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e,p(e,["do","for","if","while"])),!0)},E.prototype.handle_start_expr=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e);var t=g.Expression;if("["===e.text){if(this._flags.last_token.type===a.WORD||")"===this._flags.last_token.text)return p(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(e),this.set_mode(t),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));t=g.ArrayLiteral,y(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),u(this._flags.last_token.type,[a.START_EXPR,a.END_EXPR,a.WORD,a.OPERATOR,a.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===a.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,t=g.ForInitializer):u(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,t=g.Conditional):u(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===e.whitespace_before?this._output.space_before_token=!1:(u(this._flags.last_token.text,s)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===a.EQUALS||this._flags.last_token.type===a.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e);else if(this._flags.last_token.type===a.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var i=this._tokens.peek(-4);p(n,["async","function"])||"*"===n.text&&p(i,["async","function"])?this._output.space_before_token=!0:this._flags.mode===g.ObjectLiteral&&("{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==i.text&&","!==i.text)||(this._output.space_before_token=!0))}}else this.allow_wrap_or_preserved_newline(e);(this._flags.last_token.type===a.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(u(this._last_last_text,["function","yield"])||this._flags.mode===g.ObjectLiteral&&u(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===a.START_BLOCK?this.print_newline():this._flags.last_token.type!==a.END_EXPR&&this._flags.last_token.type!==a.START_EXPR&&this._flags.last_token.type!==a.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==a.COMMA||this.allow_wrap_or_preserved_newline(e,e.newlines),this.print_token(e),this.set_mode(t),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},E.prototype.handle_end_expr=function(e){while(this._flags.mode===g.Statement)this.restore_mode();this.handle_whitespace_and_comments(e),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(e,"]"===e.text&&y(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==a.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(e),this.restore_mode(),m(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===g.Conditional&&(this._previous_flags.mode=g.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},E.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var t=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===a.END_EXPR?(this.set_mode(g.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(g.BlockStatement):n&&(u(n.text,[":",","])&&u(t.type,[a.STRING,a.WORD,a.RESERVED])||u(t.text,["get","set","..."])&&u(n.type,[a.WORD,a.RESERVED]))?u(this._last_last_text,["class","interface"])&&!u(n.text,[":",","])?this.set_mode(g.BlockStatement):this.set_mode(g.ObjectLiteral):this._flags.last_token.type===a.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(g.BlockStatement):u(this._flags.last_token.type,[a.EQUALS,a.START_EXPR,a.COMMA,a.OPERATOR])||p(this._flags.last_token,["return","throw","import","default"])?this.set_mode(g.ObjectLiteral):this.set_mode(g.BlockStatement);var i=!t.comments_before&&"}"===t.text,r=i&&"function"===this._flags.last_word&&this._flags.last_token.type===a.END_EXPR;if(this._options.brace_preserve_inline){var s=0,o=null;this._flags.inline_frame=!0;do{if(s+=1,o=this._tokens.peek(s-1),o.newlines){this._flags.inline_frame=!1;break}}while(o.type!==a.EOF&&(o.type!==a.END_BLOCK||o.opened!==e))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==a.OPERATOR&&(r||this._flags.last_token.type===a.EQUALS||p(this._flags.last_token,h)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!y(this._previous_flags.mode)||this._flags.last_token.type!==a.START_EXPR&&this._flags.last_token.type!==a.COMMA||((this._flags.last_token.type===a.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===a.COMMA||this._flags.last_token.type===a.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(e),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==a.OPERATOR&&this._flags.last_token.type!==a.START_EXPR&&(this._flags.last_token.type!==a.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(e),this.indent(),i||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},E.prototype.handle_end_block=function(e){this.handle_whitespace_and_comments(e);while(this._flags.mode===g.Statement)this.restore_mode();var t=this._flags.last_token.type===a.START_BLOCK;this._flags.inline_frame&&!t?this._output.space_before_token=!0:"expand"===this._options.brace_style?t||this.print_newline():t||(y(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(e)},E.prototype.handle_word=function(e){if(e.type===a.RESERVED)if(u(e.text,["set","get"])&&this._flags.mode!==g.ObjectLiteral)e.type=a.WORD;else if("import"===e.text&&u(this._tokens.peek().text,["(","."]))e.type=a.WORD;else if(u(e.text,["as","from"])&&!this._flags.import_block)e.type=a.WORD;else if(this._flags.mode===g.ObjectLiteral){var t=this._tokens.peek();":"===t.text&&(e.type=a.WORD)}if(this.start_of_statement(e)?p(this._flags.last_token,["var","let","const"])&&e.type===a.WORD&&(this._flags.declaration_statement=!0):!e.newlines||k(this._flags.mode)||this._flags.last_token.type===a.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===a.EQUALS||!this._options.preserve_newlines&&p(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(e):(this.handle_whitespace_and_comments(e),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(c(e,"while"))return this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&c(e,"else"))this._flags.else_block=!0;else{while(this._flags.mode===g.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&p(e,["case","default"]))return this.print_newline(),this._flags.case_block||!this._flags.case_body&&!this._options.jslint_happy||this.deindent(),this._flags.case_body=!1,this.print_token(e),void(this._flags.in_case=!0);if(this._flags.last_token.type!==a.COMMA&&this._flags.last_token.type!==a.START_EXPR&&this._flags.last_token.type!==a.EQUALS&&this._flags.last_token.type!==a.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e),c(e,"function"))return(u(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!u(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==a.OPERATOR)&&(this._output.just_added_blankline()||e.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===a.RESERVED||this._flags.last_token.type===a.WORD?p(this._flags.last_token,["get","set","new","export"])||p(this._flags.last_token,O)||c(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===a.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!k(this._flags.mode)&&!y(this._flags.mode))&&this.print_newline(),this.print_token(e),void(this._flags.last_word=e.text);var n="NONE";if(this._flags.last_token.type===a.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":p(e,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===a.SEMICOLON&&this._flags.mode===g.BlockStatement?n="NEWLINE":this._flags.last_token.type===a.SEMICOLON&&k(this._flags.mode)?n="SPACE":this._flags.last_token.type===a.STRING?n="NEWLINE":this._flags.last_token.type===a.RESERVED||this._flags.last_token.type===a.WORD||"*"===this._flags.last_token.text&&(u(this._last_last_text,["function","yield"])||this._flags.mode===g.ObjectLiteral&&u(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===a.START_BLOCK?n=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===a.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),p(e,s)&&")"!==this._flags.last_token.text&&(n=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),p(e,["else","catch","finally"]))if((this._flags.last_token.type!==a.END_BLOCK||this._previous_flags.mode!==g.BlockStatement||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var i=this._output.current_line;"}"!==i.last()&&this.print_newline(),this._output.space_before_token=!0}else"NEWLINE"===n?p(this._flags.last_token,h)||"declare"===this._flags.last_token.text&&p(e,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==a.END_EXPR?this._flags.last_token.type===a.START_EXPR&&p(e,["var","let","const"])||":"===this._flags.last_token.text||(c(e,"if")&&c(e.previous,"else")?this._output.space_before_token=!0:this.print_newline()):p(e,s)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&y(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===n&&(this._output.space_before_token=!0);!e.previous||e.previous.type!==a.WORD&&e.previous.type!==a.RESERVED||(this._output.space_before_token=!0),this.print_token(e),this._flags.last_word=e.text,e.type===a.RESERVED&&("do"===e.text?this._flags.do_block=!0:"if"===e.text?this._flags.if_block=!0:"import"===e.text?this._flags.import_block=!0:this._flags.import_block&&c(e,"from")&&(this._flags.import_block=!1))},E.prototype.handle_semicolon=function(e){this.start_of_statement(e)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(e);var t=this._tokens.peek();while(this._flags.mode===g.Statement&&(!this._flags.if_block||!c(t,"else"))&&!this._flags.do_block)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(e)},E.prototype.handle_string=function(e){(!e.text.startsWith("`")||0!==e.newlines||""!==e.whitespace_before||")"!==e.previous.text&&this._flags.last_token.type!==a.WORD)&&(this.start_of_statement(e)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(e),this._flags.last_token.type===a.RESERVED||this._flags.last_token.type===a.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===a.COMMA||this._flags.last_token.type===a.START_EXPR||this._flags.last_token.type===a.EQUALS||this._flags.last_token.type===a.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e):!e.text.startsWith("`")||this._flags.last_token.type!==a.END_EXPR||"]"!==e.previous.text&&")"!==e.previous.text||0!==e.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(e)},E.prototype.handle_equals=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0},E.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,!0),this.print_token(e),this._output.space_before_token=!0,this._flags.declaration_statement?(k(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)):this._flags.mode===g.ObjectLiteral||this._flags.mode===g.Statement&&this._flags.parent.mode===g.ObjectLiteral?(this._flags.mode===g.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)},E.prototype.handle_operator=function(e){var t="*"===e.text&&(p(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[a.START_BLOCK,a.COMMA,a.END_BLOCK,a.SEMICOLON])),n=u(e.text,["-","+"])&&(u(this._flags.last_token.type,[a.START_BLOCK,a.START_EXPR,a.EQUALS,a.OPERATOR])||u(this._flags.last_token.text,s)||","===this._flags.last_token.text);if(this.start_of_statement(e));else{var i=!t;this.handle_whitespace_and_comments(e,i)}if(p(this._flags.last_token,h))return this._output.space_before_token=!0,void this.print_token(e);if("*"!==e.text||this._flags.last_token.type!==a.DOT)if("::"!==e.text){if(this._flags.last_token.type===a.OPERATOR&&u(this._options.operator_position,b)&&this.allow_wrap_or_preserved_newline(e),":"===e.text&&this._flags.in_case)return this.print_token(e),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==a.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var r=!0,l=!0,_=!1;if(":"===e.text?0===this._flags.ternary_depth?r=!1:(this._flags.ternary_depth-=1,_=!0):"?"===e.text&&(this._flags.ternary_depth+=1),!n&&!t&&this._options.preserve_newlines&&u(e.text,o)){var c=":"===e.text,f=c&&_,m=c&&!_;switch(this._options.operator_position){case d.before_newline:return this._output.space_before_token=!m,this.print_token(e),c&&!f||this.allow_wrap_or_preserved_newline(e),void(this._output.space_before_token=!0);case d.after_newline:return this._output.space_before_token=!0,!c||f?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(e):this._output.space_before_token=!1,this.print_token(e),void(this._output.space_before_token=!0);case d.preserve_newline:return m||this.allow_wrap_or_preserved_newline(e),r=!(this._output.just_added_newline()||m),this._output.space_before_token=r,this.print_token(e),void(this._output.space_before_token=!0)}}if(t){this.allow_wrap_or_preserved_newline(e),r=!1;var v=this._tokens.peek();l=v&&u(v.type,[a.WORD,a.RESERVED])}else"..."===e.text?(this.allow_wrap_or_preserved_newline(e),r=this._flags.last_token.type===a.START_BLOCK,l=!1):(u(e.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==a.COMMA&&this._flags.last_token.type!==a.START_EXPR||this.allow_wrap_or_preserved_newline(e),r=!1,l=!1,!e.newlines||"--"!==e.text&&"++"!==e.text&&"~"!==e.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&k(this._flags.mode)&&(r=!0),this._flags.last_token.type===a.RESERVED?r=!0:this._flags.last_token.type===a.END_EXPR?r=!("]"===this._flags.last_token.text&&("--"===e.text||"++"===e.text)):this._flags.last_token.type===a.OPERATOR&&(r=u(e.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(e.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(l=!0)),(this._flags.mode!==g.BlockStatement||this._flags.inline_frame)&&this._flags.mode!==g.Statement||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline());this._output.space_before_token=this._output.space_before_token||r,this.print_token(e),this._output.space_before_token=l}else this.print_token(e);else this.print_token(e)},E.prototype.handle_block_comment=function(e,t){return this._output.raw?(this._output.add_raw_token(e),void(e.directives&&"end"===e.directives.preserve&&(this._output.raw=this._options.test_output_raw))):e.directives?(this.print_newline(!1,t),this.print_token(e),"start"===e.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):n.newline.test(e.text)||e.newlines?void this.print_block_commment(e,t):(this._output.space_before_token=!0,this.print_token(e),void(this._output.space_before_token=!0))},E.prototype.print_block_commment=function(e,t){var n,i=v(e.text),r=!1,s=!1,o=e.whitespace_before,a=o.length;if(this.print_newline(!1,t),this.print_token_line_indentation(e),this._output.add_token(i[0]),this.print_newline(!1,t),i.length>1){for(i=i.slice(1),r=w(i,"*"),s=x(i,o),r&&(this._flags.alignment=1),n=0;n0&&this._indentLevel--},c.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,i=this._options.eol;"auto"===i&&(i="\n",e&&s.test(e||"")&&(i=e.match(s)[0])),e=e.replace(o,"\n");var c=e.match(/^[\t ]*/)[0];this._output=new t(this._options,c),this._input=new n(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var p,h,f,d=0,b=!1,g=!1,m=!1,v=!1,y=!1,k=!1,w=this._ch,x=!1;while(1){if(p=this._input.read(u),h=""!==p,f=w,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,!this._ch)break;if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var E=this._input.read(l),O=r.get_directives(E);O&&"start"===O.ignore&&(E+=r.readIgnored(this._input)),this.print_string(E),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(_)),this.eatWhitespace(!0);else if("@"===this._ch||"$"===this._ch)if(this.preserveSingleSpace(h),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var S=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);S.match(/[ :]$/)&&(S=this.eatString(": ").replace(/\s$/,""),this.print_string(S),this._output.space_before_token=!0),S=S.replace(/\s$/,""),"extend"===S?v=!0:"import"===S&&(y=!0),S in this.NESTED_AT_RULE?(this._nestedLevel+=1,S in this.CONDITIONAL_GROUP_RULE&&(m=!0)):b||0!==d||-1===S.indexOf(":")||(g=!0,this.indent())}else if("#"===this._ch&&"{"===this._input.peek())this.preserveSingleSpace(h),this.print_string(this._ch+this.eatString("}"));else if("{"===this._ch)g&&(g=!1,this.outdent()),m?(m=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):("("===f?this._output.space_before_token=!1:","!==f&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if("}"===this._ch)this.outdent(),this._output.add_new_line(),"{"===f&&this._output.trim(!0),y=!1,v=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0),")"===this._input.peek()&&(this._output.trim(!0),"expand"===this._options.brace_style&&this._output.add_new_line(!0));else if(":"===this._ch){for(var T=0;T"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==d)if("]"===this._ch)this.print_string(this._ch);else if("["===this._ch)this.preserveSingleSpace(h),this.print_string(this._ch);else if("="===this._ch)this.eatWhitespace(),this.print_string("="),a.test(this._ch)&&(this._ch="");else if("!"!==this._ch||this._input.lookBack("\\")){var N='"'===f||"'"===f;this.preserveSingleSpace(N||h),this.print_string(this._ch),!this._output.just_added_newline()&&"\n"===this._input.peek()&&x&&this._output.add_new_line()}else this.print_string(" "),this.print_string(this._ch);else this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&a.test(this._ch)&&(this._ch=""))}var I=this._output.get_code(i);return I},Ro.Beautifier=c,Ro}function Po(){if(No)return Io.exports;No=1;var e=Mo().Beautifier,t=Co().Options;function n(t,n){var i=new e(t,n);return i.beautify()}return Io.exports=n,Io.exports.defaultOptions=function(){return new t},Io.exports}var Lo,jo={exports:{}},Do={},$o={};function Bo(){if(Lo)return $o;Lo=1;var e=qs().Options;function t(t){e.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return t.prototype=new e,$o.Options=t,$o}var Vo,Wo,Uo,Ko,Fo,zo={};function Go(){if(Vo)return zo;Vo=1;var e=po().Tokenizer,t=po().TOKEN,n=bo().Directives,i=wo().TemplatablePattern,r=_o().Pattern,s={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},o=new n(/<\!--/,/-->/),a=function(t,n){e.call(this,t,n),this._current_tag_name="";var s=new i(this._input).read_options(this._options),o=new r(this._input);if(this.__patterns={word:s.until(/[\n\r\t <]/),single_quote:s.until_after(/'/),double_quote:s.until_after(/"/),attribute:s.until(/[\n\r\t =>]|\/>/),element_name:s.until(/[\n\r\t >\/]/),handlebars_comment:o.starting_with(/{{!--/).until_after(/--}}/),handlebars:o.starting_with(/{{/).until_after(/}}/),handlebars_open:o.until(/[\n\r\t }]/),handlebars_raw_close:o.until(/}}/),comment:o.starting_with(//),cdata:o.starting_with(//),conditional_comment:o.starting_with(//),processing:o.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var a=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=o.matching(a).until_after(a)}};return a.prototype=new e,a.prototype._is_comment=function(e){return!1},a.prototype._is_opening=function(e){return e.type===s.TAG_OPEN},a.prototype._is_closing=function(e,t){return e.type===s.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},a.prototype._reset=function(){this._current_tag_name=""},a.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(s.EOF,""):(n=n||this._read_open_handlebars(i,t),n=n||this._read_attribute(i,e,t),n=n||this._read_close(i,t),n=n||this._read_raw_content(i,e,t),n=n||this._read_content_word(i),n=n||this._read_comment_or_cdata(i),n=n||this._read_processing(i),n=n||this._read_open(i,t),n=n||this._create_token(s.UNKNOWN,this._input.next()),n)},a.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;if("<"===e){var r=this._input.peek(1);"!"===r&&(n=this.__patterns.comment.read(),n?(i=o.get_directives(n),i&&"start"===i.ignore&&(n+=o.readIgnored(this._input))):n=this.__patterns.cdata.read()),n&&(t=this._create_token(s.COMMENT,n),t.directives=i)}return t},a.prototype._read_processing=function(e){var t=null,n=null,i=null;if("<"===e){var r=this._input.peek(1);"!"!==r&&"?"!==r||(n=this.__patterns.conditional_comment.read(),n=n||this.__patterns.processing.read()),n&&(t=this._create_token(s.COMMENT,n),t.directives=i)}return t},a.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(s.TAG_OPEN,n)),i},a.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=this.__patterns.handlebars_comment.read(),n=n||this.__patterns.handlebars.read(),i=this._create_token(s.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(s.TAG_OPEN,n))),i},a.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(s.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(s.TAG_CLOSE,"}}"))),i},a.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(s.EQUALS,this._input.next());else if('"'===e||"'"===e){var o=this._input.next();o+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(s.VALUE,o)}else r=this.__patterns.attribute.read(),r&&(i=t.type===s.EQUALS?this._create_token(s.VALUE,r):this._create_token(s.ATTRIBUTE,r));return i},a.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},a.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===s.TAG_CLOSE&&"<"===t.opened.text[0]&&"/"!==t.text[0]){var r=t.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var o=this._read_comment_or_cdata(e);if(o)return o.type=s.TEXT,o;i=this._input.readUntil(new RegExp("","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("","ig")))}return i?this._create_token(s.TEXT,i):null},a.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(s.TEXT,t)},zo.Tokenizer=a,zo.TOKEN=s,zo}function Xo(){if(Wo)return Do;Wo=1;var e=Bo().Options,t=$s().Output,n=Go().Tokenizer,i=Go().TOKEN,r=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,o=function(e,n){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new t(e,n)};o.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},o.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},o.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},o.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},o.prototype.print_preserved_newlines=function(e){var t=0;e.type!==i.TEXT&&e.previous.type!==i.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines0);return 0!==t},o.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},o.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},o.prototype.print_newline=function(e){this._output.add_new_line(e)},o.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},o.prototype.indent=function(){this.indent_level++},o.prototype.get_full_indent=function(e){return e=this.indent_level+(e||0),e<1?"":this._output.get_indent_string(e)};var a=function(e){var t=null,n=e.next;while(n.type!==i.EOF&&e.closed!==n){if(n.type===i.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===i.EQUALS&&n.next.next&&n.next.next.type===i.VALUE&&(t=n.next.next.text);break}n=n.next}return t},u=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),n=a(t)||n,n.search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function l(e,t){return-1!==t.indexOf(e)}function _(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function c(e){this._printer=e,this._current_frame=null}function p(t,n,i,r){this._source_text=t||"",n=n||{},this._js_beautify=i,this._css_beautify=r,this._tag_stack=null;var s=new e(n,"html");this._options=s,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,5),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,8),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}c.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},c.prototype.record_tag=function(e){var t=new _(this._current_frame,e,this._printer.indent_level);this._current_frame=t},c.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},c.prototype._get_frame=function(e,t){var n=this._current_frame;while(n){if(-1!==e.indexOf(n.tag))break;if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},c.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},c.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&r.test(e)&&(t=e.match(r)[0])),e=e.replace(s,"\n");var a=e.match(/^[\t ]*/)[0],u={text:"",type:""},l=new h,_=new o(this._options,a),p=new n(e,this._options).tokenize();this._tag_stack=new c(_);var f=null,d=p.next();while(d.type!==i.EOF)d.type===i.TAG_OPEN||d.type===i.COMMENT?(f=this._handle_tag_open(_,d,l,u),l=f):d.type===i.ATTRIBUTE||d.type===i.EQUALS||d.type===i.VALUE||d.type===i.TEXT&&!l.tag_complete?f=this._handle_inside_tag(_,d,l,p):d.type===i.TAG_CLOSE?f=this._handle_tag_close(_,d,l):d.type===i.TEXT?f=this._handle_text(_,d,l):_.add_raw_token(d),u=f,d=p.next();var b=_._output.get_code(t);return b},p.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},p.prototype._handle_inside_tag=function(e,t,n,r){var s=n.has_wrapped_attrs,o={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===i.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===i.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===i.EQUALS||t.type===i.VALUE&&t.previous.type===i.EQUALS)&&e.set_space_before_token(!1),t.type===i.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),s=s||0!==t.newlines),this._is_wrap_attributes_force)){var a=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var u,l=!0,_=0;do{if(u=r.peek(_),u.type===i.ATTRIBUTE){l=!1;break}_+=1}while(_<4&&u.type!==i.EOF&&u.type!==i.TAG_CLOSE);a=!l}a&&(e.print_newline(!1),s=!0)}e.print_token(t),s=s||e.previous_token_wrapped(),n.has_wrapped_attrs=s}return o},p.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},p.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var r,s=t.text,o=1,a="",u="";"javascript"===n.custom_beautifier_name&&"function"===typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"===typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){var n=new p(e,t,i._js_beautify,i._css_beautify);return n.beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-e.indent_level);var l=e.get_full_indent(o);if(s=s.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===s[0]&&s.match(/^(|]]>)$/.exec(s);if(!_)return void e.add_raw_token(t);a=l+_[1]+"\n",s=_[4],_[5]&&(u=l+_[5]),s=s.replace(/\n[ \t]*$/,""),(_[2]||-1!==_[3].indexOf("\n"))&&(_=_[3].match(/[ \t]+$/),_&&(t.whitespace_before=_[0]))}if(s)if(r){var c=function(){this.eol="\n"};c.prototype=this._options.raw_options;var h=new c;s=r(l+s,h)}else{var f=t.whitespace_before;f&&(s=s.replace(new RegExp("\n("+f+")?","g"),"\n")),s=l+s.replace(/\n/g,"\n"+l)}a&&(s=s?a+s+"\n"+u:a+u),e.print_newline(!1),s&&(t.text=s,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},p.prototype._handle_tag_open=function(e,t,n,r){var s=this._get_tag_open_token(t);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||t.type!==i.TAG_OPEN||0!==t.text.indexOf("]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===t.text&&">"===this.tag_check&&null!==t.next&&(this.tag_check=t.next.text.split(" ")[0])),this.tag_check=this.tag_check.toLowerCase(),t.type===i.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};p.prototype._get_tag_open_token=function(e){var t=new h(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||l(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&l(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&l(t.tag_check,this._options.content_unformatted),t.is_inline_element=l(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},p.prototype._set_tag_position=function(e,t,n,r,s){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||e.print_newline(!1)),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=u(n.tag_check,t)))),l(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check){this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0;var o=e.current_line_has_match(/{{#if/);o||e.print_newline(!1)}"!--"===n.tag_name&&s.type===i.TAG_CLOSE&&r.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,n))}else if(n.is_end_tag){var a=!1;a=n.start_tag_token&&n.start_tag_token.multiline_content,a=a||!n.is_inline_element&&!(r.is_inline_element||r.is_unformatted)&&!(s.type===i.TAG_CLOSE&&n.start_tag_token===r)&&"TK_CONTENT"!==s.type,(n.is_content_unformatted||n.is_unformatted)&&(a=!1),a&&e.print_newline(!1)}else n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||n.is_unformatted||"TK_CONTENT"===s.type&&!n.is_content_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,n)},p.prototype._calcluate_parent_multiline=function(e,t){!t.parent||!e._output.just_added_newline()||(t.is_inline_element||t.is_unformatted)&&t.parent.is_inline_element||(t.parent.multiline_content=!0)};var f=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],d=["a","audio","del","ins","map","noscript","video"];return p.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=t||this._tag_stack.try_pop("dt",["dl"]),t=t||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==f.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==d.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]),t=t||this._tag_stack.try_pop("rp",["ruby","rtc"])):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?(t=t||this._tag_stack.try_pop("caption",["table"]),t=t||this._tag_stack.try_pop("colgroup",["table"])):"tbody"===e.tag_name||"tfoot"===e.tag_name?(t=t||this._tag_stack.try_pop("caption",["table"]),t=t||this._tag_stack.try_pop("colgroup",["table"]),t=t||this._tag_stack.try_pop("thead",["table"]),t=t||this._tag_stack.try_pop("tbody",["table"])):"tr"===e.tag_name?(t=t||this._tag_stack.try_pop("caption",["table"]),t=t||this._tag_stack.try_pop("colgroup",["table"]),t=t||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):"th"!==e.tag_name&&"td"!==e.tag_name||(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),t=t||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},Do.Beautifier=p,Do}function Ho(){if(Uo)return jo.exports;Uo=1;var e=Xo().Beautifier,t=Bo().Options;function n(t,n,i,r){var s=new e(t,n,i,r);return s.beautify()}return jo.exports=n,jo.exports.defaultOptions=function(){return new t},jo.exports}function qo(){if(Ko)return Ps;Ko=1;var e=Oo(),t=Po(),n=Ho();function i(i,r,s,o){return s=s||e,o=o||t,n(i,r,s,o)}return i.defaultOptions=n.defaultOptions,Ps.js=e,Ps.css=t,Ps.html=i,Ps}(function(e){function t(e,t,n){var i=function(t,n){return e.js_beautify(t,n)};return i.js=e.js_beautify,i.css=t.css_beautify,i.html=n.html_beautify,i.js_beautify=e.js_beautify,i.css_beautify=t.css_beautify,i.html_beautify=n.html_beautify,i}(function(e){var n=qo();n.js_beautify=n.js,n.css_beautify=n.css,n.html_beautify=n.html,e.exports=t(n,n,n)})(e)})(Ms);var Qo=function(e){return"string"===typeof e&&Yo().test(e)};function Yo(){return Fo||(Fo=new RegExp('^[\\s\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"]+$'))} /*! * is-extendable * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */var Jo=function(e){return"undefined"!==typeof e&&null!==e&&("object"===typeof e||"function"===typeof e)},Zo=Jo,ea=function(e){Zo(e)||(e={});for(var t=arguments.length,n=1;n * @license MIT */var ia=function(e){return null!=e&&(ra(e)||sa(e)||!!e._isBuffer)};function ra(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function sa(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&ra(e.slice(0,0))}var oa=ia,aa=Object.prototype.toString,ua=function(e){if("undefined"===typeof e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"===typeof e||e instanceof String)return"string";if("number"===typeof e||e instanceof Number)return"number";if("function"===typeof e||e instanceof Function)return"function";if("undefined"!==typeof Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=aa.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":oa(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"},la=Qo,_a=ea,ca=ua,pa=function(e,t){var n,i=_a({},t),r=i.sep||"\n\n",s=i.min;return"number"===typeof s&&2!==s&&(n=new RegExp("(\\r\\n|\\n|\\u2424) {"+s+",}")),"undefined"===typeof n&&(n=i.regex||/(\r\n|\n|\u2424){2,}/g),!0!==i.keepWhitespace&&(e=e.split("\n").map((function(e){return la(e)?e.trim():e})).join("\n")),e=ha(e,i),e.replace(n,r)};function ha(e,t){var n=t.trailingNewline;if(!1===n)return e;switch(ca(n)){case"string":e=e.replace(/\s+$/,t.trailingNewline);break;case"function":e=t.trailingNewline(e);break;case"undefined":case"boolean":default:e=e.replace(/\s+$/,"\n");break}return e} /*! * pretty * * Copyright (c) 2013-2015, 2017, Jon Schlinkert. * Released under the MIT License. */var fa=Ms.exports,da=pa,ba=ea,ga={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},ma=function(e,t){var n=ba({},ga,t);return e=fa.html(e,n),!0===n.ocd?(n.newlines&&(n.sep=n.newlines),va(e,n)):e};function va(e,t){return da(e,t).replace(/^\s+/g,"").replace(/\s+$/g,"\n").replace(/(\s*