2022-07-28 09:53:15 -04:00
var Ld = Object . create ; var Wr = Object . defineProperty ; var Fd = Object . getOwnPropertyDescriptor ; var Rd = Object . getOwnPropertyNames ; var Od = Object . getPrototypeOf , Pd = Object . prototype . hasOwnProperty ; var Md = ( r , e ) => ( ) => ( r && ( e = r ( r = 0 ) ) , e ) ; var re = ( r , e ) => ( ) => ( e || r ( ( e = { exports : { } } ) . exports , e ) , e . exports ) , _d = ( r , e ) => { for ( var t in e ) Wr ( r , t , { get : e [ t ] , enumerable : ! 0 } ) } , Qo = ( r , e , t , n ) => { if ( e && typeof e == "object" || typeof e == "function" ) for ( let o of Rd ( e ) ) ! Pd . call ( r , o ) && o !== t && Wr ( r , o , { get : ( ) => e [ o ] , enumerable : ! ( n = Fd ( e , o ) ) || n . enumerable } ) ; return r } ; var Yr = ( r , e , t ) => ( t = r != null ? Ld ( Od ( r ) ) : { } , Qo ( e || ! r || ! r . _ _esModule ? Wr ( t , "default" , { value : r , enumerable : ! 0 } ) : t , r ) ) , Nd = r => Qo ( Wr ( { } , "__esModule" , { value : ! 0 } ) , r ) ; var Zs = re ( ( yn , Ei ) => { ( function ( e , t ) { if ( typeof yn == "object" && typeof Ei == "object" ) Ei . exports = t ( ) ; else if ( typeof define == "function" && define . amd ) define ( [ ] , t ) ; else { var n = t ( ) ; for ( var o in n ) ( typeof yn == "object" ? yn : e ) [ o ] = n [ o ] } } ) ( self , function ( ) { return function ( ) { var r = { 3099 : function ( o ) { o . exports = function ( s ) { if ( typeof s != "function" ) throw TypeError ( String ( s ) + " is not a function" ) ; return s } } , 6077 : function ( o , s , i ) { var a = i ( 111 ) ; o . exports = function ( l ) { if ( ! a ( l ) && l !== null ) throw TypeError ( "Can't set " + String ( l ) + " as a prototype" ) ; return l } } , 1223 : function ( o , s , i ) { var a = i ( 5112 ) , l = i ( 30 ) , u = i ( 3070 ) , c = a ( "unscopables" ) , f = Array . prototype ; f [ c ] == null && u . f ( f , c , { configurable : ! 0 , value : l ( null ) } ) , o . exports = function ( h ) { f [ c ] [ h ] = ! 0 } } , 1530 : function ( o , s , i ) { "use strict" ; var a = i ( 8710 ) . charAt ; o . exports = function ( l , u , c ) { return u + ( c ? a ( l , u ) . length : 1 ) } } , 5787 : function ( o ) { o . exports = function ( s , i , a ) { if ( ! ( s instanceof i ) ) throw TypeError ( "Incorrect " + ( a ? a + " " : "" ) + "invocation" ) ; return s } } , 9670 : function ( o , s , i ) { var a = i ( 111 ) ; o . exports = function ( l ) { if ( ! a ( l ) ) throw TypeError ( String ( l ) + " is not an object" ) ; return l } } , 4019 : function ( o ) { o . exports = typeof ArrayBuffer < "u" && typeof DataView < "u" } , 260 : function ( o , s , i ) { "use strict" ; var a = i ( 4019 ) , l = i ( 9781 ) , u = i ( 7854 ) , c = i ( 111 ) , f = i ( 6656 ) , h = i ( 648 ) , d = i ( 8880 ) , p = i ( 1320 ) , m = i ( 3070 ) . f , v = i ( 9518 ) , b = i ( 7674 ) , x = i ( 5112 ) , C = i ( 9711 ) , S = u . Int8Array , M = S && S . prototype , A = u . Uint8ClampedArray , O = A && A . prototype , k = S && v ( S ) , D = M && v ( M ) , I = Object . prototype , P = I . isPrototypeOf , N = x ( "toStringTag" ) , B = C ( "TYPED_ARRAY_TAG" ) , H = a && ! ! b && h ( u . opera ) !== "Opera" , Z = ! 1 , W , te = { Int8Array : 1 , Uint8Array : 1 , Uint8ClampedArray : 1 , Int16Array : 2 , Uint16Array : 2 , Int32Array : 4 , Uint32Array : 4 , Float32Array : 4 , Float64Array : 8 } , ne = { BigInt64Array : 8 , BigUint64Array : 8 } , be = function ( Se ) { if ( ! c ( Se ) ) return ! 1 ; var ke = h ( Se ) ; return ke === "DataView" || f ( te , ke ) || f ( ne , ke ) } , Ae = function ( he ) { if ( ! c ( he ) ) return ! 1 ; var Se = h ( he ) ; return f ( te , Se ) || f ( ne , Se ) } , xe = function ( he ) { if ( Ae ( he ) ) return he ; throw TypeError ( "Target is not a typed array" ) } , Fe = function ( he ) { if ( b ) { if ( P . call ( k , he ) ) return he } else for ( var Se in te ) if ( f ( te , W ) ) { var ke = u [ Se ] ; if ( ke && ( he === ke || P . call ( ke , he ) ) ) return he } throw TypeError ( "Target is not a typed array constructor" ) } , Re = function ( he , Se , ke ) { if ( ! ! l ) { if ( ke ) for ( var Ie in te ) { var Oe = u [ Ie ] ; Oe && f ( Oe . prototype , he ) && delete Oe . prototype [ he ] } ( ! D [ he ] || ke ) && p ( D , he , ke ? Se : H && M [ he ] || Se ) } } , Ne = function ( he , Se , ke ) { var Ie , Oe ; if ( ! ! l ) { if ( b ) { if ( ke ) for ( Ie in te ) Oe = u [ Ie ] , Oe && f ( Oe , he ) && delete Oe [ he ] ; if ( ! k [ he ] || ke ) try { return p ( k , he , ke ? Se : H && S [ he ] || Se ) } catch { } else return } for ( Ie in te ) Oe = u [ Ie ] , Oe && ( ! Oe [ he ] || ke ) && p ( Oe , he , Se ) } } ; for ( W in te ) u [ W ] || ( H = ! 1 ) ; if ( ( ! H || typeof k != "function" || k === Function . prototype ) && ( k = function ( ) { throw TypeError ( "Incorrect invocation" ) } , H ) ) for ( W in te ) u [ W ] && b ( u [ W ] , k ) ; if ( ( ! H || ! D || D === I ) && ( D = k . prototype , H ) ) for ( W in te ) u [ W ] && b ( u [ W ] . prototype , D ) ; if ( H && v ( O ) !== D && b ( O , D ) , l && ! f ( D , N ) ) { Z = ! 0 , m ( D , N , { get : function ( ) { return c ( this ) ? this [ B ] : void 0 } } ) ; for ( W in te ) u [ W ] && d ( u [ W ] , B , W ) } o . exports = { NATIVE _ARRAY _BUFFER _VIEWS : H , TYPED _ARRAY _TAG : Z && B , aTypedArray : xe , aTypedArrayConstructor : Fe , exportTypedArrayMethod : Re , exportTypedArrayStaticMethod : Ne , isView : be , isTypedArray : Ae , TypedArray : k , TypedArrayPrototype : D } } , 3331 : function ( o , s , i ) { "use strict" ; var a = i ( 7854 ) , l = i ( 9781 ) , u = i ( 4019 ) , c = i ( 8880 ) , f = i ( 2248 ) , h = i ( 7293 ) , d = i ( 5787 ) , p = i ( 9958 ) , m = i ( 7466 ) , v = i ( 7067 ) , b = i ( 1179 ) , x = i ( 9518 ) , C = i ( 7674 ) , S = i ( 8006 ) . f , M = i ( 3070 ) . f , A = i ( 1285 ) , O = i ( 8003 ) , k = i ( 9909 ) , D = k . get , I = k . set , P = "ArrayBuffer" , N = "DataView" , B = "prototype" , H = "Wrong length" , Z = " Wrong in
` )&&(D="(?: "+D+")",P=" "+P,I++),S=new RegExp("^(?:"+D+")",k)),p&&(S=new RegExp("^"+D+" $ (?! \\ s)",k)),h&&(C=x.lastIndex),M=u.call(O?S:x,P),O?M?(M.input=M.input.slice(I),M[0]=M[0].slice(I),M.index=x.lastIndex,x.lastIndex+=M[0].length):x.lastIndex=0:h&&M&&(x.lastIndex=x.global?M.index+M[0].length:C),p&&M&&M.length>1&&c.call(M[0],S,function(){for(A=1;A<arguments.length-2;A++)arguments[A]===void 0&&(M[A]=void 0)}),M}),o.exports=f},7066:function(o,s,i){"use strict";var a=i(9670);o.exports=function(){var l=a(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},2999:function(o,s,i){"use strict";var a=i(7293);function l(u,c){return RegExp(u,c)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},4488:function(o){o.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},3505:function(o,s,i){var a=i(7854),l=i(8880);o.exports=function(u,c){try{l(a,u,c)}catch{a[u]=c}return c}},6340:function(o,s,i){"use strict";var a=i(5005),l=i(3070),u=i(5112),c=i(9781),f=u("species");o.exports=function(h){var d=a(h),p=l.f;c&&d&&!d[f]&&p(d,f,{configurable:!0,get:function(){return this}})}},8003:function(o,s,i){var a=i(3070).f,l=i(6656),u=i(5112),c=u("toStringTag");o.exports=function(f,h,d){f&&!l(f=d?f:f.prototype,c)&&a(f,c,{configurable:!0,value:h})}},6200:function(o,s,i){var a=i(2309),l=i(9711),u=a("keys");o.exports=function(c){return u[c]||(u[c]=l(c))}},5465:function(o,s,i){var a=i(7854),l=i(3505),u="__core-js_shared__",c=a[u]||l(u,{});o.exports=c},2309:function(o,s,i){var a=i(1913),l=i(5465);(o.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.9.0",mode:a?"pure":"global",copyright:" \x A9 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(o,s,i){var a=i(9670),l=i(3099),u=i(5112),c=u("species");o.exports=function(f,h){var d=a(f).constructor,p;return d===void 0||(p=a(d)[c])==null?h:l(p)}},8710:function(o,s,i){var a=i(9958),l=i(4488),u=function(c){return function(f,h){var d=String(l(f)),p=a(h),m=d.length,v,b;return p<0||p>=m?c?"":void 0:(v=d.charCodeAt(p),v<55296||v>56319||p+1===m||(b=d.charCodeAt(p+1))<56320||b>57343?c?d.charAt(p):v:c?d.slice(p,p+2):(v-55296<<10)+(b-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},3197:function(o){"use strict";var s=2147483647,i=36,a=1,l=26,u=38,c=700,f=72,h=128,d="-",p=/[^ \0 - \u 007E]/,m=/[. \u 3002 \u FF0E \u FF61]/g,v="Overflow: input needs wider integers to process",b=i-a,x=Math.floor,C=String.fromCharCode,S=function(k){for(var D=[],I=0,P=k.length;I<P;){var N=k.charCodeAt(I++);if(N>=55296&&N<=56319&&I<P){var B=k.charCodeAt(I++);(B&64512)==56320?D.push(((N&1023)<<10)+(B&1023)+65536):(D.push(N),I--)}else D.push(N)}return D},M=function(k){return k+22+75*(k<26)},A=function(k,D,I){var P=0;for(k=I?x(k/c):k>>1,k+=x(k/D);k>b*l>>1;P+=i)k=x(k/b);return x(P+(b+1)*k/(k+u))},O=function(k){var D=[];k=S(k);var I=k.length,P=h,N=0,B=f,H,Z;for(H=0;H<k.length;H++)Z=k[H],Z<128&&D.push(C(Z));var W=D.length,te=W;for(W&&D.push(d);te<I;){var ne=s;for(H=0;H<k.length;H++)Z=k[H],Z>=P&&Z<ne&&(ne=Z);var be=te+1;if(ne-P>x((s-N)/be))throw RangeError(v);for(N+=(ne-P)*be,P=ne,H=0;H<k.length;H++){if(Z=k[H],Z<P&&++N>s)throw RangeError(v);if(Z==P){for(var Ae=N,xe=i;;xe+=i){var Fe=xe<=B?a:xe>=B+l?l:xe-B;if(Ae<Fe)break;var Re=Ae-Fe,Ne=i-Fe;D.push(C(M(Fe+Re%Ne))),Ae=x(Re/Ne)}D.push(C(M(Ae))),B=A(N,be,te==W),N=0,++te}}++N,++P}return D.join("")};o.exports=function(k){var D=[],I=k.toLowerCase().replace(m,".").split("."),P,N;for(P=0;P<I.length;P++)N=I[P],D.push(p.test(N)?"xn--"+O(N):N);return D.join(".")}},6091:function(o,s,i){var a=i(7293),l=i(1361),u=" \u 200B \x 85 \u 180E";o.exports=function(c){return a(function(){return!!l[c]()||u[c]()!=u||l[c].name!==c})}},3111:function(o,s,i){var a=i(4488),l=i(1361),u="["+l+"]",c=RegExp("^"+u+u+"*"),f=RegExp(u+u+"* $ "),h=function(d){return function(p){var m=String(a(p));return d&1&&(m=m.replace(c,"")),d&2&&(m=m.replace(f,"")),m}};o.expor
\ v \ f \ r \ xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF ` },8264:function(o,s,i){"use strict";var a=i(2109),l=i(7854),u=i(3331),c=i(6340),f="ArrayBuffer",h=u[f],d=l[f];a({global:!0,forced:d!==h},{ArrayBuffer:h}),c(f)},2222:function(o,s,i){"use strict";var a=i(2109),l=i(7293),u=i(3157),c=i(111),f=i(7908),h=i(7466),d=i(6135),p=i(5417),m=i(1194),v=i(5112),b=i(7392),x=v("isConcatSpreadable"),C=9007199254740991,S="Maximum allowed index exceeded",M=b>=51||!l(function(){var D=[];return D[x]=!1,D.concat()[0]!==D}),A=m("concat"),O=function(D){if(!c(D))return!1;var I=D[x];return I!==void 0?!!I:u(D)},k=!M||!A;a({target:"Array",proto:!0,forced:k},{concat:function(I){var P=f(this),N=p(P,0),B=0,H,Z,W,te,ne;for(H=-1,W=arguments.length;H<W;H++)if(ne=H===-1?P:arguments[H],O(ne)){if(te=h(ne.length),B+te>C)throw TypeError(S);for(Z=0;Z<te;Z++,B++)Z in ne&&d(N,B,ne[Z])}else{if(B>=C)throw TypeError(S);d(N,B++,ne)}return N.length=B,N}})},7327:function(o,s,i){"use strict";var a=i(2109),l=i(2092).filter,u=i(1194),c=u("filter");a({target:"Array",proto:!0,forced:!c},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},2772:function(o,s,i){"use strict";var a=i(2109),l=i(1318).indexOf,u=i(9341),c=[].indexOf,f=!!c&&1/[1].indexOf(1,-0)<0,h=u("indexOf");a({target:"Array",proto:!0,forced:f||!h},{indexOf:function(p){return f?c.apply(this,arguments)||0:l(this,p,arguments.length>1?arguments[1]:void 0)}})},6992:function(o,s,i){"use strict";var a=i(5656),l=i(1223),u=i(7497),c=i(9909),f=i(654),h="Array Iterator",d=c.set,p=c.getterFor(h);o.exports=f(Array,"Array",function(m,v){d(this,{type:h,target:a(m),index:0,kind:v})},function(){var m=p(this),v=m.target,b=m.kind,x=m.index++;return!v||x>=v.length?(m.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:x,done:!1}:b=="values"?{value:v[x],done:!1}:{value:[x,v[x]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},1249:function(o,s,i){"use strict";var a=i(2109),l=i(2092).map,u=i(1194),c=u("map");a({target:"Array",proto:!0,forced:!c},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},7042:function(o,s,i){"use strict";var a=i(2109),l=i(111),u=i(3157),c=i(1400),f=i(7466),h=i(5656),d=i(6135),p=i(5112),m=i(1194),v=m("slice"),b=p("species"),x=[].slice,C=Math.max;a({target:"Array",proto:!0,forced:!v},{slice:function(M,A){var O=h(this),k=f(O.length),D=c(M,k),I=c(A===void 0?k:A,k),P,N,B;if(u(O)&&(P=O.constructor,typeof P=="function"&&(P===Array||u(P.prototype))?P=void 0:l(P)&&(P=P[b],P===null&&(P=void 0)),P===Array||P===void 0))return x.call(O,D,I);for(N=new(P===void 0?Array:P)(C(I-D,0)),B=0;D<I;D++,B++)D in O&&d(N,B,O[D]);return N.length=B,N}})},561:function(o,s,i){"use strict";var a=i(2109),l=i(1400),u=i(9958),c=i(7466),f=i(7908),h=i(5417),d=i(6135),p=i(1194),m=p("splice"),v=Math.max,b=Math.min,x=9007199254740991,C="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!m},{splice:function(M,A){var O=f(this),k=c(O.length),D=l(M,k),I=arguments.length,P,N,B,H,Z,W;if(I===0?P=N=0:I===1?(P=0,N=k-D):(P=I-2,N=b(v(u(A),0),k-D)),k+P-N>x)throw TypeError(C);for(B=h(O,N),H=0;H<N;H++)Z=D+H,Z in O&&d(B,H,O[Z]);if(B.length=N,P<N){for(H=D;H<k-N;H++)Z=H+N,W=H+P,Z in O?O[W]=O[Z]:delete O[W];for(H=k;H>k-N+P;H--)delete O[H-1]}else if(P>N)for(H=k-N;H>D;H--)Z=H+N-1,W=H+P-1,Z in O?O[W]=O[Z]:delete O[W];for(H=0;H<P;H++)O[H+D]=arguments[H+2];return O.length=k-N+P,B}})},8309:function(o,s,i){var a=i(9781),l=i(3070).f,u=Function.prototype,c=u.toString,f=/^ \s *function ([^ (]*)/,h="name";a&&!(h in u)&&l(u,h,{configurable:!0,get:function(){try{return c.call(this).match(f)[1]}catch{return""}}})},489:function(o,s,i){var a=i(2109),l=i(7293),u=i(7908),c=i(9518),f=i(8544),h=l(function(){c(1)});a({target:"Object",stat:!0,forced:h,sham:!f},{getPrototypeOf:function(p){return c(u(p))}})},1539:function(o,s,i){var a=i(1694),l=i(1320),u=i(288);a||l(Object.prototype,"toString",u,{unsafe:!0})},4916:function(o,s,i){"use strict";var a=i(2109),l=i(2261);a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var y=!0,T=!1,_;return{s:function(){E=F[Symbol.iterator]()},n:function(){var z=E.next();return y=z.done,z},e:function(z){T=!0,_=z},f:function(){try{!y&&E.return!=null&&E.return()}finally{if(T)throw _}}}}function oe(F,R){if(!!F){if(typeof F=="string")return ue(F,R);var E=Object.prototype.toString.call(F).slice(8,-1);if(E==="Object"&&F.constructor&&(E=F.constructor.name),E==="Map"||E==="Set")return Array.from(F);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(E))return ue(F,R)}}function ue(F,R){(R==null||R>F.length)&&(R=F.length);for(var E=0,L=new Array(R);E<R;E++)L[E]=F[E];return L}function fe(F,R){if(!(F instanceof R))throw new TypeError("Cannot call a class as a function")}function le(F,R){for(var E=0;E<R.length;E++){var L=R[E];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(F,L.key,L)}}function pe(F,R,E){return R&&le(F.prototype,R),E&&le(F,E),F}var J=function(){function F(){fe(this,F)}return pe(F,[{key:"on",value:function(E,L){return this._callbacks=this._callbacks||{},this._callbacks[E]||(this._callbacks[E]=[]),this._callbacks[E].push(L),this}},{key:"emit",value:function(E){this._callbacks=this._callbacks||{};for(var L=this._callbacks[E],g=arguments.length,y=new Array(g>1?g-1:0),T=1;T<g;T++)y[T-1]=arguments[T];if(L){var _=me(L,!0),U;try{for(_.s();!(U=_.n()).done;){var z=U.value;z.apply(this,y)}}catch(Y){_.e(Y)}finally{_.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+E,{args:y})),this}},{key:"makeEvent",value:function(E,L){var g={bubbles:!0,cancelable:!0,detail:L};if(typeof window.CustomEvent=="function")return new CustomEvent(E,g);var y=document.createEvent("CustomEvent");return y.initCustomEvent(E,g.bubbles,g.cancelable,g.detail),y}},{key:"off",value:function(E,L){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var g=this._callbacks[E];if(!g)return this;if(arguments.length===1)return delete this._callbacks[E],this;for(var y=0;y<g.length;y++){var T=g[y];if(T===L){g.splice(y,1);break}}return this}}]),F}(),V='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var y=!0,T=!1,_;return{s:function(){E=F[Symbol.iterator]()},n:function(){var z=E.next();return y=z.done,z},e:function(z){T=!0,_=z},f:function(){try{!y&&E.return!=null&&E.return()}finally{if(T)throw _}}}}function $ e(F,R){if(!!F){if(typeof F=="string")return Ge(F,R);var E=Object.prototype.toString.call(F).slice(8,-1);if(E==="Object"&&F.constructor&&(E=F.constructor.name),E==="Map"||E==="Set")return Array.from(F);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(E))return Ge(F,R)}}function Ge(F,R){(R==null||R>F.length)&&(R=F.length);for(var E=0,L=new Array(R);E<R;E++)L[E]=F[E];return L}var st={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(R,E,L){if(L)return{dzuuid:L.file.upload.uuid,dzchunkindex:L.index,dztotalfilesize:L.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:L.file.upload.totalChunkCount,dzchunkbyteoffset:L.index*this.options.chunkSize}},accept:function(R,E){return E()},chunksUploaded:function(R,E){E()},fallback:function(){var R;this.element.className="".concat(this.element.className," dz-browser-not-supported");var E=ce(this.element.getElementsByTagName("div"),!0),L;try{for(E.s();!(L=E.n()).done;){var g=L.value;if(/(^| )dz-message( $ | )/.test(g.className)){R=g,g.className="dz-message";break}}}catch(T){E.e(T)}finally{E.f()}R||(R=de.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(R));var y=R.getElementsByTagName("span")[0];return y&&(y.textContent!=null?y.textContent=this.options.dictFallbackMessage:y.innerText!=null&&(y.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(R,E,L,g){var y={srcX:0,srcY:0,srcWidth:R.width,srcHeight:R.height},T=R.width/R.height;E==null&&L==null?(E=y.srcWidth,L=y.srcHeight):E==null?E=L*T:L==null&&(L=E/T),E=Math.min(E,y.srcWidth),L=Math.min(L,y.srcHeight);var _=E/L;if(y.srcWidth>E||y.srcHeight>L)if(g==="crop")T>_?(y.srcHeight=R.height,y.srcWidth=y.srcHeight*_):(y.srcWidth=R.width,y.srcHeight=y.srcWidth/_);else if(g==="contain")T>_?L=E/T:E=L*T;else throw new Error("Unknown resizeMethod '".concat(g,"'"));return y.srcX=(R.width-y.srcWidth)/2,y.srcY=(R.height-y.srcHeight)/2,y.trgWidth=E,y.trgHeight=L,y},transformFile:function(R,E){return(this.options.resizeWidth||this.options.resizeHeight)&&R.type.match(/image.*/)?this.resizeImage(R,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,E):E(R)},previewTemplate:ie,drop:function(R){return this.element.classList.remove("dz-drag-hover")},dragstart:function(R){
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var y=!0,T=!1,_;return{s:function(){E=F[Symbol.iterator]()},n:function(){var z=E.next();return y=z.done,z},e:function(z){T=!0,_=z},f:function(){try{!y&&E.return!=null&&E.return()}finally{if(T)throw _}}}}function Nt(F,R){if(!!F){if(typeof F=="string")return dt(F,R);var E=Object.prototype.toString.call(F).slice(8,-1);if(E==="Object"&&F.constructor&&(E=F.constructor.name),E==="Map"||E==="Set")return Array.from(F);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(E))return dt(F,R)}}function dt(F,R){(R==null||R>F.length)&&(R=F.length);for(var E=0,L=new Array(R);E<R;E++)L[E]=F[E];return L}function Xt(F,R){if(!(F instanceof R))throw new TypeError("Cannot call a class as a function")}function Zt(F,R){for(var E=0;E<R.length;E++){var L=R[E];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(F,L.key,L)}}function We(F,R,E){return R&&Zt(F.prototype,R),E&&Zt(F,E),F}function Pe(F,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(R&&R.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),R&&He(F,R)}function He(F,R){return He=Object.setPrototypeOf||function(L,g){return L.__proto__=g,L},He(F,R)}function ut(F){var R=Dt();return function(){var L=nt(F),g;if(R){var y=nt(this).constructor;g=Reflect.construct(L,arguments,y)}else g=L.apply(this,arguments);return It(this,g)}}function It(F,R){return R&&(Te(R)==="object"||typeof R=="function")?R:ft(F)}function ft(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function Dt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function nt(F){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},nt(F)}var de=function(F){Pe(E,F);var R=ut(E);function E(L,g){var y;Xt(this,E),y=R.call(this);var T,_;if(y.element=L,y.version=E.version,y.clickableElements=[],y.listeners=[],y.files=[],typeof y.element=="string"&&(y.element=document.querySelector(y.element)),!y.element||y.element.nodeType==null)throw new Error("Invalid dropzone element.");if(y.element.dropzone)throw new Error("Dropzone already attached.");E.instances.push(ft(y)),y.element.dropzone=ft(y);var U=(_=E.optionsForElement(y.element))!=null?_:{};if(y.options=E.extend({},et,U,g??{}),y.options.previewTemplate=y.options.previewTemplate.replace(/ \n */g,""),y.options.forceFallback||!E.isBrowserSupported())return It(y,y.options.fallback.call(ft(y)));if(y.options.url==null&&(y.options.url=y.element.getAttribute("action")),!y.options.url)throw new Error("No URL provided.");if(y.options.acceptedFiles&&y.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(y.options.uploadMultiple&&y.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return y.options.acceptedMimeTypes&&(y.options.acceptedFiles=y.options.acceptedMimeTypes,delete y.options.acceptedMimeTypes),y.options.renameFilename!=null&&(y.options.renameFile=function(z){return y.options.renameFilename.call(ft(y),z.name,z)}),typeof y.options.method=="string"&&(y.options.method=y.options.method.toUpperCase()),(T=y.getExistingFallback())&&T.parentNode&&T.parentNode.removeChild(T),y.options.previewsContainer!==!1&&(y.options.previewsContainer?y.previewsContainer=E.getElement(y.options.previewsContainer,"previewsContainer"):y.previewsContainer=y.element),y.options.clickable&&(y.options.clickable===!0?y.clickableElements=[y.element]:y.clickableElements=E.getElements(y.options.clickable,"clickable")),y.init(),y}return We(E,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(g){return g.accepted}).map(function(g){return g})}},{key:"getRejectedFiles"
2020-09-20 05:33:18 -04:00
Valid base64 characters are A - Z , a - z , 0 - 9 , '+' , '/' , and '='
2022-07-28 09:53:15 -04:00
Expect errors in decoding . ` ),E=E.replace(/[^A-Za-z0-9 \+ \/ \= ]/g,"");_=this.KEY_STR.indexOf(E.charAt(Q++)),U=this.KEY_STR.indexOf(E.charAt(Q++)),z=this.KEY_STR.indexOf(E.charAt(Q++)),Y=this.KEY_STR.indexOf(E.charAt(Q++)),g=_<<2|U>>4,y=(U&15)<<4|z>>2,T=(z&3)<<6|Y,G.push(g),z!==64&&G.push(y),Y!==64&&G.push(T),g=y=T="",_=U=z=Y="",Q<E.length;);return G}}]),F}();Er.initClass();var Bt=function(R,E){var L=!1,g=!0,y=R.document,T=y.documentElement,_=y.addEventListener?"addEventListener":"attachEvent",U=y.addEventListener?"removeEventListener":"detachEvent",z=y.addEventListener?"":"on",Y=function G(se){if(!(se.type==="readystatechange"&&y.readyState!=="complete")&&((se.type==="load"?R:y)[U](z+se.type,G,!1),!L&&(L=!0)))return E.call(R,se.type||se)},Q=function G(){try{T.doScroll("left")}catch{setTimeout(G,50);return}return Y("poll")};if(y.readyState!=="complete"){if(y.createEventObject&&T.doScroll){try{g=!R.frameElement}catch{}g&&Q()}return y[_](z+"DOMContentLoaded",Y,!1),y[_](z+"readystatechange",Y,!1),R[_](z+"load",Y,!1)}};de._autoDiscoverFunction=function(){if(de.autoDiscover)return de.discover()},Bt(window,de._autoDiscoverFunction);function Ct(F,R){return typeof F<"u"&&F!==null?R(F):void 0}function wt(F,R,E){if(typeof F<"u"&&F!==null&&typeof F[R]=="function")return E(F,R)}window.Dropzone=de;var $ t=de}(),n}()})});var fa=re((mv,wf)=>{wf.exports={Aacute:" \x C1",aacute:" \x E1",Abreve:" \u 0102",abreve:" \u 0103",ac:" \u 223E",acd:" \u 223F",acE:" \u 223E \u 0333",Acirc:" \x C2",acirc:" \x E2",acute:" \x B4",Acy:" \u 0410",acy:" \u 0430",AElig:" \x C6",aelig:" \x E6",af:" \u 2061",Afr:" \u {1D504}",afr:" \u {1D51E}",Agrave:" \x C0",agrave:" \x E0",alefsym:" \u 2135",aleph:" \u 2135",Alpha:" \u 0391",alpha:" \u 03B1",Amacr:" \u 0100",amacr:" \u 0101",amalg:" \u 2A3F",amp:"&",AMP:"&",andand:" \u 2A55",And:" \u 2A53",and:" \u 2227",andd:" \u 2A5C",andslope:" \u 2A58",andv:" \u 2A5A",ang:" \u 2220",ange:" \u 29A4",angle:" \u 2220",angmsdaa:" \u 29A8",angmsdab:" \u 29A9",angmsdac:" \u 29AA",angmsdad:" \u 29AB",angmsdae:" \u 29AC",angmsdaf:" \u 29AD",angmsdag:" \u 29AE",angmsdah:" \u 29AF",angmsd:" \u 2221",angrt:" \u 221F",angrtvb:" \u 22BE",angrtvbd:" \u 299D",angsph:" \u 2222",angst:" \x C5",angzarr:" \u 237C",Aogon:" \u 0104",aogon:" \u 0105",Aopf:" \u {1D538}",aopf:" \u {1D552}",apacir:" \u 2A6F",ap:" \u 2248",apE:" \u 2A70",ape:" \u 224A",apid:" \u 224B",apos:"'",ApplyFunction:" \u 2061",approx:" \u 2248",approxeq:" \u 224A",Aring:" \x C5",aring:" \x E5",Ascr:" \u {1D49C}",ascr:" \u {1D4B6}",Assign:" \u 2254",ast:"*",asymp:" \u 2248",asympeq:" \u 224D",Atilde:" \x C3",atilde:" \x E3",Auml:" \x C4",auml:" \x E4",awconint:" \u 2233",awint:" \u 2A11",backcong:" \u 224C",backepsilon:" \u 03F6",backprime:" \u 2035",backsim:" \u 223D",backsimeq:" \u 22CD",Backslash:" \u 2216",Barv:" \u 2AE7",barvee:" \u 22BD",barwed:" \u 2305",Barwed:" \u 2306",barwedge:" \u 2305",bbrk:" \u 23B5",bbrktbrk:" \u 23B6",bcong:" \u 224C",Bcy:" \u 0411",bcy:" \u 0431",bdquo:" \u 201E",becaus:" \u 2235",because:" \u 2235",Because:" \u 2235",bemptyv:" \u 29B0",bepsi:" \u 03F6",bernou:" \u 212C",Bernoullis:" \u 212C",Beta:" \u 0392",beta:" \u 03B2",beth:" \u 2136",between:" \u 226C",Bfr:" \u {1D505}",bfr:" \u {1D51F}",bigcap:" \u 22C2",bigcirc:" \u 25EF",bigcup:" \u 22C3",bigodot:" \u 2A00",bigoplus:" \u 2A01",bigotimes:" \u 2A02",bigsqcup:" \u 2A06",bigstar:" \u 2605",bigtriangledown:" \u 25BD",bigtriangleup:" \u 25B3",biguplus:" \u 2A04",bigvee:" \u 22C1",bigwedge:" \u 22C0",bkarow:" \u 290D",blacklozenge:" \u 29EB",blacksquare:" \u 25AA",blacktriangle:" \u 25B4",blacktriangledown:" \u 25BE",blacktriangleleft:" \u 25C2",blacktriangleright:" \u 25B8",blank:" \u 2423",blk12:" \u 2592",blk14:" \u 2591",blk34:" \u 2593",block:" \u 2588",bne:"= \u 20E5",bnequiv:" \u 2261 \u 20E5",bNot:" \u 2AED",bnot:" \u 2310",Bopf:" \u {1D539}",bopf:" \u {1D553}",bot:" \u 22A5",bottom:" \u 22A5",bowtie:" \u 22C8",boxbox:" \u 29C9",boxdl:" \u 2510",boxdL:" \u 2555",boxDl:" \u 2556",boxDL:" \u 2557",boxdr:" \u 250C",boxdR:" \u 2552",boxDr:" \u 2553",boxDR:" \u 2554",boxh:" \u 2500",boxH:" \u 2550",boxhd:" \u 252C",boxHd:" \u 2564",boxhD:" \u 2565",boxHD:" \u 2566",boxhu:" \u 2534",boxHu:" \u 2567",boxhU:" \u 2568",boxHU:" \u 2569",boxminus:" \u 229F",boxplus:" \u 229E",boxtimes:" \u 22A0",boxul:" \u 2518",boxuL:" \u 255B",boxUl:" \u 255C",boxUL:" \u 255D",boxur:" \u 2514",boxuR:" \u 2558",boxUr:" \u 2559",boxUR:" \u 25
` ,nexist:" \u 2204",nexists:" \u 2204",Nfr:" \u {1D511}",nfr:" \u {1D52B}",ngE:" \u 2267 \u 0338",nge:" \u 2271",ngeq:" \u 2271",ngeqq:" \u 2267 \u 0338",ngeqslant:" \u 2A7E \u 0338",nges:" \u 2A7E \u 0338",nGg:" \u 22D9 \u 0338",ngsim:" \u 2275",nGt:" \u 226B \u 20D2",ngt:" \u 226F",ngtr:" \u 226F",nGtv:" \u 226B \u 0338",nharr:" \u 21AE",nhArr:" \u 21CE",nhpar:" \u 2AF2",ni:" \u 220B",nis:" \u 22FC",nisd:" \u 22FA",niv:" \u 220B",NJcy:" \u 040A",njcy:" \u 045A",nlarr:" \u 219A",nlArr:" \u 21CD",nldr:" \u 2025",nlE:" \u 2266 \u 0338",nle:" \u 2270",nleftarrow:" \u 219A",nLeftarrow:" \u 21CD",nleftrightarrow:" \u 21AE",nLeftrightarrow:" \u 21CE",nleq:" \u 2270",nleqq:" \u 2266 \u 0338",nleqslant:" \u 2A7D \u 0338",nles:" \u 2A7D \u 0338",nless:" \u 226E",nLl:" \u 22D8 \u 0338",nlsim:" \u 2274",nLt:" \u 226A \u 20D2",nlt:" \u 226E",nltri:" \u 22EA",nltrie:" \u 22EC",nLtv:" \u 226A \u 0338",nmid:" \u 2224",NoBreak:" \u 2060",NonBreakingSpace:" \x A0",nopf:" \u {1D55F}",Nopf:" \u 2115",Not:" \u 2AEC",not:" \x AC",NotCongruent:" \u 2262",NotCupCap:" \u 226D",NotDoubleVerticalBar:" \u 2226",NotElement:" \u 2209",NotEqual:" \u 2260",NotEqualTilde:" \u 2242 \u 0338",NotExists:" \u 2204",NotGreater:" \u 226F",NotGreaterEqual:" \u 2271",NotGreaterFullEqual:" \u 2267 \u 0338",NotGreaterGreater:" \u 226B \u 0338",NotGreaterLess:" \u 2279",NotGreaterSlantEqual:" \u 2A7E \u 0338",NotGreaterTilde:" \u 2275",NotHumpDownHump:" \u 224E \u 0338",NotHumpEqual:" \u 224F \u 0338",notin:" \u 2209",notindot:" \u 22F5 \u 0338",notinE:" \u 22F9 \u 0338",notinva:" \u 2209",notinvb:" \u 22F7",notinvc:" \u 22F6",NotLeftTriangleBar:" \u 29CF \u 0338",NotLeftTriangle:" \u 22EA",NotLeftTriangleEqual:" \u 22EC",NotLess:" \u 226E",NotLessEqual:" \u 2270",NotLessGreater:" \u 2278",NotLessLess:" \u 226A \u 0338",NotLessSlantEqual:" \u 2A7D \u 0338",NotLessTilde:" \u 2274",NotNestedGreaterGreater:" \u 2AA2 \u 0338",NotNestedLessLess:" \u 2AA1 \u 0338",notni:" \u 220C",notniva:" \u 220C",notnivb:" \u 22FE",notnivc:" \u 22FD",NotPrecedes:" \u 2280",NotPrecedesEqual:" \u 2AAF \u 0338",NotPrecedesSlantEqual:" \u 22E0",NotReverseElement:" \u 220C",NotRightTriangleBar:" \u 29D0 \u 0338",NotRightTriangle:" \u 22EB",NotRightTriangleEqual:" \u 22ED",NotSquareSubset:" \u 228F \u 0338",NotSquareSubsetEqual:" \u 22E2",NotSquareSuperset:" \u 2290 \u 0338",NotSquareSupersetEqual:" \u 22E3",NotSubset:" \u 2282 \u 20D2",NotSubsetEqual:" \u 2288",NotSucceeds:" \u 2281",NotSucceedsEqual:" \u 2AB0 \u 0338",NotSucceedsSlantEqual:" \u 22E1",NotSucceedsTilde:" \u 227F \u 0338",NotSuperset:" \u 2283 \u 20D2",NotSupersetEqual:" \u 2289",NotTilde:" \u 2241",NotTildeEqual:" \u 2244",NotTildeFullEqual:" \u 2247",NotTildeTilde:" \u 2249",NotVerticalBar:" \u 2224",nparallel:" \u 2226",npar:" \u 2226",nparsl:" \u 2AFD \u 20E5",npart:" \u 2202 \u 0338",npolint:" \u 2A14",npr:" \u 2280",nprcue:" \u 22E0",nprec:" \u 2280",npreceq:" \u 2AAF \u 0338",npre:" \u 2AAF \u 0338",nrarrc:" \u 2933 \u 0338",nrarr:" \u 219B",nrArr:" \u 21CF",nrarrw:" \u 219D \u 0338",nrightarrow:" \u 219B",nRightarrow:" \u 21CF",nrtri:" \u 22EB",nrtrie:" \u 22ED",nsc:" \u 2281",nsccue:" \u 22E1",nsce:" \u 2AB0 \u 0338",Nscr:" \u {1D4A9}",nscr:" \u {1D4C3}",nshortmid:" \u 2224",nshortparallel:" \u 2226",nsim:" \u 2241",nsime:" \u 2244",nsimeq:" \u 2244",nsmid:" \u 2224",nspar:" \u 2226",nsqsube:" \u 22E2",nsqsupe:" \u 22E3",nsub:" \u 2284",nsubE:" \u 2AC5 \u 0338",nsube:" \u 2288",nsubset:" \u 2282 \u 20D2",nsubseteq:" \u 2288",nsubseteqq:" \u 2AC5 \u 0338",nsucc:" \u 2281",nsucceq:" \u 2AB0 \u 0338",nsup:" \u 2285",nsupE:" \u 2AC6 \u 0338",nsupe:" \u 2289",nsupset:" \u 2283 \u 20D2",nsupseteq:" \u 2289",nsupseteqq:" \u 2AC6 \u 0338",ntgl:" \u 2279",Ntilde:" \x D1",ntilde:" \x F1",ntlg:" \u 2278",ntriangleleft:" \u 22EA",ntrianglelefteq:" \u 22EC",ntriangleright:" \u 22EB",ntrianglerighteq:" \u 22ED",Nu:" \u 039D",nu:" \u 03BD",num:"#",numero:" \u 2116",numsp:" \u 2007",nvap:" \u 224D \u 20D2",nvdash:" \u 22AC",nvDash:" \u 22AD",nVdash:" \u 22AE",nVDash:" \u 22AF",nvge:" \u 2265 \u 20D2",nvgt:"> \u 20D2",nvHarr:" \u 2904",nvinfin:" \u 29DE",nvlArr:" \u 2902",nvle:" \u 2264 \u 20D2",nvlt:"< \u 20D2",nvltrie:" \u 22B4 \u 20D2",nvrArr:" \u 2903",nvrtrie:" \u 22B5 \u 20D2",nvsim:" \u 223C \u 20D2",nwarhk:" \u 2923",nwarr:" \u 2196",nwArr:" \u 21D6",nwarrow:" \u 2196",nwnear:" \u 2927",Oacute:" \x D3",oacute:" \x F3",oast:" \u 229B",Ocirc:" \x D4",ocirc:" \x F4",ocir:" \u 229A",Ocy:" \u 041E",ocy:" \u 043E",odash:" \u 229D",Odblac:" \u 0150",odblac:" \u 0151",odiv:" \u 2A38",odot:" \u 2299",odsold:" \u 29BC",OElig:" \u 0152",oelig:" \u 01
` ," "],If=["{","}","|"," \\ ","^"," ` "].concat(Tf),Df=[" '"].concat(If),Sa=["%","/","?",";","#"].concat(Df),Ca=["/","?","#"],Lf=255,Aa=/^[+a-z0-9A-Z_-]{0,63}$/,Ff=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ka={javascript:!0,"javascript:":!0},Ta={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Rf(r,e){if(r&&r instanceof En)return r;var t=new En;return t.parse(r,e),t}En.prototype.parse=function(r,e){var t,n,o,s,i,a=r;if(a=a.trim(),!e&&r.split("#").length===1){var l=kf.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=Cf.exec(a);if(u&&(u=u[0],o=u.toLowerCase(),this.protocol=u,a=a.substr(u.length)),(e||u||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(u&&ka[u])&&(a=a.substr(2),this.slashes=!0)),!ka[u]&&(i||u&&!Ta[u])){var c=-1;for(t=0;t<Ca.length;t++)s=a.indexOf(Ca[t]),s!==-1&&(c===-1||s<c)&&(c=s);var f,h;for(c===-1?h=a.lastIndexOf("@"):h=a.lastIndexOf("@",c),h!==-1&&(f=a.slice(0,h),a=a.slice(h+1),this.auth=f),c=-1,t=0;t<Sa.length;t++)s=a.indexOf(Sa[t]),s!==-1&&(c===-1||s<c)&&(c=s);c===-1&&(c=a.length),a[c-1]===":"&&c--;var d=a.slice(0,c);a=a.slice(c),this.parseHost(d),this.hostname=this.hostname||"";var p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){var m=this.hostname.split(/\./);for(t=0,n=m.length;t<n;t++){var v=m[t];if(!!v&&!v.match(Aa)){for(var b="",x=0,C=v.length;x<C;x++)v.charCodeAt(x)>127?b+="x":b+=v[x];if(!b.match(Aa)){var S=m.slice(0,t),M=m.slice(t+1),A=v.match(Ff);A&&(S.push(A[1]),M.unshift(A[2])),M.length&&(a=M.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>Lf&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var O=a.indexOf("#");O!==-1&&(this.hash=a.substr(O),a=a.slice(0,O));var k=a.indexOf("?");return k!==-1&&(this.search=a.substr(k),a=a.slice(0,k)),a&&(this.pathname=a),Ta[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};En.prototype.parseHost=function(r){var e=Af.exec(r);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),r=r.substr(0,r.length-e.length)),r&&(this.hostname=r)};Ia.exports=Rf});var Ni=re((Ev,$r)=>{"use strict";$r.exports.encode=va();$r.exports.decode=xa();$r.exports.format=Ea();$r.exports.parse=Da()});var Bi=re((Sv,La)=>{La.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var $i=re((Cv,Fa)=>{Fa.exports=/[\0-\x1F\x7F-\x9F]/});var Oa=re((Av,Ra)=>{Ra.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/});var Ui=re((kv,Pa)=>{Pa.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var Ma=re(gr=>{"use strict";gr.Any=Bi();gr.Cc=$i();gr.Cf=Oa();gr.P=bn();gr.Z=Ui()});var _e=re(rt=>{"use strict";function Of(r){return Object.prototype.toString.call(r)}function Pf(r){return Of(r)==="[object String]"}var Mf=Object.prototype.hasOwnProperty;function Na(r,e){return Mf.call(r,e)}function _f(r){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(t){if(!!t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){r[n]=t[n]})}}),r}function Nf(r,e,t){return[].concat(r.slice(0,e),t,r.slice(e+1))}function Ba(r){return!(r>=55296&&r<=57343||r>=64976&&r<=65007||(r&65535)===65535||(r&65535)===65534||r>=0&&r<=8||r===11||r>=14&&r<=31||r>=127&&r<=159||r>1114111)}function $a(r){if(r>65535){r-=65536;var e=55296+(r>>10),t=56320+(r&1023);return String.fromCharCode(e,t)}return String.fromCharCode(r)}var Ua=/\\([!"#$%&' ( ) * + , \ - . \ / : ; <= > ? @ [ \ \ \ ] ^ _ ` {|}~])/g,Bf=/&([a-z#][a-z0-9]{1,31});/gi, $ f=new RegExp(Ua.source+"|"+Bf.source,"gi"),Uf=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,_a=_i();function zf(r,e){var t=0;return Na(_a,e)?_a[e]:e.charCodeAt(0)===35&&Uf.test(e)&&(t=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Ba(t))? $ a(t):r}function jf(r){return r.indexOf(" \\ ")<0?r:r.replace(Ua," $ 1")}function Hf(r){return
` };Ot.fence=function(r,e,t,n,o){var s=r[e],i=s.info?oh(s.info).trim():"",a="",l="",u,c,f,h,d;return i&&(f=i.split(/( \s +)/g),a=f[0],l=f.slice(2).join("")),t.highlight?u=t.highlight(s.content,a,l)||tr(s.content):u=tr(s.content),u.indexOf("<pre")===0?u+ `
` :i?(c=s.attrIndex("class"),h=s.attrs?s.attrs.slice():[],c<0?h.push(["class",t.langPrefix+a]):(h[c]=h[c].slice(),h[c][1]+=" "+t.langPrefix+a),d={attrs:h},"<pre><code"+o.renderAttrs(d)+">"+u+ ` < / c o d e > < / p r e >
2022-02-26 07:01:44 -05:00
` ):"<pre><code"+o.renderAttrs(s)+">"+u+ ` < / c o d e > < / p r e >
2022-06-24 06:50:56 -04:00
` };Ot.image=function(r,e,t,n,o){var s=r[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,t,n),o.renderToken(r,e,t)};Ot.hardbreak=function(r,e,t){return t.xhtmlOut? ` < br / >
2020-09-20 05:33:18 -04:00
` : ` < br >
2022-06-24 06:50:56 -04:00
` };Ot.softbreak=function(r,e,t){return t.breaks?t.xhtmlOut? ` < br / >
2020-09-20 05:33:18 -04:00
` : ` < br >
` : `
2022-07-28 09:53:15 -04:00
` };Ot.text=function(r,e){return tr(r[e].content)};Ot.html_block=function(r,e){return r[e].content};Ot.html_inline=function(r,e){return r[e].content};function vr(){this.rules=ih({},Ot)}vr.prototype.renderAttrs=function(e){var t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t<n;t++)o+=" "+tr(e.attrs[t][0])+'="'+tr(e.attrs[t][1])+'"';return o};vr.prototype.renderToken=function(e,t,n){var o,s="",i=!1,a=e[t];return a.hidden?"":(a.block&&a.nesting!==-1&&t&&e[t-1].hidden&&(s+= `
2022-02-26 07:01:44 -05:00
` ),s+=(a.nesting===-1?"</":"<")+a.tag,s+=this.renderAttrs(a),a.nesting===0&&n.xhtmlOut&&(s+=" /"),a.block&&(i=!0,a.nesting===1&&t+1<e.length&&(o=e[t+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===a.tag)&&(i=!1))),s+=i? ` >
2022-06-24 06:50:56 -04:00
` :">",s)};vr.prototype.renderInline=function(r,e,t){for(var n,o="",s=this.rules,i=0,a=r.length;i<a;i++)n=r[i].type,typeof s[n]<"u"?o+=s[n](r,i,e,t,this):o+=this.renderToken(r,i,e);return o};vr.prototype.renderInlineAsText=function(r,e,t){for(var n="",o=0,s=r.length;o<s;o++)r[o].type==="text"?n+=r[o].content:r[o].type==="image"?n+=this.renderInlineAsText(r[o].children,e,t):r[o].type==="softbreak"&&(n+= `
2022-07-28 09:53:15 -04:00
` );return n};vr.prototype.render=function(r,e,t){var n,o,s,i="",a=this.rules;for(n=0,o=r.length;n<o;n++)s=r[n].type,s==="inline"?i+=this.renderInline(r[n].children,e,t):typeof a[s]<"u"?i+=a[r[n].type](r,n,e,t,this):i+=this.renderToken(r,n,e,t);return i};Ka.exports=vr});var Cn=re((Pv,Za)=>{"use strict";function kt(){this.__rules__=[],this.__cache__=null}kt.prototype.__find__=function(r){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===r)return e;return-1};kt.prototype.__compile__=function(){var r=this,e=[""];r.__rules__.forEach(function(t){!t.enabled||t.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),r.__cache__={},e.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(n){!n.enabled||t&&n.alt.indexOf(t)<0||r.__cache__[t].push(n.fn)})})};kt.prototype.at=function(r,e,t){var n=this.__find__(r),o=t||{};if(n===-1)throw new Error("Parser rule not found: "+r);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null};kt.prototype.before=function(r,e,t,n){var o=this.__find__(r),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+r);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};kt.prototype.after=function(r,e,t,n){var o=this.__find__(r),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+r);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};kt.prototype.push=function(r,e,t){var n=t||{};this.__rules__.push({name:r,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null};kt.prototype.enable=function(r,e){Array.isArray(r)||(r=[r]);var t=[];return r.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!0,t.push(n)},this),this.__cache__=null,t};kt.prototype.enableOnly=function(r,e){Array.isArray(r)||(r=[r]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(r,e)};kt.prototype.disable=function(r,e){Array.isArray(r)||(r=[r]);var t=[];return r.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!1,t.push(n)},this),this.__cache__=null,t};kt.prototype.getRules=function(r){return this.__cache__===null&&this.__compile__(),this.__cache__[r]||[]};Za.exports=kt});var Ja=re((Mv,Qa)=>{"use strict";var sh=/ \r \n ?| \n /g,ah=/ \0 /g;Qa.exports=function(e){var t;t=e.src.replace(sh, `
` ),t=t.replace(ah," \u FFFD"),e.src=t}});var tl=re((_v,el)=>{"use strict";el.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}});var nl=re((Nv,rl)=>{"use strict";rl.exports=function(e){var t=e.tokens,n,o,s;for(o=0,s=t.length;o<s;o++)n=t[o],n.type==="inline"&&e.md.inline.parse(n.content,e.md,e.env,n.children)}});var ol=re((Bv,il)=>{"use strict";var lh=_e().arrayReplaceAt;function uh(r){return/^<a[> \s ]/i.test(r)}function ch(r){return/^< \/ a \s *>/i.test(r)}il.exports=function(e){var t,n,o,s,i,a,l,u,c,f,h,d,p,m,v,b,x=e.tokens,C;if(!!e.md.options.linkify){for(n=0,o=x.length;n<o;n++)if(!(x[n].type!=="inline"||!e.md.linkify.pretest(x[n].content)))for(s=x[n].children,p=0,t=s.length-1;t>=0;t--){if(a=s[t],a.type==="link_close"){for(t--;s[t].level!==a.level&&s[t].type!=="link_open";)t--;continue}if(a.type==="html_inline"&&(uh(a.content)&&p>0&&p--,ch(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(c=a.content,C=e.md.linkify.match(c),l=[],d=a.level,h=0,C.length>0&&C[0].index===0&&t>0&&s[t-1].type==="text_special"&&(C=C.slice(1)),u=0;u<C.length;u++)m=C[u].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=C[u].text,C[u].schema?C[u].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText("http://"+b).replace(/^http: \/ \/ /,""),f=C[u].index,f>h&&(i=new e.Token("text","",0),i.content=c.slice(h,f),i.level=d,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],i.level=d++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,i.level=d,l.push(i),i=new e.Token("link_close","a",-1),i.level=--d,i.markup="linkify",i.info="auto",l.push(i),h=C[u].lastIndex);h<c.length&&(i=new e.Token("text","",0),i.content=c.slice(h),i.level=d,l.push(i)),x[n].children=s=lh(s,t,l)}}}}});var ll=re(( $ v,al)=>{"use strict";var sl=/ \+ -| \. \. | \? \? \? \? |!!!!|,,|--/,dh=/ \( (c|tm|r) \) /i,fh=/ \( (c|tm|r) \) /ig,hh={c:" \x A9",r:" \x AE",tm:" \u 2122"};function ph(r,e){return hh[e.toLowerCase()]}function mh(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&(t.content=t.content.replace(fh,ph)),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}function gh(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&sl.test(t.content)&&(t.content=t.content.replace(/ \+ -/g," \x B1").replace(/ \. {2,}/g," \u 2026").replace(/([?!])…/g," $ 1..").replace(/([?!]){4,}/g," $ 1 $ 1 $ 1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]| $ )/mg," $ 1 \u 2014").replace(/(^| \s )--(?= \s | $ )/mg," $ 1 \u 2013").replace(/(^|[^- \s ])--(?=[^- \s ]| $ )/mg," $ 1 \u 2013")),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}al.exports=function(e){var t;if(!!e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(dh.test(e.tokens[t].content)&&mh(e.tokens[t].children),sl.test(e.tokens[t].content)&&gh(e.tokens[t].children))}});var ml=re((Uv,pl)=>{"use strict";var ul=_e().isWhiteSpace,cl=_e().isPunctChar,dl=_e().isMdAsciiPunct,vh=/['"]/,fl=/['"]/g,hl=" \u 2019";function An(r,e,t){return r.slice(0,e)+t+r.slice(e+1)}function yh(r,e){var t,n,o,s,i,a,l,u,c,f,h,d,p,m,v,b,x,C,S,M,A;for(S=[],t=0;t<r.length;t++){for(n=r[t],l=r[t].level,x=S.length-1;x>=0&&!(S[x].level<=l);x--);if(S.length=x+1,n.type!=="text")continue;o=n.content,i=0,a=o.length;e:for(;i<a&&(fl.lastIndex=i,s=fl.exec(o),!!s);){if(v=b=!0,i=s.index+1,C=s[0]==="'",c=32,s.index-1>=0)c=o.charCodeAt(s.index-1);else for(x=t-1;x>=0&&!(r[x].type==="softbreak"||r[x].type==="hardbreak");x--)if(!!r[x].content){c=r[x].content.charCodeAt(r[x].content.length-1);break}if(f=32,i<a)f=o.charCodeAt(i);else for(x=t+1;x<r.length&&!(r[x].type==="softbreak"||r[x].type==="hardbreak");x++)if(!!r[x].content){f=r[x].content.charCodeAt(0);break}if(h=dl(c)||cl(String.fromCharCode(c)),d=dl(f)||cl(String.fromCharCode(f)),p=ul(c),m=ul(f),m?v=!1:d&&(p||h||(v=!1)),p?b=!1:h&&(m||d||(b=!1)),f===34&&s[0]==='"'&&c>=48&&
` ,i.map=[t,e.line],!0}});var Ll=re((Wv,Dl)=>{"use strict";Dl.exports=function(e,t,n,o){var s,i,a,l,u,c,f,h=!1,d=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||d+3>p||(s=e.src.charCodeAt(d),s!==126&&s!==96)||(u=d,d=e.skipChars(d,s),i=d-u,i<3)||(f=e.src.slice(u,d),a=e.src.slice(d,p),s===96&&a.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(l=t;l++,!(l>=n||(d=u=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],d<p&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(d)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(d=e.skipChars(d,s),!(d-u<i)&&(d=e.skipSpaces(d),!(d<p)))){h=!0;break}return i=e.sCount[t],e.line=l+(h?1:0),c=e.push("fence","code",0),c.info=a,c.content=e.getLines(t+1,l,i,!0),c.markup=f,c.map=[t,e.line],!0}});var Ol=re((Yv,Rl)=>{"use strict";var Fl=_e().isSpace;Rl.exports=function(e,t,n,o){var s,i,a,l,u,c,f,h,d,p,m,v,b,x,C,S,M,A,O,k,D=e.lineMax,I=e.bMarks[t]+e.tShift[t],P=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(I++)!==62)return!1;if(o)return!0;for(l=d=e.sCount[t]+1,e.src.charCodeAt(I)===32?(I++,l++,d++,s=!1,S=!0):e.src.charCodeAt(I)===9?(S=!0,(e.bsCount[t]+d)%4===3?(I++,l++,d++,s=!1):s=!0):S=!1,p=[e.bMarks[t]],e.bMarks[t]=I;I<P&&(i=e.src.charCodeAt(I),Fl(i));){i===9?d+=4-(d+e.bsCount[t]+(s?1:0))%4:d++;I++}for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(S?1:0),c=I>=P,x=[e.sCount[t]],e.sCount[t]=d-l,C=[e.tShift[t]],e.tShift[t]=I-e.bMarks[t],A=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",h=t+1;h<n&&(k=e.sCount[h]<e.blkIndent,I=e.bMarks[h]+e.tShift[h],P=e.eMarks[h],!(I>=P));h++){if(e.src.charCodeAt(I++)===62&&!k){for(l=d=e.sCount[h]+1,e.src.charCodeAt(I)===32?(I++,l++,d++,s=!1,S=!0):e.src.charCodeAt(I)===9?(S=!0,(e.bsCount[h]+d)%4===3?(I++,l++,d++,s=!1):s=!0):S=!1,p.push(e.bMarks[h]),e.bMarks[h]=I;I<P&&(i=e.src.charCodeAt(I),Fl(i));){i===9?d+=4-(d+e.bsCount[h]+(s?1:0))%4:d++;I++}c=I>=P,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(S?1:0),x.push(e.sCount[h]),e.sCount[h]=d-l,C.push(e.tShift[h]),e.tShift[h]=I-e.bMarks[h];continue}if(c)break;for(M=!1,a=0,u=A.length;a<u;a++)if(A[a](e,h,n,!0)){M=!0;break}if(M){e.lineMax=h,e.blkIndent!==0&&(p.push(e.bMarks[h]),m.push(e.bsCount[h]),C.push(e.tShift[h]),x.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}p.push(e.bMarks[h]),m.push(e.bsCount[h]),C.push(e.tShift[h]),x.push(e.sCount[h]),e.sCount[h]=-1}for(v=e.blkIndent,e.blkIndent=0,O=e.push("blockquote_open","blockquote",1),O.markup=">",O.map=f=[t,0],e.md.block.tokenize(e,t,h),O=e.push("blockquote_close","blockquote",-1),O.markup=">",e.lineMax=D,e.parentType=b,f[1]=e.line,a=0;a<C.length;a++)e.bMarks[a+t]=p[a],e.tShift[a+t]=C[a],e.sCount[a+t]=x[a],e.bsCount[a+t]=m[a];return e.blkIndent=v,!0}});var Ml=re((Kv,Pl)=>{"use strict";var wh=_e().isSpace;Pl.exports=function(e,t,n,o){var s,i,a,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||(s=e.src.charCodeAt(u++),s!==42&&s!==45&&s!==95))return!1;for(i=1;u<c;){if(a=e.src.charCodeAt(u++),a!==s&&!wh(a))return!1;a===s&&i++}return i<3?!1:(o||(e.line=t+1,l=e.push("hr","hr",0),l.map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(s))),!0)}});var Ul=re((Xv, $ l)=>{"use strict";var Bl=_e().isSpace;function _l(r,e){var t,n,o,s;return n=r.bMarks[e]+r.tShift[e],o=r.eMarks[e],t=r.src.charCodeAt(n++),t!==42&&t!==45&&t!==43||n<o&&(s=r.src.charCodeAt(n),!Bl(s))?-1:n}function Nl(r,e){var t,n=r.bMarks[e]+r.tShift[e],o=n,s=r.eMarks[e];if(o+1>=s||(t=r.src.charCodeAt(o++),t<48||t>57))return-1;for(;;){if(o>=s)return-1;if(t=r.src.charCodeAt(o++),t>=48&&t<=57){if(o-n>=10)return-1;continue}if(t===41||t===46)break;return-1}return o<s&&(t=r.src.charCodeAt(o),!Bl(t))?-1:o}function Eh(r,e){var t,n,o=r.level+2;for(t=e+2,n=r.tokens.length-2;t<n;t++)r.tokens[t].level===o&&r.tokens[t].type==="paragraph_open"&&(r.tokens[t+2].hidden=!0,r.tokens[t].hidden=!0,t+=2)} $ l.exports=function(e,t,n,o){var s,i,a,l,u,c,f,h,d,p,m,v,b,x,C,S,M,A,O,k,D,I,P,N,B,H,Z,W,te=!1,ne=!0;if(e.sCount[t]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[t]>=e.bl
` );Kr("error",e)}}var Jo={emit:Kr,emitPublic:Ud,listen: $ d,success:r=>Kr("success",r),error:r=>Kr("error",r),showValidationErrors:zd};async function jd(r,e={}){return es(r,{method:"GET",params:e})}async function Hd(r,e=null){return Xr("POST",r,e)}async function qd(r,e=null){return Xr("PUT",r,e)}async function Vd(r,e=null){return Xr("PATCH",r,e)}async function Gd(r,e=null){return Xr("DELETE",r,e)}async function Xr(r,e,t=null){let n={method:r,body:t};return typeof t=="object"&&!(t instanceof FormData)&&(n.headers={"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},n.body=JSON.stringify(t)),t instanceof FormData&&r!=="post"&&(t.append("_method",r),n.method="post"),es(e,n)}async function es(r,e={}){if(r.startsWith("http")||(r=window.baseUrl(r)),e.params){let i=new URL(r);for(let a of Object.keys(e.params)){let l=e.params[a];typeof l<"u"&&l!==null&&i.searchParams.set(a,l)}r=i.toString()}let t=document.querySelector("meta[name=token]").getAttribute("content");e=Object.assign({},e,{credentials:"same-origin"}),e.headers=Object.assign({},e.headers||{},{baseURL:window.baseUrl(""),"X-CSRF-TOKEN":t});let n=await fetch(r,e),s={data:await Wd(n),headers:n.headers,redirected:n.redirected,status:n.status,statusText:n.statusText,url:n.url,original:n};if(!n.ok)throw s;return s}async function Wd(r){if(r.status===204)return null;let t=(r.headers.get("Content-Type")||"").split(";")[0].split("/").pop();return t==="javascript"||t==="json"?await r.json():await r.text()}var ts={get:jd,post:Hd,put:qd,patch:Vd,delete:Gd};var Un=class{constructor(e){this.store=new Map,this.parseTranslations()}parseTranslations(){let e=document.querySelectorAll('meta[name="translation"]');for(let t of e){let n=t.getAttribute("key"),o=t.getAttribute("value");this.store.set(n,o)}}get(e,t){let n=this.getTransText(e);return this.performReplacements(n,t)}getPlural(e,t,n){let o=this.getTransText(e);return this.parsePlural(o,t,n)}parsePlural(e,t,n){let o=e.split("|"),s=/^{([0-9]+)}/,i=/^ \[ ([0-9]+),([0-9*]+)]/,a=null;for(let l of o){let u=l.match(s);if(u!==null&&Number(u[1])===t){a=l.replace(s,"").trim();break}let c=l.match(i);if(c!==null&&Number(c[1])<=t&&(c[2]==="*"||Number(c[2])>=t)){a=l.replace(i,"").trim();break}}return a===null&&o.length>1&&(a=t===1?o[0]:o[1]),a===null&&(a=o[0]),this.performReplacements(a,n)}getTransText(e){let t=this.store.get(e);return t===void 0&&console.warn( ` Translation with key "${e}" does not exist ` ),t}performReplacements(e,t){if(!t)return e;let n=e.match(/:([ \S ]+)/g);return n===null||n.forEach(o=>{let s=o.substring(1);typeof t[s]>"u"||(e=e.replace(o,t[s]))}),e}},rs=Un;function Zr(r,e){let t=document.querySelectorAll(r);for(let n of t)e(n)}function Qr(r,e,t){for(let n of e)r.addEventListener(n,t)}function Be(r,e){Array.isArray(r)||(r=[r]);for(let t of r)t.addEventListener("click",e),t.addEventListener("keydown",n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),e(n))})}function Jr(r,e){Array.isArray(r)||(r=[r]);let t=n=>{n.key==="Enter"&&e(n)};r.forEach(n=>n.addEventListener("keypress",t))}function qe(r,e,t,n){r.addEventListener(t,function(o){let s=o.target.closest(e);s&&n.call(s,o,s)})}function ns(r,e){let t=document.querySelectorAll(r);e=e.toLowerCase();for(let n of t)if(n.textContent.toLowerCase().includes(e))return n;return null}function Cr(r){r.innerHTML='<div class="loading-container"><div></div><div></div><div></div></div>'}function is(r){let e=r.querySelectorAll(".loading-container");for(let t of e)t.remove()}function Ar(r,e,t){let n;return function(){let o=this,s=arguments,i=function(){n=null,t||r.apply(o,s)},a=t&&!n;clearTimeout(n),n=setTimeout(i,e),a&&r.apply(o,s)}}function kr(r){if(!r)return;r.scrollIntoView({behavior:"smooth"});let e=document.getElementById("custom-styles").getAttribute("data-color-light"),t=window.getComputedStyle(r).getPropertyValue("background-color");r.style.backgroundColor=e,setTimeout(()=>{r.classList.add("selectFade"),r.style.backgroundColor=t},10),setTimeout(()=>{r.classList.remove("selectFade"),r.style.backgroundColor=""},3e3)}function ss(r){return r.replace(/&/g,"&").replace(/<
2022-02-26 07:01:44 -05:00
` ).map(c=>c.indexOf( ` drawio - diagram = "${o}" ` )!==-1?l:c).join( `
2022-06-24 06:50:56 -04:00
` );this.cm.setValue(u),this.cm.setCursor(n),this.cm.focus(),bt.close()}).catch(a=>{this.handleDrawingUploadError(a)})})}handleDrawingUploadError(e){e.status===413?window. $ events.emit("error",this.serverUploadLimitText):window. $ events.emit("error",this.imageUploadErrorText),console.log(e)}actionFullScreen(){let e=this.elem.classList.contains("fullscreen");this.elem.classList.toggle("fullscreen",!e),document.body.classList.toggle("markdown-fullscreen",!e)}scrollToText(e){if(!e)return;let n=this.cm.getValue().split(/ \r ? \n /),o=n.findIndex(s=>s&&s.indexOf(e)!==-1);o!==-1&&(this.cm.scrollIntoView({line:o},200),this.cm.focus(),this.cm.setCursor({line:o,char:n[o].length}))}listenForBookStackEditorEvents(){function e({html:t,markdown:n}){return n||t}window. $ events.listen("editor::replace",t=>{let n=e(t);this.cm.setValue(n)}),window. $ events.listen("editor::append",t=>{let n=this.cm.getCursor("from"),o=e(t),s=this.cm.getValue()+ `
2022-02-26 07:01:44 -05:00
` +o;this.cm.setValue(s),this.cm.setCursor(n.line,n.ch)}),window. $ events.listen("editor::prepend",t=>{let n=this.cm.getCursor("from"),o=e(t),s=o+ `
` +this.cm.getValue();this.cm.setValue(s);let i=o.split( `
2022-06-24 06:50:56 -04:00
` ).length;this.cm.setCursor(n.line+i,n.ch)}),window. $ events.listen("editor::insert",t=>{let n=e(t);this.cm.replaceSelection(n)}),window. $ events.listen("editor::focus",()=>{this.cm.focus()})}},Fc=So;var Co=class{constructor(e){this.elem=e,this.inviteOption=e.querySelector("input[name=send_invite]"),this.inviteOption&&(this.inviteOption.addEventListener("change",this.inviteOptionChange.bind(this)),this.inviteOptionChange())}inviteOptionChange(){let e=this.inviteOption.value==="true",t=this.elem.querySelectorAll("input[type=password]");for(let o of t)o.disabled=e;let n=this.elem.querySelector("#password-input-container");n&&(n.style.display=e?"none":"block")}},Rc=Co;var Ao=class{constructor(e){this.elem=e,this.type=e.getAttribute("notification"),this.textElem=e.querySelector("span"),this.autohide=this.elem.hasAttribute("data-autohide"),this.elem.style.display="grid",window. $ events.listen(this.type,t=>{this.show(t)}),e.addEventListener("click",this.hide.bind(this)),e.hasAttribute("data-show")&&setTimeout(()=>this.show(this.textElem.textContent),100),this.hideCleanup=this.hideCleanup.bind(this)}show(e=""){if(this.elem.removeEventListener("transitionend",this.hideCleanup),this.textElem.textContent=e,this.elem.style.display="grid",setTimeout(()=>{this.elem.classList.add("showing")},1),this.autohide){let t=e.split(" ").length,n=Math.max(2e3,1e3+250*t);setTimeout(this.hide.bind(this),n)}}hide(){this.elem.classList.remove("showing"),this.elem.addEventListener("transitionend",this.hideCleanup)}hideCleanup(){this.elem.style.display="none",this.elem.removeEventListener("transitionend",this.hideCleanup)}},Oc=Ao;var ko=class{setup(){this.removeButton=this. $ refs.remove,this.showButton=this. $ refs.show,this.input=this. $ refs.input,this.setupListeners()}setupListeners(){Be(this.removeButton,()=>{this.input.value="",this.input.classList.add("hidden"),this.removeButton.classList.add("hidden"),this.showButton.classList.remove("hidden")}),Be(this.showButton,()=>{this.input.classList.remove("hidden"),this.removeButton.classList.remove("hidden"),this.showButton.classList.add("hidden")})}},Pc=ko;var To=class{setup(){this.elem=this. $ el,this.pageId=Number(this. $ opts.pageId),this.container=this. $ refs.commentContainer,this.formContainer=this. $ refs.formContainer,this.commentCountBar=this. $ refs.commentCountBar,this.addButtonContainer=this. $ refs.addButtonContainer,this.replyToRow=this. $ refs.replyToRow,this.updatedText=this. $ opts.updatedText,this.deletedText=this. $ opts.deletedText,this.createdText=this. $ opts.createdText,this.countText=this. $ opts.countText,this.editingComment=null,this.parentId=null,this.formContainer&&(this.form=this.formContainer.querySelector("form"),this.formInput=this.form.querySelector("textarea"),this.form.addEventListener("submit",this.saveComment.bind(this))),this.elem.addEventListener("click",this.handleAction.bind(this)),this.elem.addEventListener("submit",this.updateComment.bind(this))}handleAction(e){let t=e.target.closest("[action]");if(e.target.matches('a[href^="#"]')){let s=e.target.href.split("#")[1];kr(document.querySelector("#"+s))}if(t===null)return;e.preventDefault();let n=t.getAttribute("action"),o=t.closest("[comment]");n==="edit"&&this.editComment(o),n==="closeUpdateForm"&&this.closeUpdateForm(),n==="delete"&&this.deleteComment(o),n==="addComment"&&this.showForm(),n==="hideForm"&&this.hideForm(),n==="reply"&&this.setReply(o),n==="remove-reply-to"&&this.removeReplyTo()}closeUpdateForm(){!this.editingComment||(this.editingComment.querySelector("[comment-content]").style.display="block",this.editingComment.querySelector("[comment-edit-container]").style.display="none")}editComment(e){this.hideForm(),this.editingComment&&this.closeUpdateForm(),e.querySelector("[comment-content]").style.display="none",e.querySelector("[comment-edit-container]").style.display="block";let t=e.querySelector("[comment-edit-container] textarea"),n=t.value.split( `
2022-07-28 09:53:15 -04:00
` ).length;t.style.height=n*20+40+"px",this.editingComment=e}updateComment(e){let t=e.target;e.preventDefault();let o={text:t.querySelector("textarea").value,parent_id:this.parentId||null};this.showLoading(t);let s=this.editingComment.getAttribute("comment");window. $ http.put( ` / comment / $ { s } ` ,o).then(i=>{let a=document.createElement("div");a.innerHTML=i.data,this.editingComment.innerHTML=a.children[0].innerHTML,window. $ events.success(this.updatedText),window.components.init(this.editingComment),this.closeUpdateForm(),this.editingComment=null}).catch(window. $ events.showValidationErrors).then(()=>{this.hideLoading(t)})}deleteComment(e){let t=e.getAttribute("comment");this.showLoading(e.querySelector("[comment-content]")),window. $ http.delete( ` / comment / $ { t } ` ).then(n=>{e.parentNode.removeChild(e),window. $ events.success(this.deletedText),this.updateCount(),this.hideForm()})}saveComment(e){e.preventDefault(),e.stopPropagation();let n={text:this.formInput.value,parent_id:this.parentId||null};this.showLoading(this.form),window. $ http.post( ` / comment / $ { this . pageId } ` ,n).then(o=>{let s=document.createElement("div");s.innerHTML=o.data;let i=s.children[0];this.container.appendChild(i),window.components.init(i),window. $ events.success(this.createdText),this.resetForm(),this.updateCount()}).catch(o=>{window. $ events.showValidationErrors(o),this.hideLoading(this.form)})}updateCount(){let e=this.container.children.length;this.elem.querySelector("[comments-title]").textContent=window.trans_plural(this.countText,e,{count:e})}resetForm(){this.formInput.value="",this.formContainer.appendChild(this.form),this.hideForm(),this.removeReplyTo(),this.hideLoading(this.form)}showForm(){this.formContainer.style.display="block",this.formContainer.parentNode.style.display="block",this.addButtonContainer.style.display="none",this.formInput.focus(),this.formInput.scrollIntoView({behavior:"smooth"})}hideForm(){this.formContainer.style.display="none",this.formContainer.parentNode.style.display="none",this.getCommentCount()>0?this.elem.appendChild(this.addButtonContainer):this.commentCountBar.appendChild(this.addButtonContainer),this.addButtonContainer.style.display="block"}getCommentCount(){return this.elem.querySelectorAll(".comment-box[comment]").length}setReply(e){this.showForm(),this.parentId=Number(e.getAttribute("local-id")),this.replyToRow.style.display="block";let t=this.replyToRow.querySelector("a");t.textContent= ` # $ { this . parentId } ` ,t.href= ` # comment$ { this . parentId } ` }removeReplyTo(){this.parentId=null,this.replyToRow.style.display="none"}showLoading(e){let t=e.querySelectorAll(".form-group");for(let n of t)n.style.display="none";e.querySelector(".form-group.loading").style.display="block"}hideLoading(e){let t=e.querySelectorAll(".form-group");for(let n of t)n.style.display="block";e.querySelector(".form-group.loading").style.display="none"}},Mc=To;var Nc=Yr(_c());var Do=class{constructor(e){if(this.elem=e,this.pageId=e.getAttribute("page-display"),window.importVersioned("code").then(n=>n.highlight()),this.setupPointer(),this.setupNavHighlighting(),this.setupDetailsCodeBlockRefresh(),window.location.hash){let n=window.location.hash.replace(/ \% 20/g," ").substr(1);this.goToText(n)}let t=document.querySelector(".sidebar-page-nav");t&&qe(t,"a","click",(n,o)=>{n.preventDefault(),window.components["tri-layout"][0].showContent();let s=o.getAttribute("href").substr(1);this.goToText(s),window.history.pushState(null,null,"#"+s)})}goToText(e){let t=document.getElementById(e);if(Zr(".page-content [data-highlighted]",n=>{n.removeAttribute("data-highlighted"),n.style.backgroundColor=null}),t!==null)kr(t);else{let n=ns(".page-content > div > *",e);n&&kr(n)}}setupPointer(){let e=document.getElementById("pointer");if(!e)return;e=e.parentNode.removeChild(e);let t=e.querySelector("div.pointer"),n=!1,o=!1,s=!0,i="";qe(e,"input","click",(l,u)=>{u.select(),l.stopPropagation()}),Qr(e,["click","focus"],l=>{l.stopPropagation()}),qe(e,"span.icon","click",(l,u)=>{l.stopPropagation(),s=!s,u.querySelector('[data-icon="include"]').style.display=s?"none":"inline",u.querySelector('[data-
2022-06-24 06:50:56 -04:00
` );return i.textContent}connectedCallback(){let s=Date.now();if(this.cm)return;this.cleanChildContent();let i=this.getContent(),l=i.split( `
2022-07-28 09:53:15 -04:00
` ).length*19.2+18+24;this.style.height= ` $ { l } px ` ;let u=this.shadowRoot.querySelector(".CodeMirrorContainer"),c=f=>{this.cm=f.wysiwygView(u,i,this.getLanguage()),f.updateLayout(this.cm),setTimeout(()=>{this.style.height=null},1)};window.importVersioned("code").then(f=>{let h=Date.now()-s<20?20:0;setTimeout(()=>c(f),h)})}cleanChildContent(){let s=this.querySelector("pre");if(!!s)for(let i of s.childNodes)i.nodeName==="#text"&&i.textContent===" \u FEFF"&&i.remove()}}t.customElements.define("code-block",n)}function Om(r,e){r.ui.registry.addIcon("codeblock",'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5Z"/><path d="M11.103 15.423c.277.277.277.738 0 .922a.692.692 0 0 1-1.106 0l-4.057-3.78a.738.738 0 0 1 0-1.107l4.057-3.872c.276-.277.83-.277 1.106 0a.724.724 0 0 1 0 1.014L7.6 12.012ZM12.897 8.577c-.245-.312-.2-.675.08-.955.28-.281.727-.27 1.027.033l4.057 3.78a.738.738 0 0 1 0 1.107l-4.057 3.872c-.277.277-.83.277-1.107 0a.724.724 0 0 1 0-1.014l3.504-3.412z"/></svg>'),r.ui.registry.addButton("codeeditor",{tooltip:"Insert code block",icon:"codeblock",onAction(){r.execCommand("codeeditor")}}),r.addCommand("codeeditor",()=>{let t=r.selection.getNode(),n=t.ownerDocument;if(cd(t))dd(r,t);else{let o=r.selection.getContent({format:"text"});fd(r,o,"",(s,i)=>{let a=n.createElement("pre"),l=n.createElement("code");l.classList.add( ` language - $ { i } ` ),l.innerText=s,a.append(l),r.insertContent(a.outerHTML)})}}),r.on("dblclick",t=>{let n=r.selection.getNode();cd(n)&&dd(r,n)}),r.on("PreInit",()=>{r.parser.addNodeFilter("pre",function(t){for(let n of t){let o=tinymce.html.Node.create("code-block",{contenteditable:"false"}),s=n.getAll("span");for(let i of s)i.unwrap();n.attr("style",null),n.wrap(o)}}),r.parser.addNodeFilter("code-block",function(t){for(let n of t)n.attr("contenteditable","false")}),r.serializer.addNodeFilter("code-block",function(t){for(let n of t)n.unwrap()})}),r.on("PreInit",()=>{Rm(r)})}function hd(r){return Om}var Tt=null,sr=null,or={};function Wo(r){return r.hasAttribute("drawio-diagram")}function Pm(r,e=null){Tt=r,sr=e,window.ImageManager.show(function(t){if(e){let n=e.querySelector("img");Tt.dom.setAttrib(n,"src",t.url),Tt.dom.setAttrib(e,"drawio-diagram",t.id)}else{let n= ` < div drawio - diagram = "${t.id}" contenteditable = "false" > < img src = "${t.url}" > < / d i v > ` ; T t . i n s e r t C o n t e n t ( n ) } } , " d r a w i o " ) } f u n c t i o n p d ( r , e = n u l l ) { T t = r , s r = e , b t . s h o w ( o r . d r a w i o U r l , _ m , M m ) } a s y n c f u n c t i o n M m ( r ) { l e t e = " i m a g e - " + M a t h . r a n d o m ( ) . t o S t r i n g ( 1 6 ) . s l i c e ( 2 ) , t = w i n d o w . b a s e U r l ( " / l o a d i n g . g i f " ) , n = o = > { o . s t a t u s = = = 4 1 3 ? w i n d o w . $ e v e n t s . e m i t ( " e r r o r " , o r . t r a n s l a t i o n s . s e r v e r U p l o a d L i m i t T e x t ) : w i n d o w . $ e v e n t s . e m i t ( " e r r o r " , o r . t r a n s l a t i o n s . i m a g e U p l o a d E r r o r T e x t ) , c o n s o l e . l o g ( o ) } ; i f ( s r ) { b t . c l o s e ( ) ; l e t o = s r . q u e r y S e l e c t o r ( " i m g " ) ; t r y { l e t s = a w a i t b t . u p l o a d ( r , o r . p a g e I d ) ; T t . d o m . s e t A t t r i b ( o , " s r c " , s . u r l ) , T t . d o m . s e t A t t r i b ( s r , " d r a w i o - d i a g r a m " , s . i d ) } c a t c h ( s ) { n ( s ) } r e t u r n } s e t T i m e o u t ( a s y n c ( ) = > { T t . i n s e r t C o n t e n t ( ` < d i v d r a w i o - d i a g r a m c o n t e n t e d i t a b l e = " f a l s e " > < i m g s r c = " $ { t } " i d = " $ { e } " > < / d i v > ` ) , b t . c l o s e ( ) ; t r y { l e t o = a w a i t b t . u p l o a d ( r , o r . p a g e I d ) ; T t . d o m . s e t A t t r i b ( e , " s r c " , o . u r l ) , T t . d o m . g e t ( e ) . p a r e n t N o d e . s e t A t t r i b u t e ( " d r a w i o - d i a g r a m " , o . i d ) } c a t c h ( o ) { T t . d o m . r e m o v e ( e ) , n ( o ) } } , 5 ) } f u n c t i o n _ m ( ) { i f ( ! s r ) r e t u r n P r o m i s e . r e s o l v e ( " " ) ; l e t r = s r . g e t A t t r i b u t e ( " d r a w i o - d i a g r a m " ) ; r e t u r n b t . l o a d ( r ) } f u n c t i o n m d ( r ) { r e t u r n o r = r , f u n c t i o n ( e , t ) { e . a d d C o m m a n d ( " d r a w i o " , ( ) = > { l e t n = e . s e l e c t i o n . g e t N o d e ( ) ; p d ( e , W o ( n ) ? n : n u l l ) } ) , e . u i . r e g i s t r y . a d d I c o n ( " d i a g r a m " , ` < s v g w i d t h = " 2 4 " h e i g h t = " 2 4 " f i l l = " $ { o r . d a r k M o d e ? " # B B B " : " # 0 0 0 0 0 0 " } " x m l n s = " h t t p : / / w w w . w 3 . o r g / 2 0 0 0 / s v g " > < p a t h d = " M 2 0 . 7 1 6 7 . 6 3 9 V 2 . 8 4 5 h - 4 . 7 9 4 v 1 . 5 9 8 h - 7 . 9 9 V 2 . 8 4 5 H 3 . 1 3 8 v 4 . 7 9 4 h 1 . 5 9 8 v 7 . 9 9 H 3 . 1 3 8 v 4 . 7 9 4 h 4 . 7 9 4 v - 1 . 5 9 8 h 7 . 9 9 v 1 . 5 9 8 h 4 . 7 9 4 v - 4 . 7 9 4 h - 1 . 5 9 8 v - 7 . 9 9 z M 4 . 7 3 6 4 . 4 4 3 h 1 . 5 9 8 V 6 . 0 4 H 4 . 7 3 6 z m 1 . 5 9 8 1 4 . 3 8 2 H 4 . 7 3 6 v - 1 . 5 9 8 h 1 . 5 9 8 z m 9 . 5 8 8 - 1 . 5 9 8 h - 7 . 9 9 v - 1 . 5 9 8 H 6 . 3 3 4 v - 7 . 9 9 h 1 . 5 9 8 V 6 . 0 4 h 7 . 9 9 v 1 . 5 9 8 h 1 . 5 9 8 v 7 . 9 9 h - 1 . 5 9 8 z m 3 . 1 9 6 1 . 5 9 8 H 1 7 . 5 2 v - 1 . 5 9 8 h 1 . 5 9 8 z M 1 7 . 5 2 6 . 0 4 V 4 . 4 4 3 h 1 . 5 9 8 V 6 . 0 4 z m - 4 . 2 1 7 . 1 9 h - 2 . 7 9 l - . 5 8 2 1 . 5 9 9 H 8 . 6 4 3 l 2 . 7 1 7 - 7 . 1 9 1 h 1 . 1 1 9 l 2 . 7 2 4 7 . 1 9 h - 1 . 3 0 2 z m - 2 . 4 3 - 1 . 0 0 6 h 2 . 0 8 6 l - 1 . 0 3 9 - 3 . 0 6 z " / > < / s v g > ` ) , e . u i . r e g i s t r y . a d d S p l i t B u t t o n ( " d r a w i o " , { t o o l t i p : " I n s e r t / e d i t d r a w i n g " , i c o n :
2022-02-26 07:01:44 -05:00
` ),e=r.findIndex(n=>n.trim()==="<!-- Start: custom user content -->"),t=r.findIndex(n=>n.trim()==="<!-- End: custom user content -->");return e===-1||t===-1?"":r.slice(e+1,t).join( `
2022-07-28 09:53:15 -04:00
` )}function ig(r){r.serializer.addNodeFilter("br",function(e){for(let t of e)if(t.parent&&t.parent.name==="code"){let n=tinymce.html.Node.create("#text");n.value= `
` ,t.replace(n)}})}function og(r){return function(e){e.on("ExecCommand change input NodeChange ObjectResized",t),id(e),ad(e,r),e.on("init",()=>{t(),od(e),window.editor=e,nd(e)}),e.on("PreInit",()=>{ig(e)});function t(){let n=e.getContent();r.darkMode&&e.contentDocument.documentElement.classList.add("dark-mode"),window. $ events.emit("editor-html-change",n)}window. $ events.emitPublic(r.containerElement,"editor-tinymce::setup",{editor:e}),e.ui.registry.addButton("inlinecode",{tooltip:"Inline code",icon:"sourcecode",onAction(){e.execCommand("mceToggleFormat",!1,"code")}})}}function sg(r){return `
2022-02-26 07:01:44 -05:00
html , body , html . dark - mode {
background : $ { r . darkMode ? "#222" : "#fff" } ;
}
body {
padding - left : 15 px ! important ;
padding - right : 15 px ! important ;
height : initial ! important ;
margin : 0 ! important ;
margin - left : auto ! important ;
margin - right : auto ! important ;
overflow - y : hidden ! important ;
} ` .trim().replace( `
2022-07-28 09:53:15 -04:00
` ,"")}function Sd(r){window.tinymce.addI18n(r.language,r.translationMap);let e=document.querySelector('script[src*="/dist/app.js"]').getAttribute("src").split("?version=")[1];return{width:"100%",height:"100%",selector:"#html-editor",cache_suffix:"?version="+e,content_css:[window.baseUrl("/dist/styles.css")],branding:!1,skin:r.darkMode?"tinymce-5-dark":"tinymce-5",body_class:"page-content",browser_spellcheck:!0,relative_urls:!1,language:r.language,directionality:r.textDirection,remove_script_host:!1,document_base_url:window.baseUrl("/"),end_container_on_empty_block:!0,remove_trailing_brs:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*],svg[*],div[drawio-diagram],details[*],summary[*],div[*],li[class|checked]",automatic_uploads:!1,custom_elements:"doc-root,code-block",valid_children:["-div[p|h1|h2|h3|h4|h5|h6|blockquote|code-block]","+div[pre|img]","-doc-root[doc-root|#text]","-li[details]","+code-block[pre]","+doc-root[p|h1|h2|h3|h4|h5|h6|blockquote|code-block|div]"].join(","),plugins:rg(r),contextmenu:!1,toolbar:ld(r),content_style:sg(r),style_formats:Qm,style_formats_merge:!1,media_alt_source:!1,media_poster:!1,formats:Jm,table_style_by_css:!0,table_use_colgroups:!0,file_picker_types:"file image",color_map:eg,file_picker_callback:tg,paste_preprocess(t,n){n.content.indexOf('<img src="file://')!==-1&&(n.content="")},init_instance_callback(t){let n=t.getDoc().querySelector("head");n.innerHTML+=ng()},setup(t){ud(t,r),og(r)(t)}}}var Ko=class{setup(){this.elem=this. $ el,this.pageId=this. $ opts.pageId,this.textDirection=this. $ opts.textDirection,this.isDarkMode=document.documentElement.classList.contains("dark-mode"),this.tinyMceConfig=Sd({language:this. $ opts.language,containerElement:this.elem,darkMode:this.isDarkMode,textDirection:this.textDirection,drawioUrl:this.getDrawIoUrl(),pageId:Number(this.pageId),translations:{imageUploadErrorText:this. $ opts.imageUploadErrorText,serverUploadLimitText:this. $ opts.serverUploadLimitText},translationMap:window.editor_translations}),window. $ events.emitPublic(this.elem,"editor-tinymce::pre-init",{config:this.tinyMceConfig}),window.tinymce.init(this.tinyMceConfig)}getDrawIoUrl(){let e=document.querySelector("[drawio-url]");return e?e.getAttribute("drawio-url"):""}},Cd=Ko;var Ad={"add-remove-rows":ls,"ajax-delete-row":us,"ajax-form":cs,attachments:ds,"attachments-list":fs,"auto-suggest":hs,"back-to-top":ps,"book-sort":Bs,"chapter-contents":zs,"code-editor":js,"code-highlighter":Hs,"code-textarea":qs,collapsible:Vs,"confirm-dialog":Gs,"custom-checkbox":Ws,"details-highlighter":Ys,dropdown:Ks,"dropdown-search":Xs,dropzone:Js,"editor-toolbox":ea,"entity-permissions-editor":ta,"entity-search":ra,"entity-selector":na,"entity-selector-popup":ia,"event-emit-select":oa,"expand-toggle":sa,"header-mobile-toggle":aa,"homepage-control":la,"image-manager":ua,"image-picker":ca,"list-sort-control":da,"markdown-editor":Fc,"new-user-password":Rc,notification:Oc,"optional-input":Pc,"page-comments":Mc,"page-display":Bc,"page-editor":Uc,"page-picker":zc,"permissions-table":jc,popup:Hc,"setting-app-color-picker":qc,"setting-color-picker":Vc,"shelf-sort":Gc,sidebar:Wc,"sortable-list":Yc,"submit-on-change":Kc,tabs:Xc,"tag-manager":Zc,"template-manager":Qc,"toggle-switch":Jc,"tri-layout":ed,"user-select":td,"webhook-events":rd,"wysiwyg-editor":Cd};window.components={};function ag(r,e){let t=e.querySelectorAll( ` [ $ { r } ] ` );for(let n=0,o=t.length;n<o;n++)kd(r,t[n])}function kd(r,e){let t=Ad[r];if(t===void 0)return;let n;try{n=new t(e),n. $ el=e;let o=lg(r,e);n. $ refs=o.refs,n. $ manyRefs=o.manyRefs,n. $ opts=ug(r,e),n. $ emit=(s,i={})=>{i.from=n;let a=new CustomEvent( ` $ { r } - $ { s } ` ,{bubbles:!0,detail:i});n. $ el.dispatchEvent(a)},typeof n.setup=="function"&&n.setup()}catch(o){console.error("Failed to create component",o,r,e)}typeof window.components[r]>"u"&&(window.components[r]=[]),window.components[r].push(n),typeof e.components>"u"&&(e.components={}),e.components[r]=n}function lg(r,e){let t={},n={},o= ` $ { r } @ ` ,s= ` [ refs *= "${o}" ] ` ,i=[...e.querySelectorAll(s)];e.matches(s)&&i.push(e);for(let a of i){let l=a
2019-08-31 09:16:14 -04:00
/ * !
2022-06-24 06:50:56 -04:00
* clipboard . js v2 . 0.11
2020-03-14 18:31:42 -04:00
* https : //clipboardjs.com/
2021-04-09 16:18:32 -04:00
*
2019-08-31 09:16:14 -04:00
* Licensed MIT © Zeno Rocha
* /
2021-04-09 16:18:32 -04:00
/ * * !
2022-03-30 08:49:17 -04:00
* Sortable 1.15 . 0
2021-04-09 16:18:32 -04:00
* @ author RubaXa < trash @ rubaxa . org >
* @ author owenm < owen23355 @ gmail . com >
* @ license MIT
* /
2020-09-20 05:33:18 -04:00
//# sourceMappingURL=app.js.map