2021-01-03 16:52:37 -05:00
( ( ) => { var ea = Object . defineProperty , Hy = Object . prototype . hasOwnProperty , ue = ( t , n ) => ( ) => ( n || ( n = { exports : { } } , t ( n . exports , n ) ) , n . exports ) , Jc = t => ea ( t , "__esModule" , { value : ! 0 } ) , Uy = ( t , n ) => { Jc ( t ) ; for ( var i in n ) ea ( t , i , { get : n [ i ] , enumerable : ! 0 } ) } , Wy = ( t , n ) => { if ( Jc ( t ) , typeof n == "object" || typeof n == "function" ) for ( let i in n ) ! Hy . call ( t , i ) && i !== "default" && ea ( t , i , { get : ( ) => n [ i ] , enumerable : ! 0 } ) ; return t } , Ke = t => t && t . _ _esModule ? t : Wy ( ea ( { } , "default" , { value : t , enumerable : ! 0 } ) , t ) ; var Ze = ue ( ( $s , Gs ) => { ( function ( t , n ) { typeof $s == "object" && typeof Gs != "undefined" ? Gs . exports = n ( ) : typeof define == "function" && define . amd ? define ( n ) : ( t = t || self , t . CodeMirror = n ( ) ) } ) ( $s , function ( ) { "use strict" ; var t = navigator . userAgent , n = navigator . platform , i = /gecko\/\d/i . test ( t ) , s = /MSIE \d/ . test ( t ) , u = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/ . exec ( t ) , c = /Edge\/(\d+)/ . exec ( t ) , d = s || u || c , h = d && ( s ? document . documentMode || 6 : + ( c || u ) [ 1 ] ) , p = ! c && /WebKit\// . test ( t ) , g = p && /Qt\/\d+\.\d+/ . test ( t ) , y = ! c && /Chrome\// . test ( t ) , m = /Opera\// . test ( t ) , b = /Apple Computer/ . test ( navigator . vendor ) , w = /Mac OS X 1\d\D([8-9]|\d\d)\D/ . test ( t ) , D = /PhantomJS/ . test ( t ) , E = ! c && /AppleWebKit/ . test ( t ) && /Mobile\/\w+/ . test ( t ) , S = /Android/ . test ( t ) , z = E || S || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i . test ( t ) , A = E || /Mac/ . test ( n ) , R = /\bCrOS\b/ . test ( t ) , U = /win/i . test ( n ) , Y = m && t . match ( /Version\/(\d*\.\d*)/ ) ; Y && ( Y = Number ( Y [ 1 ] ) ) , Y && Y >= 15 && ( m = ! 1 , p = ! 0 ) ; var B = A && ( g || m && ( Y == null || Y < 12.11 ) ) , G = i || d && h >= 9 ; function ee ( e ) { return new RegExp ( "(^|\\s)" + e + "(?:$|\\s)\\s*" ) } var J = function ( e , r ) { var a = e . className , o = ee ( r ) . exec ( a ) ; if ( o ) { var l = a . slice ( o . index + o [ 0 ] . length ) ; e . className = a . slice ( 0 , o . index ) + ( l ? o [ 1 ] + l : "" ) } } ; function O ( e ) { for ( var r = e . childNodes . length ; r > 0 ; -- r ) e . removeChild ( e . firstChild ) ; return e } function Z ( e , r ) { return O ( e ) . appendChild ( r ) } function _ ( e , r , a , o ) { var l = document . createElement ( e ) ; if ( a && ( l . className = a ) , o && ( l . style . cssText = o ) , typeof r == "string" ) l . appendChild ( document . createTextNode ( r ) ) ; else if ( r ) for ( var f = 0 ; f < r . length ; ++ f ) l . appendChild ( r [ f ] ) ; return l } function V ( e , r , a , o ) { var l = _ ( e , r , a , o ) ; return l . setAttribute ( "role" , "presentation" ) , l } var j ; document . createRange ? j = function ( e , r , a , o ) { var l = document . createRange ( ) ; return l . setEnd ( o || e , a ) , l . setStart ( e , r ) , l } : j = function ( e , r , a ) { var o = document . body . createTextRange ( ) ; try { o . moveToElementText ( e . parentNode ) } catch ( l ) { return o } return o . collapse ( ! 0 ) , o . moveEnd ( "character" , a ) , o . moveStart ( "character" , r ) , o } ; function Q ( e , r ) { if ( r . nodeType == 3 && ( r = r . parentNode ) , e . contains ) return e . contains ( r ) ; do if ( r . nodeType == 11 && ( r = r . host ) , r == e ) return ! 0 ; while ( r = r . parentNode ) } function q ( ) { var e ; try { e = document . activeElement } catch ( r ) { e = document . body || null } for ( ; e && e . shadowRoot && e . shadowRoot . activeElement ; ) e = e . shadowRoot . activeElement ; return e } function I ( e , r ) { var a = e . className ; ee ( r ) . test ( a ) || ( e . className += ( a ? " " : "" ) + r ) } function H ( e , r ) { for ( var a = e . split ( " " ) , o = 0 ; o < a . length ; o ++ ) a [ o ] && ! ee ( a [ o ] ) . test ( r ) && ( r += " " + a [ o ] ) ; return r } var se = function ( e ) { e . select ( ) } ; E ? se = function ( e ) { e . selectionStart = 0 , e . selectionEnd = e . value . length } : d && ( se = function ( e ) { try { e . select ( ) } catch ( r ) { } } ) ; function F ( e ) { var r = Array . prototype . slice . call ( arguments , 1 ) ; return function ( ) { return e . apply ( null , r ) } } function T ( e , r , a ) { r || ( r = { } ) ; for ( var o in e ) e . hasOwnProperty ( o ) && ( a !== ! 1 || ! r . hasOwnProperty ( o ) ) && ( r [ o ] = e [ o ] ) ; return r } function de ( e , r , a , o , l ) { r == null && ( r = e . search ( /[^\s\u00a0]/ ) , r == - 1 && ( r = e . length ) ) ; for ( var f = o || 0 , v = l || 0 ; ; ) { var k = e . indexOf ( " " , f ) ; if ( k < 0 || k >= r ) return v + ( r - f ) ; v += k - f , v += a - v % a , f = k + 1 } } var ce = function ( ) { this . id = null , this . f = null , this . time = 0 , this . handler = F ( this . onTimeout , this ) } ; ce . prototype . onTimeout = function ( e ) { e . id = 0 , e . time <= + new Date ? e . f ( ) : setTimeout ( e . handler , e . time - + new Date ) } , ce . prototype . set = function ( e , r ) { this . f = r ; var a = + new Date + e ; ( ! this . id || a < this . time ) && ( clearTimeout ( this . id ) , this . id = setTimeout ( this . handler , e ) , this . time = a ) } ; function oe ( e , r ) { for ( var a = 0 ; a < e . length ; ++ a ) if ( e [ a ] == r ) return a ; return - 1 } var xe = 50 , Oe = { toString : function ( ) { return "CodeMirror.Pass" } } , ye = { scroll : ! 1 } , re = { origin : "*mouse" } , we = { origin : "+move" } ; function De ( e , r , a ) { for ( var o = 0 , l = 0 ; ; ) { var f = e . indexOf ( " " , o ) ; f == - 1 && ( f = e . length ) ; var v = f - o ; if ( f == e . length || l + v >= r ) return o + Math . min ( v , r - l ) ; if ( l += f - o , l += a - l
2020-09-20 05:33:18 -04:00
2020-09-30 17:44:58 -04:00
b ` .split(/ \n /).length!=3?function(e){for(var r=0,a=[],o=e.length;r<=o;){var l=e.indexOf( `
2021-01-03 16:52:37 -05:00
` ,r);l==-1&&(l=e.length);var f=e.slice(r,e.charAt(l-1)==" \r "?l-1:l),v=f.indexOf(" \r ");v!=-1?(a.push(f.slice(0,v)),r+=v+1):(a.push(f),r=l+1)}return a}:function(e){return e.split(/ \r \n ?| \n /)},An=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(r){return!1}}:function(e){var r;try{r=e.ownerDocument.selection.createRange()}catch(a){}return!r||r.parentElement()!=e?!1:r.compareEndPoints("StartToEnd",r)!=0},er=function(){var e=_("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Mr=null;function Bn(e){if(Mr!=null)return Mr;var r=Z(e,_("span","x")),a=r.getBoundingClientRect(),o=j(r,0,1).getBoundingClientRect();return Mr=Math.abs(a.left-o.left)>1}var bi={},jn={};function qr(e,r){arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),bi[e]=r}function bn(e,r){jn[e]=r}function Hn(e){if(typeof e=="string"&&jn.hasOwnProperty(e))e=jn[e];else if(e&&typeof e.name=="string"&&jn.hasOwnProperty(e.name)){var r=jn[e.name];typeof r=="string"&&(r={name:r}),e=Wt(r,e),e.name=r.name}else{if(typeof e=="string"&&/^[ \w \- ]+ \/ [ \w \- ]+ \+ xml $ /.test(e))return Hn("application/xml");if(typeof e=="string"&&/^[ \w \- ]+ \/ [ \w \- ]+ \+ json $ /.test(e))return Hn("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function yi(e,r){r=Hn(r);var a=bi[r.name];if(!a)return yi(e,"text/plain");var o=a(e,r);if(Un.hasOwnProperty(r.name)){var l=Un[r.name];for(var f in l){if(!l.hasOwnProperty(f))continue;o.hasOwnProperty(f)&&(o["_"+f]=o[f]),o[f]=l[f]}}if(o.name=r.name,r.helperType&&(o.helperType=r.helperType),r.modeProps)for(var v in r.modeProps)o[v]=r.modeProps[v];return o}var Un={};function Ja(e,r){var a=Un.hasOwnProperty(e)?Un[e]:Un[e]={};T(r,a)}function fn(e,r){if(r===!0)return r;if(e.copyState)return e.copyState(r);var a={};for(var o in r){var l=r[o];l instanceof Array&&(l=l.concat([])),a[o]=l}return a}function zr(e,r){for(var a;e.innerMode&&!(a=e.innerMode(r),!a||a.mode==e);)r=a.state,e=a.mode;return a||{mode:e,state:r}}function _o(e,r,a){return e.startState?e.startState(r,a):!0}var lt=function(e,r,a){this.pos=this.start=0,this.string=e,this.tabSize=r||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=a};lt.prototype.eol=function(){return this.pos>=this.string.length},lt.prototype.sol=function(){return this.pos==this.lineStart},lt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},lt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},lt.prototype.eat=function(e){var r=this.string.charAt(this.pos),a;if(typeof e=="string"?a=r==e:a=r&&(e.test?e.test(r):e(r)),a)return++this.pos,r},lt.prototype.eatWhile=function(e){for(var r=this.pos;this.eat(e););return this.pos>r},lt.prototype.eatSpace=function(){for(var e=this.pos;/[ \s \u 00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},lt.prototype.skipToEnd=function(){this.pos=this.string.length},lt.prototype.skipTo=function(e){var r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0},lt.prototype.backUp=function(e){this.pos-=e},lt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=de(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?de(this.string,this.lineStart,this.tabSize):0)},lt.prototype.indentation=function(){return de(this.string,null,this.tabSize)-(this.lineStart?de(this.string,this.lineStart,this.tabSize):0)},lt.prototype.match=function(e,r,a){if(typeof e=="string"){var o=function(v){return a?v.toLowerCase():v},l=this.string.substr(this.pos,e.length);if(o(l)==o(e))return r!==!1&&(this.pos+=e.length),!0}else{var f=this.string.slice(this.pos).match(e);return f&&f.index>0?null:(f&&r!==!1&&(this.pos+=f[0].length),f)}},lt.prototype.current=function(){return this.string.slice(this.start,this.pos)},lt.prototype.hideFirstChars=function(e,r){this.lineStart+=e;try{return r()}finally{this.lineStart-=e}},lt.prototype.lookAhead=function(e){var r=this.lineOracle;return r&&r.loo
` ?(ae=M.appendChild(_("span",K[0]==" \r "?"␍":"","cm-invalidchar")),ae.setAttribute("cm-text",K[0]),e.col+=1):(ae=e.cm.options.specialCharPlaceholder(K[0]),ae.setAttribute("cm-text",K[0]),d&&h<9?M.appendChild(_("span",[ae])):M.appendChild(ae),e.col+=1);e.map.push(e.pos,e.pos+1,ae),e.pos++}}if(e.trailingSpace=k.charCodeAt(r.length-1)==32,a||o||l||C||f||v){var ve=a||"";o&&(ve+=o),l&&(ve+=l);var me=_("span",[M],ve,f);if(v)for(var be in v)v.hasOwnProperty(be)&&be!="style"&&be!="class"&&me.setAttribute(be,v[be]);return e.content.appendChild(me)}e.content.appendChild(M)}function lb(e,r){if(e.length>1&&!/ /.test(e))return e;for(var a=r,o="",l=0;l<e.length;l++){var f=e.charAt(l);f==" "&&a&&(l==e.length-1||e.charCodeAt(l+1)==32)&&(f=" "),o+=f,a=f==" "}return o}function ub(e,r){return function(a,o,l,f,v,k,x){l=l?l+" cm-force-border":"cm-force-border";for(var C=a.pos,M=C+o.length;;){for(var P=void 0,K=0;K<r.length&&!(P=r[K],P.to>C&&P.from<=C);K++);if(P.to>=M)return e(a,o,l,f,v,k,x);e(a,o.slice(0,P.to-C),l,f,null,k,x),f=null,o=o.slice(P.to-C),C=P.to}}}function gu(e,r,a,o){var l=!o&&a.widgetNode;l&&e.map.push(e.pos,e.pos+r,l),!o&&e.cm.display.input.needsContentAttribute&&(l||(l=e.content.appendChild(document.createElement("span"))),l.setAttribute("cm-marker",a.id)),l&&(e.cm.display.input.setUneditable(l),e.content.appendChild(l)),e.pos+=r,e.trailingSpace=!1}function cb(e,r,a){var o=e.markedSpans,l=e.text,f=0;if(!o){for(var v=1;v<a.length;v+=2)r.addToken(r,l.slice(f,f=a[v]),pu(a[v+1],r.cm.options));return}for(var k=l.length,x=0,C=1,M="",P,K, $ =0,ne,ae,he,pe,ve;;){if( $ ==x){ne=ae=he=K="",ve=null,pe=null, $ =Infinity;for(var me=[],be=void 0,Le=0;Le<o.length;++Le){var Ee=o[Le],Ne=Ee.marker;if(Ne.type=="bookmark"&&Ee.from==x&&Ne.widgetNode)me.push(Ne);else if(Ee.from<=x&&(Ee.to==null||Ee.to>x||Ne.collapsed&&Ee.to==x&&Ee.from==x)){if(Ee.to!=null&&Ee.to!=x&& $ >Ee.to&&( $ =Ee.to,ae=""),Ne.className&&(ne+=" "+Ne.className),Ne.css&&(K=(K?K+";":"")+Ne.css),Ne.startStyle&&Ee.from==x&&(he+=" "+Ne.startStyle),Ne.endStyle&&Ee.to== $ &&(be||(be=[])).push(Ne.endStyle,Ee.to),Ne.title&&((ve||(ve={})).title=Ne.title),Ne.attributes)for(var it in Ne.attributes)(ve||(ve={}))[it]=Ne.attributes[it];Ne.collapsed&&(!pe||rs(pe.marker,Ne)<0)&&(pe=Ee)}else Ee.from>x&& $ >Ee.from&&( $ =Ee.from)}if(be)for(var Mt=0;Mt<be.length;Mt+=2)be[Mt+1]== $ &&(ae+=" "+be[Mt]);if(!pe||pe.from==x)for(var ct=0;ct<me.length;++ct)gu(r,0,me[ct]);if(pe&&(pe.from||0)==x){if(gu(r,(pe.to==null?k+1:pe.to)-x,pe.marker,pe.from==null),pe.to==null)return;pe.to==x&&(pe=!1)}}if(x>=k)break;for(var rn=Math.min(k, $ );;){if(M){var Qt=x+M.length;if(!pe){var kt=Qt>rn?M.slice(0,rn-x):M;r.addToken(r,kt,P?P+ne:ne,he,x+kt.length== $ ?ae:"",K,ve)}if(Qt>=rn){M=M.slice(rn-x),x=rn;break}x=Qt,he=""}M=l.slice(f,f=a[C++]),P=pu(a[C++],r.cm.options)}}}function vu(e,r,a){this.line=r,this.rest=tb(r),this.size=this.rest?Ve(Ce(this.rest))-a+1:1,this.node=this.text=null,this.hidden=tr(e,r)}function Io(e,r,a){for(var o=[],l,f=r;f<a;f=l){var v=new vu(e.doc,_e(e.doc,f),f);l=f+v.size,o.push(v)}return o}var Rr=null;function db(e){Rr?Rr.ops.push(e):e.ownsGroup=Rr={ops:[e],delayedCallbacks:[]}}function hb(e){var r=e.delayedCallbacks,a=0;do{for(;a<r.length;a++)r[a].call(null);for(var o=0;o<e.ops.length;o++){var l=e.ops[o];if(l.cursorActivityHandlers)for(;l.cursorActivityCalled<l.cursorActivityHandlers.length;)l.cursorActivityHandlers[l.cursorActivityCalled++].call(null,l.cm)}}while(a<r.length)}function fb(e,r){var a=e.ownsGroup;if(!a)return;try{hb(a)}finally{Rr=null,r(a)}}var _i=null;function Rt(e,r){var a=gi(e,r);if(!a.length)return;var o=Array.prototype.slice.call(arguments,2),l;Rr?l=Rr.delayedCallbacks:_i?l=_i:(l=_i=[],setTimeout(pb,0));for(var f=function(k){l.push(function(){return a[k].apply(null,o)})},v=0;v<a.length;++v)f(v)}function pb(){var e=_i;_i=null;for(var r=0;r<e.length;++r)e[r]()}function bu(e,r,a,o){for(var l=0;l<r.changes.length;l++){var f=r.changes[l];f=="text"?gb(e,r):f=="gutter"?wu(e,r,a,o):f=="class"?ss(e,r):f=="widget"&&vb(e,r,o)}r.changes=null}function Ci(e){return e.node==e.text&&(e.node=_("div",null,null,"positi
2020-10-13 17:50:52 -04:00
top : ` +be+"px; width: "+(Le==null?x-me:Le)+ ` px ;
2021-01-03 16:52:37 -05:00
height : ` +(Ee-be)+"px"))}function P(me,be,Le){var Ee=_e(l,me),Ne=Ee.text.length,it,Mt;function ct(kt,Jt){return hs(e,W(me,kt),"div",Ee,Jt)}function rn(kt,Jt,Pt){var At=zu(e,Ee,null,kt),xt=Jt=="ltr"==(Pt=="after")?"left":"right",ht=Pt=="after"?At.begin:At.end-(/ \s /.test(Ee.text.charAt(At.end-1))?2:1);return ct(ht,xt)[xt]}var Qt=Ot(Ee,l.direction);return ke(Qt,be||0,Le==null?Ne:Le,function(kt,Jt,Pt,At){var xt=Pt=="ltr",ht=ct(kt,xt?"left":"right"),en=ct(Jt-1,xt?"right":"left"),Jr=be==null&&kt==0,ur=Le==null&&Jt==Ne,Ht=At==0,qn=!Qt||At==Qt.length-1;if(en.top-ht.top<=3){var qt=(C?Jr:ur)&&Ht,Us=(C?ur:Jr)&&qn,Vn=qt?k:(xt?ht:en).left,xr=Us?x:(xt?en:ht).right;M(Vn,ht.top,xr-Vn,ht.bottom)}else{var _r,Gt,ei,Ws;xt?(_r=C&&Jr&&Ht?k:ht.left,Gt=C?x:rn(kt,Pt,"before"),ei=C?k:rn(Jt,Pt,"after"),Ws=C&&ur&&qn?x:en.right):(_r=C?rn(kt,Pt,"before"):k,Gt=!C&&Jr&&Ht?x:ht.right,ei=!C&&ur&&qn?k:en.left,Ws=C?rn(Jt,Pt,"after"):x),M(_r,ht.top,Gt-_r,ht.bottom),ht.bottom<en.top&&M(k,ht.bottom,null,en.top),M(ei,en.top,Ws-ei,en.bottom)}(!it||zo(ht,it)<0)&&(it=ht),zo(en,it)<0&&(it=en),(!Mt||zo(ht,Mt)<0)&&(Mt=ht),zo(en,Mt)<0&&(Mt=en)}),{start:it,end:Mt}}var K=r.from(), $ =r.to();if(K.line== $ .line)P(K.line,K.ch, $ .ch);else{var ne=_e(l,K.line),ae=_e(l, $ .line),he=In(ne)==In(ae),pe=P(K.line,K.ch,he?ne.text.length+1:null).end,ve=P( $ .line,he?0:null, $ .ch).start;he&&(pe.top<ve.top-2?(M(pe.right,pe.top,null,pe.bottom),M(k,ve.top,ve.left,ve.bottom)):M(pe.right,pe.top,ve.left-pe.right,pe.bottom)),pe.bottom<ve.top&&M(k,pe.bottom,null,ve.top)}a.appendChild(f)}function ys(e){if(!e.state.focused)return;var r=e.display;clearInterval(r.blinker);var a=!0;r.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?r.blinker=setInterval(function(){e.hasFocus()||jr(e),r.cursorDiv.style.visibility=(a=!a)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(r.cursorDiv.style.visibility="hidden")}function Bu(e){e.state.focused||(e.display.input.focus(),ws(e))}function ju(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,jr(e))},100)}function ws(e,r){if(e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),e.options.readOnly=="nocursor")return;e.state.focused||(dt(e,"focus",e,r),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),p&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),ys(e)}function jr(e,r){if(e.state.delayingBlurEvent)return;e.state.focused&&(dt(e,"blur",e,r),e.state.focused=!1,J(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150)}function Oo(e){for(var r=e.display,a=r.lineDiv.offsetTop,o=0;o<r.view.length;o++){var l=r.view[o],f=e.options.lineWrapping,v=void 0,k=0;if(l.hidden)continue;if(d&&h<8){var x=l.node.offsetTop+l.node.offsetHeight;v=x-a,a=x}else{var C=l.node.getBoundingClientRect();v=C.bottom-C.top,!f&&l.text.firstChild&&(k=l.text.firstChild.getBoundingClientRect().right-C.left-1)}var M=l.line.height-v;if((M>.005||M<-.005)&&(pn(l.line,v),Hu(l.line),l.rest))for(var P=0;P<l.rest.length;P++)Hu(l.rest[P]);if(k>e.display.sizerWidth){var K=Math.ceil(k/Br(e.display));K>e.display.maxLineLength&&(e.display.maxLineLength=K,e.display.maxLine=l.line,e.display.maxLineChanged=!0)}}}function Hu(e){if(e.widgets)for(var r=0;r<e.widgets.length;++r){var a=e.widgets[r],o=a.node.parentNode;o&&(a.height=o.offsetHeight)}}function Ro(e,r,a){var o=a&&a.top!=null?Math.max(0,a.top):e.scroller.scrollTop;o=Math.floor(o-Fo(e));var l=a&&a.bottom!=null?a.bottom:o+e.wrapper.clientHeight,f=L(r,o),v=L(r,l);if(a&&a.ensure){var k=a.ensure.from.line,x=a.ensure.to.line;k<f?(f=k,v=L(r, $ n(_e(r,k))+e.wrapper.clientHeight)):Math.min(x,r.lastLine())>=v&&(f=L(r, $ n(_e(r,x))-e.wrapper.clientHeight),v=x)}return{from:f,to:Math.max(v,f+1)}}function Lb(e,r){if(st(e,"scrollCursorIntoView"))return;var a=e.display,o=a.sizer.getBoundingClientRect(),l=null;if(r.top+o.top<0?l=!0:r.bottom+o.top>(wi
2020-09-20 05:33:18 -04:00
top : ` +(r.top-a.viewOffset-Fo(e.display))+ ` px ;
height : ` +(r.bottom-r.top+Fn(e)+a.barHeight)+ ` px ;
2021-01-03 16:52:37 -05:00
left : ` +r.left+"px; width: "+Math.max(2,r.right-r.left)+"px;");e.display.lineSpace.appendChild(f),f.scrollIntoView(l),e.display.lineSpace.removeChild(f)}}function Ib(e,r,a,o){o==null&&(o=0);var l;!e.options.lineWrapping&&r==a&&(r=r.ch?W(r.line,r.sticky=="before"?r.ch-1:r.ch,"after"):r,a=r.sticky=="before"?W(r.line,r.ch+1,"before"):r);for(var f=0;f<5;f++){var v=!1,k=yn(e,r),x=!a||a==r?k:yn(e,a);l={left:Math.min(k.left,x.left),top:Math.min(k.top,x.top)-o,right:Math.max(k.left,x.left),bottom:Math.max(k.bottom,x.bottom)+o};var C=ks(e,l),M=e.doc.scrollTop,P=e.doc.scrollLeft;if(C.scrollTop!=null&&(Ti(e,C.scrollTop),Math.abs(e.doc.scrollTop-M)>1&&(v=!0)),C.scrollLeft!=null&&(br(e,C.scrollLeft),Math.abs(e.doc.scrollLeft-P)>1&&(v=!0)),!v)break}return l}function Fb(e,r){var a=ks(e,r);a.scrollTop!=null&&Ti(e,a.scrollTop),a.scrollLeft!=null&&br(e,a.scrollLeft)}function ks(e,r){var a=e.display,o=Nr(e.display);r.top<0&&(r.top=0);var l=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:a.scroller.scrollTop,f=us(e),v={};r.bottom-r.top>f&&(r.bottom=r.top+f);var k=e.doc.height+ls(a),x=r.top<o,C=r.bottom>k-o;if(r.top<l)v.scrollTop=x?0:r.top;else if(r.bottom>l+f){var M=Math.min(r.top,(C?k:r.bottom)-f);M!=l&&(v.scrollTop=M)}var P=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:a.scroller.scrollLeft,K=pr(e)-(e.options.fixedGutter?a.gutters.offsetWidth:0), $ =r.right-r.left>K;return $ &&(r.right=r.left+K),r.left<10?v.scrollLeft=0:r.left<P?v.scrollLeft=Math.max(0,r.left-( $ ?0:10)):r.right>K+P-3&&(v.scrollLeft=r.right+( $ ?0:10)-K),v}function xs(e,r){if(r==null)return;Po(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+r}function Hr(e){Po(e);var r=e.getCursor();e.curOp.scrollToPos={from:r,to:r,margin:e.options.cursorScrollMargin}}function Ai(e,r,a){(r!=null||a!=null)&&Po(e),r!=null&&(e.curOp.scrollLeft=r),a!=null&&(e.curOp.scrollTop=a)}function Mb(e,r){Po(e),e.curOp.scrollToPos=r}function Po(e){var r=e.curOp.scrollToPos;if(r){e.curOp.scrollToPos=null;var a=Mu(e,r.from),o=Mu(e,r.to);Uu(e,a,o,r.margin)}}function Uu(e,r,a,o){var l=ks(e,{left:Math.min(r.left,a.left),top:Math.min(r.top,a.top)-o,right:Math.max(r.right,a.right),bottom:Math.max(r.bottom,a.bottom)+o});Ai(e,l.scrollLeft,l.scrollTop)}function Ti(e,r){if(Math.abs(e.doc.scrollTop-r)<2)return;i||Cs(e,{top:r}),Wu(e,r,!0),i&&Cs(e),Fi(e,100)}function Wu(e,r,a){if(r=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,r)),e.display.scroller.scrollTop==r&&!a)return;e.doc.scrollTop=r,e.display.scrollbars.setScrollTop(r),e.display.scroller.scrollTop!=r&&(e.display.scroller.scrollTop=r)}function br(e,r,a,o){if(r=Math.max(0,Math.min(r,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(a?r==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-r)<2)&&!o)return;e.doc.scrollLeft=r,Yu(e),e.display.scroller.scrollLeft!=r&&(e.display.scroller.scrollLeft=r),e.display.scrollbars.setScrollLeft(r)}function Li(e){var r=e.display,a=r.gutters.offsetWidth,o=Math.round(e.doc.height+ls(e.display));return{clientHeight:r.scroller.clientHeight,viewHeight:r.wrapper.clientHeight,scrollWidth:r.scroller.scrollWidth,clientWidth:r.scroller.clientWidth,viewWidth:r.wrapper.clientWidth,barLeft:e.options.fixedGutter?a:0,docHeight:o,scrollHeight:o+Fn(e)+r.barHeight,nativeBarWidth:r.nativeBarWidth,gutterWidth:a}}var yr=function(e,r,a){this.cm=a;var o=this.vert=_("div",[_("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),l=this.horiz=_("div",[_("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");o.tabIndex=l.tabIndex=-1,e(o),e(l),Te(o,"scroll",function(){o.clientHeight&&r(o.scrollTop,"vertical")}),Te(l,"scroll",function(){l.clientWidth&&r(l.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&h<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};yr.prototype.update=function(e){var r=e.scrollWidth>e.clientWidth+1,a=e.scrollHeight>e.clientHeight+1,o=e.nativeBarWidth;if(a){this.vert.style.display="block",this.vert.style.bottom=r?o+"px":"0";var l=e.viewHeight-(r?o:0);this.vert.firstChild.style.height
` },setDirection:Ft(function(e){if(e!="rtl"&&(e="ltr"),e==this.direction)return;this.direction=e,this.iter(function(r){return r.order=null}),this.cm&&Yb(this.cm)})}),Zt.prototype.eachLine=Zt.prototype.iter;var Ec=0;function ly(e){var r=this;if(Dc(r),st(r,e)||Gn(r.display,e))return;Et(e),d&&(Ec=+new Date);var a=gr(r,e,!0),o=e.dataTransfer.files;if(!a||r.isReadOnly())return;if(o&&o.length&&window.FileReader&&window.File)for(var l=o.length,f=Array(l),v=0,k=function(){++v==l&&It(r,function(){a=ze(r.doc,a);var $ ={from:a,to:a,text:r.doc.splitLines(f.filter(function(ne){return ne!=null}).join(r.doc.lineSeparator())),origin:"paste"};Gr(r.doc, $ ),dc(r.doc,ir(ze(r.doc,a),ze(r.doc,or( $ ))))})()},x=function( $ ,ne){if(r.options.allowDropFileTypes&&oe(r.options.allowDropFileTypes, $ .type)==-1){k();return}var ae=new FileReader;ae.onerror=function(){return k()},ae.onload=function(){var he=ae.result;if(/[ \x 00- \x 08 \x 0e- \x 1f]{2}/.test(he)){k();return}f[ne]=he,k()},ae.readAsText( $ )},C=0;C<o.length;C++)x(o[C],C);else{if(r.state.draggingText&&r.doc.sel.contains(a)>-1){r.state.draggingText(e),setTimeout(function(){return r.display.input.focus()},20);return}try{var M=e.dataTransfer.getData("Text");if(M){var P;if(r.state.draggingText&&!r.state.draggingText.copy&&(P=r.listSelections()),Wo(r.doc,ir(a,a)),P)for(var K=0;K<P.length;++K)Kr(r.doc,"",P[K].anchor,P[K].head,"drag");r.replaceSelection(M,"around","paste"),r.display.input.focus()}}catch( $ ){}}}function uy(e,r){if(d&&(!e.state.draggingText||+new Date-Ec<100)){Bt(r);return}if(st(e,r)||Gn(e.display,r))return;if(r.dataTransfer.setData("Text",e.getSelection()),r.dataTransfer.effectAllowed="copyMove",r.dataTransfer.setDragImage&&!b){var a=_("img",null,null,"position: fixed; left: 0; top: 0;");a.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",m&&(a.width=a.height=1,e.display.wrapper.appendChild(a),a._top=a.offsetTop),r.dataTransfer.setDragImage(a,0,0),m&&a.parentNode.removeChild(a)}}function cy(e,r){var a=gr(e,r);if(!a)return;var o=document.createDocumentFragment();Nu(e,a,o),e.display.dragCursor||(e.display.dragCursor=_("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Z(e.display.dragCursor,o)}function Dc(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Ac(e){if(!document.getElementsByClassName)return;for(var r=document.getElementsByClassName("CodeMirror"),a=[],o=0;o<r.length;o++){var l=r[o].CodeMirror;l&&a.push(l)}a.length&&a[0].operation(function(){for(var f=0;f<a.length;f++)e(a[f])})}var Tc=!1;function dy(){if(Tc)return;hy(),Tc=!0}function hy(){var e;Te(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Ac(fy)},100))}),Te(window,"blur",function(){return Ac(jr)})}function fy(e){var r=e.display;r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.scrollbarsClipped=!1,e.setSize()}for(var lr={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 "},ji=0;ji<10;ji++)lr[ji+48]=lr[ji+96]=String(ji);for(var Ko=65;Ko<=90;Ko++)lr[Ko]=String.fromCharCode(Ko);for(var Hi=1;Hi<=12;Hi++)lr[Hi+111]=lr[Hi+63235]=" F "+Hi;var Kn={};Kn.basic={Left:" goCharLeft ",Right:" goCharRight ",Up:" goLineUp ",Down:" goLineDown ",End:" goLineEnd ",Home:" goLineStartSmart ",PageUp:" goPageUp ",PageDown:" goPageDown ",Delete:" delCharAfter ",Backspace:" delCharBefore "," Shift - Backspace ":" delCharBefore ",Tab:" defaultTab "," Shift - Tab ":" indentAuto ",Enter:" newlineAndIndent ",Insert:" toggleOverwrite ",Esc:" singleSelection "},Kn.pcDefault={" Ct
` ,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Mc(e,r){var a=_e(e.doc,r),o=In(a);return o!=a&&(r=Ve(o)),Os(!0,e,o,r,1)}function vy(e,r){var a=_e(e.doc,r),o=eb(a);return o!=a&&(r=Ve(o)),Os(!0,e,a,r,-1)}function qc(e,r){var a=Mc(e,r.line),o=_e(e.doc,a.line),l=Ot(o,e.doc.direction);if(!l||l[0].level==0){var f=Math.max(a.ch,o.text.search(/ \S /)),v=r.line==a.line&&r.ch<=f&&r.ch;return W(a.line,v?0:f,a.sticky)}return a}function Yo(e,r,a){if(typeof r=="string"&&(r=Ui[r],!r))return!1;e.display.input.ensurePolled();var o=e.display.shift,l=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),a&&(e.display.shift=!1),l=r(e)!=Oe}finally{e.display.shift=o,e.state.suppressEdits=!1}return l}function by(e,r,a){for(var o=0;o<e.state.keyMaps.length;o++){var l=Yr(r,e.state.keyMaps[o],a,e);if(l)return l}return e.options.extraKeys&&Yr(r,e.options.extraKeys,a,e)||Yr(r,e.options.keyMap,a,e)}var yy=new ce;function Wi(e,r,a,o){var l=e.state.keySeq;if(l){if(Lc(r))return"handled";if(/ \' $ /.test(r)?e.state.keySeq=null:yy.set(50,function(){e.state.keySeq==l&&(e.state.keySeq=null,e.display.input.reset())}),zc(e,l+" "+r,a,o))return!0}return zc(e,r,a,o)}function zc(e,r,a,o){var l=by(e,r,o);return l=="multi"&&(e.state.keySeq=r),l=="handled"&&Rt(e,"keyHandled",e,r,a),(l=="handled"||l=="multi")&&(Et(a),ys(e)),!!l}function Oc(e,r){var a=Fc(r,!0);return a?r.shiftKey&&!e.state.keySeq?Wi(e,"Shift-"+a,r,function(o){return Yo(e,o,!0)})||Wi(e,a,r,function(o){if(typeof o=="string"?/^go[A-Z]/.test(o):o.motion)return Yo(e,o)}):Wi(e,a,r,function(o){return Yo(e,o)}):!1}function wy(e,r,a){return Wi(e,"'"+a+"'",r,function(o){return Yo(e,o,!0)})}var Rs=null;function Rc(e){var r=this;if(e.target&&e.target!=r.display.input.getField())return;if(r.curOp.focus=q(),st(r,e))return;d&&h<11&&e.keyCode==27&&(e.returnValue=!1);var a=e.keyCode;r.display.shift=a==16||e.shiftKey;var o=Oc(r,e);m&&(Rs=o?a:null,!o&&a==88&&!er&&(A?e.metaKey:e.ctrlKey)&&r.replaceSelection("",null,"cut")),i&&!A&&!o&&a==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),a==18&&!/ \b CodeMirror-crosshair \b /.test(r.display.lineDiv.className)&&ky(r)}function ky(e){var r=e.display.lineDiv;I(r,"CodeMirror-crosshair");function a(o){(o.keyCode==18||!o.altKey)&&(J(r,"CodeMirror-crosshair"),Be(document,"keyup",a),Be(document,"mouseover",a))}Te(document,"keyup",a),Te(document,"mouseover",a)}function Pc(e){e.keyCode==16&&(this.doc.sel.shift=!1),st(this,e)}function Nc(e){var r=this;if(e.target&&e.target!=r.display.input.getField())return;if(Gn(r.display,e)||st(r,e)||e.ctrlKey&&!e.altKey||A&&e.metaKey)return;var a=e.keyCode,o=e.charCode;if(m&&a==Rs){Rs=null,Et(e);return}if(m&&(!e.which||e.which<10)&&Oc(r,e))return;var l=String.fromCharCode(o==null?a:o);if(l==" \b ")return;if(wy(r,e,l))return;r.display.input.onKeyPress(e)}var xy=400,Ps=function(e,r,a){this.time=e,this.pos=r,this.button=a};Ps.prototype.compare=function(e,r,a){return this.time+xy>e&&fe(r,this.pos)==0&&a==this.button};var $ i,Gi;function _y(e,r){var a=+new Date;return Gi&&Gi.compare(a,e,r)?( $ i=Gi=null,"triple"): $ i&& $ i.compare(a,e,r)?(Gi=new Ps(a,e,r), $ i=null,"double"):( $ i=new Ps(a,e,r),Gi=null,"single")}function Bc(e){var r=this,a=r.display;if(st(r,e)||a.activeTouch&&a.input.supportsTouch())return;if(a.input.ensurePolled(),a.shift=e.shiftKey,Gn(a,e)){p||(a.scroller.draggable=!1,setTimeout(function(){return a.scroller.draggable=!0},100));return}if(Ns(r,e))return;var o=gr(r,e),l=ko(e),f=o?_y(o,l):"single";if(window.focus(),l==1&&r.state.selectingText&&r.state.selectingText(e),o&&Cy(r,l,o,f,e))return;l==1?o?Ey(r,o,f,e):Ir(e)==a.scroller&&Et(e):l==2?(o&&Uo(r.doc,o),setTimeout(function(){return a.input.focus()},20)):l==3&&(G?r.display.input.onContextMenu(e):ju(r))}function Cy(e,r,a,o,l){var f="Click";return o=="double"?f="Double"+f:o=="triple"&&(f="Triple"+f),f=(r==1?"Left":r==2?"Middle":"Right")+f,Wi(e,Ic(f,l),l,function(v){if(typeof v=="string"&&(v=Ui[v]),!v)return!1;var k=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),k=v(e,a)!=Oe}finally{e.state.suppressEdits=!1}return k})}function Sy(e,r,a){var o=e.getOptio
2020-10-13 17:50:52 -04:00
` )==r){if(o.ranges.length%kn.text.length==0){C=[];for(var M=0;M<kn.text.length;M++)C.push(f.splitLines(kn.text[M]))}}else x.length==o.ranges.length&&e.options.pasteLinesPerSelection&&(C=nt(x,function(pe){return[pe]}));for(var P=e.curOp.updateInput,K=o.ranges.length-1;K>=0;K--){var $ =o.ranges[K],ne= $ .from(),ae= $ .to(); $ .empty()&&(a&&a>0?ne=W(ne.line,ne.ch-a):e.state.overwrite&&!k?ae=W(ae.line,Math.min(_e(f,ae.line).text.length,ae.ch+Ce(x).length)):k&&kn&&kn.lineWise&&kn.text.join( `
2020-09-20 05:33:18 -04:00
` )==x.join( `
2021-01-03 16:52:37 -05:00
` )&&(ne=ae=W(ne.line,0)));var he={from:ne,to:ae,text:C?C[K%C.length]:x,origin:l||(k?"paste":e.state.cutIncoming>v?"cut":"+input")};Gr(e.doc,he),Rt(e,"inputRead",e,he)}r&&!k&&Kc(e,r),Hr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=P),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Gc(e,r){var a=e.clipboardData&&e.clipboardData.getData("Text");if(a)return e.preventDefault(),!r.isReadOnly()&&!r.options.disableInput&&nn(r,function(){return js(r,a,0,null,"paste")}),!0}function Kc(e,r){if(!e.options.electricChars||!e.options.smartIndent)return;for(var a=e.doc.sel,o=a.ranges.length-1;o>=0;o--){var l=a.ranges[o];if(l.head.ch>100||o&&a.ranges[o-1].head.line==l.head.line)continue;var f=e.getModeAt(l.head),v=!1;if(f.electricChars){for(var k=0;k<f.electricChars.length;k++)if(r.indexOf(f.electricChars.charAt(k))>-1){v=Ki(e,l.head.line,"smart");break}}else f.electricInput&&(f.electricInput.test(_e(e.doc,l.head.line).text.slice(0,l.head.ch))&&(v=Ki(e,l.head.line,"smart")));v&&Rt(e,"electricInput",e,l.head.line)}}function Vc(e){for(var r=[],a=[],o=0;o<e.doc.sel.ranges.length;o++){var l=e.doc.sel.ranges[o].head.line,f={anchor:W(l,0),head:W(l+1,0)};a.push(f),r.push(e.getRange(f.anchor,f.head))}return{text:r,ranges:a}}function Yc(e,r,a,o){e.setAttribute("autocorrect",a?"":"off"),e.setAttribute("autocapitalize",o?"":"off"),e.setAttribute("spellcheck",!!r)}function Xc(){var e=_("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),r=_("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return p?e.style.width="1000px":e.setAttribute("wrap","off"),E&&(e.style.border="1px solid black"),Yc(e),r}function zy(e){var r=e.optionHandlers,a=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(o,l){var f=this.options,v=f[o];if(f[o]==l&&o!="mode")return;f[o]=l,r.hasOwnProperty(o)&&It(this,r[o])(this,l,v),dt(this,"optionChange",this,o)},getOption:function(o){return this.options[o]},getDoc:function(){return this.doc},addKeyMap:function(o,l){this.state.keyMaps[l?"push":"unshift"](Vo(o))},removeKeyMap:function(o){for(var l=this.state.keyMaps,f=0;f<l.length;++f)if(l[f]==o||l[f].name==o)return l.splice(f,1),!0},addOverlay: $ t(function(o,l){var f=o.token?o:e.getMode(this.options,o);if(f.startState)throw new Error("Overlays may not be stateful.");mt(this.state.overlays,{mode:f,modeSpec:o,opaque:l&&l.opaque,priority:l&&l.priority||0},function(v){return v.priority}),this.state.modeGen++,Xt(this)}),removeOverlay: $ t(function(o){for(var l=this.state.overlays,f=0;f<l.length;++f){var v=l[f].modeSpec;if(v==o||typeof o=="string"&&v.name==o){l.splice(f,1),this.state.modeGen++,Xt(this);return}}}),indentLine: $ t(function(o,l,f){typeof l!="string"&&typeof l!="number"&&(l==null?l=this.options.smartIndent?"smart":"prev":l=l?"add":"subtract"),N(this.doc,o)&&Ki(this,o,l,f)}),indentSelection: $ t(function(o){for(var l=this.doc.sel.ranges,f=-1,v=0;v<l.length;v++){var k=l[v];if(k.empty())k.head.line>f&&(Ki(this,k.head.line,o,!0),f=k.head.line,v==this.doc.sel.primIndex&&Hr(this));else{var x=k.from(),C=k.to(),M=Math.max(f,x.line);f=Math.min(this.lastLine(),C.line-(C.ch?0:1))+1;for(var P=M;P<f;++P)Ki(this,P,o);var K=this.doc.sel.ranges;x.ch==0&&l.length==K.length&&K[v].from().ch>0&&Ms(this.doc,v,new Xe(x,K[v].to()),ye)}}}),getTokenAt:function(o,l){return ru(this,o,l)},getLineTokens:function(o,l){return ru(this,W(o),l,!0)},getTokenTypeAt:function(o){o=ze(this.doc,o);var l=eu(this,_e(this.doc,o.line)),f=0,v=(l.length-1)/2,k=o.ch,x;if(k==0)x=l[2];else for(;;){var C=f+v>>1;if((C?l[C*2-1]:0)>=k)v=C;else if(l[C*2+1]<k)f=C+1;else{x=l[C*2+2];break}}var M=x?x.indexOf("overlay "):-1;return M<0?x:M==0?null:x.slice(0,M-1)},getModeAt:function(o){var l=this.doc.mode;return l.innerMode?e.innerMode(l,this.getTokenAt(o).state).mode:l},getHelper:function(o,l){return this.getHelpers(o,l)[0]},getHelpers:function(o,l){var f=[];if(!a.hasOwnProperty(l))return f;var v=a[l],k=this.getModeAt(o);if(typeof k[l]=="string")v[k[l]]&&f.push(v[k[l
2020-10-13 17:50:52 -04:00
` ,he=le(ae, $ )?"w":K&&ae== `
2021-01-03 16:52:37 -05:00
` ?"n":!K||/ \s /.test(ae)?null:"p";if(K&&!ne&&!he&&(he="s"),P&&P!=he){a<0&&(a=1,M(),r.sticky="after");break}if(he&&(P=he),a>0&&!M(!ne))break}var pe= $ o(e,r,f,v,!0);return $ e(f,pe)&&(pe.hitSide=!0),pe}function Zc(e,r,a,o){var l=e.doc,f=r.left,v;if(o=="page"){var k=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),x=Math.max(k-.5*Nr(e.display),3);v=(a>0?r.bottom:r.top)+a*x}else o=="line"&&(v=a>0?r.bottom+3:r.top-3);for(var C;!(C=ps(e,f,v),!C.outside);){if(a<0?v<=0:v>=l.height){C.hitSide=!0;break}v+=a*5}return C}var tt=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ce,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};tt.prototype.init=function(e){var r=this,a=this,o=a.cm,l=a.div=e.lineDiv;Yc(l,o.options.spellcheck,o.options.autocorrect,o.options.autocapitalize);function f(k){for(var x=k.target;x;x=x.parentNode){if(x==l)return!0;if(/ \b CodeMirror-(?:line)?widget \b /.test(x.className))break}return!1}Te(l,"paste",function(k){if(!f(k)||st(o,k)||Gc(k,o))return;h<=11&&setTimeout(It(o,function(){return r.updateFromDOM()}),20)}),Te(l,"compositionstart",function(k){r.composing={data:k.data,done:!1}}),Te(l,"compositionupdate",function(k){r.composing||(r.composing={data:k.data,done:!1})}),Te(l,"compositionend",function(k){r.composing&&(k.data!=r.composing.data&&r.readFromDOMSoon(),r.composing.done=!0)}),Te(l,"touchstart",function(){return a.forceCompositionEnd()}),Te(l,"input",function(){r.composing||r.readFromDOMSoon()});function v(k){if(!f(k)||st(o,k))return;if(o.somethingSelected())Zo({lineWise:!1,text:o.getSelections()}),k.type=="cut"&&o.replaceSelection("",null,"cut");else if(o.options.lineWiseCopyCut){var x=Vc(o);Zo({lineWise:!0,text:x.text}),k.type=="cut"&&o.operation(function(){o.setSelections(x.ranges,0,ye),o.replaceSelection("",null,"cut")})}else return;if(k.clipboardData){k.clipboardData.clearData();var C=kn.text.join( `
` );if(k.clipboardData.setData("Text",C),k.clipboardData.getData("Text")==C){k.preventDefault();return}}var M=Xc(),P=M.firstChild;o.display.lineSpace.insertBefore(M,o.display.lineSpace.firstChild),P.value=kn.text.join( `
` );var K=document.activeElement;se(P),setTimeout(function(){o.display.lineSpace.removeChild(M),K.focus(),K==l&&a.showPrimarySelection()},50)}Te(l,"copy",v),Te(l,"cut",v)},tt.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},tt.prototype.prepareSelection=function(){var e=Pu(this.cm,!1);return e.focus=document.activeElement==this.div,e},tt.prototype.showSelection=function(e,r){if(!e||!this.cm.display.view.length)return;(e.focus||r)&&this.showPrimarySelection(),this.showMultipleSelections(e)},tt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},tt.prototype.showPrimarySelection=function(){var e=this.getSelection(),r=this.cm,a=r.doc.sel.primary(),o=a.from(),l=a.to();if(r.display.viewTo==r.display.viewFrom||o.line>=r.display.viewTo||l.line<r.display.viewFrom){e.removeAllRanges();return}var f=Qo(r,e.anchorNode,e.anchorOffset),v=Qo(r,e.focusNode,e.focusOffset);if(f&&!f.bad&&v&&!v.bad&&fe(Yt(f,v),o)==0&&fe(Dt(f,v),l)==0)return;var k=r.display.view,x=o.line>=r.display.viewFrom&&Qc(r,o)||{node:k[0].measure.map[2],offset:0},C=l.line<r.display.viewTo&&Qc(r,l);if(!C){var M=k[k.length-1].measure,P=M.maps?M.maps[M.maps.length-1]:M.map;C={node:P[P.length-1],offset:P[P.length-2]-P[P.length-3]}}if(!x||!C){e.removeAllRanges();return}var K=e.rangeCount&&e.getRangeAt(0), $ ;try{ $ =j(x.node,x.offset,C.offset,C.node)}catch(ne){} $ &&(!i&&r.state.focused?(e.collapse(x.node,x.offset), $ .collapsed||(e.removeAllRanges(),e.addRange( $ ))):(e.removeAllRanges(),e.addRange( $ )),K&&e.anchorNode==null?e.addRange(K):i&&this.startGracePeriod()),this.rememberSelection()},tt.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},tt.prototype.showMultipleSelections=function(e){Z(this.cm.display.cursorDiv,e.cursors),Z(this.cm.display.selectionDiv,e.selection)},tt.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},tt.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var r=e.getRangeAt(0).commonAncestorContainer;return Q(this.div,r)},tt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},tt.prototype.blur=function(){this.div.blur()},tt.prototype.getField=function(){return this.div},tt.prototype.supportsTouch=function(){return!0},tt.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():nn(this.cm,function(){return e.cm.curOp.selectionChanged=!0});function r(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,r))}this.polling.set(this.cm.options.pollInterval,r)},tt.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},tt.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var e=this.getSelection(),r=this.cm;if(S&&y&&this.cm.display.gutterSpecs.length&&Oy(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var a=Qo(r,e.anchorNode,e.anchorOffset),o=Qo(r,e.focusNode,e.focusOffset);a&&o&&nn(r,function(){jt(r.doc,ir(a,o),ye),(a.bad||o.bad)&&(r.curOp.selectionChanged=!0)})},tt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,r=e.display,a=e.doc.sel.primary(),o=a.from(),l=a.to();if(o.ch==0&&o.line>e.firstLine()&&(o=W(o.line-1,_e(e.doc,o.line-1).length)),l.ch==_e(e.doc,
` ),se(l))}else return;v.type=="cut"&&(o.state.cutIncoming=+new Date)}Te(l,"cut",f),Te(l,"copy",f),Te(e.scroller,"paste",function(v){if(Gn(e,v)||st(o,v))return;if(!l.dispatchEvent){o.state.pasteIncoming=+new Date,a.focus();return}var k=new Event("paste");k.clipboardData=v.clipboardData,l.dispatchEvent(k)}),Te(e.lineSpace,"selectstart",function(v){Gn(e,v)||Et(v)}),Te(l,"compositionstart",function(){var v=o.getCursor("from");a.composing&&a.composing.range.clear(),a.composing={start:v,range:o.markText(v,o.getCursor("to"),{className:"CodeMirror-composing"})}}),Te(l,"compositionend",function(){a.composing&&(a.poll(),a.composing.range.clear(),a.composing=null)})},vt.prototype.createField=function(e){this.wrapper=Xc(),this.textarea=this.wrapper.firstChild},vt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},vt.prototype.prepareSelection=function(){var e=this.cm,r=e.display,a=e.doc,o=Pu(e);if(e.options.moveInputWithCursor){var l=yn(e,a.sel.primary().head,"div"),f=r.wrapper.getBoundingClientRect(),v=r.lineDiv.getBoundingClientRect();o.teTop=Math.max(0,Math.min(r.wrapper.clientHeight-10,l.top+v.top-f.top)),o.teLeft=Math.max(0,Math.min(r.wrapper.clientWidth-10,l.left+v.left-f.left))}return o},vt.prototype.showSelection=function(e){var r=this.cm,a=r.display;Z(a.cursorDiv,e.cursors),Z(a.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},vt.prototype.reset=function(e){if(this.contextMenuPending||this.composing)return;var r=this.cm;if(r.somethingSelected()){this.prevInput="";var a=r.getSelection();this.textarea.value=a,r.state.focused&&se(this.textarea),d&&h>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",d&&h>=9&&(this.hasSelection=null))},vt.prototype.getField=function(){return this.textarea},vt.prototype.supportsTouch=function(){return!1},vt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!z||q()!=this.textarea))try{this.textarea.focus()}catch(e){}},vt.prototype.blur=function(){this.textarea.blur()},vt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},vt.prototype.receivedFocus=function(){this.slowPoll()},vt.prototype.slowPoll=function(){var e=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},vt.prototype.fastPoll=function(){var e=!1,r=this;r.pollingFast=!0;function a(){var o=r.poll();!o&&!e?(e=!0,r.polling.set(60,a)):(r.pollingFast=!1,r.slowPoll())}r.polling.set(20,a)},vt.prototype.poll=function(){var e=this,r=this.cm,a=this.textarea,o=this.prevInput;if(this.contextMenuPending||!r.state.focused||An(a)&&!o&&!this.composing||r.isReadOnly()||r.options.disableInput||r.state.keySeq)return!1;var l=a.value;if(l==o&&!r.somethingSelected())return!1;if(d&&h>=9&&this.hasSelection===l||A&&/[ \u f700- \u f7ff]/.test(l))return r.display.input.reset(),!1;if(r.doc.sel==r.display.selForContextMenu){var f=l.charCodeAt(0);if(f==8203&&!o&&(o=" "),f==8666)return this.reset(),this.cm.execCommand("undo")}for(var v=0,k=Math.min(o.length,l.length);v<k&&o.charCodeAt(v)==l.charCodeAt(v);)++v;return nn(r,function(){js(r,l.slice(v),o.length-v,null,e.composing?"*compose":null),l.length>1e3||l.indexOf( `
` )>-1?a.value=e.prevInput="":e.prevInput=l,e.composing&&(e.composing.range.clear(),e.composing.range=r.markText(e.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},vt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},vt.prototype.onKeyPress=function(){d&&h>=9&&(this.hasSelection=null),this.fastPoll()},vt.prototype.onContextMenu=function(e){var r=this,a=r.cm,o=a.display,l=r.textarea;r.contextMenuPending&&r.contextMenuPending();var f=gr(a,e),v=o.scroller.scrollTop;if(!f||m)return;var k=a.options.resetSelectionOnContextMenu;k&&a.doc.sel.contains(f)==-1&&It(a,jt)(a.doc,ir(f),ye);var x=l.style.cssText,C=r.wrapper.style.cssText,M=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static",l.style.cssText= ` position : absolute ; width : 30 px ; height : 30 px ;
2020-09-26 12:51:37 -04:00
top : ` +(e.clientY-M.top-5)+"px; left: "+(e.clientX-M.left-5)+ ` px ;
2020-09-20 05:33:18 -04:00
z - index : 1000 ; background : ` +(d?"rgba(255, 255, 255, .05)":"transparent")+ ` ;
2021-01-03 16:52:37 -05:00
outline : none ; border - width : 0 ; outline : none ; overflow : hidden ; opacity : . 05 ; filter : alpha ( opacity = 5 ) ; ` ;var P;p&&(P=window.scrollY),o.input.focus(),p&&window.scrollTo(null,P),o.input.reset(),a.somethingSelected()||(l.value=r.prevInput=" "),r.contextMenuPending= $ ,o.selForContextMenu=a.doc.sel,clearTimeout(o.detectingSelectAll);function K(){if(l.selectionStart!=null){var ae=a.somethingSelected(),he=" "+(ae?l.value:"");l.value="⇚",l.value=he,r.prevInput=ae?"":" ",l.selectionStart=1,l.selectionEnd=he.length,o.selForContextMenu=a.doc.sel}}function $ (){if(r.contextMenuPending!= $ )return;if(r.contextMenuPending=!1,r.wrapper.style.cssText=C,l.style.cssText=x,d&&h<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=v),l.selectionStart!=null){(!d||d&&h<9)&&K();var ae=0,he=function(){o.selForContextMenu==a.doc.sel&&l.selectionStart==0&&l.selectionEnd>0&&r.prevInput==" "?It(a,gc)(a):ae++<10?o.detectingSelectAll=setTimeout(he,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(he,200)}}if(d&&h>=9&&K(),G){Bt(e);var ne=function(){Be(window,"mouseup",ne),setTimeout( $ ,20)};Te(window,"mouseup",ne)}else setTimeout( $ ,50)},vt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},vt.prototype.setUneditable=function(){},vt.prototype.needsContentAttribute=!1;function Ny(e,r){if(r=r?T(r):{},r.value=e.value,!r.tabindex&&e.tabIndex&&(r.tabindex=e.tabIndex),!r.placeholder&&e.placeholder&&(r.placeholder=e.placeholder),r.autofocus==null){var a=q();r.autofocus=a==e||e.getAttribute("autofocus")!=null&&a==document.body}function o(){e.value=k.getValue()}var l;if(e.form&&(Te(e.form,"submit",o),!r.leaveSubmitMethodAlone)){var f=e.form;l=f.submit;try{var v=f.submit=function(){o(),f.submit=l,f.submit(),f.submit=v}}catch(x){}}r.finishInit=function(x){x.save=o,x.getTextArea=function(){return e},x.toTextArea=function(){x.toTextArea=isNaN,o(),e.parentNode.removeChild(x.getWrapperElement()),e.style.display="",e.form&&(Be(e.form,"submit",o),!r.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=l))}},e.style.display="none";var k=ut(function(x){return e.parentNode.insertBefore(x,e.nextSibling)},r);return k}function By(e){e.off=Be,e.on=Te,e.wheelEventPixels=Kb,e.Doc=Zt,e.splitLines=Dn,e.countColumn=de,e.findColumn=De,e.isWordChar=X,e.Pass=Oe,e.signal=dt,e.Line=Or,e.changeEnd=or,e.scrollbarModel=Gu,e.Pos=W,e.cmpPos=fe,e.modes=bi,e.mimeModes=jn,e.resolveMode=Hn,e.getMode=yi,e.modeExtensions=Un,e.extendMode=Ja,e.copyState=fn,e.startState=_o,e.innerMode=zr,e.commands=Ui,e.keyMap=Kn,e.keyName=Fc,e.isModifierKey=Lc,e.lookupKey=Yr,e.normalizeKeyMap=my,e.StringStream=lt,e.SharedTextMarker=Bi,e.TextMarker=sr,e.LineWidget=Ni,e.e_preventDefault=Et,e.e_stopPropagation=wo,e.e_stop=Bt,e.addClass=I,e.contains=Q,e.rmClass=J,e.keyNames=lr}Iy(ut),zy(ut);var jy="iter insert remove copy getEditor constructor".split(" ");for(var Jo in Zt.prototype)Zt.prototype.hasOwnProperty(Jo)&&oe(jy,Jo)<0&&(ut.prototype[Jo]=function(e){return function(){return e.apply(this.doc,arguments)}}(Zt.prototype[Jo]));return Jn(Zt),ut.inputStyles={textarea:vt,contenteditable:tt},ut.defineMode=function(e){!ut.defaults.mode&&e!="null"&&(ut.defaults.mode=e),qr.apply(this,arguments)},ut.defineMIME=bn,ut.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ut.defineMIME("text/plain","null"),ut.defineExtension=function(e,r){ut.prototype[e]=r},ut.defineDocExtension=function(e,r){Zt.prototype[e]=r},ut.fromTextArea=Ny,By(ut),ut.version="5.58.1",ut})});var Vs=ue((Vi,Ks)=>{!function(t,n){typeof Vi=="object"&&typeof Ks=="object"?Ks.exports=n():typeof define=="function"&&define.amd?define([],n):typeof Vi=="object"?Vi.ClipboardJS=n():t.ClipboardJS=n()}(Vi,function(){return i={},t.m=n=[function(s,u){s.exports=function(c){var d;if(c.nodeName==="SELECT")c.focus(),d=c.value;else if(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA"){var h=c.hasAttribute("readonly");h||c.setAttribute("readonly",""),c.select(),c.setSelectionRange(0,c.value.length),h||c.removeAttribute("readonly"),d=
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var c=!0,d=!1,h;return{s:function(){i=t[Symbol.iterator]()},n:function(){var g=i.next();return c=g.done,g},e:function(g){d=!0,h=g},f:function(){try{!c&&i.return!=null&&i.return()}finally{if(d)throw h}}}}function Vy(t,n){if(!t)return;if(typeof t=="string")return Fh(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(i))return Fh(t,n)}function Fh(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,s=new Array(n);i<n;i++)s[i]=t[i];return s}function el(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Mh(t,n){for(var i=0;i<n.length;i++){var s=n[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function oa(t,n,i){return n&&Mh(t.prototype,n),i&&Mh(t,i),t}var qh=function(){function t(){el(this,t)}return oa(t,[{key:"on",value:function(i,s){return this._callbacks=this._callbacks||{},this._callbacks[i]||(this._callbacks[i]=[]),this._callbacks[i].push(s),this}},{key:"emit",value:function(i){this._callbacks=this._callbacks||{};var s=this._callbacks[i];if(s){for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];var h=Ge(s),p;try{for(h.s();!(p=h.n()).done;){var g=p.value;g.apply(this,c)}}catch(y){h.e(y)}finally{h.f()}}return this}},{key:"off",value:function(i,s){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var u=this._callbacks[i];if(!u)return this;if(arguments.length===1)return delete this._callbacks[i],this;for(var c=0;c<u.length;c++){var d=u[c];if(d===s){u.splice(c,1);break}}return this}}]),t}(),Ue=function(t){ $ y(i,t);var n=Ky(i);oa(i,null,[{key:"initClass",value:function(){this.prototype.Emitter=qh,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,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,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(c,d,h){if(h)return{dzuuid:h.file.upload.uuid,dzchunkindex:h.index,dztotalfilesize:h.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:h.file.upload.totalChunkCount,dzchunkbyteoffset:h.index*this.opt
2020-09-20 05:33:18 -04:00
< div class = "dz-image" > < img data - dz - thumbnail / > < / d i v >
< div class = "dz-details" >
< div class = "dz-size" > < span data - dz - size > < / s p a n > < / d i v >
< div class = "dz-filename" > < span data - dz - name > < / s p a n > < / d i v >
< / d i v >
< div class = "dz-progress" > < span class = "dz-upload" data - dz - uploadprogress > < / s p a n > < / d i v >
< div class = "dz-error-message" > < span data - dz - errormessage > < / s p a n > < / d i v >
< 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 < / t i t l e >
< 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" > < / p a t h >
< / g >
< / s v g >
< / d i v >
< 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 < / t i t l e >
< 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.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 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" > < / p a t h >
< / g >
< / g >
< / s v g >
< / d i v >
2021-01-03 16:52:37 -05:00
< / d i v > ` , d r o p : f u n c t i o n ( c ) { r e t u r n t h i s . e l e m e n t . c l a s s L i s t . r e m o v e ( " d z - d r a g - h o v e r " ) } , d r a g s t a r t : f u n c t i o n ( c ) { } , d r a g e n d : f u n c t i o n ( c ) { r e t u r n t h i s . e l e m e n t . c l a s s L i s t . r e m o v e ( " d z - d r a g - h o v e r " ) } , d r a g e n t e r : f u n c t i o n ( c ) { r e t u r n t h i s . e l e m e n t . c l a s s L i s t . a d d ( " d z - d r a g - h o v e r " ) } , d r a g o v e r : f u n c t i o n ( c ) { r e t u r n t h i s . e l e m e n t . c l a s s L i s t . a d d ( " d z - d r a g - h o v e r " ) } , d r a g l e a v e : f u n c t i o n ( c ) { r e t u r n t h i s . e l e m e n t . c l a s s L i s t . r e m o v e ( " d z - d r a g - h o v e r " ) } , p a s t e : f u n c t i o n ( c ) { } , r e s e t : f u n c t i o n ( ) { r e t u r n t h i s . e l e m e n t . c l a s s L i s t . r e m o v e ( " d z - s t a r t e d " ) } , a d d e d f i l e : f u n c t i o n ( c ) { v a r d = t h i s ; i f ( t h i s . e l e m e n t = = = t h i s . p r e v i e w s C o n t a i n e r & & t h i s . e l e m e n t . c l a s s L i s t . a d d ( " d z - s t a r t e d " ) , t h i s . p r e v i e w s C o n t a i n e r ) { c . p r e v i e w E l e m e n t = i . c r e a t e E l e m e n t ( t h i s . o p t i o n s . p r e v i e w T e m p l a t e . t r i m ( ) ) , c . p r e v i e w T e m p l a t e = c . p r e v i e w E l e m e n t , t h i s . p r e v i e w s C o n t a i n e r . a p p e n d C h i l d ( c . p r e v i e w E l e m e n t ) ; v a r h = G e ( c . p r e v i e w E l e m e n t . q u e r y S e l e c t o r A l l ( " [ d a t a - d z - n a m e ] " ) ) , p ; t r y { f o r ( h . s ( ) ; ! ( p = h . n ( ) ) . d o n e ; ) { v a r g = p . v a l u e ; g . t e x t C o n t e n t = c . n a m e } } c a t c h ( S ) { h . e ( S ) } f i n a l l y { h . f ( ) } v a r y = G e ( c . p r e v i e w E l e m e n t . q u e r y S e l e c t o r A l l ( " [ d a t a - d z - s i z e ] " ) ) , m ; t r y { f o r ( y . s ( ) ; ! ( m = y . n ( ) ) . d o n e ; ) g = m . v a l u e , g . i n n e r H T M L = t h i s . f i l e s i z e ( c . s i z e ) } c a t c h ( S ) { y . e ( S ) } f i n a l l y { y . f ( ) } t h i s . o p t i o n s . a d d R e m o v e L i n k s & & ( c . _ r e m o v e L i n k = i . c r e a t e E l e m e n t ( ' < a c l a s s = " d z - r e m o v e " h r e f = " j a v a s c r i p t : u n d e f i n e d ; " d a t a - d z - r e m o v e > ' . c o n c a t ( t h i s . o p t i o n s . d i c t R e m o v e F i l e , " < / a > " ) ) , c . p r e v i e w E l e m e n t . a p p e n d C h i l d ( c . _ r e m o v e L i n k ) ) ; v a r b = f u n c t i o n ( z ) { r e t u r n z . p r e v e n t D e f a u l t ( ) , z . s t o p P r o p a g a t i o n ( ) , c . s t a t u s = = = i . U P L O A D I N G ? i . c o n f i r m ( d . o p t i o n s . d i c t C a n c e l U p l o a d C o n f i r m a t i o n , f u n c t i o n ( ) { r e t u r n d . r e m o v e F i l e ( c ) } ) : d . o p t i o n s . d i c t R e m o v e F i l e C o n f i r m a t i o n ? i . c o n f i r m ( d . o p t i o n s . d i c t R e m o v e F i l e C o n f i r m a t i o n , f u n c t i o n ( ) { r e t u r n d . r e m o v e F i l e ( c ) } ) : d . r e m o v e F i l e ( c ) } , w = G e ( c . p r e v i e w E l e m e n t . q u e r y S e l e c t o r A l l ( " [ d a t a - d z - r e m o v e ] " ) ) , D ; t r y { f o r ( w . s ( ) ; ! ( D = w . n ( ) ) . d o n e ; ) { v a r E = D . v a l u e ; E . a d d E v e n t L i s t e n e r ( " c l i c k " , b ) } } c a t c h ( S ) { w . e ( S ) } f i n a l l y { w . f ( ) } } } , r e m o v e d f i l e : f u n c t i o n ( c ) { r e t u r n c . p r e v i e w E l e m e n t ! = n u l l & & c . p r e v i e w E l e m e n t . p a r e n t N o d e ! = n u l l & & c . p r e v i e w E l e m e n t . p a r e n t N o d e . r e m o v e C h i l d ( c . p r e v i e w E l e m e n t ) , t h i s . _ u p d a t e M a x F i l e s R e a c h e d C l a s s ( ) } , t h u m b n a i l : f u n c t i o n ( c , d ) { i f ( c . p r e v i e w E l e m e n t ) { c . p r e v i e w E l e m e n t . c l a s s L i s t . r e m o v e ( " d z - f i l e - p r e v i e w " ) ; v a r h = G e ( c . p r e v i e w E l e m e n t . q u e r y S e l e c t o r A l l ( " [ d a t a - d z - t h u m b n a i l ] " ) ) , p ; t r y { f o r ( h . s ( ) ; ! ( p = h . n ( ) ) . d o n e ; ) { v a r g = p . v a l u e ; g . a l t = c . n a m e , g . s r c = d } } c a t c h ( y ) { h . e ( y ) } f i n a l l y { h . f ( ) } r e t u r n s e t T i m e o u t ( f u n c t i o n ( ) { r e t u r n c . p r e v i e w E l e m e n t . c l a s s L i s t . a d d ( " d z - i m a g e - p r e v i e w " ) } , 1 ) } } , e r r o r : f u n c t i o n ( c , d ) { i f ( c . p r e v i e w E l e m e n t ) { c . p r e v i e w E l e m e n t . c l a s s L i s t . a d d ( " d z - e r r o r " ) , t y p e o f d ! = " s t r i n g " & & d . e r r o r & & ( d = d . e r r o r ) ; v a r h = G e ( c . p r e v i e w E l e m e n t . q u e r y S e l e c t o r A l l ( " [ d a t a - d z - e r r o r m e s s a g e ] " ) ) , p ; t r y { f o r ( h . s ( ) ; ! ( p = h . n ( ) ) . d o n e ; ) { v a r g = p . v a l u e ; g . t e x t C o n t e n t = d } } c a t c h ( y ) { h . e ( y ) } f i n a l l y { h . f ( ) } } } , e r r o r m u l t i p l e : f u n c t i o n ( ) { } , p r o c e s s i n g : f u n c t i o n ( c ) { i f ( c . p r e v i e w E l e m e n t & & ( c . p r e v i e w E l e m e n t . c l a s s L i s t . a d d ( " d z - p r o c e s s i n g " ) , c . _ r e m o v e L i n k ) ) r e t u r n c . _ r e m o v e L i n k . i n n e r H T M L = t h i s . o p t i o n s . d i c t C a n c e l U p l o a d } , p r o c e s s i n g m u l t i p l e : f u n c t i o n ( ) { } , u p l o a d p r o g r e s s : f u n c t i o n ( c , d , h ) { i f ( c . p r e v i e w E l e m e n t ) { v a r p = G e ( c . p r e v i e w E l e m e n t . q u e r y S e l e c t o r A l l ( " [ d a t a - d z - u p l o a d p r o g r e s s ] " ) ) , g ; t r y { f o r ( p . s ( ) ; ! ( g = p . n ( ) ) . d o n e ; ) { v a r y = g . v a l u e ; y . n o d e N a m e = = = " P R O G R E S S " ? y . v a l u e = d : y . s t y l e . w i d t h = " " . c o n c a t ( d , " % " ) } } c a t c h ( m ) { p . e ( m ) } f i n a l l y { p . f ( ) } } } , t o t a l u p l o a d p r o g r e s s : f u n c t i o n ( ) { } , s e n d i n g : f u n c t i o n ( ) { } , s e n d i n g m u l t i p l e : f u n c t i o n ( ) { } , s u c c e s s : f u n c t i o n ( c ) { i f ( c . p r e v i e w E l e m e n t ) r e t u r n c . p r e v i e w E l e m e n t . c l a s s L i s t . a d d ( " d z - s u c c e s s " ) } , s u c c e s s m u l t i p l e : f u n c t i o n ( ) { } , c a n c e l e d : f u n c t i o n ( c ) { r e t u r n t h i s . e m i t ( " e r r o r " , c , t h i s . o p t i o n s . d i c t U p l o a d C a n c e l e d ) } , c a n c e l e d m u l t i p l e : f u n c t i o n ( ) { } , c o m p l e t e : f u n c t i o n ( c ) { i f ( c . _ r e m o v e L i n k & & ( c . _ r e m o v e L i n k . i n n e r H T M L = t h i s . o p t i o n s . d i c t R e m o v e F i l e ) , c . p r e v i e w E l e m e n t ) r e t u r n c . p r e v i e w E l e m e n t . c l a s s L i s t . a d d ( " d z - c o m p l e t e " ) } , c o m p l e t e m u l t i p l e : f u n c t i o n ( ) { } , m a x f i l e s e x c e e d e d : f u n c t i o n ( ) { } , m a x f i l e s r e a c h e d : f u n c t i o n ( ) { } , q u e u e c o m p l e t e : f u n c t i o n ( ) { } , a d d e d f i l e s : f u n c t i o n ( ) { } } , t h i s . p r o t o t y p e . _ t h u m b n a i l Q u e u e = [ ] , t h i s . p r o t o t y p e . _ p r o c e s s i n g T h u m b n a i l = ! 1 } } , { k e y : " e x t e n d " , v a l u e : f u n c t i o n ( u ) { f o r ( v a r c = a r g u m e n t s . l e n g t h , d = n e w A r r a y ( c > 1 ? c - 1 : 0 ) , h = 1 ; h < c ; h + + ) d [ h - 1 ] = a r g u m e n t s [ h ] ; f o r ( v a r p = 0 , g = d ; p < g . l e n g t h ; p + + ) { v a r y = g [ p ] ; f o r ( v a r m i n y ) { v a r b = y [ m ] ; u [ m ] = b } } r e t u r n u } } ] ) ; f u n c t i o n i ( s , u ) { v a r c ; e l ( t h i s , i ) , c = n . c a
2020-09-20 05:33:18 -04:00
Valid base64 characters are A - Z , a - z , 0 - 9 , '+' , '/' , and '='
2021-01-03 16:52:37 -05:00
Expect errors in decoding . ` ),i=i.replace(/[^A-Za-z0-9 \+ \/ \= ]/g,"");!(h=this.KEY_STR.indexOf(i.charAt(m++)),p=this.KEY_STR.indexOf(i.charAt(m++)),g=this.KEY_STR.indexOf(i.charAt(m++)),y=this.KEY_STR.indexOf(i.charAt(m++)),u=h<<2|p>>4,c=(p&15)<<4|g>>2,d=(g&3)<<6|y,b.push(u),g!==64&&b.push(c),y!==64&&b.push(d),u=c=d="",h=p=g=y="",!(m<i.length)););return b}}]),t}();zh.initClass();var tw=function(n,i){var s=!1,u=!0,c=n.document,d=c.documentElement,h=c.addEventListener?"addEventListener":"attachEvent",p=c.addEventListener?"removeEventListener":"detachEvent",g=c.addEventListener?"":"on",y=function b(w){if(w.type==="readystatechange"&&c.readyState!=="complete")return;if((w.type==="load"?n:c)[p](g+w.type,b,!1),!s&&(s=!0))return i.call(n,w.type||w)},m=function b(){try{d.doScroll("left")}catch(w){setTimeout(b,50);return}return y("poll")};if(c.readyState!=="complete"){if(c.createEventObject&&d.doScroll){try{u=!n.frameElement}catch(b){}u&&m()}return c[h](g+"DOMContentLoaded",y,!1),c[h](g+"readystatechange",y,!1),n[h](g+"load",y,!1)}};Ue._autoDiscoverFunction=function(){if(Ue.autoDiscover)return Ue.discover()};tw(window,Ue._autoDiscoverFunction);function Zy(t,n){return typeof t!="undefined"&&t!==null?n(t):void 0}function Qy(t,n,i){return typeof t!="undefined"&&t!==null&&typeof t[n]=="function"?i(t,n):void 0}});var Ph=ue((d_,Rh)=>{class nw{constructor(t){this.elem=t,this.toggleButton=t.querySelector(".mobile-menu-toggle"),this.menu=t.querySelector(".header-links"),this.open=!1,this.toggleButton.addEventListener("click",this.onToggle.bind(this)),this.onWindowClick=this.onWindowClick.bind(this)}onToggle(t){this.open=!this.open,this.menu.classList.toggle("show",this.open),this.open?window.addEventListener("click",this.onWindowClick):window.removeEventListener("click",this.onWindowClick),t.stopPropagation()}onWindowClick(t){this.onToggle(t)}}Rh.exports=nw});var Bh=ue((h_,Nh)=>{Nh.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´ ",Acy:"А ",acy:"а ",AElig:"Æ",aelig:"æ",af:" ",Afr:"𝔄 ",afr:"𝔞 ",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α ",alpha:"α ",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸 ",aopf:"𝕒 ",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:" ",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜 ",ascr:"𝒶 ",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵ ",backsim:"∽",backsimeq:"⋍",Backslash:"∖ ",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б ",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ ",Bernoullis:"ℬ ",Beta:"Β ",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅 ",bfr:"𝔟 ",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃ ",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁ ",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹 ",bopf:"𝕓 ",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"
` ,nexist:"∄",nexists:"∄",Nfr:"𝔑 ",nfr:"𝔫 ",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",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:"¬",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:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν ",nu:"ν ",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:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О ",ocy:"о ",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒 ",ofr:"𝔬 ",ogon:"˛ ",Ograve:"Ò",ograve:"ò",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:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪 ",oscr:"ℴ ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п"
` ," "],uw=["{","}","|"," \\ ","^"," ` "].concat(lw),cw=[" '"].concat(uw),Qh=["%","/","?",";","#"].concat(cw),Jh=["/","?","#"],dw=255,ef=/^[+a-z0-9A-Z_-]{0,63}$/,hw=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,tf={javascript:!0,"javascript:":!0},nf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function fw(t,n){if(t&&t instanceof ua)return t;var i=new ua;return i.parse(t,n),i}ua.prototype.parse=function(t,n){var i,s,u,c,d,h=t;if(h=h.trim(),!n&&t.split("#").length===1){var p=sw.exec(h);if(p)return this.pathname=p[1],p[2]&&(this.search=p[2]),this}var g=ow.exec(h);if(g&&(g=g[0],u=g.toLowerCase(),this.protocol=g,h=h.substr(g.length)),(n||g||h.match(/^\/\/[^@\/]+@[^@\/]+/))&&(d=h.substr(0,2)==="//",d&&!(g&&tf[g])&&(h=h.substr(2),this.slashes=!0)),!tf[g]&&(d||g&&!nf[g])){var y=-1;for(i=0;i<Jh.length;i++)c=h.indexOf(Jh[i]),c!==-1&&(y===-1||c<y)&&(y=c);var m,b;for(y===-1?b=h.lastIndexOf("@"):b=h.lastIndexOf("@",y),b!==-1&&(m=h.slice(0,b),h=h.slice(b+1),this.auth=m),y=-1,i=0;i<Qh.length;i++)c=h.indexOf(Qh[i]),c!==-1&&(y===-1||c<y)&&(y=c);y===-1&&(y=h.length),h[y-1]===":"&&y--;var w=h.slice(0,y);h=h.slice(y),this.parseHost(w),this.hostname=this.hostname||"";var D=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!D){var E=this.hostname.split(/\./);for(i=0,s=E.length;i<s;i++){var S=E[i];if(!S)continue;if(!S.match(ef)){for(var z="",A=0,R=S.length;A<R;A++)S.charCodeAt(A)>127?z+="x":z+=S[A];if(!z.match(ef)){var U=E.slice(0,i),Y=E.slice(i+1),B=S.match(hw);B&&(U.push(B[1]),Y.unshift(B[2])),Y.length&&(h=Y.join(".")+h),this.hostname=U.join(".");break}}}}this.hostname.length>dw&&(this.hostname=""),D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var G=h.indexOf("#");G!==-1&&(this.hash=h.substr(G),h=h.slice(0,G));var ee=h.indexOf("?");return ee!==-1&&(this.search=h.substr(ee),h=h.slice(0,ee)),h&&(this.pathname=h),nf[u]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ua.prototype.parseHost=function(t){var n=aw.exec(t);n&&(n=n[0],n!==":"&&(this.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(this.hostname=t)};Zh.exports=fw});var nl=ue((y_,Xi)=>{"use strict";Xi.exports.encode=$h();Xi.exports.decode=Vh();Xi.exports.format=Xh();Xi.exports.parse=rf()});var rl=ue((w_,of)=>{of.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var il=ue((k_,af)=>{af.exports=/[\0-\x1F\x7F-\x9F]/});var lf=ue((x_,sf)=>{sf.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 ol=ue((__,uf)=>{uf.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var cf=ue(ti=>{"use strict";ti.Any=rl();ti.Cc=il();ti.Cf=lf();ti.P=aa();ti.Z=ol()});var et=ue(zt=>{"use strict";function pw(t){return Object.prototype.toString.call(t)}function mw(t){return pw(t)==="[object String]"}var gw=Object.prototype.hasOwnProperty;function df(t,n){return gw.call(t,n)}function vw(t){var n=Array.prototype.slice.call(arguments,1);return n.forEach(function(i){if(!i)return;if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(s){t[s]=i[s]})}),t}function bw(t,n,i){return[].concat(t.slice(0,n),i,t.slice(n+1))}function hf(t){return t>=55296&&t<=57343||(t>=64976&&t<=65007||((t&65535)===65535||(t&65535)===65534||(t>=0&&t<=8||(t===11||(t>=14&&t<=31||t>=127&&t<=159)))))?!1:!(t>1114111)}function ff(t){if(t>65535){t-=65536;var n=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(n,i)}return String.fromCharCode(t)}var pf=/\\([!"#$%&' ( ) * + , \ - . \ / : ; <= > ? @ [ \ \ \ ] ^ _ ` {|}~])/g,yw=/&([a-z#][a-z0-9]{1,31});/gi,ww=new RegExp(pf.source+"|"+yw.source,"gi"),kw=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,mf=tl();function xw(t,n){var i=0;return df(mf,n)?mf[n]:n.charCodeAt(0)===35&&kw.test(n)&&(i=n[1].toLowerCase()==="x"?parseInt(n.slice(2),16):parseInt(n.slice(1),10),hf(i))?ff(i):t}function _w(t){return t.indexOf(" \\ ")<0?t:t.replace(
` };zn.fence=function(t,n,i,s,u){var c=t[n],d=c.info?Bw(c.info).trim():"",h="",p,g,y,m;return d&&(h=d.split(/ \s +/g)[0]),i.highlight?p=i.highlight(c.content,h)||Cr(c.content):p=Cr(c.content),p.indexOf("<pre")===0?p+ `
2020-09-30 17:44:58 -04:00
` :d?(g=c.attrIndex("class"),y=c.attrs?c.attrs.slice():[],g<0?y.push(["class",i.langPrefix+h]):y[g][1]+=" "+i.langPrefix+h,m={attrs:y},"<pre><code"+u.renderAttrs(m)+">"+p+ ` < / c o d e > < / p r e >
` ):"<pre><code"+u.renderAttrs(c)+">"+p+ ` < / c o d e > < / p r e >
` };zn.image=function(t,n,i,s,u){var c=t[n];return c.attrs[c.attrIndex("alt")][1]=u.renderInlineAsText(c.children,i,s),u.renderToken(t,n,i)};zn.hardbreak=function(t,n,i){return i.xhtmlOut? ` < br / >
2020-09-20 05:33:18 -04:00
` : ` < br >
2020-09-30 17:44:58 -04:00
` };zn.softbreak=function(t,n,i){return i.breaks?i.xhtmlOut? ` < br / >
2020-09-20 05:33:18 -04:00
` : ` < br >
` : `
2021-01-03 16:52:37 -05:00
` };zn.text=function(t,n){return Cr(t[n].content)};zn.html_block=function(t,n){return t[n].content};zn.html_inline=function(t,n){return t[n].content};function ni(){this.rules=Nw({},zn)}ni.prototype.renderAttrs=function(n){var i,s,u;if(!n.attrs)return"";for(u="",i=0,s=n.attrs.length;i<s;i++)u+=" "+Cr(n.attrs[i][0])+'="'+Cr(n.attrs[i][1])+'"';return u};ni.prototype.renderToken=function(n,i,s){var u,c="",d=!1,h=n[i];return h.hidden?"":(h.block&&h.nesting!==-1&&i&&n[i-1].hidden&&(c+= `
2020-09-30 17:44:58 -04:00
` ),c+=(h.nesting===-1?"</":"<")+h.tag,c+=this.renderAttrs(h),h.nesting===0&&s.xhtmlOut&&(c+=" /"),h.block&&(d=!0,h.nesting===1&&(i+1<n.length&&(u=n[i+1],(u.type==="inline"||u.hidden||u.nesting===-1&&u.tag===h.tag)&&(d=!1)))),c+=d? ` >
2021-01-03 16:52:37 -05:00
` :">",c)};ni.prototype.renderInline=function(t,n,i){for(var s,u="",c=this.rules,d=0,h=t.length;d<h;d++)s=t[d].type,typeof c[s]!="undefined"?u+=c[s](t,d,n,i,this):u+=this.renderToken(t,d,n);return u};ni.prototype.renderInlineAsText=function(t,n,i){for(var s="",u=0,c=t.length;u<c;u++)t[u].type==="text"?s+=t[u].content:t[u].type==="image"&&(s+=this.renderInlineAsText(t[u].children,n,i));return s};ni.prototype.render=function(t,n,i){var s,u,c,d="",h=this.rules;for(s=0,u=t.length;s<u;s++)c=t[s].type,c==="inline"?d+=this.renderInline(t[s].children,n,i):typeof h[c]!="undefined"?d+=h[t[s].type](t,s,n,i,this):d+=this.renderToken(t,s,n,i);return d};Cf.exports=ni});var da=ue((I_,Ef)=>{"use strict";function xn(){this.__rules__=[],this.__cache__=null}xn.prototype.__find__=function(t){for(var n=0;n<this.__rules__.length;n++)if(this.__rules__[n].name===t)return n;return-1};xn.prototype.__compile__=function(){var t=this,n=[""];t.__rules__.forEach(function(i){if(!i.enabled)return;i.alt.forEach(function(s){n.indexOf(s)<0&&n.push(s)})}),t.__cache__={},n.forEach(function(i){t.__cache__[i]=[],t.__rules__.forEach(function(s){if(!s.enabled)return;if(i&&s.alt.indexOf(i)<0)return;t.__cache__[i].push(s.fn)})})};xn.prototype.at=function(t,n,i){var s=this.__find__(t),u=i||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=n,this.__rules__[s].alt=u.alt||[],this.__cache__=null};xn.prototype.before=function(t,n,i,s){var u=this.__find__(t),c=s||{};if(u===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(u,0,{name:n,enabled:!0,fn:i,alt:c.alt||[]}),this.__cache__=null};xn.prototype.after=function(t,n,i,s){var u=this.__find__(t),c=s||{};if(u===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(u+1,0,{name:n,enabled:!0,fn:i,alt:c.alt||[]}),this.__cache__=null};xn.prototype.push=function(t,n,i){var s=i||{};this.__rules__.push({name:t,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null};xn.prototype.enable=function(t,n){Array.isArray(t)||(t=[t]);var i=[];return t.forEach(function(s){var u=this.__find__(s);if(u<0){if(n)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[u].enabled=!0,i.push(s)},this),this.__cache__=null,i};xn.prototype.enableOnly=function(t,n){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(i){i.enabled=!1}),this.enable(t,n)};xn.prototype.disable=function(t,n){Array.isArray(t)||(t=[t]);var i=[];return t.forEach(function(s){var u=this.__find__(s);if(u<0){if(n)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[u].enabled=!1,i.push(s)},this),this.__cache__=null,i};xn.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};Ef.exports=xn});var Af=ue((F_,Df)=>{"use strict";var jw=/ \r \n ?| \n /g,Hw=/ \0 /g;Df.exports=function(n){var i;i=n.src.replace(jw, `
` ),i=i.replace(Hw,"<22> "),n.src=i}});var Lf=ue((M_,Tf)=>{"use strict";Tf.exports=function(n){var i;n.inlineMode?(i=new n.Token("inline","",0),i.content=n.src,i.map=[0,1],i.children=[],n.tokens.push(i)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}});var Ff=ue((q_,If)=>{"use strict";If.exports=function(n){var i=n.tokens,s,u,c;for(u=0,c=i.length;u<c;u++)s=i[u],s.type==="inline"&&n.md.inline.parse(s.content,n.md,n.env,s.children)}});var qf=ue((z_,Mf)=>{"use strict";var Uw=et().arrayReplaceAt;function Ww(t){return/^<a[> \s ]/i.test(t)}function $ w(t){return/^< \/ a \s *>/i.test(t)}Mf.exports=function(n){var i,s,u,c,d,h,p,g,y,m,b,w,D,E,S,z,A=n.tokens,R;if(!n.md.options.linkify)return;for(s=0,u=A.length;s<u;s++){if(A[s].type!=="inline"||!n.md.linkify.pretest(A[s].content))continue;for(c=A[s].children,D=0,i=c.length-1;i>=0;i--){if(h=c[i],h.type==="link_close"){for(i--;c[i].level!==h.level&&c[i].type!=="link_open";)i--;continue}if(h.type==="html_inline"&&(Ww(h.content)&&D>0&&D--, $ w(h.content)&&D++),D>0)continue;if(h.type==="text"&&n.md.linkify.test(h.content)){for(y=h.content,R=n.md.linkify.match(y),p=[],w=h.level,b=0,g=0;g<R.length;g++){if(E=R[g].url,S=n.md.normalizeLink(E),!n.md.validateLink(S))continue;z=R[g].text,R[g].schema?R[g].schema==="mailto:"&&!/^mailto:/i.test(z)?z=n.md.normalizeLinkText("mailto:"+z).replace(/^mailto:/,""):z=n.md.normalizeLinkText(z):z=n.md.normalizeLinkText("http://"+z).replace(/^http: \/ \/ /,""),m=R[g].index,m>b&&(d=new n.Token("text","",0),d.content=y.slice(b,m),d.level=w,p.push(d)),d=new n.Token("link_open","a",1),d.attrs=[["href",S]],d.level=w++,d.markup="linkify",d.info="auto",p.push(d),d=new n.Token("text","",0),d.content=z,d.level=w,p.push(d),d=new n.Token("link_close","a",-1),d.level=--w,d.markup="linkify",d.info="auto",p.push(d),b=R[g].lastIndex}b<y.length&&(d=new n.Token("text","",0),d.content=y.slice(b),d.level=w,p.push(d)),A[s].children=c=Uw(c,i,p)}}}}});var Rf=ue((O_,zf)=>{"use strict";var Of=/ \+ -| \. \. | \? \? \? \? |!!!!|,,|--/,Gw=/ \( (c|tm|r|p) \) /i,Kw=/ \( (c|tm|r|p) \) /ig,Vw={c:"©",r:"®",p:"§",tm:"™"};function Yw(t,n){return Vw[n.toLowerCase()]}function Xw(t){var n,i,s=0;for(n=t.length-1;n>=0;n--)i=t[n],i.type==="text"&&!s&&(i.content=i.content.replace(Kw,Yw)),i.type==="link_open"&&i.info==="auto"&&s--,i.type==="link_close"&&i.info==="auto"&&s++}function Zw(t){var n,i,s=0;for(n=t.length-1;n>=0;n--)i=t[n],i.type==="text"&&!s&&(Of.test(i.content)&&(i.content=i.content.replace(/ \+ -/g,"±").replace(/ \. {2,}/g,"…").replace(/([?!])…/g," $ 1..").replace(/([?!]){4,}/g," $ 1 $ 1 $ 1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]| $ )/mg," $ 1—").replace(/(^| \s )--(?= \s | $ )/mg," $ 1– ").replace(/(^|[^- \s ])--(?=[^- \s ]| $ )/mg," $ 1– "))),i.type==="link_open"&&i.info==="auto"&&s--,i.type==="link_close"&&i.info==="auto"&&s++}zf.exports=function(n){var i;if(!n.md.options.typographer)return;for(i=n.tokens.length-1;i>=0;i--){if(n.tokens[i].type!=="inline")continue;Gw.test(n.tokens[i].content)&&Xw(n.tokens[i].children),Of.test(n.tokens[i].content)&&Zw(n.tokens[i].children)}}});var Wf=ue((R_,Pf)=>{"use strict";var Nf=et().isWhiteSpace,Bf=et().isPunctChar,jf=et().isMdAsciiPunct,Qw=/['"]/,Hf=/['"]/g,Uf="’ ";function ha(t,n,i){return t.substr(0,n)+i+t.substr(n+1)}function Jw(t,n){var i,s,u,c,d,h,p,g,y,m,b,w,D,E,S,z,A,R,U,Y,B;for(U=[],i=0;i<t.length;i++){for(s=t[i],p=t[i].level,A=U.length-1;A>=0&&!(U[A].level<=p);A--);if(U.length=A+1,s.type!=="text")continue;u=s.content,d=0,h=u.length;e:for(;d<h&&!(Hf.lastIndex=d,c=Hf.exec(u),!c);){if(S=z=!0,d=c.index+1,R=c[0]==="'",y=32,c.index-1>=0)y=u.charCodeAt(c.index-1);else for(A=i-1;A>=0&&!(t[A].type==="softbreak"||t[A].type==="hardbreak");A--){if(!t[A].content)continue;y=t[A].content.charCodeAt(t[A].content.length-1);break}if(m=32,d<h)m=u.charCodeAt(d);else for(A=i+1;A<t.length&&!(t[A].type==="softbreak"||t[A].type==="hardbreak");A++){if(!t[A].content)continue;m=t[A].content.charCodeAt(0);break}if(b=jf(y)||Bf(String.fromCharCode(y)),w=jf(m)||Bf(String.fromCharCode(m)),D=Nf(y),E=Nf(m),E?S=!1:w&&(D||b||(S=!1)),D?z=!1:b&&(E||w||(z=!1)),m===34&&c[0]==='"'&&(y>=48&&y<=57&&(z=S=!1)),S&&z&&(S
` );wa("error",n)}}var Jm={emit:wa,emitPublic:S0,listen:C0,success:t=>wa("success",t),error:t=>wa("error",t),showValidationErrors:E0};async function D0(t,n={}){return eg(t,{method:"GET",params:n})}async function A0(t,n=null){return ka("POST",t,n)}async function T0(t,n=null){return ka("PUT",t,n)}async function L0(t,n=null){return ka("PATCH",t,n)}async function I0(t,n=null){return ka("DELETE",t,n)}async function ka(t,n,i=null){const s={method:t,body:i};return typeof i=="object"&&!(i instanceof FormData)&&(s.headers={"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},s.body=JSON.stringify(i)),i instanceof FormData&&t!=="post"&&(i.append("_method",t),s.method="post"),eg(n,s)}async function eg(t,n={}){if(t.startsWith("http")||(t=window.baseUrl(t)),n.params){const d=new URL(t);for(let h of Object.keys(n.params)){const p=n.params[h];typeof p!="undefined"&&p!==null&&d.searchParams.set(h,p)}t=d.toString()}const i=document.querySelector("meta[name=token]").getAttribute("content");n=Object.assign({},n,{credentials:"same-origin"}),n.headers=Object.assign({},n.headers||{},{baseURL:window.baseUrl(""),"X-CSRF-TOKEN":i});const s=await fetch(t,n),u=await F0(s),c={data:u,headers:s.headers,redirected:s.redirected,status:s.status,statusText:s.statusText,url:s.url,original:s};if(!s.ok)throw c;return c}async function F0(t){if(t.status===204)return null;const n=t.headers.get("Content-Type"),i=n.split("/").pop();return i==="javascript"||i==="json"?await t.json():await t.text()}var tg={get:D0,post:A0,put:T0,patch:L0,delete:I0};class M0{constructor(t){this.store=new Map,this.parseTranslations()}parseTranslations(){const t=document.querySelectorAll('meta[name="translation"]');for(let n of t){const i=n.getAttribute("key"),s=n.getAttribute("value");this.store.set(i,s)}}get(t,n){const i=this.getTransText(t);return this.performReplacements(i,n)}getPlural(t,n,i){const s=this.getTransText(t);return this.parsePlural(s,n,i)}parsePlural(t,n,i){const s=t.split("|"),u=/^{([0-9]+)}/,c=/^ \[ ([0-9]+),([0-9*]+)]/;let d=null;for(let h of s){const p=h.match(u);if(p!==null&&Number(p[1])===n){d=h.replace(u,"").trim();break}const g=h.match(c);if(g!==null){const y=Number(g[1]);if(y<=n&&(g[2]==="*"||Number(g[2])>=n)){d=h.replace(c,"").trim();break}}}return d===null&&s.length>1&&(d=n===1?s[0]:s[1]),d===null&&(d=s[0]),this.performReplacements(d,i)}getTransText(t){const n=this.store.get(t);return n===void 0&&console.warn( ` Translation with key "${t}" does not exist ` ),n}performReplacements(t,n){if(!n)return t;const i=t.match(/:([ \S ]+)/g);return i===null||i.forEach(s=>{const u=s.substring(1);if(typeof n[u]=="undefined")return;t=t.replace(s,n[u])}),t}}var ng=M0;function xa(t,n){const i=document.querySelectorAll(t);for(let s of i)n(s)}function _a(t,n,i){for(let s of n)t.addEventListener(s,i)}function ot(t,n){Array.isArray(t)||(t=[t]);for(const i of t)i.addEventListener("click",n),i.addEventListener("keydown",s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),n(s))})}function Ca(t,n){Array.isArray(t)||(t=[t]);const i=s=>{s.key==="Enter"&&n(s)};t.forEach(s=>s.addEventListener("keypress",i))}function _t(t,n,i,s){t.addEventListener(i,function(u){const c=u.target.closest(n);c&&s.call(c,u,c)})}function rg(t,n){const i=document.querySelectorAll(t);n=n.toLowerCase();for(let s of i)if(s.textContent.toLowerCase().includes(n))return s;return null}function no(t){t.innerHTML='<div class="loading-container"><div></div><div></div><div></div></div>'}function ig(t){const n=t.querySelectorAll(".loading-container");for(const i of n)i.remove()}function Sa(t,n,i){let s;return function(){const u=this,c=arguments,d=function(){s=null,i||t.apply(u,c)},h=i&&!s;clearTimeout(s),s=setTimeout(d,n),h&&t.apply(u,c)}}function ro(t){if(!t)return;t.scrollIntoView({behavior:"smooth"});const n=document.getElementById("custom-styles").getAttribute("data-color-light"),i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.backgroundColor=n,setTimeout(()=>{t.classList.add("selectFade"),t.style.backgroundColor=i},10),setTimeout(()=>{t.classList.remove("selectFade"),t.style.b
` );const i=t.textContent.trimEnd();let s="";if(n!==null){const c=n.className.replace("language-","");s=Va(c,i)}const u=Tr.default(function(c){t.parentNode.replaceChild(c,t)},{value:i,mode:s,lineNumbers:!0,lineWrapping:!1,theme:Ya(),readOnly:!0});X0(u)}function X0(t){const n='<svg viewBox="0 0 24 24" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>',i=document.createElement("div");i.classList.add("CodeMirror-copy"),i.innerHTML=n,t.display.wrapper.appendChild(i);const s=new Pg.default(i,{text:function(u){return t.getValue()}});s.on("success",u=>{i.classList.add("success"),setTimeout(()=>{i.classList.remove("success")},240)})}function Va(t,n){t=t.trim().replace(/^ \. /g,"").toLowerCase();const i=typeof Yl[t];return i==="undefined"?"":i==="function"?Yl[t](n):Yl[t]}function Ya(){const t=document.documentElement.classList.contains("dark-mode");return window.codeTheme||(t?"darcula":"default")}function Z0(t){const n=t.ownerDocument,i=t.querySelector("code");let s=(t.className||"").replace("language-","");s===""&&i&&(s=(i.className||"").replace("language-","")),t.innerHTML=t.innerHTML.replace(/<br \s *[ \/ ]?>/gi, `
` );const u=t.textContent,c=n.createElement("div"),d=n.createElement("textarea");c.className="CodeMirrorContainer",c.setAttribute("data-lang",s),c.setAttribute("dir","ltr"),d.style.display="none",t.parentNode.replaceChild(c,t),c.appendChild(d),c.contentEditable=!1,d.textContent=u;let h=Tr.default(function(p){c.appendChild(p)},{value:u,mode:Va(s,u),lineNumbers:!0,lineWrapping:!1,theme:Ya(),readOnly:!0});return setTimeout(()=>{h.refresh()},300),{wrap:c,editor:h}}function Q0(t,n){const i=t.textContent;return Tr.default(function(s){t.parentNode.insertBefore(s,t),t.style.display="none"},{value:i,mode:Va(n,i),lineNumbers:!0,lineWrapping:!1,theme:Ya()})}function J0(t,n,i){t.setOption("mode",Va(n,i))}function ex(t,n){t.setValue(n),setTimeout(()=>{Bg(t)},10)}function Bg(t){t.refresh()}function tx(t){const n=t.textContent,i={value:n,mode:"markdown",lineNumbers:!0,lineWrapping:!0,theme:Ya(),scrollPastEnd:!0};return window. $ events.emitPublic(t,"editor-markdown-cm::pre-init",{config:i}),Tr.default(function(s){t.parentNode.insertBefore(s,t),t.style.display="none"},i)}function nx(){let t=Tr.default.keyMap.default==Tr.default.keyMap.macDefault;return t?"Cmd":"Ctrl"}var Nt={highlight:V0,highlightWithin:Y0,wysiwygView:Z0,popupEditor:Q0,setMode:J0,setContent:ex,updateLayout:Bg,markdownEditor:tx,getMetaKey:nx};class rx{setup(){this.container=this. $ refs.container,this.popup=this. $ el,this.editorInput=this. $ refs.editor,this.languageLinks=this. $ manyRefs.languageLink,this.saveButton=this. $ refs.saveButton,this.languageInput=this. $ refs.languageInput,this.historyDropDown=this. $ refs.historyDropDown,this.historyList=this. $ refs.historyList,this.callback=null,this.editor=null,this.history={},this.historyKey="code_history",this.setupListeners()}setupListeners(){this.container.addEventListener("keydown",t=>{t.ctrlKey&&t.key==="Enter"&&this.save()}),ot(this.languageLinks,t=>{const n=t.target.dataset.lang;this.languageInput.value=n,this.updateEditorMode(n)}),Ca(this.languageInput,t=>this.save()),ot(this.saveButton,t=>this.save()),_t(this.historyList,"button","click",(t,n)=>{t.preventDefault();const i=n.dataset.time;this.editor&&this.editor.setValue(this.history[i])})}save(){this.callback&&this.callback(this.editor.getValue(),this.languageInput.value),this.hide()}open(t,n,i){this.languageInput.value=n,this.callback=i,this.show(),this.updateEditorMode(n),Nt.setContent(this.editor,t)}show(){this.editor||(this.editor=Nt.popupEditor(this.editorInput,this.languageInput.value)),this.loadHistory(),this.popup.components.popup.show(()=>{Nt.updateLayout(this.editor),this.editor.focus()},()=>{this.addHistory()})}hide(){this.popup.components.popup.hide(),this.addHistory()}updateEditorMode(t){Nt.setMode(this.editor,t,this.editor.getValue())}loadHistory(){this.history=JSON.parse(window.sessionStorage.getItem(this.historyKey)||"{}");const t=Object.keys(this.history).reverse();this.historyDropDown.classList.toggle("hidden",t.length===0),this.historyList.innerHTML=t.map(n=>{const i=new Date(parseInt(n)).toLocaleTimeString();return ` < li > < button type = "button" data - time = "${n}" > $ { i } < / b u t t o n > < / l i > ` } ) . j o i n ( " " ) } a d d H i s t o r y ( ) { i f ( ! t h i s . e d i t o r ) r e t u r n ; c o n s t t = t h i s . e d i t o r . g e t V a l u e ( ) ; i f ( ! t ) r e t u r n ; c o n s t n = O b j e c t . k e y s ( t h i s . h i s t o r y ) . p o p ( ) ; i f ( t h i s . h i s t o r y [ n ] = = = t ) r e t u r n ; t h i s . h i s t o r y [ S t r i n g ( D a t e . n o w ( ) ) ] = t ; c o n s t i = J S O N . s t r i n g i f y ( t h i s . h i s t o r y ) ; w i n d o w . s e s s i o n S t o r a g e . s e t I t e m ( t h i s . h i s t o r y K e y , i ) } } v a r j g = r x ; c l a s s i x { c o n s t r u c t o r ( t ) { N t . h i g h l i g h t W i t h i n ( t ) } } v a r H g = i x ; c l a s s o x { c o n s t r u c t o r ( t ) { i f ( t h i s . e l e m = t , t h i s . t r i g g e r = t . q u e r y S e l e c t o r ( " [ c o l l a p s i b l e - t r i g g e r ] " ) , t h i s . c o n t e n t = t . q u e r y S e l e c t o r ( " [ c o l l a p s i b l e - c o n t e n t ] " ) , ! t h i s . t r i g g e r ) r e t u r n ; t h i s . t r i g g e r . a d d E v e n t L i s t e n e r ( " c l i c k " , t h i s . t o g g l e . b i n d ( t h i s ) ) , t h i s . o p e n I f C o n t a i n s E r r o r ( ) } o p e n ( ) { t h i s . e l e m . c l a s s L i s t . a d d ( " o p e n " ) , t h i s . t r i g g e r . s e t A t t r i b u t e ( " a r i a - e x p a n d e d " , " t r u e " ) , p i ( t h i s . c o n t e n t , 3 0 0 ) } c l o s e ( ) { t h i s . e l e m . c l a s s L i s t . r e m o v e ( " o p e n " ) , t h i s . t r i g g e r . s e t A t t r i b u t e ( " a r i a - e x p a n d e d " , " f a l s e " ) , f i ( t h i s . c o n t e n t , 3 0 0 ) } t o g g l e ( ) { t h i s . e l e m . c l a s s L i s t . c o n t a i n s ( " o p e n " ) ? t h i s . c l o s e ( ) : t h i s . o p e n ( ) } o p e n I f C o n t a i n s E r r o r ( ) { c o n s t t = t h i s . c o n t e n t . q u e r y S e l e c t o r ( " . t e x t - n e g . t e x t - s m a l l " ) ; t & & t h i s . o p e n ( ) } }
2020-09-20 05:33:18 -04:00
` ).map(g=>g.indexOf( ` drawio - diagram = "${s}" ` )!==-1?h:g).join( `
2021-01-03 16:52:37 -05:00
` );this.cm.setValue(p),this.cm.setCursor(i),this.cm.focus(),dn.close()}).catch(d=>{window. $ events.emit("error",this.imageUploadErrorText),console.log(d)})})}actionFullScreen(){const t=this.elem.classList.contains("fullscreen");this.elem.classList.toggle("fullscreen",!t),document.body.classList.toggle("markdown-fullscreen",!t)}scrollToText(t){if(!t)return;const n=this.cm.getValue(),i=n.split(/ \r ? \n /);let s=i.findIndex(u=>u&&u.indexOf(t)!==-1);if(s===-1)return;this.cm.scrollIntoView({line:s},200),this.cm.focus(),this.cm.setCursor({line:s,char:i[s].length})}listenForBookStackEditorEvents(){function t({html:n,markdown:i}){return i||n}window. $ events.listen("editor::replace",n=>{const i=t(n);this.cm.setValue(i)}),window. $ events.listen("editor::append",n=>{const i=this.cm.getCursor("from"),s=t(n),u=this.cm.getValue()+ `
2020-09-30 17:44:58 -04:00
` +s;this.cm.setValue(u),this.cm.setCursor(i.line,i.ch)}),window. $ events.listen("editor::prepend",n=>{const i=this.cm.getCursor("from"),s=t(n),u=s+ `
` +this.cm.getValue();this.cm.setValue(u);const c=s.split( `
2021-01-03 16:52:37 -05:00
` ).length;this.cm.setCursor(i.line+c,i.ch)}),window. $ events.listen("editor::insert",n=>{const i=t(n);this.cm.replaceSelection(i)}),window. $ events.listen("editor::focus",()=>{this.cm.focus()})}}var hv=Lx;class Ix{constructor(t){this.elem=t,this.inviteOption=t.querySelector("input[name=send_invite]"),this.inviteOption&&(this.inviteOption.addEventListener("change",this.inviteOptionChange.bind(this)),this.inviteOptionChange())}inviteOptionChange(){const t=this.inviteOption.value==="true",n=this.elem.querySelectorAll("input[type=password]");for(const s of n)s.disabled=t;const i=this.elem.querySelector("#password-input-container");i&&(i.style.display=t?"none":"block")}}var fv=Ix;class Fx{constructor(t){this.elem=t,this.type=t.getAttribute("notification"),this.textElem=t.querySelector("span"),this.autohide=this.elem.hasAttribute("data-autohide"),this.elem.style.display="grid",window. $ events.listen(this.type,n=>{this.show(n)}),t.addEventListener("click",this.hide.bind(this)),t.hasAttribute("data-show")&&setTimeout(()=>this.show(this.textElem.textContent),100),this.hideCleanup=this.hideCleanup.bind(this)}show(t=""){if(this.elem.removeEventListener("transitionend",this.hideCleanup),this.textElem.textContent=t,this.elem.style.display="grid",setTimeout(()=>{this.elem.classList.add("showing")},1),this.autohide){const n=t.split(" ").length,i=Math.max(2e3,1e3+250*n);setTimeout(this.hide.bind(this),i)}}hide(){this.elem.classList.remove("showing"),this.elem.addEventListener("transitionend",this.hideCleanup)}hideCleanup(){this.elem.style.display="none",this.elem.removeEventListener("transitionend",this.hideCleanup)}}var pv=Fx;class Mx{setup(){this.removeButton=this. $ refs.remove,this.showButton=this. $ refs.show,this.input=this. $ refs.input,this.setupListeners()}setupListeners(){ot(this.removeButton,()=>{this.input.value="",this.input.classList.add("hidden"),this.removeButton.classList.add("hidden"),this.showButton.classList.remove("hidden")}),ot(this.showButton,()=>{this.input.classList.remove("hidden"),this.removeButton.classList.remove("hidden"),this.showButton.classList.add("hidden")})}}var mv=Mx;class qx{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(t){let n=t.target.closest("[action]");if(t.target.matches('a[href^="#"]')){const u=t.target.href.split("#")[1];ro(document.querySelector("#"+u))}if(n===null)return;t.preventDefault();const i=n.getAttribute("action"),s=n.closest("[comment]");i==="edit"&&this.editComment(s),i==="closeUpdateForm"&&this.closeUpdateForm(),i==="delete"&&this.deleteComment(s),i==="addComment"&&this.showForm(),i==="hideForm"&&this.hideForm(),i==="reply"&&this.setReply(s),i==="remove-reply-to"&&this.removeReplyTo()}closeUpdateForm(){if(!this.editingComment)return;this.editingComment.querySelector("[comment-content]").style.display="block",this.editingComment.querySelector("[comment-edit-container]").style.display="none"}editComment(t){this.hideForm(),this.editingComment&&this.closeUpdateForm(),t.querySelector("[comment-content]").style.display="none",t.querySelector("[comment-edit-container]").style.display="block";let n=t.querySelector("[comment-edit-container] textarea"),i=n.value.split( `
2021-01-10 09:05:16 -05:00
` ).length;n.style.height=i*20+40+"px",this.editingComment=t}updateComment(t){let n=t.target;t.preventDefault();let i=n.querySelector("textarea").value,s={text:i,parent_id:this.parentId||null};this.showLoading(n);let u=this.editingComment.getAttribute("comment");window. $ http.put( ` / comment / $ { u } ` ,s).then(c=>{let d=document.createElement("div");d.innerHTML=c.data,this.editingComment.innerHTML=d.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(n)})}deleteComment(t){let n=t.getAttribute("comment");this.showLoading(t.querySelector("[comment-content]")),window. $ http.delete( ` / comment / $ { n } ` ).then(i=>{t.parentNode.removeChild(t),window. $ events.success(this.deletedText),this.updateCount(),this.hideForm()})}saveComment(t){t.preventDefault(),t.stopPropagation();let n=this.formInput.value,i={text:n,parent_id:this.parentId||null};this.showLoading(this.form),window. $ http.post( ` / comment / $ { this . pageId } ` ,i).then(s=>{let u=document.createElement("div");u.innerHTML=s.data;let c=u.children[0];this.container.appendChild(c),window.components.init(c),window. $ events.success(this.createdText),this.resetForm(),this.updateCount()}).catch(s=>{window. $ events.showValidationErrors(s),this.hideLoading(this.form)})}updateCount(){let t=this.container.children.length;this.elem.querySelector("[comments-title]").textContent=window.trans_plural(this.countText,t,{count:t})}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(t){this.showForm(),this.parentId=Number(t.getAttribute("local-id")),this.replyToRow.style.display="block";const n=this.replyToRow.querySelector("a");n.textContent= ` # $ { this . parentId } ` ,n.href= ` # comment$ { this . parentId } ` }removeReplyTo(){this.parentId=null,this.replyToRow.style.display="none"}showLoading(t){const n=t.querySelectorAll(".form-group");for(let i of n)i.style.display="none";t.querySelector(".form-group.loading").style.display="block"}hideLoading(t){const n=t.querySelectorAll(".form-group");for(let i of n)i.style.display="block";t.querySelector(".form-group.loading").style.display="none"}}var gv=qx;const vv=Ke(Vs());class zx{constructor(t){if(this.elem=t,this.pageId=t.getAttribute("page-display"),Nt.highlight(),this.setupPointer(),this.setupNavHighlighting(),window.location.hash){let i=window.location.hash.replace(/ \% 20/g," ").substr(1);this.goToText(i)}const n=document.querySelector(".sidebar-page-nav");n&&_t(n,"a","click",(i,s)=>{i.preventDefault(),window.components["tri-layout"][0].showContent();const u=s.getAttribute("href").substr(1);this.goToText(u),window.history.pushState(null,null,"#"+u)})}goToText(t){const n=document.getElementById(t);if(xa(".page-content [data-highlighted]",i=>{i.removeAttribute("data-highlighted"),i.style.backgroundColor=null}),n!==null)ro(n);else{const i=rg(".page-content > div > *",t);i&&ro(i)}}setupPointer(){let t=document.getElementById("pointer");if(!t)return;t=t.parentNode.removeChild(t);const n=t.querySelector("div.pointer");let i=!1,s=!1,u=!0,c="";_t(t,"input","click",(h,p)=>{p.select(),h.stopPropagation()}),_a(t,["click","focus"],h=>{h.stopPropagation()}),_t(t,"span.icon","click",(h,p)=>{h.stopPropagation(),u=!u,p.querySelector('[data-icon="include"]').style.display=u?"none":"inline",p.querySelector('[data-icon="link"]').style.display=u?"inline":"none"
2020-09-20 05:33:18 -04:00
< path d = "M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-5.27 9h-3.49l-.73 2H7.89l3.4-9h1.4l3.41 9h-1.63l-.74-2zm-3.04-1.26h2.61L12 8.91l-1.31 3.83z" / >
< path d = "M0 0h24v24H0z" fill = "none" / >
2021-01-03 16:52:37 -05:00
< /svg>`)}`,cmd:"drawio",menu:[{text:"Drawing Manager",onclick(){let w=m.selection.getNode();h(m,d(w)?w:null)}}]}),m.on("dblclick",w=>{let D=m.selection.getNode();if(!d(D))return;p(m,D)}),m.on("SetContent",function(){const w=m.$("body > div[drawio-diagram]");if(!w.length)return;m.undoManager.transact(function(){w.each((D,E)=>{E.setAttribute("contenteditable","false")})})})})}function r_(){window.tinymce.PluginManager.add("customhr",function(t){t.addCommand("InsertHorizontalRule",function(){let n=document.createElement("hr"),i=t.selection.getNode(),s=i.parentNode;s.insertBefore(n,i)}),t.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),t.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})})}function i_(t){window.$events.listen("editor::replace",({html:n})=>{t.setContent(n)}),window.$events.listen("editor::append",({html:n})=>{const i=t.getContent()+n;t.setContent(i)}),window.$events.listen("editor::prepend",({html:n})=>{const i=n+t.getContent();t.setContent(i)}),window.$events.listen("editor::insert",({html:n})=>{t.insertContent(n)}),window.$events.listen("editor::focus",()=>{t.focus()})}class o_{setup(){this.elem=this.$el,this.pageId=this.$opts.pageId,this.textDirection=this.$opts.textDirection,this.imageUploadErrorText=this.$opts.imageUploadErrorText,this.isDarkMode=document.documentElement.classList.contains("dark-mode"),this.plugins="image table textcolor paste link autolink fullscreen code customhr autosave lists codeeditor media",this.loadPlugins(),this.tinyMceConfig=this.getTinyMceConfig(),window.$events.emitPublic(this.elem,"editor-tinymce::pre-init",{config:this.tinyMceConfig}),window.tinymce.init(this.tinyMceConfig)}loadPlugins(){t_(),r_();const t=document.querySelector("[drawio-url]");if(t){const n=t.getAttribute("drawio-url");n_(n,this.isDarkMode,this.pageId,this),this.plugins+=" drawio"}this.textDirection==="rtl"&&(this.plugins+=" directionality")}getToolBar(){const t=this.textDirection==="rtl"?"ltr rtl":"";return`undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr drawio media | removeformat code ${t} fullscreen`}getTinyMceConfig(){const t=this;return{selector:"#html-editor",content_css:[window.baseUrl("/dist/styles.css")],branding:!1,skin:this.isDarkMode?"dark":"lightgray",body_class:"page-content",browser_spellcheck:!0,relative_urls:!1,directionality:this.textDirection,remove_script_host:!1,document_base_url:window.baseUrl("/ "),end_container_on_empty_block:!0,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:" pre [ * ] , svg [ * ] , div [ drawio - diagram ] ",automatic_uploads:!1,valid_children:" - div [ p | h1 | h2 | h3 | h4 | h5 | h6 | blockquote ] , + div [ pre ] , + div [ img ] ",plugins:this.plugins,imagetools_toolbar:" imageoptions ",toolbar:this.getToolBar(),content_style:`html, body, html.dark-mode {background: ${this.isDarkMode?" # 222 ":" # fff "};} body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}`,style_formats:[{title:" Header Large ",format:" h2 "},{title:" Header Medium ",format:" h3 "},{title:" Header Small ",format:" h4 "},{title:" Header Tiny ",format:" h5 "},{title:" Paragraph ",format:" p ",exact:!0,classes:" "},{title:" Blockquote ",format:" blockquote "},{title:" Code Block ",icon:" code ",cmd:" codeeditor ",format:" codeeditor "},{title:" Inline Code ",icon:" code ",inline:" code "},{title:" Callouts ",items:[{title:" Info ",format:" calloutinfo "},{title:" Success ",format:" calloutsuccess "},{title:" Warning ",format:" calloutwarning "},{title:" Danger ",format:" calloutdanger "}]}],style_formats_merge:!1,media_alt_source:!1,media_poster:!1,formats:{codeeditor:{selector:" p , h1 , h2 , h3 , h4 , h5 , h6 , td , th , div "},alignleft:{selector:" p , h1 , h2 , h3 , h4 , h5 , h6 , td , th , div , ul , ol , li , table , img ",classes:" align - left "},aligncenter:{selector:" p , h1 , h2 , h3 , h4 , h5 , h6 , td , th , div , ul , ol , li , table , img ",classes:" align - center "},alignright:{selector:" p , h1 , h2 , h3 , h4 , h5 , h6 , td , th , div , ul , o
2019-08-31 09:16:14 -04:00
/ * !
2020-03-14 18:31:42 -04:00
* clipboard . js v2 . 0.6
* https : //clipboardjs.com/
2019-08-31 09:16:14 -04:00
*
* Licensed MIT © Zeno Rocha
* /
2020-09-20 05:33:18 -04:00
//# sourceMappingURL=app.js.map