2024-08-29 16:46:41 +08:00
const _ _vite _ _mapDeps = ( i , m = _ _vite _ _mapDeps , d = ( m . f || ( m . f = [ "assets/dagre-CQ6OS2HX-CzgSt5p5.js" , "assets/graph-DqRQLubm.js" , "assets/reduce-Dy0Mg_vr.js" , "assets/layout-DHJhjAvb.js" , "assets/min-DQRx9kam.js" , "assets/json-Bz7oX_8X.js" , "assets/c4Diagram-ZHOUKFWV-ClN79Kac.js" , "assets/chunk-AIUMCIBP-C9dzwxdP.js" , "assets/flowDiagram-TGP4CI55-BcWDSVyD.js" , "assets/chunk-FUIDI54P-BkAyXEu8.js" , "assets/chunk-Z2VRG6XP-JJexuM7d.js" , "assets/channel-DjCi2Dj7.js" , "assets/erDiagram-762WSSOR-FLamAL8C.js" , "assets/gitGraphDiagram-LGD5RUNZ-hKdl52qs.js" , "assets/chunk-JJENOPKO-D7WHNuK7.js" , "assets/chunk-FBCX6ULS-8r4Wj1rd.js" , "assets/gitGraph-F2EDSAW4-COXU65Tl.js" , "assets/ganttDiagram-GAYIUD5S-CZL3k0Al.js" , "assets/linear-D89V9h2V.js" , "assets/init-Gi6I4Gst.js" , "assets/infoDiagram-GSXZ5C4N-p7qnWGsY.js" , "assets/pieDiagram-WEX7LNAG-BSg4Gl0g.js" , "assets/arc-D5zh37vz.js" , "assets/ordinal-Cboi1Yqb.js" , "assets/quadrantDiagram-SRYJ5FP7-48pmDX3u.js" , "assets/xychartDiagram-BZZU7QT5-BUTEoSVH.js" , "assets/requirementDiagram-V7TESSIR-BPPlw9UH.js" , "assets/sequenceDiagram-6SD7JOPP-B95yrbiG.js" , "assets/classDiagram-MQQPYQM5-DOTxLOSF.js" , "assets/chunk-IBIA4ERB-C-clz_ur.js" , "assets/classDiagram-v2-4S5WAI72-Px_jsgNO.js" , "assets/chunk-PDCO53Z4-CLKyb_5r.js" , "assets/stateDiagram-N22R6T2Y-DV-nAAeE.js" , "assets/chunk-SVGOEX7Z-CsyG3RBU.js" , "assets/stateDiagram-v2-QXVA2PVL-BSRJapNX.js" , "assets/journeyDiagram-35ZZFJAM-CN0cUEEC.js" , "assets/timeline-definition-SFF34UE4-Belmhm68.js" , "assets/sankeyDiagram-XVFEVEVI-BxPJMSyZ.js" , "assets/diagram-KYCGQLJB-BNdCW6GV.js" , "assets/blockDiagram-V6UOASA5-BctlB051.js" ] ) ) ) => i . map ( i => d [ i ] ) ;
2024-08-27 22:31:52 +08:00
var ay = Object . defineProperty ; var e1 = re => { throw TypeError ( re ) } ; var oy = ( re , ie , ae ) => ie in re ? ay ( re , ie , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : ae } ) : re [ ie ] = ae ; var Hu = ( re , ie , ae ) => oy ( re , typeof ie != "symbol" ? ie + "" : ie , ae ) , sy = ( re , ie , ae ) => ie . has ( re ) || e1 ( "Cannot " + ae ) ; var t1 = ( re , ie , ae ) => ie . has ( re ) ? e1 ( "Cannot add the same private member more than once" ) : ie instanceof WeakSet ? ie . add ( re ) : ie . set ( re , ae ) ; var H0 = ( re , ie , ae ) => ( sy ( re , ie , "access private method" ) , ae ) ; ( function ( ) { const ie = document . createElement ( "link" ) . relList ; if ( ie && ie . supports && ie . supports ( "modulepreload" ) ) return ; for ( const ue of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) oe ( ue ) ; new MutationObserver ( ue => { for ( const de of ue ) if ( de . type === "childList" ) for ( const pe of de . addedNodes ) pe . tagName === "LINK" && pe . rel === "modulepreload" && oe ( pe ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function ae ( ue ) { const de = { } ; return ue . integrity && ( de . integrity = ue . integrity ) , ue . referrerPolicy && ( de . referrerPolicy = ue . referrerPolicy ) , ue . crossOrigin === "use-credentials" ? de . credentials = "include" : ue . crossOrigin === "anonymous" ? de . credentials = "omit" : de . credentials = "same-origin" , de } function oe ( ue ) { if ( ue . ep ) return ; ue . ep = ! 0 ; const de = ae ( ue ) ; fetch ( ue . href , de ) } } ) ( ) ; const global$1 = globalThis || void 0 || self ; / * *
* @ vue / shared v3 . 4.38
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * //*! #__NO_SIDE_EFFECTS__ */function makeMap(re,ie){const ae=new Set(re.split(","));return oe=>ae.has(oe)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=re=>re.charCodeAt(0)===111&&re.charCodeAt(1)===110&&(re.charCodeAt(2)>122||re.charCodeAt(2)<97),isModelListener=re=>re.startsWith("onUpdate:"),extend$3=Object.assign,remove$1=(re,ie)=>{const ae=re.indexOf(ie);ae>-1&&re.splice(ae,1)},hasOwnProperty$h=Object.prototype.hasOwnProperty,hasOwn$1=(re,ie)=>hasOwnProperty$h.call(re,ie),isArray$2=Array.isArray,isMap$1=re=>toTypeString(re)==="[object Map]",isSet$1=re=>toTypeString(re)==="[object Set]",isDate$1=re=>toTypeString(re)==="[object Date]",isFunction$4=re=>typeof re=="function",isString$3=re=>typeof re=="string",isSymbol$1=re=>typeof re=="symbol",isObject$5=re=>re!==null&&typeof re=="object",isPromise=re=>(isObject$5(re)||isFunction$4(re))&&isFunction$4(re.then)&&isFunction$4(re.catch),objectToString$1=Object.prototype.toString,toTypeString=re=>objectToString$1.call(re),toRawType=re=>toTypeString(re).slice(8,-1),isPlainObject$3=re=>toTypeString(re)==="[object Object]",isIntegerKey=re=>isString$3(re)&&re!=="NaN"&&re[0]!=="-"&&""+parseInt(re,10)===re,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=re=>{const ie=Object.create(null);return ae=>ie[ae]||(ie[ae]=re(ae))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(re=>re.replace(camelizeRE,(ie,ae)=>ae?ae.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate$1=cacheStringFunction(re=>re.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(re=>re.charAt(0).toUpperCase()+re.slice(1)),toHandlerKey=cacheStringFunction(re=>re?`on${capitalize$1(re)}`:""),hasChanged=(re,ie)=>!Object.is(re,ie),invokeArrayFns=(re,...ie)=>{for(let ae=0;ae<re.length;ae++)re[ae](...ie)},def$2=(re,ie,ae,oe=!1)=>{Object.defineProperty(re,ie,{configurable:!0,enumerable:!1,writable:oe,value:ae})},looseToNumber=re=>{const ie=parseFloat(re);return isNaN(ie)?re:ie},toNumber$3=re=>{const ie=isString$3(re)?Number(re):NaN;return isNaN(ie)?re:ie};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global$1<"u"?global$1:{});function normalizeStyle(re){if(isArray$2(re)){const ie={};for(let ae=0;ae<re.length;ae++){const oe=re[ae],ue=isString$3(oe)?parseStringStyle(oe):normalizeStyle(oe);if(ue)for(const de in ue)ie[de]=ue[de]}return ie}else if(isString$3(re)||isObject$5(re))return re}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(re){const ie={};return re.replace(styleCommentRE,"").split(listDelimiterRE).forEach(ae=>{if(ae){const oe=ae.split(propertyDelimiterRE);oe.length>1&&(ie[oe[0].trim()]=oe[1].trim())}}),ie}function normalizeClass(re){let ie="";if(isString$3(re))ie=re;else if(isArray$2(re))for(let ae=0;ae<re.length;ae++){const oe=normalizeClass(re[ae]);oe&&(ie+=oe+" ")}else if(isObject$5(re))for(const ae in re)re[ae]&&(ie+=ae+" ");return ie.trim()}function normalizeProps(re){if(!re)return null;let{class:ie,style:ae}=re;return ie&&!isString$3(ie)&&(re.class=normalizeClass(ie)),ae&&(re.style=normalizeStyle(ae)),re}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(re){return!!re||re===""}function looseCompareArrays(re,ie){if(re.length!==ie.length)return!1;let ae=!0;for(let oe=0;ae&&oe<re.length;oe++)ae=looseEqual(re[oe],ie[oe]);return ae}function looseEqual(re,ie){if(re===ie)return!0;let ae=isDate$1(re),oe=isDate$1(ie);if(ae||oe)return ae&&oe?re.getTime()===ie.getTime():!1;if(ae=isSymbol$1(re),oe=isSymbol$1(ie),ae||oe)return re===ie;if(ae=isArray$2(re),oe=isArray$2(ie),ae||oe)return ae&&oe?looseCompareArrays(re,ie):!1;if(ae=isObject$5(re),oe=isObject$5(ie),ae||oe){if(!ae||!oe)return!1;const ue=Object.keys(re).length,de=Object.keys(ie).length;if(ue!
* @ vue / reactivity v3 . 4.38
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * / l e t a c t i v e E f f e c t S c o p e ; c l a s s E f f e c t S c o p e { c o n s t r u c t o r ( i e = ! 1 ) { t h i s . d e t a c h e d = i e , t h i s . _ a c t i v e = ! 0 , t h i s . e f f e c t s = [ ] , t h i s . c l e a n u p s = [ ] , t h i s . p a r e n t = a c t i v e E f f e c t S c o p e , ! i e & & a c t i v e E f f e c t S c o p e & & ( t h i s . i n d e x = ( a c t i v e E f f e c t S c o p e . s c o p e s | | ( a c t i v e E f f e c t S c o p e . s c o p e s = [ ] ) ) . p u s h ( t h i s ) - 1 ) } g e t a c t i v e ( ) { r e t u r n t h i s . _ a c t i v e } r u n ( i e ) { i f ( t h i s . _ a c t i v e ) { c o n s t a e = a c t i v e E f f e c t S c o p e ; t r y { r e t u r n a c t i v e E f f e c t S c o p e = t h i s , i e ( ) } f i n a l l y { a c t i v e E f f e c t S c o p e = a e } } } o n ( ) { a c t i v e E f f e c t S c o p e = t h i s } o f f ( ) { a c t i v e E f f e c t S c o p e = t h i s . p a r e n t } s t o p ( i e ) { i f ( t h i s . _ a c t i v e ) { l e t a e , o e ; f o r ( a e = 0 , o e = t h i s . e f f e c t s . l e n g t h ; a e < o e ; a e + + ) t h i s . e f f e c t s [ a e ] . s t o p ( ) ; f o r ( a e = 0 , o e = t h i s . c l e a n u p s . l e n g t h ; a e < o e ; a e + + ) t h i s . c l e a n u p s [ a e ] ( ) ; i f ( t h i s . s c o p e s ) f o r ( a e = 0 , o e = t h i s . s c o p e s . l e n g t h ; a e < o e ; a e + + ) t h i s . s c o p e s [ a e ] . s t o p ( ! 0 ) ; i f ( ! t h i s . d e t a c h e d & & t h i s . p a r e n t & & ! i e ) { c o n s t u e = t h i s . p a r e n t . s c o p e s . p o p ( ) ; u e & & u e ! = = t h i s & & ( t h i s . p a r e n t . s c o p e s [ t h i s . i n d e x ] = u e , u e . i n d e x = t h i s . i n d e x ) } t h i s . p a r e n t = v o i d 0 , t h i s . _ a c t i v e = ! 1 } } } f u n c t i o n e f f e c t S c o p e ( r e ) { r e t u r n n e w E f f e c t S c o p e ( r e ) } f u n c t i o n r e c o r d E f f e c t S c o p e ( r e , i e = a c t i v e E f f e c t S c o p e ) { i e & & i e . a c t i v e & & i e . e f f e c t s . p u s h ( r e ) } f u n c t i o n g e t C u r r e n t S c o p e ( ) { r e t u r n a c t i v e E f f e c t S c o p e } f u n c t i o n o n S c o p e D i s p o s e ( r e ) { a c t i v e E f f e c t S c o p e & & a c t i v e E f f e c t S c o p e . c l e a n u p s . p u s h ( r e ) } l e t a c t i v e E f f e c t ; c l a s s R e a c t i v e E f f e c t { c o n s t r u c t o r ( i e , a e , o e , u e ) { t h i s . f n = i e , t h i s . t r i g g e r = a e , t h i s . s c h e d u l e r = o e , t h i s . a c t i v e = ! 0 , t h i s . d e p s = [ ] , t h i s . _ d i r t y L e v e l = 4 , t h i s . _ t r a c k I d = 0 , t h i s . _ r u n n i n g s = 0 , t h i s . _ s h o u l d S c h e d u l e = ! 1 , t h i s . _ d e p s L e n g t h = 0 , r e c o r d E f f e c t S c o p e ( t h i s , u e ) } g e t d i r t y ( ) { i f ( t h i s . _ d i r t y L e v e l = = = 2 | | t h i s . _ d i r t y L e v e l = = = 3 ) { t h i s . _ d i r t y L e v e l = 1 , p a u s e T r a c k i n g ( ) ; f o r ( l e t i e = 0 ; i e < t h i s . _ d e p s L e n g t h ; i e + + ) { c o n s t a e = t h i s . d e p s [ i e ] ; i f ( a e . c o m p u t e d & & ( t r i g g e r C o m p u t e d ( a e . c o m p u t e d ) , t h i s . _ d i r t y L e v e l > = 4 ) ) b r e a k } t h i s . _ d i r t y L e v e l = = = 1 & & ( t h i s . _ d i r t y L e v e l = 0 ) , r e s e t T r a c k i n g ( ) } r e t u r n t h i s . _ d i r t y L e v e l > = 4 } s e t d i r t y ( i e ) { t h i s . _ d i r t y L e v e l = i e ? 4 : 0 } r u n ( ) { i f ( t h i s . _ d i r t y L e v e l = 0 , ! t h i s . a c t i v e ) r e t u r n t h i s . f n ( ) ; l e t i e = s h o u l d T r a c k , a e = a c t i v e E f f e c t ; t r y { r e t u r n s h o u l d T r a c k = ! 0 , a c t i v e E f f e c t = t h i s , t h i s . _ r u n n i n g s + + , p r e C l e a n u p E f f e c t ( t h i s ) , t h i s . f n ( ) } f i n a l l y { p o s t C l e a n u p E f f e c t ( t h i s ) , t h i s . _ r u n n i n g s - - , a c t i v e E f f e c t = a e , s h o u l d T r a c k = i e } } s t o p ( ) { t h i s . a c t i v e & & ( p r e C l e a n u p E f f e c t ( t h i s ) , p o s t C l e a n u p E f f e c t ( t h i s ) , t h i s . o n S t o p & & t h i s . o n S t o p ( ) , t h i s . a c t i v e = ! 1 ) } } f u n c t i o n t r i g g e r C o m p u t e d ( r e ) { r e t u r n r e . v a l u e } f u n c t i o n p r e C l e a n u p E f f e c t ( r e ) { r e . _ t r a c k I d + + , r e . _ d e p s L e n g t h = 0 } f u n c t i o n p o s t C l e a n u p E f f e c t ( r e ) { i f ( r e . d e p s . l e n g t h > r e . _ d e p s L e n g t h ) { f o r ( l e t i e = r e . _ d e p s L e n g t h ; i e < r e . d e p s . l e n g t h ; i e + + ) c l e a n u p D e p E f f e c t ( r e . d e p s [ i e ] , r e ) ; r e . d e p s . l e n g t h = r e . _ d e p s L e n g t h } } f u n c t i o n c l e a n u p D e p E f f e c t ( r e , i e ) { c o n s t a e = r e . g e t ( i e ) ; a e ! = = v o i d 0 & & i e . _ t r a c k I d ! = = a e & & ( r e . d e l e t e ( i e ) , r e . s i z e = = = 0 & & r e . c l e a n u p ( ) ) } l e t s h o u l d T r a c k = ! 0 , p a u s e S c h e d u l e S t a c k = 0 ; c o n s t t r a c k S t a c k = [ ] ; f u n c t i o n p a u s e T r a c k i n g ( ) { t r a c k S t a c k . p u s h ( s h o u l d T r a c k ) , s h o u l d T r a c k = ! 1 } f u n c t i o n r e s e t T r a c k i n g ( ) { c o n s t r e = t r a c k S t a c k . p o p ( ) ; s h o u l d T r a c k = r e = = = v o i d 0 ? ! 0 : r e } f u n c t i o n p a u s e S c h e d u l i n g ( ) { p a u s e S c h e d u l e S t a c k + + } f u n c t i o n r e s e t S c h e d u l i n g ( ) { f o r ( p a u s e S c h e d u l e S t a c k - - ; ! p a u s e S c h e d u l e S t a c k & & q u e u e E f f e c t S c h e d u l e r s . l e n g t h ; ) q u e u e E f f e c t S c h e d u l e r s . s h i f t ( ) ( ) } f u n c t i o n t r a c k E f f e c t ( r e , i e , a e ) { i f ( i e . g e t ( r e ) ! = = r e . _ t r a c k I d ) { i e . s e t ( r e , r e . _ t r a c k I d ) ; c o n s t o e = r e . d e p s [ r e . _ d e p s L e n g t h ] ; o e ! = = i e ? ( o e & & c l e a n u p D e p E f f e c t ( o e , r e ) , r e . d e p s [ r e . _ d e p s L e n g t h + + ] = i e ) : r e . _ d e p s L e n g t h + + } } c o n s t q u e u e E f f e c t S c h e d u l e r s = [ ] ; f u n c t i o n t r i g g e r E f f e c t s ( r e , i e , a e ) { p a u s e S c h e d u l i n g ( ) ; f o r ( c o n s t o e o f r e . k e y s ( ) ) { l e t u e ; o e . _ d i r t y L e v e l < i e & & ( u e ? ? ( u e = r e . g e t ( o e ) = = = o e . _ t r a c k I d ) ) & & ( o e . _ s h o u l d S c h e d u l e | | ( o e . _ s h o u l d S c h e d u l e = o e . _ d i r t y L e v e l = = = 0 ) , o e . _ d i r t y L e v e l = i e ) , o e . _ s h o u l d S c h e d u l e & & ( u e ? ? ( u e = r e . g e t ( o e ) = = = o e . _ t r a c k I d ) ) & & ( o e . t r i g g e r ( ) , ( ! o e . _ r u n n i n g s | | o e . a l l o w R e c u r s e ) & & o e . _ d i r t y L e v e l ! = = 2 & & ( o e . _ s h o u l d S c h e d u l e = ! 1 , o e . s c h e d u l e r & & q u e u e E f f e c t S c h e d u l e r s . p u s h ( o e . s c h e d u l e r ) ) ) } r e s e t S c h e d u l i n g ( ) } c o n s t c r e a t e D e p = ( r e , i e ) = > { c o n s t a e = n e w M a p ; r e t u r n a e . c l e a n u p = r e , a e . c o m p u t e d = i e , a e } , t a r g e t M a p = n e w W e a k M a p , I T E R A T E _ K E Y = S y m b o l ( " " ) , M A P _ K E Y _ I T E R A T E _ K E Y = S y m b o l ( " " ) ; f u n c t i o n t r a c k ( r e , i e , a e ) { i f ( s h o u l d T r a c k & & a c t i v e E f f e c t ) { l e t o e = t a r g e t M a p . g e t ( r e ) ; o e | | t a r g e t M a p . s e t ( r e , o e = n e w M a p ) ; l e t u e = o e . g e t ( a e ) ; u e | | o e . s e t ( a e , u e = c r e a t e D e p ( ( ) = > o e . d e l e t e ( a e ) ) ) , t r a c k E f f e c t ( a c t i v e E f f e c t , u e ) } } f u n c t i o n t r i g g e r ( r e , i e , a e , o e , u e , d e ) { c o n s t p e = t a r g e t M a p . g e t ( r e ) ; i f ( ! p e )
* @ vue / runtime - core v3 . 4.38
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * / c o n s t s t a c k = [ ] ; l e t i s W a r n i n g = ! 1 ; f u n c t i o n w a r n $ 1 ( r e , . . . i e ) { i f ( i s W a r n i n g ) r e t u r n ; i s W a r n i n g = ! 0 , p a u s e T r a c k i n g ( ) ; c o n s t a e = s t a c k . l e n g t h ? s t a c k [ s t a c k . l e n g t h - 1 ] . c o m p o n e n t : n u l l , o e = a e & & a e . a p p C o n t e x t . c o n f i g . w a r n H a n d l e r , u e = g e t C o m p o n e n t T r a c e ( ) ; i f ( o e ) c a l l W i t h E r r o r H a n d l i n g ( o e , a e , 1 1 , [ r e + i e . m a p ( d e = > { v a r p e , _ e ; r e t u r n ( _ e = ( p e = d e . t o S t r i n g ) = = n u l l ? v o i d 0 : p e . c a l l ( d e ) ) ! = n u l l ? _ e : J S O N . s t r i n g i f y ( d e ) } ) . j o i n ( " " ) , a e & & a e . p r o x y , u e . m a p ( ( { v n o d e : d e } ) = > ` a t < $ { f o r m a t C o m p o n e n t N a m e ( a e , d e . t y p e ) } > ` ) . j o i n ( `
` ),ue]);else{const de=[ ` [ Vue warn ] : $ { re } ` ,...ie];ue.length&&de.push( `
` ,...formatTrace(ue)),console.warn(...de)}resetTracking(),isWarning=!1}function getComponentTrace(){let re=stack[stack.length-1];if(!re)return[];const ie=[];for(;re;){const ae=ie[0];ae&&ae.vnode===re?ae.recurseCount++:ie.push({vnode:re,recurseCount:0});const oe=re.component&&re.component.parent;re=oe&&oe.vnode}return ie}function formatTrace(re){const ie=[];return re.forEach((ae,oe)=>{ie.push(...oe===0?[]:[ `
` ],...formatTraceEntry(ae))}),ie}function formatTraceEntry({vnode:re,recurseCount:ie}){const ae=ie>0? ` ... ( $ { ie } recursive calls ) ` :"",oe=re.component?re.component.parent==null:!1,ue= ` at < $ { formatComponentName ( re . component , re . type , oe ) } ` ,de=">"+ae;return re.props?[ue,...formatProps(re.props),de]:[ue+de]}function formatProps(re){const ie=[],ae=Object.keys(re);return ae.slice(0,3).forEach(oe=>{ie.push(...formatProp(oe,re[oe]))}),ae.length>3&&ie.push(" ..."),ie}function formatProp(re,ie,ae){return isString $ 3(ie)?(ie=JSON.stringify(ie),ae?ie:[ ` $ { re } = $ { ie } ` ]):typeof ie=="number"||typeof ie=="boolean"||ie==null?ae?ie:[ ` $ { re } = $ { ie } ` ]:isRef(ie)?(ie=formatProp(re,toRaw(ie.value),!0),ae?ie:[ ` $ { re } = Ref < ` ,ie,">"]):isFunction $ 4(ie)?[ ` $ { re } = fn$ { ie . name ? ` < ${ ie . name } > ` : "" } ` ]:(ie=toRaw(ie),ae?ie:[ ` $ { re } = ` ,ie])}function callWithErrorHandling(re,ie,ae,oe){try{return oe?re(...oe):re()}catch(ue){handleError $ 1(ue,ie,ae)}}function callWithAsyncErrorHandling(re,ie,ae,oe){if(isFunction $ 4(re)){const ue=callWithErrorHandling(re,ie,ae,oe);return ue&&isPromise(ue)&&ue.catch(de=>{handleError $ 1(de,ie,ae)}),ue}if(isArray $ 2(re)){const ue=[];for(let de=0;de<re.length;de++)ue.push(callWithAsyncErrorHandling(re[de],ie,ae,oe));return ue}}function handleError $ 1(re,ie,ae,oe=!0){const ue=ie?ie.vnode:null;if(ie){let de=ie.parent;const pe=ie.proxy,_e= ` https : //vuejs.org/error-reference/#runtime-${ae}`;for(;de;){const Ne=de.ec;if(Ne){for(let Oe=0;Oe<Ne.length;Oe++)if(Ne[Oe](re,pe,_e)===!1)return}de=de.parent}const Ce=ie.appContext.config.errorHandler;if(Ce){pauseTracking(),callWithErrorHandling(Ce,null,10,[re,pe,_e]),resetTracking();return}}logError(re,ae,ue,oe)}function logError(re,ie,ae,oe=!0){console.error(re)}let isFlushing=!1,isFlushPending=!1;const queue$2=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick$1(re){const ie=currentFlushPromise||resolvedPromise;return re?ie.then(this?re.bind(this):re):ie}function findInsertionIndex(re){let ie=flushIndex+1,ae=queue$2.length;for(;ie<ae;){const oe=ie+ae>>>1,ue=queue$2[oe],de=getId(ue);de<re||de===re&&ue.pre?ie=oe+1:ae=oe}return ie}function queueJob(re){(!queue$2.length||!queue$2.includes(re,isFlushing&&re.allowRecurse?flushIndex+1:flushIndex))&&(re.id==null?queue$2.push(re):queue$2.splice(findInsertionIndex(re.id),0,re),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(re){const ie=queue$2.indexOf(re);ie>flushIndex&&queue$2.splice(ie,1)}function queuePostFlushCb(re){isArray$2(re)?pendingPostFlushCbs.push(...re):(!activePostFlushCbs||!activePostFlushCbs.includes(re,re.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(re),queueFlush()}function flushPreFlushCbs(re,ie,ae=isFlushing?flushIndex+1:0){for(;ae<queue$2.length;ae++){const oe=queue$2[ae];if(oe&&oe.pre){if(re&&oe.id!==re.uid)continue;queue$2.splice(ae,1),ae--,oe()}}}function flushPostFlushCbs(re){if(pendingPostFlushCbs.length){const ie=[...new Set(pendingPostFlushCbs)].sort((ae,oe)=>getId(ae)-getId(oe));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...ie);return}for(activePostFlushCbs=ie,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const ae=activePostFlushCbs[postFlushIndex];ae.active!==!1&&ae()}activePostFlushCbs=null,postFlushIndex=0}}const getId=re=>re.id==null?1/0:re.id,comparator=(re,ie)=>{const ae=getId(re)-getId(ie);if(ae===0){if(re.pre&&!ie.pre)return-1;if(ie.pre&&!re.pre)return 1}return ae};function flushJobs(re){isFlushPending=!1,isFlushing=!0,queue$2.sort(comparator);try{for(flushIndex=0;flushIndex<queue$2.length;flushIndex++){const ie=queue$2[flushIndex];ie&&ie.active!==!1&&callWithErrorHandling(ie,ie.i,ie.i?15:14)}}finally{flushIndex=0,queue$2.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$2.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function
* @ vue / runtime - dom v3 . 4.38
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * /const svgNS="http:/ / www . w3 . org / 2000 / svg ",mathmlNS=" http : //www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(re,ie,ae)=>{ie.insertBefore(re,ae||null)},remove:re=>{const ie=re.parentNode;ie&&ie.removeChild(re)},createElement:(re,ie,ae,oe)=>{const ue=ie==="svg"?doc.createElementNS(svgNS,re):ie==="mathml"?doc.createElementNS(mathmlNS,re):ae?doc.createElement(re,{is:ae}):doc.createElement(re);return re==="select"&&oe&&oe.multiple!=null&&ue.setAttribute("multiple",oe.multiple),ue},createText:re=>doc.createTextNode(re),createComment:re=>doc.createComment(re),setText:(re,ie)=>{re.nodeValue=ie},setElementText:(re,ie)=>{re.textContent=ie},parentNode:re=>re.parentNode,nextSibling:re=>re.nextSibling,querySelector:re=>doc.querySelector(re),setScopeId(re,ie){re.setAttribute(ie,"")},insertStaticContent(re,ie,ae,oe,ue,de){const pe=ae?ae.previousSibling:ie.lastChild;if(ue&&(ue===de||ue.nextSibling))for(;ie.insertBefore(ue.cloneNode(!0),ae),!(ue===de||!(ue=ue.nextSibling)););else{templateContainer.innerHTML=oe==="svg"?`<svg>${re}</svg>`:oe==="mathml"?`<math>${re}</math>`:re;const _e=templateContainer.content;if(oe==="svg"||oe==="mathml"){const Ce=_e.firstChild;for(;Ce.firstChild;)_e.appendChild(Ce.firstChild);_e.removeChild(Ce)}ie.insertBefore(_e,ae)}return[pe?pe.nextSibling:ie.firstChild,ae?ae.previousSibling:ie.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition$1=(re,{slots:ie})=>h$2(BaseTransition,resolveTransitionProps(re),ie);Transition$1.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition$1.props=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(re,ie=[])=>{isArray$2(re)?re.forEach(ae=>ae(...ie)):re&&re(...ie)},hasExplicitCallback=re=>re?isArray$2(re)?re.some(ie=>ie.length>1):re.length>1:!1;function resolveTransitionProps(re){const ie={};for(const dr in re)dr in DOMTransitionPropsValidators||(ie[dr]=re[dr]);if(re.css===!1)return ie;const{name:ae="v",type:oe,duration:ue,enterFromClass:de=`${ae}-enter-from`,enterActiveClass:pe=`${ae}-enter-active`,enterToClass:_e=`${ae}-enter-to`,appearFromClass:Ce=de,appearActiveClass:Ne=pe,appearToClass:Oe=_e,leaveFromClass:Ie=`${ae}-leave-from`,leaveActiveClass:Fe=`${ae}-leave-active`,leaveToClass:Ue=`${ae}-leave-to`}=re,Ve=normalizeDuration(ue),ze=Ve&&Ve[0],jt=Ve&&Ve[1],{onBeforeEnter:kt,onEnter:Pt,onEnterCancelled:Et,onLeave:er,onLeaveCancelled:tr,onBeforeAppear:nr=kt,onAppear:lr=Pt,onAppearCancelled:cr=Et}=ie,ir=(dr,fr,_r)=>{removeTransitionClass(dr,fr?Oe:_e),removeTransitionClass(dr,fr?Ne:pe),_r&&_r()},ar=(dr,fr)=>{dr._isLeaving=!1,removeTransitionClass(dr,Ie),removeTransitionClass(dr,Ue),removeTransitionClass(dr,Fe),fr&&fr()},sr=dr=>(fr,_r)=>{const mr=dr?lr:Pt,Er=()=>ir(fr,dr,_r);callHook(mr,[fr,Er]),nextFrame(()=>{removeTransitionClass(fr,dr?Ce:de),addTransitionClass(fr,dr?Oe:_e),hasExplicitCallback(mr)||whenTransitionEnds(fr,oe,ze,Er)})};return extend$3(ie,{onBeforeEnter(dr){callHook(kt,[dr]),addTransitionClass(dr,de),addTransitionClass(dr,pe)},onBeforeAppear(dr){callHook(nr,[dr]),addTransitionClass(dr,Ce),addTransitionClass(dr,Ne)},onEnter:sr(!1),onAppear:sr(!0),onLeave(dr,fr){dr._isLeaving=!0;const _r=()=>ar(dr,fr);addTransitionClass(dr,Ie),addTransitionClass(dr,Fe),forceReflow(),nextFrame(()=>{dr._isLeaving&&(removeTransitionClass(dr,Ie),addTransitionClass(dr,Ue),hasExplicitCallback(er)||whenTransitionEnds(dr,oe,jt,_r))}),callHook(er,[dr,_r])},onEnterCancelled(dr){ir(dr,!1),callHook(Et,[dr])},onAppearCancelled(dr){ir(dr,!0),callHook(cr,[dr])},onLeaveCancelled(dr){ar(dr),callHook(tr,[dr])}})}function normalizeDuration(re){if(re==null)return null;if(isObject$5(re))return[NumberOf(re.enter),NumberOf(re.
` ).map(ue=>{const de=ue.match(/^ \s +/);if(de===null)return ue;const[pe]=de;return pe.length>=oe.length?ue.slice(oe.length):ue}).join( `
` )}let _Tokenizer $ 1=class{constructor(ie){Hu(this,"options");Hu(this,"rules");Hu(this,"lexer");this.options=ie||_defaults $ 1}space(ie){const ae=this.rules.block.newline.exec(ie);if(ae&&ae[0].length>0)return{type:"space",raw:ae[0]}}code(ie){const ae=this.rules.block.code.exec(ie);if(ae){const oe=ae[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:ae[0],codeBlockStyle:"indented",text:this.options.pedantic?oe:rtrim $ 1(oe, `
` )}}}fences(ie){const ae=this.rules.block.fences.exec(ie);if(ae){const oe=ae[0],ue=indentCodeCompensation $ 1(oe,ae[3]||"");return{type:"code",raw:oe,lang:ae[2]?ae[2].trim().replace(this.rules.inline.anyPunctuation," $ 1"):ae[2],text:ue}}}heading(ie){const ae=this.rules.block.heading.exec(ie);if(ae){let oe=ae[2].trim();if(/# $ /.test(oe)){const ue=rtrim $ 1(oe,"#");(this.options.pedantic||!ue||/ $ /.test(ue))&&(oe=ue.trim())}return{type:"heading",raw:ae[0],depth:ae[1].length,text:oe,tokens:this.lexer.inline(oe)}}}hr(ie){const ae=this.rules.block.hr.exec(ie);if(ae)return{type:"hr",raw:rtrim $ 1(ae[0], `
` )}}blockquote(ie){const ae=this.rules.block.blockquote.exec(ie);if(ae){let oe=rtrim $ 1(ae[0], `
` ).split( `
` ),ue="",de="";const pe=[];for(;oe.length>0;){let _e=!1;const Ce=[];let Ne;for(Ne=0;Ne<oe.length;Ne++)if(/^ {0,3}>/.test(oe[Ne]))Ce.push(oe[Ne]),_e=!0;else if(!_e)Ce.push(oe[Ne]);else break;oe=oe.slice(Ne);const Oe=Ce.join( `
` ),Ie=Oe.replace(/ \n {0,3}((?:=+|-+) *)(?= \n | $ )/g, `
$1 ` ).replace(/^ {0,3}>[ \t ]?/gm,"");ue=ue? ` $ { ue }
$ { Oe } ` :Oe,de=de? ` $ { de }
$ { Ie } ` :Ie;const Fe=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(Ie,pe,!0),this.lexer.state.top=Fe,oe.length===0)break;const Ue=pe[pe.length-1];if((Ue==null?void 0:Ue.type)==="code")break;if((Ue==null?void 0:Ue.type)==="blockquote"){const Ve=Ue,ze=Ve.raw+ `
` +oe.join( `
` ),jt=this.blockquote(ze);pe[pe.length-1]=jt,ue=ue.substring(0,ue.length-Ve.raw.length)+jt.raw,de=de.substring(0,de.length-Ve.text.length)+jt.text;break}else if((Ue==null?void 0:Ue.type)==="list"){const Ve=Ue,ze=Ve.raw+ `
` +oe.join( `
` ),jt=this.list(ze);pe[pe.length-1]=jt,ue=ue.substring(0,ue.length-Ue.raw.length)+jt.raw,de=de.substring(0,de.length-Ve.raw.length)+jt.raw,oe=ze.substring(pe[pe.length-1].raw.length).split( `
` );continue}}return{type:"blockquote",raw:ue,tokens:pe,text:de}}}list(ie){let ae=this.rules.block.list.exec(ie);if(ae){let oe=ae[1].trim();const ue=oe.length>1,de={type:"list",raw:"",ordered:ue,start:ue?+oe.slice(0,-1):"",loose:!1,items:[]};oe=ue? ` \ \ d { 1 , 9 } \ \ $ { oe . slice ( - 1 ) } ` : ` \ \ $ { oe } ` ,this.options.pedantic&&(oe=ue?oe:"[*+-]");const pe=new RegExp( ` ^ ( { 0 , 3 } $ { oe } ) ( ( ? : [ ] [ ^ \ \ n ] * ) ? ( ? : \ \ n | $ ) ) ` );let _e=!1;for(;ie;){let Ce=!1,Ne="",Oe="";if(!(ae=pe.exec(ie))||this.rules.block.hr.test(ie))break;Ne=ae[0],ie=ie.substring(Ne.length);let Ie=ae[2].split( `
` ,1)[0].replace(/^ \t +/,kt=>" ".repeat(3*kt.length)),Fe=ie.split( `
` ,1)[0],Ue=!Ie.trim(),Ve=0;if(this.options.pedantic?(Ve=2,Oe=Ie.trimStart()):Ue?Ve=ae[1].length+1:(Ve=ae[2].search(/[^ ]/),Ve=Ve>4?1:Ve,Oe=Ie.slice(Ve),Ve+=ae[1].length),Ue&&/^ * $ /.test(Fe)&&(Ne+=Fe+ `
` ,ie=ie.substring(Fe.length+1),Ce=!0),!Ce){const kt=new RegExp( ` ^ { 0 , $ { Math . min ( 3 , Ve - 1 ) } } ( ? : [ * + - ] | \ \ d { 1 , 9 } [ . ) ] ) ( ( ? : [ ] [ ^ \ \ n ] * ) ? ( ? : \ \ n | $ ) ) ` ),Pt=new RegExp( ` ^ { 0 , $ { Math . min ( 3 , Ve - 1 ) } } ( ( ? : - * ) { 3 , } | ( ? : _ * ) { 3 , } | ( ? : \ \ * * ) { 3 , } ) ( ? : \ \ n + | $ ) ` ),Et=new RegExp( ` ^ { 0 , $ { Math . min ( 3 , Ve - 1 ) } } ( ? : \ ` \` \` |~~~) ` ) , er = new RegExp ( ` ^ {0, ${ Math . min ( 3 , Ve - 1 ) } }# ` ) ; for ( ; ie ; ) { const tr = ie . split ( `
` ,1)[0];if(Fe=tr,this.options.pedantic&&(Fe=Fe.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Et.test(Fe)||er.test(Fe)||kt.test(Fe)||Pt.test(ie))break;if(Fe.search(/[^ ]/)>=Ve||!Fe.trim())Oe+= `
` +Fe.slice(Ve);else{if(Ue||Ie.search(/[^ ]/)>=4||Et.test(Ie)||er.test(Ie)||Pt.test(Ie))break;Oe+= `
` +Fe}!Ue&&!Fe.trim()&&(Ue=!0),Ne+=tr+ `
` ,ie=ie.substring(tr.length+1),Ie=Fe.slice(Ve)}}de.loose||(_e?de.loose=!0:/ \n * \n * $ /.test(Ne)&&(_e=!0));let ze=null,jt;this.options.gfm&&(ze=/^ \[ [ xX] \] /.exec(Oe),ze&&(jt=ze[0]!=="[ ] ",Oe=Oe.replace(/^ \[ [ xX] \] +/,""))),de.items.push({type:"list_item",raw:Ne,task:!!ze,checked:jt,loose:!1,text:Oe,tokens:[]}),de.raw+=Ne}de.items[de.items.length-1].raw=de.items[de.items.length-1].raw.trimEnd(),de.items[de.items.length-1].text=de.items[de.items.length-1].text.trimEnd(),de.raw=de.raw.trimEnd();for(let Ce=0;Ce<de.items.length;Ce++)if(this.lexer.state.top=!1,de.items[Ce].tokens=this.lexer.blockTokens(de.items[Ce].text,[]),!de.loose){const Ne=de.items[Ce].tokens.filter(Ie=>Ie.type==="space"),Oe=Ne.length>0&&Ne.some(Ie=>/ \n .* \n /.test(Ie.raw));de.loose=Oe}if(de.loose)for(let Ce=0;Ce<de.items.length;Ce++)de.items[Ce].loose=!0;return de}}html(ie){const ae=this.rules.block.html.exec(ie);if(ae)return{type:"html",block:!0,raw:ae[0],pre:ae[1]==="pre"||ae[1]==="script"||ae[1]==="style",text:ae[0]}}def(ie){const ae=this.rules.block.def.exec(ie);if(ae){const oe=ae[1].toLowerCase().replace(/ \s +/g," "),ue=ae[2]?ae[2].replace(/^<(.*)> $ /," $ 1").replace(this.rules.inline.anyPunctuation," $ 1"):"",de=ae[3]?ae[3].substring(1,ae[3].length-1).replace(this.rules.inline.anyPunctuation," $ 1"):ae[3];return{type:"def",tag:oe,raw:ae[0],href:ue,title:de}}}table(ie){const ae=this.rules.block.table.exec(ie);if(!ae||!/[:|]/.test(ae[2]))return;const oe=splitCells $ 1(ae[1]),ue=ae[2].replace(/^ \| | \| * $ /g,"").split("|"),de=ae[3]&&ae[3].trim()?ae[3].replace(/ \n [ \t ]* $ /,"").split( `
` ):[],pe={type:"table",raw:ae[0],header:[],align:[],rows:[]};if(oe.length===ue.length){for(const _e of ue)/^ *-+: * $ /.test(_e)?pe.align.push("right"):/^ *:-+: * $ /.test(_e)?pe.align.push("center"):/^ *:-+ * $ /.test(_e)?pe.align.push("left"):pe.align.push(null);for(let _e=0;_e<oe.length;_e++)pe.header.push({text:oe[_e],tokens:this.lexer.inline(oe[_e]),header:!0,align:pe.align[_e]});for(const _e of de)pe.rows.push(splitCells $ 1(_e,pe.header.length).map((Ce,Ne)=>({text:Ce,tokens:this.lexer.inline(Ce),header:!1,align:pe.align[Ne]})));return pe}}lheading(ie){const ae=this.rules.block.lheading.exec(ie);if(ae)return{type:"heading",raw:ae[0],depth:ae[2].charAt(0)==="="?1:2,text:ae[1],tokens:this.lexer.inline(ae[1])}}paragraph(ie){const ae=this.rules.block.paragraph.exec(ie);if(ae){const oe=ae[1].charAt(ae[1].length-1)=== `
` ?ae[1].slice(0,-1):ae[1];return{type:"paragraph",raw:ae[0],text:oe,tokens:this.lexer.inline(oe)}}}text(ie){const ae=this.rules.block.text.exec(ie);if(ae)return{type:"text",raw:ae[0],text:ae[0],tokens:this.lexer.inline(ae[0])}}escape(ie){const ae=this.rules.inline.escape.exec(ie);if(ae)return{type:"escape",raw:ae[0],text:escape $ 1 $ 2(ae[1])}}tag(ie){const ae=this.rules.inline.tag.exec(ie);if(ae)return!this.lexer.state.inLink&&/^<a /i.test(ae[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^< \/ a>/i.test(ae[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)( \s |>)/i.test(ae[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^< \/ (pre|code|kbd|script)( \s |>)/i.test(ae[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:ae[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:ae[0]}}link(ie){const ae=this.rules.inline.link.exec(ie);if(ae){const oe=ae[2].trim();if(!this.options.pedantic&&/^</.test(oe)){if(!/> $ /.test(oe))return;const pe=rtrim $ 1(oe.slice(0,-1)," \\ ");if((oe.length-pe.length)%2===0)return}else{const pe=findClosingBracket $ 1(ae[2],"()");if(pe>-1){const Ce=(ae[0].indexOf("!")===0?5:4)+ae[1].length+pe;ae[2]=ae[2].substring(0,pe),ae[0]=ae[0].substring(0,Ce).trim(),ae[3]=""}}let ue=ae[2],de="";if(this.options.pedantic){const pe=/^([^'"]*[^ \s ]) \s +(['"])(.*) \2 /.exec(ue);pe&&(ue=pe[1],de=pe[3])}else de=ae[3]?ae[3].slice(1,-1):"";return ue=ue.trim(),/^</.test(ue)&&(this.options.pedantic&&!/> $ /.test(oe)?ue=ue.slice(1):ue=ue.slice(1,-1)),outputLink $ 1(ae,{href:ue&&ue.replace(this.rules.inline.anyPunctuation," $ 1"),title:de&&de.replace(this.rules.inline.anyPunctuation," $ 1")},ae[0],this.lexer)}}reflink(ie,ae){let oe;if((oe=this.rules.inline.reflink.exec(ie))||(oe=this.rules.inline.nolink.exec(ie))){const ue=(oe[2]||oe[1]).replace(/ \s +/g," "),de=ae[ue.toLowerCase()];if(!de){const pe=oe[0].charAt(0);return{type:"text",raw:pe,text:pe}}return outputLink $ 1(oe,de,oe[0],this.lexer)}}emStrong(ie,ae,oe=""){let ue=this.rules.inline.emStrongLDelim.exec(ie);if(!ue||ue[3]&&oe.match(/[ \p {L} \p {N}]/u))return;if(!(ue[1]||ue[2]||"")||!oe||this.rules.inline.punctuation.exec(oe)){const pe=[...ue[0]].length-1;let _e,Ce,Ne=pe,Oe=0;const Ie=ue[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Ie.lastIndex=0,ae=ae.slice(-1*ie.length+pe);(ue=Ie.exec(ae))!=null;){if(_e=ue[1]||ue[2]||ue[3]||ue[4]||ue[5]||ue[6],!_e)continue;if(Ce=[..._e].length,ue[3]||ue[4]){Ne+=Ce;continue}else if((ue[5]||ue[6])&&pe%3&&!((pe+Ce)%3)){Oe+=Ce;continue}if(Ne-=Ce,Ne>0)continue;Ce=Math.min(Ce,Ce+Ne+Oe);const Fe=[...ue[0]][0].length,Ue=ie.slice(0,pe+ue.index+Fe+Ce);if(Math.min(pe,Ce)%2){const ze=Ue.slice(1,-1);return{type:"em",raw:Ue,text:ze,tokens:this.lexer.inlineTokens(ze)}}const Ve=Ue.slice(2,-2);return{type:"strong",raw:Ue,text:Ve,tokens:this.lexer.inlineTokens(Ve)}}}}codespan(ie){const ae=this.rules.inline.code.exec(ie);if(ae){let oe=ae[2].replace(/ \n /g," ");const ue=/[^ ]/.test(oe),de=/^ /.test(oe)&&/ $ /.test(oe);return ue&&de&&(oe=oe.substring(1,oe.length-1)),oe=escape $ 1 $ 2(oe,!0),{type:"codespan",raw:ae[0],text:oe}}}br(ie){const ae=this.rules.inline.br.exec(ie);if(ae)return{type:"br",raw:ae[0]}}del(ie){const ae=this.rules.inline.del.exec(ie);if(ae)return{type:"del",raw:ae[0],text:ae[2],tokens:this.lexer.inlineTokens(ae[2])}}autolink(ie){const ae=this.rules.inline.autolink.exec(ie);if(ae){let oe,ue;return ae[2]==="@"?(oe=escape $ 1 $ 2(ae[1]),ue="mailto:"+oe):(oe=escape $ 1 $ 2(ae[1]),ue=oe),{type:"link",raw:ae[0],text:oe,href:ue,tokens:[{type:"text",raw:oe,text:oe}]}}}url(ie){var oe;let ae;if(ae=this.rules.inline.url.exec(ie)){let ue,de;if(ae[2]==="@")ue=escape $ 1 $ 2(ae[0]),de="mailto:"+ue;else{let pe;do pe=ae[0],ae[0]=((oe=this.rules.inline._backpedal.exec(ae[0]))==null?void 0:oe[0])??"";while(pe!==ae[0]);ue=escape $ 1 $ 2(ae[0]),ae[1]==="www."?de="http://"+ae[0]:de=ae[0]}return{type:"link",raw:ae[0],text:ue,href:de,tokens:[{type:"text",raw:ue,text:ue}]}}}inlineText(ie){const ae=this.rules.inline.text.exec(ie);if(ae){let oe;return this.lexer.state.inRawBl
] ` ).replace("lheading",lheading $ 1).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape $ 5=/^ \\ ([!"# $ %&'()*+, \- ./:;<=>?@ \[ \] \\ ^_ ` { | } ~ ] ) / , inlineCode$1 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/ , br$1 = /^( {2,}|\\)\n(?!\s*$)/ , inlineText$1 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/ , _punctuation$1 = "\\p{P}\\p{S}" , punctuation$1 = edit$1 ( /^((?![*_])[\spunctuation])/ , "u" ) . replace ( /punctuation/g , _punctuation$1 ) . getRegex ( ) , blockSkip$1 = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g , emStrongLDelim$1 = edit$1 ( /^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/ , "u" ) . replace ( /punct/g , _punctuation$1 ) . getRegex ( ) , emStrongRDelimAst$1 = edit$1 ( "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])" , "gu" ) . replace ( /punct/g , _punctuation$1 ) . getRegex ( ) , emStrongRDelimUnd$1 = edit$1 ( "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])" , "gu" ) . replace ( /punct/g , _punctuation$1 ) . getRegex ( ) , anyPunctuation$1 = edit$1 ( /\\([punct])/ , "gu" ) . replace ( /punct/g , _punctuation$1 ) . getRegex ( ) , autolink$1 = edit$1 ( /^<(scheme:[^\s\x00-\x1f<>]*|email)>/ ) . replace ( "scheme" , /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/ ) . replace ( "email" , /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/ ) . getRegex ( ) , _inlineComment$1 = edit$1 ( _comment$1 ) . replace ( "(?:-->|$)" , "-->" ) . getRegex ( ) , tag$1 = edit$1 ( "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>" ) . replace ( "comment" , _inlineComment$1 ) . replace ( "attribute" , /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/ ) . getRegex ( ) , _inlineLabel$1 = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/ , link$1 = edit$1 ( /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/ ) . replace ( "label" , _inlineLabel$1 ) . replace ( "href" , /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/ ) . replace ( "title" , /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/ ) . getRegex ( ) , reflink$1 = edit$1 ( /^!?\[(label)\]\[(ref)\]/ ) . replace ( "label" , _inlineLabel$1 ) . replace ( "ref" , _blockLabel$1 ) . getRegex ( ) , nolink$1 = edit$1 ( /^!?\[(ref)\](?:\[\])?/ ) . replace ( "ref" , _blockLabel$1 ) . getRegex ( ) , reflinkSearch$1 = edit$1 ( "reflink|nolink(?!\\()" , "g" ) . replace ( "reflink" , reflink$1 ) . replace ( "nolink" , nolink$1 ) . getRegex ( ) , inlineNormal$1 = { _backpedal : noopTest$1 , anyPunctuation : anyPunctuation$1 , autolink : autolink$1 , blockSkip : blockSkip$1 , br : br$1 , code : inlineCode$1 , del : noopTest$1 , emStrongLDelim : emStrongLDelim$1 , emStrongRDelimAst : emStrongRDelimAst$1 , emStrongRDelimUnd : emStrongRDelimUnd$1 , escape : escape$5 , link : link$1 , nolink : nolink$1 , punctuation : punctuation$1 , reflink : reflink$1 , reflinkSearch : reflinkSearch$1 , tag : tag$1 , text : inlineText$1 , url : noopTest$1 } , inlinePedantic$1 = { ... inlineNormal$1 , link : edit$1 ( /^!?\[(label)\]\((.*?)\)/ ) . replace ( "label" , _inlineLabel$1 ) . getRegex ( ) , reflink : edit$1 ( /^!?\[(label)\]\s*\[([^\]]*)\]/ ) . replace ( "label" , _inlineLabel$1 ) . getRegex ( ) } , inlineGfm$1 = { ... inlineNormal$1 , escape : edit$1 ( escape$5 ) . replace ( "])" , "~|])" ) . getRegex ( ) , url : edit$1 ( /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/ , "i" ) . replace ( "email" , /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/ ) . getRegex ( ) , _backpedal : /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/ , del : /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/ , text : /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ } , inlineBreaks$1 = { ... inlineGfm$1 , br : edit$1 ( br$1 ) . replace ( "{2,}" , "*" ) .
` ),this.blockTokens(ie,this.tokens);for(let ae=0;ae<this.inlineQueue.length;ae++){const oe=this.inlineQueue[ae];this.inlineTokens(oe.src,oe.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(ie,ae=[],oe=!1){this.options.pedantic?ie=ie.replace(/ \t /g," ").replace(/^ + $ /gm,""):ie=ie.replace(/^( *)( \t +)/gm,(_e,Ce,Ne)=>Ce+" ".repeat(Ne.length));let ue,de,pe;for(;ie;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(_e=>(ue=_e.call({lexer:this},ie,ae))?(ie=ie.substring(ue.raw.length),ae.push(ue),!0):!1))){if(ue=this.tokenizer.space(ie)){ie=ie.substring(ue.raw.length),ue.raw.length===1&&ae.length>0?ae[ae.length-1].raw+= `
` :ae.push(ue);continue}if(ue=this.tokenizer.code(ie)){ie=ie.substring(ue.raw.length),de=ae[ae.length-1],de&&(de.type==="paragraph"||de.type==="text")?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.text,this.inlineQueue[this.inlineQueue.length-1].src=de.text):ae.push(ue);continue}if(ue=this.tokenizer.fences(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.heading(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.hr(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.blockquote(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.list(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.html(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.def(ie)){ie=ie.substring(ue.raw.length),de=ae[ae.length-1],de&&(de.type==="paragraph"||de.type==="text")?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.raw,this.inlineQueue[this.inlineQueue.length-1].src=de.text):this.tokens.links[ue.tag]||(this.tokens.links[ue.tag]={href:ue.href,title:ue.title});continue}if(ue=this.tokenizer.table(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.lheading(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(pe=ie,this.options.extensions&&this.options.extensions.startBlock){let _e=1/0;const Ce=ie.slice(1);let Ne;this.options.extensions.startBlock.forEach(Oe=>{Ne=Oe.call({lexer:this},Ce),typeof Ne=="number"&&Ne>=0&&(_e=Math.min(_e,Ne))}),_e<1/0&&_e>=0&&(pe=ie.substring(0,_e+1))}if(this.state.top&&(ue=this.tokenizer.paragraph(pe))){de=ae[ae.length-1],oe&&(de==null?void 0:de.type)==="paragraph"?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=de.text):ae.push(ue),oe=pe.length!==ie.length,ie=ie.substring(ue.raw.length);continue}if(ue=this.tokenizer.text(ie)){ie=ie.substring(ue.raw.length),de=ae[ae.length-1],de&&de.type==="text"?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=de.text):ae.push(ue);continue}if(ie){const _e="Infinite loop on byte: "+ie.charCodeAt(0);if(this.options.silent){console.error(_e);break}else throw new Error(_e)}}return this.state.top=!0,ae}inline(ie,ae=[]){return this.inlineQueue.push({src:ie,tokens:ae}),ae}inlineTokens(ie,ae=[]){let oe,ue,de,pe=ie,_e,Ce,Ne;if(this.tokens.links){const Oe=Object.keys(this.tokens.links);if(Oe.length>0)for(;(_e=this.tokenizer.rules.inline.reflinkSearch.exec(pe))!=null;)Oe.includes(_e[0].slice(_e[0].lastIndexOf("[")+1,-1))&&(pe=pe.slice(0,_e.index)+"["+"a".repeat(_e[0].length-2)+"]"+pe.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(_e=this.tokenizer.rules.inline.blockSkip.exec(pe))!=null;)pe=pe.slice(0,_e.index)+"["+"a".repeat(_e[0].length-2)+"]"+pe.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(_e=this.tokenizer.rules.inline.anyPunctuation.exec(pe))!=null;)pe=pe.slice(0,_e.index)+"++"+pe.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;ie;)if(Ce||(Ne=""),Ce=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(Oe=>(oe=Oe.call({lexer:this},ie,ae))?(ie=ie.substring(oe.raw.length),ae.push(oe),!0):!1))){if(oe=this.tokenizer.escape(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.tag(ie)){ie=ie.substring(oe.raw.length),ue=ae[ae.length-1],ue&&oe.type==="text"&&ue.type==="text"?(ue.raw+=oe.raw,ue.text+=oe.text):ae.push(oe);continue}if(oe=this.tokenizer.link(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.reflink(ie,this.tokens.links)){ie=ie.substring(oe.raw.length),ue=ae[ae.length-1],ue&&oe.type==="text"&&ue.type==="text"?(ue.raw+=oe.raw,ue.text+=oe.text):ae.push(oe);continue}if(oe=this.tokenizer.emStrong(ie,pe,Ne)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.codespan(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.br(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.del(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.autolink(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(!this.state.inLink&&(oe=this.tokenizer.url(ie))){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(de=ie,this.options.extensions&&this.options.extensions.startInline){let Oe=1/0;const Ie=ie.slice(1);let Fe;this.options.extensions.startInline.forEach(Ue=>{Fe=Ue.call({lexer:this},Ie),typeof Fe=="number"&&Fe>=0&&(Oe=Math.min(Oe,Fe))}),Oe<1/0&&Oe>=0&&(de=ie.substring(0,Oe+1))}if(oe=this.tokenizer.inlineText(de)){ie=ie.substring(oe.raw.length),oe.raw.slice(-1)!=="_"&&(Ne=oe.raw.slice(-1)),Ce=!0,ue=ae[ae.length-1],ue&&ue.type==="text"?(ue.raw+=oe.raw,ue.text+=oe.text):ae.push(oe);continue}if(ie){const Oe="Infinite loop on byte: "+ie.charCodeAt(0);if(this.options.silent){console.error(Oe);break}else throw new Error(Oe)}}return ae}},_Renderer $ 1=class{constructor(ie){Hu(this,"options");Hu(this,"parser");this.options=ie||_defaults $ 1}space(ie){return""}code({text:ie,lang:ae,escaped:oe}){var pe;const ue=(pe=(ae||"").match(/^ \S */))==null?void 0:pe[0],de=ie.replace(/ \n $ /,"")+ `
` ;return ue?'<pre><code class="language-'+escape $ 1 $ 2(ue)+'">'+(oe?de:escape $ 1 $ 2(de,!0))+ ` < / c o d e > < / p r e >
` :"<pre><code>"+(oe?de:escape $ 1 $ 2(de,!0))+ ` < / c o d e > < / p r e >
` }blockquote({tokens:ie}){return ` < blockquote >
$ { this . parser . parse ( ie ) } < / b l o c k q u o t e >
` }html({text:ie}){return ie}heading({tokens:ie,depth:ae}){return ` < h$ { ae } > $ { this . parser . parseInline ( ie ) } < / h $ { a e } >
` }hr(ie){return ` < hr >
` }list(ie){const ae=ie.ordered,oe=ie.start;let ue="";for(let _e=0;_e<ie.items.length;_e++){const Ce=ie.items[_e];ue+=this.listitem(Ce)}const de=ae?"ol":"ul",pe=ae&&oe!==1?' start="'+oe+'"':"";return"<"+de+pe+ ` >
` +ue+"</"+de+ ` >
` }listitem(ie){let ae="";if(ie.task){const oe=this.checkbox({checked:!!ie.checked});ie.loose?ie.tokens.length>0&&ie.tokens[0].type==="paragraph"?(ie.tokens[0].text=oe+" "+ie.tokens[0].text,ie.tokens[0].tokens&&ie.tokens[0].tokens.length>0&&ie.tokens[0].tokens[0].type==="text"&&(ie.tokens[0].tokens[0].text=oe+" "+ie.tokens[0].tokens[0].text)):ie.tokens.unshift({type:"text",raw:oe+" ",text:oe+" "}):ae+=oe+" "}return ae+=this.parser.parse(ie.tokens,!!ie.loose), ` < li > $ { ae } < / l i >
` }checkbox({checked:ie}){return"<input "+(ie?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:ie}){return ` < p > $ { this . parser . parseInline ( ie ) } < / p >
` }table(ie){let ae="",oe="";for(let de=0;de<ie.header.length;de++)oe+=this.tablecell(ie.header[de]);ae+=this.tablerow({text:oe});let ue="";for(let de=0;de<ie.rows.length;de++){const pe=ie.rows[de];oe="";for(let _e=0;_e<pe.length;_e++)oe+=this.tablecell(pe[_e]);ue+=this.tablerow({text:oe})}return ue&&(ue= ` < tbody > $ { ue } < / t b o d y > ` ) , ` < t a b l e >
< thead >
` +ae+ ` < / t h e a d >
` +ue+ ` < / t a b l e >
` }tablerow({text:ie}){return ` < tr >
$ { ie } < / t r >
` }tablecell(ie){const ae=this.parser.parseInline(ie.tokens),oe=ie.header?"th":"td";return(ie.align? ` < $ { oe } align = "${ie.align}" > ` : ` < $ { oe } > ` )+ae+ ` < / $ { o e } >
` }strong({tokens:ie}){return ` < strong > $ { this . parser . parseInline ( ie ) } < / s t r o n g > ` } e m ( { t o k e n s : i e } ) { r e t u r n ` < e m > $ { t h i s . p a r s e r . p a r s e I n l i n e ( i e ) } < / e m > ` } c o d e s p a n ( { t e x t : i e } ) { r e t u r n ` < c o d e > $ { i e } < / c o d e > ` } b r ( i e ) { r e t u r n " < b r > " } d e l ( { t o k e n s : i e } ) { r e t u r n ` < d e l > $ { t h i s . p a r s e r . p a r s e I n l i n e ( i e ) } < / d e l > ` } l i n k ( { h r e f : i e , t i t l e : a e , t o k e n s : o e } ) { c o n s t u e = t h i s . p a r s e r . p a r s e I n l i n e ( o e ) , d e = c l e a n U r l $ 1 ( i e ) ; i f ( d e = = = n u l l ) r e t u r n u e ; i e = d e ; l e t p e = ' < a h r e f = " ' + i e + ' " ' ; r e t u r n a e & & ( p e + = ' t i t l e = " ' + a e + ' " ' ) , p e + = " > " + u e + " < / a > " , p e } i m a g e ( { h r e f : i e , t i t l e : a e , t e x t : o e } ) { c o n s t u e = c l e a n U r l $ 1 ( i e ) ; i f ( u e = = = n u l l ) r e t u r n o e ; i e = u e ; l e t d e = ` < i m g s r c = " $ { i e } " a l t = " $ { o e } " ` ; r e t u r n a e & & ( d e + = ` t i t l e = " $ { a e } " ` ) , d e + = " > " , d e } t e x t ( i e ) { r e t u r n " t o k e n s " i n i e & & i e . t o k e n s ? t h i s . p a r s e r . p a r s e I n l i n e ( i e . t o k e n s ) : i e . t e x t } } , _ T e x t R e n d e r e r $ 1 = c l a s s { s t r o n g ( { t e x t : i e } ) { r e t u r n i e } e m ( { t e x t : i e } ) { r e t u r n i e } c o d e s p a n ( { t e x t : i e } ) { r e t u r n i e } d e l ( { t e x t : i e } ) { r e t u r n i e } h t m l ( { t e x t : i e } ) { r e t u r n i e } t e x t ( { t e x t : i e } ) { r e t u r n i e } l i n k ( { t e x t : i e } ) { r e t u r n " " + i e } i m a g e ( { t e x t : i e } ) { r e t u r n " " + i e } b r ( ) { r e t u r n " " } } , _ P a r s e r $ 1 = c l a s s b g { c o n s t r u c t o r ( i e ) { H u ( t h i s , " o p t i o n s " ) ; H u ( t h i s , " r e n d e r e r " ) ; H u ( t h i s , " t e x t R e n d e r e r " ) ; t h i s . o p t i o n s = i e | | _ d e f a u l t s $ 1 , t h i s . o p t i o n s . r e n d e r e r = t h i s . o p t i o n s . r e n d e r e r | | n e w _ R e n d e r e r $ 1 , t h i s . r e n d e r e r = t h i s . o p t i o n s . r e n d e r e r , t h i s . r e n d e r e r . o p t i o n s = t h i s . o p t i o n s , t h i s . r e n d e r e r . p a r s e r = t h i s , t h i s . t e x t R e n d e r e r = n e w _ T e x t R e n d e r e r $ 1 } s t a t i c p a r s e ( i e , a e ) { r e t u r n n e w b g ( a e ) . p a r s e ( i e ) } s t a t i c p a r s e I n l i n e ( i e , a e ) { r e t u r n n e w b g ( a e ) . p a r s e I n l i n e ( i e ) } p a r s e ( i e , a e = ! 0 ) { l e t o e = " " ; f o r ( l e t u e = 0 ; u e < i e . l e n g t h ; u e + + ) { c o n s t d e = i e [ u e ] ; i f ( t h i s . o p t i o n s . e x t e n s i o n s & & t h i s . o p t i o n s . e x t e n s i o n s . r e n d e r e r s & & t h i s . o p t i o n s . e x t e n s i o n s . r e n d e r e r s [ d e . t y p e ] ) { c o n s t _ e = d e , C e = t h i s . o p t i o n s . e x t e n s i o n s . r e n d e r e r s [ _ e . t y p e ] . c a l l ( { p a r s e r : t h i s } , _ e ) ; i f ( C e ! = = ! 1 | | ! [ " s p a c e " , " h r " , " h e a d i n g " , " c o d e " , " t a b l e " , " b l o c k q u o t e " , " l i s t " , " h t m l " , " p a r a g r a p h " , " t e x t " ] . i n c l u d e s ( _ e . t y p e ) ) { o e + = C e | | " " ; c o n t i n u e } } c o n s t p e = d e ; s w i t c h ( p e . t y p e ) { c a s e " s p a c e " : { o e + = t h i s . r e n d e r e r . s p a c e ( p e ) ; c o n t i n u e } c a s e " h r " : { o e + = t h i s . r e n d e r e r . h r ( p e ) ; c o n t i n u e } c a s e " h e a d i n g " : { o e + = t h i s . r e n d e r e r . h e a d i n g ( p e ) ; c o n t i n u e } c a s e " c o d e " : { o e + = t h i s . r e n d e r e r . c o d e ( p e ) ; c o n t i n u e } c a s e " t a b l e " : { o e + = t h i s . r e n d e r e r . t a b l e ( p e ) ; c o n t i n u e } c a s e " b l o c k q u o t e " : { o e + = t h i s . r e n d e r e r . b l o c k q u o t e ( p e ) ; c o n t i n u e } c a s e " l i s t " : { o e + = t h i s . r e n d e r e r . l i s t ( p e ) ; c o n t i n u e } c a s e " h t m l " : { o e + = t h i s . r e n d e r e r . h t m l ( p e ) ; c o n t i n u e } c a s e " p a r a g r a p h " : { o e + = t h i s . r e n d e r e r . p a r a g r a p h ( p e ) ; c o n t i n u e } c a s e " t e x t " : { l e t _ e = p e , C e = t h i s . r e n d e r e r . t e x t ( _ e ) ; f o r ( ; u e + 1 < i e . l e n g t h & & i e [ u e + 1 ] . t y p e = = = " t e x t " ; ) _ e = i e [ + + u e ] , C e + = `
` +this.renderer.text(_e);ae?oe+=this.renderer.paragraph({type:"paragraph",raw:Ce,text:Ce,tokens:[{type:"text",raw:Ce,text:Ce}]}):oe+=Ce;continue}default:{const _e='Token with "'+pe.type+'" type was not found.';if(this.options.silent)return console.error(_e),"";throw new Error(_e)}}}return oe}parseInline(ie,ae){ae=ae||this.renderer;let oe="";for(let ue=0;ue<ie.length;ue++){const de=ie[ue];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[de.type]){const _e=this.options.extensions.renderers[de.type].call({parser:this},de);if(_e!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(de.type)){oe+=_e||"";continue}}const pe=de;switch(pe.type){case"escape":{oe+=ae.text(pe);break}case"html":{oe+=ae.html(pe);break}case"link":{oe+=ae.link(pe);break}case"image":{oe+=ae.image(pe);break}case"strong":{oe+=ae.strong(pe);break}case"em":{oe+=ae.em(pe);break}case"codespan":{oe+=ae.codespan(pe);break}case"br":{oe+=ae.br(pe);break}case"del":{oe+=ae.del(pe);break}case"text":{oe+=ae.text(pe);break}default:{const _e='Token with "'+pe.type+'" type was not found.';if(this.options.silent)return console.error(_e),"";throw new Error(_e)}}}return oe}};var _g;let _Hooks $ 1=(_g=class{constructor(ie){Hu(this,"options");Hu(this,"block");this.options=ie||_defaults $ 1}preprocess(ie){return ie}postprocess(ie){return ie}processAllTokens(ie){return ie}provideLexer(){return this.block?_Lexer $ 1.lex:_Lexer $ 1.lexInline}provideParser(){return this.block?_Parser $ 1.parse:_Parser $ 1.parseInline}},Hu(_g,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),_g),Marked $ 1=class{constructor(...ie){Hu(this,"defaults",_getDefaults $ 1());Hu(this,"options",this.setOptions);Hu(this,"parse",this.parseMarkdown(!0));Hu(this,"parseInline",this.parseMarkdown(!1));Hu(this,"Parser",_Parser $ 1);Hu(this,"Renderer",_Renderer $ 1);Hu(this,"TextRenderer",_TextRenderer $ 1);Hu(this,"Lexer",_Lexer $ 1);Hu(this,"Tokenizer",_Tokenizer $ 1);Hu(this,"Hooks",_Hooks $ 1);this.use(...ie)}walkTokens(ie,ae){var ue,de;let oe=[];for(const pe of ie)switch(oe=oe.concat(ae.call(this,pe)),pe.type){case"table":{const _e=pe;for(const Ce of _e.header)oe=oe.concat(this.walkTokens(Ce.tokens,ae));for(const Ce of _e.rows)for(const Ne of Ce)oe=oe.concat(this.walkTokens(Ne.tokens,ae));break}case"list":{const _e=pe;oe=oe.concat(this.walkTokens(_e.items,ae));break}default:{const _e=pe;(de=(ue=this.defaults.extensions)==null?void 0:ue.childTokens)!=null&&de[_e.type]?this.defaults.extensions.childTokens[_e.type].forEach(Ce=>{const Ne=_e[Ce].flat(1/0);oe=oe.concat(this.walkTokens(Ne,ae))}):_e.tokens&&(oe=oe.concat(this.walkTokens(_e.tokens,ae)))}}return oe}use(...ie){const ae=this.defaults.extensions||{renderers:{},childTokens:{}};return ie.forEach(oe=>{const ue={...oe};if(ue.async=this.defaults.async||ue.async||!1,oe.extensions&&(oe.extensions.forEach(de=>{if(!de.name)throw new Error("extension name required");if("renderer"in de){const pe=ae.renderers[de.name];pe?ae.renderers[de.name]=function(..._e){let Ce=de.renderer.apply(this,_e);return Ce===!1&&(Ce=pe.apply(this,_e)),Ce}:ae.renderers[de.name]=de.renderer}if("tokenizer"in de){if(!de.level||de.level!=="block"&&de.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const pe=ae[de.level];pe?pe.unshift(de.tokenizer):ae[de.level]=[de.tokenizer],de.start&&(de.level==="block"?ae.startBlock?ae.startBlock.push(de.start):ae.startBlock=[de.start]:de.level==="inline"&&(ae.startInline?ae.startInline.push(de.start):ae.startInline=[de.start]))}"childTokens"in de&&de.childTokens&&(ae.childTokens[de.name]=de.childTokens)}),ue.extensions=ae),oe.renderer){const de=this.defaults.renderer||new _Renderer $ 1(this.defaults);for(const pe in oe.renderer){if(!(pe in de))throw new Error( ` renderer '${pe}' does not exist ` );if(["options","parser"].includes(pe))continue;const _e=pe,Ce=oe.renderer[_e],Ne=de[_e];de[_e]=(...Oe)=>{let Ie=Ce.apply(de,Oe);return Ie===!1&&(Ie=Ne.apply(de,Oe)),Ie||""}}ue.renderer=de}if(oe.tokenizer){const de=this.defaults.tokenizer||new _Tokenizer $ 1(
Please report this to https : //github.com/markedjs/marked.`,ie){const ue="<p>An error occurred:</p><pre>"+escape$1$2(oe.message+"",!0)+"</pre>";return ae?Promise.resolve(ue):ue}if(ae)return Promise.reject(oe);throw oe}}};const markedInstance$1=new Marked$1;function marked$1(re,ie){return markedInstance$1.parse(re,ie)}marked$1.options=marked$1.setOptions=function(re){return markedInstance$1.setOptions(re),marked$1.defaults=markedInstance$1.defaults,changeDefaults$1(marked$1.defaults),marked$1};marked$1.getDefaults=_getDefaults$1;marked$1.defaults=_defaults$1;marked$1.use=function(...re){return markedInstance$1.use(...re),marked$1.defaults=markedInstance$1.defaults,changeDefaults$1(marked$1.defaults),marked$1};marked$1.walkTokens=function(re,ie){return markedInstance$1.walkTokens(re,ie)};marked$1.parseInline=markedInstance$1.parseInline;marked$1.Parser=_Parser$1;marked$1.parser=_Parser$1.parse;marked$1.Renderer=_Renderer$1;marked$1.TextRenderer=_TextRenderer$1;marked$1.Lexer=_Lexer$1;marked$1.lexer=_Lexer$1.lex;marked$1.Tokenizer=_Tokenizer$1;marked$1.Hooks=_Hooks$1;marked$1.parse=marked$1;marked$1.options;marked$1.setOptions;marked$1.use;marked$1.walkTokens;marked$1.parseInline;_Parser$1.parse;_Lexer$1.lex;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(re){return re&&re.__esModule&&Object.prototype.hasOwnProperty.call(re,"default")?re.default:re}function getAugmentedNamespace(re){if(re.__esModule)return re;var ie=re.default;if(typeof ie=="function"){var ae=function oe(){return this instanceof oe?Reflect.construct(ie,arguments,this.constructor):ie.apply(this,arguments)};ae.prototype=ie.prototype}else ae={};return Object.defineProperty(ae,"__esModule",{value:!0}),Object.keys(re).forEach(function(oe){var ue=Object.getOwnPropertyDescriptor(re,oe);Object.defineProperty(ae,oe,ue.get?ue:{enumerable:!0,get:function(){return re[oe]}})}),ae}var codemirror={exports:{}},hasRequiredCodemirror;function requireCodemirror(){return hasRequiredCodemirror||(hasRequiredCodemirror=1,function(re,ie){(function(ae,oe){re.exports=oe()})(commonjsGlobal,function(){var ae=navigator.userAgent,oe=navigator.platform,ue=/gecko\/\d/i.test(ae),de=/MSIE \d/.test(ae),pe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ae),_e=/Edge\/(\d+)/.exec(ae),Ce=de||pe||_e,Ne=Ce&&(de?document.documentMode||6:+(_e||pe)[1]),Oe=!_e&&/WebKit\//.test(ae),Ie=Oe&&/Qt\/\d+\.\d+/.test(ae),Fe=!_e&&/Chrome\/(\d+)/.exec(ae),Ue=Fe&&+Fe[1],Ve=/Opera\//.test(ae),ze=/Apple Computer/.test(navigator.vendor),jt=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ae),kt=/PhantomJS/.test(ae),Pt=ze&&(/Mobile\/\w+/.test(ae)||navigator.maxTouchPoints>2),Et=/Android/.test(ae),er=Pt||Et||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ae),tr=Pt||/Mac/.test(oe),nr=/\bCrOS\b/.test(ae),lr=/win/i.test(oe),cr=Ve&&ae.match(/Version\/(\d*\.\d*)/);cr&&(cr=Number(cr[1])),cr&&cr>=15&&(Ve=!1,Oe=!0);var ir=tr&&(Ie||Ve&&(cr==null||cr<12.11)),ar=ue||Ce&&Ne>=9;function sr(rr){return new RegExp("(^|\\s)"+rr+"(?:$|\\s)\\s*")}var dr=function(rr,ur){var gr=rr.className,yr=sr(ur).exec(gr);if(yr){var Tr=gr.slice(yr.index+yr[0].length);rr.className=gr.slice(0,yr.index)+(Tr?yr[1]+Tr:"")}};function fr(rr){for(var ur=rr.childNodes.length;ur>0;--ur)rr.removeChild(rr.firstChild);return rr}function _r(rr,ur){return fr(rr).appendChild(ur)}function mr(rr,ur,gr,yr){var Tr=document.createElement(rr);if(gr&&(Tr.className=gr),yr&&(Tr.style.cssText=yr),typeof ur=="string")Tr.appendChild(document.createTextNode(ur));else if(ur)for(var Xr=0;Xr<ur.length;++Xr)Tr.appendChild(ur[Xr]);return Tr}function Er(rr,ur,gr,yr){var Tr=mr(rr,ur,gr,yr);return Tr.setAttribute("role","presentation"),Tr}var Sr;document.createRange?Sr=function(rr,ur,gr,yr){var Tr=document.createRange();return Tr.setEnd(yr||rr,gr),Tr.setStart(rr,ur),Tr}:Sr=function(rr,ur,gr){var yr=document.body.createTextRange();try{yr.moveToElementText(rr.parentNode)}catch{return yr}return yr.collapse(!0),yr.moveEnd("character",gr),yr.moveStart("character",ur),yr};function xr(rr,ur){
b ` .split(/ \n /).length!=3?function(rr){for(var ur=0,gr=[],yr=rr.length;ur<=yr;){var Tr=rr.indexOf( `
` ,ur);Tr==-1&&(Tr=rr.length);var Xr=rr.slice(ur,rr.charAt(Tr-1)==" \r "?Tr-1:Tr),In=Xr.indexOf(" \r ");In!=-1?(gr.push(Xr.slice(0,In)),ur+=In+1):(gr.push(Xr),ur=Tr+1)}return gr}:function(rr){return rr.split(/ \r \n ?| \n /)},Mi=window.getSelection?function(rr){try{return rr.selectionStart!=rr.selectionEnd}catch{return!1}}:function(rr){var ur;try{ur=rr.ownerDocument.selection.createRange()}catch{}return!ur||ur.parentElement()!=rr?!1:ur.compareEndPoints("StartToEnd",ur)!=0},Mn=function(){var rr=mr("div");return"oncopy"in rr?!0:(rr.setAttribute("oncopy","return;"),typeof rr.oncopy=="function")}(),oi=null;function na(rr){if(oi!=null)return oi;var ur=_r(rr,mr("span","x")),gr=ur.getBoundingClientRect(),yr=Sr(ur,0,1).getBoundingClientRect();return oi=Math.abs(gr.left-yr.left)>1}var aa={},Ta={};function qi(rr,ur){arguments.length>2&&(ur.dependencies=Array.prototype.slice.call(arguments,2)),aa[rr]=ur}function va(rr,ur){Ta[rr]=ur}function Ha(rr){if(typeof rr=="string"&&Ta.hasOwnProperty(rr))rr=Ta[rr];else if(rr&&typeof rr.name=="string"&&Ta.hasOwnProperty(rr.name)){var ur=Ta[rr.name];typeof ur=="string"&&(ur={name:ur}),rr=Rn(ur,rr),rr.name=ur.name}else{if(typeof rr=="string"&&/^[ \w \- ]+ \/ [ \w \- ]+ \+ xml $ /.test(rr))return Ha("application/xml");if(typeof rr=="string"&&/^[ \w \- ]+ \/ [ \w \- ]+ \+ json $ /.test(rr))return Ha("application/json")}return typeof rr=="string"?{name:rr}:rr||{name:"null"}}function bo(rr,ur){ur=Ha(ur);var gr=aa[ur.name];if(!gr)return bo(rr,"text/plain");var yr=gr(rr,ur);if(hs.hasOwnProperty(ur.name)){var Tr=hs[ur.name];for(var Xr in Tr)Tr.hasOwnProperty(Xr)&&(yr.hasOwnProperty(Xr)&&(yr["_"+Xr]=yr[Xr]),yr[Xr]=Tr[Xr])}if(yr.name=ur.name,ur.helperType&&(yr.helperType=ur.helperType),ur.modeProps)for(var In in ur.modeProps)yr[In]=ur.modeProps[In];return yr}var hs={};function Vn(rr,ur){var gr=hs.hasOwnProperty(rr)?hs[rr]:hs[rr]={};Dr(ur,gr)}function Go(rr,ur){if(ur===!0)return ur;if(rr.copyState)return rr.copyState(ur);var gr={};for(var yr in ur){var Tr=ur[yr];Tr instanceof Array&&(Tr=Tr.concat([])),gr[yr]=Tr}return gr}function Wl(rr,ur){for(var gr;rr.innerMode&&(gr=rr.innerMode(ur),!(!gr||gr.mode==rr));)ur=gr.state,rr=gr.mode;return gr||{mode:rr,state:ur}}function Po(rr,ur,gr){return rr.startState?rr.startState(ur,gr):!0}var Ec=function(rr,ur,gr){this.pos=this.start=0,this.string=rr,this.tabSize=ur||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=gr};Ec.prototype.eol=function(){return this.pos>=this.string.length},Ec.prototype.sol=function(){return this.pos==this.lineStart},Ec.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ec.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ec.prototype.eat=function(rr){var ur=this.string.charAt(this.pos),gr;if(typeof rr=="string"?gr=ur==rr:gr=ur&&(rr.test?rr.test(ur):rr(ur)),gr)return++this.pos,ur},Ec.prototype.eatWhile=function(rr){for(var ur=this.pos;this.eat(rr););return this.pos>ur},Ec.prototype.eatSpace=function(){for(var rr=this.pos;/[ \s \u 00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>rr},Ec.prototype.skipToEnd=function(){this.pos=this.string.length},Ec.prototype.skipTo=function(rr){var ur=this.string.indexOf(rr,this.pos);if(ur>-1)return this.pos=ur,!0},Ec.prototype.backUp=function(rr){this.pos-=rr},Ec.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Jr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Jr(this.string,this.lineStart,this.tabSize):0)},Ec.prototype.indentation=function(){return Jr(this.string,null,this.tabSize)-(this.lineStart?Jr(this.string,this.lineStart,this.tabSize):0)},Ec.prototype.match=function(rr,ur,gr){if(typeof rr=="string"){var yr=function(In){return gr?In.toLowerCase():In},Tr=this.string.substr(this.pos,rr.length);if(yr(Tr)==yr(rr))return ur!==!1&&(this.pos+=rr.length),!0}else{var Xr=this.string.slice(this.pos).match(rr);return Xr&&Xr.index>0?null:(Xr&&ur!==!1&&(this.pos+=Xr[0].length),Xr)}},Ec.prototype.current=funct
` ?(pc=Co.appendChild(mr("span",ws[0]==" \r "?"␍":"","cm-invalidchar")),pc.setAttribute("cm-text",ws[0]),rr.col+=1):(pc=rr.cm.options.specialCharPlaceholder(ws[0]),pc.setAttribute("cm-text",ws[0]),Ce&&Ne<9?Co.appendChild(mr("span",[pc])):Co.appendChild(pc),rr.col+=1);rr.map.push(rr.pos,rr.pos+1,pc),rr.pos++}}if(rr.trailingSpace=mi.charCodeAt(ur.length-1)==32,gr||yr||Tr||Aa||Xr||In){var yc=gr||"";yr&&(yc+=yr),Tr&&(yc+=Tr);var As=mr("span",[Co],yc,Xr);if(In)for(var bu in In)In.hasOwnProperty(bu)&&bu!="style"&&bu!="class"&&As.setAttribute(bu,In[bu]);return rr.content.appendChild(As)}rr.content.appendChild(Co)}}function sh(rr,ur){if(rr.length>1&&!/ /.test(rr))return rr;for(var gr=ur,yr="",Tr=0;Tr<rr.length;Tr++){var Xr=rr.charAt(Tr);Xr==" "&&gr&&(Tr==rr.length-1||rr.charCodeAt(Tr+1)==32)&&(Xr=" "),yr+=Xr,gr=Xr==" "}return yr}function vp(rr,ur){return function(gr,yr,Tr,Xr,In,mi,Vi){Tr=Tr?Tr+" cm-force-border":"cm-force-border";for(var Aa=gr.pos,Co=Aa+yr.length;;){for(var Cs=void 0,ws=0;ws<ur.length&&(Cs=ur[ws],!(Cs.to>Aa&&Cs.from<=Aa));ws++);if(Cs.to>=Co)return rr(gr,yr,Tr,Xr,In,mi,Vi);rr(gr,yr.slice(0,Cs.to-Aa),Tr,Xr,null,mi,Vi),Xr=null,yr=yr.slice(Cs.to-Aa),Aa=Cs.to}}}function am(rr,ur,gr,yr){var Tr=!yr&&gr.widgetNode;Tr&&rr.map.push(rr.pos,rr.pos+ur,Tr),!yr&&rr.cm.display.input.needsContentAttribute&&(Tr||(Tr=rr.content.appendChild(document.createElement("span"))),Tr.setAttribute("cm-marker",gr.id)),Tr&&(rr.cm.display.input.setUneditable(Tr),rr.content.appendChild(Tr)),rr.pos+=ur,rr.trailingSpace=!1}function uh(rr,ur,gr){var yr=rr.markedSpans,Tr=rr.text,Xr=0;if(!yr){for(var In=1;In<gr.length;In+=2)ur.addToken(ur,Tr.slice(Xr,Xr=gr[In]),cp(gr[In+1],ur.cm.options));return}for(var mi=Tr.length,Vi=0,Aa=1,Co="",Cs,ws,Is=0,sl,pc,_l,_c,yc;;){if(Is==Vi){sl=pc=_l=ws="",yc=null,_c=null,Is=1/0;for(var As=[],bu=void 0,wu=0;wu<yr.length;++wu){var Hc=yr[wu],vu=Hc.marker;if(vu.type=="bookmark"&&Hc.from==Vi&&vu.widgetNode)As.push(vu);else if(Hc.from<=Vi&&(Hc.to==null||Hc.to>Vi||vu.collapsed&&Hc.to==Vi&&Hc.from==Vi)){if(Hc.to!=null&&Hc.to!=Vi&&Is>Hc.to&&(Is=Hc.to,pc=""),vu.className&&(sl+=" "+vu.className),vu.css&&(ws=(ws?ws+";":"")+vu.css),vu.startStyle&&Hc.from==Vi&&(_l+=" "+vu.startStyle),vu.endStyle&&Hc.to==Is&&(bu||(bu=[])).push(vu.endStyle,Hc.to),vu.title&&((yc||(yc={})).title=vu.title),vu.attributes)for(var rd in vu.attributes)(yc||(yc={}))[rd]=vu.attributes[rd];vu.collapsed&&(!_c||od(_c.marker,vu)<0)&&(_c=Hc)}else Hc.from>Vi&&Is>Hc.from&&(Is=Hc.from)}if(bu)for(var rp=0;rp<bu.length;rp+=2)bu[rp+1]==Is&&(pc+=" "+bu[rp]);if(!_c||_c.from==Vi)for(var xo=0;xo<As.length;++xo)am(ur,0,As[xo]);if(_c&&(_c.from||0)==Vi){if(am(ur,(_c.to==null?mi+1:_c.to)-Vi,_c.marker,_c.from==null),_c.to==null)return;_c.to==Vi&&(_c=!1)}}if(Vi>=mi)break;for(var dl=Math.min(mi,Is);;){if(Co){var cu=Vi+Co.length;if(!_c){var Wu=cu>dl?Co.slice(0,dl-Vi):Co;ur.addToken(ur,Wu,Cs?Cs+sl:sl,_l,Vi+Wu.length==Is?pc:"",ws,yc)}if(cu>=dl){Co=Co.slice(dl-Vi),Vi=dl;break}Vi=cu,_l=""}Co=Tr.slice(Xr,Xr=gr[Aa++]),Cs=cp(gr[Aa++],ur.cm.options)}}}function Fh(rr,ur,gr){this.line=ur,this.rest=qf(ur),this.size=this.rest?ei(An(this.rest))-gr+1:1,this.node=this.text=null,this.hidden=_p(rr,ur)}function Wm(rr,ur,gr){for(var yr=[],Tr,Xr=ur;Xr<gr;Xr=Tr){var In=new Fh(rr.doc,jl(rr.doc,Xr),Xr);Tr=Xr+In.size,yr.push(In)}return yr}var zp=null;function a0(rr){zp?zp.ops.push(rr):rr.ownsGroup=zp={ops:[rr],delayedCallbacks:[]}}function d0(rr){var ur=rr.delayedCallbacks,gr=0;do{for(;gr<ur.length;gr++)ur[gr].call(null);for(var yr=0;yr<rr.ops.length;yr++){var Tr=rr.ops[yr];if(Tr.cursorActivityHandlers)for(;Tr.cursorActivityCalled<Tr.cursorActivityHandlers.length;)Tr.cursorActivityHandlers[Tr.cursorActivityCalled++].call(null,Tr.cm)}}while(gr<ur.length)}function o0(rr,ur){var gr=rr.ownsGroup;if(gr)try{d0(gr)}finally{zp=null,ur(gr)}}var nf=null;function bp(rr,ur){var gr=da(rr,ur);if(gr.length){var yr=Array.prototype.slice.call(arguments,2),Tr;zp?Tr=zp.delayedCallbacks:nf?Tr=nf:(Tr=nf=[],setTimeout(Wh,0));for(var Xr=function(mi){Tr.push(function(){return gr[mi].apply(null,yr)})},In=0;In<gr.length;++In)X
top : ` +bu+"px; width: "+(wu??Vi-As)+ ` px ;
height : ` +(Hc-bu)+"px"))}function Cs(As,bu,wu){var Hc=jl(Tr,As),vu=Hc.text.length,rd,rp;function xo(Wu,ld){return mc(rr,Ml(As,Wu),"div",Hc,ld)}function dl(Wu,ld,fp){var Ld=ip(rr,Hc,null,Wu),Wd=ld=="ltr"==(fp=="after")?"left":"right",Qd=fp=="after"?Ld.begin:Ld.end-(/ \s /.test(Hc.text.charAt(Ld.end-1))?2:1);return xo(Qd,Wd)[Wd]}var cu=ro(Hc,Tr.direction);return Wn(cu,bu||0,wu??vu,function(Wu,ld,fp,Ld){var Wd=fp=="ltr",Qd=xo(Wu,Wd?"left":"right"),Jd=xo(ld-1,Wd?"right":"left"),Gu=bu==null&&Wu==0,gd=wu==null&&ld==vu,ef=Ld==0,jm=!cu||Ld==cu.length-1;if(Jd.top-Qd.top<=3){var tf=(Aa?Gu:gd)&&ef,x0=(Aa?gd:Gu)&&jm,Zm=tf?mi:(Wd?Qd:Jd).left,Mh=x0?Vi:(Wd?Jd:Qd).right;Co(Zm,Qd.top,Mh-Zm,Qd.bottom)}else{var Th,yf,T0,U0;Wd?(Th=Aa&&Gu&&ef?mi:Qd.left,yf=Aa?Vi:dl(Wu,fp,"before"),T0=Aa?mi:dl(ld,fp,"after"),U0=Aa&&gd&&jm?Vi:Jd.right):(Th=Aa?dl(Wu,fp,"before"):mi,yf=!Aa&&Gu&&ef?Vi:Qd.right,T0=!Aa&&gd&&jm?mi:Jd.left,U0=Aa?dl(ld,fp,"after"):Vi),Co(Th,Qd.top,yf-Th,Qd.bottom),Qd.bottom<Jd.top&&Co(mi,Qd.bottom,null,Jd.top),Co(T0,Jd.top,U0-T0,Jd.bottom)}(!rd||um(Qd,rd)<0)&&(rd=Qd),um(Jd,rd)<0&&(rd=Jd),(!rp||um(Qd,rp)<0)&&(rp=Qd),um(Jd,rp)<0&&(rp=Jd)}),{start:rd,end:rp}}var ws=ur.from(),Is=ur.to();if(ws.line==Is.line)Cs(ws.line,ws.ch,Is.ch);else{var sl=jl(Tr,ws.line),pc=jl(Tr,Is.line),_l=Xd(sl)==Xd(pc),_c=Cs(ws.line,ws.ch,_l?sl.text.length+1:null).end,yc=Cs(Is.line,_l?0:null,Is.ch).start;_l&&(_c.top<yc.top-2?(Co(_c.right,_c.top,null,_c.bottom),Co(mi,yc.top,yc.left,yc.bottom)):Co(_c.right,_c.top,yc.left-_c.right,_c.bottom)),_c.bottom<yc.top&&Co(mi,_c.bottom,null,yc.top)}gr.appendChild(Xr)}function Ps(rr){if(rr.state.focused){var ur=rr.display;clearInterval(ur.blinker);var gr=!0;ur.cursorDiv.style.visibility="",rr.options.cursorBlinkRate>0?ur.blinker=setInterval(function(){rr.hasFocus()||Fo(rr),ur.cursorDiv.style.visibility=(gr=!gr)?"":"hidden"},rr.options.cursorBlinkRate):rr.options.cursorBlinkRate<0&&(ur.cursorDiv.style.visibility="hidden")}}function vs(rr){rr.hasFocus()||(rr.display.input.focus(),rr.state.focused||Vo(rr))}function Io(rr){rr.state.delayingBlurEvent=!0,setTimeout(function(){rr.state.delayingBlurEvent&&(rr.state.delayingBlurEvent=!1,rr.state.focused&&Fo(rr))},100)}function Vo(rr,ur){rr.state.delayingBlurEvent&&!rr.state.draggingText&&(rr.state.delayingBlurEvent=!1),rr.options.readOnly!="nocursor"&&(rr.state.focused||(xs(rr,"focus",rr,ur),rr.state.focused=!0,Rr(rr.display.wrapper,"CodeMirror-focused"),!rr.curOp&&rr.display.selForContextMenu!=rr.doc.sel&&(rr.display.input.reset(),Oe&&setTimeout(function(){return rr.display.input.reset(!0)},20)),rr.display.input.receivedFocus()),Ps(rr))}function Fo(rr,ur){rr.state.delayingBlurEvent||(rr.state.focused&&(xs(rr,"blur",rr,ur),rr.state.focused=!1,dr(rr.display.wrapper,"CodeMirror-focused")),clearInterval(rr.display.blinker),setTimeout(function(){rr.state.focused||(rr.display.shift=!1)},150))}function vo(rr){for(var ur=rr.display,gr=ur.lineDiv.offsetTop,yr=Math.max(0,ur.scroller.getBoundingClientRect().top),Tr=ur.lineDiv.getBoundingClientRect().top,Xr=0,In=0;In<ur.view.length;In++){var mi=ur.view[In],Vi=rr.options.lineWrapping,Aa=void 0,Co=0;if(!mi.hidden){if(Tr+=mi.line.height,Ce&&Ne<8){var Cs=mi.node.offsetTop+mi.node.offsetHeight;Aa=Cs-gr,gr=Cs}else{var ws=mi.node.getBoundingClientRect();Aa=ws.bottom-ws.top,!Vi&&mi.text.firstChild&&(Co=mi.text.firstChild.getBoundingClientRect().right-ws.left-1)}var Is=mi.line.height-Aa;if((Is>.005||Is<-.005)&&(Tr<yr&&(Xr-=Is),Qc(mi.line,Aa),Ro(mi.line),mi.rest))for(var sl=0;sl<mi.rest.length;sl++)Ro(mi.rest[sl]);if(Co>rr.display.sizerWidth){var pc=Math.ceil(Co/cm(rr.display));pc>rr.display.maxLineLength&&(rr.display.maxLineLength=pc,rr.display.maxLine=mi.line,rr.display.maxLineChanged=!0)}}}Math.abs(Xr)>2&&(ur.scroller.scrollTop+=Xr)}function Ro(rr){if(rr.widgets)for(var ur=0;ur<rr.widgets.length;++ur){var gr=rr.widgets[ur],yr=gr.node.parentNode;yr&&(gr.height=yr.offsetHeight)}}function Yo(rr,ur,gr){var yr=gr&&gr.top!=null?Math.max(0,gr.top):rr.scroller.scrollTop;yr=Math.floor(yr-sm(rr));var Tr=gr&&gr.bottom!=null?gr.bottom:yr+rr
top : ` +(ur.top-gr.viewOffset-sm(rr.display))+ ` px ;
height : ` +(ur.bottom-ur.top+Pf(rr)+gr.barHeight)+ ` px ;
left : ` +ur.left+"px; width: "+Math.max(2,ur.right-ur.left)+"px;");rr.display.lineSpace.appendChild(In),In.scrollIntoView(Tr),rr.display.lineSpace.removeChild(In)}}}function is(rr,ur,gr,yr){yr==null&&(yr=0);var Tr;!rr.options.lineWrapping&&ur==gr&&(gr=ur.sticky=="before"?Ml(ur.line,ur.ch+1,"before"):ur,ur=ur.ch?Ml(ur.line,ur.sticky=="before"?ur.ch-1:ur.ch,"after"):ur);for(var Xr=0;Xr<5;Xr++){var In=!1,mi=rc(rr,ur),Vi=!gr||gr==ur?mi:rc(rr,gr);Tr={left:Math.min(mi.left,Vi.left),top:Math.min(mi.top,Vi.top)-yr,right:Math.max(mi.left,Vi.left),bottom:Math.max(mi.bottom,Vi.bottom)+yr};var Aa=Zo(rr,Tr),Co=rr.doc.scrollTop,Cs=rr.doc.scrollLeft;if(Aa.scrollTop!=null&&(ps(rr,Aa.scrollTop),Math.abs(rr.doc.scrollTop-Co)>1&&(In=!0)),Aa.scrollLeft!=null&&(ks(rr,Aa.scrollLeft),Math.abs(rr.doc.scrollLeft-Cs)>1&&(In=!0)),!In)break}return Tr}function _o(rr,ur){var gr=Zo(rr,ur);gr.scrollTop!=null&&ps(rr,gr.scrollTop),gr.scrollLeft!=null&&ks(rr,gr.scrollLeft)}function Zo(rr,ur){var gr=rr.display,yr=kf(rr.display);ur.top<0&&(ur.top=0);var Tr=rr.curOp&&rr.curOp.scrollTop!=null?rr.curOp.scrollTop:gr.scroller.scrollTop,Xr=Km(rr),In={};ur.bottom-ur.top>Xr&&(ur.bottom=ur.top+Xr);var mi=rr.doc.height+Bm(gr),Vi=ur.top<yr,Aa=ur.bottom>mi-yr;if(ur.top<Tr)In.scrollTop=Vi?0:ur.top;else if(ur.bottom>Tr+Xr){var Co=Math.min(ur.top,(Aa?mi:ur.bottom)-Xr);Co!=Tr&&(In.scrollTop=Co)}var Cs=rr.options.fixedGutter?0:gr.gutters.offsetWidth,ws=rr.curOp&&rr.curOp.scrollLeft!=null?rr.curOp.scrollLeft:gr.scroller.scrollLeft-Cs,Is=vm(rr)-gr.gutters.offsetWidth,sl=ur.right-ur.left>Is;return sl&&(ur.right=ur.left+Is),ur.left<10?In.scrollLeft=0:ur.left<ws?In.scrollLeft=Math.max(0,ur.left+Cs-(sl?0:10)):ur.right>Is+ws-3&&(In.scrollLeft=ur.right+(sl?0:10)-Is),In}function Rs(rr,ur){ur!=null&&(Gs(rr),rr.curOp.scrollTop=(rr.curOp.scrollTop==null?rr.doc.scrollTop:rr.curOp.scrollTop)+ur)}function Ss(rr){Gs(rr);var ur=rr.getCursor();rr.curOp.scrollToPos={from:ur,to:ur,margin:rr.options.cursorScrollMargin}}function Us(rr,ur,gr){(ur!=null||gr!=null)&&Gs(rr),ur!=null&&(rr.curOp.scrollLeft=ur),gr!=null&&(rr.curOp.scrollTop=gr)}function tl(rr,ur){Gs(rr),rr.curOp.scrollToPos=ur}function Gs(rr){var ur=rr.curOp.scrollToPos;if(ur){rr.curOp.scrollToPos=null;var gr=Cu(rr,ur.from),yr=Cu(rr,ur.to);bl(rr,gr,yr,ur.margin)}}function bl(rr,ur,gr,yr){var Tr=Zo(rr,{left:Math.min(ur.left,gr.left),top:Math.min(ur.top,gr.top)-yr,right:Math.max(ur.right,gr.right),bottom:Math.max(ur.bottom,gr.bottom)+yr});Us(rr,Tr.scrollLeft,Tr.scrollTop)}function ps(rr,ur){Math.abs(rr.doc.scrollTop-ur)<2||(ue||Ou(rr,{top:ur}),fl(rr,ur,!0),ue&&Ou(rr),Hl(rr,100))}function fl(rr,ur,gr){ur=Math.max(0,Math.min(rr.display.scroller.scrollHeight-rr.display.scroller.clientHeight,ur)),!(rr.display.scroller.scrollTop==ur&&!gr)&&(rr.doc.scrollTop=ur,rr.display.scrollbars.setScrollTop(ur),rr.display.scroller.scrollTop!=ur&&(rr.display.scroller.scrollTop=ur))}function ks(rr,ur,gr,yr){ur=Math.max(0,Math.min(ur,rr.display.scroller.scrollWidth-rr.display.scroller.clientWidth)),!((gr?ur==rr.doc.scrollLeft:Math.abs(rr.doc.scrollLeft-ur)<2)&&!yr)&&(rr.doc.scrollLeft=ur,Ep(rr),rr.display.scroller.scrollLeft!=ur&&(rr.display.scroller.scrollLeft=ur),rr.display.scrollbars.setScrollLeft(ur))}function Os(rr){var ur=rr.display,gr=ur.gutters.offsetWidth,yr=Math.round(rr.doc.height+Bm(rr.display));return{clientHeight:ur.scroller.clientHeight,viewHeight:ur.wrapper.clientHeight,scrollWidth:ur.scroller.scrollWidth,clientWidth:ur.scroller.clientWidth,viewWidth:ur.wrapper.clientWidth,barLeft:rr.options.fixedGutter?gr:0,docHeight:yr,scrollHeight:yr+Pf(rr)+ur.barHeight,nativeBarWidth:ur.nativeBarWidth,gutterWidth:gr}}var Bs=function(rr,ur,gr){this.cm=gr;var yr=this.vert=mr("div",[mr("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Tr=this.horiz=mr("div",[mr("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");yr.tabIndex=Tr.tabIndex=-1,rr(yr),rr(Tr),ra(yr,"scroll",function(){yr.clientHeight&&ur(yr.scrollTop,"vertical")}),ra(Tr,"scroll",function(){Tr.clientWidth&&ur(Tr.scrollLeft,"horizontal")}),thi
` },setDirection:Lc(function(rr){rr!="rtl"&&(rr="ltr"),rr!=this.direction&&(this.direction=rr,this.iter(function(ur){return ur.order=null}),this.cm&&Sm(this.cm))})}),pp.prototype.eachLine=pp.prototype.iter;var jf=0;function _f(rr){var ur=this;if(Ap(ur),!(_s(ur,rr)||pf(ur.display,rr))){Ms(rr),Ce&&(jf=+new Date);var gr=sf(ur,rr,!0),yr=rr.dataTransfer.files;if(!(!gr||ur.isReadOnly()))if(yr&&yr.length&&window.FileReader&&window.File)for(var Tr=yr.length,Xr=Array(Tr),In=0,mi=function(){++In==Tr&&Oc(ur,function(){gr=Lu(ur.doc,gr);var Is={from:gr,to:gr,text:ur.doc.splitLines(Xr.filter(function(sl){return sl!=null}).join(ur.doc.lineSeparator())),origin:"paste"};Ku(ur.doc,Is),ys(ur.doc,Vp(Lu(ur.doc,gr),Lu(ur.doc,Jf(Is))))})()},Vi=function(Is,sl){if(ur.options.allowDropFileTypes&&vn(ur.options.allowDropFileTypes,Is.type)==-1){mi();return}var pc=new FileReader;pc.onerror=function(){return mi()},pc.onload=function(){var _l=pc.result;if(/[ \x 00- \x 08 \x 0e- \x 1f]{2}/.test(_l)){mi();return}Xr[sl]=_l,mi()},pc.readAsText(Is)},Aa=0;Aa<yr.length;Aa++)Vi(yr[Aa],Aa);else{if(ur.state.draggingText&&ur.doc.sel.contains(gr)>-1){ur.state.draggingText(rr),setTimeout(function(){return ur.display.input.focus()},20);return}try{var Co=rr.dataTransfer.getData("Text");if(Co){var Cs;if(ur.state.draggingText&&!ur.state.draggingText.copy&&(Cs=ur.listSelections()), $ o(ur.doc,Vp(gr,gr)),Cs)for(var ws=0;ws<Cs.length;++ws)vc(ur.doc,"",Cs[ws].anchor,Cs[ws].head,"drag");ur.replaceSelection(Co,"around","paste"),ur.display.input.focus()}}catch{}}}}function Ip(rr,ur){if(Ce&&(!rr.state.draggingText||+new Date-jf<100)){ $ u(ur);return}if(!(_s(rr,ur)||pf(rr.display,ur))&&(ur.dataTransfer.setData("Text",rr.getSelection()),ur.dataTransfer.effectAllowed="copyMove",ur.dataTransfer.setDragImage&&!ze)){var gr=mr("img",null,null,"position: fixed; left: 0; top: 0;");gr.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Ve&&(gr.width=gr.height=1,rr.display.wrapper.appendChild(gr),gr._top=gr.offsetTop),ur.dataTransfer.setDragImage(gr,0,0),Ve&&gr.parentNode.removeChild(gr)}}function Ed(rr,ur){var gr=sf(rr,ur);if(gr){var yr=document.createDocumentFragment();Lm(rr,gr,yr),rr.display.dragCursor||(rr.display.dragCursor=mr("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),rr.display.lineSpace.insertBefore(rr.display.dragCursor,rr.display.cursorDiv)),_r(rr.display.dragCursor,yr)}}function Ap(rr){rr.display.dragCursor&&(rr.display.lineSpace.removeChild(rr.display.dragCursor),rr.display.dragCursor=null)}function $ p(rr){if(document.getElementsByClassName){for(var ur=document.getElementsByClassName("CodeMirror"),gr=[],yr=0;yr<ur.length;yr++){var Tr=ur[yr].CodeMirror;Tr&&gr.push(Tr)}gr.length&&gr[0].operation(function(){for(var Xr=0;Xr<gr.length;Xr++)rr(gr[Xr])})}}var Mp=!1;function f0(){Mp||(E0(),Mp=!0)}function E0(){var rr;ra(window,"resize",function(){rr==null&&(rr=setTimeout(function(){rr=null, $ p(j0)},100))}),ra(window,"blur",function(){return $ p(Fo)})}function j0(rr){var ur=rr.display;ur.cachedCharWidth=ur.cachedTextHeight=ur.cachedPaddingH=null,ur.scrollbarsClipped=!1,rr.setSize()}for(var cf={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:" ` ",219:" [ ",220:" \ \ ",221:" ] ",222:" ' ",224:" Mod ",63232:" Up ",63233:" Down ",63234:" Left ",63235:" Right ",63272:" Delete ",63273:" Home ",63275:" End ",63276:" PageUp ",63277:" PageDown ",63302:" Insert "},m0=0;m0<10;m0++)cf[m0+48]=cf[m0+96]=String(m0);for(var t0=65;t0<=90;t0++)cf[t0]=String.fromCharCode(t0);for(var r0=1;r0<=12;r0++)cf[r0+111]=cf[r0+63235]=" F "+r0;var yh={};yh.basic={Left:" goCharLeft ",Right:" goCharRight ",Up:" goLineUp ",Down:" goLineDown ",End:" goLineEnd ",Home:" goLineStartSmart ",PageUp:" goPageUp ",PageDown:" goPageDown ",Delete:" delCharAfter ",Backspace:" delCharBefore "," Shift - Backspace ":"
` ,"start")},toggleOverwrite:function(rr){return rr.toggleOverwrite()}};function ui(rr,ur){var gr=jl(rr.doc,ur),yr=Xd(gr);return yr!=gr&&(ur=ei(yr)),Ui(!0,rr,yr,ur,1)}function Fn(rr,ur){var gr=jl(rr.doc,ur),yr=Am(gr);return yr!=gr&&(ur=ei(yr)),Ui(!0,rr,gr,ur,-1)}function Hn(rr,ur){var gr=ui(rr,ur.line),yr=jl(rr.doc,gr.line),Tr=ro(yr,rr.doc.direction);if(!Tr||Tr[0].level==0){var Xr=Math.max(gr.ch,yr.text.search(/ \S /)),In=ur.line==gr.line&&ur.ch<=Xr&&ur.ch;return Ml(gr.line,In?0:Xr,gr.sticky)}return gr}function zn(rr,ur,gr){if(typeof ur=="string"&&(ur=fi[ur],!ur))return!1;rr.display.input.ensurePolled();var yr=rr.display.shift,Tr=!1;try{rr.isReadOnly()&&(rr.state.suppressEdits=!0),gr&&(rr.display.shift=!1),Tr=ur(rr)!= $ r}finally{rr.display.shift=yr,rr.state.suppressEdits=!1}return Tr}function ji(rr,ur,gr){for(var yr=0;yr<rr.state.keyMaps.length;yr++){var Tr=bf(ur,rr.state.keyMaps[yr],gr,rr);if(Tr)return Tr}return rr.options.extraKeys&&bf(ur,rr.options.extraKeys,gr,rr)||bf(ur,rr.options.keyMap,gr,rr)}var Gi=new Sn;function la(rr,ur,gr,yr){var Tr=rr.state.keySeq;if(Tr){if(S0(ur))return"handled";if(/ \' $ /.test(ur)?rr.state.keySeq=null:Gi.set(50,function(){rr.state.keySeq==Tr&&(rr.state.keySeq=null,rr.display.input.reset())}),oa(rr,Tr+" "+ur,gr,yr))return!0}return oa(rr,ur,gr,yr)}function oa(rr,ur,gr,yr){var Tr=ji(rr,ur,yr);return Tr=="multi"&&(rr.state.keySeq=ur),Tr=="handled"&&bp(rr,"keyHandled",rr,ur,gr),(Tr=="handled"||Tr=="multi")&&(Ms(gr),Ps(rr)),!!Tr}function ca(rr,ur){var gr=h0(ur,!0);return gr?ur.shiftKey&&!rr.state.keySeq?la(rr,"Shift-"+gr,ur,function(yr){return zn(rr,yr,!0)})||la(rr,gr,ur,function(yr){if(typeof yr=="string"?/^go[A-Z]/.test(yr):yr.motion)return zn(rr,yr)}):la(rr,gr,ur,function(yr){return zn(rr,yr)}):!1}function zi(rr,ur,gr){return la(rr,"'"+gr+"'",ur,function(yr){return zn(rr,yr,!0)})}var Ki=null;function ma(rr){var ur=this;if(!(rr.target&&rr.target!=ur.display.input.getField())&&(ur.curOp.focus=Nr(kr(ur)),!_s(ur,rr))){Ce&&Ne<11&&rr.keyCode==27&&(rr.returnValue=!1);var gr=rr.keyCode;ur.display.shift=gr==16||rr.shiftKey;var yr=ca(ur,rr);Ve&&(Ki=yr?gr:null,!yr&&gr==88&&!Mn&&(tr?rr.metaKey:rr.ctrlKey)&&ur.replaceSelection("",null,"cut")),ue&&!tr&&!yr&&gr==46&&rr.shiftKey&&!rr.ctrlKey&&document.execCommand&&document.execCommand("cut"),gr==18&&!/ \b CodeMirror-crosshair \b /.test(ur.display.lineDiv.className)&&za(ur)}}function za(rr){var ur=rr.display.lineDiv;Rr(ur,"CodeMirror-crosshair");function gr(yr){(yr.keyCode==18||!yr.altKey)&&(dr(ur,"CodeMirror-crosshair"),Ka(document,"keyup",gr),Ka(document,"mouseover",gr))}ra(document,"keyup",gr),ra(document,"mouseover",gr)}function Xa(rr){rr.keyCode==16&&(this.doc.sel.shift=!1),_s(this,rr)}function Sa(rr){var ur=this;if(!(rr.target&&rr.target!=ur.display.input.getField())&&!(pf(ur.display,rr)||_s(ur,rr)||rr.ctrlKey&&!rr.altKey||tr&&rr.metaKey)){var gr=rr.keyCode,yr=rr.charCode;if(Ve&&gr==Ki){Ki=null,Ms(rr);return}if(!(Ve&&(!rr.which||rr.which<10)&&ca(ur,rr))){var Tr=String.fromCharCode(yr??gr);Tr!=" \b "&&(zi(ur,rr,Tr)||ur.display.input.onKeyPress(rr))}}}var Qa=400,Ia=function(rr,ur,gr){this.time=rr,this.pos=ur,this.button=gr};Ia.prototype.compare=function(rr,ur,gr){return this.time+Qa>rr&&Gc(ur,this.pos)==0&&gr==this.button};var co,Ja;function us(rr,ur){var gr=+new Date;return Ja&&Ja.compare(gr,rr,ur)?(co=Ja=null,"triple"):co&&co.compare(gr,rr,ur)?(Ja=new Ia(gr,rr,ur),co=null,"double"):(co=new Ia(gr,rr,ur),Ja=null,"single")}function ea(rr){var ur=this,gr=ur.display;if(!(_s(ur,rr)||gr.activeTouch&&gr.input.supportsTouch())){if(gr.input.ensurePolled(),gr.shift=rr.shiftKey,pf(gr,rr)){Oe||(gr.scroller.draggable=!1,setTimeout(function(){return gr.scroller.draggable=!0},100));return}if(!Fa(ur,rr)){var yr=sf(ur,rr),Tr=Su(rr),Xr=yr?us(yr,Tr):"single";Wr(ur).focus(),Tr==1&&ur.state.selectingText&&ur.state.selectingText(rr),!(yr&&Ma(ur,Tr,yr,Xr,rr))&&(Tr==1?yr?fa(ur,yr,Xr,rr):xu(rr)==gr.scroller&&Ms(rr):Tr==2?(yr&&Un(ur.doc,yr),setTimeout(function(){return gr.input.focus()},20)):Tr==3&&(ar?ur.display.input.onContextMenu(rr):Io(ur)))}}}function Ma(rr,ur,gr,yr,Tr){var Xr="Click";
` )==ur){if(yr.ranges.length%ns.text.length==0){Aa=[];for(var Co=0;Co<ns.text.length;Co++)Aa.push(Xr.splitLines(ns.text[Co]))}}else Vi.length==yr.ranges.length&&rr.options.pasteLinesPerSelection&&(Aa=kn(Vi,function(_c){return[_c]}));for(var Cs=rr.curOp.updateInput,ws=yr.ranges.length-1;ws>=0;ws--){var Is=yr.ranges[ws],sl=Is.from(),pc=Is.to();Is.empty()&&(gr&&gr>0?sl=Ml(sl.line,sl.ch-gr):rr.state.overwrite&&!mi?pc=Ml(pc.line,Math.min(jl(Xr,pc.line).text.length,pc.ch+An(Vi).length)):mi&&ns&&ns.lineWise&&ns.text.join( `
` )==Vi.join( `
` )&&(sl=pc=Ml(sl.line,0)));var _l={from:sl,to:pc,text:Aa?Aa[ws%Aa.length]:Vi,origin:Tr||(mi?"paste":rr.state.cutIncoming>In?"cut":"+input")};Ku(rr.doc,_l),bp(rr,"inputRead",rr,_l)}ur&&!mi&& $ c(rr,ur),Ss(rr),rr.curOp.updateInput<2&&(rr.curOp.updateInput=Cs),rr.curOp.typing=!0,rr.state.pasteIncoming=rr.state.cutIncoming=-1}function ml(rr,ur){var gr=rr.clipboardData&&rr.clipboardData.getData("Text");if(gr)return rr.preventDefault(),!ur.isReadOnly()&&!ur.options.disableInput&&ur.hasFocus()&&Au(ur,function(){return yl(ur,gr,0,null,"paste")}),!0}function $ c(rr,ur){if(!(!rr.options.electricChars||!rr.options.smartIndent))for(var gr=rr.doc.sel,yr=gr.ranges.length-1;yr>=0;yr--){var Tr=gr.ranges[yr];if(!(Tr.head.ch>100||yr&&gr.ranges[yr-1].head.line==Tr.head.line)){var Xr=rr.getModeAt(Tr.head),In=!1;if(Xr.electricChars){for(var mi=0;mi<Xr.electricChars.length;mi++)if(ur.indexOf(Xr.electricChars.charAt(mi))>-1){In=Cl(rr,Tr.head.line,"smart");break}}else Xr.electricInput&&Xr.electricInput.test(jl(rr.doc,Tr.head.line).text.slice(0,Tr.head.ch))&&(In=Cl(rr,Tr.head.line,"smart"));In&&bp(rr,"electricInput",rr,Tr.head.line)}}}function Fs(rr){for(var ur=[],gr=[],yr=0;yr<rr.doc.sel.ranges.length;yr++){var Tr=rr.doc.sel.ranges[yr].head.line,Xr={anchor:Ml(Tr,0),head:Ml(Tr+1,0)};gr.push(Xr),ur.push(rr.getRange(Xr.anchor,Xr.head))}return{text:ur,ranges:gr}}function Ts(rr,ur,gr,yr){rr.setAttribute("autocorrect",gr?"on":"off"),rr.setAttribute("autocapitalize",yr?"on":"off"),rr.setAttribute("spellcheck",!!ur)}function Ys(){var rr=mr("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),ur=mr("div",[rr],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Oe?rr.style.width="1000px":rr.setAttribute("wrap","off"),Pt&&(rr.style.border="1px solid black"),ur}function rl(rr){var ur=rr.optionHandlers,gr=rr.helpers={};rr.prototype={constructor:rr,focus:function(){Wr(this).focus(),this.display.input.focus()},setOption:function(yr,Tr){var Xr=this.options,In=Xr[yr];Xr[yr]==Tr&&yr!="mode"||(Xr[yr]=Tr,ur.hasOwnProperty(yr)&&Oc(this,ur[yr])(this,Tr,In),xs(this,"optionChange",this,yr))},getOption:function(yr){return this.options[yr]},getDoc:function(){return this.doc},addKeyMap:function(yr,Tr){this.state.keyMaps[Tr?"push":"unshift"](g0(yr))},removeKeyMap:function(yr){for(var Tr=this.state.keyMaps,Xr=0;Xr<Tr.length;++Xr)if(Tr[Xr]==yr||Tr[Xr].name==yr)return Tr.splice(Xr,1),!0},addOverlay:cc(function(yr,Tr){var Xr=yr.token?yr:rr.getMode(this.options,yr);if(Xr.startState)throw new Error("Overlays may not be stateful.");jr(this.state.overlays,{mode:Xr,modeSpec:yr,opaque:Tr&&Tr.opaque,priority:Tr&&Tr.priority||0},function(In){return In.priority}),this.state.modeGen++,qp(this)}),removeOverlay:cc(function(yr){for(var Tr=this.state.overlays,Xr=0;Xr<Tr.length;++Xr){var In=Tr[Xr].modeSpec;if(In==yr||typeof yr=="string"&&In.name==yr){Tr.splice(Xr,1),this.state.modeGen++,qp(this);return}}}),indentLine:cc(function(yr,Tr,Xr){typeof Tr!="string"&&typeof Tr!="number"&&(Tr==null?Tr=this.options.smartIndent?"smart":"prev":Tr=Tr?"add":"subtract"),dc(this.doc,yr)&&Cl(this,yr,Tr,Xr)}),indentSelection:cc(function(yr){for(var Tr=this.doc.sel.ranges,Xr=-1,In=0;In<Tr.length;In++){var mi=Tr[In];if(mi.empty())mi.head.line>Xr&&(Cl(this,mi.head.line,yr,!0),Xr=mi.head.line,In==this.doc.sel.primIndex&&Ss(this));else{var Vi=mi.from(),Aa=mi.to(),Co=Math.max(Xr,Vi.line);Xr=Math.min(this.lastLine(),Aa.line-(Aa.ch?0:1))+1;for(var Cs=Co;Cs<Xr;++Cs)Cl(this,Cs,yr);var ws=this.doc.sel.ranges;Vi.ch==0&&Tr.length==ws.length&&ws[In].from().ch>0&&Na(this.doc,In,new yd(Vi,ws[In].to()),Lr)}}}),getTokenAt:function(yr,Tr){return $ f(this,yr,Tr)},getLineTokens:function(yr,Tr){return $ f(this,Ml(yr),Tr,!0)},getTokenTypeAt:function(yr){yr=Lu(this.doc,yr);var Tr=Uf(this,jl(this.doc,yr.line)),Xr=0,In=(Tr.length-1)/2,mi=yr.ch,Vi;if(mi==0)Vi=Tr[2];else for(;;){var Aa=Xr+In>>1;if((Aa?Tr[Aa*2-1]:0)>=mi)In=Aa;else if(Tr[Aa*2+1]<mi)Xr=Aa+1;else{Vi=Tr[Aa*2+2];break}}var Co=Vi?Vi.indexOf("overlay "):-1;return Co<0?Vi:Co==0?null:V
` ,_l=to(pc,Is)?"w":ws&&pc== `
` ?"n":!ws||/ \s /.test(pc)?null:"p";if(ws&&!sl&&!_l&&(_l="s"),Cs&&Cs!=_l){gr<0&&(gr=1,Co(),ur.sticky="after");break}if(_l&&(Cs=_l),gr>0&&!Co(!sl))break}var _c=Yc(rr,ur,Xr,In,!0);return Bu(Xr,_c)&&(_c.hitSide=!0),_c}function gc(rr,ur,gr,yr){var Tr=rr.doc,Xr=ur.left,In;if(yr=="page"){var mi=Math.min(rr.display.wrapper.clientHeight,Wr(rr).innerHeight||Tr(rr).documentElement.clientHeight),Vi=Math.max(mi-.5*kf(rr.display),3);In=(gr>0?ur.bottom:ur.top)+gr*Vi}else yr=="line"&&(In=gr>0?ur.bottom+3:ur.top-3);for(var Aa;Aa=Ud(rr,Xr,In),!!Aa.outside;){if(gr<0?In<=0:In>=Tr.height){Aa.hitSide=!0;break}In+=gr*5}return Aa}var uc=function(rr){this.cm=rr,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Sn,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};uc.prototype.init=function(rr){var ur=this,gr=this,yr=gr.cm,Tr=gr.div=rr.lineDiv;Tr.contentEditable=!0,Ts(Tr,yr.options.spellcheck,yr.options.autocorrect,yr.options.autocapitalize);function Xr(mi){for(var Vi=mi.target;Vi;Vi=Vi.parentNode){if(Vi==Tr)return!0;if(/ \b CodeMirror-(?:line)?widget \b /.test(Vi.className))break}return!1}ra(Tr,"paste",function(mi){!Xr(mi)||_s(yr,mi)||ml(mi,yr)||Ne<=11&&setTimeout(Oc(yr,function(){return ur.updateFromDOM()}),20)}),ra(Tr,"compositionstart",function(mi){ur.composing={data:mi.data,done:!1}}),ra(Tr,"compositionupdate",function(mi){ur.composing||(ur.composing={data:mi.data,done:!1})}),ra(Tr,"compositionend",function(mi){ur.composing&&(mi.data!=ur.composing.data&&ur.readFromDOMSoon(),ur.composing.done=!0)}),ra(Tr,"touchstart",function(){return gr.forceCompositionEnd()}),ra(Tr,"input",function(){ur.composing||ur.readFromDOMSoon()});function In(mi){if(!(!Xr(mi)||_s(yr,mi))){if(yr.somethingSelected())Ls({lineWise:!1,text:yr.getSelections()}),mi.type=="cut"&&yr.replaceSelection("",null,"cut");else if(yr.options.lineWiseCopyCut){var Vi=Fs(yr);Ls({lineWise:!0,text:Vi.text}),mi.type=="cut"&&yr.operation(function(){yr.setSelections(Vi.ranges,0,Lr),yr.replaceSelection("",null,"cut")})}else return;if(mi.clipboardData){mi.clipboardData.clearData();var Aa=ns.text.join( `
` );if(mi.clipboardData.setData("Text",Aa),mi.clipboardData.getData("Text")==Aa){mi.preventDefault();return}}var Co=Ys(),Cs=Co.firstChild;Ts(Cs),yr.display.lineSpace.insertBefore(Co,yr.display.lineSpace.firstChild),Cs.value=ns.text.join( `
` );var ws=Nr(qr(Tr));Fr(Cs),setTimeout(function(){yr.display.lineSpace.removeChild(Co),ws.focus(),ws==Tr&&gr.showPrimarySelection()},50)}}ra(Tr,"copy",In),ra(Tr,"cut",In)},uc.prototype.screenReaderLabelChanged=function(rr){rr?this.div.setAttribute("aria-label",rr):this.div.removeAttribute("aria-label")},uc.prototype.prepareSelection=function(){var rr=Qm(this.cm,!1);return rr.focus=Nr(qr(this.div))==this.div,rr},uc.prototype.showSelection=function(rr,ur){!rr||!this.cm.display.view.length||((rr.focus||ur)&&this.showPrimarySelection(),this.showMultipleSelections(rr))},uc.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},uc.prototype.showPrimarySelection=function(){var rr=this.getSelection(),ur=this.cm,gr=ur.doc.sel.primary(),yr=gr.from(),Tr=gr.to();if(ur.display.viewTo==ur.display.viewFrom||yr.line>=ur.display.viewTo||Tr.line<ur.display.viewFrom){rr.removeAllRanges();return}var Xr=hu(ur,rr.anchorNode,rr.anchorOffset),In=hu(ur,rr.focusNode,rr.focusOffset);if(!(Xr&&!Xr.bad&&In&&!In.bad&&Gc(kp(Xr,In),yr)==0&&Gc(Id(Xr,In),Tr)==0)){var mi=ur.display.view,Vi=yr.line>=ur.display.viewFrom&&fu(ur,yr)||{node:mi[0].measure.map[2],offset:0},Aa=Tr.line<ur.display.viewTo&&fu(ur,Tr);if(!Aa){var Co=mi[mi.length-1].measure,Cs=Co.maps?Co.maps[Co.maps.length-1]:Co.map;Aa={node:Cs[Cs.length-1],offset:Cs[Cs.length-2]-Cs[Cs.length-3]}}if(!Vi||!Aa){rr.removeAllRanges();return}var ws=rr.rangeCount&&rr.getRangeAt(0),Is;try{Is=Sr(Vi.node,Vi.offset,Aa.offset,Aa.node)}catch{}Is&&(!ue&&ur.state.focused?(rr.collapse(Vi.node,Vi.offset),Is.collapsed||(rr.removeAllRanges(),rr.addRange(Is))):(rr.removeAllRanges(),rr.addRange(Is)),ws&&rr.anchorNode==null?rr.addRange(ws):ue&&this.startGracePeriod()),this.rememberSelection()}},uc.prototype.startGracePeriod=function(){var rr=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){rr.gracePeriod=!1,rr.selectionChanged()&&rr.cm.operation(function(){return rr.cm.curOp.selectionChanged=!0})},20)},uc.prototype.showMultipleSelections=function(rr){_r(this.cm.display.cursorDiv,rr.cursors),_r(this.cm.display.selectionDiv,rr.selection)},uc.prototype.rememberSelection=function(){var rr=this.getSelection();this.lastAnchorNode=rr.anchorNode,this.lastAnchorOffset=rr.anchorOffset,this.lastFocusNode=rr.focusNode,this.lastFocusOffset=rr.focusOffset},uc.prototype.selectionInEditor=function(){var rr=this.getSelection();if(!rr.rangeCount)return!1;var ur=rr.getRangeAt(0).commonAncestorContainer;return xr(this.div,ur)},uc.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Nr(qr(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},uc.prototype.blur=function(){this.div.blur()},uc.prototype.getField=function(){return this.div},uc.prototype.supportsTouch=function(){return!0},uc.prototype.receivedFocus=function(){var rr=this,ur=this;this.selectionInEditor()?setTimeout(function(){return rr.pollSelection()},20):Au(this.cm,function(){return ur.cm.curOp.selectionChanged=!0});function gr(){ur.cm.state.focused&&(ur.pollSelection(),ur.polling.set(ur.cm.options.pollInterval,gr))}this.polling.set(this.cm.options.pollInterval,gr)},uc.prototype.selectionChanged=function(){var rr=this.getSelection();return rr.anchorNode!=this.lastAnchorNode||rr.anchorOffset!=this.lastAnchorOffset||rr.focusNode!=this.lastFocusNode||rr.focusOffset!=this.lastFocusOffset},uc.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var rr=this.getSelection(),ur=this.cm;if(Et&&Fe&&this.cm.display.gutterSpecs.length&&Td(rr.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var gr=hu(ur,rr.anchorNode,rr.anchorOffset),yr=hu(ur,rr.focusNode,rr.focusOffset);gr&&yr&&Au(ur,function(){ms(ur.doc,Vp(gr,yr),Lr),(gr.bad||yr.bad)&&(ur.curOp.selectionChanged=!0)})}}},uc.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMT
` ),Fr(Tr))}else return;In.type=="cut"&&(yr.state.cutIncoming=+new Date)}}ra(Tr,"cut",Xr),ra(Tr,"copy",Xr),ra(rr.scroller,"paste",function(In){if(!(pf(rr,In)||_s(yr,In))){if(!Tr.dispatchEvent){yr.state.pasteIncoming=+new Date,gr.focus();return}var mi=new Event("paste");mi.clipboardData=In.clipboardData,Tr.dispatchEvent(mi)}}),ra(rr.lineSpace,"selectstart",function(In){pf(rr,In)||Ms(In)}),ra(Tr,"compositionstart",function(){var In=yr.getCursor("from");gr.composing&&gr.composing.range.clear(),gr.composing={start:In,range:yr.markText(In,yr.getCursor("to"),{className:"CodeMirror-composing"})}}),ra(Tr,"compositionend",function(){gr.composing&&(gr.poll(),gr.composing.range.clear(),gr.composing=null)})},ss.prototype.createField=function(rr){this.wrapper=Ys(),this.textarea=this.wrapper.firstChild;var ur=this.cm.options;Ts(this.textarea,ur.spellcheck,ur.autocorrect,ur.autocapitalize)},ss.prototype.screenReaderLabelChanged=function(rr){rr?this.textarea.setAttribute("aria-label",rr):this.textarea.removeAttribute("aria-label")},ss.prototype.prepareSelection=function(){var rr=this.cm,ur=rr.display,gr=rr.doc,yr=Qm(rr);if(rr.options.moveInputWithCursor){var Tr=rc(rr,gr.sel.primary().head,"div"),Xr=ur.wrapper.getBoundingClientRect(),In=ur.lineDiv.getBoundingClientRect();yr.teTop=Math.max(0,Math.min(ur.wrapper.clientHeight-10,Tr.top+In.top-Xr.top)),yr.teLeft=Math.max(0,Math.min(ur.wrapper.clientWidth-10,Tr.left+In.left-Xr.left))}return yr},ss.prototype.showSelection=function(rr){var ur=this.cm,gr=ur.display;_r(gr.cursorDiv,rr.cursors),_r(gr.selectionDiv,rr.selection),rr.teTop!=null&&(this.wrapper.style.top=rr.teTop+"px",this.wrapper.style.left=rr.teLeft+"px")},ss.prototype.reset=function(rr){if(!(this.contextMenuPending||this.composing&&rr)){var ur=this.cm;if(this.resetting=!0,ur.somethingSelected()){this.prevInput="";var gr=ur.getSelection();this.textarea.value=gr,ur.state.focused&&Fr(this.textarea),Ce&&Ne>=9&&(this.hasSelection=gr)}else rr||(this.prevInput=this.textarea.value="",Ce&&Ne>=9&&(this.hasSelection=null));this.resetting=!1}},ss.prototype.getField=function(){return this.textarea},ss.prototype.supportsTouch=function(){return!1},ss.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!er||Nr(qr(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},ss.prototype.blur=function(){this.textarea.blur()},ss.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ss.prototype.receivedFocus=function(){this.slowPoll()},ss.prototype.slowPoll=function(){var rr=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){rr.poll(),rr.cm.state.focused&&rr.slowPoll()})},ss.prototype.fastPoll=function(){var rr=!1,ur=this;ur.pollingFast=!0;function gr(){var yr=ur.poll();!yr&&!rr?(rr=!0,ur.polling.set(60,gr)):(ur.pollingFast=!1,ur.slowPoll())}ur.polling.set(20,gr)},ss.prototype.poll=function(){var rr=this,ur=this.cm,gr=this.textarea,yr=this.prevInput;if(this.contextMenuPending||this.resetting||!ur.state.focused||Mi(gr)&&!yr&&!this.composing||ur.isReadOnly()||ur.options.disableInput||ur.state.keySeq)return!1;var Tr=gr.value;if(Tr==yr&&!ur.somethingSelected())return!1;if(Ce&&Ne>=9&&this.hasSelection===Tr||tr&&/[ \u f700- \u f7ff]/.test(Tr))return ur.display.input.reset(),!1;if(ur.doc.sel==ur.display.selForContextMenu){var Xr=Tr.charCodeAt(0);if(Xr==8203&&!yr&&(yr=" "),Xr==8666)return this.reset(),this.cm.execCommand("undo")}for(var In=0,mi=Math.min(yr.length,Tr.length);In<mi&&yr.charCodeAt(In)==Tr.charCodeAt(In);)++In;return Au(ur,function(){yl(ur,Tr.slice(In),yr.length-In,null,rr.composing?"*compose":null),Tr.length>1e3||Tr.indexOf( `
` )>-1?gr.value=rr.prevInput="":rr.prevInput=Tr,rr.composing&&(rr.composing.range.clear(),rr.composing.range=ur.markText(rr.composing.start,ur.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ss.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ss.prototype.onKeyPress=function(){Ce&&Ne>=9&&(this.hasSelection=null),this.fastPoll()},ss.prototype.onContextMenu=function(rr){var ur=this,gr=ur.cm,yr=gr.display,Tr=ur.textarea;ur.contextMenuPending&&ur.contextMenuPending();var Xr=sf(gr,rr),In=yr.scroller.scrollTop;if(!Xr||Ve)return;var mi=gr.options.resetSelectionOnContextMenu;mi&&gr.doc.sel.contains(Xr)==-1&&Oc(gr,ms)(gr.doc,Vp(Xr),Lr);var Vi=Tr.style.cssText,Aa=ur.wrapper.style.cssText,Co=ur.wrapper.offsetParent.getBoundingClientRect();ur.wrapper.style.cssText="position: static",Tr.style.cssText= ` position : absolute ; width : 30 px ; height : 30 px ;
top : ` +(rr.clientY-Co.top-5)+"px; left: "+(rr.clientX-Co.left-5)+ ` px ;
z - index : 1000 ; background : ` +(Ce?"rgba(255, 255, 255, .05)":"transparent")+ ` ;
2024-08-29 16:46:41 +08:00
outline : none ; border - width : 0 ; outline : none ; overflow : hidden ; opacity : . 05 ; filter : alpha ( opacity = 5 ) ; ` ;var Cs;Oe&&(Cs=Tr.ownerDocument.defaultView.scrollY),yr.input.focus(),Oe&&Tr.ownerDocument.defaultView.scrollTo(null,Cs),yr.input.reset(),gr.somethingSelected()||(Tr.value=ur.prevInput=" "),ur.contextMenuPending=Is,yr.selForContextMenu=gr.doc.sel,clearTimeout(yr.detectingSelectAll);function ws(){if(Tr.selectionStart!=null){var pc=gr.somethingSelected(),_l=" "+(pc?Tr.value:"");Tr.value="⇚",Tr.value=_l,ur.prevInput=pc?"":" ",Tr.selectionStart=1,Tr.selectionEnd=_l.length,yr.selForContextMenu=gr.doc.sel}}function Is(){if(ur.contextMenuPending==Is&&(ur.contextMenuPending=!1,ur.wrapper.style.cssText=Aa,Tr.style.cssText=Vi,Ce&&Ne<9&&yr.scrollbars.setScrollTop(yr.scroller.scrollTop=In),Tr.selectionStart!=null)){(!Ce||Ce&&Ne<9)&&ws();var pc=0,_l=function(){yr.selForContextMenu==gr.doc.sel&&Tr.selectionStart==0&&Tr.selectionEnd>0&&ur.prevInput==" "?Oc(gr,Uu)(gr):pc++<10?yr.detectingSelectAll=setTimeout(_l,500):(yr.selForContextMenu=null,yr.input.reset())};yr.detectingSelectAll=setTimeout(_l,200)}}if(Ce&&Ne>=9&&ws(),ar){ $ u(rr);var sl=function(){Ka(window,"mouseup",sl),setTimeout(Is,20)};ra(window,"mouseup",sl)}else setTimeout(Is,50)},ss.prototype.readOnlyChanged=function(rr){rr||this.reset(),this.textarea.disabled=rr=="nocursor",this.textarea.readOnly=!!rr},ss.prototype.setUneditable=function(){},ss.prototype.needsContentAttribute=!1;function Dl(rr,ur){if(ur=ur?Dr(ur):{},ur.value=rr.value,!ur.tabindex&&rr.tabIndex&&(ur.tabindex=rr.tabIndex),!ur.placeholder&&rr.placeholder&&(ur.placeholder=rr.placeholder),ur.autofocus==null){var gr=Nr(qr(rr));ur.autofocus=gr==rr||rr.getAttribute("autofocus")!=null&&gr==document.body}function yr(){rr.value=mi.getValue()}var Tr;if(rr.form&&(ra(rr.form,"submit",yr),!ur.leaveSubmitMethodAlone)){var Xr=rr.form;Tr=Xr.submit;try{var In=Xr.submit=function(){yr(),Xr.submit=Tr,Xr.submit(),Xr.submit=In}}catch{}}ur.finishInit=function(Vi){Vi.save=yr,Vi.getTextArea=function(){return rr},Vi.toTextArea=function(){Vi.toTextArea=isNaN,yr(),rr.parentNode.removeChild(Vi.getWrapperElement()),rr.style.display="",rr.form&&(Ka(rr.form,"submit",yr),!ur.leaveSubmitMethodAlone&&typeof rr.form.submit=="function"&&(rr.form.submit=Tr))}},rr.style.display="none";var mi=Ds(function(Vi){return rr.parentNode.insertBefore(Vi,rr.nextSibling)},ur);return mi}function js(rr){rr.off=Ka,rr.on=ra,rr.wheelEventPixels=xp,rr.Doc=pp,rr.splitLines=Kr,rr.countColumn=Jr,rr.findColumn=Br,rr.isWordChar=Mo,rr.Pass= $ r,rr.signal=xs,rr.Line=Fi,rr.changeEnd=Jf,rr.scrollbarModel=wc,rr.Pos=Ml,rr.cmpPos=Gc,rr.modes=aa,rr.mimeModes=Ta,rr.resolveMode=Ha,rr.getMode=bo,rr.modeExtensions=hs,rr.extendMode=Vn,rr.copyState=Go,rr.startState=Po,rr.innerMode=Wl,rr.commands=fi,rr.keyMap=yh,rr.keyName=h0,rr.isModifierKey=S0,rr.lookupKey=bf,rr.normalizeKeyMap=Cm,rr.StringStream=Ec,rr.SharedTextMarker=Xc,rr.TextMarker=Kl,rr.LineWidget=ed,rr.e_preventDefault=Ms,rr.e_stopPropagation=zc,rr.e_stop= $ u,rr.addClass=Rr,rr.contains=xr,rr.rmClass=dr,rr.keyNames=cf}Hs(Ds),rl(Ds);var vl="iter insert remove copy getEditor constructor".split(" ");for(var Kc in pp.prototype)pp.prototype.hasOwnProperty(Kc)&&vn(vl,Kc)<0&&(Ds.prototype[Kc]=function(rr){return function(){return rr.apply(this.doc,arguments)}}(pp.prototype[Kc]));return Ac(pp),Ds.inputStyles={textarea:ss,contenteditable:uc},Ds.defineMode=function(rr){!Ds.defaults.mode&&rr!="null"&&(Ds.defaults.mode=rr),qi.apply(this,arguments)},Ds.defineMIME=va,Ds.defineMode("null",function(){return{token:function(rr){return rr.skipToEnd()}}}),Ds.defineMIME("text/plain","null"),Ds.defineExtension=function(rr,ur){Ds.prototype[rr]=ur},Ds.defineDocExtension=function(rr,ur){pp.prototype[rr]=ur},Ds.fromTextArea=Dl,js(Ds),Ds.version="5.65.17",Ds})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports);function tryOnScopeDispose $ 1(re){return getCurrentScope()?(onScopeDispose(re),!0):!1}function toValue $ 2(re){return typeof re=="function"?re():unref(re)}
2024-08-27 22:31:52 +08:00
( ? :
( ? : ` +oe+":){7}(?:"+oe+ ` | : ) | // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
( ? : ` +oe+":){6}(?:"+ae+"|:"+oe+ ` | : ) | // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
( ? : ` +oe+":){5}(?::"+ae+"|(?::"+oe+ ` ) { 1 , 2 } | : ) | // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
( ? : ` +oe+":){4}(?:(?::"+oe+"){0,1}:"+ae+"|(?::"+oe+ ` ) { 1 , 3 } | : ) | // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
( ? : ` +oe+":){3}(?:(?::"+oe+"){0,2}:"+ae+"|(?::"+oe+ ` ) { 1 , 4 } | : ) | // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
( ? : ` +oe+":){2}(?:(?::"+oe+"){0,3}:"+ae+"|(?::"+oe+ ` ) { 1 , 5 } | : ) | // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
( ? : ` +oe+":){1}(?:(?::"+oe+"){0,4}:"+ae+"|(?::"+oe+ ` ) { 1 , 6 } | : ) | // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
( ? : : ( ? : ( ? : : ` +oe+"){0,5}:"+ae+"|(?::"+oe+ ` ) { 1 , 7 } | : ) ) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
) ( ? : % [ 0 - 9 a - zA - Z ] { 1 , } ) ? // %eth0 %1
` ).replace(/ \s * \/ \/ .* $ /gm,"").replace(/ \n /g,"").trim(),de=new RegExp("(?:^"+ae+" $ )|(?:^"+ue+" $ )"),pe=new RegExp("^"+ae+" $ "),_e=new RegExp("^"+ue+" $ "),Ce=function(er){return er&&er.exact?de:new RegExp("(?:"+ie(er)+ae+ie(er)+")|(?:"+ie(er)+ue+ie(er)+")","g")};Ce.v4=function(Et){return Et&&Et.exact?pe:new RegExp(""+ie(Et)+ae+ie(Et),"g")},Ce.v6=function(Et){return Et&&Et.exact?_e:new RegExp(""+ie(Et)+ue+ie(Et),"g")};var Ne="(?:(?:[a-z]+:)?//)",Oe="(?: \\ S+(?:: \\ S*)?@)?",Ie=Ce.v4().source,Fe=Ce.v6().source,Ue="(?:(?:[a-z \\ u00a1- \\ uffff0-9][-_]*)*[a-z \\ u00a1- \\ uffff0-9]+)",Ve="(?: \\ .(?:[a-z \\ u00a1- \\ uffff0-9]-*)*[a-z \\ u00a1- \\ uffff0-9]+)*",ze="(?: \\ .(?:[a-z \\ u00a1- \\ uffff]{2,}))",jt="(?:: \\ d{2,5})?",kt='(?:[/?#][^ \\ s"]*)?',Pt="(?:"+Ne+"|www \\ .)"+Oe+"(?:localhost|"+Ie+"|"+Fe+"|"+Ue+Ve+ze+")"+jt+kt;return urlReg=new RegExp("(?:^"+Pt+" $ )","i"),urlReg},pattern $ 2={email:/^(([^<>() \[ \] \\ .,;: \s @"]+( \. [^<>() \[ \] \\ .,;: \s @"]+)*)|(".+"))@(( \[ [0-9]{1,3} \. [0-9]{1,3} \. [0-9]{1,3} \. [0-9]{1,3}])|(([a-zA-Z \- 0-9 \u 00A0- \u D7FF \u F900- \u FDCF \u FDF0- \u FFEF]+ \. )+[a-zA-Z \u 00A0- \u D7FF \u F900- \u FDCF \u FDF0- \u FFEF]{2,})) $ /,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3}) $ /i},types $ 2={integer:function(ie){return types $ 2.number(ie)&&parseInt(ie,10)===ie},float:function(ie){return types $ 2.number(ie)&&!types $ 2.integer(ie)},array:function(ie){return Array.isArray(ie)},regexp:function(ie){if(ie instanceof RegExp)return!0;try{return!!new RegExp(ie)}catch{return!1}},date:function(ie){return typeof ie.getTime=="function"&&typeof ie.getMonth=="function"&&typeof ie.getYear=="function"&&!isNaN(ie.getTime())},number:function(ie){return isNaN(ie)?!1:typeof ie=="number"},object:function(ie){return typeof ie=="object"&&!types $ 2.array(ie)},method:function(ie){return typeof ie=="function"},email:function(ie){return typeof ie=="string"&&ie.length<=320&&!!ie.match(pattern $ 2.email)},url:function(ie){return typeof ie=="string"&&ie.length<=2048&&!!ie.match(getUrlRegex())},hex:function(ie){return typeof ie=="string"&&!!ie.match(pattern $ 2.hex)}},type $ 1 $ 1=function(ie,ae,oe,ue,de){if(ie.required&&ae===void 0){required $ 1(ie,ae,oe,ue,de);return}var pe=["integer","float","array","regexp","object","method","email","number","date","url","hex"],_e=ie.type;pe.indexOf(_e)>-1?types $ 2[_e](ae)||ue.push(format $ 2(de.messages.types[_e],ie.fullField,ie.type)):_e&&typeof ae!==ie.type&&ue.push(format $ 2(de.messages.types[_e],ie.fullField,ie.type))},range $ 4=function(ie,ae,oe,ue,de){var pe=typeof ie.len=="number",_e=typeof ie.min=="number",Ce=typeof ie.max=="number",Ne=/[ \u D800- \u DBFF][ \u DC00- \u DFFF]/g,Oe=ae,Ie=null,Fe=typeof ae=="number",Ue=typeof ae=="string",Ve=Array.isArray(ae);if(Fe?Ie="number":Ue?Ie="string":Ve&&(Ie="array"),!Ie)return!1;Ve&&(Oe=ae.length),Ue&&(Oe=ae.replace(Ne,"_").length),pe?Oe!==ie.len&&ue.push(format $ 2(de.messages[Ie].len,ie.fullField,ie.len)):_e&&!Ce&&Oe<ie.min?ue.push(format $ 2(de.messages[Ie].min,ie.fullField,ie.min)):Ce&&!_e&&Oe>ie.max?ue.push(format $ 2(de.messages[Ie].max,ie.fullField,ie.max)):_e&&Ce&&(Oe<ie.min||Oe>ie.max)&&ue.push(format $ 2(de.messages[Ie].range,ie.fullField,ie.min,ie.max))},ENUM $ 1="enum",enumerable $ 1=function(ie,ae,oe,ue,de){ie[ENUM $ 1]=Array.isArray(ie[ENUM $ 1])?ie[ENUM $ 1]:[],ie[ENUM $ 1].indexOf(ae)===-1&&ue.push(format $ 2(de.messages[ENUM $ 1],ie.fullField,ie[ENUM $ 1].join(", ")))},pattern $ 1=function(ie,ae,oe,ue,de){if(ie.pattern){if(ie.pattern instanceof RegExp)ie.pattern.lastIndex=0,ie.pattern.test(ae)||ue.push(format $ 2(de.messages.pattern.mismatch,ie.fullField,ae,ie.pattern));else if(typeof ie.pattern=="string"){var pe=new RegExp(ie.pattern);pe.test(ae)||ue.push(format $ 2(de.messages.pattern.mismatch,ie.fullField,ae,ie.pattern))}}},rules={required:required $ 1,whitespace:whitespace $ 1,type:type $ 1 $ 1,range:range $ 4,enum:enumerable $ 1,pattern:pattern $ 1},string=function(ie,ae,oe,ue,de){var pe=[],_e=ie.required||!ie.required&&ue.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(ae,"string")&&!ie.required)return oe();rules.required(ie,ae,ue,pe,de,"string"),isEmptyValue(ae,"string")||(rules.type(ie,ae,ue,pe,de),rules.range(ie,ae,ue,pe,de),rules.pattern(ie,ae,ue,pe,de),ie.whitespace===!0&
height : 0 ! important ;
visibility : hidden ! important ;
$ { isFirefox ( ) ? "" : "overflow:hidden !important;" }
position : absolute ! important ;
z - index : - 1000 ! important ;
top : 0 ! important ;
right : 0 ! important ;
` ,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(re){const ie=window.getComputedStyle(re),ae=ie.getPropertyValue("box-sizing"),oe=Number.parseFloat(ie.getPropertyValue("padding-bottom"))+Number.parseFloat(ie.getPropertyValue("padding-top")),ue=Number.parseFloat(ie.getPropertyValue("border-bottom-width"))+Number.parseFloat(ie.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(pe=> ` $ { pe } : $ { ie . getPropertyValue ( pe ) } ` ).join(";"),paddingSize:oe,borderSize:ue,boxSizing:ae}}function calcTextareaHeight(re,ie=1,ae){var oe;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:ue,borderSize:de,boxSizing:pe,contextStyle:_e}=calculateNodeStyling(re);hiddenTextarea.setAttribute("style", ` $ { _e } ; $ { HIDDEN _STYLE } ` ),hiddenTextarea.value=re.value||re.placeholder||"";let Ce=hiddenTextarea.scrollHeight;const Ne={};pe==="border-box"?Ce=Ce+de:pe==="content-box"&&(Ce=Ce-ue),hiddenTextarea.value="";const Oe=hiddenTextarea.scrollHeight-ue;if(isNumber $ 3(ie)){let Ie=Oe*ie;pe==="border-box"&&(Ie=Ie+ue+de),Ce=Math.max(Ie,Ce),Ne.minHeight= ` $ { Ie } px ` }if(isNumber $ 3(ae)){let Ie=Oe*ae;pe==="border-box"&&(Ie=Ie+ue+de),Ce=Math.min(Ie,Ce)}return Ne.height= ` $ { Ce } px ` ,(oe=hiddenTextarea.parentNode)==null||oe.removeChild(hiddenTextarea),hiddenTextarea=void 0,Ne}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:re=>isString $ 3(re),input:re=>isString $ 3(re),change:re=>isString $ 3(re),focus:re=>re instanceof FocusEvent,blur:re=>re instanceof FocusEvent,clear:()=>!0,mouseleave:re=>re instanceof MouseEvent,mouseenter:re=>re instanceof MouseEvent,keydown:re=>re instanceof Event,compositionstart:re=>re instanceof CompositionEvent,compositionupdate:re=>re instanceof CompositionEvent,compositionend:re=>re instanceof CompositionEvent},__default__ $ 1J=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main $ 2V=defineComponent({...__default__ $ 1J,props:inputProps,emits:inputEmits,setup(re,{expose:ie,emit:ae}){const oe=re,ue=useAttrs $ 1(),de=useSlots(),pe=computed(()=>{const ta={};return oe.containerRole==="combobox"&&(ta["aria-haspopup"]=ue["aria-haspopup"],ta["aria-owns"]=ue["aria-owns"],ta["aria-expanded"]=ue["aria-expanded"]),ta}),_e=computed(()=>[oe.type==="textarea"?jt.b():ze.b(),ze.m(Ue.value),ze.is("disabled",Ve.value),ze.is("exceed",Ir.value),{[ze.b("group")]:de.prepend||de.append,[ze.m("prefix")]:de.prefix||oe.prefixIcon,[ze.m("suffix")]:de.suffix||oe.suffixIcon||oe.clearable||oe.showPassword,[ze.bm("suffix","password-clear")]:Nr.value&&Rr.value,[ze.b("hidden")]:oe.type==="hidden"},ue.class]),Ce=computed(()=>[ze.e("wrapper"),ze.is("focus",ir.value)]),Ne=useAttrs({excludeKeys:computed(()=>Object.keys(pe.value))}),{form:Oe,formItem:Ie}=useFormItem(),{inputId:Fe}=useFormItemInputId(oe,{formItemContext:Ie}),Ue=useFormSize(),Ve=useFormDisabled(),ze=useNamespace("input"),jt=useNamespace("textarea"),kt=shallowRef(),Pt=shallowRef(),Et=ref $ 1(!1),er=ref $ 1(
* Checks if an event is supported in the current execution environment .
*
* NOTE : This will not work correctly for non - generic events such as ` change ` ,
* ` reset ` , ` load ` , ` error ` , and ` select ` .
*
* Borrows from Modernizr .
*
* @ param { string } eventNameSuffix Event name , e . g . "click" .
* @ param { ? boolean } capture Check if the capture phase is supported .
* @ return { boolean } True if the event is supported .
* @ internal
* @ license Modernizr 3.0 . 0 pre ( Custom Build ) | MIT
* / c o n s t m o u s e w h e e l = f u n c t i o n ( r e , i e ) { i f ( r e & & r e . a d d E v e n t L i s t e n e r ) { c o n s t a e = f u n c t i o n ( o e ) { c o n s t u e = Y $ 1 ( o e ) ; i e & & R e f l e c t . a p p l y ( i e , t h i s , [ o e , u e ] ) } ; r e . a d d E v e n t L i s t e n e r ( " w h e e l " , a e , { p a s s i v e : ! 0 } ) } } , M o u s e w h e e l = { b e f o r e M o u n t ( r e , i e ) { m o u s e w h e e l ( r e , i e . v a l u e ) } } , b a s i c T i m e S p i n n e r P r o p s = b u i l d P r o p s ( { r o l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , s p i n n e r D a t e : { t y p e : d e f i n e P r o p T y p e ( O b j e c t ) , r e q u i r e d : ! 0 } , s h o w S e c o n d s : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , a r r o w C o n t r o l : B o o l e a n , a m P m M o d e : { t y p e : d e f i n e P r o p T y p e ( S t r i n g ) , d e f a u l t : " " } , . . . d i s a b l e d T i m e L i s t s P r o p s } ) , _ s f c _ m a i n $ 2 z = d e f i n e C o m p o n e n t ( { _ _ n a m e : " b a s i c - t i m e - s p i n n e r " , p r o p s : b a s i c T i m e S p i n n e r P r o p s , e m i t s : [ " c h a n g e " , " s e l e c t - r a n g e " , " s e t - o p t i o n " ] , s e t u p ( r e , { e m i t : i e } ) { c o n s t a e = r e , o e = u s e N a m e s p a c e ( " t i m e " ) , { g e t H o u r s L i s t : u e , g e t M i n u t e s L i s t : d e , g e t S e c o n d s L i s t : p e } = g e t T i m e L i s t s ( a e . d i s a b l e d H o u r s , a e . d i s a b l e d M i n u t e s , a e . d i s a b l e d S e c o n d s ) ; l e t _ e = ! 1 ; c o n s t C e = r e f $ 1 ( ) , N e = r e f $ 1 ( ) , O e = r e f $ 1 ( ) , I e = r e f $ 1 ( ) , F e = { h o u r s : N e , m i n u t e s : O e , s e c o n d s : I e } , U e = c o m p u t e d ( ( ) = > a e . s h o w S e c o n d s ? t i m e U n i t s $ 1 : t i m e U n i t s $ 1 . s l i c e ( 0 , 2 ) ) , V e = c o m p u t e d ( ( ) = > { c o n s t { s p i n n e r D a t e : N r } = a e , R r = N r . h o u r ( ) , V r = N r . m i n u t e ( ) , F r = N r . s e c o n d ( ) ; r e t u r n { h o u r s : R r , m i n u t e s : V r , s e c o n d s : F r } } ) , z e = c o m p u t e d ( ( ) = > { c o n s t { h o u r s : N r , m i n u t e s : R r } = u n r e f ( V e ) ; r e t u r n { h o u r s : u e ( a e . r o l e ) , m i n u t e s : d e ( N r , a e . r o l e ) , s e c o n d s : p e ( N r , R r , a e . r o l e ) } } ) , j t = c o m p u t e d ( ( ) = > { c o n s t { h o u r s : N r , m i n u t e s : R r , s e c o n d s : V r } = u n r e f ( V e ) ; r e t u r n { h o u r s : b u i l d T i m e L i s t ( N r , 2 3 ) , m i n u t e s : b u i l d T i m e L i s t ( R r , 5 9 ) , s e c o n d s : b u i l d T i m e L i s t ( V r , 5 9 ) } } ) , k t = d e b o u n c e ( N r = > { _ e = ! 1 , e r ( N r ) } , 2 0 0 ) , P t = N r = > { i f ( ! ! ! a e . a m P m M o d e ) r e t u r n " " ; c o n s t V r = a e . a m P m M o d e = = = " A " ; l e t F r = N r < 1 2 ? " a m " : " p m " ; r e t u r n V r & & ( F r = F r . t o U p p e r C a s e ( ) ) , F r } , E t = N r = > { l e t R r ; s w i t c h ( N r ) { c a s e " h o u r s " : R r = [ 0 , 2 ] ; b r e a k ; c a s e " m i n u t e s " : R r = [ 3 , 5 ] ; b r e a k ; c a s e " s e c o n d s " : R r = [ 6 , 8 ] ; b r e a k } c o n s t [ V r , F r ] = R r ; i e ( " s e l e c t - r a n g e " , V r , F r ) , C e . v a l u e = N r } , e r = N r = > { l r ( N r , u n r e f ( V e ) [ N r ] ) } , t r = ( ) = > { e r ( " h o u r s " ) , e r ( " m i n u t e s " ) , e r ( " s e c o n d s " ) } , n r = N r = > N r . q u e r y S e l e c t o r ( ` . $ { o e . n a m e s p a c e . v a l u e } - s c r o l l b a r _ _ w r a p ` ) , l r = ( N r , R r ) = > { i f ( a e . a r r o w C o n t r o l ) r e t u r n ; c o n s t V r = u n r e f ( F e [ N r ] ) ; V r & & V r . $ e l & & ( n r ( V r . $ e l ) . s c r o l l T o p = M a t h . m a x ( 0 , R r * c r ( N r ) ) ) } , c r = N r = > { c o n s t R r = u n r e f ( F e [ N r ] ) , V r = R r = = n u l l ? v o i d 0 : R r . $ e l . q u e r y S e l e c t o r ( " l i " ) ; r e t u r n V r & & N u m b e r . p a r s e F l o a t ( g e t S t y l e ( V r , " h e i g h t " ) ) | | 0 } , i r = ( ) = > { s r ( 1 ) } , a r = ( ) = > { s r ( - 1 ) } , s r = N r = > { C e . v a l u e | | E t ( " h o u r s " ) ; c o n s t R r = C e . v a l u e , V r = u n r e f ( V e ) [ R r ] , F r = C e . v a l u e = = = " h o u r s " ? 2 4 : 6 0 , I r = d r ( R r , V r , N r , F r ) ; f r ( R r , I r ) , l r ( R r , I r ) , n e x t T i c k $ 1 ( ( ) = > E t ( R r ) ) } , d r = ( N r , R r , V r , F r ) = > { l e t I r = ( R r + V r + F r ) % F r ; c o n s t k r = u n r e f ( z e ) [ N r ] ; f o r ( ; k r [ I r ] & & I r ! = = R r ; ) I r = ( I r + V r + F r ) % F r ; r e t u r n I r } , f r = ( N r , R r ) = > { i f ( u n r e f ( z e ) [ N r ] [ R r ] ) r e t u r n ; c o n s t { h o u r s : I r , m i n u t e s : k r , s e c o n d s : q r } = u n r e f ( V e ) ; l e t W r ; s w i t c h ( N r ) { c a s e " h o u r s " : W r = a e . s p i n n e r D a t e . h o u r ( R r ) . m i n u t e ( k r ) . s e c o n d ( q r ) ; b r e a k ; c a s e " m i n u t e s " : W r = a e . s p i n n e r D a t e . h o u r ( I r ) . m i n u t e ( R r ) . s e c o n d ( q r ) ; b r e a k ; c a s e " s e c o n d s " : W r = a e . s p i n n e r D a t e . h o u r ( I r ) . m i n u t e ( k r ) . s e c o n d ( R r ) ; b r e a k } i e ( " c h a n g e " , W r ) } , _ r = ( N r , { v a l u e : R r , d i s a b l e d : V r } ) = > { V r | | ( f r ( N r , R r ) , E t ( N r ) , l r ( N r , R r ) ) } , m r = N r = > { _ e = ! 0 , k t ( N r ) ; c o n s t R r = M a t h . m i n ( M a t h . r o u n d ( ( n r ( u n r e f ( F e [ N r ] ) . $ e l ) . s c r o l l T o p - ( E r ( N r ) * . 5 - 1 0 ) / c r ( N r ) + 3 ) / c r ( N r ) ) , N r = = = " h o u r s " ? 2 3 : 5 9 ) ; f r ( N r , R r ) } , E r = N r = > u n r e f ( F e [ N r ] ) . $ e l . o f f s e t H e i g h t , S r = ( ) = > { c o n s t N r = R r = > { c o n s t V r = u n r e f ( F e [ R r ] ) ; V r & & V r . $ e l & & ( n r ( V r . $ e l ) . o n s c r o l l = ( ) = > { m r ( R r ) } ) } ; N r ( " h o u r s " ) , N r ( " m i n u t e s " ) , N r ( " s e c o n d s " ) } ; o n M o u n t e d ( ( ) = > { n e x t T i c k $ 1 ( ( ) = > { ! a e . a r r o w C o n t r o l & & S r ( ) , t r ( ) , a e . r o l e = = = " s t a r t " & & E t ( " h o u r s " ) } ) } ) ; c o n s t x r = ( N r , R r ) = > { F e [ R r ] . v a l u e = N r } ; r e t u r n i e ( " s e t - o p t i o n " , [ ` $ { a e . r o l e } _ s c r o l l D o w n ` , s r ] ) , i e ( " s e t - o p t i o n " , [ ` $ { a e . r o l e } _ e m i t S e l e c t R a n g e ` , E t ] ) , w a t c h ( ( ) = > a e . s p i n n e r D a t e , ( ) = > { _ e | | t r ( ) } ) , ( N r , R r ) = > ( o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( " d i v " , { c l a s s : n o r m a l i z e C l a s s ( [ u n r e f ( o e ) . b ( " s p i n n e r " ) , { " h a s - s e c o n d s " : N r . s h o w S e c o n d s } ] ) } , [ N r . a r r o w C o n t r o l ? c r e a t e C o m m e n t V N o d e ( " v - i f " , ! 0 ) : ( o p e n B l o c k ( ! 0 ) , c r e a t e E l e m e n t B l o c k ( F r a g m e n t , { k e y : 0 } , r e n d e r L i s t ( u n r e f ( U e ) , V r = > ( o p e n B l o c k ( ) , c r e a t e B l o c k ( u n r e f ( E l S c r o l l b a r ) , { k e y : V r , r e f _ f o r : ! 0 , r e f : F r = > x r ( F r , V r ) , c l a s s : n o r m a l i z e C l a s s ( u n r e f ( o e ) . b e ( " s p i n n e r " , " w r a p p e r " ) ) , " w r a p - s t y l e " : " m a x - h e i g h t : i n h e r i t ; " , " v i e w - c l a s s " : u n r e f ( o e ) . b e ( " s p i n n e r " , " l i s t " ) , n o r e s i z e : " " , t a g : " u l " , o n M o u s e e n t e r : F r = > E t ( V r ) , o n M o u s e m o v e : F r = > e r ( V r ) } , { d e f a u l t : w i t h C t x ( ( ) = > [ ( o p e n B l o c k ( ! 0 ) , c r e a t e E l e m e n t B l o c k ( F r a g m e n t , n u l l , r e n d e r L i s t ( u n r e f ( z e ) [ V r ] , ( F r , I r ) = > ( o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( " l i " , { k e y : I r , c l a s s : n o r
Add an empty element to avoid render label ,
do not use empty fragment here for https : //github.com/vuejs/vue-next/pull/2485
` ),createBaseVNode("span")]),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):re.isLeaf&&re.node.checked?(openBlock(),createBlock(Ne,{key:2,class:normalizeClass(re.ns.e("prefix"))},{default:withCtx(()=>[createVNode(Ce)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(Oe),createCommentVNode(" postfix "),re.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[re.node.loading?(openBlock(),createBlock(Ne,{key:0,class:normalizeClass([re.ns.is("loading"),re.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Ie)]),_:1},8,["class"])):(openBlock(),createBlock(Ne,{key:1,class:normalizeClass(["arrow-right",re.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Fe)]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var ElCascaderNode=_export_sfc $ 1(_sfc_main $ 2l,[["render",_sfc_render $ t],["__file","node.vue"]]);const _sfc_main $ 2k=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(re){const ie=getCurrentInstance(),ae=useNamespace("cascader-menu"),{t:oe}=useLocale(),ue=useId();let de=null,pe=null;const _e=inject(CASCADER_PANEL_INJECTION_KEY),Ce=ref $ 1(null),Ne=computed(()=>!re.nodes.length),Oe=computed(()=>!_e.initialLoaded),Ie=computed(()=> ` $ { ue . value } - $ { re . index } ` ),Fe=jt=>{de=jt.target},Ue=jt=>{if(!(!_e.isHoverMenu||!de||!Ce.value))if(de.contains(jt.target)){Ve();const kt=ie.vnode.el,{left:Pt}=kt.getBoundingClientRect(),{offsetWidth:Et,offsetHeight:er}=kt,tr=jt.clientX-Pt,nr=de.offsetTop,lr=nr+de.offsetHeight;Ce.value.innerHTML= `
< path style = "pointer-events: auto;" fill = "transparent" d = "M${tr} ${nr} L${Et} 0 V${nr} Z" / >
< path style = "pointer-events: auto;" fill = "transparent" d = "M${tr} ${lr} L${Et} ${er} V${lr} Z" / >
` }else pe||(pe=window.setTimeout(ze,_e.config.hoverThreshold))},Ve=()=>{pe&&(clearTimeout(pe),pe=null)},ze=()=>{Ce.value&&(Ce.value.innerHTML="",Ve())};return{ns:ae,panel:_e,hoverZone:Ce,isEmpty:Ne,isLoading:Oe,menuId:Ie,t:oe,handleExpand:Fe,handleMouseMove:Ue,clearHoverZone:ze}}});function _sfc_render $ s(re,ie,ae,oe,ue,de){const pe=resolveComponent("el-cascader-node"),_e=resolveComponent("loading"),Ce=resolveComponent("el-icon"),Ne=resolveComponent("el-scrollbar");return openBlock(),createBlock(Ne,{key:re.menuId,tag:"ul",role:"menu",class:normalizeClass(re.ns.b()),"wrap-class":re.ns.e("wrap"),"view-class":[re.ns.e("list"),re.ns.is("empty",re.isEmpty)],onMousemove:re.handleMouseMove,onMouseleave:re.clearHoverZone},{default:withCtx(()=>{var Oe;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(re.nodes,Ie=>(openBlock(),createBlock(pe,{key:Ie.uid,node:Ie,"menu-id":re.menuId,onExpand:re.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),re.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(re.ns.e("empty-text"))},[createVNode(Ce,{size:"14",class:normalizeClass(re.ns.is("loading"))},{default:withCtx(()=>[createVNode(_e)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(re.t("el.cascader.loading")),1)],2)):re.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(re.ns.e("empty-text"))},toDisplayString(re.t("el.cascader.noData")),3)):(Oe=re.panel)!=null&&Oe.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(re.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc $ 1(_sfc_main $ 2k,[["render",_sfc_render $ s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=re=>{const ie=[re];let{parent:ae}=re;for(;ae;)ie.unshift(ae),ae=ae.parent;return ie};let Node $ 2=class yg{constructor(ie,ae,oe,ue=!1){this.data=ie,this.config=ae,this.parent=oe,this.root=ue,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:de,label:pe,children:_e}=ae,Ce=ie[_e],Ne=calculatePathNodes(this);this.level=ue?0:oe?oe.level+1:1,this.value=ie[de],this.label=ie[pe],this.pathNodes=Ne,this.pathValues=Ne.map(Oe=>Oe.value),this.pathLabels=Ne.map(Oe=>Oe.label),this.childrenData=Ce,this.children=(Ce||[]).map(Oe=>new yg(Oe,ae,this)),this.loaded=!ae.lazy||this.isLeaf||!isEmpty $ 1(Ce)}get isDisabled(){const{data:ie,parent:ae,config:oe}=this,{disabled:ue,checkStrictly:de}=oe;return(isFunction $ 4(ue)?ue(ie,this):!!ie[ue])||!de&&(ae==null?void 0:ae.isDisabled)}get isLeaf(){const{data:ie,config:ae,childrenData:oe,loaded:ue}=this,{lazy:de,leaf:pe}=ae,_e=isFunction $ 4(pe)?pe(ie,this):ie[pe];return isUndefined $ 1(_e)?de&&!ue?!1:!(Array.isArray(oe)&&oe.length):!!_e}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(ie){const{childrenData:ae,children:oe}=this,ue=new yg(ie,this.config,this);return Array.isArray(ae)?ae.push(ie):this.childrenData=[ie],oe.push(ue),ue}calcText(ie,ae){const oe=ie?this.pathLabels.join(ae):this.label;return this.text=oe,oe}broadcast(ie,...ae){const oe= ` onParent$ { capitalize ( ie ) } ` ;this.children.forEach(ue=>{ue&&(ue.broadcast(ie,...ae),ue[oe]&&ue[oe](...ae))})}emit(ie,...ae){const{parent:oe}=this,ue= ` onChild$ { capitalize ( ie ) } ` ;oe&&(oe[ue]&&oe[ue](...ae),oe.emit(ie,...ae))}onParentCheck(ie){this.isDisabled||this.setCheckState(ie)}onChildCheck(){const{children:ie}=this,ae=ie.filter(ue=>!ue.isDisabled),oe=ae.length?ae.every(ue=>ue.checked):!1;this.setCheckState(oe)}setCheckState(ie){const ae=this.children.length,oe=this.children.reduce((ue,de)=>{const pe=de.checked?1:de.indeterminate?.5:0;return ue+pe},0);this.checked=this.loaded&&this.children.filter(ue=>!ue.isDisabled).every(ue=>ue.loaded&&ue.checked)&&ie,this.indeterminate=this.loaded&&oe!==ae&&oe>0}doCheck(ie){if(this.checked===ie)return;const{checkStrictly:ae,multiple:oe}=this.config;ae||!oe?this.checked=ie:(this.broadcast("check",ie),this.setCheckState(ie),this.emit("check"))}};const flatNodes=(re,ie)=>re.reduce
M 50 50
m 0 $ { er ? "" : "-" } $ { Et }
a $ { Et } $ { Et } 0 1 1 0 $ { er ? "-" : "" } $ { Et * 2 }
a $ { Et } $ { Et } 0 1 1 0 $ { er ? "" : "-" } $ { Et * 2 }
` }),Ce=computed(()=>2*Math.PI*pe.value),Ne=computed(()=>ie.type==="dashboard"?.75:1),Oe=computed(()=> ` $ { - 1 * Ce . value * ( 1 - Ne . value ) / 2 } px ` ),Ie=computed(()=>({strokeDasharray: ` $ { Ce . value * Ne . value } px , $ { Ce . value } px ` ,strokeDashoffset:Oe.value})),Fe=computed(()=>({strokeDasharray: ` $ { Ce . value * Ne . value * ( ie . percentage / 100 ) } px , $ { Ce . value } px ` ,strokeDashoffset:Oe.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ue=computed(()=>{let Et;return ie.color?Et=Pt(ie.percentage):Et=ae[ie.status]||ae.default,Et}),Ve=computed(()=>ie.status==="warning"?warning_filled_default:ie.type==="line"?ie.status==="success"?circle_check_default:circle_close_default:ie.status==="success"?check_default:close_default),ze=computed(()=>ie.type==="line"?12+ie.strokeWidth*.4:ie.width*.111111+2),jt=computed(()=>ie.format(ie.percentage));function kt(Et){const er=100/Et.length;return Et.map((nr,lr)=>isString $ 3(nr)?{color:nr,percentage:(lr+1)*er}:nr).sort((nr,lr)=>nr.percentage-lr.percentage)}const Pt=Et=>{var er;const{color:tr}=ie;if(isFunction $ 4(tr))return tr(Et);if(isString $ 3(tr))return tr;{const nr=kt(tr);for(const lr of nr)if(lr.percentage>Et)return lr.color;return(er=nr[nr.length-1])==null?void 0:er.color}};return(Et,er)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b(),unref(oe).m(Et.type),unref(oe).is(Et.status),{[unref(oe).m("without-text")]:!Et.showText,[unref(oe).m("text-inside")]:Et.textInside}]),role:"progressbar","aria-valuenow":Et.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[Et.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(oe).be("bar","outer")),style:normalizeStyle({height: ` $ { Et . strokeWidth } px ` })},[createBaseVNode("div",{class:normalizeClass([unref(oe).be("bar","inner"),{[unref(oe).bem("bar","inner","indeterminate")]:Et.indeterminate},{[unref(oe).bem("bar","inner","striped")]:Et.striped},{[unref(oe).bem("bar","inner","striped-flow")]:Et.stripedFlow}]),style:normalizeStyle(unref(ue))},[(Et.showText||Et. $ slots.default)&&Et.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).be("bar","innerText"))},[renderSlot(Et. $ slots,"default",{percentage:Et.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(jt)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).b("circle")),style:normalizeStyle({height: ` $ { Et . width } px ` ,width: ` $ { Et . width } px ` })},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(oe).be("circle","track")),d:unref(_e),stroke: ` var ( $ { unref ( oe ) . cssVarName ( "fill-color-light" ) } , # e5e9f2 ) ` ,"stroke-linecap":Et.strokeLinecap,"stroke-width":unref(de),fill:"none",style:normalizeStyle(unref(Ie))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(oe).be("circle","path")),d:unref(_e),stroke:unref(Ue),fill:"none",opacity:Et.percentage?1:0,"stroke-linecap":Et.strokeLinecap,"stroke-width":unref(de),style:normalizeStyle(unref(Fe))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(Et.showText||Et. $ slots.default)&&!Et.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(oe).e("text")),style:normalizeStyle({fontSize: ` $ { unref ( ze ) } px ` })},[renderSlot(Et. $ slots,"default",{percentage:Et.percentage},()=>[Et.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ve))))]),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(jt)),1))])],6)):createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var Progress=_export_sfc $ 1(_sfc_main $ 1k,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colo
2024-08-29 15:49:09 +08:00
` ||Ne===" \r "){pe=Ce;continue}if(de.includes(Ne)){const Oe=pe===-1?oe:pe;_e={pattern:ue.slice(Ce+1,Oe),start:Ce+1,end:Oe,prefix:Ne,prefixIndex:Ce,splitIndex:pe,selectionEnd:oe};break}}return _e},getCursorPosition=(re,ie={debug:!1,useSelectionEnd:!1})=>{const ae=re.selectionStart!==null?re.selectionStart:0,oe=re.selectionEnd!==null?re.selectionEnd:0,ue=ie.useSelectionEnd?oe:ae,de=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(ie.debug){const Fe=document.querySelector("#input-textarea-caret-position-mirror-div");Fe!=null&&Fe.parentNode&&Fe.parentNode.removeChild(Fe)}const pe=document.createElement("div");pe.id="input-textarea-caret-position-mirror-div",document.body.appendChild(pe);const _e=pe.style,Ce=window.getComputedStyle(re),Ne=re.nodeName==="INPUT";_e.whiteSpace=Ne?"nowrap":"pre-wrap",Ne||(_e.wordWrap="break-word"),_e.position="absolute",ie.debug||(_e.visibility="hidden"),de.forEach(Fe=>{if(Ne&&Fe==="lineHeight")if(Ce.boxSizing==="border-box"){const Ue=Number.parseInt(Ce.height),Ve=Number.parseInt(Ce.paddingTop)+Number.parseInt(Ce.paddingBottom)+Number.parseInt(Ce.borderTopWidth)+Number.parseInt(Ce.borderBottomWidth),ze=Ve+Number.parseInt(Ce.lineHeight);Ue>ze?_e.lineHeight= ` $ { Ue - Ve } px ` :Ue===ze?_e.lineHeight=Ce.lineHeight:_e.lineHeight="0"}else _e.lineHeight=Ce.height;else _e[Fe]=Ce[Fe]}),isFirefox()?re.scrollHeight>Number.parseInt(Ce.height)&&(_e.overflowY="scroll"):_e.overflow="hidden",pe.textContent=re.value.slice(0,Math.max(0,ue)),Ne&&pe.textContent&&(pe.textContent=pe.textContent.replace(/ \s /g," "));const Oe=document.createElement("span");Oe.textContent=re.value.slice(Math.max(0,ue))||".",Oe.style.position="relative",Oe.style.left= ` $ { - re . scrollLeft } px ` ,Oe.style.top= ` $ { - re . scrollTop } px ` ,pe.appendChild(Oe);const Ie={top:Oe.offsetTop+Number.parseInt(Ce.borderTopWidth),left:Oe.offsetLeft+Number.parseInt(Ce.borderLeftWidth),height:Number.parseInt(Ce.fontSize)*1.5};return ie.debug?Oe.style.backgroundColor="#aaa":document.body.removeChild(pe),Ie.left>=re.clientWidth&&(Ie.left=re.clientWidth),Ie},mentionProps=buildProps({...inputProps,options:{type:definePropType(Array),default:()=>[]},prefix:{type:definePropType([String,Array]),default:"@",validator:re=>isString $ 3(re)?re.length===1:re.every(ie=>isString $ 3(ie)&&ie.length===1)},split:{type:String,default:" ",validator:re=>re.length===1},filterOption:{type:definePropType([Boolean,Function]),default:()=>filterOption,validator:re=>re===!1?!0:isFunction $ 4(re)},placement:{type:definePropType(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:definePropType(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})}}),mentionEmits={[UPDATE_MODEL_EVENT]:re=>isString $ 3(re),search:(re,ie)=>isString $ 3(re)&&isString $ 3(ie),select:(re,ie)=>isString $ 3(re.value)&&isString $ 3(ie),focus:re=>re instanceof FocusEvent,blur:re=>re instanceof FocusEvent},mentionDropdownProps=buildProps({options:{type:definePropType(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),mentionDropdownEmits={select:re=>isString $ 3(re.value)},__default__ $ 3=defineComponent({name:"ElMentionDropdown"}),_sfc_main $ A=defineComponent({...__default__ $ 3,props:mentionDropdownProps,emits:mentionDropdownEmits,setup(re,{expose:ie,emit:ae}){const oe=re,ue=useNamespace("mention"),{t:de}=useLocale(),pe=ref $ 1(-1),_e=ref $ 1(),Ce=ref $ 1(),Ne=ref $ 1(),Oe=(Et,er)=>[ue.be("dropdown","item"),ue.is("hovering",pe.value===er),ue.is("disabled",Et.disabled||oe.disabled)],Ie=Et=>{Et.disabled||oe.disabled||ae("select",Et)},Fe=Et=>{pe.value=Et},Ue=computed(()=>oe.disabled||oe.options.every(Et=
2024-08-27 22:31:52 +08:00
https : //github.com/highlightjs/highlight.js/issues/2277`),Vr=Sr,Rr=xr),Nr===void 0&&(Nr=!0);const Fr={code:Rr,language:Vr};mr("before:highlight",Fr);const Ir=Fr.result?Fr.result:Ie(Fr.language,Fr.code,Nr);return Ir.code=Fr.code,mr("after:highlight",Ir),Ir}function Ie(Sr,xr,Nr,Rr){const Vr=Object.create(null);function Fr(to,rs){return to.keywords[rs]}function Ir(){if(!zr.keywords){kn.addText(jr);return}let to=0;zr.keywordPatternRe.lastIndex=0;let rs=zr.keywordPatternRe.exec(jr),gs="";for(;rs;){gs+=jr.substring(to,rs.index);const hi=Mr.case_insensitive?rs[0].toLowerCase():rs[0],En=Fr(zr,hi);if(En){const[Ur,Wn]=En;if(kn.addText(gs),gs="",Vr[hi]=(Vr[hi]||0)+1,Vr[hi]<=MAX_KEYWORD_HITS&&(Nn+=Wn),Ur.startsWith("_"))gs+=rs[0];else{const Kn=Mr.classNameAliases[Ur]||Ur;Wr(rs[0],Kn)}}else gs+=rs[0];to=zr.keywordPatternRe.lastIndex,rs=zr.keywordPatternRe.exec(jr)}gs+=jr.substring(to),kn.addText(gs)}function kr(){if(jr==="")return;let to=null;if(typeof zr.subLanguage=="string"){if(!ie[zr.subLanguage]){kn.addText(jr);return}to=Ie(zr.subLanguage,jr,!0,An[zr.subLanguage]),An[zr.subLanguage]=to._top}else to=Ue(jr,zr.subLanguage.length?zr.subLanguage:null);zr.relevance>0&&(Nn+=to.relevance),kn.__addSublanguage(to._emitter,to.language)}function qr(){zr.subLanguage!=null?kr():Ir(),jr=""}function Wr(to,rs){to!==""&&(kn.startScope(rs),kn.addText(to),kn.endScope())}function Ar(to,rs){let gs=1;const hi=rs.length-1;for(;gs<=hi;){if(!to._emit[gs]){gs++;continue}const En=Mr.classNameAliases[to[gs]]||to[gs],Ur=rs[gs];En?Wr(Ur,En):(jr=Ur,Ir(),jr=""),gs++}}function Dr(to,rs){return to.scope&&typeof to.scope=="string"&&kn.openNode(Mr.classNameAliases[to.scope]||to.scope),to.beginScope&&(to.beginScope._wrap?(Wr(jr,Mr.classNameAliases[to.beginScope._wrap]||to.beginScope._wrap),jr=""):to.beginScope._multi&&(Ar(to.beginScope,rs),jr="")),zr=Object.create(to,{parent:{value:zr}}),zr}function Jr(to,rs,gs){let hi=startsWith$1(to.endRe,gs);if(hi){if(to["on:end"]){const En=new Response$1(to);to["on:end"](rs,En),En.isMatchIgnored&&(hi=!1)}if(hi){for(;to.endsParent&&to.parent;)to=to.parent;return to}}if(to.endsWithParent)return Jr(to.parent,rs,gs)}function Sn(to){return zr.matcher.regexIndex===0?(jr+=to[0],1):(Mo=!0,0)}function vn(to){const rs=to[0],gs=to.rule,hi=new Response$1(gs),En=[gs.__beforeBegin,gs["on:begin"]];for(const Ur of En)if(Ur&&(Ur(to,hi),hi.isMatchIgnored))return Sn(rs);return gs.skip?jr+=rs:(gs.excludeBegin&&(jr+=rs),qr(),!gs.returnBegin&&!gs.excludeBegin&&(jr=rs)),Dr(gs,to),gs.returnBegin?0:rs.length}function xn(to){const rs=to[0],gs=xr.substring(to.index),hi=Jr(zr,to,gs);if(!hi)return NO_MATCH;const En=zr;zr.endScope&&zr.endScope._wrap?(qr(),Wr(rs,zr.endScope._wrap)):zr.endScope&&zr.endScope._multi?(qr(),Ar(zr.endScope,to)):En.skip?jr+=rs:(En.returnEnd||En.excludeEnd||(jr+=rs),qr(),En.excludeEnd&&(jr=rs));do zr.scope&&kn.closeNode(),!zr.skip&&!zr.subLanguage&&(Nn+=zr.relevance),zr=zr.parent;while(zr!==hi.parent);return hi.starts&&Dr(hi.starts,to),En.returnEnd?0:rs.length}function $r(){const to=[];for(let rs=zr;rs!==Mr;rs=rs.parent)rs.scope&&to.unshift(rs.scope);to.forEach(rs=>kn.openNode(rs))}let Lr={};function Gr(to,rs){const gs=rs&&rs[0];if(jr+=to,gs==null)return qr(),0;if(Lr.type==="begin"&&rs.type==="end"&&Lr.index===rs.index&&gs===""){if(jr+=xr.slice(rs.index,rs.index+1),!ue){const hi=new Error(`0 width match regex (${Sr})`);throw hi.languageName=Sr,hi.badRule=Lr.rule,hi}return 1}if(Lr=rs,rs.type==="begin")return vn(rs);if(rs.type==="illegal"&&!Nr){const hi=new Error('Illegal lexeme "'+gs+'" for mode "'+(zr.scope||"<unnamed>")+'"');throw hi.mode=zr,hi}else if(rs.type==="end"){const hi=xn(rs);if(hi!==NO_MATCH)return hi}if(rs.type==="illegal"&&gs==="")return 1;if(ta>1e5&&ta>rs.index*3)throw new Error("potential infinite loop, way more iterations than matches");return jr+=gs,gs.length}const Mr=ir(Sr);if(!Mr)throw error(de.replace("{}",Sr)),new Error('Unknown language: "'+Sr+'"');const Br=compileLanguage(Mr);let Hr="",zr=Rr||Br;const An={},kn=new _e.__emitter(_e);$r();let jr="",Nn=0,Rn=0,ta=0,Mo=!1;try{if(Mr.__emitTokens)Mr.__emitTokens(xr,kn
` },Ve]}}return kotlin_1=ue,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function re(ie){const ae="[a-zA-Z_][ \\ w.]*",oe="< \\ ?(lasso(script)?|=)",ue=" \\ ]| \\ ?>",de={ $ pattern:ae+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},pe=ie.COMMENT("<!--","-->",{relevance:0}),_e={className:"meta",begin:" \\ [noprocess \\ ]",starts:{end:" \\ [/noprocess \\ ]",returnEnd:!0,contains:[pe]}},Ce={className:"meta",begin:" \\ [/noprocess|"+oe},Ne={className:"symbol",begin:"'"+ae+"'"},Oe=[ie.C_LINE_COMMENT_MODE,ie.C_BLOCK_COMMENT_MODE,ie.inherit(ie.C_NUMBER_MODE,{begin:ie.C_NUMBER_RE+"|(-?infinity|NaN) \\ b"}),ie.inherit(ie.APOS_STRING_MODE,{illegal:null}),ie.inherit(ie.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:" ` ",end:" ` "},{variants:[{begin:"[# $ ]"+ae},{begin:"#",end:" \\ d+",illegal:" \\ W"}]},{className:"type",begin:":: \\ s*",end:ae,illegal:" \\ W"},{className:"params",variants:[{begin:"-(?!infinity)"+ae,relevance:0},{begin:"( \\ . \\ . \\ .)"}]},{begin:/(->| \. ) \s */,relevance:0,contains:[Ne]},{className:"class",beginKeywords:"define",returnEnd:!0,end:" \\ (|=>",contains:[ie.inherit(ie.TITLE_MODE,{begin:ae+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:de,contains:[{className:"meta",begin:ue,relevance:0,starts:{end:" \\ [|"+oe,returnEnd:!0,relevance:0,contains:[pe]}},_e,Ce,{className:"meta",begin:" \\ [no_square_brackets",starts:{end:" \\ [/no_square_brackets \\ ]",keywords:de,contains:[{className:"meta",begin:ue,relevance:0,starts:{end:" \\ [noprocess \\ ]|"+oe,returnEnd:!0,contains:[pe]}},_e,Ce].concat(Oe)}},{className:"meta",begin:" \\ [",relevance:0},{className:"meta",begin:"^#!",end:"lasso9 $ ",relevance:10}].concat(Oe)}}return lasso_1=re,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function re(ie){const oe=ie.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middl
] ` ,Ve={scope:"string",variants:[Oe,Ne,Ie,Fe]},ze={scope:"number",variants:[{begin:" \\ b0[bB][01]+(?:_[01]+)* \\ b"},{begin:" \\ b0[oO][0-7]+(?:_[0-7]+)* \\ b"},{begin:" \\ b0[xX][ \\ da-fA-F]+(?:_[ \\ da-fA-F]+)* \\ b"},{begin:"(?: \\ b \\ d+(?:_ \\ d+)*( \\ .(?: \\ d+(?:_ \\ d+)*))?| \\ B \\ . \\ d+)(?:[eE][+-]? \\ d+)?"}],relevance:0},jt=["false","null","true"],kt=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],Pt=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],er={keyword:kt,literal:(_r=>{const mr=[];return _r.forEach(Er=>{mr.push(Er),Er.toLowerCase()===Er?mr.push(Er.toUpperCase()):mr.push(Er.toLowerCase())}),mr})(jt),built_in:Pt},tr=_r=>_r.map(mr=>mr.replace(/ \| \d + $ /,"")),nr={variants:[{match:[/new/,ae.concat(Ue,"+"),ae.concat("(?!",tr(Pt).join(" \\ b|")," \\ b)"),de],scope:{1:"keyword",4:"title.class"}}]},lr=ae.concat(ue," \\ b(?! \\ ()"),cr={variants:[{match:[ae.concat(/::/,ae.lookahead(/(?!class \b )/)),lr],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[de,ae.concat(/::/,ae.lookahead(/(?!class \b )/)),lr],scope:{1:"title.class",3:"variable.constant"}},{match:[de,ae.concat("::",ae.lookahead(/(?!class \b )/))],scope:{1:"title.class"}},{match:[de,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},ir={scope:"attr",match:ae.concat(ue,ae.lookahead(":"),ae.lookahead(/(?!::)/))},ar={relevance:0,begin:/ \( /,end:/ \) /,keywords:er,contains:[ir,pe,cr,ie.C_BLOCK_COMMENT_MODE,Ve,ze,nr]},sr={relevance:0,match:[/ \b /,ae.concat("(?!fn \\ b|function \\ b|",tr(kt).join(" \\ b|"),"|",tr(Pt).join(" \\ b|")," \\ b)"),ue,ae.concat(Ue,"*"),ae.lookahead(/(?= \( )/)],scope:{3:"title.function.invoke"},contains:[ar]};ar.contains.push(sr);const dr=[ir,cr,ie.C_BLOCK_COMMENT_MODE,Ve,ze,nr],fr={begin:ae.concat(/# \[ \s */,de),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:jt,keyword:["new","array"]},contains:[{begi
] * ; ` ,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=re,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function re(ie){const ae="[a-z][a-zA-Z0-9_]*",oe={className:"string",begin:" \\ $ .{1}"},ue={className:"symbol",begin:"#"+ie.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[ie.COMMENT('"','"'),ie.APOS_STRING_MODE,{className:"type",begin:" \\ b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:ae+":",relevance:0},ie.C_NUMBER_MODE,ue,oe,{begin:" \\ |[ ]*"+ae+"([ ]+"+ae+")*[ ]* \\ |",returnBegin:!0,end:/ \| /,illegal:/ \S /,contains:[{begin:"( \\ |[ ]*)?"+ae}]},{begin:"# \\ (",end:" \\ )",contains:[ie.APOS_STRING_MODE,oe,ie.C_NUMBER_MODE,ue]}]}}return smalltalk_1=re,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function re(ie){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{ $ pattern:"[a-z_] \\ w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/ \/ \/ |>>/,contains:[{className:"literal",begin:/ \[ ( \| \| )? \] | \( \) /,relevance:0},ie.COMMENT(" \\ ( \\ *"," \\ * \\ )",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[ \\ w']*"},{className:"type",begin:" ` [ A - Z ] [ \ \ w ']*"},{className:"type",begin:"\\b[A-Z][\\w' ] * ",relevance:0},{begin:" [ a - z _ ] \ \ w * '[\\w' ] * "},ie.inherit(ie.APOS_STRING_MODE,{className:" string ",relevance:0}),ie.inherit(ie.QUOTE_STRING_MODE,{illegal:null}),{className:" number ",begin:" \ \ b ( 0 [ xX ] [ a - fA - F0 - 9_ ] + [ Lln ] ? | 0 [ oO ] [ 0 - 7_ ] + [ Lln ] ? | 0 [ bB ] [ 01_ ] + [ Lln ] ? | [ 0 - 9 ] [ 0 - 9_ ] * ( [ Lln ] | ( \ \ . [ 0 - 9_ ] * ) ? ( [ eE ] [ - + ] ? [ 0 - 9_ ] + ) ? ) ? ) ",relevance:0},{begin:/[-=]>/}]}}return sml_1=re,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function re(ie){const ae={className:" variable ",begin:/\b_+[a-zA-Z]\w*/},oe={className:" title ",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},ue={className:" string ",variants:[{begin:'" ',end:' "',contains:[{begin:'" "',relevance:0}]},{begin:" '",end:"' ",contains:[{begin:" '' ",relevance:0}]}]},de=[" break "," breakWith "," breakOut "," breakTo "," case "," catch "," continue "," continueWith "," default "," do "," else "," exit "," exitWith "," for "," forEach "," from "," if "," local "," private "," switch "," step "," then "," throw "," to "," try "," waitUntil "," while "," with "],pe=[" blufor "," civilian "," configNull "," controlNull "," displayNull "," diaryRecordNull "," east "," endl "," false "," grpNull "," independent "," lineBreak "," locationNull "," nil "," objNull "," opfor "," pi "," resistance "," scriptNull "," sideAmbientLife "," sideEmpty "," sideEnemy "," sideFriendly "," sideLogic "," sideUnknown "," taskNull "," teamMemberNull "," true "," west "],_e=[" abs "," accTime "," acos "," action "," actionIDs "," actionKeys "," actionKeysEx "," actionKeysImages "," actionKeysNames "," actionKeysNamesArray "," actionName "," actionParams "," activateAddons "," activatedAddons "," activateKey "," activeTitleEffectParams "," add3DENConnection "," add3DENEventHandler "," add3DENLayer "," addAction "," addBackpack "," addBackpackCargo "," addBackpackCargoGlobal "," addBackpackGlobal "," addBinocularItem "," addCamShake "," addCuratorAddons "," addCuratorCameraArea "," addCuratorEditableObjects "," addCuratorEditingArea "," addCuratorPoints "," addEditorObject "," addEventHandler "," addForce "," addForceGeneratorRTD "," addGoggles "," addGroupIcon "," addHandgunItem "," addHeadgear "," addItem "," addItemCargo "," addItemCargoGlobal "," addItemPool "," addItemToBackpack "," addItemToUniform "," addItemToVest "," addLiveStats "," addMagazine "," addMagazineAmmoCargo "," addMagazineCargo "," addMagazineCargoGlobal "," addMagazineGlobal "," addMagazinePool "," addMagazines "," addMagazineTurret "," addMenu "," addMenuItem "," addMissionEventHandler "," addMPEventHandler "," addMusicEventHandler "," addonFiles "," addOwnedMine "," addPlayerSc
] * ? "'`},{begin:`" [ ^ \ r
"]*" ` }]},{className:"built_in",variants:[{begin:" \\ b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?= \\ ()"}]},ie.COMMENT("^[ ]* \\ *.* $ ",!1),ie.C_LINE_COMMENT_MODE,ie.C_BLOCK_COMMENT_MODE]}}return stata_1=re,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function re(ie){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{ $ pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},ie.C_LINE_COMMENT_MODE,ie.C_BLOCK_COMMENT_MODE,ie.COMMENT("/ \\ * \\ *!"," \\ */"),ie.C_NUMBER_MODE,ie.inherit(ie.APOS_STRING_MODE,{illegal:null}),ie.inherit(ie.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:" \\ d+",illegal:" \\ W"}]}]}}return step21_1=re,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const re=Ne=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:Ne.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4})) \b /},FUNCTION_DISPATCH:{className:"built_in",begin:/[ \w -]+(?= \( )/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/ \[ /,end:/ \] /,illegal:" $ ",contains:[Ne.APOS_STRING_MODE,Ne.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:Ne.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),ie=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],ae=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],oe=[...ie,...ae],ue=["any
( multipart ) ? ` ,end: ` \ \ ]
` },{className:"string",begin:" \\ d{4}- \\ d{2}- \\ d{2}( \\ s+) \\ d{2}: \\ d{2}: \\ d{2}. \\ d+Z"},{className:"string",begin:"( \\ +|-) \\ d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?) \\ s+(test)?"},{begin:"^progress(:?)( \\ s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=re,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function re(cr){return cr?typeof cr=="string"?cr:cr.source:null}function ie(cr){return ae("(?=",cr,")")}function ae(...cr){return cr.map(ar=>re(ar)).join("")}function oe(cr){const ir=cr[cr.length-1];return typeof ir=="object"&&ir.constructor===Object?(cr.splice(cr.length-1,1),ir):{}}function ue(...cr){return"("+(oe(cr).capture?"":"?:")+cr.map(sr=>re(sr)).join("|")+")"}const de=cr=>ae(/ \b /,cr,/ \w $ /.test(cr)?/ \b /:/ \B /),pe=["Protocol","Type"].map(de),_e=["init","self"].map(de),Ce=["Any","Self"],Ne=["actor","any","associatedtype","async","await",/as \? /,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate \( set \) /,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init \? /,/init!/,"inout",/internal \( set \) /,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open \( set \) /,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private \( set \) /,"private","protocol",/public \( set \) /,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try \? /,/try!/,"try","typealias",/unowned \( safe \) /,/unowned \( unsafe \) /,"unowned","var","weak","where","while","willSet"],Oe=["false","nil","true"],Ie=["assignment","associativity","higherThan","left","lowerThan","none","right"],Fe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Ue=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Ve=ue(/[/= \- +!*%<>&|^~?]/,/[ \u 00A1- \u 00A7]/,/[ \u 00A9 \u 00AB]/,/[ \u 00AC \u 00AE]/,/[ \u 00B0 \u 00B1]/,/[ \u 00B6 \u 00BB \u 00BF \u 00D7 \u 00F7]/,/[ \u 2016- \u 2017]/,/[ \u 2020- \u 2027]/,/[ \u 2030- \u 203E]/,/[ \u 2041- \u 2053]/,/[ \u 2055- \u 205E]/,/[ \u 2190- \u 23FF]/,/[ \u 2500- \u 2775]/,/[ \u 2794- \u 2BFF]/,/[ \u 2E00- \u 2E7F]/,/[ \u 3001- \u 3003]/,/[ \u 3008- \u 3020]/,/[ \u 3030]/),ze=ue(Ve,/[ \u 0300- \u 036F]/,/[ \u 1DC0- \u 1DFF]/,/[ \u 20D0- \u 20FF]/,/[ \u FE00- \u FE0F]/,/[ \u FE20- \u FE2F]/),jt=ae(Ve,ze,"*"),kt=ue(/[a-zA-Z_]/,/[ \u 00A8 \u 00AA \u 00AD \u 00AF \u 00B2- \u 00B5 \u 00B7- \u 00BA]/,/[ \u 00BC- \u 00BE \u 00C0- \u 00D6 \u 00D8- \u 00F6 \u 00F8- \u 00FF]/,/[ \u 0100- \u 02FF \u 0370- \u 167F \u 1681- \u 180D \u 180F- \u 1DBF]/,/[ \u 1E00- \u 1FFF]/,/[ \u 200B- \u 200D \u 202A- \u 202E \u 203F- \u 2040 \u 2054 \u 2060- \u 206F]/,/[ \u 2070- \u 20CF \u 2100- \u 218F \u 2460- \u 24FF \u 2776- \u 2793]/,/[ \u 2C00- \u 2DFF \u 2E80- \u 2FFF]/,/[ \u 3004- \u 3007 \u 3021- \u 302F \u 3031- \u 303F \u 3040- \u D7FF]/,/[ \u F900- \u FD3D \u FD40- \u FDCF \u FDF0- \u FE1F \u FE30- \u FE44]/,/[ \u FE47- \u FEFE \u FF00- \u FFFD]/),Pt=ue(kt,/ \d /,/[ \u 0300- \u 036F \u 1DC0- \u 1DFF \u 20D0- \u 20FF \u FE20- \u FE2F]/),Et=ae(kt,Pt,"*"),er=ae(/[A-Z]/,Pt,"*"),tr=["attached","autoclosure",ae(/convention \( /,ue("swift","block","c"),/ \) /),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","N
c - 2.7 , 0 , - 7.17 , - 2.7 , - 13.5 , - 8 c - 5.8 , - 5.3 , - 9.5 , - 10 , - 9.5 , - 14
c0 , - 2 , 0.3 , - 3.3 , 1 , - 4 c1 . 3 , - 2.7 , 23.83 , - 20.7 , 67.5 , - 54
c44 . 2 , - 33.3 , 65.8 , - 50.3 , 66.5 , - 51 c1 . 3 , - 1.3 , 3 , - 2 , 5 , - 2 c4 . 7 , 0 , 8.7 , 3.3 , 12 , 10
s173 , 378 , 173 , 378 c0 . 7 , 0 , 35.3 , - 71 , 104 , - 213 c68 . 7 , - 142 , 137.5 , - 285 , 206.5 , - 429
c69 , - 144 , 104.5 , - 217.7 , 106.5 , - 221
l ` +ie/2.075+" -"+ie+ `
c5 . 3 , - 9.3 , 12 , - 14 , 20 , - 14
H400000v ` +(40+ie)+ ` H845 . 2724
s - 225.272 , 467 , - 225.272 , 467 s - 235 , 486 , - 235 , 486 c - 2.7 , 4.7 , - 9 , 7 , - 19 , 7
c - 6 , 0 , - 10 , - 1 , - 12 , - 3 s - 194 , - 422 , - 194 , - 422 s - 65 , 47 , - 65 , 47 z
M ` +(834+ie)+" "+ae+"h400000v"+(40+ie)+"h-400000z"},sqrtSize1=function(ie,ae){return"M263,"+(601+ie+ae)+ ` c0 . 7 , 0 , 18 , 39.7 , 52 , 119
c34 , 79.3 , 68.167 , 158.7 , 102.5 , 238 c34 . 3 , 79.3 , 51.8 , 119.3 , 52.5 , 120
c340 , - 704.7 , 510.7 , - 1060.3 , 512 , - 1067
l ` +ie/2.084+" -"+ie+ `
c4 . 7 , - 7.3 , 11 , - 11 , 19 , - 11
H40000v ` +(40+ie)+ ` H1012 . 3
s - 271.3 , 567 , - 271.3 , 567 c - 38.7 , 80.7 , - 84 , 175 , - 136 , 283 c - 52 , 108 , - 89.167 , 185.3 , - 111.5 , 232
c - 22.3 , 46.7 , - 33.8 , 70.3 , - 34.5 , 71 c - 4.7 , 4.7 , - 12.3 , 7 , - 23 , 7 s - 12 , - 1 , - 12 , - 1
s - 109 , - 253 , - 109 , - 253 c - 72.7 , - 168 , - 109.3 , - 252 , - 110 , - 252 c - 10.7 , 8 , - 22 , 16.7 , - 34 , 26
c - 22 , 17.3 , - 33.3 , 26 , - 34 , 26 s - 26 , - 26 , - 26 , - 26 s76 , - 59 , 76 , - 59 s76 , - 60 , 76 , - 60 z
M ` +(1001+ie)+" "+ae+"h400000v"+(40+ie)+"h-400000z"},sqrtSize2=function(ie,ae){return"M983 "+(10+ie+ae)+ `
l ` +ie/3.13+" -"+ie+ `
c4 , - 6.7 , 10 , - 10 , 18 , - 10 H400000v ` +(40+ie)+ `
H1013 . 1 s - 83.4 , 268 , - 264.1 , 840 c - 180.7 , 572 , - 277 , 876.3 , - 289 , 913 c - 4.7 , 4.7 , - 12.7 , 7 , - 24 , 7
s - 12 , 0 , - 12 , 0 c - 1.3 , - 3.3 , - 3.7 , - 11.7 , - 7 , - 25 c - 35.3 , - 125.3 , - 106.7 , - 373.3 , - 214 , - 744
c - 10 , 12 , - 21 , 25 , - 33 , 39 s - 32 , 39 , - 32 , 39 c - 6 , - 5.3 , - 15 , - 14 , - 27 , - 26 s25 , - 30 , 25 , - 30
c26 . 7 , - 32.7 , 52 , - 63 , 76 , - 91 s52 , - 60 , 52 , - 60 s208 , 722 , 208 , 722
c56 , - 175.3 , 126.3 , - 397.3 , 211 , - 666 c84 . 7 , - 268.7 , 153.8 , - 488.2 , 207.5 , - 658.5
c53 . 7 , - 170.3 , 84.5 , - 266.8 , 92.5 , - 289.5 z
M ` +(1001+ie)+" "+ae+"h400000v"+(40+ie)+"h-400000z"},sqrtSize3=function(ie,ae){return"M424,"+(2398+ie+ae)+ `
c - 1.3 , - 0.7 , - 38.5 , - 172 , - 111.5 , - 514 c - 73 , - 342 , - 109.8 , - 513.3 , - 110.5 , - 514
c0 , - 2 , - 10.7 , 14.3 , - 32 , 49 c - 4.7 , 7.3 , - 9.8 , 15.7 , - 15.5 , 25 c - 5.7 , 9.3 , - 9.8 , 16 , - 12.5 , 20
s - 5 , 7 , - 5 , 7 c - 4 , - 3.3 , - 8.3 , - 7.7 , - 13 , - 13 s - 13 , - 13 , - 13 , - 13 s76 , - 122 , 76 , - 122 s77 , - 121 , 77 , - 121
s209 , 968 , 209 , 968 c0 , - 2 , 84.7 , - 361.7 , 254 , - 1079 c169 . 3 , - 717.3 , 254.7 , - 1077.7 , 256 , - 1081
l ` +ie/4.223+" -"+ie+ ` c4 , - 6.7 , 10 , - 10 , 18 , - 10 H400000
v ` +(40+ie)+ ` H1014 . 6
s - 87.3 , 378.7 , - 272.6 , 1166 c - 185.3 , 787.3 , - 279.3 , 1182.3 , - 282 , 1185
c - 2 , 6 , - 10 , 9 , - 24 , 9
c - 8 , 0 , - 12 , - 0.7 , - 12 , - 2 z M ` +(1001+ie)+" "+ae+ `
h400000v ` +(40+ie)+"h-400000z"},sqrtSize4=function(ie,ae){return"M473,"+(2713+ie+ae)+ `
c339 . 3 , - 1799.3 , 509.3 , - 2700 , 510 , - 2702 l ` +ie/5.298+" -"+ie+ `
c3 . 3 , - 7.3 , 9.3 , - 11 , 18 , - 11 H400000v ` +(40+ie)+ ` H1017 . 7
s - 90.5 , 478 , - 276.2 , 1466 c - 185.7 , 988 , - 279.5 , 1483 , - 281.5 , 1485 c - 2 , 6 , - 10 , 9 , - 24 , 9
c - 8 , 0 , - 12 , - 0.7 , - 12 , - 2 c0 , - 1.3 , - 5.3 , - 32 , - 16 , - 92 c - 50.7 , - 293.3 , - 119.7 , - 693.3 , - 207 , - 1200
c0 , - 1.3 , - 5.3 , 8.7 , - 16 , 30 c - 10.7 , 21.3 , - 21.3 , 42.7 , - 32 , 64 s - 16 , 33 , - 16 , 33 s - 26 , - 26 , - 26 , - 26
s76 , - 153 , 76 , - 153 s77 , - 151 , 77 , - 151 c0 . 7 , 0.7 , 35.7 , 202 , 105 , 604 c67 . 3 , 400.7 , 102 , 602.7 , 104 ,
606 zM ` +(1001+ie)+" "+ae+"h400000v"+(40+ie)+"H1017.7z"},phasePath=function(ie){var ae=ie/2;return"M400000 "+ie+" H0 L"+ae+" 0 l65 45 L145 "+(ie-80)+" H400000z"},sqrtTall=function(ie,ae,oe){var ue=oe-54-ae-ie;return"M702 "+(ie+ae)+"H400000"+(40+ie)+ `
H742v ` +ue+ ` l - 4 4 - 4 4 c - . 667.7 - 2 1.5 - 4 2.5 s - 4.167 1.833 - 6.5 2.5 - 5.5 1 - 9.5 1
h - 12 l - 28 - 84 c - 16.667 - 52 - 96.667 - 294.333 - 240 - 727 l - 212 - 643 - 85 170
c - 4 - 3.333 - 8.333 - 7.667 - 13 - 13 l - 13 - 13 l77 - 155 77 - 156 c66 199.333 139 419.667
219 661 l218 661 zM702 ` +ae+"H400000v"+(40+ie)+"H742z"},sqrtPath=function(ie,ae,oe){ae=1e3*ae;var ue="";switch(ie){case"sqrtMain":ue=sqrtMain(ae,hLinePad);break;case"sqrtSize1":ue=sqrtSize1(ae,hLinePad);break;case"sqrtSize2":ue=sqrtSize2(ae,hLinePad);break;case"sqrtSize3":ue=sqrtSize3(ae,hLinePad);break;case"sqrtSize4":ue=sqrtSize4(ae,hLinePad);break;case"sqrtTall":ue=sqrtTall(ae,hLinePad,oe)}return ue},innerPath=function(ie,ae){switch(ie){case"⎜":return"M291 0 H417 V"+ae+" H291z M291 0 H417 V"+ae+" H291z";case"∣ ":return"M145 0 H188 V"+ae+" H145z M145 0 H188 V"+ae+" H145z";case"∥":return"M145 0 H188 V"+ae+" H145z M145 0 H188 V"+ae+" H145z"+("M367 0 H410 V"+ae+" H367z M367 0 H410 V"+ae+" H367z");case"⎟":return"M457 0 H583 V"+ae+" H457z M457 0 H583 V"+ae+" H457z";case"⎢":return"M319 0 H403 V"+ae+" H319z M319 0 H403 V"+ae+" H319z";case"⎥":return"M263 0 H347 V"+ae+" H263z M263 0 H347 V"+ae+" H263z";case"⎪":return"M384 0 H504 V"+ae+" H384z M384 0 H504 V"+ae+" H384z";case"⏐":return"M312 0 H355 V"+ae+" H312z M312 0 H355 V"+ae+" H312z";case"‖":return"M257 0 H300 V"+ae+" H257z M257 0 H300 V"+ae+" H257z"+("M478 0 H521 V"+ae+" H478z M478 0 H521 V"+ae+" H478z");default:return""}},path={doubleleftarrow: ` M262 157
l10 - 10 c34 - 36 62.7 - 77 86 - 123 3.3 - 8 5 - 13.3 5 - 16 0 - 5.3 - 6.7 - 8 - 20 - 8 - 7.3
0 - 12.2 . 5 - 14.5 1.5 - 2.3 1 - 4.8 4.5 - 7.5 10.5 - 49.3 97.3 - 121.7 169.3 - 217 216 - 28
14 - 57.3 25 - 88 33 - 6.7 2 - 11 3.8 - 13 5.5 - 2 1.7 - 3 4.2 - 3 7.5 s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13 h6c12 - . 7 18 - 4 18 - 10 0 - 2 - 1.7 - 7 - 5 - 15 - 23.3 - 46 - 52 - 87
- 86 - 123 l - 10 - 10 h399738v - 40 H218c328 0 0 0 0 0 l - 10 - 8 c - 26.7 - 20 - 65.7 - 43 - 117 - 69 2.7
- 2 6 - 3.7 10 - 5 36.7 - 16 72.3 - 37.3 107 - 64 l10 - 8 h399782v - 40 z
m8 0 v40h399730v - 40 zm0 194 v40h399730v - 40 z ` ,doublerightarrow: ` M399738 392 l
- 10 10 c - 34 36 - 62.7 77 - 86 123 - 3.3 8 - 5 13.3 - 5 16 0 5.3 6.7 8 20 8 7.3 0 12.2 - . 5
14.5 - 1.5 2.3 - 1 4.8 - 4.5 7.5 - 10.5 49.3 - 97.3 121.7 - 169.3 217 - 216 28 - 14 57.3 - 25 88
- 33 6.7 - 2 11 - 3.8 13 - 5.5 2 - 1.7 3 - 4.2 3 - 7.5 s - 1 - 5.8 - 3 - 7.5 c - 2 - 1.7 - 6.3 - 3.5 - 13 - 5.5 - 68
- 17.3 - 128.2 - 47.8 - 180.5 - 91.5 - 52.3 - 43.7 - 93.8 - 96.2 - 124.5 - 157.5 - 9.3 - 8 - 15.3 - 12.3 - 18
- 13 h - 6 c - 12 . 7 - 18 4 - 18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123 l10 10 H0v40h399782
c - 328 0 0 0 0 0 l10 8 c26 . 7 20 65.7 43 117 69 - 2.7 2 - 6 3.7 - 10 5 - 36.7 16 - 72.3 37.3
- 107 64 l - 10 8 H0v40zM0 157 v40h399730v - 40 zm0 194 v40h399730v - 40 z ` ,leftarrow: ` M400000 241 H110l3 - 3 c68 . 7 - 52.7 113.7 - 120
135 - 202 4 - 14.7 6 - 23 6 - 25 0 - 7.3 - 7 - 11 - 21 - 11 - 8 0 - 13.2 . 8 - 15.5 2.5 - 2.3 1.7 - 4.2 5.8
- 5.5 12.5 - 1.3 4.7 - 2.7 10.3 - 4 17 - 12 48.7 - 34.8 92 - 68.5 130 S65 . 3 228.3 18 247
c - 10 4 - 16 7.7 - 18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85 S196 441.3 208
490 c . 7 2 1.3 5 2 9 s1 . 2 6.7 1.5 8 c . 3 1.3 1 3.3 2 6 s2 . 2 4.5 3.5 5.5 c1 . 3 1 3.3
1.8 6 2.5 s6 1 10 1 c14 0 21 - 3.7 21 - 11 0 - 2 - 2 - 10.3 - 6 - 25 - 20 - 79.3 - 65 - 146.7 - 135 - 202
l - 3 - 3 h399890zM100 241 v40h399900v - 40 z ` ,leftbrace: ` M6 548 l - 6 - 6 v - 35 l6 - 11 c56 - 104 135.3 - 181.3 238 - 232 57.3 - 28.7 117
- 45 179 - 50 h399577v120H403c - 43.3 7 - 81 15 - 113 26 - 100.7 33 - 179.7 91 - 237 174 - 2.7
5 - 6 9 - 10 13 - . 7 1 - 7.3 1 - 20 1 H6z ` ,leftbraceunder: ` M0 6 l6 - 6 h17c12 . 688 0 19.313 . 3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5 . 688
0 2 . 3 4 1 18.688 2.7 76 4.3 172 5 h399450v120H429l - 6 - 1 c - 124.688 - 8 - 235 - 61.7
- 331 - 161 C60 . 687 138.7 32.312 99.3 7 54 L0 41 V6z ` ,leftgroup: ` M400000 80
H435C64 80 168.3 229.4 21 260 c - 5.9 1.2 - 18 0 - 18 0 - 2 0 - 3 - 1 - 3 - 3 v - 38 C76 61 257 0
435 0 h399565z ` ,leftgroupunder: ` M400000 262
H435C64 262 168.3 112.6 21 82 c - 5.9 - 1.2 - 18 0 - 18 0 - 2 0 - 3 1 - 3 3 v38c76 158 257 219
435 219 h399565z ` ,leftharpoon: ` M0 267 c . 7 5.3 3 10 7 14 h399993v - 40 H93c3 . 3
- 3.3 10.2 - 9.5 20.5 - 18.5 s17 . 8 - 15.8 22.5 - 20.5 c50 . 7 - 52 88 - 110.3 112 - 175 4 - 11.3 5
- 18.3 3 - 21 - 1.3 - 4 - 7.3 - 6 - 18 - 6 - 8 0 - 13 . 7 - 15 2 s - 4.7 6.7 - 8 16 c - 42 98.7 - 107.3 174.7
- 196 228 - 6.7 4.7 - 10.7 8 - 12 10 - 1.3 2 - 2 5.7 - 2 11 zm100 - 26 v40h399900v - 40 z ` ,leftharpoonplus: ` M0 267 c . 7 5.3 3 10 7 14 h399993v - 40 H93c3 . 3 - 3.3 10.2 - 9.5
20.5 - 18.5 s17 . 8 - 15.8 22.5 - 20.5 c50 . 7 - 52 88 - 110.3 112 - 175 4 - 11.3 5 - 18.3 3 - 21 - 1.3
- 4 - 7.3 - 6 - 18 - 6 - 8 0 - 13 . 7 - 15 2 s - 4.7 6.7 - 8 16 c - 42 98.7 - 107.3 174.7 - 196 228 - 6.7 4.7
- 10.7 8 - 12 10 - 1.3 2 - 2 5.7 - 2 11 zm100 - 26 v40h399900v - 40 zM0 435 v40h400000v - 40 z
m0 0 v40h400000v - 40 z ` ,leftharpoondown: ` M7 241 c - 4 4 - 6.333 8.667 - 7 14 0 5.333 . 667 9 2 11 s5 . 333
5.333 12 10 c90 . 667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 . 667 5
1 9 1 h5c10 . 667 0 16.667 - 2 18 - 6 2 - 2.667 1 - 9.667 - 3 - 21 - 32 - 87.333 - 82.667 - 157.667
- 152 - 211 l - 3 - 3 h399907v - 40 zM93 281 H400000 v - 40 L7 241 z ` ,leftharpoondownplus: ` M7 435 c - 4 4 - 6.3 8.7 - 7 14 0 5.3 . 7 9 2 11 s5 . 3 5.3 12
10 c90 . 7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 . 7 5 1 9 1 h5c10 . 7 0 16.7
- 2 18 - 6 2 - 2.7 1 - 9.7 - 3 - 21 - 32 - 87.3 - 82.7 - 157.7 - 152 - 211 l - 3 - 3 h399907v - 40 H7zm93 0
v40h399900v - 40 zM0 241 v40h399900v - 40 zm0 0 v40h399900v - 40 z ` ,lefthook: ` M400000 281 H103s - 33 - 11.2 - 61 - 33.5 S0 197.3 0 164 s14 . 2 - 61.2 42.5
- 83.5 C70 . 8 58.2 104 47 142 47 c16 . 7 0 25 6.7 25 20 0 12 - 8.7 18.7 - 26 20 - 40 3.3
- 68.7 15.7 - 86 37 - 10 12 - 15 25.3 - 15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23 h399859zM103 281 v - 40 h399897v40z ` ,leftlinesegment: ` M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z ` ,leftmapsto: ` M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z ` ,leftToFrom: ` M0 147 h400000v40H0zm0 214 c68 40 115.7 95.7 143 167 h22c15 . 3 0 23
- . 3 23 - 1 0 - 1.3 - 5.3 - 13.7 - 16 - 37 - 18 - 35.3 - 41.3 - 69 - 70 - 101 l - 7 - 8 h399905v - 40 H95l7 - 8
c28 . 7 - 32 52 - 65.7 70 - 101 10.7 - 23.3 16 - 35.7 16 - 37 0 - . 7 - 7.7 - 1 - 23 - 1 h - 22 C115 . 7 265.3
68 321 0 361 zm0 - 174 v - 40 h399900v40zm100 154 v40h399900v - 40 z ` ,longequal: ` M0 50 h400000 v40H0z m0 194 h40000v40H0z
M0 50 h400000 v40H0z m0 194 h40000v40H0z ` ,midbrace: ` M200428 334
c - 100.7 - 8.3 - 195.3 - 44 - 280 - 108 - 55.3 - 42 - 101.7 - 93 - 139 - 153 l - 9 - 14 c - 2.7 4 - 5.7 8.7 - 9 14
- 53.3 86.7 - 123.7 153 - 211 199 - 66.7 36 - 137.3 56.3 - 212 62 H0V214h199568c178 . 3 - 11.7
311.7 - 78.3 403 - 201 6 - 8 9.7 - 12 11 - 12 . 7 - . 7 6.7 - 1 18 - 1 s17 . 3.3 18 1 c1 . 3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141 s145 . 3 54.3 229 60 h199572v120z ` ,midbraceunder: ` M199572 214
c100 . 7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153 l9 14 c2 . 7 - 4 5.7 - 8.7 9 - 14
53.3 - 86.7 123.7 - 153 211 - 199 66.7 - 36 137.3 - 56.3 212 - 62 h199568v120H200432c - 178.3
11.7 - 311.7 78.3 - 403 201 - 6 8 - 9.7 12 - 11 12 - . 7.7 - 6.7 1 - 18 1 s - 17.3 - . 3 - 18 - 1 c - 1.3 0
- 5 - 4 - 11 - 12 - 44.7 - 59.3 - 101.3 - 106.3 - 170 - 141 s - 145.3 - 54.3 - 229 - 60 H0V214z ` ,oiintSize1: ` M512 . 6 71.6 c272 . 6 0 320.3 106.8 320.3 178.2 0 70.8 - 47.7 177.6
- 320.3 177.6 S193 . 1 320.6 193.1 249.8 c0 - 71.4 46.9 - 178.2 319.5 - 178.2 z
m368 . 1 178.2 c0 - 86.4 - 60.9 - 215.4 - 368.1 - 215.4 - 306.4 0 - 367.3 129 - 367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1 - 129 368.1 - 214.8 z ` ,oiintSize2: ` M757 . 8 100.1 c384 . 7 0 451.1 137.6 451.1 230 0 91.3 - 66.4 228.8
- 451.1 228.8 - 386.3 0 - 452.7 - 137.5 - 452.7 - 228.8 0 - 92.4 66.4 - 230 452.7 - 230 z
m502 . 4 230 c0 - 111.2 - 82.4 - 277.2 - 502.4 - 277.2 s - 504 166 - 504 277.2
c0 110 84 276 504 276 s502 . 4 - 166 502.4 - 276 z ` ,oiiintSize1: ` M681 . 4 71.6 c408 . 9 0 480.5 106.8 480.5 178.2 0 70.8 - 71.6 177.6
- 480.5 177.6 S202 . 1 320.6 202.1 249.8 c0 - 71.4 70.5 - 178.2 479.3 - 178.2 z
m525 . 8 178.2 c0 - 86.4 - 86.8 - 215.4 - 525.7 - 215.4 - 437.9 0 - 524.7 129 - 524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7 - 129 525.7 - 214.8 z ` ,oiiintSize2: ` M1021 . 2 53 c603 . 6 0 707.8 165.8 707.8 277.2 0 110 - 104.2 275.8
- 707.8 275.8 - 606 0 - 710.2 - 165.8 - 710.2 - 275.8 C311 218.8 415.2 53 1021.2 53 z
m770 . 4 277.1 c0 - 131.2 - 126.4 - 327.6 - 770.5 - 327.6 S248 . 4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4 s770 . 5 - 196.4 770.5 - 326.4 z ` ,rightarrow: ` M0 241 v40h399891c - 47.3 35.3 - 84 78 - 110 128
- 16.7 32 - 27.7 63.7 - 33 95 0 1.3 - . 2 2.7 - . 5 4 - . 3 1.3 - . 5 2.3 - . 5 3 0 7.3 6.7 11 20
11 8 0 13.2 - . 8 15.5 - 2.5 2.3 - 1.7 4.2 - 5.5 5.5 - 11.5 2 - 13.3 5.7 - 27 11 - 41 14.7 - 44.7
39 - 84.5 73 - 119.5 s73 . 7 - 60.2 119 - 75.5 c6 - 2 9 - 5.7 9 - 11 s - 3 - 9 - 9 - 11 c - 45.3 - 15.3 - 85
- 40.5 - 119 - 75.5 s - 58.3 - 74.8 - 73 - 119.5 c - 4.7 - 14 - 8.3 - 27.3 - 11 - 40 - 1.3 - 6.7 - 3.2 - 10.8 - 5.5
- 12.5 - 2.3 - 1.7 - 7.5 - 2.5 - 15.5 - 2.5 - 14 0 - 21 3.7 - 21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205 zm0 0 v40h399900v - 40 z ` ,rightbrace: ` M400000 542 l
- 6 6 h - 17 c - 12.7 0 - 19.3 - . 3 - 20 - 1 - 4 - 4 - 7.3 - 8.3 - 10 - 13 - 35.3 - 51.3 - 80.8 - 93.8 - 136.5 - 127.5
s - 117.2 - 55.8 - 184.5 - 66.5 c - . 7 0 - 2 - . 3 - 4 - 1 - 18.7 - 2.7 - 76 - 4.3 - 172 - 5 H0V214h399571l6 1
c124 . 7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118 l7 13 v35z ` ,rightbraceunder: ` M399994 0 l6 6 v35l - 6 11 c - 56 104 - 135.3 181.3 - 238 232 - 57.3
28.7 - 117 45 - 179 50 H - 300 V214h399897c43 . 3 - 7 81 - 15 113 - 26 100.7 - 33 179.7 - 91 237
- 174 2.7 - 5 6 - 9 10 - 13 . 7 - 1 7.3 - 1 20 - 1 h17z ` ,rightgroup: ` M0 80 h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3 - 1 3 - 3 v - 38 c - 76 - 158 - 257 - 219 - 435 - 219 H0z ` ,rightgroupunder: ` M0 262 h399565c371 0 266.7 - 149.4 414 - 180 5.9 - 1.2 18 0 18
0 2 0 3 1 3 3 v38c - 76 158 - 257 219 - 435 219 H0z ` ,rightharpoon: ` M0 241 v40h399993c4 . 7 - 4.7 7 - 9.3 7 - 14 0 - 9.3
- 3.7 - 15.3 - 11 - 18 - 92.7 - 56.7 - 159 - 133.7 - 199 - 231 - 3.3 - 9.3 - 6 - 14.7 - 8 - 16 - 2 - 1.3 - 7 - 2 - 15 - 2
- 10.7 0 - 16.7 2 - 18 6 - 2 2.7 - 1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5 zm0 0 v40h399900v - 40 z ` ,rightharpoonplus: ` M0 241 v40h399993c4 . 7 - 4.7 7 - 9.3 7 - 14 0 - 9.3 - 3.7 - 15.3 - 11
- 18 - 92.7 - 56.7 - 159 - 133.7 - 199 - 231 - 3.3 - 9.3 - 6 - 14.7 - 8 - 16 - 2 - 1.3 - 7 - 2 - 15 - 2 - 10.7 0 - 16.7
2 - 18 6 - 2 2.7 - 1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5 z
m0 0 v40h399900v - 40 z m100 194 v40h399900v - 40 zm0 0 v40h399900v - 40 z ` ,rightharpoondown: ` M399747 511 c0 7.3 6.7 11 20 11 8 0 13 - . 8 15 - 2.5 s4 . 7 - 6.8
8 - 15.5 c40 - 94 99.3 - 166.3 178 - 217 13.3 - 8 20.3 - 12.3 21 - 13 5.3 - 3.3 8.5 - 5.8 9.5
- 7.5 1 - 1.7 1.5 - 5.2 1.5 - 10.5 s - 2.3 - 10.3 - 7 - 15 H0v40h399908c - 34 25.3 - 64.7 57 - 92 95
- 27.3 38 - 48.7 77.7 - 64 119 - 3.3 8.7 - 5 14 - 5 16 zM0 241 v40h399900v - 40 z ` ,rightharpoondownplus: ` M399747 705 c0 7.3 6.7 11 20 11 8 0 13 - . 8
15 - 2.5 s4 . 7 - 6.8 8 - 15.5 c40 - 94 99.3 - 166.3 178 - 217 13.3 - 8 20.3 - 12.3 21 - 13 5.3 - 3.3
8.5 - 5.8 9.5 - 7.5 1 - 1.7 1.5 - 5.2 1.5 - 10.5 s - 2.3 - 10.3 - 7 - 15 H0v40h399908c - 34 25.3
- 64.7 57 - 92 95 - 27.3 38 - 48.7 77.7 - 64 119 - 3.3 8.7 - 5 14 - 5 16 zM0 435 v40h399900v - 40 z
m0 - 194 v40h400000v - 40 zm0 0 v40h400000v - 40 z ` ,righthook: ` M399859 241 c - 764 0 0 0 0 0 40 - 3.3 68.7 - 15.7 86 - 37 10 - 12 15 - 25.3
15 - 40 0 - 22.7 - 9.8 - 40.7 - 29.5 - 54 - 19.7 - 13.3 - 43.5 - 21 - 71.5 - 23 - 17.3 - 1.3 - 26 - 8 - 26 - 20 0
- 13.3 8.7 - 20 26 - 20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8 s - 14 61.2 - 42 83.5 c - 28 22.3 - 61 33.5 - 99 33.5 L0 241 z M0 281 v - 40 h399859v40z ` ,rightlinesegment: ` M399960 241 V94 h40 V428 h - 40 V281 H0 v - 40 z
M399960 241 V94 h40 V428 h - 40 V281 H0 v - 40 z ` ,rightToFrom: ` M400000 167 c - 70.7 - 42 - 118 - 97.7 - 142 - 167 h - 23 c - 15.3 0 - 23 . 3 - 23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101 l7 8 H0v40h399905l - 7 8 c - 28.7 32
- 52 65.7 - 70 101 - 10.7 23.3 - 16 35.7 - 16 37 0 . 7 7.7 1 23 1 h23c24 - 69.3 71.3 - 125 142
- 167 z M100 147 v40h399900v - 40 zM0 341 v40h399900v - 40 z ` ,twoheadleftarrow: ` M0 167 c68 40
115.7 95.7 143 167 h22c15 . 3 0 23 - . 3 23 - 1 0 - 1.3 - 5.3 - 13.7 - 16 - 37 - 18 - 35.3 - 41.3 - 69
- 70 - 101 l - 7 - 8 h125l9 7 c50 . 7 39.3 85 86 103 140 h46c0 - 4.7 - 6.3 - 18.7 - 19 - 42 - 18 - 35.3
- 40 - 67.3 - 66 - 96 l - 9 - 9 h399716v - 40 H284l9 - 9 c26 - 28.7 48 - 60.7 66 - 96 12.7 - 23.333 19
- 37.333 19 - 42 h - 46 c - 18 54 - 52.3 100.7 - 103 140 l - 9 7 H95l7 - 8 c28 . 7 - 32 52 - 65.7 70 - 101
10.7 - 23.333 16 - 35.7 16 - 37 0 - . 7 - 7.7 - 1 - 23 - 1 h - 22 C115 . 7 71.3 68 127 0 167 z ` ,twoheadrightarrow: ` M400000 167
c - 68 - 40 - 115.7 - 95.7 - 143 - 167 h - 22 c - 15.3 0 - 23 . 3 - 23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101 l7 8 h - 125 l - 9 - 7 c - 50.7 - 39.3 - 85 - 86 - 103 - 140 h - 46 c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96 l9 9 H0v40h399716l - 9 9 c - 26 28.7 - 48 60.7 - 66 96 - 12.7 23.333
- 19 37.333 - 19 42 h46c18 - 54 52.3 - 100.7 103 - 140 l9 - 7 h125l - 7 8 c - 28.7 32 - 52 65.7 - 70
101 - 10.7 23.333 - 16 35.7 - 16 37 0 . 7 7.7 1 23 1 h22c27 . 3 - 71.3 75 - 127 143 - 167 z ` ,tilde1: ` M200 55.538 c - 77 0 - 168 73.953 - 177 73.953 - 3 0 - 7
- 2.175 - 9 - 5.437 L2 97 c - 1 - 2 - 2 - 4 - 2 - 6 0 - 4 2 - 7 5 - 9 l20 - 12 C116 12 171 0 207 0 c86 0
114 68 191 68 78 0 168 - 68 177 - 68 4 0 7 2 9 5 l12 19 c1 2.175 2 4.35 2 6.525 0
4.35 - 2 7.613 - 5 9.788 l - 19 13.05 c - 92 63.077 - 116.937 75.308 - 183 76.128
- 68.267 . 847 - 113 - 73.952 - 191 - 73.952 z ` ,tilde2: ` M344 55.266 c - 142 0 - 300.638 81.316 - 311.5 86.418
- 8.01 3.762 - 22.5 10.91 - 23.5 5.562 L1 120 c - 1 - 2 - 1 - 3 - 1 - 4 0 - 5 3 - 9 8 - 10 l18 . 4 - 9 C160 . 9
31.9 283 0 358 0 c148 0 188 122 331 122 s314 - 97 326 - 97 c4 0 8 2 10 7 l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347 - 3 9.626 - 7 10.696 l - 22.3 12.622 C852 . 6 158.372 751
181.476 676 181.476 c - 149 0 - 189 - 126.21 - 332 - 126.21 z ` ,tilde3: ` M786 59 C457 59 32 175.242 13 175.242 c - 6 0 - 10 - 3.457
- 11 - 10.37 L . 15 138 c - 1 - 7 3 - 12 10 - 13 l19 . 2 - 6.4 C378 . 4 40.7 634.3 0 804.3 0 c337 0
411.8 157 746.8 157 328 0 754 - 112 773 - 112 5 0 10 3 11 9 l1 14.075 c1 8.066 - . 697
16.595 - 6.697 17.492 l - 21.052 7.31 c - 367.9 98.146 - 609.15 122.696 - 778.15 122.696
- 338 0 - 409 - 156.573 - 744 - 156.573 z ` ,tilde4: ` M786 58 C457 58 32 177.487 13 177.487 c - 6 0 - 10 - 3.345
- 11 - 10.035 L . 15 143 c - 1 - 7 3 - 12 10 - 13 l22 - 6.7 C381 . 2 35 637.15 0 807.15 0 c337 0 409
177 744 177 328 0 754 - 127 773 - 127 5 0 10 3 11 9 l1 14.794 c1 7.805 - 3 13.38 - 9
14.495 l - 20.7 5.574 c - 366.85 99.79 - 607.3 139.372 - 776.3 139.372 - 338 0 - 409
- 175.236 - 744 - 175.236 z ` ,vec: ` M377 20 c0 - 5.333 1.833 - 10 5.5 - 14 S391 0 397 0 c4 . 667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6 - 1 10 - 3 12 s - 6.667 5 - 14 9 c - 28.667 14.667 - 53.667 35.667 - 75 63
- 1.333 1.333 - 3.167 3.5 - 5.5 6.5 s - 4 4.833 - 5 5.5 c - 1 . 667 - 2.5 1.333 - 4.5 2 s - 4.333 1
- 7 1 c - 4.667 0 - 9.167 - 1.833 - 13.5 - 5.5 S337 184 337 178 c0 - 12.667 15.667 - 32.333 47 - 59
H213l - 171 - 1 c - 8.667 - 6 - 13 - 12.333 - 13 - 19 0 - 4.667 4.333 - 11.333 13 - 20 h359
c - 16 - 25.333 - 24 - 45 - 24 - 59 z ` ,widehat1: ` M529 0 h5l519 115 c5 1 9 5 9 10 0 1 - 1 2 - 1 3 l - 4 22
c - 1 5 - 5 9 - 11 9 h - 2 L532 67 19 159 h - 2 c - 5 0 - 9 - 4 - 11 - 9 l - 5 - 22 c - 1 - 6 2 - 12 8 - 13 z ` ,widehat2: ` M1181 0 h2l1171 176 c6 0 10 5 10 11 l - 2 23 c - 1 6 - 5 10
- 11 10 h - 1 L1182 67 15 220 h - 1 c - 6 0 - 10 - 4 - 11 - 10 l - 2 - 23 c - 1 - 6 4 - 11 10 - 11 z ` ,widehat3: ` M1181 0 h2l1171 236 c6 0 10 5 10 11 l - 2 23 c - 1 6 - 5 10
- 11 10 h - 1 L1182 67 15 280 h - 1 c - 6 0 - 10 - 4 - 11 - 10 l - 2 - 23 c - 1 - 6 4 - 11 10 - 11 z ` ,widehat4: ` M1181 0 h2l1171 296 c6 0 10 5 10 11 l - 2 23 c - 1 6 - 5 10
- 11 10 h - 1 L1182 67 15 340 h - 1 c - 6 0 - 10 - 4 - 11 - 10 l - 2 - 23 c - 1 - 6 4 - 11 10 - 11 z ` ,widecheck1: ` M529 , 159 h5l519 , - 115 c5 , - 1 , 9 , - 5 , 9 , - 10 c0 , - 1 , - 1 , - 2 , - 1 , - 3 l - 4 , - 22 c - 1 ,
- 5 , - 5 , - 9 , - 11 , - 9 h - 2 l - 512 , 92 l - 513 , - 92 h - 2 c - 5 , 0 , - 9 , 4 , - 11 , 9 l - 5 , 22 c - 1 , 6 , 2 , 12 , 8 , 13 z ` ,widecheck2: ` M1181 , 220 h2l1171 , - 176 c6 , 0 , 10 , - 5 , 10 , - 11 l - 2 , - 23 c - 1 , - 6 , - 5 , - 10 ,
- 11 , - 10 h - 1 l - 1168 , 153 l - 1167 , - 153 h - 1 c - 6 , 0 , - 10 , 4 , - 11 , 10 l - 2 , 23 c - 1 , 6 , 4 , 11 , 10 , 11 z ` ,widecheck3: ` M1181 , 280 h2l1171 , - 236 c6 , 0 , 10 , - 5 , 10 , - 11 l - 2 , - 23 c - 1 , - 6 , - 5 , - 10 ,
- 11 , - 10 h - 1 l - 1168 , 213 l - 1167 , - 213 h - 1 c - 6 , 0 , - 10 , 4 , - 11 , 10 l - 2 , 23 c - 1 , 6 , 4 , 11 , 10 , 11 z ` ,widecheck4: ` M1181 , 340 h2l1171 , - 296 c6 , 0 , 10 , - 5 , 10 , - 11 l - 2 , - 23 c - 1 , - 6 , - 5 , - 10 ,
- 11 , - 10 h - 1 l - 1168 , 273 l - 1167 , - 273 h - 1 c - 6 , 0 , - 10 , 4 , - 11 , 10 l - 2 , 23 c - 1 , 6 , 4 , 11 , 10 , 11 z ` ,baraboveleftarrow: ` M400000 620 h - 399890 l3 - 3 c68 . 7 - 52.7 113.7 - 120 135 - 202
c4 - 14.7 6 - 23 6 - 25 c0 - 7.3 - 7 - 11 - 21 - 11 c - 8 0 - 13.2 0.8 - 15.5 2.5
c - 2.3 1.7 - 4.2 5.8 - 5.5 12.5 c - 1.3 4.7 - 2.7 10.3 - 4 17 c - 12 48.7 - 34.8 92 - 68.5 130
s - 74.2 66.3 - 121.5 85 c - 10 4 - 16 7.7 - 18 11 c0 8.7 6 14.3 18 17 c47 . 3 18.7 87.8 47
121.5 85 s56 . 5 81.3 68.5 130 c0 . 7 2 1.3 5 2 9 s1 . 2 6.7 1.5 8 c0 . 3 1.3 1 3.3 2 6
s2 . 2 4.5 3.5 5.5 c1 . 3 1 3.3 1.8 6 2.5 s6 1 10 1 c14 0 21 - 3.7 21 - 11
c0 - 2 - 2 - 10.3 - 6 - 25 c - 20 - 79.3 - 65 - 146.7 - 135 - 202 l - 3 - 3 h399890z
M100 620 v40h399900v - 40 z M0 241 v40h399900v - 40 zM0 241 v40h399900v - 40 z ` ,rightarrowabovebar: ` M0 241 v40h399891c - 47.3 35.3 - 84 78 - 110 128 - 16.7 32
- 27.7 63.7 - 33 95 0 1.3 - . 2 2.7 - . 5 4 - . 3 1.3 - . 5 2.3 - . 5 3 0 7.3 6.7 11 20 11 8 0
13.2 - . 8 15.5 - 2.5 2.3 - 1.7 4.2 - 5.5 5.5 - 11.5 2 - 13.3 5.7 - 27 11 - 41 14.7 - 44.7 39
- 84.5 73 - 119.5 s73 . 7 - 60.2 119 - 75.5 c6 - 2 9 - 5.7 9 - 11 s - 3 - 9 - 9 - 11 c - 45.3 - 15.3 - 85 - 40.5
- 119 - 75.5 s - 58.3 - 74.8 - 73 - 119.5 c - 4.7 - 14 - 8.3 - 27.3 - 11 - 40 - 1.3 - 6.7 - 3.2 - 10.8 - 5.5
- 12.5 - 2.3 - 1.7 - 7.5 - 2.5 - 15.5 - 2.5 - 14 0 - 21 3.7 - 21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205 zm96 379 h399894v40H0zm0 0 h399904v40H0z ` ,baraboveshortleftharpoon: ` M507 , 435 c - 4 , 4 , - 6.3 , 8.7 , - 7 , 14 c0 , 5.3 , 0.7 , 9 , 2 , 11
c1 . 3 , 2 , 5.3 , 5.3 , 12 , 10 c90 . 7 , 54 , 156 , 130 , 196 , 228 c3 . 3 , 10.7 , 6.3 , 16.3 , 9 , 17
c2 , 0.7 , 5 , 1 , 9 , 1 c0 , 0 , 5 , 0 , 5 , 0 c10 . 7 , 0 , 16.7 , - 2 , 18 , - 6 c2 , - 2.7 , 1 , - 9.7 , - 3 , - 21
c - 32 , - 87.3 , - 82.7 , - 157.7 , - 152 , - 211 c0 , 0 , - 3 , - 3 , - 3 , - 3 l399351 , 0 l0 , - 40
c - 398570 , 0 , - 399437 , 0 , - 399437 , 0 z M593 435 v40 H399500 v - 40 z
M0 281 v - 40 H399908 v40z M0 281 v - 40 H399908 v40z ` ,rightharpoonaboveshortbar: ` M0 , 241 l0 , 40 c399126 , 0 , 399993 , 0 , 399993 , 0
c4 . 7 , - 4.7 , 7 , - 9.3 , 7 , - 14 c0 , - 9.3 , - 3.7 , - 15.3 , - 11 , - 18 c - 92.7 , - 56.7 , - 159 , - 133.7 , - 199 ,
- 231 c - 3.3 , - 9.3 , - 6 , - 14.7 , - 8 , - 16 c - 2 , - 1.3 , - 7 , - 2 , - 15 , - 2 c - 10.7 , 0 , - 16.7 , 2 , - 18 , 6
c - 2 , 2.7 , - 1 , 9.7 , 3 , 21 c15 . 3 , 42 , 36.7 , 81.8 , 64 , 119.5 c27 . 3 , 37.7 , 58 , 69.2 , 92 , 94.5 z
M0 241 v40 H399908 v - 40 z M0 475 v - 40 H399500 v40z M0 475 v - 40 H399500 v40z ` ,shortbaraboveleftharpoon: ` M7 , 435 c - 4 , 4 , - 6.3 , 8.7 , - 7 , 14 c0 , 5.3 , 0.7 , 9 , 2 , 11
c1 . 3 , 2 , 5.3 , 5.3 , 12 , 10 c90 . 7 , 54 , 156 , 130 , 196 , 228 c3 . 3 , 10.7 , 6.3 , 16.3 , 9 , 17 c2 , 0.7 , 5 , 1 , 9 ,
1 c0 , 0 , 5 , 0 , 5 , 0 c10 . 7 , 0 , 16.7 , - 2 , 18 , - 6 c2 , - 2.7 , 1 , - 9.7 , - 3 , - 21 c - 32 , - 87.3 , - 82.7 , - 157.7 ,
- 152 , - 211 c0 , 0 , - 3 , - 3 , - 3 , - 3 l399907 , 0 l0 , - 40 c - 399126 , 0 , - 399993 , 0 , - 399993 , 0 z
M93 435 v40 H400000 v - 40 z M500 241 v40 H400000 v - 40 z M500 241 v40 H400000 v - 40 z ` ,shortrightharpoonabovebar: ` M53 , 241 l0 , 40 c398570 , 0 , 399437 , 0 , 399437 , 0
c4 . 7 , - 4.7 , 7 , - 9.3 , 7 , - 14 c0 , - 9.3 , - 3.7 , - 15.3 , - 11 , - 18 c - 92.7 , - 56.7 , - 159 , - 133.7 , - 199 ,
- 231 c - 3.3 , - 9.3 , - 6 , - 14.7 , - 8 , - 16 c - 2 , - 1.3 , - 7 , - 2 , - 15 , - 2 c - 10.7 , 0 , - 16.7 , 2 , - 18 , 6
c - 2 , 2.7 , - 1 , 9.7 , 3 , 21 c15 . 3 , 42 , 36.7 , 81.8 , 64 , 119.5 c27 . 3 , 37.7 , 58 , 69.2 , 92 , 94.5 z
M500 241 v40 H399408 v - 40 z M500 435 v40 H400000 v - 40 z ` },tallDelim=function(ie,ae){switch(ie){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+ae+ ` v1759 h347 v - 84
H403z M403 1759 V0 H319 V1759 v ` +ae+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+ae+ ` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v ` +ae+" v1759 h84z";case"vert":return"M145 15 v585 v"+ae+ ` v585 c2 . 667 , 10 , 9.667 , 15 , 21 , 15
c10 , 0 , 16.667 , - 5 , 20 , - 15 v - 585 v ` +-ae+ ` v - 585 c - 2.667 , - 10 , - 9.667 , - 15 , - 21 , - 15
c - 10 , 0 , - 16.667 , 5 , - 20 , 15 z M188 15 H145 v585 v ` +ae+" v585 h43z";case"doublevert":return"M145 15 v585 v"+ae+ ` v585 c2 . 667 , 10 , 9.667 , 15 , 21 , 15
c10 , 0 , 16.667 , - 5 , 20 , - 15 v - 585 v ` +-ae+ ` v - 585 c - 2.667 , - 10 , - 9.667 , - 15 , - 21 , - 15
c - 10 , 0 , - 16.667 , 5 , - 20 , 15 z M188 15 H145 v585 v ` +ae+ ` v585 h43z
M367 15 v585 v ` +ae+ ` v585 c2 . 667 , 10 , 9.667 , 15 , 21 , 15
c10 , 0 , 16.667 , - 5 , 20 , - 15 v - 585 v ` +-ae+ ` v - 585 c - 2.667 , - 10 , - 9.667 , - 15 , - 21 , - 15
c - 10 , 0 , - 16.667 , 5 , - 20 , 15 z M410 15 H367 v585 v ` +ae+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+ae+ ` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v ` +ae+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+ae+ ` v1799 H0 v - 84 H319z
MM319 602 V0 H403 V602 v ` +ae+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+ae+ ` v602 h84z
M403 1759 V0 H319 V1759 v ` +ae+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+ae+ ` v602 h84z
M347 1759 V0 h - 84 V1759 v ` +ae+" v602 h84z";case"lparen":return ` M863 , 9 c0 , - 2 , - 2 , - 5 , - 6 , - 9 c0 , 0 , - 17 , 0 , - 17 , 0 c - 12.7 , 0 , - 19.3 , 0.3 , - 20 , 1
c - 5.3 , 5.3 , - 10.3 , 11 , - 15 , 17 c - 242.7 , 294.7 , - 395.3 , 682 , - 458 , 1162 c - 21.3 , 163.3 , - 33.3 , 349 ,
- 36 , 557 l0 , ` +(ae+84)+ ` c0 . 2 , 6 , 0 , 26 , 0 , 60 c2 , 159.3 , 10 , 310.7 , 24 , 454 c53 . 3 , 528 , 210 ,
949.7 , 470 , 1265 c4 . 7 , 6 , 9.7 , 11.7 , 15 , 17 c0 . 7 , 0.7 , 7 , 1 , 19 , 1 c0 , 0 , 18 , 0 , 18 , 0 c4 , - 4 , 6 , - 7 , 6 , - 9
c0 , - 2.7 , - 3.3 , - 8.7 , - 10 , - 18 c - 135.3 , - 192.7 , - 235.5 , - 414.3 , - 300.5 , - 665 c - 65 , - 250.7 , - 102.5 ,
- 544.7 , - 112.5 , - 882 c - 2 , - 104 , - 3 , - 167 , - 3 , - 189
l0 , - ` +(ae+92)+ ` c0 , - 162.7 , 5.7 , - 314 , 17 , - 454 c20 . 7 , - 272 , 63.7 , - 513 , 129 , - 723 c65 . 3 ,
- 210 , 155.3 , - 396.3 , 270 , - 559 c6 . 7 , - 9.3 , 10 , - 15.3 , 10 , - 18 z ` ;case"rparen":return ` M76 , 0 c - 16.7 , 0 , - 25 , 3 , - 25 , 9 c0 , 2 , 2 , 6.3 , 6 , 13 c21 . 3 , 28.7 , 42.3 , 60.3 ,
63 , 95 c96 . 7 , 156.7 , 172.8 , 332.5 , 228.5 , 527.5 c55 . 7 , 195 , 92.8 , 416.5 , 111.5 , 664.5
c11 . 3 , 139.3 , 17 , 290.7 , 17 , 454 c0 , 28 , 1.7 , 43 , 3.3 , 45 l0 , ` +(ae+9)+ `
c - 3 , 4 , - 3.3 , 16.7 , - 3.3 , 38 c0 , 162 , - 5.7 , 313.7 , - 17 , 455 c - 18.7 , 248 , - 55.8 , 469.3 , - 111.5 , 664
c - 55.7 , 194.7 , - 131.8 , 370.3 , - 228.5 , 527 c - 20.7 , 34.7 , - 41.7 , 66.3 , - 63 , 95 c - 2 , 3.3 , - 4 , 7 , - 6 , 11
c0 , 7.3 , 5.7 , 11 , 17 , 11 c0 , 0 , 11 , 0 , 11 , 0 c9 . 3 , 0 , 14.3 , - 0.3 , 15 , - 1 c5 . 3 , - 5.3 , 10.3 , - 11 , 15 , - 17
c242 . 7 , - 294.7 , 395.3 , - 681.7 , 458 , - 1161 c21 . 3 , - 164.7 , 33.3 , - 350.7 , 36 , - 558
l0 , - ` +(ae+144)+ ` c - 2 , - 159.3 , - 10 , - 310.7 , - 24 , - 454 c - 53.3 , - 528 , - 210 , - 949.7 ,
- 470 , - 1265 c - 4.7 , - 6 , - 9.7 , - 11.7 , - 15 , - 17 c - 0.7 , - 0.7 , - 6.7 , - 1 , - 18 , - 1 z ` ;default:throw new Error("Unknown stretchy delimiter.")}};class DocumentFragment{constructor(ie){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=ie,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(ie){return utils $ 5.contains(this.classes,ie)}toNode(){for(var ie=document.createDocumentFragment(),ae=0;ae<this.children.length;ae++)ie.appendChild(this.children[ae].toNode());return ie}toMarkup(){for(var ie="",ae=0;ae<this.children.length;ae++)ie+=this.children[ae].toMarkup();return ie}toText(){var ie=ae=>ae.toText();return this.children.map(ie).join("")}}var fontMetricsData={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77
` +lr+" children.");for(var sr=0;sr<lr;sr++){var dr=new PathNode(Et[sr]),fr=new SvgNode([dr],{width:"400em",height:makeEm(nr),viewBox:"0 0 "+_e+" "+tr,preserveAspectRatio:ir[sr]+" slice"}),_r=buildCommon.makeSvgSpan([cr[sr]],[fr],ae);if(lr===1)return{span:_r,minWidth:er,height:nr};_r.style.height=makeEm(nr),kt.push(_r)}return{span:buildCommon.makeSpan(["stretchy"],kt,ae),minWidth:er,height:nr}}}var{span:ue,minWidth:de,height:pe}=oe();return ue.height=pe,ue.style.height=makeEm(pe),de>0&&(ue.style.minWidth=makeEm(de)),ue},encloseSpan=function(ie,ae,oe,ue,de){var pe,_e=ie.height+ie.depth+oe+ue;if(/fbox|color|angl/.test(ae)){if(pe=buildCommon.makeSpan(["stretchy",ae],[],de),ae==="fbox"){var Ce=de.color&&de.getColor();Ce&&(pe.style.borderColor=Ce)}}else{var Ne=[];/^[bx]cancel $ /.test(ae)&&Ne.push(new LineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel $ /.test(ae)&&Ne.push(new LineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Oe=new SvgNode(Ne,{width:"100%",height:makeEm(_e)});pe=buildCommon.makeSvgSpan([],[Oe],de)}return pe.height=_e,pe.style.height=makeEm(_e),pe},stretchy={encloseSpan,mathMLnode,svgSpan};function assertNodeType(re,ie){if(!re||re.type!==ie)throw new Error("Expected node of type "+ie+", but got "+(re?"node of type "+re.type:String(re)));return re}function assertSymbolNodeType(re){var ie=checkSymbolNodeType(re);if(!ie)throw new Error("Expected node of symbol group type, but got "+(re?"node of type "+re.type:String(re)));return ie}function checkSymbolNodeType(re){return re&&(re.type==="atom"||NON_ATOMS.hasOwnProperty(re.type))?re:null}var htmlBuilder $ a=(re,ie)=>{var ae,oe,ue;re&&re.type==="supsub"?(oe=assertNodeType(re.base,"accent"),ae=oe.base,re.base=ae,ue=assertSpan(buildGroup $ 1(re,ie)),re.base=oe):(oe=assertNodeType(re,"accent"),ae=oe.base);var de=buildGroup $ 1(ae,ie.havingCrampedStyle()),pe=oe.isShifty&&utils $ 5.isCharacterBox(ae),_e=0;if(pe){var Ce=utils $ 5.getBaseElem(ae),Ne=buildGroup $ 1(Ce,ie.havingCrampedStyle());_e=assertSymbolDomNode(Ne).skew}var Oe=oe.label===" \\ c",Ie=Oe?de.height+de.depth:Math.min(de.height,ie.fontMetrics().xHeight),Fe;if(oe.isStretchy)Fe=stretchy.svgSpan(oe,ie),Fe=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:de},{type:"elem",elem:Fe,wrapperClasses:["svg-align"],wrapperStyle:_e>0?{width:"calc(100% - "+makeEm(2*_e)+")",marginLeft:makeEm(2*_e)}:void 0}]},ie);else{var Ue,Ve;oe.label===" \\ vec"?(Ue=buildCommon.staticSvg("vec",ie),Ve=buildCommon.svgData.vec[1]):(Ue=buildCommon.makeOrd({mode:oe.mode,text:oe.label},ie,"textord"),Ue=assertSymbolDomNode(Ue),Ue.italic=0,Ve=Ue.width,Oe&&(Ie+=Ue.depth)),Fe=buildCommon.makeSpan(["accent-body"],[Ue]);var ze=oe.label===" \\ textcircled";ze&&(Fe.classes.push("accent-full"),Ie=de.height);var jt=_e;ze||(jt-=Ve/2),Fe.style.left=makeEm(jt),oe.label===" \\ textcircled"&&(Fe.style.top=".2em"),Fe=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:de},{type:"kern",size:-Ie},{type:"elem",elem:Fe}]},ie)}var kt=buildCommon.makeSpan(["mord","accent"],[Fe],ie);return ue?(ue.children[0]=kt,ue.height=Math.max(kt.height,ue.height),ue.classes[0]="mord",ue):kt},mathmlBuilder $ 9=(re,ie)=>{var ae=re.isStretchy?stretchy.mathMLnode(re.label):new mathMLTree.MathNode("mo",[makeText(re.label,re.mode)]),oe=new mathMLTree.MathNode("mover",[buildGroup2(re.base,ie),ae]);return oe.setAttribute("accent","true"),oe},NON_STRETCHY_ACCENT_REGEX=new RegExp([" \\ acute"," \\ grave"," \\ ddot"," \\ tilde"," \\ bar"," \\ breve"," \\ check"," \\ hat"," \\ vec"," \\ dot"," \\ mathring"].map(re=>" \\ "+re).join("|"));defineFunction({type:"accent",names:[" \\ acute"," \\ grave"," \\ ddot"," \\ tilde"," \\ bar"," \\ breve"," \\ check"," \\ hat"," \\ vec"," \\ dot"," \\ mathring"," \\ widecheck"," \\ widehat"," \\ widetilde"," \\ overrightarrow"," \\ overleftarrow"," \\ Overrightarrow"," \\ overleftrightarrow"," \\ overgroup"," \\ overlinesegment"," \\ overleftharpoon"," \\ overrightharpoon"],props:{numArgs:1},handler:(re,ie)=>{var ae=normalizeArgument(ie[0]),oe=!NON_STRETCHY_ACCENT_REGEX.test(re.funcName),ue=!oe||re.funcName===" \\
] ` ,controlWordRegexString=" \\ \\ [a-zA-Z@]+",controlSymbolRegexString=" \\ \\ [^ \u D800- \u DFFF]",controlWordWhitespaceRegexString="("+controlWordRegexString+")"+spaceRegexString+"*",controlSpaceRegexString= ` \ \ \ \ (
| [ \ r ] +
? ) [ \ r ] * ` ,combiningDiacriticalMarkString="[̀-ͯ]",combiningDiacriticalMarksEndRegex=new RegExp(combiningDiacriticalMarkString+"+ $ "),tokenRegexString="("+spaceRegexString+"+)|"+(controlSpaceRegexString+"|")+"([!- \\ [ \\ ]-‧-豈-]"+(combiningDiacriticalMarkString+"*")+"|[ \u D800- \u DBFF][ \u DC00- \u DFFF]"+(combiningDiacriticalMarkString+"*")+"| \\ \\ verb \\ *([^]).*? \\ 4| \\ \\ verb([^*a-zA-Z]).*? \\ 5"+("|"+controlWordWhitespaceRegexString)+("|"+controlSymbolRegexString+")");class Lexer{constructor(ie,ae){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ie,this.settings=ae,this.tokenRegex=new RegExp(tokenRegexString,"g"),this.catcodes={"%":14,"~":13}}setCatcode(ie,ae){this.catcodes[ie]=ae}lex(){var ie=this.input,ae=this.tokenRegex.lastIndex;if(ae===ie.length)return new Token("EOF",new SourceLocation(this,ae,ae));var oe=this.tokenRegex.exec(ie);if(oe===null||oe.index!==ae)throw new ParseError("Unexpected character: '"+ie[ae]+"'",new Token(ie[ae],new SourceLocation(this,ae,ae+1)));var ue=oe[6]||oe[3]||(oe[2]?" \\ ":" ");if(this.catcodes[ue]===14){var de=ie.indexOf( `
` ,this.tokenRegex.lastIndex);return de===-1?(this.tokenRegex.lastIndex=ie.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $ )")):this.tokenRegex.lastIndex=de+1,this.lex()}return new Token(ue,new SourceLocation(this,ae,this.tokenRegex.lastIndex))}}class Namespace{constructor(ie,ae){ie===void 0&&(ie={}),ae===void 0&&(ae={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ae,this.builtins=ie,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ParseError("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var ie=this.undefStack.pop();for(var ae in ie)ie.hasOwnProperty(ae)&&(ie[ae]==null?delete this.current[ae]:this.current[ae]=ie[ae])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(ie){return this.current.hasOwnProperty(ie)||this.builtins.hasOwnProperty(ie)}get(ie){return this.current.hasOwnProperty(ie)?this.current[ie]:this.builtins[ie]}set(ie,ae,oe){if(oe===void 0&&(oe=!1),oe){for(var ue=0;ue<this.undefStack.length;ue++)delete this.undefStack[ue][ie];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ie]=ae)}else{var de=this.undefStack[this.undefStack.length-1];de&&!de.hasOwnProperty(ie)&&(de[ie]=this.current[ie])}ae==null?delete this.current[ie]:this.current[ie]=ae}}var macros=_macros;defineMacro(" \\ noexpand",function(re){var ie=re.popToken();return re.isExpandable(ie.text)&&(ie.noexpand=!0,ie.treatAsRelax=!0),{tokens:[ie],numArgs:0}});defineMacro(" \\ expandafter",function(re){var ie=re.popToken();return re.expandOnce(!0),{tokens:[ie],numArgs:0}});defineMacro(" \\ @firstoftwo",function(re){var ie=re.consumeArgs(2);return{tokens:ie[0],numArgs:0}});defineMacro(" \\ @secondoftwo",function(re){var ie=re.consumeArgs(2);return{tokens:ie[1],numArgs:0}});defineMacro(" \\ @ifnextchar",function(re){var ie=re.consumeArgs(3);re.consumeSpaces();var ae=re.future();return ie[0].length===1&&ie[0][0].text===ae.text?{tokens:ie[1],numArgs:0}:{tokens:ie[2],numArgs:0}});defineMacro(" \\ @ifstar"," \\ @ifnextchar *{ \\ @firstoftwo{#1}}");defineMacro(" \\ TextOrMath",function(re){var ie=re.consumeArgs(2);return re.mode==="text"?{tokens:ie[0],numArgs:0}:{tokens:ie[1],numArgs:0}});var digitToNumber={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};defineMacro(" \\ char",function(re){var ie=re.popToken(),ae,oe="";if(ie.text==="'")ae=8,ie=re.popToken();else if(ie.text==='"')ae=16,ie=re.popToken();else if(ie.text===" ` ")if(ie=re.popToken(),ie.text[0]===" \ \ ")oe=ie.text.charCodeAt(1);else{if(ie.text===" EOF ")throw new ParseError(" \ \ char ` missing argument");oe=ie.text.charCodeAt(0)}else ae=10;if(ae){if(oe=digitToNumber[ie.text],oe==null||oe>=ae)throw new ParseError("Invalid base-"+ae+" digit "+ie.text);for(var ue;(ue=digitToNumber[re.future().text])!=null&&ue<ae;)oe*=ae,oe+=ue,re.popToken()}return" \\ @char{"+oe+"}"});var newcommand=(re,ie,ae)=>{var oe=re.consumeArg().tokens;if(oe.length!==1)throw new ParseError(" \\ newcommand's first argument must be a macro name");var ue=oe[0].text,de=re.isDefined(ue);if(de&&!ie)throw new ParseError(" \\ newcommand{"+ue+"} attempting to redefine "+(ue+"; use \\ renewcommand"));if(!de&&!ae)throw new ParseError(" \\ renewcommand{"+ue+"} when command "+ue+" does not yet exist; use \\ newcommand");var pe=0;if(oe=re.consumeArg().tokens,oe.length===1&&oe[0].text==="["){for(var _e="",Ce=re.expandNextToken();Ce.text!=="]"&&Ce.text!=="EOF";)_e+=Ce.text,Ce=re.expandNextToken();if(!_e.match(/^ \s *[0-9]+ \s * $ /))throw new ParseError("Invalid number of arguments: "+_e);pe=parseInt(_e),oe=re.consumeArg().tokens}return re.macros.set(ue,{tokens:oe,numArgs:pe}),""};defineMacro(" \\ newcommand",re=>newcommand(re,!1,!0));defineMacro(" \\ renewcommand",re=>newcommand(re,!0,!1));defineMacro(" \\ providecommand",re=>newcommand(re,!0,!0));defineMacro(" \\ message",re=>{var ie=re.consumeArgs(1)[0];return console.log(ie.reverse().map(ae=>ae.text).join("")),""})
please report what input caused this bug ` );return oe=oe.slice(1,-1),{type:"verb",mode:"text",body:oe,star:ue}}unicodeSymbols.hasOwnProperty(ae[0])&&!symbols[this.mode][ae[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+ae[0]+'" used in math mode',ie),ae=unicodeSymbols[ae[0]]+ae.slice(1));var de=combiningDiacriticalMarksEndRegex.exec(ae);de&&(ae=ae.substring(0,de.index),ae==="i"?ae="ı ":ae==="j"&&(ae="ȷ"));var pe;if(symbols[this.mode][ae]){this.settings.strict&&this.mode==="math"&&extraLatin.indexOf(ae)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+ae[0]+'" used in math mode',ie);var _e=symbols[this.mode][ae].group,Ce=SourceLocation.range(ie),Ne;if(ATOMS.hasOwnProperty(_e)){var Oe=_e;Ne={type:"atom",mode:this.mode,family:Oe,loc:Ce,text:ae}}else Ne={type:_e,mode:this.mode,loc:Ce,text:ae};pe=Ne}else if(ae.charCodeAt(0)>=128)this.settings.strict&&(supportedCodepoint(ae.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+ae[0]+'" used in math mode',ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+ae[0]+'"'+(" ("+ae.charCodeAt(0)+")"),ie)),pe={type:"textord",mode:"text",loc:SourceLocation.range(ie),text:ae};else return null;if(this.consume(),de)for(var Ie=0;Ie<de[0].length;Ie++){var Fe=de[0][Ie];if(!unicodeAccents[Fe])throw new ParseError("Unknown accent ' "+Fe+"'",ie);var Ue=unicodeAccents[Fe][this.mode]||unicodeAccents[Fe].text;if(!Ue)throw new ParseError("Accent "+Fe+" unsupported in "+this.mode+" mode",ie);pe={type:"accent",mode:this.mode,loc:SourceLocation.range(ie),label:Ue,isStretchy:!1,isShifty:!0,base:pe}}return pe}};Parser $ 1.endOfExpression=["}"," \\ endgroup"," \\ end"," \\ right","&"];var parseTree=function(ie,ae){if(!(typeof ie=="string"||ie instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var oe=new Parser $ 1(ie,ae);delete oe.gullet.macros.current[" \\ df@tag"];var ue=oe.parse();if(delete oe.gullet.macros.current[" \\ current@color"],delete oe.gullet.macros.current[" \\ color"],oe.gullet.macros.get(" \\ df@tag")){if(!ae.displayMode)throw new ParseError(" \\ tag works only in display equations");ue=[{type:"tag",mode:"text",body:ue,tag:oe.subparse([new Token(" \\ df@tag")])}]}return ue},render $ 2=function(ie,ae,oe){ae.textContent="";var ue=renderToDomTree(ie,oe).toNode();ae.appendChild(ue)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),render $ 2=function(){throw new ParseError("KaTeX doesn't work in quirks mode.")});var renderToString=function(ie,ae){var oe=renderToDomTree(ie,ae).toMarkup();return oe},generateParseTree=function(ie,ae){var oe=new Settings(ae);return parseTree(ie,oe)},renderError=function(ie,ae,oe){if(oe.throwOnError||!(ie instanceof ParseError))throw ie;var ue=buildCommon.makeSpan(["katex-error"],[new SymbolNode(ae)]);return ue.setAttribute("title",ie.toString()),ue.setAttribute("style","color:"+oe.errorColor),ue},renderToDomTree=function(ie,ae){var oe=new Settings(ae);try{var ue=parseTree(ie,oe);return buildTree(ue,ie,oe)}catch(de){return renderError(de,ie,oe)}},renderToHTMLTree=function(ie,ae){var oe=new Settings(ae);try{var ue=parseTree(ie,oe);return buildHTMLTree(ue,ie,oe)}catch(de){return renderError(de,ie,oe)}},katex={version:"0.16.11",render:render $ 2,renderToString,ParseError,SETTINGS_SCHEMA,__parse:generateParseTree,__renderToDomTree:renderToDomTree,__renderToHTMLTree:renderToHTMLTree,__setFontMetrics:setFontMetrics,__defineSymbol:defineSymbol,__defineFunction:defineFunction,__defineMacro:defineMacro,__domTree:{Span,Anchor,SymbolNode,SvgNode,PathNode,LineNode}};const katex $ 1=Object.freeze(Object.defineProperty({__proto__:null,default:katex},Symbol.toStringTag,{value:"Module"})),inlineRule=/^( \$ {1,2})(?! \$ )((?: \\ .|[^ \\ \n ])*?(?: \\ .|[^ \\ \n \$ ])) \1 (?=[ \s ?! \. ,:?!。,:]| $ )/,inlineRul
` :"")}function inlineKatex(re,ie){const ae=re&&re.nonStandard,oe=ae?inlineRuleNonStandard:inlineRule;return{name:"inlineKatex",level:"inline",start(ue){let de,pe=ue;for(;pe;){if(de=pe.indexOf(" $ "),de===-1)return;if((ae?de>-1:de===0||pe.charAt(de-1)===" ")&&pe.substring(de).match(oe))return de;pe=pe.substring(de+1).replace(/^ \$ +/,"")}},tokenizer(ue,de){const pe=ue.match(oe);if(pe)return{type:"inlineKatex",raw:pe[0],text:pe[2].trim(),displayMode:pe[1].length===2}},renderer:ie}}function blockKatex(re,ie){return{name:"blockKatex",level:"block",tokenizer(ae,oe){const ue=ae.match(blockRule);if(ue)return{type:"blockKatex",raw:ue[0],text:ue[2].trim(),displayMode:ue[1].length===2}},renderer:ie}}const scriptRel="modulepreload",assetsURL=function(re){return"/md/"+re},seen={},__vitePreload=function(ie,ae,oe){let ue=Promise.resolve();if(ae&&ae.length>0){document.getElementsByTagName("link");const de=document.querySelector("meta[property=csp-nonce]"),pe=(de==null?void 0:de.nonce)||(de==null?void 0:de.getAttribute("nonce"));ue=Promise.all(ae.map(_e=>{if(_e=assetsURL(_e),_e in seen)return;seen[_e]=!0;const Ce=_e.endsWith(".css"),Ne=Ce?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${_e}" ] $ { Ne } ` ))return;const Oe=document.createElement("link");if(Oe.rel=Ce?"stylesheet":scriptRel,Ce||(Oe.as="script",Oe.crossOrigin=""),Oe.href=_e,pe&&Oe.setAttribute("nonce",pe),document.head.appendChild(Oe),Ce)return new Promise((Ie,Fe)=>{Oe.addEventListener("load",Ie),Oe.addEventListener("error",()=>Fe(new Error( ` Unable to preload CSS for $ { _e } ` )))})}))}return ue.then(()=>ie()).catch(de=>{const pe=new Event("vite:preloadError",{cancelable:!0});if(pe.payload=de,window.dispatchEvent(pe),!pe.defaultPrevented)throw de})},Channel={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:re=>re>=255?255:re<0?0:re,g:re=>re>=255?255:re<0?0:re,b:re=>re>=255?255:re<0?0:re,h:re=>re%360,s:re=>re>=100?100:re<0?0:re,l:re=>re>=100?100:re<0?0:re,a:re=>re>=1?1:re<0?0:re},toLinear:re=>{const ie=re/255;return re>.03928?Math.pow((ie+.055)/1.055,2.4):ie/12.92},hue2rgb:(re,ie,ae)=>(ae<0&&(ae+=1),ae>1&&(ae-=1),ae<1/6?re+(ie-re)*6*ae:ae<1/2?ie:ae<2/3?re+(ie-re)*(2/3-ae)*6:re),hsl2rgb:({h:re,s:ie,l:ae},oe)=>{if(!ie)return ae*2.55;re/=360,ie/=100,ae/=100;const ue=ae<.5?ae*(1+ie):ae+ie-ae*ie,de=2*ae-ue;switch(oe){case"r":return Channel.hue2rgb(de,ue,re+1/3)*255;case"g":return Channel.hue2rgb(de,ue,re)*255;case"b":return Channel.hue2rgb(de,ue,re-1/3)*255}},rgb2hsl:({r:re,g:ie,b:ae},oe)=>{re/=255,ie/=255,ae/=255;const ue=Math.max(re,ie,ae),de=Math.min(re,ie,ae),pe=(ue+de)/2;if(oe==="l")return pe*100;if(ue===de)return 0;const _e=ue-de,Ce=pe>.5?_e/(2-ue-de):_e/(ue+de);if(oe==="s")return Ce*100;switch(ue){case re:return((ie-ae)/_e+(ie<ae?6:0))*60;case ie:return((ae-re)/_e+2)*60;case ae:return((re-ie)/_e+4)*60;default:return-1}}},Lang $ 2={clamp:(re,ie,ae)=>ie>ae?Math.min(ie,Math.max(ae,re)):Math.min(ae,Math.max(ie,re)),round:re=>Math.round(re*1e10)/1e10},Unit={dec2hex:re=>{const ie=Math.round(re).toString(16);return ie.length>1?ie: ` 0 $ { ie } ` }},Utils={channel:Channel,lang:Lang $ 2,unit:Unit},DEC2HEX={};for(let re=0;re<=255;re++)DEC2HEX[re]=Utils.unit.dec2hex(re);const TYPE={ALL:0,RGB:1,HSL:2};class Type{constructor(){this.type=TYPE.ALL}get(){return this.type}set(ie){if(this.type&&this.type!==ie)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=ie}reset(){this.type=TYPE.ALL}is(ie){return this.type===ie}}class Channels{constructor(ie,ae){this.color=ae,this.changed=!1,this.data=ie,this.type=new Type}set(ie,ae){return this.color=ae,this.changed=!1,this.data=ie,this.type.type=TYPE.ALL,this}_ensureHSL(){const ie=this.data,{h:ae,s:oe,l:ue}=ie;ae===void 0&&(ie.h=Utils.channel.rgb2hsl(ie,"h")),oe===void 0&&(ie.s=Utils.channel.rgb2hsl(ie,"s")),ue===void 0&&(ie.l=Utils.channel.rgb2hsl(ie,"l"))}_ensureRGB(){const ie=this.data,{r:ae,g:oe,b:ue}=ie;ae===void 0&&(ie.r=Utils.channel.hsl2rgb(ie,"r")),oe===void 0&&(ie.g=Utils.channel.hsl2rgb(ie,"g")),ue===void 0&&(ie.b=Utils.channel.hsl2rgb(ie,"b"))}get r(){const ie=this.data,ae=ie.r;
` +Wl),xn&&arrayForEach([dr,fr,_r],Po=>{Wl=stringReplace(Wl,Po," ")}),er&&zr?er.createHTML(Wl):Wl},ie.setConfig=function(){let qi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ac(qi),Gr=!0},ie.clearConfig=function(){_s=null,Gr=!1},ie.isValidAttribute=function(qi,va,Ha){_s||Ac({});const bo=xs(qi),hs=xs(va);return oi(bo,hs,Ha)},ie.addHook=function(qi,va){typeof va=="function"&&(sr[qi]=sr[qi]||[],arrayPush(sr[qi],va))},ie.removeHook=function(qi){if(sr[qi])return arrayPop(sr[qi])},ie.removeHooks=function(qi){sr[qi]&&(sr[qi]=[])},ie.removeAllHooks=function(){sr={}},ie}var purify=createDOMPurify(),__defProp=Object.defineProperty,__name=(re,ie)=>__defProp(re,"name",{value:ie,configurable:!0}),__export=(re,ie)=>{for(var ae in ie)__defProp(re,ae,{get:ie[ae],enumerable:!0})},LEVELS={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},log $ 1={trace:__name((...re)=>{},"trace"),debug:__name((...re)=>{},"debug"),info:__name((...re)=>{},"info"),warn:__name((...re)=>{},"warn"),error:__name((...re)=>{},"error"),fatal:__name((...re)=>{},"fatal")},setLogLevel=__name(function(re="fatal"){let ie=LEVELS.fatal;typeof re=="string"?re.toLowerCase()in LEVELS&&(ie=LEVELS[re]):typeof re=="number"&&(ie=re),log $ 1.trace=()=>{},log $ 1.debug=()=>{},log $ 1.info=()=>{},log $ 1.warn=()=>{},log $ 1.error=()=>{},log $ 1.fatal=()=>{},ie<=LEVELS.fatal&&(log $ 1.fatal=console.error?console.error.bind(console,format $ 1("FATAL"),"color: orange"):console.log.bind(console," \x 1B[35m",format $ 1("FATAL"))),ie<=LEVELS.error&&(log $ 1.error=console.error?console.error.bind(console,format $ 1("ERROR"),"color: orange"):console.log.bind(console," \x 1B[31m",format $ 1("ERROR"))),ie<=LEVELS.warn&&(log $ 1.warn=console.warn?console.warn.bind(console,format $ 1("WARN"),"color: orange"):console.log.bind(console," \x 1B[33m",format $ 1("WARN"))),ie<=LEVELS.info&&(log $ 1.info=console.info?console.info.bind(console,format $ 1("INFO"),"color: lightblue"):console.log.bind(console," \x 1B[34m",format $ 1("INFO"))),ie<=LEVELS.debug&&(log $ 1.debug=console.debug?console.debug.bind(console,format $ 1("DEBUG"),"color: lightgreen"):console.log.bind(console," \x 1B[32m",format $ 1("DEBUG"))),ie<=LEVELS.trace&&(log $ 1.trace=console.debug?console.debug.bind(console,format $ 1("TRACE"),"color: lightgreen"):console.log.bind(console," \x 1B[32m",format $ 1("TRACE")))},"setLogLevel"),format $ 1=__name(re=> ` % c$ { dayjs2 ( ) . format ( "ss.SSS" ) } : $ { re } : ` ,"format"),frontMatterRegex=/^-{3} \s *[ \n \r ](.*?)[ \n \r ]-{3} \s *[ \n \r ]+/s,directiveRegex=/%{2}{ \s *(?:( \w +) \s *:|( \w +)) \s *(?:( \w +)|((?:(?!}%{2}).| \r ? \n )*))? \s *(?:}%{2})?/gi,anyCommentRegex=/ \s *%%.* \n /gm,R0,UnknownDiagramError=(R0=class extends Error{constructor(ie){super(ie),this.name="UnknownDiagramError"}},__name(R0,"UnknownDiagramError"),R0),detectors={},detectType=__name(function(re,ie){re=re.replace(frontMatterRegex,"").replace(directiveRegex,"").replace(anyCommentRegex, `
` );for(const[ae,{detector:oe}]of Object.entries(detectors))if(oe(re,ie))return ae;throw new UnknownDiagramError( ` No diagram type detected matching given configuration for text : $ { re } ` )},"detectType"),registerLazyLoadedDiagrams=__name((...re)=>{for(const{id:ie,detector:ae,loader:oe}of re)addDetector(ie,ae,oe)},"registerLazyLoadedDiagrams"),addDetector=__name((re,ie,ae)=>{detectors[re]&&log $ 1.warn( ` Detector with key $ { re } already exists . Overwriting . ` ),detectors[re]={detector:ie,loader:ae},log $ 1.debug( ` Detector with key $ { re } added$ { ae ? " with loader" : "" } ` )},"addDetector"),getDiagramLoader=__name(re=>detectors[re].loader,"getDiagramLoader"),assignWithDepth=__name((re,ie,{depth:ae=2,clobber:oe=!1}={})=>{const ue={depth:ae,clobber:oe};return Array.isArray(ie)&&!Array.isArray(re)?(ie.forEach(de=>assignWithDepth(re,de,ue)),re):Array.isArray(ie)&&Array.isArray(re)?(ie.forEach(de=>{re.includes(de)||re.push(de)}),re):re===void 0||ae<=0?re!=null&&typeof re=="object"&&typeof ie=="object"?Object.assign(re,ie):ie:(ie!==void 0&&typeof re=="object"&&typeof ie=="object"&&Object.keys(ie).forEach(de=>{typeof ie[de]=="object"&&(re[de]===void 0||typeof re[de]=="object")?(re[de]===void 0&&(re[de]=Array.isArray(ie[de])?[]:{}),re[de]=assignWithDepth(re[de],ie[de],{depth:ae-1,clobber:oe})):(oe||typeof re[de]!="object"&&typeof ie[de]!="object")&&(re[de]=ie[de])}),re)},"assignWithDepth"),assignWithDepth_default=assignWithDepth,oldAttributeBackgroundColorOdd="#ffffff",oldAttributeBackgroundColorEven="#f2f2f2",mkBorder=__name((re,ie)=>ie?adjust(re,{s:-40,l:10}):adjust(re,{s:-40,l:-10}),"mkBorder"),I0,Theme=(I0=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var ae,oe,ue,de,pe,_e,Ce,Ne,Oe,Ie,Fe;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||adjust(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||adjust(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||mkBorder(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||mkBorder(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||invert(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||invert(this.tertiaryColor),this.lineColor=this.lineColor||invert(this.background),this.arrowheadColor=this.arrowheadColor||invert(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextCo
font - family : $ { ae . fontFamily } ;
font - size : $ { ae . fontSize } ;
fill : $ { ae . textColor }
}
/* Classes common for multiple diagrams */
& . error - icon {
fill : $ { ae . errorBkgColor } ;
}
& . error - text {
fill : $ { ae . errorTextColor } ;
stroke : $ { ae . errorTextColor } ;
}
& . edge - thickness - normal {
stroke - width : 1 px ;
}
& . edge - thickness - thick {
stroke - width : 3.5 px
}
& . edge - pattern - solid {
stroke - dasharray : 0 ;
}
& . edge - thickness - invisible {
stroke - width : 0 ;
fill : none ;
}
& . edge - pattern - dashed {
stroke - dasharray : 3 ;
}
. edge - pattern - dotted {
stroke - dasharray : 2 ;
}
& . marker {
fill : $ { ae . lineColor } ;
stroke : $ { ae . lineColor } ;
}
& . marker . cross {
stroke : $ { ae . lineColor } ;
}
& svg {
font - family : $ { ae . fontFamily } ;
font - size : $ { ae . fontSize } ;
}
& p {
margin : 0
}
$ { oe }
$ { ie }
` },"getStyles"),addStylesForDiagram=__name((re,ie)=>{ie!==void 0&&(themes[re]=ie)},"addStylesForDiagram"),styles_default=getStyles,commonDb_exports={};__export(commonDb_exports,{clear:()=>clear $ 1,getAccDescription:()=>getAccDescription,getAccTitle:()=>getAccTitle,getDiagramTitle:()=>getDiagramTitle,setAccDescription:()=>setAccDescription,setAccTitle:()=>setAccTitle,setDiagramTitle:()=>setDiagramTitle});var accTitle="",diagramTitle="",accDescription="",sanitizeText2=__name(re=>sanitizeText(re,getConfig $ 1()),"sanitizeText"),clear $ 1=__name(()=>{accTitle="",accDescription="",diagramTitle=""},"clear"),setAccTitle=__name(re=>{accTitle=sanitizeText2(re).replace(/^ \s +/g,"")},"setAccTitle"),getAccTitle=__name(()=>accTitle,"getAccTitle"),setAccDescription=__name(re=>{accDescription=sanitizeText2(re).replace(/ \n \s +/g, `
` )},"setAccDescription"),getAccDescription=__name(()=>accDescription,"getAccDescription"),setDiagramTitle=__name(re=>{diagramTitle=sanitizeText2(re)},"setDiagramTitle"),getDiagramTitle=__name(()=>diagramTitle,"getDiagramTitle"),log2=log $ 1,setLogLevel2=setLogLevel,getConfig2=getConfig $ 1,setConfig2=setConfig,defaultConfig2=defaultConfig,sanitizeText3=__name(re=>sanitizeText(re,getConfig2()),"sanitizeText"),setupGraphViewbox2=setupGraphViewbox,getCommonDb=__name(()=>commonDb_exports,"getCommonDb"),diagrams={},registerDiagram=__name((re,ie,ae)=>{var oe;diagrams[re]&&log2.warn( ` Diagram with id $ { re } already registered . Overwriting . ` ),diagrams[re]=ie,ae&&addDetector(re,ae),addStylesForDiagram(re,ie.styles),(oe=ie.injectUtils)==null||oe.call(ie,log2,setLogLevel2,getConfig2,sanitizeText3,setupGraphViewbox2,getCommonDb(),()=>{})},"registerDiagram"),getDiagram=__name(re=>{if(re in diagrams)return diagrams[re];throw new DiagramNotFoundError(re)},"getDiagram"),P0,DiagramNotFoundError=(P0=class extends Error{constructor(ie){super( ` Diagram $ { ie } not found . ` )}},__name(P0,"DiagramNotFoundError"),P0),getSubGraphTitleMargins=__name(({flowchart:re})=>{var ue,de;const ie=((ue=re==null?void 0:re.subGraphTitleMargin)==null?void 0:ue.top)??0,ae=((de=re==null?void 0:re.subGraphTitleMargin)==null?void 0:de.bottom)??0,oe=ie+ae;return{subGraphTitleTopMargin:ie,subGraphTitleBottomMargin:ae,subGraphTitleTotalMargin:oe}},"getSubGraphTitleMargins"),markerOffsets={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function calculateDeltaAndAngle(re,ie){if(re===void 0||ie===void 0)return{angle:0,deltaX:0,deltaY:0};re=pointTransformer(re),ie=pointTransformer(ie);const[ae,oe]=[re.x,re.y],[ue,de]=[ie.x,ie.y],pe=ue-ae,_e=de-oe;return{angle:Math.atan(_e/pe),deltaX:pe,deltaY:_e}}__name(calculateDeltaAndAngle,"calculateDeltaAndAngle");var pointTransformer=__name(re=>Array.isArray(re)?{x:re[0],y:re[1]}:re,"pointTransformer"),getLineFunctionsWithOffset=__name(re=>({x:__name(function(ie,ae,oe){let ue=0;if(ae===0&&Object.hasOwn(markerOffsets,re.arrowTypeStart)){const{angle:de,deltaX:pe}=calculateDeltaAndAngle(oe[0],oe[1]);ue=markerOffsets[re.arrowTypeStart]*Math.cos(de)*(pe>=0?1:-1)}else if(ae===oe.length-1&&Object.hasOwn(markerOffsets,re.arrowTypeEnd)){const{angle:de,deltaX:pe}=calculateDeltaAndAngle(oe[oe.length-1],oe[oe.length-2]);ue=markerOffsets[re.arrowTypeEnd]*Math.cos(de)*(pe>=0?1:-1)}return pointTransformer(ie).x+ue},"x"),y:__name(function(ie,ae,oe){let ue=0;if(ae===0&&Object.hasOwn(markerOffsets,re.arrowTypeStart)){const{angle:de,deltaY:pe}=calculateDeltaAndAngle(oe[0],oe[1]);ue=markerOffsets[re.arrowTypeStart]*Math.abs(Math.sin(de))*(pe>=0?1:-1)}else if(ae===oe.length-1&&Object.hasOwn(markerOffsets,re.arrowTypeEnd)){const{angle:de,deltaY:pe}=calculateDeltaAndAngle(oe[oe.length-1],oe[oe.length-2]);ue=markerOffsets[re.arrowTypeEnd]*Math.abs(Math.sin(de))*(pe>=0?1:-1)}return pointTransformer(ie).y+ue},"y")}),"getLineFunctionsWithOffset"),dist={},constants={};Object.defineProperty(constants,"__esModule",{value:!0});constants.BLANK_URL=constants.relativeFirstCharacters=constants.whitespaceEscapeCharsRegex=constants.urlSchemeRegex=constants.ctrlCharactersRegex=constants.htmlCtrlEntityRegex=constants.htmlEntitiesRegex=constants.invalidProtocolRegex=void 0;constants.invalidProtocolRegex=/^([^ \w ]*)(javascript|data|vbscript)/im;constants.htmlEntitiesRegex=/&#( \w +)(^ \w |;)?/g;constants.htmlCtrlEntityRegex=/&(newline|tab);/gi;constants.ctrlCharactersRegex=/[ \u 0000- \u 001F \u 007F- \u 009F \u 2000- \u 200D \u FEFF]/gim;constants.urlSchemeRegex=/^.+(:|:)/gim;constants.whitespaceEscapeCharsRegex=/( \\ |%5[cC])((%(6[eE]|72|74))|[nrt])/g;constants.relativeFirstCharacters=[".","/"];constants.BLANK_URL="about:blank";Object.defineProperty(dist,"__esModule",{value:!0});var sanitizeUrl_1=dist.sanitizeUrl=void 0,constants_1=constants;function isRelativeUrlWithoutProtocol(re){return constants_1.relativeFirstCharacters.indexOf(re[0])>-1}function decodeHtmlCharacters(re){var ie=re.replace(constants_1.ctrlCharactersRegex,"");return ie.replace(constants_
` ,"ig");re=re.trim().replace(ue,"").replace(/'/gm,'"'),log $ 1.debug( ` Detecting diagram directive$ { ie !== null ? " type:" + ie : "" } based on the text : $ { re } ` );let de;const pe=[];for(;(de=directiveRegex.exec(re))!==null;)if(de.index===directiveRegex.lastIndex&&directiveRegex.lastIndex++,de&&!ie||ie&&((ae=de[1])!=null&&ae.match(ie))||ie&&((oe=de[2])!=null&&oe.match(ie))){const _e=de[1]?de[1]:de[2],Ce=de[3]?de[3].trim():de[4]?JSON.parse(de[4].trim()):null;pe.push({type:_e,args:Ce})}return pe.length===0?{type:re,args:null}:pe.length===1?pe[0]:pe}catch(ue){return log $ 1.error( ` ERROR : $ { ue . message } - Unable to parse directive type : '${ie}' based on the text : '${re}' ` ),{type:void 0,args:null}}},"detectDirective"),removeDirectives=__name(function(re){return re.replace(directiveRegex,"")},"removeDirectives"),isSubstringInArray=__name(function(re,ie){for(const[ae,oe]of ie.entries())if(oe.match(re))return ae;return-1},"isSubstringInArray");function interpolateToCurve(re,ie){if(!re)return ie;const ae= ` curve$ { re . charAt ( 0 ) . toUpperCase ( ) + re . slice ( 1 ) } ` ;return d3CurveTypes[ae]??ie}__name(interpolateToCurve,"interpolateToCurve");function formatUrl(re,ie){const ae=re.trim();if(ae)return ie.securityLevel!=="loose"?sanitizeUrl_1(ae):ae}__name(formatUrl,"formatUrl");var runFunc=__name((re,...ie)=>{const ae=re.split("."),oe=ae.length-1,ue=ae[oe];let de=window;for(let pe=0;pe<oe;pe++)if(de=de[ae[pe]],!de){log $ 1.error( ` Function name : $ { re } not found in window ` );return}de[ue](...ie)},"runFunc");function distance(re,ie){return!re||!ie?0:Math.sqrt(Math.pow(ie.x-re.x,2)+Math.pow(ie.y-re.y,2))}__name(distance,"distance");function traverseEdge(re){let ie,ae=0;re.forEach(ue=>{ae+=distance(ue,ie),ie=ue});const oe=ae/2;return calculatePoint(re,oe)}__name(traverseEdge,"traverseEdge");function calcLabelPosition(re){return re.length===1?re[0]:traverseEdge(re)}__name(calcLabelPosition,"calcLabelPosition");var roundNumber=__name((re,ie=2)=>{const ae=Math.pow(10,ie);return Math.round(re*ae)/ae},"roundNumber"),calculatePoint=__name((re,ie)=>{let ae,oe=ie;for(const ue of re){if(ae){const de=distance(ue,ae);if(de<oe)oe-=de;else{const pe=oe/de;if(pe<=0)return ae;if(pe>=1)return{x:ue.x,y:ue.y};if(pe>0&&pe<1)return{x:roundNumber((1-pe)*ae.x+pe*ue.x,5),y:roundNumber((1-pe)*ae.y+pe*ue.y,5)}}}ae=ue}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),calcCardinalityPosition=__name((re,ie,ae)=>{log $ 1.info( ` our points $ { JSON . stringify ( ie ) } ` ),ie[0]!==ae&&(ie=ie.reverse());const ue=calculatePoint(ie,25),de=re?10:5,pe=Math.atan2(ie[0].y-ue.y,ie[0].x-ue.x),_e={x:0,y:0};return _e.x=Math.sin(pe)*de+(ie[0].x+ue.x)/2,_e.y=-Math.cos(pe)*de+(ie[0].y+ue.y)/2,_e},"calcCardinalityPosition");function calcTerminalLabelPosition(re,ie,ae){const oe=structuredClone(ae);log $ 1.info("our points",oe),ie!=="start_left"&&ie!=="start_right"&&oe.reverse();const ue=25+re,de=calculatePoint(oe,ue),pe=10+re*.5,_e=Math.atan2(oe[0].y-de.y,oe[0].x-de.x),Ce={x:0,y:0};return ie==="start_left"?(Ce.x=Math.sin(_e+Math.PI)*pe+(oe[0].x+de.x)/2,Ce.y=-Math.cos(_e+Math.PI)*pe+(oe[0].y+de.y)/2):ie==="end_right"?(Ce.x=Math.sin(_e-Math.PI)*pe+(oe[0].x+de.x)/2-5,Ce.y=-Math.cos(_e-Math.PI)*pe+(oe[0].y+de.y)/2-5):ie==="end_left"?(Ce.x=Math.sin(_e)*pe+(oe[0].x+de.x)/2-5,Ce.y=-Math.cos(_e)*pe+(oe[0].y+de.y)/2-5):(Ce.x=Math.sin(_e)*pe+(oe[0].x+de.x)/2,Ce.y=-Math.cos(_e)*pe+(oe[0].y+de.y)/2),Ce}__name(calcTerminalLabelPosition,"calcTerminalLabelPosition");function getStylesFromArray(re){let ie="",ae="";for(const oe of re)oe!==void 0&&(oe.startsWith("color:")||oe.startsWith("text-align:")?ae=ae+oe+";":ie=ie+oe+";");return{style:ie,labelStyle:ae}}__name(getStylesFromArray,"getStylesFromArray");var cnt=0,generateId=__name(()=>(cnt++,"id-"+Math.random().toString(36).substr(2,12)+"-"+cnt),"generateId");function makeRandomHex(re){let ie="";const ae="0123456789abcdef",oe=ae.length;for(let ue=0;ue<re;ue++)ie+=ae.charAt(Math.floor(Math.random()*oe));return ie}__name(makeRandomHex,"makeRandomHex");var random=__name(re=>makeRandomHex(re.length),"random"),getTextObj=__name(function(){return{x:0,y:0,fill:vo
` ).map(ue=>{const de=ue.match(/^ \s +/);if(de===null)return ue;const[pe]=de;return pe.length>=oe.length?ue.slice(oe.length):ue}).join( `
` )}class _Tokenizer{constructor(ie){Hu(this,"options");Hu(this,"rules");Hu(this,"lexer");this.options=ie||_defaults}space(ie){const ae=this.rules.block.newline.exec(ie);if(ae&&ae[0].length>0)return{type:"space",raw:ae[0]}}code(ie){const ae=this.rules.block.code.exec(ie);if(ae){const oe=ae[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:ae[0],codeBlockStyle:"indented",text:this.options.pedantic?oe:rtrim(oe, `
` )}}}fences(ie){const ae=this.rules.block.fences.exec(ie);if(ae){const oe=ae[0],ue=indentCodeCompensation(oe,ae[3]||"");return{type:"code",raw:oe,lang:ae[2]?ae[2].trim().replace(this.rules.inline.anyPunctuation," $ 1"):ae[2],text:ue}}}heading(ie){const ae=this.rules.block.heading.exec(ie);if(ae){let oe=ae[2].trim();if(/# $ /.test(oe)){const ue=rtrim(oe,"#");(this.options.pedantic||!ue||/ $ /.test(ue))&&(oe=ue.trim())}return{type:"heading",raw:ae[0],depth:ae[1].length,text:oe,tokens:this.lexer.inline(oe)}}}hr(ie){const ae=this.rules.block.hr.exec(ie);if(ae)return{type:"hr",raw:rtrim(ae[0], `
` )}}blockquote(ie){const ae=this.rules.block.blockquote.exec(ie);if(ae){let oe=rtrim(ae[0], `
` ).split( `
` ),ue="",de="";const pe=[];for(;oe.length>0;){let _e=!1;const Ce=[];let Ne;for(Ne=0;Ne<oe.length;Ne++)if(/^ {0,3}>/.test(oe[Ne]))Ce.push(oe[Ne]),_e=!0;else if(!_e)Ce.push(oe[Ne]);else break;oe=oe.slice(Ne);const Oe=Ce.join( `
` ),Ie=Oe.replace(/ \n {0,3}((?:=+|-+) *)(?= \n | $ )/g, `
$1 ` ).replace(/^ {0,3}>[ \t ]?/gm,"");ue=ue? ` $ { ue }
$ { Oe } ` :Oe,de=de? ` $ { de }
$ { Ie } ` :Ie;const Fe=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(Ie,pe,!0),this.lexer.state.top=Fe,oe.length===0)break;const Ue=pe[pe.length-1];if((Ue==null?void 0:Ue.type)==="code")break;if((Ue==null?void 0:Ue.type)==="blockquote"){const Ve=Ue,ze=Ve.raw+ `
` +oe.join( `
` ),jt=this.blockquote(ze);pe[pe.length-1]=jt,ue=ue.substring(0,ue.length-Ve.raw.length)+jt.raw,de=de.substring(0,de.length-Ve.text.length)+jt.text;break}else if((Ue==null?void 0:Ue.type)==="list"){const Ve=Ue,ze=Ve.raw+ `
` +oe.join( `
` ),jt=this.list(ze);pe[pe.length-1]=jt,ue=ue.substring(0,ue.length-Ue.raw.length)+jt.raw,de=de.substring(0,de.length-Ve.raw.length)+jt.raw,oe=ze.substring(pe[pe.length-1].raw.length).split( `
` );continue}}return{type:"blockquote",raw:ue,tokens:pe,text:de}}}list(ie){let ae=this.rules.block.list.exec(ie);if(ae){let oe=ae[1].trim();const ue=oe.length>1,de={type:"list",raw:"",ordered:ue,start:ue?+oe.slice(0,-1):"",loose:!1,items:[]};oe=ue? ` \ \ d { 1 , 9 } \ \ $ { oe . slice ( - 1 ) } ` : ` \ \ $ { oe } ` ,this.options.pedantic&&(oe=ue?oe:"[*+-]");const pe=new RegExp( ` ^ ( { 0 , 3 } $ { oe } ) ( ( ? : [ ] [ ^ \ \ n ] * ) ? ( ? : \ \ n | $ ) ) ` );let _e=!1;for(;ie;){let Ce=!1,Ne="",Oe="";if(!(ae=pe.exec(ie))||this.rules.block.hr.test(ie))break;Ne=ae[0],ie=ie.substring(Ne.length);let Ie=ae[2].split( `
` ,1)[0].replace(/^ \t +/,kt=>" ".repeat(3*kt.length)),Fe=ie.split( `
` ,1)[0],Ue=!Ie.trim(),Ve=0;if(this.options.pedantic?(Ve=2,Oe=Ie.trimStart()):Ue?Ve=ae[1].length+1:(Ve=ae[2].search(/[^ ]/),Ve=Ve>4?1:Ve,Oe=Ie.slice(Ve),Ve+=ae[1].length),Ue&&/^ * $ /.test(Fe)&&(Ne+=Fe+ `
` ,ie=ie.substring(Fe.length+1),Ce=!0),!Ce){const kt=new RegExp( ` ^ { 0 , $ { Math . min ( 3 , Ve - 1 ) } } ( ? : [ * + - ] | \ \ d { 1 , 9 } [ . ) ] ) ( ( ? : [ ] [ ^ \ \ n ] * ) ? ( ? : \ \ n | $ ) ) ` ),Pt=new RegExp( ` ^ { 0 , $ { Math . min ( 3 , Ve - 1 ) } } ( ( ? : - * ) { 3 , } | ( ? : _ * ) { 3 , } | ( ? : \ \ * * ) { 3 , } ) ( ? : \ \ n + | $ ) ` ),Et=new RegExp( ` ^ { 0 , $ { Math . min ( 3 , Ve - 1 ) } } ( ? : \ ` \` \` |~~~) ` ) , er = new RegExp ( ` ^ {0, ${ Math . min ( 3 , Ve - 1 ) } }# ` ) ; for ( ; ie ; ) { const tr = ie . split ( `
` ,1)[0];if(Fe=tr,this.options.pedantic&&(Fe=Fe.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Et.test(Fe)||er.test(Fe)||kt.test(Fe)||Pt.test(ie))break;if(Fe.search(/[^ ]/)>=Ve||!Fe.trim())Oe+= `
` +Fe.slice(Ve);else{if(Ue||Ie.search(/[^ ]/)>=4||Et.test(Ie)||er.test(Ie)||Pt.test(Ie))break;Oe+= `
` +Fe}!Ue&&!Fe.trim()&&(Ue=!0),Ne+=tr+ `
` ,ie=ie.substring(tr.length+1),Ie=Fe.slice(Ve)}}de.loose||(_e?de.loose=!0:/ \n * \n * $ /.test(Ne)&&(_e=!0));let ze=null,jt;this.options.gfm&&(ze=/^ \[ [ xX] \] /.exec(Oe),ze&&(jt=ze[0]!=="[ ] ",Oe=Oe.replace(/^ \[ [ xX] \] +/,""))),de.items.push({type:"list_item",raw:Ne,task:!!ze,checked:jt,loose:!1,text:Oe,tokens:[]}),de.raw+=Ne}de.items[de.items.length-1].raw=de.items[de.items.length-1].raw.trimEnd(),de.items[de.items.length-1].text=de.items[de.items.length-1].text.trimEnd(),de.raw=de.raw.trimEnd();for(let Ce=0;Ce<de.items.length;Ce++)if(this.lexer.state.top=!1,de.items[Ce].tokens=this.lexer.blockTokens(de.items[Ce].text,[]),!de.loose){const Ne=de.items[Ce].tokens.filter(Ie=>Ie.type==="space"),Oe=Ne.length>0&&Ne.some(Ie=>/ \n .* \n /.test(Ie.raw));de.loose=Oe}if(de.loose)for(let Ce=0;Ce<de.items.length;Ce++)de.items[Ce].loose=!0;return de}}html(ie){const ae=this.rules.block.html.exec(ie);if(ae)return{type:"html",block:!0,raw:ae[0],pre:ae[1]==="pre"||ae[1]==="script"||ae[1]==="style",text:ae[0]}}def(ie){const ae=this.rules.block.def.exec(ie);if(ae){const oe=ae[1].toLowerCase().replace(/ \s +/g," "),ue=ae[2]?ae[2].replace(/^<(.*)> $ /," $ 1").replace(this.rules.inline.anyPunctuation," $ 1"):"",de=ae[3]?ae[3].substring(1,ae[3].length-1).replace(this.rules.inline.anyPunctuation," $ 1"):ae[3];return{type:"def",tag:oe,raw:ae[0],href:ue,title:de}}}table(ie){const ae=this.rules.block.table.exec(ie);if(!ae||!/[:|]/.test(ae[2]))return;const oe=splitCells(ae[1]),ue=ae[2].replace(/^ \| | \| * $ /g,"").split("|"),de=ae[3]&&ae[3].trim()?ae[3].replace(/ \n [ \t ]* $ /,"").split( `
` ):[],pe={type:"table",raw:ae[0],header:[],align:[],rows:[]};if(oe.length===ue.length){for(const _e of ue)/^ *-+: * $ /.test(_e)?pe.align.push("right"):/^ *:-+: * $ /.test(_e)?pe.align.push("center"):/^ *:-+ * $ /.test(_e)?pe.align.push("left"):pe.align.push(null);for(let _e=0;_e<oe.length;_e++)pe.header.push({text:oe[_e],tokens:this.lexer.inline(oe[_e]),header:!0,align:pe.align[_e]});for(const _e of de)pe.rows.push(splitCells(_e,pe.header.length).map((Ce,Ne)=>({text:Ce,tokens:this.lexer.inline(Ce),header:!1,align:pe.align[Ne]})));return pe}}lheading(ie){const ae=this.rules.block.lheading.exec(ie);if(ae)return{type:"heading",raw:ae[0],depth:ae[2].charAt(0)==="="?1:2,text:ae[1],tokens:this.lexer.inline(ae[1])}}paragraph(ie){const ae=this.rules.block.paragraph.exec(ie);if(ae){const oe=ae[1].charAt(ae[1].length-1)=== `
` ?ae[1].slice(0,-1):ae[1];return{type:"paragraph",raw:ae[0],text:oe,tokens:this.lexer.inline(oe)}}}text(ie){const ae=this.rules.block.text.exec(ie);if(ae)return{type:"text",raw:ae[0],text:ae[0],tokens:this.lexer.inline(ae[0])}}escape(ie){const ae=this.rules.inline.escape.exec(ie);if(ae)return{type:"escape",raw:ae[0],text:escape $ 1 $ 1(ae[1])}}tag(ie){const ae=this.rules.inline.tag.exec(ie);if(ae)return!this.lexer.state.inLink&&/^<a /i.test(ae[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^< \/ a>/i.test(ae[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)( \s |>)/i.test(ae[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^< \/ (pre|code|kbd|script)( \s |>)/i.test(ae[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:ae[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:ae[0]}}link(ie){const ae=this.rules.inline.link.exec(ie);if(ae){const oe=ae[2].trim();if(!this.options.pedantic&&/^</.test(oe)){if(!/> $ /.test(oe))return;const pe=rtrim(oe.slice(0,-1)," \\ ");if((oe.length-pe.length)%2===0)return}else{const pe=findClosingBracket(ae[2],"()");if(pe>-1){const Ce=(ae[0].indexOf("!")===0?5:4)+ae[1].length+pe;ae[2]=ae[2].substring(0,pe),ae[0]=ae[0].substring(0,Ce).trim(),ae[3]=""}}let ue=ae[2],de="";if(this.options.pedantic){const pe=/^([^'"]*[^ \s ]) \s +(['"])(.*) \2 /.exec(ue);pe&&(ue=pe[1],de=pe[3])}else de=ae[3]?ae[3].slice(1,-1):"";return ue=ue.trim(),/^</.test(ue)&&(this.options.pedantic&&!/> $ /.test(oe)?ue=ue.slice(1):ue=ue.slice(1,-1)),outputLink(ae,{href:ue&&ue.replace(this.rules.inline.anyPunctuation," $ 1"),title:de&&de.replace(this.rules.inline.anyPunctuation," $ 1")},ae[0],this.lexer)}}reflink(ie,ae){let oe;if((oe=this.rules.inline.reflink.exec(ie))||(oe=this.rules.inline.nolink.exec(ie))){const ue=(oe[2]||oe[1]).replace(/ \s +/g," "),de=ae[ue.toLowerCase()];if(!de){const pe=oe[0].charAt(0);return{type:"text",raw:pe,text:pe}}return outputLink(oe,de,oe[0],this.lexer)}}emStrong(ie,ae,oe=""){let ue=this.rules.inline.emStrongLDelim.exec(ie);if(!ue||ue[3]&&oe.match(/[ \p {L} \p {N}]/u))return;if(!(ue[1]||ue[2]||"")||!oe||this.rules.inline.punctuation.exec(oe)){const pe=[...ue[0]].length-1;let _e,Ce,Ne=pe,Oe=0;const Ie=ue[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Ie.lastIndex=0,ae=ae.slice(-1*ie.length+pe);(ue=Ie.exec(ae))!=null;){if(_e=ue[1]||ue[2]||ue[3]||ue[4]||ue[5]||ue[6],!_e)continue;if(Ce=[..._e].length,ue[3]||ue[4]){Ne+=Ce;continue}else if((ue[5]||ue[6])&&pe%3&&!((pe+Ce)%3)){Oe+=Ce;continue}if(Ne-=Ce,Ne>0)continue;Ce=Math.min(Ce,Ce+Ne+Oe);const Fe=[...ue[0]][0].length,Ue=ie.slice(0,pe+ue.index+Fe+Ce);if(Math.min(pe,Ce)%2){const ze=Ue.slice(1,-1);return{type:"em",raw:Ue,text:ze,tokens:this.lexer.inlineTokens(ze)}}const Ve=Ue.slice(2,-2);return{type:"strong",raw:Ue,text:Ve,tokens:this.lexer.inlineTokens(Ve)}}}}codespan(ie){const ae=this.rules.inline.code.exec(ie);if(ae){let oe=ae[2].replace(/ \n /g," ");const ue=/[^ ]/.test(oe),de=/^ /.test(oe)&&/ $ /.test(oe);return ue&&de&&(oe=oe.substring(1,oe.length-1)),oe=escape $ 1 $ 1(oe,!0),{type:"codespan",raw:ae[0],text:oe}}}br(ie){const ae=this.rules.inline.br.exec(ie);if(ae)return{type:"br",raw:ae[0]}}del(ie){const ae=this.rules.inline.del.exec(ie);if(ae)return{type:"del",raw:ae[0],text:ae[2],tokens:this.lexer.inlineTokens(ae[2])}}autolink(ie){const ae=this.rules.inline.autolink.exec(ie);if(ae){let oe,ue;return ae[2]==="@"?(oe=escape $ 1 $ 1(ae[1]),ue="mailto:"+oe):(oe=escape $ 1 $ 1(ae[1]),ue=oe),{type:"link",raw:ae[0],text:oe,href:ue,tokens:[{type:"text",raw:oe,text:oe}]}}}url(ie){var oe;let ae;if(ae=this.rules.inline.url.exec(ie)){let ue,de;if(ae[2]==="@")ue=escape $ 1 $ 1(ae[0]),de="mailto:"+ue;else{let pe;do pe=ae[0],ae[0]=((oe=this.rules.inline._backpedal.exec(ae[0]))==null?void 0:oe[0])??"";while(pe!==ae[0]);ue=escape $ 1 $ 1(ae[0]),ae[1]==="www."?de="http://"+ae[0]:de=ae[0]}return{type:"link",raw:ae[0],text:ue,href:de,tokens:[{type:"text",raw:ue,text:ue}]}}}inlineText(ie){const ae=this.rules.inline.text.exec(ie);if(ae){let oe;return this.lexer.state.inRawBlock?oe=a
] ` ).replace("lheading",lheading).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape $ 2=/^ \\ ([!"# $ %&'()*+, \- ./:;<=>?@ \[ \] \\ ^_ ` { | } ~ ] ) / , inlineCode = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/ , br = /^( {2,}|\\)\n(?!\s*$)/ , inlineText = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/ , _punctuation = "\\p{P}\\p{S}" , punctuation = edit ( /^((?![*_])[\spunctuation])/ , "u" ) . replace ( /punctuation/g , _punctuation ) . getRegex ( ) , blockSkip = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g , emStrongLDelim = edit ( /^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/ , "u" ) . replace ( /punct/g , _punctuation ) . getRegex ( ) , emStrongRDelimAst = edit ( "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])" , "gu" ) . replace ( /punct/g , _punctuation ) . getRegex ( ) , emStrongRDelimUnd = edit ( "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])" , "gu" ) . replace ( /punct/g , _punctuation ) . getRegex ( ) , anyPunctuation = edit ( /\\([punct])/ , "gu" ) . replace ( /punct/g , _punctuation ) . getRegex ( ) , autolink = edit ( /^<(scheme:[^\s\x00-\x1f<>]*|email)>/ ) . replace ( "scheme" , /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/ ) . replace ( "email" , /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/ ) . getRegex ( ) , _inlineComment = edit ( _comment ) . replace ( "(?:-->|$)" , "-->" ) . getRegex ( ) , tag = edit ( "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>" ) . replace ( "comment" , _inlineComment ) . replace ( "attribute" , /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/ ) . getRegex ( ) , _inlineLabel = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/ , link = edit ( /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/ ) . replace ( "label" , _inlineLabel ) . replace ( "href" , /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/ ) . replace ( "title" , /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/ ) . getRegex ( ) , reflink = edit ( /^!?\[(label)\]\[(ref)\]/ ) . replace ( "label" , _inlineLabel ) . replace ( "ref" , _blockLabel ) . getRegex ( ) , nolink = edit ( /^!?\[(ref)\](?:\[\])?/ ) . replace ( "ref" , _blockLabel ) . getRegex ( ) , reflinkSearch = edit ( "reflink|nolink(?!\\()" , "g" ) . replace ( "reflink" , reflink ) . replace ( "nolink" , nolink ) . getRegex ( ) , inlineNormal = { _backpedal : noopTest , anyPunctuation , autolink , blockSkip , br , code : inlineCode , del : noopTest , emStrongLDelim , emStrongRDelimAst , emStrongRDelimUnd , escape : escape$2 , link , nolink , punctuation , reflink , reflinkSearch , tag , text : inlineText , url : noopTest } , inlinePedantic = { ... inlineNormal , link : edit ( /^!?\[(label)\]\((.*?)\)/ ) . replace ( "label" , _inlineLabel ) . getRegex ( ) , reflink : edit ( /^!?\[(label)\]\s*\[([^\]]*)\]/ ) . replace ( "label" , _inlineLabel ) . getRegex ( ) } , inlineGfm = { ... inlineNormal , escape : edit ( escape$2 ) . replace ( "])" , "~|])" ) . getRegex ( ) , url : edit ( /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/ , "i" ) . replace ( "email" , /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/ ) . getRegex ( ) , _backpedal : /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/ , del : /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/ , text : /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ } , inlineBreaks = { ... inlineGfm , br : edit ( br ) . replace ( "{2,}" , "*" ) . getRegex ( ) , text : edit ( inlineGfm . text ) . replace ( "\\b_" , "\\b_| {2,}\\n" ) . replace ( /\{2,\}/g , "*" ) . getRegex ( ) } , block$2 = { normal : blockNormal , gfm : blockGfm , pedantic : blockPedantic } , inline$1 = { normal : inlineNormal , gfm : inlineGfm , breaks : inlineBreaks , pedantic : inlinePedantic } ; class _Lexer { constructor ( ie ) { Hu ( th
` ),this.blockTokens(ie,this.tokens);for(let ae=0;ae<this.inlineQueue.length;ae++){const oe=this.inlineQueue[ae];this.inlineTokens(oe.src,oe.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(ie,ae=[],oe=!1){this.options.pedantic?ie=ie.replace(/ \t /g," ").replace(/^ + $ /gm,""):ie=ie.replace(/^( *)( \t +)/gm,(_e,Ce,Ne)=>Ce+" ".repeat(Ne.length));let ue,de,pe;for(;ie;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(_e=>(ue=_e.call({lexer:this},ie,ae))?(ie=ie.substring(ue.raw.length),ae.push(ue),!0):!1))){if(ue=this.tokenizer.space(ie)){ie=ie.substring(ue.raw.length),ue.raw.length===1&&ae.length>0?ae[ae.length-1].raw+= `
` :ae.push(ue);continue}if(ue=this.tokenizer.code(ie)){ie=ie.substring(ue.raw.length),de=ae[ae.length-1],de&&(de.type==="paragraph"||de.type==="text")?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.text,this.inlineQueue[this.inlineQueue.length-1].src=de.text):ae.push(ue);continue}if(ue=this.tokenizer.fences(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.heading(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.hr(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.blockquote(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.list(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.html(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.def(ie)){ie=ie.substring(ue.raw.length),de=ae[ae.length-1],de&&(de.type==="paragraph"||de.type==="text")?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.raw,this.inlineQueue[this.inlineQueue.length-1].src=de.text):this.tokens.links[ue.tag]||(this.tokens.links[ue.tag]={href:ue.href,title:ue.title});continue}if(ue=this.tokenizer.table(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(ue=this.tokenizer.lheading(ie)){ie=ie.substring(ue.raw.length),ae.push(ue);continue}if(pe=ie,this.options.extensions&&this.options.extensions.startBlock){let _e=1/0;const Ce=ie.slice(1);let Ne;this.options.extensions.startBlock.forEach(Oe=>{Ne=Oe.call({lexer:this},Ce),typeof Ne=="number"&&Ne>=0&&(_e=Math.min(_e,Ne))}),_e<1/0&&_e>=0&&(pe=ie.substring(0,_e+1))}if(this.state.top&&(ue=this.tokenizer.paragraph(pe))){de=ae[ae.length-1],oe&&(de==null?void 0:de.type)==="paragraph"?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=de.text):ae.push(ue),oe=pe.length!==ie.length,ie=ie.substring(ue.raw.length);continue}if(ue=this.tokenizer.text(ie)){ie=ie.substring(ue.raw.length),de=ae[ae.length-1],de&&de.type==="text"?(de.raw+= `
` +ue.raw,de.text+= `
` +ue.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=de.text):ae.push(ue);continue}if(ie){const _e="Infinite loop on byte: "+ie.charCodeAt(0);if(this.options.silent){console.error(_e);break}else throw new Error(_e)}}return this.state.top=!0,ae}inline(ie,ae=[]){return this.inlineQueue.push({src:ie,tokens:ae}),ae}inlineTokens(ie,ae=[]){let oe,ue,de,pe=ie,_e,Ce,Ne;if(this.tokens.links){const Oe=Object.keys(this.tokens.links);if(Oe.length>0)for(;(_e=this.tokenizer.rules.inline.reflinkSearch.exec(pe))!=null;)Oe.includes(_e[0].slice(_e[0].lastIndexOf("[")+1,-1))&&(pe=pe.slice(0,_e.index)+"["+"a".repeat(_e[0].length-2)+"]"+pe.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(_e=this.tokenizer.rules.inline.blockSkip.exec(pe))!=null;)pe=pe.slice(0,_e.index)+"["+"a".repeat(_e[0].length-2)+"]"+pe.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(_e=this.tokenizer.rules.inline.anyPunctuation.exec(pe))!=null;)pe=pe.slice(0,_e.index)+"++"+pe.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;ie;)if(Ce||(Ne=""),Ce=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(Oe=>(oe=Oe.call({lexer:this},ie,ae))?(ie=ie.substring(oe.raw.length),ae.push(oe),!0):!1))){if(oe=this.tokenizer.escape(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.tag(ie)){ie=ie.substring(oe.raw.length),ue=ae[ae.length-1],ue&&oe.type==="text"&&ue.type==="text"?(ue.raw+=oe.raw,ue.text+=oe.text):ae.push(oe);continue}if(oe=this.tokenizer.link(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.reflink(ie,this.tokens.links)){ie=ie.substring(oe.raw.length),ue=ae[ae.length-1],ue&&oe.type==="text"&&ue.type==="text"?(ue.raw+=oe.raw,ue.text+=oe.text):ae.push(oe);continue}if(oe=this.tokenizer.emStrong(ie,pe,Ne)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.codespan(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.br(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.del(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(oe=this.tokenizer.autolink(ie)){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(!this.state.inLink&&(oe=this.tokenizer.url(ie))){ie=ie.substring(oe.raw.length),ae.push(oe);continue}if(de=ie,this.options.extensions&&this.options.extensions.startInline){let Oe=1/0;const Ie=ie.slice(1);let Fe;this.options.extensions.startInline.forEach(Ue=>{Fe=Ue.call({lexer:this},Ie),typeof Fe=="number"&&Fe>=0&&(Oe=Math.min(Oe,Fe))}),Oe<1/0&&Oe>=0&&(de=ie.substring(0,Oe+1))}if(oe=this.tokenizer.inlineText(de)){ie=ie.substring(oe.raw.length),oe.raw.slice(-1)!=="_"&&(Ne=oe.raw.slice(-1)),Ce=!0,ue=ae[ae.length-1],ue&&ue.type==="text"?(ue.raw+=oe.raw,ue.text+=oe.text):ae.push(oe);continue}if(ie){const Oe="Infinite loop on byte: "+ie.charCodeAt(0);if(this.options.silent){console.error(Oe);break}else throw new Error(Oe)}}return ae}}class _Renderer{constructor(ie){Hu(this,"options");Hu(this,"parser");this.options=ie||_defaults}space(ie){return""}code({text:ie,lang:ae,escaped:oe}){var pe;const ue=(pe=(ae||"").match(/^ \S */))==null?void 0:pe[0],de=ie.replace(/ \n $ /,"")+ `
` ;return ue?'<pre><code class="language-'+escape $ 1 $ 1(ue)+'">'+(oe?de:escape $ 1 $ 1(de,!0))+ ` < / c o d e > < / p r e >
` :"<pre><code>"+(oe?de:escape $ 1 $ 1(de,!0))+ ` < / c o d e > < / p r e >
` }blockquote({tokens:ie}){return ` < blockquote >
$ { this . parser . parse ( ie ) } < / b l o c k q u o t e >
` }html({text:ie}){return ie}heading({tokens:ie,depth:ae}){return ` < h$ { ae } > $ { this . parser . parseInline ( ie ) } < / h $ { a e } >
` }hr(ie){return ` < hr >
` }list(ie){const ae=ie.ordered,oe=ie.start;let ue="";for(let _e=0;_e<ie.items.length;_e++){const Ce=ie.items[_e];ue+=this.listitem(Ce)}const de=ae?"ol":"ul",pe=ae&&oe!==1?' start="'+oe+'"':"";return"<"+de+pe+ ` >
` +ue+"</"+de+ ` >
` }listitem(ie){let ae="";if(ie.task){const oe=this.checkbox({checked:!!ie.checked});ie.loose?ie.tokens.length>0&&ie.tokens[0].type==="paragraph"?(ie.tokens[0].text=oe+" "+ie.tokens[0].text,ie.tokens[0].tokens&&ie.tokens[0].tokens.length>0&&ie.tokens[0].tokens[0].type==="text"&&(ie.tokens[0].tokens[0].text=oe+" "+ie.tokens[0].tokens[0].text)):ie.tokens.unshift({type:"text",raw:oe+" ",text:oe+" "}):ae+=oe+" "}return ae+=this.parser.parse(ie.tokens,!!ie.loose), ` < li > $ { ae } < / l i >
` }checkbox({checked:ie}){return"<input "+(ie?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:ie}){return ` < p > $ { this . parser . parseInline ( ie ) } < / p >
` }table(ie){let ae="",oe="";for(let de=0;de<ie.header.length;de++)oe+=this.tablecell(ie.header[de]);ae+=this.tablerow({text:oe});let ue="";for(let de=0;de<ie.rows.length;de++){const pe=ie.rows[de];oe="";for(let _e=0;_e<pe.length;_e++)oe+=this.tablecell(pe[_e]);ue+=this.tablerow({text:oe})}return ue&&(ue= ` < tbody > $ { ue } < / t b o d y > ` ) , ` < t a b l e >
< thead >
` +ae+ ` < / t h e a d >
` +ue+ ` < / t a b l e >
` }tablerow({text:ie}){return ` < tr >
$ { ie } < / t r >
` }tablecell(ie){const ae=this.parser.parseInline(ie.tokens),oe=ie.header?"th":"td";return(ie.align? ` < $ { oe } align = "${ie.align}" > ` : ` < $ { oe } > ` )+ae+ ` < / $ { o e } >
` }strong({tokens:ie}){return ` < strong > $ { this . parser . parseInline ( ie ) } < / s t r o n g > ` } e m ( { t o k e n s : i e } ) { r e t u r n ` < e m > $ { t h i s . p a r s e r . p a r s e I n l i n e ( i e ) } < / e m > ` } c o d e s p a n ( { t e x t : i e } ) { r e t u r n ` < c o d e > $ { i e } < / c o d e > ` } b r ( i e ) { r e t u r n " < b r > " } d e l ( { t o k e n s : i e } ) { r e t u r n ` < d e l > $ { t h i s . p a r s e r . p a r s e I n l i n e ( i e ) } < / d e l > ` } l i n k ( { h r e f : i e , t i t l e : a e , t o k e n s : o e } ) { c o n s t u e = t h i s . p a r s e r . p a r s e I n l i n e ( o e ) , d e = c l e a n U r l ( i e ) ; i f ( d e = = = n u l l ) r e t u r n u e ; i e = d e ; l e t p e = ' < a h r e f = " ' + i e + ' " ' ; r e t u r n a e & & ( p e + = ' t i t l e = " ' + a e + ' " ' ) , p e + = " > " + u e + " < / a > " , p e } i m a g e ( { h r e f : i e , t i t l e : a e , t e x t : o e } ) { c o n s t u e = c l e a n U r l ( i e ) ; i f ( u e = = = n u l l ) r e t u r n o e ; i e = u e ; l e t d e = ` < i m g s r c = " $ { i e } " a l t = " $ { o e } " ` ; r e t u r n a e & & ( d e + = ` t i t l e = " $ { a e } " ` ) , d e + = " > " , d e } t e x t ( i e ) { r e t u r n " t o k e n s " i n i e & & i e . t o k e n s ? t h i s . p a r s e r . p a r s e I n l i n e ( i e . t o k e n s ) : i e . t e x t } } c l a s s _ T e x t R e n d e r e r { s t r o n g ( { t e x t : i e } ) { r e t u r n i e } e m ( { t e x t : i e } ) { r e t u r n i e } c o d e s p a n ( { t e x t : i e } ) { r e t u r n i e } d e l ( { t e x t : i e } ) { r e t u r n i e } h t m l ( { t e x t : i e } ) { r e t u r n i e } t e x t ( { t e x t : i e } ) { r e t u r n i e } l i n k ( { t e x t : i e } ) { r e t u r n " " + i e } i m a g e ( { t e x t : i e } ) { r e t u r n " " + i e } b r ( ) { r e t u r n " " } } c l a s s _ P a r s e r { c o n s t r u c t o r ( i e ) { H u ( t h i s , " o p t i o n s " ) ; H u ( t h i s , " r e n d e r e r " ) ; H u ( t h i s , " t e x t R e n d e r e r " ) ; t h i s . o p t i o n s = i e | | _ d e f a u l t s , t h i s . o p t i o n s . r e n d e r e r = t h i s . o p t i o n s . r e n d e r e r | | n e w _ R e n d e r e r , t h i s . r e n d e r e r = t h i s . o p t i o n s . r e n d e r e r , t h i s . r e n d e r e r . o p t i o n s = t h i s . o p t i o n s , t h i s . r e n d e r e r . p a r s e r = t h i s , t h i s . t e x t R e n d e r e r = n e w _ T e x t R e n d e r e r } s t a t i c p a r s e ( i e , a e ) { r e t u r n n e w _ P a r s e r ( a e ) . p a r s e ( i e ) } s t a t i c p a r s e I n l i n e ( i e , a e ) { r e t u r n n e w _ P a r s e r ( a e ) . p a r s e I n l i n e ( i e ) } p a r s e ( i e , a e = ! 0 ) { l e t o e = " " ; f o r ( l e t u e = 0 ; u e < i e . l e n g t h ; u e + + ) { c o n s t d e = i e [ u e ] ; i f ( t h i s . o p t i o n s . e x t e n s i o n s & & t h i s . o p t i o n s . e x t e n s i o n s . r e n d e r e r s & & t h i s . o p t i o n s . e x t e n s i o n s . r e n d e r e r s [ d e . t y p e ] ) { c o n s t _ e = d e , C e = t h i s . o p t i o n s . e x t e n s i o n s . r e n d e r e r s [ _ e . t y p e ] . c a l l ( { p a r s e r : t h i s } , _ e ) ; i f ( C e ! = = ! 1 | | ! [ " s p a c e " , " h r " , " h e a d i n g " , " c o d e " , " t a b l e " , " b l o c k q u o t e " , " l i s t " , " h t m l " , " p a r a g r a p h " , " t e x t " ] . i n c l u d e s ( _ e . t y p e ) ) { o e + = C e | | " " ; c o n t i n u e } } c o n s t p e = d e ; s w i t c h ( p e . t y p e ) { c a s e " s p a c e " : { o e + = t h i s . r e n d e r e r . s p a c e ( p e ) ; c o n t i n u e } c a s e " h r " : { o e + = t h i s . r e n d e r e r . h r ( p e ) ; c o n t i n u e } c a s e " h e a d i n g " : { o e + = t h i s . r e n d e r e r . h e a d i n g ( p e ) ; c o n t i n u e } c a s e " c o d e " : { o e + = t h i s . r e n d e r e r . c o d e ( p e ) ; c o n t i n u e } c a s e " t a b l e " : { o e + = t h i s . r e n d e r e r . t a b l e ( p e ) ; c o n t i n u e } c a s e " b l o c k q u o t e " : { o e + = t h i s . r e n d e r e r . b l o c k q u o t e ( p e ) ; c o n t i n u e } c a s e " l i s t " : { o e + = t h i s . r e n d e r e r . l i s t ( p e ) ; c o n t i n u e } c a s e " h t m l " : { o e + = t h i s . r e n d e r e r . h t m l ( p e ) ; c o n t i n u e } c a s e " p a r a g r a p h " : { o e + = t h i s . r e n d e r e r . p a r a g r a p h ( p e ) ; c o n t i n u e } c a s e " t e x t " : { l e t _ e = p e , C e = t h i s . r e n d e r e r . t e x t ( _ e ) ; f o r ( ; u e + 1 < i e . l e n g t h & & i e [ u e + 1 ] . t y p e = = = " t e x t " ; ) _ e = i e [ + + u e ] , C e + = `
` +this.renderer.text(_e);ae?oe+=this.renderer.paragraph({type:"paragraph",raw:Ce,text:Ce,tokens:[{type:"text",raw:Ce,text:Ce}]}):oe+=Ce;continue}default:{const _e='Token with "'+pe.type+'" type was not found.';if(this.options.silent)return console.error(_e),"";throw new Error(_e)}}}return oe}parseInline(ie,ae){ae=ae||this.renderer;let oe="";for(let ue=0;ue<ie.length;ue++){const de=ie[ue];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[de.type]){const _e=this.options.extensions.renderers[de.type].call({parser:this},de);if(_e!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(de.type)){oe+=_e||"";continue}}const pe=de;switch(pe.type){case"escape":{oe+=ae.text(pe);break}case"html":{oe+=ae.html(pe);break}case"link":{oe+=ae.link(pe);break}case"image":{oe+=ae.image(pe);break}case"strong":{oe+=ae.strong(pe);break}case"em":{oe+=ae.em(pe);break}case"codespan":{oe+=ae.codespan(pe);break}case"br":{oe+=ae.br(pe);break}case"del":{oe+=ae.del(pe);break}case"text":{oe+=ae.text(pe);break}default:{const _e='Token with "'+pe.type+'" type was not found.';if(this.options.silent)return console.error(_e),"";throw new Error(_e)}}}return oe}}class _Hooks{constructor(ie){Hu(this,"options");this.options=ie||_defaults}preprocess(ie){return ie}postprocess(ie){return ie}processAllTokens(ie){return ie}}Hu(_Hooks,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var y0,n1,Eg,i1;class Marked{constructor(...ie){t1(this,y0);Hu(this,"defaults",_getDefaults());Hu(this,"options",this.setOptions);Hu(this,"parse",H0(this,y0,Eg).call(this,_Lexer.lex,_Parser.parse));Hu(this,"parseInline",H0(this,y0,Eg).call(this,_Lexer.lexInline,_Parser.parseInline));Hu(this,"Parser",_Parser);Hu(this,"Renderer",_Renderer);Hu(this,"TextRenderer",_TextRenderer);Hu(this,"Lexer",_Lexer);Hu(this,"Tokenizer",_Tokenizer);Hu(this,"Hooks",_Hooks);this.use(...ie)}walkTokens(ie,ae){var ue,de;let oe=[];for(const pe of ie)switch(oe=oe.concat(ae.call(this,pe)),pe.type){case"table":{const _e=pe;for(const Ce of _e.header)oe=oe.concat(this.walkTokens(Ce.tokens,ae));for(const Ce of _e.rows)for(const Ne of Ce)oe=oe.concat(this.walkTokens(Ne.tokens,ae));break}case"list":{const _e=pe;oe=oe.concat(this.walkTokens(_e.items,ae));break}default:{const _e=pe;(de=(ue=this.defaults.extensions)==null?void 0:ue.childTokens)!=null&&de[_e.type]?this.defaults.extensions.childTokens[_e.type].forEach(Ce=>{const Ne=_e[Ce].flat(1/0);oe=oe.concat(this.walkTokens(Ne,ae))}):_e.tokens&&(oe=oe.concat(this.walkTokens(_e.tokens,ae)))}}return oe}use(...ie){const ae=this.defaults.extensions||{renderers:{},childTokens:{}};return ie.forEach(oe=>{const ue={...oe};if(ue.async=this.defaults.async||ue.async||!1,oe.extensions&&(oe.extensions.forEach(de=>{if(!de.name)throw new Error("extension name required");if("renderer"in de){const pe=ae.renderers[de.name];pe?ae.renderers[de.name]=function(..._e){let Ce=de.renderer.apply(this,_e);return Ce===!1&&(Ce=pe.apply(this,_e)),Ce}:ae.renderers[de.name]=de.renderer}if("tokenizer"in de){if(!de.level||de.level!=="block"&&de.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const pe=ae[de.level];pe?pe.unshift(de.tokenizer):ae[de.level]=[de.tokenizer],de.start&&(de.level==="block"?ae.startBlock?ae.startBlock.push(de.start):ae.startBlock=[de.start]:de.level==="inline"&&(ae.startInline?ae.startInline.push(de.start):ae.startInline=[de.start]))}"childTokens"in de&&de.childTokens&&(ae.childTokens[de.name]=de.childTokens)}),ue.extensions=ae),oe.renderer){const de=this.defaults.renderer||new _Renderer(this.defaults);for(const pe in oe.renderer){if(!(pe in de))throw new Error( ` renderer '${pe}' does not exist ` );if(["options","parser"].includes(pe))continue;const _e=pe;let Ce=oe.renderer[_e];oe.useNewRenderer||(Ce=H0(this,y0,n1).call(this,Ce,_e,de));const Ne=de[_e];de[_e]=(...Oe)=>{let Ie=Ce.apply(de,Oe);return Ie===!1&&(Ie=Ne.apply(de,Oe)),Ie||""}}ue.renderer=de}if(oe.tokenizer){const de=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(const pe in
Please report this to https : //github.com/markedjs/marked.`,ie){const ue="<p>An error occurred:</p><pre>"+escape$1$1(oe.message+"",!0)+"</pre>";return ae?Promise.resolve(ue):ue}if(ae)return Promise.reject(oe);throw oe}};const markedInstance=new Marked;function marked(re,ie){return markedInstance.parse(re,ie)}marked.options=marked.setOptions=function(re){return markedInstance.setOptions(re),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.getDefaults=_getDefaults;marked.defaults=_defaults;marked.use=function(...re){return markedInstance.use(...re),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.walkTokens=function(re,ie){return markedInstance.walkTokens(re,ie)};marked.parseInline=markedInstance.parseInline;marked.Parser=_Parser;marked.parser=_Parser.parse;marked.Renderer=_Renderer;marked.TextRenderer=_TextRenderer;marked.Lexer=_Lexer;marked.lexer=_Lexer.lex;marked.Tokenizer=_Tokenizer;marked.Hooks=_Hooks;marked.parse=marked;marked.options;marked.setOptions;marked.use;marked.walkTokens;marked.parseInline;_Parser.parse;_Lexer.lex;function dedent(re){for(var ie=[],ae=1;ae<arguments.length;ae++)ie[ae-1]=arguments[ae];var oe=Array.from(typeof re=="string"?[re]:re);oe[oe.length-1]=oe[oe.length-1].replace(/\r?\n([\t ]*)$/,"");var ue=oe.reduce(function(_e,Ce){var Ne=Ce.match(/\n([\t ]+|(?!\s).)/g);return Ne?_e.concat(Ne.map(function(Oe){var Ie,Fe;return(Fe=(Ie=Oe.match(/[\t ]/g))===null||Ie===void 0?void 0:Ie.length)!==null&&Fe!==void 0?Fe:0})):_e},[]);if(ue.length){var de=new RegExp(`
[ ] { ` +Math.min.apply(Math,ue)+"}","g");oe=oe.map(function(_e){return _e.replace(de, `
` )})}oe[0]=oe[0].replace(/^ \r ? \n /,"");var pe=oe[0];return ie.forEach(function(_e,Ce){var Ne=pe.match(/(?:^| \n )( *) $ /),Oe=Ne?Ne[1]:"",Ie=_e;typeof _e=="string"&&_e.includes( `
` )&&(Ie=String(_e).split( `
` ).map(function(Fe,Ue){return Ue===0?Fe:""+Oe+Fe}).join( `
` )),pe+=Ie+oe[Ce+1]}),pe}function preprocessMarkdown(re,{markdownAutoWrap:ie}){const oe=re.replace(/<br \/ >/g, `
` ).replace(/ \n {2,}/g, `
` ),ue=dedent(oe);return ie===!1?ue.replace(/ /g," "):ue}__name(preprocessMarkdown,"preprocessMarkdown");function markdownToLines(re,ie={}){const ae=preprocessMarkdown(re,ie),oe=marked.lexer(ae),ue=[[]];let de=0;function pe(_e,Ce="normal"){_e.type==="text"?_e.text.split( `
` ).forEach((Oe,Ie)=>{Ie!==0&&(de++,ue.push([])),Oe.split(" ").forEach(Fe=>{Fe&&ue[de].push({content:Fe,type:Ce})})}):_e.type==="strong"||_e.type==="em"?_e.tokens.forEach(Ne=>{pe(Ne,_e.type)}):_e.type==="html"&&ue[de].push({content:_e.text,type:"normal"})}return __name(pe,"processNode"),oe.forEach(_e=>{var Ce;_e.type==="paragraph"?(Ce=_e.tokens)==null||Ce.forEach(Ne=>{pe(Ne)}):_e.type==="html"&&ue[de].push({content:_e.text,type:"normal"})}),ue}__name(markdownToLines,"markdownToLines");function markdownToHTML(re,{markdownAutoWrap:ie}={}){const ae=marked.lexer(re);function oe(ue){var de,pe,_e;return ue.type==="text"?ie===!1?ue.text.replace(/ \n */g,"<br/>").replace(/ /g," "):ue.text.replace(/ \n */g,"<br/>"):ue.type==="strong"? ` < strong > $ { ( de = ue . tokens ) == null ? void 0 : de . map ( oe ) . join ( "" ) } < / s t r o n g > ` : u e . t y p e = = = " e m " ? ` < e m > $ { ( p e = u e . t o k e n s ) = = n u l l ? v o i d 0 : p e . m a p ( o e ) . j o i n ( " " ) } < / e m > ` : u e . t y p e = = = " p a r a g r a p h " ? ` < p > $ { ( _ e = u e . t o k e n s ) = = n u l l ? v o i d 0 : _ e . m a p ( o e ) . j o i n ( " " ) } < / p > ` : u e . t y p e = = = " s p a c e " ? " " : u e . t y p e = = = " h t m l " ? ` $ { u e . t e x t } ` : ` U n s u p p o r t e d m a r k d o w n : $ { u e . t y p e } ` } r e t u r n _ _ n a m e ( o e , " o u t p u t " ) , a e . m a p ( o e ) . j o i n ( " " ) } _ _ n a m e ( m a r k d o w n T o H T M L , " m a r k d o w n T o H T M L " ) ; f u n c t i o n s p l i t T e x t T o C h a r s ( r e ) { r e t u r n I n t l . S e g m e n t e r ? [ . . . n e w I n t l . S e g m e n t e r ( ) . s e g m e n t ( r e ) ] . m a p ( i e = > i e . s e g m e n t ) : [ . . . r e ] } _ _ n a m e ( s p l i t T e x t T o C h a r s , " s p l i t T e x t T o C h a r s " ) ; f u n c t i o n s p l i t W o r d T o F i t W i d t h ( r e , i e ) { c o n s t a e = s p l i t T e x t T o C h a r s ( i e . c o n t e n t ) ; r e t u r n s p l i t W o r d T o F i t W i d t h R e c u r s i o n ( r e , [ ] , a e , i e . t y p e ) } _ _ n a m e ( s p l i t W o r d T o F i t W i d t h , " s p l i t W o r d T o F i t W i d t h " ) ; f u n c t i o n s p l i t W o r d T o F i t W i d t h R e c u r s i o n ( r e , i e , a e , o e ) { i f ( a e . l e n g t h = = = 0 ) r e t u r n [ { c o n t e n t : i e . j o i n ( " " ) , t y p e : o e } , { c o n t e n t : " " , t y p e : o e } ] ; c o n s t [ u e , . . . d e ] = a e , p e = [ . . . i e , u e ] ; r e t u r n r e ( [ { c o n t e n t : p e . j o i n ( " " ) , t y p e : o e } ] ) ? s p l i t W o r d T o F i t W i d t h R e c u r s i o n ( r e , p e , d e , o e ) : ( i e . l e n g t h = = = 0 & & u e & & ( i e . p u s h ( u e ) , a e . s h i f t ( ) ) , [ { c o n t e n t : i e . j o i n ( " " ) , t y p e : o e } , { c o n t e n t : a e . j o i n ( " " ) , t y p e : o e } ] ) } _ _ n a m e ( s p l i t W o r d T o F i t W i d t h R e c u r s i o n , " s p l i t W o r d T o F i t W i d t h R e c u r s i o n " ) ; f u n c t i o n s p l i t L i n e T o F i t W i d t h ( r e , i e ) { i f ( r e . s o m e ( ( { c o n t e n t : a e } ) = > a e . i n c l u d e s ( `
` )))throw new Error("splitLineToFitWidth does not support newlines in the line");return splitLineToFitWidthRecursion(re,ie)}__name(splitLineToFitWidth,"splitLineToFitWidth");function splitLineToFitWidthRecursion(re,ie,ae=[],oe=[]){if(re.length===0)return oe.length>0&&ae.push(oe),ae.length>0?ae:[];let ue="";re[0].content===" "&&(ue=" ",re.shift());const de=re.shift()??{content:" ",type:"normal"},pe=[...oe];if(ue!==""&&pe.push({content:ue,type:"normal"}),pe.push(de),ie(pe))return splitLineToFitWidthRecursion(re,ie,ae,pe);if(oe.length>0)ae.push(oe),re.unshift(de);else if(de.content){const[_e,Ce]=splitWordToFitWidth(ie,de);ae.push([_e]),Ce.content&&re.unshift(Ce)}return splitLineToFitWidthRecursion(re,ie,ae)}__name(splitLineToFitWidthRecursion,"splitLineToFitWidthRecursion");function applyStyle $ 1(re,ie){ie&&re.attr("style",ie)}__name(applyStyle $ 1,"applyStyle");async function addHtmlSpan(re,ie,ae,oe,ue=!1){const de=re.append("foreignObject"),pe=de.append("xhtml:div");let _e=ie.label;ie.label&&hasKatex(ie.label)&&(_e=await renderKatex(ie.label.replace(common_default.lineBreakRegex, `
` ),getConfig2()));const Ce=ie.isNode?"nodeLabel":"edgeLabel",Ne=pe.append("span");Ne.html(_e),applyStyle $ 1(Ne,ie.labelStyle),Ne.attr("class", ` $ { Ce } $ { oe } ` ),applyStyle $ 1(pe,ie.labelStyle),pe.style("display","table-cell"),pe.style("white-space","nowrap"),pe.style("line-height","1.5"),pe.style("max-width",ae+"px"),pe.style("text-align","center"),pe.attr("xmlns","http://www.w3.org/1999/xhtml"),ue&&pe.attr("class","labelBkg");let Oe=pe.node().getBoundingClientRect();return Oe.width===ae&&(pe.style("display","table"),pe.style("white-space","break-spaces"),pe.style("width",ae+"px"),Oe=pe.node().getBoundingClientRect()),de.node()}__name(addHtmlSpan,"addHtmlSpan");function createTspan(re,ie,ae){return re.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",ie*ae-.1+"em").attr("dy",ae+"em")}__name(createTspan,"createTspan");function computeWidthOfText(re,ie,ae){const oe=re.append("text"),ue=createTspan(oe,1,ie);updateTextContentAndStyles(ue,ae);const de=ue.node().getComputedTextLength();return oe.remove(),de}__name(computeWidthOfText,"computeWidthOfText");function computeDimensionOfText(re,ie,ae){var pe;const oe=re.append("text"),ue=createTspan(oe,1,ie);updateTextContentAndStyles(ue,[{content:ae,type:"normal"}]);const de=(pe=ue.node())==null?void 0:pe.getBoundingClientRect();return de&&oe.remove(),de}__name(computeDimensionOfText,"computeDimensionOfText");function createFormattedText(re,ie,ae,oe=!1){const de=ie.append("g"),pe=de.insert("rect").attr("class","background").attr("style","stroke: none"),_e=de.append("text").attr("y","-10.1");let Ce=0;for(const Ne of ae){const Oe=__name(Fe=>computeWidthOfText(de,1.1,Fe)<=re,"checkWidth"),Ie=Oe(Ne)?[Ne]:splitLineToFitWidth(Ne,Oe);for(const Fe of Ie){const Ue=createTspan(_e,Ce,1.1);updateTextContentAndStyles(Ue,Fe),Ce++}}if(oe){const Ne=_e.node().getBBox(),Oe=2;return pe.attr("x",-Oe).attr("y",-Oe).attr("width",Ne.width+2*Oe).attr("height",Ne.height+2*Oe),de.node()}else return _e.node()}__name(createFormattedText,"createFormattedText");function updateTextContentAndStyles(re,ie){re.text(""),ie.forEach((ae,oe)=>{const ue=re.append("tspan").attr("font-style",ae.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",ae.type==="strong"?"bold":"normal");oe===0?ue.text(ae.content):ue.text(" "+ae.content)})}__name(updateTextContentAndStyles,"updateTextContentAndStyles");function replaceIconSubstring(re){return re.replace(/fa[bklrs]?:fa-[ \w -]+/g,ie=> ` < i class = '${ie.replace(":"," ")}' > < /i>`)}__name(replaceIconSubstring,"replaceIconSubstring");var createText=__name(async(re,ie="",{style:ae="",isTitle:oe=!1,classes:ue="",useHtmlLabels:de=!0,isNode:pe=!0,width:_e=200,addSvgBackground:Ce=!1}={},Ne)=>{if(log$1.info("XYZ createText",ie,ae,oe,ue,de,pe,"addSvgBackground: ",Ce),de){const Oe=markdownToHTML(ie,Ne),Ie=replaceIconSubstring(decodeEntities(Oe)),Fe=ie.replace(/ \ \ \ \ / g , "\\" ) , Ue = { isNode : pe , label : hasKatex ( ie ) ? Fe : Ie , labelStyle : ae . replace ( "fill:" , "color:" ) } ; return await addHtmlSpan ( re , Ue , _e , ue , Ce ) } else { const Oe = ie . replace ( /<br\s*\/?>/g , "<br/>" ) , Ie = markdownToLines ( Oe . replace ( "<br>" , "<br/>" ) , Ne ) , Fe = createFormattedText ( _e , re , Ie , ie ? Ce : ! 1 ) ; if ( pe ) { /stroke:/ . exec ( ae ) && ( ae = ae . replace ( "stroke:" , "lineColor:" ) ) ; const Ue = ae . replace ( /stroke:[^;]+;?/g , "" ) . replace ( /stroke-width:[^;]+;?/g , "" ) . replace ( /fill:[^;]+;?/g , "" ) . replace ( /color:/g , "fill:" ) ; d3select ( Fe ) . attr ( "style" , Ue ) } else { const Ue = ae . replace ( /stroke:[^;]+;?/g , "" ) . replace ( /stroke-width:[^;]+;?/g , "" ) . replace ( /fill:[^;]+;?/g , "" ) . replace ( /background:/g , "fill:" ) ; d3select ( Fe ) . select ( "rect" ) . attr ( "style" , Ue . replace ( /background:/g , "fill:" ) ) ; const Ve = ae . replace ( /stroke:[^;]+;?/g , "" ) . replace ( /stroke-width:[^;]+;?/g , "" ) . replace ( /fill:[^;]+;?/g , "" ) . replace ( /color:/g , "fill:" ) ; d3select ( Fe ) . select ( "text" ) . attr ( "style" , Ve ) } return Fe } } , "createText" ) ; function t ( re , ie , ae ) { if ( re && re . length ) { const [ oe , ue ] = ie , de = Math . PI / 180 * ae , pe = Math . cos ( de ) , _e = Math . sin ( de ) ; for ( const Ce of re ) { const [ Ne , Oe ] = Ce ; Ce [ 0 ] = ( Ne - oe ) * pe - ( Oe - ue ) * _e + oe , Ce [ 1 ] = ( Ne - oe ) * _e + ( Oe - ue ) * pe + ue } } } function e ( re , ie ) { return re [ 0 ] === ie [ 0 ] && re [ 1 ] === ie [ 1 ] } function s ( re , ie , ae , oe = 1 ) { co
` ),getConfig2()));const ue=re.isNode?"nodeLabel":"edgeLabel";return ae.html('<span class="'+ue+'" '+(re.labelStyle?'style="'+re.labelStyle+'"':"")+">"+oe+"</span>"),applyStyle(ae,re.labelStyle),ae.style("display","inline-block"),ae.style("padding-right","1px"),ae.style("white-space","nowrap"),ae.attr("xmlns","http://www.w3.org/1999/xhtml"),ie.node()}__name(addHtmlLabel,"addHtmlLabel");var createLabel=__name(async(re,ie,ae,oe)=>{let ue=re||"";if(typeof ue=="object"&&(ue=ue[0]),evaluate(getConfig2().flowchart.htmlLabels)){ue=ue.replace(/ \\ n| \n /g,"<br />"),log $ 1.info("vertexText"+ue);const de={isNode:oe,label:decodeEntities(ue).replace(/fa[blrs]?:fa-[ \w -]+/g,_e=> ` < i class = '${_e.replace(":"," ")}' > < /i>`),labelStyle:ie&&ie.replace("fill:","color:")};return await addHtmlLabel(de)}else{const de=document.createElementNS("http:/ / www . w3 . org / 2000 / svg "," text ");de.setAttribute(" style ",ie.replace(" color : "," fill : "));let pe=[];typeof ue==" string "?pe=ue.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(ue)?pe=ue:pe=[];for(const _e of pe){const Ce=document.createElementNS(" http : //www.w3.org/2000/svg","tspan");Ce.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),Ce.setAttribute("dy","1em"),Ce.setAttribute("x","0"),ae?Ce.setAttribute("class","title-row"):Ce.setAttribute("class","row"),Ce.textContent=_e.trim(),de.appendChild(Ce)}return de}},"createLabel"),createLabel_default=createLabel,createRoundedRectPathD=__name((re,ie,ae,oe,ue)=>["M",re+ue,ie,"H",re+ae-ue,"A",ue,ue,0,0,1,re+ae,ie+ue,"V",ie+oe-ue,"A",ue,ue,0,0,1,re+ae-ue,ie+oe,"H",re+ue,"A",ue,ue,0,0,1,re,ie+oe-ue,"V",ie+ue,"A",ue,ue,0,0,1,re+ue,ie,"Z"].join(" "),"createRoundedRectPathD"),solidStateFill=__name(re=>{const{handDrawnSeed:ie}=getConfig2();return{fill:re,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:re,seed:ie}},"solidStateFill"),compileStyles=__name(re=>{const ie=styles2Map([...re.cssCompiledStyles||[],...re.cssStyles||[]]);return{stylesMap:ie,stylesArray:[...ie]}},"compileStyles"),styles2Map=__name(re=>{const ie=new Map;return re.forEach(ae=>{const[oe,ue]=ae.split(":");ie.set(oe.trim(),ue==null?void 0:ue.trim())}),ie},"styles2Map"),styles2String=__name(re=>{const{stylesArray:ie}=compileStyles(re),ae=[],oe=[],ue=[],de=[];return ie.forEach(pe=>{const _e=pe[0];_e==="color"||_e==="font-size"||_e==="font-family"||_e==="font-weight"||_e==="font-style"||_e==="text-decoration"||_e==="text-align"||_e==="text-transform"||_e==="line-height"||_e==="letter-spacing"||_e==="word-spacing"||_e==="text-shadow"||_e==="text-overflow"||_e==="white-space"||_e==="word-wrap"||_e==="word-break"||_e==="overflow-wrap"||_e==="hyphens"?ae.push(pe.join(":")+" !important"):(oe.push(pe.join(":")+" !important"),_e.includes("stroke")&&ue.push(pe.join(":")+" !important"),_e==="fill"&&de.push(pe.join(":")+" !important"))}),{labelStyles:ae.join(";"),nodeStyles:oe.join(";"),stylesArray:ie,borderStyles:ue,backgroundStyles:de}},"styles2String"),userNodeOverrides=__name((re,ie)=>{const{themeVariables:ae,handDrawnSeed:oe}=getConfig2(),{nodeBorder:ue,mainBkg:de}=ae,{stylesMap:pe}=compileStyles(re);return Object.assign({roughness:.7,fill:pe.get("fill")||de,fillStyle:"hachure",fillWeight:4,stroke:pe.get("stroke")||ue,seed:oe,strokeWidth:1.3},ie)},"userNodeOverrides"),rect$2=__name(async(re,ie)=>{log$1.info("Creating subgraph rect for ",ie.id,ie);const ae=getConfig2(),{themeVariables:oe,handDrawnSeed:ue}=ae,{clusterBkg:de,clusterBorder:pe}=oe,{labelStyles:_e,nodeStyles:Ce,borderStyles:Ne,backgroundStyles:Oe}=styles2String(ie),Ie=re.insert("g").attr("class","cluster "+ie.cssClasses).attr("id",ie.id).attr("data-look",ie.look),Fe=evaluate(ae.flowchart.htmlLabels),Ue=Ie.insert("g").attr("class","cluster-label "),Ve=await createText(Ue,ie.label,{style:ie.labelStyle,useHtmlLabels:Fe,isNode:!0});let ze=Ve.getBBox();if(evaluate(ae.flowchart.htmlLabels)){const lr=Ve.children[0],cr=d3select(Ve);ze=lr.getBoundingClientRect(),cr.attr("width",ze.width),cr.attr("height",ze.height)}const jt=ie.width<=ze.width+ie.padding?ze.width+ie.padding:ie.width;ie.width<=ze.width+ie.padding?ie.diff=(jt-ie.wi
outsidePoint : $ { JSON . stringify ( ie ) }
insidePoint : $ { JSON . stringify ( ae ) }
node : x : $ { re . x } y : $ { re . y } w : $ { re . width } h : $ { re . height } ` );const oe=re.x,ue=re.y,de=Math.abs(oe-ae.x),pe=re.width/2;let _e=ae.x<ie.x?pe-de:pe+de;const Ce=re.height/2,Ne=Math.abs(ie.y-ae.y),Oe=Math.abs(ie.x-ae.x);if(Math.abs(ue-ie.y)*pe>Math.abs(oe-ie.x)*Ce){let Ie=ae.y<ie.y?ie.y-Ce-ue:ue-Ce-ie.y;_e=Oe*Ie/Ne;const Fe={x:ae.x<ie.x?ae.x+_e:ae.x-Oe+_e,y:ae.y<ie.y?ae.y+Ne-Ie:ae.y-Ne+Ie};return _e===0&&(Fe.x=ie.x,Fe.y=ie.y),Oe===0&&(Fe.x=ie.x),Ne===0&&(Fe.y=ie.y),log $ 1.debug( ` abc89 top / bottom calc , Q $ { Ne } , q $ { Ie } , R $ { Oe } , r $ { _e } ` ,Fe),Fe}else{ae.x<ie.x?_e=ie.x-pe-oe:_e=oe-pe-ie.x;let Ie=Ne*_e/Oe,Fe=ae.x<ie.x?ae.x+Oe-_e:ae.x-Oe+_e,Ue=ae.y<ie.y?ae.y+Ie:ae.y-Ie;return log $ 1.debug( ` sides calc abc89 , Q $ { Ne } , q $ { Ie } , R $ { Oe } , r $ { _e } ` ,{_x:Fe,_y:Ue}),_e===0&&(Fe=ie.x,Ue=ie.y),Oe===0&&(Fe=ie.x),Ne===0&&(Ue=ie.y),{x:Fe,y:Ue}}},"intersection"),cutPathAtIntersect=__name((re,ie)=>{log $ 1.warn("abc88 cutPathAtIntersect",re,ie);let ae=[],oe=re[0],ue=!1;return re.forEach(de=>{if(log $ 1.info("abc88 checking point",de,ie),!outsideNode(ie,de)&&!ue){const pe=intersection(ie,oe,de);log $ 1.debug("abc88 inside",de,oe,pe),log $ 1.debug("abc88 intersection",pe,ie);let _e=!1;ae.forEach(Ce=>{_e=_e||Ce.x===pe.x&&Ce.y===pe.y}),ae.some(Ce=>Ce.x===pe.x&&Ce.y===pe.y)?log $ 1.warn("abc88 no intersect",pe,ae):ae.push(pe),ue=!0}else log $ 1.warn("abc88 outside",de,oe),oe=de,ue||ae.push(de)}),log $ 1.debug("returning points",ae),ae},"cutPathAtIntersect");function extractCornerPoints(re){const ie=[],ae=[];for(let oe=1;oe<re.length-1;oe++){const ue=re[oe-1],de=re[oe],pe=re[oe+1];(ue.x===de.x&&de.y===pe.y&&Math.abs(de.x-pe.x)>5&&Math.abs(de.y-ue.y)>5||ue.y===de.y&&de.x===pe.x&&Math.abs(de.x-ue.x)>5&&Math.abs(de.y-pe.y)>5)&&(ie.push(de),ae.push(oe))}return{cornerPoints:ie,cornerPointPositions:ae}}__name(extractCornerPoints,"extractCornerPoints");var findAdjacentPoint=__name(function(re,ie,ae){const oe=ie.x-re.x,ue=ie.y-re.y,de=Math.sqrt(oe*oe+ue*ue),pe=ae/de;return{x:ie.x-pe*oe,y:ie.y-pe*ue}},"findAdjacentPoint"),fixCorners=__name(function(re){const{cornerPointPositions:ie}=extractCornerPoints(re),ae=[];for(let oe=0;oe<re.length;oe++)if(ie.includes(oe)){const ue=re[oe-1],de=re[oe+1],pe=re[oe],_e=findAdjacentPoint(ue,pe,5),Ce=findAdjacentPoint(de,pe,5),Ne=Ce.x-_e.x,Oe=Ce.y-_e.y;ae.push(_e);const Ie=Math.sqrt(2)*2;let Fe={x:pe.x,y:pe.y};if(Math.abs(de.x-ue.x)>10&&Math.abs(de.y-ue.y)>=10){log $ 1.debug("Corner point fixing",Math.abs(de.x-ue.x),Math.abs(de.y-ue.y));const Ue=5;pe.x===_e.x?Fe={x:Ne<0?_e.x-Ue+Ie:_e.x+Ue-Ie,y:Oe<0?_e.y-Ie:_e.y+Ie}:Fe={x:Ne<0?_e.x-Ie:_e.x+Ie,y:Oe<0?_e.y-Ue+Ie:_e.y+Ue-Ie}}else log $ 1.debug("Corner point skipping fixing",Math.abs(de.x-ue.x),Math.abs(de.y-ue.y));ae.push(Fe,Ce)}else ae.push(re[oe]);return ae},"fixCorners"),insertEdge=__name(function(re,ie,ae,oe,ue,de,pe){const{handDrawnSeed:_e}=getConfig2();let Ce=ie.points,Ne=!1;const Oe=ue;var Ie=de;Ie.intersect&&Oe.intersect&&(Ce=Ce.slice(1,ie.points.length-1),Ce.unshift(Oe.intersect(Ce[0])),log $ 1.debug("Last point APA12",ie.start,"-->",ie.end,Ce[Ce.length-1],Ie,Ie.intersect(Ce[Ce.length-1])),Ce.push(Ie.intersect(Ce[Ce.length-1]))),ie.toCluster&&(log $ 1.info("to cluster abc88",ae.get(ie.toCluster)),Ce=cutPathAtIntersect(ie.points,ae.get(ie.toCluster).node),Ne=!0),ie.fromCluster&&(log $ 1.debug("from cluster abc88",ae.get(ie.fromCluster),JSON.stringify(Ce,null,2)),Ce=cutPathAtIntersect(Ce.reverse(),ae.get(ie.fromCluster).node).reverse(),Ne=!0);let Fe=Ce.filter(cr=>!Number.isNaN(cr.y));Fe=fixCorners(Fe);let Ue=Fe[Fe.length-1];if(Fe.length>1){Ue=Fe[Fe.length-1];const cr=Fe[Fe.length-2],ir=(Ue.x-cr.x)/2,ar=(Ue.y-cr.y)/2,sr={x:cr.x+ir,y:cr.y+ar};Fe.splice(-1,0,sr)}let Ve=curveBasis;ie.curve&&(Ve=ie.curve);const{x:ze,y:jt}=getLineFunctionsWithOffset(ie),kt=line $ 1().x(ze).y(jt).curve(Ve);let Pt;switch(ie.thickness){case"normal":Pt="edge-thickness-normal";break;case"thick":Pt="edge-thickness-thick";break;case"invisible":Pt="edge-thickness-invisible";break;default:Pt="edge-thickness-normal"}switch(ie.pattern){case"solid":Pt+=" edge-pattern-solid";break;case"dotted":Pt+=" edge-pattern-dotted";break;case"
point : ` ,Fe, `
node :
` ,ie, `
2024-08-29 16:46:41 +08:00
res : ` ,intersect_default.polygon(ie,Ne,Fe)),intersect_default.polygon(ie,Ne,Fe)},ue},"question"),createHexagonPathD=__name((re,ie,ae,oe,ue)=>[ ` M$ { re + ue } , $ { ie } ` , ` L$ { re + ae - ue } , $ { ie } ` , ` L$ { re + ae } , $ { ie - oe / 2 } ` , ` L$ { re + ae - ue } , $ { ie - oe } ` , ` L$ { re + ue } , $ { ie - oe } ` , ` L$ { re } , $ { ie - oe / 2 } ` ,"Z"].join(" "),"createHexagonPathD"),hexagon=__name(async(re,ie)=>{const{labelStyles:ae,nodeStyles:oe}=styles2String(ie);ie.labelStyle=ae;const{shapeSvg:ue,bbox:de}=await labelHelper(re,ie,getNodeClasses(ie)),pe=4,_e=de.height+ie.padding,Ce=_e/pe,Ne=de.width+2*Ce+ie.padding,Oe=[{x:Ce,y:0},{x:Ne-Ce,y:0},{x:Ne,y:-_e/2},{x:Ne-Ce,y:-_e},{x:Ce,y:-_e},{x:0,y:-_e/2}];let Ie;const{cssStyles:Fe}=ie;if(ie.look==="handDrawn"){const Ue=at.svg(ue),Ve=userNodeOverrides(ie,{}),ze=createHexagonPathD(0,0,Ne,_e,Ce),jt=Ue.path(ze,Ve);Ie=ue.insert(()=>jt,":first-child").attr("transform", ` translate ( $ { - Ne / 2 } , $ { _e / 2 } ) ` ),Fe&&Ie.attr("style",Fe)}else Ie=insertPolygonShape(ue,Ne,_e,Oe);return oe&&Ie.attr("style",oe),ie.width=Ne,ie.height=_e,updateNodeBounds(ie,Ie),ie.intersect=function(Ue){return intersect_default.polygon(ie,Oe,Ue)},ue},"hexagon"),createLeanRightPathD=__name((re,ie,ae,oe)=>[ ` M$ { re - 2 * oe / 6 } , $ { ie } ` , ` L$ { re + ae - oe / 6 } , $ { ie } ` , ` L$ { re + ae + 2 * oe / 6 } , $ { ie - oe } ` , ` L$ { re + oe / 6 } , $ { ie - oe } ` ,"Z"].join(" "),"createLeanRightPathD"),lean_right=__name(async(re,ie)=>{const{labelStyles:ae,nodeStyles:oe}=styles2String(ie);ie.labelStyle=ae;const{shapeSvg:ue,bbox:de}=await labelHelper(re,ie,getNodeClasses(ie)),pe=de.width+ie.padding,_e=de.height+ie.padding,Ce=[{x:-2*_e/6,y:0},{x:pe-_e/6,y:0},{x:pe+2*_e/6,y:-_e},{x:_e/6,y:-_e}];let Ne;const{cssStyles:Oe}=ie;if(ie.look==="handDrawn"){const Ie=at.svg(ue),Fe=userNodeOverrides(ie,{}),Ue=createLeanRightPathD(0,0,pe,_e),Ve=Ie.path(Ue,Fe);Ne=ue.insert(()=>Ve,":first-child").attr("transform", ` translate ( $ { - pe / 2 } , $ { _e / 2 } ) ` ),Oe&&Ne.attr("style",Oe)}else Ne=insertPolygonShape(ue,pe,_e,Ce);return oe&&Ne.attr("style",oe),ie.width=pe,ie.height=_e,updateNodeBounds(ie,Ne),ie.intersect=function(Ie){return intersect_default.polygon(ie,Ce,Ie)},ue},"lean_right"),createLeanLeftPathD=__name((re,ie,ae,oe)=>[ ` M$ { re + 2 * oe / 6 } , $ { ie } ` , ` L$ { re + ae + oe / 6 } , $ { ie } ` , ` L$ { re + ae - 2 * oe / 6 } , $ { ie - oe } ` , ` L$ { re - oe / 6 } , $ { ie - oe } ` ,"Z"].join(" "),"createLeanLeftPathD"),lean_left=__name(async(re,ie)=>{const{labelStyles:ae,nodeStyles:oe}=styles2String(ie);ie.labelStyle=ae;const{shapeSvg:ue,bbox:de}=await labelHelper(re,ie,getNodeClasses(ie)),pe=de.width+ie.padding,_e=de.height+ie.padding,Ce=[{x:2*_e/6,y:0},{x:pe+_e/6,y:0},{x:pe-2*_e/6,y:-_e},{x:-_e/6,y:-_e}];let Ne;const{cssStyles:Oe}=ie;if(ie.look==="handDrawn"){const Ie=at.svg(ue),Fe=userNodeOverrides(ie,{}),Ue=createLeanLeftPathD(0,0,pe,_e),Ve=Ie.path(Ue,Fe);Ne=ue.insert(()=>Ve,":first-child").attr("transform", ` translate ( $ { - pe / 2 } , $ { _e / 2 } ) ` ),Oe&&Ne.attr("style",Oe)}else Ne=insertPolygonShape(ue,pe,_e,Ce);return oe&&Ne.attr("style",oe),ie.width=pe,ie.height=_e,updateNodeBounds(ie,Ne),ie.intersect=function(Ie){return intersect_default.polygon(ie,Ce,Ie)},ue},"lean_left"),createTrapezoidPathD=__name((re,ie,ae,oe)=>[ ` M$ { re - 2 * oe / 6 } , $ { ie } ` , ` L$ { re + ae + 2 * oe / 6 } , $ { ie } ` , ` L$ { re + ae - oe / 6 } , $ { ie - oe } ` , ` L$ { re + oe / 6 } , $ { ie - oe } ` ,"Z"].join(" "),"createTrapezoidPathD"),trapezoid=__name(async(re,ie)=>{const{labelStyles:ae,nodeStyles:oe}=styles2String(ie);ie.labelStyle=ae;const{shapeSvg:ue,bbox:de}=await labelHelper(re,ie,getNodeClasses(ie)),pe=de.width+ie.padding,_e=de.height+ie.padding,Ce=[{x:-2*_e/6,y:0},{x:pe+2*_e/6,y:0},{x:pe-_e/6,y:-_e},{x:_e/6,y:-_e}];let Ne;const{cssStyles:Oe}=ie;if(ie.look==="handDrawn"){const Ie=at.svg(ue),Fe=userNodeOverrides(ie,{}),Ue=createTrapezoidPathD(0,0,pe,_e),Ve=Ie.path(Ue,Fe);Ne=ue.insert(()=>Ve,":first-child").attr("transform", ` translate ( $ { - pe / 2 } , $ { _e / 2 } ) ` ),Oe&&Ne.attr("style",Oe)}else Ne=insertPolygonShape(ue,pe,_e,Ce);return oe&&Ne.attr("style",oe),ie.width=pe,ie.height=_e,updateNodeBounds(ie,Ne),ie.intersect=function(Ie){return intersect_default.polygon(ie,Ce,Ie)},ue},"trapezoid"),createInvertedTrapezoidPathD=__name((re,ie,ae,oe)=>[ ` M$ { re + oe / 6 } , $ { ie } ` , ` L$ { re + ae - oe / 6 } , $ { ie } ` , ` L$ { re + ae + 2 * oe / 6 } , $ { ie - oe } ` , ` L$ { re - 2 * oe / 6 } , $ { ie - oe } ` ,"Z"].join(
` );const oe=selectSvgElement(ie),ue=oe.append("g");oe.attr("viewBox","0 0 2412 512"),configureSvgSize(oe,100,512,!0),ue.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),ue.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),ue.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),ue.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),ue.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),ue.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),ue.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),ue.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text( ` mermaid version $ { ae } ` )},"draw"),renderer={draw},errorRenderer_default=renderer,diagram={db:{},renderer,parser:{parse:__name(()=>{},"parse")}},errorDiagram_default=diagram,id18="flowchart-elk",detector18=__name((re,ie={})=>{var ae;return/^ \s *flowchart-elk/.test(re)||/^ \s *flowchart|graph/.test(re)&&((ae=ie==null?void 0:ie.flowchart)==null?void 0:ae.defaultRenderer)==="elk"?(ie.layout="elk",!0):!1},"detector"),loader18=__name(async()=>{const{diagram:re}=await __vitePreload(async()=>{const{diagram:ie}=await import("./flowDiagram-TGP4CI55-BcWDSVyD.js");return{diagram:ie}},__vite__mapDeps([8,9,10,11]));return{id:id18,diagram:re}},"loader"),plugin16={id:id18,detector:detector18,loader:loader18},detector_default=plugin16,id19="timeline",detector19=__name(re=>/^ \s *timeline/.test(re),"detector"),loader19=__name(async()=>{const{diagram:re}=await __vitePreload(async()=>{const{diagram:ie}=await import("./timeline-definition-SFF34UE4-Belmhm68.js");return{diagram:ie}},__vite__mapDeps([36,22]));return{id:id19,diagram:re}},"loader"),plugin17={id:id19,detector:detector19,loader:loader19},detector_default2=plugin17,id20="mindmap",detector20=__name(re=>/^ \s *mindmap/.test(re),"detector"),loader20=__name(async()=>{const{diagram:re}=await __vitePreload(async()=>{const{diagram:ie}=await import("./mindmap-definition-6NGNQFMS-Djt5_STM.js");return{diagram:ie}},[]);return{id:id20,diagram:re}},"loader"),plugin18={id:id20,detector:detector20,loader:loader20},detector_default3=plugin18,id21="sankey",detector21=__name(re=>/^ \s *sankey-beta/.test(re),"detector"),loader21=__name(async()=>{const{diagram:re}=await __vitePreload(async()=>{const{diagram:ie}=await import("./sankeyDiagram-XVFEVEVI-BxPJMSyZ.js");return{diagram:ie}},__vite__mapDeps([37,23,19]));return{id:id21,diagram:re}},"loader"),plugin19={id:id21,detector:detector21,loader:loader21},sankeyDetector_default=plugin19,id22="packet",detector22=__name(re=>/^ \s *packet-beta/.test(re),"detector"),loader22=__name(
2024-08-27 22:31:52 +08:00
` ;try{getDiagram(ue)}catch{const Ie=getDiagramLoader(ue);if(!Ie)throw new UnknownDiagramError( ` Diagram $ { ue } not found . ` );const{id:Fe,diagram:Ue}=await Ie();registerDiagram(Fe,Ue)}const{db:de,parser:pe,renderer:_e,init:Ce}=getDiagram(ue);return pe.parser&&(pe.parser.yy=de),(Ne=de.clear)==null||Ne.call(de),Ce==null||Ce(oe),ae.title&&((Oe=de.setDiagramTitle)==null||Oe.call(de,ae.title)),await pe.parse(ie),new A0(ue,ie,de,pe,_e)}async render(ie,ae){await this.renderer.draw(this.text,ie,ae,this)}getParser(){return this.parser}getType(){return this.type}},__name(A0,"Diagram"),A0),interactionFunctions=[],attachFunctions=__name(()=>{interactionFunctions.forEach(re=>{re()}),interactionFunctions=[]},"attachFunctions"),SVG_ROLE="graphics-document document";function setA11yDiagramInfo(re,ie){re.attr("role",SVG_ROLE),ie!==""&&re.attr("aria-roledescription",ie)}__name(setA11yDiagramInfo,"setA11yDiagramInfo");function addSVGa11yTitleDescription(re,ie,ae,oe){if(re.insert!==void 0){if(ae){const ue= ` chart - desc - $ { oe } ` ;re.attr("aria-describedby",ue),re.insert("desc",":first-child").attr("id",ue).text(ae)}if(ie){const ue= ` chart - title - $ { oe } ` ;re.attr("aria-labelledby",ue),re.insert("title",":first-child").attr("id",ue).text(ie)}}}__name(addSVGa11yTitleDescription,"addSVGa11yTitleDescription");var cleanupComments=__name(re=>re.replace(/^ \s *%%(?!{)[^ \n ]+ \n ?/gm,"").trimStart(),"cleanupComments");function isNothing(re){return typeof re>"u"||re===null}__name(isNothing,"isNothing");function isObject $ 2(re){return typeof re=="object"&&re!==null}__name(isObject $ 2,"isObject");function toArray $ 2(re){return Array.isArray(re)?re:isNothing(re)?[]:[re]}__name(toArray $ 2,"toArray");function extend $ 1(re,ie){var ae,oe,ue,de;if(ie)for(de=Object.keys(ie),ae=0,oe=de.length;ae<oe;ae+=1)ue=de[ae],re[ue]=ie[ue];return re}__name(extend $ 1,"extend");function repeat(re,ie){var ae="",oe;for(oe=0;oe<ie;oe+=1)ae+=re;return ae}__name(repeat,"repeat");function isNegativeZero(re){return re===0&&Number.NEGATIVE_INFINITY===1/re}__name(isNegativeZero,"isNegativeZero");var isNothing_1=isNothing,isObject_1=isObject $ 2,toArray_1=toArray $ 2,repeat_1=repeat,isNegativeZero_1=isNegativeZero,extend_1=extend $ 1,common={isNothing:isNothing_1,isObject:isObject_1,toArray:toArray_1,repeat:repeat_1,isNegativeZero:isNegativeZero_1,extend:extend_1};function formatError(re,ie){var ae="",oe=re.reason||"(unknown reason)";return re.mark?(re.mark.name&&(ae+='in "'+re.mark.name+'" '),ae+="("+(re.mark.line+1)+":"+(re.mark.column+1)+")",!ie&&re.mark.snippet&&(ae+= `
` +re.mark.snippet),oe+" "+ae):oe}__name(formatError,"formatError");function YAMLException $ 1(re,ie){Error.call(this),this.name="YAMLException",this.reason=re,this.mark=ie,this.message=formatError(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}__name(YAMLException $ 1,"YAMLException $ 1");YAMLException $ 1.prototype=Object.create(Error.prototype);YAMLException $ 1.prototype.constructor=YAMLException $ 1;YAMLException $ 1.prototype.toString=__name(function(ie){return this.name+": "+formatError(this,ie)},"toString");var exception=YAMLException $ 1;function getLine(re,ie,ae,oe,ue){var de="",pe="",_e=Math.floor(ue/2)-1;return oe-ie>_e&&(de=" ... ",ie=oe-_e+de.length),ae-oe>_e&&(pe=" ...",ae=oe+_e-pe.length),{str:de+re.slice(ie,ae).replace(/ \t /g,"→")+pe,pos:oe-ie+de.length}}__name(getLine,"getLine");function padStart(re,ie){return common.repeat(" ",ie-re.length)+re}__name(padStart,"padStart");function makeSnippet(re,ie){if(ie=Object.create(ie||null),!re.buffer)return null;ie.maxLength||(ie.maxLength=79),typeof ie.indent!="number"&&(ie.indent=1),typeof ie.linesBefore!="number"&&(ie.linesBefore=3),typeof ie.linesAfter!="number"&&(ie.linesAfter=2);for(var ae=/ \r ? \n | \r | \0 /g,oe=[0],ue=[],de,pe=-1;de=ae.exec(re.buffer);)ue.push(de.index),oe.push(de.index+de[0].length),re.position<=de.index&&pe<0&&(pe=oe.length-2);pe<0&&(pe=oe.length-1);var _e="",Ce,Ne,Oe=Math.min(re.line+ie.linesAfter,ue.length).toString().length,Ie=ie.maxLength-(ie.indent+Oe+3);for(Ce=1;Ce<=ie.linesBefore&&!(pe-Ce<0);Ce++)Ne=getLine(re.buffer,oe[pe-Ce],ue[pe-Ce],re.position-(oe[pe]-oe[pe-Ce]),Ie),_e=common.repeat(" ",ie.indent)+padStart((re.line-Ce+1).toString(),Oe)+" | "+Ne.str+ `
` +_e;for(Ne=getLine(re.buffer,oe[pe],ue[pe],re.position,Ie),_e+=common.repeat(" ",ie.indent)+padStart((re.line+1).toString(),Oe)+" | "+Ne.str+ `
` ,_e+=common.repeat("-",ie.indent+Oe+3+Ne.pos)+ ` ^
` ,Ce=1;Ce<=ie.linesAfter&&!(pe+Ce>=ue.length);Ce++)Ne=getLine(re.buffer,oe[pe+Ce],ue[pe+Ce],re.position-(oe[pe]-oe[pe+Ce]),Ie),_e+=common.repeat(" ",ie.indent)+padStart((re.line+Ce+1).toString(),Oe)+" | "+Ne.str+ `
` ;return _e.replace(/ \n $ /,"")}__name(makeSnippet,"makeSnippet");var snippet=makeSnippet,TYPE_CONSTRUCTOR_OPTIONS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];function compileStyleAliases(re){var ie={};return re!==null&&Object.keys(re).forEach(function(ae){re[ae].forEach(function(oe){ie[String(oe)]=ae})}),ie}__name(compileStyleAliases,"compileStyleAliases");function Type $ 1(re,ie){if(ie=ie||{},Object.keys(ie).forEach(function(ae){if(TYPE_CONSTRUCTOR_OPTIONS.indexOf(ae)===-1)throw new exception('Unknown option "'+ae+'" is met in definition of "'+re+'" YAML type.')}),this.options=ie,this.tag=re,this.kind=ie.kind||null,this.resolve=ie.resolve||function(){return!0},this.construct=ie.construct||function(ae){return ae},this.instanceOf=ie.instanceOf||null,this.predicate=ie.predicate||null,this.represent=ie.represent||null,this.representName=ie.representName||null,this.defaultStyle=ie.defaultStyle||null,this.multi=ie.multi||!1,this.styleAliases=compileStyleAliases(ie.styleAliases||null),YAML_NODE_KINDS.indexOf(this.kind)===-1)throw new exception('Unknown kind "'+this.kind+'" is specified for "'+re+'" YAML type.')}__name(Type $ 1,"Type $ 1");var type $ 1=Type $ 1;function compileList(re,ie){var ae=[];return re[ie].forEach(function(oe){var ue=ae.length;ae.forEach(function(de,pe){de.tag===oe.tag&&de.kind===oe.kind&&de.multi===oe.multi&&(ue=pe)}),ae[ue]=oe}),ae}__name(compileList,"compileList");function compileMap(){var re={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},ie,ae;function oe(ue){ue.multi?(re.multi[ue.kind].push(ue),re.multi.fallback.push(ue)):re[ue.kind][ue.tag]=re.fallback[ue.tag]=ue}for(__name(oe,"collectType"),ie=0,ae=arguments.length;ie<ae;ie+=1)arguments[ie].forEach(oe);return re}__name(compileMap,"compileMap");function Schema $ 1(re){return this.extend(re)}__name(Schema $ 1,"Schema $ 1");Schema $ 1.prototype.extend=__name(function(ie){var ae=[],oe=[];if(ie instanceof type $ 1)oe.push(ie);else if(Array.isArray(ie))oe=oe.concat(ie);else if(ie&&(Array.isArray(ie.implicit)||Array.isArray(ie.explicit)))ie.implicit&&(ae=ae.concat(ie.implicit)),ie.explicit&&(oe=oe.concat(ie.explicit));else throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");ae.forEach(function(de){if(!(de instanceof type $ 1))throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(de.loadKind&&de.loadKind!=="scalar")throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(de.multi)throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),oe.forEach(function(de){if(!(de instanceof type $ 1))throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var ue=Object.create(Schema $ 1.prototype);return ue.implicit=(this.implicit||[]).concat(ae),ue.explicit=(this.explicit||[]).concat(oe),ue.compiledImplicit=compileList(ue,"implicit"),ue.compiledExplicit=compileList(ue,"explicit"),ue.compiledTypeMap=compileMap(ue.compiledImplicit,ue.compiledExplicit),ue},"extend");var schema=Schema $ 1,str=new type $ 1("tag:yaml.org,2002:str",{kind:"scalar",construct:__name(function(re){return re!==null?re:""},"construct")}),seq $ 1=new type $ 1("tag:yaml.org,2002:seq",{kind:"sequence",construct:__name(function(re){return re!==null?re:[]},"construct")}),map $ 4=new type $ 1("tag:yaml.org,2002:map",{kind:"mapping",construct:__name(function(re){return re!==null?re:{}},"construct")}),failsafe=new schema({explicit:[str,seq $ 1,map $ 4]});function resolveYamlNull(re){if(re===null)return!0;var ie=re.length;return ie===1&&re==="~"||ie===4&&(re==="null"||re==="Null"||re==="NULL")}__name(resolveYamlNull,"resolveYamlNull");function constructYamlNull(){return null}__name(constructYamlNull,"constructYamlNull");function isNull(re){
\ r ` ;function resolveYamlBinary(re){if(re===null)return!1;var ie,ae,oe=0,ue=re.length,de=BASE64_MAP;for(ae=0;ae<ue;ae++)if(ie=de.indexOf(re.charAt(ae)),!(ie>64)){if(ie<0)return!1;oe+=6}return oe%8===0}__name(resolveYamlBinary,"resolveYamlBinary");function constructYamlBinary(re){var ie,ae,oe=re.replace(/[ \r \n =]/g,""),ue=oe.length,de=BASE64_MAP,pe=0,_e=[];for(ie=0;ie<ue;ie++)ie%4===0&&ie&&(_e.push(pe>>16&255),_e.push(pe>>8&255),_e.push(pe&255)),pe=pe<<6|de.indexOf(oe.charAt(ie));return ae=ue%4*6,ae===0?(_e.push(pe>>16&255),_e.push(pe>>8&255),_e.push(pe&255)):ae===18?(_e.push(pe>>10&255),_e.push(pe>>2&255)):ae===12&&_e.push(pe>>4&255),new Uint8Array(_e)}__name(constructYamlBinary,"constructYamlBinary");function representYamlBinary(re){var ie="",ae=0,oe,ue,de=re.length,pe=BASE64_MAP;for(oe=0;oe<de;oe++)oe%3===0&&oe&&(ie+=pe[ae>>18&63],ie+=pe[ae>>12&63],ie+=pe[ae>>6&63],ie+=pe[ae&63]),ae=(ae<<8)+re[oe];return ue=de%3,ue===0?(ie+=pe[ae>>18&63],ie+=pe[ae>>12&63],ie+=pe[ae>>6&63],ie+=pe[ae&63]):ue===2?(ie+=pe[ae>>10&63],ie+=pe[ae>>4&63],ie+=pe[ae<<2&63],ie+=pe[64]):ue===1&&(ie+=pe[ae>>2&63],ie+=pe[ae<<4&63],ie+=pe[64],ie+=pe[64]),ie}__name(representYamlBinary,"representYamlBinary");function isBinary(re){return Object.prototype.toString.call(re)==="[object Uint8Array]"}__name(isBinary,"isBinary");var binary=new type $ 1("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary}),_hasOwnProperty $ 3=Object.prototype.hasOwnProperty,_toString $ 2=Object.prototype.toString;function resolveYamlOmap(re){if(re===null)return!0;var ie=[],ae,oe,ue,de,pe,_e=re;for(ae=0,oe=_e.length;ae<oe;ae+=1){if(ue=_e[ae],pe=!1,_toString $ 2.call(ue)!=="[object Object]")return!1;for(de in ue)if(_hasOwnProperty $ 3.call(ue,de))if(!pe)pe=!0;else return!1;if(!pe)return!1;if(ie.indexOf(de)===-1)ie.push(de);else return!1}return!0}__name(resolveYamlOmap,"resolveYamlOmap");function constructYamlOmap(re){return re!==null?re:[]}__name(constructYamlOmap,"constructYamlOmap");var omap=new type $ 1("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap}),_toString $ 1=Object.prototype.toString;function resolveYamlPairs(re){if(re===null)return!0;var ie,ae,oe,ue,de,pe=re;for(de=new Array(pe.length),ie=0,ae=pe.length;ie<ae;ie+=1){if(oe=pe[ie],_toString $ 1.call(oe)!=="[object Object]"||(ue=Object.keys(oe),ue.length!==1))return!1;de[ie]=[ue[0],oe[ue[0]]]}return!0}__name(resolveYamlPairs,"resolveYamlPairs");function constructYamlPairs(re){if(re===null)return[];var ie,ae,oe,ue,de,pe=re;for(de=new Array(pe.length),ie=0,ae=pe.length;ie<ae;ie+=1)oe=pe[ie],ue=Object.keys(oe),de[ie]=[ue[0],oe[ue[0]]];return de}__name(constructYamlPairs,"constructYamlPairs");var pairs=new type $ 1("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs}),_hasOwnProperty $ 2=Object.prototype.hasOwnProperty;function resolveYamlSet(re){if(re===null)return!0;var ie,ae=re;for(ie in ae)if(_hasOwnProperty $ 2.call(ae,ie)&&ae[ie]!==null)return!1;return!0}__name(resolveYamlSet,"resolveYamlSet");function constructYamlSet(re){return re!==null?re:{}}__name(constructYamlSet,"constructYamlSet");var set=new type $ 1("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet}),_default $ 1=core $ 1.extend({implicit:[timestamp,merge $ 1],explicit:[binary,omap,pairs,set]}),_hasOwnProperty $ 1=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[ \x 00- \x 08 \x 0B \x 0C \x 0E- \x 1F \x 7F- \x 84 \x 86- \x 9F \u FFFE \u FFFF]|[ \u D800- \u DBFF](?![ \u DC00- \u DFFF])|(?:[^ \u D800- \u DBFF]|^)[ \u DC00- \u DFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[ \x 85 \u 2028 \u 2029]/,PATTERN_FLOW_INDICATORS=/[, \[ \] \{ \} ]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z \- ]+!) $ /i,PATTERN_TAG_URI=/^(?:!|[^, \[ \] \{ \} ])(?:%[0-9a-f]{2}|[0-9a-z \- #; \/ \? :@&= \+ \$ ,_ \. !~ \* ' \( \) \[ \] ])* $ /i;function _class(re){return Object.prototype.toString.call(re)}__name(_class,"_class");function is_EOL(re){return re===10||r
` :re===118?" \v ":re===102?" \f ":re===114?" \r ":re===101?" \x 1B":re===32?" ":re===34?'"':re===47?"/":re===92?" \\ ":re===78?"
":re===95?" ":re===76?" \u 2028":re===80?" \u 2029":""}__name(simpleEscapeSequence,"simpleEscapeSequence");function charFromCodepoint(re){return re<=65535?String.fromCharCode(re):String.fromCharCode((re-65536>>10)+55296,(re-65536&1023)+56320)}__name(charFromCodepoint,"charFromCodepoint");var simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256);for(i $ 3=0;i $ 3<256;i $ 3++)simpleEscapeCheck[i $ 3]=simpleEscapeSequence(i $ 3)?1:0,simpleEscapeMap[i $ 3]=simpleEscapeSequence(i $ 3);var i $ 3;function State $ 1(re,ie){this.input=re,this.filename=ie.filename||null,this.schema=ie.schema||_default $ 1,this.onWarning=ie.onWarning||null,this.legacy=ie.legacy||!1,this.json=ie.json||!1,this.listener=ie.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=re.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}__name(State $ 1,"State $ 1");function generateError(re,ie){var ae={name:re.filename,buffer:re.input.slice(0,-1),position:re.position,line:re.line,column:re.position-re.lineStart};return ae.snippet=snippet(ae),new exception(ie,ae)}__name(generateError,"generateError");function throwError(re,ie){throw generateError(re,ie)}__name(throwError,"throwError");function throwWarning(re,ie){re.onWarning&&re.onWarning.call(null,generateError(re,ie))}__name(throwWarning,"throwWarning");var directiveHandlers={YAML:__name(function(ie,ae,oe){var ue,de,pe;ie.version!==null&&throwError(ie,"duplication of %YAML directive"),oe.length!==1&&throwError(ie,"YAML directive accepts exactly one argument"),ue=/^([0-9]+) \. ([0-9]+) $ /.exec(oe[0]),ue===null&&throwError(ie,"ill-formed argument of the YAML directive"),de=parseInt(ue[1],10),pe=parseInt(ue[2],10),de!==1&&throwError(ie,"unacceptable YAML version of the document"),ie.version=oe[0],ie.checkLineBreaks=pe<2,pe!==1&&pe!==2&&throwWarning(ie,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:__name(function(ie,ae,oe){var ue,de;oe.length!==2&&throwError(ie,"TAG directive accepts exactly two arguments"),ue=oe[0],de=oe[1],PATTERN_TAG_HANDLE.test(ue)||throwError(ie,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty $ 1.call(ie.tagMap,ue)&&throwError(ie,'there is a previously declared suffix for "'+ue+'" tag handle'),PATTERN_TAG_URI.test(de)||throwError(ie,"ill-formed tag prefix (second argument) of the TAG directive");try{de=decodeURIComponent(de)}catch{throwError(ie,"tag prefix is malformed: "+de)}ie.tagMap[ue]=de},"handleTagDirective")};function captureSegment(re,ie,ae,oe){var ue,de,pe,_e;if(ie<ae){if(_e=re.input.slice(ie,ae),oe)for(ue=0,de=_e.length;ue<de;ue+=1)pe=_e.charCodeAt(ue),pe===9||32<=pe&&pe<=1114111||throwError(re,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(_e)&&throwError(re,"the stream contains non-printable characters");re.result+=_e}}__name(captureSegment,"captureSegment");function mergeMappings(re,ie,ae,oe){var ue,de,pe,_e;for(common.isObject(ae)||throwError(re,"cannot merge mappings; the provided source object is unacceptable"),ue=Object.keys(ae),pe=0,_e=ue.length;pe<_e;pe+=1)de=ue[pe],_hasOwnProperty $ 1.call(ie,de)||(ie[de]=ae[de],oe[de]=!0)}__name(mergeMappings,"mergeMappings");function storeMappingPair(re,ie,ae,oe,ue,de,pe,_e,Ce){var Ne,Oe;if(Array.isArray(ue))for(ue=Array.prototype.slice.call(ue),Ne=0,Oe=ue.length;Ne<Oe;Ne+=1)Array.isArray(ue[Ne])&&throwError(re,"nested arrays are not supported inside keys"),typeof ue=="object"&&_class(ue[Ne])==="[object Object]"&&(ue[Ne]="[object Object]");if(typeof ue=="object"&&_class(ue)==="[object Object]"&&(ue="[object Object]"),ue=String(ue),ie===null&&(ie={}),oe==="tag:yaml.org,2002:merge")if(Array.isArray(de))for(Ne=0,Oe=de.length;Ne<Oe;Ne+=1)mergeMappings(re,ie,de[Ne],ae);else mergeMappings(re,ie,de,ae);else!re.json&&!_hasOwnProperty $ 1.call(ae,ue)&&_hasOwnProperty $ 1.call(ie,ue)&&(re.line=pe||re.line,re.lineStart=_e||re.lineStart,re.position=Ce||re.posit
` ,ie-1))}__name(writeFoldedLines,"writeFoldedLines");function readPlainScalar(re,ie,ae){var oe,ue,de,pe,_e,Ce,Ne,Oe,Ie=re.kind,Fe=re.result,Ue;if(Ue=re.input.charCodeAt(re.position),is_WS_OR_EOL(Ue)||is_FLOW_INDICATOR(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(ue=re.input.charCodeAt(re.position+1),is_WS_OR_EOL(ue)||ae&&is_FLOW_INDICATOR(ue)))return!1;for(re.kind="scalar",re.result="",de=pe=re.position,_e=!1;Ue!==0;){if(Ue===58){if(ue=re.input.charCodeAt(re.position+1),is_WS_OR_EOL(ue)||ae&&is_FLOW_INDICATOR(ue))break}else if(Ue===35){if(oe=re.input.charCodeAt(re.position-1),is_WS_OR_EOL(oe))break}else{if(re.position===re.lineStart&&testDocumentSeparator(re)||ae&&is_FLOW_INDICATOR(Ue))break;if(is_EOL(Ue))if(Ce=re.line,Ne=re.lineStart,Oe=re.lineIndent,skipSeparationSpace(re,!1,-1),re.lineIndent>=ie){_e=!0,Ue=re.input.charCodeAt(re.position);continue}else{re.position=pe,re.line=Ce,re.lineStart=Ne,re.lineIndent=Oe;break}}_e&&(captureSegment(re,de,pe,!1),writeFoldedLines(re,re.line-Ce),de=pe=re.position,_e=!1),is_WHITE_SPACE(Ue)||(pe=re.position+1),Ue=re.input.charCodeAt(++re.position)}return captureSegment(re,de,pe,!1),re.result?!0:(re.kind=Ie,re.result=Fe,!1)}__name(readPlainScalar,"readPlainScalar");function readSingleQuotedScalar(re,ie){var ae,oe,ue;if(ae=re.input.charCodeAt(re.position),ae!==39)return!1;for(re.kind="scalar",re.result="",re.position++,oe=ue=re.position;(ae=re.input.charCodeAt(re.position))!==0;)if(ae===39)if(captureSegment(re,oe,re.position,!0),ae=re.input.charCodeAt(++re.position),ae===39)oe=re.position,re.position++,ue=re.position;else return!0;else is_EOL(ae)?(captureSegment(re,oe,ue,!0),writeFoldedLines(re,skipSeparationSpace(re,!1,ie)),oe=ue=re.position):re.position===re.lineStart&&testDocumentSeparator(re)?throwError(re,"unexpected end of the document within a single quoted scalar"):(re.position++,ue=re.position);throwError(re,"unexpected end of the stream within a single quoted scalar")}__name(readSingleQuotedScalar,"readSingleQuotedScalar");function readDoubleQuotedScalar(re,ie){var ae,oe,ue,de,pe,_e;if(_e=re.input.charCodeAt(re.position),_e!==34)return!1;for(re.kind="scalar",re.result="",re.position++,ae=oe=re.position;(_e=re.input.charCodeAt(re.position))!==0;){if(_e===34)return captureSegment(re,ae,re.position,!0),re.position++,!0;if(_e===92){if(captureSegment(re,ae,re.position,!0),_e=re.input.charCodeAt(++re.position),is_EOL(_e))skipSeparationSpace(re,!1,ie);else if(_e<256&&simpleEscapeCheck[_e])re.result+=simpleEscapeMap[_e],re.position++;else if((pe=escapedHexLen(_e))>0){for(ue=pe,de=0;ue>0;ue--)_e=re.input.charCodeAt(++re.position),(pe=fromHexCode(_e))>=0?de=(de<<4)+pe:throwError(re,"expected hexadecimal character");re.result+=charFromCodepoint(de),re.position++}else throwError(re,"unknown escape sequence");ae=oe=re.position}else is_EOL(_e)?(captureSegment(re,ae,oe,!0),writeFoldedLines(re,skipSeparationSpace(re,!1,ie)),ae=oe=re.position):re.position===re.lineStart&&testDocumentSeparator(re)?throwError(re,"unexpected end of the document within a double quoted scalar"):(re.position++,oe=re.position)}throwError(re,"unexpected end of the stream within a double quoted scalar")}__name(readDoubleQuotedScalar,"readDoubleQuotedScalar");function readFlowCollection(re,ie){var ae=!0,oe,ue,de,pe=re.tag,_e,Ce=re.anchor,Ne,Oe,Ie,Fe,Ue,Ve=Object.create(null),ze,jt,kt,Pt;if(Pt=re.input.charCodeAt(re.position),Pt===91)Oe=93,Ue=!1,_e=[];else if(Pt===123)Oe=125,Ue=!0,_e={};else return!1;for(re.anchor!==null&&(re.anchorMap[re.anchor]=_e),Pt=re.input.charCodeAt(++re.position);Pt!==0;){if(skipSeparationSpace(re,!0,ie),Pt=re.input.charCodeAt(re.position),Pt===Oe)return re.position++,re.tag=pe,re.anchor=Ce,re.kind=Ue?"mapping":"sequence",re.result=_e,!0;ae?Pt===44&&throwError(re,"expected the node content, but found ','"):throwError(re,"missed comma between flow collection entries"),jt=ze=kt=null,Ie=Fe=!1,Pt===63&&(Ne=re.input.charCodeAt(re.position+1),is_WS_OR_EOL(Ne)&&(Ie=Fe=!0,re.position++,skipSeparationSpace(re,!0,ie))),oe=re.l
` ,de?1+Ce:Ce):ue===CHOMPING_CLIP&&de&&(re.result+= `
` );break}for(oe?is_WHITE_SPACE(Ie)?(Ne=!0,re.result+=common.repeat( `
` ,de?1+Ce:Ce)):Ne?(Ne=!1,re.result+=common.repeat( `
` ,Ce+1)):Ce===0?de&&(re.result+=" "):re.result+=common.repeat( `
` ,Ce):re.result+=common.repeat( `
` ,de?1+Ce:Ce),de=!0,pe=!0,Ce=0,ae=re.position;!is_EOL(Ie)&&Ie!==0;)Ie=re.input.charCodeAt(++re.position);captureSegment(re,ae,re.position,!1)}return!0}__name(readBlockScalar,"readBlockScalar");function readBlockSequence(re,ie){var ae,oe=re.tag,ue=re.anchor,de=[],pe,_e=!1,Ce;if(re.firstTabInLine!==-1)return!1;for(re.anchor!==null&&(re.anchorMap[re.anchor]=de),Ce=re.input.charCodeAt(re.position);Ce!==0&&(re.firstTabInLine!==-1&&(re.position=re.firstTabInLine,throwError(re,"tab characters must not be used in indentation")),!(Ce!==45||(pe=re.input.charCodeAt(re.position+1),!is_WS_OR_EOL(pe))));){if(_e=!0,re.position++,skipSeparationSpace(re,!0,-1)&&re.lineIndent<=ie){de.push(null),Ce=re.input.charCodeAt(re.position);continue}if(ae=re.line,composeNode(re,ie,CONTEXT_BLOCK_IN,!1,!0),de.push(re.result),skipSeparationSpace(re,!0,-1),Ce=re.input.charCodeAt(re.position),(re.line===ae||re.lineIndent>ie)&&Ce!==0)throwError(re,"bad indentation of a sequence entry");else if(re.lineIndent<ie)break}return _e?(re.tag=oe,re.anchor=ue,re.kind="sequence",re.result=de,!0):!1}__name(readBlockSequence,"readBlockSequence");function readBlockMapping(re,ie,ae){var oe,ue,de,pe,_e,Ce,Ne=re.tag,Oe=re.anchor,Ie={},Fe=Object.create(null),Ue=null,Ve=null,ze=null,jt=!1,kt=!1,Pt;if(re.firstTabInLine!==-1)return!1;for(re.anchor!==null&&(re.anchorMap[re.anchor]=Ie),Pt=re.input.charCodeAt(re.position);Pt!==0;){if(!jt&&re.firstTabInLine!==-1&&(re.position=re.firstTabInLine,throwError(re,"tab characters must not be used in indentation")),oe=re.input.charCodeAt(re.position+1),de=re.line,(Pt===63||Pt===58)&&is_WS_OR_EOL(oe))Pt===63?(jt&&(storeMappingPair(re,Ie,Fe,Ue,Ve,null,pe,_e,Ce),Ue=Ve=ze=null),kt=!0,jt=!0,ue=!0):jt?(jt=!1,ue=!0):throwError(re,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),re.position+=1,Pt=oe;else{if(pe=re.line,_e=re.lineStart,Ce=re.position,!composeNode(re,ae,CONTEXT_FLOW_OUT,!1,!0))break;if(re.line===de){for(Pt=re.input.charCodeAt(re.position);is_WHITE_SPACE(Pt);)Pt=re.input.charCodeAt(++re.position);if(Pt===58)Pt=re.input.charCodeAt(++re.position),is_WS_OR_EOL(Pt)||throwError(re,"a whitespace character is expected after the key-value separator within a block mapping"),jt&&(storeMappingPair(re,Ie,Fe,Ue,Ve,null,pe,_e,Ce),Ue=Ve=ze=null),kt=!0,jt=!1,ue=!1,Ue=re.tag,Ve=re.result;else if(kt)throwError(re,"can not read an implicit mapping pair; a colon is missed");else return re.tag=Ne,re.anchor=Oe,!0}else if(kt)throwError(re,"can not read a block mapping entry; a multiline key may not be an implicit key");else return re.tag=Ne,re.anchor=Oe,!0}if((re.line===de||re.lineIndent>ie)&&(jt&&(pe=re.line,_e=re.lineStart,Ce=re.position),composeNode(re,ie,CONTEXT_BLOCK_OUT,!0,ue)&&(jt?Ve=re.result:ze=re.result),jt||(storeMappingPair(re,Ie,Fe,Ue,Ve,ze,pe,_e,Ce),Ue=Ve=ze=null),skipSeparationSpace(re,!0,-1),Pt=re.input.charCodeAt(re.position)),(re.line===de||re.lineIndent>ie)&&Pt!==0)throwError(re,"bad indentation of a mapping entry");else if(re.lineIndent<ie)break}return jt&&storeMappingPair(re,Ie,Fe,Ue,Ve,null,pe,_e,Ce),kt&&(re.tag=Ne,re.anchor=Oe,re.kind="mapping",re.result=Ie),kt}__name(readBlockMapping,"readBlockMapping");function readTagProperty(re){var ie,ae=!1,oe=!1,ue,de,pe;if(pe=re.input.charCodeAt(re.position),pe!==33)return!1;if(re.tag!==null&&throwError(re,"duplication of a tag property"),pe=re.input.charCodeAt(++re.position),pe===60?(ae=!0,pe=re.input.charCodeAt(++re.position)):pe===33?(oe=!0,ue="!!",pe=re.input.charCodeAt(++re.position)):ue="!",ie=re.position,ae){do pe=re.input.charCodeAt(++re.position);while(pe!==0&&pe!==62);re.position<re.length?(de=re.input.slice(ie,re.position),pe=re.input.charCodeAt(++re.position)):throwError(re,"unexpected end of the stream within a verbatim tag")}else{for(;pe!==0&&!is_WS_OR_EOL(pe);)pe===33&&(oe?throwError(re,"tag suffix cannot contain exclamation marks"):(ue=re.input.slice(ie-1,re.position+1),PATTERN_TAG_HANDLE.test(ue)||throwError(re,"named tag handle cannot contain such characters"),oe=!0,ie=re.position+1)),pe=re.input.charCodeAt(++re.position);
` ),re.charCodeAt(0)===65279&&(re=re.slice(1)));var ae=new State $ 1(re,ie),oe=re.indexOf(" \0 ");for(oe!==-1&&(ae.position=oe,throwError(ae,"null byte is not allowed in input")),ae.input+=" \0 ";ae.input.charCodeAt(ae.position)===32;)ae.lineIndent+=1,ae.position+=1;for(;ae.position<ae.length-1;)readDocument(ae);return ae.documents}__name(loadDocuments,"loadDocuments");function loadAll $ 1(re,ie,ae){ie!==null&&typeof ie=="object"&&typeof ae>"u"&&(ae=ie,ie=null);var oe=loadDocuments(re,ae);if(typeof ie!="function")return oe;for(var ue=0,de=oe.length;ue<de;ue+=1)ie(oe[ue])}__name(loadAll $ 1,"loadAll $ 1");function load $ 1(re,ie){var ae=loadDocuments(re,ie);if(ae.length!==0){if(ae.length===1)return ae[0];throw new exception("expected a single document in the stream, but found more")}}__name(load $ 1,"load $ 1");var loadAll_1=loadAll $ 1,load_1=load $ 1,loader24={loadAll:loadAll_1,load:load_1},_toString=Object.prototype.toString,_hasOwnProperty=Object.prototype.hasOwnProperty,CHAR_BOM=65279,CHAR_TAB=9,CHAR_LINE_FEED=10,CHAR_CARRIAGE_RETURN=13,CHAR_SPACE=32,CHAR_EXCLAMATION=33,CHAR_DOUBLE_QUOTE=34,CHAR_SHARP=35,CHAR_PERCENT=37,CHAR_AMPERSAND=38,CHAR_SINGLE_QUOTE=39,CHAR_ASTERISK=42,CHAR_COMMA=44,CHAR_MINUS=45,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_GREATER_THAN=62,CHAR_QUESTION=63,CHAR_COMMERCIAL_AT=64,CHAR_LEFT_SQUARE_BRACKET=91,CHAR_RIGHT_SQUARE_BRACKET=93,CHAR_GRAVE_ACCENT=96,CHAR_LEFT_CURLY_BRACKET=123,CHAR_VERTICAL_LINE=124,CHAR_RIGHT_CURLY_BRACKET=125,ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]=" \\ 0";ESCAPE_SEQUENCES[7]=" \\ a";ESCAPE_SEQUENCES[8]=" \\ b";ESCAPE_SEQUENCES[9]=" \\ t";ESCAPE_SEQUENCES[10]=" \\ n";ESCAPE_SEQUENCES[11]=" \\ v";ESCAPE_SEQUENCES[12]=" \\ f";ESCAPE_SEQUENCES[13]=" \\ r";ESCAPE_SEQUENCES[27]=" \\ e";ESCAPE_SEQUENCES[34]=' \\ "';ESCAPE_SEQUENCES[92]=" \\ \\ ";ESCAPE_SEQUENCES[133]=" \\ N";ESCAPE_SEQUENCES[160]=" \\ _";ESCAPE_SEQUENCES[8232]=" \\ L";ESCAPE_SEQUENCES[8233]=" \\ P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],DEPRECATED_BASE60_SYNTAX=/^[-+]?[0-9_]+(?::[0-9_]+)+(?: \. [0-9_]*)? $ /;function compileStyleMap(re,ie){var ae,oe,ue,de,pe,_e,Ce;if(ie===null)return{};for(ae={},oe=Object.keys(ie),ue=0,de=oe.length;ue<de;ue+=1)pe=oe[ue],_e=String(ie[pe]),pe.slice(0,2)==="!!"&&(pe="tag:yaml.org,2002:"+pe.slice(2)),Ce=re.compiledTypeMap.fallback[pe],Ce&&_hasOwnProperty.call(Ce.styleAliases,_e)&&(_e=Ce.styleAliases[_e]),ae[pe]=_e;return ae}__name(compileStyleMap,"compileStyleMap");function encodeHex(re){var ie,ae,oe;if(ie=re.toString(16).toUpperCase(),re<=255)ae="x",oe=2;else if(re<=65535)ae="u",oe=4;else if(re<=4294967295)ae="U",oe=8;else throw new exception("code point within a string may not be greater than 0xFFFFFFFF");return" \\ "+ae+common.repeat("0",oe-ie.length)+ie}__name(encodeHex,"encodeHex");var QUOTING_TYPE_SINGLE=1,QUOTING_TYPE_DOUBLE=2;function State(re){this.schema=re.schema||_default $ 1,this.indent=Math.max(1,re.indent||2),this.noArrayIndent=re.noArrayIndent||!1,this.skipInvalid=re.skipInvalid||!1,this.flowLevel=common.isNothing(re.flowLevel)?-1:re.flowLevel,this.styleMap=compileStyleMap(this.schema,re.styles||null),this.sortKeys=re.sortKeys||!1,this.lineWidth=re.lineWidth||80,this.noRefs=re.noRefs||!1,this.noCompatMode=re.noCompatMode||!1,this.condenseFlow=re.condenseFlow||!1,this.quotingType=re.quotingType==='"'?QUOTING_TYPE_DOUBLE:QUOTING_TYPE_SINGLE,this.forceQuotes=re.forceQuotes||!1,this.replacer=typeof re.replacer=="function"?re.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}__name(State,"State");function indentString(re,ie){for(var ae=common.repeat(" ",ie),oe=0,ue=-1,de="",pe,_e=re.length;oe<_e;)ue=re.indexOf( `
` ,oe),ue===-1?(pe=re.slice(oe),oe=_e):(pe=re.slice(oe,ue+1),oe=ue+1),pe.length&&pe!== `
` &&(de+=ae),de+=pe;return de}__name(indentString,"indentString");function generateNextLine(re,ie){return `
` +common.repeat(" ",re.indent*ie)}__name(generateNextLine,"generateNextLine");function testImplicitResolving(re,ie){var ae,oe,ue;for(ae=0,oe=re.implicitTypes.length;ae<oe;ae+=1)if(ue=re.implicitTypes[ae],ue.resolve(ie))return!0;return!1}__name(testImplicitResolving,"testImplicitResolving");function isWhitespace $ 1(re){return re===CHAR_SPACE||re===CHAR_TAB}__name(isWhitespace $ 1,"isWhitespace");function isPrintable(re){return 32<=re&&re<=126||161<=re&&re<=55295&&re!==8232&&re!==8233||57344<=re&&re<=65533&&re!==CHAR_BOM||65536<=re&&re<=1114111}__name(isPrintable,"isPrintable");function isNsCharOrWhitespace(re){return isPrintable(re)&&re!==CHAR_BOM&&re!==CHAR_CARRIAGE_RETURN&&re!==CHAR_LINE_FEED}__name(isNsCharOrWhitespace,"isNsCharOrWhitespace");function isPlainSafe(re,ie,ae){var oe=isNsCharOrWhitespace(re),ue=oe&&!isWhitespace $ 1(re);return(ae?oe:oe&&re!==CHAR_COMMA&&re!==CHAR_LEFT_SQUARE_BRACKET&&re!==CHAR_RIGHT_SQUARE_BRACKET&&re!==CHAR_LEFT_CURLY_BRACKET&&re!==CHAR_RIGHT_CURLY_BRACKET)&&re!==CHAR_SHARP&&!(ie===CHAR_COLON&&!ue)||isNsCharOrWhitespace(ie)&&!isWhitespace $ 1(ie)&&re===CHAR_SHARP||ie===CHAR_COLON&&ue}__name(isPlainSafe,"isPlainSafe");function isPlainSafeFirst(re){return isPrintable(re)&&re!==CHAR_BOM&&!isWhitespace $ 1(re)&&re!==CHAR_MINUS&&re!==CHAR_QUESTION&&re!==CHAR_COLON&&re!==CHAR_COMMA&&re!==CHAR_LEFT_SQUARE_BRACKET&&re!==CHAR_RIGHT_SQUARE_BRACKET&&re!==CHAR_LEFT_CURLY_BRACKET&&re!==CHAR_RIGHT_CURLY_BRACKET&&re!==CHAR_SHARP&&re!==CHAR_AMPERSAND&&re!==CHAR_ASTERISK&&re!==CHAR_EXCLAMATION&&re!==CHAR_VERTICAL_LINE&&re!==CHAR_EQUALS&&re!==CHAR_GREATER_THAN&&re!==CHAR_SINGLE_QUOTE&&re!==CHAR_DOUBLE_QUOTE&&re!==CHAR_PERCENT&&re!==CHAR_COMMERCIAL_AT&&re!==CHAR_GRAVE_ACCENT}__name(isPlainSafeFirst,"isPlainSafeFirst");function isPlainSafeLast(re){return!isWhitespace $ 1(re)&&re!==CHAR_COLON}__name(isPlainSafeLast,"isPlainSafeLast");function codePointAt(re,ie){var ae=re.charCodeAt(ie),oe;return ae>=55296&&ae<=56319&&ie+1<re.length&&(oe=re.charCodeAt(ie+1),oe>=56320&&oe<=57343)?(ae-55296)*1024+oe-56320+65536:ae}__name(codePointAt,"codePointAt");function needIndentIndicator(re){var ie=/^ \n * /;return ie.test(re)}__name(needIndentIndicator,"needIndentIndicator");var STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;function chooseScalarStyle(re,ie,ae,oe,ue,de,pe,_e){var Ce,Ne=0,Oe=null,Ie=!1,Fe=!1,Ue=oe!==-1,Ve=-1,ze=isPlainSafeFirst(codePointAt(re,0))&&isPlainSafeLast(codePointAt(re,re.length-1));if(ie||pe)for(Ce=0;Ce<re.length;Ne>=65536?Ce+=2:Ce++){if(Ne=codePointAt(re,Ce),!isPrintable(Ne))return STYLE_DOUBLE;ze=ze&&isPlainSafe(Ne,Oe,_e),Oe=Ne}else{for(Ce=0;Ce<re.length;Ne>=65536?Ce+=2:Ce++){if(Ne=codePointAt(re,Ce),Ne===CHAR_LINE_FEED)Ie=!0,Ue&&(Fe=Fe||Ce-Ve-1>oe&&re[Ve+1]!==" ",Ve=Ce);else if(!isPrintable(Ne))return STYLE_DOUBLE;ze=ze&&isPlainSafe(Ne,Oe,_e),Oe=Ne}Fe=Fe||Ue&&Ce-Ve-1>oe&&re[Ve+1]!==" "}return!Ie&&!Fe?ze&&!pe&&!ue(re)?STYLE_PLAIN:de===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:ae>9&&needIndentIndicator(re)?STYLE_DOUBLE:pe?de===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:Fe?STYLE_FOLDED:STYLE_LITERAL}__name(chooseScalarStyle,"chooseScalarStyle");function writeScalar(re,ie,ae,oe,ue){re.dump=function(){if(ie.length===0)return re.quotingType===QUOTING_TYPE_DOUBLE?'""':"''";if(!re.noCompatMode&&(DEPRECATED_BOOLEANS_SYNTAX.indexOf(ie)!==-1||DEPRECATED_BASE60_SYNTAX.test(ie)))return re.quotingType===QUOTING_TYPE_DOUBLE?'"'+ie+'"':"'"+ie+"'";var de=re.indent*Math.max(1,ae),pe=re.lineWidth===-1?-1:Math.max(Math.min(re.lineWidth,40),re.lineWidth-de),_e=oe||re.flowLevel>-1&&ae>=re.flowLevel;function Ce(Ne){return testImplicitResolving(re,Ne)}switch(__name(Ce,"testAmbiguity"),chooseScalarStyle(ie,_e,re.indent,pe,Ce,re.quotingType,re.forceQuotes&&!oe,ue)){case STYLE_PLAIN:return ie;case STYLE_SINGLE:return"'"+ie.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(ie,re.indent)+dropEndingNewline(indentString(ie,de));case STYLE_FOLDED:return">"+blockHeader(ie,re.indent)+dropEndingNewline(indentString(foldString(ie,pe),de));case STYLE_DOUBLE:return'"'+escapeString(ie)+'"';defaul
` ,ue=oe&&(re[re.length-2]=== `
` ||re=== `
` ),de=ue?"+":oe?"":"-";return ae+de+ `
` }__name(blockHeader,"blockHeader");function dropEndingNewline(re){return re[re.length-1]=== `
` ?re.slice(0,-1):re}__name(dropEndingNewline,"dropEndingNewline");function foldString(re,ie){for(var ae=/( \n +)([^ \n ]*)/g,oe=function(){var Ne=re.indexOf( `
` );return Ne=Ne!==-1?Ne:re.length,ae.lastIndex=Ne,foldLine(re.slice(0,Ne),ie)}(),ue=re[0]=== `
` ||re[0]===" ",de,pe;pe=ae.exec(re);){var _e=pe[1],Ce=pe[2];de=Ce[0]===" ",oe+=_e+(!ue&&!de&&Ce!==""? `
` :"")+foldLine(Ce,ie),ue=de}return oe}__name(foldString,"foldString");function foldLine(re,ie){if(re===""||re[0]===" ")return re;for(var ae=/ [^ ]/g,oe,ue=0,de,pe=0,_e=0,Ce="";oe=ae.exec(re);)_e=oe.index,_e-ue>ie&&(de=pe>ue?pe:_e,Ce+= `
` +re.slice(ue,de),ue=de+1),pe=_e;return Ce+= `
` ,re.length-ue>ie&&pe>ue?Ce+=re.slice(ue,pe)+ `
` +re.slice(pe+1):Ce+=re.slice(ue),Ce.slice(1)}__name(foldLine,"foldLine");function escapeString(re){for(var ie="",ae=0,oe,ue=0;ue<re.length;ae>=65536?ue+=2:ue++)ae=codePointAt(re,ue),oe=ESCAPE_SEQUENCES[ae],!oe&&isPrintable(ae)?(ie+=re[ue],ae>=65536&&(ie+=re[ue+1])):ie+=oe||encodeHex(ae);return ie}__name(escapeString,"escapeString");function writeFlowSequence(re,ie,ae){var oe="",ue=re.tag,de,pe,_e;for(de=0,pe=ae.length;de<pe;de+=1)_e=ae[de],re.replacer&&(_e=re.replacer.call(ae,String(de),_e)),(writeNode(re,ie,_e,!1,!1)||typeof _e>"u"&&writeNode(re,ie,null,!1,!1))&&(oe!==""&&(oe+=","+(re.condenseFlow?"":" ")),oe+=re.dump);re.tag=ue,re.dump="["+oe+"]"}__name(writeFlowSequence,"writeFlowSequence");function writeBlockSequence(re,ie,ae,oe){var ue="",de=re.tag,pe,_e,Ce;for(pe=0,_e=ae.length;pe<_e;pe+=1)Ce=ae[pe],re.replacer&&(Ce=re.replacer.call(ae,String(pe),Ce)),(writeNode(re,ie+1,Ce,!0,!0,!1,!0)||typeof Ce>"u"&&writeNode(re,ie+1,null,!0,!0,!1,!0))&&((!oe||ue!=="")&&(ue+=generateNextLine(re,ie)),re.dump&&CHAR_LINE_FEED===re.dump.charCodeAt(0)?ue+="-":ue+="- ",ue+=re.dump);re.tag=de,re.dump=ue||"[]"}__name(writeBlockSequence,"writeBlockSequence");function writeFlowMapping(re,ie,ae){var oe="",ue=re.tag,de=Object.keys(ae),pe,_e,Ce,Ne,Oe;for(pe=0,_e=de.length;pe<_e;pe+=1)Oe="",oe!==""&&(Oe+=", "),re.condenseFlow&&(Oe+='"'),Ce=de[pe],Ne=ae[Ce],re.replacer&&(Ne=re.replacer.call(ae,Ce,Ne)),writeNode(re,ie,Ce,!1,!1)&&(re.dump.length>1024&&(Oe+="? "),Oe+=re.dump+(re.condenseFlow?'"':"")+":"+(re.condenseFlow?"":" "),writeNode(re,ie,Ne,!1,!1)&&(Oe+=re.dump,oe+=Oe));re.tag=ue,re.dump="{"+oe+"}"}__name(writeFlowMapping,"writeFlowMapping");function writeBlockMapping(re,ie,ae,oe){var ue="",de=re.tag,pe=Object.keys(ae),_e,Ce,Ne,Oe,Ie,Fe;if(re.sortKeys===!0)pe.sort();else if(typeof re.sortKeys=="function")pe.sort(re.sortKeys);else if(re.sortKeys)throw new exception("sortKeys must be a boolean or a function");for(_e=0,Ce=pe.length;_e<Ce;_e+=1)Fe="",(!oe||ue!=="")&&(Fe+=generateNextLine(re,ie)),Ne=pe[_e],Oe=ae[Ne],re.replacer&&(Oe=re.replacer.call(ae,Ne,Oe)),writeNode(re,ie+1,Ne,!0,!0,!0)&&(Ie=re.tag!==null&&re.tag!=="?"||re.dump&&re.dump.length>1024,Ie&&(re.dump&&CHAR_LINE_FEED===re.dump.charCodeAt(0)?Fe+="?":Fe+="? "),Fe+=re.dump,Ie&&(Fe+=generateNextLine(re,ie)),writeNode(re,ie+1,Oe,!0,Ie)&&(re.dump&&CHAR_LINE_FEED===re.dump.charCodeAt(0)?Fe+=":":Fe+=": ",Fe+=re.dump,ue+=Fe));re.tag=de,re.dump=ue||"{}"}__name(writeBlockMapping,"writeBlockMapping");function detectType2(re,ie,ae){var oe,ue,de,pe,_e,Ce;for(ue=ae?re.explicitTypes:re.implicitTypes,de=0,pe=ue.length;de<pe;de+=1)if(_e=ue[de],(_e.instanceOf||_e.predicate)&&(!_e.instanceOf||typeof ie=="object"&&ie instanceof _e.instanceOf)&&(!_e.predicate||_e.predicate(ie))){if(ae?_e.multi&&_e.representName?re.tag=_e.representName(ie):re.tag=_e.tag:re.tag="?",_e.represent){if(Ce=re.styleMap[_e.tag]||_e.defaultStyle,_toString.call(_e.represent)==="[object Function]")oe=_e.represent(ie,Ce);else if(_hasOwnProperty.call(_e.represent,Ce))oe=_e.represent[Ce](ie,Ce);else throw new exception("!<"+_e.tag+'> tag resolver accepts not "'+Ce+'" style');re.dump=oe}return!0}return!1}__name(detectType2,"detectType");function writeNode(re,ie,ae,oe,ue,de,pe){re.tag=null,re.dump=ae,detectType2(re,ae,!1)||detectType2(re,ae,!0);var _e=_toString.call(re.dump),Ce=oe,Ne;oe&&(oe=re.flowLevel<0||re.flowLevel>ie);var Oe=_e==="[object Object]"||_e==="[object Array]",Ie,Fe;if(Oe&&(Ie=re.duplicates.indexOf(ae),Fe=Ie!==-1),(re.tag!==null&&re.tag!=="?"||Fe||re.indent!==2&&ie>0)&&(ue=!1),Fe&&re.usedDuplicates[Ie])re.dump="*ref_"+Ie;else{if(Oe&&Fe&&!re.usedDuplicates[Ie]&&(re.usedDuplicates[Ie]=!0),_e==="[object Object]")oe&&Object.keys(re.dump).length!==0?(writeBlockMapping(re,ie,re.dump,ue),Fe&&(re.dump="&ref_"+Ie+re.dump)):(writeFlowMapping(re,ie,re.dump),Fe&&(re.dump="&ref_"+Ie+" "+re.dump));else if(_e==="[object Array]")oe&&re.dump.length!==0?(re.noArrayIndent&&!pe&&ie>0?writeBlockSequence(re,ie-1,re.dump,ue):writeBlockSequence(re,ie,re.dump,ue),Fe&&(re.dump="&ref_"+Ie+re.dump)):(writeFlowSequence(re,ie,re.dump),Fe&&(re.dump="
` :""}__name(dump $ 1,"dump $ 1");function renamed(re,ie){return function(){throw new Error("Function yaml."+re+" is removed in js-yaml 4. Use yaml."+ie+" instead, which is now safe by default.")}}__name(renamed,"renamed");var JSON_SCHEMA=json,load $ 2=loader24.load;function extractFrontMatter(re){const ie=re.match(frontMatterRegex);if(!ie)return{text:re,metadata:{}};let ae=load $ 2(ie[1],{schema:JSON_SCHEMA})??{};ae=typeof ae=="object"&&!Array.isArray(ae)?ae:{};const oe={};return ae.displayMode&&(oe.displayMode=ae.displayMode.toString()),ae.title&&(oe.title=ae.title.toString()),ae.config&&(oe.config=ae.config),{text:re.slice(ie[0].length),metadata:oe}}__name(extractFrontMatter,"extractFrontMatter");var cleanupText=__name(re=>re.replace(/ \r \n ?/g, `
` ).replace(/<( \w +)([^>]*)>/g,(ie,ae,oe)=>"<"+ae+oe.replace(/="([^"]*)"/g,"=' $ 1'")+">"),"cleanupText"),processFrontmatter=__name(re=>{const{text:ie,metadata:ae}=extractFrontMatter(re),{displayMode:oe,title:ue,config:de={}}=ae;return oe&&(de.gantt||(de.gantt={}),de.gantt.displayMode=oe),{title:ue,config:de,text:ie}},"processFrontmatter"),processDirectives=__name(re=>{const ie=utils_default.detectInit(re)??{},ae=utils_default.detectDirective(re,"wrap");return Array.isArray(ae)?ie.wrap=ae.some(({type:oe})=>oe==="wrap"):(ae==null?void 0:ae.type)==="wrap"&&(ie.wrap=!0),{text:removeDirectives(re),directive:ie}},"processDirectives");function preprocessDiagram(re){const ie=cleanupText(re),ae=processFrontmatter(ie),oe=processDirectives(ae.text),ue=cleanAndMerge(ae.config,oe.directive);return re=cleanupComments(oe.text),{code:re,title:ae.title,config:ue}}__name(preprocessDiagram,"preprocessDiagram");function toBase64 $ 1(re){const ie=new TextEncoder().encode(re),ae=Array.from(ie,oe=>String.fromCodePoint(oe)).join("");return btoa(ae)}__name(toBase64 $ 1,"toBase64");var MAX_TEXTLENGTH=5e4,MAX_TEXTLENGTH_EXCEEDED_MSG="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",SECURITY_LVL_SANDBOX="sandbox",SECURITY_LVL_LOOSE="loose",XMLNS_SVG_STD="http://www.w3.org/2000/svg",XMLNS_XLINK_STD="http://www.w3.org/1999/xlink",XMLNS_XHTML_STD="http://www.w3.org/1999/xhtml",IFRAME_WIDTH="100%",IFRAME_HEIGHT="100%",IFRAME_STYLES="border:0;margin:0;",IFRAME_BODY_STYLE="margin:0",IFRAME_SANDBOX_OPTS="allow-top-navigation-by-user-activation allow-popups",IFRAME_NOT_SUPPORTED_MSG='The "iframe" tag is not supported by your browser.',DOMPURIFY_TAGS=["foreignobject"],DOMPURIFY_ATTR=["dominant-baseline"];function processAndSetConfigs(re){const ie=preprocessDiagram(re);return reset(),addDirective(ie.config??{}),ie}__name(processAndSetConfigs,"processAndSetConfigs");async function parse $ 4(re,ie){addDiagrams();try{const{code:ae}=processAndSetConfigs(re);return{diagramType:(await getDiagramFromText(ae)).type}}catch(ae){if(ie!=null&&ie.suppressErrors)return!1;throw ae}}__name(parse $ 4,"parse");var cssImportantStyles=__name((re,ie,ae=[])=> `
. $ { re } $ { ie } { $ { ae . join ( " !important; " ) } ! important ; } ` ,"cssImportantStyles"),createCssStyles=__name((re,ie=new Map)=>{var oe;let ae="";if(re.themeCSS!==void 0&&(ae+= `
$ { re . themeCSS } ` ),re.fontFamily!==void 0&&(ae+= `
: root { -- mermaid - font - family : $ { re . fontFamily } } ` ),re.altFontFamily!==void 0&&(ae+= `
: root { -- mermaid - alt - font - family : $ { re . altFontFamily } } ` ),ie instanceof Map){const _e=re.htmlLabels??((oe=re.flowchart)==null?void 0:oe.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];ie.forEach(Ce=>{isEmpty $ 2(Ce.styles)||_e.forEach(Ne=>{ae+=cssImportantStyles(Ce.id,Ne,Ce.styles)}),isEmpty $ 2(Ce.textStyles)||(ae+=cssImportantStyles(Ce.id,"tspan",((Ce==null?void 0:Ce.textStyles)||[]).map(Ne=>Ne.replace("color","fill"))))})}return ae},"createCssStyles"),createUserStyles=__name((re,ie,ae,oe)=>{const ue=createCssStyles(re,ae),de=styles_default(ie,ue,re.themeVariables);return serialize(compile $ 2( ` $ { oe } { $ { de } } ` ),stringify $ 4)},"createUserStyles"),cleanUpSvgCode=__name((re="",ie,ae)=>{let oe=re;return!ae&&!ie&&(oe=oe.replace(/marker-end="url \( [ \d +./:=?A-Za-z-]*?#/g,'marker-end="url(#')),oe=decodeEntities(oe),oe=oe.replace(/<br>/g,"<br/>"),oe},"cleanUpSvgCode"),putIntoIFrame=__name((re="",ie)=>{var ue,de;const ae=(de=(ue=ie==null?void 0:ie.viewBox)==null?void 0:ue.baseVal)!=null&&de.height?ie.viewBox.baseVal.height+"px":IFRAME_HEIGHT,oe=toBase64 $ 1( ` < body style = "${IFRAME_BODY_STYLE}" > $ { re } < / b o d y > ` ) ; r e t u r n ` < i f r a m e s t y l e = " w i d t h : $ { I F R A M E _ W I D T H } ; h e i g h t : $ { a e } ; $ { I F R A M E _ S T Y L E S } " s r c = " d a t a : t e x t / h t m l ; c h a r s e t = U T F - 8 ; b a s e 6 4 , $ { o e } " s a n d b o x = " $ { I F R A M E _ S A N D B O X _ O P T S } " >
$ { IFRAME _NOT _SUPPORTED _MSG }
< / i f r a m e > ` } , " p u t I n t o I F r a m e " ) , a p p e n d D i v S v g G = _ _ n a m e ( ( r e , i e , a e , o e , u e ) = > { c o n s t d e = r e . a p p e n d ( " d i v " ) ; d e . a t t r ( " i d " , a e ) , o e & & d e . a t t r ( " s t y l e " , o e ) ; c o n s t p e = d e . a p p e n d ( " s v g " ) . a t t r ( " i d " , i e ) . a t t r ( " w i d t h " , " 1 0 0 % " ) . a t t r ( " x m l n s " , X M L N S _ S V G _ S T D ) ; r e t u r n u e & & p e . a t t r ( " x m l n s : x l i n k " , u e ) , p e . a p p e n d ( " g " ) , r e } , " a p p e n d D i v S v g G " ) ; f u n c t i o n s a n d b o x e d I f r a m e ( r e , i e ) { r e t u r n r e . a p p e n d ( " i f r a m e " ) . a t t r ( " i d " , i e ) . a t t r ( " s t y l e " , " w i d t h : 1 0 0 % ; h e i g h t : 1 0 0 % ; " ) . a t t r ( " s a n d b o x " , " " ) } _ _ n a m e ( s a n d b o x e d I f r a m e , " s a n d b o x e d I f r a m e " ) ; v a r r e m o v e E x i s t i n g E l e m e n t s = _ _ n a m e ( ( r e , i e , a e , o e ) = > { v a r u e , d e , p e ; ( u e = r e . g e t E l e m e n t B y I d ( i e ) ) = = n u l l | | u e . r e m o v e ( ) , ( d e = r e . g e t E l e m e n t B y I d ( a e ) ) = = n u l l | | d e . r e m o v e ( ) , ( p e = r e . g e t E l e m e n t B y I d ( o e ) ) = = n u l l | | p e . r e m o v e ( ) } , " r e m o v e E x i s t i n g E l e m e n t s " ) , r e n d e r = _ _ n a m e ( a s y n c f u n c t i o n ( r e , i e , a e ) { v a r d r , f r , _ r , m r , E r , S r ; a d d D i a g r a m s ( ) ; c o n s t o e = p r o c e s s A n d S e t C o n f i g s ( i e ) ; i e = o e . c o d e ; c o n s t u e = g e t C o n f i g $ 1 ( ) ; l o g $ 1 . d e b u g ( u e ) , i e . l e n g t h > ( ( u e = = n u l l ? v o i d 0 : u e . m a x T e x t S i z e ) ? ? M A X _ T E X T L E N G T H ) & & ( i e = M A X _ T E X T L E N G T H _ E X C E E D E D _ M S G ) ; c o n s t d e = " # " + r e , p e = " i " + r e , _ e = " # " + p e , C e = " d " + r e , N e = " # " + C e , O e = _ _ n a m e ( ( ) = > { c o n s t N r = d 3 s e l e c t ( F e ? _ e : N e ) . n o d e ( ) ; N r & & " r e m o v e " i n N r & & N r . r e m o v e ( ) } , " r e m o v e T e m p E l e m e n t s " ) ; l e t I e = d 3 s e l e c t ( " b o d y " ) ; c o n s t F e = u e . s e c u r i t y L e v e l = = = S E C U R I T Y _ L V L _ S A N D B O X , U e = u e . s e c u r i t y L e v e l = = = S E C U R I T Y _ L V L _ L O O S E , V e = u e . f o n t F a m i l y ; i f ( a e ! = = v o i d 0 ) { i f ( a e & & ( a e . i n n e r H T M L = " " ) , F e ) { c o n s t x r = s a n d b o x e d I f r a m e ( d 3 s e l e c t ( a e ) , p e ) ; I e = d 3 s e l e c t ( x r . n o d e s ( ) [ 0 ] . c o n t e n t D o c u m e n t . b o d y ) , I e . n o d e ( ) . s t y l e . m a r g i n = 0 } e l s e I e = d 3 s e l e c t ( a e ) ; a p p e n d D i v S v g G ( I e , r e , C e , ` f o n t - f a m i l y : $ { V e } ` , X M L N S _ X L I N K _ S T D ) } e l s e { i f ( r e m o v e E x i s t i n g E l e m e n t s ( d o c u m e n t , r e , C e , p e ) , F e ) { c o n s t x r = s a n d b o x e d I f r a m e ( d 3 s e l e c t ( " b o d y " ) , p e ) ; I e = d 3 s e l e c t ( x r . n o d e s ( ) [ 0 ] . c o n t e n t D o c u m e n t . b o d y ) , I e . n o d e ( ) . s t y l e . m a r g i n = 0 } e l s e I e = d 3 s e l e c t ( " b o d y " ) ; a p p e n d D i v S v g G ( I e , r e , C e ) } l e t z e , j t ; t r y { z e = a w a i t D i a g r a m . f r o m T e x t ( i e , { t i t l e : o e . t i t l e } ) } c a t c h ( x r ) { i f ( u e . s u p p r e s s E r r o r R e n d e r i n g ) t h r o w O e ( ) , x r ; z e = a w a i t D i a g r a m . f r o m T e x t ( " e r r o r " ) , j t = x r } c o n s t k t = I e . s e l e c t ( N e ) . n o d e ( ) , P t = z e . t y p e , E t = k t . f i r s t C h i l d , e r = E t . f i r s t C h i l d , t r = ( f r = ( d r = z e . r e n d e r e r ) . g e t C l a s s e s ) = = n u l l ? v o i d 0 : f r . c a l l ( d r , i e , z e ) , n r = c r e a t e U s e r S t y l e s ( u e , P t , t r , d e ) , l r = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; l r . i n n e r H T M L = n r , E t . i n s e r t B e f o r e ( l r , e r ) ; t r y { a w a i t z e . r e n d e r e r . d r a w ( i e , r e , v e r s i o n , z e ) } c a t c h ( x r ) { t h r o w u e . s u p p r e s s E r r o r R e n d e r i n g ? O e ( ) : e r r o r R e n d e r e r _ d e f a u l t . d r a w ( i e , r e , v e r s i o n ) , x r } c o n s t c r = I e . s e l e c t ( ` $ { N e } s v g ` ) , i r = ( m r = ( _ r = z e . d b ) . g e t A c c T i t l e ) = = n u l l ? v o i d 0 : m r . c a l l ( _ r ) , a r = ( S r = ( E r = z e . d b ) . g e t A c c D e s c r i p t i o n ) = = n u l l ? v o i d 0 : S r . c a l l ( E r ) ; a d d A 1 1 y I n f o ( P t , c r , i r , a r ) , I e . s e l e c t ( ` [ i d = " $ { r e } " ] ` ) . s e l e c t A l l ( " f o r e i g n o b j e c t > * " ) . a t t r ( " x m l n s " , X M L N S _ X H T M L _ S T D ) ; l e t s r = I e . s e l e c t ( N e ) . n o d e ( ) . i n n e r H T M L ; i f ( l o g $ 1 . d e b u g ( " c o n f i g . a r r o w M a r k e r A b s o l u t e " , u e . a r r o w M a r k e r A b s o l u t e ) , s r = c l e a n U p S v g C o d e ( s r , F e , e v a l u a t e ( u e . a r r o w M a r k e r A b s o l u t e ) ) , F e ) { c o n s t x r = I e . s e l e c t ( N e + " s v g " ) . n o d e ( ) ; s r = p u t I n t o I F r a m e ( s r , x r ) } e l s e U e | | ( s r = p u r i f y . s a n i t i z e ( s r , { A D D _ T A G S : D O M P U R I F Y _ T A G S , A D D _ A T T R : D O M P U R I F Y _ A T T R } ) ) ; i f ( a t t a c h F u n c t i o n s ( ) , j t ) t h r o w j t ; r e t u r n O e ( ) , { d i a g r a m T y p e : P t , s v g : s r , b i n d F u n c t i o n s : z e . d b . b i n d F u n c t i o n s } } , " r e n d e r " ) ; f u n c t i o n i n i t i a l i z e ( r e = { } ) { v a r o e ; c o n s t i e = a s s i g n W i t h D e p t h _ d e f a u l t ( { } , r e ) ; i e ! = n u l l & & i e . f o n t F a m i l y & & ! ( ( o e = i e . t h e m e V a r i a b l e s ) ! = n u l l & & o e . f o n t F a m i l y ) & & ( i e . t h e m e V a r i a b l e s | | ( i e . t h e m e V a r i a b l e s = { } ) , i e . t h e m e V a r i a b l e s . f o n t F a m i l y = i e . f o n t F a m i l y ) , s a v e C o n f i g F r o m I n i t i a l i z e ( i e ) , i e ! = n u l l & & i e . t h e m e & & i e . t h e m e i n t h e m e s _ d e f a u l t ? i e . t h e m e V a r i a b l e s = t h e m e s _ d e f a u l t [ i e . t h e m e ] . g e t T h e m e V a r i a b l e s ( i e . t h e m e V a r i a b l e s ) : i e & & ( i e . t h e m e V a r i a b l e s = t h e m e s _ d e f a u l t . d e f a u l t . g e t T h e m e V a r i a b l e s ( i e . t h e m e V a r i a b l e s ) ) ; c o n s t a e = t y p e o f i e = = " o b j e c t " ? s e t S i t e C o n f i g ( i e ) : g e t S i t e C o n f i g ( ) ; s e t L o g L e v e l ( a e . l o g L e v e l ) , a d d D i a g r a m s ( ) } _ _ n a m e ( i n i t i a l i z e , " i n i t i a l i z e " ) ; v a r g e t D i a g r a m F r o m T e x t = _ _ n a m e ( ( r e , i e = { } ) = > { c o n s t { c o d e : a e } = p r e p r o c e s s D i a g r a m ( r e ) ; r e t u r n D i a g r a m . f r o m T e x t ( a e , i e ) } , " g e t D i a g r a m F r o m T e x t " ) ; f u n c t i o n a d d A 1 1 y I n f o ( r e , i e , a e , o e ) { s e t A 1 1 y D i a g r a m I n f o ( i e , r e ) , a d d S V G a 1 1 y T i t l e D e s c r i p t i o n ( i e , a e , o e , i e . a t t r ( " i d " ) ) } _ _ n a m e ( a d d A 1 1 y I n f o , " a d d A 1 1 y I n f o " ) ; v a r m e r m a i d A P I = O b j e c t . f r e e z e ( { r e n d e r , p a r s e : p a r s e $ 4 , g e t D i a g r a m F r o m T e x t , i n i t i a l i z e , g e t C o n f i g : g e t C o n f i g $ 1 , s e t C o n f i g , g e t S i t e C o n f i g , u p d a t e S i t e C o n f i g , r e s e t : _ _ n a m e ( ( ) = > { r e s e t ( ) } , " r e s e t " ) , g l o b a l R e s e t : _ _ n a m e ( ( ) = > { r e s e t ( d e f a u l t C o n f i g ) } , " g l o b a l R e s e t " ) , d e f a u l t C o n f i g } ) ; s e t L o g L e v
* Wait for document loaded before starting the execution
* //*! Bundled license information:
js - yaml / dist / js - yaml . mjs :
( * ! js - yaml 4.1 . 0 https : //github.com/nodeca/js-yaml @license MIT *)
* /marked$1.use(markedKatex({throwOnError:!1,output:"html",nonStandard:!0}));class WxRenderer extends _Renderer$1{constructor(ae){super();Hu(this,"reset",()=>{this.footnotes=[],this.footnoteIndex=0});Hu(this,"merge",(ae,oe)=>({...ae,...oe}));Hu(this,"buildTheme",ae=>{const oe=this.merge(ae.BASE,{"font-family":this.opts.fonts,"font-size":this.opts.size});return{...Object.fromEntries(Object.entries(ae.inline).map(([de,pe])=>[de,this.merge(oe,pe)])),...Object.fromEntries(Object.entries(ae.block).map(([de,pe])=>[de,this.merge(oe,pe)]))}});Hu(this,"getStyles",(ae,oe="")=>{const ue=this.styleMapping[ae];return ue?`style="${Object.entries(ue).map(([pe,_e])=>`${pe}:${_e}`).join(";")}${oe}"`:""});Hu(this,"styledContent",(ae,oe,ue=ae)=>`<${ue} ${this.getStyles(ae)}>${oe}</ $ { ue } > ` );Hu(this,"addFootnote",(ae,oe)=>(this.footnotes.push([++this.footnoteIndex,ae,oe]),this.footnoteIndex));Hu(this,"buildFootnotes",()=>{if(!this.footnotes.length)return"";const ae=this.footnotes.map(([oe,ue,de])=>de===ue? ` < code style = "font-size: 90%; opacity: 0.6;" > [ $ { oe } ] < /code>: <i style="word-break: break-all">${ue}</i > < br / > ` : ` < code style = "font-size: 90%; opacity: 0.6;" > [ $ { oe } ] < /code> ${ue}: <i style="word-break: break-all">${de}</i > < br / > ` ).join( `
` );return this.styledContent("h4","引用链接")+this.styledContent("footnotes",ae,"p")});Hu(this,"buildAddition",()=> `
< style >
. preview - wrapper pre : : before {
position : absolute ;
top : 0 ;
right : 0 ;
color : # ccc ;
text - align : center ;
font - size : 0.8 em ;
padding : 5 px 10 px 0 ;
line - height : 15 px ;
height : 15 px ;
font - weight : 600 ;
}
< / s t y l e >
2024-08-29 16:46:41 +08:00
` );Hu(this,"setOptions",ae=>{this.opts=this.merge(this.opts,ae),this.styleMapping=this.buildTheme(this.opts.theme)});Hu(this,"codeIndex",0);this.opts=ae,this.footnotes=[],this.footnoteIndex=0,this.styleMapping=this.buildTheme(ae.theme)}heading({tokens:ae,depth:oe}){const ue=this.parser.parseInline(ae),de= ` h$ { oe } ` ;return this.styledContent(de,ue)}paragraph({tokens:ae}){const oe=this.parser.parseInline(ae),ue=oe.includes("<figure")&&oe.includes("<img"),de=oe.trim()==="";return ue||de?oe:this.styledContent("p",oe)}blockquote({tokens:ae}){let oe=this.parser.parse(ae);return oe=oe.replace(/<p.*?>/g, ` < p $ { this . getStyles ( "blockquote_p" ) } > ` ),this.styledContent("blockquote",oe)}code({text:ae,lang:oe}){if(oe.startsWith("mermaid"))return clearTimeout(this.codeIndex),this.codeIndex=setTimeout(()=>{mermaid_default.run()},0), ` < pre class = "mermaid" > $ { ae } < /pre>`;const ue=oe.split(" ")[0],de=HighlightJS.getLanguage(ue)?ue:"plaintext";let pe=HighlightJS.highlight(ae,{language:de}).value;return pe=pe.replace(/ \ r \ n / g , "<br/>" ) . replace ( /\n/g , "<br/>" ) . replace ( /(>[^<]+)|(^[^<]+)/g , _e => _e . replace ( /\s/g , " " ) ) , ` <pre class="hljs code__pre" ${ this . getStyles ( "code_pre" ) } ><code class="language- ${ oe } " ${ this . getStyles ( "code" ) } > ${ pe } </code></pre> ` } codespan ( { text : ae } ) { return this . styledContent ( "codespan" , ae , "code" ) } listitem ( ae , oe ) { return ` <li ${ this . getStyles ( "listitem" ) } > ${ oe } ${ this . parser . parseInline ( ae ) } </li> ` } list ( { ordered : ae , items : oe } ) { const ue = [ ] ; for ( let pe = 0 ; pe < oe . length ; pe ++ ) { const { tokens : _e } = oe [ pe ] , Ce = ae ? ` ${ pe + 1 } . ` : "• " ; for ( const Ne of _e ) Ne . type === "list" ? ue . push ( this . list ( Ne ) ) : Ne . type !== "space" && ue . push ( this . listitem ( [ Ne ] , Ce ) ) } const de = ae ? "ol" : "ul" ; return this . styledContent ( de , ue . join ( "" ) ) } image ( { href : ae , title : oe , text : ue } ) { const de = Oe => Oe ? ` <figcaption ${ this . getStyles ( "figcaption" ) } > ${ Oe } </figcaption> ` : "" , pe = { alt : ( ) => ue , title : ( ) => oe , "alt-title" : ( ) => ue || oe , "title-alt" : ( ) => oe || ue } [ this . opts . legend ] || ( ( ) => "" ) , _e = de ( pe ( ) ) , Ce = this . getStyles ( "figure" ) , Ne = this . getStyles ( "image" ) ; return ` <figure ${ Ce } ><img ${ Ne } src=" ${ ae } " title=" ${ oe } " alt=" ${ ue } "/> ${ _e } </figure> ` } link ( { href : ae , title : oe , text : ue } ) { if ( ae . startsWith ( "https://mp.weixin.qq.com" ) ) return ` <a href=" ${ ae } " title=" ${ oe || ue } " ${ this . getStyles ( "wx_link" ) } > ${ ue } </a> ` ; if ( ae === ue ) return ue ; if ( this . opts . status ) { const de = this . addFootnote ( oe || ue , ae ) ; return ` <span ${ this . getStyles ( "link" ) } > ${ ue } <sup>[ ${ de } ]</sup></span> ` } return this . styledContent ( "link" , ue , "span" ) } strong ( { text : ae } ) { return this . styledContent ( "strong" , ae ) } em ( { text : ae } ) { return ` <span style="font-style: italic;"> ${ ae } </span> ` } table ( { header : ae , rows : oe } ) { const ue = ae . map ( pe => this . styledContent ( "td" , pe . text ) ) . join ( "" ) , de = oe . map ( pe => { const _e = pe . map ( Ce => this . styledContent ( "td" , Ce . text ) ) . join ( "" ) ; return this . styledContent ( "tr" , _e ) } ) . join ( "" ) ; return `
2024-08-27 22:31:52 +08:00
< section style = "padding:0 8px;" >
< table class = "preview-table" >
< thead $ { this . getStyles ( "thead" ) } > $ { ue } < / t h e a d >
< tbody > $ { de } < / t b o d y >
< / t a b l e >
< / s e c t i o n > ` } t a b l e c e l l ( { t e x t : a e } ) { r e t u r n t h i s . s t y l e d C o n t e n t ( " t d " , a e ) } h r ( a e ) { r e t u r n t h i s . s t y l e d C o n t e n t ( " h r " , " " ) } } c o n s t D E F A U L T _ C O N T E N T = ` # 示 例 文 章 : G o o g l e 搜 索 的 即 时 自 动 补 全 功 能 究 竟 是 如 何 “ 工 作 ” 的 ?
> Google 搜索 * * 自动补全功能 * * 的强大 , 相信不少朋友都能感受到 , 它帮助我们更快地 “ 补全 ” 我们所要输入的搜索关键字 。 那么 , 它怎么知道我们要输入什么内容 ? 它又是如何工作的 ? 在这篇文章里 , 我们一起来看看 。
# # 使用自动补全
Google 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用 , 包括 [ Google ] ( https : //www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。
! [ ] ( https : //cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303019705-c161ce00-d245-446a-b81c-42ec91474a40.gif)
在上图示例中 , 我们可以看到 , 输入关键字 \ ` juej \` , Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。
谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用 , 用户可以轻松在难以键入的小屏幕上完成搜索 。 当然 , 对于移动设备用户和台式机用户而言 , 这都节省了大量的时间 。 根据 Google 官方报告 , 自动补全功能可以减少大约 25 % 的打字 , 累积起来 , 预计每天可以节省 200 多年的打字时间 。 是的 , 每天 !
> 注意 , 本文所提到的 “ * * 联想词 * * ” 与 “ * * 预测 * * ” , 是同一个意思 。
# # 基于 “ 预测 ” 而非 “ 建议 ”
Google 官方将自动补全功能称之为 “ 预测 ” , 而不是 “ 建议 ” , 为什么呢 ? 其实是有充分理由的 。 自动补全功能是为了 * * 帮助用户完成他们打算进行的搜索 * * , 而不是建议用户要执行什么搜索 。
那么 , Google 是如何确定这些 “ 预测 ” 的 ? 其实 , Google 会根据趋势搜索 [ trends ] ( https : //trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。
另外 , 这些 “ 预测 ” 也会随着我们键入的关键字的变更而更改 。 例如 , 当我们把键入的关键字从 \ ` juej \` 更改为 \` juex \` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。
! [ ] ( https : //cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303068169-386a99cb-143b-4ded-a859-1b7a4c4b5bd3.gif)
# # 为什么看不到某些联想词 ?
如果我们在输入某个关键字时看不到联想词 , 那么表明 Google 的算法可能检测到 :
- 这个关键字不是热门字词 ;
- 搜索的字词太新了 , 我们可能需要等待几天或几周才能看到联想词 ;
- 这是一个侮辱性或敏感字词 , 这个搜索字词违反了 Google 的相关政策 。 更加详细的情况 , 可以了解 [ Google 搜索自动补全政策 ] ( https : //support.google.com/websearch/answer/7368877)。
# # 为什么会看到某些不当的联想词 ?
Google 拥有专门设计的系统 , 可以自动捕获不适当的预测结果而不显示出来 。 然而 , Google 每天需要处理数十亿次搜索 , 这意味着 Google 每天会显示数十亿甚至上百亿条预测 。 再好的系统 , 也可能存在缺陷 , 不正确的预测也可能随时会出现 。
我们作为 Google 搜索的用户 , 如果认定某条预测违反了相关的搜索自动补全政策 , 可以进行举报反馈 , 点击右下角 “ * * 举报不当的联想查询 * * ” 并勾选相关选项即可 。
! [ ] ( https : //cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303098026-cac215dc-42c9-462a-a359-dcfb12ed3234.gif)
# # 如何实现自动补全算法 ?
目前 , Google 官方似乎并没有公开搜索自动补全的算法实现 , 但是业界在这方面已经有了不少研究 。
一个好的自动补全器必须是快速的 , 并且在用户键入下一个字符后立即更新联想词列表 。 * * 自动补全器的核心是一个函数 , 它接受输入的前缀 , 并搜索以给定前缀开头的词汇或语句列表 * * 。 通常来说 , 只需要返回少量的数目即可 。
接下来 , 我们先从一个简单且低效的实现开始 , 并在此基础上逐步构建更高效的方法 。
# # # 词汇表实现
一个 * * 简单粗暴的实现方式 * * 是 : 顺序查找词汇表 , 依次检查每个词汇 , 看它是否以给定的前缀开头 。
但是 , 此方法需要将前缀与每个词汇进行匹配检查 , 若词汇量较少 , 这种方式可能勉强行得通 。 但是 , 如果词汇量规模较大 , 效率就太低了 。
一个 * * 更好的实现方式是 * * : 让词汇按字典顺序排序 。 借助二分搜索算法 , 可以快速搜索有序词汇表中的前缀 。 由于二分搜索的每一步都会将搜索的范围减半 , 因此 , 总的搜索时间与词汇表中单词数量的对数成正比 , 即时间复杂度是 \ ` O(log N) \` 。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。
# # # 前缀树实现
通常来说 , 许多词汇都以相同的前缀开头 , 比如 \ ` need \` 、 \` nested \` 都以 \` ne \` 开头, \` seed \` 、 \` speed \` 都以 \` s \` 开头。要是为每个单词分别存储公共前缀似乎很浪费。
! [ ] ( https : //cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303128008-93cf798d-2662-4eec-8f80-2e07436aebfe.png)
前缀树是一种利用公共前缀来加速补全速度的数据结构 。 前缀树在节点树中排列一组单词 , 单词沿着从根节点到叶子节点的路径存储 , 树的层次对应于前缀的字母位置 。
前缀的补全是顺着前缀定义的路径来查找的 。 例如 , 在上图的前缀树中 , 前缀 \ ` ne \` 对应于从子节点取左边缘 \` N \` 和唯一边缘 \` E \` 的路径。然后可以通过继续遍历从 \` E \` 节点可以达到的所有叶节点来生成补全列表。在图中, \` ne \` 的补全可以是两个分支: \` -ed \` 和 \` -sted \` 。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。
# # # 有限状态自动机 ( DFA ) 实现
前缀树可以有效处理公共前缀 , 但是 , 对于其他共享词部分 , 仍会分别存储在每个分支中 。 比如 , 后缀 \ ` ed \` 、 \` ing \` 、 \` tion \` 在英文单词中特别常见。在上一个例子中, \` e \` 、 \` d \` 分别存放在了每一个分支上。
有没有一种方法可以更加节省存储空间呢 ? 有的 , 那就是 DFA 。
< center >
< img src = "https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303158478-66a96e2d-6424-43d6-8cb3-2f7a39f960b8.gif" style = "width: 50%;" > < / c e n t e r >
在上面的例子中 , 单词 \ ` need \` 、 \` nested \` 、 \` seed \` 和 \` speed \` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。
可以看出 , 最小化前缀树 DFA 可以在很大程度上减少数据结构的大小 。 即使词汇量很大 , 最小化 DFA 通常也适合在内存中存储 , 避免昂贵的磁盘访问是实现快速自动补全的关键 。
# # # 一些扩展
上面介绍了如何利用合理的数据结构实现基本的自动补全功能 。 这些数据结构可以通过多种方式进行扩展 , 从而改善用户体验 。
通常 , 满足特定前缀的词汇可能很多 , 而用户界面上能够显示的却不多 , 我们更希望能显示最常搜索或者最有价值的词汇 。 这通常可以通过为词汇表中的每个单词增加一个代表单词值的 * * 权重 * * \ ` weight \` ,并且按照权重高低来排序自动补全列表。
- 对于排序后的词汇表来说 , 在词汇表每个元素上增加 \ ` weight \` 属性并不难;
- 对于前缀树来说 , 将 \ ` weight \` 存储在叶子节点中,也是很简单的一个实现;
- 对于 \ ` DFA \` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。
目前有不少开源库都提供了这个功能 , 比如主流的搜索引擎框架 [ Elasticsearch ] ( https : //www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。
# # # # 推荐阅读
- [ 阿里又一个 20 k + stars 开源项目诞生 , 恭喜 fastjson ! ] ( https : //mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)
- [ 刷掉 90 % 候选人的互联网大厂海量数据面试题 ( 附题解 + 方法总结 ) ] ( https : //mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)
- [ 好用 ! 期待已久的文本块功能究竟如何在 Java 13 中发挥作用 ? ] ( https : //mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)
- [ 2019 GitHub 开源贡献排行榜新鲜出炉 ! 微软谷歌领头 , 阿里跻身前 12 ! ] ( https : //mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)
-- -
欢迎关注我的公众号 “ * * Doocs * * ” , 原创技术文章第一时间推送 。
< center >
< img src = "https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png" style = "width: 100px;" >
< / c e n t e r >
2024-08-29 15:49:09 +08:00
` ,DEFAULT_CSS_CONTENT= ` / * *
* 按 Alt / Option + Shift + F 可格式化
* 如需使用主题色 , 请使用 var ( -- md - primary - color ) 代替颜色值
* 如 : color : var ( -- md - primary - color ) ;
*
* 召集令 : 如果你有好看的主题样式 , 欢迎分享 , 让更多人能够使用到你的主题 。
* 提交区 : https : //github.com/doocs/md/issues/363
* /
2024-08-27 22:31:52 +08:00
/* 一级标题样式 */
h1 {
}
/* 二级标题样式 */
h2 {
}
/* 三级标题样式 */
h3 {
}
/* 四级标题样式 */
h4 {
}
/* 图片样式 */
image {
}
/* 引用样式 */
blockquote {
}
/* 引用段落样式 */
blockquote _p {
}
/* 段落样式 */
p {
}
/* 分割线样式 */
hr {
}
/* 行内代码样式 */
codespan {
}
/* 粗体样式 */
strong {
}
/* 链接样式 */
link {
}
/* 微信链接样式 */
wx _link {
}
/* 有序列表样式 */
ol {
}
/* 无序列表样式 */
ul {
}
/* 列表项样式 */
li {
}
/* 代码块样式 */
code {
}
` ;var cheerio $ 2={exports:{}},lib $ d={},extendStatics=function(re,ie){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var ue in oe)Object.prototype.hasOwnProperty.call(oe,ue)&&(ae[ue]=oe[ue])},extendStatics(re,ie)};function __extends $ 4(re,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(re,ie);function ae(){this.constructor=re}re.prototype=ie===null?Object.create(ie):(ae.prototype=ie.prototype,new ae)}var __assign $ 7=function(){return __assign $ 7=Object.assign||function(ie){for(var ae,oe=1,ue=arguments.length;oe<ue;oe++){ae=arguments[oe];for(var de in ae)Object.prototype.hasOwnProperty.call(ae,de)&&(ie[de]=ae[de])}return ie},__assign $ 7.apply(this,arguments)};function __rest $ 1(re,ie){var ae={};for(var oe in re)Object.prototype.hasOwnProperty.call(re,oe)&&ie.indexOf(oe)<0&&(ae[oe]=re[oe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,oe=Object.getOwnPropertySymbols(re);ue<oe.length;ue++)ie.indexOf(oe[ue])<0&&Object.prototype.propertyIsEnumerable.call(re,oe[ue])&&(ae[oe[ue]]=re[oe[ue]]);return ae}function __decorate(re,ie,ae,oe){var ue=arguments.length,de=ue<3?ie:oe===null?oe=Object.getOwnPropertyDescriptor(ie,ae):oe,pe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")de=Reflect.decorate(re,ie,ae,oe);else for(var _e=re.length-1;_e>=0;_e--)(pe=re[_e])&&(de=(ue<3?pe(de):ue>3?pe(ie,ae,de):pe(ie,ae))||de);return ue>3&&de&&Object.defineProperty(ie,ae,de),de}function __param(re,ie){return function(ae,oe){ie(ae,oe,re)}}function __esDecorate(re,ie,ae,oe,ue,de){function pe(kt){if(kt!==void 0&&typeof kt!="function")throw new TypeError("Function expected");return kt}for(var _e=oe.kind,Ce=_e==="getter"?"get":_e==="setter"?"set":"value",Ne=!ie&&re?oe.static?re:re.prototype:null,Oe=ie||(Ne?Object.getOwnPropertyDescriptor(Ne,oe.name):{}),Ie,Fe=!1,Ue=ae.length-1;Ue>=0;Ue--){var Ve={};for(var ze in oe)Ve[ze]=ze==="access"?{}:oe[ze];for(var ze in oe.access)Ve.access[ze]=oe.access[ze];Ve.addInitializer=function(kt){if(Fe)throw new TypeError("Cannot add initializers after decoration has completed");de.push(pe(kt||null))};var jt=(0,ae[Ue])(_e==="accessor"?{get:Oe.get,set:Oe.set}:Oe[Ce],Ve);if(_e==="accessor"){if(jt===void 0)continue;if(jt===null||typeof jt!="object")throw new TypeError("Object expected");(Ie=pe(jt.get))&&(Oe.get=Ie),(Ie=pe(jt.set))&&(Oe.set=Ie),(Ie=pe(jt.init))&&ue.unshift(Ie)}else(Ie=pe(jt))&&(_e==="field"?ue.unshift(Ie):Oe[Ce]=Ie)}Ne&&Object.defineProperty(Ne,oe.name,Oe),Fe=!0}function __runInitializers(re,ie,ae){for(var oe=arguments.length>2,ue=0;ue<ie.length;ue++)ae=oe?ie[ue].call(re,ae):ie[ue].call(re);return oe?ae:void 0}function __propKey(re){return typeof re=="symbol"?re:"".concat(re)}function __setFunctionName(re,ie,ae){return typeof ie=="symbol"&&(ie=ie.description?"[".concat(ie.description,"]"):""),Object.defineProperty(re,"name",{configurable:!0,value:ae?"".concat(ae," ",ie):ie})}function __metadata(re,ie){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(re,ie)}function __awaiter $ 8(re,ie,ae,oe){function ue(de){return de instanceof ae?de:new ae(function(pe){pe(de)})}return new(ae||(ae=Promise))(function(de,pe){function _e(Oe){try{Ne(oe.next(Oe))}catch(Ie){pe(Ie)}}function Ce(Oe){try{Ne(oe.throw(Oe))}catch(Ie){pe(Ie)}}function Ne(Oe){Oe.done?de(Oe.value):ue(Oe.value).then(_e,Ce)}Ne((oe=oe.apply(re,ie||[])).next())})}function __generator $ 8(re,ie){var ae={label:0,sent:function(){if(de[0]&1)throw de[1];return de[1]},trys:[],ops:[]},oe,ue,de,pe=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return pe.next=_e(0),pe.throw=_e(1),pe.return=_e(2),typeof Symbol=="function"&&(pe[Symbol.iterator]=function(){return this}),pe;function _e(Ne){return function(Oe){return Ce([Ne,Oe])}}function Ce(Ne){if(oe)throw new TypeError("Generator is already executing.");for(;pe&&(pe=0,Ne[0]&&(ae=0)),ae;)try{if(oe=1,ue&&(de=Ne[0]&2?ue.return:Ne[0]?ue.throw||((de=ue.return)
` ,nexist $ 1="∄",nexists $ 1="∄",Nfr $ 1="𝔑 ",nfr $ 1="𝔫 ",ngE $ 1="≧̸",nge $ 1="≱",ngeq $ 1="≱",ngeqq $ 1="≧̸",ngeqslant $ 1="⩾̸",nges $ 1="⩾̸",nGg $ 1="⋙̸",ngsim $ 1="≵",nGt $ 1="≫⃒",ngt $ 1="≯",ngtr $ 1="≯",nGtv $ 1="≫̸",nharr $ 1="↮",nhArr $ 1="⇎",nhpar $ 1="⫲",ni $ 2="∋",nis $ 1="⋼",nisd $ 1="⋺",niv $ 1="∋",NJcy $ 1="Њ",njcy $ 1="њ",nlarr $ 1="↚",nlArr $ 1="⇍",nldr $ 1="‥",nlE $ 1="≦̸",nle $ 1="≰",nleftarrow $ 1="↚",nLeftarrow $ 1="⇍",nleftrightarrow $ 1="↮",nLeftrightarrow $ 1="⇎",nleq $ 1="≰",nleqq $ 1="≦̸",nleqslant $ 1="⩽̸",nles $ 1="⩽̸",nless $ 1="≮",nLl $ 1="⋘̸",nlsim $ 1="≴",nLt $ 1="≪⃒",nlt $ 1="≮",nltri $ 1="⋪",nltrie $ 1="⋬",nLtv $ 1="≪̸",nmid $ 1="∤",NoBreak $ 1=" ",NonBreakingSpace $ 1=" ",nopf $ 1="𝕟 ",Nopf $ 1="ℕ ",Not $ 1="⫬",not $ 3="¬",NotCongruent $ 1="≢",NotCupCap $ 1="≭",NotDoubleVerticalBar $ 1="∦",NotElement $ 1="∉",NotEqual $ 1="≠",NotEqualTilde $ 1="≂̸",NotExists $ 1="∄",NotGreater $ 1="≯",NotGreaterEqual $ 1="≱",NotGreaterFullEqual $ 1="≧̸",NotGreaterGreater $ 1="≫̸",NotGreaterLess $ 1="≹",NotGreaterSlantEqual $ 1="⩾̸",NotGreaterTilde $ 1="≵",NotHumpDownHump $ 1="≎̸",NotHumpEqual $ 1="≏̸",notin $ 1="∉",notindot $ 1="⋵̸",notinE $ 1="⋹̸",notinva $ 1="∉",notinvb $ 1="⋷",notinvc $ 1="⋶",NotLeftTriangleBar $ 1="⧏̸",NotLeftTriangle $ 1="⋪",NotLeftTriangleEqual $ 1="⋬",NotLess $ 1="≮",NotLessEqual $ 1="≰",NotLessGreater $ 1="≸",NotLessLess $ 1="≪̸",NotLessSlantEqual $ 1="⩽̸",NotLessTilde $ 1="≴",NotNestedGreaterGreater $ 1="⪢̸",NotNestedLessLess $ 1="⪡̸",notni $ 1="∌",notniva $ 1="∌",notnivb $ 1="⋾",notnivc $ 1="⋽",NotPrecedes $ 1="⊀",NotPrecedesEqual $ 1="⪯̸",NotPrecedesSlantEqual $ 1="⋠",NotReverseElement $ 1="∌",NotRightTriangleBar $ 1="⧐̸",NotRightTriangle $ 1="⋫",NotRightTriangleEqual $ 1="⋭",NotSquareSubset $ 1="⊏̸",NotSquareSubsetEqual $ 1="⋢",NotSquareSuperset $ 1="⊐̸",NotSquareSupersetEqual $ 1="⋣",NotSubset $ 1="⊂⃒",NotSubsetEqual $ 1="⊈",NotSucceeds $ 1="⊁",NotSucceedsEqual $ 1="⪰̸",NotSucceedsSlantEqual $ 1="⋡",NotSucceedsTilde $ 1="≿̸",NotSuperset $ 1="⊃⃒",NotSupersetEqual $ 1="⊉",NotTilde $ 1="≁",NotTildeEqual $ 1="≄",NotTildeFullEqual $ 1="≇",NotTildeTilde $ 1="≉",NotVerticalBar $ 1="∤",nparallel $ 1="∦",npar $ 1="∦",nparsl $ 1="⫽⃥",npart $ 1="∂̸",npolint $ 1="⨔",npr $ 1="⊀",nprcue $ 1="⋠",nprec $ 1="⊀",npreceq $ 1="⪯̸",npre $ 1="⪯̸",nrarrc $ 1="⤳̸",nrarr $ 1="↛",nrArr $ 1="⇏",nrarrw $ 1="↝̸",nrightarrow $ 1="↛",nRightarrow $ 1="⇏",nrtri $ 1="⋫",nrtrie $ 1="⋭",nsc $ 1="⊁",nsccue $ 1="⋡",nsce $ 1="⪰̸",Nscr $ 1="𝒩 ",nscr $ 1="𝓃 ",nshortmid $ 1="∤",nshortparallel $ 1="∦",nsim $ 1="≁",nsime $ 1="≄",nsimeq $ 1="≄",nsmid $ 1="∤",nspar $ 1="∦",nsqsube $ 1="⋢",nsqsupe $ 1="⋣",nsub $ 1="⊄",nsubE $ 1="⫅̸",nsube $ 1="⊈",nsubset $ 1="⊂⃒",nsubseteq $ 1="⊈",nsubseteqq $ 1="⫅̸",nsucc $ 1="⊁",nsucceq $ 1="⪰̸",nsup $ 1="⊅",nsupE $ 1="⫆̸",nsupe $ 1="⊉",nsupset $ 1="⊃⃒",nsupseteq $ 1="⊉",nsupseteqq $ 1="⫆̸",ntgl $ 1="≹",Ntilde $ 3="Ñ",ntilde $ 3="ñ",ntlg $ 1="≸",ntriangleleft $ 1="⋪",ntrianglelefteq $ 1="⋬",ntriangleright $ 1="⋫",ntrianglerighteq $ 1="⋭",Nu $ 1="Ν ",nu $ 2="ν ",num $ 1="#",numero $ 1="№",numsp $ 1=" ",nvap $ 1="≍⃒",nvdash $ 1="⊬",nvDash $ 1="⊭",nVdash $ 1="⊮",nVDash $ 1="⊯",nvge $ 1="≥⃒",nvgt $ 1=">⃒",nvHarr $ 1="⤄",nvinfin $ 1="⧞",nvlArr $ 1="⤂",nvle $ 1="≤⃒",nvlt $ 1="<⃒",nvltrie $ 1="⊴⃒",nvrArr $ 1="⤃",nvrtrie $ 1="⊵⃒",nvsim $ 1="∼⃒",nwarhk $ 1="⤣",nwarr $ 1="↖",nwArr $ 1="⇖",nwarrow $ 1="↖",nwnear $ 1="⤧",Oacute $ 3="Ó",oacute $ 3="ó",oast $ 1="⊛",Ocirc $ 3="Ô",ocirc $ 3="ô",ocir $ 1="⊚",Ocy $ 1="О ",ocy $ 1="о ",odash $ 1="⊝",Odblac $ 1="Ő",odblac $ 1="ő",odiv $ 1="⨸",odot $ 1="⊙",odsold $ 1="⦼",OElig $ 1="Œ",oelig $ 1="œ",ofcir $ 1="⦿",Ofr $ 1="𝔒 ",ofr $ 1="𝔬 ",ogon $ 1="˛ ",Ograve $ 3="Ò",ograve $ 3="ò",ogt $ 1="⧁",ohbar $ 1="⦵",ohm $ 1="Ω",oint $ 1="∮",olarr $ 1="↺",olcir $ 1="⦾",olcross $ 1="⦻",oline $ 1="‾",olt $ 1="⧀",Omacr $ 1="Ō",omacr $ 1="ō",Omega $ 1="Ω",omega $ 1="ω",Omicron $ 1="Ο ",omicron $ 1="ο ",omid $ 1="⦶",ominus $ 1="⊖",Oopf $ 1="𝕆 ",oopf $ 1="𝕠 ",opar $ 1="⦷",OpenCurlyDoubleQuote $ 1="“",OpenCurlyQuote $ 1="‘ ",operp $ 1="⦹",oplus
` :pe(Ne.children):(0,ie.isCDATA)(Ne)?pe(Ne.children):(0,ie.isText)(Ne)?Ne.data:""}stringify $ 2.getText=pe;function _e(Ne){return Array.isArray(Ne)?Ne.map(_e).join(""):(0,ie.hasChildren)(Ne)&&!(0,ie.isComment)(Ne)?_e(Ne.children):(0,ie.isText)(Ne)?Ne.data:""}stringify $ 2.textContent=_e;function Ce(Ne){return Array.isArray(Ne)?Ne.map(Ce).join(""):(0,ie.hasChildren)(Ne)&&(Ne.type===oe.ElementType.Tag||(0,ie.isCDATA)(Ne))?Ce(Ne.children):(0,ie.isText)(Ne)?Ne.data:""}return stringify $ 2.innerText=Ce,stringify $ 2}var traversal={},hasRequiredTraversal;function requireTraversal(){if(hasRequiredTraversal)return traversal;hasRequiredTraversal=1,Object.defineProperty(traversal,"__esModule",{value:!0}),traversal.prevElementSibling=traversal.nextElementSibling=traversal.getName=traversal.hasAttrib=traversal.getAttributeValue=traversal.getSiblings=traversal.getParent=traversal.getChildren=void 0;var re=requireLib $ a(),ie=[];function ae(Oe){var Ie;return(Ie=Oe.children)!==null&&Ie!==void 0?Ie:ie}traversal.getChildren=ae;function oe(Oe){return Oe.parent||null}traversal.getParent=oe;function ue(Oe){var Ie,Fe,Ue=oe(Oe);if(Ue!=null)return ae(Ue);for(var Ve=[Oe],ze=Oe.prev,jt=Oe.next;ze!=null;)Ve.unshift(ze),Ie=ze,ze=Ie.prev;for(;jt!=null;)Ve.push(jt),Fe=jt,jt=Fe.next;return Ve}traversal.getSiblings=ue;function de(Oe,Ie){var Fe;return(Fe=Oe.attribs)===null||Fe===void 0?void 0:Fe[Ie]}traversal.getAttributeValue=de;function pe(Oe,Ie){return Oe.attribs!=null&&Object.prototype.hasOwnProperty.call(Oe.attribs,Ie)&&Oe.attribs[Ie]!=null}traversal.hasAttrib=pe;function _e(Oe){return Oe.name}traversal.getName=_e;function Ce(Oe){for(var Ie,Fe=Oe.next;Fe!==null&&!(0,re.isTag)(Fe);)Ie=Fe,Fe=Ie.next;return Fe}traversal.nextElementSibling=Ce;function Ne(Oe){for(var Ie,Fe=Oe.prev;Fe!==null&&!(0,re.isTag)(Fe);)Ie=Fe,Fe=Ie.prev;return Fe}return traversal.prevElementSibling=Ne,traversal}var manipulation $ 1={},hasRequiredManipulation $ 1;function requireManipulation $ 1(){if(hasRequiredManipulation $ 1)return manipulation $ 1;hasRequiredManipulation $ 1=1,Object.defineProperty(manipulation $ 1,"__esModule",{value:!0}),manipulation $ 1.prepend=manipulation $ 1.prependChild=manipulation $ 1.append=manipulation $ 1.appendChild=manipulation $ 1.replaceElement=manipulation $ 1.removeElement=void 0;function re(pe){if(pe.prev&&(pe.prev.next=pe.next),pe.next&&(pe.next.prev=pe.prev),pe.parent){var _e=pe.parent.children;_e.splice(_e.lastIndexOf(pe),1)}}manipulation $ 1.removeElement=re;function ie(pe,_e){var Ce=_e.prev=pe.prev;Ce&&(Ce.next=_e);var Ne=_e.next=pe.next;Ne&&(Ne.prev=_e);var Oe=_e.parent=pe.parent;if(Oe){var Ie=Oe.children;Ie[Ie.lastIndexOf(pe)]=_e}}manipulation $ 1.replaceElement=ie;function ae(pe,_e){if(re(_e),_e.next=null,_e.parent=pe,pe.children.push(_e)>1){var Ce=pe.children[pe.children.length-2];Ce.next=_e,_e.prev=Ce}else _e.prev=null}manipulation $ 1.appendChild=ae;function oe(pe,_e){re(_e);var Ce=pe.parent,Ne=pe.next;if(_e.next=Ne,_e.prev=pe,pe.next=_e,_e.parent=Ce,Ne){if(Ne.prev=_e,Ce){var Oe=Ce.children;Oe.splice(Oe.lastIndexOf(Ne),0,_e)}}else Ce&&Ce.children.push(_e)}manipulation $ 1.append=oe;function ue(pe,_e){if(re(_e),_e.parent=pe,_e.prev=null,pe.children.unshift(_e)!==1){var Ce=pe.children[1];Ce.prev=_e,_e.next=Ce}else _e.next=null}manipulation $ 1.prependChild=ue;function de(pe,_e){re(_e);var Ce=pe.parent;if(Ce){var Ne=Ce.children;Ne.splice(Ne.indexOf(pe),0,_e)}pe.prev&&(pe.prev.next=_e),_e.parent=Ce,_e.prev=pe.prev,_e.next=pe,pe.prev=_e}return manipulation $ 1.prepend=de,manipulation $ 1}var querying={},hasRequiredQuerying;function requireQuerying(){if(hasRequiredQuerying)return querying;hasRequiredQuerying=1,Object.defineProperty(querying,"__esModule",{value:!0}),querying.findAll=querying.existsOne=querying.findOne=querying.findOneChild=querying.find=querying.filter=void 0;var re=requireLib $ a();function ie(_e,Ce,Ne,Oe){return Ne===void 0&&(Ne=!0),Oe===void 0&&(Oe=1/0),Array.isArray(Ce)||(Ce=[Ce]),ae(_e,Ce,Ne,Oe)}querying.filter=ie;function ae(_e,Ce,Ne,Oe){for(var Ie=[],Fe=0,Ue=Ce;Fe<Ue.length;Fe++){var Ve=Ue[Fe];if(_e(Ve)&&(Ie.push(Ve),--Oe<=0))break;if(Ne&&(0,re.hasChildren)(Ve)&&
: is ( button , input , select , textarea , optgroup , option ) [ disabled ] ,
optgroup [ disabled ] > option ,
fieldset [ disabled ] : not ( fieldset [ disabled ] legend : first - of - type * )
) ` ,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}),aliases}var subselects={},hasRequiredSubselects;function requireSubselects(){return hasRequiredSubselects||(hasRequiredSubselects=1,function(re){var ie=commonjsGlobal&&commonjsGlobal.__spreadArray||function(_e,Ce,Ne){if(Ne||arguments.length===2)for(var Oe=0,Ie=Ce.length,Fe;Oe<Ie;Oe++)(Fe||!(Oe in Ce))&&(Fe||(Fe=Array.prototype.slice.call(Ce,0,Oe)),Fe[Oe]=Ce[Oe]);return _e.concat(Fe||Array.prototype.slice.call(Ce))};Object.defineProperty(re,"__esModule",{value:!0}),re.subselects=re.getNextSiblings=re.ensureIsTag=re.PLACEHOLDER_ELEMENT=void 0;var ae=requireBoolbase(),oe=requireProcedure();re.PLACEHOLDER_ELEMENT={};function ue(_e,Ce){return _e===ae.falseFunc?ae.falseFunc:function(Ne){return Ce.isTag(Ne)&&_e(Ne)}}re.ensureIsTag=ue;function de(_e,Ce){var Ne=Ce.getSiblings(_e);if(Ne.length<=1)return[];var Oe=Ne.indexOf(_e);return Oe<0||Oe===Ne.length-1?[]:Ne.slice(Oe+1).filter(Ce.isTag)}re.getNextSiblings=de;var pe=function(_e,Ce,Ne,Oe,Ie){var Fe={xmlMode:!!Ne.xmlMode,adapter:Ne.adapter,equals:Ne.equals},Ue=Ie(Ce,Fe,Oe);return function(Ve){return Ue(Ve)&&_e(Ve)}};re.subselects={is:pe,matches:pe,where:pe,not:function(_e,Ce,Ne,Oe,Ie){var Fe={xmlMode:!!Ne.xmlMode,adapter:Ne.adapter,equals:Ne.equals},Ue=Ie(Ce,Fe,Oe);return Ue===ae.falseFunc?_e:Ue===ae.trueFunc?ae.falseFunc:function(ze){return!Ue(ze)&&_e(ze)}},has:function(_e,Ce,Ne,Oe,Ie){var Fe=Ne.adapter,Ue={xmlMode:!!Ne.xmlMode,adapter:Fe,equals:Ne.equals},Ve=Ce.some(function(Et){return Et.some(oe.isTraversal)})?[re.PLACEHOLDER_ELEMENT]:void 0,ze=Ie(Ce,Ue,Ve);if(ze===ae.falseFunc)return ae.falseFunc;if(ze===ae.trueFunc)return function(Et){return Fe.getChildren(Et).some(Fe.isTag)&&_e(Et)};var jt=ue(ze,Fe),kt=ze.shouldTestNextSiblings,Pt=kt===void 0?!1:kt;return Ve?function(Et){Ve[0]=Et;var er=Fe.getChildren(Et),tr=Pt?ie(ie([],er,!0),de(Et,Fe),!0):er;return _e(Et)&&Fe.existsOne(jt,tr)}:function(Et){return _e(Et)&&Fe.existsOne(jt,Fe.getChildren(Et))}}}}(subselects)),subselects}var hasRequiredPseudoSelectors;function requirePseudoSelectors(){return hasRequiredPseudoSelectors||(hasRequiredPseudoSelectors=1,function(re){Object.defineProperty(re,"__esModule",{value:!0}),re.compilePseudoSelector=re.aliases=re.pseudos=re.filters=void 0;var ie=requireBoolbase(),ae=require $ $ 0 $ 5,oe=requireFilters();Object.defineProperty(re,"filters",{enumerable:!0,get:function(){return oe.filters}});var ue=requirePseudos();Object.defineProperty(re,"pseudos",{enumerable:!0,get:function(){return ue.pseudos}});var de=requireAliases();Object.defineProperty(re,"aliases",{enumerable:!0,get:function(){return de.aliases}});var pe=requireSubselects();function _e(Ce,Ne,Oe,Ie,Fe){var Ue=Ne.name,Ve=Ne.data;if(Array.isArray(Ve))return pe.subselects[Ue](Ce,Ve,Oe,Ie,Fe);if(Ue in de.aliases){if(Ve!=null)throw new Error("Pseudo ".concat(Ue," doesn't have any arguments"));var ze=(0,ae.parse)(de.aliases[Ue]);return pe.subselects.is(Ce,ze,Oe,Ie,Fe)}if(Ue in oe.filters)return oe.filters[Ue](Ce,Ve,Oe,Ie);if(Ue in ue.pseudos){var jt=ue.pseudos[Ue];return(0,ue.verifyPseudoArgs)(jt,Ue,Ve),jt===ie.falseFunc?ie.falseFunc:Ce===ie.trueFunc?function(kt){return jt(kt,Oe,Ve)}:function(kt){return jt(kt,Oe,Ve)&&Ce(kt)}}throw new Error("unmatched pseudo-class :".concat(Ue))}re.compilePseudoSelector=_e}(pseudoSelectors)),pseudoSelectors}var hasRequiredGeneral;function requireGeneral(){if(hasRequiredGeneral)return general;hasRequiredGeneral=1,Object.defineProperty(general,"
` ,nexist="∄",nexists="∄",Nfr="𝔑 ",nfr="𝔫 ",ngE="≧̸",nge="≱",ngeq="≱",ngeqq="≧̸",ngeqslant="⩾̸",nges="⩾̸",nGg="⋙̸",ngsim="≵",nGt="≫⃒",ngt="≯",ngtr="≯",nGtv="≫̸",nharr="↮",nhArr="⇎",nhpar="⫲",ni $ 1="∋",nis="⋼",nisd="⋺",niv="∋",NJcy="Њ",njcy="њ",nlarr="↚",nlArr="⇍",nldr="‥",nlE="≦̸",nle="≰",nleftarrow="↚",nLeftarrow="⇍",nleftrightarrow="↮",nLeftrightarrow="⇎",nleq="≰",nleqq="≦̸",nleqslant="⩽̸",nles="⩽̸",nless="≮",nLl="⋘̸",nlsim="≴",nLt="≪⃒",nlt="≮",nltri="⋪",nltrie="⋬",nLtv="≪̸",nmid="∤",NoBreak=" ",NonBreakingSpace=" ",nopf="𝕟 ",Nopf="ℕ ",Not="⫬",not $ 1="¬",NotCongruent="≢",NotCupCap="≭",NotDoubleVerticalBar="∦",NotElement="∉",NotEqual="≠",NotEqualTilde="≂̸",NotExists="∄",NotGreater="≯",NotGreaterEqual="≱",NotGreaterFullEqual="≧̸",NotGreaterGreater="≫̸",NotGreaterLess="≹",NotGreaterSlantEqual="⩾̸",NotGreaterTilde="≵",NotHumpDownHump="≎̸",NotHumpEqual="≏̸",notin="∉",notindot="⋵̸",notinE="⋹̸",notinva="∉",notinvb="⋷",notinvc="⋶",NotLeftTriangleBar="⧏̸",NotLeftTriangle="⋪",NotLeftTriangleEqual="⋬",NotLess="≮",NotLessEqual="≰",NotLessGreater="≸",NotLessLess="≪̸",NotLessSlantEqual="⩽̸",NotLessTilde="≴",NotNestedGreaterGreater="⪢̸",NotNestedLessLess="⪡̸",notni="∌",notniva="∌",notnivb="⋾",notnivc="⋽",NotPrecedes="⊀",NotPrecedesEqual="⪯̸",NotPrecedesSlantEqual="⋠",NotReverseElement="∌",NotRightTriangleBar="⧐̸",NotRightTriangle="⋫",NotRightTriangleEqual="⋭",NotSquareSubset="⊏̸",NotSquareSubsetEqual="⋢",NotSquareSuperset="⊐̸",NotSquareSupersetEqual="⋣",NotSubset="⊂⃒",NotSubsetEqual="⊈",NotSucceeds="⊁",NotSucceedsEqual="⪰̸",NotSucceedsSlantEqual="⋡",NotSucceedsTilde="≿̸",NotSuperset="⊃⃒",NotSupersetEqual="⊉",NotTilde="≁",NotTildeEqual="≄",NotTildeFullEqual="≇",NotTildeTilde="≉",NotVerticalBar="∤",nparallel="∦",npar="∦",nparsl="⫽⃥",npart="∂̸",npolint="⨔",npr="⊀",nprcue="⋠",nprec="⊀",npreceq="⪯̸",npre="⪯̸",nrarrc="⤳̸",nrarr="↛",nrArr="⇏",nrarrw="↝̸",nrightarrow="↛",nRightarrow="⇏",nrtri="⋫",nrtrie="⋭",nsc="⊁",nsccue="⋡",nsce="⪰̸",Nscr="𝒩 ",nscr="𝓃 ",nshortmid="∤",nshortparallel="∦",nsim="≁",nsime="≄",nsimeq="≄",nsmid="∤",nspar="∦",nsqsube="⋢",nsqsupe="⋣",nsub="⊄",nsubE="⫅̸",nsube="⊈",nsubset="⊂⃒",nsubseteq="⊈",nsubseteqq="⫅̸",nsucc="⊁",nsucceq="⪰̸",nsup="⊅",nsupE="⫆̸",nsupe="⊉",nsupset="⊃⃒",nsupseteq="⊉",nsupseteqq="⫆̸",ntgl="≹",Ntilde $ 1="Ñ",ntilde $ 1="ñ",ntlg="≸",ntriangleleft="⋪",ntrianglelefteq="⋬",ntriangleright="⋫",ntrianglerighteq="⋭",Nu="Ν ",nu $ 1="ν ",num="#",numero="№",numsp=" ",nvap="≍⃒",nvdash="⊬",nvDash="⊭",nVdash="⊮",nVDash="⊯",nvge="≥⃒",nvgt=">⃒",nvHarr="⤄",nvinfin="⧞",nvlArr="⤂",nvle="≤⃒",nvlt="<⃒",nvltrie="⊴⃒",nvrArr="⤃",nvrtrie="⊵⃒",nvsim="∼⃒",nwarhk="⤣",nwarr="↖",nwArr="⇖",nwarrow="↖",nwnear="⤧",Oacute $ 1="Ó",oacute $ 1="ó",oast="⊛",Ocirc $ 1="Ô",ocirc $ 1="ô",ocir="⊚",Ocy="О ",ocy="о ",odash="⊝",Odblac="Ő",odblac="ő",odiv="⨸",odot="⊙",odsold="⦼",OElig="Œ",oelig="œ",ofcir="⦿",Ofr="𝔒 ",ofr="𝔬 ",ogon="˛ ",Ograve $ 1="Ò",ograve $ 1="ò",ogt="⧁",ohbar="⦵",ohm="Ω",oint="∮",olarr="↺",olcir="⦾",olcross="⦻",oline="‾",olt="⧀",Omacr="Ō",omacr="ō",Omega="Ω",omega="ω",Omicron="Ο ",omicron="ο ",omid="⦶",ominus="⊖",Oopf="𝕆 ",oopf="𝕠 ",opar="⦷",OpenCurlyDoubleQuote="“",OpenCurlyQuote="‘ ",operp="⦹",oplus="⊕",orarr="↻",Or="⩔",or="∨ ",ord="⩝",order="ℴ ",orderof="ℴ ",ordf $ 1="ª",ordm $ 1="º",origof="⊶",oror="⩖",orslope="⩗",orv="⩛",oS="Ⓢ",Oscr="𝒪 ",oscr="ℴ ",Oslash $ 1="Ø",oslash $ 1="ø",osol="⊘",Otilde $ 1="Õ",otilde $ 1="õ",otimesas="⨶",Otimes="⨷",otimes="⊗",Ouml $ 1="Ö",ouml $ 1="ö",ovbar="⌽",OverBar="‾",OverBrace="⏞",OverBracket="⎴",OverParenthesis="⏜",para $ 1="¶",parallel $ 1="∥",par="∥",parsim="⫳",parsl="⫽",p
` ||Ir===" "||Ir===" \f "||Ir===" \r "}function pe(Ir){return Ir>="a"&&Ir<="z"||Ir>="A"&&Ir<="Z"}function _e(Ir,kr,qr){var Wr=Ir.toLowerCase();return Ir===Wr?function(Ar,Dr){Dr===Wr?Ar._state=kr:(Ar._state=qr,Ar._index--)}:function(Ar,Dr){Dr===Wr||Dr===Ir?Ar._state=kr:(Ar._state=qr,Ar._index--)}}function Ce(Ir,kr){var qr=Ir.toLowerCase();return function(Wr,Ar){Ar===qr||Ar===Ir?Wr._state=kr:(Wr._state=3,Wr._index--)}}var Ne=_e("C",24,16),Oe=_e("D",25,16),Ie=_e("A",26,16),Fe=_e("T",27,16),Ue=_e("A",28,16),Ve=Ce("R",35),ze=Ce("I",36),jt=Ce("P",37),kt=Ce("T",38),Pt=_e("R",40,1),Et=_e("I",41,1),er=_e("P",42,1),tr=_e("T",43,1),nr=Ce("Y",45),lr=Ce("L",46),cr=Ce("E",47),ir=_e("Y",49,1),ar=_e("L",50,1),sr=_e("E",51,1),dr=Ce("I",54),fr=Ce("T",55),_r=Ce("L",56),mr=Ce("E",57),Er=_e("I",58,1),Sr=_e("T",59,1),xr=_e("L",60,1),Nr=_e("E",61,1),Rr=_e("#",63,64),Vr=_e("X",66,65),Fr=function(){function Ir(kr,qr){var Wr;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=qr,this.xmlMode=!!(kr!=null&&kr.xmlMode),this.decodeEntities=(Wr=kr==null?void 0:kr.decodeEntities)!==null&&Wr!==void 0?Wr:!0}return Ir.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},Ir.prototype.write=function(kr){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=kr,this.parse()},Ir.prototype.end=function(kr){this.ended&&this.cbs.onerror(Error(".end() after done!")),kr&&this.write(kr),this.ended=!0,this.running&&this.finish()},Ir.prototype.pause=function(){this.running=!1},Ir.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},Ir.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},Ir.prototype.stateText=function(kr){kr==="<"?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&kr==="&"&&(this.special===1||this.special===4)&&(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},Ir.prototype.isTagStartChar=function(kr){return pe(kr)||this.xmlMode&&!de(kr)&&kr!=="/"&&kr!==">"},Ir.prototype.stateBeforeTagName=function(kr){kr==="/"?this._state=5:kr==="<"?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):kr===">"||this.special!==1||de(kr)?this._state=1:kr==="!"?(this._state=15,this.sectionStart=this._index+1):kr==="?"?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(kr)?(this._state=!this.xmlMode&&(kr==="s"||kr==="S")?32:!this.xmlMode&&(kr==="t"||kr==="T")?52:3,this.sectionStart=this._index):this._state=1},Ir.prototype.stateInTagName=function(kr){(kr==="/"||kr===">"||de(kr))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},Ir.prototype.stateBeforeClosingTagName=function(kr){de(kr)||(kr===">"?this._state=1:this.special!==1?this.special!==4&&(kr==="s"||kr==="S")?this._state=33:this.special===4&&(kr==="t"||kr==="T")?this._state=53:(this._state=1,this._index--):this.isTagStartChar(kr)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},Ir.prototype.stateInClosingTagName=function(kr){(kr===">"||de(kr))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},Ir.prototype.stateAfterClosingTagName=function(kr){kr===">"&&(this._state=1,this.sectionStart=this._index+1)},Ir.prototype.stateBeforeAttributeName=function(kr){kr===">"?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):kr==="/"?this._state=4:de(kr)||(this._state=9,this.sectionStart=this._index)},Ir.prototype.stateInSelfClosingTag=function(kr){kr===">"?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):de(kr)||(this._state=8,this._index--)},Ir.prototype.stateInAttributeName=function(kr){(kr==="="||kr==="/"||kr===">"||de(kr))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,th
` ||pe===" \r "&&this.html[de+1]!== `
` )&&(oe.isEol=!0),oe.col=de-oe.lineStartPos+1,oe.offset=oe.droppedBufferSize+de,ue.advance.call(this)},retreat(){ue.retreat.call(this),oe.isEol=!1,oe.col=this.pos-oe.lineStartPos+1},dropParsedChunk(){const de=this.pos;ue.dropParsedChunk.call(this);const pe=de-this.pos;oe.lineStartPos-=pe,oe.droppedBufferSize+=pe,oe.offset=oe.droppedBufferSize+this.pos}}}}return preprocessorMixin $ 1=ie,preprocessorMixin $ 1}var tokenizerMixin $ 1,hasRequiredTokenizerMixin $ 1;function requireTokenizerMixin $ 1(){if(hasRequiredTokenizerMixin $ 1)return tokenizerMixin $ 1;hasRequiredTokenizerMixin $ 1=1;const re=requireMixin(),ie=requireTokenizer(),ae=requirePreprocessorMixin $ 1();class oe extends re{constructor(de){super(de),this.tokenizer=de,this.posTracker=re.install(de.preprocessor,ae),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const de=this.tokenizer.currentToken,pe=this.tokenizer.currentAttr;de.location.attrs||(de.location.attrs=Object.create(null)),de.location.attrs[pe.name]=this.currentAttrLocation}_getOverriddenMethods(de,pe){const _e={_createStartTagToken(){pe._createStartTagToken.call(this),this.currentToken.location=de.ctLoc},_createEndTagToken(){pe._createEndTagToken.call(this),this.currentToken.location=de.ctLoc},_createCommentToken(){pe._createCommentToken.call(this),this.currentToken.location=de.ctLoc},_createDoctypeToken(Ce){pe._createDoctypeToken.call(this,Ce),this.currentToken.location=de.ctLoc},_createCharacterToken(Ce,Ne){pe._createCharacterToken.call(this,Ce,Ne),this.currentCharacterToken.location=de.ctLoc},_createEOFToken(){pe._createEOFToken.call(this),this.currentToken.location=de._getCurrentLocation()},_createAttr(Ce){pe._createAttr.call(this,Ce),de.currentAttrLocation=de._getCurrentLocation()},_leaveAttrName(Ce){pe._leaveAttrName.call(this,Ce),de._attachCurrentAttrLocationInfo()},_leaveAttrValue(Ce){pe._leaveAttrValue.call(this,Ce),de._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const Ce=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=Ce.startLine,this.currentCharacterToken.location.endCol=Ce.startCol,this.currentCharacterToken.location.endOffset=Ce.startOffset),this.currentToken.type===ie.EOF_TOKEN?(Ce.endLine=Ce.startLine,Ce.endCol=Ce.startCol,Ce.endOffset=Ce.startOffset):(Ce.endLine=de.posTracker.line,Ce.endCol=de.posTracker.col+1,Ce.endOffset=de.posTracker.offset+1),pe._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const Ce=this.currentCharacterToken&&this.currentCharacterToken.location;Ce&&Ce.endOffset===-1&&(Ce.endLine=de.posTracker.line,Ce.endCol=de.posTracker.col,Ce.endOffset=de.posTracker.offset),pe._emitCurrentCharacterToken.call(this)}};return Object.keys(ie.MODE).forEach(Ce=>{const Ne=ie.MODE[Ce];_e[Ne]=function(Oe){de.ctLoc=de._getCurrentLocation(),pe[Ne].call(this,Oe)}}),_e}}return tokenizerMixin $ 1=oe,tokenizerMixin $ 1}var openElementStackMixin,hasRequiredOpenElementStackMixin;function requireOpenElementStackMixin(){if(hasRequiredOpenElementStackMixin)return openElementStackMixin;hasRequiredOpenElementStackMixin=1;const re=requireMixin();class ie extends re{constructor(oe,ue){super(oe),this.onItemPop=ue.onItemPop}_getOverriddenMethods(oe,ue){return{pop(){oe.onItemPop(this.current),ue.pop.call(this)},popAllUpToHtmlElement(){for(let de=this.stackTop;de>0;de--)oe.onItemPop(this.items[de]);ue.popAllUpToHtmlElement.call(this)},remove(de){oe.onItemPop(this.current),ue.remove.call(this,de)}}}}return openElementStackMixin=ie,openElementStackMixin}var parserMixin $ 1,hasRequiredParserMixin $ 1;function requireParserMixin $ 1(){if(hasRequiredParserMixin $ 1)return parserMixin $ 1;hasRequiredParserMixin $ 1=1;const re=requireMixin(),ie=requireTokenizer(),ae=requireTokenizerMixin $ 1(),oe=requireOpenElementStackMixin(
` )){if(Hi.chars.length===1)continue;Hi.chars=Hi.chars.substr(1)}if(this._processInputToken(Hi),Fi&&this.pendingScript)break}}runParsingLoopForCurrentChunk(Fi,Hi){if(this._runParsingLoop(Hi),Hi&&this.pendingScript){const Bc=this.pendingScript;this.pendingScript=null,Hi(Bc);return}Fi&&Fi()}_setupTokenizerCDATAMode(){const Fi=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=Fi&&Fi!==this.document&&this.treeAdapter.getNamespaceURI(Fi)!==Ve.HTML&&!this._isIntegrationPoint(Fi)}_switchToTextParsing(Fi,Hi){this._insertElement(Fi,Ve.HTML),this.tokenizer.state=Hi,this.originalInsertionMode=this.insertionMode,this.insertionMode=sr}switchToPlaintextParsing(){this.insertionMode=sr,this.originalInsertionMode=ar,this.tokenizer.state=re.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let Fi=this.fragmentContext;do{if(this.treeAdapter.getTagName(Fi)===Ue.FORM){this.formElement=Fi;break}Fi=this.treeAdapter.getParentNode(Fi)}while(Fi)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===Ve.HTML){const Fi=this.treeAdapter.getTagName(this.fragmentContext);Fi===Ue.TITLE||Fi===Ue.TEXTAREA?this.tokenizer.state=re.MODE.RCDATA:Fi===Ue.STYLE||Fi===Ue.XMP||Fi===Ue.IFRAME||Fi===Ue.NOEMBED||Fi===Ue.NOFRAMES||Fi===Ue.NOSCRIPT?this.tokenizer.state=re.MODE.RAWTEXT:Fi===Ue.SCRIPT?this.tokenizer.state=re.MODE.SCRIPT_DATA:Fi===Ue.PLAINTEXT&&(this.tokenizer.state=re.MODE.PLAINTEXT)}}_setDocumentType(Fi){const Hi=Fi.name||"",Bc=Fi.publicId||"",sd=Fi.systemId||"";this.treeAdapter.setDocumentType(this.document,Hi,Bc,sd)}_attachElementToTree(Fi){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(Fi);else{const Hi=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(Hi,Fi)}}_appendElement(Fi,Hi){const Bc=this.treeAdapter.createElement(Fi.tagName,Hi,Fi.attrs);this._attachElementToTree(Bc)}_insertElement(Fi,Hi){const Bc=this.treeAdapter.createElement(Fi.tagName,Hi,Fi.attrs);this._attachElementToTree(Bc),this.openElements.push(Bc)}_insertFakeElement(Fi){const Hi=this.treeAdapter.createElement(Fi,Ve.HTML,[]);this._attachElementToTree(Hi),this.openElements.push(Hi)}_insertTemplate(Fi){const Hi=this.treeAdapter.createElement(Fi.tagName,Ve.HTML,Fi.attrs),Bc=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Hi,Bc),this._attachElementToTree(Hi),this.openElements.push(Hi)}_insertFakeRootElement(){const Fi=this.treeAdapter.createElement(Ue.HTML,Ve.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,Fi),this.openElements.push(Fi)}_appendCommentNode(Fi,Hi){const Bc=this.treeAdapter.createCommentNode(Fi.data);this.treeAdapter.appendChild(Hi,Bc)}_insertCharacters(Fi){if(this._shouldFosterParentOnInsertion())this._fosterParentText(Fi.chars);else{const Hi=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(Hi,Fi.chars)}}_adoptNodes(Fi,Hi){for(let Bc=this.treeAdapter.getFirstChild(Fi);Bc;Bc=this.treeAdapter.getFirstChild(Fi))this.treeAdapter.detachNode(Bc),this.treeAdapter.appendChild(Hi,Bc)}_shouldProcessTokenInForeignContent(Fi){const Hi=this._getAdjustedCurrentElement();if(!Hi||Hi===this.document)return!1;const Bc=this.treeAdapter.getNamespaceURI(Hi);if(Bc===Ve.HTML||this.treeAdapter.getTagName(Hi)===Ue.ANNOTATION_XML&&Bc===Ve.MATHML&&Fi.type===re.START_TAG_TOKEN&&Fi.tagName===Ue.SVG)return!1;const sd=Fi.type===re.CHARACTER_TOKEN||Fi.type===re.NULL_CHARACTER_TOKEN||Fi.type===re.WHITESPACE_CHARACTER_TOKEN;return(Fi.type===re.START_TAG_TOKEN&&Fi.tagName!==Ue.MGLYPH&&Fi.tagName!==Ue.MALIGNMARK||sd)&&this._isIntegrationPoint(Hi,Ve.MATHML)||(Fi.type===re.START_TAG_TOKEN||sd)&&this._isIntegrationPoint(Hi,Ve.HTML)?!1:Fi.type!==re.EOF_TOKEN}_processToken(Fi){Jr[this.insertionMode][Fi.type](this,Fi)}_processTokenInBodyMode(Fi){Jr[ar][Fi.type](this,Fi)}_processTokenInForeignContent(Fi){Fi.type===re.CHARACTER_TOKEN?km(this,Fi):Fi.type===re.NULL_CHARACTER_TOKEN?_p(this,Fi)
* The buffer module from node . js , for the browser .
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* / ( f u n c t i o n ( r e ) { c o n s t i e = b a s e 6 4 J s $ 1 , a e = i e e e 7 5 4 $ 1 , o e = t y p e o f S y m b o l = = " f u n c t i o n " & & t y p e o f S y m b o l . f o r = = " f u n c t i o n " ? S y m b o l . f o r ( " n o d e j s . u t i l . i n s p e c t . c u s t o m " ) : n u l l ; r e . B u f f e r = O e , r e . S l o w B u f f e r = t r , r e . I N S P E C T _ M A X _ B Y T E S = 5 0 ; c o n s t u e = 2 1 4 7 4 8 3 6 4 7 ; r e . k M a x L e n g t h = u e ; c o n s t { U i n t 8 A r r a y : d e , A r r a y B u f f e r : p e , S h a r e d A r r a y B u f f e r : _ e } = g l o b a l T h i s ; O e . T Y P E D _ A R R A Y _ S U P P O R T = C e ( ) , ! O e . T Y P E D _ A R R A Y _ S U P P O R T & & t y p e o f c o n s o l e < " u " & & t y p e o f c o n s o l e . e r r o r = = " f u n c t i o n " & & c o n s o l e . e r r o r ( " T h i s b r o w s e r l a c k s t y p e d a r r a y ( U i n t 8 A r r a y ) s u p p o r t w h i c h i s r e q u i r e d b y ` b u f f e r ` v 5 . x . U s e ` b u f f e r ` v 4 . x i f y o u r e q u i r e o l d b r o w s e r s u p p o r t . " ) ; f u n c t i o n C e ( ) { t r y { c o n s t h i = n e w d e ( 1 ) , E n = { f o o : f u n c t i o n ( ) { r e t u r n 4 2 } } ; r e t u r n O b j e c t . s e t P r o t o t y p e O f ( E n , d e . p r o t o t y p e ) , O b j e c t . s e t P r o t o t y p e O f ( h i , E n ) , h i . f o o ( ) = = = 4 2 } c a t c h { r e t u r n ! 1 } } O b j e c t . d e f i n e P r o p e r t y ( O e . p r o t o t y p e , " p a r e n t " , { e n u m e r a b l e : ! 0 , g e t : f u n c t i o n ( ) { i f ( O e . i s B u f f e r ( t h i s ) ) r e t u r n t h i s . b u f f e r } } ) , O b j e c t . d e f i n e P r o p e r t y ( O e . p r o t o t y p e , " o f f s e t " , { e n u m e r a b l e : ! 0 , g e t : f u n c t i o n ( ) { i f ( O e . i s B u f f e r ( t h i s ) ) r e t u r n t h i s . b y t e O f f s e t } } ) ; f u n c t i o n N e ( h i ) { i f ( h i > u e ) t h r o w n e w R a n g e E r r o r ( ' T h e v a l u e " ' + h i + ' " i s i n v a l i d f o r o p t i o n " s i z e " ' ) ; c o n s t E n = n e w d e ( h i ) ; r e t u r n O b j e c t . s e t P r o t o t y p e O f ( E n , O e . p r o t o t y p e ) , E n } f u n c t i o n O e ( h i , E n , U r ) { i f ( t y p e o f h i = = " n u m b e r " ) { i f ( t y p e o f E n = = " s t r i n g " ) t h r o w n e w T y p e E r r o r ( ' T h e " s t r i n g " a r g u m e n t m u s t b e o f t y p e s t r i n g . R e c e i v e d t y p e n u m b e r ' ) ; r e t u r n V e ( h i ) } r e t u r n I e ( h i , E n , U r ) } O e . p o o l S i z e = 8 1 9 2 ; f u n c t i o n I e ( h i , E n , U r ) { i f ( t y p e o f h i = = " s t r i n g " ) r e t u r n z e ( h i , E n ) ; i f ( p e . i s V i e w ( h i ) ) r e t u r n k t ( h i ) ; i f ( h i = = n u l l ) t h r o w n e w T y p e E r r o r ( " T h e f i r s t a r g u m e n t m u s t b e o n e o f t y p e s t r i n g , B u f f e r , A r r a y B u f f e r , A r r a y , o r A r r a y - l i k e O b j e c t . R e c e i v e d t y p e " + t y p e o f h i ) ; i f ( t a ( h i , p e ) | | h i & & t a ( h i . b u f f e r , p e ) | | t y p e o f _ e < " u " & & ( t a ( h i , _ e ) | | h i & & t a ( h i . b u f f e r , _ e ) ) ) r e t u r n P t ( h i , E n , U r ) ; i f ( t y p e o f h i = = " n u m b e r " ) t h r o w n e w T y p e E r r o r ( ' T h e " v a l u e " a r g u m e n t m u s t n o t b e o f t y p e n u m b e r . R e c e i v e d t y p e n u m b e r ' ) ; c o n s t W n = h i . v a l u e O f & & h i . v a l u e O f ( ) ; i f ( W n ! = n u l l & & W n ! = = h i ) r e t u r n O e . f r o m ( W n , E n , U r ) ; c o n s t K n = E t ( h i ) ; i f ( K n ) r e t u r n K n ; i f ( t y p e o f S y m b o l < " u " & & S y m b o l . t o P r i m i t i v e ! = n u l l & & t y p e o f h i [ S y m b o l . t o P r i m i t i v e ] = = " f u n c t i o n " ) r e t u r n O e . f r o m ( h i [ S y m b o l . t o P r i m i t i v e ] ( " s t r i n g " ) , E n , U r ) ; t h r o w n e w T y p e E r r o r ( " T h e f i r s t a r g u m e n t m u s t b e o n e o f t y p e s t r i n g , B u f f e r , A r r a y B u f f e r , A r r a y , o r A r r a y - l i k e O b j e c t . R e c e i v e d t y p e " + t y p e o f h i ) } O e . f r o m = f u n c t i o n ( h i , E n , U r ) { r e t u r n I e ( h i , E n , U r ) } , O b j e c t . s e t P r o t o t y p e O f ( O e . p r o t o t y p e , d e . p r o t o t y p e ) , O b j e c t . s e t P r o t o t y p e O f ( O e , d e ) ; f u n c t i o n F e ( h i ) { i f ( t y p e o f h i ! = " n u m b e r " ) t h r o w n e w T y p e E r r o r ( ' " s i z e " a r g u m e n t m u s t b e o f t y p e n u m b e r ' ) ; i f ( h i < 0 ) t h r o w n e w R a n g e E r r o r ( ' T h e v a l u e " ' + h i + ' " i s i n v a l i d f o r o p t i o n " s i z e " ' ) } f u n c t i o n U e ( h i , E n , U r ) { r e t u r n F e ( h i ) , h i < = 0 ? N e ( h i ) : E n ! = = v o i d 0 ? t y p e o f U r = = " s t r i n g " ? N e ( h i ) . f i l l ( E n , U r ) : N e ( h i ) . f i l l ( E n ) : N e ( h i ) } O e . a l l o c = f u n c t i o n ( h i , E n , U r ) { r e t u r n U e ( h i , E n , U r ) } ; f u n c t i o n V e ( h i ) { r e t u r n F e ( h i ) , N e ( h i < 0 ? 0 : e r ( h i ) | 0 ) } O e . a l l o c U n s a f e = f u n c t i o n ( h i ) { r e t u r n V e ( h i ) } , O e . a l l o c U n s a f e S l o w = f u n c t i o n ( h i ) { r e t u r n V e ( h i ) } ; f u n c t i o n z e ( h i , E n ) { i f ( ( t y p e o f E n ! = " s t r i n g " | | E n = = = " " ) & & ( E n = " u t f 8 " ) , ! O e . i s E n c o d i n g ( E n ) ) t h r o w n e w T y p e E r r o r ( " U n k n o w n e n c o d i n g : " + E n ) ; c o n s t U r = n r ( h i , E n ) | 0 ; l e t W n = N e ( U r ) ; c o n s t K n = W n . w r i t e ( h i , E n ) ; r e t u r n K n ! = = U r & & ( W n = W n . s l i c e ( 0 , K n ) ) , W n } f u n c t i o n j t ( h i ) { c o n s t E n = h i . l e n g t h < 0 ? 0 : e r ( h i . l e n g t h ) | 0 , U r = N e ( E n ) ; f o r ( l e t W n = 0 ; W n < E n ; W n + = 1 ) U r [ W n ] = h i [ W n ] & 2 5 5 ; r e t u r n U r } f u n c t i o n k t ( h i ) { i f ( t a ( h i , d e ) ) { c o n s t E n = n e w d e ( h i ) ; r e t u r n P t ( E n . b u f f e r , E n . b y t e O f f s e t , E n . b y t e L e n g t h ) } r e t u r n j t ( h i ) } f u n c t i o n P t ( h i , E n , U r ) { i f ( E n < 0 | | h i . b y t e L e n g t h < E n ) t h r o w n e w R a n g e E r r o r ( ' " o f f s e t " i s o u t s i d e o f b u f f e r b o u n d s ' ) ; i f ( h i . b y t e L e n g t h < E n + ( U r | | 0 ) ) t h r o w n e w R a n g e E r r o r ( ' " l e n g t h " i s o u t s i d e o f b u f f e r b o u n d s ' ) ; l e t W n ; r e t u r n E n = = = v o i d 0 & & U r = = = v o i d 0 ? W n = n e w d e ( h i ) : U r = = = v o i d 0 ? W n = n e w d e ( h i , E n ) : W n = n e w d e ( h i , E n , U r ) , O b j e c t . s e t P r o t o t y p e O f ( W n , O e . p r o t o t y p e ) , W n } f u n c t i o n E t ( h i ) { i f ( O e . i s B u f f e r ( h i ) ) { c o n s t E n = e r ( h i . l e n g t h ) | 0 , U r = N e ( E n ) ; r e t u r n U r . l e n g t h = = = 0 | | h i . c o p y ( U r , 0 , 0 , E n ) , U r } i f ( h i . l e n g t h ! = = v o i d 0 ) r e t u r n t y p e o f h i . l e n g t h ! = " n u m b e r " | | M o ( h i . l e n g t h ) ? N e ( 0 ) : j t ( h i ) ; i f ( h i . t y p e = = = " B u f f e r " & & A r r a y . i s A r r a y ( h i . d a t a ) ) r e t u r n j t ( h i . d a t a ) } f u n c t i o n e r ( h i ) { i f ( h i > = u e ) t h r o w n e w R a n g e E r r o r ( " A t t e m p t t o a l l o c a t e B u f f e r l a r g e r t h a n m a x i m u m s i z e : 0 x " + u e . t o S t r i n g ( 1 6 ) + " b y t e s " ) ; r e t u r n h i | 0 } f u n c t i o n t r ( h i ) { r e t u r n + h i !
` )}}):{name:Ie,value:Fe.replace(oe, ` \ r
2024-08-29 16:46:41 +08:00
` )}}).toArray()}return forms.serializeArray=de,forms}var hasRequiredCheerio;function requireCheerio(){if(hasRequiredCheerio)return cheerio $ 1;hasRequiredCheerio=1,Object.defineProperty(cheerio $ 1,"__esModule",{value:!0}),cheerio $ 1.Cheerio=void 0;var re=require $ $ 0 $ 6,ie=re.__importDefault(requireParse()),ae=re.__importDefault(requireOptions()),oe=requireUtils $ 1(),ue=re.__importStar(requireAttributes()),de=re.__importStar(requireTraversing()),pe=re.__importStar(requireManipulation()),_e=re.__importStar(requireCss()),Ce=re.__importStar(requireForms()),Ne=function(){function Ie(Fe,Ue,Ve,ze){var jt=this;if(ze===void 0&&(ze=ae.default),this.length=0,this.options=ze,!Fe)return this;if(Ve&&(typeof Ve=="string"&&(Ve=ie.default(Ve,this.options,!1)),this._root=new this.constructor(Ve,null,null,this.options),this._root._root=this._root),oe.isCheerio(Fe))return Fe;var kt=typeof Fe=="string"&&oe.isHtml(Fe)?ie.default(Fe,this.options,!1).children:Oe(Fe)?[Fe]:Array.isArray(Fe)?Fe:null;if(kt)return kt.forEach(function(er,tr){jt[tr]=er}),this.length=kt.length,this;var Pt=Fe,Et=Ue?typeof Ue=="string"?oe.isHtml(Ue)?this._make(ie.default(Ue,this.options,!1)):(Pt=Ue+" "+Pt,this._root):oe.isCheerio(Ue)?Ue:this._make(Ue):this._root;return Et?Et.find(Pt):this}return Ie.prototype._make=function(Fe,Ue){var Ve=new this.constructor(Fe,Ue,this._root,this.options);return Ve.prevObject=this,Ve},Ie}();cheerio $ 1.Cheerio=Ne,Ne.prototype.cheerio="[cheerio object]",Ne.prototype.splice=Array.prototype.splice,Ne.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(Ne.prototype,ue,de,pe,_e,Ce);function Oe(Ie){return!!Ie.name||Ie.type==="root"||Ie.type==="text"||Ie.type==="comment"}return cheerio $ 1}var hasRequiredLoad;function requireLoad(){if(hasRequiredLoad)return load;hasRequiredLoad=1,Object.defineProperty(load,"__esModule",{value:!0}),load.load=void 0;var re=require $ $ 0 $ 6,ie=re.__importStar(requireOptions()),ae=re.__importStar(require_static()),oe=requireCheerio(),ue=re.__importDefault(requireParse());function de(pe,_e,Ce){if(Ce===void 0&&(Ce=!0),pe==null)throw new Error("cheerio.load() expects a string");var Ne=re.__assign(re.__assign({},ie.default),ie.flatten(_e)),Oe=ue.default(pe,Ne,Ce),Ie=function(Ue){re.__extends(Ve,Ue);function Ve(){return Ue!==null&&Ue.apply(this,arguments)||this}return Ve}(oe.Cheerio);function Fe(Ue,Ve,ze,jt){return ze===void 0&&(ze=Oe),new Ie(Ue,Ve,ze,re.__assign(re.__assign({},Ne),ie.flatten(jt)))}return Object.assign(Fe,ae,{load:de,_root:Oe,_options:Ne,fn:Ie.prototype,prototype:Ie.prototype}),Fe}return load.load=de,load}(function(re){Object.defineProperty(re,"__esModule",{value:!0}),re.root=re.parseHTML=re.merge=re.contains=void 0;var ie=require $ $ 0 $ 6;ie.__exportStar(requireTypes(),re),ie.__exportStar(requireLoad(),re);var ae=requireLoad();re.default=ae.load([]);var oe=ie.__importStar(require_static());re.contains=oe.contains,re.merge=oe.merge,re.parseHTML=oe.parseHTML,re.root=oe.root})(lib $ d);var utils $ 3={},lexer={exports:{}},debug={exports:{}};(function(re,ie){var ae={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Interna
2024-08-27 22:31:52 +08:00
` )}})(debug);var debugExports=debug.exports;(function(re,ie){debugExports("lex"),re.exports=ae;function ae(oe){var ue="",de,pe=0,_e=-1,Ce=0,Ne=1,Oe="before-selector",Ie=[Oe],Fe={},Ue=[],Ve=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function ze(){return cr(),oe[_e]}function jt(Sr){return Sr?Ie[Ie.length-1-Sr]:Oe}function kt(Sr){var xr=_e+1;return Sr===oe.slice(xr,xr+Sr.length)}function Pt(Sr){var xr=oe.slice(_e).indexOf(Sr);return xr>0?xr:!1}function Et(Sr){return Sr===er(1)}function er(Sr){return oe[_e+(Sr||1)]}function tr(){var Sr=Ie.pop();return Oe=Ie[Ie.length-1],Sr}function nr(Sr){return Oe=Sr,Ie.push(Oe),Ie.length}function lr(Sr){var xr=Oe;return Ie[Ie.length-1]=Oe=Sr,xr}function cr(Sr){if((Sr||1)==1)oe[_e]== `
` ?(Ne++,pe=1):pe++,_e++;else{var xr=oe.slice(_e,_e+Sr).split( `
` );xr.length>1&&(Ne+=xr.length-1,pe=1),pe+=xr[xr.length-1].length,_e=_e+Sr}}function ir(){Fe.end={line:Ne,col:pe},Ue.push(Fe),ue="",Fe={}}function ar(Sr){Fe={type:Sr,start:{line:Ne,col:pe}}}for(;de=ze();)switch(de){case" ":switch(jt()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":ue+=de;break}break;case `
` :case" ":case" \r ":case" \f ":switch(jt()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":ue+=de;break;case"at-value":de=== `
` &&(Fe.value=ue.trim(),ir(),tr());break}break;case":":switch(jt()){case"name":Fe.name=ue.trim(),ue="",lr("before-value");break;case"before-selector":ue+=de,ar("selector"),nr("selector");break;case"before-value":lr("value"),ue+=de;break;default:ue+=de;break}break;case";":switch(jt()){case"name":case"before-value":case"value":ue.trim().length>0&&(Fe.value=ue.trim(),ir()),lr("before-name");break;case"value-paren":ue+=de;break;case"at-value":Fe.value=ue.trim(),ir(),tr();break;case"before-name":break;default:ue+=de;break}break;case"{":switch(jt()){case"selector":if(er(-1)===" \\ "){ue+=de;break}Fe.text=ue.trim(),ir(),lr("before-name"),Ce=Ce+1;break;case"at-group":switch(Fe.name=ue.trim(),Fe.type){case"font-face":case"viewport":case"page":nr("before-name");break;default:nr("before-selector")}ir(),Ce=Ce+1;break;case"name":case"at-rule":Fe.name=ue.trim(),ir(),nr("before-name"),Ce=Ce+1;break;case"comment":case"double-string":case"single-string":ue+=de;break;case"before-value":lr("value"),ue+=de;break}break;case"}":switch(jt()){case"before-name":case"name":case"before-value":case"value":ue&&(Fe.value=ue.trim()),Fe.name&&Fe.value&&ir(),ar("end"),ir(),tr(),jt()==="at-group"&&(ar("at-group-end"),ir(),tr()),Ce>0&&(Ce=Ce-1);break;case"at-group":case"before-selector":case"selector":if(er(-1)===" \\ "){ue+=de;break}Ce>0&&jt(1)==="at-group"&&(ar("at-group-end"),ir()),Ce>1&&tr(),Ce>0&&(Ce=Ce-1);break;case"double-string":case"single-string":case"comment":ue+=de;break}break;case'"':case"'":switch(jt()){case"double-string":de==='"'&&er(-1)!==" \\ "&&tr();break;case"single-string":de==="'"&&er(-1)!==" \\ "&&tr();break;case"before-at-value":lr("at-value"),nr(de==='"'?"double-string":"single-string");break;case"before-value":lr("value"),nr(de==='"'?"double-string":"single-string");break;case"comment":break;default:er(-1)!==" \\ "&&nr(de==='"'?"double-string":"single-string")}ue+=de;break;case"/":switch(jt()){case"comment":case"double-string":case"single-string":ue+=de;break;case"before-value":case"selector":case"name":case"value":if(Et("*")){var sr=Pt("*/");sr&&cr(sr+1)}else jt()=="before-value"&&lr("value"),ue+=de;break;default:Et("*")?(ar("comment"),nr("comment"),cr()):ue+=de;break}break;case"*":switch(jt()){case"comment":Et("/")?(Fe.text=ue,cr(),ir(),tr()):ue+=de;break;case"before-selector":ue+=de,ar("selector"),nr("selector");break;case"before-value":lr("value"),ue+=de;break;default:ue+=de}break;case"@":switch(jt()){case"comment":case"double-string":case"single-string":ue+=de;break;case"before-value":lr("value"),ue+=de;break;default:for(var dr=!1,fr,_r,mr=0,Er=Ve.length;!dr&&mr<Er;++mr)_r=Ve[mr],fr=_r.name||_r,kt(fr)&&(dr=!0,ar(fr),nr(_r.state||"at-group"),cr(fr.length),_r.prefix&&(Fe.prefix=_r.prefix),_r.type&&(Fe.type=_r.type));dr||(ue+=de);break}break;case"(":switch(jt()){case"value":nr("value-paren");break;case"before-value":lr("value");break}ue+=de;break;case")":switch(jt()){case"value-paren":tr();break;case"before-value":lr("value");break}ue+=de;break;default:switch(jt()){case"before-selector":ar("selector"),nr("selector");break;case"before-name":ar("property"),lr("name");break;case"before-value":lr("value");break;case"before-at-value":lr("at-value");break}ue+=de;break}return Ue}})(lexer);var lexerExports=lexer.exports,parser $ 2={exports:{}};(function(re,ie){debugExports("parse");var ae=lexerExports;re.exports=_e;var oe,ue,de,pe;function _e(tr,nr){nr||(nr={}),oe=!!nr.comments,de=!!nr.position,ue=0,pe=Array.isArray(tr)?tr.slice():ae(tr);for(var lr,cr=[],ir;ir=Ne();)lr=kt(ir),lr&&cr.push(lr);return{type:"stylesheet",stylesheet:{rules:cr}}}function Ce(tr,nr){nr||(nr={});for(var lr,cr=["type","name","value"],ir={},ar=0;ar<cr.length;++ar)lr=cr[ar],tr[lr]&&(ir[lr]=nr[lr]||tr[lr]);for(cr=Object.keys(nr),ar=0;ar<cr.length;++ar)lr=cr[ar],ir[lr]||(ir[lr]=nr[lr]);return de&&(ir.position={start:tr.start,end:tr.end}),ir}function Ne(){var tr=pe.shift();return tr}function Oe(tr){ue=ue+1;var nr={};switch(tr.type){case"font-face":case"viewport":nr.declarations=Et();break;case"page":nr.prefix=tr.prefix,nr.declarations=Et();break;default:nr.prefix=tr.prefix,nr.rul
` ,_e=" ");var nr=Ve(er.stylesheet.rules,Pt).join( `
` ).trim();return nr}function Ne(er){if(er){de+=er;return}return oe?"":Array(de).join(ue||"")}function Oe(er){return"@"+er.type+" "+er.value+";"+pe}function Ie(er){var tr="",nr=er.prefix||"";er.name&&(tr=" "+er.name);var lr=er.type!=="page";return"@"+nr+er.type+tr+_e+ze(er,lr)+pe}function Fe(er){return ae?"/*"+(er.text||"")+"*/"+pe:""}function Ue(er){var tr;return er.selectors?tr=er.selectors.join(","+pe):(tr="@"+er.type,tr+=er.name?" "+er.name:""),Ne()+tr+_e+ze(er)+pe}function Ve(er,tr){return er.reduce(function(nr,lr){var cr=lr.type==="comment"?Fe(lr):tr(lr);return cr&&nr.push(cr),nr},[])}function ze(er,tr){var nr=er.declarations,lr=kt;return er.rules&&(nr=er.rules,lr=Ue),nr=jt(nr,lr),nr&&(nr=pe+nr+(tr?"":pe)),"{"+nr+Ne()+"}"}function jt(er,tr){if(!er)return"";Ne(1);var nr=Ve(er,tr);return Ne(-1),nr.length?nr.join(pe):""}function kt(er){if(er.type==="property")return Et(er)}function Pt(er){switch(er.type){case"rule":return Ue(er);case"media":case"keyframes":return Ie(er);case"comment":return Fe(er);case"import":case"charset":case"namespace":return Oe(er);case"font-face":case"supports":case"viewport":case"document":case"page":return Ie(er)}}function Et(er){var tr=er.name?er.name+":"+_e:"";return Ne()+tr+er.value+";"}})(stringify $ 1);var stringifyExports=stringify $ 1.exports,mensch={lex:lexerExports,parse:parserExports,stringify:stringifyExports},selector={exports:{}},escapeRe=/([-.*+?^ ${ } ()|[ \] \/ \\ ])/g,unescapeRe=/ \\ /g,escape $ 1=function(re){return(re+"").replace(escapeRe," \\ $ 1")},unescape $ 1=function(re){return(re+"").replace(unescapeRe,"")},slickRe=RegExp( ` ^ ( ? : \ \ s * ( , ) \ \ s * | \ \ s * ( < combinator > + ) \ \ s * | ( \ \ s + ) | ( < unicode > + | \ \ * ) | \ \ # ( < unicode > + ) | \ \ . ( < unicode > + ) | \ \ [ \ \ s * ( < unicode1 > + ) ( ? : \ \ s * ( [ * ^ $ ! ~ | ] ? = ) ( ? : \ \ s * ( ? : ( [ "']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([" '])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(/<combinator>/,"["+escape$1(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(ie){this.combinator=ie||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var re="",ie,ae;if(re+=this.tag||"*",this.id&&(re+="#"+this.id),this.classes&&(re+="."+this.classList.join(".")),this.attributes)for(ie=0;ae=this.attributes[ie++];)re+="["+ae.name+(ae.operator?ae.operator+' "'+ae.value+'" ' : "" ) + "]" ; if ( this . pseudos ) for ( ie = 0 ; ae = this . pseudos [ ie ++ ] ; ) re += ":" + ae . name , ae . value && ( re += "(" + ae . value + ")" ) ; this . raw = re } return this . raw } ; var Expression = function ( ) { this . length = 0 } ; Expression . prototype . toString = function ( ) { if ( ! this . raw ) { for ( var re = "" , ie = 0 , ae ; ae = this [ ie ++ ] ; ) ie !== 1 && ( re += " " ) , ae . combinator !== " " && ( re += ae . combinator + " " ) , re += ae ; this . raw = re } return this . raw } ; var replacer = function ( re , ie , ae , oe , ue , de , pe , _e , Ce , Ne , Oe , Ie , Fe , Ue , Ve , ze ) { var jt , kt ; if ( ( ie || ! this . length ) && ( jt = this [ this . length ++ ] = new Expression , ie ) ) return "" ; if ( jt || ( jt = this [ this . length - 1 ] ) , ( ae || oe || ! jt . length ) && ( kt = jt [ jt . length ++ ] = new Part ( ae ) ) , kt || ( kt = jt [ jt . length - 1 ] ) , ue ) kt . tag = unescape$1 ( ue ) ; else if ( de ) kt . id = unescape$1 ( de ) ; else if ( pe ) { var Pt = unescape$1 ( pe ) , Et = kt . classes || ( kt . classes = { } ) ; if ( ! Et [ Pt ] ) { Et [ Pt ] = escape$1 ( pe ) ; var er = kt . classList || ( kt . classList = [ ] ) ; er . push ( Pt ) , er . sort ( ) } } else Fe ? ( ze = ze || Ve , ( kt . pseudos || ( kt . pseudos = [ ] ) ) . push ( { type : Ie . length == 1 ? "class" : "element" , name : unescape$1 ( Fe ) , escapedName : escape$1 ( Fe ) , value : ze ? unescape$1 ( ze ) : null , escapedValue : ze ? escape$1 ( ze ) : null } ) ) : _e && ( Oe = Oe ? escape$1 ( Oe ) : null , ( kt . attributes || ( kt . attributes = [ ] ) ) . push ( { operator : Ce , name : unescape$1 ( _e ) , escapedName : escape$1 ( _e ) , value : Oe ? unescape$1 ( Oe ) : null , escapedValue : Oe ? escape$1 ( Oe ) : null } ) ) ; return "" } , Expressions = function ( ie ) { this . length = 0 ; for ( var ae = this , oe = ie , ue ; ie ; ) { if ( ue = ie . replace ( slickRe , function ( ) { return replacer . apply ( ae , arguments ) } ) , ue === ie ) throw new Error ( oe + " is an invalid expression" ) ; ie = ue } } ; Expressions . prototype . toString = function ( ) { if ( ! this . raw ) { for ( var re = [ ] , ie = 0 , ae ; ae = this [ ie ++ ] ; ) re . push ( ae ) ; this . raw = re . join ( ", " ) } return this . raw } ; var cache$1 = { } , parse = function ( re ) { return re == null ? null : ( re = ( "" + re ) . replace ( /^\s+|\s+$/g , "" ) , cache$1 [ re ] || ( cache$1 [ r
* Returns an array of the selectors .
*
* @ license Sizzle CSS Selector Engine - MIT
* @ param { String } selectorText from mensch
* @ api public
* / r e . e x t r a c t = f u n c t i o n ( d e ) { f o r ( v a r p e = 0 , _ e = [ ] , C e = " " , N e = 0 , O e = d e . l e n g t h ; N e < O e ; N e + + ) { v a r I e = d e . c h a r A t ( N e ) ; p e ? ( ( I e = = = " ] " | | I e = = = " ) " ) & & p e - - , C e + = I e ) : I e = = = " , " ? ( _ e . p u s h ( C e ) , C e = " " ) : ( ( I e = = = " [ " | | I e = = = " ( " ) & & p e + + , ( C e . l e n g t h | | I e ! = = " , " & & I e ! = = `
` &&Ie!==" ")&&(Ce+=Ie))}return Ce.length&&_e.push(Ce),_e},re.parseCSS=function(ue){for(var de=ie.parse(ue,{position:!0,comments:!0}),pe=typeof de.stylesheet<"u"&&de.stylesheet.rules?de.stylesheet.rules:[],_e=[],Ce=0,Ne=pe.length;Ce<Ne;Ce++)if(pe[Ce].type=="rule")for(var Oe=pe[Ce],Ie=Oe.selectors,Fe=0,Ue=Ie.length;Fe<Ue;Fe++)_e.push([Ie[Fe],Oe.declarations]);return _e},re.getPreservedText=function(ue,de,pe){for(var _e=ie.parse(ue,{position:!0,comments:!0}),Ce=typeof _e.stylesheet<"u"&&_e.stylesheet.rules?_e.stylesheet.rules:[],Ne=[],Oe=Ce.length-1;Oe>=0;Oe--)(de.fontFaces&&Ce[Oe].type==="font-face"||de.mediaQueries&&Ce[Oe].type==="media"||de.keyFrames&&Ce[Oe].type==="keyframes"||de.pseudos&&Ce[Oe].selectors&&this.matchesPseudo(Ce[Oe].selectors[0],pe))&&Ne.unshift(ie.stringify({stylesheet:{rules:[Ce[Oe]]}},{comments:!1,indentation:" "})),Ce[Oe].position.start;return Ne.length===0?!1: `
` +Ne.join( `
` )+ `
` },re.normalizeLineEndings=function(ue){return ue.replace(/ \r \n /g, `
` ).replace(/ \n /g, ` \ r
` )},re.matchesPseudo=function(ue,de){return de.find(function(pe){return ue.indexOf(pe)>-1})},re.compareFunc=function(ue,de){for(var pe=Math.min(ue.length,de.length),_e=0;_e<pe;_e++)if(ue[_e]!==de[_e])return ue[_e]>de[_e]?1:-1;return ue.length-de.length},re.compare=function(ue,de){return re.compareFunc(ue,de)==1?ue:de},re.getDefaultOptions=function(ue){var de=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},ue);return de.webResources=de.webResources||{},de}}(utils $ 3)),utils $ 3}(function(re){var ie=lib $ d;requireUtils();var ae=function(ue,de,pe){return de=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},de),ue=pe(ue),ie.load(ue,de)},oe=function(){var ue=[],de=function(_e){var Ce=re.exports.codeBlocks;return Object.keys(Ce).forEach(function(Ne){var Oe=new RegExp(Ce[Ne].start+"([ \\ S \\ s]*?)"+Ce[Ne].end,"g");_e=_e.replace(Oe,function(Ie,Fe){return ue.push(Ie),"JUICE_CODE_BLOCK_"+(ue.length-1)+"_"})}),_e},pe=function(_e){for(var Ce=0;Ce<ue.length;Ce++){var Ne=new RegExp("JUICE_CODE_BLOCK_"+Ce+'_(="")?',"gi");_e=_e.replace(Ne,function(){return ue[Ce]})}return _e};return{encodeEntities:de,decodeEntities:pe}};re.exports=function(ue,de,pe,_e){var Ce=oe(),Ne=ae(ue,de,Ce.encodeEntities),Oe=[Ne];Oe.push.apply(Oe,_e);var Ie=pe.apply(void 0,Oe)||Ne;return de&&de.xmlMode?Ce.decodeEntities(Ie.xml()):Ce.decodeEntities(Ie.html())},re.exports.codeBlocks={EJS:{start:"<%",end:"%>"},HBS:{start:"{{",end:"}}"}}})(cheerio $ 2);var cheerioExports=cheerio $ 2.exports,numbers $ 1={};numbers $ 1.romanize=function(re){if(isNaN(re))return NaN;for(var ie=String(+re).split(""),ae=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],oe="",ue=3;ue--;)oe=(ae[+ie.pop()+ue*10]||"")+oe;return Array(+ie.join("")+1).join("M")+oe};numbers $ 1.alphanumeric=function(re){for(var ie="",ae;re>0;)ae=(re-1)%26,ie=String.fromCharCode(65+ae)+ie,re=(re-ae)/26|0;return ie||void 0};var utils $ 2=requireUtils(),numbers=numbers $ 1,inline=function(ie){ie.ignoredPseudos=["hover","active","focus","visited","link"],ie.widthElements=["TABLE","TD","TH","IMG"],ie.heightElements=["TABLE","TD","TH","IMG"],ie.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],ie.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],ie.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},ie.excludedProperties=[],ie.juiceDocument=Oe,ie.inlineDocument=ae;function ae(Ue,Ve,ze){ze=ze||{};var jt=utils $ 2.parseCSS(Ve),kt=[],Pt="style",Et={};if(ze.styleAttributeName&&(Pt=ze.styleAttributeName),jt.forEach(nr),kt.forEach(lr),ze.inlinePseudoElements&&kt.forEach(cr),ze.applyWidthAttributes&&kt.forEach(function(dr){ir(dr,"width")}),ze.applyHeightAttributes&&kt.forEach(function(dr){ir(dr,"height")}),ze.applyAttributesTableElements&&kt.forEach(sr),ze.insertPreservedExtraCss&&ze.extraCss){var er=utils $ 2.getPreservedText(ze.extraCss,{mediaQueries:ze.preserveMediaQueries,fontFaces:ze.preserveFontFaces,keyFrames:ze.preserveKeyFrames});if(er){var tr=null;ze.insertPreservedExtraCss!==!0?tr=Ue(ze.insertPreservedExtraCss):(tr=Ue("head"),tr.length||(tr=Ue("body")),tr.length||(tr=Ue.root())),tr.first().append("<style>"+er+"</style>")}}function nr(dr){var fr=dr[0],_r=dr[1],mr=new utils $ 2.Selector(fr),Er=mr.parsed();if(Er){for(var Sr=_e(Er),xr=0;xr<Er.length;++xr){var Nr=Er[xr];if(Nr.pseudos)for(var Rr=0;Rr<Nr.pseudos.length;++Rr){var Vr=Nr.pseudos[Rr];if(ie.ignoredPseudos.indexOf(Vr.name)>=0)return}}if(Sr){var Fr=Er[Er.length-1],Ir=Fr.pseudos;Fr.pseudos=Ne(Fr.pseudos),fr=Er.toString(),Fr.pseudos=Ir}var kr;try{kr=Ue(fr)}catch{return}kr.each(function(){var qr=this;if(qr.name&&ie.nonVisualElements.indexOf(qr.name.toUpperCase())>=0)return;if(Sr){var Wr="pseudo"+Sr,Ar=qr[Wr];Ar||(Ar=qr[Wr]=Ue("<s
` +Ve.extraCss,ae(Ue,ze,Ve),Ue}function Ie(Ue,Ve){var ze=[],jt=Ue("style"),kt,Pt,Et;return jt.each(function(){Et=this;var er=!!Et.childNodes;if(kt=er?Et.childNodes:Et.children,kt.length!==1){Ve.removeStyleTags&&Ue(Et).remove();return}if(Pt=kt[0].data,Ve.applyStyleTags&&Ue(Et).attr("data-embed")===void 0&&ze.push(Pt),Ve.removeStyleTags&&Ue(Et).attr("data-embed")===void 0){var tr=er?Et.childNodes[0].nodeValue:Et.children[0].data,nr=utils $ 2.getPreservedText(tr,{mediaQueries:Ve.preserveMediaQueries,fontFaces:Ve.preserveFontFaces,keyFrames:Ve.preserveKeyFrames,pseudos:Ve.preservePseudos},ie.ignoredPseudos);nr?er?Et.childNodes[0].nodeValue=nr:Et.children[0].data=nr:Ue(Et).remove()}Ue(Et).removeAttr("data-embed")}),ze}function Fe(Ue,Ve){var ze=Ie(Ue,Ve),jt=ze.join( `
` );return jt}return ie},cheerio=cheerioExports,makeJuiceClient=inline,juiceClient=makeJuiceClient(function(re,ie){return cheerio(re,{xmlMode:ie&&ie.xmlMode},juiceDocument,[ie])}),juiceDocument=function(re,ie){return juiceClient.juiceDocument(re,ie)};juiceClient.inlineContent=function(re,ie,ae){return cheerio(re,{xmlMode:ae&&ae.xmlMode},juiceClient.inlineDocument,[ie,ae])};var client=juiceClient;const juice=getDefaultExportFromCjs(client);var standalone={exports:{}};(function(re,ie){(function(ae){re.exports=ae()})(function(){var ae=(Mi,Mn)=>()=>(Mn||Mi((Mn={exports:{}}).exports,Mn),Mn.exports),oe=ae((Mi,Mn)=>{var oi=function(na){return na&&na.Math==Math&&na};Mn.exports=oi(typeof globalThis=="object"&&globalThis)||oi(typeof window=="object"&&window)||oi(typeof self=="object"&&self)||oi(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")()}),ue=ae((Mi,Mn)=>{Mn.exports=function(oi){try{return!!oi()}catch{return!0}}}),de=ae((Mi,Mn)=>{var oi=ue();Mn.exports=!oi(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),pe=ae((Mi,Mn)=>{var oi=ue();Mn.exports=!oi(function(){var na=(function(){}).bind();return typeof na!="function"||na.hasOwnProperty("prototype")})}),_e=ae((Mi,Mn)=>{var oi=pe(),na=Function.prototype.call;Mn.exports=oi?na.bind(na):function(){return na.apply(na,arguments)}}),Ce=ae(Mi=>{var Mn={}.propertyIsEnumerable,oi=Object.getOwnPropertyDescriptor,na=oi&&!Mn.call({1:2},1);Mi.f=na?function(aa){var Ta=oi(this,aa);return!!Ta&&Ta.enumerable}:Mn}),Ne=ae((Mi,Mn)=>{Mn.exports=function(oi,na){return{enumerable:!(oi&1),configurable:!(oi&2),writable:!(oi&4),value:na}}}),Oe=ae((Mi,Mn)=>{var oi=pe(),na=Function.prototype,aa=na.call,Ta=oi&&na.bind.bind(aa,aa);Mn.exports=oi?Ta:function(qi){return function(){return aa.apply(qi,arguments)}}}),Ie=ae((Mi,Mn)=>{var oi=Oe(),na=oi({}.toString),aa=oi("".slice);Mn.exports=function(Ta){return aa(na(Ta),8,-1)}}),Fe=ae((Mi,Mn)=>{var oi=Oe(),na=ue(),aa=Ie(),Ta=Object,qi=oi("".split);Mn.exports=na(function(){return!Ta("z").propertyIsEnumerable(0)})?function(va){return aa(va)=="String"?qi(va,""):Ta(va)}:Ta}),Ue=ae((Mi,Mn)=>{Mn.exports=function(oi){return oi==null}}),Ve=ae((Mi,Mn)=>{var oi=Ue(),na=TypeError;Mn.exports=function(aa){if(oi(aa))throw na("Can't call method on "+aa);return aa}}),ze=ae((Mi,Mn)=>{var oi=Fe(),na=Ve();Mn.exports=function(aa){return oi(na(aa))}}),jt=ae((Mi,Mn)=>{var oi=typeof document=="object"&&document.all,na=typeof oi>"u"&&oi!==void 0;Mn.exports={all:oi,IS_HTMLDDA:na}}),kt=ae((Mi,Mn)=>{var oi=jt(),na=oi.all;Mn.exports=oi.IS_HTMLDDA?function(aa){return typeof aa=="function"||aa===na}:function(aa){return typeof aa=="function"}}),Pt=ae((Mi,Mn)=>{var oi=kt(),na=jt(),aa=na.all;Mn.exports=na.IS_HTMLDDA?function(Ta){return typeof Ta=="object"?Ta!==null:oi(Ta)||Ta===aa}:function(Ta){return typeof Ta=="object"?Ta!==null:oi(Ta)}}),Et=ae((Mi,Mn)=>{var oi=oe(),na=kt(),aa=function(Ta){return na(Ta)?Ta:void 0};Mn.exports=function(Ta,qi){return arguments.length<2?aa(oi[Ta]):oi[Ta]&&oi[Ta][qi]}}),er=ae((Mi,Mn)=>{var oi=Oe();Mn.exports=oi({}.isPrototypeOf)}),tr=ae((Mi,Mn)=>{var oi=Et();Mn.exports=oi("navigator","userAgent")||""}),nr=ae((Mi,Mn)=>{var oi=oe(),na=tr(),aa=oi.process,Ta=oi.Deno,qi=aa&&aa.versions||Ta&&Ta.version,va=qi&&qi.v8,Ha,bo;va&&(Ha=va.split("."),bo=Ha[0]>0&&Ha[0]<4?1:+(Ha[0]+Ha[1])),!bo&&na&&(Ha=na.match(/Edge \/ ( \d +)/),(!Ha||Ha[1]>=74)&&(Ha=na.match(/Chrome \/ ( \d +)/),Ha&&(bo=+Ha[1]))),Mn.exports=bo}),lr=ae((Mi,Mn)=>{var oi=nr(),na=ue();Mn.exports=!!Object.getOwnPropertySymbols&&!na(function(){var aa=Symbol();return!String(aa)||!(Object(aa)instanceof Symbol)||!Symbol.sham&&oi&&oi<41})}),cr=ae((Mi,Mn)=>{var oi=lr();Mn.exports=oi&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),ir=ae((Mi,Mn)=>{var oi=Et(),na=kt(),aa=er(),Ta=cr(),qi=Object;Mn.exports=Ta?function(va){return typeof va=="symbol"}:function(va){var Ha=oi("Symbol");return na(Ha)&&aa(Ha.prototype,qi(va))}}),ar=ae((Mi,Mn)=>{var oi=String;Mn.exports=function(na){try{return oi(na)}catch{return"Object"}}}),sr=ae((Mi,Mn)=>{var oi=kt(),na=ar
` ?"crlf":"cr":"lf"}function fi(Hn){switch(Hn){case"cr":return" \r ";case"crlf":return ` \ r
` ;default:return `
` }}function ui(Hn,zn){let ji;switch(zn){case `
` :ji=/ \n /g;break;case" \r ":ji=/ \r /g;break;case ` \ r
` :ji=/ \r \n /g;break;default:throw new Error( ` Unexpected "eol" $ { JSON . stringify ( zn ) } . ` )}let Gi=Hn.match(ji);return Gi?Gi.length:0}function Fn(Hn){return Hn.replace(/ \r \n ?/g, `
` )}Ui.exports={guessEndOfLine:Ln,convertEndOfLineToChars:fi,countEndOfLineChars:ui,normalizeEndOfLine:Fn}}}),Bu=Po({"src/utils/get-last.js"(Zn,Ui){ei();var Ln=fi=>fi[fi.length-1];Ui.exports=Ln}});function Od(){let{onlyFirst:Zn=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ui=["[ \\ u001B \\ u009B][[ \\ ]()#;?]*(?:(?:(?:(?:;[-a-zA-Z \\ d \\ /#&.:=?%@~_]+)*|[a-zA-Z \\ d]+(?:;[-a-zA-Z \\ d \\ /#&.:=?%@~_]*)*)? \\ u0007)","(?:(?: \\ d{1,4}(?:; \\ d{0,4})*)?[ \\ dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(Ui,Zn?void 0:"g")}var Id=Wl({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){ei()}});function kp(Zn){if(typeof Zn!="string")throw new TypeError( ` Expected a \ ` string \` , got \` ${ typeof Zn } \` ` ) ; return Zn . replace ( Od ( ) , "" ) } var Tp = Wl ( { "node_modules/strip-ansi/index.js" ( ) { ei ( ) , Id ( ) } } ) ; function Lu ( Zn ) { return Number . isInteger ( Zn ) ? Zn >= 4352 && ( Zn <= 4447 || Zn === 9001 || Zn === 9002 || 11904 <= Zn && Zn <= 12871 && Zn !== 12351 || 12880 <= Zn && Zn <= 19903 || 19968 <= Zn && Zn <= 42182 || 43360 <= Zn && Zn <= 43388 || 44032 <= Zn && Zn <= 55203 || 63744 <= Zn && Zn <= 64255 || 65040 <= Zn && Zn <= 65049 || 65072 <= Zn && Zn <= 65131 || 65281 <= Zn && Zn <= 65376 || 65504 <= Zn && Zn <= 65510 || 110592 <= Zn && Zn <= 110593 || 127488 <= Zn && Zn <= 127569 || 131072 <= Zn && Zn <= 262141 ) : ! 1 } var np = Wl ( { "node_modules/is-fullwidth-code-point/index.js" ( ) { ei ( ) } } ) , Ad = Po ( { "node_modules/emoji-regex/index.js" ( Zn , Ui ) { ei ( ) , Ui . exports = function ( ) { return / \ u D 8 3 C \ u D F F 4 \ u D B 4 0 \ u D C 6 7 \ u D B 4 0 \ u D C 6 2 ( ? : \ u D B 4 0 \ u D C 7 7 \ u D B 4 0 \ u D C 6 C \ u D B 4 0 \ u D C 7 3 | \ u D B 4 0 \ u D C 7 3 \ u D B 4 0 \ u D C 6 3 \ u D B 4 0 \ u D C 7 4 | \ u D B 4 0 \ u D C 6 5 \ u D B 4 0 \ u D C 6 E \ u D B 4 0 \ u D C 6 7 ) \ u D B 4 0 \ u D C 7 F | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F F \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 E \ u D D D 1 | \ u D 8 3 D \ u D C 6 9 \ u D 8 3 C \ u D F F F \ u 2 0 0 D \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) ) ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F E ] ) | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F E \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 E \ u D D D 1 | \ u D 8 3 D \ u D C 6 9 \ u D 8 3 C \ u D F F E \ u 2 0 0 D \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) ) ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F D \ u D F F F ] ) | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F D \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 E \ u D D D 1 | \ u D 8 3 D \ u D C 6 9 \ u D 8 3 C \ u D F F D \ u 2 0 0 D \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) ) ( ? : \ u D 8 3 C [ \ u D F F B \ u D F F C \ u D F F E \ u D F F F ] ) | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F C \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 E \ u D D D 1 | \ u D 8 3 D \ u D C 6 9 \ u D 8 3 C \ u D F F C \ u 2 0 0 D \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) ) ( ? : \ u D 8 3 C [ \ u D F F B \ u D F F D - \ u D F F F ] ) | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F B \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 E \ u D D D 1 | \ u D 8 3 D \ u D C 6 9 \ u D 8 3 C \ u D F F B \ u 2 0 0 D \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) ) ( ? : \ u D 8 3 C [ \ u D F F C - \ u D F F F ] ) | \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C \ u D F F B ( ? : \ u 2 0 0 D ( ? : \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F F ] ) | \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F F ] ) ) | \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F C - \ u D F F F ] ) | [ \ u 2 6 9 5 \ u 2 6 9 6 \ u 2 7 0 8 ] \ u F E 0 F | \ u D 8 3 C [ \ u D F 3 E \ u D F 7 3 \ u D F 7 C \ u D F 9 3 \ u D F A 4 \ u D F A 8 \ u D F E B \ u D F E D ] | \ u D 8 3 D [ \ u D C B B \ u D C B C \ u D D 2 7 \ u D D 2 C \ u D E 8 0 \ u D E 9 2 ] | \ u D 8 3 E [ \ u D D A F - \ u D D B 3 \ u D D B C \ u D D B D ] ) ) ? | ( ? : \ u D 8 3 C [ \ u D F F C - \ u D F F F ] ) \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F F ] ) | \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F F ] ) ) | \ u 2 0 0 D ( ? : \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 D \ u D C 6 8 | ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 6 6 \ u 2 0 0 D \ u D 8 3 D \ u D C 6 6 | \ u D 8 3 D \ u D C 6 7 \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 6 \ u D C 6 7 ] ) ) | \ u D 8 3 D \ u D C 6 6 \ u 2 0 0 D \ u D 8 3 D \ u D C 6 6 | \ u D 8 3 D \ u D C 6 7 \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 6 \ u D C 6 7 ] ) | \ u D 8 3 C [ \ u D F 3 E \ u D F 7 3 \ u D F 7 C \ u D F 9 3 \ u D F A 4 \ u D F A 8 \ u D F E B \ u D F E D ] | \ u D 8 3 D [ \ u D C B B \ u D C B C \ u D D 2 7 \ u D D 2 C \ u D E 8 0 \ u D E 9 2 ] | \ u D 8 3 E [ \ u D D A F - \ u D D B 3 \ u D D B C \ u D D B D ] ) | \ u D 8 3 C \ u D F F F \ u 2 0 0 D ( ? : \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F E ] ) | \ u D 8 3 C [ \ u D F 3 E \ u D F 7 3 \ u D F 7 C \ u D F 9 3 \ u D F A 4 \ u D F A 8 \ u D F E B \ u D F E D ] | \ u D 8 3 D [ \ u D C B B \ u D C B C \ u D D 2 7 \ u D D 2 C \ u D E 8 0 \ u D E 9 2 ] | \ u D 8 3 E [ \ u D D A F - \ u D D B 3 \ u D D B C \ u D D B D ] ) | \ u D 8 3 C \ u D F F E \ u 2 0 0 D ( ? : \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F D \ u D F F F ] ) | \ u D 8 3 C [ \ u D F 3 E \ u D F 7 3 \ u D F 7 C \ u D F 9 3 \ u D F A 4 \ u D F A 8 \ u D F E B \ u D F E D ] | \ u D 8 3 D [ \ u D C B B \ u D C B C \ u D D 2 7 \ u D D 2 C \ u D E 8 0 \ u D E 9 2 ] | \ u D 8 3 E [ \ u D D A F - \ u D D B 3 \ u D D B C \ u D D B D ] ) | \ u D 8 3 C \ u D F F D \ u 2 0 0 D ( ? : \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B \ u D F F C \ u D F F E \ u D F F F ] ) | \ u D 8 3 C [ \ u D F 3 E \ u D F 7 3 \ u D F 7 C \ u D F 9 3 \ u D F A 4 \ u D F A 8 \ u D F E B \ u D F E D ] | \ u D 8 3 D [ \ u D C B B \ u D C B C \ u D D 2 7 \ u D D 2 C \ u D E 8 0 \ u D E 9 2 ] | \ u D 8 3 E [ \ u D D A F - \ u D D B 3 \ u D D B C \ u D D B D ] ) | \ u D 8 3 C \ u D F F C \ u 2 0 0 D ( ? : \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D \ u D 8 3 D \ u D C 6 8 ( ? : \ u D 8 3 C [ \ u D F F B
` )?Ma(sa):sa)}function Ma(di){let sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fi;return ui(sa,di.split( `
` )).parts}function Zi(di){if(di.type==="line")return!0}function fa(di){return la(di,Zi,!1)}Ui.exports={isConcat:Fn,getDocParts:Hn,willBreak:ca,traverseDoc:ji,findInDoc:la,mapDoc:Gi,propagateBreaks:Ki,removeLines:za,stripTrailingHardline:Qa,normalizeParts:Ja,normalizeDoc:us,cleanDoc:co,replaceTextEndOfLine:Ma,replaceEndOfLine:ea,canBreak:fa}}}),wm=Po({"src/document/doc-printer.js"(Zn,Ui){ei();var{convertEndOfLineToChars:Ln}=Gc(),fi=Bu(),ui=Sf(),{fill:Fn,cursor:Hn,indent:zn}=Ml(),{isConcat:ji,getDocParts:Gi}=Hp(),la,oa=1,ca=2;function zi(){return{value:"",length:0,queue:[]}}function Ki(Ia,co){return za(Ia,{type:"indent"},co)}function ma(Ia,co,Ja){return co===Number.NEGATIVE_INFINITY?Ia.root||zi():co<0?za(Ia,{type:"dedent"},Ja):co?co.type==="root"?Object.assign(Object.assign({},Ia),{},{root:Ia}):za(Ia,{type:typeof co=="string"?"stringAlign":"numberAlign",n:co},Ja):Ia}function za(Ia,co,Ja){let us=co.type==="dedent"?Ia.queue.slice(0,-1):[...Ia.queue,co],ea="",Ma=0,Zi=0,fa=0;for(let Eo of us)switch(Eo.type){case"indent":pa(),Ja.useTabs?di(1):sa(Ja.tabWidth);break;case"stringAlign":pa(),ea+=Eo.n,Ma+=Eo.n.length;break;case"numberAlign":Zi+=1,fa+=Eo.n;break;default:throw new Error( ` Unexpected type '${Eo.type}' ` )}return ka(),Object.assign(Object.assign({},Ia),{},{value:ea,length:Ma,queue:us});function di(Eo){ea+=" ".repeat(Eo),Ma+=Ja.tabWidth*Eo}function sa(Eo){ea+=" ".repeat(Eo),Ma+=Eo}function pa(){Ja.useTabs?xa():ka()}function xa(){Zi>0&&di(Zi),Fa()}function ka(){fa>0&&sa(fa),Fa()}function Fa(){Zi=0,fa=0}}function Xa(Ia){if(Ia.length===0)return 0;let co=0;for(;Ia.length>0&&typeof fi(Ia)=="string"&&/^[ \t ]* $ /.test(fi(Ia));)co+=Ia.pop().length;if(Ia.length>0&&typeof fi(Ia)=="string"){let Ja=fi(Ia).replace(/[ \t ]* $ /,"");co+=fi(Ia).length-Ja.length,Ia[Ia.length-1]=Ja}return co}function Sa(Ia,co,Ja,us,ea){let Ma=co.length,Zi=[Ia],fa=[];for(;Ja>=0;){if(Zi.length===0){if(Ma===0)return!0;Zi.push(co[--Ma]);continue}let{mode:di,doc:sa}=Zi.pop();if(typeof sa=="string")fa.push(sa),Ja-=ui(sa);else if(ji(sa)||sa.type==="fill"){let pa=Gi(sa);for(let xa=pa.length-1;xa>=0;xa--)Zi.push({mode:di,doc:pa[xa]})}else switch(sa.type){case"indent":case"align":case"indent-if-break":case"label":Zi.push({mode:di,doc:sa.contents});break;case"trim":Ja+=Xa(fa);break;case"group":{if(ea&&sa.break)return!1;let pa=sa.break?oa:di,xa=sa.expandedStates&&pa===oa?fi(sa.expandedStates):sa.contents;Zi.push({mode:pa,doc:xa});break}case"if-break":{let pa=(sa.groupId?la[sa.groupId]||ca:di)===oa?sa.breakContents:sa.flatContents;pa&&Zi.push({mode:di,doc:pa});break}case"line":if(di===oa||sa.hard)return!0;sa.soft||(fa.push(" "),Ja--);break;case"line-suffix":us=!0;break;case"line-suffix-boundary":if(us)return!1;break}}return!1}function Qa(Ia,co){la={};let Ja=co.printWidth,us=Ln(co.endOfLine),ea=0,Ma=[{ind:zi(),mode:oa,doc:Ia}],Zi=[],fa=!1,di=[];for(;Ma.length>0;){let{ind:pa,mode:xa,doc:ka}=Ma.pop();if(typeof ka=="string"){let Fa=us!== `
` ?ka.replace(/ \n /g,us):ka;Zi.push(Fa),ea+=ui(Fa)}else if(ji(ka)){let Fa=Gi(ka);for(let Eo=Fa.length-1;Eo>=0;Eo--)Ma.push({ind:pa,mode:xa,doc:Fa[Eo]})}else switch(ka.type){case"cursor":Zi.push(Hn.placeholder);break;case"indent":Ma.push({ind:Ki(pa,co),mode:xa,doc:ka.contents});break;case"align":Ma.push({ind:ma(pa,ka.n,co),mode:xa,doc:ka.contents});break;case"trim":ea-=Xa(Zi);break;case"group":switch(xa){case ca:if(!fa){Ma.push({ind:pa,mode:ka.break?oa:ca,doc:ka.contents});break}case oa:{fa=!1;let Fa={ind:pa,mode:ca,doc:ka.contents},Eo=Ja-ea,Jo=di.length>0;if(!ka.break&&Sa(Fa,Ma,Eo,Jo))Ma.push(Fa);else if(ka.expandedStates){let cs=fi(ka.expandedStates);if(ka.break){Ma.push({ind:pa,mode:oa,doc:cs});break}else for(let Qo=1;Qo<ka.expandedStates.length+1;Qo++)if(Qo>=ka.expandedStates.length){Ma.push({ind:pa,mode:oa,doc:cs});break}else{let Ns=ka.expandedStates[Qo],ko={ind:pa,mode:ca,doc:Ns};if(Sa(ko,Ma,Eo,Jo)){Ma.push(ko);break}}}else Ma.push({ind:pa,mode:oa,doc:ka.contents});break}}ka.id&&(la[ka.id]=fi(Ma).mode);break;case"fill":{let Fa=Ja-ea,{parts:Eo}=ka;if(Eo.length===0)break;let[Jo,cs]=Eo,Qo={ind:pa,mode:ca,doc:Jo},Ns={ind:pa,mode:oa,doc:Jo},ko=Sa(Qo,[],Fa,di.length>0,!0);if(Eo.length===1){ko?Ma.push(Qo):Ma.push(Ns);break}let Hs={ind:pa,mode:ca,doc:cs},os={ind:pa,mode:oa,doc:cs};if(Eo.length===2){ko?Ma.push(Hs,Qo):Ma.push(os,Ns);break}Eo.splice(0,2);let qo={ind:pa,mode:xa,doc:Fn(Eo)},Ds=Eo[0];Sa({ind:pa,mode:ca,doc:[Jo,cs,Ds]},[],Fa,di.length>0,!0)?Ma.push(qo,Hs,Qo):ko?Ma.push(qo,os,Qo):Ma.push(qo,os,Ns);break}case"if-break":case"indent-if-break":{let Fa=ka.groupId?la[ka.groupId]:xa;if(Fa===oa){let Eo=ka.type==="if-break"?ka.breakContents:ka.negate?ka.contents:zn(ka.contents);Eo&&Ma.push({ind:pa,mode:xa,doc:Eo})}if(Fa===ca){let Eo=ka.type==="if-break"?ka.flatContents:ka.negate?zn(ka.contents):ka.contents;Eo&&Ma.push({ind:pa,mode:xa,doc:Eo})}break}case"line-suffix":di.push({ind:pa,mode:xa,doc:ka.contents});break;case"line-suffix-boundary":di.length>0&&Ma.push({ind:pa,mode:xa,doc:{type:"line",hard:!0}});break;case"line":switch(xa){case ca:if(ka.hard)fa=!0;else{ka.soft||(Zi.push(" "),ea+=1);break}case oa:if(di.length>0){Ma.push({ind:pa,mode:xa,doc:ka},...di.reverse()),di.length=0;break}ka.literal?pa.root?(Zi.push(us,pa.root.value),ea=pa.root.length):(Zi.push(us),ea=0):(ea-=Xa(Zi),Zi.push(us+pa.value),ea=pa.length);break}break;case"label":Ma.push({ind:pa,mode:xa,doc:ka.contents});break}Ma.length===0&&di.length>0&&(Ma.push(...di.reverse()),di.length=0)}let sa=Zi.indexOf(Hn.placeholder);if(sa!==-1){let pa=Zi.indexOf(Hn.placeholder,sa+1),xa=Zi.slice(0,sa).join(""),ka=Zi.slice(sa+1,pa).join(""),Fa=Zi.slice(pa+1).join("");return{formatted:xa+ka+Fa,cursorNodeStart:xa.length,cursorNodeText:ka}}return{formatted:Zi.join("")}}Ui.exports={printDocToString:Qa}}}),Vf=Po({"src/document/doc-debug.js"(Zn,Ui){ei();var{isConcat:Ln,getDocParts:fi}=Hp();function ui(Hn){if(!Hn)return"";if(Ln(Hn)){let zn=[];for(let ji of fi(Hn))if(Ln(ji))zn.push(...ui(ji).parts);else{let Gi=ui(ji);Gi!==""&&zn.push(Gi)}return{type:"concat",parts:zn}}return Hn.type==="if-break"?Object.assign(Object.assign({},Hn),{},{breakContents:ui(Hn.breakContents),flatContents:ui(Hn.flatContents)}):Hn.type==="group"?Object.assign(Object.assign({},Hn),{},{contents:ui(Hn.contents),expandedStates:Hn.expandedStates&&Hn.expandedStates.map(ui)}):Hn.type==="fill"?{type:"fill",parts:Hn.parts.map(ui)}:Hn.contents?Object.assign(Object.assign({},Hn),{},{contents:ui(Hn.contents)}):Hn}function Fn(Hn){let zn=Object.create(null),ji=new Set;return Gi(ui(Hn));function Gi(oa,ca,zi){if(typeof oa=="string")return JSON.stringify(oa);if(Ln(oa)){let Ki=fi(oa).map(Gi).filter(Boolean);return Ki.length===1?Ki[0]: ` [ $ { Ki . join ( ", " ) } ] ` }if(oa.type==="line"){let Ki=Array.isArray(zi)&&zi[ca+1]&&zi[ca+1].type==="break-parent";return oa.literal?Ki?"literalline":"literallineWithoutBreakParent":oa.hard?Ki?"hardline":"hardlineWithoutBreakParent":oa.soft?"softline":"line"}if(oa.type==="break-parent")return Array.isArray(zi)&&zi[ca-1]&&zi[ca-1].type==="line"&&zi[ca-1].hard?void 0:"breakParent";if(oa.type==="trim")retur
Print ( to stderr ) where a cursor at the given position would move to after formatting .
This option cannot be used with -- range - start and -- range - end .
` ,cliCategory:ui},endOfLine:{since:"1.15.0",category:ji,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only ( \\ n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters ( \\ r \\ n), common on Windows"},{value:"cr",description:"Carriage Return character only ( \\ r), used very rarely"},{value:"auto",description:Ln `
Maintain existing
( mixed values within one file are normalised by looking at what ' s used after the first line )
` }]},filepath:{since:"1.4.0",category:Gi,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Hn,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Gi,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Hn},parser:{since:"0.0.10",category:ji,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:oa=>typeof oa=="string"||typeof oa=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:ji,description:"Add a plugin. Multiple plugins can be passed as separate ` -- plugin ` s.",exception:oa=>typeof oa=="string"||typeof oa=="object",cliName:"plugin",cliCategory:fi},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:ji,description:Ln `
Custom directory that contains prettier plugins in node _modules subdirectory .
Overrides default behavior when plugins are searched relatively to the location of Prettier .
Multiple values are accepted .
` ,exception:oa=>typeof oa=="string"||typeof oa=="object",cliName:"plugin-search-dir",cliCategory:fi},printWidth:{since:"0.0.0",category:ji,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Gi,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ln `
Format code ending at a given character offset ( exclusive ) .
The range will extend forwards to the end of the selected statement .
This option cannot be used with -- cursor - offset .
` ,cliCategory:ui},rangeStart:{since:"1.4.0",category:Gi,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ln `
Format code starting at a given character offset .
The range will extend backwards to the start of the first line containing the selected statement .
This option cannot be used with -- cursor - offset .
` ,cliCategory:ui},requirePragma:{since:"1.7.0",category:Gi,type:"boolean",default:!1,description:Ln `
Require either '@prettier' or '@format' to be present in the file ' s first docblock comment
in order for it to be formatted .
` ,cliCategory:Hn},tabWidth:{type:"int",category:ji,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:ji,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:ji,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};Ui.exports={CATEGORY_CONFIG:fi,CATEGORY_EDITOR:ui,CATEGORY_FORMAT:Fn,CATEGORY_OTHER:Hn,CATEGORY_OUTPUT:zn,CATEGORY_GLOBAL:ji,CATEGORY_SPECIAL:Gi,options:la}}}),Nm=Po({"src/main/support.js"(Zn,Ui){ei();var Ln={compare:df(),lt:hm(),gte:Hf()},fi=Ah(),ui=ds().version,Fn=Gh().options;function Hn(){let{plugins:ji=[],showUnreleased:Gi=!1,showDeprecated:la=!1,showInternal:oa=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ca=ui.split("-",1)[0],zi=ji.flatMap(Sa=>Sa.languages||[]).filter(ma),Ki=fi(Object.assign({},...ji.map(Sa=>{let{options:Qa}=Sa;return Qa}),Fn),"name").filter(Sa=>ma(Sa)&&za(Sa)).sort((Sa,Qa)=>Sa.name===Qa.name?0:Sa.name<Qa.name?-1:1).map(Xa).map(Sa=>{Sa=Object.assign({},Sa),Array.isArray(Sa.default)&&(Sa.default=Sa.default.length===1?Sa.default[0].value:Sa.default.filter(ma).sort((Ia,co)=>Ln.compare(co.since,Ia.since))[0].value),Array.isArray(Sa.choices)&&(Sa.choices=Sa.choices.filter(Ia=>ma(Ia)&&za(Ia)),Sa.name==="parser"&&zn(Sa,zi,ji));let Qa=Object.fromEntries(ji.filter(Ia=>Ia.defaultOptions&&Ia.defaultOptions[Sa.name]!==void 0).map(Ia=>[Ia.name,Ia.defaultOptions[Sa.name]]));return Object.assign(Object.assign({},Sa),{},{pluginDefaults:Qa})});return{languages:zi,options:Ki};function ma(Sa){return Gi||!("since"in Sa)||Sa.since&&Ln.gte(ca,Sa.since)}function za(Sa){return la||!("deprecated"in Sa)||Sa.deprecated&&Ln.lt(ca,Sa.deprecated)}function Xa(Sa){return oa?Sa:Ta(Sa,oi)}}function zn(ji,Gi,la){let oa=new Set(ji.choices.map(ca=>ca.value));for(let ca of Gi)if(ca.parsers){for(let zi of ca.parsers)if(!oa.has(zi)){oa.add(zi);let Ki=la.find(za=>za.parsers&&za.parsers[zi]),ma=ca.name;Ki&&Ki.name&&(ma+= ` ( plugin : $ { Ki . name } ) ` ),ji.choices.push({value:zi,description:ma})}}}Ui.exports={getSupportInfo:Hn}}}),Vm=Po({"src/utils/is-non-empty-array.js"(Zn,Ui){ei();function Ln(fi){return Array.isArray(fi)&&fi.length>0}Ui.exports=Ln}}),Hm=Po({"src/utils/text/skip.js"(Zn,Ui){ei();function Ln(zn){return(ji,Gi,la)=>{let oa=la&&la.backwards;if(Gi===!1)return!1;let{length:ca}=ji,zi=Gi;for(;zi>=0&&zi<ca;){let Ki=ji.charAt(zi);if(zn instanceof RegExp){if(!zn.test(Ki))return zi}else if(!zn.includes(Ki))return zi;oa?zi--:zi++}return zi===-1||zi===ca?zi:!1}}var fi=Ln(/ \s /),ui=Ln(" "),Fn=Ln(",; "),Hn=Ln(/[^ \n \r ]/);Ui.exports={skipWhitespace:fi,skipSpaces:ui,skipToLineEnd:Fn,skipEverythingButNewLine:Hn}}}),jd=Po({"src/utils/text/skip-inline-comment.js"(Zn,Ui){ei();function Ln(fi,ui){if(ui===!1)return!1;if(fi.charAt(ui)==="/"&&fi.charAt(ui+1)==="*"){for(let Fn=ui+2;Fn<fi.length;++Fn)if(fi.charAt(Fn)==="*"&&fi.charAt(Fn+1)==="/")return Fn+2}return ui}Ui.exports=Ln}}),Fd=Po({"src/utils/text/skip-trailing-comment.js"(Zn,Ui){ei();var{skipEverythingButNewLine:Ln}=Hm();function fi(ui,Fn){return Fn===!1?!1:ui.charAt(Fn)==="/"&&ui.charAt(Fn+1)==="/"?Ln(ui,Fn):Fn}Ui.exports=fi}}),Yp=Po({"src/utils/text/skip-newline.js"(Zn,Ui){ei();function Ln(fi,ui,Fn){let Hn=Fn&&Fn.backwards;if(ui===!1)return!1;let zn=fi.charAt(ui);if(Hn){if(fi.charAt(ui-1)===" \r "&&zn=== `
` )return ui-2;if(zn=== `
` ||zn===" \r "||zn===" \u 2028"||zn===" \u 2029")return ui-1}else{if(zn===" \r "&&fi.charAt(ui+1)=== `
` )return ui+2;if(zn=== `
` ||zn===" \r "||zn===" \u 2028"||zn===" \u 2029")return ui+1}return ui}Ui.exports=Ln}}),Cf=Po({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Zn,Ui){ei();var Ln=jd(),fi=Yp(),ui=Fd(),{skipSpaces:Fn}=Hm();function Hn(zn,ji){let Gi=null,la=ji;for(;la!==Gi;)Gi=la,la=Fn(zn,la),la=Ln(zn,la),la=ui(zn,la),la=fi(zn,la);return la}Ui.exports=Hn}}),od=Po({"src/common/util.js"(Zn,Ui){ei();var{default:Ln}=(Tf(),qc( $ f)),fi=Bu(),{getSupportInfo:ui}=Nm(),Fn=Vm(),Hn=Sf(),{skipWhitespace:zn,skipSpaces:ji,skipToLineEnd:Gi,skipEverythingButNewLine:la}=Hm(),oa=jd(),ca=Fd(),zi=Yp(),Ki=Cf(),ma=os=>os[os.length-2];function za(os){return(qo,Ds,ul)=>{let Ws=ul&&ul.backwards;if(Ds===!1)return!1;let{length:Cl}=qo,ns=Ds;for(;ns>=0&&ns<Cl;){let Ls=qo.charAt(ns);if(os instanceof RegExp){if(!os.test(Ls))return ns}else if(!os.includes(Ls))return ns;Ws?ns--:ns++}return ns===-1||ns===Cl?ns:!1}}function Xa(os,qo){let Ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ul=ji(os,Ds.backwards?qo-1:qo,Ds),Ws=zi(os,ul,Ds);return ul!==Ws}function Sa(os,qo,Ds){for(let ul=qo;ul<Ds;++ul)if(os.charAt(ul)=== `
` )return!0;return!1}function Qa(os,qo,Ds){let ul=Ds(qo)-1;ul=ji(os,ul,{backwards:!0}),ul=zi(os,ul,{backwards:!0}),ul=ji(os,ul,{backwards:!0});let Ws=zi(os,ul,{backwards:!0});return ul!==Ws}function Ia(os,qo){let Ds=null,ul=qo;for(;ul!==Ds;)Ds=ul,ul=Gi(os,ul),ul=oa(os,ul),ul=ji(os,ul);return ul=ca(os,ul),ul=zi(os,ul),ul!==!1&&Xa(os,ul)}function co(os,qo,Ds){return Ia(os,Ds(qo))}function Ja(os,qo,Ds){return Ki(os,Ds(qo))}function us(os,qo,Ds){return os.charAt(Ja(os,qo,Ds))}function ea(os,qo){let Ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ji(os,Ds.backwards?qo-1:qo,Ds)!==qo}function Ma(os,qo){let Ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,ul=0;for(let Ws=Ds;Ws<os.length;++Ws)os[Ws]===" "?ul=ul+qo-ul%qo:ul++;return ul}function Zi(os,qo){let Ds=os.lastIndexOf( `
` );return Ds===-1?0:Ma(os.slice(Ds+1).match(/^[ \t ]*/)[0],qo)}function fa(os,qo){let Ds={quote:'"',regex:/"/g,escaped:"""},ul={quote:"'",regex:/'/g,escaped:"'"},Ws=qo==="'"?ul:Ds,Cl=Ws===ul?Ds:ul,ns=Ws;if(os.includes(Ws.quote)||os.includes(Cl.quote)){let Ls=(os.match(Ws.regex)||[]).length,yl=(os.match(Cl.regex)||[]).length;ns=Ls>yl?Cl:Ws}return ns}function di(os,qo){let Ds=os.slice(1,-1),ul=qo.parser==="json"||qo.parser==="json5"&&qo.quoteProps==="preserve"&&!qo.singleQuote?'"':qo.__isInHtmlAttribute?"'":fa(Ds,qo.singleQuote?"'":'"').quote;return sa(Ds,ul,!(qo.parser==="css"||qo.parser==="less"||qo.parser==="scss"||qo.__embeddedInHtml))}function sa(os,qo,Ds){let ul=qo==='"'?"'":'"',Ws=/ \\ (.)|(["'])/gs,Cl=os.replace(Ws,(ns,Ls,yl)=>Ls===ul?Ls:yl===qo?" \\ "+yl:yl||(Ds&&/^[^ \n \r "'0-7 \\ bfnrt-vx \u 2028 \u 2029] $ /.test(Ls)?Ls:" \\ "+Ls));return qo+Cl+qo}function pa(os){return os.toLowerCase().replace(/^([+-]?[ \d .]+e)(?: \+ |(-))?0*( \d )/," $ 1 $ 2 $ 3").replace(/^([+-]?[ \d .]+)e[+-]?0+ $ /," $ 1").replace(/^([+-])? \. /," $ 10.").replace(/( \. \d +?)0+(?=e| $ )/," $ 1").replace(/ \. (?=e| $ )/,"")}function xa(os,qo){let Ds=os.match(new RegExp( ` ( $ { Ln ( qo ) } ) + ` ,"g"));return Ds===null?0:Ds.reduce((ul,Ws)=>Math.max(ul,Ws.length/qo.length),0)}function ka(os,qo){let Ds=os.match(new RegExp( ` ( $ { Ln ( qo ) } ) + ` ,"g"));if(Ds===null)return 0;let ul=new Map,Ws=0;for(let Cl of Ds){let ns=Cl.length/qo.length;ul.set(ns,!0),ns>Ws&&(Ws=ns)}for(let Cl=1;Cl<Ws;Cl++)if(!ul.get(Cl))return Cl;return Ws+1}function Fa(os,qo){(os.comments||(os.comments=[])).push(qo),qo.printed=!1,qo.nodeDescription=Hs(os)}function Eo(os,qo){qo.leading=!0,qo.trailing=!1,Fa(os,qo)}function Jo(os,qo,Ds){qo.leading=!1,qo.trailing=!1,Ds&&(qo.marker=Ds),Fa(os,qo)}function cs(os,qo){qo.leading=!1,qo.trailing=!0,Fa(os,qo)}function Qo(os,qo){let{languages:Ds}=ui({plugins:qo.plugins}),ul=Ds.find(Ws=>{let{name:Cl}=Ws;return Cl.toLowerCase()===os})||Ds.find(Ws=>{let{aliases:Cl}=Ws;return Array.isArray(Cl)&&Cl.includes(os)})||Ds.find(Ws=>{let{extensions:Cl}=Ws;return Array.isArray(Cl)&&Cl.includes( ` . $ { os } ` )});return ul&&ul.parsers[0]}function Ns(os){return os&&os.type==="front-matter"}function ko(os){let qo=new WeakMap;return function(Ds){return qo.has(Ds)||qo.set(Ds,Symbol(os)),qo.get(Ds)}}function Hs(os){let qo=os.type||os.kind||"(unknown type)",Ds=String(os.name||os.id&&(typeof os.id=="object"?os.id.name:os.id)||os.key&&(typeof os.key=="object"?os.key.name:os.key)||os.value&&(typeof os.value=="object"?"":String(os.value))||os.operator||"");return Ds.length>20&&(Ds=Ds.slice(0,19)+"…"),qo+(Ds?" "+Ds:"")}Ui.exports={inferParserByLanguage:Qo,getStringWidth:Hn,getMaxContinuousCount:xa,getMinNotPresentContinuousCount:ka,getPenultimate:ma,getLast:fi,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ki,getNextNonSpaceNonCommentCharacterIndex:Ja,getNextNonSpaceNonCommentCharacter:us,skip:za,skipWhitespace:zn,skipSpaces:ji,skipToLineEnd:Gi,skipEverythingButNewLine:la,skipInlineComment:oa,skipTrailingComment:ca,skipNewline:zi,isNextLineEmptyAfterIndex:Ia,isNextLineEmpty:co,isPreviousLineEmpty:Qa,hasNewline:Xa,hasNewlineInRange:Sa,hasSpaces:ea,getAlignmentSize:Ma,getIndentSize:Zi,getPreferredQuote:fa,printString:di,printNumber:pa,makeString:sa,addLeadingComment:Eo,addDanglingComment:Jo,addTrailingComment:cs,isFrontMatterNode:Ns,isNonEmptyArray:Fn,createGroupIdMapper:ko}}}),gm={};Ec(gm,{basename:()=>Gf,default:()=>Fi,delimiter:()=>On,dirname:()=>qf,extname:()=>Dm,isAbsolute:()=>qm,join:()=>Xd,normalize:()=>zm,relative:()=>Am,resolve:()=>wf,sep:()=>im});function oh(Zn,Ui){for(var Ln=0,fi=Zn.length-1;fi>=0;fi--){var ui=Zn[fi];ui==="."?Zn.splice(fi,1):ui===".."?(Zn.splice(fi,1),Ln++):Ln&&(Zn.splice(fi,1),Ln--)}if(Ui)for(;Ln--;Ln)Zn.unshift("..");return Zn}function wf(){for(var Zn="",Ui=!1,Ln=arguments.length-1;Ln>=-1&&!Ui;Ln--){var fi=Ln>=0?arguments[Ln]:"/";if(typeof fi!="string")throw new TypeError("Arguments to path.resolve must be strings");fi&&(Zn=fi+"/"+Zn,Ui=fi.charAt(0)==="/")}return Zn=oh(_p(Zn.split("/"),function(ui){return!!ui}),!Ui).join("/"),(Ui?"/":"")+Zn||"."}function zm(Zn){var Ui=qm(Zn),Ln=Hi(Zn,-1)==="
` ,Ki(zi.gutter,Ma.replace(/ \d /g," "))," ",sa,Ki(zi.marker,"^").repeat(pa)].join(""),fa&&la.message&&(di+=" "+Ki(zi.message,la.message))}return[Ki(zi.marker,">"),Ki(zi.gutter,Ma),Ja.length>0? ` $ { Ja } ` :"",di].join("")}else return ` $ { Ki ( zi . gutter , Ma ) } $ { Ja . length > 0 ? ` ${ Ja } ` : "" } ` }).join( `
` );return la.message&&!Qa&&(co= ` $ { " " . repeat ( Ia + 1 ) } $ { la . message }
$ { co } ` ),oa?ca.reset(co):co}function zn(ji,Gi,la){let oa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!Ln){Ln=!0;let ca="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use ` codeFrameColumns ` .";if(Qc.emitWarning)Qc.emitWarning(ca,"DeprecationWarning");else{let zi=new Error(ca);zi.name="DeprecationWarning",console.warn(new Error(ca))}}return la=Math.max(la,0),Hn(ji,{start:{column:la,line:Gi}},oa)}}}),al=Po({"src/main/parser.js"(Zn,Ui){ei();var{ConfigError:Ln}=kd(),fi=Fp();s0();var{locStart:ui,locEnd:Fn}=fi,Hn=Object.getOwnPropertyNames,zn=Object.getOwnPropertyDescriptor;function ji(oa){let ca={};for(let zi of oa.plugins)if(zi.parsers)for(let Ki of Hn(zi.parsers))Object.defineProperty(ca,Ki,zn(zi.parsers,Ki));return ca}function Gi(oa){let ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ji(oa);if(typeof oa.parser=="function")return{parse:oa.parser,astFormat:"estree",locStart:ui,locEnd:Fn};if(typeof oa.parser=="string"){if(Object.prototype.hasOwnProperty.call(ca,oa.parser))return ca[oa.parser];throw new Ln( ` Couldn ' t resolve parser "${oa.parser}" . Parsers must be explicitly added to the standalone bundle . ` )}}function la(oa,ca){let zi=ji(ca),Ki=Object.defineProperties({},Object.fromEntries(Object.keys(zi).map(za=>[za,{enumerable:!0,get(){return zi[za].parse}}]))),ma=Gi(ca,zi);try{return ma.preprocess&&(oa=ma.preprocess(oa,ca)),{text:oa,ast:ma.parse(oa,Ki,ca)}}catch(za){let{loc:Xa}=za;if(Xa){let{codeFrameColumns:Sa}=bm();throw za.codeFrame=Sa(oa,Xa,{highlightCode:!0}),za.message+= `
` +za.codeFrame,za}throw za}}Ui.exports={parse:la,resolveParser:Gi}}}),mc=Po({"src/main/options.js"(Zn,Ui){ei();var Ln=sd(),{UndefinedParserError:fi}=kd(),{getSupportInfo:ui}=Nm(),Fn=gh(),{resolveParser:Hn}=al(),zn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function ji(oa){let ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zi=Object.assign({},oa),Ki=ui({plugins:oa.plugins,showUnreleased:!0,showDeprecated:!0}).options,ma=Object.assign(Object.assign({},zn),Object.fromEntries(Ki.filter(Ia=>Ia.default!==void 0).map(Ia=>[Ia.name,Ia.default])));if(!zi.parser){if(!zi.filepath)(ca.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),zi.parser="babel";else if(zi.parser=la(zi.filepath,zi.plugins),!zi.parser)throw new fi( ` No parser could be inferred for file : $ { zi . filepath } ` )}let za=Hn(Fn.normalizeApiOptions(zi,[Ki.find(Ia=>Ia.name==="parser")],{passThrough:!0,logger:!1}));zi.astFormat=za.astFormat,zi.locEnd=za.locEnd,zi.locStart=za.locStart;let Xa=Gi(zi);zi.printer=Xa.printers[zi.astFormat];let Sa=Object.fromEntries(Ki.filter(Ia=>Ia.pluginDefaults&&Ia.pluginDefaults[Xa.name]!==void 0).map(Ia=>[Ia.name,Ia.pluginDefaults[Xa.name]])),Qa=Object.assign(Object.assign({},ma),Sa);for(let[Ia,co]of Object.entries(Qa))(zi[Ia]===null||zi[Ia]===void 0)&&(zi[Ia]=co);return zi.parser==="json"&&(zi.trailingComma="none"),Fn.normalizeApiOptions(zi,Ki,Object.assign({passThrough:Object.keys(zn)},ca))}function Gi(oa){let{astFormat:ca}=oa;if(!ca)throw new Error("getPlugin() requires astFormat to be set");let zi=oa.plugins.find(Ki=>Ki.printers&&Ki.printers[ca]);if(!zi)throw new Error( ` Couldn ' t find plugin for AST format "${ca}" ` );return zi}function la(oa,ca){let zi=Ln.basename(oa).toLowerCase(),Ki=ui({plugins:ca}).languages.filter(ma=>ma.since!==null).find(ma=>ma.extensions&&ma.extensions.some(za=>zi.endsWith(za))||ma.filenames&&ma.filenames.some(za=>za.toLowerCase()===zi));return Ki&&Ki.parsers[0]}Ui.exports={normalize:ji,hiddenDefaults:zn,inferParser:la}}}),rc=Po({"src/main/massage-ast.js"(Zn,Ui){ei();function Ln(fi,ui,Fn){if(Array.isArray(fi))return fi.map(Gi=>Ln(Gi,ui,Fn)).filter(Boolean);if(!fi||typeof fi!="object")return fi;let Hn=ui.printer.massageAstNode,zn;Hn&&Hn.ignoredProperties?zn=Hn.ignoredProperties:zn=new Set;let ji={};for(let[Gi,la]of Object.entries(fi))!zn.has(Gi)&&typeof la!="function"&&(ji[Gi]=Ln(la,ui,fi));if(Hn){let Gi=Hn(fi,ji,Fn);if(Gi===null)return;if(Gi)return Gi}return ji}Ui.exports=Ln}}),Cu=Po({"scripts/build/shims/assert.cjs"(Zn,Ui){ei();var Ln=()=>{};Ln.ok=Ln,Ln.strictEqual=Ln,Ui.exports=Ln}}),ku=Po({"src/main/comments.js"(Zn,Ui){ei();var Ln=Cu(),{builders:{line:fi,hardline:ui,breakParent:Fn,indent:Hn,lineSuffix:zn,join:ji,cursor:Gi}}=Du(),{hasNewline:la,skipNewline:oa,skipSpaces:ca,isPreviousLineEmpty:zi,addLeadingComment:Ki,addDanglingComment:ma,addTrailingComment:za}=od(),Xa=new WeakMap;function Sa(Eo,Jo,cs){if(!Eo)return;let{printer:Qo,locStart:Ns,locEnd:ko}=Jo;if(cs){if(Qo.canAttachComment&&Qo.canAttachComment(Eo)){let os;for(os=cs.length-1;os>=0&&!(Ns(cs[os])<=Ns(Eo)&&ko(cs[os])<=ko(Eo));--os);cs.splice(os+1,0,Eo);return}}else if(Xa.has(Eo))return Xa.get(Eo);let Hs=Qo.getCommentChildNodes&&Qo.getCommentChildNodes(Eo,Jo)||typeof Eo=="object"&&Object.entries(Eo).filter(os=>{let[qo]=os;return qo!=="enclosingNode"&&qo!=="precedingNode"&&qo!=="followingNode"&&qo!=="tokens"&&qo!=="comments"&&qo!=="parent"}).map(os=>{let[,qo]=os;return qo});if(Hs){cs||(cs=[],Xa.set(Eo,cs));for(let os of Hs)Sa(os,Jo,cs);return cs}}function Qa(Eo,Jo,cs,Qo){let{locStart:Ns,locEnd:ko}=cs,Hs=Ns(Jo),os=ko(Jo),qo=Sa(Eo,cs),Ds,ul,Ws=0,Cl=qo.length;for(;Ws<Cl;){let ns=Ws+Cl>>1,Ls=qo[ns],yl=Ns(Ls),ml=ko(Ls);if(yl<=Hs&&os<=ml)return Qa(Ls,Jo,cs,Ls);if(ml<=Hs){Ds=Ls,Ws=ns+1;continue}if(os<=yl){ul=Ls,Cl=ns;continue}throw new Error("Comment location overlaps with node location")}if(Qo&&Qo.type==="TemplateLiteral"){let{quasis:ns}=Qo,Ls=fa(ns,Jo,cs);Ds&&fa(ns,Ds,cs)!==Ls&&
` ,pa)+1),Eo=sa.slice(Fa,pa).match(/^ \s */)[0],Jo=Fn(Eo,fa.tabWidth),cs=Qa(ka,Object.assign(Object.assign({},fa),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:fa.cursorOffset>pa&&fa.cursorOffset<=xa?fa.cursorOffset-pa:-1,endOfLine:"lf"}),Jo),Qo=cs.formatted.trimEnd(),{cursorOffset:Ns}=fa;Ns>xa?Ns+=Qo.length-ka.length:cs.cursorOffset>=0&&(Ns=cs.cursorOffset+pa);let ko=sa.slice(0,pa)+Qo+sa.slice(xa);if(fa.endOfLine!=="lf"){let Hs=zn(fa.endOfLine);Ns>=0&&Hs=== ` \ r
` &&(Ns+=ji(ko.slice(0,Ns), `
` )),ko=ko.replace(/ \n /g,Hs)}return{formatted:ko,cursorOffset:Ns,comments:cs.comments}}function co(Zi,fa,di){return typeof fa!="number"||Number.isNaN(fa)||fa<0||fa>Zi.length?di:fa}function Ja(Zi,fa){let{cursorOffset:di,rangeStart:sa,rangeEnd:pa}=fa;return di=co(Zi,di,-1),sa=co(Zi,sa,0),pa=co(Zi,pa,Zi.length),Object.assign(Object.assign({},fa),{},{cursorOffset:di,rangeStart:sa,rangeEnd:pa})}function us(Zi,fa){let{cursorOffset:di,rangeStart:sa,rangeEnd:pa,endOfLine:xa}=Ja(Zi,fa),ka=Zi.charAt(0)===za;if(ka&&(Zi=Zi.slice(1),di--,sa--,pa--),xa==="auto"&&(xa=Hn(Zi)),Zi.includes(" \r ")){let Fa=Eo=>ji(Zi.slice(0,Math.max(Eo,0)), ` \ r
` );di-=Fa(di),sa-=Fa(sa),pa-=Fa(pa),Zi=Gi(Zi)}return{hasBOM:ka,text:Zi,options:Ja(Zi,Object.assign(Object.assign({},fa),{},{cursorOffset:di,rangeStart:sa,rangeEnd:pa,endOfLine:xa}))}}function ea(Zi,fa){let di=zi.resolveParser(fa);return!di.hasPragma||di.hasPragma(Zi)}function Ma(Zi,fa){let{hasBOM:di,text:sa,options:pa}=us(Zi,la(fa));if(pa.rangeStart>=pa.rangeEnd&&sa!==""||pa.requirePragma&&!ea(sa,pa))return{formatted:Zi,cursorOffset:fa.cursorOffset,comments:[]};let xa;return pa.rangeStart>0||pa.rangeEnd<sa.length?xa=Ia(sa,pa):(!pa.requirePragma&&pa.insertPragma&&pa.printer.insertPragma&&!ea(sa,pa)&&(sa=pa.printer.insertPragma(sa)),xa=Qa(sa,pa)),di&&(xa.formatted=za+xa.formatted,xa.cursorOffset>=0&&xa.cursorOffset++),xa}Ui.exports={formatWithCursor:Ma,parse(Zi,fa,di){let{text:sa,options:pa}=us(Zi,la(fa)),xa=zi.parse(sa,pa);return di&&(xa.ast=oa(xa.ast,pa)),xa},formatAST(Zi,fa){fa=la(fa);let di=Ki(Zi,fa);return fi(di,fa)},formatDoc(Zi,fa){return Ma(ui(Zi),Object.assign(Object.assign({},fa),{},{parser:"__js_expression"})).formatted},printToDoc(Zi,fa){fa=la(fa);let{ast:di,text:sa}=zi.parse(Zi,fa);return Sa(sa,di,fa),Ki(di,fa)},printDocToString(Zi,fa){return fi(Zi,la(fa))}}}}),Df=Po({"src/common/util-shared.js"(Zn,Ui){ei();var{getMaxContinuousCount:Ln,getStringWidth:fi,getAlignmentSize:ui,getIndentSize:Fn,skip:Hn,skipWhitespace:zn,skipSpaces:ji,skipNewline:Gi,skipToLineEnd:la,skipEverythingButNewLine:oa,skipInlineComment:ca,skipTrailingComment:zi,hasNewline:Ki,hasNewlineInRange:ma,hasSpaces:za,isNextLineEmpty:Xa,isNextLineEmptyAfterIndex:Sa,isPreviousLineEmpty:Qa,getNextNonSpaceNonCommentCharacterIndex:Ia,makeString:co,addLeadingComment:Ja,addDanglingComment:us,addTrailingComment:ea}=od();Ui.exports={getMaxContinuousCount:Ln,getStringWidth:fi,getAlignmentSize:ui,getIndentSize:Fn,skip:Hn,skipWhitespace:zn,skipSpaces:ji,skipNewline:Gi,skipToLineEnd:la,skipEverythingButNewLine:oa,skipInlineComment:ca,skipTrailingComment:zi,hasNewline:Ki,hasNewlineInRange:ma,hasSpaces:za,isNextLineEmpty:Xa,isNextLineEmptyAfterIndex:Sa,isPreviousLineEmpty:Qa,getNextNonSpaceNonCommentCharacterIndex:Ia,makeString:co,addLeadingComment:Ja,addDanglingComment:us,addTrailingComment:ea}}}),Yf=Po({"src/utils/create-language.js"(Zn,Ui){ei(),Ui.exports=function(Ln,fi){let{languageId:ui}=Ln,Fn=Ta(Ln,aa);return Object.assign(Object.assign({linguistLanguageId:ui},Fn),fi(Ln))}}}), $ m=Po({"node_modules/esutils/lib/ast.js"(Zn,Ui){ei(),function(){function Ln(ji){if(ji==null)return!1;switch(ji.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function fi(ji){if(ji==null)return!1;switch(ji.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function ui(ji){if(ji==null)return!1;switch(ji.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function Fn(ji){return ui(ji)||ji!=null&&ji.type==="FunctionDeclaration"}function Hn(ji){switch(ji.type){case"IfStatement":return ji.alternate!=null?ji.alternate:ji.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return ji.body}return null}function zn(ji){var Gi;if(ji.type!=="IfStatement"||ji.alternate==null)return!1;Gi=ji.consequent;do{if(Gi.type==="IfStatement"&&Gi.alternate==null)return!0;Gi=Hn(Gi)}while(Gi);return!1}Ui.exports={isExpression:Ln,isStatement:ui,isIterationStatement:fi,isSourceElement:Fn,isProblematicIfStatement:z
` ))}function fu(xo,dl){return(xo.type==="TemplateLiteral"&&uc(xo)||xo.type==="TaggedTemplateExpression"&&uc(xo.quasi))&&!ui(dl,Gi(xo),{backwards:!0})}function Td(xo){if(!yc(xo))return!1;let dl=fi(As(xo,_l.Dangling));return dl&&!ca(dl)}function Qu(xo){if(xo.length<=1)return!1;let dl=0;for(let cu of xo)if(ka(cu)){if(dl+=1,dl>1)return!0}else if(yl(cu)){for(let Wu of cu.arguments)if(ka(Wu))return!0}return!1}function yu(xo){let dl=xo.getValue(),cu=xo.getParentNode();return yl(dl)&&yl(cu)&&cu.callee===dl&&dl.arguments.length>cu.arguments.length&&cu.arguments.length>0}function hu(xo,dl){if(dl>=2)return!1;let cu=Ld=>hu(Ld,dl+1),Wu=xo.type==="Literal"&&"regex"in xo&&xo.regex.pattern||xo.type==="RegExpLiteral"&&xo.pattern;if(Wu&&ji(Wu)>5)return!1;if(xo.type==="Literal"||xo.type==="BigIntLiteral"||xo.type==="DecimalLiteral"||xo.type==="BooleanLiteral"||xo.type==="NullLiteral"||xo.type==="NumericLiteral"||xo.type==="RegExpLiteral"||xo.type==="StringLiteral"||xo.type==="Identifier"||xo.type==="ThisExpression"||xo.type==="Super"||xo.type==="PrivateName"||xo.type==="PrivateIdentifier"||xo.type==="ArgumentPlaceholder"||xo.type==="Import")return!0;if(xo.type==="TemplateLiteral")return xo.quasis.every(Ld=>!Ld.value.raw.includes( `
` ))&&xo.expressions.every(cu);if(xo.type==="ObjectExpression")return xo.properties.every(Ld=>!Ld.computed&&(Ld.shorthand||Ld.value&&cu(Ld.value)));if(xo.type==="ArrayExpression")return xo.elements.every(Ld=>Ld===null||cu(Ld));if(wu(xo))return(xo.type==="ImportExpression"||hu(xo.callee,dl))&&Cs(xo).every(cu);if(ml(xo))return hu(xo.object,dl)&&hu(xo.property,dl);let ld={"!":!0,"-":!0,"+":!0,"~":!0};if(xo.type==="UnaryExpression"&&ld[xo.operator])return hu(xo.argument,dl);let fp={"++":!0,"--":!0};return xo.type==="UpdateExpression"&&fp[xo.operator]?hu(xo.argument,dl):xo.type==="TSNonNullExpression"?hu(xo.expression,dl):!1}function hl(xo){var dl,cu;return(dl=(cu=xo.extra)===null||cu===void 0?void 0:cu.raw)!==null&&dl!==void 0?dl:xo.raw}function ss(xo){return xo}function Dl(xo){return xo.filepath&&/ \. tsx $ /i.test(xo.filepath)}function js(xo){let dl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return xo.trailingComma==="es5"&&dl==="es5"||xo.trailingComma==="all"&&(dl==="all"||dl==="es5")}function vl(xo,dl){switch(xo.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return vl(xo.left,dl);case"MemberExpression":case"OptionalMemberExpression":return vl(xo.object,dl);case"TaggedTemplateExpression":return xo.tag.type==="FunctionExpression"?!1:vl(xo.tag,dl);case"CallExpression":case"OptionalCallExpression":return xo.callee.type==="FunctionExpression"?!1:vl(xo.callee,dl);case"ConditionalExpression":return vl(xo.test,dl);case"UpdateExpression":return!xo.prefix&&vl(xo.argument,dl);case"BindExpression":return xo.object&&vl(xo.object,dl);case"SequenceExpression":return vl(xo.expressions[0],dl);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return vl(xo.expression,dl);default:return dl(xo)}}var Kc={"==":!0,"!=":!0,"===":!0,"!==":!0},rr={"*":!0,"/":!0,"%":!0},ur={">>":!0,">>>":!0,"<<":!0};function gr(xo,dl){return!(Tr(dl)!==Tr(xo)||xo==="**"||Kc[xo]&&Kc[dl]||dl==="%"&&rr[xo]||xo==="%"&&rr[dl]||dl!==xo&&rr[dl]&&rr[xo]||ur[xo]&&ur[dl])}var yr=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((xo,dl)=>xo.map(cu=>[cu,dl])));function Tr(xo){return yr.get(xo)}function Xr(xo){return!!ur[xo]||xo==="|"||xo==="^"||xo==="&"}function In(xo){var dl;if(xo.rest)return!0;let cu=Vi(xo);return((dl=fi(cu))===null||dl===void 0?void 0:dl.type)==="RestElement"}var mi=new WeakMap;function Vi(xo){if(mi.has(xo))return mi.get(xo);let dl=[];return xo.this&&dl.push(xo.this),Array.isArray(xo.parameters)?dl.push(...xo.parameters):Array.isArray(xo.params)&&dl.push(...xo.params),xo.rest&&dl.push(xo.rest),mi.set(xo,dl),dl}function Aa(xo,dl){let cu=xo.getValue(),Wu=0,ld=fp=>dl(fp,Wu++);cu.this&&xo.call(ld,"this"),Array.isArray(cu.parameters)?xo.each(ld,"parameters"):Array.isArray(cu.params)&&xo.each(ld,"params"),cu.rest&&xo.call(ld,"rest")}var Co=new WeakMap;function Cs(xo){if(Co.has(xo))return Co.get(xo);let dl=xo.arguments;return xo.type==="ImportExpression"&&(dl=[xo.source],xo.attributes&&dl.push(xo.attributes)),Co.set(xo,dl),dl}function ws(xo,dl){let cu=xo.getValue();cu.type==="ImportExpression"?(xo.call(Wu=>dl(Wu,0),"source"),cu.attributes&&xo.call(Wu=>dl(Wu,1),"attributes")):xo.each(dl,"arguments")}function Is(xo){return xo.value.trim()==="prettier-ignore"&&!xo.unignore}function sl(xo){return xo&&(xo.prettierIgnore||yc(xo,_l.PrettierIgnore))}function pc(xo){let dl=xo.getValue();return sl(dl)}var _l={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},_c=(xo,dl)=>{if(typeof xo=="function"&&(dl=xo,xo=0),xo||dl)return(cu,Wu,ld)=>!(xo&_l.Leading&&!cu.leading||xo&_l.Trailing&&!cu.trailing||xo&_l.Dangling&&(cu.leading||cu.trailing)||xo&_l.Block&&!ca(cu)||xo&_l.Line&&!ea(cu)||xo&_l.First&&Wu!==0||xo&_l.Last&&Wu!==ld.length-1||xo&_l.PrettierIgnore&&!Is(cu)||dl&&!dl(cu))};function yc(xo,dl,cu){if(!Hn(xo==null?void 0:xo.comments))return!1;let Wu=_c(dl,cu);return Wu?xo.comments.some(Wu):!0}function As(xo,dl,cu){if(!Array.isAr
` )?la(Number.NEGATIVE_INFINITY,Hs):ca(Hs,ko,Qo);ka.push(ji([" ${ ",os,oa," } "]))}},"quasis"),ka.push(" ` "),ka}function Ja(fa,di,sa){let pa=fa.getNode(),xa=pa.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(xa.length>1||xa.some(ka=>ka.length>0)){di.__inJestEach=!0;let ka=fa.map(sa," expressions ");di.__inJestEach=!1;let Fa=[],Eo=ka.map(ko=>" $ { "+zi(ko,Object.assign(Object.assign({},di),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:" lf "})).formatted+" } " ) , Jo = [ { hasLineBreak : ! 1 , cells : [ ] } ] ; for ( let ko = 1 ; ko < pa . quasis . length ; ko ++ ) { let Hs = Ln ( Jo ) , os = Eo [ ko - 1 ] ; Hs . cells . push ( os ) , os . includes ( `
` )&&(Hs.hasLineBreak=!0),pa.quasis[ko].value.raw.includes( `
` )&&Jo.push({hasLineBreak:!1,cells:[]})}let cs=Math.max(xa.length,...Jo.map(ko=>ko.cells.length)),Qo=Array.from({length:cs}).fill(0),Ns=[{cells:xa},...Jo.filter(ko=>ko.cells.length>0)];for(let{cells:ko}of Ns.filter(Hs=>!Hs.hasLineBreak))for(let[Hs,os]of ko.entries())Qo[Hs]=Math.max(Qo[Hs],fi(os));return Fa.push(oa," ` ",Gi([Hn,Fn(Hn,Ns.map(ko=>Fn(" | ",ko.cells.map((Hs,os)=>ko.hasLineBreak?Hs:Hs+" ".repeat(Qo[os]-fi(Hs))))))]),Hn," ` "),Fa}}function us(fa,di){let sa=fa.getValue(),pa=di();return Sa(sa)&&(pa=ji([Gi([zn,pa]),zn])),[" ${ ",pa,oa," } "]}function ea(fa,di){return fa.map(sa=>us(sa,di),"expressions")}function Ma(fa,di){return Ki(fa,sa=>typeof sa=="string"?di?sa.replace(/( \\ *) ` / g , "$1$1\\`" ) : Zi ( sa ) : sa ) } function Zi ( fa ) { return fa . replace ( /([\\`]|\${)/g , "\\$1" ) } Ui . exports = { printTemplateLiteral : co , printTemplateExpressions : ea , escapeTemplateCharacters : Ma , uncookTemplateElementValue : Zi } } } ) , Xm = Po ( { "src/language-js/embed/markdown.js" ( Zn , Ui ) { ei ( ) ; var { builders : { indent : Ln , softline : fi , literalline : ui , dedentToRoot : Fn } } = Du ( ) , { escapeTemplateCharacters : Hn } = sf ( ) ; function zn ( Gi , la , oa ) { let ca = Gi . getValue ( ) . quasis [ 0 ] . value . raw . replace ( /((?:\\\\)*)\\`/g , ( za , Xa ) => "\\" . repeat ( Xa . length / 2 ) + "`" ) , zi = ji ( ca ) , Ki = zi !== "" ; Ki && ( ca = ca . replace ( new RegExp ( ` ^ ${ zi } ` , "gm" ) , "" ) ) ; let ma = Hn ( oa ( ca , { parser : "markdown" , _ _inJsTemplate : ! 0 } , { stripTrailingHardline : ! 0 } ) , ! 0 ) ; return [ "`" , Ki ? Ln ( [ fi , ma ] ) : [ ui , Fn ( ma ) ] , fi , "`" ] } function ji ( Gi ) { let la = Gi . match ( /^([^\S\n]*)\S/m ) ; return la === null ? "" : la [ 1 ] } Ui . exports = zn } } ) , qp = Po ( { "src/language-js/embed/css.js" ( Zn , Ui ) { ei ( ) ; var { isNonEmptyArray : Ln } = od ( ) , { builders : { indent : fi , hardline : ui , softline : Fn } , utils : { mapDoc : Hn , replaceEndOfLine : zn , cleanDoc : ji } } = Du ( ) , { printTemplateExpressions : Gi } = sf ( ) ; function la ( zi , Ki , ma ) { let za = zi . getValue ( ) , Xa = za . quasis . map ( Ja => Ja . value . raw ) , Sa = 0 , Qa = Xa . reduce ( ( Ja , us , ea ) => ea === 0 ? us : Ja + "@prettier-placeholder-" + Sa ++ + "-id" + us , "" ) , Ia = ma ( Qa , { parser : "scss" } , { stripTrailingHardline : ! 0 } ) , co = Gi ( zi , Ki ) ; return oa ( Ia , za , co ) } function oa ( zi , Ki , ma ) { if ( Ki . quasis . length === 1 && ! Ki . quasis [ 0 ] . value . raw . trim ( ) ) return "``" ; let za = ca ( zi , ma ) ; if ( ! za ) throw new Error ( "Couldn't insert all the expressions" ) ; return [ "`" , fi ( [ ui , za ] ) , Fn , "`" ] } function ca ( zi , Ki ) { if ( ! Ln ( Ki ) ) return zi ; let ma = 0 , za = Hn ( ji ( zi ) , Xa => typeof Xa != "string" || ! Xa . includes ( "@prettier-placeholder" ) ? Xa : Xa . split ( /@prettier-placeholder-(\d+)-id/ ) . map ( ( Sa , Qa ) => Qa % 2 === 0 ? zn ( Sa ) : ( ma ++ , Ki [ Sa ] ) ) ) ; return Ki . length === ma ? za : null } Ui . exports = la } } ) , ym = Po ( { "src/language-js/embed/graphql.js" ( Zn , Ui ) { ei ( ) ; var { builders : { indent : Ln , join : fi , hardline : ui } } = Du ( ) , { escapeTemplateCharacters : Fn , printTemplateExpressions : Hn } = sf ( ) ; function zn ( Gi , la , oa ) { let ca = Gi . getValue ( ) , zi = ca . quasis . length ; if ( zi === 1 && ca . quasis [ 0 ] . value . raw . trim ( ) === "" ) return "``" ; let Ki = Hn ( Gi , la ) , ma = [ ] ; for ( let za = 0 ; za < zi ; za ++ ) { let Xa = ca . quasis [ za ] , Sa = za === 0 , Qa = za === zi - 1 , Ia = Xa . value . cooked , co = Ia . split ( `
` ),Ja=co.length,us=Ki[za],ea=Ja>2&&co[0].trim()===""&&co[1].trim()==="",Ma=Ja>2&&co[Ja-1].trim()===""&&co[Ja-2].trim()==="",Zi=co.every(di=>/^ \s *(?:#[^ \n \r ]*)? $ /.test(di));if(!Qa&&/#[^ \n \r ]* $ /.test(co[Ja-1]))return null;let fa=null;Zi?fa=ji(co):fa=oa(Ia,{parser:"graphql"},{stripTrailingHardline:!0}),fa?(fa=Fn(fa,!1),!Sa&&ea&&ma.push(""),ma.push(fa),!Qa&&Ma&&ma.push("")):!Sa&&!Qa&&ea&&ma.push(""),us&&ma.push(us)}return[" ` ",Ln([ui,fi(ui,ma)]),ui," ` "]}function ji(Gi){let la=[],oa=!1,ca=Gi.map(zi=>zi.trim());for(let[zi,Ki]of ca.entries())Ki!==""&&(ca[zi-1]===""&&oa?la.push([ui,Ki]):la.push(Ki),oa=!0);return la.length===0?null:fi(ui,la)}Ui.exports=zn}}),Xf=Po({"src/language-js/embed/html.js"(Zn,Ui){ei();var{builders:{indent:Ln,line:fi,hardline:ui,group:Fn},utils:{mapDoc:Hn}}=Du(),{printTemplateExpressions:zn,uncookTemplateElementValue:ji}=sf(),Gi=0;function la(oa,ca,zi,Ki,ma){let{parser:za}=ma,Xa=oa.getValue(),Sa=Gi;Gi=Gi+1>>>0;let Qa=sa=> ` PRETTIER _HTML _PLACEHOLDER _$ { sa } _$ { Sa } _IN _JS ` ,Ia=Xa.quasis.map((sa,pa,xa)=>pa===xa.length-1?sa.value.cooked:sa.value.cooked+Qa(pa)).join(""),co=zn(oa,ca);if(co.length===0&&Ia.trim().length===0)return" ` ` ";let Ja=new RegExp(Qa("( \\ d+)"),"g"),us=0,ea=zi(Ia,{parser:za,__onHtmlRoot(sa){us=sa.children.length}},{stripTrailingHardline:!0}),Ma=Hn(ea,sa=>{if(typeof sa!="string")return sa;let pa=[],xa=sa.split(Ja);for(let ka=0;ka<xa.length;ka++){let Fa=xa[ka];if(ka%2===0){Fa&&(Fa=ji(Fa),Ki.__embeddedInHtml&&(Fa=Fa.replace(/< \/ (script) \b /gi,"< \\ / $ 1")),pa.push(Fa));continue}let Eo=Number(Fa);pa.push(co[Eo])}return pa}),Zi=/^ \s /.test(Ia)?" ":"",fa=/ \s $ /.test(Ia)?" ":"",di=Ki.htmlWhitespaceSensitivity==="ignore"?ui:Zi&&fa?fi:null;return Fn(di?[" ` ",Ln([di,Fn(Ma)]),di," ` "]:[" ` ",Zi,us>1?Ln(Fn(Ma)):Fn(Ma),fa," ` "])}Ui.exports=la}}),Qf=Po({"src/language-js/embed.js"(Zn,Ui){ei();var{hasComment:Ln,CommentCheckFlags:fi,isObjectProperty:ui}=zd(),Fn=Xm(),Hn=qp(),zn=ym(),ji=Xf();function Gi(ea){if(ca(ea)||za(ea)||Xa(ea)||zi(ea))return"css";if(Ia(ea))return"graphql";if(Ja(ea))return"html";if(Ki(ea))return"angular";if(oa(ea))return"markdown"}function la(ea,Ma,Zi,fa){let di=ea.getValue();if(di.type!=="TemplateLiteral"||us(di))return;let sa=Gi(ea);if(sa){if(sa==="markdown")return Fn(ea,Ma,Zi);if(sa==="css")return Hn(ea,Ma,Zi);if(sa==="graphql")return zn(ea,Ma,Zi);if(sa==="html"||sa==="angular")return ji(ea,Ma,Zi,fa,{parser:sa})}}function oa(ea){let Ma=ea.getValue(),Zi=ea.getParentNode();return Zi&&Zi.type==="TaggedTemplateExpression"&&Ma.quasis.length===1&&Zi.tag.type==="Identifier"&&(Zi.tag.name==="md"||Zi.tag.name==="markdown")}function ca(ea){let Ma=ea.getValue(),Zi=ea.getParentNode(),fa=ea.getParentNode(1);return fa&&Ma.quasis&&Zi.type==="JSXExpressionContainer"&&fa.type==="JSXElement"&&fa.openingElement.name.name==="style"&&fa.openingElement.attributes.some(di=>di.name.name==="jsx")||Zi&&Zi.type==="TaggedTemplateExpression"&&Zi.tag.type==="Identifier"&&Zi.tag.name==="css"||Zi&&Zi.type==="TaggedTemplateExpression"&&Zi.tag.type==="MemberExpression"&&Zi.tag.object.name==="css"&&(Zi.tag.property.name==="global"||Zi.tag.property.name==="resolve")}function zi(ea){return ea.match(Ma=>Ma.type==="TemplateLiteral",(Ma,Zi)=>Ma.type==="ArrayExpression"&&Zi==="elements",(Ma,Zi)=>ui(Ma)&&Ma.key.type==="Identifier"&&Ma.key.name==="styles"&&Zi==="value",...ma)}function Ki(ea){return ea.match(Ma=>Ma.type==="TemplateLiteral",(Ma,Zi)=>ui(Ma)&&Ma.key.type==="Identifier"&&Ma.key.name==="template"&&Zi==="value",...ma)}var ma=[(ea,Ma)=>ea.type==="ObjectExpression"&&Ma==="properties",(ea,Ma)=>ea.type==="CallExpression"&&ea.callee.type==="Identifier"&&ea.callee.name==="Component"&&Ma==="arguments",(ea,Ma)=>ea.type==="Decorator"&&Ma==="expression"];function za(ea){let Ma=ea.getParentNode();if(!Ma||Ma.type!=="TaggedTemplateExpression")return!1;let Zi=Ma.tag.type==="ParenthesizedExpression"?Ma.tag.expression:Ma.tag;switch(Zi.type){case"MemberExpression":return Sa(Zi.object)||Qa(Zi);case"CallExpression":return Sa(Zi.callee)||Zi.callee.type==="MemberExpression"&&(Zi.callee.object.type==="MemberExpression"&&(Sa(Zi.callee.object.object)||Qa(Zi.cal
` ,Rs={EOL:Zo,tmpdir:_o,tmpDir:To,networkInterfaces:Fo,getNetworkInterfaces:vo,release:Vo,type:Io,cpus:vs,totalmem:Ps,freemem:Hh,uptime:um,loadavg:Lm,hostname:Qm,endianness:Of}}}),Us=Po({"node-modules-polyfills-commonjs:os"(Zn,Ui){ei();var Ln=(Ss(),qc(Ih));if(Ln&&Ln.default){Ui.exports=Ln.default;for(let fi in Ln)Ui.exports[fi]=Ln[fi]}else Ln&&(Ui.exports=Ln)}}),tl=Po({"node_modules/detect-newline/index.js"(Zn,Ui){ei();var Ln=fi=>{if(typeof fi!="string")throw new TypeError("Expected a string");let ui=fi.match(/(?: \r ? \n )/g)||[];if(ui.length===0)return;let Fn=ui.filter(zn=>zn=== ` \ r
` ).length,Hn=ui.length-Fn;return Fn>Hn? ` \ r
` : `
` };Ui.exports=Ln,Ui.exports.graceful=fi=>typeof fi=="string"&&Ln(fi)|| `
` }}),Gs=Po({"node_modules/jest-docblock/build/index.js"(Zn){ei(),Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.extract=zi,Zn.parse=ma,Zn.parseWithComments=za,Zn.print=Xa,Zn.strip=Ki;function Ui(){let Qa=Us();return Ui=function(){return Qa},Qa}function Ln(){let Qa=fi(tl());return Ln=function(){return Qa},Qa}function fi(Qa){return Qa&&Qa.__esModule?Qa:{default:Qa}}var ui=/ \* \/ $ /,Fn=/^ \/ \* \* ?/,Hn=/^ \s *( \/ \* \* ?(.| \r ? \n )*? \* \/ )/,zn=/(^| \s +) \/ \/ ([^ \r \n ]*)/g,ji=/^( \r ? \n )+/,Gi=/(?:^| \r ? \n ) *(@[^ \r \n ]*?) * \r ? \n *(?![^@ \r \n ]* \/ \/ [^]*)([^@ \r \n \s ][^@ \r \n ]+?) * \r ? \n /g,la=/(?:^| \r ? \n ) *@( \S +) *([^ \r \n ]*)/g,oa=/( \r ? \n |^) * \* ?/g,ca=[];function zi(Qa){let Ia=Qa.match(Hn);return Ia?Ia[0].trimLeft():""}function Ki(Qa){let Ia=Qa.match(Hn);return Ia&&Ia[0]?Qa.substring(Ia[0].length):Qa}function ma(Qa){return za(Qa).pragmas}function za(Qa){let Ia=(0,Ln().default)(Qa)||Ui().EOL;Qa=Qa.replace(Fn,"").replace(ui,"").replace(oa," $ 1");let co="";for(;co!==Qa;)co=Qa,Qa=Qa.replace(Gi, ` $ { Ia } $1 $2$ { Ia } ` );Qa=Qa.replace(ji,"").trimRight();let Ja=Object.create(null),us=Qa.replace(la,"").replace(ji,"").trimRight(),ea;for(;ea=la.exec(Qa);){let Ma=ea[2].replace(zn,"");typeof Ja[ea[1]]=="string"||Array.isArray(Ja[ea[1]])?Ja[ea[1]]=ca.concat(Ja[ea[1]],Ma):Ja[ea[1]]=Ma}return{comments:us,pragmas:Ja}}function Xa(Qa){let{comments:Ia="",pragmas:co={}}=Qa,Ja=(0,Ln().default)(Ia)||Ui().EOL,us="/**",ea=" *",Ma=" */",Zi=Object.keys(co),fa=Zi.map(sa=>Sa(sa,co[sa])).reduce((sa,pa)=>sa.concat(pa),[]).map(sa=> ` $ { ea } $ { sa } $ { Ja } ` ).join("");if(!Ia){if(Zi.length===0)return"";if(Zi.length===1&&!Array.isArray(co[Zi[0]])){let sa=co[Zi[0]];return ` $ { us } $ { Sa ( Zi [ 0 ] , sa ) [ 0 ] } $ { Ma } ` }}let di=Ia.split(Ja).map(sa=> ` $ { ea } $ { sa } ` ).join(Ja)+Ja;return us+Ja+(Ia?di:"")+(Ia&&Zi.length?ea+Ja:"")+fa+Ma}function Sa(Qa,Ia){return ca.concat(Ia).map(co=> ` @ $ { Qa } $ { co } ` .trim())}}}),bl=Po({"src/language-js/utils/get-shebang.js"(Zn,Ui){ei();function Ln(fi){if(!fi.startsWith("#!"))return"";let ui=fi.indexOf( `
` );return ui===-1?fi:fi.slice(0,ui)}Ui.exports=Ln}}),ps=Po({"src/language-js/pragma.js"(Zn,Ui){ei();var{parseWithComments:Ln,strip:fi,extract:ui,print:Fn}=Gs(),{normalizeEndOfLine:Hn}=Gc(),zn=bl();function ji(oa){let ca=zn(oa);ca&&(oa=oa.slice(ca.length+1));let zi=ui(oa),{pragmas:Ki,comments:ma}=Ln(zi);return{shebang:ca,text:oa,pragmas:Ki,comments:ma}}function Gi(oa){let ca=Object.keys(ji(oa).pragmas);return ca.includes("prettier")||ca.includes("format")}function la(oa){let{shebang:ca,text:zi,pragmas:Ki,comments:ma}=ji(oa),za=fi(zi),Xa=Fn({pragmas:Object.assign({format:""},Ki),comments:ma.trimStart()});return(ca? ` $ { ca }
` :"")+Hn(Xa)+(za.startsWith( `
` )? `
` : `
` )+za}Ui.exports={hasPragma:Gi,insertPragma:la}}}),fl=Po({"src/language-js/utils/is-type-cast-comment.js"(Zn,Ui){ei();var Ln=Vd();function fi(ui){return Ln(ui)&&ui.value[0]==="*"&&/@(?:type|satisfies) \b /.test(ui.value)}Ui.exports=fi}}),ks=Po({"src/language-js/comments.js"(Zn,Ui){ei();var{getLast:Ln,hasNewline:fi,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:ui,getNextNonSpaceNonCommentCharacter:Fn,hasNewlineInRange:Hn,addLeadingComment:zn,addTrailingComment:ji,addDanglingComment:Gi,getNextNonSpaceNonCommentCharacterIndex:la,isNonEmptyArray:oa}=od(),{getFunctionParameters:ca,isPrettierIgnoreComment:zi,isJsxNode:Ki,hasFlowShorthandAnnotationComment:ma,hasFlowAnnotationComment:za,hasIgnoreComment:Xa,isCallLikeExpression:Sa,getCallArguments:Qa,isCallExpression:Ia,isMemberExpression:co,isObjectProperty:Ja,isLineComment:us,getComments:ea,CommentCheckFlags:Ma,markerForIfWithoutBlockAndSameLineComment:Zi}=zd(),{locStart:fa,locEnd:di}=Fp(),sa=Vd(),pa=fl();function xa(ur){return[ss, $ c,Hs,Qo,Ns,ko,ul,uc,rl,gc,fu,Td,Cl,Fs,Ts].some(gr=>gr(ur))}function ka(ur){return[cs, $ c,os,fu,Qo,Ns,ko,ul,Fs,Ys,Js,gc,hu,Ts,js].some(gr=>gr(ur))}function Fa(ur){return[ss,Qo,Ns,qo,ml,Cl,gc,yl,Ls,Dl,Ts,hl].some(gr=>gr(ur))}function Eo(ur,gr){let yr=(ur.body||ur.properties).find(Tr=>{let{type:Xr}=Tr;return Xr!=="EmptyStatement"});yr?zn(yr,gr):Gi(ur,gr)}function Jo(ur,gr){ur.type==="BlockStatement"?Eo(ur,gr):zn(ur,gr)}function cs(ur){let{comment:gr,followingNode:yr}=ur;return yr&&pa(gr)?(zn(yr,gr),!0):!1}function Qo(ur){let{comment:gr,precedingNode:yr,enclosingNode:Tr,followingNode:Xr,text:In}=ur;if((Tr==null?void 0:Tr.type)!=="IfStatement"||!Xr)return!1;if(Fn(In,gr,di)===")")return ji(yr,gr),!0;if(yr===Tr.consequent&&Xr===Tr.alternate){if(yr.type==="BlockStatement")ji(yr,gr);else{let mi=gr.type==="SingleLine"||gr.loc.start.line===gr.loc.end.line,Vi=gr.loc.start.line===yr.loc.start.line;mi&&Vi?Gi(yr,gr,Zi):Gi(Tr,gr)}return!0}return Xr.type==="BlockStatement"?(Eo(Xr,gr),!0):Xr.type==="IfStatement"?(Jo(Xr.consequent,gr),!0):Tr.consequent===Xr?(zn(Xr,gr),!0):!1}function Ns(ur){let{comment:gr,precedingNode:yr,enclosingNode:Tr,followingNode:Xr,text:In}=ur;return(Tr==null?void 0:Tr.type)!=="WhileStatement"||!Xr?!1:Fn(In,gr,di)===")"?(ji(yr,gr),!0):Xr.type==="BlockStatement"?(Eo(Xr,gr),!0):Tr.body===Xr?(zn(Xr,gr),!0):!1}function ko(ur){let{comment:gr,precedingNode:yr,enclosingNode:Tr,followingNode:Xr}=ur;return(Tr==null?void 0:Tr.type)!=="TryStatement"&&(Tr==null?void 0:Tr.type)!=="CatchClause"||!Xr?!1:Tr.type==="CatchClause"&&yr?(ji(yr,gr),!0):Xr.type==="BlockStatement"?(Eo(Xr,gr),!0):Xr.type==="TryStatement"?(Jo(Xr.finalizer,gr),!0):Xr.type==="CatchClause"?(Jo(Xr.body,gr),!0):!1}function Hs(ur){let{comment:gr,enclosingNode:yr,followingNode:Tr}=ur;return co(yr)&&(Tr==null?void 0:Tr.type)==="Identifier"?(zn(yr,gr),!0):!1}function os(ur){let{comment:gr,precedingNode:yr,enclosingNode:Tr,followingNode:Xr,text:In}=ur,mi=yr&&!Hn(In,di(yr),fa(gr));return(!yr||!mi)&&((Tr==null?void 0:Tr.type)==="ConditionalExpression"||(Tr==null?void 0:Tr.type)==="TSConditionalType")&&Xr?(zn(Xr,gr),!0):!1}function qo(ur){let{comment:gr,precedingNode:yr,enclosingNode:Tr}=ur;return Ja(Tr)&&Tr.shorthand&&Tr.key===yr&&Tr.value.type==="AssignmentPattern"?(ji(Tr.value.left,gr),!0):!1}var Ds=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function ul(ur){let{comment:gr,precedingNode:yr,enclosingNode:Tr,followingNode:Xr}=ur;if(Ds.has(Tr==null?void 0:Tr.type)){if(oa(Tr.decorators)&&!(Xr&&Xr.type==="Decorator"))return ji(Ln(Tr.decorators),gr),!0;if(Tr.body&&Xr===Tr.body)return Eo(Tr.body,gr),!0;if(Xr){if(Tr.superClass&&Xr===Tr.superClass&&yr&&(yr===Tr.id||yr===Tr.typeParameters))return ji(yr,gr),!0;for(let In of["implements","extends","mixins"])if(Tr[In]&&Xr===Tr[In][0])return yr&&(yr===Tr.id||yr===Tr.typeParameters||yr===Tr.superClass)?ji(yr,gr):Gi(Tr,gr,In),!0}}return!1}var Ws=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclar
` )&&!gc&&!us(Js.attributes[0]))return ji(["<",rl("name"),rl("typeParameters")," ",...Ts.map(rl,"attributes"),Js.selfClosing?" />":">"]);let uc=Js.attributes&&Js.attributes.some(Td=>Td.value&&co(Td.value)&&Td.value.value.includes( `
` )),fu=Ys.singleAttributePerLine&&Js.attributes.length>1?Hn:Fn;return ji(["<",rl("name"),rl("typeParameters"),Gi(Ts.map(()=>[fu,rl()],"attributes")),...Qo(Js,Ys,gc)],{shouldBreak:uc})}function Qo(Ts,Ys,rl){return Ts.selfClosing?[Fn,"/>"]:Ns(Ts,Ys,rl)?[">"]:[zn,">"]}function Ns(Ts,Ys,rl){let Js=Ts.attributes.length>0&&us(za(Ts.attributes),ea.Trailing);return Ts.attributes.length===0&&!rl||(Ys.bracketSameLine||Ys.jsxBracketSameLine)&&(!rl||Ts.attributes.length>0)&&!Js}function ko(Ts,Ys,rl){let Js=Ts.getValue(),gc=[];gc.push("</");let uc=rl("name");return us(Js.name,ea.Leading|ea.Line)?gc.push(Gi([Hn,uc]),Hn):us(Js.name,ea.Leading|ea.Block)?gc.push(" ",uc):gc.push(uc),gc.push(">"),gc}function Hs(Ts,Ys){let rl=Ts.getValue(),Js=us(rl),gc=us(rl,ea.Line),uc=rl.type==="JSXOpeningFragment";return[uc?"<":"</",Gi([gc?Hn:Js&&!uc?" ":"",fi(Ts,Ys,!0)]),gc?Hn:"",">"]}function os(Ts,Ys,rl){let Js=Ln(Ts,sa(Ts,Ys,rl),Ys);return Fa(Ts,Js,Ys)}function qo(Ts,Ys){let rl=Ts.getValue(),Js=us(rl,ea.Line);return[fi(Ts,Ys,!Js),Js?Hn:""]}function Ds(Ts,Ys,rl){let Js=Ts.getValue();return["{",Ts.call(gc=>{let uc=["...",rl()],fu=gc.getValue();return!us(fu)||!fa(gc)?uc:[Gi([zn,Ln(gc,uc,Ys)]),zn]},Js.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function ul(Ts,Ys,rl){let Js=Ts.getValue();if(Js.type.startsWith("JSX"))switch(Js.type){case"JSXAttribute":return Eo(Ts,Ys,rl);case"JSXIdentifier":return String(Js.name);case"JSXNamespacedName":return Ki(":",[rl("namespace"),rl("name")]);case"JSXMemberExpression":return Ki(".",[rl("object"),rl("property")]);case"JSXSpreadAttribute":return Ds(Ts,Ys,rl);case"JSXSpreadChild":return Ds(Ts,Ys,rl);case"JSXExpressionContainer":return Jo(Ts,Ys,rl);case"JSXFragment":case"JSXElement":return os(Ts,Ys,rl);case"JSXOpeningElement":return cs(Ts,Ys,rl);case"JSXClosingElement":return ko(Ts,Ys,rl);case"JSXOpeningFragment":case"JSXClosingFragment":return Hs(Ts,Ys);case"JSXEmptyExpression":return qo(Ts,Ys);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error( ` Unknown JSX node type : $ { JSON . stringify ( Js . type ) } . ` )}}var Ws= `
\ r ` ,Cl=new RegExp("(["+Ws+"]+)"),ns=new RegExp("[^"+Ws+"]"),Ls=Ts=>Ts.replace(new RegExp("(?:^"+Cl.source+"|"+Cl.source+" $ )"),"");function yl(Ts){if(Ts.children.length===0)return!0;if(Ts.children.length>1)return!1;let Ys=Ts.children[0];return Ys.type==="JSXText"&&!ml(Ys)}function ml(Ts){return Ts.type==="JSXText"&&(ns.test(Qa(Ts))||!/ \n /.test(Qa(Ts)))}function $ c(Ts){return Ts.type==="JSXExpressionContainer"&&co(Ts.expression)&&Ts.expression.value===" "&&!us(Ts.expression)}function Fs(Ts){let Ys=Ts.getValue(),rl=Ts.getParentNode();if(!rl||!Ys||!Sa(Ys)||!Sa(rl))return!1;let Js=rl.children.indexOf(Ys),gc=null;for(let uc=Js;uc>0;uc--){let fu=rl.children[uc-1];if(!(fu.type==="JSXText"&&!ml(fu))){gc=fu;break}}return gc&&gc.type==="JSXExpressionContainer"&&gc.expression.type==="JSXEmptyExpression"&&Ma(gc.expression)}Ui.exports={hasJsxIgnoreComment:Fs,printJsx:ul}}}),Bl=Po({"src/language-js/print/misc.js"(Zn,Ui){ei();var{isNonEmptyArray:Ln}=od(),{builders:{indent:fi,join:ui,line:Fn}}=Du(),{isFlowAnnotationComment:Hn}=zd();function zn(za){let Xa=za.getValue();return!Xa.optional||Xa.type==="Identifier"&&Xa===za.getParentNode().key?"":Xa.type==="OptionalCallExpression"||Xa.type==="OptionalMemberExpression"&&Xa.computed?"?.":"?"}function ji(za){return za.getValue().definite||za.match(void 0,(Xa,Sa)=>Sa==="id"&&Xa.type==="VariableDeclarator"&&Xa.definite)?"!":""}function Gi(za,Xa,Sa){let Qa=za.getValue();return Qa.typeArguments?Sa("typeArguments"):Qa.typeParameters?Sa("typeParameters"):""}function la(za,Xa,Sa){let Qa=za.getValue();if(!Qa.typeAnnotation)return"";let Ia=za.getParentNode(),co=Ia.type==="DeclareFunction"&&Ia.id===Qa;return Hn(Xa.originalText,Qa.typeAnnotation)?[" /*: ",Sa("typeAnnotation")," */"]:[co?"":": ",Sa("typeAnnotation")]}function oa(za,Xa,Sa){return["::",Sa("callee")]}function ca(za,Xa,Sa){let Qa=za.getValue();return Ln(Qa.modifiers)?[ui(" ",za.map(Sa,"modifiers"))," "]:""}function zi(za,Xa,Sa){return za.type==="EmptyStatement"?";":za.type==="BlockStatement"||Sa?[" ",Xa]:fi([Fn,Xa])}function Ki(za,Xa,Sa){return["...",Sa("argument"),la(za,Xa,Sa)]}function ma(za,Xa){let Sa=za.slice(1,-1);if(Sa.includes('"')||Sa.includes("'"))return za;let Qa=Xa.singleQuote?"'":'"';return Qa+Sa+Qa}Ui.exports={printOptionalToken:zn,printDefiniteToken:ji,printFunctionTypeParameters:Gi,printBindExpressionCallee:oa,printTypeScriptModifiers:ca,printTypeAnnotation:la,printRestSpread:Ki,adjustClause:zi,printDirective:ma}}}),fc=Po({"src/language-js/print/array.js"(Zn,Ui){ei();var{printDanglingComments:Ln}=ku(),{builders:{line:fi,softline:ui,hardline:Fn,group:Hn,indent:zn,ifBreak:ji,fill:Gi}}=Du(),{getLast:la,hasNewline:oa}=od(),{shouldPrintComma:ca,hasComment:zi,CommentCheckFlags:Ki,isNextLineEmpty:ma,isNumericLiteral:za,isSignedNumericLiteral:Xa}=zd(),{locStart:Sa}=Fp(),{printOptionalToken:Qa,printTypeAnnotation:Ia}=Bl();function co(Ma,Zi,fa){let di=Ma.getValue(),sa=[],pa=di.type==="TupleExpression"?"#[":"[",xa="]";if(di.elements.length===0)zi(di,Ki.Dangling)?sa.push(Hn([pa,Ln(Ma,Zi),ui,xa])):sa.push(pa,xa);else{let ka=la(di.elements),Fa=!(ka&&ka.type==="RestElement"),Eo=ka===null,Jo=Symbol("array"),cs=!Zi.__inJestEach&&di.elements.length>1&&di.elements.every((ko,Hs,os)=>{let qo=ko&&ko.type;if(qo!=="ArrayExpression"&&qo!=="ObjectExpression")return!1;let Ds=os[Hs+1];if(Ds&&qo!==Ds.type)return!1;let ul=qo==="ArrayExpression"?"elements":"properties";return ko[ul]&&ko[ul].length>1}),Qo=Ja(di,Zi),Ns=Fa?Eo?",":ca(Zi)?Qo?ji(",","",{groupId:Jo}):ji(","):"":"";sa.push(Hn([pa,zn([ui,Qo?ea(Ma,Zi,fa,Ns):[us(Ma,Zi,"elements",fa),Ns],Ln(Ma,Zi,!0)]),ui,xa],{shouldBreak:cs,id:Jo}))}return sa.push(Qa(Ma),Ia(Ma,Zi,fa)),sa}function Ja(Ma,Zi){return Ma.elements.length>1&&Ma.elements.every(fa=>fa&&(za(fa)||Xa(fa)&&!zi(fa.argument))&&!zi(fa,Ki.Trailing|Ki.Line,di=>!oa(Zi.originalText,Sa(di),{backwards:!0})))}function us(Ma,Zi,fa,di){let sa=[],pa=[];return Ma.each(xa=>{sa.push(pa,Hn(di())),pa=[",",fi],xa.getValue()&&ma(xa.getValue(),Zi)&&pa.push(ui)},fa),sa}function ea(Ma,Zi,fa,di){let sa=[];return Ma.each((pa,xa,ka)=>{let Fa=xa===ka.length-1;sa.push([fa(),F
` ):ma(ns)}function ul(ns,Ls,yl){return us(ns)?(Ls=Gi(Ls),typeof Ls=="string"&&fi(Ls)<yl.tabWidth+3):!1}function Ws(ns,Ls){let yl=Cl(ns);if(Ln(yl)){if(yl.length>1)return!0;if(yl.length===1){let $ c=yl[0];if( $ c.type==="TSUnionType"|| $ c.type==="UnionTypeAnnotation"|| $ c.type==="TSIntersectionType"|| $ c.type==="IntersectionTypeAnnotation"|| $ c.type==="TSTypeLiteral"|| $ c.type==="ObjectTypeAnnotation")return!0}let ml=ns.typeParameters?"typeParameters":"typeArguments";if(la(Ls(ml)))return!0}return!1}function Cl(ns){return ns.typeParameters&&ns.typeParameters.params||ns.typeArguments&&ns.typeArguments.params}Ui.exports={printVariableDeclarator:di,printAssignmentExpression:fa,printAssignment:Zi,isArrowFunctionVariableDeclarator:Ns}}}),pu=Po({"src/language-js/print/function-parameters.js"(Zn,Ui){ei();var{getNextNonSpaceNonCommentCharacter:Ln}=od(),{printDanglingComments:fi}=ku(),{builders:{line:ui,hardline:Fn,softline:Hn,group:zn,indent:ji,ifBreak:Gi},utils:{removeLines:la,willBreak:oa}}=Du(),{getFunctionParameters:ca,iterateFunctionParametersPath:zi,isSimpleType:Ki,isTestCall:ma,isTypeAnnotationAFunction:za,isObjectType:Xa,isObjectTypePropertyAFunction:Sa,hasRestParameter:Qa,shouldPrintComma:Ia,hasComment:co,isNextLineEmpty:Ja}=zd(),{locEnd:us}=Fp(),{ArgExpansionBailout:ea}=kd(),{printFunctionTypeParameters:Ma}=Bl();function Zi(pa,xa,ka,Fa,Eo){let Jo=pa.getValue(),cs=ca(Jo),Qo=Eo?Ma(pa,ka,xa):"";if(cs.length===0)return[Qo,"(",fi(pa,ka,!0,Ds=>Ln(ka.originalText,Ds,us)===")"),")"];let Ns=pa.getParentNode(),ko=ma(Ns),Hs=fa(Jo),os=[];if(zi(pa,(Ds,ul)=>{let Ws=ul===cs.length-1;Ws&&Jo.rest&&os.push("..."),os.push(xa()),!Ws&&(os.push(","),ko||Hs?os.push(" "):Ja(cs[ul],ka)?os.push(Fn,Fn):os.push(ui))}),Fa){if(oa(Qo)||oa(os))throw new ea;return zn([la(Qo),"(",la(os),")"])}let qo=cs.every(Ds=>!Ds.decorators);return Hs&&qo?[Qo,"(",...os,")"]:ko?[Qo,"(",...os,")"]:(Sa(Ns)||za(Ns)||Ns.type==="TypeAlias"||Ns.type==="UnionTypeAnnotation"||Ns.type==="TSUnionType"||Ns.type==="IntersectionTypeAnnotation"||Ns.type==="FunctionTypeAnnotation"&&Ns.returnType===Jo)&&cs.length===1&&cs[0].name===null&&Jo.this!==cs[0]&&cs[0].typeAnnotation&&Jo.typeParameters===null&&Ki(cs[0].typeAnnotation)&&!Jo.rest?ka.arrowParens==="always"?["(",...os,")"]:os:[Qo,"(",ji([Hn,...os]),Gi(!Qa(Jo)&&Ia(ka,"all")?",":""),Hn,")"]}function fa(pa){if(!pa)return!1;let xa=ca(pa);if(xa.length!==1)return!1;let[ka]=xa;return!co(ka)&&(ka.type==="ObjectPattern"||ka.type==="ArrayPattern"||ka.type==="Identifier"&&ka.typeAnnotation&&(ka.typeAnnotation.type==="TypeAnnotation"||ka.typeAnnotation.type==="TSTypeAnnotation")&&Xa(ka.typeAnnotation.typeAnnotation)||ka.type==="FunctionTypeParam"&&Xa(ka.typeAnnotation)||ka.type==="AssignmentPattern"&&(ka.left.type==="ObjectPattern"||ka.left.type==="ArrayPattern")&&(ka.right.type==="Identifier"||ka.right.type==="ObjectExpression"&&ka.right.properties.length===0||ka.right.type==="ArrayExpression"&&ka.right.elements.length===0))}function di(pa){let xa;return pa.returnType?(xa=pa.returnType,xa.typeAnnotation&&(xa=xa.typeAnnotation)):pa.typeAnnotation&&(xa=pa.typeAnnotation),xa}function sa(pa,xa){let ka=di(pa);if(!ka)return!1;let Fa=pa.typeParameters&&pa.typeParameters.params;if(Fa){if(Fa.length>1)return!1;if(Fa.length===1){let Eo=Fa[0];if(Eo.constraint||Eo.default)return!1}}return ca(pa).length===1&&(Xa(ka)||oa(xa))}Ui.exports={printFunctionParameters:Zi,shouldHugFunctionParameters:fa,shouldGroupFunctionParameters:sa}}}),io=Po({"src/language-js/print/type-annotation.js"(Zn,Ui){ei();var{printComments:Ln,printDanglingComments:fi}=ku(),{isNonEmptyArray:ui}=od(),{builders:{group:Fn,join:Hn,line:zn,softline:ji,indent:Gi,align:la,ifBreak:oa}}=Du(),ca=Os(),{locStart:zi}=Fp(),{isSimpleType:Ki,isObjectType:ma,hasLeadingOwnLineComment:za,isObjectTypePropertyAFunction:Xa,shouldPrintComma:Sa}=zd(),{printAssignment:Qa}=Jc(),{printFunctionParameters:Ia,shouldGroupFunctionParameters:co}=pu(),{printArrayItems:Ja}=fc();function us(ka){if(Ki(ka)||ma(ka))return!0;if(ka.type==="UnionTypeAnnotation"||ka.type==="TSUnionType"){let Fa=ka.types.filter(Jo=>Jo.type==="VoidTypeAnnot
` );return Ki.length>1&&Ki.every(ma=>ma.trim()[0]==="*")}function ca(zi){let Ki=zi.value.split( `
` );return["/*",fi(ui,Ki.map((ma,za)=>za===0?ma.trimEnd():" "+(za<Ki.length-1?ma.trim():ma.trimStart()))),"*/"]}Ui.exports={printComment:la}}}),Jp=Po({"src/language-js/print/literal.js"(Zn,Ui){ei();var{printString:Ln,printNumber:fi}=od(),{replaceTextEndOfLine:ui}=Hp(),{printDirective:Fn}=Bl();function Hn(la,oa){let ca=la.getNode();switch(ca.type){case"RegExpLiteral":return Gi(ca);case"BigIntLiteral":return ji(ca.bigint||ca.extra.raw);case"NumericLiteral":return fi(ca.extra.raw);case"StringLiteral":return ui(Ln(ca.extra.raw,oa));case"NullLiteral":return"null";case"BooleanLiteral":return String(ca.value);case"DecimalLiteral":return fi(ca.value)+"m";case"Literal":{if(ca.regex)return Gi(ca.regex);if(ca.bigint)return ji(ca.raw);if(ca.decimal)return fi(ca.decimal)+"m";let{value:zi}=ca;return typeof zi=="number"?fi(ca.raw):typeof zi=="string"?zn(la)?Fn(ca.raw,oa):ui(Ln(ca.raw,oa)):String(zi)}}}function zn(la){if(la.getName()!=="expression")return;let oa=la.getParentNode();return oa.type==="ExpressionStatement"&&oa.directive}function ji(la){return la.toLowerCase()}function Gi(la){let{pattern:oa,flags:ca}=la;return ca=[...ca].sort().join(""), ` / $ { oa } / $ { ca } ` }Ui.exports={printLiteral:Hn}}}),jp=Po({"src/language-js/printer-estree.js"(Zn,Ui){ei();var{printDanglingComments:Ln}=ku(),{hasNewline:fi}=od(),{builders:{join:ui,line:Fn,hardline:Hn,softline:zn,group:ji,indent:Gi},utils:{replaceTextEndOfLine:la}}=Du(),oa=Qf(),ca=Rh(),{insertPragma:zi}=ps(),Ki=ks(),ma=Os(),za=Bs(),{hasFlowShorthandAnnotationComment:Xa,hasComment:Sa,CommentCheckFlags:Qa,isTheOnlyJsxElementInMarkdown:Ia,isLineComment:co,isNextLineEmpty:Ja,needsHardlineAfterDanglingComment:us,hasIgnoreComment:ea,isCallExpression:Ma,isMemberExpression:Zi,markerForIfWithoutBlockAndSameLineComment:fa}=zd(),{locStart:di,locEnd:sa}=Fp(),pa=Vd(),{printHtmlBinding:xa,isVueEventBindingExpression:ka}=Vs(),{printAngular:Fa}=Zl(),{printJsx:Eo,hasJsxIgnoreComment:Jo}=wc(),{printFlow:cs}=Ic(),{printTypescript:Qo}=Ou(),{printOptionalToken:Ns,printBindExpressionCallee:ko,printTypeAnnotation:Hs,adjustClause:os,printRestSpread:qo,printDefiniteToken:Ds,printDirective:ul}=Bl(),{printImportDeclaration:Ws,printExportDeclaration:Cl,printExportAllDeclaration:ns,printModuleSpecifier:Ls}= $ l(),{printTernary:yl}=Pu(),{printTemplateLiteral:ml}=sf(),{printArray: $ c}=fc(),{printObject:Fs}=tc(),{printClass:Ts,printClassMethod:Ys,printClassProperty:rl}=Lc(),{printProperty:Js}=Au(),{printFunction:gc,printArrowFunction:uc,printMethod:fu,printReturnStatement:Td,printThrowStatement:Qu}=Oc(),{printCallExpression:yu}=kc(),{printVariableDeclarator:hu,printAssignmentExpression:hl}=Jc(),{printBinaryishExpression:ss}=Pl(),{printSwitchCaseConsequent:Dl}=zu(),{printMemberExpression:js}=Rc(),{printBlock:vl,printBlockBody:Kc}=qd(),{printComment:rr}=gp(),{printLiteral:ur}=Jp(),{printDecorators:gr}=cc();function yr(In,mi,Vi,Aa){let Co=Tr(In,mi,Vi,Aa);if(!Co)return"";let Cs=In.getValue(),{type:ws}=Cs;if(ws==="ClassMethod"||ws==="ClassPrivateMethod"||ws==="ClassProperty"||ws==="ClassAccessorProperty"||ws==="AccessorProperty"||ws==="TSAbstractAccessorProperty"||ws==="PropertyDefinition"||ws==="TSAbstractPropertyDefinition"||ws==="ClassPrivateProperty"||ws==="MethodDefinition"||ws==="TSAbstractMethodDefinition"||ws==="TSDeclareMethod")return Co;let Is=[Co],sl=gr(In,mi,Vi),pc=Cs.type==="ClassExpression"&&sl;if(sl&&(Is=[...sl,Co],!pc))return ji(Is);if(!ma(In,mi))return Aa&&Aa.needsSemi&&Is.unshift(";"),Is.length===1&&Is[0]===Co?Co:Is;if(pc&&(Is=[Gi([Fn,...Is])]),Is.unshift("("),Aa&&Aa.needsSemi&&Is.unshift(";"),Xa(Cs)){let[_l]=Cs.trailingComments;Is.push(" /*",_l.value.trimStart(),"*/"),_l.printed=!0}return pc&&Is.push(Fn),Is.push(")"),Is}function Tr(In,mi,Vi,Aa){let Co=In.getValue(),Cs=mi.semi?";":"";if(!Co)return"";if(typeof Co=="string")return Co;for(let Is of[ur,xa,Fa,Eo,cs,Qo]){let sl=Is(In,mi,Vi);if(typeof sl<"u")return sl}let ws=[];switch(Co.type){case"JsExpressionRoot":return Vi("node");case"JsonRoot":return[Vi("node"),Hn];case"File":return Co.program&&Co.program.interpreter&&ws.push(Vi(["program","interpreter"])),ws.push(Vi("p
` :"")+Ln.insertPragma(ji)}Ui.exports={hasPragma:ui,insertPragma:Fn}}}),bh=Po({"src/language-css/utils/index.js"(Zn,Ui){ei();var Ln=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function fi(Fs,Ts){let Ys=Array.isArray(Ts)?Ts:[Ts],rl=-1,Js;for(;Js=Fs.getParentNode(++rl);)if(Ys.includes(Js.type))return rl;return-1}function ui(Fs,Ts){let Ys=fi(Fs,Ts);return Ys===-1?null:Fs.getParentNode(Ys)}function Fn(Fs){var Ts;let Ys=ui(Fs,"css-decl");return Ys==null||(Ts=Ys.prop)===null||Ts===void 0?void 0:Ts.toLowerCase()}var Hn=new Set(["initial","inherit","unset","revert"]);function zn(Fs){return Hn.has(Fs.toLowerCase())}function ji(Fs,Ts){let Ys=ui(Fs,"css-atrule");return(Ys==null?void 0:Ys.name)&&Ys.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ts.toLowerCase())}function Gi(Fs){return Fs.includes(" $ ")||Fs.includes("@")||Fs.includes("#")||Fs.startsWith("%")||Fs.startsWith("--")||Fs.startsWith(":--")||Fs.includes("(")&&Fs.includes(")")?Fs:Fs.toLowerCase()}function la(Fs,Ts){var Ys;let rl=ui(Fs,"value-func");return(rl==null||(Ys=rl.value)===null||Ys===void 0?void 0:Ys.toLowerCase())===Ts}function oa(Fs){var Ts;let Ys=ui(Fs,"css-rule"),rl=Ys==null||(Ts=Ys.raws)===null||Ts===void 0?void 0:Ts.selector;return rl&&(rl.startsWith(":import")||rl.startsWith(":export"))}function ca(Fs,Ts){let Ys=Array.isArray(Ts)?Ts:[Ts],rl=ui(Fs,"css-atrule");return rl&&Ys.includes(rl.name.toLowerCase())}function zi(Fs){let Ts=Fs.getValue(),Ys=ui(Fs,"css-atrule");return(Ys==null?void 0:Ys.name)==="import"&&Ts.groups[0].value==="url"&&Ts.groups.length===2}function Ki(Fs){return Fs.type==="value-func"&&Fs.value.toLowerCase()==="url"}function ma(Fs,Ts){var Ys;let rl=(Ys=Fs.getParentNode())===null||Ys===void 0?void 0:Ys.nodes;return rl&&rl.indexOf(Ts)===rl.length-1}function za(Fs){let{selector:Ts}=Fs;return Ts?typeof Ts=="string"&&/^@.+:.* $ /.test(Ts)||Ts.value&&/^@.+:.* $ /.test(Ts.value):!1}function Xa(Fs){return Fs.type==="value-word"&&["from","through","end"].includes(Fs.value)}function Sa(Fs){return Fs.type==="value-word"&&["and","or","not"].includes(Fs.value)}function Qa(Fs){return Fs.type==="value-word"&&Fs.value==="in"}function Ia(Fs){return Fs.type==="value-operator"&&Fs.value==="*"}function co(Fs){return Fs.type==="value-operator"&&Fs.value==="/"}function Ja(Fs){return Fs.type==="value-operator"&&Fs.value==="+"}function us(Fs){return Fs.type==="value-operator"&&Fs.value==="-"}function ea(Fs){return Fs.type==="value-operator"&&Fs.value==="%"}function Ma(Fs){return Ia(Fs)||co(Fs)||Ja(Fs)||us(Fs)||ea(Fs)}function Zi(Fs){return Fs.type==="value-word"&&["==","!="].includes(Fs.value)}function fa(Fs){return Fs.type==="value-word"&&["<",">","<=",">="].includes(Fs.value)}function di(Fs){return Fs.type==="css-atrule"&&["if","else","for","each","while"].includes(Fs.name)}function sa(Fs){var Ts;return((Ts=Fs.raws)===null||Ts===void 0?void 0:Ts.params)&&/^ \( \s * \) $ /.test(Fs.raws.params)}function pa(Fs){return Fs.name.startsWith("prettier-placeholder")}function xa(Fs){return Fs.prop.startsWith("@prettier-placeholder")}function ka(Fs,Ts){return Fs.value===" $ $ "&&Fs.type==="value-func"&&(Ts==null?void 0:Ts.type)==="value-word"&&!Ts.raws.before}function Fa(Fs){var Ts,Ys;return((Ts=Fs.value)===null||Ts===void 0?void 0:Ts.type)==="value-root"&&((Ys=Fs.value.group)===null||Ys===void 0?void 0:Ys.type)==="value-value"&&Fs.prop.toLowerCase()==="composes"}function Eo(Fs){var Ts,Ys,rl;return((Ts=Fs.value)===null||Ts===void 0||(Ys=Ts.group)===null||Ys===void 0||(rl=Ys.group)===null||rl===void 0?void 0:rl.type)==="value-paren_group"&&Fs.value.group.group.open!==null&&Fs.value.group.group.close!==null}function Jo(Fs){var Ts;return((Ts=Fs.raws)===null||Ts===void 0?void 0:Ts.before)===""}function cs(Fs){var Ts,Ys;return Fs.type==="value-comma_group"&&((Ts=Fs.groups)===null||Ts===void 0||(Ys=Ts[1])===null||Ys===void 0?void 0:Ys.type)==="value-colon"}function Qo(Fs){var Ts;return Fs.type==="value-paren_group"&&((Ts=Fs.groups)
` ,ui)+1;return ui+Ln.column}}}),Pm=Po({"src/language-css/loc.js"(Zn,Ui){ei();var{skipEverythingButNewLine:Ln}=Hm(),fi=Bu(),ui=hf();function Fn(zi,Ki){return typeof zi.sourceIndex=="number"?zi.sourceIndex:zi.source?ui(zi.source.start,Ki)-1:null}function Hn(zi,Ki){if(zi.type==="css-comment"&&zi.inline)return Ln(Ki,zi.source.startOffset);let ma=zi.nodes&&fi(zi.nodes);return ma&&zi.source&&!zi.source.end&&(zi=ma),zi.source&&zi.source.end?ui(zi.source.end,Ki):null}function zn(zi,Ki){zi.source&&(zi.source.startOffset=Fn(zi,Ki),zi.source.endOffset=Hn(zi,Ki));for(let ma in zi){let za=zi[ma];ma==="source"||!za||typeof za!="object"||(za.type==="value-root"||za.type==="value-unknown"?ji(za,Gi(zi),za.text||za.value):zn(za,Ki))}}function ji(zi,Ki,ma){zi.source&&(zi.source.startOffset=Fn(zi,ma)+Ki,zi.source.endOffset=Hn(zi,ma)+Ki);for(let za in zi){let Xa=zi[za];za==="source"||!Xa||typeof Xa!="object"||ji(Xa,Ki,ma)}}function Gi(zi){let Ki=zi.source.startOffset;return typeof zi.prop=="string"&&(Ki+=zi.prop.length),zi.type==="css-atrule"&&typeof zi.name=="string"&&(Ki+=1+zi.name.length+zi.raws.afterName.match(/^ \s *:? \s */)[0].length),zi.type!=="css-atrule"&&zi.raws&&typeof zi.raws.between=="string"&&(Ki+=zi.raws.between.length),Ki}function la(zi){let Ki="initial",ma="initial",za,Xa=!1,Sa=[];for(let Qa=0;Qa<zi.length;Qa++){let Ia=zi[Qa];switch(Ki){case"initial":if(Ia==="'"){Ki="single-quotes";continue}if(Ia==='"'){Ki="double-quotes";continue}if((Ia==="u"||Ia==="U")&&zi.slice(Qa,Qa+4).toLowerCase()==="url("){Ki="url",Qa+=3;continue}if(Ia==="*"&&zi[Qa-1]==="/"){Ki="comment-block";continue}if(Ia==="/"&&zi[Qa-1]==="/"){Ki="comment-inline",za=Qa-1;continue}continue;case"single-quotes":if(Ia==="'"&&zi[Qa-1]!==" \\ "&&(Ki=ma,ma="initial"),Ia=== `
` ||Ia===" \r ")return zi;continue;case"double-quotes":if(Ia==='"'&&zi[Qa-1]!==" \\ "&&(Ki=ma,ma="initial"),Ia=== `
` ||Ia===" \r ")return zi;continue;case"url":if(Ia===")"&&(Ki="initial"),Ia=== `
` ||Ia===" \r ")return zi;if(Ia==="'"){Ki="single-quotes",ma="url";continue}if(Ia==='"'){Ki="double-quotes",ma="url";continue}continue;case"comment-block":Ia==="/"&&zi[Qa-1]==="*"&&(Ki="initial");continue;case"comment-inline":(Ia==='"'||Ia==="'"||Ia==="*")&&(Xa=!0),(Ia=== `
` ||Ia===" \r ")&&(Xa&&Sa.push([za,Qa]),Ki="initial",Xa=!1);continue}}for(let[Qa,Ia]of Sa)zi=zi.slice(0,Qa)+zi.slice(Qa,Ia).replace(/["'*]/g," ")+zi.slice(Ia);return zi}function oa(zi){return zi.source.startOffset}function ca(zi){return zi.source.endOffset}Ui.exports={locStart:oa,locEnd:ca,calculateLoc:zn,replaceQuotesInInlineComments:la}}}),Fm=Po({"src/language-css/utils/is-less-parser.js"(Zn,Ui){ei();function Ln(fi){return fi.parser==="css"||fi.parser==="less"}Ui.exports=Ln}}),Gp=Po({"src/language-css/utils/is-scss.js"(Zn,Ui){ei();function Ln(fi,ui){return fi==="less"||fi==="scss"?fi==="scss":/(?: \w \s *: \s *[^:}]+|#){|@import[^ \n ]+(?:url|,)/.test(ui)}Ui.exports=Ln}}),gf=Po({"src/language-css/utils/css-units.evaluate.js"(Zn,Ui){Ui.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),dm=Po({"src/language-css/utils/print-unit.js"(Zn,Ui){ei();var Ln=gf();function fi(ui){let Fn=ui.toLowerCase();return Object.prototype.hasOwnProperty.call(Ln,Fn)?Ln[Fn]:ui}Ui.exports=fi}}),Em=Po({"src/language-css/printer-postcss.js"(Zn,Ui){ei();var Ln=Bu(),{printNumber:fi,printString:ui,hasNewline:Fn,isFrontMatterNode:Hn,isNextLineEmpty:zn,isNonEmptyArray:ji}=od(),{builders:{join:Gi,line:la,hardline:oa,softline:ca,group:zi,fill:Ki,indent:ma,dedent:za,ifBreak:Xa,breakParent:Sa},utils:{removeLines:Qa,getDocParts:Ia}}=Du(),co=ep(),Ja=tp(),{insertPragma:us}=Jf(),{getAncestorNode:ea,getPropOfDeclNode:Ma,maybeToLowerCase:Zi,insideValueFunctionNode:fa,insideICSSRuleNode:di,insideAtRuleNode:sa,insideURLFunctionInImportAtRuleNode:pa,isKeyframeAtRuleKeywords:xa,isWideKeywords:ka,isLastNode:Fa,isSCSSControlDirectiveNode:Eo,isDetachedRulesetDeclarationNode:Jo,isRelationalOperatorNode:cs,isEqualityOperatorNode:Qo,isMultiplicationNode:Ns,isDivisionNode:ko,isAdditionNode:Hs,isSubtractionNode:os,isMathOperatorNode:qo,isEachKeywordNode:Ds,isForKeywordNode:ul,isURLFunctionNode:Ws,isIfElseKeywordNode:Cl,hasComposesNode:ns,hasParensAroundNode:Ls,hasEmptyRawBefore:yl,isKeyValuePairNode:ml,isKeyInValuePairNode: $ c,isDetachedRulesetCallNode:Fs,isTemplatePlaceholderNode:Ts,isTemplatePropNode:Ys,isPostcssSimpleVarNode:rl,isSCSSMapItemNode:Js,isInlineValueCommentNode:gc,isHashNode:uc,isLeftCurlyBraceNode:fu,isRightCurlyBraceNode:Td,isWordNode:Qu,isColonNode:yu,isMediaAndSupportsKeywords:hu,isColorAdjusterFuncNode:hl,lastLineHasInlineComment:ss,isAtWordPlaceholderNode:Dl,isConfigurationNode:js,isParenGroupNode:vl}=bh(),{locStart:Kc,locEnd:rr}=Pm(),ur=Fm(),gr=Gp(),yr=dm();function Tr(_l){return _l.trailingComma==="es5"||_l.trailingComma==="all"}function Xr(_l,_c,yc){let As=_l.getValue();if(!As)return"";if(typeof As=="string")return As;switch(As.type){case"front-matter":return[As.raw,oa];case"css-root":{let Hc=In(_l,_c,yc),vu=As.raws.after.trim();return vu.startsWith(";")&&(vu=vu.slice(1).trim()),[Hc,vu? ` $ { vu } ` :"",Ia(Hc).length>0?oa:""]}case"css-comment":{let Hc=As.inline||As.raws.inline,vu=_c.originalText.slice(Kc(As),rr(As));return Hc?vu.trimEnd():vu}case"css-rule":return[yc("selector"),As.important?" !important":"",As.nodes?[As.selector&&As.selector.type==="selector-unknown"&&ss(As.selector.value)?la:" ","{",As.nodes.length>0?ma([oa,In(_l,_c,yc)]):"",oa,"}",Jo(As)?";":""]:";"];case"css-decl":{let Hc=_l.getParentNode(),{between:vu}=As.raws,rd=vu.trim(),rp=rd===":",xo=ns(As)?Qa(yc("value")):yc("value");return!rp&&ss(rd)&&(xo=ma([oa,za(xo)])),[As.raws.before.replace(/[ \s ;]/g,""),Hc.type==="css-atrule"&&Hc.variable||di(_l)?As.prop:Zi(As.prop),rd.startsWith("//")?" ":"",rd,As.extend?"":" ",ur(_c)&&As.extend&&As.selector?["extend(",yc("selector"),")"]:"",xo,As.raws.important?As.raws.i
` ).length-1}function rl(ss){ss=typeof ss=="string"?ss:"";let Dl=(ss.match(/^([^ \S \n \r ]*[ \n \r ])+/g)||[])[0]||"";return Ys(Dl)}function Js(ss){ss=typeof ss=="string"?ss:"";let Dl=(ss.match(/([ \n \r ][^ \S \n \r ]*)+ $ /g)||[])[0]||"";return Ys(Dl)}function gc(){let ss=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(ss,di)}).fill(Fn)}function uc(ss,Dl){let{quote:js,regex:vl}=zi(ss,Dl);return[js,ss.replace(vl, ` \ \ $ { js } ` ),js]}function fu(ss){let Dl=0,js=ss.getParentNode(Dl);for(;js&&us(js,["SubExpression"]);)Dl++,js=ss.getParentNode(Dl);return!!(js&&us(ss.getParentNode(Dl+1),["ConcatStatement"])&&us(ss.getParentNode(Dl+2),["AttrNode"]))}function Td(ss,Dl){let js=yu(ss,Dl),vl=hu(ss,Dl);return vl?zn([js,Gi,ui(vl)]):js}function Qu(ss,Dl){let js=yu(ss,Dl),vl=hu(ss,Dl);return vl?[zn([js,Gi,vl]),la]:js}function yu(ss,Dl){return Dl("path")}function hu(ss,Dl){let js=ss.getValue(),vl=[];if(js.params.length>0){let Kc=ss.map(Dl,"params");vl.push(...Kc)}if(js.hash&&js.hash.pairs.length>0){let Kc=Dl("hash");vl.push(Kc)}return vl.length===0?"":ji(Gi,vl)}function hl(ss){return["as |",ss.blockParams.join(" "),"|"]}Ui.exports={print:sa,massageAstNode:Xa}}}),Ao=Po({"src/language-handlebars/parsers.js"(){ei()}}),So=Po({"node_modules/linguist-languages/data/Handlebars.json"(Zn,Ui){Ui.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Do=Po({"src/language-handlebars/index.js"(Zn,Ui){ei();var Ln=Yf(),fi=eo(),ui=Ao(),Fn=[Ln(So(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],Hn={glimmer:fi};Ui.exports={languages:Fn,printers:Hn,parsers:ui}}}),no=Po({"src/language-graphql/pragma.js"(Zn,Ui){ei();function Ln(ui){return/^ \s *#[^ \S \n ]*@(?:format|prettier) \s *(?: \n | $ )/.test(ui)}function fi(ui){return ` # @ format
` +ui}Ui.exports={hasPragma:Ln,insertPragma:fi}}}),No=Po({"src/language-graphql/loc.js"(Zn,Ui){ei();function Ln(ui){return typeof ui.start=="number"?ui.start:ui.loc&&ui.loc.start}function fi(ui){return typeof ui.end=="number"?ui.end:ui.loc&&ui.loc.end}Ui.exports={locStart:Ln,locEnd:fi}}}),Ni=Po({"src/language-graphql/printer-graphql.js"(Zn,Ui){ei();var{builders:{join:Ln,hardline:fi,line:ui,softline:Fn,group:Hn,indent:zn,ifBreak:ji}}=Du(),{isNextLineEmpty:Gi,isNonEmptyArray:la}=od(),{insertPragma:oa}=no(),{locStart:ca,locEnd:zi}=No();function Ki(Ja,us,ea){let Ma=Ja.getValue();if(!Ma)return"";if(typeof Ma=="string")return Ma;switch(Ma.kind){case"Document":{let Zi=[];return Ja.each((fa,di,sa)=>{Zi.push(ea()),di!==sa.length-1&&(Zi.push(fi),Gi(us.originalText,fa.getValue(),zi)&&Zi.push(fi))},"definitions"),[...Zi,fi]}case"OperationDefinition":{let Zi=us.originalText[ca(Ma)]!=="{",fa=!!Ma.name;return[Zi?Ma.operation:"",Zi&&fa?[" ",ea("name")]:"",Zi&&!fa&&la(Ma.variableDefinitions)?" ":"",la(Ma.variableDefinitions)?Hn(["(",zn([Fn,Ln([ji("",", "),Fn],Ja.map(ea,"variableDefinitions"))]),Fn,")"]):"",ma(Ja,ea,Ma),Ma.selectionSet?!Zi&&!fa?"":" ":"",ea("selectionSet")]}case"FragmentDefinition":return["fragment ",ea("name"),la(Ma.variableDefinitions)?Hn(["(",zn([Fn,Ln([ji("",", "),Fn],Ja.map(ea,"variableDefinitions"))]),Fn,")"]):""," on ",ea("typeCondition"),ma(Ja,ea,Ma)," ",ea("selectionSet")];case"SelectionSet":return["{",zn([fi,Ln(fi,za(Ja,us,ea,"selections"))]),fi,"}"];case"Field":return Hn([Ma.alias?[ea("alias"),": "]:"",ea("name"),Ma.arguments.length>0?Hn(["(",zn([Fn,Ln([ji("",", "),Fn],za(Ja,us,ea,"arguments"))]),Fn,")"]):"",ma(Ja,ea,Ma),Ma.selectionSet?" ":"",ea("selectionSet")]);case"Name":return Ma.value;case"StringValue":{if(Ma.block){let Zi=Ma.value.replace(/"""/g," \\ $ &").split( `
` );return Zi.length===1&&(Zi[0]=Zi[0].trim()),Zi.every(fa=>fa==="")&&(Zi.length=0),Ln(fi,['"""',...Zi,'"""'])}return['"',Ma.value.replace(/[" \\ ]/g," \\ $ &").replace(/ \n /g," \\ n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return Ma.value;case"BooleanValue":return Ma.value?"true":"false";case"NullValue":return"null";case"Variable":return[" $ ",ea("name")];case"ListValue":return Hn(["[",zn([Fn,Ln([ji("",", "),Fn],Ja.map(ea,"values"))]),Fn,"]"]);case"ObjectValue":return Hn(["{",us.bracketSpacing&&Ma.fields.length>0?" ":"",zn([Fn,Ln([ji("",", "),Fn],Ja.map(ea,"fields"))]),Fn,ji("",us.bracketSpacing&&Ma.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[ea("name"),": ",ea("value")];case"Directive":return["@",ea("name"),Ma.arguments.length>0?Hn(["(",zn([Fn,Ln([ji("",", "),Fn],za(Ja,us,ea,"arguments"))]),Fn,")"]):""];case"NamedType":return ea("name");case"VariableDefinition":return[ea("variable"),": ",ea("type"),Ma.defaultValue?[" = ",ea("defaultValue")]:"",ma(Ja,ea,Ma)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[ea("description"),Ma.description?fi:"",Ma.kind==="ObjectTypeExtension"?"extend ":"","type ",ea("name"),Ma.interfaces.length>0?[" implements ",...Qa(Ja,us,ea)]:"",ma(Ja,ea,Ma),Ma.fields.length>0?[" {",zn([fi,Ln(fi,za(Ja,us,ea,"fields"))]),fi,"}"]:""];case"FieldDefinition":return[ea("description"),Ma.description?fi:"",ea("name"),Ma.arguments.length>0?Hn(["(",zn([Fn,Ln([ji("",", "),Fn],za(Ja,us,ea,"arguments"))]),Fn,")"]):"",": ",ea("type"),ma(Ja,ea,Ma)];case"DirectiveDefinition":return[ea("description"),Ma.description?fi:"","directive ","@",ea("name"),Ma.arguments.length>0?Hn(["(",zn([Fn,Ln([ji("",", "),Fn],za(Ja,us,ea,"arguments"))]),Fn,")"]):"",Ma.repeatable?" repeatable":""," on ",Ln(" | ",Ja.map(ea,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[ea("description"),Ma.description?fi:"",Ma.kind==="EnumTypeExtension"?"extend ":"","enum ",ea("name"),ma(Ja,ea,Ma),Ma.values.length>0?[" {",zn([fi,Ln(fi,za(Ja,us,ea,"values"))]),fi,"}"]:""];case"EnumValueDefinition":return[ea("description"),Ma.description?fi:"",ea("name"),ma(Ja,ea,Ma)];case"InputValueDefinition":return[ea("description"),Ma.description?Ma.description.block?fi:ui:"",ea("name"),": ",ea("type"),Ma.defaultValue?[" = ",ea("defaultValue")]:"",ma(Ja,ea,Ma)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[ea("description"),Ma.description?fi:"",Ma.kind==="InputObjectTypeExtension"?"extend ":"","input ",ea("name"),ma(Ja,ea,Ma),Ma.fields.length>0?[" {",zn([fi,Ln(fi,za(Ja,us,ea,"fields"))]),fi,"}"]:""];case"SchemaExtension":return["extend schema",ma(Ja,ea,Ma),...Ma.operationTypes.length>0?[" {",zn([fi,Ln(fi,za(Ja,us,ea,"operationTypes"))]),fi,"}"]:[]];case"SchemaDefinition":return[ea("description"),Ma.description?fi:"","schema",ma(Ja,ea,Ma)," {",Ma.operationTypes.length>0?zn([fi,Ln(fi,za(Ja,us,ea,"operationTypes"))]):"",fi,"}"];case"OperationTypeDefinition":return[ea("operation"),": ",ea("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[ea("description"),Ma.description?fi:"",Ma.kind==="InterfaceTypeExtension"?"extend ":"","interface ",ea("name"),Ma.interfaces.length>0?[" implements ",...Qa(Ja,us,ea)]:"",ma(Ja,ea,Ma),Ma.fields.length>0?[" {",zn([fi,Ln(fi,za(Ja,us,ea,"fields"))]),fi,"}"]:""];case"FragmentSpread":return["...",ea("name"),ma(Ja,ea,Ma)];case"InlineFragment":return["...",Ma.typeCondition?[" on ",ea("typeCondition")]:"",ma(Ja,ea,Ma)," ",ea("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return Hn([ea("description"),Ma.description?fi:"",Hn([Ma.kind==="UnionTypeExtension"?"extend ":"","union ",ea("name"),ma(Ja,ea,Ma),Ma.types.length>0?[" =",ji(""," "),zn([ji([ui," "]),Ln([ui,"| "],Ja.map(ea,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[ea("description"),Ma.description?fi:"",Ma.kind==="ScalarTypeExtension"?"extend ":"","scalar ",ea("name"),ma(Ja,ea,Ma)];case"NonNullType":return[ea("type"),"!"];case"ListType":return["[",ea("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(Ma.ki
` )&&(us.value=us.value.trim())}Ia.ignoredProperties=new Set(["loc","comments"]);function co(Ja){var us;let ea=Ja.getValue();return ea==null||(us=ea.comments)===null||us===void 0?void 0:us.some(Ma=>Ma.value.trim()==="prettier-ignore")}Ui.exports={print:Ki,massageAstNode:Ia,hasPrettierIgnore:co,insertPragma:oa,printComment:Sa,canAttachComment:Xa}}}),Un=Po({"src/language-graphql/options.js"(Zn,Ui){ei();var Ln=cd();Ui.exports={bracketSpacing:Ln.bracketSpacing}}}),qa=Po({"src/language-graphql/parsers.js"(){ei()}}),Na=Po({"node_modules/linguist-languages/data/GraphQL.json"(Zn,Ui){Ui.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Xo=Po({"src/language-graphql/index.js"(Zn,Ui){ei();var Ln=Yf(),fi=Ni(),ui=Un(),Fn=qa(),Hn=[Ln(Na(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],zn={graphql:fi};Ui.exports={languages:Hn,options:ui,printers:zn,parsers:Fn}}}),Bo=Po({"node_modules/collapse-white-space/index.js"(Zn,Ui){ei(),Ui.exports=Ln;function Ln(fi){return String(fi).replace(/ \s +/g," ")}}}),ys=Po({"src/language-markdown/loc.js"(Zn,Ui){ei();function Ln(ui){return ui.position.start.offset}function fi(ui){return ui.position.end.offset}Ui.exports={locStart:Ln,locEnd:fi}}}),ms=Po({"src/language-markdown/constants.evaluate.js"(Zn,Ui){Ui.exports={cjkPattern:"(?:[ \\ u02ea- \\ u02eb \\ u1100- \\ u11ff \\ u2e80- \\ u2e99 \\ u2e9b- \\ u2ef3 \\ u2f00- \\ u2fd5 \\ u2ff0- \\ u303f \\ u3041- \\ u3096 \\ u3099- \\ u309f \\ u30a1- \\ u30fa \\ u30fc- \\ u30ff \\ u3105- \\ u312f \\ u3131- \\ u318e \\ u3190- \\ u3191 \\ u3196- \\ u31ba \\ u31c0- \\ u31e3 \\ u31f0- \\ u321e \\ u322a- \\ u3247 \\ u3260- \\ u327e \\ u328a- \\ u32b0 \\ u32c0- \\ u32cb \\ u32d0- \\ u3370 \\ u337b- \\ u337f \\ u33e0- \\ u33fe \\ u3400- \\ u4db5 \\ u4e00- \\ u9fef \\ ua960- \\ ua97c \\ uac00- \\ ud7a3 \\ ud7b0- \\ ud7c6 \\ ud7cb- \\ ud7fb \\ uf900- \\ ufa6d \\ ufa70- \\ ufad9 \\ ufe10- \\ ufe1f \\ ufe30- \\ ufe6f \\ uff00- \\ uffef]|[ \\ ud840- \\ ud868 \\ ud86a- \\ ud86c \\ ud86f- \\ ud872 \\ ud874- \\ ud879][ \\ udc00- \\ udfff]| \\ ud82c[ \\ udc00- \\ udd1e \\ udd50- \\ udd52 \\ udd64- \\ udd67]| \\ ud83c[ \\ ude00 \\ ude50- \\ ude51]| \\ ud869[ \\ udc00- \\ uded6 \\ udf00- \\ udfff]| \\ ud86d[ \\ udc00- \\ udf34 \\ udf40- \\ udfff]| \\ ud86e[ \\ udc00- \\ udc1d \\ udc20- \\ udfff]| \\ ud873[ \\ udc00- \\ udea1 \\ udeb0- \\ udfff]| \\ ud87a[ \\ udc00- \\ udfe0]| \\ ud87e[ \\ udc00- \\ ude1d])(?:[ \\ ufe00- \\ ufe0f]| \\ udb40[ \\ udd00- \\ uddef])?",kPattern:"[ \\ u1100- \\ u11ff \\ u3001- \\ u3003 \\ u3008- \\ u3011 \\ u3013- \\ u301f \\ u302e- \\ u3030 \\ u3037 \\ u30fb \\ u3131- \\ u318e \\ u3200- \\ u321e \\ u3260- \\ u327e \\ ua960- \\ ua97c \\ uac00- \\ ud7a3 \\ ud7b0- \\ ud7c6 \\ ud7cb- \\ ud7fb \\ ufe45- \\ ufe46 \\ uff61- \\ uff65 \\ uffa0- \\ uffbe \\ uffc2- \\ uffc7 \\ uffca- \\ uffcf \\ uffd2- \\ uffd7 \\ uffda- \\ uffdc]",punctuationPattern:"[ \\ u0021- \\ u002f \\ u003a- \\ u0040 \\ u005b- \\ u0060 \\ u007b- \\ u007e \\ u00a1 \\ u00a7 \\ u00ab \\ u00b6- \\ u00b7 \\ u00bb \\ u00bf \\ u037e \\ u0387 \\ u055a- \\ u055f \\ u0589- \\ u058a \\ u05be \\ u05c0 \\ u05c3 \\ u05c6 \\ u05f3- \\ u05f4 \\ u0609- \\ u060a \\ u060c- \\ u060d \\ u061b \\ u061e- \\ u061f \\ u066a- \\ u066d \\ u06d4 \\ u0700- \\ u070d \\ u07f7- \\ u07f9 \\ u0830- \\ u083e \\ u085e \\ u0964- \\ u0965 \\ u0970 \\ u09fd \\ u0a76 \\ u0af0 \\ u0c77 \\ u0c84 \\ u0df4 \\ u0e4f \\ u0e5a- \\ u0e5b \\ u0f04- \\ u0f12 \\ u0f14 \\ u0f3a- \\ u0f3d \\ u0f85 \\ u0fd0- \\ u0fd4 \\ u0fd9- \\ u0fda \\ u104a- \\ u104f \\ u10fb \\ u1360- \\ u1368 \\ u1400 \\ u166e \\ u169b- \\ u169c \\ u16eb- \\ u16ed \\ u1735- \\ u1736 \\ u17d4- \\ u17d6 \\ u17d8- \\ u17da \\ u1800- \\ u180a \\ u1944- \\ u1945 \\ u1a1e- \\ u1a1f \\ u1aa0- \\ u1aa6 \\ u1aa8- \\ u1aad \\ u1b5a- \\ u1b60 \\ u1bfc- \\ u1bff \\ u1c3b- \\ u1c3f \\ u1c7e- \\ u1c7f \\ u1cc0- \\ u1cc7 \\ u1cd3 \\ u2010- \\ u2027 \\ u2030- \\ u2043 \\ u2045- \\ u2051 \\ u2053- \\ u205e \\ u207d- \\ u207e \\ u208d- \\ u208e \\ u2308- \\ u230b \\ u2329- \\ u232a \\ u2768- \\ u2775 \\ u27c5- \\ u27c6 \\ u27e6- \\ u27ef \\ u2983- \\ u2998 \\ u29d8- \\ u29db \\ u29fc- \\ u29fd \\ u2cf9- \\ u2cfc \\ u2cfe- \\ u2cff \\ u2d70 \\ u2e00- \\ u2e2e \\ u2e30- \\ u2e4f \\ u3001- \\ u3003 \\ u3008- \\ u3011 \\ u3014- \\ u301f \\ u3030 \\ u303d \\ u30a0 \\ u30fb \\ ua4fe- \\ ua4ff \\ ua60d- \\ ua60f \\ ua673 \\ ua67e \\ ua6f2- \\ ua6f7 \\ ua874- \\ ua877 \\ ua8ce- \\ ua8cf \\ ua8f8- \\ ua8fa \\ ua8fc \\ ua92e- \\ ua92f \\ ua95f \\ ua9c1- \\ ua9cd \\ ua9de- \\ ua9df \\ uaa5c- \\ uaa5f \\ uaade- \\ uaadf \\ uaaf0- \\ uaaf1 \\ uabeb \\ ufd3e- \\ ufd3f \\ ufe10- \\ ufe19 \\ ufe30- \\ ufe52 \\ ufe54- \\ ufe61 \\ ufe63 \\ ufe68 \\ ufe6a- \\ ufe6b \\ uff01
( $ { Fn } ) ` ,"g")," $ 1 $ 2")).split(/([ \t \n ]+)/);for(let[fa,di]of Ma.entries()){if(fa%2===1){ea.push({type:"whitespace",value:/ \n /.test(di)? `
` :" "});continue}if((fa===0||fa===Ma.length-1)&&di==="")continue;let sa=di.split(new RegExp( ` ( $ { Fn } ) ` ));for(let[pa,xa]of sa.entries())if(!((pa===0||pa===sa.length-1)&&xa==="")){if(pa%2===0){xa!==""&&Zi({type:"word",value:xa,kind:Ia,hasLeadingPunctuation:oa.test(xa[0]),hasTrailingPunctuation:oa.test(Ln(xa))});continue}Zi(oa.test(xa)?{type:"word",value:xa,kind:us,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:xa,kind:la.test(xa)?Ja:co,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return ea;function Zi(fa){let di=Ln(ea);di&&di.type==="word"&&(di.kind===Ia&&fa.kind===co&&!di.hasTrailingPunctuation||di.kind===co&&fa.kind===Ia&&!fa.hasLeadingPunctuation?ea.push({type:"whitespace",value:" "}):!sa(Ia,us)&&![di.value,fa.value].some(pa=>/ \u 3000/.test(pa))&&ea.push({type:"whitespace",value:""})),ea.push(fa);function sa(pa,xa){return di.kind===pa&&fa.kind===xa||di.kind===xa&&fa.kind===pa}}}function zi(Sa,Qa){let[,Ia,co,Ja]=Qa.slice(Sa.position.start.offset,Sa.position.end.offset).match(/^ \s *( \d +)( \. | \) )( \s *)/);return{numberText:Ia,marker:co,leadingSpaces:Ja}}function Ki(Sa,Qa){if(!Sa.ordered||Sa.children.length<2)return!1;let Ia=Number(zi(Sa.children[0],Qa.originalText).numberText),co=Number(zi(Sa.children[1],Qa.originalText).numberText);if(Ia===0&&Sa.children.length>2){let Ja=Number(zi(Sa.children[2],Qa.originalText).numberText);return co===1&&Ja===1}return co===1}function ma(Sa,Qa){let{value:Ia}=Sa;return Sa.position.end.offset===Qa.length&&Ia.endsWith( `
` )&&Qa.endsWith( `
` )?Ia.slice(0,-1):Ia}function za(Sa,Qa){return function Ia(co,Ja,us){let ea=Object.assign({},Qa(co,Ja,us));return ea.children&&(ea.children=ea.children.map((Ma,Zi)=>Ia(Ma,Zi,[ea,...us]))),ea}(Sa,null,[])}function Xa(Sa){if((Sa==null?void 0:Sa.type)!=="link"||Sa.children.length!==1)return!1;let[Qa]=Sa.children;return fi(Sa)===fi(Qa)&&ui(Sa)===ui(Qa)}Ui.exports={mapAst:za,splitText:ca,punctuationPattern:zn,getFencedCodeBlockValue:ma,getOrderedListItemInfo:zi,hasGitDiffFriendlyOrderedList:Ki,INLINE_NODE_TYPES:ji,INLINE_NODE_WRAPPER_TYPES:Gi,isAutolink:Xa}}}),Ks=Po({"src/language-markdown/embed.js"(Zn,Ui){ei();var{inferParserByLanguage:Ln,getMaxContinuousCount:fi}=od(),{builders:{hardline:ui,markAsRoot:Fn},utils:{replaceEndOfLine:Hn}}=Du(),zn=yd(),{getFencedCodeBlockValue:ji}= $ o();function Gi(la,oa,ca,zi){let Ki=la.getValue();if(Ki.type==="code"&&Ki.lang!==null){let ma=Ln(Ki.lang,zi);if(ma){let za=zi.__inJsTemplate?"~":" ` ",Xa=za.repeat(Math.max(3,fi(Ki.value,za)+1)),Sa={parser:ma};Ki.lang===" tsx "&&(Sa.filepath=" dummy . tsx ");let Qa=ca(ji(Ki,zi.originalText),Sa,{stripTrailingHardline:!0});return Fn([Xa,Ki.lang,Ki.meta?" "+Ki.meta:" ",ui,Hn(Qa),ui,Xa])}}switch(Ki.type){case" front - matter ":return zn(Ki,ca);case" importExport ":return[ca(Ki.value,{parser:" babel "},{stripTrailingHardline:!0}),ui];case" jsx ":return ca(`<$>${Ki.value}</$>`,{parser:" _ _js _expression ",rootMarker:" mdx "},{stripTrailingHardline:!0})}return null}Ui.exports=Gi}}),Zs=Po({" src / language - markdown / pragma . js "(Zn,Ui){ei();var Ln=Vp(),fi=[" format "," prettier "];function ui(Fn){let Hn=`@(${fi.join(" | " ) } ) ` ,zn=new RegExp([ ` <!-- \ \ s * $ { Hn } \ \ s * -- > ` , ` { \ \ s * \ \ / \ \ * \ \ s * $ { Hn } \ \ s * \ \ * \ \ / \ \ s * } ` , ` <!-- . * \ r ?
[ \ \ s \ \ S ] * ( ^ |
) [ ^ \ \ S
] * $ { Hn } [ ^ \ \ S
] * ( $ |
) [ \ \ s \ \ S ] *
. * -- > ` ].join("|"),"m"),ji=Fn.match(zn);return(ji==null?void 0:ji.index)===0}Ui.exports={startWithPragma:ui,hasPragma:Fn=>ui(Ln(Fn).content.trimStart()),insertPragma:Fn=>{let Hn=Ln(Fn),zn= ` <!-- @ $ { fi [ 0 ] } -- > ` ;return Hn.frontMatter? ` $ { Hn . frontMatter . raw }
$ { zn }
$ { Hn . content } ` : ` $ { zn }
$ { Hn . content } ` }}}}),pl=Po({"src/language-markdown/print-preprocess.js"(Zn,Ui){ei();var Ln=Bu(),{getOrderedListItemInfo:fi,mapAst:ui,splitText:Fn}= $ o(),Hn=/^. $ /su;function zn(Xa,Sa){return Xa=la(Xa,Sa),Xa=zi(Xa),Xa=Gi(Xa,Sa),Xa=ma(Xa,Sa),Xa=za(Xa,Sa),Xa=Ki(Xa,Sa),Xa=ji(Xa),Xa=oa(Xa),Xa}function ji(Xa){return ui(Xa,Sa=>Sa.type!=="import"&&Sa.type!=="export"?Sa:Object.assign(Object.assign({},Sa),{},{type:"importExport"}))}function Gi(Xa,Sa){return ui(Xa,Qa=>Qa.type!=="inlineCode"||Sa.proseWrap==="preserve"?Qa:Object.assign(Object.assign({},Qa),{},{value:Qa.value.replace(/ \s +/g," ")}))}function la(Xa,Sa){return ui(Xa,Qa=>Qa.type!=="text"||Qa.value==="*"||Qa.value==="_"||!Hn.test(Qa.value)||Qa.position.end.offset-Qa.position.start.offset===Qa.value.length?Qa:Object.assign(Object.assign({},Qa),{},{value:Sa.originalText.slice(Qa.position.start.offset,Qa.position.end.offset)}))}function oa(Xa){return ca(Xa,(Sa,Qa)=>Sa.type==="importExport"&&Qa.type==="importExport",(Sa,Qa)=>({type:"importExport",value:Sa.value+ `
` +Qa.value,position:{start:Sa.position.start,end:Qa.position.end}}))}function ca(Xa,Sa,Qa){return ui(Xa,Ia=>{if(!Ia.children)return Ia;let co=Ia.children.reduce((Ja,us)=>{let ea=Ln(Ja);return ea&&Sa(ea,us)?Ja.splice(-1,1,Qa(ea,us)):Ja.push(us),Ja},[]);return Object.assign(Object.assign({},Ia),{},{children:co})})}function zi(Xa){return ca(Xa,(Sa,Qa)=>Sa.type==="text"&&Qa.type==="text",(Sa,Qa)=>({type:"text",value:Sa.value+Qa.value,position:{start:Sa.position.start,end:Qa.position.end}}))}function Ki(Xa,Sa){return ui(Xa,(Qa,Ia,co)=>{let[Ja]=co;if(Qa.type!=="text")return Qa;let{value:us}=Qa;return Ja.type==="paragraph"&&(Ia===0&&(us=us.trimStart()),Ia===Ja.children.length-1&&(us=us.trimEnd())),{type:"sentence",position:Qa.position,children:Fn(us,Sa)}})}function ma(Xa,Sa){return ui(Xa,(Qa,Ia,co)=>{if(Qa.type==="code"){let Ja=/^ \n ?(?: {4,}| \t )/.test(Sa.originalText.slice(Qa.position.start.offset,Qa.position.end.offset));if(Qa.isIndented=Ja,Ja)for(let us=0;us<co.length;us++){let ea=co[us];if(ea.hasIndentedCodeblock)break;ea.type==="list"&&(ea.hasIndentedCodeblock=!0)}}return Qa})}function za(Xa,Sa){return ui(Xa,(co,Ja,us)=>{if(co.type==="list"&&co.children.length>0){for(let ea=0;ea<us.length;ea++){let Ma=us[ea];if(Ma.type==="list"&&!Ma.isAligned)return co.isAligned=!1,co}co.isAligned=Ia(co)}return co});function Qa(co){return co.children.length===0?-1:co.children[0].position.start.column-1}function Ia(co){if(!co.ordered)return!0;let[Ja,us]=co.children;if(fi(Ja,Sa.originalText).leadingSpaces.length>1)return!0;let ea=Qa(Ja);if(ea===-1)return!1;if(co.children.length===1)return ea%Sa.tabWidth===0;let Ma=Qa(us);return ea!==Ma?!1:ea%Sa.tabWidth===0?!0:fi(us,Sa.originalText).leadingSpaces.length>1}}Ui.exports=zn}}),Mc=Po({"src/language-markdown/clean.js"(Zn,Ui){ei();var Ln=Bo(),{isFrontMatterNode:fi}=od(),{startWithPragma:ui}=Zs(),Fn=new Set(["position","raw"]);function Hn(zn,ji,Gi){if((zn.type==="front-matter"||zn.type==="code"||zn.type==="yaml"||zn.type==="import"||zn.type==="export"||zn.type==="jsx")&&delete ji.value,zn.type==="list"&&delete ji.isAligned,(zn.type==="list"||zn.type==="listItem")&&(delete ji.spread,delete ji.loose),zn.type==="text"||(zn.type==="inlineCode"&&(ji.value=zn.value.replace(/[ \t \n ]+/g," ")),zn.type==="wikiLink"&&(ji.value=zn.value.trim().replace(/[ \t \n ]+/g," ")),(zn.type==="definition"||zn.type==="linkReference"||zn.type==="imageReference")&&(ji.label=Ln(zn.label)),(zn.type==="definition"||zn.type==="link"||zn.type==="image")&&zn.title&&(ji.title=zn.title.replace(/ \\ (["')])/g," $ 1")),Gi&&Gi.type==="root"&&Gi.children.length>0&&(Gi.children[0]===zn||fi(Gi.children[0])&&Gi.children[1]===zn)&&zn.type==="html"&&ui(zn.value)))return null}Hn.ignoredProperties=Fn,Ui.exports=Hn}}),Yc=Po({"src/language-markdown/printer-markdown.js"(Zn,Ui){ei();var Ln=Bo(),{getLast:fi,getMinNotPresentContinuousCount:ui,getMaxContinuousCount:Fn,getStringWidth:Hn,isNonEmptyArray:zn}=od(),{builders:{breakParent:ji,join:Gi,line:la,literalline:oa,markAsRoot:ca,hardline:zi,softline:Ki,ifBreak:ma,fill:za,align:Xa,indent:Sa,group:Qa,hardlineWithoutBreakParent:Ia},utils:{normalizeDoc:co,replaceTextEndOfLine:Ja},printer:{printDocToString:us}}=Du(),ea=Ks(),{insertPragma:Ma}=Zs(),{locStart:Zi,locEnd:fa}=ys(),di=pl(),sa=Mc(),{getFencedCodeBlockValue:pa,hasGitDiffFriendlyOrderedList:xa,splitText:ka,punctuationPattern:Fa,INLINE_NODE_TYPES:Eo,INLINE_NODE_WRAPPER_TYPES:Jo,isAutolink:cs}= $ o(),Qo=new Set(["importExport"]),Ns=["heading","tableCell","link","wikiLink"],ko=new Set(["listItem","definition","footnoteDefinition"]);function Hs(hl,ss,Dl){let js=hl.getValue();if(gc(hl))return ka(ss.originalText.slice(js.position.start.offset,js.position.end.offset),ss).map(vl=>vl.type==="word"?vl.value:vl.value===""?"":ns(hl,vl.value,ss));switch(js.type){case"front-matter":return ss.originalText.slice(js.position.start.offset,js.position.end.offset);case"root":return js.children.length===0?"":[co(yl(hl,ss,Dl)),Qo.has(Fs(js).type)?"":zi];case"paragraph":return ml(hl,ss,Dl,{postprocessor:za});case"sentence":return ml(hl,ss,Dl);case"word":{let vl=js.value.replace(
` )return zi;let js=Dl.proseWrap==="always"&&!Cl(hl,Ns);return ss!==""?js?la:" ":js?Ki:""}function Ls(hl,ss,Dl){let js=hl.getValue(),vl=[],Kc=hl.map(Xr=>Xr.map((In,mi)=>{let Vi=us(Dl(),ss).formatted,Aa=Hn(Vi);return vl[mi]=Math.max(vl[mi]||3,Aa),{text:Vi,width:Aa}},"children"),"children"),rr=gr(!1);if(ss.proseWrap!=="never")return[ji,rr];let ur=gr(!0);return[ji,Qa(ma(ur,rr))];function gr(Xr){let In=[Tr(Kc[0],Xr),yr(Xr)];return Kc.length>1&&In.push(Gi(Ia,Kc.slice(1).map(mi=>Tr(mi,Xr)))),Gi(Ia,In)}function yr(Xr){return ` | $ { vl . map ( ( In , mi ) => { let Vi = js . align [ mi ] , Aa = Vi === "center" || Vi === "left" ? ":" : "-" , Co = Vi === "center" || Vi === "right" ? ":" : "-" , Cs = Xr ? "-" : "-" . repeat ( In - 2 ) ; return ` ${ Aa } ${ Cs } ${ Co } ` } ) . join ( " | " ) } | ` }function Tr(Xr,In){return ` | $ { Xr . map ( ( mi , Vi ) => { let { text : Aa , width : Co } = mi ; if ( In ) return Aa ; let Cs = vl [ Vi ] - Co , ws = js . align [ Vi ] , Is = 0 ; ws === "right" ? Is = Cs : ws === "center" && ( Is = Math . floor ( Cs / 2 ) ) ; let sl = Cs - Is ; return ` ${ " " . repeat ( Is ) } ${ Aa } ${ " " . repeat ( sl ) } ` } ) . join ( " | " ) } | ` }}function yl(hl,ss,Dl){let js=[],vl=null,{children:Kc}=hl.getValue();for(let[rr,ur]of Kc.entries())switch(Ts(ur)){case"start":vl===null&&(vl={index:rr,offset:ur.position.end.offset});break;case"end":vl!==null&&(js.push({start:vl,end:{index:rr,offset:ur.position.start.offset}}),vl=null);break}return ml(hl,ss,Dl,{processor:(rr,ur)=>{if(js.length>0){let gr=js[0];if(ur===gr.start.index)return[ $ c(Kc[gr.start.index]),ss.originalText.slice(gr.start.offset,gr.end.offset), $ c(Kc[gr.end.index])];if(gr.start.index<ur&&ur<gr.end.index)return!1;if(ur===gr.end.index)return js.shift(),!1}return Dl()}})}function ml(hl,ss,Dl){let js=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:vl}=js,Kc=js.processor||(()=>Dl()),rr=hl.getValue(),ur=[],gr;return hl.each((yr,Tr)=>{let Xr=yr.getValue(),In=Kc(yr,Tr);if(In!==!1){let mi={parts:ur,prevNode:gr,parentNode:rr,options:ss};Ys(Xr,mi)&&(ur.push(zi),gr&&Qo.has(gr.type)||(rl(Xr,mi)||Js(Xr,mi))&&ur.push(zi),Js(Xr,mi)&&ur.push(zi)),ur.push(In),gr=Xr}},"children"),vl?vl(ur):ur}function $ c(hl){if(hl.type==="html")return hl.value;if(hl.type==="paragraph"&&Array.isArray(hl.children)&&hl.children.length===1&&hl.children[0].type==="esComment")return["{/* ",hl.children[0].value," */}"]}function Fs(hl){let ss=hl;for(;zn(ss.children);)ss=fi(ss.children);return ss}function Ts(hl){let ss;if(hl.type==="html")ss=hl.value.match(/^<!-- \s *prettier-ignore(?:-(start|end))? \s *--> $ /);else{let Dl;hl.type==="esComment"?Dl=hl:hl.type==="paragraph"&&hl.children.length===1&&hl.children[0].type==="esComment"&&(Dl=hl.children[0]),Dl&&(ss=Dl.value.match(/^prettier-ignore(?:-(start|end))? $ /))}return ss?ss[1]||"next":!1}function Ys(hl,ss){let Dl=ss.parts.length===0,js=Eo.includes(hl.type),vl=hl.type==="html"&&Jo.includes(ss.parentNode.type);return!Dl&&!js&&!vl}function rl(hl,ss){var Dl,js,vl;let Kc=(ss.prevNode&&ss.prevNode.type)===hl.type&&ko.has(hl.type),rr=ss.parentNode.type==="listItem"&&!ss.parentNode.loose,ur=((Dl=ss.prevNode)===null||Dl===void 0?void 0:Dl.type)==="listItem"&&ss.prevNode.loose,gr=Ts(ss.prevNode)==="next",yr=hl.type==="html"&&((js=ss.prevNode)===null||js===void 0?void 0:js.type)==="html"&&ss.prevNode.position.end.line+1===hl.position.start.line,Tr=hl.type==="html"&&ss.parentNode.type==="listItem"&&((vl=ss.prevNode)===null||vl===void 0?void 0:vl.type)==="paragraph"&&ss.prevNode.position.end.line+1===hl.position.start.line;return ur||!(Kc||rr||gr||yr||Tr)}function Js(hl,ss){let Dl=ss.prevNode&&ss.prevNode.type==="list",js=hl.type==="code"&&hl.isIndented;return Dl&&js}function gc(hl){let ss=Cl(hl,["linkReference","imageReference"]);return ss&&(ss.type!=="linkReference"||ss.referenceType!=="full")}function uc(hl){let ss=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Dl=[" ",...Array.isArray(ss)?ss:[ss]];return new RegExp(Dl.map(js=> ` \ \ $ { js } ` ).join("|")).test(hl)? ` < $ { hl } > ` :hl}function fu(hl,ss){let Dl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!hl)return"";if(Dl)return" "+fu(hl,ss,!1);if(hl=hl.replace(/ \\ (["')])/g," $ 1"),hl.includes('"')&&hl.includes("'")&&!hl.includes(")"))return ` ( $ { hl } ) ` ;let js=hl.split("'").l
` ," \f "," \r "," "]),ma=gr=>gr.replace(/^[ \t \n \f \r ]+/,""),za=gr=>gr.replace(/[ \t \n \f \r ]+ $ /,""),Xa=gr=>ma(za(gr)),Sa=gr=>gr.replace(/^[ \t \f \r ]* \n /g,""),Qa=gr=>Sa(za(gr)),Ia=gr=>gr.split(/[ \t \n \f \r ]+/),co=gr=>gr.match(/^[ \t \n \f \r ]*/)[0],Ja=gr=>{let[,yr,Tr,Xr]=gr.match(/^([ \t \n \f \r ]*)(.*?)([ \t \n \f \r ]*) $ /s);return{leadingWhitespace:yr,trailingWhitespace:Xr,text:Tr}},us=gr=>/[ \t \n \f \r ]/.test(gr);function ea(gr,yr){return!!(gr.type==="ieConditionalComment"&&gr.lastChild&&!gr.lastChild.isSelfClosing&&!gr.lastChild.endSourceSpan||gr.type==="ieConditionalComment"&&!gr.complete||rl(gr)&&gr.children.some(Tr=>Tr.type!=="text"&&Tr.type!=="interpolation")||js(gr,yr)&&!di(gr)&&gr.type!=="interpolation")}function Ma(gr){return gr.type==="attribute"||!gr.parent||!gr.prev?!1:Zi(gr.prev)}function Zi(gr){return gr.type==="comment"&&gr.value.trim()==="prettier-ignore"}function fa(gr){return gr.type==="text"||gr.type==="comment"}function di(gr){return gr.type==="element"&&(gr.fullName==="script"||gr.fullName==="style"||gr.fullName==="svg:style"||zi(gr)&&(gr.name==="script"||gr.name==="style"))}function sa(gr){return gr.children&&!di(gr)}function pa(gr){return di(gr)||gr.type==="interpolation"||xa(gr)}function xa(gr){return fu(gr).startsWith("pre")}function ka(gr,yr){let Tr=Xr();if(Tr&&!gr.prev&&gr.parent&&gr.parent.tagDefinition&&gr.parent.tagDefinition.ignoreFirstLf)return gr.type==="interpolation";return Tr;function Xr(){return fi(gr)?!1:(gr.type==="text"||gr.type==="interpolation")&&gr.prev&&(gr.prev.type==="text"||gr.prev.type==="interpolation")?!0:!gr.parent||gr.parent.cssDisplay==="none"?!1:rl(gr.parent)?!0:!(!gr.prev&&(gr.parent.type==="root"||rl(gr)&&gr.parent||di(gr.parent)||ss(gr.parent,yr)||!ml(gr.parent.cssDisplay))||gr.prev&&!Ts(gr.prev.cssDisplay))}}function Fa(gr,yr){return fi(gr)?!1:(gr.type==="text"||gr.type==="interpolation")&&gr.next&&(gr.next.type==="text"||gr.next.type==="interpolation")?!0:!gr.parent||gr.parent.cssDisplay==="none"?!1:rl(gr.parent)?!0:!(!gr.next&&(gr.parent.type==="root"||rl(gr)&&gr.parent||di(gr.parent)||ss(gr.parent,yr)||! $ c(gr.parent.cssDisplay))||gr.next&&!Fs(gr.next.cssDisplay))}function Eo(gr){return Ys(gr.cssDisplay)&&!di(gr)}function Jo(gr){return fi(gr)||gr.next&&gr.sourceSpan.end&&gr.sourceSpan.end.line+1<gr.next.sourceSpan.start.line}function cs(gr){return Qo(gr)||gr.type==="element"&&gr.children.length>0&&(["body","script","style"].includes(gr.name)||gr.children.some(yr=>Ws(yr)))||gr.firstChild&&gr.firstChild===gr.lastChild&&gr.firstChild.type!=="text"&&os(gr.firstChild)&&(!gr.lastChild.isTrailingSpaceSensitive||qo(gr.lastChild))}function Qo(gr){return gr.type==="element"&&gr.children.length>0&&(["html","head","ul","ol","select"].includes(gr.name)||gr.cssDisplay.startsWith("table")&&gr.cssDisplay!=="table-cell")}function Ns(gr){return Ds(gr)||gr.prev&&ko(gr.prev)||Hs(gr)}function ko(gr){return Ds(gr)||gr.type==="element"&&gr.fullName==="br"||Hs(gr)}function Hs(gr){return os(gr)&&qo(gr)}function os(gr){return gr.hasLeadingSpaces&&(gr.prev?gr.prev.sourceSpan.end.line<gr.sourceSpan.start.line:gr.parent.type==="root"||gr.parent.startSourceSpan.end.line<gr.sourceSpan.start.line)}function qo(gr){return gr.hasTrailingSpaces&&(gr.next?gr.next.sourceSpan.start.line>gr.sourceSpan.end.line:gr.parent.type==="root"||gr.parent.endSourceSpan&&gr.parent.endSourceSpan.start.line>gr.sourceSpan.end.line)}function Ds(gr){switch(gr.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(gr.name)}return!1}function ul(gr){return gr.lastChild?ul(gr.lastChild):gr}function Ws(gr){return gr.children&&gr.children.some(yr=>yr.type!=="text")}function Cl(gr){let{type:yr,lang:Tr}=gr.attrMap;if(yr==="module"||yr==="text/javascript"||yr==="text/babel"||yr==="application/javascript"||Tr==="jsx")return"babel";if(yr==="application/x-typescript"||Tr==="ts"||Tr==="tsx")return"typescript";if(yr==="text/markdown")return"markdown";if(yr==="text/html")return"html";if(yr&&(yr.endsWith("json")||yr.endsWith("importmap"))||yr==="speculationrules")return"json";if(yr==="t
` )){if(Tr.length===0)continue;if(!Ki.has(Tr[0]))return 0;let Xr=co(Tr).length;Tr.length!==Xr&&Xr<yr&&(yr=Xr)}return yr===Number.POSITIVE_INFINITY?0:yr}function Qu(gr){let yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Td(gr);return yr===0?gr:gr.split( `
` ).map(Tr=>Tr.slice(yr)).join( `
` )}function yu(gr,yr){let Tr=0;for(let Xr=0;Xr<gr.length;Xr++)gr[Xr]===yr&&Tr++;return Tr}function hu(gr){return gr.replace(/'/g,"'").replace(/"/g,'"')}var hl=new Set(["template","style","script"]);function ss(gr,yr){return Dl(gr,yr)&&!hl.has(gr.fullName)}function Dl(gr,yr){return yr.parser==="vue"&&gr.type==="element"&&gr.parent.type==="root"&&gr.fullName.toLowerCase()!=="html"}function js(gr,yr){return Dl(gr,yr)&&(ss(gr,yr)||gr.attrMap.lang&&gr.attrMap.lang!=="html")}function vl(gr){let yr=gr.fullName;return yr.charAt(0)==="#"||yr==="slot-scope"||yr==="v-slot"||yr.startsWith("v-slot:")}function Kc(gr,yr){let Tr=gr.parent;if(!Dl(Tr,yr))return!1;let Xr=Tr.fullName,In=gr.fullName;return Xr==="script"&&In==="setup"||Xr==="style"&&In==="vars"}function rr(gr){let yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gr.value;return gr.parent.isWhitespaceSensitive?gr.parent.isIndentationSensitive?ji(yr):ji(Qu(Qa(yr)),Fn):zn(Hn(ui,Ia(yr)))}function ur(gr,yr){return Dl(gr,yr)&&gr.name==="script"}Ui.exports={htmlTrim:Xa,htmlTrimPreserveIndentation:Qa,hasHtmlWhitespace:us,getLeadingAndTrailingHtmlWhitespace:Ja,canHaveInterpolation:sa,countChars:yu,countParents:Js,dedentString:Qu,forceBreakChildren:Qo,forceBreakContent:cs,forceNextEmptyLine:Jo,getLastDescendant:ul,getNodeCssStyleDisplay:uc,getNodeCssStyleWhiteSpace:fu,hasPrettierIgnore:Ma,inferScriptParser:Ls,isVueCustomBlock:ss,isVueNonHtmlBlock:js,isVueScriptTag:ur,isVueSlotAttribute:vl,isVueSfcBindingsAttribute:Kc,isVueSfcBlock:Dl,isDanglingSpaceSensitiveNode:Eo,isIndentationSensitiveNode:xa,isLeadingSpaceSensitiveNode:ka,isPreLikeNode:rl,isScriptLikeTag:di,isTextLikeNode:fa,isTrailingSpaceSensitiveNode:Fa,isWhitespaceSensitiveNode:pa,isUnknownNamespace:zi,preferHardlineAsLeadingSpaces:Ns,preferHardlineAsTrailingSpaces:ko,shouldPreserveContent:ea,unescapeQuoteEntities:hu,getTextValueParts:rr}}}),Vc=Po({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(Zn){ei(),Object.defineProperty(Zn,"__esModule",{value:!0}),Zn. $ EOF=0,Zn. $ BSPACE=8,Zn. $ TAB=9,Zn. $ LF=10,Zn. $ VTAB=11,Zn. $ FF=12,Zn. $ CR=13,Zn. $ SPACE=32,Zn. $ BANG=33,Zn. $ DQ=34,Zn. $ HASH=35,Zn. $ $ =36,Zn. $ PERCENT=37,Zn. $ AMPERSAND=38,Zn. $ SQ=39,Zn. $ LPAREN=40,Zn. $ RPAREN=41,Zn. $ STAR=42,Zn. $ PLUS=43,Zn. $ COMMA=44,Zn. $ MINUS=45,Zn. $ PERIOD=46,Zn. $ SLASH=47,Zn. $ COLON=58,Zn. $ SEMICOLON=59,Zn. $ LT=60,Zn. $ EQ=61,Zn. $ GT=62,Zn. $ QUESTION=63,Zn. $ 0=48,Zn. $ 7=55,Zn. $ 9=57,Zn. $ A=65,Zn. $ E=69,Zn. $ F=70,Zn. $ X=88,Zn. $ Z=90,Zn. $ LBRACKET=91,Zn. $ BACKSLASH=92,Zn. $ RBRACKET=93,Zn. $ CARET=94,Zn. $ _=95,Zn. $ a=97,Zn. $ b=98,Zn. $ e=101,Zn. $ f=102,Zn. $ n=110,Zn. $ r=114,Zn. $ t=116,Zn. $ u=117,Zn. $ v=118,Zn. $ x=120,Zn. $ z=122,Zn. $ LBRACE=123,Zn. $ BAR=124,Zn. $ RBRACE=125,Zn. $ NBSP=160,Zn. $ PIPE=124,Zn. $ TILDA=126,Zn. $ AT=64,Zn. $ BT=96;function Ui(zn){return zn>=Zn. $ TAB&&zn<=Zn. $ SPACE||zn==Zn. $ NBSP}Zn.isWhitespace=Ui;function Ln(zn){return Zn. $ 0<=zn&&zn<=Zn. $ 9}Zn.isDigit=Ln;function fi(zn){return zn>=Zn. $ a&&zn<=Zn. $ z||zn>=Zn. $ A&&zn<=Zn. $ Z}Zn.isAsciiLetter=fi;function ui(zn){return zn>=Zn. $ a&&zn<=Zn. $ f||zn>=Zn. $ A&&zn<=Zn. $ F||Ln(zn)}Zn.isAsciiHexDigit=ui;function Fn(zn){return zn===Zn. $ LF||zn===Zn. $ CR}Zn.isNewLine=Fn;function Hn(zn){return Zn. $ 0<=zn&&zn<=Zn. $ 7}Zn.isOctalDigit=Hn}}),vc=Po({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(Zn){ei(),Object.defineProperty(Zn,"__esModule",{value:!0});var Ui=class{constructor(fi,ui,Fn){this.filePath=fi,this.name=ui,this.members=Fn}assertNoMembers(){if(this.members.length)throw new Error( ` Illegal state : symbol without members expected , but got $ { JSON . stringify ( this ) } . ` )}};Zn.StaticSymbol=Ui;var Ln=class{constructor(){this.cache=new Map}get(fi,ui,Fn){Fn=Fn||[];let Hn=Fn.length? ` . $ { Fn . join ( "." ) } ` :"",zn= ` "${fi}" . $ { ui } $ { Hn } ` ,ji=this.cache.get(zn);return ji||(ji=new Ui(fi,ui,Fn),this.cache.set(zn,ji)),ji}};Zn.StaticSymbolCache=Ln}}),Np=Po({"node_modules/angular-html-parser/lib/compiler/src/util.js"(Zn){ei(),Object.defineProperty(Zn,"__esModule",{value:!0});var Ui=/-+([a-z0-9])/g;function Ln(di){return di.replace(Ui,function(){for(var sa=arguments.length,pa=new Array(sa),xa=0;xa<sa;xa++)pa[xa]=arguments[xa];return pa[1].toUpper
` );return pa===-1?sa:sa.substring(0,pa)}Zn.stringify=Ia;function co(di){return typeof di=="function"&&di.hasOwnProperty("__forward_ref__")?di():di}Zn.resolveForwardRef=co;function Ja(di){return!!di&&typeof di.then=="function"}Zn.isPromise=Ja;var us=class{constructor(di){this.full=di;let sa=di.split(".");this.major=sa[0],this.minor=sa[1],this.patch=sa.slice(2).join(".")}};Zn.Version=us;var ea=typeof window<"u"&&window,Ma=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Zi=typeof globalThis<"u"&&globalThis,fa=Zi||ea||Ma;Zn.global=fa}}),Gd=Po({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(Zn){ei(),Object.defineProperty(Zn,"__esModule",{value:!0});var Ui=vc(),Ln=Np(),fi=/^(?:(?: \[ ([^ \] ]+) \] )|(?: \( ([^ \) ]+) \) ))|( \@ [- \w ]+) $ /;function ui(pa){return pa.replace(/ \W /g,"_")}Zn.sanitizeIdentifier=ui;var Fn=0;function Hn(pa){if(!pa||!pa.reference)return null;let xa=pa.reference;if(xa instanceof Ui.StaticSymbol)return xa.name;if(xa.__anonymousType)return xa.__anonymousType;let ka=Ln.stringify(xa);return ka.indexOf("(")>=0?(ka= ` anonymous _$ { Fn ++ } ` ,xa.__anonymousType=ka):ka=ui(ka),ka}Zn.identifierName=Hn;function zn(pa){let xa=pa.reference;return xa instanceof Ui.StaticSymbol?xa.filePath: ` . / $ { Ln . stringify ( xa ) } ` }Zn.identifierModuleUrl=zn;function ji(pa,xa){return ` View _$ { Hn ( { reference : pa } ) } _$ { xa } ` }Zn.viewClassName=ji;function Gi(pa){return ` RenderType _$ { Hn ( { reference : pa } ) } ` }Zn.rendererTypeName=Gi;function la(pa){return ` HostView _$ { Hn ( { reference : pa } ) } ` }Zn.hostViewClassName=la;function oa(pa){return ` $ { Hn ( { reference : pa } ) } NgFactory ` }Zn.componentFactoryName=oa;var ca;(function(pa){pa[pa.Pipe=0]="Pipe",pa[pa.Directive=1]="Directive",pa[pa.NgModule=2]="NgModule",pa[pa.Injectable=3]="Injectable"})(ca=Zn.CompileSummaryKind||(Zn.CompileSummaryKind={}));function zi(pa){return pa.value!=null?ui(pa.value):Hn(pa.identifier)}Zn.tokenName=zi;function Ki(pa){return pa.identifier!=null?pa.identifier.reference:pa.value}Zn.tokenReference=Ki;var ma=class{constructor(){let{moduleUrl:pa,styles:xa,styleUrls:ka}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=pa||null,this.styles=Ja(xa),this.styleUrls=Ja(ka)}};Zn.CompileStylesheetMetadata=ma;var za=class{constructor(pa){let{encapsulation:xa,template:ka,templateUrl:Fa,htmlAst:Eo,styles:Jo,styleUrls:cs,externalStylesheets:Qo,animations:Ns,ngContentSelectors:ko,interpolation:Hs,isInline:os,preserveWhitespaces:qo}=pa;if(this.encapsulation=xa,this.template=ka,this.templateUrl=Fa,this.htmlAst=Eo,this.styles=Ja(Jo),this.styleUrls=Ja(cs),this.externalStylesheets=Ja(Qo),this.animations=Ns?ea(Ns):[],this.ngContentSelectors=ko||[],Hs&&Hs.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Hs,this.isInline=os,this.preserveWhitespaces=qo}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};Zn.CompileTemplateMetadata=za;var Xa=class{static create(pa){let{isHost:xa,type:ka,isComponent:Fa,selector:Eo,exportAs:Jo,changeDetection:cs,inputs:Qo,outputs:Ns,host:ko,providers:Hs,viewProviders:os,queries:qo,guards:Ds,viewQueries:ul,entryComponents:Ws,template:Cl,componentViewType:ns,rendererType:Ls,componentFactory:yl}=pa,ml={}, $ c={},Fs={};ko!=null&&Object.keys(ko).forEach(rl=>{let Js=ko[rl],gc=rl.match(fi);gc===null?Fs[rl]=Js:gc[1]!=null? $ c[gc[1]]=Js:gc[2]!=null&&(ml[gc[2]]=Js)});let Ts={};Qo!=null&&Qo.forEach(rl=>{let Js=Ln.splitAtColon(rl,[rl,rl]);Ts[Js[0]]=Js[1]});let Ys={};return Ns!=null&&Ns.forEach(rl=>{let Js=Ln.splitAtColon(rl,[rl,rl]);Ys[Js[0]]=Js[1]}),new Xa({isHost:xa,type:ka,isComponent:!!Fa,selector:Eo,exportAs:Jo,changeDetection:cs,inputs:Ts,outputs:Ys,hostListeners:ml,hostProperties: $ c,hostAttributes:Fs,providers:Hs,viewProviders:os,queries:qo,guards:Ds,viewQueries:ul,entryComponents:Ws,template:Cl,componentViewType:ns,rendererType:Ls,componentFactory:yl})}constructor(pa){let{isHost:xa,type:ka,isComponent:Fa,selector:Eo,exportAs:Jo,changeDetection:cs,inputs:Qo,outputs:Ns,hostListeners:ko,hostPrope
` &&++za==oa)););for(ma=0,za=0;ma<la&&Ki<ca.length-1&&(Ki++,ma++,!(ca[Ki]== `
` &&++za==oa)););return{before:ca.substring(zi,this.offset),after:ca.substring(this.offset,Ki+1)}}return null}};Zn.ParseLocation=fi;var ui=class{constructor(la,oa){this.content=la,this.url=oa}};Zn.ParseSourceFile=ui;var Fn=class{constructor(la,oa){let ca=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=la,this.end=oa,this.details=ca}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};Zn.ParseSourceSpan=Fn,Zn.EMPTY_PARSE_LOCATION=new fi(new ui("",""),0,0,0),Zn.EMPTY_SOURCE_SPAN=new Fn(Zn.EMPTY_PARSE_LOCATION,Zn.EMPTY_PARSE_LOCATION);var Hn;(function(la){la[la.WARNING=0]="WARNING",la[la.ERROR=1]="ERROR"})(Hn=Zn.ParseErrorLevel||(Zn.ParseErrorLevel={}));var zn=class{constructor(la,oa){let ca=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Hn.ERROR;this.span=la,this.msg=oa,this.level=ca}contextualMessage(){let la=this.span.start.getContext(100,3);return la? ` $ { this . msg } ( "${la.before}[${Hn[this.level]} ->]${la.after}" ) ` :this.msg}toString(){let la=this.span.details? ` , $ { this . span . details } ` :"";return ` $ { this . contextualMessage ( ) } : $ { this . span . start } $ { la } ` }};Zn.ParseError=zn;function ji(la,oa){let ca=Ln.identifierModuleUrl(oa),zi=ca!=null? ` in $ { la } $ { Ln . identifierName ( oa ) } in $ { ca } ` : ` in $ { la } $ { Ln . identifierName ( oa ) } ` ,Ki=new ui("",zi);return new Fn(new fi(Ki,-1,-1,-1),new fi(Ki,-1,-1,-1))}Zn.typeSourceSpan=ji;function Gi(la,oa,ca){let zi= ` in $ { la } $ { oa } in $ { ca } ` ,Ki=new ui("",zi);return new Fn(new fi(Ki,-1,-1,-1),new fi(Ki,-1,-1,-1))}Zn.r3JitTypeSourceSpan=Gi}}),Pd=Po({"src/language-html/print-preprocess.js"(Zn,Ui){ei();var{ParseSourceSpan:Ln}=sp(),{htmlTrim:fi,getLeadingAndTrailingHtmlWhitespace:ui,hasHtmlWhitespace:Fn,canHaveInterpolation:Hn,getNodeCssStyleDisplay:zn,isDanglingSpaceSensitiveNode:ji,isIndentationSensitiveNode:Gi,isLeadingSpaceSensitiveNode:la,isTrailingSpaceSensitiveNode:oa,isWhitespaceSensitiveNode:ca,isVueScriptTag:zi}=bc(),Ki=[za,Xa,Qa,co,Ja,Ma,us,ea,Zi,Ia,fa];function ma(di,sa){for(let pa of Ki)pa(di,sa);return di}function za(di){di.walk(sa=>{if(sa.type==="element"&&sa.tagDefinition.ignoreFirstLf&&sa.children.length>0&&sa.children[0].type==="text"&&sa.children[0].value[0]=== `
` ){let pa=sa.children[0];pa.value.length===1?sa.removeChild(pa):pa.value=pa.value.slice(1)}})}function Xa(di){let sa=pa=>pa.type==="element"&&pa.prev&&pa.prev.type==="ieConditionalStartComment"&&pa.prev.sourceSpan.end.offset===pa.startSourceSpan.start.offset&&pa.firstChild&&pa.firstChild.type==="ieConditionalEndComment"&&pa.firstChild.sourceSpan.start.offset===pa.startSourceSpan.end.offset;di.walk(pa=>{if(pa.children)for(let xa=0;xa<pa.children.length;xa++){let ka=pa.children[xa];if(!sa(ka))continue;let Fa=ka.prev,Eo=ka.firstChild;pa.removeChild(Fa),xa--;let Jo=new Ln(Fa.sourceSpan.start,Eo.sourceSpan.end),cs=new Ln(Jo.start,ka.sourceSpan.end);ka.condition=Fa.condition,ka.sourceSpan=cs,ka.startSourceSpan=Jo,ka.removeChild(Eo)}})}function Sa(di,sa,pa){di.walk(xa=>{if(xa.children)for(let ka=0;ka<xa.children.length;ka++){let Fa=xa.children[ka];if(Fa.type!=="text"&&!sa(Fa))continue;Fa.type!=="text"&&(Fa.type="text",Fa.value=pa(Fa));let Eo=Fa.prev;!Eo||Eo.type!=="text"||(Eo.value+=Fa.value,Eo.sourceSpan=new Ln(Eo.sourceSpan.start,Fa.sourceSpan.end),xa.removeChild(Fa),ka--)}})}function Qa(di){return Sa(di,sa=>sa.type==="cdata",sa=> ` < ! [ CDATA [ $ { sa . value } ] ] > ` )}function Ia(di){let sa=pa=>pa.type==="element"&&pa.attrs.length===0&&pa.children.length===1&&pa.firstChild.type==="text"&&!Fn(pa.children[0].value)&&!pa.firstChild.hasLeadingSpaces&&!pa.firstChild.hasTrailingSpaces&&pa.isLeadingSpaceSensitive&&!pa.hasLeadingSpaces&&pa.isTrailingSpaceSensitive&&!pa.hasTrailingSpaces&&pa.prev&&pa.prev.type==="text"&&pa.next&&pa.next.type==="text";di.walk(pa=>{if(pa.children)for(let xa=0;xa<pa.children.length;xa++){let ka=pa.children[xa];if(!sa(ka))continue;let Fa=ka.prev,Eo=ka.next;Fa.value+= ` < $ { ka . rawName } > ` +ka.firstChild.value+ ` < /${ka.rawName}>`+Eo.value,Fa.sourceSpan=new Ln(Fa.sourceSpan.start,Eo.sourceSpan.end),Fa.isTrailingSpaceSensitive=Eo.isTrailingSpaceSensitive,Fa.hasTrailingSpaces=Eo.hasTrailingSpaces,pa.removeChild(ka),xa--,pa.removeChild(Eo)}})}function co(di,sa){if(sa.parser==="html")return;let pa=/ { { ( . + ? ) } } / s ; di . walk ( xa => { if ( Hn ( xa ) ) for ( let ka of xa . children ) { if ( ka . type !== "text" ) continue ; let Fa = ka . sourceSpan . start , Eo = null , Jo = ka . value . split ( pa ) ; for ( let cs = 0 ; cs < Jo . length ; cs ++ , Fa = Eo ) { let Qo = Jo [ cs ] ; if ( cs % 2 === 0 ) { Eo = Fa . moveBy ( Qo . length ) , Qo . length > 0 && xa . insertChildBefore ( ka , { type : "text" , value : Qo , sourceSpan : new Ln ( Fa , Eo ) } ) ; continue } Eo = Fa . moveBy ( Qo . length + 4 ) , xa . insertChildBefore ( ka , { type : "interpolation" , sourceSpan : new Ln ( Fa , Eo ) , children : Qo . length === 0 ? [ ] : [ { type : "text" , value : Qo , sourceSpan : new Ln ( Fa . moveBy ( 2 ) , Eo . moveBy ( - 2 ) ) } ] } ) } xa . removeChild ( ka ) } } ) } function Ja ( di ) { di . walk ( sa => { if ( ! sa . children ) return ; if ( sa . children . length === 0 || sa . children . length === 1 && sa . children [ 0 ] . type === "text" && fi ( sa . children [ 0 ] . value ) . length === 0 ) { sa . hasDanglingSpaces = sa . children . length > 0 , sa . children = [ ] ; return } let pa = ca ( sa ) , xa = Gi ( sa ) ; if ( ! pa ) for ( let ka = 0 ; ka < sa . children . length ; ka ++ ) { let Fa = sa . children [ ka ] ; if ( Fa . type !== "text" ) continue ; let { leadingWhitespace : Eo , text : Jo , trailingWhitespace : cs } = ui ( Fa . value ) , Qo = Fa . prev , Ns = Fa . next ; Jo ? ( Fa . value = Jo , Fa . sourceSpan = new Ln ( Fa . sourceSpan . start . moveBy ( Eo . length ) , Fa . sourceSpan . end . moveBy ( - cs . length ) ) , Eo && ( Qo && ( Qo . hasTrailingSpaces = ! 0 ) , Fa . hasLeadingSpaces = ! 0 ) , cs && ( Fa . hasTrailingSpaces = ! 0 , Ns && ( Ns . hasLeadingSpaces = ! 0 ) ) ) : ( sa . removeChild ( Fa ) , ka -- , ( Eo || cs ) && ( Qo && ( Qo . hasTrailingSpaces = ! 0 ) , Ns && ( Ns . hasLeadingSpaces = ! 0 ) ) ) } sa . isWhitespaceSensitive = pa , sa . isIndentationSensitive = xa } ) } function us ( di ) { di . walk ( sa => { sa . isSelfClosing = ! sa . children || sa . type === "element" && ( sa . tagDefinition . isVoid || sa . startSourceSpan === sa . endSourceSpan ) } ) } function ea ( di , sa ) { di . walk ( pa => { pa . type === "element" && ( pa . hasHtmComponentClosingTag = pa . endSourceSpan && /^<\s*\/\s*\/\s*>$/ . test ( sa . originalText . slice ( pa . endSourceSpan . start . offset , pa . endSourceSpan . end . offset ) ) ) } ) } function Ma ( di , sa ) { di . walk ( pa => { pa . cssDisplay = zn ( pa , sa ) } ) } function Zi ( di , sa ) { di . walk ( pa => { let { children : xa } = pa ; if ( xa ) { if ( xa . length === 0 ) { pa . isDanglingSpaceSensitive = ji ( pa ) ; return } for ( let ka of xa ) ka . isLeadingSpaceSensitive = la ( ka , sa ) , ka . isTrailingSpaceSensitive = oa ( ka , sa ) ; for ( let ka = 0 ; ka < xa . length ; ka ++ ) { let Fa = xa [ ka ] ; Fa . isLead
` +ui.replace(/^ \s * \n /,"")}Ui.exports={hasPragma:Ln,insertPragma:fi}}}),Tu=Po({"src/language-html/loc.js"(Zn,Ui){ei();function Ln(ui){return ui.sourceSpan.start.offset}function fi(ui){return ui.sourceSpan.end.offset}Ui.exports={locStart:Ln,locEnd:fi}}}),ed=Po({"src/language-html/print/tag.js"(Zn,Ui){ei();var Ln=Cu(),{isNonEmptyArray:fi}=od(),{builders:{indent:ui,join:Fn,line:Hn,softline:zn,hardline:ji},utils:{replaceTextEndOfLine:Gi}}=Du(),{locStart:la,locEnd:oa}=Tu(),{isTextLikeNode:ca,getLastDescendant:zi,isPreLikeNode:Ki,hasPrettierIgnore:ma,shouldPreserveContent:za,isVueSfcBlock:Xa}=bc();function Sa(ko,Hs){return[ko.isSelfClosing?"":Qa(ko,Hs),Ia(ko,Hs)]}function Qa(ko,Hs){return ko.lastChild&&di(ko.lastChild)?"":[co(ko,Hs),us(ko,Hs)]}function Ia(ko,Hs){return(ko.next?Zi(ko.next):fa(ko.parent))?"":[ea(ko,Hs),Ja(ko,Hs)]}function co(ko,Hs){return fa(ko)?ea(ko.lastChild,Hs):""}function Ja(ko,Hs){return di(ko)?us(ko.parent,Hs):sa(ko)?Qo(ko.next):""}function us(ko,Hs){if(Ln(!ko.isSelfClosing),Ma(ko,Hs))return"";switch(ko.type){case"ieConditionalComment":return"<!";case"element":if(ko.hasHtmComponentClosingTag)return"<//";default:return ` < /${ko.rawName}`}}function ea(ko,Hs){if(Ma(ko,Hs))return"";switch(ko.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ko.isSelfClosing)return"/ > ";default:return" > "}}function Ma(ko,Hs){return!ko.isSelfClosing&&!ko.endSourceSpan&&(ma(ko)||za(ko.parent,Hs))}function Zi(ko){return ko.prev&&ko.prev.type!==" docType "&&!ca(ko.prev)&&ko.isLeadingSpaceSensitive&&!ko.hasLeadingSpaces}function fa(ko){return ko.lastChild&&ko.lastChild.isTrailingSpaceSensitive&&!ko.lastChild.hasTrailingSpaces&&!ca(zi(ko.lastChild))&&!Ki(ko)}function di(ko){return!ko.next&&!ko.hasTrailingSpaces&&ko.isTrailingSpaceSensitive&&ca(zi(ko))}function sa(ko){return ko.next&&!ca(ko.next)&&ca(ko)&&ko.isTrailingSpaceSensitive&&!ko.hasTrailingSpaces}function pa(ko){let Hs=ko.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Hs?Hs[1]?Hs[1].split(/\s+/):!0:!1}function xa(ko){return!ko.prev&&ko.isLeadingSpaceSensitive&&!ko.hasLeadingSpaces}function ka(ko,Hs,os){let qo=ko.getValue();if(!fi(qo.attrs))return qo.isSelfClosing?" ":" ";let Ds=qo.prev&&qo.prev.type===" comment "&&pa(qo.prev.value),ul=typeof Ds==" boolean "?()=>Ds:Array.isArray(Ds)?yl=>Ds.includes(yl.rawName):()=>!1,Ws=ko.map(yl=>{let ml=yl.getValue();return ul(ml)?Gi(Hs.originalText.slice(la(ml),oa(ml))):os()}," attrs "),Cl=qo.type===" element "&&qo.fullName===" script "&&qo.attrs.length===1&&qo.attrs[0].fullName===" src "&&qo.children.length===0,ns=Hs.singleAttributePerLine&&qo.attrs.length>1&&!Xa(qo,Hs)?ji:Hn,Ls=[ui([Cl?" ":Hn,Fn(ns,Ws)])];return qo.firstChild&&xa(qo.firstChild)||qo.isSelfClosing&&fa(qo.parent)||Cl?Ls.push(qo.isSelfClosing?" ":" "):Ls.push(Hs.bracketSameLine?qo.isSelfClosing?" ":" ":qo.isSelfClosing?Hn:zn),Ls}function Fa(ko){return ko.firstChild&&xa(ko.firstChild)?" ":Ns(ko)}function Eo(ko,Hs,os){let qo=ko.getValue();return[Jo(qo,Hs),ka(ko,Hs,os),qo.isSelfClosing?" ":Fa(qo)]}function Jo(ko,Hs){return ko.prev&&sa(ko.prev)?" ":[cs(ko,Hs),Qo(ko)]}function cs(ko,Hs){return xa(ko)?Ns(ko.parent):Zi(ko)?ea(ko.prev,Hs):" "}function Qo(ko){switch(ko.type){case" ieConditionalComment ":case" ieConditionalStartComment ":return`<!--[if ${ko.condition}`;case" ieConditionalEndComment ":return" <!-- < ! ";case" interpolation ":return" { { ";case" docType ":return" < ! DOCTYPE ";case" element ":if(ko.condition)return`<!--[if ${ko.condition}]><!--><${ko.rawName}`;default:return`<${ko.rawName}`}}function Ns(ko){switch(Ln(!ko.isSelfClosing),ko.type){case" ieConditionalComment ":return" ] > ";case" element ":if(ko.condition)return" > <!-- < ! [ endif ] -- > ";default:return" > " } } Ui . exports = { printClosingTag : Sa , printClosingTagStart : Qa , printClosingTagStartMarker : us , printClosingTagEndMarker : ea , printClosingTagSuffix : Ja , printClosingTagEnd : Ia , needsToBorrowLastChildClosingTagEndMarker : fa , needsToBorrowParentClosingTagStartMarker : di , needsToBorrowPrevClosingTagEndMarker : Zi , printOpeningTag : Eo , printOpeningTagSt
` ||us===" \f "||us===" \r "}function Hn(us){var ea,Ma=us.exec(Ln.substring(Qa));if(Ma)return ea=Ma[0],Qa+=ea.length,ea}for(var zn=Ln.length,ji=/^[ \t \n \r \u 000c]+/,Gi=/^[, \t \n \r \u 000c]+/,la=/^[^ \t \n \r \u 000c]+/,oa=/[,]+ $ /,ca=/^ \d + $ /,zi=/^-?(?:[0-9]+|[0-9]* \. [0-9]+)(?:[eE][+-]?[0-9]+)? $ /,Ki,ma,za,Xa,Sa,Qa=0,Ia=[];;){if(Hn(Gi),Qa>=zn)return Ia;Ki=Hn(la),ma=[],Ki.slice(-1)===","?(Ki=Ki.replace(oa,""),Ja()):co()}function co(){for(Hn(ji),za="",Xa="in descriptor";;){if(Sa=Ln.charAt(Qa),Xa==="in descriptor")if(Fn(Sa))za&&(ma.push(za),za="",Xa="after descriptor");else if(Sa===","){Qa+=1,za&&ma.push(za),Ja();return}else if(Sa==="(")za=za+Sa,Xa="in parens";else if(Sa===""){za&&ma.push(za),Ja();return}else za=za+Sa;else if(Xa==="in parens")if(Sa===")")za=za+Sa,Xa="in descriptor";else if(Sa===""){ma.push(za),Ja();return}else za=za+Sa;else if(Xa==="after descriptor"&&!Fn(Sa))if(Sa===""){Ja();return}else Xa="in descriptor",Qa-=1;Qa+=1}}function Ja(){var us=!1,ea,Ma,Zi,fa,di={},sa,pa,xa,ka,Fa;for(fa=0;fa<ma.length;fa++)sa=ma[fa],pa=sa[sa.length-1],xa=sa.substring(0,sa.length-1),ka=parseInt(xa,10),Fa=parseFloat(xa),ca.test(xa)&&pa==="w"?((ea||Ma)&&(us=!0),ka===0?us=!0:ea=ka):zi.test(xa)&&pa==="x"?((ea||Ma||Zi)&&(us=!0),Fa<0?us=!0:Ma=Fa):ca.test(xa)&&pa==="h"?((Zi||Ma)&&(us=!0),ka===0?us=!0:Zi=ka):us=!0;us?ui&&ui.error&&ui.error("Invalid srcset descriptor found in '"+Ln+"' at '"+sa+"'."):(di.url=Ki,ea&&(di.w=ea),Ma&&(di.d=Ma),Zi&&(di.h=Zi),Ia.push(di))}}})}}),ud=Po({"src/language-html/syntax-attribute.js"(Zn,Ui){ei();var Ln=td(),{builders:{ifBreak:fi,join:ui,line:Fn}}=Du();function Hn(ji){let Gi=Ln(ji,{logger:{error(co){throw new Error(co)}}}),la=Gi.some(co=>{let{w:Ja}=co;return Ja}),oa=Gi.some(co=>{let{h:Ja}=co;return Ja}),ca=Gi.some(co=>{let{d:Ja}=co;return Ja});if(la+oa+ca>1)throw new Error("Mixed descriptor in srcset is not supported");let zi=la?"w":oa?"h":"d",Ki=la?"w":oa?"h":"x",ma=co=>Math.max(...co),za=Gi.map(co=>co.url),Xa=ma(za.map(co=>co.length)),Sa=Gi.map(co=>co[zi]).map(co=>co?co.toString():""),Qa=Sa.map(co=>{let Ja=co.indexOf(".");return Ja===-1?co.length:Ja}),Ia=ma(Qa);return ui([",",Fn],za.map((co,Ja)=>{let us=[co],ea=Sa[Ja];if(ea){let Ma=Xa-co.length+1,Zi=Ia-Qa[Ja],fa=" ".repeat(Ma+Zi);us.push(fi(fa," "),ea+Ki)}return us}))}function zn(ji){return ji.trim().split(/ \s +/).join(" ")}Ui.exports={printImgSrcset:Hn,printClassNames:zn}}}),cl=Po({"src/language-html/syntax-vue.js"(Zn,Ui){ei();var{builders:{group:Ln}}=Du();function fi(zn,ji){let{left:Gi,operator:la,right:oa}=ui(zn);return[Ln(ji( ` function _ ( $ { Gi } ) { } ` ,{parser:"babel",__isVueForBindingLeft:!0}))," ",la," ",ji(oa,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function ui(zn){let ji=/(.*?) \s +(in|of) \s +(.*)/s,Gi=/,([^, \] }]*)(?:,([^, \] }]*))? $ /,la=/^ \( | \) $ /g,oa=zn.match(ji);if(!oa)return;let ca={};if(ca.for=oa[3].trim(),!ca.for)return;let zi=oa[1].trim().replace(la,""),Ki=zi.match(Gi);Ki?(ca.alias=zi.replace(Gi,""),ca.iterator1=Ki[1].trim(),Ki[2]&&(ca.iterator2=Ki[2].trim())):ca.alias=zi;let ma=[ca.alias,ca.iterator1,ca.iterator2];if(!ma.some((za,Xa)=>!za&&(Xa===0||ma.slice(Xa+1).some(Boolean))))return{left:ma.filter(Boolean).join(","),operator:oa[2],right:ca.for}}function Fn(zn,ji){return ji( ` function _ ( $ { zn } ) { } ` ,{parser:"babel",__isVueBindings:!0})}function Hn(zn){let ji=/^(?:[ \w $ ]+| \( [^)]* \) ) \s *=>|^function \s * \( /,Gi=/^[ $ A-Z_a-z][ \w $ ]*(?: \. [ $ A-Z_a-z][ \w $ ]*| \[ '[^']*']| \[ "[^"]*"]| \[ \d +]| \[ [ $ A-Z_a-z][ \w $ ]*])* $ /,la=zn.trim();return ji.test(la)||Gi.test(la)}Ui.exports={isVueEventBindingExpression:Hn,printVueFor:fi,printVueBindings:Fn}}}),Kl=Po({"src/language-html/get-node-content.js"(Zn,Ui){ei();var{needsToBorrowParentClosingTagStartMarker:Ln,printClosingTagStartMarker:fi,needsToBorrowLastChildClosingTagEndMarker:ui,printClosingTagEndMarker:Fn,needsToBorrowParentOpeningTagEndMarker:Hn,printOpeningTagEndMarker:zn}=ed();function ji(Gi,la){let oa=Gi.startSourceSpan.end.offset;Gi.firstChild&&Hn(Gi.firstChild)&&(oa-=zn(Gi).length);let ca=Gi.endSourceSpan.start.offset;return Gi.lastChild&&Ln(Gi.lastChild)?ca+=fi(Gi,la).length:ui(Gi)&&(ca-=Fn(Gi.lastChild,la).length),la.orig
$ { Fn } ` }Ui.exports={isPragma:Ln,hasPragma:fi,insertPragma:ui}}}),Ip=Po({"src/language-yaml/loc.js"(Zn,Ui){ei();function Ln(ui){return ui.position.start.offset}function fi(ui){return ui.position.end.offset}Ui.exports={locStart:Ln,locEnd:fi}}}),Ed=Po({"src/language-yaml/embed.js"(Zn,Ui){ei();function Ln(fi,ui,Fn,Hn){if(fi.getValue().type==="root"&&Hn.filepath&&/(?:[/ \\ ]|^) \. (?:prettier|stylelint|lintstaged)rc $ /.test(Hn.filepath))return Fn(Hn.originalText,Object.assign(Object.assign({},Hn),{},{parser:"json"}))}Ui.exports=Ln}}),Ap=Po({"src/language-yaml/utils.js"(Zn,Ui){ei();var{getLast:Ln,isNonEmptyArray:fi}=od();function ui(ea,Ma){let Zi=0,fa=ea.stack.length-1;for(let di=0;di<fa;di++){let sa=ea.stack[di];Fn(sa)&&Ma(sa)&&Zi++}return Zi}function Fn(ea,Ma){return ea&&typeof ea.type=="string"&&(!Ma||Ma.includes(ea.type))}function Hn(ea,Ma,Zi){return Ma("children"in ea?Object.assign(Object.assign({},ea),{},{children:ea.children.map(fa=>Hn(fa,Ma,ea))}):ea,Zi)}function zn(ea,Ma,Zi){Object.defineProperty(ea,Ma,{get:Zi,enumerable:!1})}function ji(ea,Ma){let Zi=0,fa=Ma.length;for(let di=ea.position.end.offset-1;di<fa;di++){let sa=Ma[di];if(sa=== `
` &&Zi++,Zi===1&&/ \S /.test(sa))return!1;if(Zi===2)return!0}return!1}function Gi(ea){switch(ea.getValue().type){case"tag":case"anchor":case"comment":return!1}let Ma=ea.stack.length;for(let Zi=1;Zi<Ma;Zi++){let fa=ea.stack[Zi],di=ea.stack[Zi-1];if(Array.isArray(di)&&typeof fa=="number"&&fa!==di.length-1)return!1}return!0}function la(ea){return fi(ea.children)?la(Ln(ea.children)):ea}function oa(ea){return ea.value.trim()==="prettier-ignore"}function ca(ea){let Ma=ea.getValue();if(Ma.type==="documentBody"){let Zi=ea.getParentNode();return Qa(Zi.head)&&oa(Ln(Zi.head.endComments))}return ma(Ma)&&oa(Ln(Ma.leadingComments))}function zi(ea){return!fi(ea.children)&&!Ki(ea)}function Ki(ea){return ma(ea)||za(ea)||Xa(ea)||Sa(ea)||Qa(ea)}function ma(ea){return fi(ea==null?void 0:ea.leadingComments)}function za(ea){return fi(ea==null?void 0:ea.middleComments)}function Xa(ea){return ea==null?void 0:ea.indicatorComment}function Sa(ea){return ea==null?void 0:ea.trailingComment}function Qa(ea){return fi(ea==null?void 0:ea.endComments)}function Ia(ea){let Ma=[],Zi;for(let fa of ea.split(/( +)/))fa!==" "?Zi===" "?Ma.push(fa):Ma.push((Ma.pop()||"")+fa):Zi===void 0&&Ma.unshift(""),Zi=fa;return Zi===" "&&Ma.push((Ma.pop()||"")+" "),Ma[0]===""&&(Ma.shift(),Ma.unshift(" "+(Ma.shift()||""))),Ma}function co(ea,Ma,Zi){let fa=Ma.split( `
` ).map((di,sa,pa)=>sa===0&&sa===pa.length-1?di:sa!==0&&sa!==pa.length-1?di.trim():sa===0?di.trimEnd():di.trimStart());return Zi.proseWrap==="preserve"?fa.map(di=>di.length===0?[]:[di]):fa.map(di=>di.length===0?[]:Ia(di)).reduce((di,sa,pa)=>pa!==0&&fa[pa-1].length>0&&sa.length>0&&!(ea==="quoteDouble"&&Ln(Ln(di)).endsWith(" \\ "))?[...di.slice(0,-1),[...Ln(di),...sa]]:[...di,sa],[]).map(di=>Zi.proseWrap==="never"?[di.join(" ")]:di)}function Ja(ea,Ma){let{parentIndent:Zi,isLastDescendant:fa,options:di}=Ma,sa=ea.position.start.line===ea.position.end.line?"":di.originalText.slice(ea.position.start.offset,ea.position.end.offset).match(/^[^ \n ]* \n (.*) $ /s)[1],pa;if(ea.indent===null){let Fa=sa.match(/^(?<leadingSpace> *)[^ \n \r ]/m);pa=Fa?Fa.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else pa=ea.indent-1+Zi;let xa=sa.split( `
` ).map(Fa=>Fa.slice(pa));if(di.proseWrap==="preserve"||ea.type==="blockLiteral")return ka(xa.map(Fa=>Fa.length===0?[]:[Fa]));return ka(xa.map(Fa=>Fa.length===0?[]:Ia(Fa)).reduce((Fa,Eo,Jo)=>Jo!==0&&xa[Jo-1].length>0&&Eo.length>0&&!/^ \s /.test(Eo[0])&&!/^ \s | \s $ /.test(Ln(Fa))?[...Fa.slice(0,-1),[...Ln(Fa),...Eo]]:[...Fa,Eo],[]).map(Fa=>Fa.reduce((Eo,Jo)=>Eo.length>0&&/ \s $ /.test(Ln(Eo))?[...Eo.slice(0,-1),Ln(Eo)+" "+Jo]:[...Eo,Jo],[])).map(Fa=>di.proseWrap==="never"?[Fa.join(" ")]:Fa));function ka(Fa){if(ea.chomping==="keep")return Ln(Fa).length===0?Fa.slice(0,-1):Fa;let Eo=0;for(let Jo=Fa.length-1;Jo>=0&&Fa[Jo].length===0;Jo--)Eo++;return Eo===0?Fa:Eo>=2&&!fa?Fa.slice(0,-(Eo-1)):Fa.slice(0,-Eo)}}function us(ea){if(!ea)return!0;switch(ea.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}Ui.exports={getLast:Ln,getAncestorCount:ui,isNode:Fn,isEmptyNode:zi,isInlineNode:us,mapNode:Hn,defineShortcut:zn,isNextLineEmpty:ji,isLastDescendantNode:Gi,getBlockValueLineContents:Ja,getFlowScalarLineContents:co,getLastDescendantNode:la,hasPrettierIgnore:ca,hasLeadingComments:ma,hasMiddleComments:za,hasIndicatorComment:Xa,hasTrailingComment:Sa,hasEndComments:Qa}}}), $ p=Po({"src/language-yaml/print-preprocess.js"(Zn,Ui){ei();var{defineShortcut:Ln,mapNode:fi}=Ap();function ui(Hn){return fi(Hn,Fn)}function Fn(Hn){switch(Hn.type){case"document":Ln(Hn,"head",()=>Hn.children[0]),Ln(Hn,"body",()=>Hn.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Ln(Hn,"content",()=>Hn.children[0]);break;case"mappingItem":case"flowMappingItem":Ln(Hn,"key",()=>Hn.children[0]),Ln(Hn,"value",()=>Hn.children[1]);break}return Hn}Ui.exports=ui}}),Mp=Po({"src/language-yaml/print/misc.js"(Zn,Ui){ei();var{builders:{softline:Ln,align:fi}}=Du(),{hasEndComments:ui,isNextLineEmpty:Fn,isNode:Hn}=Ap(),zn=new WeakMap;function ji(oa,ca){let zi=oa.getValue(),Ki=oa.stack[0],ma;return zn.has(Ki)?ma=zn.get(Ki):(ma=new Set,zn.set(Ki,ma)),!ma.has(zi.position.end.line)&&(ma.add(zi.position.end.line),Fn(zi,ca)&&!Gi(oa.getParentNode()))?Ln:""}function Gi(oa){return ui(oa)&&!Hn(oa,["documentHead","documentBody","flowMapping","flowSequence"])}function la(oa,ca){return fi(" ".repeat(oa),ca)}Ui.exports={alignWithSpaces:la,shouldPrintEndComments:Gi,printNextEmptyLine:ji}}}),f0=Po({"src/language-yaml/print/flow-mapping-sequence.js"(Zn,Ui){ei();var{builders:{ifBreak:Ln,line:fi,softline:ui,hardline:Fn,join:Hn}}=Du(),{isEmptyNode:zn,getLast:ji,hasEndComments:Gi}=Ap(),{printNextEmptyLine:la,alignWithSpaces:oa}=Mp();function ca(Ki,ma,za){let Xa=Ki.getValue(),Sa=Xa.type==="flowMapping",Qa=Sa?"{":"[",Ia=Sa?"}":"]",co=ui;Sa&&Xa.children.length>0&&za.bracketSpacing&&(co=fi);let Ja=ji(Xa.children),us=Ja&&Ja.type==="flowMappingItem"&&zn(Ja.key)&&zn(Ja.value);return[Qa,oa(za.tabWidth,[co,zi(Ki,ma,za),za.trailingComma==="none"?"":Ln(","),Gi(Xa)?[Fn,Hn(Fn,Ki.map(ma,"endComments"))]:""]),us?"":co,Ia]}function zi(Ki,ma,za){let Xa=Ki.getValue();return Ki.map((Sa,Qa)=>[ma(),Qa===Xa.children.length-1?"":[",",fi,Xa.children[Qa].position.start.line!==Xa.children[Qa+1].position.start.line?la(Sa,za.originalText):""]],"children")}Ui.exports={printFlowMapping:ca,printFlowSequence:ca}}}),E0=Po({"src/language-yaml/print/mapping-item.js"(Zn,Ui){ei();var{builders:{conditionalGroup:Ln,group:fi,hardline:ui,ifBreak:Fn,join:Hn,line:zn}}=Du(),{hasLeadingComments:ji,hasMiddleComments:Gi,hasTrailingComment:la,hasEndComments:oa,isNode:ca,isEmptyNode:zi,isInlineNode:Ki}=Ap(),{alignWithSpaces:ma}=Mp();function za(Ia,co,Ja,us,ea){let{key:Ma,value:Zi}=Ia,fa=zi(Ma),di=zi(Zi);if(fa&&di)return": ";let sa=us("key"),pa=Sa(Ia)?" ":"";if(di)return Ia.type==="flowMappingItem"&&co.type==="flowMapping"?sa:Ia.type==="mappingItem"&&Xa(Ma.content,ea)&&!la(Ma.content)&&(!co.tag||co.tag.value!=="tag:yaml.org,2002:set")?[sa,pa,":"]:["? ",ma(2,sa)];let xa=us("value");if(fa)return[": ",ma(2,xa)];if(ji(Zi)||!Ki(Ma.content))return["? ",ma(2,sa),ui,Hn("",Ja.map(us,"value","leadingComments").map(Qo=>[Qo,ui])),":
` );case"always":return!/[ \n ]/.test(Ia.value);default:return!1}}function Sa(Ia){return Ia.key.content&&Ia.key.content.type==="alias"}function Qa(Ia){if(!Ia)return!0;switch(Ia.type){case"plain":case"quoteDouble":case"quoteSingle":return Ia.position.start.line===Ia.position.end.line;case"alias":return!0;default:return!1}}Ui.exports=za}}),j0=Po({"src/language-yaml/print/block.js"(Zn,Ui){ei();var{builders:{dedent:Ln,dedentToRoot:fi,fill:ui,hardline:Fn,join:Hn,line:zn,literalline:ji,markAsRoot:Gi},utils:{getDocParts:la}}=Du(),{getAncestorCount:oa,getBlockValueLineContents:ca,hasIndicatorComment:zi,isLastDescendantNode:Ki,isNode:ma}=Ap(),{alignWithSpaces:za}=Mp();function Xa(Sa,Qa,Ia){let co=Sa.getValue(),Ja=oa(Sa,fa=>ma(fa,["sequence","mapping"])),us=Ki(Sa),ea=[co.type==="blockFolded"?">":"|"];co.indent!==null&&ea.push(co.indent.toString()),co.chomping!=="clip"&&ea.push(co.chomping==="keep"?"+":"-"),zi(co)&&ea.push(" ",Qa("indicatorComment"));let Ma=ca(co,{parentIndent:Ja,isLastDescendant:us,options:Ia}),Zi=[];for(let[fa,di]of Ma.entries())fa===0&&Zi.push(Fn),Zi.push(ui(la(Hn(zn,di)))),fa!==Ma.length-1?Zi.push(di.length===0?Fn:Gi(ji)):co.chomping==="keep"&&us&&Zi.push(fi(di.length===0?Fn:ji));return co.indent===null?ea.push(Ln(za(Ia.tabWidth,Zi))):ea.push(fi(za(co.indent-1+Ja,Zi))),ea}Ui.exports=Xa}}),cf=Po({"src/language-yaml/printer-yaml.js"(Zn,Ui){ei();var{builders:{breakParent:Ln,fill:fi,group:ui,hardline:Fn,join:Hn,line:zn,lineSuffix:ji,literalline:Gi},utils:{getDocParts:la,replaceTextEndOfLine:oa}}=Du(),{isPreviousLineEmpty:ca}=od(),{insertPragma:zi,isPragma:Ki}=_f(),{locStart:ma}=Ip(),za=Ed(),{getFlowScalarLineContents:Xa,getLastDescendantNode:Sa,hasLeadingComments:Qa,hasMiddleComments:Ia,hasTrailingComment:co,hasEndComments:Ja,hasPrettierIgnore:us,isLastDescendantNode:ea,isNode:Ma,isInlineNode:Zi}=Ap(),fa= $ p(),{alignWithSpaces:di,printNextEmptyLine:sa,shouldPrintEndComments:pa}=Mp(),{printFlowMapping:xa,printFlowSequence:ka}=f0(),Fa=E0(),Eo=j0();function Jo(qo,Ds,ul){let Ws=qo.getValue(),Cl=[];Ws.type!=="mappingValue"&&Qa(Ws)&&Cl.push([Hn(Fn,qo.map(ul,"leadingComments")),Fn]);let{tag:ns,anchor:Ls}=Ws;ns&&Cl.push(ul("tag")),ns&&Ls&&Cl.push(" "),Ls&&Cl.push(ul("anchor"));let yl="";Ma(Ws,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!ea(qo)&&(yl=sa(qo,Ds.originalText)),(ns||Ls)&&(Ma(Ws,["sequence","mapping"])&&!Ia(Ws)?Cl.push(Fn):Cl.push(" ")),Ia(Ws)&&Cl.push([Ws.middleComments.length===1?"":Fn,Hn(Fn,qo.map(ul,"middleComments")),Fn]);let ml=qo.getParentNode();return us(qo)?Cl.push(oa(Ds.originalText.slice(Ws.position.start.offset,Ws.position.end.offset).trimEnd(),Gi)):Cl.push(ui(cs(Ws,ml,qo,Ds,ul))),co(Ws)&&!Ma(Ws,["document","documentHead"])&&Cl.push(ji([Ws.type==="mappingValue"&&!Ws.content?"":" ",ml.type==="mappingKey"&&qo.getParentNode(2).type==="mapping"&&Zi(Ws)?"":Ln,ul("trailingComment")])),pa(Ws)&&Cl.push(di(Ws.type==="sequenceItem"?2:0,[Fn,Hn(Fn,qo.map( $ c=>[ca(Ds.originalText, $ c.getValue(),ma)?Fn:"",ul()],"endComments"))])),Cl.push(yl),Cl}function cs(qo,Ds,ul,Ws,Cl){switch(qo.type){case"root":{let{children:ns}=qo,Ls=[];ul.each((ml, $ c)=>{let Fs=ns[ $ c],Ts=ns[ $ c+1]; $ c!==0&&Ls.push(Fn),Ls.push(Cl()),Ns(Fs,Ts)?(Ls.push(Fn,"..."),co(Fs)&&Ls.push(" ",Cl("trailingComment"))):Ts&&!co(Ts.head)&&Ls.push(Fn,"---")},"children");let yl=Sa(qo);return(!Ma(yl,["blockLiteral","blockFolded"])||yl.chomping!=="keep")&&Ls.push(Fn),Ls}case"document":{let ns=Ds.children[ul.getName()+1],Ls=[];return ko(qo,ns,Ds,Ws)==="head"&&((qo.head.children.length>0||qo.head.endComments.length>0)&&Ls.push(Cl("head")),co(qo.head)?Ls.push(["---"," ",Cl(["head","trailingComment"])]):Ls.push("---")),Qo(qo)&&Ls.push(Cl("body")),Hn(Fn,Ls)}case"documentHead":return Hn(Fn,[...ul.map(Cl,"children"),...ul.map(Cl,"endComments")]);case"documentBody":{let{children:ns,endComments:Ls}=qo,yl="";if(ns.length>0&&Ls.length>0){let ml=Sa(qo);Ma(ml,["blockFolded","blockLiteral"])?ml.chomping!=="keep"&&(yl=[Fn,Fn]):yl=Fn}return[Hn(Fn,ul.map(Cl,"children")),yl,Hn(Fn,ul.map(Cl,"endComments"))]}case"directive":return["%",Hn(" ",[qo.name,...qo.pa
` ,hs={EOL:bo,tmpdir:Ha,tmpDir:qi,networkInterfaces:oi,getNetworkInterfaces:na,release:Mn,type:Mi,cpus:Kr,totalmem:Qs,freemem:Xs,uptime: $ s,loadavg:Es,hostname:Vl,endianness:Su}}}),Go=_s({"node-modules-polyfills-commonjs:os"(ci,Wa){Ms();var Ba=(Vn(),Ac(xu));if(Ba&&Ba.default){Wa.exports=Ba.default;for(let La in Ba)Wa.exports[La]=Ba[La]}else Ba&&(Wa.exports=Ba)}}),Wl=_s({"node_modules/detect-newline/index.js"(ci,Wa){Ms();var Ba=La=>{if(typeof La!="string")throw new TypeError("Expected a string");let eo=La.match(/(?: \r ? \n )/g)||[];if(eo.length===0)return;let Ao=eo.filter(Do=>Do=== ` \ r
` ).length,So=eo.length-Ao;return Ao>So? ` \ r
` : `
` };Wa.exports=Ba,Wa.exports.graceful=La=>typeof La=="string"&&Ba(La)|| `
` }}),Po=_s({"node_modules/jest-docblock/build/index.js"(ci){Ms(),Object.defineProperty(ci,"__esModule",{value:!0}),ci.extract=Na,ci.parse=Bo,ci.parseWithComments=ys,ci.print=ms,ci.strip=Xo;function Wa(){let Ks=Go();return Wa=function(){return Ks},Ks}function Ba(){let Ks=La(Wl());return Ba=function(){return Ks},Ks}function La(Ks){return Ks&&Ks.__esModule?Ks:{default:Ks}}var eo=/ \* \/ $ /,Ao=/^ \/ \* \* ?/,So=/^ \s *( \/ \* \* ?(.| \r ? \n )*? \* \/ )/,Do=/(^| \s +) \/ \/ ([^ \r \n ]*)/g,no=/^( \r ? \n )+/,No=/(?:^| \r ? \n ) *(@[^ \r \n ]*?) * \r ? \n *(?![^@ \r \n ]* \/ \/ [^]*)([^@ \r \n \s ][^@ \r \n ]+?) * \r ? \n /g,Ni=/(?:^| \r ? \n ) *@( \S +) *([^ \r \n ]*)/g,Un=/( \r ? \n |^) * \* ?/g,qa=[];function Na(Ks){let Zs=Ks.match(So);return Zs?Zs[0].trimLeft():""}function Xo(Ks){let Zs=Ks.match(So);return Zs&&Zs[0]?Ks.substring(Zs[0].length):Ks}function Bo(Ks){return ys(Ks).pragmas}function ys(Ks){let Zs=(0,Ba().default)(Ks)||Wa().EOL;Ks=Ks.replace(Ao,"").replace(eo,"").replace(Un," $ 1");let pl="";for(;pl!==Ks;)pl=Ks,Ks=Ks.replace(No, ` $ { Zs } $1 $2$ { Zs } ` );Ks=Ks.replace(no,"").trimRight();let Mc=Object.create(null),Yc=Ks.replace(Ni,"").replace(no,"").trimRight(),_u;for(;_u=Ni.exec(Ks);){let Uu=_u[2].replace(Do,"");typeof Mc[_u[1]]=="string"||Array.isArray(Mc[_u[1]])?Mc[_u[1]]=qa.concat(Mc[_u[1]],Uu):Mc[_u[1]]=Uu}return{comments:Yc,pragmas:Mc}}function ms(Ks){let{comments:Zs="",pragmas:pl={}}=Ks,Mc=(0,Ba().default)(Zs)||Wa().EOL,Yc="/**",_u=" *",Uu=" */",ju=Object.keys(pl),Ku=ju.map(Fu=> $ o(Fu,pl[Fu])).reduce((Fu,Uc)=>Fu.concat(Uc),[]).map(Fu=> ` $ { _u } $ { Fu } $ { Mc } ` ).join("");if(!Zs){if(ju.length===0)return"";if(ju.length===1&&!Array.isArray(pl[ju[0]])){let Fu=pl[ju[0]];return ` $ { Yc } $ { $o ( ju [ 0 ] , Fu ) [ 0 ] } $ { Uu } ` }}let Vu=Zs.split(Mc).map(Fu=> ` $ { _u } $ { Fu } ` ).join(Mc)+Mc;return Yc+Mc+(Zs?Vu:"")+(Zs&&ju.length?_u+Mc:"")+Ku+Uu}function $ o(Ks,Zs){return qa.concat(Zs).map(pl=> ` @ $ { Ks } $ { pl } ` .trim())}}}),Ec=_s({"src/common/end-of-line.js"(ci,Wa){Ms();function Ba(So){let Do=So.indexOf(" \r ");return Do>=0?So.charAt(Do+1)=== `
` ?"crlf":"cr":"lf"}function La(So){switch(So){case"cr":return" \r ";case"crlf":return ` \ r
` ;default:return `
` }}function eo(So,Do){let no;switch(Do){case `
` :no=/ \n /g;break;case" \r ":no=/ \r /g;break;case ` \ r
` :no=/ \r \n /g;break;default:throw new Error( ` Unexpected "eol" $ { JSON . stringify ( Do ) } . ` )}let No=So.match(no);return No?No.length:0}function Ao(So){return So.replace(/ \r \n ?/g, `
` )}Wa.exports={guessEndOfLine:Ba,convertEndOfLineToChars:La,countEndOfLineChars:eo,normalizeEndOfLine:Ao}}}),jl=_s({"src/language-js/utils/get-shebang.js"(ci,Wa){Ms();function Ba(La){if(!La.startsWith("#!"))return"";let eo=La.indexOf( `
` );return eo===-1?La:La.slice(0,eo)}Wa.exports=Ba}}),Zc=_s({"src/language-js/pragma.js"(ci,Wa){Ms();var{parseWithComments:Ba,strip:La,extract:eo,print:Ao}=Po(),{normalizeEndOfLine:So}=Ec(),Do=jl();function no(Un){let qa=Do(Un);qa&&(Un=Un.slice(qa.length+1));let Na=eo(Un),{pragmas:Xo,comments:Bo}=Ba(Na);return{shebang:qa,text:Un,pragmas:Xo,comments:Bo}}function No(Un){let qa=Object.keys(no(Un).pragmas);return qa.includes("prettier")||qa.includes("format")}function Ni(Un){let{shebang:qa,text:Na,pragmas:Xo,comments:Bo}=no(Un),ys=La(Na),ms=Ao({pragmas:Object.assign({format:""},Xo),comments:Bo.trimStart()});return(qa? ` $ { qa }
` :"")+So(ms)+(ys.startsWith( `
` )? `
` : `
` )+ys}Wa.exports={hasPragma:No,insertPragma:Ni}}}),qc=_s({"src/language-css/pragma.js"(ci,Wa){Ms();var Ba=Zc(),La= $ u();function eo(So){return Ba.hasPragma(La(So).content)}function Ao(So){let{frontMatter:Do,content:no}=La(So);return(Do?Do.raw+ `
` :"")+Ba.insertPragma(no)}Wa.exports={hasPragma:eo,insertPragma:Ao}}}),Qc=_s({"src/utils/text/skip.js"(ci,Wa){Ms();function Ba(Do){return(no,No,Ni)=>{let Un=Ni&&Ni.backwards;if(No===!1)return!1;let{length:qa}=no,Na=No;for(;Na>=0&&Na<qa;){let Xo=no.charAt(Na);if(Do instanceof RegExp){if(!Do.test(Xo))return Na}else if(!Do.includes(Xo))return Na;Un?Na--:Na++}return Na===-1||Na===qa?Na:!1}}var La=Ba(/ \s /),eo=Ba(" "),Ao=Ba(",; "),So=Ba(/[^ \n \r ]/);Wa.exports={skipWhitespace:La,skipSpaces:eo,skipToLineEnd:Ao,skipEverythingButNewLine:So}}}),ei=_s({"src/utils/line-column-to-index.js"(ci,Wa){Ms(),Wa.exports=function(Ba,La){let eo=0;for(let Ao=0;Ao<Ba.line-1;++Ao)eo=La.indexOf( `
` ,eo)+1;return eo+Ba.column}}}),ds=_s({"src/language-css/loc.js"(ci,Wa){Ms();var{skipEverythingButNewLine:Ba}=Qc(),La=Fc(),eo=ei();function Ao(Na,Xo){return typeof Na.sourceIndex=="number"?Na.sourceIndex:Na.source?eo(Na.source.start,Xo)-1:null}function So(Na,Xo){if(Na.type==="css-comment"&&Na.inline)return Ba(Xo,Na.source.startOffset);let Bo=Na.nodes&&La(Na.nodes);return Bo&&Na.source&&!Na.source.end&&(Na=Bo),Na.source&&Na.source.end?eo(Na.source.end,Xo):null}function Do(Na,Xo){Na.source&&(Na.source.startOffset=Ao(Na,Xo),Na.source.endOffset=So(Na,Xo));for(let Bo in Na){let ys=Na[Bo];Bo==="source"||!ys||typeof ys!="object"||(ys.type==="value-root"||ys.type==="value-unknown"?no(ys,No(Na),ys.text||ys.value):Do(ys,Xo))}}function no(Na,Xo,Bo){Na.source&&(Na.source.startOffset=Ao(Na,Bo)+Xo,Na.source.endOffset=So(Na,Bo)+Xo);for(let ys in Na){let ms=Na[ys];ys==="source"||!ms||typeof ms!="object"||no(ms,Xo,Bo)}}function No(Na){let Xo=Na.source.startOffset;return typeof Na.prop=="string"&&(Xo+=Na.prop.length),Na.type==="css-atrule"&&typeof Na.name=="string"&&(Xo+=1+Na.name.length+Na.raws.afterName.match(/^ \s *:? \s */)[0].length),Na.type!=="css-atrule"&&Na.raws&&typeof Na.raws.between=="string"&&(Xo+=Na.raws.between.length),Xo}function Ni(Na){let Xo="initial",Bo="initial",ys,ms=!1, $ o=[];for(let Ks=0;Ks<Na.length;Ks++){let Zs=Na[Ks];switch(Xo){case"initial":if(Zs==="'"){Xo="single-quotes";continue}if(Zs==='"'){Xo="double-quotes";continue}if((Zs==="u"||Zs==="U")&&Na.slice(Ks,Ks+4).toLowerCase()==="url("){Xo="url",Ks+=3;continue}if(Zs==="*"&&Na[Ks-1]==="/"){Xo="comment-block";continue}if(Zs==="/"&&Na[Ks-1]==="/"){Xo="comment-inline",ys=Ks-1;continue}continue;case"single-quotes":if(Zs==="'"&&Na[Ks-1]!==" \\ "&&(Xo=Bo,Bo="initial"),Zs=== `
` ||Zs===" \r ")return Na;continue;case"double-quotes":if(Zs==='"'&&Na[Ks-1]!==" \\ "&&(Xo=Bo,Bo="initial"),Zs=== `
` ||Zs===" \r ")return Na;continue;case"url":if(Zs===")"&&(Xo="initial"),Zs=== `
` ||Zs===" \r ")return Na;if(Zs==="'"){Xo="single-quotes",Bo="url";continue}if(Zs==='"'){Xo="double-quotes",Bo="url";continue}continue;case"comment-block":Zs==="/"&&Na[Ks-1]==="*"&&(Xo="initial");continue;case"comment-inline":(Zs==='"'||Zs==="'"||Zs==="*")&&(ms=!0),(Zs=== `
` ||Zs===" \r ")&&(ms&& $ o.push([ys,Ks]),Xo="initial",ms=!1);continue}}for(let[Ks,Zs]of $ o)Na=Na.slice(0,Ks)+Na.slice(Ks,Zs).replace(/["'*]/g," ")+Na.slice(Zs);return Na}function Un(Na){return Na.source.startOffset}function qa(Na){return Na.source.endOffset}Wa.exports={locStart:Un,locEnd:qa,calculateLoc:Do,replaceQuotesInInlineComments:Ni}}}),dc=_s({"src/utils/is-non-empty-array.js"(ci,Wa){Ms();function Ba(La){return Array.isArray(La)&&La.length>0}Wa.exports=Ba}}),Nc=_s({"src/language-css/utils/has-scss-interpolation.js"(ci,Wa){Ms();var Ba=dc();function La(eo){if(Ba(eo)){for(let Ao=eo.length-1;Ao>0;Ao--)if(eo[Ao].type==="word"&&eo[Ao].value==="{"&&eo[Ao-1].type==="word"&&eo[Ao-1].value.endsWith("#"))return!0}return!1}Wa.exports=La}}),Ml=_s({"src/language-css/utils/has-string-or-function.js"(ci,Wa){Ms();function Ba(La){return La.some(eo=>eo.type==="string"||eo.type==="func")}Wa.exports=Ba}}),Gc=_s({"src/language-css/utils/is-less-parser.js"(ci,Wa){Ms();function Ba(La){return La.parser==="css"||La.parser==="less"}Wa.exports=Ba}}),Bu=_s({"src/language-css/utils/is-scss.js"(ci,Wa){Ms();function Ba(La,eo){return La==="less"||La==="scss"?La==="scss":/(?: \w \s *: \s *[^:}]+|#){|@import[^ \n ]+(?:url|,)/.test(eo)}Wa.exports=Ba}}),Od=_s({"src/language-css/utils/is-scss-nested-property-node.js"(ci,Wa){Ms();function Ba(La){return La.selector?La.selector.replace(/ \/ \* .*? \* \/ /,"").replace(/ \/ \/ .* \n /,"").trim().endsWith(":"):!1}Wa.exports=Ba}}),Id=_s({"src/language-css/utils/is-scss-variable.js"(ci,Wa){Ms();function Ba(La){return!!((La==null?void 0:La.type)==="word"&&La.value.startsWith(" $ "))}Wa.exports=Ba}}),kp=_s({"src/language-css/utils/stringify-node.js"(ci,Wa){Ms();function Ba(La){var eo,Ao,So;if(La.groups){var Do,no,No;let ms=((Do=La.open)===null||Do===void 0?void 0:Do.value)||"", $ o=La.groups.map(Zs=>Ba(Zs)).join(((no=La.groups[0])===null||no===void 0?void 0:no.type)==="comma_group"?",":""),Ks=((No=La.close)===null||No===void 0?void 0:No.value)||"";return ms+ $ o+Ks}let Ni=((eo=La.raws)===null||eo===void 0?void 0:eo.before)||"",Un=((Ao=La.raws)===null||Ao===void 0?void 0:Ao.quote)||"",qa=La.type==="atword"?"@":"",Na=La.value||"",Xo=La.unit||"",Bo=La.group?Ba(La.group):"",ys=((So=La.raws)===null||So===void 0?void 0:So.after)||"";return Ni+Un+qa+Na+Un+Xo+Bo+ys}Wa.exports=Ba}}),Tp=_s({"src/language-css/utils/is-module-rule-name.js"(ci,Wa){Ms();var Ba=new Set(["import","use","forward"]);function La(eo){return Ba.has(eo)}Wa.exports=La}}),Lu=_s({"node_modules/postcss-values-parser/lib/node.js"(ci,Wa){Ms();var Ba=function(La,eo){let Ao=new La.constructor;for(let So in La){if(!La.hasOwnProperty(So))continue;let Do=La[So],no=typeof Do;So==="parent"&&no==="object"?eo&&(Ao[So]=eo):So==="source"?Ao[So]=Do:Do instanceof Array?Ao[So]=Do.map(No=>Ba(No,Ao)):So!=="before"&&So!=="after"&&So!=="between"&&So!=="semicolon"&&(no==="object"&&Do!==null&&(Do=Ba(Do)),Ao[So]=Do)}return Ao};Wa.exports=class{constructor(La){La=La||{},this.raws={before:"",after:""};for(let eo in La)this[eo]=La[eo]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(La){La=La||{};let eo=Ba(this);for(let Ao in La)eo[Ao]=La[Ao];return eo}cloneBefore(La){La=La||{};let eo=this.clone(La);return this.parent.insertBefore(this,eo),eo}cloneAfter(La){La=La||{};let eo=this.clone(La);return this.parent.insertAfter(this,eo),eo}replaceWith(){let La=Array.prototype.slice.call(arguments);if(this.parent){for(let eo of La)this.parent.insertBefore(this,eo);this.remove()}return this}moveTo(La){return this.cleanRaws(this.root()===La.root()),this.remove(),La.append(this),this}moveBefore(La){return this.cleanRaws(this.root()===La.root()),this.remove(),La.parent.insertBefore(La,this),this}moveAfter(La){return this.cleanRaws(this.root()===La.root()),this.remove(),La.parent.insertAfter(La,this),this}next(){let La=this.parent.index(this);return this.parent.nodes[La+1]}prev(){let La=this.parent.index(this);return this.parent.nodes[La-1]}toJSON(){let La={};for(let eo in this){if(!this.hasOwnProperty(
` ?(Ao=1,So+=1):Ao+=1;return{line:So,column:Ao}}positionBy(La){let eo=this.source.start;if(Object(La).index)eo=this.positionInside(La.index);else if(Object(La).word){let Ao=this.toString().indexOf(La.word);Ao!==-1&&(eo=this.positionInside(Ao))}return eo}}}}),np=_s({"node_modules/postcss-values-parser/lib/container.js"(ci,Wa){Ms();var Ba=Lu(),La=class extends Ba{constructor(eo){super(eo),this.nodes||(this.nodes=[])}push(eo){return eo.parent=this,this.nodes.push(eo),this}each(eo){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let Ao=this.lastEach,So,Do;if(this.indexes[Ao]=0,!!this.nodes){for(;this.indexes[Ao]<this.nodes.length&&(So=this.indexes[Ao],Do=eo(this.nodes[So],So),Do!==!1);)this.indexes[Ao]+=1;return delete this.indexes[Ao],Do}}walk(eo){return this.each((Ao,So)=>{let Do=eo(Ao,So);return Do!==!1&&Ao.walk&&(Do=Ao.walk(eo)),Do})}walkType(eo,Ao){if(!eo||!Ao)throw new Error("Parameters {type} and {callback} are required.");let So=typeof eo=="function";return this.walk((Do,no)=>{if(So&&Do instanceof eo||!So&&Do.type===eo)return Ao.call(this,Do,no)})}append(eo){return eo.parent=this,this.nodes.push(eo),this}prepend(eo){return eo.parent=this,this.nodes.unshift(eo),this}cleanRaws(eo){if(super.cleanRaws(eo),this.nodes)for(let Ao of this.nodes)Ao.cleanRaws(eo)}insertAfter(eo,Ao){let So=this.index(eo),Do;this.nodes.splice(So+1,0,Ao);for(let no in this.indexes)Do=this.indexes[no],So<=Do&&(this.indexes[no]=Do+this.nodes.length);return this}insertBefore(eo,Ao){let So=this.index(eo),Do;this.nodes.splice(So,0,Ao);for(let no in this.indexes)Do=this.indexes[no],So<=Do&&(this.indexes[no]=Do+this.nodes.length);return this}removeChild(eo){eo=this.index(eo),this.nodes[eo].parent=void 0,this.nodes.splice(eo,1);let Ao;for(let So in this.indexes)Ao=this.indexes[So],Ao>=eo&&(this.indexes[So]=Ao-1);return this}removeAll(){for(let eo of this.nodes)eo.parent=void 0;return this.nodes=[],this}every(eo){return this.nodes.every(eo)}some(eo){return this.nodes.some(eo)}index(eo){return typeof eo=="number"?eo:this.nodes.indexOf(eo)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let eo=this.nodes.map(String).join("");return this.value&&(eo=this.value+eo),this.raws.before&&(eo=this.raws.before+eo),this.raws.after&&(eo+=this.raws.after),eo}};La.registerWalker=eo=>{let Ao="walk"+eo.name;Ao.lastIndexOf("s")!==Ao.length-1&&(Ao+="s"),!La.prototype[Ao]&&(La.prototype[Ao]=function(So){return this.walkType(eo,So)})},Wa.exports=La}}),Ad=_s({"node_modules/postcss-values-parser/lib/root.js"(ci,Wa){Ms();var Ba=np();Wa.exports=class extends Ba{constructor(La){super(La),this.type="root"}}}}),Up=_s({"node_modules/postcss-values-parser/lib/value.js"(ci,Wa){Ms();var Ba=np();Wa.exports=class extends Ba{constructor(La){super(La),this.type="value",this.unbalanced=0}}}}),Lp=_s({"node_modules/postcss-values-parser/lib/atword.js"(ci,Wa){Ms();var Ba=np(),La=class extends Ba{constructor(eo){super(eo),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Ba.registerWalker(La),Wa.exports=La}}),Bf=_s({"node_modules/postcss-values-parser/lib/colon.js"(ci,Wa){Ms();var Ba=np(),La=Lu(),eo=class extends La{constructor(Ao){super(Ao),this.type="colon"}};Ba.registerWalker(eo),Wa.exports=eo}}),Uf=_s({"node_modules/postcss-values-parser/lib/comma.js"(ci,Wa){Ms();var Ba=np(),La=Lu(),eo=class extends La{constructor(Ao){super(Ao),this.type="comma"}};Ba.registerWalker(eo),Wa.exports=eo}}),Sf=_s({"node_modules/postcss-values-parser/lib/comment.js"(ci,Wa){Ms();var Ba=np(),La=Lu(),eo=class extends La{constructor(Ao){super(Ao),this.type="comment",this.inline=Object(Ao).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Ba.registerWalker(eo),Wa.exports=eo}}),Hp=_s({"node_modules/postcss-values-parser/lib/function.js"(ci,Wa){Ms();var Ba=np(),La=class extends Ba{constructor(eo){super(eo),this.type="func",th
` )>-1&&(Ao?Do=Do.split( `
` ).map(function(No){return" "+No}).join( `
` ).substr(2):Do= `
` +Do.split( `
` ).map(function(No){return" "+No}).join( `
` ))):Do=ci.stylize("[Circular]","special")),yp(So)){if(Ao&&eo.match(/^ \d + $ /))return Do;So=JSON.stringify(""+eo),So.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)" $ /)?(So=So.substr(1,So.length-2),So=ci.stylize(So,"name")):(So=So.replace(/'/g," \\ '").replace(/ \\ "/g,'"').replace(/(^"|" $ )/g,"'"),So=ci.stylize(So,"string"))}return So+": "+Do}function Kh(ci,Wa,Ba){var La=0,eo=ci.reduce(function(Ao,So){return La++,So.indexOf( `
` )>=0&&La++,Ao+So.replace(/ \u 001b \[ \d \d ?m/g,"").length+1},0);return eo>60?Ba[0]+(Wa===""?"":Wa+ `
` )+" "+ci.join( ` ,
` )+" "+Ba[1]:Ba[0]+Wa+" "+ci.join(", ")+" "+Ba[1]}function dh(ci){return Array.isArray(ci)}function Dh(ci){return typeof ci=="boolean"}function Rm(ci){return ci===null}function Mm(ci){return ci==null}function _m(ci){return typeof ci=="number"}function Nf(ci){return typeof ci=="string"}function ph(ci){return typeof ci=="symbol"}function yp(ci){return ci===void 0}function om(ci){return Qp(ci)&&vm(ci)==="[object RegExp]"}function Qp(ci){return typeof ci=="object"&&ci!==null}function pf(ci){return Qp(ci)&&vm(ci)==="[object Date]"}function sm(ci){return Qp(ci)&&(vm(ci)==="[object Error]"||ci instanceof Error)}function Bm(ci){return typeof ci=="function"}function Yh(ci){return ci===null||typeof ci=="boolean"||typeof ci=="number"||typeof ci=="string"||typeof ci=="symbol"||typeof ci>"u"}function Pf(ci){return Buffer $ 2.isBuffer(ci)}function vm(ci){return Object.prototype.toString.call(ci)}function Km(ci){return ci<10?"0"+ci.toString(10):ci.toString(10)}function Af(){var ci=new Date,Wa=[Km(ci.getHours()),Km(ci.getMinutes()),Km(ci.getSeconds())].join(":");return[ci.getDate(),Uh[ci.getMonth()],Wa].join(" ")}function Xh(){console.log("%s - %s",Af(),uh.apply(null,arguments))}function Qh(ci,Wa){if(!Wa||!Qp(Wa))return ci;for(var Ba=Object.keys(Wa),La=Ba.length;La--;)ci[Ba[La]]=Wa[Ba[La]];return ci}function kh(ci,Wa){return Object.prototype.hasOwnProperty.call(ci,Wa)}var Oh,Pp,of,Uh,Jh,p0=xs({"node-modules-polyfills:util"(){Ms(),Wf(),vp(),Oh=/%[sdj%]/g,Pp={},zp.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},zp.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Uh=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Jh={inherits:sh,_extend:Qh,log:Xh,isBuffer:Pf,isPrimitive:Yh,isFunction:Bm,isError:sm,isDate:pf,isObject:Qp,isRegExp:om,isUndefined:yp,isSymbol:ph,isString:Nf,isNumber:_m,isNullOrUndefined:Mm,isNull:Rm,isBoolean:Dh,isArray:dh,inspect:zp,deprecate:Fh,format:uh,debuglog:Wm}}}),hh=_s({"node-modules-polyfills-commonjs:util"(ci,Wa){Ms();var Ba=(p0(),Ac(am));if(Ba&&Ba.default){Wa.exports=Ba.default;for(let La in Ba)Wa.exports[La]=Ba[La]}else Ba&&(Wa.exports=Ba)}}),Kf=_s({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(ci,Wa){Ms();var Ba=class extends Error{constructor(La){super(La),this.name=this.constructor.name,this.message=La||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(La).stack}};Wa.exports=Ba}}),Zh=_s({"node_modules/postcss-values-parser/lib/tokenize.js"(ci,Wa){Ms();var Ba=123,La=125,eo=40,Ao=41,So=39,Do=34,no=92,No=47,Ni=46,Un=44,qa=58,Na=42,Xo=45,Bo=43,ys=35,ms=10, $ o=32,Ks=12,Zs=9,pl=13,Mc=64,Yc=101,_u=69,Uu=48,ju=57,Ku=117,Vu=85,Fu=/[ \n \t \r \{ \( \) '" \\ ;,/]/g,Uc=/[ \n \t \r \( \) \{ \} \* :;@!&'" \+ \| ~>, \[ \] \\ ]| \/ (?= \* )/g,bc=/[ \n \t \r \( \) \{ \} \* :;@!&'" \- \+ \| ~>, \[ \] \\ ]| \/ /g,Vc=/^[a-z0-9]/i,vc=/^[a-f0-9? \- ]/i,Np=hh(),Gd=Kf();Wa.exports=function(sp,Pd){Pd=Pd||{};let Nd=[],Tu=sp.valueOf(),ed=Tu.length,td=-1,ud=1,cl=0,Kl=0,hc=null,Xc,il,Ru,Eu,Kp,Sp,pp,jf,_f,Ip,Ed;function Ap( $ p){let Mp=Np.format("Unclosed %s at line: %d, column: %d, token: %d", $ p,ud,cl-td,cl);throw new Gd(Mp)}for(;cl<ed;){switch(Xc=Tu.charCodeAt(cl),Xc===ms&&(td=cl,ud+=1),Xc){case ms:case $ o:case Zs:case pl:case Ks:il=cl;do il+=1,Xc=Tu.charCodeAt(il),Xc===ms&&(td=il,ud+=1);while(Xc=== $ o||Xc===ms||Xc===Zs||Xc===pl||Xc===Ks);Nd.push(["space",Tu.slice(cl,il),ud,cl-td,ud,il-td,cl]),cl=il-1;break;case qa:il=cl+1,Nd.push(["colon",Tu.slice(cl,il),ud,cl-td,ud,il-td,cl]),cl=il-1;break;case Un:il=cl+1,Nd.push(["comma",Tu.slice(cl,il),ud,cl-td,ud,il-td,cl]),cl=il-1;break;case Ba:Nd.push(["{","{",ud,cl-td,ud,il-td,cl]);break;case La:Nd.push(["}","}",ud,cl-td,ud,il-td,cl]);break;case eo:Kl++,hc=!hc&&Kl===1&&Nd.length>0&&Nd[Nd.length-1][0]==="word"&&Nd[Nd.length-1][1]==="url",Nd.push(["(","(",ud,cl-td,ud,il-td,cl]);break;case
` ,cl+2);il= $ p!==-1? $ p-1:ed}Sp=Tu.slice(cl,il+1),Eu=Sp.split( `
` ),Kp=Eu.length-1,Kp>0?(pp=ud+Kp,jf=il-Eu[Kp].length):(pp=ud,jf=td),Nd.push(["comment",Sp,ud,cl-td,pp,il-jf,cl]),td=jf,ud=pp,cl=il}else if(Xc===ys&&!Vc.test(Tu.slice(cl+1,cl+2)))il=cl+1,Nd.push(["#",Tu.slice(cl,il),ud,cl-td,ud,il-td,cl]),cl=il-1;else if((Xc===Ku||Xc===Vu)&&Tu.charCodeAt(cl+1)===Bo){il=cl+2;do il+=1,Xc=Tu.charCodeAt(il);while(il<ed&&vc.test(Tu.slice(il,il+1)));Nd.push(["unicoderange",Tu.slice(cl,il),ud,cl-td,ud,il-td,cl]),cl=il-1}else if(Xc===No)il=cl+1,Nd.push(["operator",Tu.slice(cl,il),ud,cl-td,ud,il-td,cl]),cl=il-1;else{let $ p=Uc;if(Xc>=Uu&&Xc<=ju&&( $ p=bc), $ p.lastIndex=cl+1, $ p.test(Tu), $ p.lastIndex===0?il=Tu.length-1:il= $ p.lastIndex-2, $ p===bc||Xc===Ni){let Mp=Tu.charCodeAt(il),f0=Tu.charCodeAt(il+1),E0=Tu.charCodeAt(il+2);(Mp===Yc||Mp===_u)&&(f0===Xo||f0===Bo)&&E0>=Uu&&E0<=ju&&(bc.lastIndex=il+2,bc.test(Tu),bc.lastIndex===0?il=Tu.length-1:il=bc.lastIndex-2)}Nd.push(["word",Tu.slice(cl,il+1),ud,cl-td,ud,il-td,cl]),cl=il}break}cl++}return Nd}}}),e0=_s({"node_modules/flatten/index.js"(ci,Wa){Ms(),Wa.exports=function(Ba,La){if(La=typeof La=="number"?La:1/0,!La)return Array.isArray(Ba)?Ba.map(function(Ao){return Ao}):Ba;return eo(Ba,1);function eo(Ao,So){return Ao.reduce(function(Do,no){return Array.isArray(no)&&So<La?Do.concat(eo(no,So+1)):Do.concat(no)},[])}}}}),gh=_s({"node_modules/indexes-of/index.js"(ci,Wa){Ms(),Wa.exports=function(Ba,La){for(var eo=-1,Ao=[];(eo=Ba.indexOf(La,eo+1))!==-1;)Ao.push(eo);return Ao}}}),Fp=_s({"node_modules/uniq/uniq.js"(ci,Wa){Ms();function Ba(Ao,So){for(var Do=1,no=Ao.length,No=Ao[0],Ni=Ao[0],Un=1;Un<no;++Un)if(Ni=No,No=Ao[Un],So(No,Ni)){if(Un===Do){Do++;continue}Ao[Do++]=No}return Ao.length=Do,Ao}function La(Ao){for(var So=1,Do=Ao.length,no=Ao[0],No=Ao[0],Ni=1;Ni<Do;++Ni,No=no)if(No=no,no=Ao[Ni],no!==No){if(Ni===So){So++;continue}Ao[So++]=no}return Ao.length=So,Ao}function eo(Ao,So,Do){return Ao.length===0?Ao:So?(Do||Ao.sort(So),Ba(Ao,So)):(Do||Ao.sort(),La(Ao))}Wa.exports=eo}}),s0=_s({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(ci,Wa){Ms();var Ba=class extends Error{constructor(La){super(La),this.name=this.constructor.name,this.message=La||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(La).stack}};Wa.exports=Ba}}),Vh=_s({"node_modules/postcss-values-parser/lib/parser.js"(ci,Wa){Ms();var Ba=Ad(),La=Up(),eo=Lp(),Ao=Bf(),So=Uf(),Do=Sf(),no=Hp(),No=wm(),Ni=Vf(),Un=Du(),qa= $ f(),Na=Bp(),Xo=Tf(),Bo=Zh(),ys=e0(),ms=gh(), $ o=Fp(),Ks=s0();function Zs(pl){return pl.sort((Mc,Yc)=>Mc-Yc)}Wa.exports=class{constructor(pl,Mc){let Yc={loose:!1};this.cache=[],this.input=pl,this.options=Object.assign({},Yc,Mc),this.position=0,this.unbalanced=0,this.root=new Ba;let _u=new La;this.root.append(_u),this.current=_u,this.tokens=Bo(pl,this.options)}parse(){return this.loop()}colon(){let pl=this.currToken;this.newNode(new Ao({value:pl[1],source:{start:{line:pl[2],column:pl[3]},end:{line:pl[4],column:pl[5]}},sourceIndex:pl[6]})),this.position++}comma(){let pl=this.currToken;this.newNode(new So({value:pl[1],source:{start:{line:pl[2],column:pl[3]},end:{line:pl[4],column:pl[5]}},sourceIndex:pl[6]})),this.position++}comment(){let pl=!1,Mc=this.currToken[1].replace(/ \/ \* | \* \/ /g,""),Yc;this.options.loose&&Mc.startsWith("//")&&(Mc=Mc.substring(2),pl=!0),Yc=new Do({value:Mc,inline:pl,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Yc),this.position++}error(pl,Mc){throw new Ks(pl+ ` at line : $ { Mc [ 2 ] } , column $ { Mc [ 3 ] } ` )}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let pl=this.currToken[1],Mc;if(pl==="+"||pl==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.cu
` ),Gd=Np.length-1,Gd>0?(Nd=Kl+Gd,Tu=Vc-Np[Gd].length):(Nd=Kl,Tu=cl),Fu.push(["comment",sp,Kl,hc-cl,Nd,Vc-Tu,hc]),cl=Tu,Kl=Nd,hc=Vc):(ju.lastIndex=hc+1,ju.test(Uc),ju.lastIndex===0?Vc=Uc.length-1:Vc=ju.lastIndex-2,Fu.push(["word",Uc.slice(hc,Vc+1),Kl,hc-cl,Kl,Vc-cl,hc]),hc=Vc);break}hc++}return Fu}Wa.exports=ci.default}}),zd=_s({"node_modules/postcss-selector-parser/dist/parser.js"(ci,Wa){Ms(),ci.__esModule=!0;var Ba=function(){function cl(Kl,hc){for(var Xc=0;Xc<hc.length;Xc++){var il=hc[Xc];il.enumerable=il.enumerable||!1,il.configurable=!0,"value"in il&&(il.writable=!0),Object.defineProperty(Kl,il.key,il)}}return function(Kl,hc,Xc){return hc&&cl(Kl.prototype,hc),Xc&&cl(Kl,Xc),Kl}}(),La=e0(),eo=ed(La),Ao=gh(),So=ed(Ao),Do=Fp(),no=ed(Do),No=Cu(),Ni=ed(No),Un=ku(),qa=ed(Un),Na=Op(),Xo=ed(Na),Bo=ip(),ys=ed(Bo),ms=_h(), $ o=ed(ms),Ks=l0(),Zs=ed(Ks),pl=Df(),Mc=ed(pl),Yc=Yf(),_u=ed(Yc),Uu= $ m(),ju=ed(Uu),Ku=kf(),Vu=ed(Ku),Fu=cm(),Uc=ed(Fu),bc=Ym(),Vc=ed(bc),vc=Vd(),Np=ed(vc),Gd=c0(),sp=ed(Gd),Pd=mc(),Nd=Tu(Pd);function Tu(cl){if(cl&&cl.__esModule)return cl;var Kl={};if(cl!=null)for(var hc in cl)Object.prototype.hasOwnProperty.call(cl,hc)&&(Kl[hc]=cl[hc]);return Kl.default=cl,Kl}function ed(cl){return cl&&cl.__esModule?cl:{default:cl}}function td(cl,Kl){if(!(cl instanceof Kl))throw new TypeError("Cannot call a class as a function")}var ud=function(){function cl(Kl){td(this,cl),this.input=Kl,this.lossy=Kl.options.lossless===!1,this.position=0,this.root=new Ni.default;var hc=new qa.default;return this.root.append(hc),this.current=hc,this.lossy?this.tokens=(0,sp.default)({safe:Kl.safe,css:Kl.css.trim()}):this.tokens=(0,sp.default)(Kl),this.loop()}return cl.prototype.attribute=function(){var Kl="",hc=void 0,Xc=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Kl+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Kl.indexOf("]")&&this.error("Expected a closing square bracket.");var il=Kl.split(/((?:[*~^ $ |]?=))([^]*)/),Ru=il[0].split(/( \| )/g),Eu={operator:il[1],value:il[2],source:{start:{line:Xc[2],column:Xc[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Xc[4]};if(Ru.length>1?(Ru[0]===""&&(Ru[0]=!0),Eu.attribute=this.parseValue(Ru[2]),Eu.namespace=this.parseNamespace(Ru[0])):Eu.attribute=this.parseValue(il[0]),hc=new ju.default(Eu),il[2]){var Kp=il[2].split(/( \s +i \s *?) $ /),Sp=Kp[0].trim();hc.value=this.lossy?Sp:Kp[0],Kp[1]&&(hc.insensitive=!0,this.lossy||(hc.raws.insensitive=Kp[1])),hc.quoted=Sp[0]==="'"||Sp[0]==='"',hc.raws.unquoted=hc.quoted?Sp.slice(1,-1):Sp}this.newNode(hc),this.position++},cl.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Kl=new Uc.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(Kl.spaces.before=this.parseSpace(this.currToken[1]),Kl.source.start.line=this.nextToken[2],Kl.source.start.column=this.nextToken[3],Kl.source.end.column=this.nextToken[3],Kl.source.end.line=this.nextToken[2],Kl.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Kl.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Kl.value=this.currToken[1]:this.currToken[0]==="space"&&(Kl.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Kl)},cl.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Kl=new qa.default;this.current.parent.append(Kl),this.current=Kl,this.position++},cl.prototype.comment=function(){var Kl=new ys.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(Kl),this.position++},cl.prototype.error=function(Kl){throw n
` +bc+Uu("^")}return" "+ju(Uc)+Ku}).join( `
` )},ms.toString=function(){var $ o=this.showSourceCode();return $ o&&( $ o= `
` + $ o+ `
` ),this.name+": "+this.message+ $ o},ys}(Do(Error)),Xo=Na;ci.default=Xo,Wa.exports=ci.default}}),tl=_s({"node_modules/postcss/lib/previous-map.js"(ci,Wa){Ms(),Wa.exports=class{}}}),Gs=_s({"node_modules/postcss/lib/input.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=Ao(Zo()),La=Ao(Us()),eo=Ao(tl());function Ao(Un){return Un&&Un.__esModule?Un:{default:Un}}function So(Un,qa){for(var Na=0;Na<qa.length;Na++){var Xo=qa[Na];Xo.enumerable=Xo.enumerable||!1,Xo.configurable=!0,"value"in Xo&&(Xo.writable=!0),Object.defineProperty(Un,Xo.key,Xo)}}function Do(Un,qa,Na){return qa&&So(Un.prototype,qa),Un}var no=0,No=function(){function Un(Na,Xo){if(Xo===void 0&&(Xo={}),Na===null||typeof Na>"u"||typeof Na=="object"&&!Na.toString)throw new Error("PostCSS received "+Na+" instead of CSS string");this.css=Na.toString(),this.css[0]===" \u FEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,Xo.from&&(/^ \w +: \/ \/ /.test(Xo.from)||Ba.default.isAbsolute(Xo.from)?this.file=Xo.from:this.file=Ba.default.resolve(Xo.from));var Bo=new eo.default(this.css,Xo);if(Bo.text){this.map=Bo;var ys=Bo.consumer().file;!this.file&&ys&&(this.file=this.mapResolve(ys))}this.file||(no+=1,this.id="<input css "+no+">"),this.map&&(this.map.file=this.from)}var qa=Un.prototype;return qa.error=function(Na,Xo,Bo,ys){ys===void 0&&(ys={});var ms, $ o=this.origin(Xo,Bo);return $ o?ms=new La.default(Na, $ o.line, $ o.column, $ o.source, $ o.file,ys.plugin):ms=new La.default(Na,Xo,Bo,this.css,this.file,ys.plugin),ms.input={line:Xo,column:Bo,source:this.css},this.file&&(ms.input.file=this.file),ms},qa.origin=function(Na,Xo){if(!this.map)return!1;var Bo=this.map.consumer(),ys=Bo.originalPositionFor({line:Na,column:Xo});if(!ys.source)return!1;var ms={file:this.mapResolve(ys.source),line:ys.line,column:ys.column}, $ o=Bo.sourceContentFor(ys.source);return $ o&&(ms.source= $ o),ms},qa.mapResolve=function(Na){return/^ \w +: \/ \/ /.test(Na)?Na:Ba.default.resolve(this.map.consumer().sourceRoot||".",Na)},Do(Un,[{key:"from",get:function(){return this.file||this.id}}]),Un}(),Ni=No;ci.default=Ni,Wa.exports=ci.default}}),bl=_s({"node_modules/postcss/lib/stringifier.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba={colon:": ",indent:" ",beforeDecl: `
` ,beforeRule: `
` ,beforeOpen:" ",beforeClose: `
` ,beforeComment: `
` ,after: `
` ,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function La(So){return So[0].toUpperCase()+So.slice(1)}var eo=function(){function So(no){this.builder=no}var Do=So.prototype;return Do.stringify=function(no,No){this[no.type](no,No)},Do.root=function(no){this.body(no),no.raws.after&&this.builder(no.raws.after)},Do.comment=function(no){var No=this.raw(no,"left","commentLeft"),Ni=this.raw(no,"right","commentRight");this.builder("/*"+No+no.text+Ni+"*/",no)},Do.decl=function(no,No){var Ni=this.raw(no,"between","colon"),Un=no.prop+Ni+this.rawValue(no,"value");no.important&&(Un+=no.raws.important||" !important"),No&&(Un+=";"),this.builder(Un,no)},Do.rule=function(no){this.block(no,this.rawValue(no,"selector")),no.raws.ownSemicolon&&this.builder(no.raws.ownSemicolon,no,"end")},Do.atrule=function(no,No){var Ni="@"+no.name,Un=no.params?this.rawValue(no,"params"):"";if(typeof no.raws.afterName<"u"?Ni+=no.raws.afterName:Un&&(Ni+=" "),no.nodes)this.block(no,Ni+Un);else{var qa=(no.raws.between||"")+(No?";":"");this.builder(Ni+Un+qa,no)}},Do.body=function(no){for(var No=no.nodes.length-1;No>0&&no.nodes[No].type==="comment";)No-=1;for(var Ni=this.raw(no,"semicolon"),Un=0;Un<no.nodes.length;Un++){var qa=no.nodes[Un],Na=this.raw(qa,"before");Na&&this.builder(Na),this.stringify(qa,No!==Un||Ni)}},Do.block=function(no,No){var Ni=this.raw(no,"between","beforeOpen");this.builder(No+Ni+"{",no,"start");var Un;no.nodes&&no.nodes.length?(this.body(no),Un=this.raw(no,"after")):Un=this.raw(no,"after","emptyBody"),Un&&this.builder(Un),this.builder("}",no,"end")},Do.raw=function(no,No,Ni){var Un;if(Ni||(Ni=No),No&&(Un=no.raws[No],typeof Un<"u"))return Un;var qa=no.parent;if(Ni==="before"&&(!qa||qa.type==="root"&&qa.first===no))return"";if(!qa)return Ba[Ni];var Na=no.root();if(Na.rawCache||(Na.rawCache={}),typeof Na.rawCache[Ni]<"u")return Na.rawCache[Ni];if(Ni==="before"||Ni==="after")return this.beforeAfter(no,Ni);var Xo="raw"+La(Ni);return this[Xo]?Un=this[Xo](Na,no):Na.walk(function(Bo){if(Un=Bo.raws[No],typeof Un<"u")return!1}),typeof Un>"u"&&(Un=Ba[Ni]),Na.rawCache[Ni]=Un,Un},Do.rawSemicolon=function(no){var No;return no.walk(function(Ni){if(Ni.nodes&&Ni.nodes.length&&Ni.last.type==="decl"&&(No=Ni.raws.semicolon,typeof No<"u"))return!1}),No},Do.rawEmptyBody=function(no){var No;return no.walk(function(Ni){if(Ni.nodes&&Ni.nodes.length===0&&(No=Ni.raws.after,typeof No<"u"))return!1}),No},Do.rawIndent=function(no){if(no.raws.indent)return no.raws.indent;var No;return no.walk(function(Ni){var Un=Ni.parent;if(Un&&Un!==no&&Un.parent&&Un.parent===no&&typeof Ni.raws.before<"u"){var qa=Ni.raws.before.split( `
` );return No=qa[qa.length-1],No=No.replace(/[^ \s ]/g,""),!1}}),No},Do.rawBeforeComment=function(no,No){var Ni;return no.walkComments(function(Un){if(typeof Un.raws.before<"u")return Ni=Un.raws.before,Ni.indexOf( `
` )!==-1&&(Ni=Ni.replace(/[^ \n ]+ $ /,"")),!1}),typeof Ni>"u"?Ni=this.raw(No,null,"beforeDecl"):Ni&&(Ni=Ni.replace(/[^ \s ]/g,"")),Ni},Do.rawBeforeDecl=function(no,No){var Ni;return no.walkDecls(function(Un){if(typeof Un.raws.before<"u")return Ni=Un.raws.before,Ni.indexOf( `
` )!==-1&&(Ni=Ni.replace(/[^ \n ]+ $ /,"")),!1}),typeof Ni>"u"?Ni=this.raw(No,null,"beforeRule"):Ni&&(Ni=Ni.replace(/[^ \s ]/g,"")),Ni},Do.rawBeforeRule=function(no){var No;return no.walk(function(Ni){if(Ni.nodes&&(Ni.parent!==no||no.first!==Ni)&&typeof Ni.raws.before<"u")return No=Ni.raws.before,No.indexOf( `
` )!==-1&&(No=No.replace(/[^ \n ]+ $ /,"")),!1}),No&&(No=No.replace(/[^ \s ]/g,"")),No},Do.rawBeforeClose=function(no){var No;return no.walk(function(Ni){if(Ni.nodes&&Ni.nodes.length>0&&typeof Ni.raws.after<"u")return No=Ni.raws.after,No.indexOf( `
` )!==-1&&(No=No.replace(/[^ \n ]+ $ /,"")),!1}),No&&(No=No.replace(/[^ \s ]/g,"")),No},Do.rawBeforeOpen=function(no){var No;return no.walk(function(Ni){if(Ni.type!=="decl"&&(No=Ni.raws.between,typeof No<"u"))return!1}),No},Do.rawColon=function(no){var No;return no.walkDecls(function(Ni){if(typeof Ni.raws.between<"u")return No=Ni.raws.between.replace(/[^ \s :]/g,""),!1}),No},Do.beforeAfter=function(no,No){var Ni;no.type==="decl"?Ni=this.raw(no,null,"beforeDecl"):no.type==="comment"?Ni=this.raw(no,null,"beforeComment"):No==="before"?Ni=this.raw(no,null,"beforeRule"):Ni=this.raw(no,null,"beforeClose");for(var Un=no.parent,qa=0;Un&&Un.type!=="root";)qa+=1,Un=Un.parent;if(Ni.indexOf( `
` )!==-1){var Na=this.raw(no,null,"indent");if(Na.length)for(var Xo=0;Xo<qa;Xo++)Ni+=Na}return Ni},Do.rawValue=function(no,No){var Ni=no[No],Un=no.raws[No];return Un&&Un.value===Ni?Un.raw:Ni},So}(),Ao=eo;ci.default=Ao,Wa.exports=ci.default}}),ps=_s({"node_modules/postcss/lib/stringify.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=La(bl());function La(So){return So&&So.__esModule?So:{default:So}}function eo(So,Do){var no=new Ba.default(Do);no.stringify(So)}var Ao=eo;ci.default=Ao,Wa.exports=ci.default}}),fl=_s({"node_modules/postcss/lib/node.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=Ao(Us()),La=Ao(bl()),eo=Ao(ps());function Ao(No){return No&&No.__esModule?No:{default:No}}function So(No,Ni){var Un=new No.constructor;for(var qa in No)if(No.hasOwnProperty(qa)){var Na=No[qa],Xo=typeof Na;qa==="parent"&&Xo==="object"?Ni&&(Un[qa]=Ni):qa==="source"?Un[qa]=Na:Na instanceof Array?Un[qa]=Na.map(function(Bo){return So(Bo,Un)}):(Xo==="object"&&Na!==null&&(Na=So(Na)),Un[qa]=Na)}return Un}var Do=function(){function No(Un){Un===void 0&&(Un={}),this.raws={};for(var qa in Un)this[qa]=Un[qa]}var Ni=No.prototype;return Ni.error=function(Un,qa){if(qa===void 0&&(qa={}),this.source){var Na=this.positionBy(qa);return this.source.input.error(Un,Na.line,Na.column,qa)}return new Ba.default(Un)},Ni.warn=function(Un,qa,Na){var Xo={node:this};for(var Bo in Na)Xo[Bo]=Na[Bo];return Un.warn(qa,Xo)},Ni.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},Ni.toString=function(Un){Un===void 0&&(Un=eo.default),Un.stringify&&(Un=Un.stringify);var qa="";return Un(this,function(Na){qa+=Na}),qa},Ni.clone=function(Un){Un===void 0&&(Un={});var qa=So(this);for(var Na in Un)qa[Na]=Un[Na];return qa},Ni.cloneBefore=function(Un){Un===void 0&&(Un={});var qa=this.clone(Un);return this.parent.insertBefore(this,qa),qa},Ni.cloneAfter=function(Un){Un===void 0&&(Un={});var qa=this.clone(Un);return this.parent.insertAfter(this,qa),qa},Ni.replaceWith=function(){if(this.parent){for(var Un=arguments.length,qa=new Array(Un),Na=0;Na<Un;Na++)qa[Na]=arguments[Na];for(var Xo=0,Bo=qa;Xo<Bo.length;Xo++){var ys=Bo[Xo];this.parent.insertBefore(this,ys)}this.remove()}return this},Ni.next=function(){if(this.parent){var Un=this.parent.index(this);return this.parent.nodes[Un+1]}},Ni.prev=function(){if(this.parent){var Un=this.parent.index(this);return this.parent.nodes[Un-1]}},Ni.before=function(Un){return this.parent.insertBefore(this,Un),this},Ni.after=function(Un){return this.parent.insertAfter(this,Un),this},Ni.toJSON=function(){var Un={};for(var qa in this)if(this.hasOwnProperty(qa)&&qa!=="parent"){var Na=this[qa];Na instanceof Array?Un[qa]=Na.map(function(Xo){return typeof Xo=="object"&&Xo.toJSON?Xo.toJSON():Xo}):typeof Na=="object"&&Na.toJSON?Un[qa]=Na.toJSON():Un[qa]=Na}return Un},Ni.raw=function(Un,qa){var Na=new La.default;return Na.raw(this,Un,qa)},Ni.root=function(){for(var Un=this;Un.parent;)Un=Un.parent;return Un},Ni.cleanRaws=function(Un){delete this.raws.before,delete this.raws.after,Un||delete this.raws.between},Ni.positionInside=function(Un){for(var qa=this.toString(),Na=this.source.start.column,Xo=this.source.start.line,Bo=0;Bo<Un;Bo++)qa[Bo]=== `
` ?(Na=1,Xo+=1):Na+=1;return{line:Xo,column:Na}},Ni.positionBy=function(Un){var qa=this.source.start;if(Un.index)qa=this.positionInside(Un.index);else if(Un.word){var Na=this.toString().indexOf(Un.word);Na!==-1&&(qa=this.positionInside(Na))}return qa},No}(),no=Do;ci.default=no,Wa.exports=ci.default}}),ks=_s({"node_modules/postcss/lib/comment.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=La(fl());function La(Do){return Do&&Do.__esModule?Do:{default:Do}}function eo(Do,no){Do.prototype=Object.create(no.prototype),Do.prototype.constructor=Do,Do.__proto__=no}var Ao=function(Do){eo(no,Do);function no(No){var Ni;return Ni=Do.call(this,No)||this,Ni.type="comment",Ni}return no}(Ba.default),So=Ao;ci.default=So,Wa.exports=ci.default}}),Os=_s({"node_modules/postcss/lib/declaration.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=La(fl());function La(Do){return Do&&Do.__esModule?Do:{default:Do}}function eo(Do,no){Do.prototype=Object.create(no.prototype),Do.prototype.constructor=Do,Do.__proto__=no}var Ao=function(Do){eo(no,Do);function no(No){var Ni;return Ni=Do.call(this,No)||this,Ni.type="decl",Ni}return no}(Ba.default),So=Ao;ci.default=So,Wa.exports=ci.default}}),Bs=_s({"node_modules/postcss/lib/tokenize.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=Uu;var Ba=39,La=34,eo=92,Ao=47,So=10,Do=32,no=12,No=9,Ni=13,Un=91,qa=93,Na=40,Xo=41,Bo=123,ys=125,ms=59, $ o=42,Ks=58,Zs=64,pl=/[ \n \t \r \f {}()'" \\ ;/[ \] #]/g,Mc=/[ \n \t \r \f (){}:;@!'" \\ \] [#]| \/ (?= \* )/g,Yc=/.[ \\ /("' \n ]/,_u=/[a-f0-9]/i;function Uu(ju,Ku){Ku===void 0&&(Ku={});var Vu=ju.css.valueOf(),Fu=Ku.ignoreErrors,Uc,bc,Vc,vc,Np,Gd,sp,Pd,Nd,Tu,ed,td,ud,cl,Kl=Vu.length,hc=-1,Xc=1,il=0,Ru=[],Eu=[];function Kp(){return il}function Sp(Ip){throw ju.error("Unclosed "+Ip,Xc,il-hc)}function pp(){return Eu.length===0&&il>=Kl}function jf(Ip){if(Eu.length)return Eu.pop();if(!(il>=Kl)){var Ed=Ip?Ip.ignoreUnclosed:!1;switch(Uc=Vu.charCodeAt(il),(Uc===So||Uc===no||Uc===Ni&&Vu.charCodeAt(il+1)!==So)&&(hc=il,Xc+=1),Uc){case So:case Do:case No:case Ni:case no:bc=il;do bc+=1,Uc=Vu.charCodeAt(bc),Uc===So&&(hc=bc,Xc+=1);while(Uc===Do||Uc===So||Uc===No||Uc===Ni||Uc===no);cl=["space",Vu.slice(il,bc)],il=bc-1;break;case Un:case qa:case Bo:case ys:case Ks:case ms:case Xo:var Ap=String.fromCharCode(Uc);cl=[Ap,Ap,Xc,il-hc];break;case Na:if(td=Ru.length?Ru.pop()[1]:"",ud=Vu.charCodeAt(il+1),td==="url"&&ud!==Ba&&ud!==La&&ud!==Do&&ud!==So&&ud!==No&&ud!==no&&ud!==Ni){bc=il;do{if(Tu=!1,bc=Vu.indexOf(")",bc+1),bc===-1)if(Fu||Ed){bc=il;break}else Sp("bracket");for(ed=bc;Vu.charCodeAt(ed-1)===eo;)ed-=1,Tu=!Tu}while(Tu);cl=["brackets",Vu.slice(il,bc+1),Xc,il-hc,Xc,bc-hc],il=bc}else bc=Vu.indexOf(")",il+1),Gd=Vu.slice(il,bc+1),bc===-1||Yc.test(Gd)?cl=["(","(",Xc,il-hc]:(cl=["brackets",Gd,Xc,il-hc,Xc,bc-hc],il=bc);break;case Ba:case La:Vc=Uc===Ba?"'":'"',bc=il;do{if(Tu=!1,bc=Vu.indexOf(Vc,bc+1),bc===-1)if(Fu||Ed){bc=il+1;break}else Sp("string");for(ed=bc;Vu.charCodeAt(ed-1)===eo;)ed-=1,Tu=!Tu}while(Tu);Gd=Vu.slice(il,bc+1),vc=Gd.split( `
` ),Np=vc.length-1,Np>0?(Pd=Xc+Np,Nd=bc-vc[Np].length):(Pd=Xc,Nd=hc),cl=["string",Vu.slice(il,bc+1),Xc,il-hc,Pd,bc-Nd],hc=Nd,Xc=Pd,il=bc;break;case Zs:pl.lastIndex=il+1,pl.test(Vu),pl.lastIndex===0?bc=Vu.length-1:bc=pl.lastIndex-2,cl=["at-word",Vu.slice(il,bc+1),Xc,il-hc,Xc,bc-hc],il=bc;break;case eo:for(bc=il,sp=!0;Vu.charCodeAt(bc+1)===eo;)bc+=1,sp=!sp;if(Uc=Vu.charCodeAt(bc+1),sp&&Uc!==Ao&&Uc!==Do&&Uc!==So&&Uc!==No&&Uc!==Ni&&Uc!==no&&(bc+=1,_u.test(Vu.charAt(bc)))){for(;_u.test(Vu.charAt(bc+1));)bc+=1;Vu.charCodeAt(bc+1)===Do&&(bc+=1)}cl=["word",Vu.slice(il,bc+1),Xc,il-hc,Xc,bc-hc],il=bc;break;default:Uc===Ao&&Vu.charCodeAt(il+1)=== $ o?(bc=Vu.indexOf("*/",il+2)+1,bc===0&&(Fu||Ed?bc=Vu.length:Sp("comment")),Gd=Vu.slice(il,bc+1),vc=Gd.split( `
` ),Np=vc.length-1,Np>0?(Pd=Xc+Np,Nd=bc-vc[Np].length):(Pd=Xc,Nd=hc),cl=["comment",Gd,Xc,il-hc,Pd,bc-Nd],hc=Nd,Xc=Pd,il=bc):(Mc.lastIndex=il+1,Mc.test(Vu),Mc.lastIndex===0?bc=Vu.length-1:bc=Mc.lastIndex-2,cl=["word",Vu.slice(il,bc+1),Xc,il-hc,Xc,bc-hc],Ru.push(cl),il=bc);break}return il++,cl}}function _f(Ip){Eu.push(Ip)}return{back:_f,nextToken:jf,endOfFile:pp,position:Kp}}Wa.exports=ci.default}}),Vs=_s({"node_modules/postcss/lib/parse.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=eo(io()),La=eo(Gs());function eo(Do){return Do&&Do.__esModule?Do:{default:Do}}function Ao(Do,no){var No=new La.default(Do,no),Ni=new Ba.default(No);try{Ni.parse()}catch(Un){throw Un}return Ni.root}var So=Ao;ci.default=So,Wa.exports=ci.default}}),Pl=_s({"node_modules/postcss/lib/list.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba={split:function(eo,Ao,So){for(var Do=[],no="",No=!1,Ni=0,Un=!1,qa=!1,Na=0;Na<eo.length;Na++){var Xo=eo[Na];Un?qa?qa=!1:Xo===" \\ "?qa=!0:Xo===Un&&(Un=!1):Xo==='"'||Xo==="'"?Un=Xo:Xo==="("?Ni+=1:Xo===")"?Ni>0&&(Ni-=1):Ni===0&&Ao.indexOf(Xo)!==-1&&(No=!0),No?(no!==""&&Do.push(no.trim()),no="",No=!1):no+=Xo}return(So||no!=="")&&Do.push(no.trim()),Do},space:function(eo){var Ao=[" ", `
` ," "];return Ba.split(eo,Ao)},comma:function(eo){return Ba.split(eo,[","],!0)}},La=Ba;ci.default=La,Wa.exports=ci.default}}),Zl=_s({"node_modules/postcss/lib/rule.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=eo(wc()),La=eo(Pl());function eo(Ni){return Ni&&Ni.__esModule?Ni:{default:Ni}}function Ao(Ni,Un){for(var qa=0;qa<Un.length;qa++){var Na=Un[qa];Na.enumerable=Na.enumerable||!1,Na.configurable=!0,"value"in Na&&(Na.writable=!0),Object.defineProperty(Ni,Na.key,Na)}}function So(Ni,Un,qa){return Un&&Ao(Ni.prototype,Un),Ni}function Do(Ni,Un){Ni.prototype=Object.create(Un.prototype),Ni.prototype.constructor=Ni,Ni.__proto__=Un}var no=function(Ni){Do(Un,Ni);function Un(qa){var Na;return Na=Ni.call(this,qa)||this,Na.type="rule",Na.nodes||(Na.nodes=[]),Na}return So(Un,[{key:"selectors",get:function(){return La.default.comma(this.selector)},set:function(qa){var Na=this.selector?this.selector.match(/, \s */):null,Xo=Na?Na[0]:","+this.raw("between","beforeOpen");this.selector=qa.join(Xo)}}]),Un}(Ba.default),No=no;ci.default=No,Wa.exports=ci.default}}),wc=_s({"node_modules/postcss/lib/container.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=Ao(Os()),La=Ao(ks()),eo=Ao(fl());function Ao(Bo){return Bo&&Bo.__esModule?Bo:{default:Bo}}function So(Bo,ys){var ms;if(typeof Symbol>"u"||Bo[Symbol.iterator]==null){if(Array.isArray(Bo)||(ms=Do(Bo))||ys){ms&&(Bo=ms);var $ o=0;return function(){return $ o>=Bo.length?{done:!0}:{done:!1,value:Bo[ $ o++]}}}throw new TypeError( ` Invalid attempt to iterate non - iterable instance .
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}return ms=Bo[Symbol.iterator](),ms.next.bind(ms)}function Do(Bo,ys){if(Bo){if(typeof Bo=="string")return no(Bo,ys);var ms=Object.prototype.toString.call(Bo).slice(8,-1);if(ms==="Object"&&Bo.constructor&&(ms=Bo.constructor.name),ms==="Map"||ms==="Set")return Array.from(Bo);if(ms==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(ms))return no(Bo,ys)}}function no(Bo,ys){(ys==null||ys>Bo.length)&&(ys=Bo.length);for(var ms=0, $ o=new Array(ys);ms<ys;ms++) $ o[ms]=Bo[ms];return $ o}function No(Bo,ys){for(var ms=0;ms<ys.length;ms++){var $ o=ys[ms]; $ o.enumerable= $ o.enumerable||!1, $ o.configurable=!0,"value"in $ o&&( $ o.writable=!0),Object.defineProperty(Bo, $ o.key, $ o)}}function Ni(Bo,ys,ms){return ys&&No(Bo.prototype,ys),Bo}function Un(Bo,ys){Bo.prototype=Object.create(ys.prototype),Bo.prototype.constructor=Bo,Bo.__proto__=ys}function qa(Bo){return Bo.map(function(ys){return ys.nodes&&(ys.nodes=qa(ys.nodes)),delete ys.source,ys})}var Na=function(Bo){Un(ys,Bo);function ys(){return Bo.apply(this,arguments)||this}var ms=ys.prototype;return ms.push=function( $ o){return $ o.parent=this,this.nodes.push( $ o),this},ms.each=function( $ o){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Ks=this.lastEach;if(this.indexes[Ks]=0,!!this.nodes){for(var Zs,pl;this.indexes[Ks]<this.nodes.length&&(Zs=this.indexes[Ks],pl= $ o(this.nodes[Zs],Zs),pl!==!1);)this.indexes[Ks]+=1;return delete this.indexes[Ks],pl}},ms.walk=function( $ o){return this.each(function(Ks,Zs){var pl;try{pl= $ o(Ks,Zs)}catch(Yc){if(Yc.postcssNode=Ks,Yc.stack&&Ks.source&&/ \n \s {4}at /.test(Yc.stack)){var Mc=Ks.source;Yc.stack=Yc.stack.replace(/ \n \s {4}at /," $ &"+Mc.input.from+":"+Mc.start.line+":"+Mc.start.column+" $ &")}throw Yc}return pl!==!1&&Ks.walk&&(pl=Ks.walk( $ o)),pl})},ms.walkDecls=function( $ o,Ks){return Ks? $ o instanceof RegExp?this.walk(function(Zs,pl){if(Zs.type==="decl"&& $ o.test(Zs.prop))return Ks(Zs,pl)}):this.walk(function(Zs,pl){if(Zs.type==="decl"&&Zs.prop=== $ o)return Ks(Zs,pl)}):(Ks= $ o,this.walk(function(Zs,pl){if(Zs.type==="decl")return Ks(Zs,pl)}))},ms.walkRules=function( $ o,Ks){return Ks? $ o instanceof RegExp?this.walk(function(Zs,pl){if(Zs.type==="rule"&& $ o.test(Zs.selector))return Ks(Zs,pl)}):this.walk(function(Zs,pl){if(Zs.type==="rule"&&Zs.selector=== $ o)return Ks(Zs,pl)}):(Ks= $ o,this.walk(function(Zs,pl){if(Zs.type==="rule")return Ks(Zs,pl)}))},ms.walkAtRules=function( $ o,Ks){return Ks? $ o instanceof RegExp?this.walk(function(Zs,pl){if(Zs.type==="atrule"&& $ o.test(Zs.name))return Ks(Zs,pl)}):this.walk(function(Zs,pl){if(Zs.type==="atrule"&&Zs.name=== $ o)return Ks(Zs,pl)}):(Ks= $ o,this.walk(function(Zs,pl){if(Zs.type==="atrule")return Ks(Zs,pl)}))},ms.walkComments=function( $ o){return this.walk(function(Ks,Zs){if(Ks.type==="comment")return $ o(Ks,Zs)})},ms.append=function(){for(var $ o=arguments.length,Ks=new Array( $ o),Zs=0;Zs< $ o;Zs++)Ks[Zs]=arguments[Zs];for(var pl=0,Mc=Ks;pl<Mc.length;pl++)for(var Yc=Mc[pl],_u=this.normalize(Yc,this.last),Uu=So(_u),ju;!(ju=Uu()).done;){var Ku=ju.value;this.nodes.push(Ku)}return this},ms.prepend=function(){for(var $ o=arguments.length,Ks=new Array( $ o),Zs=0;Zs< $ o;Zs++)Ks[Zs]=arguments[Zs];Ks=Ks.reverse();for(var pl=So(Ks),Mc;!(Mc=pl()).done;){for(var Yc=Mc.value,_u=this.normalize(Yc,this.first,"prepend").reverse(),Uu=So(_u),ju;!(ju=Uu()).done;){var Ku=ju.value;this.nodes.unshift(Ku)}for(var Vu in this.indexes)this.indexes[Vu]=this.indexes[Vu]+_u.length}return this},ms.cleanRaws=function( $ o){if(Bo.prototype.cleanRaws.call(this, $ o),this.nodes)for(var Ks=So(this.nodes),Zs;!(Zs=Ks()).done;){var pl=Zs.value;pl.cleanRaws( $ o)}},ms.insertBefore=function( $ o,Ks){ $ o=this.index( $ o);for(var Zs= $ o===0?"prepend":!1,pl=this.normalize(Ks,this.nodes[ $ o],Zs).reverse(),Mc=So(pl),Yc;!(Yc=Mc()).done;){var _u=Yc.value;this.nodes.splice( $ o,0,_u)}var Uu;for(var ju in this.indexes)Uu=this.indexes[ju], $ o<=Uu&&(this.indexes[ju]=Uu+pl.length);return this},ms.insertAfter=function( $ o,Ks){ $ o=this.index( $ o);for(var Zs=this.normalize(Ks,this.nodes[ $ o]).revers
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}return ms=Bo[Symbol.iterator](),ms.next.bind(ms)}function no(Bo,ys){if(Bo){if(typeof Bo=="string")return No(Bo,ys);var ms=Object.prototype.toString.call(Bo).slice(8,-1);if(ms==="Object"&&Bo.constructor&&(ms=Bo.constructor.name),ms==="Map"||ms==="Set")return Array.from(Bo);if(ms==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(ms))return No(Bo,ys)}}function No(Bo,ys){(ys==null||ys>Bo.length)&&(ys=Bo.length);for(var ms=0, $ o=new Array(ys);ms<ys;ms++) $ o[ms]=Bo[ms];return $ o}function Ni(Bo,ys){for(var ms=0;ms<ys.length;ms++){var $ o=ys[ms]; $ o.enumerable= $ o.enumerable||!1, $ o.configurable=!0,"value"in $ o&&( $ o.writable=!0),Object.defineProperty(Bo, $ o.key, $ o)}}function Un(Bo,ys,ms){return ys&&Ni(Bo.prototype,ys),Bo}function qa(Bo){return typeof Bo=="object"&&typeof Bo.then=="function"}var Na=function(){function Bo(ms, $ o,Ks){this.stringified=!1,this.processed=!1;var Zs;if(typeof $ o=="object"&& $ o!==null&& $ o.type==="root")Zs= $ o;else if( $ o instanceof Bo|| $ o instanceof eo.default)Zs= $ o.root, $ o.map&&(typeof Ks.map>"u"&&(Ks.map={}),Ks.map.inline||(Ks.map.inline=!1),Ks.map.prev= $ o.map);else{var pl=Ao.default;Ks.syntax&&(pl=Ks.syntax.parse),Ks.parser&&(pl=Ks.parser),pl.parse&&(pl=pl.parse);try{Zs=pl( $ o,Ks)}catch(Mc){this.error=Mc}}this.result=new eo.default(ms,Zs,Ks)}var ys=Bo.prototype;return ys.warnings=function(){return this.sync().warnings()},ys.toString=function(){return this.css},ys.then=function(ms, $ o){return this.async().then(ms, $ o)},ys.catch=function(ms){return this.async().catch(ms)},ys.finally=function(ms){return this.async().then(ms,ms)},ys.handleError=function(ms, $ o){try{if(this.error=ms,ms.name==="CssSyntaxError"&&!ms.plugin)ms.plugin= $ o.postcssPlugin,ms.setMessage();else if( $ o.postcssVersion&&!1)var Ks,Zs,pl,Mc,Yc}catch(_u){console&&console.error&&console.error(_u)}},ys.asyncTick=function(ms, $ o){var Ks=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,ms();try{var Zs=this.processor.plugins[this.plugin],pl=this.run(Zs);this.plugin+=1,qa(pl)?pl.then(function(){Ks.asyncTick(ms, $ o)}).catch(function(Mc){Ks.handleError(Mc,Zs),Ks.processed=!0, $ o(Mc)}):this.asyncTick(ms, $ o)}catch(Mc){this.processed=!0, $ o(Mc)}},ys.async=function(){var ms=this;return this.processed?new Promise(function( $ o,Ks){ms.error?Ks(ms.error): $ o(ms.stringify())}):this.processing?this.processing:(this.processing=new Promise(function( $ o,Ks){if(ms.error)return Ks(ms.error);ms.plugin=0,ms.asyncTick( $ o,Ks)}).then(function(){return ms.processed=!0,ms.stringify()}),this.processing)},ys.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var ms=Do(this.result.processor.plugins), $ o;!( $ o=ms()).done;){var Ks= $ o.value,Zs=this.run(Ks);if(qa(Zs))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},ys.run=function(ms){this.result.lastPlugin=ms;try{return ms(this.result.root,this.result)}catch( $ o){throw this.handleError( $ o,ms), $ o}},ys.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var ms=this.result.opts, $ o=La.default;ms.syntax&&( $ o=ms.syntax.stringify),ms.stringifier&&( $ o=ms.stringifier), $ o.stringify&&( $ o= $ o.stringify);var Ks=new Ba.default( $ o,this.result.root,this.result.opts),Zs=Ks.generate();return this.result.css=Zs[0],this.result.map=Zs[1],this.result},Un(Bo,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),Bo}(),Xo=Na;ci.default=Xo,Wa.exports=ci.default}}),Jc=_s({"node_modules/postcss/lib/processor.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=La(kc());functio
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}return Un=No[Symbol.iterator](),Un.next.bind(Un)}function Ao(No,Ni){if(No){if(typeof No=="string")return So(No,Ni);var Un=Object.prototype.toString.call(No).slice(8,-1);if(Un==="Object"&&No.constructor&&(Un=No.constructor.name),Un==="Map"||Un==="Set")return Array.from(No);if(Un==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(Un))return So(No,Ni)}}function So(No,Ni){(Ni==null||Ni>No.length)&&(Ni=No.length);for(var Un=0,qa=new Array(Ni);Un<Ni;Un++)qa[Un]=No[Un];return qa}var Do=function(){function No(Un){Un===void 0&&(Un=[]),this.version="7.0.39",this.plugins=this.normalize(Un)}var Ni=No.prototype;return Ni.use=function(Un){return this.plugins=this.plugins.concat(this.normalize([Un])),this},Ni.process=function(Un){function qa(Na){return Un.apply(this,arguments)}return qa.toString=function(){return Un.toString()},qa}(function(Un,qa){return qa===void 0&&(qa={}),this.plugins.length===0&&(qa.parser,qa.stringifier),new Ba.default(this,Un,qa)}),Ni.normalize=function(Un){for(var qa=[],Na=eo(Un),Xo;!(Xo=Na()).done;){var Bo=Xo.value;if(Bo.postcss===!0){var ys=Bo();throw new Error("PostCSS plugin "+ys.postcssPlugin+ ` requires PostCSS 8.
Migration guide for end - users :
https : //github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Bo.postcss&&(Bo=Bo.postcss),typeof Bo=="object"&&Array.isArray(Bo.plugins))qa=qa.concat(Bo.plugins);else if(typeof Bo=="function")qa.push(Bo);else if(!(typeof Bo=="object"&&(Bo.parse||Bo.stringify)))throw typeof Bo=="object"&&Bo.postcssPlugin?new Error("PostCSS plugin "+Bo.postcssPlugin+` requires PostCSS 8.
Migration guide for end - users :
https : //github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Bo+" is not a PostCSS plugin")}return qa},No}(),no=Do;ci.default=no,Wa.exports=ci.default}}),pu=_s({"node_modules/postcss/lib/root.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=La(wc());function La(Ni){return Ni&&Ni.__esModule?Ni:{default:Ni}}function eo(Ni,Un){var qa;if(typeof Symbol>"u"||Ni[Symbol.iterator]==null){if(Array.isArray(Ni)||(qa=Ao(Ni))||Un){qa&&(Ni=qa);var Na=0;return function(){return Na>=Ni.length?{done:!0}:{done:!1,value:Ni[Na++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}return qa=Ni[Symbol.iterator](),qa.next.bind(qa)}function Ao(Ni,Un){if(Ni){if(typeof Ni=="string")return So(Ni,Un);var qa=Object.prototype.toString.call(Ni).slice(8,-1);if(qa==="Object"&&Ni.constructor&&(qa=Ni.constructor.name),qa==="Map"||qa==="Set")return Array.from(Ni);if(qa==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(qa))return So(Ni,Un)}}function So(Ni,Un){(Un==null||Un>Ni.length)&&(Un=Ni.length);for(var qa=0,Na=new Array(Un);qa<Un;qa++)Na[qa]=Ni[qa];return Na}function Do(Ni,Un){Ni.prototype=Object.create(Un.prototype),Ni.prototype.constructor=Ni,Ni.__proto__=Un}var no=function(Ni){Do(Un,Ni);function Un(Na){var Xo;return Xo=Ni.call(this,Na)||this,Xo.type="root",Xo.nodes||(Xo.nodes=[]),Xo}var qa=Un.prototype;return qa.removeChild=function(Na,Xo){var Bo=this.index(Na);return!Xo&&Bo===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Bo].raws.before),Ni.prototype.removeChild.call(this,Na)},qa.normalize=function(Na,Xo,Bo){var ys=Ni.prototype.normalize.call(this,Na);if(Xo){if(Bo==="prepend")this.nodes.length>1?Xo.raws.before=this.nodes[1].raws.before:delete Xo.raws.before;else if(this.first!==Xo)for(var ms=eo(ys), $ o;!( $ o=ms()).done;){var Ks= $ o.value;Ks.raws.before=Xo.raws.before}}return ys},qa.toResult=function(Na){Na===void 0&&(Na={});var Xo=kc(),Bo=Jc(),ys=new Xo(new Bo,this,Na);return ys.stringify()},Un}(Ba.default),No=no;ci.default=No,Wa.exports=ci.default}}),io=_s({"node_modules/postcss/lib/parser.js"(ci,Wa){Ms(),ci.__esModule=!0,ci.default=void 0;var Ba=no(Os()),La=no(Bs()),eo=no(ks()),Ao=no(Bl()),So=no(pu()),Do=no(Zl());function no(Ni){return Ni&&Ni.__esModule?Ni:{default:Ni}}var No=function(){function Ni(qa){this.input=qa,this.root=new So.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:qa,start:{line:1,column:1}}}var Un=Ni.prototype;return Un.createTokenizer=function(){this.tokenizer=(0,La.default)(this.input)},Un.parse=function(){for(var qa;!this.tokenizer.endOfFile();)switch(qa=this.tokenizer.nextToken(),qa[0]){case"space":this.spaces+=qa[1];break;case";":this.freeSemicolon(qa);break;case"}":this.end(qa);break;case"comment":this.comment(qa);break;case"at-word":this.atrule(qa);break;case"{":this.emptyRule(qa);break;default:this.other(qa);break}this.endFile()},Un.comment=function(qa){var Na=new eo.default;this.init(Na,qa[2],qa[3]),Na.source.end={line:qa[4],column:qa[5]};var Xo=qa[1].slice(2,-2);if(/^ \s * $ /.test(Xo))Na.text="",Na.raws.left=Xo,Na.raws.right="";else{var Bo=Xo.match(/^( \s *)([^]*[^ \s ])( \s *) $ /);Na.text=Bo[2],Na.raws.left=Bo[1],Na.raws.right=Bo[3]}},Un.emptyRule=function(qa){var Na=new Do.default;this.init(Na,qa[2],qa[3]),Na.selector="",Na.raws.between="",this.current=Na},Un.other=function(qa){for(var Na=!1,Xo=null,Bo=!1,ys=null,ms=[], $ o=[],Ks=qa;Ks;){if(Xo=Ks[0], $ o.push(Ks),Xo==="("||Xo==="[")ys||(ys=Ks),ms.push(Xo==="("?")":"]");else if(ms.length===0)if(Xo===";")if(Bo){this.decl( $ o);return}else break;else if(Xo==="{"){this.rule( $ o);return}else if(Xo==="}"){this.tokenizer.back( $ o.pop()),Na=!0;break}else Xo===":"&&(Bo=!0);else Xo===ms[ms.length-1]&&(ms.pop(),ms.length===0&&(ys=null));Ks=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Na=!0),ms.length>0&&this.unclosedBracket(ys),Na&&Bo){for(; $ o.length&&(Ks= $ o[ $ o.length-1][0],!(Ks!=="space"&&Ks!=="comment"));)this.tokenizer.back( $ o.pop());this.decl( $ o)}else this.unknownWord( $ o)},Un.rule=function(qa){qa.pop();var Na=new Do.default;this.init(Na,qa[0][2],qa[0][3]),Na.raws.between=this.spacesAndCommentsFromEnd(qa),this.raw(Na,"selector",qa),this.current=Na},Un.decl=function(qa){var Na=new Ba.default;this.init(Na);var Xo=qa[qa.length-1];for(Xo[0]===";"&&(this.semicolon=!0,qa.pop()),Xo[4]?Na.source.end={line:Xo[4],column:Xo[5]}:Na.source.end={line:Xo[2],column:Xo[3]};qa[0][0]!=="word";)qa.length===1&&this.unknownWord(qa),Na.raws.before+=qa.shift()[1];for(Na.source.start={line:qa[0][2],column:qa[0][3]},Na.prop="";qa.length;){var Bo=qa[0][0];if(Bo===":"||Bo==="space"||Bo==="co
` )));let No=eo[1].substring(eo[1].indexOf( `
` ));No+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new La(No),this.tokenizer=Ba(this.input)}else this.tokenizer.back(eo);break}So.push(eo[1]),Do=eo,eo=this.tokenizer.nextToken({ignoreUnclosed:!0})}let no=["comment",So.join(""),Ao[2],Ao[3],Do[2],Do[3]];return this.inlineComment(no),!0}else if(eo[1]==="/"){let Ao=this.tokenizer.nextToken({ignoreUnclosed:!0});if(Ao[0]==="comment"&&/^ \/ \* /.test(Ao[1]))return Ao[0]="word",Ao[1]=Ao[1].slice(1),eo[1]="//",this.tokenizer.back(Ao),Wa.exports.isInlineComment.bind(this)(eo)}return!1}}}}),Au=_s({"node_modules/postcss-less/lib/nodes/interpolation.js"(ci,Wa){Ms(),Wa.exports={interpolation(Ba){let La=Ba,eo=[Ba],Ao=["word","{","}"];if(Ba=this.tokenizer.nextToken(),La[1].length>1||Ba[0]!=="{")return this.tokenizer.back(Ba),!1;for(;Ba&&Ao.includes(Ba[0]);)eo.push(Ba),Ba=this.tokenizer.nextToken();let So=eo.map(Un=>Un[1]);[La]=eo;let Do=eo.pop(),no=[La[2],La[3]],No=[Do[4]||Do[2],Do[5]||Do[3]],Ni=["word",So.join("")].concat(no,No);return this.tokenizer.back(Ba),this.tokenizer.back(Ni),!0}}}}),Oc=_s({"node_modules/postcss-less/lib/nodes/mixin.js"(ci,Wa){Ms();var Ba=/^#[0-9a-fA-F]{6} $ |^#[0-9a-fA-F]{3} $ /,La=/ \. [0-9]/,eo=Ao=>{let[,So]=Ao,[Do]=So;return(Do==="."||Do==="#")&&Ba.test(So)===!1&&La.test(So)===!1};Wa.exports={isMixinToken:eo}}}),cc=_s({"node_modules/postcss-less/lib/nodes/import.js"(ci,Wa){Ms();var Ba=Bs(),La=/^url \( (.+) \) /;Wa.exports=eo=>{let{name:Ao,params:So=""}=eo;if(Ao==="import"&&So.length){eo.import=!0;let Do=Ba({css:So});for(eo.filename=So.replace(La," $ 1");!Do.endOfFile();){let[no,No]=Do.nextToken();if(no==="word"&&No==="url")return;if(no==="brackets"){eo.options=No,eo.filename=So.replace(No,"").trim();break}}}}}}),Lc=_s({"node_modules/postcss-less/lib/nodes/variable.js"(ci,Wa){Ms();var Ba=/: $ /,La=/^:( \s +)?/;Wa.exports=eo=>{let{name:Ao,params:So=""}=eo;if(eo.name.slice(-1)===":"){if(Ba.test(Ao)){let[Do]=Ao.match(Ba);eo.name=Ao.replace(Do,""),eo.raws.afterName=Do+(eo.raws.afterName||""),eo.variable=!0,eo.value=eo.params}if(La.test(So)){let[Do]=So.match(La);eo.value=So.replace(Do,""),eo.raws.afterName=(eo.raws.afterName||"")+Do,eo.variable=!0}}}}}),Hl=_s({"node_modules/postcss-less/lib/LessParser.js"(ci,Wa){Ms();var Ba=ks(),La=io(),{isInlineComment:eo}=xc(),{interpolation:Ao}=Au(),{isMixinToken:So}=Oc(),Do=cc(),no=Lc(),No=/(! \s *important) $ /i;Wa.exports=class extends La{constructor(){super(...arguments),this.lastNode=null}atrule(Ni){Ao.bind(this)(Ni)||(super.atrule(Ni),Do(this.lastNode),no(this.lastNode))}decl(){super.decl(...arguments),/extend \( .+ \) /i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(Ni){Ni[0][1]= ` $ { Ni [ 0 ] [ 1 ] } ` ;let Un=Ni.findIndex(Bo=>Bo[0]==="("),qa=Ni.reverse().find(Bo=>Bo[0]===")"),Na=Ni.reverse().indexOf(qa),Xo=Ni.splice(Un,Na).map(Bo=>Bo[1]).join("");for(let Bo of Ni.reverse())this.tokenizer.back(Bo);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Xo}init(Ni,Un,qa){super.init(Ni,Un,qa),this.lastNode=Ni}inlineComment(Ni){let Un=new Ba,qa=Ni[1].slice(2);if(this.init(Un,Ni[2],Ni[3]),Un.source.end={line:Ni[4],column:Ni[5]},Un.inline=!0,Un.raws.begin="//",/^ \s * $ /.test(qa))Un.text="",Un.raws.left=qa,Un.raws.right="";else{let Na=qa.match(/^( \s *)([^]*[^ \s ])( \s *) $ /);[,Un.raws.left,Un.text,Un.raws.right]=Na}}mixin(Ni){let[Un]=Ni,qa=Un[1].slice(0,1),Na=Ni.findIndex( $ o=> $ o[0]==="brackets"),Xo=Ni.findIndex( $ o=> $ o[0]==="("),Bo="";if((Na<0||Na>3)&&Xo>0){let $ o=Ni.reduce((Ku,Vu,Fu)=>Vu[0]===")"?Fu:Ku),Ks=Ni.slice(Xo, $ o+Xo).map(Ku=>Ku[1]).join(""),[Zs]=Ni.slice(Xo),pl=[Zs[2],Zs[3]],[Mc]=Ni.slice( $ o, $ o+1),Yc=[Mc[2],Mc[3]],_u=["brackets",Ks].concat(pl,Yc),Uu=Ni.slice(0,Xo),ju=Ni.slice( $ o+1);Ni=Uu,Ni.push(_u),Ni=Ni.concat(ju)}let ys=[];for(let $ o of Ni)if(( $ o[1]==="!"||ys.length)&&ys.push( $ o), $ o[1]==="important")break;if(ys.length){let[ $ o]=ys,Ks=Ni.indexOf( $ o),Zs=ys[ys.length-1],pl=[ $ o[2], $ o[3]],Mc=[Zs[4],Zs[5]],Yc=["word",ys.map(_u=>_u[1]).join("")].concat(pl,Mc);Ni.splice(Ks,ys.length,Yc)}let ms=Ni.findIndex( $ o=>No.test( $ o[1]));ms>0&&([,Bo]=Ni[ms],Ni.splice(ms,1));for(let $ o of Ni.reverse())this.t
` ),sp=Gd.length-1,sp>0?(Tu=Ru+sp,ed=vc-Gd[sp].length):(Tu=Ru,ed=il),Kl=["brackets",Pd,Ru,Eu-il,Tu,vc-ed],il=ed,Ru=Tu,Eu=vc}else vc=Uc.indexOf(")",Eu+1),Pd=Uc.slice(Eu,vc+1),vc===-1||Uu.test(Pd)?Kl=["(","(",Ru,Eu-il]:(Kl=["brackets",Pd,Ru,Eu-il,Ru,vc-il],Eu=vc);break;case Xo:Kl=[")",")",Ru,Eu-il];break;case Ba:case La:for(Np=Vc,vc=Eu,td=!1;vc<Xc&&(vc++,vc===Xc&&pp("string"),Vc=Uc.charCodeAt(vc),cl=Uc.charCodeAt(vc+1),!(!td&&Vc===Np));)Vc===eo?td=!td:td?td=!1:Vc===Mc&&cl===Bo&&_f();Pd=Uc.slice(Eu,vc+1),Gd=Pd.split( `
` ),sp=Gd.length-1,sp>0?(Tu=Ru+sp,ed=vc-Gd[sp].length):(Tu=Ru,ed=il),Kl=["string",Uc.slice(Eu,vc+1),Ru,Eu-il,Tu,vc-ed],il=ed,Ru=Tu,Eu=vc;break;case Zs:Yc.lastIndex=Eu+1,Yc.test(Uc),Yc.lastIndex===0?vc=Uc.length-1:vc=Yc.lastIndex-2,Kl=["at-word",Uc.slice(Eu,vc+1),Ru,Eu-il,Ru,vc-il],Eu=vc;break;case eo:for(vc=Eu,Nd=!0;Uc.charCodeAt(vc+1)===eo;)vc+=1,Nd=!Nd;if(Vc=Uc.charCodeAt(vc+1),Nd&&Vc!==Ao&&Vc!==Do&&Vc!==So&&Vc!==No&&Vc!==Ni&&Vc!==no&&(vc+=1,ju.test(Uc.charAt(vc)))){for(;ju.test(Uc.charAt(vc+1));)vc+=1;Uc.charCodeAt(vc+1)===Do&&(vc+=1)}Kl=["word",Uc.slice(Eu,vc+1),Ru,Eu-il,Ru,vc-il],Eu=vc;break;default:cl=Uc.charCodeAt(Eu+1),Vc===Mc&&cl===Bo?(vc=Eu,_f(),Pd=Uc.slice(Eu,vc+1),Gd=Pd.split( `
` ),sp=Gd.length-1,sp>0?(Tu=Ru+sp,ed=vc-Gd[sp].length):(Tu=Ru,ed=il),Kl=["word",Pd,Ru,Eu-il,Tu,vc-ed],il=ed,Ru=Tu,Eu=vc):Vc===Ao&&cl=== $ o?(vc=Uc.indexOf("*/",Eu+2)+1,vc===0&&(bc?vc=Uc.length:pp("comment")),Pd=Uc.slice(Eu,vc+1),Gd=Pd.split( `
` ),sp=Gd.length-1,sp>0?(Tu=Ru+sp,ed=vc-Gd[sp].length):(Tu=Ru,ed=il),Kl=["comment",Pd,Ru,Eu-il,Tu,vc-ed],il=ed,Ru=Tu,Eu=vc):Vc===Ao&&cl===Ao?(Ku.lastIndex=Eu+1,Ku.test(Uc),Ku.lastIndex===0?vc=Uc.length-1:vc=Ku.lastIndex-2,Pd=Uc.slice(Eu,vc+1),Kl=["comment",Pd,Ru,Eu-il,Ru,vc-il,"inline"],Eu=vc):(_u.lastIndex=Eu+1,_u.test(Uc),_u.lastIndex===0?vc=Uc.length-1:vc=_u.lastIndex-2,Kl=["word",Uc.slice(Eu,vc+1),Ru,Eu-il,Ru,vc-il],Kp.push(Kl),Eu=vc);break}return Eu++,Kl}}function Ed(Ap){Sp.push(Ap)}return{back:Ed,nextToken:Ip,endOfFile:jf}}}}),qd=_s({"node_modules/postcss-scss/lib/scss-parser.js"(ci,Wa){Ms();function Ba(no,No){no.prototype=Object.create(No.prototype),no.prototype.constructor=no,no.__proto__=No}var La=ks(),eo=io(),Ao=Pu(),So=zu(),Do=function(no){Ba(No,no);function No(){return no.apply(this,arguments)||this}var Ni=No.prototype;return Ni.createTokenizer=function(){this.tokenizer=So(this.input)},Ni.rule=function(Un){for(var qa=!1,Na=0,Xo="",ms=Un,Bo=Array.isArray(ms),ys=0,ms=Bo?ms:ms[Symbol.iterator]();;){var $ o;if(Bo){if(ys>=ms.length)break; $ o=ms[ys++]}else{if(ys=ms.next(),ys.done)break; $ o=ys.value}var Ks= $ o;if(qa)Ks[0]!=="comment"&&Ks[0]!=="{"&&(Xo+=Ks[1]);else{if(Ks[0]==="space"&&Ks[1].indexOf( `
` )!==-1)break;Ks[0]==="("?Na+=1:Ks[0]===")"?Na-=1:Na===0&&Ks[0]===":"&&(qa=!0)}}if(!qa||Xo.trim()===""||/^[a-zA-Z-:#]/.test(Xo))no.prototype.rule.call(this,Un);else{Un.pop();var Zs=new Ao;this.init(Zs);var pl=Un[Un.length-1];for(pl[4]?Zs.source.end={line:pl[4],column:pl[5]}:Zs.source.end={line:pl[2],column:pl[3]};Un[0][0]!=="word";)Zs.raws.before+=Un.shift()[1];for(Zs.source.start={line:Un[0][2],column:Un[0][3]},Zs.prop="";Un.length;){var Mc=Un[0][0];if(Mc===":"||Mc==="space"||Mc==="comment")break;Zs.prop+=Un.shift()[1]}Zs.raws.between="";for(var Yc;Un.length;)if(Yc=Un.shift(),Yc[0]===":"){Zs.raws.between+=Yc[1];break}else Zs.raws.between+=Yc[1];(Zs.prop[0]==="_"||Zs.prop[0]==="*")&&(Zs.raws.before+=Zs.prop[0],Zs.prop=Zs.prop.slice(1)),Zs.raws.between+=this.spacesAndCommentsFromStart(Un),this.precheckMissedSemicolon(Un);for(var _u=Un.length-1;_u>0;_u--){if(Yc=Un[_u],Yc[1]==="!important"){Zs.important=!0;var Uu=this.stringFrom(Un,_u);Uu=this.spacesFromEnd(Un)+Uu,Uu!==" !important"&&(Zs.raws.important=Uu);break}else if(Yc[1]==="important"){for(var ju=Un.slice(0),Ku="",Vu=_u;Vu>0;Vu--){var Fu=ju[Vu][0];if(Ku.trim().indexOf("!")===0&&Fu!=="space")break;Ku=ju.pop()[1]+Ku}Ku.trim().indexOf("!")===0&&(Zs.important=!0,Zs.raws.important=Ku,Un=ju)}if(Yc[0]!=="space"&&Yc[0]!=="comment")break}this.raw(Zs,"value",Un),Zs.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Un),this.current=Zs}},Ni.comment=function(Un){if(Un[6]==="inline"){var qa=new La;this.init(qa,Un[2],Un[3]),qa.raws.inline=!0,qa.source.end={line:Un[4],column:Un[5]};var Na=Un[1].slice(2);if(/^ \s * $ /.test(Na))qa.text="",qa.raws.left=Na,qa.raws.right="";else{var Xo=Na.match(/^( \s *)([^]*[^ \s ])( \s *) $ /),Bo=Xo[2].replace(/( \* \/ | \/ \* )/g,"*//*");qa.text=Bo,qa.raws.left=Xo[1],qa.raws.right=Xo[3],qa.raws.text=Xo[2]}}else no.prototype.comment.call(this,Un)},Ni.raw=function(Un,qa,Na){if(no.prototype.raw.call(this,Un,qa,Na),Un.raws[qa]){var Xo=Un.raws[qa].raw;Un.raws[qa].raw=Na.reduce(function(Bo,ys){if(ys[0]==="comment"&&ys[6]==="inline"){var ms=ys[1].slice(2).replace(/( \* \/ | \/ \* )/g,"*//*");return Bo+"/*"+ms+"*/"}else return Bo+ys[1]},""),Xo!==Un.raws[qa].raw&&(Un.raws[qa].scss=Xo)}},No}(eo);Wa.exports=Do}}),Ou=_s({"node_modules/postcss-scss/lib/scss-parse.js"(ci,Wa){Ms();var Ba=Gs(),La=qd();Wa.exports=function(eo,Ao){var So=new Ba(eo,Ao),Do=new La(So);return Do.parse(),Do.root}}}),gp=_s({"node_modules/postcss-scss/lib/scss-syntax.js"(ci,Wa){Ms();var Ba=gu(),La=Ou();Wa.exports={parse:La,stringify:Ba}}});Ms();var Jp=zc(),jp=Fc(),Ep= $ u(),{hasPragma:cd}=qc(),{locStart:Rd,locEnd:ff}=ds(),{calculateLoc:mf,replaceQuotesInInlineComments:Rf}=ds(),lf=Nc(),dp=Ml(),Cp=Gc(),xp=Bu(),Zd=Od(),ep=Id(),yd=kp(),tp=Tp(),Vp=ci=>{for(;ci.parent;)ci=ci.parent;return ci};function Jf(ci,Wa){let{nodes:Ba}=ci,La={open:null,close:null,groups:[],type:"paren_group"},eo=[La],Ao=La,So={groups:[],type:"comma_group"},Do=[So];for(let no=0;no<Ba.length;++no){let No=Ba[no];if(xp(Wa.parser,No.value)&&No.type==="number"&&No.unit===".."&&jp(No.value)==="."&&(No.value=No.value.slice(0,-1),No.unit="..."),No.type==="func"&&No.value==="selector"&&(No.group.groups=[gf(Vp(ci).text.slice(No.group.open.sourceIndex+1,No.group.close.sourceIndex))]),No.type==="func"&&No.value==="url"){let Ni=No.group&&No.group.groups||[],Un=[];for(let qa=0;qa<Ni.length;qa++){let Na=Ni[qa];Na.type==="comma_group"?Un=[...Un,...Na.groups]:Un.push(Na)}if(lf(Un)||!dp(Un)&&!ep(Un[0])){let qa=yd({groups:No.group.groups});No.group.groups=[qa.trim()]}}if(No.type==="paren"&&No.value==="(")La={open:No,close:null,groups:[],type:"paren_group"},eo.push(La),So={groups:[],type:"comma_group"},Do.push(So);else if(No.type==="paren"&&No.value===")"){if(So.groups.length>0&&La.groups.push(So),La.close=No,Do.length===1)throw new Error("Unbalanced parenthesis");Do.pop(),So=jp(Do),So.groups.push(La),eo.pop(),La=jp(eo)}else No.type==="comma"?(La.groups.push(So),So={groups:[],type:"comma_group"},Do[Do.length-1]=So):So.groups.push(No)}return So.groups.length>0&&La.groups.push(So),Ao}function bh(ci){return ci.type==="paren_group"&&!ci.open&&!ci.close&&ci.groups.length===1||
` ,Nfr:"𝔑 ",NoBreak:" ",NonBreakingSpace:" ",Nopf:"ℕ ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩 ",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν ",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О ",Odblac:"Ő",Ofr:"𝔒 ",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο ",Oopf:"𝕆 ",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘ ",Or:"⩔",Oscr:"𝒪 ",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓 ",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ ",Popf:"ℙ ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫 ",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔 ",Qopf:"ℚ ",Qscr:"𝒬 ",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р ",Re:"ℜ ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ ",Rho:"Ρ ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь ",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С ",Sfr:"𝔖 ",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊 ",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮 ",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т ",Tfr:"𝔗 ",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼ ",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋 ",TripleDot:"⃛",Tscr:"𝒯 ",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У ",Udblac:"Ű",Ufr:"𝔘 ",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃ ",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌 ",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"
` );Jc!==-1;)tl++,kc=Jc,Jc=ol.indexOf( `
` ,Jc+1);kc===-1?Gs+=ol.length:Gs=ol.length-kc,tl in Zo&&(kc!==-1?Gs+=Zo[tl]:Gs<=Zo[tl]&&(Gs=Zo[tl]+1))}function Pl(){var ol=[],kc=tl+1;return function(){for(var Jc=tl+1;kc<Jc;)ol.push((Zo[kc]||0)+1),kc++;return ol}}function Zl(){var ol={line:tl,column:Gs};return ol.offset=_o.toOffset(ol),ol}function wc(ol){this.start=ol,this.end=Zl()}function Bl(ol){To.slice(0,ol.length)!==ol&&_o.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),Zl())}function fc(){var ol=Zl();return kc;function kc(Jc,pu){var io=Jc.position,xc=io?io.start:ol,Au=[],Oc=io&&io.end.line,cc=ol.line;if(Jc.position=new wc(xc),io&&pu&&io.indent){if(Au=io.indent,Oc<cc){for(;++Oc<cc;)Au.push((Zo[Oc]||0)+1);Au.push(ol.column)}pu=Au.concat(pu)}return Jc.position.indent=pu||[],Jc}}function Cc(ol,kc){var Jc=kc?kc.children:Rs,pu=Jc[Jc.length-1],io;return pu&&ol.type===pu.type&&(ol.type==="text"||ol.type==="blockquote")&&Vo(pu)&&Vo(ol)&&(io=ol.type==="text"?Fo:vo,ol=io.call(_o,pu,ol)),ol!==pu&&Jc.push(ol),_o.atStart&&Rs.length!==0&&_o.exitStart(),ol}function Rc(ol){var kc=Pl(),Jc=fc(),pu=Zl();return Bl(ol),io.reset=xc,xc.test=Au,io.test=Au,To=To.slice(ol.length),Vs(ol),kc=kc(),io;function io(Oc,cc){return Jc(Cc(Jc(Oc),cc),kc)}function xc(){var Oc=io.apply(null,arguments);return tl=pu.line,Gs=pu.column,To=ol+To,Oc}function Au(){var Oc=Jc({});return tl=pu.line,Gs=pu.column,To=ol+To,Oc.position}}}}function Vo(Ro){var Yo,To;return Ro.type!=="text"||!Ro.position?!0:(Yo=Ro.position.start,To=Ro.position.end,Yo.line!==To.line||To.column-Yo.column===Ro.value.length)}function Fo(Ro,Yo){return Ro.value+=Yo.value,Ro}function vo(Ro,Yo){return this.options.commonmark||this.options.gfm?Yo:(Ro.children=Ro.children.concat(Yo.children),Ro)}}}),Tp=qi({"node_modules/markdown-escapes/index.js"(Ps,vs){Go(),vs.exports=vo;var Io=[" \\ "," ` "," * "," { "," } "," [ "," ] "," ( "," ) "," # "," + "," - "," . "," ! "," _ "," > "],Vo=Io.concat([" ~ "," | " ] ) , Fo = Vo . concat ( [ `
` ,'"'," $ ","%","&","'",",","/",":",";","<","=","?","@","^"]);vo.default=Io,vo.gfm=Vo,vo.commonmark=Fo;function vo(Ro){var Yo=Ro||{};return Yo.commonmark?Fo:Yo.gfm?Vo:Io}}}),Lu=qi({"node_modules/remark-parse/lib/block-elements.js"(Ps,vs){Go(),vs.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}}),np=qi({"node_modules/remark-parse/lib/defaults.js"(Ps,vs){Go(),vs.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Lu()}}}),Ad=qi({"node_modules/remark-parse/lib/set-options.js"(Ps,vs){Go();var Io=Wl(),Vo=Tp(),Fo=np();vs.exports=vo;function vo(Ro){var Yo=this,To=Yo.options,is,_o;if(Ro==null)Ro={};else if(typeof Ro=="object")Ro=Io(Ro);else throw new Error("Invalid value ` "+Ro+" ` for setting ` options ` ");for(is in Fo){if(_o=Ro[is],_o==null&&(_o=To[is]),is!=="blocks"&&typeof _o!="boolean"||is==="blocks"&&typeof _o!="object")throw new Error("Invalid value ` "+_o+" ` for setting ` options . "+is+" ` ");Ro[is]=_o}return Yo.options=Ro,Yo.escape=Vo(Ro),Yo}}}),Up=qi({"node_modules/unist-util-is/convert.js"(Ps,vs){Go(),vs.exports=Io;function Io(Yo){if(Yo==null)return Ro;if(typeof Yo=="string")return vo(Yo);if(typeof Yo=="object")return"length"in Yo?Fo(Yo):Vo(Yo);if(typeof Yo=="function")return Yo;throw new Error("Expected function, string, or object as test")}function Vo(Yo){return To;function To(is){var _o;for(_o in Yo)if(is[_o]!==Yo[_o])return!1;return!0}}function Fo(Yo){for(var To=[],is=-1;++is<Yo.length;)To[is]=Io(Yo[is]);return _o;function _o(){for(var Zo=-1;++Zo<To.length;)if(To[Zo].apply(this,arguments))return!0;return!1}}function vo(Yo){return To;function To(is){return!!(is&&is.type===Yo)}}function Ro(){return!0}}}),Lp=qi({"node_modules/unist-util-visit-parents/color.browser.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo){return Vo}}}),Bf=qi({"node_modules/unist-util-visit-parents/index.js"(Ps,vs){Go(),vs.exports=Yo;var Io=Up(),Vo=Lp(),Fo=!0,vo="skip",Ro=!1;Yo.CONTINUE=Fo,Yo.SKIP=vo,Yo.EXIT=Ro;function Yo(is,_o,Zo,Rs){var Ss,Us;typeof _o=="function"&&typeof Zo!="function"&&(Rs=Zo,Zo=_o,_o=null),Us=Io(_o),Ss=Rs?-1:1,tl(is,null,[])();function tl(Gs,bl,ps){var fl=typeof Gs=="object"&&Gs!==null?Gs:{},ks;return typeof fl.type=="string"&&(ks=typeof fl.tagName=="string"?fl.tagName:typeof fl.name=="string"?fl.name:void 0,Os.displayName="node ("+Vo(fl.type+(ks?"<"+ks+">":""))+")"),Os;function Os(){var Bs=ps.concat(Gs),Vs=[],Pl,Zl;if((!_o||Us(Gs,bl,ps[ps.length-1]||null))&&(Vs=To(Zo(Gs,ps)),Vs[0]===Ro))return Vs;if(Gs.children&&Vs[0]!==vo)for(Zl=(Rs?Gs.children.length:-1)+Ss;Zl>-1&&Zl<Gs.children.length;){if(Pl=tl(Gs.children[Zl],Zl,Bs)(),Pl[0]===Ro)return Pl;Zl=typeof Pl[1]=="number"?Pl[1]:Zl+Ss}return Vs}}}function To(is){return is!==null&&typeof is=="object"&&"length"in is?is:typeof is=="number"?[Fo,is]:[is]}}}),Uf=qi({"node_modules/unist-util-visit/index.js"(Ps,vs){Go(),vs.exports=Ro;var Io=Bf(),Vo=Io.CONTINUE,Fo=Io.SKIP,vo=Io.EXIT;Ro.CONTINUE=Vo,Ro.SKIP=Fo,Ro.EXIT=vo;function Ro(Yo,To,is,_o){typeof To=="function"&&typeof is!="function"&&(_o=is,is=To,To=null),Io(Yo,To,Zo,_o);function Zo(Rs,Ss){var Us=Ss[Ss.length-1],tl=Us?Us.children.indexOf(Rs):null;return is(Rs,tl,Us)}}}}),Sf=qi({"node_modules/unist-util-remove-position/index.js"(Ps,vs){Go();var Io=Uf();vs.exports=Vo;function Vo(Ro,Yo){return Io(Ro,Yo?Fo:vo),Ro}function Fo(Ro){delete Ro.position}function vo(Ro){Ro.position=void 0}}}),Hp=qi({"node_modules/remark-parse/lib/parse.js"(Ps,vs){Go();var Io=Wl(),Vo=Sf();vs.exports=Ro;var Fo= `
` ,vo=/ \r \n | \r /g;function Ro(){var Yo=this,To=String(Yo.file),is={line:1,column:1,offset:0},_o=Io(is),Zo;return To=To.replace(vo,Fo),To.charCodeAt(0)===65279&&(To=To.slice(1),_o.column++,_o.offset++),Zo={type:"root",children:Yo.tokenizeBlock(To,_o),position:{start:is,end:Yo.eof||Io(is)}},Yo.options.position||Vo(Zo,!0),Zo}}}),wm=qi({"node_modules/remark-parse/lib/tokenize/blank-line.js"(Ps,vs){Go();var Io=/^[ \t ]*( \n | $ )/;vs.exports=Vo;function Vo(Fo,vo,Ro){for(var Yo,To="",is=0,_o=vo.length;is<_o&&(Yo=Io.exec(vo.slice(is)),Yo!=null);)is+=Yo[0].length,To+=Yo[0];if(To!==""){if(Ro)return!0;Fo(To)}}}}),Vf=qi({"node_modules/repeat-string/index.js"(Ps,vs){Go();var Io="",Vo;vs.exports=Fo;function Fo(vo,Ro){if(typeof vo!="string")throw new TypeError("expected a string");if(Ro===1)return vo;if(Ro===2)return vo+vo;var Yo=vo.length*Ro;if(Vo!==vo||typeof Vo>"u")Vo=vo,Io="";else if(Io.length>=Yo)return Io.substr(0,Yo);for(;Yo>Io.length&&Ro>1;)Ro&1&&(Io+=vo),Ro>>=1,vo+=vo;return Io+=vo,Io=Io.substr(0,Yo),Io}}}),Du=qi({"node_modules/trim-trailing-lines/index.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo){return String(Vo).replace(/ \n + $ /,"")}}}), $ f=qi({"node_modules/remark-parse/lib/tokenize/code-indented.js"(Ps,vs){Go();var Io=Vf(),Vo=Du();vs.exports=is;var Fo= `
` ,vo=" ",Ro=" ",Yo=4,To=Io(Ro,Yo);function is(_o,Zo,Rs){for(var Ss=-1,Us=Zo.length,tl="",Gs="",bl="",ps="",fl,ks,Os;++Ss<Us;)if(fl=Zo.charAt(Ss),Os)if(Os=!1,tl+=bl,Gs+=ps,bl="",ps="",fl===Fo)bl=fl,ps=fl;else for(tl+=fl,Gs+=fl;++Ss<Us;){if(fl=Zo.charAt(Ss),!fl||fl===Fo){ps=fl,bl=fl;break}tl+=fl,Gs+=fl}else if(fl===Ro&&Zo.charAt(Ss+1)===fl&&Zo.charAt(Ss+2)===fl&&Zo.charAt(Ss+3)===fl)bl+=To,Ss+=3,Os=!0;else if(fl===vo)bl+=fl,Os=!0;else{for(ks="";fl===vo||fl===Ro;)ks+=fl,fl=Zo.charAt(++Ss);if(fl!==Fo)break;bl+=ks+fl,ps+=fl}if(Gs)return Rs?!0:_o(tl)({type:"code",lang:null,meta:null,value:Vo(Gs)})}}}),Bp=qi({"node_modules/remark-parse/lib/tokenize/code-fenced.js"(Ps,vs){Go(),vs.exports=is;var Io= `
` ,Vo=" ",Fo=" ",vo="~",Ro=" ` ",Yo=3,To=4;function is(_o,Zo,Rs){var Ss=this,Us=Ss.options.gfm,tl=Zo.length+1,Gs=0,bl=" ",ps,fl,ks,Os,Bs,Vs,Pl,Zl,wc,Bl,fc,Cc,Rc;if(Us){for(;Gs<tl&&(ks=Zo.charAt(Gs),!(ks!==Fo&&ks!==Vo));)bl+=ks,Gs++;if(Cc=Gs,ks=Zo.charAt(Gs),!(ks!==vo&&ks!==Ro)){for(Gs++,fl=ks,ps=1,bl+=ks;Gs<tl&&(ks=Zo.charAt(Gs),ks===fl);)bl+=ks,ps++,Gs++;if(!(ps<Yo)){for(;Gs<tl&&(ks=Zo.charAt(Gs),!(ks!==Fo&&ks!==Vo));)bl+=ks,Gs++;for(Os=" ",Pl=" ";Gs<tl&&(ks=Zo.charAt(Gs),!(ks===Io||fl===Ro&&ks===fl));)ks===Fo||ks===Vo?Pl+=ks:(Os+=Pl+ks,Pl=" "),Gs++;if(ks=Zo.charAt(Gs),!(ks&&ks!==Io)){if(Rs)return!0;Rc=_o.now(),Rc.column+=bl.length,Rc.offset+=bl.length,bl+=Os,Os=Ss.decode.raw(Ss.unescape(Os),Rc),Pl&&(bl+=Pl),Pl=" ",Bl=" ",fc=" ",Zl=" ",wc=" ";for(var ol=!0;Gs<tl;){if(ks=Zo.charAt(Gs),Zl+=Bl,wc+=fc,Bl=" ",fc=" ",ks!==Io){Zl+=ks,fc+=ks,Gs++;continue}for(ol?(bl+=ks,ol=!1):(Bl+=ks,fc+=ks),Pl=" ",Gs++;Gs<tl&&(ks=Zo.charAt(Gs),ks===Fo);)Pl+=ks,Gs++;if(Bl+=Pl,fc+=Pl.slice(Cc),!(Pl.length>=To)){for(Pl=" ";Gs<tl&&(ks=Zo.charAt(Gs),ks===fl);)Pl+=ks,Gs++;if(Bl+=Pl,fc+=Pl,!(Pl.length<ps)){for(Pl=" ";Gs<tl&&(ks=Zo.charAt(Gs),!(ks!==Fo&&ks!==Vo));)Bl+=ks,fc+=ks,Gs++;if(!ks||ks===Io)break}}}for(bl+=Zl+Bl,Gs=-1,tl=Os.length;++Gs<tl;)if(ks=Os.charAt(Gs),ks===Fo||ks===Vo)Bs||(Bs=Os.slice(0,Gs));else if(Bs){Vs=Os.slice(Gs);break}return _o(bl)({type:" code ",lang:Bs||Os||null,meta:Vs||null,value:wc})}}}}}}}),Tf=qi({" node _modules / trim / index . js "(Ps,vs){Go(),Ps=vs.exports=Io;function Io(Vo){return Vo.replace(/^\s*|\s*$/g," ")}Ps.left=function(Vo){return Vo.replace(/^\s*/," ")},Ps.right=function(Vo){return Vo.replace(/\s*$/," ")}}}),Zf=qi({" node _modules / remark - parse / lib / util / interrupt . js "(Ps,vs){Go(),vs.exports=Io;function Io(Vo,Fo,vo,Ro){for(var Yo=Vo.length,To=-1,is,_o;++To<Yo;)if(is=Vo[To],_o=is[1]||{},!(_o.pedantic!==void 0&&_o.pedantic!==vo.options.pedantic)&&!(_o.commonmark!==void 0&&_o.commonmark!==vo.options.commonmark)&&Fo[is[0]].apply(vo,Ro))return!0;return!1}}}),Lf=qi({" node _modules / remark - parse / lib / tokenize / blockquote . js " ( Ps , vs ) { Go ( ) ; var Io = Tf ( ) , Vo = Zf ( ) ; vs . exports = To ; var Fo = `
` ,vo=" ",Ro=" ",Yo=">";function To(is,_o,Zo){for(var Rs=this,Ss=Rs.offset,Us=Rs.blockTokenizers,tl=Rs.interruptBlockquote,Gs=is.now(),bl=Gs.line,ps=_o.length,fl=[],ks=[],Os=[],Bs,Vs=0,Pl,Zl,wc,Bl,fc,Cc,Rc,ol;Vs<ps&&(Pl=_o.charAt(Vs),!(Pl!==Ro&&Pl!==vo));)Vs++;if(_o.charAt(Vs)===Yo){if(Zo)return!0;for(Vs=0;Vs<ps;){for(wc=_o.indexOf(Fo,Vs),Cc=Vs,Rc=!1,wc===-1&&(wc=ps);Vs<ps&&(Pl=_o.charAt(Vs),!(Pl!==Ro&&Pl!==vo));)Vs++;if(_o.charAt(Vs)===Yo?(Vs++,Rc=!0,_o.charAt(Vs)===Ro&&Vs++):Vs=Cc,Bl=_o.slice(Vs,wc),!Rc&&!Io(Bl)){Vs=Cc;break}if(!Rc&&(Zl=_o.slice(Vs),Vo(tl,Us,Rs,[is,Zl,!0])))break;fc=Cc===Vs?Bl:_o.slice(Cc,wc),Os.push(Vs-Cc),fl.push(fc),ks.push(Bl),Vs=wc+1}for(Vs=-1,ps=Os.length,Bs=is(fl.join(Fo));++Vs<ps;)Ss[bl]=(Ss[bl]||0)+Os[Vs],bl++;return ol=Rs.enterBlock(),ks=Rs.tokenizeBlock(ks.join(Fo),Gs),ol(),Bs({type:"blockquote",children:ks})}}}}),rm=qi({"node_modules/remark-parse/lib/tokenize/heading-atx.js"(Ps,vs){Go(),vs.exports=Yo;var Io= `
` ,Vo=" ",Fo=" ",vo="#",Ro=6;function Yo(To,is,_o){for(var Zo=this,Rs=Zo.options.pedantic,Ss=is.length+1,Us=-1,tl=To.now(),Gs="",bl="",ps,fl,ks;++Us<Ss;){if(ps=is.charAt(Us),ps!==Fo&&ps!==Vo){Us--;break}Gs+=ps}for(ks=0;++Us<=Ss;){if(ps=is.charAt(Us),ps!==vo){Us--;break}Gs+=ps,ks++}if(!(ks>Ro)&&!(!ks||!Rs&&is.charAt(Us+1)===vo)){for(Ss=is.length+1,fl="";++Us<Ss;){if(ps=is.charAt(Us),ps!==Fo&&ps!==Vo){Us--;break}fl+=ps}if(!(!Rs&&fl.length===0&&ps&&ps!==Io)){if(_o)return!0;for(Gs+=fl,fl="",bl="";++Us<Ss&&(ps=is.charAt(Us),!(!ps||ps===Io));){if(ps!==Fo&&ps!==Vo&&ps!==vo){bl+=fl+ps,fl="";continue}for(;ps===Fo||ps===Vo;)fl+=ps,ps=is.charAt(++Us);if(!Rs&&bl&&!fl&&ps===vo){bl+=ps;continue}for(;ps===vo;)fl+=ps,ps=is.charAt(++Us);for(;ps===Fo||ps===Vo;)fl+=ps,ps=is.charAt(++Us);Us--}return tl.column+=Gs.length,tl.offset+=Gs.length,Gs+=bl+fl,To(Gs)({type:"heading",depth:ks,children:Zo.tokenizeInline(bl,tl)})}}}}}),rf=qi({"node_modules/remark-parse/lib/tokenize/thematic-break.js"(Ps,vs){Go(),vs.exports=is;var Io=" ",Vo= `
` ,Fo=" ",vo="*",Ro="-",Yo="_",To=3;function is(_o,Zo,Rs){for(var Ss=-1,Us=Zo.length+1,tl="",Gs,bl,ps,fl;++Ss<Us&&(Gs=Zo.charAt(Ss),!(Gs!==Io&&Gs!==Fo));)tl+=Gs;if(!(Gs!==vo&&Gs!==Ro&&Gs!==Yo))for(bl=Gs,tl+=Gs,ps=1,fl="";++Ss<Us;)if(Gs=Zo.charAt(Ss),Gs===bl)ps++,tl+=fl+bl,fl="";else if(Gs===Fo)fl+=Gs;else return ps>=To&&(!Gs||Gs===Vo)?(tl+=fl,Rs?!0:_o(tl)({type:"thematicBreak"})):void 0}}}),xm=qi({"node_modules/remark-parse/lib/util/get-indentation.js"(Ps,vs){Go(),vs.exports=Ro;var Io=" ",Vo=" ",Fo=1,vo=4;function Ro(Yo){for(var To=0,is=0,_o=Yo.charAt(To),Zo={},Rs,Ss=0;_o===Io||_o===Vo;){for(Rs=_o===Io?vo:Fo,is+=Rs,Rs>1&&(is=Math.floor(is/Rs)*Rs);Ss<is;)Zo[++Ss]=To;_o=Yo.charAt(++To)}return{indent:is,stops:Zo}}}}),Um=qi({"node_modules/remark-parse/lib/util/remove-indentation.js"(Ps,vs){Go();var Io=Tf(),Vo=Vf(),Fo=xm();vs.exports=To;var vo= `
` ,Ro=" ",Yo="!";function To(is,_o){var Zo=is.split(vo),Rs=Zo.length+1,Ss=1/0,Us=[],tl,Gs,bl;for(Zo.unshift(Vo(Ro,_o)+Yo);Rs--;)if(Gs=Fo(Zo[Rs]),Us[Rs]=Gs.stops,Io(Zo[Rs]).length!==0)if(Gs.indent)Gs.indent>0&&Gs.indent<Ss&&(Ss=Gs.indent);else{Ss=1/0;break}if(Ss!==1/0)for(Rs=Zo.length;Rs--;){for(bl=Us[Rs],tl=Ss;tl&&!(tl in bl);)tl--;Zo[Rs]=Zo[Rs].slice(bl[tl]+1)}return Zo.shift(),Zo.join(vo)}}}),df=qi({"node_modules/remark-parse/lib/tokenize/list.js"(Ps,vs){Go();var Io=Tf(),Vo=Vf(),Fo=ds(),vo=xm(),Ro=Um(),Yo=Zf();vs.exports=Pl;var To="*",is="_",_o="+",Zo="-",Rs=".",Ss=" ",Us= `
` ,tl=" ",Gs=")",bl="x",ps=4,fl=/ \n \n (?! \s * $ )/,ks=/^ \[ ([ X \t x])][ \t ]/,Os=/^([ \t ]*)([*+-]| \d +[.)])( {1,4}(?! )| | \t | $ |(?= \n ))([^ \n ]*)/,Bs=/^([ \t ]*)([*+-]| \d +[.)])([ \t ]+)/,Vs=/^( {1,4}| \t )?/gm;function Pl(fc,Cc,Rc){for(var ol=this,kc=ol.options.commonmark,Jc=ol.options.pedantic,pu=ol.blockTokenizers,io=ol.interruptList,xc=0,Au=Cc.length,Oc=null,cc,Lc,Hl, $ l,tc,Ic,gu,Pu,zu,qd,Ou,gp,Jp,jp,Ep,cd,Rd,ff,mf,Rf=!1,lf,dp,Cp,xp;xc<Au&&( $ l=Cc.charAt(xc),!( $ l!==tl&& $ l!==Ss));)xc++;if( $ l=Cc.charAt(xc), $ l===To|| $ l===_o|| $ l===Zo)tc= $ l,Hl=!1;else{for(Hl=!0,Lc="";xc<Au&&( $ l=Cc.charAt(xc),!!Fo( $ l));)Lc+= $ l,xc++;if( $ l=Cc.charAt(xc),!Lc||!( $ l===Rs||kc&& $ l===Gs)||Rc&&Lc!=="1")return;Oc=parseInt(Lc,10),tc= $ l}if( $ l=Cc.charAt(++xc),!( $ l!==Ss&& $ l!==tl&&(Jc|| $ l!==Us&& $ l!==""))){if(Rc)return!0;for(xc=0,jp=[],Ep=[],cd=[];xc<Au;){for(Ic=Cc.indexOf(Us,xc),gu=xc,Pu=!1,xp=!1,Ic===-1&&(Ic=Au),cc=0;xc<Au;){if( $ l=Cc.charAt(xc), $ l===tl)cc+=ps-cc%ps;else if( $ l===Ss)cc++;else break;xc++}if(Rd&&cc>=Rd.indent&&(xp=!0), $ l=Cc.charAt(xc),zu=null,!xp){if( $ l===To|| $ l===_o|| $ l===Zo)zu= $ l,xc++,cc++;else{for(Lc="";xc<Au&&( $ l=Cc.charAt(xc),!!Fo( $ l));)Lc+= $ l,xc++; $ l=Cc.charAt(xc),xc++,Lc&&( $ l===Rs||kc&& $ l===Gs)&&(zu= $ l,cc+=Lc.length+1)}if(zu)if( $ l=Cc.charAt(xc), $ l===tl)cc+=ps-cc%ps,xc++;else if( $ l===Ss){for(Cp=xc+ps;xc<Cp&&Cc.charAt(xc)===Ss;)xc++,cc++;xc===Cp&&Cc.charAt(xc)===Ss&&(xc-=ps-1,cc-=ps-1)}else $ l!==Us&& $ l!==""&&(zu=null)}if(zu){if(!Jc&&tc!==zu)break;Pu=!0}else!kc&&!xp&&Cc.charAt(gu)===Ss?xp=!0:kc&&Rd&&(xp=cc>=Rd.indent||cc>ps),Pu=!1,xc=gu;if(Ou=Cc.slice(gu,Ic),qd=gu===xc?Ou:Cc.slice(xc,Ic),(zu===To||zu===is||zu===Zo)&&pu.thematicBreak.call(ol,fc,Ou,!0))break;if(gp=Jp,Jp=!Pu&&!Io(qd).length,xp&&Rd)Rd.value=Rd.value.concat(cd,Ou),Ep=Ep.concat(cd,Ou),cd=[];else if(Pu)cd.length!==0&&(Rf=!0,Rd.value.push(""),Rd.trail=cd.concat()),Rd={value:[Ou],indent:cc,trail:[]},jp.push(Rd),Ep=Ep.concat(cd,Ou),cd=[];else if(Jp){if(gp&&!kc)break;cd.push(Ou)}else{if(gp||Yo(io,pu,ol,[fc,Ou,!0]))break;Rd.value=Rd.value.concat(cd,Ou),Ep=Ep.concat(cd,Ou),cd=[]}xc=Ic+1}for(lf=fc(Ep.join(Us)).reset({type:"list",ordered:Hl,start:Oc,spread:Rf,children:[]}),ff=ol.enterList(),mf=ol.enterBlock(),xc=-1,Au=jp.length;++xc<Au;)Rd=jp[xc].value.join(Us),dp=fc.now(),fc(Rd)(Zl(ol,Rd,dp),lf),Rd=jp[xc].trail.join(Us),xc!==Au-1&&(Rd+=Us),fc(Rd);return ff(),mf(),lf}}function Zl(fc,Cc,Rc){var ol=fc.offset,kc=fc.options.pedantic?wc:Bl,Jc=null,pu,io;return Cc=kc.apply(null,arguments),fc.options.gfm&&(pu=Cc.match(ks),pu&&(io=pu[0].length,Jc=pu[1].toLowerCase()===bl,ol[Rc.line]+=io,Cc=Cc.slice(io))),{type:"listItem",spread:fl.test(Cc),checked:Jc,children:fc.tokenizeBlock(Cc,Rc)}}function wc(fc,Cc,Rc){var ol=fc.offset,kc=Rc.line;return Cc=Cc.replace(Bs,Jc),kc=Rc.line,Cc.replace(Vs,Jc);function Jc(pu){return ol[kc]=(ol[kc]||0)+pu.length,kc++,""}}function Bl(fc,Cc,Rc){var ol=fc.offset,kc=Rc.line,Jc,pu,io,xc,Au,Oc,cc;for(Cc=Cc.replace(Os,Lc),xc=Cc.split(Us),Au=Ro(Cc,vo(Jc).indent).split(Us),Au[0]=io,ol[kc]=(ol[kc]||0)+pu.length,kc++,Oc=0,cc=xc.length;++Oc<cc;)ol[kc]=(ol[kc]||0)+xc[Oc].length-Au[Oc].length,kc++;return Au.join(Us);function Lc(Hl, $ l,tc,Ic,gu){return pu= $ l+tc+Ic,io=gu,Number(tc)<10&&pu.length%2===1&&(tc=Ss+tc),Jc= $ l+Vo(Ss,tc.length)+Ic,Jc+io}}}}),hm=qi({"node_modules/remark-parse/lib/tokenize/heading-setext.js"(Ps,vs){Go(),vs.exports=_o;var Io= `
` ,Vo=" ",Fo=" ",vo="=",Ro="-",Yo=3,To=1,is=2;function _o(Zo,Rs,Ss){for(var Us=this,tl=Zo.now(),Gs=Rs.length,bl=-1,ps="",fl,ks,Os,Bs,Vs;++bl<Gs;){if(Os=Rs.charAt(bl),Os!==Fo||bl>=Yo){bl--;break}ps+=Os}for(fl="",ks="";++bl<Gs;){if(Os=Rs.charAt(bl),Os===Io){bl--;break}Os===Fo||Os===Vo?ks+=Os:(fl+=ks+Os,ks="")}if(tl.column+=ps.length,tl.offset+=ps.length,ps+=fl+ks,Os=Rs.charAt(++bl),Bs=Rs.charAt(++bl),!(Os!==Io||Bs!==vo&&Bs!==Ro)){for(ps+=Os,ks=Bs,Vs=Bs===vo?To:is;++bl<Gs;){if(Os=Rs.charAt(bl),Os!==Bs){if(Os!==Io)return;bl--;break}ks+=Os}return Ss?!0:Zo(ps+ks)({type:"heading",depth:Vs,children:Us.tokenizeInline(fl,tl)})}}}}),Hf=qi({"node_modules/remark-parse/lib/util/html.js"(Ps){Go();var vs="[a-zA-Z_:][a-zA-Z0-9:._-]*",Io="[^ \" '=<> ` \ \u0000 - \ \u0020 ] + ",Vo=" '[^' ] * '",Fo=' "[^" ] * "',vo=" ( ? : "+Io+" | "+Vo+" | "+Fo+" ) ",Ro=" ( ? : \ \ s + "+vs+" ( ? : \ \ s *= \ \ s * "+vo+" ) ? ) ",Yo=" < [ A - Za - z ] [ A - Za - z0 - 9 \ \ - ] * "+Ro+" * \ \ s * \ \ / ? > ",To=" < \ \ / [ A - Za - z ] [ A - Za - z0 - 9 \ \ - ] * \ \ s * > ",is=" <!-- -- > | <!-- ( ? : - ? [ ^ > - ] ) ( ? : - ? [ ^ - ] ) * -- > ",_o=" < [ ? ] . * ? [ ? ] > ",Zo=" < ! [ A - Za - z ] + \ \ s + [ ^ > ] * > ",Rs=" < ! \ \ [ CDATA \ \ [ [ \ \ s \ \ S ] * ? \ \ ] \ \ ] > ";Ps.openCloseTag=new RegExp(" ^ ( ? : "+Yo+" | "+To+" ) "),Ps.tag=new RegExp(" ^ ( ? : "+Yo+" | "+To+" | "+is+" | "+_o+" | "+Zo+" | "+Rs+" ) ")}}),Ah=qi({" node _modules / remark - parse / lib / tokenize / html - block . js "(Ps,vs){Go();var Io=Hf().openCloseTag;vs.exports=fl;var Vo=" ",Fo=" " , vo = `
` ,Ro="<",Yo=/^<(script|pre|style)(?=( \s |>| $ ))/i,To=/< \/ (script|pre|style)>/i,is=/^<!--/,_o=/-->/,Zo=/^< \? /,Rs=/ \? >/,Ss=/^<![A-Za-z]/,Us=/>/,tl=/^<! \[ CDATA \[ /,Gs=/]]>/,bl=/^ $ /,ps=new RegExp(Io.source+" \\ s* $ ");function fl(ks,Os,Bs){for(var Vs=this,Pl=Vs.options.blocks.join("|"),Zl=new RegExp("^</?("+Pl+")(?=( \\ s|/?>| $ ))","i"),wc=Os.length,Bl=0,fc,Cc,Rc,ol,kc,Jc,pu,io=[[Yo,To,!0],[is,_o,!0],[Zo,Rs,!0],[Ss,Us,!0],[tl,Gs,!0],[Zl,bl,!0],[ps,bl,!1]];Bl<wc&&(ol=Os.charAt(Bl),!(ol!==Vo&&ol!==Fo));)Bl++;if(Os.charAt(Bl)===Ro){for(fc=Os.indexOf(vo,Bl+1),fc=fc===-1?wc:fc,Cc=Os.slice(Bl,fc),Rc=-1,kc=io.length;++Rc<kc;)if(io[Rc][0].test(Cc)){Jc=io[Rc];break}if(Jc){if(Bs)return Jc[2];if(Bl=fc,!Jc[1].test(Cc))for(;Bl<wc;){if(fc=Os.indexOf(vo,Bl+1),fc=fc===-1?wc:fc,Cc=Os.slice(Bl+1,fc),Jc[1].test(Cc)){Cc&&(Bl=fc);break}Bl=fc}return pu=Os.slice(0,Bl),ks(pu)({type:"html",value:pu})}}}}}),zf=qi({"node_modules/is-whitespace-character/index.js"(Ps,vs){Go(),vs.exports=Fo;var Io=String.fromCharCode,Vo=/ \s /;function Fo(vo){return Vo.test(typeof vo=="number"?Io(vo):vo.charAt(0))}}}),Gh=qi({"node_modules/collapse-white-space/index.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo){return String(Vo).replace(/ \s +/g," ")}}}),Nm=qi({"node_modules/remark-parse/lib/util/normalize.js"(Ps,vs){Go();var Io=Gh();vs.exports=Vo;function Vo(Fo){return Io(Fo).toLowerCase()}}}),Vm=qi({"node_modules/remark-parse/lib/tokenize/definition.js"(Ps,vs){Go();var Io=zf(),Vo=Nm();vs.exports=bl;var Fo='"',vo="'",Ro=" \\ ",Yo= `
` ,To=" ",is=" ",_o="[",Zo="]",Rs="(",Ss=")",Us=":",tl="<",Gs=">";function bl(ks,Os,Bs){for(var Vs=this,Pl=Vs.options.commonmark,Zl=0,wc=Os.length,Bl="",fc,Cc,Rc,ol,kc,Jc,pu,io;Zl<wc&&(ol=Os.charAt(Zl),!(ol!==is&&ol!==To));)Bl+=ol,Zl++;if(ol=Os.charAt(Zl),ol===_o){for(Zl++,Bl+=ol,Rc="";Zl<wc&&(ol=Os.charAt(Zl),ol!==Zo);)ol===Ro&&(Rc+=ol,Zl++,ol=Os.charAt(Zl)),Rc+=ol,Zl++;if(!(!Rc||Os.charAt(Zl)!==Zo||Os.charAt(Zl+1)!==Us)){for(Jc=Rc,Bl+=Rc+Zo+Us,Zl=Bl.length,Rc="";Zl<wc&&(ol=Os.charAt(Zl),!(ol!==To&&ol!==is&&ol!==Yo));)Bl+=ol,Zl++;if(ol=Os.charAt(Zl),Rc="",fc=Bl,ol===tl){for(Zl++;Zl<wc&&(ol=Os.charAt(Zl),!!ps(ol));)Rc+=ol,Zl++;if(ol=Os.charAt(Zl),ol===ps.delimiter)Bl+=tl+Rc+ol,Zl++;else{if(Pl)return;Zl-=Rc.length+1,Rc=""}}if(!Rc){for(;Zl<wc&&(ol=Os.charAt(Zl),!!fl(ol));)Rc+=ol,Zl++;Bl+=Rc}if(Rc){for(pu=Rc,Rc="";Zl<wc&&(ol=Os.charAt(Zl),!(ol!==To&&ol!==is&&ol!==Yo));)Rc+=ol,Zl++;if(ol=Os.charAt(Zl),kc=null,ol===Fo?kc=Fo:ol===vo?kc=vo:ol===Rs&&(kc=Ss),!kc)Rc="",Zl=Bl.length;else if(Rc){for(Bl+=Rc+ol,Zl=Bl.length,Rc="";Zl<wc&&(ol=Os.charAt(Zl),ol!==kc);){if(ol===Yo){if(Zl++,ol=Os.charAt(Zl),ol===Yo||ol===kc)return;Rc+=Yo}Rc+=ol,Zl++}if(ol=Os.charAt(Zl),ol!==kc)return;Cc=Bl,Bl+=Rc+ol,Zl++,io=Rc,Rc=""}else return;for(;Zl<wc&&(ol=Os.charAt(Zl),!(ol!==To&&ol!==is));)Bl+=ol,Zl++;if(ol=Os.charAt(Zl),!ol||ol===Yo)return Bs?!0:(fc=ks(fc).test().end,pu=Vs.decode.raw(Vs.unescape(pu),fc,{nonTerminated:!1}),io&&(Cc=ks(Cc).test().end,io=Vs.decode.raw(Vs.unescape(io),Cc)),ks(Bl)({type:"definition",identifier:Vo(Jc),label:Jc,title:io||null,url:pu}))}}}}function ps(ks){return ks!==Gs&&ks!==_o&&ks!==Zo}ps.delimiter=Gs;function fl(ks){return ks!==_o&&ks!==Zo&&!Io(ks)}}}),Hm=qi({"node_modules/remark-parse/lib/tokenize/table.js"(Ps,vs){Go();var Io=zf();vs.exports=tl;var Vo=" ",Fo= `
` ,vo=" ",Ro="-",Yo=":",To=" \\ ",is="|",_o=1,Zo=2,Rs="left",Ss="center",Us="right";function tl(Gs,bl,ps){var fl=this,ks,Os,Bs,Vs,Pl,Zl,wc,Bl,fc,Cc,Rc,ol,kc,Jc,pu,io,xc,Au,Oc,cc,Lc,Hl;if(fl.options.gfm){for(ks=0,io=0,Zl=bl.length+1,wc=[];ks<Zl;){if(cc=bl.indexOf(Fo,ks),Lc=bl.indexOf(is,ks+1),cc===-1&&(cc=bl.length),Lc===-1||Lc>cc){if(io<Zo)return;break}wc.push(bl.slice(ks,cc)),io++,ks=cc+1}for(Vs=wc.join(Fo),Os=wc.splice(1,1)[0]||[],ks=0,Zl=Os.length,io--,Bs=!1,Rc=[];ks<Zl;){if(fc=Os.charAt(ks),fc===is){if(Cc=null,Bs===!1){if(Hl===!1)return}else Rc.push(Bs),Bs=!1;Hl=!1}else if(fc===Ro)Cc=!0,Bs=Bs||null;else if(fc===Yo)Bs===Rs?Bs=Ss:Cc&&Bs===null?Bs=Us:Bs=Rs;else if(!Io(fc))return;ks++}if(Bs!==!1&&Rc.push(Bs),!(Rc.length<_o)){if(ps)return!0;for(pu=-1,Au=[],Oc=Gs(Vs).reset({type:"table",align:Rc,children:Au});++pu<io;){for(xc=wc[pu],Pl={type:"tableRow",children:[]},pu&&Gs(Fo),Gs(xc).reset(Pl,Oc),Zl=xc.length+1,ks=0,Bl="",ol="",kc=!0;ks<Zl;){if(fc=xc.charAt(ks),fc===Vo||fc===vo){ol?Bl+=fc:Gs(fc),ks++;continue}fc===""||fc===is?kc?Gs(fc):((ol||fc)&&!kc&&(Vs=ol,Bl.length>1&&(fc?(Vs+=Bl.slice(0,-1),Bl=Bl.charAt(Bl.length-1)):(Vs+=Bl,Bl="")),Jc=Gs.now(),Gs(Vs)({type:"tableCell",children:fl.tokenizeInline(ol,Jc)},Pl)),Gs(Bl+fc),Bl="",ol=""):(Bl&&(ol+=Bl,Bl=""),ol+=fc,fc===To&&ks!==Zl-2&&(ol+=xc.charAt(ks+1),ks++)),kc=!1,ks++}pu||Gs(Fo+Os)}return Oc}}}}}),jd=qi({"node_modules/remark-parse/lib/tokenize/paragraph.js"(Ps,vs){Go();var Io=Tf(),Vo=Du(),Fo=Zf();vs.exports=is;var vo=" ",Ro= `
` ,Yo=" ",To=4;function is(_o,Zo,Rs){for(var Ss=this,Us=Ss.options,tl=Us.commonmark,Gs=Ss.blockTokenizers,bl=Ss.interruptParagraph,ps=Zo.indexOf(Ro),fl=Zo.length,ks,Os,Bs,Vs,Pl;ps<fl;){if(ps===-1){ps=fl;break}if(Zo.charAt(ps+1)===Ro)break;if(tl){for(Vs=0,ks=ps+1;ks<fl;){if(Bs=Zo.charAt(ks),Bs===vo){Vs=To;break}else if(Bs===Yo)Vs++;else break;ks++}if(Vs>=To&&Bs!==Ro){ps=Zo.indexOf(Ro,ps+1);continue}}if(Os=Zo.slice(ps+1),Fo(bl,Gs,Ss,[_o,Os,!0]))break;if(ks=ps,ps=Zo.indexOf(Ro,ps+1),ps!==-1&&Io(Zo.slice(ks,ps))===""){ps=ks;break}}return Os=Zo.slice(0,ps),Rs?!0:(Pl=_o.now(),Os=Vo(Os),_o(Os)({type:"paragraph",children:Ss.tokenizeInline(Os,Pl)}))}}}),Fd=qi({"node_modules/remark-parse/lib/locate/escape.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo,Fo){return Vo.indexOf(" \\ ",Fo)}}}),Yp=qi({"node_modules/remark-parse/lib/tokenize/escape.js"(Ps,vs){Go();var Io=Fd();vs.exports=vo,vo.locator=Io;var Vo= `
` ,Fo=" \\ ";function vo(Ro,Yo,To){var is=this,_o,Zo;if(Yo.charAt(0)===Fo&&(_o=Yo.charAt(1),is.escape.indexOf(_o)!==-1))return To?!0:(_o===Vo?Zo={type:"break"}:Zo={type:"text",value:_o},Ro(Fo+_o)(Zo))}}}),Cf=qi({"node_modules/remark-parse/lib/locate/tag.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo,Fo){return Vo.indexOf("<",Fo)}}}),od=qi({"node_modules/remark-parse/lib/tokenize/auto-link.js"(Ps,vs){Go();var Io=zf(),Vo=Od(),Fo=Cf();vs.exports=Zo,Zo.locator=Fo,Zo.notInLink=!0;var vo="<",Ro=">",Yo="@",To="/",is="mailto:",_o=is.length;function Zo(Rs,Ss,Us){var tl=this,Gs="",bl=Ss.length,ps=0,fl="",ks=!1,Os="",Bs,Vs,Pl,Zl,wc;if(Ss.charAt(0)===vo){for(ps++,Gs=vo;ps<bl&&(Bs=Ss.charAt(ps),!(Io(Bs)||Bs===Ro||Bs===Yo||Bs===":"&&Ss.charAt(ps+1)===To));)fl+=Bs,ps++;if(fl){if(Os+=fl,fl="",Bs=Ss.charAt(ps),Os+=Bs,ps++,Bs===Yo)ks=!0;else{if(Bs!==":"||Ss.charAt(ps+1)!==To)return;Os+=To,ps++}for(;ps<bl&&(Bs=Ss.charAt(ps),!(Io(Bs)||Bs===Ro));)fl+=Bs,ps++;if(Bs=Ss.charAt(ps),!(!fl||Bs!==Ro))return Us?!0:(Os+=fl,Pl=Os,Gs+=Os+Bs,Vs=Rs.now(),Vs.column++,Vs.offset++,ks&&(Os.slice(0,_o).toLowerCase()===is?(Pl=Pl.slice(_o),Vs.column+=_o,Vs.offset+=_o):Os=is+Os),Zl=tl.inlineTokenizers,tl.inlineTokenizers={text:Zl.text},wc=tl.enterLink(),Pl=tl.tokenizeInline(Pl,Vs),tl.inlineTokenizers=Zl,wc(),Rs(Gs)({type:"link",title:null,url:Vo(Os,{nonTerminated:!1}),children:Pl}))}}}}}),gm=qi({"node_modules/ccount/index.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo,Fo){var vo=String(Vo),Ro=0,Yo;if(typeof Fo!="string")throw new Error("Expected character");for(Yo=vo.indexOf(Fo);Yo!==-1;)Ro++,Yo=vo.indexOf(Fo,Yo+Fo.length);return Ro}}}),oh=qi({"node_modules/remark-parse/lib/locate/url.js"(Ps,vs){Go(),vs.exports=Vo;var Io=["www.","http://","https://"];function Vo(Fo,vo){var Ro=-1,Yo,To,is;if(!this.options.gfm)return Ro;for(To=Io.length,Yo=-1;++Yo<To;)is=Fo.indexOf(Io[Yo],vo),is!==-1&&(Ro===-1||is<Ro)&&(Ro=is);return Ro}}}),wf=qi({"node_modules/remark-parse/lib/tokenize/url.js"(Ps,vs){Go();var Io=gm(),Vo=Od(),Fo=ds(),vo=Nc(),Ro=zf(),Yo=oh();vs.exports=Vs,Vs.locator=Yo,Vs.notInLink=!0;var To=33,is=38,_o=41,Zo=42,Rs=44,Ss=45,Us=46,tl=58,Gs=59,bl=63,ps=60,fl=95,ks=126,Os="(",Bs=")";function Vs(Pl,Zl,wc){var Bl=this,fc=Bl.options.gfm,Cc=Bl.inlineTokenizers,Rc=Zl.length,ol=-1,kc=!1,Jc,pu,io,xc,Au,Oc,cc,Lc,Hl, $ l,tc,Ic,gu,Pu;if(fc){if(Zl.slice(0,4)==="www.")kc=!0,xc=4;else if(Zl.slice(0,7).toLowerCase()==="http://")xc=7;else if(Zl.slice(0,8).toLowerCase()==="https://")xc=8;else return;for(ol=xc-1,io=xc,Jc=[];xc<Rc;){if(cc=Zl.charCodeAt(xc),cc===Us){if(ol===xc-1)break;Jc.push(xc),ol=xc,xc++;continue}if(Fo(cc)||vo(cc)||cc===Ss||cc===fl){xc++;continue}break}if(cc===Us&&(Jc.pop(),xc--),Jc[0]!==void 0&&(pu=Jc.length<2?io:Jc[Jc.length-2]+1,Zl.slice(pu,xc).indexOf("_")===-1)){if(wc)return!0;for(Lc=xc,Au=xc;xc<Rc&&(cc=Zl.charCodeAt(xc),!(Ro(cc)||cc===ps));)xc++,cc===To||cc===Zo||cc===Rs||cc===Us||cc===tl||cc===bl||cc===fl||cc===ks||(Lc=xc);if(xc=Lc,Zl.charCodeAt(xc-1)===_o)for(Oc=Zl.slice(Au,xc),Hl=Io(Oc,Os), $ l=Io(Oc,Bs); $ l>Hl;)xc=Au+Oc.lastIndexOf(Bs),Oc=Zl.slice(Au,xc), $ l--;if(Zl.charCodeAt(xc-1)===Gs&&(xc--,vo(Zl.charCodeAt(xc-1)))){for(Lc=xc-2;vo(Zl.charCodeAt(Lc));)Lc--;Zl.charCodeAt(Lc)===is&&(xc=Lc)}return tc=Zl.slice(0,xc),gu=Vo(tc,{nonTerminated:!1}),kc&&(gu="http://"+gu),Pu=Bl.enterLink(),Bl.inlineTokenizers={text:Cc.text},Ic=Bl.tokenizeInline(tc,Pl.now()),Bl.inlineTokenizers=Cc,Pu(),Pl(tc)({type:"link",title:null,url:gu,children:Ic})}}}}}),zm=qi({"node_modules/remark-parse/lib/locate/email.js"(Ps,vs){Go();var Io=ds(),Vo=Nc(),Fo=43,vo=45,Ro=46,Yo=95;vs.exports=To;function To(_o,Zo){var Rs=this,Ss,Us;if(!this.options.gfm||(Ss=_o.indexOf("@",Zo),Ss===-1))return-1;if(Us=Ss,Us===Zo||!is(_o.charCodeAt(Us-1)))return To.call(Rs,_o,Ss+1);for(;Us>Zo&&is(_o.charCodeAt(Us-1));)Us--;return Us}function is(_o){return Io(_o)||Vo(_o)||_o===Fo||_o===vo||_o===Ro||_o===Yo}}}),qm=qi({"node_modules/remark-parse/lib/tokenize/email.js"(Ps,vs){Go();var Io=Od(),Vo=ds(),Fo=Nc(),vo=zm();vs.exports=Zo,Zo.locator=vo,Zo.notInLink=!0;var Ro=43,Yo=45,To=46,is=64,_o=95;function Zo(Rs,Ss,Us){var tl=this,Gs=t
` ,vo="!",Ro='"',Yo="'",To="(",is=")",_o="<",Zo=">",Rs="[",Ss=" \\ ",Us="]",tl=" ` ";function Gs(bl,ps,fl){var ks=this,Os=" ",Bs=0,Vs=ps.charAt(0),Pl=ks.options.pedantic,Zl=ks.options.commonmark,wc=ks.options.gfm,Bl,fc,Cc,Rc,ol,kc,Jc,pu,io,xc,Au,Oc,cc,Lc,Hl,$l,tc,Ic;if(Vs===vo&&(pu=!0,Os=Vs,Vs=ps.charAt(++Bs)),Vs===Rs&&!(!pu&&ks.inLink)){for(Os+=Vs,Lc=" ",Bs++,Au=ps.length,$l=bl.now(),cc=0,$l.column+=Bs,$l.offset+=Bs;Bs<Au;){if(Vs=ps.charAt(Bs),kc=Vs,Vs===tl){for(fc=1;ps.charAt(Bs+1)===tl;)kc+=Vs,Bs++,fc++;Cc?fc>=Cc&&(Cc=0):Cc=fc}else if(Vs===Ss)Bs++,kc+=ps.charAt(Bs);else if((!Cc||wc)&&Vs===Rs)cc++;else if((!Cc||wc)&&Vs===Us)if(cc)cc--;else{if(ps.charAt(Bs+1)!==To)return;kc+=To,Bl=!0,Bs++;break}Lc+=kc,kc=" ",Bs++}if(Bl){for(io=Lc,Os+=Lc+kc,Bs++;Bs<Au&&(Vs=ps.charAt(Bs),!!Io(Vs));)Os+=Vs,Bs++;if(Vs=ps.charAt(Bs),Lc=" ",Rc=Os,Vs===_o){for(Bs++,Rc+=_o;Bs<Au&&(Vs=ps.charAt(Bs),Vs!==Zo);){if(Zl&&Vs===Fo)return;Lc+=Vs,Bs++}if(ps.charAt(Bs)!==Zo)return;Os+=_o+Lc+Zo,Hl=Lc,Bs++}else{for(Vs=null,kc=" ";Bs<Au&&(Vs=ps.charAt(Bs),!(kc&&(Vs===Ro||Vs===Yo||Zl&&Vs===To)));){if(Io(Vs)){if(!Pl)break;kc+=Vs}else{if(Vs===To)cc++;else if(Vs===is){if(cc===0)break;cc--}Lc+=kc,kc=" ",Vs===Ss&&(Lc+=Ss,Vs=ps.charAt(++Bs)),Lc+=Vs}Bs++}Os+=Lc,Hl=Lc,Bs=Os.length}for(Lc=" ";Bs<Au&&(Vs=ps.charAt(Bs),!!Io(Vs));)Lc+=Vs,Bs++;if(Vs=ps.charAt(Bs),Os+=Lc,Lc&&(Vs===Ro||Vs===Yo||Zl&&Vs===To))if(Bs++,Os+=Vs,Lc=" ",xc=Vs===To?is:Vs,ol=Os,Zl){for(;Bs<Au&&(Vs=ps.charAt(Bs),Vs!==xc);)Vs===Ss&&(Lc+=Ss,Vs=ps.charAt(++Bs)),Bs++,Lc+=Vs;if(Vs=ps.charAt(Bs),Vs!==xc)return;for(Oc=Lc,Os+=Lc+Vs,Bs++;Bs<Au&&(Vs=ps.charAt(Bs),!!Io(Vs));)Os+=Vs,Bs++}else for(kc=" ";Bs<Au;){if(Vs=ps.charAt(Bs),Vs===xc)Jc&&(Lc+=xc+kc,kc=" "),Jc=!0;else if(!Jc)Lc+=Vs;else if(Vs===is){Os+=Lc+xc+kc,Oc=Lc;break}else Io(Vs)?kc+=Vs:(Lc+=xc+kc+Vs,kc=" ",Jc=!1);Bs++}if(ps.charAt(Bs)===is)return fl?!0:(Os+=is,Hl=ks.decode.raw(ks.unescape(Hl),bl(Rc).test().end,{nonTerminated:!1}),Oc&&(ol=bl(ol).test().end,Oc=ks.decode.raw(ks.unescape(Oc),ol)),Ic={type:pu?" image ":" link ",title:Oc||null,url:Hl},pu?Ic.alt=ks.decode.raw(ks.unescape(io),$l)||null:(tc=ks.enterLink(),Ic.children=ks.tokenizeInline(io,$l),tc()),bl(Os)(Ic))}}}}}),Gf=qi({" node _modules / remark - parse / lib / tokenize / reference . js "(Ps,vs){Go();var Io=zf(),Vo=Am(),Fo=Nm();vs.exports=Us,Us.locator=Vo;var vo=" link ",Ro=" image ",Yo=" shortcut ",To=" collapsed ",is=" full ",_o=" ! ",Zo=" [ ",Rs=" \ \ ",Ss=" ] ";function Us(tl,Gs,bl){var ps=this,fl=ps.options.commonmark,ks=Gs.charAt(0),Os=0,Bs=Gs.length,Vs=" ",Pl=" ",Zl=vo,wc=Yo,Bl,fc,Cc,Rc,ol,kc,Jc,pu;if(ks===_o&&(Zl=Ro,Pl=ks,ks=Gs.charAt(++Os)),ks===Zo){for(Os++,Pl+=ks,kc=" ",pu=0;Os<Bs;){if(ks=Gs.charAt(Os),ks===Zo)Jc=!0,pu++;else if(ks===Ss){if(!pu)break;pu--}ks===Rs&&(kc+=Rs,ks=Gs.charAt(++Os)),kc+=ks,Os++}if(Vs=kc,Bl=kc,ks=Gs.charAt(Os),ks===Ss){if(Os++,Vs+=ks,kc=" ",!fl)for(;Os<Bs&&(ks=Gs.charAt(Os),!!Io(ks));)kc+=ks,Os++;if(ks=Gs.charAt(Os),ks===Zo){for(fc=" ",kc+=ks,Os++;Os<Bs&&(ks=Gs.charAt(Os),!(ks===Zo||ks===Ss));)ks===Rs&&(fc+=Rs,ks=Gs.charAt(++Os)),fc+=ks,Os++;ks=Gs.charAt(Os),ks===Ss?(wc=fc?is:To,kc+=fc+ks,Os++):fc=" ",Vs+=kc,kc=" "}else{if(!Bl)return;fc=Bl}if(!(wc!==is&&Jc))return Vs=Pl+Vs,Zl===vo&&ps.inLink?null:bl?!0:(Cc=tl.now(),Cc.column+=Pl.length,Cc.offset+=Pl.length,fc=wc===is?fc:Bl,Rc={type:Zl+" Reference ",identifier:Fo(fc),label:fc,referenceType:wc},Zl===vo?(ol=ps.enterLink(),Rc.children=ps.tokenizeInline(Bl,Cc),ol()):Rc.alt=ps.decode.raw(ps.unescape(Bl),Cc)||null,tl(Vs)(Rc))}}}}}),Dm=qi({" node _modules / remark - parse / lib / locate / strong . js "(Ps,vs){Go(),vs.exports=Io;function Io(Vo,Fo){var vo=Vo.indexOf(" * * ",Fo),Ro=Vo.indexOf(" _ _ ",Fo);return Ro===-1?vo:vo===-1||Ro<vo?Ro:vo}}}),_p=qi({" node _modules / remark - parse / lib / tokenize / strong . js "(Ps,vs){Go();var Io=Tf(),Vo=zf(),Fo=Dm();vs.exports=To,To.locator=Fo;var vo=" \ \ ",Ro=" * ",Yo=" _ ";function To(is,_o,Zo){var Rs=this,Ss=0,Us=_o.charAt(Ss),tl,Gs,bl,ps,fl,ks,Os;if(!(Us!==Ro&&Us!==Yo||_o.charAt(++Ss)!==Us)&&(Gs=Rs.options.pedantic,bl=Us,fl=bl+bl,ks=_o.length,Ss++,ps=" ",Us=" " , ! ( Gs && Vo ( _o . charAt ( Ss ) ) ) ) ) for ( ; Ss < ks ; ) { if ( Os = Us , Us = _o . charAt ( Ss ) , Us === bl && _o . charAt ( Ss + 1 ) === bl && ( ! Gs || ! Vo ( Os ) ) && ( Us = _o .
` ,Fo);vo>Fo&&Vo.charAt(vo-1)===" ";)vo--;return vo}}}),kd=qi({"node_modules/remark-parse/lib/tokenize/break.js"(Ps,vs){Go();var Io=sd();vs.exports=Ro,Ro.locator=Io;var Vo=" ",Fo= `
` ,vo=2;function Ro(Yo,To,is){for(var _o=To.length,Zo=-1,Rs="",Ss;++Zo<_o;){if(Ss=To.charAt(Zo),Ss===Fo)return Zo<vo?void 0:is?!0:(Rs+=Ss,Yo(Rs)({type:"break"}));if(Ss!==Vo)return;Rs+=Ss}}}}),cp=qi({"node_modules/remark-parse/lib/tokenize/text.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo,Fo,vo){var Ro=this,Yo,To,is,_o,Zo,Rs,Ss,Us,tl,Gs;if(vo)return!0;for(Yo=Ro.inlineMethods,_o=Yo.length,To=Ro.inlineTokenizers,is=-1,tl=Fo.length;++is<_o;)Us=Yo[is],!(Us==="text"||!To[Us])&&(Ss=To[Us].locator,Ss||Vo.file.fail("Missing locator: ` "+Us+" ` "),Rs=Ss.call(Ro,Fo,1),Rs!==-1&&Rs<tl&&(tl=Rs));Zo=Fo.slice(0,tl),Gs=Vo.now(),Ro.decode(Zo,Gs,bl);function bl(ps,fl,ks){Vo(ks||ps)({type:"text",value:ps})}}}}),xf=qi({"node_modules/remark-parse/lib/parser.js"(Ps,vs){Go();var Io=Wl(),Vo=jl(),Fo=Zc(),vo=qc(),Ro=Id(),Yo=kp();vs.exports=To;function To(Zo,Rs){this.file=Rs,this.offset={},this.options=Io(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Fo(Rs).toOffset,this.unescape=vo(this,"escape"),this.decode=Ro(this)}var is=To.prototype;is.setOptions=Ad(),is.parse=Hp(),is.options=np(),is.exitStart=Vo("atStart",!0),is.enterList=Vo("inList",!1),is.enterLink=Vo("inLink",!1),is.enterBlock=Vo("inBlock",!1),is.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],is.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],is.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],is.blockTokenizers={blankLine:wm(),indentedCode: $ f(),fencedCode:Bp(),blockquote:Lf(),atxHeading:rm(),thematicBreak:rf(),list:df(),setextHeading:hm(),html:Ah(),definition:Vm(),table:Hm(),paragraph:jd()},is.inlineTokenizers={escape:Yp(),autoLink:od(),url:wf(),email:qm(),html:Xd(),link:qf(),reference:Gf(),strong:_p(),emphasis:im(),deletion:Fi(),code:Bc(),break:kd(),text:cp()},is.blockMethods=_o(is.blockTokenizers),is.inlineMethods=_o(is.inlineTokenizers),is.tokenizeBlock=Yo("block"),is.tokenizeInline=Yo("inline"),is.tokenizeFactory=Yo;function _o(Zo){var Rs=[],Ss;for(Ss in Zo)Rs.push(Ss);return Rs}}}),Wf=qi({"node_modules/remark-parse/index.js"(Ps,vs){Go();var Io=Ec(),Vo=Wl(),Fo=xf();vs.exports=vo,vo.Parser=Fo;function vo(Ro){var Yo=this.data("settings"),To=Io(Fo);To.prototype.options=Vo(To.prototype.options,Yo,Ro),this.Parser=To}}}),Gm=qi({"node_modules/bail/index.js"(Ps,vs){Go(),vs.exports=Io;function Io(Vo){if(Vo)throw Vo}}}),sh=qi({"node_modules/is-buffer/index.js"(Ps,vs){Go(),vs.exports=function(Io){return Io!=null&&Io.constructor!=null&&typeof Io.constructor.isBuffer=="function"&&Io.constructor.isBuffer(Io)}}}),vp=qi({"node_modules/extend/index.js"(Ps,vs){Go();var Io=Object.prototype.hasOwnProperty,Vo=Object.prototype.toString,Fo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,Ro=function(_o){return typeof Array.isArray=="function"?Array.isArray(_o):Vo.call(_o)==="[object Array]"},Yo=function(_o){if(!_o||Vo.call(_o)!=="[object Object]")return!1;var Zo=Io.call(_o,"constructor"),Rs=_o.constructor&&_o.constructor.prototype&&Io.call(_o.constructor.prototype,"isPrototypeOf");if(_o.constructor&&!Zo&&!Rs)return!1;var Ss;for(Ss in _o);return typeof Ss>"u"||Io.call(_o,Ss)},To=function(_o,Zo){Fo&&Zo.name==="__proto__"?Fo(_o,Zo.name,{enumerable:!0,configurable:!0,value:Zo.newValue,writable:!0}):_o[Zo.name]=Zo.newValue},is=function(_o,Zo){if(Zo==="__proto__")if(Io.call(_o,Zo)){if(vo)return vo(_o,Zo).value}else return;return _o[Zo]};vs.exports=function _o(){var Zo,Rs,Ss,Us,tl,Gs,bl=arguments[0],ps=1,fl=arguments.length,ks=!1;for(typeof bl=="boolean"&&(ks=bl,bl=arguments[1]||{},ps=2),(bl==null||typeof bl!="object"&&typeof bl!="function")&&(bl={});ps<fl;++ps)if(Zo=arguments[ps],Zo!=null)for(Rs in Zo)Ss=is(bl,Rs),Us=is(Zo,Rs),
` ,Yo=" $ ",To=2,is=["math","math-display"];function _o(){let Ss=this.Parser,Us=this.Compiler;Io.isRemarkParser(Ss)&&Zo(Ss),Io.isRemarkCompiler(Us)&&Rs(Us)}function Zo(Ss){let Us=Ss.prototype,tl=Us.blockMethods,Gs=Us.interruptParagraph,bl=Us.interruptList,ps=Us.interruptBlockquote;Us.blockTokenizers.math=fl,tl.splice(tl.indexOf("fencedCode")+1,0,"math"),Gs.splice(Gs.indexOf("fencedCode")+1,0,["math"]),bl.splice(bl.indexOf("fencedCode")+1,0,["math"]),ps.splice(ps.indexOf("fencedCode")+1,0,["math"]);function fl(ks,Os,Bs){var Vs=Os.length,Pl=0;let Zl,wc,Bl,fc,Cc,Rc,ol,kc,Jc,pu,io;for(;Pl<Vs&&Os.charCodeAt(Pl)===Fo;)Pl++;for(Cc=Pl;Pl<Vs&&Os.charCodeAt(Pl)===vo;)Pl++;if(Rc=Pl-Cc,!(Rc<To)){for(;Pl<Vs&&Os.charCodeAt(Pl)===Fo;)Pl++;for(ol=Pl;Pl<Vs;){if(Zl=Os.charCodeAt(Pl),Zl===vo)return;if(Zl===Vo)break;Pl++}if(Os.charCodeAt(Pl)===Vo){if(Bs)return!0;for(wc=[],ol!==Pl&&wc.push(Os.slice(ol,Pl)),Pl++,Bl=Os.indexOf(Ro,Pl+1),Bl=Bl===-1?Vs:Bl;Pl<Vs;){for(kc=!1,pu=Pl,io=Bl,fc=Bl,Jc=0;fc>pu&&Os.charCodeAt(fc-1)===Fo;)fc--;for(;fc>pu&&Os.charCodeAt(fc-1)===vo;)Jc++,fc--;for(Rc<=Jc&&Os.indexOf(Yo,pu)===fc&&(kc=!0,io=fc);pu<=io&&pu-Pl<Cc&&Os.charCodeAt(pu)===Fo;)pu++;if(kc)for(;io>pu&&Os.charCodeAt(io-1)===Fo;)io--;if((!kc||pu!==io)&&wc.push(Os.slice(pu,io)),kc)break;Pl=Bl+1,Bl=Os.indexOf(Ro,Pl+1),Bl=Bl===-1?Vs:Bl}return wc=wc.join( `
` ),ks(Os.slice(0,Bl))({type:"math",value:wc,data:{hName:"div",hProperties:{className:is.concat()},hChildren:[{type:"text",value:wc}]}})}}}}function Rs(Ss){let Us=Ss.prototype;Us.visitors.math=tl;function tl(Gs){return ` $$
` +Gs.value+ `
$$ ` }}}}),dh=qi({"node_modules/remark-math/index.js"(Ps,vs){Go();var Io=Om(),Vo=Kh();vs.exports=Fo;function Fo(vo){var Ro=vo||{};Vo.call(this,Ro),Io.call(this,Ro)}}}),Dh=qi({"node_modules/remark-footnotes/index.js"(Ps,vs){Go(),vs.exports=Us;var Io=9,Vo=10,Fo=32,vo=33,Ro=58,Yo=91,To=92,is=93,_o=94,Zo=96,Rs=4,Ss=1024;function Us(Os){var Bs=this.Parser,Vs=this.Compiler;tl(Bs)&&bl(Bs,Os),Gs(Vs)&&ps(Vs)}function tl(Os){return!!(Os&&Os.prototype&&Os.prototype.blockTokenizers)}function Gs(Os){return!!(Os&&Os.prototype&&Os.prototype.visitors)}function bl(Os,Bs){for(var Vs=Bs||{},Pl=Os.prototype,Zl=Pl.blockTokenizers,wc=Pl.inlineTokenizers,Bl=Pl.blockMethods,fc=Pl.inlineMethods,Cc=Zl.definition,Rc=wc.reference,ol=[],kc=-1,Jc=Bl.length,pu;++kc<Jc;)pu=Bl[kc],!(pu==="newline"||pu==="indentedCode"||pu==="paragraph"||pu==="footnoteDefinition")&&ol.push([pu]);ol.push(["footnoteDefinition"]),Vs.inlineNotes&&(fl(fc,"reference","inlineNote"),wc.inlineNote=Au),fl(Bl,"definition","footnoteDefinition"),fl(fc,"reference","footnoteCall"),Zl.definition=cc,Zl.footnoteDefinition=io,wc.footnoteCall=xc,wc.reference=Oc,Pl.interruptFootnoteDefinition=ol,Oc.locator=Rc.locator,xc.locator=Lc,Au.locator=Hl;function io( $ l,tc,Ic){for(var gu=this,Pu=gu.interruptFootnoteDefinition,zu=gu.offset,qd=tc.length+1,Ou=0,gp=[],Jp,jp,Ep,cd,Rd,ff,mf,Rf,lf,dp,Cp,xp,Zd;Ou<qd&&(cd=tc.charCodeAt(Ou),!(cd!==Io&&cd!==Fo));)Ou++;if(tc.charCodeAt(Ou++)===Yo&&tc.charCodeAt(Ou++)===_o){for(jp=Ou;Ou<qd;){if(cd=tc.charCodeAt(Ou),cd!==cd||cd===Vo||cd===Io||cd===Fo)return;if(cd===is){Ep=Ou,Ou++;break}Ou++}if(!(Ep===void 0||jp===Ep||tc.charCodeAt(Ou++)!==Ro)){if(Ic)return!0;for(Jp=tc.slice(jp,Ep),Rd= $ l.now(),lf=0,dp=0,Cp=Ou,xp=[];Ou<qd;){if(cd=tc.charCodeAt(Ou),cd!==cd||cd===Vo)Zd={start:lf,contentStart:Cp||Ou,contentEnd:Ou,end:Ou},xp.push(Zd),cd===Vo&&(lf=Ou+1,dp=0,Cp=void 0,Zd.end=lf);else if(dp!==void 0)if(cd===Fo||cd===Io)dp+=cd===Fo?1:Rs-dp%Rs,dp>Rs&&(dp=void 0,Cp=Ou);else{if(dp<Rs&&Zd&&(Zd.contentStart===Zd.contentEnd||ks(Pu,Zl,gu,[ $ l,tc.slice(Ou,Ss),!0])))break;dp=void 0,Cp=Ou}Ou++}for(Ou=-1,qd=xp.length;qd>0&&(Zd=xp[qd-1],Zd.contentStart===Zd.contentEnd);)qd--;for(ff= $ l(tc.slice(0,Zd.contentEnd));++Ou<qd;)Zd=xp[Ou],zu[Rd.line+Ou]=(zu[Rd.line+Ou]||0)+(Zd.contentStart-Zd.start),gp.push(tc.slice(Zd.contentStart,Zd.end));return mf=gu.enterBlock(),Rf=gu.tokenizeBlock(gp.join(""),Rd),mf(),ff({type:"footnoteDefinition",identifier:Jp.toLowerCase(),label:Jp,children:Rf})}}}function xc( $ l,tc,Ic){var gu=tc.length+1,Pu=0,zu,qd,Ou,gp;if(tc.charCodeAt(Pu++)===Yo&&tc.charCodeAt(Pu++)===_o){for(qd=Pu;Pu<gu;){if(gp=tc.charCodeAt(Pu),gp!==gp||gp===Vo||gp===Io||gp===Fo)return;if(gp===is){Ou=Pu,Pu++;break}Pu++}if(!(Ou===void 0||qd===Ou))return Ic?!0:(zu=tc.slice(qd,Ou), $ l(tc.slice(0,Pu))({type:"footnoteReference",identifier:zu.toLowerCase(),label:zu}))}}function Au( $ l,tc,Ic){var gu=this,Pu=tc.length+1,zu=0,qd=0,Ou,gp,Jp,jp,Ep,cd,Rd;if(tc.charCodeAt(zu++)===_o&&tc.charCodeAt(zu++)===Yo){for(Jp=zu;zu<Pu;){if(gp=tc.charCodeAt(zu),gp!==gp)return;if(cd===void 0)if(gp===To)zu+=2;else if(gp===Yo)qd++,zu++;else if(gp===is)if(qd===0){jp=zu,zu++;break}else qd--,zu++;else if(gp===Zo){for(Ep=zu,cd=1;tc.charCodeAt(Ep+cd)===Zo;)cd++;zu+=cd}else zu++;else if(gp===Zo){for(Ep=zu,Rd=1;tc.charCodeAt(Ep+Rd)===Zo;)Rd++;zu+=Rd,cd===Rd&&(cd=void 0),Rd=void 0}else zu++}if(jp!==void 0)return Ic?!0:(Ou= $ l.now(),Ou.column+=2,Ou.offset+=2, $ l(tc.slice(0,zu))({type:"footnote",children:gu.tokenizeInline(tc.slice(Jp,jp),Ou)}))}}function Oc( $ l,tc,Ic){var gu=0;if(tc.charCodeAt(gu)===vo&&gu++,tc.charCodeAt(gu)===Yo&&tc.charCodeAt(gu+1)!==_o)return Rc.call(this, $ l,tc,Ic)}function cc( $ l,tc,Ic){for(var gu=0,Pu=tc.charCodeAt(gu);Pu===Fo||Pu===Io;)Pu=tc.charCodeAt(++gu);if(Pu===Yo&&tc.charCodeAt(gu+1)!==_o)return Cc.call(this, $ l,tc,Ic)}function Lc( $ l,tc){return $ l.indexOf("[",tc)}function Hl( $ l,tc){return $ l.indexOf("^[",tc)}}function ps(Os){var Bs=Os.prototype.visitors,Vs=" ";Bs.footnote=Pl,Bs.footnoteReference=Zl,Bs.footnoteDefinition=wc;function Pl(Bl){return"^["+this.all(Bl).join("")+"]"}function Zl(Bl){return"[^"+(Bl.label||B
` ).split( `
` ),Cc=0,Rc=fc.length,ol;++Cc<Rc;)ol=fc[Cc],ol!==""&&(fc[Cc]=Vs+ol);return"[^"+(Bl.label||Bl.identifier)+"]: "+fc.join( `
` )}}function fl(Os,Bs,Vs){Os.splice(Os.indexOf(Bs),0,Vs)}function ks(Os,Bs,Vs,Pl){for(var Zl=Os.length,wc=-1;++wc<Zl;)if(Bs[Os[wc][0]].apply(Vs,Pl))return!0;return!1}}}),Rm=qi({"src/utils/front-matter/parse.js"(Ps,vs){Go();var Io=new RegExp("^(?<startDelimiter>-{3}| \\ +{3})(?<language>[^ \\ n]*) \\ n(?:|(?<value>.*?) \\ n)(?<endDelimiter> \\ k<startDelimiter>| \\ .{3})[^ \\ S \\ n]*(?: \\ n| $ )","s");function Vo(Fo){let vo=Fo.match(Io);if(!vo)return{content:Fo};let{startDelimiter:Ro,language:Yo,value:To="",endDelimiter:is}=vo.groups,_o=Yo.trim()||"yaml";if(Ro==="+++"&&(_o="toml"),_o!=="yaml"&&Ro!==is)return{content:Fo};let[Zo]=vo;return{frontMatter:{type:"front-matter",lang:_o,value:To,startDelimiter:Ro,endDelimiter:is,raw:Zo.replace(/ \n $ /,"")},content:Zo.replace(/[^ \n ]/g," ")+Fo.slice(Zo.length)}}vs.exports=Vo}}),Mm=qi({"src/language-markdown/pragma.js"(Ps,vs){Go();var Io=Rm(),Vo=["format","prettier"];function Fo(vo){let Ro= ` @ ( $ { Vo . join ( "|" ) } ) ` ,Yo=new RegExp([ ` <!-- \ \ s * $ { Ro } \ \ s * -- > ` , ` { \ \ s * \ \ / \ \ * \ \ s * $ { Ro } \ \ s * \ \ * \ \ / \ \ s * } ` , ` <!-- . * \ r ?
[ \ \ s \ \ S ] * ( ^ |
) [ ^ \ \ S
] * $ { Ro } [ ^ \ \ S
] * ( $ |
) [ \ \ s \ \ S ] *
. * -- > ` ].join("|"),"m"),To=vo.match(Yo);return(To==null?void 0:To.index)===0}vs.exports={startWithPragma:Fo,hasPragma:vo=>Fo(Io(vo).content.trimStart()),insertPragma:vo=>{let Ro=Io(vo),Yo= ` <!-- @ $ { Vo [ 0 ] } -- > ` ;return Ro.frontMatter? ` $ { Ro . frontMatter . raw }
$ { Yo }
$ { Ro . content } ` : ` $ { Yo }
$ { Ro . content } ` }}}}),_m=qi({"src/language-markdown/loc.js"(Ps,vs){Go();function Io(Fo){return Fo.position.start.offset}function Vo(Fo){return Fo.position.end.offset}vs.exports={locStart:Io,locEnd:Vo}}}),Nf=qi({"src/language-markdown/mdx.js"(Ps,vs){Go();var Io=/^import \s /,Vo=/^export \s /,Fo="[a-z][a-z0-9]*( \\ .[a-z][a-z0-9]*)*|",vo=/<!---->|<!---?[^>-](?:-?[^-])*-->/,Ro=/^{ \s * \/ \* (.*) \* \/ \s *}/,Yo= `
` ,To=Ss=>Io.test(Ss),is=Ss=>Vo.test(Ss),_o=(Ss,Us)=>{let tl=Us.indexOf(Yo),Gs=Us.slice(0,tl);if(is(Gs)||To(Gs))return Ss(Gs)({type:is(Gs)?"export":"import",value:Gs})},Zo=(Ss,Us)=>{let tl=Ro.exec(Us);if(tl)return Ss(tl[0])({type:"esComment",value:tl[1].trim()})};_o.locator=Ss=>is(Ss)||To(Ss)?-1:1,Zo.locator=(Ss,Us)=>Ss.indexOf("{",Us);function Rs(){let{Parser:Ss}=this,{blockTokenizers:Us,blockMethods:tl,inlineTokenizers:Gs,inlineMethods:bl}=Ss.prototype;Us.esSyntax=_o,Gs.esComment=Zo,tl.splice(tl.indexOf("paragraph"),0,"esSyntax"),bl.splice(bl.indexOf("text"),0,"esComment")}vs.exports={esSyntax:Rs,BLOCKS_REGEX:Fo,COMMENT_REGEX:vo}}}),ph={};va(ph,{default:()=>yp});function yp(Ps){if(typeof Ps!="string")throw new TypeError("Expected a string");return Ps.replace(/[| \\ {}()[ \] ^ $ +*?.]/g," \\ $ &").replace(/-/g," \\ x2d")}var om=Ta({"node_modules/escape-string-regexp/index.js"(){Go()}}),Qp=qi({"src/utils/get-last.js"(Ps,vs){Go();var Io=Vo=>Vo[Vo.length-1];vs.exports=Io}}),pf=qi({"node_modules/semver/internal/debug.js"(Ps,vs){Go();var Io=typeof Vn=="object"&&Vn.env&&Vn.env.NODE_DEBUG&&/ \b semver \b /i.test(Vn.env.NODE_DEBUG)?function(){for(var Vo=arguments.length,Fo=new Array(Vo),vo=0;vo<Vo;vo++)Fo[vo]=arguments[vo];return console.error("SEMVER",...Fo)}:()=>{};vs.exports=Io}}),sm=qi({"node_modules/semver/internal/constants.js"(Ps,vs){Go();var Io="2.0.0",Vo=256,Fo=Number.MAX_SAFE_INTEGER||9007199254740991,vo=16;vs.exports={SEMVER_SPEC_VERSION:Io,MAX_LENGTH:Vo,MAX_SAFE_INTEGER:Fo,MAX_SAFE_COMPONENT_LENGTH:vo}}}),Bm=qi({"node_modules/semver/internal/re.js"(Ps,vs){Go();var{MAX_SAFE_COMPONENT_LENGTH:Io}=sm(),Vo=pf();Ps=vs.exports={};var Fo=Ps.re=[],vo=Ps.src=[],Ro=Ps.t={},Yo=0,To=(is,_o,Zo)=>{let Rs=Yo++;Vo(is,Rs,_o),Ro[is]=Rs,vo[Rs]=_o,Fo[Rs]=new RegExp(_o,Zo?"g":void 0)};To("NUMERICIDENTIFIER","0|[1-9] \\ d*"),To("NUMERICIDENTIFIERLOOSE","[0-9]+"),To("NONNUMERICIDENTIFIER"," \\ d*[a-zA-Z-][a-zA-Z0-9-]*"),To("MAINVERSION", ` ( $ { vo [ Ro . NUMERICIDENTIFIER ] } ) \ \ . ( $ { vo [ Ro . NUMERICIDENTIFIER ] } ) \ \ . ( $ { vo [ Ro . NUMERICIDENTIFIER ] } ) ` ),To("MAINVERSIONLOOSE", ` ( $ { vo [ Ro . NUMERICIDENTIFIERLOOSE ] } ) \ \ . ( $ { vo [ Ro . NUMERICIDENTIFIERLOOSE ] } ) \ \ . ( $ { vo [ Ro . NUMERICIDENTIFIERLOOSE ] } ) ` ),To("PRERELEASEIDENTIFIER", ` ( ? : $ { vo [ Ro . NUMERICIDENTIFIER ] } | $ { vo [ Ro . NONNUMERICIDENTIFIER ] } ) ` ),To("PRERELEASEIDENTIFIERLOOSE", ` ( ? : $ { vo [ Ro . NUMERICIDENTIFIERLOOSE ] } | $ { vo [ Ro . NONNUMERICIDENTIFIER ] } ) ` ),To("PRERELEASE", ` ( ? : - ( $ { vo [ Ro . PRERELEASEIDENTIFIER ] } ( ? : \ \ . $ { vo [ Ro . PRERELEASEIDENTIFIER ] } ) * ) ) ` ),To("PRERELEASELOOSE", ` ( ? : - ? ( $ { vo [ Ro . PRERELEASEIDENTIFIERLOOSE ] } ( ? : \ \ . $ { vo [ Ro . PRERELEASEIDENTIFIERLOOSE ] } ) * ) ) ` ),To("BUILDIDENTIFIER","[0-9A-Za-z-]+"),To("BUILD", ` ( ? : \ \ + ( $ { vo [ Ro . BUILDIDENTIFIER ] } ( ? : \ \ . $ { vo [ Ro . BUILDIDENTIFIER ] } ) * ) ) ` ),To("FULLPLAIN", ` v ? $ { vo [ Ro . MAINVERSION ] } $ { vo [ Ro . PRERELEASE ] } ? $ { vo [ Ro . BUILD ] } ? ` ),To("FULL", ` ^ $ { vo [ Ro . FULLPLAIN ] } $ ` ),To("LOOSEPLAIN", ` [ v = \ \ s ] * $ { vo [ Ro . MAINVERSIONLOOSE ] } $ { vo [ Ro . PRERELEASELOOSE ] } ? $ { vo [ Ro . BUILD ] } ? ` ),To("LOOSE", ` ^ $ { vo [ Ro . LOOSEPLAIN ] } $ ` ),To("GTLT","((?:<|>)?=?)"),To("XRANGEIDENTIFIERLOOSE", ` $ { vo [ Ro . NUMERICIDENTIFIERLOOSE ] } | x | X | \ \ * ` ),To("XRANGEIDENTIFIER", ` $ { vo [ Ro . NUMERICIDENTIFIER ] } | x | X | \ \ * ` ),To("XRANGEPLAIN", ` [ v = \ \ s ] * ( $ { vo [ Ro . XRANGEIDENTIFIER ] } ) ( ? : \ \ . ( $ { vo [ Ro . XRANGEIDENTIFIER ] } ) ( ? : \ \ . ( $ { vo [ Ro . XRANGEIDENTIFIER ] } ) ( ? : $ { vo [ Ro . PRERELEASE ] } ) ? $ { vo [ Ro . BUILD ] } ? ) ? ) ? ` ),To("XRANGEPLAINLOOSE", ` [ v = \ \ s ] * ( $ { vo [ Ro . XRANGEIDENTIFIERLOOSE ] } ) ( ? : \ \ . ( $ { vo [ Ro . XRANGEIDENTIFIERLOOSE ] } ) ( ? : \ \ . ( $ { vo [ Ro . XRANGEIDENTIFIERLOOSE ] } ) ( ? : $ { vo [ Ro . PRERELEASELOOSE ] } ) ? $ { vo [ Ro . BUILD ] } ? ) ? ) ? ` ),To("XRANGE", ` ^ $ { vo [ Ro . GTLT ] } \ \ s * $ { vo [ Ro . XRANGEPLAIN ] } $ ` ),To("XRANGELOOSE", ` ^ $ { vo [ Ro . GTLT ] } \ \ s * $ { vo [ Ro . XRANGEPLAINLOOSE ] } $ ` ),To("COERCE", ` ( ^ | [ ^ \ \ d ] ) ( \ \ d { 1 , $ { Io } } ) ( ? : \ \ . ( \ \ d { 1 , $ { Io } } ) ) ? ( ? : \ \ . ( \ \ d { 1 , $ { Io } } ) ) ? ( ? : $ | [ ^ \ \ d ] ) ` ),To("COERCERTL",vo[Ro.COERCE],!0),To("LONETILDE","(?:~>?)"),To("TILDETRIM", ` ( \ \ s * ) $ { vo [ Ro . LONETILDE ] } \ \ s + ` ,!0),Ps.tildeTrimReplace=" $ 1~",To("TILDE", ` ^ $ { vo [ Ro . LONETILDE ] } $ { vo [ Ro . XRANGEPLAIN ] } $ ` ),To("TILDELOOSE", ` ^ $ { vo [ Ro . LONETILDE ] } $ { vo [ Ro . XRANGEPLAINLOOSE ] } $ ` ),To("LONECARET","(?: \\ ^)"),To("CARETTRIM", ` ( \ \ s * ) $ { vo [ Ro . LONECARET ] } \ \ s + ` ,!0),Ps.caretTrimReplace=" $ 1^",To("CARET", ` ^ $ { vo [ Ro . LONECARET ] } $ { vo [ Ro . XRANGEPLAIN ] } $ ` ),To
Print ( to stderr ) where a cursor at the given position would move to after formatting .
This option cannot be used with -- range - start and -- range - end .
` ,cliCategory:Fo},endOfLine:{since:"1.15.0",category:To,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only ( \\ n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters ( \\ r \\ n), common on Windows"},{value:"cr",description:"Carriage Return character only ( \\ r), used very rarely"},{value:"auto",description:Io `
Maintain existing
( mixed values within one file are normalised by looking at what ' s used after the first line )
` }]},filepath:{since:"1.4.0",category:is,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Ro,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:is,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Ro},parser:{since:"0.0.10",category:To,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:Zo=>typeof Zo=="string"||typeof Zo=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:To,description:"Add a plugin. Multiple plugins can be passed as separate ` -- plugin ` s.",exception:Zo=>typeof Zo=="string"||typeof Zo=="object",cliName:"plugin",cliCategory:Vo},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:To,description:Io `
Custom directory that contains prettier plugins in node _modules subdirectory .
Overrides default behavior when plugins are searched relatively to the location of Prettier .
Multiple values are accepted .
` ,exception:Zo=>typeof Zo=="string"||typeof Zo=="object",cliName:"plugin-search-dir",cliCategory:Vo},printWidth:{since:"0.0.0",category:To,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:is,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Io `
Format code ending at a given character offset ( exclusive ) .
The range will extend forwards to the end of the selected statement .
This option cannot be used with -- cursor - offset .
` ,cliCategory:Fo},rangeStart:{since:"1.4.0",category:is,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Io `
Format code starting at a given character offset .
The range will extend backwards to the start of the first line containing the selected statement .
This option cannot be used with -- cursor - offset .
` ,cliCategory:Fo},requirePragma:{since:"1.7.0",category:is,type:"boolean",default:!1,description:Io `
Require either '@prettier' or '@format' to be present in the file ' s first docblock comment
in order for it to be formatted .
` ,cliCategory:Ro},tabWidth:{type:"int",category:To,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:To,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:To,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};vs.exports={CATEGORY_CONFIG:Vo,CATEGORY_EDITOR:Fo,CATEGORY_FORMAT:vo,CATEGORY_OTHER:Ro,CATEGORY_OUTPUT:Yo,CATEGORY_GLOBAL:To,CATEGORY_SPECIAL:is,options:_o}}}),of=qi({"src/main/support.js"(Ps,vs){Go();var Io={compare:Km(),lt:Af(),gte:Xh()},Vo=Qh(),Fo=kh().version,vo=Pp().options;function Ro(){let{plugins:To=[],showUnreleased:is=!1,showDeprecated:_o=!1,showInternal:Zo=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Rs=Fo.split("-",1)[0],Ss=To.flatMap(ps=>ps.languages||[]).filter(tl),Us=Vo(Object.assign({},...To.map(ps=>{let{options:fl}=ps;return fl}),vo),"name").filter(ps=>tl(ps)&&Gs(ps)).sort((ps,fl)=>ps.name===fl.name?0:ps.name<fl.name?-1:1).map(bl).map(ps=>{ps=Object.assign({},ps),Array.isArray(ps.default)&&(ps.default=ps.default.length===1?ps.default[0].value:ps.default.filter(tl).sort((ks,Os)=>Io.compare(Os.since,ks.since))[0].value),Array.isArray(ps.choices)&&(ps.choices=ps.choices.filter(ks=>tl(ks)&&Gs(ks)),ps.name==="parser"&&Yo(ps,Ss,To));let fl=Object.fromEntries(To.filter(ks=>ks.defaultOptions&&ks.defaultOptions[ps.name]!==void 0).map(ks=>[ks.name,ks.defaultOptions[ps.name]]));return Object.assign(Object.assign({},ps),{},{pluginDefaults:fl})});return{languages:Ss,options:Us};function tl(ps){return is||!("since"in ps)||ps.since&&Io.gte(Rs,ps.since)}function Gs(ps){return _o||!("deprecated"in ps)||ps.deprecated&&Io.lt(Rs,ps.deprecated)}function bl(ps){return Zo?ps:Xs(ps, $ s)}}function Yo(To,is,_o){let Zo=new Set(To.choices.map(Rs=>Rs.value));for(let Rs of is)if(Rs.parsers){for(let Ss of Rs.parsers)if(!Zo.has(Ss)){Zo.add(Ss);let Us=_o.find(Gs=>Gs.parsers&&Gs.parsers[Ss]),tl=Rs.name;Us&&Us.name&&(tl+= ` ( plugin : $ { Us . name } ) ` ),To.choices.push({value:Ss,description:tl})}}}vs.exports={getSupportInfo:Ro}}}),Uh=qi({"src/utils/is-non-empty-array.js"(Ps,vs){Go();function Io(Vo){return Array.isArray(Vo)&&Vo.length>0}vs.exports=Io}});function Jh(){let{onlyFirst:Ps=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},vs=["[ \\ u001B \\ u009B][[ \\ ]()#;?]*(?:(?:(?:(?:;[-a-zA-Z \\ d \\ /#&.:=?%@~_]+)*|[a-zA-Z \\ d]+(?:;[-a-zA-Z \\ d \\ /#&.:=?%@~_]*)*)? \\ u0007)","(?:(?: \\ d{1,4}(?:; \\ d{0,4})*)?[ \\ dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(vs,Ps?void 0:"g")}var p0=Ta({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Go()}});function hh(Ps){if(typeof Ps!="string")throw new TypeError( ` Expected a \ ` string \` , got \` ${ typeof Ps } \` ` ) ; return Ps . replace ( Jh ( ) , "" ) } var Kf = Ta ( { "node_modules/strip-ansi/index.js" ( ) { Go ( ) , p0 ( ) } } ) ; function Zh ( Ps ) { return Number . isInteger ( Ps ) ? Ps >= 4352 && ( Ps <= 4447 || Ps === 9001 || Ps === 9002 || 11904 <= Ps && Ps <= 12871 && Ps !== 12351 || 12880 <= Ps && Ps <= 19903 || 19968 <= Ps && Ps <= 42182 || 43360 <= Ps && Ps <= 43388 || 44032 <= Ps && Ps <= 55203 || 63744 <= Ps && Ps <= 64255 || 65040 <= Ps && Ps <= 65049 || 65072 <= Ps && Ps <= 65131 || 65281 <= Ps && Ps <= 65376 || 65504 <= Ps && Ps <= 65510 || 110592 <= Ps && Ps <= 110593 || 127488 <= Ps && Ps <= 127569 || 131072 <= Ps && Ps <= 262141 ) : ! 1 } var e0 = Ta ( { "node_modules/is-fullwidth-code-point/index.js" ( ) { Go ( ) } } ) , gh = qi ( { "node_modules/emoji-regex/index.js" ( Ps , vs ) { Go ( ) , vs . exports = function ( ) { return / \ u D 8 3 C \ u D F F 4 \ u D B 4 0 \ u D C 6 7 \ u D B 4 0 \ u D C 6 2 ( ? : \ u D B 4 0 \ u D C 7 7 \ u D B 4 0 \ u D C 6 C \ u D B 4 0 \ u D C 7 3 | \ u D B 4 0 \ u D C 7 3 \ u D B 4 0 \ u D C 6 3 \ u D B 4 0 \ u D C 7 4 | \ u D B 4 0 \ u D C 6 5 \ u D B 4 0 \ u D C 6 E \ u D B 4 0 \ u D C 6 7 ) \ u D B 4 0 \ u D C 7 F | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F F \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D 8 3 E \ u D D D 1 | \ u D 8 3 D \ u D C 6 9 \ u D 8 3 C \ u D F F F \ u 2 0 0 D \ u D 8 3 E \ u D D 1 D \ u 2 0 0 D ( ? : \ u D 8 3 D [ \ u D C 6 8 \ u D C 6 9 ] ) ) ( ? : \ u D 8 3 C [ \ u D F F B - \ u D F F E ] ) | ( ? : \ u D 8 3 E \ u D D D 1 \ u D 8 3 C \ u D F F E \ u 2 0 0 D \ u 2 7 6 4 \ u F E 0 F \ u 2 0 0 D ( ? : \ u D 8 3 D \ u D C 8 B \ u 2 0 0 D ) ? \ u D
` )return Fo-2;if(Yo=== `
` ||Yo===" \r "||Yo===" \u 2028"||Yo===" \u 2029")return Fo-1}else{if(Yo===" \r "&&Vo.charAt(Fo+1)=== `
` )return Fo+2;if(Yo=== `
` ||Yo===" \r "||Yo===" \u 2028"||Yo===" \u 2029")return Fo+1}return Fo}vs.exports=Io}}),Ud=qi({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Ps,vs){Go();var Io=rc(),Vo=ku(),Fo=Cu(),{skipSpaces:vo}=mc();function Ro(Yo,To){let is=null,_o=To;for(;_o!==is;)is=_o,_o=vo(Yo,_o),_o=Io(Yo,_o),_o=Fo(Yo,_o),_o=Vo(Yo,_o);return _o}vs.exports=Ro}}),Op=qi({"src/common/util.js"(Ps,vs){Go();var{default:Io}=(om(),hs(ph)),Vo=Qp(),{getSupportInfo:Fo}=of(),vo=Uh(),Ro=al(),{skipWhitespace:Yo,skipSpaces:To,skipToLineEnd:is,skipEverythingButNewLine:_o}=mc(),Zo=rc(),Rs=Cu(),Ss=ku(),Us=Ud(),tl=Hl=>Hl[Hl.length-2];function Gs(Hl){return( $ l,tc,Ic)=>{let gu=Ic&&Ic.backwards;if(tc===!1)return!1;let{length:Pu}= $ l,zu=tc;for(;zu>=0&&zu<Pu;){let qd= $ l.charAt(zu);if(Hl instanceof RegExp){if(!Hl.test(qd))return zu}else if(!Hl.includes(qd))return zu;gu?zu--:zu++}return zu===-1||zu===Pu?zu:!1}}function bl(Hl, $ l){let tc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ic=To(Hl,tc.backwards? $ l-1: $ l,tc),gu=Ss(Hl,Ic,tc);return Ic!==gu}function ps(Hl, $ l,tc){for(let Ic= $ l;Ic<tc;++Ic)if(Hl.charAt(Ic)=== `
` )return!0;return!1}function fl(Hl, $ l,tc){let Ic=tc( $ l)-1;Ic=To(Hl,Ic,{backwards:!0}),Ic=Ss(Hl,Ic,{backwards:!0}),Ic=To(Hl,Ic,{backwards:!0});let gu=Ss(Hl,Ic,{backwards:!0});return Ic!==gu}function ks(Hl, $ l){let tc=null,Ic= $ l;for(;Ic!==tc;)tc=Ic,Ic=is(Hl,Ic),Ic=Zo(Hl,Ic),Ic=To(Hl,Ic);return Ic=Rs(Hl,Ic),Ic=Ss(Hl,Ic),Ic!==!1&&bl(Hl,Ic)}function Os(Hl, $ l,tc){return ks(Hl,tc( $ l))}function Bs(Hl, $ l,tc){return Us(Hl,tc( $ l))}function Vs(Hl, $ l,tc){return Hl.charAt(Bs(Hl, $ l,tc))}function Pl(Hl, $ l){let tc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return To(Hl,tc.backwards? $ l-1: $ l,tc)!== $ l}function Zl(Hl, $ l){let tc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ic=0;for(let gu=tc;gu<Hl.length;++gu)Hl[gu]===" "?Ic=Ic+ $ l-Ic% $ l:Ic++;return Ic}function wc(Hl, $ l){let tc=Hl.lastIndexOf( `
` );return tc===-1?0:Zl(Hl.slice(tc+1).match(/^[ \t ]*/)[0], $ l)}function Bl(Hl, $ l){let tc={quote:'"',regex:/"/g,escaped:"""},Ic={quote:"'",regex:/'/g,escaped:"'"},gu= $ l==="'"?Ic:tc,Pu=gu===Ic?tc:Ic,zu=gu;if(Hl.includes(gu.quote)||Hl.includes(Pu.quote)){let qd=(Hl.match(gu.regex)||[]).length,Ou=(Hl.match(Pu.regex)||[]).length;zu=qd>Ou?Pu:gu}return zu}function fc(Hl, $ l){let tc=Hl.slice(1,-1),Ic= $ l.parser==="json"|| $ l.parser==="json5"&& $ l.quoteProps==="preserve"&&! $ l.singleQuote?'"': $ l.__isInHtmlAttribute?"'":Bl(tc, $ l.singleQuote?"'":'"').quote;return Cc(tc,Ic,!( $ l.parser==="css"|| $ l.parser==="less"|| $ l.parser==="scss"|| $ l.__embeddedInHtml))}function Cc(Hl, $ l,tc){let Ic= $ l==='"'?"'":'"',gu=/ \\ (.)|(["'])/gs,Pu=Hl.replace(gu,(zu,qd,Ou)=>qd===Ic?qd:Ou=== $ l?" \\ "+Ou:Ou||(tc&&/^[^ \n \r "'0-7 \\ bfnrt-vx \u 2028 \u 2029] $ /.test(qd)?qd:" \\ "+qd));return $ l+Pu+ $ l}function Rc(Hl){return Hl.toLowerCase().replace(/^([+-]?[ \d .]+e)(?: \+ |(-))?0*( \d )/," $ 1 $ 2 $ 3").replace(/^([+-]?[ \d .]+)e[+-]?0+ $ /," $ 1").replace(/^([+-])? \. /," $ 10.").replace(/( \. \d +?)0+(?=e| $ )/," $ 1").replace(/ \. (?=e| $ )/,"")}function ol(Hl, $ l){let tc=Hl.match(new RegExp( ` ( $ { Io ( $l ) } ) + ` ,"g"));return tc===null?0:tc.reduce((Ic,gu)=>Math.max(Ic,gu.length/ $ l.length),0)}function kc(Hl, $ l){let tc=Hl.match(new RegExp( ` ( $ { Io ( $l ) } ) + ` ,"g"));if(tc===null)return 0;let Ic=new Map,gu=0;for(let Pu of tc){let zu=Pu.length/ $ l.length;Ic.set(zu,!0),zu>gu&&(gu=zu)}for(let Pu=1;Pu<gu;Pu++)if(!Ic.get(Pu))return Pu;return gu+1}function Jc(Hl, $ l){(Hl.comments||(Hl.comments=[])).push( $ l), $ l.printed=!1, $ l.nodeDescription=Lc(Hl)}function pu(Hl, $ l){ $ l.leading=!0, $ l.trailing=!1,Jc(Hl, $ l)}function io(Hl, $ l,tc){ $ l.leading=!1, $ l.trailing=!1,tc&&( $ l.marker=tc),Jc(Hl, $ l)}function xc(Hl, $ l){ $ l.leading=!1, $ l.trailing=!0,Jc(Hl, $ l)}function Au(Hl, $ l){let{languages:tc}=Fo({plugins: $ l.plugins}),Ic=tc.find(gu=>{let{name:Pu}=gu;return Pu.toLowerCase()===Hl})||tc.find(gu=>{let{aliases:Pu}=gu;return Array.isArray(Pu)&&Pu.includes(Hl)})||tc.find(gu=>{let{extensions:Pu}=gu;return Array.isArray(Pu)&&Pu.includes( ` . $ { Hl } ` )});return Ic&&Ic.parsers[0]}function Oc(Hl){return Hl&&Hl.type==="front-matter"}function cc(Hl){let $ l=new WeakMap;return function(tc){return $ l.has(tc)|| $ l.set(tc,Symbol(Hl)), $ l.get(tc)}}function Lc(Hl){let $ l=Hl.type||Hl.kind||"(unknown type)",tc=String(Hl.name||Hl.id&&(typeof Hl.id=="object"?Hl.id.name:Hl.id)||Hl.key&&(typeof Hl.key=="object"?Hl.key.name:Hl.key)||Hl.value&&(typeof Hl.value=="object"?"":String(Hl.value))||Hl.operator||"");return tc.length>20&&(tc=tc.slice(0,19)+"…"), $ l+(tc?" "+tc:"")}vs.exports={inferParserByLanguage:Au,getStringWidth:Ro,getMaxContinuousCount:ol,getMinNotPresentContinuousCount:kc,getPenultimate:tl,getLast:Vo,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Us,getNextNonSpaceNonCommentCharacterIndex:Bs,getNextNonSpaceNonCommentCharacter:Vs,skip:Gs,skipWhitespace:Yo,skipSpaces:To,skipToLineEnd:is,skipEverythingButNewLine:_o,skipInlineComment:Zo,skipTrailingComment:Rs,skipNewline:Ss,isNextLineEmptyAfterIndex:ks,isNextLineEmpty:Os,isPreviousLineEmpty:fl,hasNewline:bl,hasNewlineInRange:ps,hasSpaces:Pl,getAlignmentSize:Zl,getIndentSize:wc,getPreferredQuote:Bl,printString:fc,printNumber:Rc,makeString:Cc,addLeadingComment:pu,addDanglingComment:io,addTrailingComment:xc,isFrontMatterNode:Oc,isNonEmptyArray:vo,createGroupIdMapper:cc}}}),ip=qi({"src/language-markdown/constants.evaluate.js"(Ps,vs){vs.exports={cjkPattern:"(?:[ \\ u02ea- \\ u02eb \\ u1100- \\ u11ff \\ u2e80- \\ u2e99 \\ u2e9b- \\ u2ef3 \\ u2f00- \\ u2fd5 \\ u2ff0- \\ u303f \\ u3041- \\ u3096 \\ u3099- \\ u309f \\ u30a1- \\ u30fa \\ u30fc- \\ u30ff \\ u3105- \\ u312f \\ u3131- \\ u318e \\ u3190- \\ u3191 \\ u3196- \\ u31ba \\ u31c0- \\ u31e3 \\ u31f0- \\ u321e \\ u322a- \\ u3247 \\ u3260- \\ u327e \\ u328a- \\ u32b0 \\ u32c0- \\ u32cb \\ u32d0- \\ u3370 \\ u337b- \\ u337f \\ u33e0- \\ u33fe \\ u3400- \\ u4db5 \\ u4e00- \\ u9fef \\ ua960- \\ ua97c \\ uac00- \\ ud7a3 \\ ud7b0- \\ ud7c6 \\ ud7cb- \\ ud7fb \\ uf900- \\ ufa6d \\ ufa70- \\ ufad9 \\ ufe10- \\ ufe1f \\ ufe30- \\ ufe6f \\ uff00- \\ uffef]|[ \\ ud840- \\ ud868 \\ ud86a- \\ ud86c \\ ud86f- \\ ud872 \\ ud874- \\ ud879][ \\ udc00- \\ udfff]| \\ ud82c[ \\ udc00- \\ udd1e \\ udd50- \\ udd52 \\ udd64- \\ udd67]| \\ ud83c[ \\ ude00 \\ ude50
( $ { vo } ) ` ,"g")," $ 1 $ 2")).split(/([ \t \n ]+)/);for(let[Bl,fc]of Zl.entries()){if(Bl%2===1){Pl.push({type:"whitespace",value:/ \n /.test(fc)? `
` :" "});continue}if((Bl===0||Bl===Zl.length-1)&&fc==="")continue;let Cc=fc.split(new RegExp( ` ( $ { vo } ) ` ));for(let[Rc,ol]of Cc.entries())if(!((Rc===0||Rc===Cc.length-1)&&ol==="")){if(Rc%2===0){ol!==""&&wc({type:"word",value:ol,kind:ks,hasLeadingPunctuation:Zo.test(ol[0]),hasTrailingPunctuation:Zo.test(Io(ol))});continue}wc(Zo.test(ol)?{type:"word",value:ol,kind:Vs,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:ol,kind:_o.test(ol)?Bs:Os,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return Pl;function wc(Bl){let fc=Io(Pl);fc&&fc.type==="word"&&(fc.kind===ks&&Bl.kind===Os&&!fc.hasTrailingPunctuation||fc.kind===Os&&Bl.kind===ks&&!Bl.hasLeadingPunctuation?Pl.push({type:"whitespace",value:" "}):!Cc(ks,Vs)&&![fc.value,Bl.value].some(Rc=>/ \u 3000/.test(Rc))&&Pl.push({type:"whitespace",value:""})),Pl.push(Bl);function Cc(Rc,ol){return fc.kind===Rc&&Bl.kind===ol||fc.kind===ol&&Bl.kind===Rc}}}function Ss(ps,fl){let[,ks,Os,Bs]=fl.slice(ps.position.start.offset,ps.position.end.offset).match(/^ \s *( \d +)( \. | \) )( \s *)/);return{numberText:ks,marker:Os,leadingSpaces:Bs}}function Us(ps,fl){if(!ps.ordered||ps.children.length<2)return!1;let ks=Number(Ss(ps.children[0],fl.originalText).numberText),Os=Number(Ss(ps.children[1],fl.originalText).numberText);if(ks===0&&ps.children.length>2){let Bs=Number(Ss(ps.children[2],fl.originalText).numberText);return Os===1&&Bs===1}return Os===1}function tl(ps,fl){let{value:ks}=ps;return ps.position.end.offset===fl.length&&ks.endsWith( `
` )&&fl.endsWith( `
` )?ks.slice(0,-1):ks}function Gs(ps,fl){return function ks(Os,Bs,Vs){let Pl=Object.assign({},fl(Os,Bs,Vs));return Pl.children&&(Pl.children=Pl.children.map((Zl,wc)=>ks(Zl,wc,[Pl,...Vs]))),Pl}(ps,null,[])}function bl(ps){if((ps==null?void 0:ps.type)!=="link"||ps.children.length!==1)return!1;let[fl]=ps.children;return Vo(ps)===Vo(fl)&&Fo(ps)===Fo(fl)}vs.exports={mapAst:Gs,splitText:Rs,punctuationPattern:Yo,getFencedCodeBlockValue:tl,getOrderedListItemInfo:Ss,hasGitDiffFriendlyOrderedList:Us,INLINE_NODE_TYPES:To,INLINE_NODE_WRAPPER_TYPES:is,isAutolink:bl}}}),l0=qi({"src/language-markdown/unified-plugins/html-to-jsx.js"(Ps,vs){Go();var Io=Nf(),{mapAst:Vo,INLINE_NODE_WRAPPER_TYPES:Fo}=_h();function vo(){return Ro=>Vo(Ro,(Yo,To,is)=>{let[_o]=is;return Yo.type!=="html"||Io.COMMENT_REGEX.test(Yo.value)||Fo.includes(_o.type)?Yo:Object.assign(Object.assign({},Yo),{},{type:"jsx"})})}vs.exports=vo}}),Df=qi({"src/language-markdown/unified-plugins/front-matter.js"(Ps,vs){Go();var Io=Rm();function Vo(){let Fo=this.Parser.prototype;Fo.blockMethods=["frontMatter",...Fo.blockMethods],Fo.blockTokenizers.frontMatter=vo;function vo(Ro,Yo){let To=Io(Yo);if(To.frontMatter)return Ro(To.frontMatter.raw)(To.frontMatter)}vo.onlyAtStart=!0}vs.exports=Vo}}),Yf=qi({"src/language-markdown/unified-plugins/liquid.js"(Ps,vs){Go();function Io(){let Vo=this.Parser.prototype,Fo=Vo.inlineMethods;Fo.splice(Fo.indexOf("text"),0,"liquid"),Vo.inlineTokenizers.liquid=vo;function vo(Ro,Yo){let To=Yo.match(/^({%.*?%}|{{.*?}})/s);if(To)return Ro(To[0])({type:"liquidNode",value:To[0]})}vo.locator=function(Ro,Yo){return Ro.indexOf("{",Yo)}}vs.exports=Io}}), $ m=qi({"src/language-markdown/unified-plugins/wiki-link.js"(Ps,vs){Go();function Io(){let Vo="wikiLink",Fo=/^ \[ \[ (?<linkContents>.+?)]]/s,vo=this.Parser.prototype,Ro=vo.inlineMethods;Ro.splice(Ro.indexOf("link"),0,Vo),vo.inlineTokenizers.wikiLink=Yo;function Yo(To,is){let _o=Fo.exec(is);if(_o){let Zo=_o.groups.linkContents.trim();return To(_o[0])({type:Vo,value:Zo})}}Yo.locator=function(To,is){return To.indexOf("[",is)}}vs.exports=Io}}),kf=qi({"src/language-markdown/unified-plugins/loose-items.js"(Ps,vs){Go();function Io(){let Vo=this.Parser.prototype,Fo=Vo.blockTokenizers.list;function vo(Ro,Yo,To){return Yo.type==="listItem"&&(Yo.loose=Yo.spread||Ro.charAt(Ro.length-1)=== `
2024-08-29 15:49:09 +08:00
` ,Yo.loose&&(To.loose=!0)),Yo}Vo.blockTokenizers.list=function(Ro,Yo,To){function is(_o){let Zo=Ro(_o);function Rs(Ss,Us){return Zo(vo(_o,Ss,Us),Us)}return Rs.reset=function(Ss,Us){return Zo.reset(vo(_o,Ss,Us),Us)},Rs}return is.now=Ro.now,Fo.call(this,is,Yo,To)}}vs.exports=Io}});Go();var cm=Wf(),Ym=Wh(),Vd=dh(),c0=Dh(),zd=Mm(),{locStart:sf,locEnd:Xm}=_m(),qp=Nf(),ym=l0(),Xf=Df(),Qf=Yf(),Rh= $ m(),Ih=kf();function Of(Ps){let{isMDX:vs}=Ps;return Io=>{let Vo=Ym().use(cm,Object.assign({commonmark:!0},vs&&{blocks:[qp.BLOCKS_REGEX]})).use(c0).use(Xf).use(Vd).use(vs?qp.esSyntax:Qm).use(Qf).use(vs?ym:Qm).use(Rh).use(Ih);return Vo.runSync(Vo.parse(Io))}}function Qm(Ps){return Ps}var Lm={astFormat:"mdast",hasPragma:zd.hasPragma,locStart:sf,locEnd:Xm},um=Object.assign(Object.assign({},Lm),{},{parse:Of({isMDX:!1})}),Hh=Object.assign(Object.assign({},Lm),{},{parse:Of({isMDX:!0})});Es.exports={parsers:{remark:um,markdown:um,mdx:Hh}}});return Su()})})(parserMarkdown);var parserMarkdownExports=parserMarkdown.exports;const prettierMarkdown=getDefaultExportFromCjs(parserMarkdownExports);function addPrefix(re){return ` $ { prefix } _ _$ { re } ` }function createCustomTheme(re,ie){const ae=JSON.parse(JSON.stringify(re));return ae.BASE["--md-primary-color"]=ie,ae}function setColorWithCustomTemplate(re,ie,ae=!0){return createCustomTheme(re,ie)}function setFontSizeWithTemplate(re){return function(ie){const ae=JSON.parse(JSON.stringify(re));for(let oe=1;oe<=4;oe++){const ue=ae.block[ ` h$ { oe } ` ]["font-size"];ae.block[ ` h$ { oe } ` ]["font-size"]= ` $ { ie * Number . parseFloat ( ue ) } px ` }return ae}}function setTheme(re,ie,ae,oe){return setColorWithCustomTemplate(setFontSizeWithTemplate(re)(ie,oe),ae,oe)}function customCssWithTemplate(re,ie,ae){const oe=createCustomTheme(ae,ie);return oe.block.h1=Object.assign(oe.block.h1,re.h1),oe.block.h2=Object.assign(oe.block.h2,re.h2),oe.block.h3=Object.assign(oe.block.h3,re.h3),oe.block.h4=Object.assign(oe.block.h4,re.h4),oe.block.code=Object.assign(oe.block.code,re.code),oe.block.p=Object.assign(oe.block.p,re.p),oe.block.hr=Object.assign(oe.block.hr,re.hr),oe.block.blockquote=Object.assign(oe.block.blockquote,re.blockquote),oe.block.blockquote_p=Object.assign(oe.block.blockquote_p,re.blockquote_p),oe.block.image=Object.assign(oe.block.image,re.image),oe.inline.strong=Object.assign(oe.inline.strong,re.strong),oe.inline.codespan=Object.assign(oe.inline.codespan,re.codespan),oe.inline.link=Object.assign(oe.inline.link,re.link),oe.inline.wx_link=Object.assign(oe.inline.wx_link,re.wx_link),oe.block.ul=Object.assign(oe.block.ul,re.ul),oe.block.ol=Object.assign(oe.block.ol,re.ol),oe.inline.listitem=Object.assign(oe.inline.listitem,re.li),oe}function css2json(re){re=re.replace(/ \/ \* [ \s \S ]*? \* \/ /g,"");const ie={},ae=oe=>oe.reduce((ue,de)=>{const[pe,_e]=de.split(":").map(Ce=>Ce.trim());return pe&&(ue[pe]=_e),ue},{});for(;re.includes("{")&&re.includes("}");){const oe=re.indexOf("{"),ue=re.indexOf("}"),de=re.substring(oe+1,ue).split(";").map(Ce=>Ce.trim()).filter(Boolean),pe=re.substring(0,oe).split(",").map(Ce=>Ce.trim()),_e=ae(de);pe.forEach(Ce=>{ie[Ce]={...ie[Ce]||{},..._e}}),re=re.slice(ue+1).trim()}return ie}function formatDoc(re){return prettier.format(re,{parser:"markdown",plugins:[prettierMarkdown]})}function formatCss(re){return prettier.format(re,{parser:"css",plugins:[prettierCss]})}function downloadMD(re){const ie=document.createElement("a");ie.download="content.md",ie.style.display="none";const ae=new Blob([re]);ie.href=URL.createObjectURL(ae),document.body.appendChild(ie),ie.click(),document.body.removeChild(ie)}function exportHTML(){const re=document.querySelector("#output");ue(re);const ie=re.innerHTML,ae=document.createElement("a");ae.download="content.html",ae.style.display="none";const oe=new Blob([ ` < html > < head > < meta charset = "utf-8" / > < / h e a d > < b o d y > < d i v s t y l e = " w i d t h : 7 5 0 p x ; m a r g i n : a u t o ; " > $ { i e } < / d i v > < / b o d y > < / h t m l > ` ] ) ; a e . h r e f = U R L . c r e a t e O b j e c t U R L ( o e ) , d o c u m e n t . b o d y . a p p e n d C h i l d ( a e ) , a e . c l i c k ( ) , d o c u m e n t . b o d y . r e m o v e C h i l d ( a e ) ; f u n c t i o n u e ( d e ) { f u n c t i o n p e ( O e , I e = [ " w i d t h " , " h e i g h t " ] ) { c o n s t F e = g e t C o m p u t e d S t y l e ( O e , n u l l ) ; r e t u r n O b j e c t . e n t r i e s ( F e ) .
2024-08-27 22:31:52 +08:00
` }return oe}function toBase64(re){return new Promise((ie,ae)=>{const oe=new FileReader;oe.readAsDataURL(re),oe.onload=()=>ie(oe.result.split(",").pop()),oe.onerror=ue=>ae(ue)})}function checkImage(re){if(!/ \. (?:gif|jpe?g|png) $ /i.test(re.name))return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};const ae=10;return re.size>ae*1024*1024?{ok:!1,msg: ` 由于公众号限制 , 图片大小不能超过 $ { ae } M ` }:{ok:!0}}function removeLeft(re){const ie=re.split( `
` ),ae=ie.filter(oe=>oe.trim()).map(oe=>oe.match(/(^ \s +)?/)[0].length).sort((oe,ue)=>oe-ue)[0];return ie.map(oe=>oe.slice(ae)).join( `
` )}function solveWeChatImage(){const ie=document.getElementById("output").getElementsByTagName("img");for(let ae=0;ae<ie.length;ae++){const oe=ie[ae],ue=oe.getAttribute("width"),de=oe.getAttribute("height");oe.removeAttribute("width"),oe.removeAttribute("height"),oe.style.width=ue,oe.style.height=de}}function mergeCss(re){return juice(re,{inlinePseudoElements:!0,preserveImportant:!0})}const useStore=defineStore("store",()=>{const re=useDark(),ie=useToggle(re),ae=useStorage("isMacCodeBlock",!0),oe=useToggle(ae),ue=useStorage("isEditOnLeft",!0),de=useToggle(ue),pe=useStorage("isCiteStatus",!1),_e=useToggle(pe),Ce=ref $ 1(""),Ne=useStorage(addPrefix("theme"),themeOptions[0].value),Oe=useStorage("fonts",fontFamilyOptions[0].value),Ie=useStorage("size",fontSizeOptions[2].value),Fe=useStorage("color",colorOptions[0].value),Ue=useStorage("codeBlockTheme",codeBlockThemeOptions[2].value),Ve=useStorage("legend",legendOptions[3].value),ze=Ie.value.replace("px",""),jt=new WxRenderer({theme:setTheme(themeMap[Ne.value],ze,Fe.value,Ne.value==="default"),fonts:Oe.value,size:Ie.value}),kt=ref $ 1(null),Pt=useStorage("__editor_content",formatDoc(DEFAULT_CONTENT)),Et=()=>{const Br=formatDoc(kt.value.getValue());Pt.value=Br,kt.value.setValue(Br)},er=()=>{const Br=Ue.value,Hr=document.querySelector("#hljs");if(Hr)Hr.setAttribute("href",Br);else{const zr=document.createElement("link");zr.setAttribute("type","text/css"),zr.setAttribute("rel","stylesheet"),zr.setAttribute("href",Br),zr.setAttribute("id","hljs"),document.head.appendChild(zr)}},tr=()=>{er();const Br=jt;Br.reset(),Br.setOptions({status:pe.value,legend:Ve.value}),marked $ 1.setOptions({renderer:Br});let Hr=marked $ 1.parse(kt.value.getValue(0));Hr=Hr.replace(/(style=".*?)"/,' $ 1;margin-top: 0"'),pe.value&&(Hr+=jt.buildFootnotes(),Hr+=jt.buildAddition()),ae.value&&(Hr+= `
< style >
. hljs . code _ _pre : : before {
position : initial ;
padding : initial ;
content : '' ;
display : block ;
height : 25 px ;
background - color : transparent ;
background - image : url ( "https://doocs.oss-cn-shenzhen.aliyuncs.com/img/123.svg" ) ;
background - position : 14 px 10 px ! important ;
background - repeat : no - repeat ;
background - size : 40 px ! important ;
}
. hljs . code _ _pre {
padding : 0 ! important ;
}
. hljs . code _ _pre code {
display : - webkit - box ;
padding : 0.5 em 1 em 1 em ;
overflow - x : auto ;
text - indent : 0 ;
}
< / s t y l e >
` ),Ce.value=Hr},nr=ref $ 1(null),lr=Br=>{nr.value.setValue(Br)},cr=useStorage("__css_content",DEFAULT_CSS_CONTENT),ir=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:cr.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{cr.value=""});const ar=()=>ir.value.tabs.find(Br=>Br.name===ir.value.active),sr=Br=>{ir.value.active=Br;const Hr=ir.value.tabs.find(zr=>zr.name===Br).content;lr(Hr)},dr=Br=>{const Hr=ar();Hr.title=Br,Hr.name=Br,ir.value.active=Br},fr=Br=>{ir.value.tabs.push({name:Br,title:Br,content:DEFAULT_CSS_CONTENT}),ir.value.active=Br,lr(DEFAULT_CSS_CONTENT)},_r=Br=>ir.value.tabs.every(({name:Hr})=>Hr!==Br),mr=()=>{const Br=css2json(nr.value.getValue());let Hr=setTheme(themeMap[Ne.value],ze,Fe.value,Ne.value==="default");Hr=customCssWithTemplate(Br,Fe.value,Hr),jt.setOptions({theme:Hr}),tr()};onMounted(()=>{const Br=document.querySelector("#cssEditor");Br.value=ar().content,nr.value=markRaw(CodeMirror.fromTextArea(Br,{mode:"css",theme:"style-mirror",lineNumbers:!1,lineWrapping:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[ ` $ { shiftKey } - $ { altKey } - F ` ]:function(zr){const An=formatCss(zr.getValue());ar().content=An,zr.setValue(An)}}})),nr.value.on("keyup",(Hr,zr)=>{(zr.keyCode>=65&&zr.keyCode<=90||zr.keyCode===189)&&Hr.showHint(zr)}),nr.value.on("update",()=>{mr(),ar().content=nr.value.getValue()})});const Er=()=>{pe.value=!1,ae.value=!0,Ne.value=themeOptions[0].value,Oe.value=fontFamilyOptions[0].value,Oe.value=fontFamilyOptions[0].value,Ie.value=fontSizeOptions[2].value,Fe.value=colorOptions[0].value,Ue.value=codeBlockThemeOptions[2].value,Ve.value=legendOptions[3].value,ir.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:cr.value||DEFAULT_CSS_CONTENT}]},nr.value.setValue(DEFAULT_CSS_CONTENT),mr(),tr()},Sr=Br=>(...Hr)=>{Br(...Hr),tr()},xr=(Br,Hr)=>{const zr=setFontSizeWithTemplate(themeMap[Ne.value])(Br.replace("px",""),Ne.value==="default");return setColorWithCustomTemplate(zr,Hr,Ne.value==="default")},Nr=Sr(Br=>{jt.setOptions({theme:setTheme(themeMap[Br],ze,Fe.value,Br==="default")}),Ne.value=Br}),Rr=Sr(Br=>{jt.setOptions({fonts:Br}),Oe.value=Br}),Vr=Sr(Br=>{const Hr=xr(Br,Fe.value);jt.setOptions({size:Br,theme:Hr}),Ie.value=Br}),Fr=Sr(Br=>{const Hr=xr(Ie.value,Br);jt.setOptions({theme:Hr}),Fe.value=Br}),Ir=Sr(Br=>{Ue.value=Br}),kr=Sr(Br=>{Ve.value=Br}),qr=Sr(()=>{oe()}),Wr=Sr(()=>{_e()}),Ar=()=>{exportHTML(),document.querySelector("#output").innerHTML=Ce.value},Dr=()=>{downloadMD(kt.value.getValue())},Jr=()=>{const Br=document.body,Hr=document.createElement("input");Hr.type="file",Hr.name="filename",Hr.accept=".md",Hr.onchange=()=>{const zr=Hr.files[0];if(!zr)return;const An=new FileReader;An.readAsText(zr),An.onload=kn=>{kt.value.setValue(formatDoc(kn.target.result)),ElMessage.success("文档导入成功")}},Br.appendChild(Hr),Hr.click(),Br.removeChild(Hr)},Sn=()=>{ElMessageBox.confirm("此操作将丢失本地自定义样式,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(()=>{Er(),ElMessage({type:"success",message:"样式重置成功~"})}).catch(()=>{kt.value.focus()})},vn=ref $ 1(!1),xn=useToggle(vn), $ r=ref $ 1(!1),Lr=useToggle( $ r),Gr=ref $ 1(!1),Mr=useToggle(Gr);return{isShowCssEditor:vn,toggleShowCssEditor:xn,isShowInsertFormDialog: $ r,toggleShowInsertFormDialog:Lr,isShowUploadImgDialog:Gr,toggleShowUploadImgDialog:Mr,isDark:re,toggleDark:ie,isEditOnLeft:ue,toggleEditOnLeft:de,isMacCodeBlock:ae,isCiteStatus:pe,citeStatusChanged:Wr,output:Ce,editor:kt,cssEditor:nr,theme:Ne,fontFamily:Oe,fontSize:Ie,fontColor:Fe,codeBlockTheme:Ue,legend:Ve,editorRefresh:tr,themeChanged:Nr,fontChanged:Rr,sizeChanged:Vr,colorChanged:Fr,codeBlockThemeChanged:Ir,legendChanged:kr,macCodeBlockChanged:qr,formatContent:Et,exportEditorContent2HTML:Ar,exportEditorContent2MD:Dr,importMarkdownContent:Jr,resetStyleConfirm:Sn,editorContent:Pt,cssContentConfig:ir,addCssContentTab:fr,validatorTabName:_r,setCssEditorValue:lr,tabChanged:sr,renameTab:dr}}),Store=createPinia(),ElementPlus={install(re){re.use(in
( c ) 2012 by Cédric Mesnil . All rights reserved .
Redistribution and use in source and binary forms , with or without modification , are permitted provided that the following conditions are met :
- Redistributions of source code must retain the above copyright notice , this list of conditions and the following disclaimer .
- Redistributions in binary form must reproduce the above copyright notice , this list of conditions and the following disclaimer in the documentation and / or other materials provided with the distribution .
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE .
* / r e t u r n f u n c t i o n ( o e ) { v a r u e = a e , d e = u e . l i b , p e = d e . W o r d A r r a y , _ e = d e . H a s h e r , C e = u e . a l g o , N e = p e . c r e a t e ( [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 , 1 1 , 1 2 , 1 3 , 1 4 , 1 5 , 7 , 4 , 1 3 , 1 , 1 0 , 6 , 1 5 , 3 , 1 2 , 0 , 9 , 5 , 2 , 1 4 , 1 1 , 8 , 3 , 1 0 , 1 4 , 4 , 9 , 1 5 , 8 , 1 , 2 , 7 , 0 , 6 , 1 3 , 1 1 , 5 , 1 2 , 1 , 9 , 1 1 , 1 0 , 0 , 8 , 1 2 , 4 , 1 3 , 3 , 7 , 1 5 , 1 4 , 5 , 6 , 2 , 4 , 0 , 5 , 9 , 7 , 1 2 , 2 , 1 0 , 1 4 , 1 , 3 , 8 , 1 1 , 6 , 1 5 , 1 3 ] ) , O e = p e . c r e a t e ( [ 5 , 1 4 , 7 , 0 , 9 , 2 , 1 1 , 4 , 1 3 , 6 , 1 5 , 8 , 1 , 1 0 , 3 , 1 2 , 6 , 1 1 , 3 , 7 , 0 , 1 3 , 5 , 1 0 , 1 4 , 1 5 , 8 , 1 2 , 4 , 9 , 1 , 2 , 1 5 , 5 , 1 , 3 , 7 , 1 4 , 6 , 9 , 1 1 , 8 , 1 2 , 2 , 1 0 , 0 , 4 , 1 3 , 8 , 6 , 4 , 1 , 3 , 1 1 , 1 5 , 0 , 5 , 1 2 , 2 , 1 3 , 9 , 7 , 1 0 , 1 4 , 1 2 , 1 5 , 1 0 , 4 , 1 , 5 , 8 , 7 , 6 , 2 , 1 3 , 1 4 , 0 , 3 , 9 , 1 1 ] ) , I e = p e . c r e a t e ( [ 1 1 , 1 4 , 1 5 , 1 2 , 5 , 8 , 7 , 9 , 1 1 , 1 3 , 1 4 , 1 5 , 6 , 7 , 9 , 8 , 7 , 6 , 8 , 1 3 , 1 1 , 9 , 7 , 1 5 , 7 , 1 2 , 1 5 , 9 , 1 1 , 7 , 1 3 , 1 2 , 1 1 , 1 3 , 6 , 7 , 1 4 , 9 , 1 3 , 1 5 , 1 4 , 8 , 1 3 , 6 , 5 , 1 2 , 7 , 5 , 1 1 , 1 2 , 1 4 , 1 5 , 1 4 , 1 5 , 9 , 8 , 9 , 1 4 , 5 , 6 , 8 , 6 , 5 , 1 2 , 9 , 1 5 , 5 , 1 1 , 6 , 8 , 1 3 , 1 2 , 5 , 1 2 , 1 3 , 1 4 , 1 1 , 8 , 5 , 6 ] ) , F e = p e . c r e a t e ( [ 8 , 9 , 9 , 1 1 , 1 3 , 1 5 , 1 5 , 5 , 7 , 7 , 8 , 1 1 , 1 4 , 1 4 , 1 2 , 6 , 9 , 1 3 , 1 5 , 7 , 1 2 , 8 , 9 , 1 1 , 7 , 7 , 1 2 , 7 , 6 , 1 5 , 1 3 , 1 1 , 9 , 7 , 1 5 , 1 1 , 8 , 6 , 6 , 1 4 , 1 2 , 1 3 , 5 , 1 4 , 1 3 , 1 3 , 7 , 5 , 1 5 , 5 , 8 , 1 1 , 1 4 , 1 4 , 6 , 1 4 , 6 , 9 , 1 2 , 9 , 1 2 , 5 , 1 5 , 8 , 8 , 5 , 1 2 , 9 , 1 2 , 5 , 1 4 , 6 , 8 , 1 3 , 6 , 5 , 1 5 , 1 3 , 1 1 , 1 1 ] ) , U e = p e . c r e a t e ( [ 0 , 1 5 1 8 5 0 0 2 4 9 , 1 8 5 9 7 7 5 3 9 3 , 2 4 0 0 9 5 9 7 0 8 , 2 8 4 0 8 5 3 8 3 8 ] ) , V e = p e . c r e a t e ( [ 1 3 5 2 8 2 9 9 2 6 , 1 5 4 8 6 0 3 6 8 4 , 1 8 3 6 0 7 2 6 9 1 , 2 0 5 3 9 9 4 2 1 7 , 0 ] ) , z e = C e . R I P E M D 1 6 0 = _ e . e x t e n d ( { _ d o R e s e t : f u n c t i o n ( ) { t h i s . _ h a s h = p e . c r e a t e ( [ 1 7 3 2 5 8 4 1 9 3 , 4 0 2 3 2 3 3 4 1 7 , 2 5 6 2 3 8 3 1 0 2 , 2 7 1 7 3 3 8 7 8 , 3 2 8 5 3 7 7 5 2 0 ] ) } , _ d o P r o c e s s B l o c k : f u n c t i o n ( n r , l r ) { f o r ( v a r c r = 0 ; c r < 1 6 ; c r + + ) { v a r i r = l r + c r , a r = n r [ i r ] ; n r [ i r ] = ( a r < < 8 | a r > > > 2 4 ) & 1 6 7 1 1 9 3 5 | ( a r < < 2 4 | a r > > > 8 ) & 4 2 7 8 2 5 5 3 6 0 } v a r s r = t h i s . _ h a s h . w o r d s , d r = U e . w o r d s , f r = V e . w o r d s , _ r = N e . w o r d s , m r = O e . w o r d s , E r = I e . w o r d s , S r = F e . w o r d s , x r , N r , R r , V r , F r , I r , k r , q r , W r , A r ; I r = x r = s r [ 0 ] , k r = N r = s r [ 1 ] , q r = R r = s r [ 2 ] , W r = V r = s r [ 3 ] , A r = F r = s r [ 4 ] ; f o r ( v a r D r , c r = 0 ; c r < 8 0 ; c r + = 1 ) D r = x r + n r [ l r + _ r [ c r ] ] | 0 , c r < 1 6 ? D r + = j t ( N r , R r , V r ) + d r [ 0 ] : c r < 3 2 ? D r + = k t ( N r , R r , V r ) + d r [ 1 ] : c r < 4 8 ? D r + = P t ( N r , R r , V r ) + d r [ 2 ] : c r < 6 4 ? D r + = E t ( N r , R r , V r ) + d r [ 3 ] : D r + = e r ( N r , R r , V r ) + d r [ 4 ] , D r = D r | 0 , D r = t r ( D r , E r [ c r ] ) , D r = D r + F r | 0 , x r = F r , F r = V r , V r = t r ( R r , 1 0 ) , R r = N r , N r = D r , D r = I r + n r [ l r + m r [ c r ] ] | 0 , c r < 1 6 ? D r + = e r ( k r , q r , W r ) + f r [ 0 ] : c r < 3 2 ? D r + = E t ( k r , q r , W r ) + f r [ 1 ] : c r < 4 8 ? D r + = P t ( k r , q r , W r ) + f r [ 2 ] : c r < 6 4 ? D r + = k t ( k r , q r , W r ) + f r [ 3 ] : D r + = j t ( k r , q r , W r ) + f r [ 4 ] , D r = D r | 0 , D r = t r ( D r , S r [ c r ] ) , D r = D r + A r | 0 , I r = A r , A r = W r , W r = t r ( q r , 1 0 ) , q r = k r , k r = D r ; D r = s r [ 1 ] + R r + W r | 0 , s r [ 1 ] = s r [ 2 ] + V r + A r | 0 , s r [ 2 ] = s r [ 3 ] + F r + I r | 0 , s r [ 3 ] = s r [ 4 ] + x r + k r | 0 , s r [ 4 ] = s r [ 0 ] + N r + q r | 0 , s r [ 0 ] = D r } , _ d o F i n a l i z e : f u n c t i o n ( ) { v a r n r = t h i s . _ d a t a , l r = n r . w o r d s , c r = t h i s . _ n D a t a B y t e s * 8 , i r = n r . s i g B y t e s * 8 ; l r [ i r > > > 5 ] | = 1 2 8 < < 2 4 - i r % 3 2 , l r [ ( i r + 6 4 > > > 9 < < 4 ) + 1 4 ] = ( c r < < 8 | c r > > > 2 4 ) & 1 6 7 1 1 9 3 5 | ( c r < < 2 4 | c r > > > 8 ) & 4 2 7 8 2 5 5 3 6 0 , n r . s i g B y t e s = ( l r . l e n g t h + 1 ) * 4 , t h i s . _ p r o c e s s ( ) ; f o r ( v a r a r = t h i s . _ h a s h , s r = a r . w o r d s , d r = 0 ; d r < 5 ; d r + + ) { v a r f r = s r [ d r ] ; s r [ d r ] = ( f r < < 8 | f r > > > 2 4 ) & 1 6 7 1 1 9 3 5 | ( f r < < 2 4 | f r > > > 8 ) & 4 2 7 8 2 5 5 3 6 0 } r e t u r n a r } , c l o n e : f u n c t i o n ( ) { v a r n r = _ e . c l o n e . c a l l ( t h i s ) ; r e t u r n n r . _ h a s h = t h i s . _ h a s h . c l o n e ( ) , n r } } ) ; f u n c t i o n j t ( n r , l r , c r ) { r e t u r n n r ^ l r ^ c r } f u n c t i o n k t ( n r , l r , c r ) { r e t u r n n r & l r | ~ n r & c r } f u n c t i o n P t ( n r , l r , c r ) { r e t u r n ( n r | ~ l r ) ^ c r } f u n c t i o n E t ( n r , l r , c r ) { r e t u r n n r & c r | l r & ~ c r } f u n c t i o n e r ( n r , l r , c r ) { r e t u r n n r ^ ( l r | ~ c r ) } f u n c t i o n t r ( n r , l r ) { r e t u r n n r < < l r | n r > > > 3 2 - l r } u e . R I P E M D 1 6 0 = _ e . _ c r e a t e H e l p e r ( z e ) , u e . H m a c R I P E M D 1 6 0 = _ e . _ c r e a t e H m a c H e l p e r ( z e ) } ( ) , a e . R I P E M D 1 6 0 } ) } ( r i p e m d 1 6 0 ) ) , r i p e m d 1 6 0 . e x p o r t s } v a r h m a c = { e x p o r t s : { } } , h a s R e q u i r e d H m a c ; f u n c t i o n r e q u i r e H m a c ( ) { r e t u r n h a s R e q u i r e d H m a c | | ( h a s R e q u i r e d H m a c = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { ( f u n c t i o n ( ) { v a r o e = a e , u e = o e . l i b , d e = u e . B a s e , p e = o e . e n c , _ e = p e . U t f 8 , C e = o e . a l g o ; C e . H M A C = d e . e x t e n d ( { i n i t : f u n c t i o n ( N e , O e ) { N e = t h i s . _ h a s h e r = n e w N e . i n i t , t y p e o f O e = = " s t r i n g " & & ( O e = _ e . p a r s e ( O e ) ) ; v a r I e = N e . b l o c k S i z e , F e = I e * 4 ; O e . s i g B y t e s > F e & & ( O e = N e . f i n a l i z e ( O e ) ) , O e . c l a m p ( ) ; f o r ( v a r U e = t h i s . _ o K e y = O e . c l o n e ( ) , V e = t h i s . _ i K e y = O e . c l o n e ( ) , z e = U e . w o r d s , j t = V e . w o r d s , k t = 0 ; k t < I e ; k t + + ) z e [ k t ] ^ = 1 5 4 9 5 5 6 8 2 8 , j t [ k t ] ^ = 9 0 9 5 2 2 4 8 6 ; U e . s i g B y t e s = V e . s i g B y t e s = F e , t h i s . r e s e t ( ) } , r e s e t : f u n c t i o n ( ) { v a r N e = t h i s . _ h a s h e r ; N e . r e s e t ( ) , N e . u p d a t e ( t h i s . _ i K e y ) } , u p d a t e : f u n c t i o n ( N e ) { r e t u r n t h i s . _ h a s h e r . u p d a t e ( N e ) , t h i s } , f i n a l i z e : f u n c t i o n ( N e ) { v a r O e = t h i s . _ h a s h e r , I e = O e . f i n a l i z e ( N e ) ; O e . r e s e t ( ) ; v a r F e = O e . f i n a l i z e ( t h i s . _ o K e y . c l o n e ( ) . c o n c a t ( I e ) ) ; r e t u r n F e } } ) } ) ( ) } ) } ( h m a c ) ) , h m a c . e x p o r t s } v a r p b k d f 2 = { e x p o r t s : { } } , h a s R e q u i r e d P b k d f 2 ; f u n c t i o n r e q u i r e P b k d f 2 ( ) { r e t u r n h a s R e q u i r e d P b k d f 2 | | ( h a s R e q u i r e d P b k d f 2 = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e S h a 2 5 6 ( ) , r e q u i r e H m a c ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u
* Counter block mode compatible with Dr Brian Gladman fileenc . c
* derived from CryptoJS . mode . CTR
* Jan Hruby jhruby . web @ gmail . com
* / r e t u r n a e . m o d e . C T R G l a d m a n = f u n c t i o n ( ) { v a r o e = a e . l i b . B l o c k C i p h e r M o d e . e x t e n d ( ) ; f u n c t i o n u e ( _ e ) { i f ( ( _ e > > 2 4 & 2 5 5 ) = = = 2 5 5 ) { v a r C e = _ e > > 1 6 & 2 5 5 , N e = _ e > > 8 & 2 5 5 , O e = _ e & 2 5 5 ; C e = = = 2 5 5 ? ( C e = 0 , N e = = = 2 5 5 ? ( N e = 0 , O e = = = 2 5 5 ? O e = 0 : + + O e ) : + + N e ) : + + C e , _ e = 0 , _ e + = C e < < 1 6 , _ e + = N e < < 8 , _ e + = O e } e l s e _ e + = 1 < < 2 4 ; r e t u r n _ e } f u n c t i o n d e ( _ e ) { r e t u r n ( _ e [ 0 ] = u e ( _ e [ 0 ] ) ) = = = 0 & & ( _ e [ 1 ] = u e ( _ e [ 1 ] ) ) , _ e } v a r p e = o e . E n c r y p t o r = o e . e x t e n d ( { p r o c e s s B l o c k : f u n c t i o n ( _ e , C e ) { v a r N e = t h i s . _ c i p h e r , O e = N e . b l o c k S i z e , I e = t h i s . _ i v , F e = t h i s . _ c o u n t e r ; I e & & ( F e = t h i s . _ c o u n t e r = I e . s l i c e ( 0 ) , t h i s . _ i v = v o i d 0 ) , d e ( F e ) ; v a r U e = F e . s l i c e ( 0 ) ; N e . e n c r y p t B l o c k ( U e , 0 ) ; f o r ( v a r V e = 0 ; V e < O e ; V e + + ) _ e [ C e + V e ] ^ = U e [ V e ] } } ) ; r e t u r n o e . D e c r y p t o r = p e , o e } ( ) , a e . m o d e . C T R G l a d m a n } ) } ( m o d e C t r G l a d m a n ) ) , m o d e C t r G l a d m a n . e x p o r t s } v a r m o d e O f b = { e x p o r t s : { } } , h a s R e q u i r e d M o d e O f b ; f u n c t i o n r e q u i r e M o d e O f b ( ) { r e t u r n h a s R e q u i r e d M o d e O f b | | ( h a s R e q u i r e d M o d e O f b = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e C i p h e r C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u r n a e . m o d e . O F B = f u n c t i o n ( ) { v a r o e = a e . l i b . B l o c k C i p h e r M o d e . e x t e n d ( ) , u e = o e . E n c r y p t o r = o e . e x t e n d ( { p r o c e s s B l o c k : f u n c t i o n ( d e , p e ) { v a r _ e = t h i s . _ c i p h e r , C e = _ e . b l o c k S i z e , N e = t h i s . _ i v , O e = t h i s . _ k e y s t r e a m ; N e & & ( O e = t h i s . _ k e y s t r e a m = N e . s l i c e ( 0 ) , t h i s . _ i v = v o i d 0 ) , _ e . e n c r y p t B l o c k ( O e , 0 ) ; f o r ( v a r I e = 0 ; I e < C e ; I e + + ) d e [ p e + I e ] ^ = O e [ I e ] } } ) ; r e t u r n o e . D e c r y p t o r = u e , o e } ( ) , a e . m o d e . O F B } ) } ( m o d e O f b ) ) , m o d e O f b . e x p o r t s } v a r m o d e E c b = { e x p o r t s : { } } , h a s R e q u i r e d M o d e E c b ; f u n c t i o n r e q u i r e M o d e E c b ( ) { r e t u r n h a s R e q u i r e d M o d e E c b | | ( h a s R e q u i r e d M o d e E c b = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e C i p h e r C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u r n a e . m o d e . E C B = f u n c t i o n ( ) { v a r o e = a e . l i b . B l o c k C i p h e r M o d e . e x t e n d ( ) ; r e t u r n o e . E n c r y p t o r = o e . e x t e n d ( { p r o c e s s B l o c k : f u n c t i o n ( u e , d e ) { t h i s . _ c i p h e r . e n c r y p t B l o c k ( u e , d e ) } } ) , o e . D e c r y p t o r = o e . e x t e n d ( { p r o c e s s B l o c k : f u n c t i o n ( u e , d e ) { t h i s . _ c i p h e r . d e c r y p t B l o c k ( u e , d e ) } } ) , o e } ( ) , a e . m o d e . E C B } ) } ( m o d e E c b ) ) , m o d e E c b . e x p o r t s } v a r p a d A n s i x 9 2 3 = { e x p o r t s : { } } , h a s R e q u i r e d P a d A n s i x 9 2 3 ; f u n c t i o n r e q u i r e P a d A n s i x 9 2 3 ( ) { r e t u r n h a s R e q u i r e d P a d A n s i x 9 2 3 | | ( h a s R e q u i r e d P a d A n s i x 9 2 3 = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e C i p h e r C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u r n a e . p a d . A n s i X 9 2 3 = { p a d : f u n c t i o n ( o e , u e ) { v a r d e = o e . s i g B y t e s , p e = u e * 4 , _ e = p e - d e % p e , C e = d e + _ e - 1 ; o e . c l a m p ( ) , o e . w o r d s [ C e > > > 2 ] | = _ e < < 2 4 - C e % 4 * 8 , o e . s i g B y t e s + = _ e } , u n p a d : f u n c t i o n ( o e ) { v a r u e = o e . w o r d s [ o e . s i g B y t e s - 1 > > > 2 ] & 2 5 5 ; o e . s i g B y t e s - = u e } } , a e . p a d . A n s i x 9 2 3 } ) } ( p a d A n s i x 9 2 3 ) ) , p a d A n s i x 9 2 3 . e x p o r t s } v a r p a d I s o 1 0 1 2 6 = { e x p o r t s : { } } , h a s R e q u i r e d P a d I s o 1 0 1 2 6 ; f u n c t i o n r e q u i r e P a d I s o 1 0 1 2 6 ( ) { r e t u r n h a s R e q u i r e d P a d I s o 1 0 1 2 6 | | ( h a s R e q u i r e d P a d I s o 1 0 1 2 6 = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e C i p h e r C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u r n a e . p a d . I s o 1 0 1 2 6 = { p a d : f u n c t i o n ( o e , u e ) { v a r d e = u e * 4 , p e = d e - o e . s i g B y t e s % d e ; o e . c o n c a t ( a e . l i b . W o r d A r r a y . r a n d o m ( p e - 1 ) ) . c o n c a t ( a e . l i b . W o r d A r r a y . c r e a t e ( [ p e < < 2 4 ] , 1 ) ) } , u n p a d : f u n c t i o n ( o e ) { v a r u e = o e . w o r d s [ o e . s i g B y t e s - 1 > > > 2 ] & 2 5 5 ; o e . s i g B y t e s - = u e } } , a e . p a d . I s o 1 0 1 2 6 } ) } ( p a d I s o 1 0 1 2 6 ) ) , p a d I s o 1 0 1 2 6 . e x p o r t s } v a r p a d I s o 9 7 9 7 1 = { e x p o r t s : { } } , h a s R e q u i r e d P a d I s o 9 7 9 7 1 ; f u n c t i o n r e q u i r e P a d I s o 9 7 9 7 1 ( ) { r e t u r n h a s R e q u i r e d P a d I s o 9 7 9 7 1 | | ( h a s R e q u i r e d P a d I s o 9 7 9 7 1 = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e C i p h e r C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u r n a e . p a d . I s o 9 7 9 7 1 = { p a d : f u n c t i o n ( o e , u e ) { o e . c o n c a t ( a e . l i b . W o r d A r r a y . c r e a t e ( [ 2 1 4 7 4 8 3 6 4 8 ] , 1 ) ) , a e . p a d . Z e r o P a d d i n g . p a d ( o e , u e ) } , u n p a d : f u n c t i o n ( o e ) { a e . p a d . Z e r o P a d d i n g . u n p a d ( o e ) , o e . s i g B y t e s - - } } , a e . p a d . I s o 9 7 9 7 1 } ) } ( p a d I s o 9 7 9 7 1 ) ) , p a d I s o 9 7 9 7 1 . e x p o r t s } v a r p a d Z e r o p a d d i n g = { e x p o r t s : { } } , h a s R e q u i r e d P a d Z e r o p a d d i n g ; f u n c t i o n r e q u i r e P a d Z e r o p a d d i n g ( ) { r e t u r n h a s R e q u i r e d P a d Z e r o p a d d i n g | | ( h a s R e q u i r e d P a d Z e r o p a d d i n g = 1 , f u n c t i o n ( r e , i e ) { ( f u n c t i o n ( a e , o e , u e ) { r e . e x p o r t s = o e ( r e q u i r e C o r e ( ) , r e q u i r e C i p h e r C o r e ( ) ) } ) ( c o m m o n j s G l o b a l , f u n c t i o n ( a e ) { r e t u r n a e . p a d . Z e r o P a d d i n g = { p a d : f u n c t i o n ( o e , u e ) { v a r d e = u e * 4 ; o e . c l a m p ( ) , o e . s i g B y t e s + = d e - ( o e . s i g B y t e s % d e | | d e ) } , u n p a d : f u n c t i o n ( o e ) { f o r ( v a r u e = o e . w o r d s , d e = o e . s i g B y t e s - 1 , d e = o e . s i g B y t e s - 1 ; d e > = 0 ; d e - - ) i f ( u e [ d e > > > 2 ] > > > 2 4 - d e % 4 * 8 & 2 5 5 ) { o e . s i g B y t e s = d e + 1 ; b r e a k } } } , a e . p a d . Z e r o P a d d i n g } ) } ( p a d Z e r o p a d d i n g ) ) , p a d Z e r o p a d d i n g . e x p o r t s } v a r p a d N o p a d d i n g = { e x p o r t s : { } } , h a s R e q u i r e d P a d N o p a d d i n g ; f u n c t i o n r e q u i r e P a d N o p a d d i
< BucketLoggingStatus >
< LoggingEnabled >
< TargetBucket > ` .concat(Pt, ` < / T a r g e t B u c k e t >
` ),Et&&(nr+="<TargetPrefix>".concat(Et, ` < / T a r g e t P r e f i x >
` )),nr+= ` < / L o g g i n g E n a b l e d >
< / B u c k e t L o g g i n g S t a t u s > ` , t r . c o n t e n t = n r , t r . m i m e = " x m l " , t r . s u c c e s s S t a t u s e s = [ 2 0 0 ] , i r . n e x t = 9 , t h i s . r e q u e s t ( t r ) ; c a s e 9 : r e t u r n l r = i r . s e n t , i r . a b r u p t ( " r e t u r n " , { r e s : l r . r e s } ) ; c a s e 1 1 : c a s e " e n d " : r e t u r n i r . s t o p ( ) } } , k t , t h i s ) } ) ) ; f u n c t i o n j t ( k t , P t , E t ) { r e t u r n z e . a p p l y ( t h i s , a r g u m e n t s ) } r e t u r n j t } ( ) , F e . g e t B u c k e t L o g g i n g = f u n c t i o n ( ) { v a r z e = ( 0 , C e . d e f a u l t ) ( _ e . d e f a u l t . m a r k ( f u n c t i o n k t ( P t , E t ) { v a r e r , t r , n r ; r e t u r n _ e . d e f a u l t . w r a p ( f u n c t i o n ( c r ) { f o r ( ; ; ) s w i t c h ( c r . p r e v = c r . n e x t ) { c a s e 0 : r e t u r n e r = t h i s . _ b u c k e t R e q u e s t P a r a m s ( " G E T " , P t , " l o g g i n g " , E t ) , e r . s u c c e s s S t a t u s e s = [ 2 0 0 ] , e r . x m l R e s p o n s e = ! 0 , c r . n e x t = 5 , t h i s . r e q u e s t ( e r ) ; c a s e 5 : r e t u r n t r = c r . s e n t , n r = t r . d a t a . L o g g i n g E n a b l e d , c r . a b r u p t ( " r e t u r n " , { e n a b l e : ! ! n r , p r e f i x : n r & & n r . T a r g e t P r e f i x | | n u l l , r e s : t r . r e s } ) ; c a s e 8 : c a s e " e n d " : r e t u r n c r . s t o p ( ) } } , k t , t h i s ) } ) ) ; f u n c t i o n j t ( k t , P t ) { r e t u r n z e . a p p l y ( t h i s , a r g u m e n t s ) } r e t u r n j t } ( ) , F e . d e l e t e B u c k e t L o g g i n g = f u n c t i o n ( ) { v a r z e = ( 0 , C e . d e f a u l t ) ( _ e . d e f a u l t . m a r k ( f u n c t i o n k t ( P t , E t ) { v a r e r , t r ; r e t u r n _ e . d e f a u l t . w r a p ( f u n c t i o n ( l r ) { f o r ( ; ; ) s w i t c h ( l r . p r e v = l r . n e x t ) { c a s e 0 : r e t u r n e r = t h i s . _ b u c k e t R e q u e s t P a r a m s ( " D E L E T E " , P t , " l o g g i n g " , E t ) , e r . s u c c e s s S t a t u s e s = [ 2 0 4 , 2 0 0 ] , l r . n e x t = 4 , t h i s . r e q u e s t ( e r ) ; c a s e 4 : r e t u r n t r = l r . s e n t , l r . a b r u p t ( " r e t u r n " , { r e s : t r . r e s } ) ; c a s e 6 : c a s e " e n d " : r e t u r n l r . s t o p ( ) } } , k t , t h i s ) } ) ) ; f u n c t i o n j t ( k t , P t ) { r e t u r n z e . a p p l y ( t h i s , a r g u m e n t s ) } r e t u r n j t } ( ) , F e . p u t B u c k e t C O R S = f u n c t i o n ( ) { v a r z e = ( 0 , C e . d e f a u l t ) ( _ e . d e f a u l t . m a r k ( f u n c t i o n k t ( P t , E t , e r ) { v a r t r , n r , l r , c r , i r , a r , s r , d r , f r , _ r ; r e t u r n _ e . d e f a u l t . w r a p ( f u n c t i o n ( E r ) { f o r ( ; ; ) s w i t c h ( E r . p r e v = E r . n e x t ) { c a s e 0 : f o r ( E t = E t | | [ ] , N e ( E t . l e n g t h , " r u l e s i s r e q u i r e d " ) , E t . f o r E a c h ( f u n c t i o n ( S r ) { N e ( S r . a l l o w e d O r i g i n , " a l l o w e d O r i g i n i s r e q u i r e d " ) , N e ( S r . a l l o w e d M e t h o d , " a l l o w e d M e t h o d i s r e q u i r e d " ) } ) , t r = t h i s . _ b u c k e t R e q u e s t P a r a m s ( " P U T " , P t , " c o r s " , e r ) , n r = ` < ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " U T F - 8 " ? >
< CORSConfiguration > ` ,lr=function(xr){nr+="<AllowedOrigin>".concat(xr,"</AllowedOrigin>")},cr=function(xr){nr+="<AllowedMethod>".concat(xr,"</AllowedMethod>")},ir=function(xr){nr+="<AllowedHeader>".concat(xr,"</AllowedHeader>")},ar=function(xr){nr+="<ExposeHeader>".concat(xr,"</ExposeHeader>")},sr=0,dr=Et.length;sr<dr;sr++)fr=Et[sr],nr+="<CORSRule>",Ve(fr.allowedOrigin).forEach(lr),Ve(fr.allowedMethod).forEach(cr),Ve(fr.allowedHeader).forEach(ir),Ve(fr.exposeHeader).forEach(ar),fr.maxAgeSeconds&&(nr+="<MaxAgeSeconds>".concat(fr.maxAgeSeconds,"</MaxAgeSeconds>")),nr+="</CORSRule>";return nr+="</CORSConfiguration>",tr.content=nr,tr.mime="xml",tr.successStatuses=[200],Er.next=16,this.request(tr);case 16:return _r=Er.sent,Er.abrupt("return",{res:_r.res});case 18:case"end":return Er.stop()}},kt,this)}));function jt(kt,Pt,Et){return ze.apply(this,arguments)}return jt}(),Fe.getBucketCORS=function(){var ze=(0,Ce.default)(_e.default.mark(function kt(Pt,Et){var er,tr,nr,lr;return _e.default.wrap(function(ir){for(;;)switch(ir.prev=ir.next){case 0:return er=this._bucketRequestParams("GET",Pt,"cors",Et),er.successStatuses=[200],er.xmlResponse=!0,ir.next=5,this.request(er);case 5:return tr=ir.sent,nr=[],tr.data&&tr.data.CORSRule&&(lr=tr.data.CORSRule,Ue(lr)||(lr=[lr]),lr.forEach(function(ar){var sr={};Object.keys(ar).forEach(function(dr){sr[dr.slice(0,1).toLowerCase()+dr.slice(1,dr.length)]=ar[dr]}),nr.push(sr)})),ir.abrupt("return",{rules:nr,res:tr.res});case 9:case"end":return ir.stop()}},kt,this)}));function jt(kt,Pt){return ze.apply(this,arguments)}return jt}(),Fe.deleteBucketCORS=function(){var ze=(0,Ce.default)(_e.default.mark(function kt(Pt,Et){var er,tr;return _e.default.wrap(function(lr){for(;;)switch(lr.prev=lr.next){case 0:return er=this._bucketRequestParams("DELETE",Pt,"cors",Et),er.successStatuses=[204],lr.next=4,this.request(er);case 4:return tr=lr.sent,lr.abrupt("return",{res:tr.res});case 6:case"end":return lr.stop()}},kt,this)}));function jt(kt,Pt){return ze.apply(this,arguments)}return jt}(),Fe.putBucketReferer=function(){var ze=(0,Ce.default)(_e.default.mark(function kt(Pt,Et,er,tr){var nr,lr,cr,ir;return _e.default.wrap(function(sr){for(;;)switch(sr.prev=sr.next){case 0:if(nr=this._bucketRequestParams("PUT",Pt,"referer",tr),lr= ` < ? xml version = "1.0" encoding = "UTF-8" ? >
< RefererConfiguration >
` ,lr+=" <AllowEmptyReferer>".concat(Et?"true":"false", ` < / A l l o w E m p t y R e f e r e r >
` ),er&&er.length>0){for(lr+= ` < RefererList >
` ,cr=0;cr<er.length;cr++)lr+=" <Referer>".concat(er[cr], ` < / R e f e r e r >
` );lr+= ` < / R e f e r e r L i s t >
` }else lr+= ` < RefererList / >
` ;return lr+="</RefererConfiguration>",nr.content=lr,nr.mime="xml",nr.successStatuses=[200],sr.next=10,this.request(nr);case 10:return ir=sr.sent,sr.abrupt("return",{res:ir.res});case 12:case"end":return sr.stop()}},kt,this)}));function jt(kt,Pt,Et,er){return ze.apply(this,arguments)}return jt}(),Fe.getBucketReferer=function(){var ze=(0,Ce.default)(_e.default.mark(function kt(Pt,Et){var er,tr,nr;return _e.default.wrap(function(cr){for(;;)switch(cr.prev=cr.next){case 0:return er=this._bucketRequestParams("GET",Pt,"referer",Et),er.successStatuses=[200],er.xmlResponse=!0,cr.next=5,this.request(er);case 5:return tr=cr.sent,nr=tr.data.RefererList.Referer||null,nr&&(Ue(nr)||(nr=[nr])),cr.abrupt("return",{allowEmpty:tr.data.AllowEmptyReferer==="true",referers:nr,res:tr.res});case 9:case"end":return cr.stop()}},kt,this)}));function jt(kt,Pt){return ze.apply(this,arguments)}return jt}(),Fe.deleteBucketReferer=function(){var ze=(0,Ce.default)(_e.default.mark(function kt(Pt,Et){return _e.default.wrap(function(tr){for(;;)switch(tr.prev=tr.next){case 0:return tr.next=2,this.putBucketReferer(Pt,!0,null,Et);case 2:return tr.abrupt("return",tr.sent);case 3:case"end":return tr.stop()}},kt,this)}));function jt(kt,Pt){return ze.apply(this,arguments)}return jt}(),Fe._bucketRequestParams=function(jt,kt,Pt,Et){return{method:jt,bucket:kt,subres:Pt,additionalHeaders:Et&&Et.additionalHeaders,timeout:Et&&Et.timeout,ctx:Et&&Et.ctx}}},{"../common/utils/checkBucketName":52,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,assert:95,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/web.dom-collections.for-each.js":382}],3:[function(oe,ue,de){(function(pe,_e){(function(){var Ce=oe("@babel/runtime/helpers/interopRequireDefault"),Ne=Ce(oe("@babel/runtime/regenerator")),Oe=Ce(oe("@babel/runtime/helpers/asyncToGenerator"));oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.object.assign.js"),oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.symbol.js"),oe("core-js/modules/es.symbol.description.js"),oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.regexp.to-string.js");var Ie=oe("debug")("ali-oss"),Fe=oe("xml2js"),Ue=oe("agentkeepalive"),Ve=oe("merge-descriptors"),ze=oe("platform"),jt=oe("utility"),kt=oe("urllib"),Pt=oe("./version"),Et=oe("bowser"),er=oe("../common/signUtils"),tr=oe("../common/client/initOptions"),nr=oe("../common/utils/createRequest"),lr=nr.createRequest,cr=oe("../common/utils/encoder"),ir=cr.encoder,ar=oe("../common/client/getReqUrl"),sr=ar.getReqUrl,dr=oe("../common/utils/setSTSToken"),fr=dr.setSTSToken,_r=oe("../common/utils/retry"),mr=_r.retry,Er=oe("../common/utils/isFunction"),Sr=Er.isFunction,xr=oe("../common/utils/getStandardRegion"),Nr=xr.getStandardRegion,Rr=new Ue;function Vr(){var Ar=ze.name,Dr=ze.version;Ar&&Ar.toLowerCase&&Ar.toLowerCase()==="ie"&&Dr.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Fr(){return location&&location.protocol==="https:"}function Ir(Ar,Dr){if(Vr(),!(this instanceof Ir))return new Ir(Ar,Dr);Ar&&Ar.inited?this.options=Ar:this.options=Ir.initOptions(Ar),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=kt,this.agent=this.options.agent||Rr),this.ctx=Dr,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}ue.exports=Ir,Ir.initOptions=function(Dr){Dr.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Jr=Object.assign({secure:Fr(),useFetch:!1},Dr);return tr(Jr)};var kr=Ir.prototype;kr.debug=Ie,Ve(kr,oe("./object")),Ve(kr,oe("./bucket")),Ve(kr,
raw xml : ` .concat(kn),ta.t1.status=Sn.status,ta.t1.requestId=Sn.headers["x-oss-request-id"],ta.abrupt("return",ta.t1);case 16:Nn=jr.Message||"unknow request error, status: ".concat(Sn.status),jr.Condition&&(Nn+=" (condition: ".concat(jr.Condition,")")),xn=new Error(Nn),xn.name=jr.Code?"".concat(jr.Code,"Error"):"UnknownError",xn.status=Sn.status,xn.code=jr.Code,xn.ecCode=jr.EC,xn.requestId=jr.RequestId,xn.hostId=jr.HostId,xn.serverTime=jr.ServerTime;case 26:case"end":return ta.stop()}},An,null,[[0,9]])}));return function(kn){return zr.apply(this,arguments)}}(),!(!Sn.data||!Sn.data.length)){Hr.next=37;break}if(!(Sn.status===-1||Sn.status===-2)){Hr.next=10;break}xn=new Error(Sn.message),xn.name=Sn.name,xn.status=Sn.status,xn.code=Sn.name,Hr.next=35;break;case 10:if(Sn.status!==404){Hr.next=17;break}xn=new Error("Object not exists"),xn.name="NoSuchKeyError",xn.status=404,xn.code="NoSuchKey",Hr.next=33;break;case 17:if(Sn.status!==412){Hr.next=24;break}xn=new Error("Pre condition failed"),xn.name="PreconditionFailedError",xn.status=412,xn.code="PreconditionFailed",Hr.next=33;break;case 24:if(xn=new Error("Unknow error, status: ".concat(Sn.status)),xn.name="UnknownError",xn.status=Sn.status,xn.res=Sn,Lr=Sn.headers["x-oss-err"],!Lr){Hr.next=33;break}return Gr=atob(Lr),Hr.next=33, $ r(Gr);case 33:xn.requestId=Sn.headers["x-oss-request-id"],xn.host="";case 35:Hr.next=41;break;case 37:return Mr=String(Sn.data),this.debug("request response error data: %s",Mr,"error"),Hr.next=41, $ r(Mr);case 41:return this.debug("generate error %j",xn,"error"),Hr.abrupt("return",xn);case 43:case"end":return Hr.stop()}},Jr,this)}));function Dr(Jr){return Ar.apply(this,arguments)}return Dr}()}).call(this)}).call(this,{isBuffer:oe("../../node_modules/is-buffer/index.js")},oe("_process"))},{"../../node_modules/is-buffer/index.js":411,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":50,"../common/signUtils":51,"../common/utils/createRequest":57,"../common/utils/encoder":61,"../common/utils/getStandardRegion":64,"../common/utils/isFunction":71,"../common/utils/retry":77,"../common/utils/setSTSToken":79,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,_process:540,agentkeepalive:94,bowser:101,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.includes.js":315,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.function.name.js":322,"core-js/modules/es.object.assign.js":325,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347,"core-js/modules/es.symbol.description.js":353,"core-js/modules/es.symbol.js":356,debug:538,"merge-descriptors":430,platform:442,urllib:548,utility:547,xml2js:498}],4:[function(oe,ue,de){(function(pe){(function(){var _e=oe("@babel/runtime/helpers/interopRequireDefault"),Ce=_e(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),oe("core-js/modules/es.array.from.js"),oe("core-js/modules/es.string.iterator.js"),oe("core-js/modules/es.array.map.js"),oe("cor
< CompleteMultipartUpload >
` ,dr=0;dr<ar.length;dr++)fr=ar[dr],sr+= ` < Part >
` ,sr+="<PartNumber>".concat(fr.number, ` < / P a r t N u m b e r >
` ),sr+="<ETag>".concat(fr.etag, ` < / E T a g >
` ),sr+= ` < / P a r t >
` ;return sr+="</CompleteMultipartUpload>",ir=ir||{},_r={},_r=Ue(ir,function(Rr){if(ze(Rr))return null}),_r.subres={uploadId:lr},_r.headers=kt(_r.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),mr=this._objectRequestParams("POST",nr,_r),Ie.encodeCallback(mr,_r),mr.mime="xml",mr.content=sr,mr.headers&&mr.headers["x-oss-callback"]||(mr.xmlResponse=!0),mr.successStatuses=[200],Nr.next=17,this.request(mr);case 17:if(Er=Nr.sent,!ir.progress){Nr.next=21;break}return Nr.next=21,ir.progress(1,null,Er.res);case 21:return Sr={res:Er.res,bucket:mr.bucket,name:nr,etag:Er.res.headers.etag},mr.headers&&mr.headers["x-oss-callback"]&&(Sr.data=JSON.parse(Er.data.toString())),Nr.abrupt("return",Sr);case 24:case"end":return Nr.stop()}},tr,this)}));function er(tr,nr,lr,cr){return Et.apply(this,arguments)}return er}(),Pt._uploadPart=function(){var Et=(0,Ne.default)(Ce.default.mark(function tr(nr,lr,cr,ir,ar){var sr,dr,fr,_r;return Ce.default.wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:return ar=ar||{},sr={},Oe(ar).to(sr),sr.headers=sr.headers||{},sr.headers["Content-Length"]=ir.size,sr.headers=kt(sr.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),sr.subres={partNumber:cr,uploadId:lr},dr=this._objectRequestParams("PUT",nr,sr),dr.mime=sr.mime,fr=pe&&pe.browser,fr?dr.content=ir.content:dr.stream=ir.stream,dr.successStatuses=[200],dr.disabledMD5=ar.disabledMD5,Er.next=15,this.request(dr);case 15:if(_r=Er.sent,_r.res.headers.etag){Er.next=18;break}throw new Error( ` Please set the etag of expose - headers in OSS
https : //help.aliyun.com/document_detail/32069.html`);case 18:return ir.stream&&(ir.stream=null,dr.stream=null),Er.abrupt("return",{name:nr,etag:_r.res.headers.etag,res:_r.res});case 20:case"end":return Er.stop()}},tr,this)}));function er(tr,nr,lr,cr,ir){return Et.apply(this,arguments)}return er}()}).call(this)}).call(this,oe("_process"))},{"./callback":24,"./utils/deepCopy":59,"./utils/isBuffer":68,"./utils/omit":76,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,_process:540,"copy-to":107,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.filter.js":312,"core-js/modules/es.array.map.js":318,"core-js/modules/es.array.sort.js":320,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341}],31:[function(oe,ue,de){var pe=oe("@babel/runtime/helpers/interopRequireDefault"),_e=pe(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.regexp.exec.js");var Ce=pe(oe("@babel/runtime/helpers/asyncToGenerator")),Ne=oe("url"),Oe=oe("utility"),Ie=oe("copy-to"),Fe=oe("../../common/signUtils"),Ue=oe("../utils/isIP"),Ve=Ue.isIP,ze=oe("../utils/setSTSToken"),jt=ze.setSTSToken,kt=oe("../utils/isFunction"),Pt=kt.isFunction,Et=de;Et.asyncSignatureUrl=function(){var er=(0,Ce.default)(_e.default.mark(function nr(lr,cr){var ir,ar,sr,dr,fr,_r,mr=arguments;return _e.default.wrap(function(Sr){for(;;)switch(Sr.prev=Sr.next){case 0:if(ir=mr.length>2&&mr[2]!==void 0?mr[2]:!0,!Ve(this.options.endpoint.hostname)){Sr.next=3;break}throw new Error("can not get the object URL when endpoint is IP");case 3:if(!(ir&&/^\?/.test(lr))){Sr.next=5;break}throw new Error("Invalid object name ".concat(lr));case 5:if(cr=cr||{},lr=this._objectName(lr),cr.method=cr.method||"GET",ar=Oe.timestamp()+(cr.expires||1800),sr={bucket:this.options.bucket,object:lr},dr=this._getResource(sr),!(this.options.stsToken&&Pt(this.options.refreshSTSToken))){Sr.next=14;break}return Sr.next=14,jt.call(this);case 14:return this.options.stsToken&&(cr["security-token"]=this.options.stsToken),fr=Fe._signatureForURL(this.options.accessKeySecret,cr,dr,ar),_r=Ne.parse(this._getReqUrl(sr)),_r.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ar,Signature:fr.Signature},Ie(fr.subResource).to(_r.query),Sr.abrupt("return",_r.format());case 20:case"end":return Sr.stop()}},nr,this)}));function tr(nr,lr){return er.apply(this,arguments)}return tr}()},{"../../common/signUtils":51,"../utils/isFunction":71,"../utils/isIP":72,"../utils/setSTSToken":79,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,"copy-to":107,"core-js/modules/es.regexp.exec.js":340,url:545,utility:547}],32:[function(oe,ue,de){var pe=oe("@babel/runtime/helpers/interopRequireDefault"),_e=pe(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/web.dom-collections.for-each.js"),oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.array.find.js"),oe("core-js/modules/es.array.includes.js"),oe("core-js/modules/es.array.concat.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.string.replace.js");var Ce=pe(oe("@babel/runtime/helpers/typeof")),Ne=pe(oe("@babel/runtime/helpers/asyncToGenerator")),Oe=oe("../utils/checkBucketName"),Ie=Oe.checkBucketName,Fe=de,Ue=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];Fe.copy=function(){var Ve=(0,Ne.default)(_e.default.mark(function jt(kt,Pt,Et,er){var tr,nr,lr;return _e.default.wrap(function(ir){for(;;)switch(ir.prev=ir.next){case 0:return(0,Ce.default)(Et)==="object"&&(er=Et),er=er||{},er.headers=er.headers||{},Object.keys(er.headers).forEach(function(ar){er.headers["x-oss-copy-source-".concat(ar.toLowerCase())]=er.headers[ar]}),(er.meta||Object.keys(er.headers).find(function(ar){return Ue.includes(ar.toLowerCase())}))&&(er.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(er.meta,er.headers),Pt=this._getSour
` )},de.computeSignature=function(kt,Pt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",er=Ne.createHmac("sha1",kt);return er.update(pe.from(Pt,Et)).digest("base64")},de.authorization=function(kt,Pt,Et,er){return"OSS ".concat(kt,":").concat(this.computeSignature(Pt,Et,er))},de.fixAdditionalHeaders=function(jt){if(!jt)return[];var kt="x-oss-";return(0,Ce.default)(new Set(jt.map(function(Pt){return Pt.toLowerCase()}))).filter(function(Pt){return Pt!=="content-type"&&Pt!=="content-md5"&&!Pt.startsWith(kt)}).sort()},de.getCanonicalRequest=function(kt,Pt,Et,er,tr){var nr=Ue(Pt.headers),lr=Pt.queries||{},cr="x-oss-";if(er&&!Et)throw Error("Please ensure that bucketName is passed into getCanonicalRequest.");var ir=[kt.toUpperCase(),ze("/".concat(Et?"".concat(Et,"/"):"").concat(er||"")).replace(/%2F/g,"/")];ir.push(Ie.stringify(lr,{encoder:ze,sort:function(fr,_r){return fr.localeCompare(_r)},strictNullHandling:!0})),tr&&tr.forEach(function(dr){if(!Object.prototype.hasOwnProperty.call(nr,dr))throw Error("Can't find additional header ".concat(dr," in request headers."))});var ar=new Set(tr);Object.keys(nr).forEach(function(dr){(dr==="content-type"||dr==="content-md5"||dr.startsWith(cr))&&ar.add(dr)});var sr="".concat((0,Ce.default)(ar).sort().map(function(dr){return"".concat(dr,":").concat(Oe.string(nr[dr])?nr[dr].trim():nr[dr], `
` )}).join(""));return ir.push(sr),tr.length>0?ir.push(tr.join(";")):ir.push(""),ir.push(nr["x-oss-content-sha256"]||"UNSIGNED-PAYLOAD"),ir.join( `
` )},de.getStringToSign=function(kt,Pt,Et){var er=["OSS4-HMAC-SHA256",Pt,"".concat(Pt.split("T")[0],"/").concat(kt,"/oss/aliyun_v4_request"),Ne.createHash("sha256").update(Et).digest("hex")];return er.join( `
` )},de.getSignatureV4=function(kt,Pt,Et,er){var tr=Ne.createHmac("sha256","aliyun_v4".concat(kt)).update(Pt).digest(),nr=Ne.createHmac("sha256",tr).update(Et).digest(),lr=Ne.createHmac("sha256",nr).update("oss").digest(),cr=Ne.createHmac("sha256",lr).update("aliyun_v4_request").digest(),ir=Ne.createHmac("sha256",cr).update(er).digest("hex");return ir},de.authorizationV4=function(kt,Pt,Et,er,tr,nr,lr,cr){var ir=arguments.length>8&&arguments[8]!==void 0?arguments[8]:"utf-8",ar=this.fixAdditionalHeaders(cr),sr={};Object.entries(tr.headers).forEach(function(xr){sr[xr[0]]=Oe.string(xr[1])?pe.from(xr[1],ir).toString():xr[1]});var dr=sr["x-oss-date"]||tr.queries&&tr.queries["x-oss-date"],fr=this.getCanonicalRequest(er,{headers:sr,queries:tr.queries},nr,lr,ar),_r=this.getStringToSign(Et,dr,fr),mr=dr.split("T")[0],Er=this.getSignatureV4(Pt,mr,Et,_r),Sr=ar.length>0?"AdditionalHeaders=".concat(ar.join(";"),","):"";return"OSS4-HMAC-SHA256 Credential=".concat(kt,"/").concat(mr,"/").concat(Et,"/oss/aliyun_v4_request,").concat(Sr,"Signature=").concat(Er)},de._signatureForURL=function(kt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Et=arguments.length>2?arguments[2]:void 0,er=arguments.length>3?arguments[3]:void 0,tr=arguments.length>4?arguments[4]:void 0,nr={},lr=Pt.subResource,cr=lr===void 0?{}:lr;if(Pt.process){var ir="x-oss-process";cr[ir]=Pt.process}if(Pt.trafficLimit){var ar="x-oss-traffic-limit";cr[ar]=Pt.trafficLimit}if(Pt.response&&Object.keys(Pt.response).forEach(function(_r){var mr="response-".concat(_r.toLowerCase());cr[mr]=Pt.response[_r]}),Object.keys(Pt).forEach(function(_r){var mr=_r.toLowerCase(),Er=Pt[_r];mr.indexOf("x-oss-")===0?nr[mr]=Er:(mr.indexOf("content-md5")===0||mr.indexOf("content-type")===0)&&(nr[_r]=Er)}),Object.prototype.hasOwnProperty.call(Pt,"security-token")&&(cr["security-token"]=Pt["security-token"]),Object.prototype.hasOwnProperty.call(Pt,"callback")){var sr={callbackUrl:encodeURI(Pt.callback.url),callbackBody:Pt.callback.body};if(Pt.callback.host&&(sr.callbackHost=Pt.callback.host),Pt.callback.contentType&&(sr.callbackBodyType=Pt.callback.contentType),Pt.callback.callbackSNI&&(sr.callbackSNI=Pt.callback.callbackSNI),cr.callback=pe.from(JSON.stringify(sr)).toString("base64"),Pt.callback.customValue){var dr={};Object.keys(Pt.callback.customValue).forEach(function(_r){dr["x:".concat(_r)]=Pt.callback.customValue[_r]}),cr["callback-var"]=pe.from(JSON.stringify(dr)).toString("base64")}}var fr=this.buildCanonicalString(Pt.method,Et,{headers:nr,parameters:cr},er.toString());return{Signature:this.computeSignature(kt,fr,tr),subResource:cr}}}).call(this)}).call(this,oe("buffer").Buffer)},{"./../../shims/crypto/crypto.js":533,"./utils/encodeString":60,"./utils/lowercaseKeyHeader":74,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/helpers/toConsumableArray":88,buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.filter.js":312,"core-js/modules/es.array.iterator.js":316,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.map.js":318,"core-js/modules/es.array.sort.js":320,"core-js/modules/es.object.entries.js":326,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.set.js":343,"core-js/modules/es.string.iterator.js":345,"core-js/modules/es.string.replace.js":347,"core-js/modules/es.string.starts-with.js":350,"core-js/modules/es.string.trim.js":351,"core-js/modules/web.dom-collections.for-each.js":382,"core-js/modules/web.dom-collections.iterator.js":383,"is-type-of":539,qs:447}],52:[function(oe,ue,de){oe("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkBucketName=void 0,de.checkBucketName=function(pe){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=_e?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9] $ /:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_] $ /;if(!Ce.test(pe))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.
` ),Oe&&Oe.firstUpperCase&&(Ne=pe.formatObjKey(Ne,"firstUpperCase")),_e(Ne)==="object"?Object.keys(Ne).forEach(function(Fe){_e(Ne[Fe])!=="undefined"&&_e(Ne[Fe])!=="null"&&(_e(Ne[Fe])==="string"||_e(Ne[Fe])==="number"?Ie+="<".concat(Fe,">").concat(Ne[Fe],"</").concat(Fe,">"):_e(Ne[Fe])==="object"?Ie+="<".concat(Fe,">").concat(Ce(Ne[Fe]),"</").concat(Fe,">"):_e(Ne[Fe])==="array"?Ie+=Ne[Fe].map(function(Ue){return"<".concat(Fe,">").concat(Ce(Ue),"</").concat(Fe,">")}).join(""):Ie+="<".concat(Fe,">").concat(Ne[Fe].toString(),"</").concat(Fe,">"))}):Ie+=Ne.toString(),Ie}de.obj2xml=Ce},{"./formatObjKey":63,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.map.js":318,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347,"core-js/modules/web.dom-collections.for-each.js":382}],76:[function(oe,ue,de){oe("core-js/modules/es.array.slice.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.regexp.to-string.js"),oe("core-js/modules/es.function.name.js"),oe("core-js/modules/es.array.from.js"),oe("core-js/modules/es.string.iterator.js"),oe("core-js/modules/es.regexp.exec.js"),oe("core-js/modules/es.symbol.js"),oe("core-js/modules/es.symbol.description.js"),oe("core-js/modules/es.symbol.iterator.js"),oe("core-js/modules/es.array.iterator.js"),oe("core-js/modules/web.dom-collections.iterator.js"),oe("core-js/modules/es.object.assign.js");function pe(Oe,Ie){var Fe=typeof Symbol<"u"&&Oe[Symbol.iterator]||Oe["@@iterator"];if(!Fe){if(Array.isArray(Oe)||(Fe=_e(Oe))||Ie){Fe&&(Oe=Fe);var Ue=0,Ve=function(){};return{s:Ve,n:function(){return Ue>=Oe.length?{done:!0}:{done:!1,value:Oe[Ue++]}},e:function(Et){throw Et},f:Ve}}throw new TypeError( ` Invalid attempt to iterate non - iterable instance .
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var ze=!0,jt=!1,kt;return{s:function(){Fe=Fe.call(Oe)},n:function(){var Et=Fe.next();return ze=Et.done,Et},e:function(Et){jt=!0,kt=Et},f:function(){try{!ze&&Fe.return!=null&&Fe.return()}finally{if(jt)throw kt}}}}function _e(Oe,Ie){if(Oe){if(typeof Oe=="string")return Ce(Oe,Ie);var Fe=Object.prototype.toString.call(Oe).slice(8,-1);if(Fe==="Object"&&Oe.constructor&&(Fe=Oe.constructor.name),Fe==="Map"||Fe==="Set")return Array.from(Oe);if(Fe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(Fe))return Ce(Oe,Ie)}}function Ce(Oe,Ie){(Ie==null||Ie>Oe.length)&&(Ie=Oe.length);for(var Fe=0,Ue=new Array(Ie);Fe<Ie;Fe++)Ue[Fe]=Oe[Fe];return Ue}Object.defineProperty(de,"__esModule",{value:!0}),de.omit=void 0;function Ne(Oe,Ie){var Fe=Object.assign({},Oe),Ue=pe(Ie),Ve;try{for(Ue.s();!(Ve=Ue.n()).done;){var ze=Ve.value;delete Fe[ze]}}catch(jt){Ue.e(jt)}finally{Ue.f()}return Fe}de.omit=Ne},{"core-js/modules/es.array.from.js":314,"core-js/modules/es.array.iterator.js":316,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.function.name.js":322,"core-js/modules/es.object.assign.js":325,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.iterator.js":345,"core-js/modules/es.symbol.description.js":353,"core-js/modules/es.symbol.iterator.js":355,"core-js/modules/es.symbol.js":356,"core-js/modules/web.dom-collections.iterator.js":383}],77:[function(oe,ue,de){oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.promise.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.retry=void 0;function pe(_e,Ce){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Oe=0,Ie=Ne.retryDelay,Fe=Ie===void 0?500:Ie,Ue=Ne.errorHandler,Ve=Ue===void 0?function(){return!0}:Ue,ze=function jt(){for(var kt=arguments.length,Pt=new Array(kt),Et=0;Et<kt;Et++)Pt[Et]=arguments[Et];return new Promise(function(er,tr){_e.apply(void 0,Pt).then(function(nr){Oe=0,er(nr)}).catch(function(nr){Oe<Ce&&Ve(nr)?(Oe++,setTimeout(function(){er(jt.apply(void 0,Pt))},Fe)):(Oe=0,tr(nr))})})};return ze}de.retry=pe},{"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335}],78:[function(oe,ue,de){var pe=function(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}};Object.defineProperty(de,"__esModule",{value:!0}),de.setRegion=void 0;var _e=pe(oe("url")),Ce=oe("./checkConfigValid");function Ne(Oe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ce.checkConfigValid(Oe,"region");var Ue=Fe?"https://":"http://",Ve=Ie?"-internal.aliyuncs.com":".aliyuncs.com",ze="vpc100-oss-cn-";return Oe.substr(0,ze.length)===ze&&(Ve=".aliyuncs.com"),_e.default.parse(Ue+Oe+Ve)}de.setRegion=Ne},{"./checkConfigValid":53,url:545}],79:[function(oe,ue,de){var pe=oe("@babel/runtime/helpers/interopRequireDefault"),_e=pe(oe("@babel/runtime/regenerator"));oe("core-js/modules/es.object.keys.js"),oe("core-js/modules/es.object.to-string.js"),oe("core-js/modules/es.array.find.js"),oe("core-js/modules/es.object.assign.js");var Ce=pe(oe("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.checkCredentials=de.setSTSToken=void 0;var Ne=oe("./formatObjKey");function Oe(){return Ie.apply(this,arguments)}function Ie(){return Ie=(0,Ce.default)(_e.default.mark(function Ue(){var Ve,ze;return _e.default.wrap(function(kt){for(;;)switch(kt.prev=kt.next){case 0:if(this.options||(this.options={}),Ve=new Date,!this.stsTokenFreshTime){kt.next=14;break}if(!(+Ve-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){kt.next=12;break}return this.stsTokenFreshTime=Ve,kt.next=7,this.options.refreshSTSToken();case 7:ze=kt.sent,ze=Ne.formatObjKey(ze,"firstLowerCase"),ze.securityToken&&(ze.stsToken=ze.securityToken),Fe(ze),Object.assign(this.options,ze);case 12:kt.next=15;break;case 14:this.stsTokenFreshTime=Ve;case 15:return kt.abrupt("return",null);case 16:case"end"
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}ue.exports=pe,ue.exports.__esModule=!0,ue.exports.default=ue.exports},{}],87:[function(oe,ue,de){var pe=oe("./typeof.js").default;function _e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ue.exports=_e=function(){return Ne},ue.exports.__esModule=!0,ue.exports.default=ue.exports;var Ce,Ne={},Oe=Object.prototype,Ie=Oe.hasOwnProperty,Fe=Object.defineProperty||function(kr,qr,Wr){kr[qr]=Wr.value},Ue=typeof Symbol=="function"?Symbol:{},Ve=Ue.iterator||"@@iterator",ze=Ue.asyncIterator||"@@asyncIterator",jt=Ue.toStringTag||"@@toStringTag";function kt(kr,qr,Wr){return Object.defineProperty(kr,qr,{value:Wr,enumerable:!0,configurable:!0,writable:!0}),kr[qr]}try{kt({},"")}catch{kt=function(Wr,Ar,Dr){return Wr[Ar]=Dr}}function Pt(kr,qr,Wr,Ar){var Dr=qr&&qr.prototype instanceof ir?qr:ir,Jr=Object.create(Dr.prototype),Sn=new Fr(Ar||[]);return Fe(Jr,"_invoke",{value:xr(kr,Wr,Sn)}),Jr}function Et(kr,qr,Wr){try{return{type:"normal",arg:kr.call(qr,Wr)}}catch(Ar){return{type:"throw",arg:Ar}}}Ne.wrap=Pt;var er="suspendedStart",tr="suspendedYield",nr="executing",lr="completed",cr={};function ir(){}function ar(){}function sr(){}var dr={};kt(dr,Ve,function(){return this});var fr=Object.getPrototypeOf,_r=fr&&fr(fr(Ir([])));_r&&_r!==Oe&&Ie.call(_r,Ve)&&(dr=_r);var mr=sr.prototype=ir.prototype=Object.create(dr);function Er(kr){["next","throw","return"].forEach(function(qr){kt(kr,qr,function(Wr){return this._invoke(qr,Wr)})})}function Sr(kr,qr){function Wr(Dr,Jr,Sn,vn){var xn=Et(kr[Dr],kr,Jr);if(xn.type!=="throw"){var $ r=xn.arg,Lr= $ r.value;return Lr&&pe(Lr)=="object"&&Ie.call(Lr,"__await")?qr.resolve(Lr.__await).then(function(Gr){Wr("next",Gr,Sn,vn)},function(Gr){Wr("throw",Gr,Sn,vn)}):qr.resolve(Lr).then(function(Gr){ $ r.value=Gr,Sn( $ r)},function(Gr){return Wr("throw",Gr,Sn,vn)})}vn(xn.arg)}var Ar;Fe(this,"_invoke",{value:function(Jr,Sn){function vn(){return new qr(function(xn, $ r){Wr(Jr,Sn,xn, $ r)})}return Ar=Ar?Ar.then(vn,vn):vn()}})}function xr(kr,qr,Wr){var Ar=er;return function(Dr,Jr){if(Ar===nr)throw new Error("Generator is already running");if(Ar===lr){if(Dr==="throw")throw Jr;return{value:Ce,done:!0}}for(Wr.method=Dr,Wr.arg=Jr;;){var Sn=Wr.delegate;if(Sn){var vn=Nr(Sn,Wr);if(vn){if(vn===cr)continue;return vn}}if(Wr.method==="next")Wr.sent=Wr._sent=Wr.arg;else if(Wr.method==="throw"){if(Ar===er)throw Ar=lr,Wr.arg;Wr.dispatchException(Wr.arg)}else Wr.method==="return"&&Wr.abrupt("return",Wr.arg);Ar=nr;var xn=Et(kr,qr,Wr);if(xn.type==="normal"){if(Ar=Wr.done?lr:tr,xn.arg===cr)continue;return{value:xn.arg,done:Wr.done}}xn.type==="throw"&&(Ar=lr,Wr.method="throw",Wr.arg=xn.arg)}}}function Nr(kr,qr){var Wr=qr.method,Ar=kr.iterator[Wr];if(Ar===Ce)return qr.delegate=null,Wr==="throw"&&kr.iterator.return&&(qr.method="return",qr.arg=Ce,Nr(kr,qr),qr.method==="throw")||Wr!=="return"&&(qr.method="throw",qr.arg=new TypeError("The iterator does not provide a '"+Wr+"' method")),cr;var Dr=Et(Ar,kr.iterator,qr.arg);if(Dr.type==="throw")return qr.method="throw",qr.arg=Dr.arg,qr.delegate=null,cr;var Jr=Dr.arg;return Jr?Jr.done?(qr[kr.resultName]=Jr.value,qr.next=kr.nextLoc,qr.method!=="return"&&(qr.method="next",qr.arg=Ce),qr.delegate=null,cr):Jr:(qr.method="throw",qr.arg=new TypeError("iterator result is not an object"),qr.delegate=null,cr)}function Rr(kr){var qr={tryLoc:kr[0]};1 in kr&&(qr.catchLoc=kr[1]),2 in kr&&(qr.finallyLoc=kr[2],qr.afterLoc=kr[3]),this.tryEntries.push(qr)}function Vr(kr){var qr=kr.completion||{};qr.type="normal",delete qr.arg,kr.completion=qr}function Fr(kr){this.tryEntries=[{tryLoc:"root"}],kr.forEach(Rr,this),this.reset(!0)}function Ir(kr){if(kr||kr===""){var qr=kr[Ve];if(qr)return qr.call(kr);if(typeof kr.next=="function")return kr;if(!isNaN(kr.length)){var Wr=-1,Ar=function Dr(){for(;++Wr<kr.length;)if(Ie.call(kr,Wr))return Dr.value=kr[Wr],Dr.done=!1,Dr;return Dr.value=Ce,Dr.done=!0,Dr};return Ar.next=Ar}}throw new TypeError(pe(kr)+" is not iterab
* The buffer module from node . js , for the browser .
*
* @ author Feross Aboukhadijeh < feross @ feross . org > < http : //feross.org>
* @ license MIT
* /function Ce(Sr,xr){if(Sr===xr)return 0;for(var Nr=Sr.length,Rr=xr.length,Vr=0,Fr=Math.min(Nr,Rr);Vr<Fr;++Vr)if(Sr[Vr]!==xr[Vr]){Nr=Sr[Vr],Rr=xr[Vr];break}return Nr<Rr?-1:Rr<Nr?1:0}function Ne(Sr){return pe.Buffer&&typeof pe.Buffer.isBuffer=="function"?pe.Buffer.isBuffer(Sr):!!(Sr!=null&&Sr._isBuffer)}var Oe=oe("util/ "),Ie=Object.prototype.hasOwnProperty,Fe=Array.prototype.slice,Ue=function(){return(function(){}).name===" foo "}();function Ve(Sr){return Object.prototype.toString.call(Sr)}function ze(Sr){return Ne(Sr)||typeof pe.ArrayBuffer!=" function "?!1:typeof ArrayBuffer.isView==" function "?ArrayBuffer.isView(Sr):Sr?!!(Sr instanceof DataView||Sr.buffer&&Sr.buffer instanceof ArrayBuffer):!1}var jt=ue.exports=lr,kt=/\s*function\s+([^\(\s]*)\s*/;function Pt(Sr){if(Oe.isFunction(Sr)){if(Ue)return Sr.name;var xr=Sr.toString(),Nr=xr.match(kt);return Nr&&Nr[1]}}jt.AssertionError=function(xr){this.name=" AssertionError " , this . actual = xr . actual , this . expected = xr . expected , this . operator = xr . operator , xr . message ? ( this . message = xr . message , this . generatedMessage = ! 1 ) : ( this . message = tr ( this ) , this . generatedMessage = ! 0 ) ; var Nr = xr . stackStartFunction || nr ; if ( Error . captureStackTrace ) Error . captureStackTrace ( this , Nr ) ; else { var Rr = new Error ; if ( Rr . stack ) { var Vr = Rr . stack , Fr = Pt ( Nr ) , Ir = Vr . indexOf ( `
` +Fr);if(Ir>=0){var kr=Vr.indexOf( `
` ,Ir+1);Vr=Vr.substring(kr+1)}this.stack=Vr}}},Oe.inherits(jt.AssertionError,Error);function Et(Sr,xr){return typeof Sr=="string"?Sr.length<xr?Sr:Sr.slice(0,xr):Sr}function er(Sr){if(Ue||!Oe.isFunction(Sr))return Oe.inspect(Sr);var xr=Pt(Sr),Nr=xr?": "+xr:"";return"[Function"+Nr+"]"}function tr(Sr){return Et(er(Sr.actual),128)+" "+Sr.operator+" "+Et(er(Sr.expected),128)}function nr(Sr,xr,Nr,Rr,Vr){throw new jt.AssertionError({message:Nr,actual:Sr,expected:xr,operator:Rr,stackStartFunction:Vr})}jt.fail=nr;function lr(Sr,xr){Sr||nr(Sr,!0,xr,"==",jt.ok)}jt.ok=lr,jt.equal=function(xr,Nr,Rr){xr!=Nr&&nr(xr,Nr,Rr,"==",jt.equal)},jt.notEqual=function(xr,Nr,Rr){xr==Nr&&nr(xr,Nr,Rr,"!=",jt.notEqual)},jt.deepEqual=function(xr,Nr,Rr){cr(xr,Nr,!1)||nr(xr,Nr,Rr,"deepEqual",jt.deepEqual)},jt.deepStrictEqual=function(xr,Nr,Rr){cr(xr,Nr,!0)||nr(xr,Nr,Rr,"deepStrictEqual",jt.deepStrictEqual)};function cr(Sr,xr,Nr,Rr){if(Sr===xr)return!0;if(Ne(Sr)&&Ne(xr))return Ce(Sr,xr)===0;if(Oe.isDate(Sr)&&Oe.isDate(xr))return Sr.getTime()===xr.getTime();if(Oe.isRegExp(Sr)&&Oe.isRegExp(xr))return Sr.source===xr.source&&Sr.global===xr.global&&Sr.multiline===xr.multiline&&Sr.lastIndex===xr.lastIndex&&Sr.ignoreCase===xr.ignoreCase;if((Sr===null||typeof Sr!="object")&&(xr===null||typeof xr!="object"))return Nr?Sr===xr:Sr==xr;if(ze(Sr)&&ze(xr)&&Ve(Sr)===Ve(xr)&&!(Sr instanceof Float32Array||Sr instanceof Float64Array))return Ce(new Uint8Array(Sr.buffer),new Uint8Array(xr.buffer))===0;if(Ne(Sr)!==Ne(xr))return!1;Rr=Rr||{actual:[],expected:[]};var Vr=Rr.actual.indexOf(Sr);return Vr!==-1&&Vr===Rr.expected.indexOf(xr)?!0:(Rr.actual.push(Sr),Rr.expected.push(xr),ar(Sr,xr,Nr,Rr))}function ir(Sr){return Object.prototype.toString.call(Sr)=="[object Arguments]"}function ar(Sr,xr,Nr,Rr){if(Sr==null||xr===null||xr===void 0)return!1;if(Oe.isPrimitive(Sr)||Oe.isPrimitive(xr))return Sr===xr;if(Nr&&Object.getPrototypeOf(Sr)!==Object.getPrototypeOf(xr))return!1;var Vr=ir(Sr),Fr=ir(xr);if(Vr&&!Fr||!Vr&&Fr)return!1;if(Vr)return Sr=Fe.call(Sr),xr=Fe.call(xr),cr(Sr,xr,Nr);var Ir=Er(Sr),kr=Er(xr),qr,Wr;if(Ir.length!==kr.length)return!1;for(Ir.sort(),kr.sort(),Wr=Ir.length-1;Wr>=0;Wr--)if(Ir[Wr]!==kr[Wr])return!1;for(Wr=Ir.length-1;Wr>=0;Wr--)if(qr=Ir[Wr],!cr(Sr[qr],xr[qr],Nr,Rr))return!1;return!0}jt.notDeepEqual=function(xr,Nr,Rr){cr(xr,Nr,!1)&&nr(xr,Nr,Rr,"notDeepEqual",jt.notDeepEqual)},jt.notDeepStrictEqual=sr;function sr(Sr,xr,Nr){cr(Sr,xr,!0)&&nr(Sr,xr,Nr,"notDeepStrictEqual",sr)}jt.strictEqual=function(xr,Nr,Rr){xr!==Nr&&nr(xr,Nr,Rr,"===",jt.strictEqual)},jt.notStrictEqual=function(xr,Nr,Rr){xr===Nr&&nr(xr,Nr,Rr,"!==",jt.notStrictEqual)};function dr(Sr,xr){if(!Sr||!xr)return!1;if(Object.prototype.toString.call(xr)=="[object RegExp]")return xr.test(Sr);try{if(Sr instanceof xr)return!0}catch{}return Error.isPrototypeOf(xr)?!1:xr.call({},Sr)===!0}function fr(Sr){var xr;try{Sr()}catch(Nr){xr=Nr}return xr}function _r(Sr,xr,Nr,Rr){var Vr;if(typeof xr!="function")throw new TypeError('"block" argument must be a function');typeof Nr=="string"&&(Rr=Nr,Nr=null),Vr=fr(xr),Rr=(Nr&&Nr.name?" ("+Nr.name+").":".")+(Rr?" "+Rr:"."),Sr&&!Vr&&nr(Vr,Nr,"Missing expected exception"+Rr);var Fr=typeof Rr=="string",Ir=!Sr&&Oe.isError(Vr),kr=!Sr&&Vr&&!Nr;if((Ir&&Fr&&dr(Vr,Nr)||kr)&&nr(Vr,Nr,"Got unwanted exception"+Rr),Sr&&Vr&&Nr&&!dr(Vr,Nr)||!Sr&&Vr)throw Vr}jt.throws=function(Sr,xr,Nr){_r(!0,Sr,xr,Nr)},jt.doesNotThrow=function(Sr,xr,Nr){_r(!1,Sr,xr,Nr)},jt.ifError=function(Sr){if(Sr)throw Sr};function mr(Sr,xr){Sr||nr(Sr,!0,xr,"==",mr)}jt.strict=_e(mr,jt,{equal:jt.strictEqual,deepEqual:jt.deepStrictEqual,notEqual:jt.notStrictEqual,notDeepEqual:jt.notDeepStrictEqual}),jt.strict.strict=jt.strict;var Er=Object.keys||function(Sr){var xr=[];for(var Nr in Sr)Ie.call(Sr,Nr)&&xr.push(Nr);return xr}}).call(this)}).call(this,typeof ae<"u"?ae:typeof self<"u"?self:typeof window<"u"?window:{})},{"object.assign/polyfill":440,"util/":98}],96:[function(oe,ue,de){typeof Object.create=="function"?ue.exports=function(_e,Ce){_e.super_=Ce,_e.prototype=Object.create(Ce.prototype,{constructor:{value:_e,enumerable:!1,
` )>-1&&(Jr?vn=vn.split( `
` ).map(function( $ r){return" "+ $ r}).join( `
` ).substr(2):vn= `
` +vn.split( `
` ).map(function( $ r){return" "+ $ r}).join( `
` ))):vn=kr.stylize("[Circular]","special")),dr(Sn)){if(Jr&&Dr.match(/^ \d + $ /))return vn;Sn=JSON.stringify(""+Dr),Sn.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)" $ /)?(Sn=Sn.substr(1,Sn.length-2),Sn=kr.stylize(Sn,"name")):(Sn=Sn.replace(/'/g," \\ '").replace(/ \\ "/g,'"').replace(/(^"|" $ )/g,"'"),Sn=kr.stylize(Sn,"string"))}return Sn+": "+vn}function er(kr,qr,Wr){var Ar=kr.reduce(function(Dr,Jr){return Jr.indexOf( `
` )>=0,Dr+Jr.replace(/ \u 001b \[ \d \d ?m/g,"").length+1},0);return Ar>60?Wr[0]+(qr===""?"":qr+ `
` )+" "+kr.join( ` ,
` )+" "+Wr[1]:Wr[0]+qr+" "+kr.join(", ")+" "+Wr[1]}function tr(kr){return Array.isArray(kr)}de.isArray=tr;function nr(kr){return typeof kr=="boolean"}de.isBoolean=nr;function lr(kr){return kr===null}de.isNull=lr;function cr(kr){return kr==null}de.isNullOrUndefined=cr;function ir(kr){return typeof kr=="number"}de.isNumber=ir;function ar(kr){return typeof kr=="string"}de.isString=ar;function sr(kr){return typeof kr=="symbol"}de.isSymbol=sr;function dr(kr){return kr===void 0}de.isUndefined=dr;function fr(kr){return _r(kr)&&Nr(kr)==="[object RegExp]"}de.isRegExp=fr;function _r(kr){return typeof kr=="object"&&kr!==null}de.isObject=_r;function mr(kr){return _r(kr)&&Nr(kr)==="[object Date]"}de.isDate=mr;function Er(kr){return _r(kr)&&(Nr(kr)==="[object Error]"||kr instanceof Error)}de.isError=Er;function Sr(kr){return typeof kr=="function"}de.isFunction=Sr;function xr(kr){return kr===null||typeof kr=="boolean"||typeof kr=="number"||typeof kr=="string"||typeof kr=="symbol"||typeof kr>"u"}de.isPrimitive=xr,de.isBuffer=oe("./support/isBuffer");function Nr(kr){return Object.prototype.toString.call(kr)}function Rr(kr){return kr<10?"0"+kr.toString(10):kr.toString(10)}var Vr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Fr(){var kr=new Date,qr=[Rr(kr.getHours()),Rr(kr.getMinutes()),Rr(kr.getSeconds())].join(":");return[kr.getDate(),Vr[kr.getMonth()],qr].join(" ")}de.log=function(){console.log("%s - %s",Fr(),de.format.apply(de,arguments))},de.inherits=oe("inherits"),de._extend=function(kr,qr){if(!qr||!_r(qr))return kr;for(var Wr=Object.keys(qr),Ar=Wr.length;Ar--;)kr[Wr[Ar]]=qr[Wr[Ar]];return kr};function Ir(kr,qr){return Object.prototype.hasOwnProperty.call(kr,qr)}}).call(this)}).call(this,oe("_process"),typeof ae<"u"?ae:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":97,_process:540,inherits:96}],99:[function(oe,ue,de){(function(pe){(function(){var _e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Ce=typeof globalThis>"u"?pe:globalThis;ue.exports=function(){for(var Oe=[],Ie=0;Ie<_e.length;Ie++)typeof Ce[_e[Ie]]=="function"&&(Oe[Oe.length]=_e[Ie]);return Oe}}).call(this)}).call(this,typeof ae<"u"?ae:typeof self<"u"?self:typeof window<"u"?window:{})},{}],100:[function(oe,ue,de){de.byteLength=Ue,de.toByteArray=ze,de.fromByteArray=Pt;for(var pe=[],_e=[],Ce=typeof Uint8Array<"u"?Uint8Array:Array,Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=0,Ie=Ne.length;Oe<Ie;++Oe)pe[Oe]=Ne[Oe],_e[Ne.charCodeAt(Oe)]=Oe;_e[45]=62,_e[95]=63;function Fe(Et){var er=Et.length;if(er%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var tr=Et.indexOf("=");tr===-1&&(tr=er);var nr=tr===er?0:4-tr%4;return[tr,nr]}function Ue(Et){var er=Fe(Et),tr=er[0],nr=er[1];return(tr+nr)*3/4-nr}function Ve(Et,er,tr){return(er+tr)*3/4-tr}function ze(Et){var er,tr=Fe(Et),nr=tr[0],lr=tr[1],cr=new Ce(Ve(Et,nr,lr)),ir=0,ar=lr>0?nr-4:nr,sr;for(sr=0;sr<ar;sr+=4)er=_e[Et.charCodeAt(sr)]<<18|_e[Et.charCodeAt(sr+1)]<<12|_e[Et.charCodeAt(sr+2)]<<6|_e[Et.charCodeAt(sr+3)],cr[ir++]=er>>16&255,cr[ir++]=er>>8&255,cr[ir++]=er&255;return lr===2&&(er=_e[Et.charCodeAt(sr)]<<2|_e[Et.charCodeAt(sr+1)]>>4,cr[ir++]=er&255),lr===1&&(er=_e[Et.charCodeAt(sr)]<<10|_e[Et.charCodeAt(sr+1)]<<4|_e[Et.charCodeAt(sr+2)]>>2,cr[ir++]=er>>8&255,cr[ir++]=er&255),cr}function jt(Et){return pe[Et>>18&63]+pe[Et>>12&63]+pe[Et>>6&63]+pe[Et&63]}function kt(Et,er,tr){for(var nr,lr=[],cr=er;cr<tr;cr+=3)nr=(Et[cr]<<16&16711680)+(Et[cr+1]<<8&65280)+(Et[cr+2]&255),lr.push(jt(nr));return lr.join("")}function Pt(Et){for(var er,tr=Et.length,nr=tr%3,lr=[],cr=16383,ir=0,ar=tr-nr;ir<ar;ir+=cr)lr.push(kt(Et,ir,ir+cr>ar?ar:ir+cr));return nr===1?(er=Et[tr-1],lr.push(pe[er>>2]+pe[er<<4&63]+"==")):nr===2&&(er=(Et[tr-2]<<8)+Et[tr-1],lr.push(pe[er>>10]+pe[er>>4&63]+pe[er<<2&63]+"=")),lr.join("")}},{}],101:[function(oe,ue,de){/*!
* Bowser - a browser detector
* https : //github.com/ded/bowser
* MIT License | ( c ) Dustin Diaz 2015
* /(function(pe,_e,Ce){typeof ue<"u"&&ue.exports?ue.exports=Ce():pe[_e]=Ce()})(this,"bowser",function(){var pe=!0;function _e(Ve){function ze(kr){var qr=Ve.match(kr);return qr&&qr.length>1&&qr[1]||""}function jt(kr){var qr=Ve.match(kr);return qr&&qr.length>1&&qr[2]||""}var kt=ze(/ ( ipod | iphone | ipad ) / i ) . toLowerCase ( ) , Pt = /like android/i . test ( Ve ) , Et = ! Pt && /android/i . test ( Ve ) , er = /nexus\s*[0-6]\s*/i . test ( Ve ) , tr = ! er && /nexus\s*[0-9]+/i . test ( Ve ) , nr = /CrOS/ . test ( Ve ) , lr = /silk/i . test ( Ve ) , cr = /sailfish/i . test ( Ve ) , ir = /tizen/i . test ( Ve ) , ar = /(web|hpw)(o|0)s/i . test ( Ve ) , sr = /windows phone/i . test ( Ve ) , dr = ! sr && /windows/i . test ( Ve ) , fr = ! kt && ! lr && /macintosh/i . test ( Ve ) , _r = ! Et && ! cr && ! ir && ! ar && /linux/i . test ( Ve ) , mr = jt ( /edg([ea]|ios)\/(\d+(\.\d+)?)/i ) , Er = ze ( /version\/(\d+(\.\d+)?)/i ) , Sr = /tablet/i . test ( Ve ) && ! /tablet pc/i . test ( Ve ) , xr = ! Sr && /[^-]mobi/i . test ( Ve ) , Nr = /xbox/i . test ( Ve ) , Rr ; /opera/i . test ( Ve ) ? Rr = { name : "Opera" , opera : pe , version : Er || ze ( /(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i ) } : /opr\/|opios/i . test ( Ve ) ? Rr = { name : "Opera" , opera : pe , version : ze ( /(?:opr|opios)[\s\/](\d+(\.\d+)?)/i ) || Er } : /SamsungBrowser/i . test ( Ve ) ? Rr = { name : "Samsung Internet for Android" , samsungBrowser : pe , version : Er || ze ( /(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i ) } : /Whale/i . test ( Ve ) ? Rr = { name : "NAVER Whale browser" , whale : pe , version : ze ( /(?:whale)[\s\/](\d+(?:\.\d+)+)/i ) } : /MZBrowser/i . test ( Ve ) ? Rr = { name : "MZ Browser" , mzbrowser : pe , version : ze ( /(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i ) } : /coast/i . test ( Ve ) ? Rr = { name : "Opera Coast" , coast : pe , version : Er || ze ( /(?:coast)[\s\/](\d+(\.\d+)?)/i ) } : /focus/i . test ( Ve ) ? Rr = { name : "Focus" , focus : pe , version : ze ( /(?:focus)[\s\/](\d+(?:\.\d+)+)/i ) } : /yabrowser/i . test ( Ve ) ? Rr = { name : "Yandex Browser" , yandexbrowser : pe , version : Er || ze ( /(?:yabrowser)[\s\/](\d+(\.\d+)?)/i ) } : /ucbrowser/i . test ( Ve ) ? Rr = { name : "UC Browser" , ucbrowser : pe , version : ze ( /(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i ) } : /mxios/i . test ( Ve ) ? Rr = { name : "Maxthon" , maxthon : pe , version : ze ( /(?:mxios)[\s\/](\d+(?:\.\d+)+)/i ) } : /epiphany/i . test ( Ve ) ? Rr = { name : "Epiphany" , epiphany : pe , version : ze ( /(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i ) } : /puffin/i . test ( Ve ) ? Rr = { name : "Puffin" , puffin : pe , version : ze ( /(?:puffin)[\s\/](\d+(?:\.\d+)?)/i ) } : /sleipnir/i . test ( Ve ) ? Rr = { name : "Sleipnir" , sleipnir : pe , version : ze ( /(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i ) } : /k-meleon/i . test ( Ve ) ? Rr = { name : "K-Meleon" , kMeleon : pe , version : ze ( /(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i ) } : sr ? ( Rr = { name : "Windows Phone" , osname : "Windows Phone" , windowsphone : pe } , mr ? ( Rr . msedge = pe , Rr . version = mr ) : ( Rr . msie = pe , Rr . version = ze ( /iemobile\/(\d+(\.\d+)?)/i ) ) ) : /msie|trident/i . test ( Ve ) ? Rr = { name : "Internet Explorer" , msie : pe , version : ze ( /(?:msie |rv:)(\d+(\.\d+)?)/i ) } : nr ? Rr = { name : "Chrome" , osname : "Chrome OS" , chromeos : pe , chromeBook : pe , chrome : pe , version : ze ( /(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i ) } : /edg([ea]|ios)/i . test ( Ve ) ? Rr = { name : "Microsoft Edge" , msedge : pe , version : mr } : /vivaldi/i . test ( Ve ) ? Rr = { name : "Vivaldi" , vivaldi : pe , version : ze ( /vivaldi\/(\d+(\.\d+)?)/i ) || Er } : cr ? Rr = { name : "Sailfish" , osname : "Sailfish OS" , sailfish : pe , version : ze ( /sailfish\s?browser\/(\d+(\.\d+)?)/i ) } : /seamonkey\//i . test ( Ve ) ? Rr = { name : "SeaMonkey" , seamonkey : pe , version : ze ( /seamonkey\/(\d+(\.\d+)?)/i ) } : /firefox|iceweasel|fxios/i . test ( Ve ) ? ( Rr = { name : "Firefox" , firefox : pe , version : ze ( /(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i ) } , /\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i . test ( Ve ) && ( Rr . firefoxos = pe , Rr . osname = "Firefox OS" ) ) : lr ? Rr = { name : "Amazon Silk" , silk : pe , version : ze ( /silk\/(\d+(\.\d+)?)/i ) } : /phantom/i . test ( Ve ) ? Rr = { name : "PhantomJS" , phantom : pe , version : ze ( /phantomjs\/(\d+(\.\d+)?)/i ) } : /slimerjs/i . test ( Ve ) ? Rr = { name : "SlimerJS" , slimer : pe , version : ze ( /slimerjs\/(\d+(\.\d+)?)/i ) } : /blackberry|\bbb\d+/i . test ( Ve ) || /rim\stablet/i . test ( Ve ) ? Rr = { name : "BlackBerry" , osname : "BlackBerry OS" , blackberry : pe , version : Er || ze ( /blackberry[\d]+\/(\d+(\.\d+)?)/i ) } : ar ? ( Rr = { name : "WebOS" , osname : "WebOS" , webos : pe , version : Er || ze ( /w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i ) } , /touchpad\//i . test ( Ve ) && ( Rr . touchpad = pe ) ) : /bada/i . test ( Ve ) ? Rr = { name : "Bada" , osname : "Bada" , bada : pe , version : ze ( /dolfin\/(\d+(\.\d+)?)/i ) } : ir ? Rr = { name : "Tizen" , osname : "Tizen" , tizen : pe , version : ze ( /(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i ) || Er } : /qupzilla/i . test ( Ve ) ? Rr =
` )&&(Ar="(?: "+Ar+")",Jr=" "+Jr,Dr++),xr=new RegExp("^(?:"+Ar+")",Wr)),ir&&(xr=new RegExp("^"+Ar+" $ (?! \\ s)",Wr)),lr&&(Nr=fr.lastIndex),Rr=pe(kt,qr?xr:fr,Jr),qr?Rr?(Rr.input=nr(Rr.input,Dr),Rr[0]=nr(Rr[0],Dr),Rr.index=fr.lastIndex,fr.lastIndex+=Rr[0].length):fr.lastIndex=0:lr&&Rr&&(fr.lastIndex=fr.global?Rr.index+Rr[0].length:Nr),ir&&Rr&&Rr.length>1&&pe(jt,Rr[0],xr,function(){for(Vr=1;Vr<arguments.length-2;Vr++)arguments[Vr]===void 0&&(Rr[Vr]=void 0)}),Rr&&kr)for(Rr.groups=Fr=Fe(null),Vr=0;Vr<kr.length;Vr++)Ir=kr[Vr],Fr[Ir[0]]=Rr[Ir[1]];return Rr}),ue.exports=Pt},{"../internals/function-call":177,"../internals/function-uncurry-this":181,"../internals/internal-state":199,"../internals/object-create":229,"../internals/regexp-flags":257,"../internals/regexp-sticky-helpers":259,"../internals/regexp-unsupported-dot-all":260,"../internals/regexp-unsupported-ncg":261,"../internals/shared":269,"../internals/to-string":291}],257:[function(oe,ue,de){var pe=oe("../internals/an-object");ue.exports=function(){var _e=pe(this),Ce="";return _e.hasIndices&&(Ce+="d"),_e.global&&(Ce+="g"),_e.ignoreCase&&(Ce+="i"),_e.multiline&&(Ce+="m"),_e.dotAll&&(Ce+="s"),_e.unicode&&(Ce+="u"),_e.unicodeSets&&(Ce+="v"),_e.sticky&&(Ce+="y"),Ce}},{"../internals/an-object":114}],258:[function(oe,ue,de){var pe=oe("../internals/function-call"),_e=oe("../internals/has-own-property"),Ce=oe("../internals/object-is-prototype-of"),Ne=oe("../internals/regexp-flags"),Oe=RegExp.prototype;ue.exports=function(Ie){var Fe=Ie.flags;return Fe===void 0&&!("flags"in Oe)&&!_e(Ie,"flags")&&Ce(Oe,Ie)?pe(Ne,Ie):Fe}},{"../internals/function-call":177,"../internals/has-own-property":189,"../internals/object-is-prototype-of":238,"../internals/regexp-flags":257}],259:[function(oe,ue,de){var pe=oe("../internals/fails"),_e=oe("../internals/global"),Ce=_e.RegExp,Ne=pe(function(){var Fe=Ce("a","y");return Fe.lastIndex=2,Fe.exec("abcd")!==null}),Oe=Ne||pe(function(){return!Ce("a","y").sticky}),Ie=Ne||pe(function(){var Fe=Ce("^r","gy");return Fe.lastIndex=2,Fe.exec("str")!==null});ue.exports={BROKEN_CARET:Ie,MISSED_STICKY:Oe,UNSUPPORTED_Y:Ne}},{"../internals/fails":171,"../internals/global":188}],260:[function(oe,ue,de){var pe=oe("../internals/fails"),_e=oe("../internals/global"),Ce=_e.RegExp;ue.exports=pe(function(){var Ne=Ce(".","s");return!(Ne.dotAll&&Ne.test( `
` )&&Ne.flags==="s")})},{"../internals/fails":171,"../internals/global":188}],261:[function(oe,ue,de){var pe=oe("../internals/fails"),_e=oe("../internals/global"),Ce=_e.RegExp;ue.exports=pe(function(){var Ne=Ce("(?<a>b)","g");return Ne.exec("b").groups.a!=="b"||"b".replace(Ne," $ <a>c")!=="bc"})},{"../internals/fails":171,"../internals/global":188}],262:[function(oe,ue,de){var pe=oe("../internals/is-null-or-undefined"),_e=TypeError;ue.exports=function(Ce){if(pe(Ce))throw new _e("Can't call method on "+Ce);return Ce}},{"../internals/is-null-or-undefined":207}],263:[function(oe,ue,de){var pe=oe("../internals/global"),_e=oe("../internals/descriptors"),Ce=Object.getOwnPropertyDescriptor;ue.exports=function(Ne){if(!_e)return pe[Ne];var Oe=Ce(pe,Ne);return Oe&&Oe.value}},{"../internals/descriptors":153,"../internals/global":188}],264:[function(oe,ue,de){ue.exports=Object.is||function(_e,Ce){return _e===Ce?_e!==0||1/_e===1/Ce:_e!==_e&&Ce!==Ce}},{}],265:[function(oe,ue,de){var pe=oe("../internals/get-built-in"),_e=oe("../internals/define-built-in-accessor"),Ce=oe("../internals/well-known-symbol"),Ne=oe("../internals/descriptors"),Oe=Ce("species");ue.exports=function(Ie){var Fe=pe(Ie);Ne&&Fe&&!Fe[Oe]&&_e(Fe,Oe,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":148,"../internals/descriptors":153,"../internals/get-built-in":182,"../internals/well-known-symbol":306}],266:[function(oe,ue,de){var pe=oe("../internals/object-define-property").f,_e=oe("../internals/has-own-property"),Ce=oe("../internals/well-known-symbol"),Ne=Ce("toStringTag");ue.exports=function(Oe,Ie,Fe){Oe&&!Fe&&(Oe=Oe.prototype),Oe&&!_e(Oe,Ne)&&pe(Oe,Ne,{configurable:!0,value:Ie})}},{"../internals/has-own-property":189,"../internals/object-define-property":231,"../internals/well-known-symbol":306}],267:[function(oe,ue,de){var pe=oe("../internals/shared"),_e=oe("../internals/uid"),Ce=pe("keys");ue.exports=function(Ne){return Ce[Ne]||(Ce[Ne]=_e(Ne))}},{"../internals/shared":269,"../internals/uid":299}],268:[function(oe,ue,de){var pe=oe("../internals/global"),_e=oe("../internals/define-global-property"),Ce="__core-js_shared__",Ne=pe[Ce]||_e(Ce,{});ue.exports=Ne},{"../internals/define-global-property":151,"../internals/global":188}],269:[function(oe,ue,de){var pe=oe("../internals/is-pure"),_e=oe("../internals/shared-store");(ue.exports=function(Ce,Ne){return _e[Ce]||(_e[Ce]=Ne!==void 0?Ne:{})})("versions",[]).push({version:"3.35.0",mode:pe?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":210,"../internals/shared-store":268}],270:[function(oe,ue,de){var pe=oe("../internals/an-object"),_e=oe("../internals/a-constructor"),Ce=oe("../internals/is-null-or-undefined"),Ne=oe("../internals/well-known-symbol"),Oe=Ne("species");ue.exports=function(Ie,Fe){var Ue=pe(Ie).constructor,Ve;return Ue===void 0||Ce(Ve=pe(Ue)[Oe])?Fe:_e(Ve)}},{"../internals/a-constructor":109,"../internals/an-object":114,"../internals/is-null-or-undefined":207,"../internals/well-known-symbol":306}],271:[function(oe,ue,de){var pe=oe("../internals/function-uncurry-this"),_e=oe("../internals/to-integer-or-infinity"),Ce=oe("../internals/to-string"),Ne=oe("../internals/require-object-coercible"),Oe=pe("".charAt),Ie=pe("".charCodeAt),Fe=pe("".slice),Ue=function(Ve){return function(ze,jt){var kt=Ce(Ne(ze)),Pt=_e(jt),Et=kt.length,er,tr;return Pt<0||Pt>=Et?Ve?"":void 0:(er=Ie(kt,Pt),er<55296||er>56319||Pt+1===Et||(tr=Ie(kt,Pt+1))<56320||tr>57343?Ve?Oe(kt,Pt):er:Ve?Fe(kt,Pt,Pt+2):(er-55296<<10)+(tr-56320)+65536)}};ue.exports={codeAt:Ue(!1),charAt:Ue(!0)}},{"../internals/function-uncurry-this":181,"../internals/require-object-coercible":262,"../internals/to-integer-or-infinity":283,"../internals/to-string":291}],272:[function(oe,ue,de){var pe=oe("../internals/function-name").PROPER,_e=oe("../internals/fails"),Ce=oe("../internals/whitespaces"),Ne="
";ue.exports=function(Oe){return _e(function(){return!!Ce[Oe]()||Ne[Oe](
\ v \ f \ r \u2028\u2029\uFEFF ` },{}],308:[function(oe,ue,de){var pe=oe("../internals/export"),_e=oe("../internals/global"),Ce=oe("../internals/array-buffer"),Ne=oe("../internals/set-species"),Oe="ArrayBuffer",Ie=Ce[Oe],Fe=_e[Oe];pe({global:!0,constructor:!0,forced:Fe!==Ie},{ArrayBuffer:Ie}),Ne(Oe)},{"../internals/array-buffer":118,"../internals/export":170,"../internals/global":188,"../internals/set-species":265}],309:[function(oe,ue,de){var pe=oe("../internals/export"),_e=oe("../internals/function-uncurry-this-clause"),Ce=oe("../internals/fails"),Ne=oe("../internals/array-buffer"),Oe=oe("../internals/an-object"),Ie=oe("../internals/to-absolute-index"),Fe=oe("../internals/to-length"),Ue=oe("../internals/species-constructor"),Ve=Ne.ArrayBuffer,ze=Ne.DataView,jt=ze.prototype,kt=_e(Ve.prototype.slice),Pt=_e(jt.getUint8),Et=_e(jt.setUint8),er=Ce(function(){return!new Ve(2).slice(1,void 0).byteLength});pe({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:er},{slice:function(nr,lr){if(kt&&lr===void 0)return kt(Oe(this),nr);for(var cr=Oe(this).byteLength,ir=Ie(nr,cr),ar=Ie(lr===void 0?cr:lr,cr),sr=new(Ue(this,Ve))(Fe(ar-ir)),dr=new ze(this),fr=new ze(sr),_r=0;ir<ar;)Et(fr,_r++,Pt(dr,ir++));return sr}})},{"../internals/an-object":114,"../internals/array-buffer":118,"../internals/export":170,"../internals/fails":171,"../internals/function-uncurry-this-clause":180,"../internals/species-constructor":270,"../internals/to-absolute-index":279,"../internals/to-length":284}],310:[function(oe,ue,de){var pe=oe("../internals/export"),_e=oe("../internals/fails"),Ce=oe("../internals/is-array"),Ne=oe("../internals/is-object"),Oe=oe("../internals/to-object"),Ie=oe("../internals/length-of-array-like"),Fe=oe("../internals/does-not-exceed-safe-integer"),Ue=oe("../internals/create-property"),Ve=oe("../internals/array-species-create"),ze=oe("../internals/array-method-has-species-support"),jt=oe("../internals/well-known-symbol"),kt=oe("../internals/engine-v8-version"),Pt=jt("isConcatSpreadable"),Et=kt>=51||!_e(function(){var nr=[];return nr[Pt]=!1,nr.concat()[0]!==nr}),er=function(nr){if(!Ne(nr))return!1;var lr=nr[Pt];return lr!==void 0?!!lr:Ce(nr)},tr=!Et||!ze("concat");pe({target:"Array",proto:!0,arity:1,forced:tr},{concat:function(lr){var cr=Oe(this),ir=Ve(cr,0),ar=0,sr,dr,fr,_r,mr;for(sr=-1,fr=arguments.length;sr<fr;sr++)if(mr=sr===-1?cr:arguments[sr],er(mr))for(_r=Ie(mr),Fe(ar+_r),dr=0;dr<_r;dr++,ar++)dr in mr&&Ue(ir,ar,mr[dr]);else Fe(ar+1),Ue(ir,ar++,mr);return ir.length=ar,ir}})},{"../internals/array-method-has-species-support":127,"../internals/array-species-create":134,"../internals/create-property":147,"../internals/does-not-exceed-safe-integer":155,"../internals/engine-v8-version":167,"../internals/export":170,"../internals/fails":171,"../internals/is-array":201,"../internals/is-object":208,"../internals/length-of-array-like":219,"../internals/to-object":285,"../internals/well-known-symbol":306}],311:[function(oe,ue,de){var pe=oe("../internals/export"),_e=oe("../internals/array-fill"),Ce=oe("../internals/add-to-unscopables");pe({target:"Array",proto:!0},{fill:_e}),Ce("fill")},{"../internals/add-to-unscopables":111,"../internals/array-fill":120,"../internals/export":170}],312:[function(oe,ue,de){var pe=oe("../internals/export"),_e=oe("../internals/array-iteration").filter,Ce=oe("../internals/array-method-has-species-support"),Ne=Ce("filter");pe({target:"Array",proto:!0,forced:!Ne},{filter:function(Ie){return _e(this,Ie,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":125,"../internals/array-method-has-species-support":127,"../internals/export":170}],313:[function(oe,ue,de){var pe=oe("../internals/export"),_e=oe("../internals/array-iteration").find,Ce=oe("../internals/add-to-unscopables"),Ne="find",Oe=!0;Ne in[]&&Array(1)[Ne](function(){Oe=!1}),pe({target:"Array",proto:!0,forced:Oe},{find:function(Fe){return _e(this,Fe,arguments.length>1?arguments[1]:void 0)}}),Ce(Ne)},{"../internals/add-to-unscopables":111,"../internals/array-iteration":125,"../internals/export":170}],314
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /ue.exports=function(Ce){return Ce!=null&&(pe(Ce)||_e(Ce)||!!Ce._isBuffer)};function pe(Ce){return!!Ce.constructor&&typeof Ce.constructor.isBuffer=="function"&&Ce.constructor.isBuffer(Ce)}function _e(Ce){return typeof Ce.readFloatLE=="function"&&typeof Ce.slice=="function"&&pe(Ce.slice(0,0))}},{}],412:[function(oe,ue,de){var pe=Function.prototype.toString,_e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ce,Ne;if(typeof _e=="function"&&typeof Object.defineProperty=="function")try{Ce=Object.defineProperty({},"length",{get:function(){throw Ne}}),Ne={},_e(function(){throw 42},null,Ce)}catch(cr){cr!==Ne&&(_e=null)}else _e=null;var Oe=/^\s*class\b/,Ie=function(ir){try{var ar=pe.call(ir);return Oe.test(ar)}catch{return!1}},Fe=function(ir){try{return Ie(ir)?!1:(pe.call(ir),!0)}catch{return!1}},Ue=Object.prototype.toString,Ve="[object Object]",ze="[object Function]",jt="[object GeneratorFunction]",kt="[object HTMLAllCollection]",Pt="[object HTML document.all class]",Et="[object HTMLCollection]",er=typeof Symbol=="function"&&!!Symbol.toStringTag,tr=!(0 in[,]),nr=function(){return!1};if(typeof document=="object"){var lr=document.all;Ue.call(lr)===Ue.call(document.all)&&(nr=function(ir){if((tr||!ir)&&(typeof ir>"u"||typeof ir=="object"))try{var ar=Ue.call(ir);return(ar===kt||ar===Pt||ar===Et||ar===Ve)&&ir("")==null}catch{}return!1})}ue.exports=_e?function(ir){if(nr(ir))return!0;if(!ir||typeof ir!="function"&&typeof ir!="object")return!1;try{_e(ir,null,Ce)}catch(ar){if(ar!==Ne)return!1}return!Ie(ir)&&Fe(ir)}:function(ir){if(nr(ir))return!0;if(!ir||typeof ir!="function"&&typeof ir!="object")return!1;if(er)return Fe(ir);if(Ie(ir))return!1;var ar=Ue.call(ir);return ar!==ze&&ar!==jt&&!/ ^ \ [ object HTML / . test ( ar ) ? ! 1 : Fe ( ir ) } } , { } ] , 413 : [ function ( oe , ue , de ) { var pe = Object . prototype . toString , _e = Function . prototype . toString , Ce = /^\s*(?:function)?\*/ , Ne = oe ( "has-tostringtag/shams" ) ( ) , Oe = Object . getPrototypeOf , Ie = function ( ) { if ( ! Ne ) return ! 1 ; try { return Function ( "return function*() {}" ) ( ) } catch { } } , Fe ; ue . exports = function ( Ve ) { if ( typeof Ve != "function" ) return ! 1 ; if ( Ce . test ( _e . call ( Ve ) ) ) return ! 0 ; if ( ! Ne ) { var ze = pe . call ( Ve ) ; return ze === "[object GeneratorFunction]" } if ( ! Oe ) return ! 1 ; if ( typeof Fe > "u" ) { var jt = Ie ( ) ; Fe = jt ? Oe ( jt ) : ! 1 } return Oe ( Ve ) === Fe } } , { "has-tostringtag/shams" : 398 } ] , 414 : [ function ( oe , ue , de ) { var pe = oe ( "which-typed-array" ) ; ue . exports = function ( Ce ) { return ! ! pe ( Ce ) } } , { "which-typed-array" : 492 } ] , 415 : [ function ( oe , ue , de ) { ( function ( pe ) { ( function ( ) { ( function ( _e , Ce ) { typeof de == "object" && typeof ue < "u" ? ue . exports = Ce ( _e ) : Ce ( _e ) } ) ( typeof self < "u" ? self : typeof window < "u" ? window : typeof pe < "u" ? pe : this , function ( _e ) { _e = _e || { } ; var Ce = _e . Base64 , Ne = "2.6.4" , Oe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" , Ie = function ( Nr ) { for ( var Rr = { } , Vr = 0 , Fr = Nr . length ; Vr < Fr ; Vr ++ ) Rr [ Nr . charAt ( Vr ) ] = Vr ; return Rr } ( Oe ) , Fe = String . fromCharCode , Ue = function ( Nr ) { if ( Nr . length < 2 ) { var Rr = Nr . charCodeAt ( 0 ) ; return Rr < 128 ? Nr : Rr < 2048 ? Fe ( 192 | Rr >>> 6 ) + Fe ( 128 | Rr & 63 ) : Fe ( 224 | Rr >>> 12 & 15 ) + Fe ( 128 | Rr >>> 6 & 63 ) + Fe ( 128 | Rr & 63 ) } else { var Rr = 65536 + ( Nr . charCodeAt ( 0 ) - 55296 ) * 1024 + ( Nr . charCodeAt ( 1 ) - 56320 ) ; return Fe ( 240 | Rr >>> 18 & 7 ) + Fe ( 128 | Rr >>> 12 & 63 ) + Fe ( 128 | Rr >>> 6 & 63 ) + Fe ( 128 | Rr & 63 ) } } , Ve = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g , ze = function ( Nr ) { return Nr . replace ( Ve , Ue ) } , jt = function ( Nr ) { var Rr = [ 0 , 2 , 1 ] [ Nr . length % 3 ] , Vr = Nr . charCodeAt ( 0 ) << 16 | ( Nr . length > 1 ? Nr . charCodeAt ( 1 ) : 0 ) << 8 | ( Nr . length > 2 ? Nr . charCodeAt ( 2 ) : 0 ) , Fr = [ Oe . charAt ( Vr >>> 18 ) , Oe . charAt ( Vr >>> 12 & 63 ) , Rr >= 2 ? "=" : Oe . charAt ( Vr >>> 6 & 63 ) , Rr >= 1 ? "=" : Oe . charAt ( Vr & 63 ) ] ; return Fr . join ( "" ) } , kt = _e . btoa && typeof _e . btoa == "function" ? function ( Nr ) { return _e . btoa ( Nr ) } : function ( Nr ) { if ( Nr . match ( /[^\x00-\xFF]/ ) ) throw new RangeError ( "The string contains invalid characters." ) ; return Nr . replace ( /[\s\S]{1,3}/g , jt ) } , Pt = function ( Nr ) { return kt ( ze ( String ( Nr ) ) ) } , Et = function ( Nr ) { return Nr . replace ( /[+\/]/g , function ( Rr ) { return Rr == "+" ? "-" : "_" } ) . replace ( /=/g , "" ) } , er = function ( Nr , Rr ) { return Rr ? Et ( Pt ( Nr ) ) : Pt ( Nr ) } , tr = function ( Nr ) { return er ( Nr , ! 0 ) } , nr ; _e . Uint8Array && ( nr = function ( Nr , Rr ) { for ( var Vr = "" , Fr = 0 , Ir = Nr . length ; Fr < Ir ; Fr += 3 ) { var kr = Nr [ Fr ] , qr = Nr [ Fr + 1 ] , Wr = Nr [ Fr + 2 ] , Ar = kr << 16 | qr << 8 | Wr ; Vr += Oe .
` )>=0)return!1;return!0}function ro(da,Ka){var xs;if(da.indent===" ")xs=" ";else if(typeof da.indent=="number"&&da.indent>0)xs=mr.call(Array(da.indent+1)," ");else return null;return{base:xs,prev:mr.call(Array(Ka+1),xs)}}function Oo(da,Ka){if(da.length===0)return"";var xs= `
` +Ka.prev+Ka.base;return xs+mr.call(da,","+xs)+ `
` +Ka.prev}function ra(da,Ka){var xs=vn(da),_s=[];if(xs){_s.length=da.length;for(var kl=0;kl<da.length;kl++)_s[kl]=kn(da,kl)?Ka(da[kl],da):""}var Yl=typeof Nr=="function"?Nr(da):[],Ac;if(Vr){Ac={};for(var Ms=0;Ms<Yl.length;Ms++)Ac[" $ "+Yl[Ms]]=Yl[Ms]}for(var zc in da)kn(da,zc)&&(xs&&String(Number(zc))===zc&&zc<da.length||Vr&&Ac[" $ "+zc]instanceof Symbol||(fr.call(/[^ \w $ ]/,zc)?_s.push(Ka(zc,da)+": "+Ka(da[zc],da)):_s.push(zc+": "+Ka(da[zc],da))));if(typeof Nr=="function")for(var Fc=0;Fc<Yl.length;Fc++)Ir.call(da,Yl[Fc])&&_s.push("["+Ka(Yl[Fc])+"]: "+Ka(da[Yl[Fc]],da));return _s}}).call(this)}).call(this,typeof ae<"u"?ae:typeof self<"u"?self:typeof window<"u"?window:{})},{"./util.inspect":102}],436:[function(oe,ue,de){var pe;if(!Object.keys){var _e=Object.prototype.hasOwnProperty,Ce=Object.prototype.toString,Ne=oe("./isArguments"),Oe=Object.prototype.propertyIsEnumerable,Ie=!Oe.call({toString:null},"toString"),Fe=Oe.call(function(){},"prototype"),Ue=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ve=function(Pt){var Et=Pt.constructor;return Et&&Et.prototype===Pt},ze={ $ applicationCache:!0, $ console:!0, $ external:!0, $ frame:!0, $ frameElement:!0, $ frames:!0, $ innerHeight:!0, $ innerWidth:!0, $ onmozfullscreenchange:!0, $ onmozfullscreenerror:!0, $ outerHeight:!0, $ outerWidth:!0, $ pageXOffset:!0, $ pageYOffset:!0, $ parent:!0, $ scrollLeft:!0, $ scrollTop:!0, $ scrollX:!0, $ scrollY:!0, $ self:!0, $ webkitIndexedDB:!0, $ webkitStorageInfo:!0, $ window:!0},jt=function(){if(typeof window>"u")return!1;for(var Pt in window)try{if(!ze[" $ "+Pt]&&_e.call(window,Pt)&&window[Pt]!==null&&typeof window[Pt]=="object")try{Ve(window[Pt])}catch{return!0}}catch{return!0}return!1}(),kt=function(Pt){if(typeof window>"u"||!jt)return Ve(Pt);try{return Ve(Pt)}catch{return!1}};pe=function(Et){var er=Et!==null&&typeof Et=="object",tr=Ce.call(Et)==="[object Function]",nr=Ne(Et),lr=er&&Ce.call(Et)==="[object String]",cr=[];if(!er&&!tr&&!nr)throw new TypeError("Object.keys called on a non-object");var ir=Fe&&tr;if(lr&&Et.length>0&&!_e.call(Et,0))for(var ar=0;ar<Et.length;++ar)cr.push(String(ar));if(nr&&Et.length>0)for(var sr=0;sr<Et.length;++sr)cr.push(String(sr));else for(var dr in Et)!(ir&&dr==="prototype")&&_e.call(Et,dr)&&cr.push(String(dr));if(Ie)for(var fr=kt(Et),_r=0;_r<Ue.length;++_r)!(fr&&Ue[_r]==="constructor")&&_e.call(Et,Ue[_r])&&cr.push(Ue[_r]);return cr}}ue.exports=pe},{"./isArguments":438}],437:[function(oe,ue,de){var pe=Array.prototype.slice,_e=oe("./isArguments"),Ce=Object.keys,Ne=Ce?function(Fe){return Ce(Fe)}:oe("./implementation"),Oe=Object.keys;Ne.shim=function(){if(Object.keys){var Fe=function(){var Ue=Object.keys(arguments);return Ue&&Ue.length===arguments.length}(1,2);Fe||(Object.keys=function(Ve){return _e(Ve)?Oe(pe.call(Ve)):Oe(Ve)})}else Object.keys=Ne;return Object.keys||Ne},ue.exports=Ne},{"./implementation":436,"./isArguments":438}],438:[function(oe,ue,de){var pe=Object.prototype.toString;ue.exports=function(Ce){var Ne=pe.call(Ce),Oe=Ne==="[object Arguments]";return Oe||(Oe=Ne!=="[object Array]"&&Ce!==null&&typeof Ce=="object"&&typeof Ce.length=="number"&&Ce.length>=0&&pe.call(Ce.callee)==="[object Function]"),Oe}},{}],439:[function(oe,ue,de){var pe=oe("object-keys"),_e=oe("has-symbols/shams")(),Ce=oe("call-bind/callBound"),Ne=Object,Oe=Ce("Array.prototype.push"),Ie=Ce("Object.prototype.propertyIsEnumerable"),Fe=_e?Object.getOwnPropertySymbols:null;ue.exports=function(Ve,ze){if(Ve==null)throw new TypeError("target must be an object");var jt=Ne(Ve);if(arguments.length===1)return jt;for(var kt=1;kt<arguments.length;++kt){var Pt=Ne(arguments[kt]),Et=pe(Pt),er=_e&&(Object.getOwnPropertySymbols||Fe);if(er)for(var tr=er(Pt),nr=0;nr<tr.length;++nr){var lr=tr[nr];Ie(Pt,lr)&&Oe(Et,lr)}for(var cr=0;cr<Et.length;++cr){var ir=Et[cr];if(Ie(Pt,ir)){var ar=Pt[ir];jt[ir]=ar}}}return jt}},{"call-bind/callBound":105,"has-symbols/shams":397,"object-keys":437}],440:[function(oe,ue,de){var pe=oe("./implementation"),_e=function(){if(!Object.assign)return!1;for(var Ne="abcdefghijklmnopqrst",Oe=Ne.split(""),Ie={},Fe=0;Fe<Oe
` || $ r===" \r "|| $ r===" "}function sr( $ r){return $ r==='"'|| $ r==="'"}function dr( $ r){return $ r===">"||ar( $ r)}function fr( $ r,Lr){return $ r.test(Lr)}function _r( $ r,Lr){return!fr( $ r,Lr)}var mr=0;_e.STATE={BEGIN:mr++,BEGIN_WHITESPACE:mr++,TEXT:mr++,TEXT_ENTITY:mr++,OPEN_WAKA:mr++,SGML_DECL:mr++,SGML_DECL_QUOTED:mr++,DOCTYPE:mr++,DOCTYPE_QUOTED:mr++,DOCTYPE_DTD:mr++,DOCTYPE_DTD_QUOTED:mr++,COMMENT_STARTING:mr++,COMMENT:mr++,COMMENT_ENDING:mr++,COMMENT_ENDED:mr++,CDATA:mr++,CDATA_ENDING:mr++,CDATA_ENDING_2:mr++,PROC_INST:mr++,PROC_INST_BODY:mr++,PROC_INST_ENDING:mr++,OPEN_TAG:mr++,OPEN_TAG_SLASH:mr++,ATTRIB:mr++,ATTRIB_NAME:mr++,ATTRIB_NAME_SAW_WHITE:mr++,ATTRIB_VALUE:mr++,ATTRIB_VALUE_QUOTED:mr++,ATTRIB_VALUE_CLOSED:mr++,ATTRIB_VALUE_UNQUOTED:mr++,ATTRIB_VALUE_ENTITY_Q:mr++,ATTRIB_VALUE_ENTITY_U:mr++,CLOSE_TAG:mr++,CLOSE_TAG_SAW_WHITE:mr++,SCRIPT:mr++,SCRIPT_ENDING:mr++},_e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},_e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(_e.ENTITIES).forEach(function( $ r){var Lr=_e.ENTITIES[ $ r],Gr=typeof Lr=="number"?String.fromCharCode(Lr):Lr;_e.ENTITIES[ $ r]=Gr});for(var Er in _e.STATE)_e.STATE[_e.STATE[Er]]=Er;mr=_e.STATE;function Sr( $ r,Lr,Gr){ $ r[Lr]&& $ r[Lr](Gr)}function xr( $ r,Lr,Gr){ $ r.textNode&&Nr( $ r),Sr( $ r,Lr,Gr)}function Nr( $ r){ $ r.textNode=Rr( $ r.opt, $ r.textNode), $ r.textNode&&Sr( $ r,"ontext", $ r.textNode), $ r.textNode=""}function Rr( $ r,Lr){return $ r.trim&&(Lr=Lr.trim()), $ r.normalize&&(Lr=Lr.replace(/ \s +/g," ")),Lr}function Vr( $ r,Lr){return Nr( $ r), $ r.trackPosition&&(Lr+= `
Line : ` + $ r.line+ `
Column : ` + $ r.column+ `
Char : ` + $ r.c),Lr=new Error(Lr), $ r.error=Lr,Sr( $ r,"onerror",Lr), $ r}function Fr( $ r){return $ r.sawRoot&&! $ r.closedRoot&&Ir( $ r,"Unclosed root tag"), $ r.state!==mr.BEGIN&& $ r.state!==mr.BEGIN_WHITESPACE&& $ r.state!==mr.TEXT&&Vr( $ r,"Unexpected end"),Nr( $ r), $ r.c="", $ r.closed=!0,Sr( $ r,"onend"),Ne.call( $ r, $ r.strict, $ r.opt), $ r}function Ir( $ r,Lr){if(typeof $ r!="object"||!( $ r instanceof Ne))throw new Error("bad call to strictFail"); $ r.strict&&Vr( $ r,Lr)}function kr( $ r){ $ r.strict||( $ r.tagName= $ r.tagName[ $ r.looseCase]());var Lr= $ r.tags[ $ r.tags.length-1]|| $ r,Gr= $ r.tag={name: $ r.tagName,attributes:{}}; $ r.opt.xmlns&&(Gr.ns=Lr.ns), $ r.attribList.length=0,xr( $ r,"onopentagstart",Gr)}function qr( $ r,Lr){var Gr= $ r.indexOf(":"),Mr=Gr<0?["", $ r]: $ r.split(":"),Br=Mr[0],Hr=Mr[1];return Lr&& $ r==="xmlns"&&(Br="xmlns",Hr=""),{prefix:Br,local:Hr}}function Wr( $ r){if( $ r.strict||( $ r.attribName= $ r.attribName[ $ r.looseCase]()), $ r.attribList.indexOf( $ r.attribName)!==-1|| $ r.tag.attributes.hasOwnProperty( $ r.attribName)){ $ r.attribName= $ r.attribValue="";return}if( $ r.opt.xmlns){var Lr=qr( $ r.attribName,!0),Gr=Lr.prefix,Mr=Lr.local;if(Gr==="xmlns")if(Mr==="xml"&& $ r.attribValue!==Et)Ir( $ r,"xml: prefix must be bound to "+Et+ `
Actual : ` + $ r.attribValue);else if(Mr==="xmlns"&& $ r.attribValue!==er)Ir( $ r,"xmlns: prefix must be bound to "+er+ `
Actual : ` + $ r.attribValue);else{var Br= $ r.tag,Hr= $ r.tags[ $ r.tags.length-1]|| $ r;Br.ns===Hr.ns&&(Br.ns=Object.create(Hr.ns)),Br.ns[Mr]= $ r.attribValue} $ r.attribList.push([ $ r.attribName, $ r.attribValue])}else $ r.tag.attributes[ $ r.attribName]= $ r.attribValue,xr( $ r,"onattribute",{name: $ r.attribName,value: $ r.attribValue}); $ r.attribName= $ r.attribValue=""}function Ar( $ r,Lr){if( $ r.opt.xmlns){var Gr= $ r.tag,Mr=qr( $ r.tagName);Gr.prefix=Mr.prefix,Gr.local=Mr.local,Gr.uri=Gr.ns[Mr.prefix]||"",Gr.prefix&&!Gr.uri&&(Ir( $ r,"Unbound namespace prefix: "+JSON.stringify( $ r.tagName)),Gr.uri=Mr.prefix);var Br= $ r.tags[ $ r.tags.length-1]|| $ r;Gr.ns&&Br.ns!==Gr.ns&&Object.keys(Gr.ns).forEach(function(rs){xr( $ r,"onopennamespace",{prefix:rs,uri:Gr.ns[rs]})});for(var Hr=0,zr= $ r.attribList.length;Hr<zr;Hr++){var An= $ r.attribList[Hr],kn=An[0],jr=An[1],Nn=qr(kn,!0),Rn=Nn.prefix,ta=Nn.local,Mo=Rn===""?"":Gr.ns[Rn]||"",to={name:kn,value:jr,prefix:Rn,local:ta,uri:Mo};Rn&&Rn!=="xmlns"&&!Mo&&(Ir( $ r,"Unbound namespace prefix: "+JSON.stringify(Rn)),to.uri=Rn), $ r.tag.attributes[kn]=to,xr( $ r,"onattribute",to)} $ r.attribList.length=0} $ r.tag.isSelfClosing=!!Lr, $ r.sawRoot=!0, $ r.tags.push( $ r.tag),xr( $ r,"onopentag", $ r.tag),Lr||(! $ r.noscript&& $ r.tagName.toLowerCase()==="script"? $ r.state=mr.SCRIPT: $ r.state=mr.TEXT, $ r.tag=null, $ r.tagName=""), $ r.attribName= $ r.attribValue="", $ r.attribList.length=0}function Dr( $ r){if(! $ r.tagName){Ir( $ r,"Weird empty close tag."), $ r.textNode+="</>", $ r.state=mr.TEXT;return}if( $ r.script){if( $ r.tagName!=="script"){ $ r.script+="</"+ $ r.tagName+">", $ r.tagName="", $ r.state=mr.SCRIPT;return}xr( $ r,"onscript", $ r.script), $ r.script=""}var Lr= $ r.tags.length,Gr= $ r.tagName; $ r.strict||(Gr=Gr[ $ r.looseCase]());for(var Mr=Gr;Lr--;){var Br= $ r.tags[Lr];if(Br.name!==Mr)Ir( $ r,"Unexpected close tag");else break}if(Lr<0){Ir( $ r,"Unmatched closing tag: "+ $ r.tagName), $ r.textNode+="</"+ $ r.tagName+">", $ r.state=mr.TEXT;return} $ r.tagName=Gr;for(var Hr= $ r.tags.length;Hr-- >Lr;){var zr= $ r.tag= $ r.tags.pop(); $ r.tagName= $ r.tag.name,xr( $ r,"onclosetag", $ r.tagName);var An={};for(var kn in zr.ns)An[kn]=zr.ns[kn];var jr= $ r.tags[ $ r.tags.length-1]|| $ r; $ r.opt.xmlns&&zr.ns!==jr.ns&&Object.keys(zr.ns).forEach(function(Nn){var Rn=zr.ns[Nn];xr( $ r,"onclosenamespace",{prefix:Nn,uri:Rn})})}Lr===0&&( $ r.closedRoot=!0), $ r.tagName= $ r.attribValue= $ r.attribName="", $ r.attribList.length=0, $ r.state=mr.TEXT}function Jr( $ r){var Lr= $ r.entity,Gr=Lr.toLowerCase(),Mr,Br="";return $ r.ENTITIES[Lr]? $ r.ENTITIES[Lr]: $ r.ENTITIES[Gr]? $ r.ENTITIES[Gr]:(Lr=Gr,Lr.charAt(0)==="#"&&(Lr.charAt(1)==="x"?(Lr=Lr.slice(2),Mr=parseInt(Lr,16),Br=Mr.toString(16)):(Lr=Lr.slice(1),Mr=parseInt(Lr,10),Br=Mr.toString(10))),Lr=Lr.replace(/^0+/,""),isNaN(Mr)||Br.toLowerCase()!==Lr?(Ir( $ r,"Invalid character entity"),"&"+ $ r.entity+";"):String.fromCodePoint(Mr))}function Sn( $ r,Lr){Lr==="<"?( $ r.state=mr.OPEN_WAKA, $ r.startTagPosition= $ r.position):ar(Lr)||(Ir( $ r,"Non-whitespace before first tag."), $ r.textNode=Lr, $ r.state=mr.TEXT)}function vn( $ r,Lr){var Gr="";return Lr< $ r.length&&(Gr= $ r.charAt(Lr)),Gr}function xn( $ r){var Lr=this;if(this.error)throw this.error;if(Lr.closed)return Vr(Lr,"Cannot write after close. Assign an onready handler.");if( $ r===null)return Fr(Lr);typeof $ r=="object"&&( $ r= $ r.toString());for(var Gr=0,Mr="";Mr=vn( $ r,Gr++),Lr.c=Mr,!!Mr;)switch(Lr.trackPosition&&(Lr.position++,Mr=== `
` ?(Lr.line++,Lr.column=0):Lr.column++),Lr.state){case mr.BEGIN:if(Lr.state=mr.BEGIN_WHITESPACE,Mr===" \u FEFF")continue;Sn(Lr,Mr);continue;case mr.BEGIN_WHITESPACE:Sn(Lr,Mr);continue;case mr.TEXT:if(Lr.sawRoot&&!Lr.closedRoot){for(var Br=Gr-1;Mr&&Mr!=="<"&&Mr!=="&";)Mr=vn( $ r,Gr++),Mr&&Lr.trackPosition&&(Lr.position++,Mr=== `
` ?(Lr.line++,Lr.column=0):Lr.column++);Lr.textNode+= $ r.substring(Br,Gr-1)}Mr==="<"&&!(Lr.sawRoot&&Lr.closedRoot&&!Lr.strict)?(Lr.state=mr.OPEN_WAKA,Lr.startTagPosition=Lr.position):(!ar(Mr)&&(!Lr.sawRoot||Lr.closedRoot)&&Ir(Lr,"Text data outside of root node."),Mr==="&"?Lr.state=mr.TEXT_ENTITY:Lr.textNode+=Mr);continue;case mr.SCRIPT:Mr==="<"?Lr.state=mr.SCRIPT_ENDING:Lr.script+=Mr;continue;case mr.SCRIPT_ENDING:Mr==="/"?Lr.state=mr.CLOSE_TAG:(Lr.script+="<"+Mr,Lr.state=mr.SCRIPT);continue;case mr.OPEN_WAKA:if(Mr==="!")Lr.state=mr.SGML_DECL,Lr.sgmlDecl="";else if(!ar(Mr))if(fr(nr,Mr))Lr.state=mr.OPEN_TAG,Lr.tagName=Mr;else if(Mr==="/")Lr.state=mr.CLOSE_TAG,Lr.tagName="";else if(Mr==="?")Lr.state=mr.PROC_INST,Lr.procInstName=Lr.procInstBody="";else{if(Ir(Lr,"Unencoded <"),Lr.startTagPosition+1<Lr.position){var Hr=Lr.position-Lr.startTagPosition;Mr=new Array(Hr).join(" ")+Mr}Lr.textNode+="<"+Mr,Lr.state=mr.TEXT}continue;case mr.SGML_DECL:(Lr.sgmlDecl+Mr).toUpperCase()===kt?(xr(Lr,"onopencdata"),Lr.state=mr.CDATA,Lr.sgmlDecl="",Lr.cdata=""):Lr.sgmlDecl+Mr==="--"?(Lr.state=mr.COMMENT,Lr.comment="",Lr.sgmlDecl=""):(Lr.sgmlDecl+Mr).toUpperCase()===Pt?(Lr.state=mr.DOCTYPE,(Lr.doctype||Lr.sawRoot)&&Ir(Lr,"Inappropriately located doctype declaration"),Lr.doctype="",Lr.sgmlDecl=""):Mr===">"?(xr(Lr,"onsgmldeclaration",Lr.sgmlDecl),Lr.sgmlDecl="",Lr.state=mr.TEXT):(sr(Mr)&&(Lr.state=mr.SGML_DECL_QUOTED),Lr.sgmlDecl+=Mr);continue;case mr.SGML_DECL_QUOTED:Mr===Lr.q&&(Lr.state=mr.SGML_DECL,Lr.q=""),Lr.sgmlDecl+=Mr;continue;case mr.DOCTYPE:Mr===">"?(Lr.state=mr.TEXT,xr(Lr,"ondoctype",Lr.doctype),Lr.doctype=!0):(Lr.doctype+=Mr,Mr==="["?Lr.state=mr.DOCTYPE_DTD:sr(Mr)&&(Lr.state=mr.DOCTYPE_QUOTED,Lr.q=Mr));continue;case mr.DOCTYPE_QUOTED:Lr.doctype+=Mr,Mr===Lr.q&&(Lr.q="",Lr.state=mr.DOCTYPE);continue;case mr.DOCTYPE_DTD:Lr.doctype+=Mr,Mr==="]"?Lr.state=mr.DOCTYPE:sr(Mr)&&(Lr.state=mr.DOCTYPE_DTD_QUOTED,Lr.q=Mr);continue;case mr.DOCTYPE_DTD_QUOTED:Lr.doctype+=Mr,Mr===Lr.q&&(Lr.state=mr.DOCTYPE_DTD,Lr.q="");continue;case mr.COMMENT:Mr==="-"?Lr.state=mr.COMMENT_ENDING:Lr.comment+=Mr;continue;case mr.COMMENT_ENDING:Mr==="-"?(Lr.state=mr.COMMENT_ENDED,Lr.comment=Rr(Lr.opt,Lr.comment),Lr.comment&&xr(Lr,"oncomment",Lr.comment),Lr.comment=""):(Lr.comment+="-"+Mr,Lr.state=mr.COMMENT);continue;case mr.COMMENT_ENDED:Mr!==">"?(Ir(Lr,"Malformed comment"),Lr.comment+="--"+Mr,Lr.state=mr.COMMENT):Lr.state=mr.TEXT;continue;case mr.CDATA:Mr==="]"?Lr.state=mr.CDATA_ENDING:Lr.cdata+=Mr;continue;case mr.CDATA_ENDING:Mr==="]"?Lr.state=mr.CDATA_ENDING_2:(Lr.cdata+="]"+Mr,Lr.state=mr.CDATA);continue;case mr.CDATA_ENDING_2:Mr===">"?(Lr.cdata&&xr(Lr,"oncdata",Lr.cdata),xr(Lr,"onclosecdata"),Lr.cdata="",Lr.state=mr.TEXT):Mr==="]"?Lr.cdata+="]":(Lr.cdata+="]]"+Mr,Lr.state=mr.CDATA);continue;case mr.PROC_INST:Mr==="?"?Lr.state=mr.PROC_INST_ENDING:ar(Mr)?Lr.state=mr.PROC_INST_BODY:Lr.procInstName+=Mr;continue;case mr.PROC_INST_BODY:if(!Lr.procInstBody&&ar(Mr))continue;Mr==="?"?Lr.state=mr.PROC_INST_ENDING:Lr.procInstBody+=Mr;continue;case mr.PROC_INST_ENDING:Mr===">"?(xr(Lr,"onprocessinginstruction",{name:Lr.procInstName,body:Lr.procInstBody}),Lr.procInstName=Lr.procInstBody="",Lr.state=mr.TEXT):(Lr.procInstBody+="?"+Mr,Lr.state=mr.PROC_INST_BODY);continue;case mr.OPEN_TAG:fr(lr,Mr)?Lr.tagName+=Mr:(kr(Lr),Mr===">"?Ar(Lr):Mr==="/"?Lr.state=mr.OPEN_TAG_SLASH:(ar(Mr)||Ir(Lr,"Invalid character in tag name"),Lr.state=mr.ATTRIB));continue;case mr.OPEN_TAG_SLASH:Mr===">"?(Ar(Lr,!0),Dr(Lr)):(Ir(Lr,"Forward-slash in opening tag not followed by >"),Lr.state=mr.ATTRIB);continue;case mr.ATTRIB:if(ar(Mr))continue;Mr===">"?Ar(Lr):Mr==="/"?Lr.state=mr.OPEN_TAG_SLASH:fr(nr,Mr)?(Lr.attribName=Mr,Lr.attribValue="",Lr.state=mr.ATTRIB_NAME):Ir(Lr,"Invalid attribute name");continue;case mr.ATTRIB_NAME:Mr==="="?Lr.state=mr.ATTRIB_VALUE:Mr===">"?(Ir(Lr,"Attribute without value"),Lr.attribValue=Lr.attribName,Wr(Lr),Ar(Lr)):ar(Mr)?Lr.state=mr.ATTRIB_NAME_SAW_WHITE:fr(lr,Mr)?Lr.attribName+=Mr:Ir(Lr,"Invalid attribute name");continue;case mr.ATTRIB_NAME_SAW_WHITE:if(Mr==="=")Lr.state=mr.ATTRI
` )>-1&&( $ r?Gr=Gr.split( `
` ).map(function(Br){return" "+Br}).join( `
` ).slice(2):Gr= `
` +Gr.split( `
` ).map(function(Br){return" "+Br}).join( `
` ))):Gr=Dr.stylize("[Circular]","special")),fr(Lr)){if( $ r&&xn.match(/^ \d + $ /))return Gr;Lr=JSON.stringify(""+xn),Lr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)" $ /)?(Lr=Lr.slice(1,-1),Lr=Dr.stylize(Lr,"name")):(Lr=Lr.replace(/'/g," \\ '").replace(/ \\ "/g,'"').replace(/(^"|" $ )/g,"'"),Lr=Dr.stylize(Lr,"string"))}return Lr+": "+Gr}function tr(Dr,Jr,Sn){var vn=Dr.reduce(function(xn, $ r){return $ r.indexOf( `
` )>=0,xn+ $ r.replace(/ \u 001b \[ \d \d ?m/g,"").length+1},0);return vn>60?Sn[0]+(Jr===""?"":Jr+ `
` )+" "+Dr.join( ` ,
` )+" "+Sn[1]:Sn[0]+Jr+" "+Dr.join(", ")+" "+Sn[1]}de.types=oe("./support/types");function nr(Dr){return Array.isArray(Dr)}de.isArray=nr;function lr(Dr){return typeof Dr=="boolean"}de.isBoolean=lr;function cr(Dr){return Dr===null}de.isNull=cr;function ir(Dr){return Dr==null}de.isNullOrUndefined=ir;function ar(Dr){return typeof Dr=="number"}de.isNumber=ar;function sr(Dr){return typeof Dr=="string"}de.isString=sr;function dr(Dr){return typeof Dr=="symbol"}de.isSymbol=dr;function fr(Dr){return Dr===void 0}de.isUndefined=fr;function _r(Dr){return mr(Dr)&&Rr(Dr)==="[object RegExp]"}de.isRegExp=_r,de.types.isRegExp=_r;function mr(Dr){return typeof Dr=="object"&&Dr!==null}de.isObject=mr;function Er(Dr){return mr(Dr)&&Rr(Dr)==="[object Date]"}de.isDate=Er,de.types.isDate=Er;function Sr(Dr){return mr(Dr)&&(Rr(Dr)==="[object Error]"||Dr instanceof Error)}de.isError=Sr,de.types.isNativeError=Sr;function xr(Dr){return typeof Dr=="function"}de.isFunction=xr;function Nr(Dr){return Dr===null||typeof Dr=="boolean"||typeof Dr=="number"||typeof Dr=="string"||typeof Dr=="symbol"||typeof Dr>"u"}de.isPrimitive=Nr,de.isBuffer=oe("./support/isBuffer");function Rr(Dr){return Object.prototype.toString.call(Dr)}function Vr(Dr){return Dr<10?"0"+Dr.toString(10):Dr.toString(10)}var Fr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ir(){var Dr=new Date,Jr=[Vr(Dr.getHours()),Vr(Dr.getMinutes()),Vr(Dr.getSeconds())].join(":");return[Dr.getDate(),Fr[Dr.getMonth()],Jr].join(" ")}de.log=function(){console.log("%s - %s",Ir(),de.format.apply(de,arguments))},de.inherits=oe("inherits"),de._extend=function(Dr,Jr){if(!Jr||!mr(Jr))return Dr;for(var Sn=Object.keys(Jr),vn=Sn.length;vn--;)Dr[Sn[vn]]=Jr[Sn[vn]];return Dr};function kr(Dr,Jr){return Object.prototype.hasOwnProperty.call(Dr,Jr)}var qr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;de.promisify=function(Jr){if(typeof Jr!="function")throw new TypeError('The "original" argument must be of type Function');if(qr&&Jr[qr]){var Sn=Jr[qr];if(typeof Sn!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Sn,qr,{value:Sn,enumerable:!1,writable:!1,configurable:!0}),Sn}function Sn(){for(var vn,xn, $ r=new Promise(function(Mr,Br){vn=Mr,xn=Br}),Lr=[],Gr=0;Gr<arguments.length;Gr++)Lr.push(arguments[Gr]);Lr.push(function(Mr,Br){Mr?xn(Mr):vn(Br)});try{Jr.apply(this,Lr)}catch(Mr){xn(Mr)}return $ r}return Object.setPrototypeOf(Sn,Object.getPrototypeOf(Jr)),qr&&Object.defineProperty(Sn,qr,{value:Sn,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Sn,_e(Jr))},de.promisify.custom=qr;function Wr(Dr,Jr){if(!Dr){var Sn=new Error("Promise was rejected with a falsy value");Sn.reason=Dr,Dr=Sn}return Jr(Dr)}function Ar(Dr){if(typeof Dr!="function")throw new TypeError('The "original" argument must be of type Function');function Jr(){for(var Sn=[],vn=0;vn<arguments.length;vn++)Sn.push(arguments[vn]);var xn=Sn.pop();if(typeof xn!="function")throw new TypeError("The last argument must be of type Function");var $ r=this,Lr=function(){return xn.apply( $ r,arguments)};Dr.apply(this,Sn).then(function(Gr){pe.nextTick(Lr.bind(null,null,Gr))},function(Gr){pe.nextTick(Wr.bind(null,Gr,Lr))})}return Object.setPrototypeOf(Jr,Object.getPrototypeOf(Dr)),Object.defineProperties(Jr,_e(Dr)),Jr}de.callbackify=Ar}).call(this)}).call(this,oe("_process"))},{"./support/isBuffer":489,"./support/types":490,_process:540,inherits:409}],492:[function(oe,ue,de){(function(pe){(function(){var _e=oe("for-each"),Ce=oe("available-typed-arrays"),Ne=oe("call-bind"),Oe=oe("call-bind/callBound"),Ie=oe("gopd"),Fe=Oe("Object.prototype.toString"),Ue=oe("has-tostringtag/shams")(),Ve=typeof globalThis>"u"?pe:globalThis,ze=Ce(),jt=Oe("String.prototype.slice"),kt=Object.getPrototypeOf,Pt=Oe("Array.prototype.indexOf",!0)||function(lr,cr){for(var ir=0;ir<lr.length;ir+=1)if(lr[ir]===cr)return ir;return-1},Et={__proto__:null};Ue&&Ie&&kt?_e(ze,function(nr){var lr=new Ve[nr];if(Symbol.toStringTag in lr){var cr=kt(lr),ir=Ie(cr,Symbol.toStringTag);if(!ir)
` },headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],496:[function(oe,ue,de){(function(){var pe,_e,Ce,Ne,Oe,Ie,Fe,Ue,Ve,ze=function(Pt,Et){return function(){return Pt.apply(Et,arguments)}},jt=function(Pt,Et){for(var er in Et)kt.call(Et,er)&&(Pt[er]=Et[er]);function tr(){this.constructor=Pt}return tr.prototype=Et.prototype,Pt.prototype=new tr,Pt.__super__=Et.prototype,Pt},kt={}.hasOwnProperty;Ue=oe("sax"),Ne=oe("events"),pe=oe("./bom"),Fe=oe("./processors"),Ve=oe("timers").setImmediate,_e=oe("./defaults").defaults,Oe=function(Pt){return typeof Pt=="object"&&Pt!=null&&Object.keys(Pt).length===0},Ie=function(Pt,Et,er){var tr,nr,lr;for(tr=0,nr=Pt.length;tr<nr;tr++)lr=Pt[tr],Et=lr(Et,er);return Et},Ce=function(Pt,Et,er){var tr;return tr=Object.create(null),tr.value=er,tr.writable=!0,tr.enumerable=!0,tr.configurable=!0,Object.defineProperty(Pt,Et,tr)},de.Parser=function(Pt){jt(Et,Pt);function Et(er){this.parseStringPromise=ze(this.parseStringPromise,this),this.parseString=ze(this.parseString,this),this.reset=ze(this.reset,this),this.assignOrPush=ze(this.assignOrPush,this),this.processAsync=ze(this.processAsync,this);var tr,nr,lr;if(!(this instanceof de.Parser))return new de.Parser(er);this.options={},nr=_e["0.2"];for(tr in nr)kt.call(nr,tr)&&(lr=nr[tr],this.options[tr]=lr);for(tr in er)kt.call(er,tr)&&(lr=er[tr],this.options[tr]=lr);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(Fe.normalize)),this.reset()}return Et.prototype.processAsync=function(){var er,tr;try{return this.remaining.length<=this.options.chunkSize?(er=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(er),this.saxParser.close()):(er=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(er),Ve(this.processAsync))}catch(nr){if(tr=nr,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(tr)}},Et.prototype.assignOrPush=function(er,tr,nr){return tr in er?(er[tr]instanceof Array||Ce(er,tr,[er[tr]]),er[tr].push(nr)):this.options.explicitArray?Ce(er,tr,[nr]):Ce(er,tr,nr)},Et.prototype.reset=function(){var er,tr,nr,lr;return this.removeAllListeners(),this.saxParser=Ue.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(cr){return function(ir){if(cr.saxParser.resume(),!cr.saxParser.errThrown)return cr.saxParser.errThrown=!0,cr.emit("error",ir)}}(this),this.saxParser.onend=function(cr){return function(){if(!cr.saxParser.ended)return cr.saxParser.ended=!0,cr.emit("end",cr.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,lr=[],er=this.options.attrkey,tr=this.options.charkey,this.saxParser.onopentag=function(cr){return function(ir){var ar,sr,dr,fr,_r;if(dr={},dr[tr]="",!cr.options.ignoreAttrs){_r=ir.attributes;for(ar in _r)kt.call(_r,ar)&&(!(er in dr)&&!cr.options.mergeAttrs&&(dr[er]={}),sr=cr.options.attrValueProcessors?Ie(cr.options.attrValueProcessors,ir.attributes[ar],ar):ir.attributes[ar],fr=cr.options.attrNameProcessors?Ie(cr.options.attrNameProcessors,ar):ar,cr.options.mergeAttrs?cr.assignOrPush(dr,fr,sr):Ce(dr[er],fr,sr))}return dr["#name"]=cr.options.tagNameProcessors?Ie(cr.options.tagNameProcessors,ir.name):ir.name,cr.options.xmlns&&(dr[cr.options.xmlnskey]={uri:ir.uri,local:ir.local}),lr.push(dr)}}(this),this.saxParser.onclosetag=function(cr){return function(){var ir,ar,sr,dr,fr,_r,mr,Er,Sr,xr;if(_r=lr.pop(),fr=_r["#name"],(!cr.options.explicitChildren||!cr.options.preserveChildrenOrder)&&delete _r["#name"],_r.cdata===!0&&(ir=_r.cdata,delete _r.cdata),Sr=lr[lr.length-1],_r[tr].match(/^ \s * $ /)&&!ir?(ar=_r[tr],delete _r[tr]):(cr.options.trim&&(_r[tr]=_r[tr].trim()),cr.options.normalize&&(_r[tr]=_r[tr].replace(/ \s {2,}/g," ").trim()),_r[tr]=cr.options.valueProcessors?Ie(cr.options.valueProcessors
` ,Fe.offset=(ze=Ie.offset)!=null?ze:0,Fe.dontPrettyTextNodes=(jt=(kt=Ie.dontPrettyTextNodes)!=null?kt:Ie.dontprettytextnodes)!=null?jt:0,Fe.spaceBeforeSlash=(Pt=(Et=Ie.spaceBeforeSlash)!=null?Et:Ie.spacebeforeslash)!=null?Pt:"",Fe.spaceBeforeSlash===!0&&(Fe.spaceBeforeSlash=" "),Fe.suppressPrettyCount=0,Fe.user={},Fe.state=_e.None,Fe},Oe.prototype.indent=function(Ie,Fe,Ue){var Ve;return!Fe.pretty||Fe.suppressPrettyCount?"":Fe.pretty&&(Ve=(Ue||0)+Fe.offset+1,Ve>0)?new Array(Ve).join(Fe.indent):""},Oe.prototype.endline=function(Ie,Fe,Ue){return!Fe.pretty||Fe.suppressPrettyCount?"":Fe.newline},Oe.prototype.attribute=function(Ie,Fe,Ue){var Ve;return this.openAttribute(Ie,Fe,Ue),Ve=" "+Ie.name+'="'+Ie.value+'"',this.closeAttribute(Ie,Fe,Ue),Ve},Oe.prototype.cdata=function(Ie,Fe,Ue){var Ve;return this.openNode(Ie,Fe,Ue),Fe.state=_e.OpenTag,Ve=this.indent(Ie,Fe,Ue)+"<![CDATA[",Fe.state=_e.InsideTag,Ve+=Ie.value,Fe.state=_e.CloseTag,Ve+="]]>"+this.endline(Ie,Fe,Ue),Fe.state=_e.None,this.closeNode(Ie,Fe,Ue),Ve},Oe.prototype.comment=function(Ie,Fe,Ue){var Ve;return this.openNode(Ie,Fe,Ue),Fe.state=_e.OpenTag,Ve=this.indent(Ie,Fe,Ue)+"<!-- ",Fe.state=_e.InsideTag,Ve+=Ie.value,Fe.state=_e.CloseTag,Ve+=" -->"+this.endline(Ie,Fe,Ue),Fe.state=_e.None,this.closeNode(Ie,Fe,Ue),Ve},Oe.prototype.declaration=function(Ie,Fe,Ue){var Ve;return this.openNode(Ie,Fe,Ue),Fe.state=_e.OpenTag,Ve=this.indent(Ie,Fe,Ue)+"<?xml",Fe.state=_e.InsideTag,Ve+=' version="'+Ie.version+'"',Ie.encoding!=null&&(Ve+=' encoding="'+Ie.encoding+'"'),Ie.standalone!=null&&(Ve+=' standalone="'+Ie.standalone+'"'),Fe.state=_e.CloseTag,Ve+=Fe.spaceBeforeSlash+"?>",Ve+=this.endline(Ie,Fe,Ue),Fe.state=_e.None,this.closeNode(Ie,Fe,Ue),Ve},Oe.prototype.docType=function(Ie,Fe,Ue){var Ve,ze,jt,kt,Pt;if(Ue||(Ue=0),this.openNode(Ie,Fe,Ue),Fe.state=_e.OpenTag,kt=this.indent(Ie,Fe,Ue),kt+="<!DOCTYPE "+Ie.root().name,Ie.pubID&&Ie.sysID?kt+=' PUBLIC "'+Ie.pubID+'" "'+Ie.sysID+'"':Ie.sysID&&(kt+=' SYSTEM "'+Ie.sysID+'"'),Ie.children.length>0){for(kt+=" [",kt+=this.endline(Ie,Fe,Ue),Fe.state=_e.InsideTag,Pt=Ie.children,ze=0,jt=Pt.length;ze<jt;ze++)Ve=Pt[ze],kt+=this.writeChildNode(Ve,Fe,Ue+1);Fe.state=_e.CloseTag,kt+="]"}return Fe.state=_e.CloseTag,kt+=Fe.spaceBeforeSlash+">",kt+=this.endline(Ie,Fe,Ue),Fe.state=_e.None,this.closeNode(Ie,Fe,Ue),kt},Oe.prototype.element=function(Ie,Fe,Ue){var Ve,ze,jt,kt,Pt,Et,er,tr,nr,lr,cr,ir,ar,sr;Ue||(Ue=0),lr=!1,cr="",this.openNode(Ie,Fe,Ue),Fe.state=_e.OpenTag,cr+=this.indent(Ie,Fe,Ue)+"<"+Ie.name,ir=Ie.attribs;for(nr in ir)Ne.call(ir,nr)&&(Ve=ir[nr],cr+=this.attribute(Ve,Fe,Ue));if(jt=Ie.children.length,kt=jt===0?null:Ie.children[0],jt===0||Ie.children.every(function(dr){return(dr.type===pe.Text||dr.type===pe.Raw)&&dr.value===""}))Fe.allowEmpty?(cr+=">",Fe.state=_e.CloseTag,cr+="</"+Ie.name+">"+this.endline(Ie,Fe,Ue)):(Fe.state=_e.CloseTag,cr+=Fe.spaceBeforeSlash+"/>"+this.endline(Ie,Fe,Ue));else if(Fe.pretty&&jt===1&&(kt.type===pe.Text||kt.type===pe.Raw)&&kt.value!=null)cr+=">",Fe.state=_e.InsideTag,Fe.suppressPrettyCount++,lr=!0,cr+=this.writeChildNode(kt,Fe,Ue+1),Fe.suppressPrettyCount--,lr=!1,Fe.state=_e.CloseTag,cr+="</"+Ie.name+">"+this.endline(Ie,Fe,Ue);else{if(Fe.dontPrettyTextNodes){for(ar=Ie.children,Pt=0,er=ar.length;Pt<er;Pt++)if(ze=ar[Pt],(ze.type===pe.Text||ze.type===pe.Raw)&&ze.value!=null){Fe.suppressPrettyCount++,lr=!0;break}}for(cr+=">"+this.endline(Ie,Fe,Ue),Fe.state=_e.InsideTag,sr=Ie.children,Et=0,tr=sr.length;Et<tr;Et++)ze=sr[Et],cr+=this.writeChildNode(ze,Fe,Ue+1);Fe.state=_e.CloseTag,cr+=this.indent(Ie,Fe,Ue)+"</"+Ie.name+">",lr&&Fe.suppressPrettyCount--,cr+=this.endline(Ie,Fe,Ue),Fe.state=_e.None}return this.closeNode(Ie,Fe,Ue),cr},Oe.prototype.writeChildNode=function(Ie,Fe,Ue){switch(Ie.type){case pe.CData:return this.cdata(Ie,Fe,Ue);case pe.Comment:return this.comment(Ie,Fe,Ue);case pe.Element:return this.element(Ie,Fe,Ue);case pe.Raw:return this.raw(Ie,Fe,Ue);case pe.Text:return this.text(Ie,Fe,Ue);case pe.ProcessingInstruction:return this.processingInstruction(Ie,Fe,Ue);case pe.Dummy:return"";case pe.Declaration:return
` ))}de.createHash=function(jt){return Ve(jt)},de.createHmac=function(jt,kt){return Ve(jt,kt)},de.createCredentials=function(){ze("sorry,createCredentials is not implemented yet")},de.createCipher=function(){ze("sorry,createCipher is not implemented yet")},de.createCipheriv=function(){ze("sorry,createCipheriv is not implemented yet")},de.createDecipher=function(){ze("sorry,createDecipher is not implemented yet")},de.createDecipheriv=function(){ze("sorry,createDecipheriv is not implemented yet")},de.createSign=function(){ze("sorry,createSign is not implemented yet")},de.createVerify=function(){ze("sorry,createVerify is not implemented yet")},de.createDiffieHellman=function(){ze("sorry,createDiffieHellman is not implemented yet")},de.pbkdf2=function(){ze("sorry,pbkdf2 is not implemented yet")}},{"./md5":535,"./sha":536,"./sha256":537,buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341}],534:[function(oe,ue,de){oe("core-js/modules/es.array.fill.js"),oe("core-js/modules/es.array.concat.js");var pe=oe("buffer").Buffer,_e=4,Ce=pe.alloc(_e);Ce.fill(0);var Ne=8;function Oe(Ue,Ve){if(Ue.length%_e!==0){var ze=Ue.length+(_e-Ue.length%_e);Ue=pe.concat([Ue,Ce],ze)}for(var jt=[],kt=Ve?Ue.readInt32BE:Ue.readInt32LE,Pt=0;Pt<Ue.length;Pt+=_e)jt.push(kt.call(Ue,Pt));return jt}function Ie(Ue,Ve,ze){for(var jt=pe.alloc(Ve),kt=ze?jt.writeInt32BE:jt.writeInt32LE,Pt=0;Pt<Ue.length;Pt++)kt.call(jt,Ue[Pt],Pt*4,!0);return jt}function Fe(Ue,Ve,ze,jt){pe.isBuffer(Ue)||(Ue=pe.from(Ue));var kt=Ve(Oe(Ue,jt),Ue.length*Ne);return Ie(kt,ze,jt)}ue.exports={hash:Fe}},{buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311}],535:[function(oe,ue,de){var pe=oe("./helpers");function _e(ze,jt){ze[jt>>5]|=128<<jt%32,ze[(jt+64>>>9<<4)+14]=jt;for(var kt=1732584193,Pt=-271733879,Et=-1732584194,er=271733878,tr=0;tr<ze.length;tr+=16){var nr=kt,lr=Pt,cr=Et,ir=er;kt=Ne(kt,Pt,Et,er,ze[tr+0],7,-680876936),er=Ne(er,kt,Pt,Et,ze[tr+1],12,-389564586),Et=Ne(Et,er,kt,Pt,ze[tr+2],17,606105819),Pt=Ne(Pt,Et,er,kt,ze[tr+3],22,-1044525330),kt=Ne(kt,Pt,Et,er,ze[tr+4],7,-176418897),er=Ne(er,kt,Pt,Et,ze[tr+5],12,1200080426),Et=Ne(Et,er,kt,Pt,ze[tr+6],17,-1473231341),Pt=Ne(Pt,Et,er,kt,ze[tr+7],22,-45705983),kt=Ne(kt,Pt,Et,er,ze[tr+8],7,1770035416),er=Ne(er,kt,Pt,Et,ze[tr+9],12,-1958414417),Et=Ne(Et,er,kt,Pt,ze[tr+10],17,-42063),Pt=Ne(Pt,Et,er,kt,ze[tr+11],22,-1990404162),kt=Ne(kt,Pt,Et,er,ze[tr+12],7,1804603682),er=Ne(er,kt,Pt,Et,ze[tr+13],12,-40341101),Et=Ne(Et,er,kt,Pt,ze[tr+14],17,-1502002290),Pt=Ne(Pt,Et,er,kt,ze[tr+15],22,1236535329),kt=Oe(kt,Pt,Et,er,ze[tr+1],5,-165796510),er=Oe(er,kt,Pt,Et,ze[tr+6],9,-1069501632),Et=Oe(Et,er,kt,Pt,ze[tr+11],14,643717713),Pt=Oe(Pt,Et,er,kt,ze[tr+0],20,-373897302),kt=Oe(kt,Pt,Et,er,ze[tr+5],5,-701558691),er=Oe(er,kt,Pt,Et,ze[tr+10],9,38016083),Et=Oe(Et,er,kt,Pt,ze[tr+15],14,-660478335),Pt=Oe(Pt,Et,er,kt,ze[tr+4],20,-405537848),kt=Oe(kt,Pt,Et,er,ze[tr+9],5,568446438),er=Oe(er,kt,Pt,Et,ze[tr+14],9,-1019803690),Et=Oe(Et,er,kt,Pt,ze[tr+3],14,-187363961),Pt=Oe(Pt,Et,er,kt,ze[tr+8],20,1163531501),kt=Oe(kt,Pt,Et,er,ze[tr+13],5,-1444681467),er=Oe(er,kt,Pt,Et,ze[tr+2],9,-51403784),Et=Oe(Et,er,kt,Pt,ze[tr+7],14,1735328473),Pt=Oe(Pt,Et,er,kt,ze[tr+12],20,-1926607734),kt=Ie(kt,Pt,Et,er,ze[tr+5],4,-378558),er=Ie(er,kt,Pt,Et,ze[tr+8],11,-2022574463),Et=Ie(Et,er,kt,Pt,ze[tr+11],16,1839030562),Pt=Ie(Pt,Et,er,kt,ze[tr+14],23,-35309556),kt=Ie(kt,Pt,Et,er,ze[tr+1],4,-1530992060),er=Ie(er,kt,Pt,Et,ze[tr+4],11,1272893353),Et=Ie(Et,er,kt,Pt,ze[tr+7],16,-155497632),Pt=Ie(Pt,Et,er,kt,ze[tr+10],23,-1094730640),kt=Ie(kt,Pt,Et,er,ze[tr+13],4,681279174),er=Ie(er,kt,Pt,Et,ze[tr+0],11,-358537222),Et=Ie(Et,er,kt,Pt,ze[tr+3],16,-722521979),Pt=Ie(Pt,Et,er,kt,ze[tr+6],23,76029189),kt=Ie(kt,Pt,Et,er,ze[tr+9],4,-640364487),er=Ie(er,kt,Pt,Et,ze[tr+12],11,-421815835),Et=Ie(Et,er,kt,Pt,ze[tr+15],16,530742520),Pt=Ie(Pt,Et,er,kt,ze[tr+2],23,-995338
` ," "],ze=["{","}","|"," \\ ","^"," ` "].concat(Ve),jt=[" '"].concat(ze),kt=["%","/","?",";","#"].concat(jt),Pt=["/","?","#"],Et=255,er=/^[+a-z0-9A-Z_-]{0,63}$/,tr=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,nr={javascript:!0,"javascript:":!0},lr={javascript:!0,"javascript:":!0},cr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ir=oe("querystring");function ar(_r,mr,Er){if(_r&&Ne.isObject(_r)&&_r instanceof Oe)return _r;var Sr=new Oe;return Sr.parse(_r,mr,Er),Sr}Oe.prototype.parse=function(_r,mr,Er){if(!Ne.isString(_r))throw new TypeError("Parameter ' url ' must be a string , not "+(0,_e.default)(_r));var Sr=_r.indexOf(" ? "),xr=Sr!==-1&&Sr<_r.indexOf(" # ")?" ? ":" # ",Nr=_r.split(xr),Rr=/\\/g;Nr[0]=Nr[0].replace(Rr," / "),_r=Nr.join(xr);var Vr=_r;if(Vr=Vr.trim(),!Er&&_r.split(" # ").length===1){var Fr=Ue.exec(Vr);if(Fr)return this.path=Vr,this.href=Vr,this.pathname=Fr[1],Fr[2]?(this.search=Fr[2],mr?this.query=ir.parse(this.search.substr(1)):this.query=this.search.substr(1)):mr&&(this.search=" ",this.query={}),this}var Ir=Ie.exec(Vr);if(Ir){Ir=Ir[0];var kr=Ir.toLowerCase();this.protocol=kr,Vr=Vr.substr(Ir.length)}if(Er||Ir||Vr.match(/^\/\/[^@\/]+@[^@\/]+/)){var qr=Vr.substr(0,2)===" //";qr&&!(Ir&&lr[Ir])&&(Vr=Vr.substr(2),this.slashes=!0)}if(!lr[Ir]&&(qr||Ir&&!cr[Ir])){for(var Wr=-1,Ar=0;Ar<Pt.length;Ar++){var Dr=Vr.indexOf(Pt[Ar]);Dr!==-1&&(Wr===-1||Dr<Wr)&&(Wr=Dr)}var Jr,Sn;Wr===-1?Sn=Vr.lastIndexOf("@"):Sn=Vr.lastIndexOf("@",Wr),Sn!==-1&&(Jr=Vr.slice(0,Sn),Vr=Vr.slice(Sn+1),this.auth=decodeURIComponent(Jr)),Wr=-1;for(var Ar=0;Ar<kt.length;Ar++){var Dr=Vr.indexOf(kt[Ar]);Dr!==-1&&(Wr===-1||Dr<Wr)&&(Wr=Dr)}Wr===-1&&(Wr=Vr.length),this.host=Vr.slice(0,Wr),Vr=Vr.slice(Wr),this.parseHost(),this.hostname=this.hostname||"";var vn=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!vn)for(var xn=this.hostname.split("."),Ar=0,$r=xn.length;Ar<$r;Ar++){var Lr=xn[Ar];if(Lr&&!Lr.match(er)){for(var Gr="",Mr=0,Br=Lr.length;Mr<Br;Mr++)Lr.charCodeAt(Mr)>127?Gr+="x":Gr+=Lr[Mr];if(!Gr.match(er)){var Hr=xn.slice(0,Ar),zr=xn.slice(Ar+1),An=Lr.match(tr);An&&(Hr.push(An[1]),zr.unshift(An[2])),zr.length&&(Vr="/"+zr.join(".")+Vr),this.hostname=Hr.join(".");break}}}this.hostname.length>Et?this.hostname="":this.hostname=this.hostname.toLowerCase(),vn||(this.hostname=Ce.toASCII(this.hostname));var kn=this.port?":"+this.port:"",jr=this.hostname||"";this.host=jr+kn,this.href+=this.host,vn&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Vr[0]!=="/"&&(Vr="/"+Vr))}if(!nr[kr])for(var Ar=0,$r=jt.length;Ar<$r;Ar++){var Nn=jt[Ar];if(Vr.indexOf(Nn)!==-1){var Rn=encodeURIComponent(Nn);Rn===Nn&&(Rn=escape(Nn)),Vr=Vr.split(Nn).join(Rn)}}var ta=Vr.indexOf("#");ta!==-1&&(this.hash=Vr.substr(ta),Vr=Vr.slice(0,ta));var Mo=Vr.indexOf("?");if(Mo!==-1?(this.search=Vr.substr(Mo),this.query=Vr.substr(Mo+1),mr&&(this.query=ir.parse(this.query)),Vr=Vr.slice(0,Mo)):mr&&(this.search="",this.query={}),Vr&&(this.pathname=Vr),cr[kr]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var kn=this.pathname||"",to=this.search||"";this.path=kn+to}return this.href=this.format(),this};function sr(_r){return Ne.isString(_r)&&(_r=ar(_r)),_r instanceof Oe?_r.format():Oe.prototype.format.call(_r)}Oe.prototype.format=function(){var _r=this.auth||"";_r&&(_r=encodeURIComponent(_r),_r=_r.replace(/%3A/i,":"),_r+="@");var mr=this.protocol||"",Er=this.pathname||"",Sr=this.hash||"",xr=!1,Nr="";this.host?xr=_r+this.host:this.hostname&&(xr=_r+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(xr+=":"+this.port)),this.query&&Ne.isObject(this.query)&&Object.keys(this.query).length&&(Nr=ir.stringify(this.query));var Rr=this.search||Nr&&"?"+Nr||"";return mr&&mr.substr(-1)!==":"&&(mr+=":"),this.slashes||(!mr||cr[mr])&&xr!==!1?(xr="//"+(xr||""),Er&&Er.charAt(0)!=="/"&&(Er="/"+Er)):xr||(xr=""),Sr&&Sr.charAt(0)!=="#"&&(Sr="#"+Sr),Rr&&Rr.charAt(0)!=="?"&&(Rr="?"+Rr),Er=Er.replace(/[?#]/g,function(Vr){return encodeURIComponent(Vr)}),Rr=Rr.replace("#","%23"),mr+xr+Er+Rr+Sr};function dr(_r,mr
stack : % s ` ,Date(),dr,pe.pid,Ur.name,Ur.message,Ur.stack);return}var Ra=ar;ar=null;var Ea={};Kn&&(Lr=Kn.statusCode,Ea=Kn.headers);var ro=Date.now()-_r;Hr&&(Hr.contentDownload=ro),Ve("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",ro, $ r,Lr,Vr.method,Vr.host,Vr.path,xn,Hr);var Oo={status:Lr,statusCode:Lr,headers:Ea,size: $ r,aborted:Gr,rt:ro,keepAliveSocket:xn,data:Wn,requestUrls:ir.requestUrls,timing:Hr,remoteAddress:Mr,remotePort:Br};if(Ur){var ra="";Nr&&typeof Nr.getCurrentStatus=="function"&&(ra=", agent status: "+JSON.stringify(Nr.getCurrentStatus())),Ur.message+=", "+Vr.method+" "+cr+" "+Lr+" (connected: "+vn+", keepalive socket: "+xn+ra+ ` )
2024-08-29 16:46:41 +08:00
headers : ` +JSON.stringify(Ea),Ur.data=Wn,Ur.path=Vr.path,Ur.status=Lr,Ur.headers=Ea,Ur.res=Oo}Ra(Ur,Wn,ir.streaming?Kn:Oo),ir.emitter&&(fr.url=cr,fr.socket=hi&&hi.connection,fr.options=Vr,fr.size=Wr,ir.emitter.emit("response",{requestId:dr,error:Ur,ctx:ir.ctx,req:fr,res:Oo}))}function jr(Ur){var Wn=null;if(ir.followRedirect&&statuses.redirect[Ur.statusCode]){ir._followRedirectCount=(ir._followRedirectCount||0)+1;var Kn=Ur.headers.location;if(!Kn)Wn=new Error("Got statusCode "+Ur.statusCode+" but cannot resolve next location from headers"),Wn.name="FollowRedirectError";else if(ir._followRedirectCount>ir.maxRedirects)Wn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+cr),Wn.name="MaxRedirectError";else{var Ra=ir.formatRedirectUrl?ir.formatRedirectUrl(cr,Kn):Ie.resolve(cr,Kn);Ve("Request#%d %s: ` redirected ` from %s to %s",dr,Vr.path,cr,Ra),An(),ir.headers&&ir.headers.Host&&Pt.test(Kn)&&(ir.headers.Host=null);var Ea=ar;return ar=null,de.requestWithCallback(Ra,ir,Ea),{redirect:!0,error:null}}}return{redirect:!1,error:Wn}}ir.gzip&&!Vr.headers["Accept-Encoding"]&&!Vr.headers["accept-encoding"]&&(Vr.headers["Accept-Encoding"]="gzip");function Nn(Ur,Wn,Kn){var Ra=Ur.headers["content-encoding"];return Kn(null,Wn,Ra)}var Rn=ir.writeStream;Ve("Request#%d %s %s with headers %j, options.path: %s",dr,Er,cr,Vr.headers,Vr.path),ir.requestUrls.push(cr);function ta(Ur){if(Hr&&(Hr.waiting=Date.now()-_r),Ve("Request#%d %s ` req response ` event emit: status %d, headers: %j",dr,cr,Ur.statusCode,Ur.headers),ir.streaming){var Wn=jr(Ur);if(Wn.redirect){Ur.resume();return}return Wn.error?(Ur.resume(),kn(Wn.error,null,Ur)):kn(null,null,Ur)}if(Ur.on("close",function(){Ve("Request#%d %s: ` res close ` event emit, total size %d",dr,cr, $ r)}),Ur.on("error",function(){Ve("Request#%d %s: ` res error ` event emit, total size %d",dr,cr, $ r)}),Ur.on("aborted",function(){Gr=!0,Ve("Request#%d %s: ` res aborted ` event emit, total size %d",dr,cr, $ r)}),Rn){var Kn=jr(Ur);if(Kn.redirect){Ur.resume();return}return Kn.error?(Ur.resume(),Rn.end(),kn(Kn.error,null,Ur)):(ir.consumeWriteStream===!1?Ur.on("end",kn.bind(null,null,null,Ur)):Rn.on("close",function(){Ve("Request#%d %s: writeStream close event emitted",dr,cr),kn(Sn||null,null,Ur)}),Ur.pipe(Rn))}var Ra=[];Ur.on("data",function(Ea){Ve("Request#%d %s: ` res data ` event emit, size %d",dr,cr,Ea.length), $ r+=Ea.length,Ra.push(Ea)}),Ur.on("end",function(){var Ea=_e.concat(Ra, $ r);if(Ve("Request#%d %s: ` res end ` event emit, total size %d, _dumped: %s",dr,cr, $ r,Ur._dumped),Sn)return kn(Sn,Ea,Ur);var ro=jr(Ur);if(ro.error)return kn(ro.error,Ea,Ur);ro.redirect||Nn(Ur,Ea,function(Oo,ra,da){if(Oo)return kn(Oo,Ea,Ur);if(!da&&nr.indexOf(ir.dataType)>=0){try{ra=decodeBodyByCharset(ra,Ur)}catch(xs){return Ve("decodeBodyByCharset error: %s",xs),kn(null,ra,Ur)}if(ir.dataType==="json")if( $ r===0)ra=null;else{var Ka=parseJSON(ra,Rr);Ka.error?Oo=Ka.error:ra=Ka.data}}Gr&&Ve("Request#%d %s: Remote socket was terminated before ` response . end ( ) ` was called",dr,cr),kn(Oo,ra,Ur)})})}var Mo,to;Array.isArray(ir.timeout)?(Mo=ze(ir.timeout[0]),to=ze(ir.timeout[1])):Mo=to=ze(ir.timeout),Ve("ConnectTimeout: %d, ResponseTimeout: %d",Mo,to);function rs(){Ve("Connect timer ticking, timeout: %d",Mo),Dr=setTimeout(function(){Dr=null,Lr===-1&&(Lr=-2);var Ur="Connect timeout for "+Mo+"ms",Wn="ConnectionTimeoutError";hi.socket||(Wn="SocketAssignTimeoutError",Ur+=", working sockets is full"),Sn=new Error(Ur),Sn.name=Wn,Sn.requestId=dr,Ve("ConnectTimeout: Request#%d %s %s: %s, connected: %s",dr,cr,Sn.name,Ur,vn),En()},Mo)}function gs(){Ve("Response timer ticking, timeout: %d",to),Jr=setTimeout(function(){Jr=null;var Ur="Response timeout for "+to+"ms",Wn="ResponseTimeoutError";Sn=new Error(Ur),Sn.name=Wn,Sn.requestId=dr,Ve("ResponseTimeout: Request#%d %s %s: %s, connected: %s",dr,cr,Sn.name,Ur,vn),En()},to)}var hi;Vr.mode=ir.mode?ir.mode:"";try{hi=xr.request(Vr,ta)}catch(Ur){return kn(Ur)}typeof window>"u"?rs():hi.on("requestTimeout",function(){Lr===-1&&(Lr=-2);var Ur="Connect timeout for "+Mo+"ms",Wn="ConnectionTimeoutError";Sn=new Error(Ur),
2024-08-27 22:31:52 +08:00
* The buffer module from node . js , for the browser .
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2024-08-29 16:46:41 +08:00
* / ( f u n c t i o n ( r e ) { v a r i e = b a s e 6 4 J s , a e = i e e e 7 5 4 , o e = t y p e o f S y m b o l = = " f u n c t i o n " & & t y p e o f S y m b o l . f o r = = " f u n c t i o n " ? S y m b o l . f o r ( " n o d e j s . u t i l . i n s p e c t . c u s t o m " ) : n u l l ; r e . B u f f e r = _ e , r e . S l o w B u f f e r = P t , r e . I N S P E C T _ M A X _ B Y T E S = 5 0 ; v a r u e = 2 1 4 7 4 8 3 6 4 7 ; r e . k M a x L e n g t h = u e , _ e . T Y P E D _ A R R A Y _ S U P P O R T = d e ( ) , ! _ e . T Y P E D _ A R R A Y _ S U P P O R T & & t y p e o f c o n s o l e < " u " & & t y p e o f c o n s o l e . e r r o r = = " f u n c t i o n " & & c o n s o l e . e r r o r ( " T h i s b r o w s e r l a c k s t y p e d a r r a y ( U i n t 8 A r r a y ) s u p p o r t w h i c h i s r e q u i r e d b y ` b u f f e r ` v 5 . x . U s e ` b u f f e r ` v 4 . x i f y o u r e q u i r e o l d b r o w s e r s u p p o r t . " ) ; f u n c t i o n d e ( ) { t r y { v a r M r = n e w U i n t 8 A r r a y ( 1 ) , B r = { f o o : f u n c t i o n ( ) { r e t u r n 4 2 } } ; r e t u r n O b j e c t . s e t P r o t o t y p e O f ( B r , U i n t 8 A r r a y . p r o t o t y p e ) , O b j e c t . s e t P r o t o t y p e O f ( M r , B r ) , M r . f o o ( ) = = = 4 2 } c a t c h { r e t u r n ! 1 } } O b j e c t . d e f i n e P r o p e r t y ( _ e . p r o t o t y p e , " p a r e n t " , { e n u m e r a b l e : ! 0 , g e t : f u n c t i o n ( ) { i f ( _ e . i s B u f f e r ( t h i s ) ) r e t u r n t h i s . b u f f e r } } ) , O b j e c t . d e f i n e P r o p e r t y ( _ e . p r o t o t y p e , " o f f s e t " , { e n u m e r a b l e : ! 0 , g e t : f u n c t i o n ( ) { i f ( _ e . i s B u f f e r ( t h i s ) ) r e t u r n t h i s . b y t e O f f s e t } } ) ; f u n c t i o n p e ( M r ) { i f ( M r > u e ) t h r o w n e w R a n g e E r r o r ( ' T h e v a l u e " ' + M r + ' " i s i n v a l i d f o r o p t i o n " s i z e " ' ) ; v a r B r = n e w U i n t 8 A r r a y ( M r ) ; r e t u r n O b j e c t . s e t P r o t o t y p e O f ( B r , _ e . p r o t o t y p e ) , B r } f u n c t i o n _ e ( M r , B r , H r ) { i f ( t y p e o f M r = = " n u m b e r " ) { i f ( t y p e o f B r = = " s t r i n g " ) t h r o w n e w T y p e E r r o r ( ' T h e " s t r i n g " a r g u m e n t m u s t b e o f t y p e s t r i n g . R e c e i v e d t y p e n u m b e r ' ) ; r e t u r n I e ( M r ) } r e t u r n C e ( M r , B r , H r ) } _ e . p o o l S i z e = 8 1 9 2 ; f u n c t i o n C e ( M r , B r , H r ) { i f ( t y p e o f M r = = " s t r i n g " ) r e t u r n F e ( M r , B r ) ; i f ( A r r a y B u f f e r . i s V i e w ( M r ) ) r e t u r n V e ( M r ) ; i f ( M r = = n u l l ) t h r o w n e w T y p e E r r o r ( " T h e f i r s t a r g u m e n t m u s t b e o n e o f t y p e s t r i n g , B u f f e r , A r r a y B u f f e r , A r r a y , o r A r r a y - l i k e O b j e c t . R e c e i v e d t y p e " + t y p e o f M r ) ; i f ( $ r ( M r , A r r a y B u f f e r ) | | M r & & $ r ( M r . b u f f e r , A r r a y B u f f e r ) | | t y p e o f S h a r e d A r r a y B u f f e r < " u " & & ( $ r ( M r , S h a r e d A r r a y B u f f e r ) | | M r & & $ r ( M r . b u f f e r , S h a r e d A r r a y B u f f e r ) ) ) r e t u r n z e ( M r , B r , H r ) ; i f ( t y p e o f M r = = " n u m b e r " ) t h r o w n e w T y p e E r r o r ( ' T h e " v a l u e " a r g u m e n t m u s t n o t b e o f t y p e n u m b e r . R e c e i v e d t y p e n u m b e r ' ) ; v a r z r = M r . v a l u e O f & & M r . v a l u e O f ( ) ; i f ( z r ! = n u l l & & z r ! = = M r ) r e t u r n _ e . f r o m ( z r , B r , H r ) ; v a r A n = j t ( M r ) ; i f ( A n ) r e t u r n A n ; i f ( t y p e o f S y m b o l < " u " & & S y m b o l . t o P r i m i t i v e ! = n u l l & & t y p e o f M r [ S y m b o l . t o P r i m i t i v e ] = = " f u n c t i o n " ) r e t u r n _ e . f r o m ( M r [ S y m b o l . t o P r i m i t i v e ] ( " s t r i n g " ) , B r , H r ) ; t h r o w n e w T y p e E r r o r ( " T h e f i r s t a r g u m e n t m u s t b e o n e o f t y p e s t r i n g , B u f f e r , A r r a y B u f f e r , A r r a y , o r A r r a y - l i k e O b j e c t . R e c e i v e d t y p e " + t y p e o f M r ) } _ e . f r o m = f u n c t i o n ( M r , B r , H r ) { r e t u r n C e ( M r , B r , H r ) } , O b j e c t . s e t P r o t o t y p e O f ( _ e . p r o t o t y p e , U i n t 8 A r r a y . p r o t o t y p e ) , O b j e c t . s e t P r o t o t y p e O f ( _ e , U i n t 8 A r r a y ) ; f u n c t i o n N e ( M r ) { i f ( t y p e o f M r ! = " n u m b e r " ) t h r o w n e w T y p e E r r o r ( ' " s i z e " a r g u m e n t m u s t b e o f t y p e n u m b e r ' ) ; i f ( M r < 0 ) t h r o w n e w R a n g e E r r o r ( ' T h e v a l u e " ' + M r + ' " i s i n v a l i d f o r o p t i o n " s i z e " ' ) } f u n c t i o n O e ( M r , B r , H r ) { r e t u r n N e ( M r ) , M r < = 0 ? p e ( M r ) : B r ! = = v o i d 0 ? t y p e o f H r = = " s t r i n g " ? p e ( M r ) . f i l l ( B r , H r ) : p e ( M r ) . f i l l ( B r ) : p e ( M r ) } _ e . a l l o c = f u n c t i o n ( M r , B r , H r ) { r e t u r n O e ( M r , B r , H r ) } ; f u n c t i o n I e ( M r ) { r e t u r n N e ( M r ) , p e ( M r < 0 ? 0 : k t ( M r ) | 0 ) } _ e . a l l o c U n s a f e = f u n c t i o n ( M r ) { r e t u r n I e ( M r ) } , _ e . a l l o c U n s a f e S l o w = f u n c t i o n ( M r ) { r e t u r n I e ( M r ) } ; f u n c t i o n F e ( M r , B r ) { i f ( ( t y p e o f B r ! = " s t r i n g " | | B r = = = " " ) & & ( B r = " u t f 8 " ) , ! _ e . i s E n c o d i n g ( B r ) ) t h r o w n e w T y p e E r r o r ( " U n k n o w n e n c o d i n g : " + B r ) ; v a r H r = E t ( M r , B r ) | 0 , z r = p e ( H r ) , A n = z r . w r i t e ( M r , B r ) ; r e t u r n A n ! = = H r & & ( z r = z r . s l i c e ( 0 , A n ) ) , z r } f u n c t i o n U e ( M r ) { f o r ( v a r B r = M r . l e n g t h < 0 ? 0 : k t ( M r . l e n g t h ) | 0 , H r = p e ( B r ) , z r = 0 ; z r < B r ; z r + = 1 ) H r [ z r ] = M r [ z r ] & 2 5 5 ; r e t u r n H r } f u n c t i o n V e ( M r ) { i f ( $ r ( M r , U i n t 8 A r r a y ) ) { v a r B r = n e w U i n t 8 A r r a y ( M r ) ; r e t u r n z e ( B r . b u f f e r , B r . b y t e O f f s e t , B r . b y t e L e n g t h ) } r e t u r n U e ( M r ) } f u n c t i o n z e ( M r , B r , H r ) { i f ( B r < 0 | | M r . b y t e L e n g t h < B r ) t h r o w n e w R a n g e E r r o r ( ' " o f f s e t " i s o u t s i d e o f b u f f e r b o u n d s ' ) ; i f ( M r . b y t e L e n g t h < B r + ( H r | | 0 ) ) t h r o w n e w R a n g e E r r o r ( ' " l e n g t h " i s o u t s i d e o f b u f f e r b o u n d s ' ) ; v a r z r ; r e t u r n B r = = = v o i d 0 & & H r = = = v o i d 0 ? z r = n e w U i n t 8 A r r a y ( M r ) : H r = = = v o i d 0 ? z r = n e w U i n t 8 A r r a y ( M r , B r ) : z r = n e w U i n t 8 A r r a y ( M r , B r , H r ) , O b j e c t . s e t P r o t o t y p e O f ( z r , _ e . p r o t o t y p e ) , z r } f u n c t i o n j t ( M r ) { i f ( _ e . i s B u f f e r ( M r ) ) { v a r B r = k t ( M r . l e n g t h ) | 0 , H r = p e ( B r ) ; r e t u r n H r . l e n g t h = = = 0 | | M r . c o p y ( H r , 0 , 0 , B r ) , H r } i f ( M r . l e n g t h ! = = v o i d 0 ) r e t u r n t y p e o f M r . l e n g t h ! = " n u m b e r " | | L r ( M r . l e n g t h ) ? p e ( 0 ) : U e ( M r ) ; i f ( M r . t y p e = = = " B u f f e r " & & A r r a y . i s A r r a y ( M r . d a t a ) ) r e t u r n U e ( M r . d a t a ) } f u n c t i o n k t ( M r ) { i f ( M r > = u e ) t h r o w n e w R a n g e E r r o r ( " A t t e m p t t o a l l o c a t e B u f f e r l a r g e r t h a n m a x i m u m s i z e : 0 x " + u e . t o S t r i n g ( 1 6 ) + "
2024-08-27 22:31:52 +08:00
` )>-1&&(Jr?vn=vn.split( `
` ).map(function( $ r){return" "+ $ r}).join( `
` ).slice(2):vn= `
` +vn.split( `
` ).map(function( $ r){return" "+ $ r}).join( `
` ))):vn=kr.stylize("[Circular]","special")),ir(Sn)){if(Jr&&Dr.match(/^ \d + $ /))return vn;Sn=JSON.stringify(""+Dr),Sn.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)" $ /)?(Sn=Sn.slice(1,-1),Sn=kr.stylize(Sn,"name")):(Sn=Sn.replace(/'/g," \\ '").replace(/ \\ "/g,'"').replace(/(^"|" $ )/g,"'"),Sn=kr.stylize(Sn,"string"))}return Sn+": "+vn}function kt(kr,qr,Wr){var Ar=kr.reduce(function(Dr,Jr){return Jr.indexOf( `
` )>=0,Dr+Jr.replace(/ \u 001b \[ \d \d ?m/g,"").length+1},0);return Ar>60?Wr[0]+(qr===""?"":qr+ `
` )+" "+kr.join( ` ,
2024-08-29 16:46:41 +08:00
` )+" "+Wr[1]:Wr[0]+qr+" "+kr.join(", ")+" "+Wr[1]}re.types=types;function Pt(kr){return Array.isArray(kr)}re.isArray=Pt;function Et(kr){return typeof kr=="boolean"}re.isBoolean=Et;function er(kr){return kr===null}re.isNull=er;function tr(kr){return kr==null}re.isNullOrUndefined=tr;function nr(kr){return typeof kr=="number"}re.isNumber=nr;function lr(kr){return typeof kr=="string"}re.isString=lr;function cr(kr){return typeof kr=="symbol"}re.isSymbol=cr;function ir(kr){return kr===void 0}re.isUndefined=ir;function ar(kr){return sr(kr)&&Er(kr)==="[object RegExp]"}re.isRegExp=ar,re.types.isRegExp=ar;function sr(kr){return typeof kr=="object"&&kr!==null}re.isObject=sr;function dr(kr){return sr(kr)&&Er(kr)==="[object Date]"}re.isDate=dr,re.types.isDate=dr;function fr(kr){return sr(kr)&&(Er(kr)==="[object Error]"||kr instanceof Error)}re.isError=fr,re.types.isNativeError=fr;function _r(kr){return typeof kr=="function"}re.isFunction=_r;function mr(kr){return kr===null||typeof kr=="boolean"||typeof kr=="number"||typeof kr=="string"||typeof kr=="symbol"||typeof kr>"u"}re.isPrimitive=mr,re.isBuffer=isBufferBrowser;function Er(kr){return Object.prototype.toString.call(kr)}function Sr(kr){return kr<10?"0"+kr.toString(10):kr.toString(10)}var xr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Nr(){var kr=new Date,qr=[Sr(kr.getHours()),Sr(kr.getMinutes()),Sr(kr.getSeconds())].join(":");return[kr.getDate(),xr[kr.getMonth()],qr].join(" ")}re.log=function(){console.log("%s - %s",Nr(),re.format.apply(re,arguments))},re.inherits=inherits_browserExports,re._extend=function(kr,qr){if(!qr||!sr(qr))return kr;for(var Wr=Object.keys(qr),Ar=Wr.length;Ar--;)kr[Wr[Ar]]=qr[Wr[Ar]];return kr};function Rr(kr,qr){return Object.prototype.hasOwnProperty.call(kr,qr)}var Vr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;re.promisify=function(qr){if(typeof qr!="function")throw new TypeError('The "original" argument must be of type Function');if(Vr&&qr[Vr]){var Wr=qr[Vr];if(typeof Wr!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Wr,Vr,{value:Wr,enumerable:!1,writable:!1,configurable:!0}),Wr}function Wr(){for(var Ar,Dr,Jr=new Promise(function(xn, $ r){Ar=xn,Dr= $ r}),Sn=[],vn=0;vn<arguments.length;vn++)Sn.push(arguments[vn]);Sn.push(function(xn, $ r){xn?Dr(xn):Ar( $ r)});try{qr.apply(this,Sn)}catch(xn){Dr(xn)}return Jr}return Object.setPrototypeOf(Wr,Object.getPrototypeOf(qr)),Vr&&Object.defineProperty(Wr,Vr,{value:Wr,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Wr,oe(qr))},re.promisify.custom=Vr;function Fr(kr,qr){if(!kr){var Wr=new Error("Promise was rejected with a falsy value");Wr.reason=kr,kr=Wr}return qr(kr)}function Ir(kr){if(typeof kr!="function")throw new TypeError('The "original" argument must be of type Function');function qr(){for(var Wr=[],Ar=0;Ar<arguments.length;Ar++)Wr.push(arguments[Ar]);var Dr=Wr.pop();if(typeof Dr!="function")throw new TypeError("The last argument must be of type Function");var Jr=this,Sn=function(){return Dr.apply(Jr,arguments)};kr.apply(this,Wr).then(function(vn){ie.nextTick(Sn.bind(null,null,vn))},function(vn){ie.nextTick(Fr.bind(null,vn,Sn))})}return Object.setPrototypeOf(qr,Object.getPrototypeOf(kr)),Object.defineProperties(qr,oe(kr)),qr}re.callbackify=Ir})(util $ 5);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function re(Ve,ze){var jt=Object.keys(Ve);if(Object.getOwnPropertySymbols){var kt=Object.getOwnPropertySymbols(Ve);ze&&(kt=kt.filter(function(Pt){return Object.getOwnPropertyDescriptor(Ve,Pt).enumerable})),jt.push.apply(jt,kt)}return jt}function ie(Ve){for(var ze=1;ze<arguments.length;ze++){var jt=arguments[ze]!=null?arguments[ze]:{};ze%2?re(Object(jt),!0).forEach(function(kt){ae(Ve,kt,jt[kt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ve,Object.getOwnPropertyDescriptors(jt)):re(Object(jt)).forEach(function(kt){Object.defineProperty(Ve,kt,Object.getOwnPropertyDescript
2024-08-27 22:31:52 +08:00
` ,ae);ae=ue===-1?re.length:ue}else if(oe!==-1&&re[ae]==="/"&&re[ae+1]==="*"){let ue=re.indexOf("*/",ae);ue!==-1?(ae=ue+2,oe=re.indexOf("*/",ae)):(ie+=re[ae],ae++)}else ie+=re[ae],ae++;return ie}function parseParams(re){const ie=stripComments(re.toString());let ae=ie.match(FN_ARGS);if(ae||(ae=ie.match(ARROW_FN_ARGS)),!ae)throw new Error( ` could not parse args in autoInject
Source :
` +ie);let[,oe]=ae;return oe.replace(/ \s /g,"").split(FN_ARG_SPLIT).map(ue=>ue.replace(FN_ARG,"").trim())}function autoInject(re,ie){var ae={};return Object.keys(re).forEach(oe=>{var ue=re[oe],de,pe=isAsync(ue),_e=!pe&&ue.length===1||pe&&ue.length===0;if(Array.isArray(ue))de=[...ue],ue=de.pop(),ae[oe]=de.concat(de.length>0?Ce:ue);else if(_e)ae[oe]=ue;else{if(de=parseParams(ue),ue.length===0&&!pe&&de.length===0)throw new Error("autoInject task functions require explicit parameters.");pe||de.pop(),ae[oe]=de.concat(Ce)}function Ce(Ne,Oe){var Ie=de.map(Fe=>Ne[Fe]);Ie.push(Oe),wrapAsync(ue)(...Ie)}}),auto(ae,ie)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(ie){return ie.prev?ie.prev.next=ie.next:this.head=ie.next,ie.next?ie.next.prev=ie.prev:this.tail=ie.prev,ie.prev=ie.next=null,this.length-=1,ie}empty(){for(;this.head;)this.shift();return this}insertAfter(ie,ae){ae.prev=ie,ae.next=ie.next,ie.next?ie.next.prev=ae:this.tail=ae,ie.next=ae,this.length+=1}insertBefore(ie,ae){ae.prev=ie.prev,ae.next=ie,ie.prev?ie.prev.next=ae:this.head=ae,ie.prev=ae,this.length+=1}unshift(ie){this.head?this.insertBefore(this.head,ie):setInitial(this,ie)}push(ie){this.tail?this.insertAfter(this.tail,ie):setInitial(this,ie)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var ie=this.head;ie;)yield ie.data,ie=ie.next}remove(ie){for(var ae=this.head;ae;){var{next:oe}=ae;ie(ae)&&this.removeLink(ae),ae=oe}return this}}function setInitial(re,ie){re.length=1,re.head=re.tail=ie}function queue $ 1(re,ie,ae){if(ie==null)ie=1;else if(ie===0)throw new RangeError("Concurrency must not be zero");var oe=wrapAsync(re),ue=0,de=[];const pe={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function _e(Pt,Et){pe[Pt].push(Et)}function Ce(Pt,Et){const er=(...tr)=>{Ne(Pt,er),Et(...tr)};pe[Pt].push(er)}function Ne(Pt,Et){if(!Pt)return Object.keys(pe).forEach(er=>pe[er]=[]);if(!Et)return pe[Pt]=[];pe[Pt]=pe[Pt].filter(er=>er!==Et)}function Oe(Pt,...Et){pe[Pt].forEach(er=>er(...Et))}var Ie=!1;function Fe(Pt,Et,er,tr){if(tr!=null&&typeof tr!="function")throw new Error("task callback must be a function");kt.started=!0;var nr,lr;function cr(ar,...sr){if(ar)return er?lr(ar):nr();if(sr.length<=1)return nr(sr[0]);nr(sr)}var ir=kt._createTaskItem(Pt,er?cr:tr||cr);if(Et?kt._tasks.unshift(ir):kt._tasks.push(ir),Ie||(Ie=!0,setImmediate $ 1 $ 1(()=>{Ie=!1,kt.process()})),er||!tr)return new Promise((ar,sr)=>{nr=ar,lr=sr})}function Ue(Pt){return function(Et,...er){ue-=1;for(var tr=0,nr=Pt.length;tr<nr;tr++){var lr=Pt[tr],cr=de.indexOf(lr);cr===0?de.shift():cr>0&&de.splice(cr,1),lr.callback(Et,...er),Et!=null&&Oe("error",Et,lr.data)}ue<=kt.concurrency-kt.buffer&&Oe("unsaturated"),kt.idle()&&Oe("drain"),kt.process()}}function Ve(Pt){return Pt.length===0&&kt.idle()?(setImmediate $ 1 $ 1(()=>Oe("drain")),!0):!1}const ze=Pt=>Et=>{if(!Et)return new Promise((er,tr)=>{Ce(Pt,(nr,lr)=>{if(nr)return tr(nr);er(lr)})});Ne(Pt),_e(Pt,Et)};var jt=!1,kt={_tasks:new DLL,_createTaskItem(Pt,Et){return{data:Pt,callback:Et}},*[Symbol.iterator](){yield*kt._tasks[Symbol.iterator]()},concurrency:ie,payload:ae,buffer:ie/4,started:!1,paused:!1,push(Pt,Et){return Array.isArray(Pt)?Ve(Pt)?void 0:Pt.map(er=>Fe(er,!1,!1,Et)):Fe(Pt,!1,!1,Et)},pushAsync(Pt,Et){return Array.isArray(Pt)?Ve(Pt)?void 0:Pt.map(er=>Fe(er,!1,!0,Et)):Fe(Pt,!1,!0,Et)},kill(){Ne(),kt._tasks.empty()},unshift(Pt,Et){return Array.isArray(Pt)?Ve(Pt)?void 0:Pt.map(er=>Fe(er,!0,!1,Et)):Fe(Pt,!0,!1,Et)},unshiftAsync(Pt,Et){return Array.isArray(Pt)?Ve(Pt)?void 0:Pt.map(er=>Fe(er,!0,!0,Et)):Fe(Pt,!0,!0,Et)},remove(Pt){kt._tasks.remove(Pt)},process(){if(!jt){for(jt=!0;!kt.paused&&ue<kt.concurrency&&kt._tasks.length;){var Pt=[],Et=[],er=kt._tasks.length;kt.payload&&(er=Math.min(er,kt.payload));for(var tr=0;tr<er;tr++){var nr=kt._tasks.shift();Pt.push(nr),de.push(nr),Et.push(nr.data)}ue+=1,kt._tasks.length===0&&Oe("empty"),ue===kt.concurrency&&Oe("saturated");var lr=onlyOnce(Ue(Pt));oe(Et,lr)}jt=!1}},length(){return kt._tasks.
* @ license
* Lodash < https : //lodash.com/>
* Copyright OpenJS Foundation and other contributors < https : //openjsf.org/>
* Released under MIT license < https : //lodash.com/license>
* Based on Underscore . js 1.8 . 3 < http : //underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas , DocumentCloud and Investigative Reporters & Editors
* /lodash.exports;(function(re,ie){(function(){var ae,oe="4.17.21",ue=200,de="Unsupported core-js use. Try https:/ / npms . io / search ? q = ponyfill . ",pe=" Expected a function ",_e=" Invalid ` variable ` option passed into ` _.template ` ",Ce=" _ _lodash _hash _undefined _ _ ",Ne=500,Oe=" _ _lodash _placeholder _ _ ",Ie=1,Fe=2,Ue=4,Ve=1,ze=2,jt=1,kt=2,Pt=4,Et=8,er=16,tr=32,nr=64,lr=128,cr=256,ir=512,ar=30,sr=" ... ",dr=800,fr=16,_r=1,mr=2,Er=3,Sr=1/0,xr=9007199254740991,Nr=17976931348623157e292,Rr=NaN,Vr=4294967295,Fr=Vr-1,Ir=Vr>>>1,kr=[[" ary ",lr],[" bind ",jt],[" bindKey ",kt],[" curry ",Et],[" curryRight ",er],[" flip ",ir],[" partial ",tr],[" partialRight ",nr],[" rearg ",cr]],qr=" [ object Arguments ] ",Wr=" [ object Array ] ",Ar=" [ object AsyncFunction ] ",Dr=" [ object Boolean ] ",Jr=" [ object Date ] ",Sn=" [ object DOMException ] ",vn=" [ object Error ] ",xn=" [ object Function ] ",$r=" [ object GeneratorFunction ] ",Lr=" [ object Map ] ",Gr=" [ object Number ] ",Mr=" [ object Null ] ",Br=" [ object Object ] ",Hr=" [ object Promise ] ",zr=" [ object Proxy ] ",An=" [ object RegExp ] ",kn=" [ object Set ] ",jr=" [ object String ] ",Nn=" [ object Symbol ] ",Rn=" [ object Undefined ] ",ta=" [ object WeakMap ] ",Mo=" [ object WeakSet ] ",to=" [ object ArrayBuffer ] ",rs=" [ object DataView ] ",gs=" [ object Float32Array ] ",hi=" [ object Float64Array ] ",En=" [ object Int8Array ] ",Ur=" [ object Int16Array ] ",Wn=" [ object Int32Array ] ",Kn=" [ object Uint8Array ] ",Ra=" [ object Uint8ClampedArray ] ",Ea=" [ object Uint16Array ] ",ro=" [ object Uint32Array ] ",Oo=/\b__p \+= '';/g,ra=/\b(__p \+=) '' \+/g,da=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ka=/&(?:amp|lt|gt|quot|#39);/g,xs=/[&<>" ']/g,_s=RegExp(Ka.source),kl=RegExp(xs.source),Yl=/<%-([\s\S]+?)%>/g,Ac=/<%([\s\S]+?)%>/g,Ms=/<%=([\s\S]+?)%>/g,zc=/\.|\[(?:[^[\]]*|(["' ] ) ( ? : ( ? ! \ 1 ) [ ^ \ \ ] | \ \ . ) * ? \ 1 ) \ ] / , Fc = /^\w*$/ , $u = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g , xu = /[\\^$.*+?()[\]{}|]/g , Su = RegExp ( xu . source ) , Vl = /^\s+/ , Es = /\s/ , $s = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/ , Xs = /\{\n\/\* \[wrapped with (.+)\] \*/ , Qs = /,? & / , Kr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g , Mi = /[()=,{}\[\]\/\s]/ , Mn = /\\(\\)?/g , oi = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g , na = /\w*$/ , aa = /^[-+]0x[0-9a-f]+$/i , Ta = /^0b[01]+$/i , qi = /^\[object .+?Constructor\]$/ , va = /^0o[0-7]+$/i , Ha = /^(?:0|[1-9]\d*)$/ , bo = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g , hs = /($^)/ , Vn = /['\n\r\u2028\u2029\\]/g , Go = "\\ud800-\\udfff" , Wl = "\\u0300-\\u036f" , Po = "\\ufe20-\\ufe2f" , Ec = "\\u20d0-\\u20ff" , jl = Wl + Po + Ec , Zc = "\\u2700-\\u27bf" , qc = "a-z\\xdf-\\xf6\\xf8-\\xff" , Qc = "\\xac\\xb1\\xd7\\xf7" , ei = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf" , ds = "\\u2000-\\u206f" , dc = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000" , Nc = "A-Z\\xc0-\\xd6\\xd8-\\xde" , Ml = "\\ufe0e\\ufe0f" , Gc = Qc + ei + ds + dc , Bu = "['’ ]" , Od = "[" + Go + "]" , Id = "[" + Gc + "]" , kp = "[" + jl + "]" , Tp = "\\d+" , Lu = "[" + Zc + "]" , np = "[" + qc + "]" , Ad = "[^" + Go + Gc + Tp + Zc + qc + Nc + "]" , Up = "\\ud83c[\\udffb-\\udfff]" , Lp = "(?:" + kp + "|" + Up + ")" , Bf = "[^" + Go + "]" , Uf = "(?:\\ud83c[\\udde6-\\uddff]){2}" , Sf = "[\\ud800-\\udbff][\\udc00-\\udfff]" , Hp = "[" + Nc + "]" , wm = "\\u200d" , Vf = "(?:" + np + "|" + Ad + ")" , Du = "(?:" + Hp + "|" + Ad + ")" , $f = "(?:" + Bu + "(?:d|ll|m|re|s|t|ve))?" , Bp = "(?:" + Bu + "(?:D|LL|M|RE|S|T|VE))?" , Tf = Lp + "?" , Zf = "[" + Ml + "]?" , Lf = "(?:" + wm + "(?:" + [ Bf , Uf , Sf ] . join ( "|" ) + ")" + Zf + Tf + ")*" , rm = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])" , rf = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])" , xm = Zf + Tf + Lf , Um = "(?:" + [ Lu , Uf , Sf ] . join ( "|" ) + ")" + xm , df = "(?:" + [ Bf + kp + "?" , kp , Uf , Sf , Od ] . join ( "|" ) + ")" , hm = RegExp ( Bu , "g" ) , Hf = RegExp ( kp , "g" ) , Ah = RegExp ( Up + "(?=" + Up + ")|" + df + xm , "g" ) , zf = RegExp ( [ Hp + "?" + np + "+" + $f + "(?=" + [ Id , Hp , "$" ] . join ( "|" ) + ")" , Du + "+" + Bp + "(?=" + [ Id , Hp + Vf , "$" ] . join ( "|" ) + ")" , Hp + "?" + Vf + "+" + $f , Hp + "+" + Bp , rf , rm , Tp , Um ] . join ( "|" ) , "g" ) , Gh = RegExp ( "[" + wm + Go + jl + Ml + "]" ) , Nm = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/ , Vm = [ "Array" , "Buffer" , "DataView" , "Date" , "Error" , "Float32Array" , "Float64Array" , "Function" , "Int8Array" , "Int16Array" , "Int32Array" , "Map" , "Math" , "Object" , "Promise" , "RegExp" , "Set" , "String" , "Symbol" , "TypeError" , "Uint8Array" , "Uint8ClampedArray" , "Uint16Array" , "Uint32Array" , "WeakMap" , "_" , " clearTim
/* [wrapped with `+Cr+`] */
` )}function ur(vr){return Hd(vr)||N0(vr)||!!(Hh&&vr&&vr[Hh])}function gr(vr,Cr){var hn=typeof vr;return Cr=Cr??xr,!!Cr&&(hn=="number"||hn!="symbol"&&Ha.test(vr))&&vr>-1&&vr%1==0&&vr<Cr}function yr(vr,Cr,hn){if(!uf(hn))return!1;var Wi=typeof Cr;return(Wi=="number"?Ch(hn)&&gr(Cr,hn.length):Wi=="string"&&Cr in hn)?n0(hn[Cr],vr):!1}function Tr(vr,Cr){if(Hd(vr))return!1;var hn=typeof vr;return hn=="number"||hn=="symbol"||hn=="boolean"||vr==null||Bh(vr)?!0:Fc.test(vr)||!zc.test(vr)||Cr!=null&&vr in ip(Cr)}function Xr(vr){var Cr=typeof vr;return Cr=="string"||Cr=="number"||Cr=="symbol"||Cr=="boolean"?vr!=="__proto__":vr===null}function In(vr){var Cr=Ys(vr),hn=io[Cr];if(typeof hn!="function"||!(Cr in cc.prototype))return!1;if(vr===hn)return!0;var Wi=Ts(hn);return!!Wi&&vr===Wi[0]}function mi(vr){return!!zd&&zd in vr}var Vi=cm?_0:hg;function Aa(vr){var Cr=vr&&vr.constructor,hn=typeof Cr=="function"&&Cr.prototype||kf;return vr===hn}function Co(vr){return vr===vr&&!uf(vr)}function Cs(vr,Cr){return function(hn){return hn==null?!1:hn[vr]===Cr&&(Cr!==ae||vr in ip(hn))}}function ws(vr){var Cr=W0(vr,function(Wi){return hn.size===Ne&&hn.clear(),Wi}),hn=Cr.cache;return Cr}function Is(vr,Cr){var hn=vr[1],Wi=Cr[1],fo=hn|Wi,fs=fo<(jt|kt|lr),zs=Wi==lr&&hn==Et||Wi==lr&&hn==cr&&vr[7].length<=Cr[8]||Wi==(lr|cr)&&Cr[7].length<=Cr[8]&&hn==Et;if(!(fs||zs))return vr;Wi&jt&&(vr[2]=Cr[2],fo|=hn&jt?0:Pt);var nl=Cr[3];if(nl){var Ul=vr[3];vr[3]=Ul?Ki(Ul,nl,Cr[4]):nl,vr[4]=Ul?Pp(vr[3],Oe):Cr[4]}return nl=Cr[5],nl&&(Ul=vr[5],vr[5]=Ul?ma(Ul,nl,Cr[6]):nl,vr[6]=Ul?Pp(vr[5],Oe):Cr[6]),nl=Cr[7],nl&&(vr[7]=nl),Wi&lr&&(vr[8]=vr[8]==null?Cr[8]:Us(vr[8],Cr[8])),vr[9]==null&&(vr[9]=Cr[9]),vr[0]=Cr[0],vr[1]=fo,vr}function sl(vr){var Cr=[];if(vr!=null)for(var hn in ip(vr))Cr.push(hn);return Cr}function pc(vr){return sf.call(vr)}function _l(vr,Cr,hn){return Cr=Ss(Cr===ae?vr.length-1:Cr,0),function(){for(var Wi=arguments,fo=-1,fs=Ss(Wi.length-Cr,0),zs=rc(fs);++fo<fs;)zs[fo]=Wi[Cr+fo];fo=-1;for(var nl=rc(Cr+1);++fo<Cr;)nl[fo]=Wi[fo];return nl[Cr]=hn(zs),Bc(vr,this,nl)}}function _c(vr,Cr){return Cr.length<2?vr:ys(vr,cf(Cr,0,-1))}function yc(vr,Cr){for(var hn=vr.length,Wi=Us(Cr.length,hn),fo=za(vr);Wi--;){var fs=Cr[Wi];vr[Wi]=gr(fs,hn)?fo[fs]:ae}return vr}function As(vr,Cr){if(!(Cr==="constructor"&&typeof vr[Cr]=="function")&&Cr!="__proto__")return vr[Cr]}var bu=rd(f0),wu=vo||function(vr,Cr){return Xd.setTimeout(vr,Cr)},Hc=rd(E0);function vu(vr,Cr,hn){var Wi=Cr+"";return Hc(vr,rr(Wi,Wu(ss(Wi),hn)))}function rd(vr){var Cr=0,hn=0;return function(){var Wi=tl(),fo=fr-(Wi-hn);if(hn=Wi,fo>0){if(++Cr>=dr)return arguments[0]}else Cr=0;return vr.apply(ae,arguments)}}function rp(vr,Cr){var hn=-1,Wi=vr.length,fo=Wi-1;for(Cr=Cr===ae?Wi:Cr;++hn<Cr;){var fs=jf(hn,fo),zs=vr[fs];vr[fs]=vr[hn],vr[hn]=zs}return vr.length=Cr,vr}var xo=ws(function(vr){var Cr=[];return vr.charCodeAt(0)===46&&Cr.push(""),vr.replace( $ u,function(hn,Wi,fo,fs){Cr.push(fo?fs.replace(Mn," $ 1"):Wi||hn)}),Cr});function dl(vr){if(typeof vr=="string"||Bh(vr))return vr;var Cr=vr+"";return Cr=="0"&&1/vr==-Sr?"-0":Cr}function cu(vr){if(vr!=null){try{return Ym.call(vr)}catch{}try{return vr+""}catch{}}return""}function Wu(vr,Cr){return kd(kr,function(hn){var Wi="_."+hn[0];Cr&hn[1]&&!Gm(vr,Wi)&&vr.push(Wi)}),vr.sort()}function ld(vr){if(vr instanceof cc)return vr.clone();var Cr=new Oc(vr.__wrapped__,vr.__chain__);return Cr.__actions__=za(vr.__actions__),Cr.__index__=vr.__index__,Cr.__values__=vr.__values__,Cr}function fp(vr,Cr,hn){(hn?yr(vr,Cr,hn):Cr===ae)?Cr=1:Cr=Ss(Kd(Cr),0);var Wi=vr==null?0:vr.length;if(!Wi||Cr<1)return[];for(var fo=0,fs=0,zs=rc(Ro(Wi/Cr));fo<Wi;)zs[fs++]=cf(vr,fo,fo+=Cr);return zs}function Ld(vr){for(var Cr=-1,hn=vr==null?0:vr.length,Wi=0,fo=[];++Cr<hn;){var fs=vr[Cr];fs&&(fo[Wi++]=fs)}return fo}function Wd(){var vr=arguments.length;if(!vr)return[];for(var Cr=rc(vr-1),hn=arguments[0],Wi=vr;Wi--;)Cr[Wi-1]=arguments[Wi];return am(Hd(hn)?za(hn):[hn],Ni(Cr,1))}var Qd=Ed(function(vr,Cr){return If(vr)?La(vr,Ni(Cr,1,If,!0)):[]}),Jd=Ed(function(vr,Cr){var hn=zh(Cr);return If(hn)&&(hn=ae),If(vr)?La(vr,Ni(Cr,1,If,!0
` ;vr.replace(Iu,function(Bd,lp,hp, $ h,ih,Lh){return hp||(hp= $ h),Wc+=vr.slice(Pc,Lh).replace(Vn,vm),lp&&(nl=!0,Wc+= ` ' +
_ _e ( ` +lp+ ` ) +
'`),ih&&(Ul=!0,Wc+=`' ;
` +ih+ ` ;
_ _p += '`),hp&&(Wc+=`' +
( ( _ _t = ( ` +hp+ ` ) ) == null ? '' : _ _t ) +
'`),Pc=Lh+Bd.length,Bd}),Wc+=`' ;
` ;var Md=Vd.call(Cr,"variable")&&Cr.variable;if(!Md)Wc= ` with ( obj ) {
` +Wc+ `
}
` ;else if(Mi.test(Md))throw new ku(_e);Wc=(Ul?Wc.replace(Oo,""):Wc).replace(ra," $ 1").replace(da," $ 1;"),Wc="function("+(Md||"obj")+ ` ) {
` +(Md?"": ` obj || ( obj = { } ) ;
` )+"var __t, __p = ''"+(nl?", __e = _.escape":"")+(Ul? ` , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
` : ` ;
` )+Wc+ ` return _ _p
2024-08-29 16:46:41 +08:00
} ` ;var Yd=Qg(function(){return Ud(fs,_d+"return "+Wc).apply(ae,zs)});if(Yd.source=Wc,ig(Yd))throw Yd;return Yd}function pb(vr){return Dp(vr).toLowerCase()}function fb(vr){return Dp(vr).toUpperCase()}function mb(vr,Cr,hn){if(vr=Dp(vr),vr&&(hn||Cr===ae))return ph(vr);if(!vr||!(Cr=Cm(Cr)))return vr;var Wi=Kf(vr),fo=Kf(Cr),fs=pf(Wi,fo),zs=sm(Wi,fo)+1;return ui(Wi,fs,zs).join("")}function hb(vr,Cr,hn){if(vr=Dp(vr),vr&&(hn||Cr===ae))return vr.slice(0,Zh(vr)+1);if(!vr||!(Cr=Cm(Cr)))return vr;var Wi=Kf(vr),fo=sm(Wi,Kf(Cr))+1;return ui(Wi,0,fo).join("")}function gb(vr,Cr,hn){if(vr=Dp(vr),vr&&(hn||Cr===ae))return vr.replace(Vl,"");if(!vr||!(Cr=Cm(Cr)))return vr;var Wi=Kf(vr),fo=pf(Wi,Kf(Cr));return ui(Wi,fo).join("")}function _b(vr,Cr){var hn=ar,Wi=sr;if(uf(Cr)){var fo="separator"in Cr?Cr.separator:fo;hn="length"in Cr?Kd(Cr.length):hn,Wi="omission"in Cr?Cm(Cr.omission):Wi}vr=Dp(vr);var fs=vr.length;if(Af(vr)){var zs=Kf(vr);fs=zs.length}if(hn>=fs)return vr;var nl=hn-hh(Wi);if(nl<1)return Wi;var Ul=zs?ui(zs,0,nl).join(""):vr.slice(0,nl);if(fo===ae)return Ul+Wi;if(zs&&(nl+=Ul.length-nl),ag(fo)){if(vr.slice(nl).search(fo)){var Pc,jc=Ul;for(fo.global||(fo=_h(fo.source,Dp(na.exec(fo))+"g")),fo.lastIndex=0;Pc=fo.exec(jc);)var Wc=Pc.index;Ul=Ul.slice(0,Wc===ae?nl:Wc)}}else if(vr.indexOf(Cm(fo),nl)!=nl){var Iu=Ul.lastIndexOf(fo);Iu>-1&&(Ul=Ul.slice(0,Iu))}return Ul+Wi}function vb(vr){return vr=Dp(vr),vr&&_s.test(vr)?vr.replace(Ka,e0):vr}var bb=Zi(function(vr,Cr,hn){return vr+(hn?" ":"")+Cr.toUpperCase()}),cg=Ma("toUpperCase");function Xg(vr,Cr,hn){return vr=Dp(vr),Cr=hn?ae:Cr,Cr===ae?Xh(vr)?s0(vr):d0(vr):vr.match(Cr)||[]}var Qg=Ed(function(vr,Cr){try{return Bc(vr,ae,Cr)}catch(hn){return ig(hn)?hn:new ku(hn)}}),yb=ml(function(vr,Cr){return kd(Cr,function(hn){hn=dl(hn),Sm(vr,hn,rg(vr[hn],vr))}),vr});function Eb(vr){var Cr=vr==null?0:vr.length,hn=Js();return vr=Cr?vp(vr,function(Wi){if(typeof Wi[1]!="function")throw new Df(pe);return[hn(Wi[0]),Wi[1]]}):[],Ed(function(Wi){for(var fo=-1;++fo<Cr;){var fs=vr[fo];if(Bc(fs[0],this,Wi))return Bc(fs[1],this,Wi)}})}function Sb(vr){return ci(Zp(vr,Ie))}function ug(vr){return function(){return vr}}function Tb(vr,Cr){return vr==null||vr!==vr?Cr:vr}var Cb=pa(),wb=pa(!0);function Nh(vr){return vr}function dg(vr){return Pd(typeof vr=="function"?vr:Zp(vr,Ie))}function xb(vr){return ud(Zp(vr,Ie))}function Nb(vr,Cr){return cl(vr,Zp(Cr,Ie))}var Ab=Ed(function(vr,Cr){return function(hn){return Uu(hn,vr,Cr)}}),Db=Ed(function(vr,Cr){return function(hn){return Uu(vr,hn,Cr)}});function pg(vr,Cr,hn){var Wi=mm(Cr),fo=Bo(Cr,Wi);hn==null&&!(uf(Cr)&&(fo.length||!Wi.length))&&(hn=Cr,Cr=vr,vr=this,fo=Bo(Cr,mm(Cr)));var fs=!(uf(hn)&&"chain"in hn)||!!hn.chain,zs=_0(vr);return kd(fo,function(nl){var Ul=Cr[nl];vr[nl]=Ul,zs&&(vr.prototype[nl]=function(){var Pc=this.__chain__;if(fs||Pc){var jc=vr(this.__wrapped__),Wc=jc.__actions__=za(this.__actions__);return Wc.push({func:Ul,args:arguments,thisArg:vr}),jc.__chain__=Pc,jc}return Ul.apply(vr,am([this.value()],arguments))})}),vr}function kb(){return Xd._===this&&(Xd._=qp),this}function fg(){}function Ob(vr){return vr=Kd(vr),Ed(function(Cr){return Xc(Cr,vr)})}var Rb=Eo(vp),Ib=Eo(xf),Mb=Eo(Wm);function Jg(vr){return Tr(vr)?Kh(dl(vr)):Kp(vr)}function Bb(vr){return function(Cr){return vr==null?ae:ys(vr,Cr)}}var $ b=Qo(),Lb=Qo(!0);function mg(){return[]}function hg(){return!1}function Pb(){return{}}function Fb(){return""}function jb(){return!0}function Ub(vr,Cr){if(vr=Kd(vr),vr<1||vr>xr)return[];var hn=Vr,Wi=Us(vr,Vr);Cr=Js(Cr),vr-=Vr;for(var fo=_m(Wi,Cr);++hn<vr;)Cr(hn);return fo}function Vb(vr){return Hd(vr)?vp(vr,dl):Bh(vr)?[vr]:za(xo(Dp(vr)))}function Hb(vr){var Cr=++c0;return Dp(vr)+Cr}var zb=Fa(function(vr,Cr){return vr+Cr},0),qb=Hs("ceil"),Gb=Fa(function(vr,Cr){return vr/Cr},1),Wb=Hs("floor");function Kb(vr){return vr&&vr.length?Do(vr,Nh,Ks):ae}function Yb(vr,Cr){return vr&&vr.length?Do(vr,Js(Cr,2),Ks):ae}function Xb(vr){return Om(vr,Nh)}function Qb(vr,Cr){return Om(vr,Js(Cr,2))}function Jb(vr){return vr&&vr.length?Do(vr,Nh,ed):ae}function Zb(vr,Cr){return vr&&vr.length?Do(vr,Js
2024-08-27 22:31:52 +08:00
` :"")),ae&&ae()}function de(pe){return pe.interrupt?(pe.interrupt.append=re,pe.interrupt.end=ue,pe.interrupt=!1,re(!0),!0):!1}if(re(!1,ie.indents+(ie.name?"<"+ie.name:"")+(ie.attributes.length?" "+ie.attributes.join(" "):"")+(oe?ie.name?">":"":ie.name?"/>":"")+(ie.indent&&oe>1? `
` :"")),!oe)return re(!1,ie.indent? `
` :"");de(ie)||ue()}function attribute(re,ie){return re+'="'+escapeForXML(ie)+'"'}xml $ 2.exports=xml $ 1;xml $ 2.exports.element=xml $ 2.exports.Element=element;var xmlExports=xml $ 2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults $ 1={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults $ 1.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:" $ ",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:" $ $ ",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline: `
` },headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults $ 1}var builder={},lib $ 1={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var re,ie,ae,oe,ue,de,pe,_e=[].slice,Ce={}.hasOwnProperty;re=function(){var Ne,Oe,Ie,Fe,Ue,Ve;if(Ve=arguments[0],Ue=2<=arguments.length?_e.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(Ne=0,Ie=Ue.length;Ne<Ie;Ne++)if(Fe=Ue[Ne],Fe!=null)for(Oe in Fe)Ce.call(Fe,Oe)&&(Ve[Oe]=Fe[Oe]);return Ve},ue=function(Ne){return!!Ne&&Object.prototype.toString.call(Ne)==="[object Function]"},de=function(Ne){var Oe;return!!Ne&&((Oe=typeof Ne)=="function"||Oe==="object")},ae=function(Ne){return ue(Array.isArray)?Array.isArray(Ne):Object.prototype.toString.call(Ne)==="[object Array]"},oe=function(Ne){var Oe;if(ae(Ne))return!Ne.length;for(Oe in Ne)if(Ce.call(Ne,Oe))return!1;return!0},pe=function(Ne){var Oe,Ie;return de(Ne)&&(Ie=Object.getPrototypeOf(Ne))&&(Oe=Ie.constructor)&&typeof Oe=="function"&&Oe instanceof Oe&&Function.prototype.toString.call(Oe)===Function.prototype.toString.call(Object)},ie=function(Ne){return ue(Ne.valueOf)?Ne.valueOf():Ne},Utility.assign=re,Utility.isFunction=ue,Utility.isObject=de,Utility.isArray=ae,Utility.isEmpty=oe,Utility.isPlainObject=pe,Utility.getValue=ie}).call(commonjsGlobal)),Utility}var XMLDOMImplementation={exports:{}},hasRequiredXMLDOMImplementation;function requireXMLDOMImplementation(){return hasRequiredXMLDOMImplementation||(hasRequiredXMLDOMImplementation=1,(function(){XMLDOMImplementation.exports=function(){function re(){}return re.prototype.hasFeature=function(ie,ae){return!0},re.prototype.createDocumentType=function(ie,ae,oe){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(ie,ae,oe){throw new Error("This DOM method is not implemented.")},re.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},re.prototype.getFeature=function(ie,ae){throw new Error("This DOM method is not implemented.")},re}()}).call(commonjsGlobal)),XMLDOMImplementation.exports}var XMLDocument={exports:{}},XMLDOMConfiguration={exports:{}},XMLDOMErrorHandler={exports:{}},hasRequiredXMLDOMErrorHandler;function requireXMLDOMErrorHandler(){return hasRequiredXMLDOMErrorHandler||(hasRequiredXMLDOMErrorHandler=1,(function(){XMLDOMErrorHandler.exports=function(){function re(){}return re.prototype.handleError=function(ie){throw new Error(ie)},re}()}).call(commonjsGlobal)),XMLDOMErrorHandler.exports}var XMLDOMStringList={exports:{}},hasRequiredXMLDOMStringList;function requireXMLDOMStringList(){return hasRequiredXMLDOMStringList||(hasRequiredXMLDOMStringList=1,(function(){XMLDOMStringList.exports=function(){function re(ie){this.arr=ie||[]}return Object.defineProperty(re.prototype,"length",{get:function(){return this.arr.length}}),re.prototype.item=function(ie){return this.arr[ie]||null},re.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},re}()}).call(commonjsGlobal)),XMLDOMStringList.exports}var hasRequiredXMLDOMConfiguration;function requireXMLDOMConfiguration(){return hasRequiredXMLDOMConfiguration||(hasRequiredXMLDOMConfiguration=1,(function(){var re,ie;re=requireXMLDOMErrorHandler(),ie=requireXMLDOMStringList(),XMLDOMConfiguration.exports=function(){function ae(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new re,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(ae.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),ae.prototype.getParameter=function(oe){return this.params.hasOwnProperty(oe)?this.params[oe]:null},ae.prototype.canSetParameter=function(oe,ue){return!0},ae.prototype.setParameter=fu
` ,pe.offset=(Ne=de.offset)!=null?Ne:0,pe.dontPrettyTextNodes=(Oe=(Ie=de.dontPrettyTextNodes)!=null?Ie:de.dontprettytextnodes)!=null?Oe:0,pe.spaceBeforeSlash=(Fe=(Ue=de.spaceBeforeSlash)!=null?Ue:de.spacebeforeslash)!=null?Fe:"",pe.spaceBeforeSlash===!0&&(pe.spaceBeforeSlash=" "),pe.suppressPrettyCount=0,pe.user={},pe.state=ie.None,pe},ue.prototype.indent=function(de,pe,_e){var Ce;return!pe.pretty||pe.suppressPrettyCount?"":pe.pretty&&(Ce=(_e||0)+pe.offset+1,Ce>0)?new Array(Ce).join(pe.indent):""},ue.prototype.endline=function(de,pe,_e){return!pe.pretty||pe.suppressPrettyCount?"":pe.newline},ue.prototype.attribute=function(de,pe,_e){var Ce;return this.openAttribute(de,pe,_e),Ce=" "+de.name+'="'+de.value+'"',this.closeAttribute(de,pe,_e),Ce},ue.prototype.cdata=function(de,pe,_e){var Ce;return this.openNode(de,pe,_e),pe.state=ie.OpenTag,Ce=this.indent(de,pe,_e)+"<![CDATA[",pe.state=ie.InsideTag,Ce+=de.value,pe.state=ie.CloseTag,Ce+="]]>"+this.endline(de,pe,_e),pe.state=ie.None,this.closeNode(de,pe,_e),Ce},ue.prototype.comment=function(de,pe,_e){var Ce;return this.openNode(de,pe,_e),pe.state=ie.OpenTag,Ce=this.indent(de,pe,_e)+"<!-- ",pe.state=ie.InsideTag,Ce+=de.value,pe.state=ie.CloseTag,Ce+=" -->"+this.endline(de,pe,_e),pe.state=ie.None,this.closeNode(de,pe,_e),Ce},ue.prototype.declaration=function(de,pe,_e){var Ce;return this.openNode(de,pe,_e),pe.state=ie.OpenTag,Ce=this.indent(de,pe,_e)+"<?xml",pe.state=ie.InsideTag,Ce+=' version="'+de.version+'"',de.encoding!=null&&(Ce+=' encoding="'+de.encoding+'"'),de.standalone!=null&&(Ce+=' standalone="'+de.standalone+'"'),pe.state=ie.CloseTag,Ce+=pe.spaceBeforeSlash+"?>",Ce+=this.endline(de,pe,_e),pe.state=ie.None,this.closeNode(de,pe,_e),Ce},ue.prototype.docType=function(de,pe,_e){var Ce,Ne,Oe,Ie,Fe;if(_e||(_e=0),this.openNode(de,pe,_e),pe.state=ie.OpenTag,Ie=this.indent(de,pe,_e),Ie+="<!DOCTYPE "+de.root().name,de.pubID&&de.sysID?Ie+=' PUBLIC "'+de.pubID+'" "'+de.sysID+'"':de.sysID&&(Ie+=' SYSTEM "'+de.sysID+'"'),de.children.length>0){for(Ie+=" [",Ie+=this.endline(de,pe,_e),pe.state=ie.InsideTag,Fe=de.children,Ne=0,Oe=Fe.length;Ne<Oe;Ne++)Ce=Fe[Ne],Ie+=this.writeChildNode(Ce,pe,_e+1);pe.state=ie.CloseTag,Ie+="]"}return pe.state=ie.CloseTag,Ie+=pe.spaceBeforeSlash+">",Ie+=this.endline(de,pe,_e),pe.state=ie.None,this.closeNode(de,pe,_e),Ie},ue.prototype.element=function(de,pe,_e){var Ce,Ne,Oe,Ie,Fe,Ue,Ve,ze,jt,kt,Pt,Et,er,tr;_e||(_e=0),kt=!1,Pt="",this.openNode(de,pe,_e),pe.state=ie.OpenTag,Pt+=this.indent(de,pe,_e)+"<"+de.name,Et=de.attribs;for(jt in Et)oe.call(Et,jt)&&(Ce=Et[jt],Pt+=this.attribute(Ce,pe,_e));if(Oe=de.children.length,Ie=Oe===0?null:de.children[0],Oe===0||de.children.every(function(nr){return(nr.type===re.Text||nr.type===re.Raw)&&nr.value===""}))pe.allowEmpty?(Pt+=">",pe.state=ie.CloseTag,Pt+="</"+de.name+">"+this.endline(de,pe,_e)):(pe.state=ie.CloseTag,Pt+=pe.spaceBeforeSlash+"/>"+this.endline(de,pe,_e));else if(pe.pretty&&Oe===1&&(Ie.type===re.Text||Ie.type===re.Raw)&&Ie.value!=null)Pt+=">",pe.state=ie.InsideTag,pe.suppressPrettyCount++,kt=!0,Pt+=this.writeChildNode(Ie,pe,_e+1),pe.suppressPrettyCount--,kt=!1,pe.state=ie.CloseTag,Pt+="</"+de.name+">"+this.endline(de,pe,_e);else{if(pe.dontPrettyTextNodes){for(er=de.children,Fe=0,Ve=er.length;Fe<Ve;Fe++)if(Ne=er[Fe],(Ne.type===re.Text||Ne.type===re.Raw)&&Ne.value!=null){pe.suppressPrettyCount++,kt=!0;break}}for(Pt+=">"+this.endline(de,pe,_e),pe.state=ie.InsideTag,tr=de.children,Ue=0,ze=tr.length;Ue<ze;Ue++)Ne=tr[Ue],Pt+=this.writeChildNode(Ne,pe,_e+1);pe.state=ie.CloseTag,Pt+=this.indent(de,pe,_e)+"</"+de.name+">",kt&&pe.suppressPrettyCount--,Pt+=this.endline(de,pe,_e),pe.state=ie.None}return this.closeNode(de,pe,_e),Pt},ue.prototype.writeChildNode=function(de,pe,_e){switch(de.type){case re.CData:return this.cdata(de,pe,_e);case re.Comment:return this.comment(de,pe,_e);case re.Element:return this.element(de,pe,_e);case re.Raw:return this.raw(de,pe,_e);case re.Text:return this.text(de,pe,_e);case re.ProcessingInstruction:return this.processingInstruction(de,pe,_e);case re.Dummy:return"";case re.Declaration:return
` ||Ar===" \r "||Ar===" "}function tr(Ar){return Ar==='"'||Ar==="'"}function nr(Ar){return Ar===">"||er(Ar)}function lr(Ar,Dr){return Ar.test(Dr)}function cr(Ar,Dr){return!lr(Ar,Dr)}var ir=0;ie.STATE={BEGIN:ir++,BEGIN_WHITESPACE:ir++,TEXT:ir++,TEXT_ENTITY:ir++,OPEN_WAKA:ir++,SGML_DECL:ir++,SGML_DECL_QUOTED:ir++,DOCTYPE:ir++,DOCTYPE_QUOTED:ir++,DOCTYPE_DTD:ir++,DOCTYPE_DTD_QUOTED:ir++,COMMENT_STARTING:ir++,COMMENT:ir++,COMMENT_ENDING:ir++,COMMENT_ENDED:ir++,CDATA:ir++,CDATA_ENDING:ir++,CDATA_ENDING_2:ir++,PROC_INST:ir++,PROC_INST_BODY:ir++,PROC_INST_ENDING:ir++,OPEN_TAG:ir++,OPEN_TAG_SLASH:ir++,ATTRIB:ir++,ATTRIB_NAME:ir++,ATTRIB_NAME_SAW_WHITE:ir++,ATTRIB_VALUE:ir++,ATTRIB_VALUE_QUOTED:ir++,ATTRIB_VALUE_CLOSED:ir++,ATTRIB_VALUE_UNQUOTED:ir++,ATTRIB_VALUE_ENTITY_Q:ir++,ATTRIB_VALUE_ENTITY_U:ir++,CLOSE_TAG:ir++,CLOSE_TAG_SAW_WHITE:ir++,SCRIPT:ir++,SCRIPT_ENDING:ir++},ie.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ie.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(ie.ENTITIES).forEach(function(Ar){var Dr=ie.ENTITIES[Ar],Jr=typeof Dr=="number"?String.fromCharCode(Dr):Dr;ie.ENTITIES[Ar]=Jr});for(var ar in ie.STATE)ie.STATE[ie.STATE[ar]]=ar;ir=ie.STATE;function sr(Ar,Dr,Jr){Ar[Dr]&&Ar[Dr](Jr)}function dr(Ar,Dr,Jr){Ar.textNode&&fr(Ar),sr(Ar,Dr,Jr)}function fr(Ar){Ar.textNode=_r(Ar.opt,Ar.textNode),Ar.textNode&&sr(Ar,"ontext",Ar.textNode),Ar.textNode=""}function _r(Ar,Dr){return Ar.trim&&(Dr=Dr.trim()),Ar.normalize&&(Dr=Dr.replace(/ \s +/g," ")),Dr}function mr(Ar,Dr){return fr(Ar),Ar.trackPosition&&(Dr+= `
Line : ` +Ar.line+ `
Column : ` +Ar.column+ `
Char : ` +Ar.c),Dr=new Error(Dr),Ar.error=Dr,sr(Ar,"onerror",Dr),Ar}function Er(Ar){return Ar.sawRoot&&!Ar.closedRoot&&Sr(Ar,"Unclosed root tag"),Ar.state!==ir.BEGIN&&Ar.state!==ir.BEGIN_WHITESPACE&&Ar.state!==ir.TEXT&&mr(Ar,"Unexpected end"),fr(Ar),Ar.c="",Ar.closed=!0,sr(Ar,"onend"),oe.call(Ar,Ar.strict,Ar.opt),Ar}function Sr(Ar,Dr){if(typeof Ar!="object"||!(Ar instanceof oe))throw new Error("bad call to strictFail");Ar.strict&&mr(Ar,Dr)}function xr(Ar){Ar.strict||(Ar.tagName=Ar.tagName[Ar.looseCase]());var Dr=Ar.tags[Ar.tags.length-1]||Ar,Jr=Ar.tag={name:Ar.tagName,attributes:{}};Ar.opt.xmlns&&(Jr.ns=Dr.ns),Ar.attribList.length=0,dr(Ar,"onopentagstart",Jr)}function Nr(Ar,Dr){var Jr=Ar.indexOf(":"),Sn=Jr<0?["",Ar]:Ar.split(":"),vn=Sn[0],xn=Sn[1];return Dr&&Ar==="xmlns"&&(vn="xmlns",xn=""),{prefix:vn,local:xn}}function Rr(Ar){if(Ar.strict||(Ar.attribName=Ar.attribName[Ar.looseCase]()),Ar.attribList.indexOf(Ar.attribName)!==-1||Ar.tag.attributes.hasOwnProperty(Ar.attribName)){Ar.attribName=Ar.attribValue="";return}if(Ar.opt.xmlns){var Dr=Nr(Ar.attribName,!0),Jr=Dr.prefix,Sn=Dr.local;if(Jr==="xmlns")if(Sn==="xml"&&Ar.attribValue!==Ue)Sr(Ar,"xml: prefix must be bound to "+Ue+ `
Actual : ` +Ar.attribValue);else if(Sn==="xmlns"&&Ar.attribValue!==Ve)Sr(Ar,"xmlns: prefix must be bound to "+Ve+ `
Actual : ` +Ar.attribValue);else{var vn=Ar.tag,xn=Ar.tags[Ar.tags.length-1]||Ar;vn.ns===xn.ns&&(vn.ns=Object.create(xn.ns)),vn.ns[Sn]=Ar.attribValue}Ar.attribList.push([Ar.attribName,Ar.attribValue])}else Ar.tag.attributes[Ar.attribName]=Ar.attribValue,dr(Ar,"onattribute",{name:Ar.attribName,value:Ar.attribValue});Ar.attribName=Ar.attribValue=""}function Vr(Ar,Dr){if(Ar.opt.xmlns){var Jr=Ar.tag,Sn=Nr(Ar.tagName);Jr.prefix=Sn.prefix,Jr.local=Sn.local,Jr.uri=Jr.ns[Sn.prefix]||"",Jr.prefix&&!Jr.uri&&(Sr(Ar,"Unbound namespace prefix: "+JSON.stringify(Ar.tagName)),Jr.uri=Sn.prefix);var vn=Ar.tags[Ar.tags.length-1]||Ar;Jr.ns&&vn.ns!==Jr.ns&&Object.keys(Jr.ns).forEach(function(jr){dr(Ar,"onopennamespace",{prefix:jr,uri:Jr.ns[jr]})});for(var xn=0, $ r=Ar.attribList.length;xn< $ r;xn++){var Lr=Ar.attribList[xn],Gr=Lr[0],Mr=Lr[1],Br=Nr(Gr,!0),Hr=Br.prefix,zr=Br.local,An=Hr===""?"":Jr.ns[Hr]||"",kn={name:Gr,value:Mr,prefix:Hr,local:zr,uri:An};Hr&&Hr!=="xmlns"&&!An&&(Sr(Ar,"Unbound namespace prefix: "+JSON.stringify(Hr)),kn.uri=Hr),Ar.tag.attributes[Gr]=kn,dr(Ar,"onattribute",kn)}Ar.attribList.length=0}Ar.tag.isSelfClosing=!!Dr,Ar.sawRoot=!0,Ar.tags.push(Ar.tag),dr(Ar,"onopentag",Ar.tag),Dr||(!Ar.noscript&&Ar.tagName.toLowerCase()==="script"?Ar.state=ir.SCRIPT:Ar.state=ir.TEXT,Ar.tag=null,Ar.tagName=""),Ar.attribName=Ar.attribValue="",Ar.attribList.length=0}function Fr(Ar){if(!Ar.tagName){Sr(Ar,"Weird empty close tag."),Ar.textNode+="</>",Ar.state=ir.TEXT;return}if(Ar.script){if(Ar.tagName!=="script"){Ar.script+="</"+Ar.tagName+">",Ar.tagName="",Ar.state=ir.SCRIPT;return}dr(Ar,"onscript",Ar.script),Ar.script=""}var Dr=Ar.tags.length,Jr=Ar.tagName;Ar.strict||(Jr=Jr[Ar.looseCase]());for(var Sn=Jr;Dr--;){var vn=Ar.tags[Dr];if(vn.name!==Sn)Sr(Ar,"Unexpected close tag");else break}if(Dr<0){Sr(Ar,"Unmatched closing tag: "+Ar.tagName),Ar.textNode+="</"+Ar.tagName+">",Ar.state=ir.TEXT;return}Ar.tagName=Jr;for(var xn=Ar.tags.length;xn-- >Dr;){var $ r=Ar.tag=Ar.tags.pop();Ar.tagName=Ar.tag.name,dr(Ar,"onclosetag",Ar.tagName);var Lr={};for(var Gr in $ r.ns)Lr[Gr]= $ r.ns[Gr];var Mr=Ar.tags[Ar.tags.length-1]||Ar;Ar.opt.xmlns&& $ r.ns!==Mr.ns&&Object.keys( $ r.ns).forEach(function(Br){var Hr= $ r.ns[Br];dr(Ar,"onclosenamespace",{prefix:Br,uri:Hr})})}Dr===0&&(Ar.closedRoot=!0),Ar.tagName=Ar.attribValue=Ar.attribName="",Ar.attribList.length=0,Ar.state=ir.TEXT}function Ir(Ar){var Dr=Ar.entity,Jr=Dr.toLowerCase(),Sn,vn="";return Ar.ENTITIES[Dr]?Ar.ENTITIES[Dr]:Ar.ENTITIES[Jr]?Ar.ENTITIES[Jr]:(Dr=Jr,Dr.charAt(0)==="#"&&(Dr.charAt(1)==="x"?(Dr=Dr.slice(2),Sn=parseInt(Dr,16),vn=Sn.toString(16)):(Dr=Dr.slice(1),Sn=parseInt(Dr,10),vn=Sn.toString(10))),Dr=Dr.replace(/^0+/,""),isNaN(Sn)||vn.toLowerCase()!==Dr?(Sr(Ar,"Invalid character entity"),"&"+Ar.entity+";"):String.fromCodePoint(Sn))}function kr(Ar,Dr){Dr==="<"?(Ar.state=ir.OPEN_WAKA,Ar.startTagPosition=Ar.position):er(Dr)||(Sr(Ar,"Non-whitespace before first tag."),Ar.textNode=Dr,Ar.state=ir.TEXT)}function qr(Ar,Dr){var Jr="";return Dr<Ar.length&&(Jr=Ar.charAt(Dr)),Jr}function Wr(Ar){var Dr=this;if(this.error)throw this.error;if(Dr.closed)return mr(Dr,"Cannot write after close. Assign an onready handler.");if(Ar===null)return Er(Dr);typeof Ar=="object"&&(Ar=Ar.toString());for(var Jr=0,Sn="";Sn=qr(Ar,Jr++),Dr.c=Sn,!!Sn;)switch(Dr.trackPosition&&(Dr.position++,Sn=== `
` ?(Dr.line++,Dr.column=0):Dr.column++),Dr.state){case ir.BEGIN:if(Dr.state=ir.BEGIN_WHITESPACE,Sn===" \u FEFF")continue;kr(Dr,Sn);continue;case ir.BEGIN_WHITESPACE:kr(Dr,Sn);continue;case ir.TEXT:if(Dr.sawRoot&&!Dr.closedRoot){for(var vn=Jr-1;Sn&&Sn!=="<"&&Sn!=="&";)Sn=qr(Ar,Jr++),Sn&&Dr.trackPosition&&(Dr.position++,Sn=== `
2024-08-29 16:46:41 +08:00
` ?(Dr.line++,Dr.column=0):Dr.column++);Dr.textNode+=Ar.substring(vn,Jr-1)}Sn==="<"&&!(Dr.sawRoot&&Dr.closedRoot&&!Dr.strict)?(Dr.state=ir.OPEN_WAKA,Dr.startTagPosition=Dr.position):(!er(Sn)&&(!Dr.sawRoot||Dr.closedRoot)&&Sr(Dr,"Text data outside of root node."),Sn==="&"?Dr.state=ir.TEXT_ENTITY:Dr.textNode+=Sn);continue;case ir.SCRIPT:Sn==="<"?Dr.state=ir.SCRIPT_ENDING:Dr.script+=Sn;continue;case ir.SCRIPT_ENDING:Sn==="/"?Dr.state=ir.CLOSE_TAG:(Dr.script+="<"+Sn,Dr.state=ir.SCRIPT);continue;case ir.OPEN_WAKA:if(Sn==="!")Dr.state=ir.SGML_DECL,Dr.sgmlDecl="";else if(!er(Sn))if(lr(jt,Sn))Dr.state=ir.OPEN_TAG,Dr.tagName=Sn;else if(Sn==="/")Dr.state=ir.CLOSE_TAG,Dr.tagName="";else if(Sn==="?")Dr.state=ir.PROC_INST,Dr.procInstName=Dr.procInstBody="";else{if(Sr(Dr,"Unencoded <"),Dr.startTagPosition+1<Dr.position){var xn=Dr.position-Dr.startTagPosition;Sn=new Array(xn).join(" ")+Sn}Dr.textNode+="<"+Sn,Dr.state=ir.TEXT}continue;case ir.SGML_DECL:if(Dr.sgmlDecl+Sn==="--"){Dr.state=ir.COMMENT,Dr.comment="",Dr.sgmlDecl="";continue}Dr.doctype&&Dr.doctype!==!0&&Dr.sgmlDecl?(Dr.state=ir.DOCTYPE_DTD,Dr.doctype+="<!"+Dr.sgmlDecl+Sn,Dr.sgmlDecl=""):(Dr.sgmlDecl+Sn).toUpperCase()===Ie?(dr(Dr,"onopencdata"),Dr.state=ir.CDATA,Dr.sgmlDecl="",Dr.cdata=""):(Dr.sgmlDecl+Sn).toUpperCase()===Fe?(Dr.state=ir.DOCTYPE,(Dr.doctype||Dr.sawRoot)&&Sr(Dr,"Inappropriately located doctype declaration"),Dr.doctype="",Dr.sgmlDecl=""):Sn===">"?(dr(Dr,"onsgmldeclaration",Dr.sgmlDecl),Dr.sgmlDecl="",Dr.state=ir.TEXT):(tr(Sn)&&(Dr.state=ir.SGML_DECL_QUOTED),Dr.sgmlDecl+=Sn);continue;case ir.SGML_DECL_QUOTED:Sn===Dr.q&&(Dr.state=ir.SGML_DECL,Dr.q=""),Dr.sgmlDecl+=Sn;continue;case ir.DOCTYPE:Sn===">"?(Dr.state=ir.TEXT,dr(Dr,"ondoctype",Dr.doctype),Dr.doctype=!0):(Dr.doctype+=Sn,Sn==="["?Dr.state=ir.DOCTYPE_DTD:tr(Sn)&&(Dr.state=ir.DOCTYPE_QUOTED,Dr.q=Sn));continue;case ir.DOCTYPE_QUOTED:Dr.doctype+=Sn,Sn===Dr.q&&(Dr.q="",Dr.state=ir.DOCTYPE);continue;case ir.DOCTYPE_DTD:Sn==="]"?(Dr.doctype+=Sn,Dr.state=ir.DOCTYPE):Sn==="<"?(Dr.state=ir.OPEN_WAKA,Dr.startTagPosition=Dr.position):tr(Sn)?(Dr.doctype+=Sn,Dr.state=ir.DOCTYPE_DTD_QUOTED,Dr.q=Sn):Dr.doctype+=Sn;continue;case ir.DOCTYPE_DTD_QUOTED:Dr.doctype+=Sn,Sn===Dr.q&&(Dr.state=ir.DOCTYPE_DTD,Dr.q="");continue;case ir.COMMENT:Sn==="-"?Dr.state=ir.COMMENT_ENDING:Dr.comment+=Sn;continue;case ir.COMMENT_ENDING:Sn==="-"?(Dr.state=ir.COMMENT_ENDED,Dr.comment=_r(Dr.opt,Dr.comment),Dr.comment&&dr(Dr,"oncomment",Dr.comment),Dr.comment=""):(Dr.comment+="-"+Sn,Dr.state=ir.COMMENT);continue;case ir.COMMENT_ENDED:Sn!==">"?(Sr(Dr,"Malformed comment"),Dr.comment+="--"+Sn,Dr.state=ir.COMMENT):Dr.doctype&&Dr.doctype!==!0?Dr.state=ir.DOCTYPE_DTD:Dr.state=ir.TEXT;continue;case ir.CDATA:Sn==="]"?Dr.state=ir.CDATA_ENDING:Dr.cdata+=Sn;continue;case ir.CDATA_ENDING:Sn==="]"?Dr.state=ir.CDATA_ENDING_2:(Dr.cdata+="]"+Sn,Dr.state=ir.CDATA);continue;case ir.CDATA_ENDING_2:Sn===">"?(Dr.cdata&&dr(Dr,"oncdata",Dr.cdata),dr(Dr,"onclosecdata"),Dr.cdata="",Dr.state=ir.TEXT):Sn==="]"?Dr.cdata+="]":(Dr.cdata+="]]"+Sn,Dr.state=ir.CDATA);continue;case ir.PROC_INST:Sn==="?"?Dr.state=ir.PROC_INST_ENDING:er(Sn)?Dr.state=ir.PROC_INST_BODY:Dr.procInstName+=Sn;continue;case ir.PROC_INST_BODY:if(!Dr.procInstBody&&er(Sn))continue;Sn==="?"?Dr.state=ir.PROC_INST_ENDING:Dr.procInstBody+=Sn;continue;case ir.PROC_INST_ENDING:Sn===">"?(dr(Dr,"onprocessinginstruction",{name:Dr.procInstName,body:Dr.procInstBody}),Dr.procInstName=Dr.procInstBody="",Dr.state=ir.TEXT):(Dr.procInstBody+="?"+Sn,Dr.state=ir.PROC_INST_BODY);continue;case ir.OPEN_TAG:lr(kt,Sn)?Dr.tagName+=Sn:(xr(Dr),Sn===">"?Vr(Dr):Sn==="/"?Dr.state=ir.OPEN_TAG_SLASH:(er(Sn)||Sr(Dr,"Invalid character in tag name"),Dr.state=ir.ATTRIB));continue;case ir.OPEN_TAG_SLASH:Sn===">"?(Vr(Dr,!0),Fr(Dr)):(Sr(Dr,"Forward-slash in opening tag not followed by >"),Dr.state=ir.ATTRIB);continue;case ir.ATTRIB:if(er(Sn))continue;Sn===">"?Vr(Dr):Sn==="/"?Dr.state=ir.OPEN_TAG_SLASH:lr(jt,Sn)?(Dr.attribName=Sn,Dr.attribValue="",Dr.state=ir.ATTRIB_NAME):Sr(Dr,"Invalid attribute name");continue;case ir.ATTRIB_NAME:Sn==="="?Dr.state
2024-08-27 22:31:52 +08:00
` &&re[de]!==" \r ";de++)Ce+=re[de];if(Ce=Ce.trim(),Ce[Ce.length-1]==="/"&&(Ce=Ce.substring(0,Ce.length-1),de--),!validateTagName(Ce)){let Ie;return Ce.trim().length===0?Ie="Invalid space after '<'.":Ie="Tag '"+Ce+"' is an invalid name.",getErrorObject("InvalidTag",Ie,getLineNumberForPosition(re,de))}const Ne=readAttributeStr(re,de);if(Ne===!1)return getErrorObject("InvalidAttr","Attributes for '"+Ce+"' have open quote.",getLineNumberForPosition(re,de));let Oe=Ne.value;if(de=Ne.index,Oe[Oe.length-1]==="/"){const Ie=de-Oe.length;Oe=Oe.substring(0,Oe.length-1);const Fe=validateAttributeString(Oe,ie);if(Fe===!0)oe=!0;else return getErrorObject(Fe.err.code,Fe.err.msg,getLineNumberForPosition(re,Ie+Fe.err.line))}else if(_e)if(Ne.tagClosed){if(Oe.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+Ce+"' can't have attributes or invalid starting.",getLineNumberForPosition(re,pe));if(ae.length===0)return getErrorObject("InvalidTag","Closing tag '"+Ce+"' has not been opened.",getLineNumberForPosition(re,pe));{const Ie=ae.pop();if(Ce!==Ie.tagName){let Fe=getLineNumberForPosition(re,Ie.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+Ie.tagName+"' (opened in line "+Fe.line+", col "+Fe.col+") instead of closing tag '"+Ce+"'.",getLineNumberForPosition(re,pe))}ae.length==0&&(ue=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+Ce+"' doesn't have proper closing.",getLineNumberForPosition(re,de));else{const Ie=validateAttributeString(Oe,ie);if(Ie!==!0)return getErrorObject(Ie.err.code,Ie.err.msg,getLineNumberForPosition(re,de-Oe.length+Ie.err.line));if(ue===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(re,de));ie.unpairedTags.indexOf(Ce)!==-1||ae.push({tagName:Ce,tagStartPos:pe}),oe=!0}for(de++;de<re.length;de++)if(re[de]==="<")if(re[de+1]==="!"){de++,de=readCommentAndCDATA(re,de);continue}else if(re[de+1]==="?"){if(de=readPI(re,++de),de.err)return de}else break;else if(re[de]==="&"){const Ie=validateAmpersand(re,de);if(Ie==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(re,de));de=Ie}else if(ue===!0&&!isWhiteSpace(re[de]))return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(re,de));re[de]==="<"&&de--}}else{if(isWhiteSpace(re[de]))continue;return getErrorObject("InvalidChar","char '"+re[de]+"' is not expected.",getLineNumberForPosition(re,de))}if(oe){if(ae.length==1)return getErrorObject("InvalidTag","Unclosed tag '"+ae[0].tagName+"'.",getLineNumberForPosition(re,ae[0].tagStartPos));if(ae.length>0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(ae.map(de=>de.tagName),null,4).replace(/ \r ? \n /g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(re){return re===" "||re===" "||re=== `
` ||re===" \r "}function readPI(re,ie){const ae=ie;for(;ie<re.length;ie++)if(re[ie]=="?"||re[ie]==" "){const oe=re.substr(ae,ie-ae);if(ie>5&&oe==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(re,ie));if(re[ie]=="?"&&re[ie+1]==">"){ie++;break}else continue}return ie}function readCommentAndCDATA(re,ie){if(re.length>ie+5&&re[ie+1]==="-"&&re[ie+2]==="-"){for(ie+=3;ie<re.length;ie++)if(re[ie]==="-"&&re[ie+1]==="-"&&re[ie+2]===">"){ie+=2;break}}else if(re.length>ie+8&&re[ie+1]==="D"&&re[ie+2]==="O"&&re[ie+3]==="C"&&re[ie+4]==="T"&&re[ie+5]==="Y"&&re[ie+6]==="P"&&re[ie+7]==="E"){let ae=1;for(ie+=8;ie<re.length;ie++)if(re[ie]==="<")ae++;else if(re[ie]===">"&&(ae--,ae===0))break}else if(re.length>ie+9&&re[ie+1]==="["&&re[ie+2]==="C"&&re[ie+3]==="D"&&re[ie+4]==="A"&&re[ie+5]==="T"&&re[ie+6]==="A"&&re[ie+7]==="["){for(ie+=8;ie<re.length;ie++)if(re[ie]==="]"&&re[ie+1]==="]"&&re[ie+2]===">"){ie+=2;break}}return ie}const doubleQuote='"',singleQuote="'";function readAttributeStr(re,ie){let ae="",oe="",ue=!1;for(;ie<re.length;ie++){if(re[ie]===doubleQuote||re[ie]===singleQuote)oe===""?oe=re[ie]:oe!==re[ie]||(oe="");else if(re[ie]===">"&&oe===""){ue=!0;break}ae+=re[ie]}return oe!==""?!1:{value:ae,index:ie,tagClosed:ue}}const validAttrStrRegxp=new RegExp( ` ( \ \ s * ) ( [ ^ \ \ s = ] + ) ( \ \ s *= ) ? ( \ \ s * ( [ '"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(re,ie){const ae=util$3.getAllMatches(re,validAttrStrRegxp),oe={};for(let ue=0;ue<ae.length;ue++){if(ae[ue][1].length===0)return getErrorObject("InvalidAttr","Attribute ' "+ae[ue][2]+" ' has no space in starting.",getPositionFromMatch(ae[ue]));if(ae[ue][3]!==void 0&&ae[ue][4]===void 0)return getErrorObject("InvalidAttr","Attribute ' "+ae[ue][2]+" ' is without value.",getPositionFromMatch(ae[ue]));if(ae[ue][3]===void 0&&!ie.allowBooleanAttributes)return getErrorObject("InvalidAttr","boolean attribute ' "+ae[ue][2]+" ' is not allowed.",getPositionFromMatch(ae[ue]));const de=ae[ue][2];if(!validateAttrName(de))return getErrorObject("InvalidAttr","Attribute ' "+de+" ' is an invalid name.",getPositionFromMatch(ae[ue]));if(!oe.hasOwnProperty(de))oe[de]=1;else return getErrorObject("InvalidAttr","Attribute ' "+de+" ' is repeated . ",getPositionFromMatch(ae[ue]))}return!0}function validateNumberAmpersand(re,ie){let ae=/\d/;for(re[ie]===" x "&&(ie++,ae=/[\da-fA-F]/);ie<re.length;ie++){if(re[ie]===" ; ")return ie;if(!re[ie].match(ae))break}return-1}function validateAmpersand(re,ie){if(ie++,re[ie]===" ; ")return-1;if(re[ie]===" # ")return ie++,validateNumberAmpersand(re,ie);let ae=0;for(;ie<re.length;ie++,ae++)if(!(re[ie].match(/\w/)&&ae<20)){if(re[ie]===" ; ")break;return-1}return ie}function getErrorObject(re,ie,ae){return{err:{code:re,msg:ie,line:ae.line||ae,col:ae.col}}}function validateAttrName(re){return util$3.isName(re)}function validateTagName(re){return util$3.isName(re)}function getLineNumberForPosition(re,ie){const ae=re.substring(0,ie).split(/\r?\n/);return{line:ae.length,col:ae[ae.length-1].length+1}}function getPositionFromMatch(re){return re.startIndex+re[1].length}var OptionsBuilder={};const defaultOptions$1={preserveOrder:!1,attributeNamePrefix:" @ _ ",attributesGroupName:!1,textNodeName:" # text ",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(re,ie){return ie},attributeValueProcessor:function(re,ie){return ie},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(re,ie,ae){return re}},buildOptions$1=function(re){return Object.assign({},defaultOptions$1,re)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(ie){this.tagname=ie,this.child=[],this[" : @ "]={}}add(ie,ae){ie===" _ _proto _ _ "&&(ie=" # _ _proto _ _ " ) , this . child . push ( { [ ie ] : ae } ) } addChild ( ie )
` );const ie=new xmlNode("!xml");let ae=ie,oe="",ue="";for(let de=0;de<re.length;de++)if(re[de]==="<")if(re[de+1]==="/"){const _e=findClosingIndex(re,">",de,"Closing Tag is not closed.");let Ce=re.substring(de+2,_e).trim();if(this.options.removeNSPrefix){const Ie=Ce.indexOf(":");Ie!==-1&&(Ce=Ce.substr(Ie+1))}this.options.transformTagName&&(Ce=this.options.transformTagName(Ce)),ae&&(oe=this.saveTextToParentTag(oe,ae,ue));const Ne=ue.substring(ue.lastIndexOf(".")+1);if(Ce&&this.options.unpairedTags.indexOf(Ce)!==-1)throw new Error( ` Unpaired tag can not be used as closing tag : < /${Ce}>`);let Oe=0;Ne&&this.options.unpairedTags.indexOf(Ne)!==-1?(Oe=ue.lastIndexOf(".",ue.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Oe=ue.lastIndexOf("."),ue=ue.substring(0,Oe),ae=this.tagsNodeStack.pop(),oe="",de=_e}else if(re[de+1]==="?"){let _e=readTagExp(re,de,!1,"?>");if(!_e)throw new Error("Pi Tag is not closed.");if(oe=this.saveTextToParentTag(oe,ae,ue),!(this.options.ignoreDeclaration&&_e.tagName==="?xml"||this.options.ignorePiTags)){const Ce=new xmlNode(_e.tagName);Ce.add(this.options.textNodeName,""),_e.tagName!==_e.tagExp&&_e.attrExpPresent&&(Ce[":@"]=this.buildAttributesMap(_e.tagExp,ue,_e.tagName)),this.addChild(ae,Ce,ue)}de=_e.closeIndex+1}else if(re.substr(de+1,3)==="!--"){const _e=findClosingIndex(re,"-->",de+4,"Comment is not closed.");if(this.options.commentPropName){const Ce=re.substring(de+4,_e-2);oe=this.saveTextToParentTag(oe,ae,ue),ae.add(this.options.commentPropName,[{[this.options.textNodeName]:Ce}])}de=_e}else if(re.substr(de+1,2)==="!D"){const _e=readDocType(re,de);this.docTypeEntities=_e.entities,de=_e.i}else if(re.substr(de+1,2)==="!["){const _e=findClosingIndex(re,"]]>",de,"CDATA is not closed.")-2,Ce=re.substring(de+9,_e);oe=this.saveTextToParentTag(oe,ae,ue);let Ne=this.parseTextData(Ce,ae.tagname,ue,!0,!1,!0,!0);Ne==null&&(Ne=""),this.options.cdataPropName?ae.add(this.options.cdataPropName,[{[this.options.textNodeName]:Ce}]):ae.add(this.options.textNodeName,Ne),de=_e+2}else{let _e=readTagExp(re,de,this.options.removeNSPrefix),Ce=_e.tagName;const Ne=_e.rawTagName;let Oe=_e.tagExp,Ie=_e.attrExpPresent,Fe=_e.closeIndex;this.options.transformTagName&&(Ce=this.options.transformTagName(Ce)),ae&&oe&&ae.tagname!=="!xml"&&(oe=this.saveTextToParentTag(oe,ae,ue,!1));const Ue=ae;if(Ue&&this.options.unpairedTags.indexOf(Ue.tagname)!==-1&&(ae=this.tagsNodeStack.pop(),ue=ue.substring(0,ue.lastIndexOf("."))),Ce!==ie.tagname&&(ue+=ue?"."+Ce:Ce),this.isItStopNode(this.options.stopNodes,ue,Ce)){let Ve="";if(Oe.length>0&&Oe.lastIndexOf("/ ")===Oe.length-1)Ce[Ce.length-1]===" / "?(Ce=Ce.substr(0,Ce.length-1),ue=ue.substr(0,ue.length-1),Oe=Ce):Oe=Oe.substr(0,Oe.length-1),de=_e.closeIndex;else if(this.options.unpairedTags.indexOf(Ce)!==-1)de=_e.closeIndex;else{const jt=this.readStopNodeData(re,Ne,Fe+1);if(!jt)throw new Error(`Unexpected end of ${Ne}`);de=jt.i,Ve=jt.tagContent}const ze=new xmlNode(Ce);Ce!==Oe&&Ie&&(ze[" : @ "]=this.buildAttributesMap(Oe,ue,Ce)),Ve&&(Ve=this.parseTextData(Ve,Ce,ue,!0,Ie,!0,!0)),ue=ue.substr(0,ue.lastIndexOf(" . ")),ze.add(this.options.textNodeName,Ve),this.addChild(ae,ze,ue)}else{if(Oe.length>0&&Oe.lastIndexOf(" / ")===Oe.length-1){Ce[Ce.length-1]===" / "?(Ce=Ce.substr(0,Ce.length-1),ue=ue.substr(0,ue.length-1),Oe=Ce):Oe=Oe.substr(0,Oe.length-1),this.options.transformTagName&&(Ce=this.options.transformTagName(Ce));const Ve=new xmlNode(Ce);Ce!==Oe&&Ie&&(Ve[" : @ "]=this.buildAttributesMap(Oe,ue,Ce)),this.addChild(ae,Ve,ue),ue=ue.substr(0,ue.lastIndexOf(" . "))}else{const Ve=new xmlNode(Ce);this.tagsNodeStack.push(ae),Ce!==Oe&&Ie&&(Ve[" : @ "]=this.buildAttributesMap(Oe,ue,Ce)),this.addChild(ae,Ve,ue),ae=Ve}oe=" ",de=Fe}}else oe+=re[de];return ie.child};function addChild(re,ie,ae){const oe=this.options.updateTag(ie.tagname,ae,ie[" : @ "]);oe===!1||(typeof oe==" string " && ( ie . tagname = oe ) , re . addChild ( ie ) ) } const replaceEntitiesValue$1 = function ( re ) { if ( this . options . processEntities ) { for ( let ie in this . docTypeEntities ) { const ae = this . docTypeEntities [ ie ] ; re = re . replace ( ae . regx , ae . val ) } for ( let ie in this . lastEntities ) { const ae = this . lastEntit
` ;function toXml(re,ie){let ae="";return ie.format&&ie.indentBy.length>0&&(ae=EOL),arrToStr(re,ie,"",ae)}function arrToStr(re,ie,ae,oe){let ue="",de=!1;for(let pe=0;pe<re.length;pe++){const _e=re[pe],Ce=propName(_e);if(Ce===void 0)continue;let Ne="";if(ae.length===0?Ne=Ce:Ne= ` $ { ae } . $ { Ce } ` ,Ce===ie.textNodeName){let Ve=_e[Ce];isStopNode(Ne,ie)||(Ve=ie.tagValueProcessor(Ce,Ve),Ve=replaceEntitiesValue(Ve,ie)),de&&(ue+=oe),ue+=Ve,de=!1;continue}else if(Ce===ie.cdataPropName){de&&(ue+=oe),ue+= ` < ! [ CDATA [ $ { _e [ Ce ] [ 0 ] [ ie . textNodeName ] } ] ] > ` ,de=!1;continue}else if(Ce===ie.commentPropName){ue+=oe+ ` <!-- $ { _e [ Ce ] [ 0 ] [ ie . textNodeName ] } -- > ` ,de=!0;continue}else if(Ce[0]==="?"){const Ve=attr_to_str(_e[":@"],ie),ze=Ce==="?xml"?"":oe;let jt=_e[Ce][0][ie.textNodeName];jt=jt.length!==0?" "+jt:"",ue+=ze+ ` < $ { Ce } $ { jt } $ { Ve } ? > ` ,de=!0;continue}let Oe=oe;Oe!==""&&(Oe+=ie.indentBy);const Ie=attr_to_str(_e[":@"],ie),Fe=oe+ ` < $ { Ce } $ { Ie } ` ,Ue=arrToStr(_e[Ce],ie,Ne,Oe);ie.unpairedTags.indexOf(Ce)!==-1?ie.suppressUnpairedNode?ue+=Fe+">":ue+=Fe+"/>":(!Ue||Ue.length===0)&&ie.suppressEmptyNode?ue+=Fe+"/>":Ue&&Ue.endsWith(">")?ue+=Fe+ ` > $ { Ue } $ { oe } < /${Ce}>`:(ue+=Fe+">",Ue&&oe!==""&&(Ue.includes("/ > ")||Ue.includes(" < /"))?ue+=oe+ie.indentBy+Ue+oe:ue+=Ue,ue+=`</ $ { Ce } > ` ),de=!0}return ue}function propName(re){const ie=Object.keys(re);for(let ae=0;ae<ie.length;ae++){const oe=ie[ae];if(re.hasOwnProperty(oe)&&oe!==":@")return oe}}function attr_to_str(re,ie){let ae="";if(re&&!ie.ignoreAttributes)for(let oe in re){if(!re.hasOwnProperty(oe))continue;let ue=ie.attributeValueProcessor(oe,re[oe]);ue=replaceEntitiesValue(ue,ie),ue===!0&&ie.suppressBooleanAttributes?ae+= ` $ { oe . substr ( ie . attributeNamePrefix . length ) } ` :ae+= ` $ { oe . substr ( ie . attributeNamePrefix . length ) } = "${ue}" ` }return ae}function isStopNode(re,ie){re=re.substr(0,re.length-ie.textNodeName.length-1);let ae=re.substr(re.lastIndexOf(".")+1);for(let oe in ie.stopNodes)if(ie.stopNodes[oe]===re||ie.stopNodes[oe]==="*."+ae)return!0;return!1}function replaceEntitiesValue(re,ie){if(re&&re.length>0&&ie.processEntities)for(let ae=0;ae<ie.entities.length;ae++){const oe=ie.entities[ae];re=re.replace(oe.regex,oe.val)}return re}var orderedJs2Xml=toXml;const buildFromOrderedJs=orderedJs2Xml,defaultOptions={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(re,ie){return ie},attributeValueProcessor:function(re,ie){return ie},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(re){this.options=Object.assign({},defaultOptions,re),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute),this.processTextOrObjNode=processTextOrObjNode,this.options.format?(this.indentate=indentate,this.tagEndChar= ` >
` ,this.newLine= `
` ):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder.prototype.build=function(re){return this.options.preserveOrder?buildFromOrderedJs(re,this.options):(Array.isArray(re)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(re={[this.options.arrayNodeName]:re}),this.j2x(re,0).val)};Builder.prototype.j2x=function(re,ie){let ae="",oe="";for(let ue in re)if(Object.prototype.hasOwnProperty.call(re,ue))if(typeof re[ue]>"u")this.isAttribute(ue)&&(oe+="");else if(re[ue]===null)this.isAttribute(ue)?oe+="":ue[0]==="?"?oe+=this.indentate(ie)+"<"+ue+"?"+this.tagEndChar:oe+=this.indentate(ie)+"<"+ue+"/"+this.tagEndChar;else if(re[ue]instanceof Date)oe+=this.buildTextValNode(re[ue],ue,"",ie);else if(typeof re[ue]!="object"){const de=this.isAttribute(ue);if(de)ae+=this.buildAttrPairStr(de,""+re[ue]);else if(ue===this.options.textNodeName){let pe=this.options.tagValueProcessor(ue,""+re[ue]);oe+=this.replaceEntitiesValue(pe)}else oe+=this.buildTextValNode(re[ue],ue,"",ie)}else if(Array.isArray(re[ue])){const de=re[ue].length;let pe="",_e="";for(let Ce=0;Ce<de;Ce++){const Ne=re[ue][Ce];if(!(typeof Ne>"u"))if(Ne===null)ue[0]==="?"?oe+=this.indentate(ie)+"<"+ue+"?"+this.tagEndChar:oe+=this.indentate(ie)+"<"+ue+"/"+this.tagEndChar;else if(typeof Ne=="object")if(this.options.oneListGroup){const Oe=this.j2x(Ne,ie+1);pe+=Oe.val,this.options.attributesGroupName&&Ne.hasOwnProperty(this.options.attributesGroupName)&&(_e+=Oe.attrStr)}else pe+=this.processTextOrObjNode(Ne,ue,ie);else if(this.options.oneListGroup){let Oe=this.options.tagValueProcessor(ue,Ne);Oe=this.replaceEntitiesValue(Oe),pe+=Oe}else pe+=this.buildTextValNode(Ne,ue,"",ie)}this.options.oneListGroup&&(pe=this.buildObjectNode(pe,ue,_e,ie)),oe+=pe}else if(this.options.attributesGroupName&&ue===this.options.attributesGroupName){const de=Object.keys(re[ue]),pe=de.length;for(let _e=0;_e<pe;_e++)ae+=this.buildAttrPairStr(de[_e],""+re[ue][de[_e]])}else oe+=this.processTextOrObjNode(re[ue],ue,ie);return{attrStr:ae,val:oe}};Builder.prototype.buildAttrPairStr=function(re,ie){return ie=this.options.attributeValueProcessor(re,""+ie),ie=this.replaceEntitiesValue(ie),this.options.suppressBooleanAttributes&&ie==="true"?" "+re:" "+re+'="'+ie+'"'};function processTextOrObjNode(re,ie,ae){const oe=this.j2x(re,ae+1);return re[this.options.textNodeName]!==void 0&&Object.keys(re).length===1?this.buildTextValNode(re[this.options.textNodeName],ie,oe.attrStr,ae):this.buildObjectNode(oe.val,ie,oe.attrStr,ae)}Builder.prototype.buildObjectNode=function(re,ie,ae,oe){if(re==="")return ie[0]==="?"?this.indentate(oe)+"<"+ie+ae+"?"+this.tagEndChar:this.indentate(oe)+"<"+ie+ae+this.closeTag(ie)+this.tagEndChar;{let ue="</"+ie+this.tagEndChar,de="";return ie[0]==="?"&&(de="?",ue=""),(ae||ae==="")&&re.indexOf("<")===-1?this.indentate(oe)+"<"+ie+ae+de+">"+re+ue:this.options.commentPropName!==!1&&ie===this.options.commentPropName&&de.length===0?this.indentate(oe)+ ` <!-- $ { re } -- > ` +this.newLine:this.indentate(oe)+"<"+ie+ae+de+this.tagEndChar+re+this.indentate(oe)+ue}};Builder.prototype.closeTag=function(re){let ie="";return this.options.unpairedTags.indexOf(re)!==-1?this.options.suppressUnpairedNode||(ie="/"):this.options.suppressEmptyNode?ie="/":ie= ` > < /${re}`,ie};Builder.prototype.buildTextValNode=function(re,ie,ae,oe){if(this.options.cdataPropName!==!1&&ie===this.options.cdataPropName)return this.indentate(oe)+`<![CDATA[${re}]]>`+this.newLine;if(this.options.commentPropName!==!1&&ie===this.options.commentPropName)return this.indentate(oe)+`<!--${re}-->`+this.newLine;if(ie[0]==="?")return this.indentate(oe)+"<"+ie+ae+"?"+this.tagEndChar;{let ue=this.options.tagValueProcessor(ie,re);return ue=this.replaceEntitiesValue(ue),ue===""?this.indentate(oe)+"<"+ie+ae+this.closeTag(ie)+this.tagEndChar:this.indentate(oe)+"<"+ie+ae+">"+ue+"</ " + ie + this . tagEndChar } } ; Builder . prototype . replaceEntitiesValue = function ( re ) { if ( re && re . length > 0 && this . options . processEntities ) for ( let ie = 0 ; ie < this . options . entities . length ; ie ++ ) { const ae = this . options . entities [ ie ] ; re = re . replace ( ae . regex , ae . val ) } return re } ;
* mime - db
* Copyright ( c ) 2014 Jonathan Ong
* Copyright ( c ) 2015 - 2022 Douglas Christopher Wilson
* MIT Licensed
* /var mimeDb=require$$0;/ * !
* mime - types
* Copyright ( c ) 2014 Jonathan Ong
* Copyright ( c ) 2015 Douglas Christopher Wilson
* MIT Licensed
2024-08-29 16:46:41 +08:00
* /(function(re){var ie=mimeDb,ae=pathBrowserify.extname,oe=/ ^ \ s * ( [ ^ ; \ s ] * ) ( ? : ; | \ s | $ ) / , ue = /^text\//i ; re . charset = de , re . charsets = { lookup : de } , re . contentType = pe , re . extension = _e , re . extensions = Object . create ( null ) , re . lookup = Ce , re . types = Object . create ( null ) , Ne ( re . extensions , re . types ) ; function de ( Oe ) { if ( ! Oe || typeof Oe != "string" ) return ! 1 ; var Ie = oe . exec ( Oe ) , Fe = Ie && ie [ Ie [ 1 ] . toLowerCase ( ) ] ; return Fe && Fe . charset ? Fe . charset : Ie && ue . test ( Ie [ 1 ] ) ? "UTF-8" : ! 1 } function pe ( Oe ) { if ( ! Oe || typeof Oe != "string" ) return ! 1 ; var Ie = Oe . indexOf ( "/" ) === - 1 ? re . lookup ( Oe ) : Oe ; if ( ! Ie ) return ! 1 ; if ( Ie . indexOf ( "charset" ) === - 1 ) { var Fe = re . charset ( Ie ) ; Fe && ( Ie += "; charset=" + Fe . toLowerCase ( ) ) } return Ie } function _e ( Oe ) { if ( ! Oe || typeof Oe != "string" ) return ! 1 ; var Ie = oe . exec ( Oe ) , Fe = Ie && re . extensions [ Ie [ 1 ] . toLowerCase ( ) ] ; return ! Fe || ! Fe . length ? ! 1 : Fe [ 0 ] } function Ce ( Oe ) { if ( ! Oe || typeof Oe != "string" ) return ! 1 ; var Ie = ae ( "x." + Oe ) . toLowerCase ( ) . substr ( 1 ) ; return Ie && re . types [ Ie ] || ! 1 } function Ne ( Oe , Ie ) { var Fe = [ "nginx" , "apache" , void 0 , "iana" ] ; Object . keys ( ie ) . forEach ( function ( Ve ) { var ze = ie [ Ve ] , jt = ze . extensions ; if ( ! ( ! jt || ! jt . length ) ) { Oe [ Ve ] = jt ; for ( var kt = 0 ; kt < jt . length ; kt ++ ) { var Pt = jt [ kt ] ; if ( Ie [ Pt ] ) { var Et = Fe . indexOf ( ie [ Ie [ Pt ] ] . source ) , er = Fe . indexOf ( ze . source ) ; if ( Ie [ Pt ] !== "application/octet-stream" && ( Et > er || Et === er && Ie [ Pt ] . substr ( 0 , 12 ) === "application/" ) ) continue } Ie [ Pt ] = Ve } } } ) } } ) ( mimeTypes$1 ) ; let ENCRYPTION _TYPES = function ( re ) { return re . SSEC = "SSE-C" , re . KMS = "KMS" , re } ( { } ) , RETENTION _MODES = function ( re ) { return re . GOVERNANCE = "GOVERNANCE" , re . COMPLIANCE = "COMPLIANCE" , re } ( { } ) , RETENTION _VALIDITY _UNITS = function ( re ) { return re . DAYS = "Days" , re . YEARS = "Years" , re } ( { } ) , LEGAL _HOLD _STATUS = function ( re ) { return re . ENABLED = "ON" , re . DISABLED = "OFF" , re } ( { } ) ; const MetaDataHeaderPrefix = "x-amz-meta-" ; function uriEscape ( re ) { return re . split ( "" ) . reduce ( ( ie , ae ) => { const oe = Buffer$2 . from ( ae ) ; if ( oe . length === 1 && ( "A" <= ae && ae <= "Z" || "a" <= ae && ae <= "z" || "0" <= ae && ae <= "9" || ae === "_" || ae === "." || ae === "~" || ae === "-" ) ) return ie = ie + ae , ie ; for ( const ue of oe ) ie = ie + "%" + ue . toString ( 16 ) . toUpperCase ( ) ; return ie } , "" ) } function uriResourceEscape ( re ) { return uriEscape ( re ) . replace ( /%2F/g , "/" ) } function getScope ( re , ie , ae = "s3" ) { return ` ${ makeDateShort ( ie ) } / ${ re } / ${ ae } /aws4_request ` } function isAmazonEndpoint ( re ) { return re === "s3.amazonaws.com" || re === "s3.cn-north-1.amazonaws.com.cn" } function isVirtualHostStyle ( re , ie , ae , oe ) { return ie === "https:" && ae . includes ( "." ) ? ! 1 : isAmazonEndpoint ( re ) || ! oe } function isValidIP ( re ) { return ipaddr . isValid ( re ) } function isValidEndpoint ( re ) { return isValidDomain ( re ) || isValidIP ( re ) } function isValidDomain ( re ) { if ( ! isString$1 ( re ) || re . length === 0 || re . length > 255 || re [ 0 ] === "-" || re . slice ( - 1 ) === "-" || re [ 0 ] === "_" || re . slice ( - 1 ) === "_" || re [ 0 ] === "." ) return ! 1 ; const ie = "`~!@#$%^&*()+={}[]|\\\"';:><?/" ; for ( const ae of ie ) if ( re . includes ( ae ) ) return ! 1 ; return ! 0 } function probeContentType ( re ) { let ie = mimeTypes$1 . lookup ( re ) ; return ie || ( ie = "application/octet-stream" ) , ie } function isValidPort ( re ) { return isNumber$2 ( re ) ? 0 <= re && re <= 65535 : ! 1 } function isValidBucketName ( re ) { return ! isString$1 ( re ) || re . length < 3 || re . length > 63 || re . includes ( ".." ) || /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/ . test ( re ) ? ! 1 : ! ! /^[a-z0-9][a-z0-9.-]+[a-z0-9]$/ . test ( re ) } function isValidObjectName ( re ) { return isValidPrefix ( re ) ? re . length !== 0 : ! 1 } function isValidPrefix ( re ) { return ! ( ! isString$1 ( re ) || re . length > 1024 ) } function isNumber$2 ( re ) { return typeof re == "number" } function isFunction$1 ( re ) { return typeof re == "function" } function isString$1 ( re ) { return typeof re == "string" } function isObject$1 ( re ) { return typeof re == "object" && re !== null } function isReadableStream$1 ( re ) { return isObject$1 ( re ) && isFunction$1 ( re . _read ) } function isBoolean$1 ( re ) { return typeof re == "boolean" } function isEmpty ( re ) { return _ . isEmpty ( re ) } function isEmptyObject ( re ) { return Object . values ( re ) . filter ( ie => ie !== void 0 ) . length !== 0 } function isDefined ( re ) { return re != null } function isValidDate ( re ) { return re instanceof Date && ! isNaN ( re ) } function makeDateLong ( re ) { re = re || new Date ; const ie = re . toISOString ( ) ; return ie . slice ( 0 , 4 ) + ie . slice ( 5 , 7 ) + ie . slice ( 8 , 13 ) + ie . slice ( 14 , 16 ) + ie . slice ( 17 , 19 ) + "Z" } function makeDateShort ( re ) { re = re || new Date ; const ie = re . toISOString ( ) ; return ie . slice ( 0 , 4 ) + ie . sl
2024-08-27 22:31:52 +08:00
` )+ `
` ,oe.join(";").toLowerCase(),ue].join( `
` )}function getCredential(re,ie,ae,oe="s3"){if(!isString $ 1(re))throw new TypeError('accessKey should be of type "string"');if(!isString $ 1(ie))throw new TypeError('region should be of type "string"');if(!isObject $ 1(ae))throw new TypeError('requestDate should be of type "object"');return ` $ { re } / $ { getScope ( ie , ae , oe ) } ` }function getSignedHeaders(re){if(!isObject $ 1(re))throw new TypeError('request should be of type "object"');const ie=["authorization","content-length","content-type","user-agent"];return Object.keys(re).filter(ae=>!ie.includes(ae)).sort()}function getSigningKey(re,ie,ae,oe="s3"){if(!isObject $ 1(re))throw new TypeError('date should be of type "object"');if(!isString $ 1(ie))throw new TypeError('region should be of type "string"');if(!isString $ 1(ae))throw new TypeError('secretKey should be of type "string"');const ue=makeDateShort(re);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+ae).update(ue).digest()).update(ie).digest()).update(oe).digest()).update("aws4_request").digest()}function getStringToSign(re,ie,ae,oe="s3"){if(!isString $ 1(re))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject $ 1(ie))throw new TypeError('requestDate should be of type "object"');if(!isString $ 1(ae))throw new TypeError('region should be of type "string"');const ue=(void 0)("sha256").update(re).digest("hex"),de=getScope(ae,ie,oe);return[signV4Algorithm,makeDateLong(ie),de,ue].join( `
2024-08-29 16:46:41 +08:00
` )}function postPresignSignatureV4(re,ie,ae,oe){if(!isString $ 1(re))throw new TypeError('region should be of type "string"');if(!isObject $ 1(ie))throw new TypeError('date should be of type "object"');if(!isString $ 1(ae))throw new TypeError('secretKey should be of type "string"');if(!isString $ 1(oe))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(ie,re,ae)).update(oe).digest("hex").toLowerCase()}function signV4(re,ie,ae,oe,ue,de,pe="s3"){if(!isObject $ 1(re))throw new TypeError('request should be of type "object"');if(!isString $ 1(ie))throw new TypeError('accessKey should be of type "string"');if(!isString $ 1(ae))throw new TypeError('secretKey should be of type "string"');if(!isString $ 1(oe))throw new TypeError('region should be of type "string"');if(!ie)throw new AccessKeyRequiredError("accessKey is required for signing");if(!ae)throw new SecretKeyRequiredError("secretKey is required for signing");const _e=getSignedHeaders(re.headers),Ce=getCanonicalRequest(re.method,re.path,re.headers,_e,de),Ne=pe||"s3",Oe=getStringToSign(Ce,ue,oe,Ne),Ie=getSigningKey(ue,oe,ae,Ne),Fe=getCredential(ie,oe,ue,Ne),Ue=(void 0)("sha256",Ie).update(Oe).digest("hex").toLowerCase();return ` $ { signV4Algorithm } Credential = $ { Fe } , SignedHeaders = $ { _e . join ( ";" ) . toLowerCase ( ) } , Signature = $ { Ue } ` }function presignSignatureV4(re,ie,ae,oe,ue,de,pe){if(!isObject $ 1(re))throw new TypeError('request should be of type "object"');if(!isString $ 1(ie))throw new TypeError('accessKey should be of type "string"');if(!isString $ 1(ae))throw new TypeError('secretKey should be of type "string"');if(!isString $ 1(ue))throw new TypeError('region should be of type "string"');if(!ie)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!ae)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber $ 2(pe))throw new TypeError('expires should be of type "number"');if(pe<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(pe>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const _e=makeDateLong(de),Ce=getSignedHeaders(re.headers),Ne=getCredential(ie,ue,de),Oe="UNSIGNED-PAYLOAD",Ie=[];Ie.push( ` X - Amz - Algorithm = $ { signV4Algorithm } ` ),Ie.push( ` X - Amz - Credential = $ { uriEscape ( Ne ) } ` ),Ie.push( ` X - Amz - Date = $ { _e } ` ),Ie.push( ` X - Amz - Expires = $ { pe } ` ),Ie.push( ` X - Amz - SignedHeaders = $ { uriEscape ( Ce . join ( ";" ) . toLowerCase ( ) ) } ` ),oe&&Ie.push( ` X - Amz - Security - Token = $ { uriEscape ( oe ) } ` );const Fe=re.path.split("?")[0];let Ue=re.path.split("?")[1];Ue?Ue=Ue+"&"+Ie.join("&"):Ue=Ie.join("&");const Ve=Fe+"?"+Ue,ze=getCanonicalRequest(re.method,Ve,re.headers,Ce,Oe),jt=getStringToSign(ze,de,ue),Pt=(void 0)("sha256",getSigningKey(de,ue,ae)).update(jt).digest("hex").toLowerCase();return re.protocol+"//"+re.headers.host+Ve+ ` & X - Amz - Signature = $ { Pt } ` }async function readAsBuffer(re){return new Promise((ie,ae)=>{const oe=[];re.on("data",ue=>oe.push(ue)).on("error",ue=>ae(ue)).on("end",()=>ie(Buffer $ 2.concat(oe)))})}async function readAsString(re){return(await readAsBuffer(re)).toString()}async function drainResponse(re){return new Promise((ie,ae)=>{re.on("data",()=>{}).on("error",oe=>ae(oe)).on("end",()=>ie())})}function parseBucketRegion(re){return parseXml(re).LocationConstraint}const fxp=new fxp $ 2.XMLParser;function parseError(re,ie){let ae={};const oe=fxp.parse(re);oe.Error&&(ae=oe.Error);const ue=new S3Error;return Object.entries(ae).forEach(([de,pe])=>{ue[de.toLowerCase()]=pe}),Object.entries(ie).forEach(([de,pe])=>{ue[de]=pe}),ue}async function parseResponseError(re){const ie=re.statusCode;let ae,oe;ie===301?(ae="MovedPermanently",oe="Moved Permanently"):ie===307?(ae="TemporaryRedirect",oe="Are you using the correct endpoint URL?"):ie===403?(ae="AccessDenied",oe="Valid and authorized credentials required"):ie===404?(ae="NotFound",oe="Not Found"):ie===405||ie===501?(ae="MethodNotAllowed",oe="Method Not Allowed"):(ae="UnknownError",oe= ` $ { ie } ` );const ue={};ue.amzRequestid=re.headers["x-amz-request-id"],ue.amzId2=re.headers["x-amz-id-2"],ue.amzBucketRegion=re.headers["x-amz-bucket
2024-08-27 22:31:52 +08:00
` )}),ue.write( `
` )};if(ue.write( ` REQUEST : $ { ie . method } $ { ie . path }
` ),de(ie.headers),ae&&(this.logStream.write( ` RESPONSE : $ { ae . statusCode }
` ),de(ae.headers)),oe){ue.write( ` ERROR BODY :
` );const pe=JSON.stringify(oe,null," ");ue.write( ` $ { pe }
2024-08-29 16:46:41 +08:00
` )}}traceOn(ie){ie||(ie=define_process_default $ 3.stdout),this.logStream=ie}traceOff(){this.logStream=void 0}async makeRequestAsync(ie,ae="",oe=[200],ue=""){if(!isObject $ 1(ie))throw new TypeError('options should be of type "object"');if(!isString $ 1(ae)&&!isObject $ 1(ae))throw new TypeError('payload should be of type "string" or "Buffer"');if(oe.forEach(pe=>{if(!isNumber $ 2(pe))throw new TypeError('statusCode should be of type "number"')}),!isString $ 1(ue))throw new TypeError('region should be of type "string"');ie.headers||(ie.headers={}),(ie.method==="POST"||ie.method==="PUT"||ie.method==="DELETE")&&(ie.headers["content-length"]=ae.length.toString());const de=this.enableSHA256?toSha256(ae):"";return this.makeRequestStreamAsync(ie,ae,de,oe,ue)}async makeRequestAsyncOmit(ie,ae="",oe=[200],ue=""){const de=await this.makeRequestAsync(ie,ae,oe,ue);return await drainResponse(de),de}async makeRequestStreamAsync(ie,ae,oe,ue,de){if(!isObject $ 1(ie))throw new TypeError('options should be of type "object"');if(!(Buffer $ 2.isBuffer(ae)||typeof ae=="string"||isReadableStream $ 1(ae)))throw new InvalidArgumentError( ` stream should be a Buffer , string or readable Stream , got $ { typeof ae } instead ` );if(!isString $ 1(oe))throw new TypeError('sha256sum should be of type "string"');if(ue.forEach(Ce=>{if(!isNumber $ 2(Ce))throw new TypeError('statusCode should be of type "number"')}),!isString $ 1(de))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&oe.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&oe.length!==64)throw new InvalidArgumentError( ` Invalid sha256sum : $ { oe } ` );await this.checkAndRefreshCreds(),de=de||await this.getBucketRegionAsync(ie.bucketName);const pe=this.getRequestOptions({...ie,region:de});if(!this.anonymous){this.enableSHA256||(oe="UNSIGNED-PAYLOAD");const Ce=new Date;pe.headers["x-amz-date"]=makeDateLong(Ce),pe.headers["x-amz-content-sha256"]=oe,this.sessionToken&&(pe.headers["x-amz-security-token"]=this.sessionToken),pe.headers.authorization=signV4(pe,this.accessKey,this.secretKey,de,Ce,oe)}const _e=await request $ 1(this.transport,pe,ae);if(!_e.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ue.includes(_e.statusCode)){delete this.regionMap[ie.bucketName];const Ce=await parseResponseError(_e);throw this.logHTTP(pe,_e,Ce),Ce}return this.logHTTP(pe,_e),_e}async getBucketRegionAsync(ie){if(!isValidBucketName(ie))throw new InvalidBucketNameError( ` Invalid bucket name : $ { ie } ` );if(this.region)return this.region;const ae=this.regionMap[ie];if(ae)return ae;const oe=async Ne=>{const Oe=await readAsString(Ne),Ie=parseBucketRegion(Oe)||DEFAULT_REGION;return this.regionMap[ie]=Ie,Ie},ue="GET",de="location",pe=this.pathStyle&&!isBrowser_1;let _e;try{const Ne=await this.makeRequestAsync({method:ue,bucketName:ie,query:de,pathStyle:pe},"",[200],DEFAULT_REGION);return oe(Ne)}catch(Ne){if(Ne.name!=="AuthorizationHeaderMalformed"||(_e=Ne.Region,!_e))throw Ne}const Ce=await this.makeRequestAsync({method:ue,bucketName:ie,query:de,pathStyle:pe},"",[200],_e);return await oe(Ce)}makeRequest(ie,ae="",oe=[200],ue="",de,pe){let _e;de?_e=this.makeRequestAsync(ie,ae,oe,ue):_e=this.makeRequestAsyncOmit(ie,ae,oe,ue),_e.then(Ce=>pe(null,Ce),Ce=>{pe(Ce)})}makeRequestStream(ie,ae,oe,ue,de,pe,_e){(async()=>{const Ne=await this.makeRequestStreamAsync(ie,ae,oe,ue,de);return pe||await drainResponse(Ne),Ne})().then(Ne=>_e(null,Ne),Ne=>_e(Ne))}getBucketRegion(ie,ae){return this.getBucketRegionAsync(ie).then(oe=>ae(null,oe),oe=>ae(oe))}async removeBucket(ie){if(!isValidBucketName(ie))throw new InvalidBucketNameError("Invalid bucket name: "+ie);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:ie},"",[204]),delete this.regionMap[ie]}async statObject(ie,ae,oe={}){if(!isValidBucketName(ie))throw new InvalidBucketNameError("Invalid bucket name: "+ie);if(!isValidObjectName(ae))throw new InvalidObjectNameError( ` Invalid object name : $ { ae } ` );if(!isObject $ 1(oe))throw new InvalidArgumentError('statOpts should be of type "object"');const
2024-08-27 22:31:52 +08:00
` ).forEach(function(kt){if(kt){var Pt=kt.indexOf(":"),Et=kt.substr(0,Pt).trim().toLowerCase(),er=kt.substr(Pt+1).trim();ze[Et]=er}}),{error:Fe,statusCode:Ue.status,statusMessage:Ue.statusText,headers:ze,body:Ve}},Ne=function(Fe,Ue){return!Ue&&Ue==="text"?Fe.responseText:Fe.response},Oe=function(Fe,Ue){var Ve=(Fe.method||"GET").toUpperCase(),ze=Fe.url;if(Fe.qs){var jt=_e(Fe.qs);jt&&(ze+=(ze.indexOf("?")===-1?"?":"&")+jt)}var kt=new XMLHttpRequest;if(kt.open(Ve,ze,!0),kt.responseType=Fe.dataType||"text",Fe.xhrFields)for(var Pt in Fe.xhrFields)kt[Pt]=Fe.xhrFields[Pt];var Et=Fe.headers;if(Et)for(var er in Et)Et.hasOwnProperty(er)&&er.toLowerCase()!=="content-length"&&er.toLowerCase()!=="user-agent"&&er.toLowerCase()!=="origin"&&er.toLowerCase()!=="host"&&kt.setRequestHeader(er,Et[er]);return Fe.onProgress&&kt.upload&&(kt.upload.onprogress=Fe.onProgress),Fe.onDownloadProgress&&(kt.onprogress=Fe.onDownloadProgress),Fe.timeout&&(kt.timeout=Fe.timeout),kt.ontimeout=function(tr){var nr=new Error("timeout");Ue(Ce(nr,kt))},kt.onload=function(){Ue(Ce(null,kt,Ne(kt,Fe.dataType)))},kt.onerror=function(tr){var nr=Ne(kt,Fe.dataType);if(nr)Ue(Ce(null,kt,nr));else{var lr=kt.statusText;!lr&&kt.status===0&&(lr=new Error("CORS blocked or network error")),Ue(Ce(lr,kt,nr))}},kt.send(Fe.body||""),kt};ae.exports=Oe},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(ae,oe){function ue(de,pe){if(!(de instanceof pe))throw new TypeError("Cannot call a class as a function")}ae.exports=ue,ae.exports.__esModule=!0,ae.exports.default=ae.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(ae,oe,ue){var de=ue("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function pe(Ce,Ne){for(var Oe=0;Oe<Ne.length;Oe++){var Ie=Ne[Oe];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(Ce,de(Ie.key),Ie)}}function _e(Ce,Ne,Oe){return Ne&&pe(Ce.prototype,Ne),Oe&&pe(Ce,Oe),Object.defineProperty(Ce,"prototype",{writable:!1}),Ce}ae.exports=_e,ae.exports.__esModule=!0,ae.exports.default=ae.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(ae,oe,ue){var de=ue("./node_modules/@babel/runtime/helpers/typeof.js").default;function pe(_e,Ce){if(de(_e)!=="object"||_e===null)return _e;var Ne=_e[Symbol.toPrimitive];if(Ne!==void 0){var Oe=Ne.call(_e,Ce||"default");if(de(Oe)!=="object")return Oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ce==="string"?String:Number)(_e)}ae.exports=pe,ae.exports.__esModule=!0,ae.exports.default=ae.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(ae,oe,ue){var de=ue("./node_modules/@babel/runtime/helpers/typeof.js").default,pe=ue("./node_modules/@babel/runtime/helpers/toPrimitive.js");function _e(Ce){var Ne=pe(Ce,"string");return de(Ne)==="symbol"?Ne:String(Ne)}ae.exports=_e,ae.exports.__esModule=!0,ae.exports.default=ae.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(ae,oe){function ue(de){"@babel/helpers - typeof";return ae.exports=ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe},ae.exports.__esModule=!0,ae.exports.default=ae.exports,ue(de)}ae.exports=ue,ae.exports.__esModule=!0,ae.exports.default=ae.exports},"./node_modules/fast-xml-parser/src/fxp.js":function(ae,oe,ue){const de=ue("./node_modules/fast-xml-parser/src/validator.js"),pe=ue("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),_e=ue("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");ae.exports={XMLParser:pe,XMLValidator:de,XMLBuilder:_e}},"./node_modules/fast-xml-parser/src/util.js":function(ae,oe,ue){const de=":A-Za-z_ \\ u00C0- \\ u00D6 \\ u00D8- \\ u00F6 \\ u00F8- \\ u02FF \\ u0370- \\ u037D \\ u037F- \\ u1FFF \\ u200C- \\ u200D \\ u2070- \\ u218F \\ u2C00- \\ u2FEF \\ u3001- \\ uD7FF \\ uF900- \\ uFDCF \\ uFDF0- \\ uFFFD",pe=de+" \\ -. \\ d \\ u00B7 \\ u0300- \\ u036F \\ u203F- \\ u2040",_e="["+de+"]["+pe+"]*",Ce=new RegExp("^"+_e+" $ "),Ne=function(Ie,Fe){const Ue=[];l
` &&nr[sr]!==" \r ";sr++)_r+=nr[sr];if(_r=_r.trim(),_r[_r.length-1]==="/"&&(_r=_r.substring(0,_r.length-1),sr--),!Et(_r)){let Sr;return _r.trim().length===0?Sr="Invalid space after '<'.":Sr="Tag '"+_r+"' is an invalid name.",kt("InvalidTag",Sr,er(nr,sr))}const mr=Fe(nr,sr);if(mr===!1)return kt("InvalidAttr","Attributes for '"+_r+"' have open quote.",er(nr,sr));let Er=mr.value;if(sr=mr.index,Er[Er.length-1]==="/"){const Sr=sr-Er.length;Er=Er.substring(0,Er.length-1);const xr=Ve(Er,lr);if(xr===!0)ir=!0;else return kt(xr.err.code,xr.err.msg,er(nr,Sr+xr.err.line))}else if(fr)if(mr.tagClosed){if(Er.trim().length>0)return kt("InvalidTag","Closing tag '"+_r+"' can't have attributes or invalid starting.",er(nr,dr));if(cr.length===0)return kt("InvalidTag","Closing tag '"+_r+"' has not been opened.",er(nr,dr));{const Sr=cr.pop();if(_r!==Sr.tagName){let xr=er(nr,Sr.tagStartPos);return kt("InvalidTag","Expected closing tag '"+Sr.tagName+"' (opened in line "+xr.line+", col "+xr.col+") instead of closing tag '"+_r+"'.",er(nr,dr))}cr.length==0&&(ar=!0)}}else return kt("InvalidTag","Closing tag '"+_r+"' doesn't have proper closing.",er(nr,sr));else{const Sr=Ve(Er,lr);if(Sr!==!0)return kt(Sr.err.code,Sr.err.msg,er(nr,sr-Er.length+Sr.err.line));if(ar===!0)return kt("InvalidXml","Multiple possible root nodes found.",er(nr,sr));lr.unpairedTags.indexOf(_r)!==-1||cr.push({tagName:_r,tagStartPos:dr}),ir=!0}for(sr++;sr<nr.length;sr++)if(nr[sr]==="<")if(nr[sr+1]==="!"){sr++,sr=Ne(nr,sr);continue}else if(nr[sr+1]==="?"){if(sr=Ce(nr,++sr),sr.err)return sr}else break;else if(nr[sr]==="&"){const Sr=jt(nr,sr);if(Sr==-1)return kt("InvalidChar","char '&' is not expected.",er(nr,sr));sr=Sr}else if(ar===!0&&!_e(nr[sr]))return kt("InvalidXml","Extra text at the end",er(nr,sr));nr[sr]==="<"&&sr--}}else{if(_e(nr[sr]))continue;return kt("InvalidChar","char '"+nr[sr]+"' is not expected.",er(nr,sr))}if(ir){if(cr.length==1)return kt("InvalidTag","Unclosed tag '"+cr[0].tagName+"'.",er(nr,cr[0].tagStartPos));if(cr.length>0)return kt("InvalidXml","Invalid '"+JSON.stringify(cr.map(sr=>sr.tagName),null,4).replace(/ \r ? \n /g,"")+"' found.",{line:1,col:1})}else return kt("InvalidXml","Start tag expected.",1);return!0};function _e(nr){return nr===" "||nr===" "||nr=== `
` ||nr===" \r "}function Ce(nr,lr){const cr=lr;for(;lr<nr.length;lr++)if(nr[lr]=="?"||nr[lr]==" "){const ir=nr.substr(cr,lr-cr);if(lr>5&&ir==="xml")return kt("InvalidXml","XML declaration allowed only at the start of the document.",er(nr,lr));if(nr[lr]=="?"&&nr[lr+1]==">"){lr++;break}else continue}return lr}function Ne(nr,lr){if(nr.length>lr+5&&nr[lr+1]==="-"&&nr[lr+2]==="-"){for(lr+=3;lr<nr.length;lr++)if(nr[lr]==="-"&&nr[lr+1]==="-"&&nr[lr+2]===">"){lr+=2;break}}else if(nr.length>lr+8&&nr[lr+1]==="D"&&nr[lr+2]==="O"&&nr[lr+3]==="C"&&nr[lr+4]==="T"&&nr[lr+5]==="Y"&&nr[lr+6]==="P"&&nr[lr+7]==="E"){let cr=1;for(lr+=8;lr<nr.length;lr++)if(nr[lr]==="<")cr++;else if(nr[lr]===">"&&(cr--,cr===0))break}else if(nr.length>lr+9&&nr[lr+1]==="["&&nr[lr+2]==="C"&&nr[lr+3]==="D"&&nr[lr+4]==="A"&&nr[lr+5]==="T"&&nr[lr+6]==="A"&&nr[lr+7]==="["){for(lr+=8;lr<nr.length;lr++)if(nr[lr]==="]"&&nr[lr+1]==="]"&&nr[lr+2]===">"){lr+=2;break}}return lr}const Oe='"',Ie="'";function Fe(nr,lr){let cr="",ir="",ar=!1;for(;lr<nr.length;lr++){if(nr[lr]===Oe||nr[lr]===Ie)ir===""?ir=nr[lr]:ir!==nr[lr]||(ir="");else if(nr[lr]===">"&&ir===""){ar=!0;break}cr+=nr[lr]}return ir!==""?!1:{value:cr,index:lr,tagClosed:ar}}const Ue=new RegExp( ` ( \ \ s * ) ( [ ^ \ \ s = ] + ) ( \ \ s *= ) ? ( \ \ s * ( [ '"])(([\\s\\S])*?)\\5)?`,"g");function Ve(nr,lr){const cr=de.getAllMatches(nr,Ue),ir={};for(let ar=0;ar<cr.length;ar++){if(cr[ar][1].length===0)return kt("InvalidAttr","Attribute ' "+cr[ar][2]+" ' has no space in starting.",tr(cr[ar]));if(cr[ar][3]!==void 0&&cr[ar][4]===void 0)return kt("InvalidAttr","Attribute ' "+cr[ar][2]+" ' is without value.",tr(cr[ar]));if(cr[ar][3]===void 0&&!lr.allowBooleanAttributes)return kt("InvalidAttr","boolean attribute ' "+cr[ar][2]+" ' is not allowed.",tr(cr[ar]));const sr=cr[ar][2];if(!Pt(sr))return kt("InvalidAttr","Attribute ' "+sr+" ' is an invalid name.",tr(cr[ar]));if(!ir.hasOwnProperty(sr))ir[sr]=1;else return kt("InvalidAttr","Attribute ' "+sr+" ' is repeated.",tr(cr[ar]))}return!0}function ze(nr,lr){let cr=/\d/;for(nr[lr]==="x"&&(lr++,cr=/[\da-fA-F]/);lr<nr.length;lr++){if(nr[lr]===";")return lr;if(!nr[lr].match(cr))break}return-1}function jt(nr,lr){if(lr++,nr[lr]===";")return-1;if(nr[lr]==="#")return lr++,ze(nr,lr);let cr=0;for(;lr<nr.length;lr++,cr++)if(!(nr[lr].match(/\w/)&&cr<20)){if(nr[lr]===";")break;return-1}return lr}function kt(nr,lr,cr){return{err:{code:nr,msg:lr,line:cr.line||cr,col:cr.col}}}function Pt(nr){return de.isName(nr)}function Et(nr){return de.isName(nr)}function er(nr,lr){const cr=nr.substring(0,lr).split(/\r?\n/);return{line:cr.length,col:cr[cr.length-1].length+1}}function tr(nr){return nr.startIndex+nr[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":function(ae,oe,ue){const de=ue("./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),pe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ie,Fe){return Fe},attributeValueProcessor:function(Ie,Fe){return Fe},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("' "," g "),val:" & apos ; "},{regex:new RegExp('" ' , "g" ) , val : """ } ] , processEntities : ! 0 , stopNodes : [ ] , oneListGroup : ! 1 } ; function _e ( Ie ) { this . options = Object . assign ( { } , pe , Ie ) , this . options . ignoreAttributes || this . options . attributesGroupName ? this . isAttribute = function ( ) { return ! 1 } : ( this . attrPrefixLen = this . options . attributeNamePrefix . length , this . isAttribute = Oe ) , this . processTextOrObjNode = Ce , this . options . format ? ( this . indentate = Ne , this . tagEndChar = ` >
` ,this.newLine= `
` ):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}_e.prototype.build=function(Ie){return this.options.preserveOrder?de(Ie,this.options):(Array.isArray(Ie)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ie={[this.options.arrayNodeName]:Ie}),this.j2x(Ie,0).val)},_e.prototype.j2x=function(Ie,Fe){let Ue="",Ve="";for(let ze in Ie)if(Object.prototype.hasOwnProperty.call(Ie,ze))if(typeof Ie[ze]>"u")this.isAttribute(ze)&&(Ve+="");else if(Ie[ze]===null)this.isAttribute(ze)?Ve+="":ze[0]==="?"?Ve+=this.indentate(Fe)+"<"+ze+"?"+this.tagEndChar:Ve+=this.indentate(Fe)+"<"+ze+"/"+this.tagEndChar;else if(Ie[ze]instanceof Date)Ve+=this.buildTextValNode(Ie[ze],ze,"",Fe);else if(typeof Ie[ze]!="object"){const jt=this.isAttribute(ze);if(jt)Ue+=this.buildAttrPairStr(jt,""+Ie[ze]);else if(ze===this.options.textNodeName){let kt=this.options.tagValueProcessor(ze,""+Ie[ze]);Ve+=this.replaceEntitiesValue(kt)}else Ve+=this.buildTextValNode(Ie[ze],ze,"",Fe)}else if(Array.isArray(Ie[ze])){const jt=Ie[ze].length;let kt="";for(let Pt=0;Pt<jt;Pt++){const Et=Ie[ze][Pt];typeof Et>"u"||(Et===null?ze[0]==="?"?Ve+=this.indentate(Fe)+"<"+ze+"?"+this.tagEndChar:Ve+=this.indentate(Fe)+"<"+ze+"/"+this.tagEndChar:typeof Et=="object"?this.options.oneListGroup?kt+=this.j2x(Et,Fe+1).val:kt+=this.processTextOrObjNode(Et,ze,Fe):kt+=this.buildTextValNode(Et,ze,"",Fe))}this.options.oneListGroup&&(kt=this.buildObjectNode(kt,ze,"",Fe)),Ve+=kt}else if(this.options.attributesGroupName&&ze===this.options.attributesGroupName){const jt=Object.keys(Ie[ze]),kt=jt.length;for(let Pt=0;Pt<kt;Pt++)Ue+=this.buildAttrPairStr(jt[Pt],""+Ie[ze][jt[Pt]])}else Ve+=this.processTextOrObjNode(Ie[ze],ze,Fe);return{attrStr:Ue,val:Ve}},_e.prototype.buildAttrPairStr=function(Ie,Fe){return Fe=this.options.attributeValueProcessor(Ie,""+Fe),Fe=this.replaceEntitiesValue(Fe),this.options.suppressBooleanAttributes&&Fe==="true"?" "+Ie:" "+Ie+'="'+Fe+'"'};function Ce(Ie,Fe,Ue){const Ve=this.j2x(Ie,Ue+1);return Ie[this.options.textNodeName]!==void 0&&Object.keys(Ie).length===1?this.buildTextValNode(Ie[this.options.textNodeName],Fe,Ve.attrStr,Ue):this.buildObjectNode(Ve.val,Fe,Ve.attrStr,Ue)}_e.prototype.buildObjectNode=function(Ie,Fe,Ue,Ve){if(Ie==="")return Fe[0]==="?"?this.indentate(Ve)+"<"+Fe+Ue+"?"+this.tagEndChar:this.indentate(Ve)+"<"+Fe+Ue+this.closeTag(Fe)+this.tagEndChar;{let ze="</"+Fe+this.tagEndChar,jt="";return Fe[0]==="?"&&(jt="?",ze=""),(Ue||Ue==="")&&Ie.indexOf("<")===-1?this.indentate(Ve)+"<"+Fe+Ue+jt+">"+Ie+ze:this.options.commentPropName!==!1&&Fe===this.options.commentPropName&&jt.length===0?this.indentate(Ve)+ ` <!-- $ { Ie } -- > ` +this.newLine:this.indentate(Ve)+"<"+Fe+Ue+jt+this.tagEndChar+Ie+this.indentate(Ve)+ze}},_e.prototype.closeTag=function(Ie){let Fe="";return this.options.unpairedTags.indexOf(Ie)!==-1?this.options.suppressUnpairedNode||(Fe="/"):this.options.suppressEmptyNode?Fe="/":Fe= ` > < /${Ie}`,Fe},_e.prototype.buildTextValNode=function(Ie,Fe,Ue,Ve){if(this.options.cdataPropName!==!1&&Fe===this.options.cdataPropName)return this.indentate(Ve)+`<![CDATA[${Ie}]]>`+this.newLine;if(this.options.commentPropName!==!1&&Fe===this.options.commentPropName)return this.indentate(Ve)+`<!--${Ie}-->`+this.newLine;if(Fe[0]==="?")return this.indentate(Ve)+"<"+Fe+Ue+"?"+this.tagEndChar;{let ze=this.options.tagValueProcessor(Fe,Ie);return ze=this.replaceEntitiesValue(ze),ze===""?this.indentate(Ve)+"<"+Fe+Ue+this.closeTag(Fe)+this.tagEndChar:this.indentate(Ve)+"<"+Fe+Ue+">"+ze+"</ "+Fe+this.tagEndChar}},_e.prototype.replaceEntitiesValue=function(Ie){if(Ie&&Ie.length>0&&this.options.processEntities)for(let Fe=0;Fe<this.options.entities.length;Fe++){const Ue=this.options.entities[Fe];Ie=Ie.replace(Ue.regex,Ue.val)}return Ie};function Ne(Ie){return this.options.indentBy.repeat(Ie)}function Oe(Ie){return Ie.startsWith(this.options.attributeNamePrefix)&&Ie!==this.options.textNodeName?Ie.substr(this.attrPrefixLen):!1}ae.exports=_e}," . / node _modules / fast - xml - parser / src / xmlbuilder / orderedJs2Xml . js " : function ( ae , oe ) { const ue = `
` ;function de(Ie,Fe){let Ue="";return Fe.format&&Fe.indentBy.length>0&&(Ue=ue),pe(Ie,Fe,"",Ue)}function pe(Ie,Fe,Ue,Ve){let ze="",jt=!1;for(let kt=0;kt<Ie.length;kt++){const Pt=Ie[kt],Et=_e(Pt);if(Et===void 0)continue;let er="";if(Ue.length===0?er=Et:er= ` $ { Ue } . $ { Et } ` ,Et===Fe.textNodeName){let ir=Pt[Et];Ne(er,Fe)||(ir=Fe.tagValueProcessor(Et,ir),ir=Oe(ir,Fe)),jt&&(ze+=Ve),ze+=ir,jt=!1;continue}else if(Et===Fe.cdataPropName){jt&&(ze+=Ve),ze+= ` < ! [ CDATA [ $ { Pt [ Et ] [ 0 ] [ Fe . textNodeName ] } ] ] > ` ,jt=!1;continue}else if(Et===Fe.commentPropName){ze+=Ve+ ` <!-- $ { Pt [ Et ] [ 0 ] [ Fe . textNodeName ] } -- > ` ,jt=!0;continue}else if(Et[0]==="?"){const ir=Ce(Pt[":@"],Fe),ar=Et==="?xml"?"":Ve;let sr=Pt[Et][0][Fe.textNodeName];sr=sr.length!==0?" "+sr:"",ze+=ar+ ` < $ { Et } $ { sr } $ { ir } ? > ` ,jt=!0;continue}let tr=Ve;tr!==""&&(tr+=Fe.indentBy);const nr=Ce(Pt[":@"],Fe),lr=Ve+ ` < $ { Et } $ { nr } ` ,cr=pe(Pt[Et],Fe,er,tr);Fe.unpairedTags.indexOf(Et)!==-1?Fe.suppressUnpairedNode?ze+=lr+">":ze+=lr+"/>":(!cr||cr.length===0)&&Fe.suppressEmptyNode?ze+=lr+"/>":cr&&cr.endsWith(">")?ze+=lr+ ` > $ { cr } $ { Ve } < /${Et}>`:(ze+=lr+">",cr&&Ve!==""&&(cr.includes("/ > ")||cr.includes(" < /"))?ze+=Ve+Fe.indentBy+cr+Ve:ze+=cr,ze+=`</ $ { Et } > ` ),jt=!0}return ze}function _e(Ie){const Fe=Object.keys(Ie);for(let Ue=0;Ue<Fe.length;Ue++){const Ve=Fe[Ue];if(Ie.hasOwnProperty(Ve)&&Ve!==":@")return Ve}}function Ce(Ie,Fe){let Ue="";if(Ie&&!Fe.ignoreAttributes)for(let Ve in Ie){if(!Ie.hasOwnProperty(Ve))continue;let ze=Fe.attributeValueProcessor(Ve,Ie[Ve]);ze=Oe(ze,Fe),ze===!0&&Fe.suppressBooleanAttributes?Ue+= ` $ { Ve . substr ( Fe . attributeNamePrefix . length ) } ` :Ue+= ` $ { Ve . substr ( Fe . attributeNamePrefix . length ) } = "${ze}" ` }return Ue}function Ne(Ie,Fe){Ie=Ie.substr(0,Ie.length-Fe.textNodeName.length-1);let Ue=Ie.substr(Ie.lastIndexOf(".")+1);for(let Ve in Fe.stopNodes)if(Fe.stopNodes[Ve]===Ie||Fe.stopNodes[Ve]==="*."+Ue)return!0;return!1}function Oe(Ie,Fe){if(Ie&&Ie.length>0&&Fe.processEntities)for(let Ue=0;Ue<Fe.entities.length;Ue++){const Ve=Fe.entities[Ue];Ie=Ie.replace(Ve.regex,Ve.val)}return Ie}ae.exports=de},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":function(ae,oe,ue){const de=ue("./node_modules/fast-xml-parser/src/util.js");function pe(Ve,ze){const jt={};if(Ve[ze+3]==="O"&&Ve[ze+4]==="C"&&Ve[ze+5]==="T"&&Ve[ze+6]==="Y"&&Ve[ze+7]==="P"&&Ve[ze+8]==="E"){ze=ze+9;let kt=1,Pt=!1,Et=!1,er="";for(;ze<Ve.length;ze++)if(Ve[ze]==="<"&&!Et){if(Pt&&Ne(Ve,ze))ze+=7,[entityName,val,ze]=_e(Ve,ze+1),val.indexOf("&")===-1&&(jt[Ue(entityName)]={regx:RegExp( ` & $ { entityName } ; ` ,"g"),val});else if(Pt&&Oe(Ve,ze))ze+=8;else if(Pt&&Ie(Ve,ze))ze+=8;else if(Pt&&Fe(Ve,ze))ze+=9;else if(Ce)Et=!0;else throw new Error("Invalid DOCTYPE");kt++,er=""}else if(Ve[ze]===">"){if(Et?Ve[ze-1]==="-"&&Ve[ze-2]==="-"&&(Et=!1,kt--):kt--,kt===0)break}else Ve[ze]==="["?Pt=!0:er+=Ve[ze];if(kt!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:jt,i:ze}}function _e(Ve,ze){let jt="";for(;ze<Ve.length&&Ve[ze]!=="'"&&Ve[ze]!=='"';ze++)jt+=Ve[ze];if(jt=jt.trim(),jt.indexOf(" ")!==-1)throw new Error("External entites are not supported");const kt=Ve[ze++];let Pt="";for(;ze<Ve.length&&Ve[ze]!==kt;ze++)Pt+=Ve[ze];return[jt,Pt,ze]}function Ce(Ve,ze){return Ve[ze+1]==="!"&&Ve[ze+2]==="-"&&Ve[ze+3]==="-"}function Ne(Ve,ze){return Ve[ze+1]==="!"&&Ve[ze+2]==="E"&&Ve[ze+3]==="N"&&Ve[ze+4]==="T"&&Ve[ze+5]==="I"&&Ve[ze+6]==="T"&&Ve[ze+7]==="Y"}function Oe(Ve,ze){return Ve[ze+1]==="!"&&Ve[ze+2]==="E"&&Ve[ze+3]==="L"&&Ve[ze+4]==="E"&&Ve[ze+5]==="M"&&Ve[ze+6]==="E"&&Ve[ze+7]==="N"&&Ve[ze+8]==="T"}function Ie(Ve,ze){return Ve[ze+1]==="!"&&Ve[ze+2]==="A"&&Ve[ze+3]==="T"&&Ve[ze+4]==="T"&&Ve[ze+5]==="L"&&Ve[ze+6]==="I"&&Ve[ze+7]==="S"&&Ve[ze+8]==="T"}function Fe(Ve,ze){return Ve[ze+1]==="!"&&Ve[ze+2]==="N"&&Ve[ze+3]==="O"&&Ve[ze+4]==="T"&&Ve[ze+5]==="A"&&Ve[ze+6]==="T"&&Ve[ze+7]==="I"&&Ve[ze+8]==="O"&&Ve[ze+9]==="N"}function Ue(Ve){if(de.isName(Ve))return Ve;throw new Error( ` Invalid entity name $ { Ve } ` )}ae.exports=pe},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":function(ae,oe){const ue={preserveOrd
` );const ar=new pe("!xml");let sr=ar,dr="",fr="";for(let _r=0;_r<ir.length;_r++)if(ir[_r]==="<")if(ir[_r+1]==="/"){const Er=tr(ir,">",_r,"Closing Tag is not closed.");let Sr=ir.substring(_r+2,Er).trim();if(this.options.removeNSPrefix){const Rr=Sr.indexOf(":");Rr!==-1&&(Sr=Sr.substr(Rr+1))}this.options.transformTagName&&(Sr=this.options.transformTagName(Sr)),sr&&(dr=this.saveTextToParentTag(dr,sr,fr));const xr=fr.substring(fr.lastIndexOf(".")+1);if(Sr&&this.options.unpairedTags.indexOf(Sr)!==-1)throw new Error( ` Unpaired tag can not be used as closing tag : < /${Sr}>`);let Nr=0;xr&&this.options.unpairedTags.indexOf(xr)!==-1?(Nr=fr.lastIndexOf(".",fr.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Nr=fr.lastIndexOf("."),fr=fr.substring(0,Nr),sr=this.tagsNodeStack.pop(),dr="",_r=Er}else if(ir[_r+1]==="?"){let Er=nr(ir,_r,!1,"?>");if(!Er)throw new Error("Pi Tag is not closed.");if(dr=this.saveTextToParentTag(dr,sr,fr),!(this.options.ignoreDeclaration&&Er.tagName==="?xml"||this.options.ignorePiTags)){const Sr=new pe(Er.tagName);Sr.add(this.options.textNodeName,""),Er.tagName!==Er.tagExp&&Er.attrExpPresent&&(Sr[":@"]=this.buildAttributesMap(Er.tagExp,fr,Er.tagName)),this.addChild(sr,Sr,fr)}_r=Er.closeIndex+1}else if(ir.substr(_r+1,3)==="!--"){const Er=tr(ir,"-->",_r+4,"Comment is not closed.");if(this.options.commentPropName){const Sr=ir.substring(_r+4,Er-2);dr=this.saveTextToParentTag(dr,sr,fr),sr.add(this.options.commentPropName,[{[this.options.textNodeName]:Sr}])}_r=Er}else if(ir.substr(_r+1,2)==="!D"){const Er=_e(ir,_r);this.docTypeEntities=Er.entities,_r=Er.i}else if(ir.substr(_r+1,2)==="!["){const Er=tr(ir,"]]>",_r,"CDATA is not closed.")-2,Sr=ir.substring(_r+9,Er);dr=this.saveTextToParentTag(dr,sr,fr);let xr=this.parseTextData(Sr,sr.tagname,fr,!0,!1,!0,!0);xr==null&&(xr=""),this.options.cdataPropName?sr.add(this.options.cdataPropName,[{[this.options.textNodeName]:Sr}]):sr.add(this.options.textNodeName,xr),_r=Er+2}else{let Er=nr(ir,_r,this.options.removeNSPrefix),Sr=Er.tagName;const xr=Er.rawTagName;let Nr=Er.tagExp,Rr=Er.attrExpPresent,Vr=Er.closeIndex;this.options.transformTagName&&(Sr=this.options.transformTagName(Sr)),sr&&dr&&sr.tagname!=="!xml"&&(dr=this.saveTextToParentTag(dr,sr,fr,!1));const Fr=sr;if(Fr&&this.options.unpairedTags.indexOf(Fr.tagname)!==-1&&(sr=this.tagsNodeStack.pop(),fr=fr.substring(0,fr.lastIndexOf("."))),Sr!==ar.tagname&&(fr+=fr?"."+Sr:Sr),this.isItStopNode(this.options.stopNodes,fr,Sr)){let Ir="";if(Nr.length>0&&Nr.lastIndexOf("/ ")===Nr.length-1)Sr[Sr.length-1]===" / "?(Sr=Sr.substr(0,Sr.length-1),fr=fr.substr(0,fr.length-1),Nr=Sr):Nr=Nr.substr(0,Nr.length-1),_r=Er.closeIndex;else if(this.options.unpairedTags.indexOf(Sr)!==-1)_r=Er.closeIndex;else{const qr=this.readStopNodeData(ir,xr,Vr+1);if(!qr)throw new Error(`Unexpected end of ${xr}`);_r=qr.i,Ir=qr.tagContent}const kr=new pe(Sr);Sr!==Nr&&Rr&&(kr[" : @ "]=this.buildAttributesMap(Nr,fr,Sr)),Ir&&(Ir=this.parseTextData(Ir,Sr,fr,!0,Rr,!0,!0)),fr=fr.substr(0,fr.lastIndexOf(" . ")),kr.add(this.options.textNodeName,Ir),this.addChild(sr,kr,fr)}else{if(Nr.length>0&&Nr.lastIndexOf(" / ")===Nr.length-1){Sr[Sr.length-1]===" / "?(Sr=Sr.substr(0,Sr.length-1),fr=fr.substr(0,fr.length-1),Nr=Sr):Nr=Nr.substr(0,Nr.length-1),this.options.transformTagName&&(Sr=this.options.transformTagName(Sr));const Ir=new pe(Sr);Sr!==Nr&&Rr&&(Ir[" : @ "]=this.buildAttributesMap(Nr,fr,Sr)),this.addChild(sr,Ir,fr),fr=fr.substr(0,fr.lastIndexOf(" . "))}else{const Ir=new pe(Sr);this.tagsNodeStack.push(sr),Sr!==Nr&&Rr&&(Ir[" : @ "]=this.buildAttributesMap(Nr,fr,Sr)),this.addChild(sr,Ir,fr),sr=Ir}dr=" ",_r=Vr}}else dr+=ir[_r];return ar.child};function jt(ir,ar,sr){const dr=this.options.updateTag(ar.tagname,sr,ar[" : @ "]);dr===!1||(typeof dr==" string " && ( ar . tagname = dr ) , ir . addChild ( ar ) ) } const kt = function ( ir ) { if ( this . options . processEntities ) { for ( let ar in this . docTypeEntities ) { const sr = this . docTypeEntities [ ar ] ; ir = ir . replace ( sr . regx , sr . val ) } for ( let ar in this . lastEntities ) { const sr = this . lastEntities [ ar ] ; ir = ir . replace ( sr . regex , sr . val ) } if ( this . options . htmlEntities ) for ( let ar in this . htmlEntities ) { const sr = this . htm
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var Ea=!0,ro=!1,Oo;return{s:function(){Wn=Wn.call(En)},n:function(){var da=Wn.next();return Ea=da.done,da},e:function(da){ro=!0,Oo=da},f:function(){try{!Ea&&Wn.return!=null&&Wn.return()}finally{if(ro)throw Oo}}}}function Ce(En,Ur){if(En){if(typeof En=="string")return Ne(En,Ur);var Wn=Object.prototype.toString.call(En).slice(8,-1);if(Wn==="Object"&&En.constructor&&(Wn=En.constructor.name),Wn==="Map"||Wn==="Set")return Array.from(En);if(Wn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(Wn))return Ne(En,Ur)}}function Ne(En,Ur){(Ur==null||Ur>En.length)&&(Ur=En.length);for(var Wn=0,Kn=new Array(Ur);Wn<Ur;Wn++)Kn[Wn]=En[Wn];return Kn}var Oe=ue("./lib/md5.js"),Ie=ue("./lib/crypto.js"),Fe=ue("./node_modules/fast-xml-parser/src/fxp.js"),Ue=Fe.XMLParser,Ve=Fe.XMLBuilder,ze=new Ue({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),jt=new Ve,kt=ue("./lib/base64.js"),Pt=ue("./src/tracker.js"),Et=function(Ur){var Wn=ze.parse(Ur);return Wn},er=function(Ur){var Wn=jt.build(Ur);return Wn};function tr(En){return encodeURIComponent(En).replace(/!/g,"%21").replace(/'/g,"%27").replace(/ \( /g,"%28").replace(/ \) /g,"%29").replace(/ \* /g,"%2A")}function nr(En,Ur){var Wn=[];for(var Kn in En)En.hasOwnProperty(Kn)&&Wn.push(Ur?tr(Kn).toLowerCase():Kn);return Wn.sort(function(Ra,Ea){return Ra=Ra.toLowerCase(),Ea=Ea.toLowerCase(),Ra===Ea?0:Ra>Ea?1:-1})}var lr=function(Ur,Wn){var Kn,Ra,Ea,ro=[],Oo=nr(Ur);for(Kn=0;Kn<Oo.length;Kn++)Ra=Oo[Kn],Ea=Ur[Ra]===void 0||Ur[Ra]===null?"":""+Ur[Ra],Ra=Wn?tr(Ra).toLowerCase():tr(Ra),Ea=tr(Ea)||"",ro.push(Ra+"="+Ea);return ro.join("&")},cr=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding","pic-operations"],ir=function(Ur){var Wn={};for(var Kn in Ur){var Ra=Kn.toLowerCase();(Ra.indexOf("x-cos-")>-1||cr.indexOf(Ra)>-1)&&(Wn[Kn]=Ur[Kn])}return Wn},ar=function(Ur){Ur=Ur||{};var Wn=Ur.SecretId,Kn=Ur.SecretKey,Ra=Ur.KeyTime,Ea=(Ur.method||Ur.Method||"get").toLowerCase(),ro=Ir(Ur.Query||Ur.params||{}),Oo=ir(Ir(Ur.Headers||Ur.headers||{})),ra=Ur.Key||"",da;Ur.UseRawKey?da=Ur.Pathname||Ur.pathname||"/"+ra:(da=Ur.Pathname||Ur.pathname||ra,da.indexOf("/")!==0&&(da="/"+da));var Ka=Ur.ForceSignHost!==!1;if(!Oo.Host&&!Oo.host&&Ur.Bucket&&Ur.Region&&Ka&&(Oo.Host=Ur.Bucket+".cos."+Ur.Region+".myqcloud.com"),!Wn)throw new Error("missing param SecretId");if(!Kn)throw new Error("missing param SecretKey");var xs=Math.round(zr(Ur.SystemClockOffset)/1e3)-1,_s=xs,kl=Ur.Expires||Ur.expires;kl===void 0?_s+=900:_s+=kl*1||0;var Yl="sha1",Ac=Wn,Ms=Ra||xs+";"+_s,zc=Ra||xs+";"+_s,Fc=nr(Oo,!0).join(";").toLowerCase(), $ u=nr(ro,!0).join(";").toLowerCase(),xu=Ie.HmacSHA1(zc,Kn).toString(),Su=[Ea,da,hi.obj2str(ro,!0),hi.obj2str(Oo,!0),""].join( `
` ),Vl=["sha1",Ms,Ie.SHA1(Su).toString(),""].join( `
2024-08-29 16:46:41 +08:00
` ),Es=Ie.HmacSHA1(Vl,xu).toString(), $ s=["q-sign-algorithm="+Yl,"q-ak="+Ac,"q-sign-time="+Ms,"q-key-time="+zc,"q-header-list="+Fc,"q-url-param-list="+ $ u,"q-signature="+Es].join("&");return $ s},sr=function(Ur,Wn,Kn){var Ra=Wn/8,Ea=Ur.slice(Kn,Kn+Ra);return new Uint8Array(Ea).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[Wn](Ea)[0]},dr=function(Ur,Wn,Kn,Ra){var Ea=Ur.slice(Wn,Kn),ro="";return new Uint8Array(Ea).forEach(function(Oo){ro+=String.fromCharCode(Oo)}),Ra&&(ro=decodeURIComponent(escape(ro))),ro},fr=function(Ur){for(var Wn={},Kn=dr(Ur),Ra={records:[]};Ur.byteLength;){var Ea=sr(Ur,32,0),ro=sr(Ur,32,4),Oo=Ea-ro-16,ra=0,da;for(Ur=Ur.slice(12);ra<ro;){var Ka=sr(Ur,8,ra),xs=dr(Ur,ra+1,ra+1+Ka),_s=sr(Ur,16,ra+Ka+2),kl=dr(Ur,ra+Ka+4,ra+Ka+4+_s);Wn[xs]=kl,ra+=Ka+4+_s}if(Wn[":event-type"]==="Records")da=dr(Ur,ra,ra+Oo,!0),Ra.records.push(da);else if(Wn[":event-type"]==="Stats")da=dr(Ur,ra,ra+Oo,!0),Ra.stats=hi.xml2json(da).Stats;else if(Wn[":event-type"]==="error"){var Yl=Wn[":error-code"],Ac=Wn[":error-message"],Ms=new Error(Ac);Ms.message=Ac,Ms.name=Ms.code=Yl,Ra.error=Ms}Ur=Ur.slice(ra+Oo+4)}return{payload:Ra.records.join(""),body:Kn}},_r=function(Ur){var Wn=this.options.CopySourceParser;if(Wn)return Wn(Ur);var Kn=Ur.match(/^([^.]+- \d +) \. cos(v6|-cdc|-cdz|-internal)? \. ([^.]+) \. ((myqcloud \. com)|(tencentcos \. cn)) \/ (.+) $ /);return Kn?{Bucket:Kn[1],Region:Kn[3],Key:Kn[7]}:null},mr=function(){},Er=function(Ur){var Wn={};for(var Kn in Ur)Ur.hasOwnProperty(Kn)&&Ur[Kn]!==void 0&&Ur[Kn]!==null&&(Wn[Kn]=Ur[Kn]);return Wn},Sr=function(Ur,Wn){var Kn,Ra=new FileReader;FileReader.prototype.readAsBinaryString?(Kn=FileReader.prototype.readAsBinaryString,Ra.onload=function(){Wn(this.result)}):FileReader.prototype.readAsArrayBuffer?Kn=function(ro){var Oo="",ra=new FileReader;ra.onload=function(da){for(var Ka=new Uint8Array(ra.result),xs=Ka.byteLength,_s=0;_s<xs;_s++)Oo+=String.fromCharCode(Ka[_s]);Wn(Oo)},ra.readAsArrayBuffer(ro)}:console.error("FileReader not support readAsBinaryString"),Kn.call(Ra,Ur)},xr=function(){var En=function(Kn,Ra){Kn=Kn.split("."),Ra=Ra.split(".");for(var Ea=0;Ea<Ra.length;Ea++)if(Kn[Ea]!==Ra[Ea])return parseInt(Kn[Ea])>parseInt(Ra[Ea])?1:-1;return 0},Ur=function(Kn){if(!Kn)return!1;var Ra=(Kn.match(/Chrome \/ ([. \d ]+)/)||[])[1],Ea=(Kn.match(/QBCore \/ ([. \d ]+)/)||[])[1],ro=(Kn.match(/QQBrowser \/ ([. \d ]+)/)||[])[1],Oo=Ra&&En(Ra,"53.0.2785.116")<0&&Ea&&En(Ea,"3.53.991.400")<0&&ro&&En(ro,"9.0.2524.400")<=0||!1;return Oo};return Ur(typeof navigator<"u"&&navigator.userAgent)}(),Nr=function(Ur,Wn,Kn,Ra,Ea){var ro;if(Ur.slice?ro=Ur.slice(Wn,Kn):Ur.mozSlice?ro=Ur.mozSlice(Wn,Kn):Ur.webkitSlice&&(ro=Ur.webkitSlice(Wn,Kn)),Ra&&xr){var Oo=new FileReader;Oo.onload=function(ra){ro=null,Ea(new Blob([Oo.result]))},Oo.readAsArrayBuffer(ro)}else Ea(ro)},Rr=function(Ur,Wn,Kn,Ra){Kn=Kn||mr,Ur?typeof Wn=="string"?Kn(hi.md5(Wn,!0)):Blob&&Wn instanceof Blob?hi.getFileMd5(Wn,function(Ea,ro){Kn(ro)},Ra):Kn():Kn()},Vr=1024*1024,Fr=function(Ur,Wn,Kn){var Ra=Ur.size,Ea=0,ro=Oe.getCtx(),Oo=function ra(da){if(da>=Ra){var Ka=ro.digest("hex");Wn(null,Ka);return}var xs=Math.min(Ra,da+Vr);hi.fileSlice(Ur,da,xs,!1,function(_s){Sr(_s,function(kl){_s=null,ro=ro.update(kl,!0),Ea+=kl.length,kl=null,Kn&&Kn({loaded:Ea,total:Ra,percent:Math.round(Ea/Ra*1e4)/1e4}),ra(da+Vr)})})};Oo(0)};function Ir(En){return Sn(En,function(Ur){return pe(Ur)==="object"&&Ur!==null?Ir(Ur):Ur})}function kr(En,Ur,Wn){return En&&Ur in En?En[Ur]:Wn}function qr(En,Ur){return Jr(Ur,function(Wn,Kn){En[Kn]=Ur[Kn]}),En}function Wr(En){return En instanceof Array}function Ar(En,Ur){for(var Wn=!1,Kn=0;Kn<En.length;Kn++)if(Ur===En[Kn]){Wn=!0;break}return Wn}function Dr(En){return Wr(En)?En:[En]}function Jr(En,Ur){for(var Wn in En)En.hasOwnProperty(Wn)&&Ur(En[Wn],Wn)}function Sn(En,Ur){var Wn=Wr(En)?[]:{};for(var Kn in En)En.hasOwnProperty(Kn)&&(Wn[Kn]=Ur(En[Kn],Kn));return Wn}function vn(En,Ur){var Wn=Wr(En),Kn=Wn?[]:{};for(var Ra in En)En.hasOwnProperty(Ra)&&Ur(En[Ra],Ra)&&(Wn?Kn.push(En[Ra]):Kn[Ra]=En[Ra]);return Kn}var xn=function(Ur){var Wn,Kn,Ra,Ea="";for(Wn=0,Kn=Ur.length/2
2024-08-27 22:31:52 +08:00
` ).forEach(function(pe){ue=pe.indexOf(":"),ae=pe.substring(0,ue).trim().toLowerCase(),oe=pe.substring(ue+1).trim(),!(!ae||ie[ae]&&ignoreDuplicateOf[ae])&&(ae==="set-cookie"?ie[ae]?ie[ae].push(oe):ie[ae]=[oe]:ie[ae]=ie[ae]?ie[ae]+", "+oe:oe)}),ie}, $ internals=Symbol("internals");function normalizeHeader(re){return re&&String(re).trim().toLowerCase()}function normalizeValue(re){return re===!1||re==null?re:utils $ 1.isArray(re)?re.map(normalizeValue):String(re)}function parseTokens(re){const ie=Object.create(null),ae=/([^ \s ,;=]+) \s *(?:= \s *([^,;]+))?/g;let oe;for(;oe=ae.exec(re);)ie[oe[1]]=oe[2];return ie}const isValidHeaderName=re=>/^[-_a-zA-Z0-9^ ` | ~ , ! # $ % & ' * + . ] + $ / . test ( re . trim ( ) ) ; function matchHeaderValue ( re , ie , ae , oe , ue ) { if ( utils$1 . isFunction ( oe ) ) return oe . call ( this , ie , ae ) ; if ( ue && ( ie = ae ) , ! ! utils$1 . isString ( ie ) ) { if ( utils$1 . isString ( oe ) ) return ie . indexOf ( oe ) !== - 1 ; if ( utils$1 . isRegExp ( oe ) ) return oe . test ( ie ) } } function formatHeader ( re ) { return re . trim ( ) . toLowerCase ( ) . replace ( /([a-z\d])(\w*)/g , ( ie , ae , oe ) => ae . toUpperCase ( ) + oe ) } function buildAccessors ( re , ie ) { const ae = utils$1 . toCamelCase ( " " + ie ) ; [ "get" , "set" , "has" ] . forEach ( oe => { Object . defineProperty ( re , oe + ae , { value : function ( ue , de , pe ) { return this [ oe ] . call ( this , ie , ue , de , pe ) } , configurable : ! 0 } ) } ) } class AxiosHeaders { constructor ( ie ) { ie && this . set ( ie ) } set ( ie , ae , oe ) { const ue = this ; function de ( _e , Ce , Ne ) { const Oe = normalizeHeader ( Ce ) ; if ( ! Oe ) throw new Error ( "header name must be a non-empty string" ) ; const Ie = utils$1 . findKey ( ue , Oe ) ; ( ! Ie || ue [ Ie ] === void 0 || Ne === ! 0 || Ne === void 0 && ue [ Ie ] !== ! 1 ) && ( ue [ Ie || Ce ] = normalizeValue ( _e ) ) } const pe = ( _e , Ce ) => utils$1 . forEach ( _e , ( Ne , Oe ) => de ( Ne , Oe , Ce ) ) ; if ( utils$1 . isPlainObject ( ie ) || ie instanceof this . constructor ) pe ( ie , ae ) ; else if ( utils$1 . isString ( ie ) && ( ie = ie . trim ( ) ) && ! isValidHeaderName ( ie ) ) pe ( parseHeaders ( ie ) , ae ) ; else if ( utils$1 . isHeaders ( ie ) ) for ( const [ _e , Ce ] of ie . entries ( ) ) de ( Ce , _e , oe ) ; else ie != null && de ( ae , ie , oe ) ; return this } get ( ie , ae ) { if ( ie = normalizeHeader ( ie ) , ie ) { const oe = utils$1 . findKey ( this , ie ) ; if ( oe ) { const ue = this [ oe ] ; if ( ! ae ) return ue ; if ( ae === ! 0 ) return parseTokens ( ue ) ; if ( utils$1 . isFunction ( ae ) ) return ae . call ( this , ue , oe ) ; if ( utils$1 . isRegExp ( ae ) ) return ae . exec ( ue ) ; throw new TypeError ( "parser must be boolean|regexp|function" ) } } } has ( ie , ae ) { if ( ie = normalizeHeader ( ie ) , ie ) { const oe = utils$1 . findKey ( this , ie ) ; return ! ! ( oe && this [ oe ] !== void 0 && ( ! ae || matchHeaderValue ( this , this [ oe ] , oe , ae ) ) ) } return ! 1 } delete ( ie , ae ) { const oe = this ; let ue = ! 1 ; function de ( pe ) { if ( pe = normalizeHeader ( pe ) , pe ) { const _e = utils$1 . findKey ( oe , pe ) ; _e && ( ! ae || matchHeaderValue ( oe , oe [ _e ] , _e , ae ) ) && ( delete oe [ _e ] , ue = ! 0 ) } } return utils$1 . isArray ( ie ) ? ie . forEach ( de ) : de ( ie ) , ue } clear ( ie ) { const ae = Object . keys ( this ) ; let oe = ae . length , ue = ! 1 ; for ( ; oe -- ; ) { const de = ae [ oe ] ; ( ! ie || matchHeaderValue ( this , this [ de ] , de , ie , ! 0 ) ) && ( delete this [ de ] , ue = ! 0 ) } return ue } normalize ( ie ) { const ae = this , oe = { } ; return utils$1 . forEach ( this , ( ue , de ) => { const pe = utils$1 . findKey ( oe , de ) ; if ( pe ) { ae [ pe ] = normalizeValue ( ue ) , delete ae [ de ] ; return } const _e = ie ? formatHeader ( de ) : String ( de ) . trim ( ) ; _e !== de && delete ae [ de ] , ae [ _e ] = normalizeValue ( ue ) , oe [ _e ] = ! 0 } ) , this } concat ( ... ie ) { return this . constructor . concat ( this , ... ie ) } toJSON ( ie ) { const ae = Object . create ( null ) ; return utils$1 . forEach ( this , ( oe , ue ) => { oe != null && oe !== ! 1 && ( ae [ ue ] = ie && utils$1 . isArray ( oe ) ? oe . join ( ", " ) : oe ) } ) , ae } [ Symbol . iterator ] ( ) { return Object . entries ( this . toJSON ( ) ) [ Symbol . iterator ] ( ) } toString ( ) { return Object . entries ( this . toJSON ( ) ) . map ( ( [ ie , ae ] ) => ie + ": " + ae ) . join ( `
` )}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(ie){return ie instanceof this?ie:new this(ie)}static concat(ie,...ae){const oe=new this(ie);return ae.forEach(ue=>oe.set(ue)),oe}static accessor(ie){const oe=(this[ $ internals]=this[ $ internals]={accessors:{}}).accessors,ue=this.prototype;function de(pe){const _e=normalizeHeader(pe);oe[_e]||(buildAccessors(ue,pe),oe[_e]=!0)}return utils $ 1.isArray(ie)?ie.forEach(de):de(ie),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils $ 1.reduceDescriptors(AxiosHeaders.prototype,({value:re},ie)=>{let ae=ie[0].toUpperCase()+ie.slice(1);return{get:()=>re,set(oe){this[ae]=oe}}});utils $ 1.freezeMethods(AxiosHeaders);function transformData(re,ie){const ae=this||defaults,oe=ie||ae,ue=AxiosHeaders.from(oe.headers);let de=oe.data;return utils $ 1.forEach(re,function(_e){de=_e.call(ae,de,ue.normalize(),ie?ie.status:void 0)}),ue.normalize(),de}function isCancel(re){return!!(re&&re.__CANCEL__)}function CanceledError(re,ie,ae){AxiosError.call(this,re??"canceled",AxiosError.ERR_CANCELED,ie,ae),this.name="CanceledError"}utils $ 1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(re,ie,ae){const oe=ae.config.validateStatus;!ae.status||!oe||oe(ae.status)?re(ae):ie(new AxiosError("Request failed with status code "+ae.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(ae.status/100)-4],ae.config,ae.request,ae))}function parseProtocol(re){const ie=/^([-+ \w ]{1,25})(:? \/ \/ |:)/.exec(re);return ie&&ie[1]||""}function speedometer(re,ie){re=re||10;const ae=new Array(re),oe=new Array(re);let ue=0,de=0,pe;return ie=ie!==void 0?ie:1e3,function(Ce){const Ne=Date.now(),Oe=oe[de];pe||(pe=Ne),ae[ue]=Ce,oe[ue]=Ne;let Ie=de,Fe=0;for(;Ie!==ue;)Fe+=ae[Ie++],Ie=Ie%re;if(ue=(ue+1)%re,ue===de&&(de=(de+1)%re),Ne-pe<ie)return;const Ue=Oe&&Ne-Oe;return Ue?Math.round(Fe*1e3/Ue):void 0}}function throttle(re,ie){let ae=0,oe=1e3/ie,ue,de;const pe=(Ne,Oe=Date.now())=>{ae=Oe,ue=null,de&&(clearTimeout(de),de=null),re.apply(null,Ne)};return[(...Ne)=>{const Oe=Date.now(),Ie=Oe-ae;Ie>=oe?pe(Ne,Oe):(ue=Ne,de||(de=setTimeout(()=>{de=null,pe(ue)},oe-Ie)))},()=>ue&&pe(ue)]}const progressEventReducer=(re,ie,ae=3)=>{let oe=0;const ue=speedometer(50,250);return throttle(de=>{const pe=de.loaded,_e=de.lengthComputable?de.total:void 0,Ce=pe-oe,Ne=ue(Ce),Oe=pe<=_e;oe=pe;const Ie={loaded:pe,total:_e,progress:_e?pe/_e:void 0,bytes:Ce,rate:Ne||void 0,estimated:Ne&&_e&&Oe?(_e-pe)/Ne:void 0,event:de,lengthComputable:_e!=null,[ie?"download":"upload"]:!0};re(Ie)},ae)},progressEventDecorator=(re,ie)=>{const ae=re!=null;return[oe=>ie[0]({lengthComputable:ae,total:re,loaded:oe}),ie[1]]},asyncDecorator=re=>(...ie)=>utils $ 1.asap(()=>re(...ie)),isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const ie=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent),ae=document.createElement("a");let oe;function ue(de){let pe=de;return ie&&(ae.setAttribute("href",pe),pe=ae.href),ae.setAttribute("href",pe),{href:ae.href,protocol:ae.protocol?ae.protocol.replace(/: $ /,""):"",host:ae.host,search:ae.search?ae.search.replace(/^ \? /,""):"",hash:ae.hash?ae.hash.replace(/^#/,""):"",hostname:ae.hostname,port:ae.port,pathname:ae.pathname.charAt(0)==="/"?ae.pathname:"/"+ae.pathname}}return oe=ue(window.location.href),function(pe){const _e=utils $ 1.isString(pe)?ue(pe):pe;return _e.protocol===oe.protocol&&_e.host===oe.host}}():function(){return function(){return!0}}(),cookies=platform.hasStandardBrowserEnv?{write(re,ie,ae,oe,ue,de){const pe=[re+"="+encodeURIComponent(ie)];utils $ 1.isNumber(ae)&&pe.push("expires="+new Date(ae).toGMTString()),utils $ 1.isString(oe)&&pe.push("path="+oe),utils $ 1.isString(ue)&&pe.push("domain="+ue),de===!0&&pe.push("secure"),document.cookie=pe.join("; ")},read(re){const ie=document.cookie.match(new RegExp("(^|; \\ s*)("+re+")=([^;]*)"));return ie?decodeURIComponent(ie[3]):null},remove(re){this.write(re,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(re){return/^([a-z][a-z \d + \- .]*
` +de.map(renderReason).join( `
` ):" "+renderReason(de[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+pe,"ERR_NOT_SUPPORT")}return oe},adapters:knownAdapters};function throwIfCancellationRequested(re){if(re.cancelToken&&re.cancelToken.throwIfRequested(),re.signal&&re.signal.aborted)throw new CanceledError(null,re)}function dispatchRequest(re){return throwIfCancellationRequested(re),re.headers=AxiosHeaders.from(re.headers),re.data=transformData.call(re,re.transformRequest),["post","put","patch"].indexOf(re.method)!==-1&&re.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(re.adapter||defaults.adapter)(re).then(function(oe){return throwIfCancellationRequested(re),oe.data=transformData.call(re,re.transformResponse,oe),oe.headers=AxiosHeaders.from(oe.headers),oe},function(oe){return isCancel(oe)||(throwIfCancellationRequested(re),oe&&oe.response&&(oe.response.data=transformData.call(re,re.transformResponse,oe.response),oe.response.headers=AxiosHeaders.from(oe.response.headers))),Promise.reject(oe)})}const VERSION="1.7.5",validators $ 1={};["object","boolean","number","function","string","symbol"].forEach((re,ie)=>{validators $ 1[re]=function(oe){return typeof oe===re||"a"+(ie<1?"n ":" ")+re}});const deprecatedWarnings={};validators $ 1.transitional=function(ie,ae,oe){function ue(de,pe){return"[Axios v"+VERSION+"] Transitional option '"+de+"'"+pe+(oe?". "+oe:"")}return(de,pe,_e)=>{if(ie===!1)throw new AxiosError(ue(pe," has been removed"+(ae?" in "+ae:"")),AxiosError.ERR_DEPRECATED);return ae&&!deprecatedWarnings[pe]&&(deprecatedWarnings[pe]=!0,console.warn(ue(pe," has been deprecated since v"+ae+" and will be removed in the near future"))),ie?ie(de,pe,_e):!0}};function assertOptions(re,ie,ae){if(typeof re!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const oe=Object.keys(re);let ue=oe.length;for(;ue-- >0;){const de=oe[ue],pe=ie[de];if(pe){const _e=re[de],Ce=_e===void 0||pe(_e,de,re);if(Ce!==!0)throw new AxiosError("option "+de+" must be "+Ce,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(ae!==!0)throw new AxiosError("Unknown option "+de,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators $ 1},validators=validator.validators;class Axios{constructor(ie){this.defaults=ie,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(ie,ae){try{return await this._request(ie,ae)}catch(oe){if(oe instanceof Error){let ue;Error.captureStackTrace?Error.captureStackTrace(ue={}):ue=new Error;const de=ue.stack?ue.stack.replace(/^.+ \n /,""):"";try{oe.stack?de&&!String(oe.stack).endsWith(de.replace(/^.+ \n .+ \n /,""))&&(oe.stack+= `
` +de):oe.stack=de}catch{}}throw oe}}_request(ie,ae){typeof ie=="string"?(ae=ae||{},ae.url=ie):ae=ie||{},ae=mergeConfig(this.defaults,ae);const{transitional:oe,paramsSerializer:ue,headers:de}=ae;oe!==void 0&&validator.assertOptions(oe,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ue!=null&&(utils $ 1.isFunction(ue)?ae.paramsSerializer={serialize:ue}:validator.assertOptions(ue,{encode:validators.function,serialize:validators.function},!0)),ae.method=(ae.method||this.defaults.method||"get").toLowerCase();let pe=de&&utils $ 1.merge(de.common,de[ae.method]);de&&utils $ 1.forEach(["delete","get","head","post","put","patch","common"],Ve=>{delete de[Ve]}),ae.headers=AxiosHeaders.concat(pe,de);const _e=[];let Ce=!0;this.interceptors.request.forEach(function(ze){typeof ze.runWhen=="function"&&ze.runWhen(ae)===!1||(Ce=Ce&&ze.synchronous,_e.unshift(ze.fulfilled,ze.rejected))});const Ne=[];this.interceptors.response.forEach(function(ze){Ne.push(ze.fulfilled,ze.rejected)});let Oe,Ie=0,Fe;if(!Ce){const Ve=[dispatchRequest.bind(this),void 0];for(Ve.unshift.apply(Ve,_e),Ve.push.apply(Ve,Ne),Fe=Ve.length,Oe=Promise.resolve(ae);Ie<Fe;)Oe=Oe.then(Ve[Ie++],Ve[Ie++]);return Oe}Fe=_e.length;let Ue=ae;for(Ie=0;Ie<Fe;){const Ve=_e[Ie++],ze=_e[Ie++];try{Ue=Ve(Ue)}catch(jt){ze.call(this,jt);break}}try{Oe=dispatchRequest.call(this,Ue)}catch(Ve){return Promise.reject(Ve)}for(Ie=0,Fe=Ne.length;Ie<Fe;)Oe=Oe.then(Ne[Ie++],Ne[Ie++]);return Oe}getUri(ie){ie=mergeConfig(this.defaults,ie);const ae=buildFullPath(ie.baseURL,ie.url);return buildURL(ae,ie.params,ie.paramsSerializer)}}utils $ 1.forEach(["delete","get","head","options"],function(ie){Axios.prototype[ie]=function(ae,oe){return this.request(mergeConfig(oe||{},{method:ie,url:ae,data:(oe||{}).data}))}});utils $ 1.forEach(["post","put","patch"],function(ie){function ae(oe){return function(de,pe,_e){return this.request(mergeConfig(_e||{},{method:ie,headers:oe?{"Content-Type":"multipart/form-data"}:{},url:de,data:pe}))}}Axios.prototype[ie]=ae(),Axios.prototype[ie+"Form"]=ae(!0)});class CancelToken{constructor(ie){if(typeof ie!="function")throw new TypeError("executor must be a function.");let ae;this.promise=new Promise(function(de){ae=de});const oe=this;this.promise.then(ue=>{if(!oe._listeners)return;let de=oe._listeners.length;for(;de-- >0;)oe._listeners[de](ue);oe._listeners=null}),this.promise.then=ue=>{let de;const pe=new Promise(_e=>{oe.subscribe(_e),de=_e}).then(ue);return pe.cancel=function(){oe.unsubscribe(de)},pe},ie(function(de,pe,_e){oe.reason||(oe.reason=new CanceledError(de,pe,_e),ae(oe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(ie){if(this.reason){ie(this.reason);return}this._listeners?this._listeners.push(ie):this._listeners=[ie]}unsubscribe(ie){if(!this._listeners)return;const ae=this._listeners.indexOf(ie);ae!==-1&&this._listeners.splice(ae,1)}static source(){let ie;return{token:new CancelToken(function(ue){ie=ue}),cancel:ie}}}function spread(re){return function(ae){return re.apply(null,ae)}}function isAxiosError(re){return utils $ 1.isObject(re)&&re.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,Precondi
async ( CUSTOM _ARG ) => {
$ { localStorage . getItem ( "formCustomConfig" ) }
}
` ;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(re=>{console.error(re),reject(re)})})}function fileUpload(re,ie){const ae=localStorage.getItem("imgHost");switch(!ae&&localStorage.setItem("imgHost","default"),ae){case"aliOSS":return aliOSSFileUpload(re,ie.name);case"minio":return minioFileUpload(re,ie.name);case"txCOS":return txCOSFileUpload(ie);case"qiniu":return qiniuUpload(ie);case"gitee":return giteeUpload(re,ie.name);case"github":return ghFileUpload(re,ie.name);case"formCustom":return formCustomUpload(re,ie);default:return ghFileUpload(re,ie.name)}}const fileApi={fileUpload},_sfc_main $ v={__name:"PostInfo",setup(re){const ie=useStore(),{output:ae}=storeToRefs(ie),oe=ref $ 1(!1),ue=ref $ 1({title:"",desc:"",thumb:"",content:""});function de(){var Ce;let _e={};try{_e={thumb:(Ce=document.querySelector("#output img"))==null?void 0:Ce.src,title:[1,2,3,4,5,6].map(Ne=>document.querySelector( ` # output h$ { Ne } ` )).filter(Ne=>Ne)[0].textContent,desc:document.querySelector("#output p").textContent,content:ae.value}}catch(Ne){console.log("error",Ne)}ue.value={..._e,auto:_e},oe.value=!0}function pe(){oe.value=!1,window.syncPost({thumb:ue.value.thumb||ue.value.auto.thumb,title:ue.value.title||ue.value.auto.title,desc:ue.value.desc||ue.value.auto.desc,content:ue.value.content||ue.value.auto.content})}return(_e,Ce)=>{const Ne=resolveComponent("el-button"),Oe=resolveComponent("el-alert"),Ie=resolveComponent("el-input"),Fe=resolveComponent("el-form-item"),Ue=resolveComponent("el-form"),Ve=resolveComponent("el-dialog");return openBlock(),createElementBlock(Fragment,null,[createVNode(Ne,{plain:"",type:"primary",onClick:de},{default:withCtx(()=>[createTextVNode(" 发布 ")]),_:1}),createVNode(Ve,{title:"发布","model-value":oe.value,onClose:Ce[4]||(Ce[4]=ze=>oe.value=!1)},{footer:withCtx(()=>[createVNode(Ne,{onClick:Ce[3]||(Ce[3]=ze=>oe.value=!1)},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(Ne,{type:"primary",onClick:pe},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})]),default:withCtx(()=>[createVNode(Oe,{class:"mb-4",title:"注:此功能由第三方浏览器插件支持,本平台不保证安全性。",type:"info","show-icon":""}),createVNode(Ue,{class:"postInfo","label-width":"50",model:ue.value},{default:withCtx(()=>[createVNode(Fe,{label:"封面"},{default:withCtx(()=>[createVNode(Ie,{modelValue:ue.value.thumb,"onUpdate:modelValue":Ce[0]||(Ce[0]=ze=>ue.value.thumb=ze),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),_:1}),createVNode(Fe,{label:"标题"},{default:withCtx(()=>[createVNode(Ie,{modelValue:ue.value.title,"onUpdate:modelValue":Ce[1]||(Ce[1]=ze=>ue.value.title=ze),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),_:1}),createVNode(Fe,{label:"描述"},{default:withCtx(()=>[createVNode(Ie,{modelValue:ue.value.desc,"onUpdate:modelValue":Ce[2]||(Ce[2]=ze=>ue.value.desc=ze),type:"textarea",rows:4,placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])],64)}}};function isComponentPublicInstance(re){return re!=null&&typeof re=="object"&&" $ el"in re}function unwrapElement(re){if(isComponentPublicInstance(re)){const ie=re. $ el;return isNode $ 1(ie)&&getNodeName(ie)==="#comment"?null:ie}return re}function toValue $ 1(re){return typeof re=="function"?re():unref(re)}function arrow(re){return{name:"arrow",options:re,fn(ie){const ae=unwrapElement(toValue $ 1(re.element));return ae==null?{}:arrow $ 1({element:ae,padding:re.padding}).fn(ie)}}}function getDPR(re){return typeof window>"u"?1:(re.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(re,ie){const ae=getDPR(re);return Math.round(ie*ae)/ae}function useFloating(re,ie,ae){ae===void 0&&(ae={});const oe=ae.whileElementsMounted,ue=computed(()=>{var lr;return(lr=toValue $ 1(ae.open))!=null?lr:!0}),de=computed(()=>toValue $ 1(ae.middleware)),pe=computed(()=>{var lr;return(lr=toV
` )].join( `
` ))}return()=>de.value||ue.value||_e.value?h $ 2(ie.default({present:_e})[0],{ref:Oe=>{const Ie= $ e(Oe);return typeof(Ie==null?void 0:Ie.hasAttribute)>"u"||(Ie!=null&&Ie.hasAttribute("data-radix-popper-content-wrapper")?pe.value=Ie.firstElementChild:pe.value=Ie),Ie}}):null}}),ht=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(re){const ie=ja();return(ae,oe)=>unref(ie)||ae.forceMount?(openBlock(),createBlock(Teleport $ 1,{key:0,to:ae.to,disabled:ae.disabled},[renderSlot(ae. $ slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),Yi="dismissableLayer.pointerDownOutside",Xi="dismissableLayer.focusOutside";function Fl(re,ie){const ae=ie.closest("[data-dismissable-layer]"),oe=re.dataset.dismissableLayer===""?re:re.querySelector("[data-dismissable-layer]"),ue=Array.from(re.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(ae&&oe===ae||ue.indexOf(oe)<ue.indexOf(ae))}function Nl(re,ie){var ae;const oe=((ae=ie==null?void 0:ie.value)==null?void 0:ae.ownerDocument)??(globalThis==null?void 0:globalThis.document),ue=ref $ 1(!1),de=ref $ 1(()=>{});return watchEffect(pe=>{if(!qe)return;const _e=async Ne=>{const Oe=Ne.target;if(ie!=null&&ie.value){if(Fl(ie.value,Oe)){ue.value=!1;return}if(Ne.target&&!ue.value){let Ie=function(){Kt(Yi,re,Fe)};const Fe={originalEvent:Ne};Ne.pointerType==="touch"?(oe.removeEventListener("click",de.value),de.value=Ie,oe.addEventListener("click",de.value,{once:!0})):Ie()}else oe.removeEventListener("click",de.value);ue.value=!1}},Ce=window.setTimeout(()=>{oe.addEventListener("pointerdown",_e)},0);pe(()=>{window.clearTimeout(Ce),oe.removeEventListener("pointerdown",_e),oe.removeEventListener("click",de.value)})}),{onPointerDownCapture:()=>ue.value=!0}}function Ll(re,ie){var ae;const oe=((ae=ie==null?void 0:ie.value)==null?void 0:ae.ownerDocument)??(globalThis==null?void 0:globalThis.document),ue=ref $ 1(!1);return watchEffect(de=>{if(!qe)return;const pe=async _e=>{ie!=null&&ie.value&&(await nextTick $ 1(),!(!ie.value||Fl(ie.value,_e.target))&&_e.target&&!ue.value&&Kt(Xi,re,{originalEvent:_e}))};oe.addEventListener("focusin",pe),de(()=>oe.removeEventListener("focusin",pe))}),{onFocusCapture:()=>ue.value=!0,onBlurCapture:()=>ue.value=!1}}const je=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(re,{emit:ie}){const ae=re,oe=ie,{forwardRef:ue,currentElement:de}=T(),pe=computed(()=>{var Ve;return((Ve=de.value)==null?void 0:Ve.ownerDocument)??globalThis.document}),_e=computed(()=>je.layersRoot),Ce=computed(()=>de.value?Array.from(_e.value).indexOf(de.value):-1),Ne=computed(()=>je.layersWithOutsidePointerEventsDisabled.size>0),Oe=computed(()=>{const Ve=Array.from(_e.value),[ze]=[...je.layersWithOutsidePointerEventsDisabled].slice(-1),jt=Ve.indexOf(ze);return Ce.value>=jt}),Ie=Nl(async Ve=>{const ze=[...je.branches].some(jt=>jt.contains(Ve.target));!Oe.value||ze||(oe("pointerDownOutside",Ve),oe("interactOutside",Ve),await nextTick $ 1(),Ve.defaultPrevented||oe("dismiss"))},de),Fe=Ll(Ve=>{[...je.branches].some(ze=>ze.contains(Ve.target))||(oe("focusOutside",Ve),oe("interactOutside",Ve),Ve.defaultPrevented||oe("dismiss"))},de);jn("Escape",Ve=>{Ce.value===_e.value.size-1&&(oe("escapeKeyDown",Ve),Ve.defaultPrevented||oe("dismiss"))});let Ue;return watchEffect(Ve=>{de.value&&(ae.disableOutsidePointerEvents&&(je.layersWithOutsidePointerEventsDisabled.size===0&&(Ue=pe.value.body.style.pointerEvents,pe.value.body.style.pointerEvents="none"),je.layersWithOutsidePointerEventsDisabled.add(de.value)),_e.value.add(de.value),Ve(()=>{ae.disableOutsidePointerEvents&&je.layersWithOutsidePointerEventsDisabled.size===1&&(pe.value.body.style.pointerEvents=Ue)}))}),watchEffect(Ve=>{Ve(()=>{de.value&&(_e.value.delete(de.value),je.layersWithOutsidePointerEventsDisabled.delete(de.v
* @ license lucide - vue - next v0 . 428.0 - ISC
*
* This source code is licensed under the ISC license .
* See the LICENSE file in the root directory of this source tree .
* /const toKebabCase=re=>re.replace(/ ( [ a - z0 - 9 ] ) ( [ A - Z ] ) / g , "$1-$2" ) . toLowerCase ( ) ; / * *
* @ license lucide - vue - next v0 . 428.0 - ISC
*
* This source code is licensed under the ISC license .
* See the LICENSE file in the root directory of this source tree .
* /var defaultAttributes={xmlns:"http:/ / www . w3 . org / 2000 / svg ",width:24,height:24,viewBox:" 0 0 24 24 ",fill:" none ",stroke:" currentColor "," stroke - width ":2," stroke - linecap ":" round "," stroke - linejoin ":" round " } ; / * *
* @ license lucide - vue - next v0 . 428.0 - ISC
*
* This source code is licensed under the ISC license .
* See the LICENSE file in the root directory of this source tree .
* / c o n s t I c o n = ( { s i z e : r e , s t r o k e W i d t h : i e = 2 , a b s o l u t e S t r o k e W i d t h : a e , c o l o r : o e , i c o n N o d e : u e , n a m e : d e , c l a s s : p e , . . . _ e } , { s l o t s : C e } ) = > h $ 2 ( " s v g " , { . . . d e f a u l t A t t r i b u t e s , w i d t h : r e | | d e f a u l t A t t r i b u t e s . w i d t h , h e i g h t : r e | | d e f a u l t A t t r i b u t e s . h e i g h t , s t r o k e : o e | | d e f a u l t A t t r i b u t e s . s t r o k e , " s t r o k e - w i d t h " : a e ? N u m b e r ( i e ) * 2 4 / N u m b e r ( r e ) : i e , c l a s s : [ " l u c i d e " , ` l u c i d e - $ { t o K e b a b C a s e ( d e ? ? " i c o n " ) } ` ] , . . . _ e } , [ . . . u e . m a p ( N e = > h $ 2 ( . . . N e ) ) , . . . C e . d e f a u l t ? [ C e . d e f a u l t ( ) ] : [ ] ] ) ; / * *
* @ license lucide - vue - next v0 . 428.0 - ISC
*
* This source code is licensed under the ISC license .
* See the LICENSE file in the root directory of this source tree .
* /const createLucideIcon=(re,ie)=>(ae,{slots:oe})=>h$2(Icon,{...ae,iconNode:ie,name:re},oe);/ * *
* @ license lucide - vue - next v0 . 428.0 - ISC
*
* This source code is licensed under the ISC license .
* See the LICENSE file in the root directory of this source tree .
* / c o n s t C h e v r o n R i g h t = c r e a t e L u c i d e I c o n ( " C h e v r o n R i g h t I c o n " , [ [ " p a t h " , { d : " m 9 1 8 6 - 6 - 6 - 6 " , k e y : " m t h h w q " } ] ] ) , _ s f c _ m a i n $ q = d e f i n e C o m p o n e n t ( { _ _ n a m e : " D r o p d o w n M e n u S h o r t c u t " , p r o p s : { c l a s s : { } } , s e t u p ( r e ) { c o n s t i e = r e ; r e t u r n ( a e , o e ) = > ( o p e n B l o c k ( ) , c r e a t e E l e m e n t B l o c k ( " s p a n " , { c l a s s : n o r m a l i z e C l a s s ( u n r e f ( c n ) ( " m l - a u t o t e x t - x s t r a c k i n g - w i d e s t o p a c i t y - 6 0 " , i e . c l a s s ) ) } , [ r e n d e r S l o t ( a e . $ s l o t s , " d e f a u l t " ) ] , 2 ) ) } } ) , _ s f c _ m a i n $ p = d e f i n e C o m p o n e n t ( { _ _ n a m e : " D r o p d o w n M e n u S e p a r a t o r " , p r o p s : { a s C h i l d : { t y p e : B o o l e a n } , a s : { } , c l a s s : { } } , s e t u p ( r e ) { c o n s t i e = r e , a e = c o m p u t e d ( ( ) = > { c o n s t { c l a s s : o e , . . . u e } = i e ; r e t u r n u e } ) ; r e t u r n ( o e , u e ) = > ( o p e n B l o c k ( ) , c r e a t e B l o c k ( u n r e f ( r h ) , m e r g e P r o p s ( a e . v a l u e , { c l a s s : u n r e f ( c n ) ( " - m x - 1 m y - 1 h - p x b g - m u t e d " , i e . c l a s s ) } ) , n u l l , 1 6 , [ " c l a s s " ] ) ) } } ) , _ s f c _ m a i n $ o = d e f i n e C o m p o n e n t ( { _ _ n a m e : " D r o p d o w n M e n u S u b " , p r o p s : { d e f a u l t O p e n : { t y p e : B o o l e a n } , o p e n : { t y p e : B o o l e a n } } , e m i t s : [ " u p d a t e : o p e n " ] , s e t u p ( r e , { e m i t : i e } ) { c o n s t u e = x e ( r e , i e ) ; r e t u r n ( d e , p e ) = > ( o p e n B l o c k ( ) , c r e a t e B l o c k ( u n r e f ( f h ) , n o r m a l i z e P r o p s ( g u a r d R e a c t i v e P r o p s ( u n r e f ( u e ) ) ) , { d e f a u l t : w i t h C t x ( ( ) = > [ r e n d e r S l o t ( d e . $ s l o t s , " d e f a u l t " ) ] ) , _ : 3 } , 1 6 ) ) } } ) , _ s f c _ m a i n $ n = d e f i n e C o m p o n e n t ( { _ _ n a m e : " D r o p d o w n M e n u S u b T r i g g e r " , p r o p s : { d i s a b l e d : { t y p e : B o o l e a n } , t e x t V a l u e : { } , a s C h i l d : { t y p e : B o o l e a n } , a s : { } , c l a s s : { } } , s e t u p ( r e ) { c o n s t i e = r e , a e = c o m p u t e d ( ( ) = > { c o n s t { c l a s s : u e , . . . d e } = i e ; r e t u r n d e } ) , o e = I t ( a e ) ; r e t u r n ( u e , d e ) = > ( o p e n B l o c k ( ) , c r e a t e B l o c k ( u n r e f ( m h ) , m e r g e P r o p s ( u n r e f ( o e ) , { c l a s s : u n r e f ( c n ) ( " f l e x c u r s o r - d e f a u l t s e l e c t - n o n e i t e m s - c e n t e r r o u n d e d - s m p x - 2 p y - 1 . 5 t e x t - s m o u t l i n e - n o n e f o c u s : b g - a c c e n t d a t a - [ s t a t e = o p e n ] : b g - a c c e n t " , i e . c l a s s ) } ) , { d e f a u l t : w i t h C t x ( ( ) = > [ r e n d e r S l o t ( u e . $ s l o t s , " d e f a u l t " ) , c r e a t e V N o d e ( u n r e f ( C h e v r o n R i g h t ) , { c l a s s : " m l - a u t o h - 4 w - 4 " } ) ] ) , _ : 3 } , 1 6 , [ " c l a s s " ] ) ) } } ) , _ s f c _ m a i n $ m = d e f i n e C o m p o n e n t ( { _ _ n a m e : " D r o p d o w n M e n u S u b C o n t e n t " , p r o p s : { f o r c e M o u n t : { t y p e : B o o l e a n } , l o o p : { t y p e : B o o l e a n } , s i d e O f f s e t : { } , a l i g n O f f s e t : { } , a v o i d C o l l i s i o n s : { t y p e : B o o l e a n } , c o l l i s i o n B o u n d a r y : { } , c o l l i s i o n P a d d i n g : { } , a r r o w P a d d i n g : { } , s t i c k y : { } , h i d e W h e n D e t a c h e d : { t y p e : B o o l e a n } , u p d a t e P o s i t i o n S t r a t e g y : { } , p r i o r i t i z e P o s i t i o n : { t y p e : B o o l e a n } , a s C h i l d : { t y p e : B o o l e a n } , a s : { } , c l a s s : { } } , e m i t s : [ " e s c a p e K e y D o w n " , " p o i n t e r D o w n O u t s i d e " , " f o c u s O u t s i d e " , " i n t e r a c t O u t s i d e " , " e n t r y F o c u s " , " o p e n A u t o F o c u s " , " c l o s e A u t o F o c u s " ] , s e t u p ( r e , { e m i t : i e } ) { c o n s t a e = r e , o e = i e , u e = c o m p u t e d ( ( ) = > { c o n s t { c l a s s : p e , . . . _ e } = a e ; r e t u r n _ e } ) , d e = x e ( u e , o e ) ; r e t u r n ( p e , _ e ) = > ( o p e n B l o c k ( ) , c r e a t e B l o c k ( u n r e f ( v h ) , m e r g e P r o p s ( u n r e f ( d e ) , { c l a s s : u n r e f ( c n ) ( " z - 5 0 m i n - w - 3 2 o v e r f l o w - h i d d e n r o u n d e d - m d b o r d e r b g - p o p o v e r p - 1 t e x t - p o p o v e r - f o r e g r o u n d s h a d o w - l g d a t a - [ s t a t e = o p e n ] : a n i m a t e - i n d a t a - [ s t a t e = c l o s e d ] : a n i m a t e - o u t d a t a - [ s t a t e = c l o s e d ] : f a d e - o u t - 0 d a t a - [ s t a t e = o p e n ] : f a d e - i n - 0 d a t a - [ s t a t e = c l o s e d ] : z o o m - o u t - 9 5 d a t a - [ s t a t e = o p e n ] : z o o m - i n - 9 5 d a t a - [ s i d e = b o t t o m ] : s l i d e - i n - f r o m - t o p - 2 d a t a - [ s i d e = l e f t ] : s l i d e - i n - f r o m - r i g h t - 2 d a t a - [ s i d e = r i g h t ] : s l i d e - i n - f r o m - l e f t - 2 d a t a - [ s i d e = t o p ] : s l i d e - i n - f r o m - b o t t o m - 2 " , a e . c l a s s ) } ) , { d e f a u l t : w i t h C t x ( ( ) = > [ r e n d e r S l o t ( p e . $ s l o t s , " d e f a u l t " ) ] ) , _ : 3 } , 1 6 , [ " c l a s s " ] ) ) } } ) , _ s f c _ m a i n $ l = { _ _ n a m e : " F i l e D r o p d o w n " , p r o p s : [ " i s O p e n " , " c l i c k T r i g g e r " , " o p e n D r o p d o w n " , " u p d a t e O p e n " ] , s e t u p ( r e ) { c o n s t i e = r e , a e = u s e S t o r e ( ) , { i s D a r k : o e , i s E d i t O n L e f t : u e } = s t o r e T o R e f s ( a e ) , { t o g g l e D a r k : d e , t o g g l e E d i t O n L e f t : p e , e x p o r t E d i t o r C o n t e n t 2 H T M L : _ e , e x p o r t E d i t o r C o n t e n t 2 M D : C e , i m p o r t M a r k d o w n C o n t e n t : N e } = a e ; r e t u r n ( O e , I e ) = > { c o n s t F e = r e s o l v e C o m p o n e n t ( " E l I c o n U p l o a d " ) , U e = r e s o l v e C o m p o n e n t ( " e l - i c o n " ) , V e = r e s o l v e C o m p o n e n t ( " E l I c o n D o w n l o a d " ) , z e = r e s o l v e C o m p o n e n t ( " E l I c o n D o c u m e n t " ) , j t = r e s o l v e C o m p o n e n t ( " E l I c o n C h e c k " ) ; r e t u r n o p e n B l o c k ( ) , c r e a t e B l o c k ( u n r e f ( _ s f c _ m a i n $ u ) , { o p e n : i e . i s O p e n , " o n U p d a t e : o p e n " : i e . u p d a t e O p e n } , { d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e V N o d e ( u n r e f ( _ s f c _ m a i n $ t ) , { c l a s s : n o r m a l i z e C l a s s ( [ " f l e x i t e m s - c e n t e r p - 2 p x - 4 h o v e r : b g - g r a y - 2 d a r k : h o v e r : b g - s t o n e - 9 " , { " b g - g r a y - 2 " : i e . i s O p e n , " d a r k : b g - s t o n e - 9 " : i e . i s O p e n } ] ) , o n C l i c k : I e [ 0 ] | | ( I e [ 0 ] = k t = > i e . c l i c k T r i g g e r ( ) ) , o n M o u s e e n t e r : I e [ 1 ] | | ( I e [ 1 ] = k t = > i e . o p e n D r o p d o w n ( ) ) } , { d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e T e x t V N o d e ( " 文 件 " ) ] ) , _ : 1 } , 8 , [ " c l a s s " ] ) , c r e a t e V N o d e ( u n r e f ( _ s f c _ m a i n $ s ) , { a l i g n : " s t a r t " } , { d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e V N o d e ( u n r e f ( _ s f c _ m a i n $ r ) , { o n C l i c k : I e [ 2 ] | | ( I e [ 2 ] = k t = > u n r e f ( N e ) ( ) ) } , { d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e V N o d e ( U e , { c l a s s : " m r - 2 h - 4 w - 4 " } , { d e f a u l t : w i t h C t x ( ( ) = > [ c r e a t e V N o d e ( F e ) ] ) , _ : 1 } ) , c r e a t e T e x t V N o d e ( " 导 入
$ { Ce }
` ,"end"),pe(),ae()}return(Ce,Ne)=>{const Oe=resolveComponent("el-input-number"),Ie=resolveComponent("el-col"),Fe=resolveComponent("el-row"),Ue=resolveComponent("el-input"),Ve=resolveComponent("el-button"),ze=resolveComponent("el-dialog");return openBlock(),createBlock(ze,{title:"插入表格",class:"insert__dialog","model-value":unref(ie).isShowInsertFormDialog,onClose:Ne[3]||(Ne[3]=jt=>unref(ae)(!1))},{footer:withCtx(()=>[createBaseVNode("div",_hoisted_2 $ 1,[createVNode(Ve,{plain:"",onClick:Ne[2]||(Ne[2]=jt=>unref(ae)(!1))},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(Ve,{type:"primary",plain:"",onClick:_e},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})])]),default:withCtx(()=>[createVNode(Fe,{class:"tb-options",type:"flex",align:"middle",gutter:10},{default:withCtx(()=>[createVNode(Ie,{span:12},{default:withCtx(()=>[createTextVNode(" 行数: "),createVNode(Oe,{modelValue:oe.value,"onUpdate:modelValue":Ne[0]||(Ne[0]=jt=>oe.value=jt),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1}),createVNode(Ie,{span:12},{default:withCtx(()=>[createTextVNode(" 列数: "),createVNode(Oe,{modelValue:ue.value,"onUpdate:modelValue":Ne[1]||(Ne[1]=jt=>ue.value=jt),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),createBaseVNode("table",_hoisted_1 $ 4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.value+1,jt=>(openBlock(),createElementBlock("tr",{key:jt,class:normalizeClass({"head-style":jt===1})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(ue.value,kt=>(openBlock(),createElementBlock("td",{key:kt},[createVNode(Ue,{modelValue:de.value[ ` k _$ { jt - 1 } _$ { kt - 1 } ` ],"onUpdate:modelValue":Pt=>de.value[ ` k _$ { jt - 1 } _$ { kt - 1 } ` ]=Pt,align:"center",placeholder:jt===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])]))),128))],2))),128))])]),_:1},8,["model-value"])}}},InsertFormDialog=_export_sfc(_sfc_main $ b,[["__scopeId","data-v-56362dff"]]),_withScopeId $ 2=re=>(pushScopeId("data-v-a6100d60"),re=re(),popScopeId(),re),_hoisted_1 $ 3=_withScopeId $ 2(()=>createBaseVNode("div",{class:"el-upload__text"},[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("em",null,"点击上传")],-1)),_sfc_main $ a={__name:"UploadImgDialog",emits:["uploadImage"],setup(re,{emit:ie}){const ae=ie,oe=useStore(),ue=ref $ 1({repo:"",branch:"",accessToken:""}),de=ref $ 1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:""}),pe=ref $ 1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),_e=ref $ 1({accessKey:"",secretKey:"",bucket:"",domain:"",region:""}),Ce=ref $ 1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),Ne=ref $ 1({code:localStorage.getItem("formCustomConfig")||removeLeft( `
const { file , util , okCb , errCb } = CUSTOM _ARG
const param = new FormData ( )
param . append ( 'file' , file )
util . axios . post ( '${window.location.origin}/upload' , param , {
headers : { 'Content-Type' : 'multipart/form-data' }
} ) . then ( res => {
okCb ( res . url )
} ) . catch ( err => {
errCb ( err )
} )
` ).trim(),editor:void 0}),Oe=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"formCustom",label:"自定义代码"}],Ie=ref $ 1("default"),Fe=ref $ 1(null),Ue=ref $ 1("upload");watch(Ue,async lr=>{lr==="formCustom"&&nextTick $ 1(()=>{const cr=Fe.value. $ el.querySelector("textarea");Ne.value.editor=Ne.value.editor||CodeMirror.fromTextArea(cr,{mode:"javascript"})})},{immediate:!0}),onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(ue.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(de.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(pe.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(_e.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(Ce.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(Ie.value=localStorage.getItem("imgHost"))});function Ve(){localStorage.setItem("imgHost",Ie.value),ElMessage.success("已成功切换图床")}function ze(){if(!(ue.value.repo&&ue.value.accessToken)){const lr=ue.value.repo?"token":"GitHub 仓库";ElMessage.error( ` 参数 「 $ { lr } 」 不能为空 ` );return}localStorage.setItem("githubConfig",JSON.stringify(ue.value)),ElMessage.success("保存成功")}function jt(){if(!(de.value.accessKeyId&&de.value.accessKeySecret&&de.value.bucket&&de.value.region)){ElMessage.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(de.value)),ElMessage.success("保存成功")}function kt(){if(!(Ce.value.endpoint&&Ce.value.bucket&&Ce.value.accessKey&&Ce.value.secretKey)){ElMessage.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(Ce.value)),ElMessage.success("保存成功")}function Pt(){if(!(pe.value.secretId&&pe.value.secretKey&&pe.value.bucket&&pe.value.region)){ElMessage.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(pe.value)),ElMessage.success("保存成功")}function Et(){if(!(_e.value.accessKey&&_e.value.secretKey&&_e.value.bucket&&_e.value.domain&&_e.value.region)){ElMessage.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(_e.value)),ElMessage.success("保存成功")}function er(){const lr=Ne.value.editor.getValue();localStorage.setItem("formCustomConfig",lr),ElMessage.success("保存成功")}function tr(lr){const cr=checkImage(lr);if(!cr.ok)return ElMessage.error(cr.msg),!1;let ir=localStorage.getItem("imgHost");ir=ir||"default",localStorage.setItem("imgHost",ir);const ar=localStorage.getItem( ` $ { ir } Config ` );return ir==="default"||ar?!0:(ElMessage.error( ` 请先配置 $ { ir } 图床参数 ` ),!1)}function nr(lr){ae("uploadImage",lr.file)}return(lr,cr)=>{const ir=resolveComponent("el-option"),ar=resolveComponent("el-select"),sr=resolveComponent("el-icon"),dr=resolveComponent("el-upload"),fr=resolveComponent("el-tab-pane"),_r=resolveComponent("el-input"),mr=resolveComponent("el-form-item"),Er=resolveComponent("el-link"),Sr=resolveComponent("el-button"),xr=resolveComponent("el-form"),Nr=resolveComponent("el-switch"),Rr=resolveComponent("el-tabs"),Vr=resolveComponent("el-dialog");return openBlock(),createBlock(Vr,{title:"本地上传",class:"upload__dialog","model-value":unref(oe).isShowUploadImgDialog,onClose:cr[30]||(cr[30]=Fr=>unref(oe).toggleShowUploadImgDialog(!1))},{default:withCtx(()=>[createVNode(Rr,{modelValue:Ue.value,"onUpdate:modelValue":cr[29]||(cr[29]=Fr=>Ue.value=Fr)},{default:withCtx(()=>[createVNode(fr,{class:"upload-panel",label:"选择上传",name:"upload"},{default:withCtx(()=>[createVNode(ar,{modelValue:Ie.value,"onUpdate:modelValue":cr[0]||(cr[0]=Fr=>Ie.value=Fr),placeholder:"请选择",size:"small",onChange:Ve},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(Oe,Fr=>createVNode(ir,{key:Fr.value,label:Fr.label,
$ { xr }
` ,Sr),ElMessage.success("图片上传成功")}function ir(Er,Sr){Ve.value=!0,toBase64(Er).then(xr=>fileApi.fileUpload(xr,Er)).then(xr=>{console.log(xr),Sr?Sr(xr):cr(xr)}).catch(xr=>{ElMessage.error(xr.message)}).finally(()=>{Ve.value=!1})}const ar=ref $ 1(0);function sr(){const Er=document.querySelector("#editor");Er.value||(Er.value=ue.value),oe.value=CodeMirror.fromTextArea(Er,{mode:"text/x-markdown",theme:"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[ ` $ { shiftKey } - $ { altKey } - F ` ]:function(xr){const Nr=formatDoc(xr.getValue(0));xr.setValue(Nr)},[ ` $ { ctrlKey } - B ` ]:function(xr){const Nr=xr.getSelection();xr.replaceSelection( ` * * $ { Nr } * * ` )},[ ` $ { ctrlKey } - I ` ]:function(xr){const Nr=xr.getSelection();xr.replaceSelection( ` * $ { Nr } * ` )},[ ` $ { ctrlKey } - D ` ]:function(xr){const Nr=xr.getSelection();xr.replaceSelection( ` ~ ~ $ { Nr } ~ ~ ` )},[ ` $ { ctrlKey } - K ` ]:function(xr){const Nr=xr.getSelection();xr.replaceSelection( ` [ $ { Nr } ] ( ) ` )},[ ` $ { ctrlKey } - E ` ]:function(xr){const Nr=xr.getSelection();xr.replaceSelection( ` \ ` ${ Nr } \` ` ) } , [ ` ${ ctrlKey } -L ` ] : function ( xr ) { const Nr = xr . getSelection ( ) ; xr . replaceSelection ( ` \` ${ Nr } \` ` ) } } } ) , oe . value . on ( "change" , Sr => { clearTimeout ( ar . value ) , ar . value = setTimeout ( ( ) => { Pt ( ) , ue . value = Sr . getValue ( ) } , 300 ) } ) , oe . value . on ( "paste" , ( Sr , xr ) => { if ( ! ( ! ( xr . clipboardData && xr . clipboardData . items ) || Ve . value ) ) for ( let Nr = 0 , Rr = xr . clipboardData . items . length ; Nr < Rr ; ++ Nr ) { const Vr = xr . clipboardData . items [ Nr ] ; if ( Vr . kind === "file" ) { const Fr = Vr . getAsFile ( ) ; if ( ! lr ( Fr ) ) continue ; ir ( Fr ) } } } ) } const dr = ref$1 ( null ) ; function fr ( Er ) { oe . value . options . extraKeys [ Er ] ( oe . value ) } const _r = ref$1 ( null ) ; function mr ( ) { const Er = _r . value . $el , Sr = async ( { md : Rr , list : Vr } ) => { const Fr = [ ... Rr . str . matchAll ( /!\[(.*?)\]\((.*?)\)/g ) || [ ] ] . filter ( qr => qr ) , Ir = Rr . path . match ( /.+?\// ) [ 0 ] , kr = await Promise . all ( Fr . map ( qr => new Promise ( Wr => { let [ , , Ar ] = qr ; Ar = Ar . replace ( /^.\// , "" ) ; const { file : Dr } = Vr . find ( Jr => Jr . path === ` ${ Ir } ${ Ar } ` ) || { } ; ir ( Dr , Jr => { Wr ( { matchStr : Ar , url : Jr } ) } ) } ) ) ) ; kr . forEach ( qr => { Rr . str = Rr . str . replace ( ` ](./ ${ qr . matchStr } ) ` , ` ]( ${ qr . url } ) ` ) . replace ( ` ]( ${ qr . matchStr } ) ` , ` ]( ${ qr . url } ) ` ) } ) , oe . value . setValue ( Rr . str ) , console . log ( "resList" , kr , Rr . str ) } ; Er . ondragover = Rr => Rr . preventDefault ( ) , Er . ondrop = async Rr => { Rr . preventDefault ( ) ; for ( const Vr of Rr . dataTransfer . items ) Vr . getAsFileSystemHandle ( ) . then ( async Fr => { if ( Fr . kind === "directory" ) { const Ir = await Nr ( Fr ) , kr = await xr ( { list : Ir } ) ; Sr ( { md : kr , list : Ir } ) } else { const Ir = await Fr . getFile ( ) ; console . log ( "file" , Ir ) } } ) } ; async function xr ( { list : Rr } ) { return new Promise ( Vr => { const { path : Fr , file : Ir } = Rr . find ( qr => qr . path . match ( /\.md$/ ) ) , kr = new FileReader ; kr . readAsText ( Ir , "UTF-8" ) , kr . onload = qr => { Vr ( { str : qr . target . result , file : Ir , path : Fr } ) } } ) } async function Nr ( Rr ) { const Vr = [ ] ; let Fr = "" ; try { const Ir = [ Rr ] ; for ( const kr of Ir ) { Fr += ` ${ kr . name } / ` ; for await ( const [ , qr ] of kr ) qr . kind === "file" ? Vr . push ( { path : Fr + qr . name , file : await qr . getFile ( ) } ) : ( Vr . push ( { path : ` ${ Fr + qr . name } / ` } ) , Ir . push ( qr ) ) } } catch ( Ir ) { console . error ( Ir ) } return Vr } } return onMounted ( ( ) => { sr ( ) , Pt ( ) , mr ( ) } ) , ( Er , Sr ) => { const xr = resolveComponent ( "el-header" ) , Nr = resolveComponent ( "el-col" ) , Rr = resolveComponent ( "el-row" ) , Vr = resolveComponent ( "el-main" ) , Fr = resolveComponent ( "el-container" ) ; return openBlock ( ) , createElementBlock ( "div" , { ref _key : "container" , ref : dr , class : "container" } , [ createVNode ( Fr , null , { default : withCtx ( ( ) => [ createVNode ( xr , { class : "editor__header" } , { default : withCtx ( ( ) => [ createVNode ( EditorHeader , { onAddFormat : fr , onFormatContent : unref ( Ne ) , onStartCopy : tr , onEndCopy : nr } , null , 8 , [ "onFormatContent" ] ) ] ) , _ : 1 } ) , createVNode ( Vr , { class : "container-main" } , { default : withCtx ( ( ) => [ createVNode ( Rr , { class : "container-main-section" } , { default : withCtx ( ( ) => [ createVNode ( Nr , { ref _key : "codeMirrorWrapper" , ref : _r , span : unref ( de ) ? 8 : 12 , class : normalizeClass ( [ "codeMirror-wrapper" , { "order-1" : ! unref ( ie ) . isEditOnLeft } ] ) } , { default : withCtx ( ( ) => [ createVNode ( unref ( _sfc _main$7 ) , null , { default : withCtx ( ( ) => [ createVNode ( unref ( _sfc _main$6 ) , null , { default : withCtx ( ( ) => [ _hoisted _1 ] ) , _ : 1 } ) , createVNode ( unref ( _sfc _main$5 ) , { class : "w-64" } , { default : withCtx ( ( ) => [ createVNode ( unref ( _sfc _main$4 ) , { inset : "" , onClick : Sr [ 0 ] || ( Sr [ 0 ] = Ir => unref ( Ue ) ( ) ) } , { default
` ;kt.replaceSelection(lr+lr,null),Fe(kt,-1),er=kt.listSelections();for(var cr=0;cr<er.length;cr++){var ir=er[cr].head.line;kt.indentLine(ir,null,!0),kt.indentLine(ir+1,null,!0)}})}function Fe(kt,Pt){for(var Et=[],er=kt.listSelections(),tr=0,nr=0;nr<er.length;nr++){var lr=er[nr];lr.head==kt.getCursor()&&(tr=nr);var cr=lr.head.ch||Pt>0?{line:lr.head.line,ch:lr.head.ch+Pt}:{line:lr.head.line-1};Et.push({anchor:cr,head:cr})}kt.setSelections(Et,tr)}function Ue(kt){var Pt=ae.cmpPos(kt.anchor,kt.head)>0;return{anchor:new ue(kt.anchor.line,kt.anchor.ch+(Pt?-1:1)),head:new ue(kt.head.line,kt.head.ch+(Pt?1:-1))}}function Ve(kt,Pt){var Et=Ne(kt);if(!Et||kt.getOption("disableInput"))return ae.Pass;var er=de(Et,"pairs"),tr=er.indexOf(Pt);if(tr==-1)return ae.Pass;for(var nr=de(Et,"closeBefore"),lr=de(Et,"triples"),cr=er.charAt(tr+1)==Pt,ir=kt.listSelections(),ar=tr%2==0,sr,dr=0;dr<ir.length;dr++){var fr=ir[dr],_r=fr.head,mr,Er=kt.getRange(_r,ue(_r.line,_r.ch+1));if(ar&&!fr.empty())mr="surround";else if((cr||!ar)&&Er==Pt)cr&&jt(kt,_r)?mr="both":lr.indexOf(Pt)>=0&&kt.getRange(_r,ue(_r.line,_r.ch+3))==Pt+Pt+Pt?mr="skipThree":mr="skip";else if(cr&&_r.ch>1&&lr.indexOf(Pt)>=0&&kt.getRange(ue(_r.line,_r.ch-2),_r)==Pt+Pt){if(_r.ch>2&&/ \b string/.test(kt.getTokenTypeAt(ue(_r.line,_r.ch-2))))return ae.Pass;mr="addFour"}else if(cr){var Sr=_r.ch==0?" ":kt.getRange(ue(_r.line,_r.ch-1),_r);if(!ae.isWordChar(Er)&&Sr!=Pt&&!ae.isWordChar(Sr))mr="both";else return ae.Pass}else if(ar&&(Er.length===0||/ \s /.test(Er)||nr.indexOf(Er)>-1))mr="both";else return ae.Pass;if(!sr)sr=mr;else if(sr!=mr)return ae.Pass}var xr=tr%2?er.charAt(tr-1):Pt,Nr=tr%2?Pt:er.charAt(tr+1);kt.operation(function(){if(sr=="skip")Fe(kt,1);else if(sr=="skipThree")Fe(kt,3);else if(sr=="surround"){for(var Rr=kt.getSelections(),Vr=0;Vr<Rr.length;Vr++)Rr[Vr]=xr+Rr[Vr]+Nr;kt.replaceSelections(Rr,"around"),Rr=kt.listSelections().slice();for(var Vr=0;Vr<Rr.length;Vr++)Rr[Vr]=Ue(Rr[Vr]);kt.setSelections(Rr)}else sr=="both"?(kt.replaceSelection(xr+Nr,null),kt.triggerElectric(xr+Nr),Fe(kt,-1)):sr=="addFour"&&(kt.replaceSelection(xr+xr+xr+xr,"before"),Fe(kt,1))})}function ze(kt,Pt){var Et=kt.getRange(ue(Pt.line,Pt.ch-1),ue(Pt.line,Pt.ch+1));return Et.length==2?Et:null}function jt(kt,Pt){var Et=kt.getTokenAt(ue(Pt.line,Pt.ch+1));return/ \b string/.test(Et.type)&&Et.start==Pt.ch&&(Pt.ch==0||!/ \b string/.test(kt.getTokenTypeAt(Pt)))}})})();(function(re,ie){(function(ae){ae(requireCodemirror())})(function(ae){var oe=/MSIE \d /.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),ue=ae.Pos,de={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function pe(Fe){return Fe&&Fe.bracketRegex||/[(){}[ \] ]/}function _e(Fe,Ue,Ve){var ze=Fe.getLineHandle(Ue.line),jt=Ue.ch-1,kt=Ve&&Ve.afterCursor;kt==null&&(kt=/(^| )cm-fat-cursor( $ | )/.test(Fe.getWrapperElement().className));var Pt=pe(Ve),Et=!kt&&jt>=0&&Pt.test(ze.text.charAt(jt))&&de[ze.text.charAt(jt)]||Pt.test(ze.text.charAt(jt+1))&&de[ze.text.charAt(++jt)];if(!Et)return null;var er=Et.charAt(1)==">"?1:-1;if(Ve&&Ve.strict&&er>0!=(jt==Ue.ch))return null;var tr=Fe.getTokenTypeAt(ue(Ue.line,jt+1)),nr=Ce(Fe,ue(Ue.line,jt+(er>0?1:0)),er,tr,Ve);return nr==null?null:{from:ue(Ue.line,jt),to:nr&&nr.pos,match:nr&&nr.ch==Et.charAt(0),forward:er>0}}function Ce(Fe,Ue,Ve,ze,jt){for(var kt=jt&&jt.maxScanLineLength||1e4,Pt=jt&&jt.maxScanLines||1e3,Et=[],er=pe(jt),tr=Ve>0?Math.min(Ue.line+Pt,Fe.lastLine()+1):Math.max(Fe.firstLine()-1,Ue.line-Pt),nr=Ue.line;nr!=tr;nr+=Ve){var lr=Fe.getLine(nr);if(lr){var cr=Ve>0?0:lr.length-1,ir=Ve>0?lr.length:-1;if(!(lr.length>kt))for(nr==Ue.line&&(cr=Ue.ch-(Ve<0?1:0));cr!=ir;cr+=Ve){var ar=lr.charAt(cr);if(er.test(ar)&&(ze===void 0||(Fe.getTokenTypeAt(ue(nr,cr+1))||"")==(ze||""))){var sr=de[ar];if(sr&&sr.charAt(1)==">"==Ve>0)Et.push(ar);else if(Et.length)Et.pop();else return{pos:ue(nr,cr),ch:ar}}}}}return nr-Ve==(Ve>0?Fe.lastLine():Fe.firstLine())?!1:null}function Ne(Fe,Ue,Ve){for(var ze=Fe.state.matchBrackets.maxHighlightLineLength||1e3,jt=Ve&&Ve.highlightNonMatching,kt=[],Pt=Fe.listSelections(