"use strict";(()=>{var FV=Object.create,I3=Object.defineProperty,IV=Object.getOwnPropertyDescriptor,S9=Object.getOwnPropertyNames,LV=Object.getPrototypeOf,BV=Object.prototype.hasOwnProperty,d_e=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ce=(e,t)=>function(){return t||(0,e[S9(e)[0]])((t={exports:{}}).exports,t),t.exports},jV=(e,t)=>{for(var n in t)I3(e,n,{get:t[n],enumerable:!0})},VV=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of S9(t))!BV.call(e,a)&&a!==n&&I3(e,a,{get:()=>t[a],enumerable:!(r=IV(t,a))||r.enumerable});return e},Mt=(e,t,n)=>(n=e!=null?FV(LV(e)):{},VV(t||!e||!e.__esModule?I3(n,"default",{value:e,enumerable:!0}):n,e)),L3=Ce({"source/frontend/craif/node_modules/lodash/lodash.js"(e,t){"use strict";(function(){var n,r="4.17.21",a=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,c="__lodash_placeholder__",f=1,d=2,h=4,m=1,p=2,y=1,g=2,b=4,x=8,w=16,_=32,C=64,S=128,R=256,N=512,O=30,A="...",T=800,P=16,M=1,k=2,F=3,I=1/0,V=9007199254740991,H=17976931348623157e292,j=NaN,L=4294967295,U=L-1,z=L>>>1,Z=[["ary",S],["bind",y],["bindKey",g],["curry",x],["curryRight",w],["flip",N],["partial",_],["partialRight",C],["rearg",R]],$="[object Arguments]",W="[object Array]",K="[object AsyncFunction]",ee="[object Boolean]",q="[object Date]",Q="[object DOMException]",ie="[object Error]",se="[object Function]",le="[object GeneratorFunction]",ue="[object Map]",ge="[object Number]",Oe="[object Null]",Ne="[object Object]",ye="[object Promise]",ve="[object Proxy]",J="[object RegExp]",oe="[object Set]",re="[object String]",we="[object Symbol]",Ae="[object Undefined]",Ee="[object WeakMap]",G="[object WeakSet]",Y="[object ArrayBuffer]",ae="[object DataView]",pe="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",De="[object Int16Array]",Be="[object Int32Array]",Ie="[object Uint8Array]",He="[object Uint8ClampedArray]",Xe="[object Uint16Array]",lt="[object Uint32Array]",_e=/\b__p \+= '';/g,me=/\b(__p \+=) '' \+/g,Je=/(__e\(.*?\)|\b__t\)) \+\n'';/g,at=/&(?:amp|lt|gt|quot|#39);/g,Qe=/[&<>"']/g,Ze=RegExp(at.source),Ue=RegExp(Qe.source),gt=/<%-([\s\S]+?)%>/g,vt=/<%([\s\S]+?)%>/g,$e=/<%=([\s\S]+?)%>/g,ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,We=/^\w*$/,qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/[\\^$.*+?()[\]{}|]/g,Et=RegExp(xt.source),it=/^\s+/,bt=/\s/,Vt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gt=/\{\n\/\* \[wrapped with (.+)\] \*/,tr=/,? & /,Yr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ri=/[()=,{}\[\]\/\s]/,Rs=/\\(\\)?/g,Ir=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kr=/\w*$/,al=/^[-+]0x[0-9a-f]+$/i,ol=/^0b[01]+$/i,mu=/^\[object .+?Constructor\]$/,Mo=/^0o[0-7]+$/i,ko=/^(?:0|[1-9]\d*)$/,ht=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,Ut=/['\n\r\u2028\u2029\\]/g,vn="\\ud800-\\udfff",cr="\\u0300-\\u036f",il="\\ufe20-\\ufe2f",ai="\\u20d0-\\u20ff",sl=cr+il+ai,rf="\\u2700-\\u27bf",_1="a-z\\xdf-\\xf6\\xf8-\\xff",C1="\\xac\\xb1\\xd7\\xf7",Xp="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Hd="\\u2000-\\u206f",zt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pt="A-Z\\xc0-\\xd6\\xd8-\\xde",Lr="\\ufe0e\\ufe0f",sa=C1+Xp+Hd+zt,Yn="['\u2019]",Ia="["+vn+"]",oo="["+sa+"]",Os="["+sl+"]",$i="\\d+",vu="["+rf+"]",Ui="["+_1+"]",Wd="[^"+vn+sa+$i+rf+_1+Pt+"]",m7="\\ud83c[\\udffb-\\udfff]",p7e="(?:"+Os+"|"+m7+")",yB="[^"+vn+"]",v7="(?:\\ud83c[\\udde6-\\uddff]){2}",g7="[\\ud800-\\udbff][\\udc00-\\udfff]",af="["+Pt+"]",bB="\\u200d",wB="(?:"+Ui+"|"+Wd+")",m7e="(?:"+af+"|"+Wd+")",EB="(?:"+Yn+"(?:d|ll|m|re|s|t|ve))?",xB="(?:"+Yn+"(?:D|LL|M|RE|S|T|VE))?",_B=p7e+"?",CB="["+Lr+"]?",v7e="(?:"+bB+"(?:"+[yB,v7,g7].join("|")+")"+CB+_B+")*",g7e="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",y7e="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",SB=CB+_B+v7e,b7e="(?:"+[vu,v7,g7].join("|")+")"+SB,w7e="(?:"+[yB+Os+"?",Os,v7,g7,Ia].join("|")+")",E7e=RegExp(Yn,"g"),x7e=RegExp(Os,"g"),y7=RegExp(m7+"(?="+m7+")|"+w7e+SB,"g"),_7e=RegExp([af+"?"+Ui+"+"+EB+"(?="+[oo,af,"$"].join("|")+")",m7e+"+"+xB+"(?="+[oo,af+wB,"$"].join("|")+")",af+"?"+wB+"+"+EB,af+"+"+xB,y7e,g7e,$i,b7e].join("|"),"g"),C7e=RegExp("["+bB+vn+sl+Lr+"]"),S7e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,R7e=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],O7e=-1,zn={};zn[pe]=zn[fe]=zn[de]=zn[De]=zn[Be]=zn[Ie]=zn[He]=zn[Xe]=zn[lt]=!0,zn[$]=zn[W]=zn[Y]=zn[ee]=zn[ae]=zn[q]=zn[ie]=zn[se]=zn[ue]=zn[ge]=zn[Ne]=zn[J]=zn[oe]=zn[re]=zn[Ee]=!1;var Ln={};Ln[$]=Ln[W]=Ln[Y]=Ln[ae]=Ln[ee]=Ln[q]=Ln[pe]=Ln[fe]=Ln[de]=Ln[De]=Ln[Be]=Ln[ue]=Ln[ge]=Ln[Ne]=Ln[J]=Ln[oe]=Ln[re]=Ln[we]=Ln[Ie]=Ln[He]=Ln[Xe]=Ln[lt]=!0,Ln[ie]=Ln[se]=Ln[Ee]=!1;var A7e={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},D7e={"&":"&","<":"<",">":">",'"':""","'":"'"},N7e={"&":"&","<":"<",">":">",""":'"',"'":"'"},T7e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},P7e=parseFloat,M7e=parseInt,RB=typeof global=="object"&&global&&global.Object===Object&&global,k7e=typeof self=="object"&&self&&self.Object===Object&&self,Gr=RB||k7e||Function("return this")(),b7=typeof e=="object"&&e&&!e.nodeType&&e,S1=b7&&typeof t=="object"&&t&&!t.nodeType&&t,OB=S1&&S1.exports===b7,w7=OB&&RB.process,oi=function(){try{var xe=S1&&S1.require&&S1.require("util").types;return xe||w7&&w7.binding&&w7.binding("util")}catch{}}(),AB=oi&&oi.isArrayBuffer,DB=oi&&oi.isDate,NB=oi&&oi.isMap,TB=oi&&oi.isRegExp,PB=oi&&oi.isSet,MB=oi&&oi.isTypedArray;function Fo(xe,Me,Pe){switch(Pe.length){case 0:return xe.call(Me);case 1:return xe.call(Me,Pe[0]);case 2:return xe.call(Me,Pe[0],Pe[1]);case 3:return xe.call(Me,Pe[0],Pe[1],Pe[2])}return xe.apply(Me,Pe)}function F7e(xe,Me,Pe,ft){for(var $t=-1,xn=xe==null?0:xe.length;++$t-1}function E7(xe,Me,Pe){for(var ft=-1,$t=xe==null?0:xe.length;++ft<$t;)if(Pe(Me,xe[ft]))return!0;return!1}function Kn(xe,Me){for(var Pe=-1,ft=xe==null?0:xe.length,$t=Array(ft);++Pe-1;);return Pe}function $B(xe,Me){for(var Pe=xe.length;Pe--&&of(Me,xe[Pe],0)>-1;);return Pe}function W7e(xe,Me){for(var Pe=xe.length,ft=0;Pe--;)xe[Pe]===Me&&++ft;return ft}var z7e=S7(A7e),q7e=S7(D7e);function Y7e(xe){return"\\"+T7e[xe]}function K7e(xe,Me){return xe==null?n:xe[Me]}function sf(xe){return C7e.test(xe)}function G7e(xe){return S7e.test(xe)}function X7e(xe){for(var Me,Pe=[];!(Me=xe.next()).done;)Pe.push(Me.value);return Pe}function D7(xe){var Me=-1,Pe=Array(xe.size);return xe.forEach(function(ft,$t){Pe[++Me]=[$t,ft]}),Pe}function UB(xe,Me){return function(Pe){return xe(Me(Pe))}}function bu(xe,Me){for(var Pe=-1,ft=xe.length,$t=0,xn=[];++Pe-1}function L9e(v,E){var D=this.__data__,B=p3(D,v);return B<0?(++this.size,D.push([v,E])):D[B][1]=E,this}ll.prototype.clear=M9e,ll.prototype.delete=k9e,ll.prototype.get=F9e,ll.prototype.has=I9e,ll.prototype.set=L9e;function ul(v){var E=-1,D=v==null?0:v.length;for(this.clear();++E=E?v:E)),v}function ui(v,E,D,B,X,ne){var ce,be=E&f,Se=E&d,ke=E&h;if(D&&(ce=X?D(v,B,X,ne):D(v)),ce!==n)return ce;if(!Xn(v))return v;var Fe=Ht(v);if(Fe){if(ce=$ye(v),!be)return io(v,ce)}else{var Ve=Oa(v),et=Ve==se||Ve==le;if(Ru(v))return Cj(v,be);if(Ve==Ne||Ve==$||et&&!X){if(ce=Se||et?{}:Hj(v),!be)return Se?Nye(v,Q9e(ce,v)):Dye(v,ej(ce,v))}else{if(!Ln[Ve])return X?v:{};ce=Uye(v,Ve,be)}}ne||(ne=new Wi);var pt=ne.get(v);if(pt)return pt;ne.set(v,ce),yV(v)?v.forEach(function(Ot){ce.add(ui(Ot,E,D,Ot,v,ne))}):vV(v)&&v.forEach(function(Ot,tn){ce.set(tn,ui(Ot,E,D,tn,v,ne))});var Rt=ke?Se?t9:e9:Se?lo:Xr,Zt=Fe?n:Rt(v);return ii(Zt||v,function(Ot,tn){Zt&&(tn=Ot,Ot=v[tn]),Jd(ce,tn,ui(Ot,E,D,tn,v,ne))}),ce}function eye(v){var E=Xr(v);return function(D){return tj(D,v,E)}}function tj(v,E,D){var B=D.length;if(v==null)return!B;for(v=Pn(v);B--;){var X=D[B],ne=E[X],ce=v[X];if(ce===n&&!(X in v)||!ne(ce))return!1}return!0}function nj(v,E,D){if(typeof v!="function")throw new si(i);return a5(function(){v.apply(n,D)},E)}function Zd(v,E,D,B){var X=-1,ne=Jp,ce=!0,be=v.length,Se=[],ke=E.length;if(!be)return Se;D&&(E=Kn(E,Io(D))),B?(ne=E7,ce=!1):E.length>=a&&(ne=zd,ce=!1,E=new A1(E));e:for(;++XX?0:X+D),B=B===n||B>X?X:Xt(B),B<0&&(B+=X),B=D>B?0:wV(B);D0&&D(be)?E>1?la(be,E-1,D,B,X):yu(X,be):B||(X[X.length]=be)}return X}var I7=Nj(),oj=Nj(!0);function As(v,E){return v&&I7(v,E,Xr)}function L7(v,E){return v&&oj(v,E,Xr)}function v3(v,E){return gu(E,function(D){return pl(v[D])})}function N1(v,E){E=Cu(E,v);for(var D=0,B=E.length;v!=null&&DE}function rye(v,E){return v!=null&&An.call(v,E)}function aye(v,E){return v!=null&&E in Pn(v)}function oye(v,E,D){return v>=Ra(E,D)&&v=120&&Fe.length>=120)?new A1(ce&&Fe):n}Fe=v[0];var Ve=-1,et=be[0];e:for(;++Ve-1;)be!==v&&s3.call(be,Se,1),s3.call(v,Se,1);return v}function vj(v,E){for(var D=v?E.length:0,B=D-1;D--;){var X=E[D];if(D==B||X!==ne){var ne=X;hl(X)?s3.call(v,X,1):Y7(v,X)}}return v}function W7(v,E){return v+c3(XB()*(E-v+1))}function yye(v,E,D,B){for(var X=-1,ne=jr(u3((E-v)/(D||1)),0),ce=Pe(ne);ne--;)ce[B?ne:++X]=v,v+=D;return ce}function z7(v,E){var D="";if(!v||E<1||E>V)return D;do E%2&&(D+=v),E=c3(E/2),E&&(v+=v);while(E);return D}function Qt(v,E){return l9(qj(v,E,uo),v+"")}function bye(v){return QB(gf(v))}function wye(v,E){var D=gf(v);return O3(D,D1(E,0,D.length))}function t5(v,E,D,B){if(!Xn(v))return v;E=Cu(E,v);for(var X=-1,ne=E.length,ce=ne-1,be=v;be!=null&&++XX?0:X+E),D=D>X?X:D,D<0&&(D+=X),X=E>D?0:D-E>>>0,E>>>=0;for(var ne=Pe(X);++B>>1,ce=v[ne];ce!==null&&!Bo(ce)&&(D?ce<=E:ce=a){var ke=E?null:kye(v);if(ke)return Qp(ke);ce=!1,X=zd,Se=new A1}else Se=E?[]:be;e:for(;++B=B?v:ci(v,E,D)}var _j=f9e||function(v){return Gr.clearTimeout(v)};function Cj(v,E){if(E)return v.slice();var D=v.length,B=zB?zB(D):new v.constructor(D);return v.copy(B),B}function J7(v){var E=new v.constructor(v.byteLength);return new o3(E).set(new o3(v)),E}function Sye(v,E){var D=E?J7(v.buffer):v.buffer;return new v.constructor(D,v.byteOffset,v.byteLength)}function Rye(v){var E=new v.constructor(v.source,Kr.exec(v));return E.lastIndex=v.lastIndex,E}function Oye(v){return Xd?Pn(Xd.call(v)):{}}function Sj(v,E){var D=E?J7(v.buffer):v.buffer;return new v.constructor(D,v.byteOffset,v.length)}function Rj(v,E){if(v!==E){var D=v!==n,B=v===null,X=v===v,ne=Bo(v),ce=E!==n,be=E===null,Se=E===E,ke=Bo(E);if(!be&&!ke&&!ne&&v>E||ne&&ce&&Se&&!be&&!ke||B&&ce&&Se||!D&&Se||!X)return 1;if(!B&&!ne&&!ke&&v=be)return Se;var ke=D[B];return Se*(ke=="desc"?-1:1)}}return v.index-E.index}function Oj(v,E,D,B){for(var X=-1,ne=v.length,ce=D.length,be=-1,Se=E.length,ke=jr(ne-ce,0),Fe=Pe(Se+ke),Ve=!B;++be1?D[X-1]:n,ce=X>2?D[2]:n;for(ne=v.length>3&&typeof ne=="function"?(X--,ne):n,ce&&Ba(D[0],D[1],ce)&&(ne=X<3?n:ne,X=1),E=Pn(E);++B-1?X[ne?E[ce]:ce]:n}}function Mj(v){return dl(function(E){var D=E.length,B=D,X=li.prototype.thru;for(v&&E.reverse();B--;){var ne=E[B];if(typeof ne!="function")throw new si(i);if(X&&!ce&&S3(ne)=="wrapper")var ce=new li([],!0)}for(B=ce?B:D;++B1&&un.reverse(),Fe&&Sebe))return!1;var ke=ne.get(v),Fe=ne.get(E);if(ke&&Fe)return ke==E&&Fe==v;var Ve=-1,et=!0,pt=D&p?new A1:n;for(ne.set(v,E),ne.set(E,v);++Ve1?"& ":"")+E[B],E=E.join(D>2?", ":" "),v.replace(Vt,`{ /* [wrapped with `+E+`] */ `)}function Wye(v){return Ht(v)||M1(v)||!!(KB&&v&&v[KB])}function hl(v,E){var D=typeof v;return E=E??V,!!E&&(D=="number"||D!="symbol"&&ko.test(v))&&v>-1&&v%1==0&&v0){if(++E>=T)return arguments[0]}else E=0;return v.apply(n,arguments)}}function O3(v,E){var D=-1,B=v.length,X=B-1;for(E=E===n?B:E;++D1?v[E-1]:n;return D=typeof D=="function"?(v.pop(),D):n,aV(v,D)});function oV(v){var E=te(v);return E.__chain__=!0,E}function twe(v,E){return E(v),v}function A3(v,E){return E(v)}var nwe=dl(function(v){var E=v.length,D=E?v[0]:0,B=this.__wrapped__,X=function(ne){return F7(ne,v)};return E>1||this.__actions__.length||!(B instanceof sn)||!hl(D)?this.thru(X):(B=B.slice(D,+D+(E?1:0)),B.__actions__.push({func:A3,args:[X],thisArg:n}),new li(B,this.__chain__).thru(function(ne){return E&&!ne.length&&ne.push(n),ne}))});function rwe(){return oV(this)}function awe(){return new li(this.value(),this.__chain__)}function owe(){this.__values__===n&&(this.__values__=bV(this.value()));var v=this.__index__>=this.__values__.length,E=v?n:this.__values__[this.__index__++];return{done:v,value:E}}function iwe(){return this}function swe(v){for(var E,D=this;D instanceof h3;){var B=Zj(D);B.__index__=0,B.__values__=n,E?X.__wrapped__=B:E=B;var X=B;D=D.__wrapped__}return X.__wrapped__=v,E}function lwe(){var v=this.__wrapped__;if(v instanceof sn){var E=v;return this.__actions__.length&&(E=new sn(this)),E=E.reverse(),E.__actions__.push({func:A3,args:[u9],thisArg:n}),new li(E,this.__chain__)}return this.thru(u9)}function uwe(){return Ej(this.__wrapped__,this.__actions__)}var cwe=w3(function(v,E,D){An.call(v,D)?++v[D]:cl(v,D,1)});function fwe(v,E,D){var B=Ht(v)?kB:tye;return D&&Ba(v,E,D)&&(E=n),B(v,_t(E,3))}function dwe(v,E){var D=Ht(v)?gu:aj;return D(v,_t(E,3))}var hwe=Pj(Qj),pwe=Pj(eV);function mwe(v,E){return la(D3(v,E),1)}function vwe(v,E){return la(D3(v,E),I)}function gwe(v,E,D){return D=D===n?1:Xt(D),la(D3(v,E),D)}function iV(v,E){var D=Ht(v)?ii:xu;return D(v,_t(E,3))}function sV(v,E){var D=Ht(v)?I7e:rj;return D(v,_t(E,3))}var ywe=w3(function(v,E,D){An.call(v,D)?v[D].push(E):cl(v,D,[E])});function bwe(v,E,D,B){v=so(v)?v:gf(v),D=D&&!B?Xt(D):0;var X=v.length;return D<0&&(D=jr(X+D,0)),k3(v)?D<=X&&v.indexOf(E,D)>-1:!!X&&of(v,E,D)>-1}var wwe=Qt(function(v,E,D){var B=-1,X=typeof E=="function",ne=so(v)?Pe(v.length):[];return xu(v,function(ce){ne[++B]=X?Fo(E,ce,D):Qd(ce,E,D)}),ne}),Ewe=w3(function(v,E,D){cl(v,D,E)});function D3(v,E){var D=Ht(v)?Kn:cj;return D(v,_t(E,3))}function xwe(v,E,D,B){return v==null?[]:(Ht(E)||(E=E==null?[]:[E]),D=B?n:D,Ht(D)||(D=D==null?[]:[D]),pj(v,E,D))}var _we=w3(function(v,E,D){v[D?0:1].push(E)},function(){return[[],[]]});function Cwe(v,E,D){var B=Ht(v)?x7:BB,X=arguments.length<3;return B(v,_t(E,4),D,X,xu)}function Swe(v,E,D){var B=Ht(v)?L7e:BB,X=arguments.length<3;return B(v,_t(E,4),D,X,rj)}function Rwe(v,E){var D=Ht(v)?gu:aj;return D(v,P3(_t(E,3)))}function Owe(v){var E=Ht(v)?QB:bye;return E(v)}function Awe(v,E,D){(D?Ba(v,E,D):E===n)?E=1:E=Xt(E);var B=Ht(v)?X9e:wye;return B(v,E)}function Dwe(v){var E=Ht(v)?J9e:xye;return E(v)}function Nwe(v){if(v==null)return 0;if(so(v))return k3(v)?lf(v):v.length;var E=Oa(v);return E==ue||E==oe?v.size:$7(v).length}function Twe(v,E,D){var B=Ht(v)?_7:_ye;return D&&Ba(v,E,D)&&(E=n),B(v,_t(E,3))}var Pwe=Qt(function(v,E){if(v==null)return[];var D=E.length;return D>1&&Ba(v,E[0],E[1])?E=[]:D>2&&Ba(E[0],E[1],E[2])&&(E=[E[0]]),pj(v,la(E,1),[])}),N3=d9e||function(){return Gr.Date.now()};function Mwe(v,E){if(typeof E!="function")throw new si(i);return v=Xt(v),function(){if(--v<1)return E.apply(this,arguments)}}function lV(v,E,D){return E=D?n:E,E=v&&E==null?v.length:E,fl(v,S,n,n,n,n,E)}function uV(v,E){var D;if(typeof E!="function")throw new si(i);return v=Xt(v),function(){return--v>0&&(D=E.apply(this,arguments)),v<=1&&(E=n),D}}var f9=Qt(function(v,E,D){var B=y;if(D.length){var X=bu(D,mf(f9));B|=_}return fl(v,B,E,D,X)}),cV=Qt(function(v,E,D){var B=y|g;if(D.length){var X=bu(D,mf(cV));B|=_}return fl(E,B,v,D,X)});function fV(v,E,D){E=D?n:E;var B=fl(v,x,n,n,n,n,n,E);return B.placeholder=fV.placeholder,B}function dV(v,E,D){E=D?n:E;var B=fl(v,w,n,n,n,n,n,E);return B.placeholder=dV.placeholder,B}function hV(v,E,D){var B,X,ne,ce,be,Se,ke=0,Fe=!1,Ve=!1,et=!0;if(typeof v!="function")throw new si(i);E=di(E)||0,Xn(D)&&(Fe=!!D.leading,Ve="maxWait"in D,ne=Ve?jr(di(D.maxWait)||0,E):ne,et="trailing"in D?!!D.trailing:et);function pt(dr){var qi=B,vl=X;return B=X=n,ke=dr,ce=v.apply(vl,qi),ce}function Rt(dr){return ke=dr,be=a5(tn,E),Fe?pt(dr):ce}function Zt(dr){var qi=dr-Se,vl=dr-ke,PV=E-qi;return Ve?Ra(PV,ne-vl):PV}function Ot(dr){var qi=dr-Se,vl=dr-ke;return Se===n||qi>=E||qi<0||Ve&&vl>=ne}function tn(){var dr=N3();if(Ot(dr))return un(dr);be=a5(tn,Zt(dr))}function un(dr){return be=n,et&&B?pt(dr):(B=X=n,ce)}function jo(){be!==n&&_j(be),ke=0,B=Se=X=be=n}function ja(){return be===n?ce:un(N3())}function Vo(){var dr=N3(),qi=Ot(dr);if(B=arguments,X=this,Se=dr,qi){if(be===n)return Rt(Se);if(Ve)return _j(be),be=a5(tn,E),pt(Se)}return be===n&&(be=a5(tn,E)),ce}return Vo.cancel=jo,Vo.flush=ja,Vo}var kwe=Qt(function(v,E){return nj(v,1,E)}),Fwe=Qt(function(v,E,D){return nj(v,di(E)||0,D)});function Iwe(v){return fl(v,N)}function T3(v,E){if(typeof v!="function"||E!=null&&typeof E!="function")throw new si(i);var D=function(){var B=arguments,X=E?E.apply(this,B):B[0],ne=D.cache;if(ne.has(X))return ne.get(X);var ce=v.apply(this,B);return D.cache=ne.set(X,ce)||ne,ce};return D.cache=new(T3.Cache||ul),D}T3.Cache=ul;function P3(v){if(typeof v!="function")throw new si(i);return function(){var E=arguments;switch(E.length){case 0:return!v.call(this);case 1:return!v.call(this,E[0]);case 2:return!v.call(this,E[0],E[1]);case 3:return!v.call(this,E[0],E[1],E[2])}return!v.apply(this,E)}}function Lwe(v){return uV(2,v)}var Bwe=Cye(function(v,E){E=E.length==1&&Ht(E[0])?Kn(E[0],Io(_t())):Kn(la(E,1),Io(_t()));var D=E.length;return Qt(function(B){for(var X=-1,ne=Ra(B.length,D);++X=E}),M1=sj(function(){return arguments}())?sj:function(v){return nr(v)&&An.call(v,"callee")&&!YB.call(v,"callee")},Ht=Pe.isArray,Qwe=AB?Io(AB):sye;function so(v){return v!=null&&M3(v.length)&&!pl(v)}function fr(v){return nr(v)&&so(v)}function eEe(v){return v===!0||v===!1||nr(v)&&La(v)==ee}var Ru=p9e||_9,tEe=DB?Io(DB):lye;function nEe(v){return nr(v)&&v.nodeType===1&&!o5(v)}function rEe(v){if(v==null)return!0;if(so(v)&&(Ht(v)||typeof v=="string"||typeof v.splice=="function"||Ru(v)||vf(v)||M1(v)))return!v.length;var E=Oa(v);if(E==ue||E==oe)return!v.size;if(r5(v))return!$7(v).length;for(var D in v)if(An.call(v,D))return!1;return!0}function aEe(v,E){return e5(v,E)}function oEe(v,E,D){D=typeof D=="function"?D:n;var B=D?D(v,E):n;return B===n?e5(v,E,n,D):!!B}function h9(v){if(!nr(v))return!1;var E=La(v);return E==ie||E==Q||typeof v.message=="string"&&typeof v.name=="string"&&!o5(v)}function iEe(v){return typeof v=="number"&&GB(v)}function pl(v){if(!Xn(v))return!1;var E=La(v);return E==se||E==le||E==K||E==ve}function mV(v){return typeof v=="number"&&v==Xt(v)}function M3(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=V}function Xn(v){var E=typeof v;return v!=null&&(E=="object"||E=="function")}function nr(v){return v!=null&&typeof v=="object"}var vV=NB?Io(NB):cye;function sEe(v,E){return v===E||V7(v,E,r9(E))}function lEe(v,E,D){return D=typeof D=="function"?D:n,V7(v,E,r9(E),D)}function uEe(v){return gV(v)&&v!=+v}function cEe(v){if(Yye(v))throw new $t(o);return lj(v)}function fEe(v){return v===null}function dEe(v){return v==null}function gV(v){return typeof v=="number"||nr(v)&&La(v)==ge}function o5(v){if(!nr(v)||La(v)!=Ne)return!1;var E=i3(v);if(E===null)return!0;var D=An.call(E,"constructor")&&E.constructor;return typeof D=="function"&&D instanceof D&&n3.call(D)==l9e}var p9=TB?Io(TB):fye;function hEe(v){return mV(v)&&v>=-V&&v<=V}var yV=PB?Io(PB):dye;function k3(v){return typeof v=="string"||!Ht(v)&&nr(v)&&La(v)==re}function Bo(v){return typeof v=="symbol"||nr(v)&&La(v)==we}var vf=MB?Io(MB):hye;function pEe(v){return v===n}function mEe(v){return nr(v)&&Oa(v)==Ee}function vEe(v){return nr(v)&&La(v)==G}var gEe=C3(U7),yEe=C3(function(v,E){return v<=E});function bV(v){if(!v)return[];if(so(v))return k3(v)?Hi(v):io(v);if(qd&&v[qd])return X7e(v[qd]());var E=Oa(v),D=E==ue?D7:E==oe?Qp:gf;return D(v)}function ml(v){if(!v)return v===0?v:0;if(v=di(v),v===I||v===-I){var E=v<0?-1:1;return E*H}return v===v?v:0}function Xt(v){var E=ml(v),D=E%1;return E===E?D?E-D:E:0}function wV(v){return v?D1(Xt(v),0,L):0}function di(v){if(typeof v=="number")return v;if(Bo(v))return j;if(Xn(v)){var E=typeof v.valueOf=="function"?v.valueOf():v;v=Xn(E)?E+"":E}if(typeof v!="string")return v===0?v:+v;v=jB(v);var D=ol.test(v);return D||Mo.test(v)?M7e(v.slice(2),D?2:8):al.test(v)?j:+v}function EV(v){return Ds(v,lo(v))}function bEe(v){return v?D1(Xt(v),-V,V):v===0?v:0}function Rn(v){return v==null?"":Lo(v)}var wEe=hf(function(v,E){if(r5(E)||so(E)){Ds(E,Xr(E),v);return}for(var D in E)An.call(E,D)&&Jd(v,D,E[D])}),xV=hf(function(v,E){Ds(E,lo(E),v)}),F3=hf(function(v,E,D,B){Ds(E,lo(E),v,B)}),EEe=hf(function(v,E,D,B){Ds(E,Xr(E),v,B)}),xEe=dl(F7);function _Ee(v,E){var D=df(v);return E==null?D:ej(D,E)}var CEe=Qt(function(v,E){v=Pn(v);var D=-1,B=E.length,X=B>2?E[2]:n;for(X&&Ba(E[0],E[1],X)&&(B=1);++D1),ne}),Ds(v,t9(v),D),B&&(D=ui(D,f|d|h,Fye));for(var X=E.length;X--;)Y7(D,E[X]);return D});function UEe(v,E){return CV(v,P3(_t(E)))}var HEe=dl(function(v,E){return v==null?{}:vye(v,E)});function CV(v,E){if(v==null)return{};var D=Kn(t9(v),function(B){return[B]});return E=_t(E),mj(v,D,function(B,X){return E(B,X[0])})}function WEe(v,E,D){E=Cu(E,v);var B=-1,X=E.length;for(X||(X=1,v=n);++BE){var B=v;v=E,E=B}if(D||v%1||E%1){var X=XB();return Ra(v+X*(E-v+P7e("1e-"+((X+"").length-1))),E)}return W7(v,E)}var txe=pf(function(v,E,D){return E=E.toLowerCase(),v+(D?OV(E):E)});function OV(v){return g9(Rn(v).toLowerCase())}function AV(v){return v=Rn(v),v&&v.replace(ht,z7e).replace(x7e,"")}function nxe(v,E,D){v=Rn(v),E=Lo(E);var B=v.length;D=D===n?B:D1(Xt(D),0,B);var X=D;return D-=E.length,D>=0&&v.slice(D,X)==E}function rxe(v){return v=Rn(v),v&&Ue.test(v)?v.replace(Qe,q7e):v}function axe(v){return v=Rn(v),v&&Et.test(v)?v.replace(xt,"\\$&"):v}var oxe=pf(function(v,E,D){return v+(D?"-":"")+E.toLowerCase()}),ixe=pf(function(v,E,D){return v+(D?" ":"")+E.toLowerCase()}),sxe=Tj("toLowerCase");function lxe(v,E,D){v=Rn(v),E=Xt(E);var B=E?lf(v):0;if(!E||B>=E)return v;var X=(E-B)/2;return _3(c3(X),D)+v+_3(u3(X),D)}function uxe(v,E,D){v=Rn(v),E=Xt(E);var B=E?lf(v):0;return E&&B>>0,D?(v=Rn(v),v&&(typeof E=="string"||E!=null&&!p9(E))&&(E=Lo(E),!E&&sf(v))?Su(Hi(v),0,D):v.split(E,D)):[]}var vxe=pf(function(v,E,D){return v+(D?" ":"")+g9(E)});function gxe(v,E,D){return v=Rn(v),D=D==null?0:D1(Xt(D),0,v.length),E=Lo(E),v.slice(D,D+E.length)==E}function yxe(v,E,D){var B=te.templateSettings;D&&Ba(v,E,D)&&(E=n),v=Rn(v),E=F3({},E,B,Bj);var X=F3({},E.imports,B.imports,Bj),ne=Xr(X),ce=A7(X,ne),be,Se,ke=0,Fe=E.interpolate||ct,Ve="__p += '",et=N7((E.escape||ct).source+"|"+Fe.source+"|"+(Fe===$e?Ir:ct).source+"|"+(E.evaluate||ct).source+"|$","g"),pt="//# sourceURL="+(An.call(E,"sourceURL")?(E.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++O7e+"]")+` `;v.replace(et,function(Ot,tn,un,jo,ja,Vo){return un||(un=jo),Ve+=v.slice(ke,Vo).replace(Ut,Y7e),tn&&(be=!0,Ve+=`' + __e(`+tn+`) + '`),ja&&(Se=!0,Ve+=`'; `+ja+`; __p += '`),un&&(Ve+=`' + ((__t = (`+un+`)) == null ? '' : __t) + '`),ke=Vo+Ot.length,Ot}),Ve+=`'; `;var Rt=An.call(E,"variable")&&E.variable;if(!Rt)Ve=`with (obj) { `+Ve+` } `;else if(ri.test(Rt))throw new $t(s);Ve=(Se?Ve.replace(_e,""):Ve).replace(me,"$1").replace(Je,"$1;"),Ve="function("+(Rt||"obj")+`) { `+(Rt?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(be?", __e = _.escape":"")+(Se?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+Ve+`return __p }`;var Zt=NV(function(){return xn(ne,pt+"return "+Ve).apply(n,ce)});if(Zt.source=Ve,h9(Zt))throw Zt;return Zt}function bxe(v){return Rn(v).toLowerCase()}function wxe(v){return Rn(v).toUpperCase()}function Exe(v,E,D){if(v=Rn(v),v&&(D||E===n))return jB(v);if(!v||!(E=Lo(E)))return v;var B=Hi(v),X=Hi(E),ne=VB(B,X),ce=$B(B,X)+1;return Su(B,ne,ce).join("")}function xxe(v,E,D){if(v=Rn(v),v&&(D||E===n))return v.slice(0,HB(v)+1);if(!v||!(E=Lo(E)))return v;var B=Hi(v),X=$B(B,Hi(E))+1;return Su(B,0,X).join("")}function _xe(v,E,D){if(v=Rn(v),v&&(D||E===n))return v.replace(it,"");if(!v||!(E=Lo(E)))return v;var B=Hi(v),X=VB(B,Hi(E));return Su(B,X).join("")}function Cxe(v,E){var D=O,B=A;if(Xn(E)){var X="separator"in E?E.separator:X;D="length"in E?Xt(E.length):D,B="omission"in E?Lo(E.omission):B}v=Rn(v);var ne=v.length;if(sf(v)){var ce=Hi(v);ne=ce.length}if(D>=ne)return v;var be=D-lf(B);if(be<1)return B;var Se=ce?Su(ce,0,be).join(""):v.slice(0,be);if(X===n)return Se+B;if(ce&&(be+=Se.length-be),p9(X)){if(v.slice(be).search(X)){var ke,Fe=Se;for(X.global||(X=N7(X.source,Rn(Kr.exec(X))+"g")),X.lastIndex=0;ke=X.exec(Fe);)var Ve=ke.index;Se=Se.slice(0,Ve===n?be:Ve)}}else if(v.indexOf(Lo(X),be)!=be){var et=Se.lastIndexOf(X);et>-1&&(Se=Se.slice(0,et))}return Se+B}function Sxe(v){return v=Rn(v),v&&Ze.test(v)?v.replace(at,e9e):v}var Rxe=pf(function(v,E,D){return v+(D?" ":"")+E.toUpperCase()}),g9=Tj("toUpperCase");function DV(v,E,D){return v=Rn(v),E=D?n:E,E===n?G7e(v)?r9e(v):V7e(v):v.match(E)||[]}var NV=Qt(function(v,E){try{return Fo(v,n,E)}catch(D){return h9(D)?D:new $t(D)}}),Oxe=dl(function(v,E){return ii(E,function(D){D=Ns(D),cl(v,D,f9(v[D],v))}),v});function Axe(v){var E=v==null?0:v.length,D=_t();return v=E?Kn(v,function(B){if(typeof B[1]!="function")throw new si(i);return[D(B[0]),B[1]]}):[],Qt(function(B){for(var X=-1;++XV)return[];var D=L,B=Ra(v,L);E=_t(E),v-=L;for(var X=O7(B,E);++D0||E<0)?new sn(D):(v<0?D=D.takeRight(-v):v&&(D=D.drop(v)),E!==n&&(E=Xt(E),D=E<0?D.dropRight(-E):D.take(E-v)),D)},sn.prototype.takeRightWhile=function(v){return this.reverse().takeWhile(v).reverse()},sn.prototype.toArray=function(){return this.take(L)},As(sn.prototype,function(v,E){var D=/^(?:filter|find|map|reject)|While$/.test(E),B=/^(?:head|last)$/.test(E),X=te[B?"take"+(E=="last"?"Right":""):E],ne=B||/^find/.test(E);X&&(te.prototype[E]=function(){var ce=this.__wrapped__,be=B?[1]:arguments,Se=ce instanceof sn,ke=be[0],Fe=Se||Ht(ce),Ve=function(tn){var un=X.apply(te,yu([tn],be));return B&&et?un[0]:un};Fe&&D&&typeof ke=="function"&&ke.length!=1&&(Se=Fe=!1);var et=this.__chain__,pt=!!this.__actions__.length,Rt=ne&&!et,Zt=Se&&!pt;if(!ne&&Fe){ce=Zt?ce:new sn(this);var Ot=v.apply(ce,be);return Ot.__actions__.push({func:A3,args:[Ve],thisArg:n}),new li(Ot,et)}return Rt&&Zt?v.apply(this,be):(Ot=this.thru(Ve),Rt?B?Ot.value()[0]:Ot.value():Ot)})}),ii(["pop","push","shift","sort","splice","unshift"],function(v){var E=e3[v],D=/^(?:push|sort|unshift)$/.test(v)?"tap":"thru",B=/^(?:pop|shift)$/.test(v);te.prototype[v]=function(){var X=arguments;if(B&&!this.__chain__){var ne=this.value();return E.apply(Ht(ne)?ne:[],X)}return this[D](function(ce){return E.apply(Ht(ce)?ce:[],X)})}}),As(sn.prototype,function(v,E){var D=te[E];if(D){var B=D.name+"";An.call(ff,B)||(ff[B]=[]),ff[B].push({name:E,func:D})}}),ff[E3(n,g).name]=[{name:"wrapper",func:n}],sn.prototype.clone=S9e,sn.prototype.reverse=R9e,sn.prototype.value=O9e,te.prototype.at=nwe,te.prototype.chain=rwe,te.prototype.commit=awe,te.prototype.next=owe,te.prototype.plant=swe,te.prototype.reverse=lwe,te.prototype.toJSON=te.prototype.valueOf=te.prototype.value=uwe,te.prototype.first=te.prototype.head,qd&&(te.prototype[qd]=iwe),te},wu=a9e();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Gr._=wu,define(function(){return wu})):S1?((S1.exports=wu)._=wu,b7._=wu):Gr._=wu}).call(e)}}),k1=Ce({"source/frontend/craif/node_modules/es-errors/type.js"(e,t){"use strict";t.exports=TypeError}}),$V=Ce({"(disabled):source/frontend/craif/node_modules/object-inspect/util.inspect"(){"use strict"}}),i5=Ce({"source/frontend/craif/node_modules/object-inspect/index.js"(e,t){"use strict";var n=typeof Map=="function"&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&r&&typeof r.get=="function"?r.get:null,o=n&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&typeof s.get=="function"?s.get:null,u=i&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,f=c?WeakMap.prototype.has:null,d=typeof WeakSet=="function"&&WeakSet.prototype,h=d?WeakSet.prototype.has:null,m=typeof WeakRef=="function"&&WeakRef.prototype,p=m?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,b=Function.prototype.toString,x=String.prototype.match,w=String.prototype.slice,_=String.prototype.replace,C=String.prototype.toUpperCase,S=String.prototype.toLowerCase,R=RegExp.prototype.test,N=Array.prototype.concat,O=Array.prototype.join,A=Array.prototype.slice,T=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,M=Object.getOwnPropertySymbols,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,F=typeof Symbol=="function"&&typeof Symbol.iterator=="object",I=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===F||!0)?Symbol.toStringTag:null,V=Object.prototype.propertyIsEnumerable,H=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(_e){return _e.__proto__}:null);function j(_e,me){if(_e===1/0||_e===-1/0||_e!==_e||_e&&_e>-1e3&&_e<1e3||R.call(/e/,me))return me;var Je=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof _e=="number"){var at=_e<0?-T(-_e):T(_e);if(at!==_e){var Qe=String(at),Ze=w.call(me,Qe.length+1);return _.call(Qe,Je,"$&_")+"."+_.call(_.call(Ze,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(me,Je,"$&_")}var L=$V(),U=L.custom,z=Oe(U)?U:null,Z={__proto__:null,double:'"',single:"'"},$={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function _e(me,Je,at,Qe){var Ze=Je||{};if(ve(Ze,"quoteStyle")&&!ve(Z,Ze.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ve(Ze,"maxStringLength")&&(typeof Ze.maxStringLength=="number"?Ze.maxStringLength<0&&Ze.maxStringLength!==1/0:Ze.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ue=ve(Ze,"customInspect")?Ze.customInspect:!0;if(typeof Ue!="boolean"&&Ue!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ve(Ze,"indent")&&Ze.indent!==null&&Ze.indent!==" "&&!(parseInt(Ze.indent,10)===Ze.indent&&Ze.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ve(Ze,"numericSeparator")&&typeof Ze.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var gt=Ze.numericSeparator;if(typeof me>"u")return"undefined";if(me===null)return"null";if(typeof me=="boolean")return me?"true":"false";if(typeof me=="string")return pe(me,Ze);if(typeof me=="number"){if(me===0)return 1/0/me>0?"0":"-0";var vt=String(me);return gt?j(me,vt):vt}if(typeof me=="bigint"){var $e=String(me)+"n";return gt?j(me,$e):$e}var ut=typeof Ze.depth>"u"?5:Ze.depth;if(typeof at>"u"&&(at=0),at>=ut&&ut>0&&typeof me=="object")return q(me)?"[Array]":"[Object]";var We=He(Ze,at);if(typeof Qe>"u")Qe=[];else if(re(Qe,me)>=0)return"[Circular]";function qe(ko,ht,ct){if(ht&&(Qe=A.call(Qe),Qe.push(ht)),ct){var Ut={depth:Ze.depth};return ve(Ze,"quoteStyle")&&(Ut.quoteStyle=Ze.quoteStyle),_e(ko,Ut,at+1,Qe)}return _e(ko,Ze,at+1,Qe)}if(typeof me=="function"&&!ie(me)){var xt=oe(me),Et=lt(me,qe);return"[Function"+(xt?": "+xt:" (anonymous)")+"]"+(Et.length>0?" { "+O.call(Et,", ")+" }":"")}if(Oe(me)){var it=F?_.call(String(me),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(me);return typeof me=="object"&&!F?de(it):it}if(ae(me)){for(var bt="<"+S.call(String(me.nodeName)),Vt=me.attributes||[],Gt=0;Gt",bt}if(q(me)){if(me.length===0)return"[]";var tr=lt(me,qe);return We&&!Ie(tr)?"["+Xe(tr,We)+"]":"[ "+O.call(tr,", ")+" ]"}if(se(me)){var Yr=lt(me,qe);return!("cause"in Error.prototype)&&"cause"in me&&!V.call(me,"cause")?"{ ["+String(me)+"] "+O.call(N.call("[cause]: "+qe(me.cause),Yr),", ")+" }":Yr.length===0?"["+String(me)+"]":"{ ["+String(me)+"] "+O.call(Yr,", ")+" }"}if(typeof me=="object"&&Ue){if(z&&typeof me[z]=="function"&&L)return L(me,{depth:ut-at});if(Ue!=="symbol"&&typeof me.inspect=="function")return me.inspect()}if(we(me)){var ri=[];return o&&o.call(me,function(ko,ht){ri.push(qe(ht,me,!0)+" => "+qe(ko,me))}),Be("Map",a.call(me),ri,We)}if(G(me)){var Rs=[];return u&&u.call(me,function(ko){Rs.push(qe(ko,me))}),Be("Set",l.call(me),Rs,We)}if(Ae(me))return De("WeakMap");if(Y(me))return De("WeakSet");if(Ee(me))return De("WeakRef");if(ue(me))return de(qe(Number(me)));if(Ne(me))return de(qe(P.call(me)));if(ge(me))return de(y.call(me));if(le(me))return de(qe(String(me)));if(typeof window<"u"&&me===window)return"{ [object Window] }";if(typeof globalThis<"u"&&me===globalThis||typeof global<"u"&&me===global)return"{ [object globalThis] }";if(!Q(me)&&!ie(me)){var Ir=lt(me,qe),Kr=H?H(me)===Object.prototype:me instanceof Object||me.constructor===Object,al=me instanceof Object?"":"null prototype",ol=!Kr&&I&&Object(me)===me&&I in me?w.call(J(me),8,-1):al?"Object":"",mu=Kr||typeof me.constructor!="function"?"":me.constructor.name?me.constructor.name+" ":"",Mo=mu+(ol||al?"["+O.call(N.call([],ol||[],al||[]),": ")+"] ":"");return Ir.length===0?Mo+"{}":We?Mo+"{"+Xe(Ir,We)+"}":Mo+"{ "+O.call(Ir,", ")+" }"}return String(me)};function W(_e,me,Je){var at=Je.quoteStyle||me,Qe=Z[at];return Qe+_e+Qe}function K(_e){return _.call(String(_e),/"/g,""")}function ee(_e){return!I||!(typeof _e=="object"&&(I in _e||typeof _e[I]<"u"))}function q(_e){return J(_e)==="[object Array]"&&ee(_e)}function Q(_e){return J(_e)==="[object Date]"&&ee(_e)}function ie(_e){return J(_e)==="[object RegExp]"&&ee(_e)}function se(_e){return J(_e)==="[object Error]"&&ee(_e)}function le(_e){return J(_e)==="[object String]"&&ee(_e)}function ue(_e){return J(_e)==="[object Number]"&&ee(_e)}function ge(_e){return J(_e)==="[object Boolean]"&&ee(_e)}function Oe(_e){if(F)return _e&&typeof _e=="object"&&_e instanceof Symbol;if(typeof _e=="symbol")return!0;if(!_e||typeof _e!="object"||!k)return!1;try{return k.call(_e),!0}catch{}return!1}function Ne(_e){if(!_e||typeof _e!="object"||!P)return!1;try{return P.call(_e),!0}catch{}return!1}var ye=Object.prototype.hasOwnProperty||function(_e){return _e in this};function ve(_e,me){return ye.call(_e,me)}function J(_e){return g.call(_e)}function oe(_e){if(_e.name)return _e.name;var me=x.call(b.call(_e),/^function\s*([\w$]+)/);return me?me[1]:null}function re(_e,me){if(_e.indexOf)return _e.indexOf(me);for(var Je=0,at=_e.length;Jeme.maxStringLength){var Je=_e.length-me.maxStringLength,at="... "+Je+" more character"+(Je>1?"s":"");return pe(w.call(_e,0,me.maxStringLength),me)+at}var Qe=$[me.quoteStyle||"single"];Qe.lastIndex=0;var Ze=_.call(_.call(_e,Qe,"\\$1"),/[\x00-\x1f]/g,fe);return W(Ze,"single",me)}function fe(_e){var me=_e.charCodeAt(0),Je={8:"b",9:"t",10:"n",12:"f",13:"r"}[me];return Je?"\\"+Je:"\\x"+(me<16?"0":"")+C.call(me.toString(16))}function de(_e){return"Object("+_e+")"}function De(_e){return _e+" { ? }"}function Be(_e,me,Je,at){var Qe=at?Xe(Je,at):O.call(Je,", ");return _e+" ("+me+") {"+Qe+"}"}function Ie(_e){for(var me=0;me<_e.length;me++)if(re(_e[me],` `)>=0)return!1;return!0}function He(_e,me){var Je;if(_e.indent===" ")Je=" ";else if(typeof _e.indent=="number"&&_e.indent>0)Je=O.call(Array(_e.indent+1)," ");else return null;return{base:Je,prev:O.call(Array(me+1),Je)}}function Xe(_e,me){if(_e.length===0)return"";var Je=` `+me.prev+me.base;return Je+O.call(_e,","+Je)+` `+me.prev}function lt(_e,me){var Je=q(_e),at=[];if(Je){at.length=_e.length;for(var Qe=0;Qe<_e.length;Qe++)at[Qe]=ve(_e,Qe)?me(_e[Qe],_e):""}var Ze=typeof M=="function"?M(_e):[],Ue;if(F){Ue={};for(var gt=0;gt"u"||!N?n:N(Uint8Array),F={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":R&&N?N([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":M,"%AsyncGenerator%":M,"%AsyncGeneratorFunction%":M,"%AsyncIteratorPrototype%":M,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":M,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R&&N?N(N([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R||!N?n:N(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R||!N?n:N(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R&&N?N(""[Symbol.iterator]()):n,"%Symbol%":R?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":S,"%TypedArray%":k,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":T,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":O,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":p,"%Math.round%":y,"%Math.sign%":g,"%Reflect.getPrototypeOf%":A};if(N)try{null.error}catch(ie){I=N(N(ie)),F["%Error.prototype%"]=I}var I,V=function ie(se){var le;if(se==="%AsyncFunction%")le=x("async function () {}");else if(se==="%GeneratorFunction%")le=x("function* () {}");else if(se==="%AsyncGeneratorFunction%")le=x("async function* () {}");else if(se==="%AsyncGenerator%"){var ue=ie("%AsyncGeneratorFunction%");ue&&(le=ue.prototype)}else if(se==="%AsyncIteratorPrototype%"){var ge=ie("%AsyncGenerator%");ge&&N&&(le=N(ge.prototype))}return F[se]=le,le},H={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=s5(),L=d$(),U=j.call(P,Array.prototype.concat),z=j.call(T,Array.prototype.splice),Z=j.call(P,String.prototype.replace),$=j.call(P,String.prototype.slice),W=j.call(P,RegExp.prototype.exec),K=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ee=/\\(\\)?/g,q=function(se){var le=$(se,0,1),ue=$(se,-1);if(le==="%"&&ue!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(ue==="%"&&le!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var ge=[];return Z(se,K,function(Oe,Ne,ye,ve){ge[ge.length]=ye?Z(ve,ee,"$1"):Ne||Oe}),ge},Q=function(se,le){var ue=se,ge;if(L(H,ue)&&(ge=H[ue],ue="%"+ge[0]+"%"),L(F,ue)){var Oe=F[ue];if(Oe===M&&(Oe=V(ue)),typeof Oe>"u"&&!le)throw new u("intrinsic "+se+" exists, but is not available. Please file an issue!");return{alias:ge,name:ue,value:Oe}}throw new l("intrinsic "+se+" does not exist!")};t.exports=function(se,le){if(typeof se!="string"||se.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof le!="boolean")throw new u('"allowMissing" argument must be a boolean');if(W(/^%?[^%]*%?$/,se)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ue=q(se),ge=ue.length>0?ue[0]:"",Oe=Q("%"+ge+"%",le),Ne=Oe.name,ye=Oe.value,ve=!1,J=Oe.alias;J&&(ge=J[0],z(ue,U([0,1],J)));for(var oe=1,re=!0;oe=ue.length){var G=w(ye,we);re=!!G,re&&"get"in G&&!("originalValue"in G.get)?ye=G.get:ye=ye[we]}else re=L(ye,we),ye=ye[we];re&&!ve&&(F[Ne]=ye)}}return ye}}}),P9=Ce({"source/frontend/craif/node_modules/call-bound/index.js"(e,t){"use strict";var n=j3(),r=T9(),a=r([n("%String.prototype.indexOf%")]);t.exports=function(i,s){var l=n(i,!!s);return typeof l=="function"&&a(i,".prototype.")>-1?r([l]):l}}}),M9=Ce({"source/frontend/craif/node_modules/side-channel-map/index.js"(e,t){"use strict";var n=j3(),r=P9(),a=i5(),o=k1(),i=n("%Map%",!0),s=r("Map.prototype.get",!0),l=r("Map.prototype.set",!0),u=r("Map.prototype.has",!0),c=r("Map.prototype.delete",!0),f=r("Map.prototype.size",!0);t.exports=!!i&&function(){var h,m={assert:function(p){if(!m.has(p))throw new o("Side channel does not contain "+a(p))},delete:function(p){if(h){var y=c(h,p);return f(h)===0&&(h=void 0),y}return!1},get:function(p){if(h)return s(h,p)},has:function(p){return h?u(h,p):!1},set:function(p,y){h||(h=new i),l(h,p,y)}};return m}}}),h$=Ce({"source/frontend/craif/node_modules/side-channel-weakmap/index.js"(e,t){"use strict";var n=j3(),r=P9(),a=i5(),o=M9(),i=k1(),s=n("%WeakMap%",!0),l=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),c=r("WeakMap.prototype.has",!0),f=r("WeakMap.prototype.delete",!0);t.exports=s?function(){var h,m,p={assert:function(y){if(!p.has(y))throw new i("Side channel does not contain "+a(y))},delete:function(y){if(s&&y&&(typeof y=="object"||typeof y=="function")){if(h)return f(h,y)}else if(o&&m)return m.delete(y);return!1},get:function(y){return s&&y&&(typeof y=="object"||typeof y=="function")&&h?l(h,y):m&&m.get(y)},has:function(y){return s&&y&&(typeof y=="object"||typeof y=="function")&&h?c(h,y):!!m&&m.has(y)},set:function(y,g){s&&y&&(typeof y=="object"||typeof y=="function")?(h||(h=new s),u(h,y,g)):o&&(m||(m=o()),m.set(y,g))}};return p}:o}}),p$=Ce({"source/frontend/craif/node_modules/side-channel/index.js"(e,t){"use strict";var n=k1(),r=i5(),a=UV(),o=M9(),i=h$(),s=i||o||a;t.exports=function(){var u,c={assert:function(f){if(!c.has(f))throw new n("Side channel does not contain "+r(f))},delete:function(f){return!!u&&u.delete(f)},get:function(f){return u&&u.get(f)},has:function(f){return!!u&&u.has(f)},set:function(f,d){u||(u=s()),u.set(f,d)}};return c}}}),V3=Ce({"source/frontend/craif/node_modules/qs/lib/formats.js"(e,t){"use strict";var n=String.prototype.replace,r=/%20/g,a={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:a.RFC3986,formatters:{RFC1738:function(o){return n.call(o,r,"+")},RFC3986:function(o){return String(o)}},RFC1738:a.RFC1738,RFC3986:a.RFC3986}}}),k9=Ce({"source/frontend/craif/node_modules/qs/lib/utils.js"(e,t){"use strict";var n=V3(),r=Object.prototype.hasOwnProperty,a=Array.isArray,o=function(){for(var b=[],x=0;x<256;++x)b.push("%"+((x<16?"0":"")+x.toString(16)).toUpperCase());return b}(),i=function(x){for(;x.length>1;){var w=x.pop(),_=w.obj[w.prop];if(a(_)){for(var C=[],S=0;S<_.length;++S)typeof _[S]<"u"&&C.push(_[S]);w.obj[w.prop]=C}}},s=function(x,w){for(var _=w&&w.plainObjects?{__proto__:null}:{},C=0;C=f?R.slice(O,O+f):R,T=[],P=0;P=48&&M<=57||M>=65&&M<=90||M>=97&&M<=122||S===n.RFC1738&&(M===40||M===41)){T[T.length]=A.charAt(P);continue}if(M<128){T[T.length]=o[M];continue}if(M<2048){T[T.length]=o[192|M>>6]+o[128|M&63];continue}if(M<55296||M>=57344){T[T.length]=o[224|M>>12]+o[128|M>>6&63]+o[128|M&63];continue}P+=1,M=65536+((M&1023)<<10|A.charCodeAt(P)&1023),T[T.length]=o[240|M>>18]+o[128|M>>12&63]+o[128|M>>6&63]+o[128|M&63]}N+=T.join("")}return N},h=function(x){for(var w=[{obj:{o:x},prop:"o"}],_=[],C=0;C"u"&&(U=0)}if(typeof A=="function"?j=A(x,j):j instanceof Date?j=M(j):w==="comma"&&s(j)&&(j=r.maybeMap(j,function(Ne){return Ne instanceof Date?M(Ne):Ne})),j===null){if(S)return O&&!I?O(x,d.encoder,V,"key",k):x;j=""}if(h(j)||r.isBuffer(j)){if(O){var $=I?x:O(x,d.encoder,V,"key",k);return[F($)+"="+F(O(j,d.encoder,V,"value",k))]}return[F(x)+"="+F(String(j))]}var W=[];if(typeof j>"u")return W;var K;if(w==="comma"&&s(j))I&&O&&(j=r.maybeMap(j,O)),K=[{value:j.length>0?j.join(",")||null:void 0}];else if(s(A))K=A;else{var ee=Object.keys(j);K=T?ee.sort(T):ee}var q=N?String(x).replace(/\./g,"%2E"):String(x),Q=_&&s(j)&&j.length===1?q+"[]":q;if(C&&s(j)&&j.length===0)return Q+"[]";for(var ie=0;ie"u"?b.encodeDotInKeys===!0?!0:d.allowDots:!!b.allowDots;return{addQueryPrefix:typeof b.addQueryPrefix=="boolean"?b.addQueryPrefix:d.addQueryPrefix,allowDots:R,allowEmptyArrays:typeof b.allowEmptyArrays=="boolean"?!!b.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:S,charset:x,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!b.commaRoundTrip,delimiter:typeof b.delimiter>"u"?d.delimiter:b.delimiter,encode:typeof b.encode=="boolean"?b.encode:d.encode,encodeDotInKeys:typeof b.encodeDotInKeys=="boolean"?b.encodeDotInKeys:d.encodeDotInKeys,encoder:typeof b.encoder=="function"?b.encoder:d.encoder,encodeValuesOnly:typeof b.encodeValuesOnly=="boolean"?b.encodeValuesOnly:d.encodeValuesOnly,filter:C,format:w,formatter:_,serializeDate:typeof b.serializeDate=="function"?b.serializeDate:d.serializeDate,skipNulls:typeof b.skipNulls=="boolean"?b.skipNulls:d.skipNulls,sort:typeof b.sort=="function"?b.sort:null,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:d.strictNullHandling}};t.exports=function(g,b){var x=g,w=y(b),_,C;typeof w.filter=="function"?(C=w.filter,x=C("",x)):s(w.filter)&&(C=w.filter,_=C);var S=[];if(typeof x!="object"||x===null)return"";var R=i[w.arrayFormat],N=R==="comma"&&w.commaRoundTrip;_||(_=Object.keys(x)),w.sort&&_.sort(w.sort);for(var O=n(),A=0;A<_.length;++A){var T=_[A],P=x[T];w.skipNulls&&P===null||u(S,p(P,T,R,N,w.allowEmptyArrays,w.strictNullHandling,w.skipNulls,w.encodeDotInKeys,w.encode?w.encoder:null,w.filter,w.sort,w.allowDots,w.serializeDate,w.format,w.formatter,w.encodeValuesOnly,w.charset,O))}var M=S.join(w.delimiter),k=w.addQueryPrefix===!0?"?":"";return w.charsetSentinel&&(w.charset==="iso-8859-1"?k+="utf8=%26%2310003%3B&":k+="utf8=%E2%9C%93&"),M.length>0?k+M:""}}}),v$=Ce({"source/frontend/craif/node_modules/qs/lib/parse.js"(e,t){"use strict";var n=k9(),r=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(m){return m.replace(/&#(\d+);/g,function(p,y){return String.fromCharCode(parseInt(y,10))})},s=function(m,p,y){if(m&&typeof m=="string"&&p.comma&&m.indexOf(",")>-1)return m.split(",");if(p.throwOnLimitExceeded&&y>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");return m},l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",c=function(p,y){var g={__proto__:null},b=y.ignoreQueryPrefix?p.replace(/^\?/,""):p;b=b.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var x=y.parameterLimit===1/0?void 0:y.parameterLimit,w=b.split(y.delimiter,y.throwOnLimitExceeded?x+1:x);if(y.throwOnLimitExceeded&&w.length>x)throw new RangeError("Parameter limit exceeded. Only "+x+" parameter"+(x===1?"":"s")+" allowed.");var _=-1,C,S=y.charset;if(y.charsetSentinel)for(C=0;C-1&&(T=a(T)?[T]:T);var P=r.call(g,A);P&&y.duplicates==="combine"?g[A]=n.combine(g[A],T):(!P||y.duplicates==="last")&&(g[A]=T)}return g},f=function(m,p,y,g){var b=0;if(m.length>0&&m[m.length-1]==="[]"){var x=m.slice(0,-1).join("");b=Array.isArray(p)&&p[x]?p[x].length:0}for(var w=g?p:s(p,y,b),_=m.length-1;_>=0;--_){var C,S=m[_];if(S==="[]"&&y.parseArrays)C=y.allowEmptyArrays&&(w===""||y.strictNullHandling&&w===null)?[]:n.combine([],w);else{C=y.plainObjects?{__proto__:null}:{};var R=S.charAt(0)==="["&&S.charAt(S.length-1)==="]"?S.slice(1,-1):S,N=y.decodeDotInKeys?R.replace(/%2E/g,"."):R,O=parseInt(N,10);!y.parseArrays&&N===""?C={0:w}:!isNaN(O)&&S!==N&&String(O)===N&&O>=0&&y.parseArrays&&O<=y.arrayLimit?(C=[],C[O]=w):N!=="__proto__"&&(C[N]=w)}w=C}return w},d=function(p,y,g,b){if(p){var x=g.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,w=/(\[[^[\]]*])/,_=/(\[[^[\]]*])/g,C=g.depth>0&&w.exec(x),S=C?x.slice(0,C.index):x,R=[];if(S){if(!g.plainObjects&&r.call(Object.prototype,S)&&!g.allowPrototypes)return;R.push(S)}for(var N=0;g.depth>0&&(C=_.exec(x))!==null&&N"u"?o.charset:p.charset,g=typeof p.duplicates>"u"?o.duplicates:p.duplicates;if(g!=="combine"&&g!=="first"&&g!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var b=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:o.allowDots:!!p.allowDots;return{allowDots:b,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:o.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:o.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:o.arrayLimit,charset:y,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:o.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:o.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:o.decoder,delimiter:typeof p.delimiter=="string"||n.isRegExp(p.delimiter)?p.delimiter:o.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:o.depth,duplicates:g,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:o.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:o.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:o.strictDepth,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:typeof p.throwOnLimitExceeded=="boolean"?p.throwOnLimitExceeded:!1}};t.exports=function(m,p){var y=h(p);if(m===""||m===null||typeof m>"u")return y.plainObjects?{__proto__:null}:{};for(var g=typeof m=="string"?c(m,y):m,b=y.plainObjects?{__proto__:null}:{},x=Object.keys(g),w=0;ws?0:s+a),o=o>s?s:o,o<0&&(o+=s),s=a>o?0:o-a>>>0,a>>>=0;for(var l=Array(s);++i=s?a:n(a,o,i)}t.exports=r}}),I9=Ce({"source/frontend/craif/node_modules/lodash/_hasUnicode.js"(e,t){"use strict";var n="\\ud800-\\udfff",r="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",i=r+a+o,s="\\ufe0e\\ufe0f",l="\\u200d",u=RegExp("["+l+n+i+s+"]");function c(f){return u.test(f)}t.exports=c}}),O$=Ce({"source/frontend/craif/node_modules/lodash/_asciiToArray.js"(e,t){"use strict";function n(r){return r.split("")}t.exports=n}}),A$=Ce({"source/frontend/craif/node_modules/lodash/_unicodeToArray.js"(e,t){"use strict";var n="\\ud800-\\udfff",r="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",i=r+a+o,s="\\ufe0e\\ufe0f",l="["+n+"]",u="["+i+"]",c="\\ud83c[\\udffb-\\udfff]",f="(?:"+u+"|"+c+")",d="[^"+n+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",y=f+"?",g="["+s+"]?",b="(?:"+p+"(?:"+[d,h,m].join("|")+")"+g+y+")*",x=g+y+b,w="(?:"+[d+u+"?",u,h,m,l].join("|")+")",_=RegExp(c+"(?="+c+")|"+w+x,"g");function C(S){return S.match(_)||[]}t.exports=C}}),D$=Ce({"source/frontend/craif/node_modules/lodash/_stringToArray.js"(e,t){"use strict";var n=O$(),r=I9(),a=A$();function o(i){return r(i)?a(i):n(i)}t.exports=o}}),N$=Ce({"source/frontend/craif/node_modules/lodash/_createCaseFirst.js"(e,t){"use strict";var n=R$(),r=I9(),a=D$(),o=c5();function i(s){return function(l){l=o(l);var u=r(l)?a(l):void 0,c=u?u[0]:l.charAt(0),f=u?n(u,1).join(""):l.slice(1);return c[s]()+f}}t.exports=i}}),T$=Ce({"source/frontend/craif/node_modules/lodash/upperFirst.js"(e,t){"use strict";var n=N$(),r=n("toUpperCase");t.exports=r}}),P$=Ce({"source/frontend/craif/node_modules/lodash/capitalize.js"(e,t){"use strict";var n=c5(),r=T$();function a(o){return r(n(o).toLowerCase())}t.exports=a}}),M$=Ce({"source/frontend/craif/node_modules/lodash/_arrayReduce.js"(e,t){"use strict";function n(r,a,o,i){var s=-1,l=r==null?0:r.length;for(i&&l&&(o=r[++s]);++s-1}t.exports=r}}),Y$=Ce({"source/frontend/craif/node_modules/lodash/_listCacheSet.js"(e,t){"use strict";var n=f5();function r(a,o){var i=this.__data__,s=n(i,a);return s<0?(++this.size,i.push([a,o])):i[s][1]=o,this}t.exports=r}}),d5=Ce({"source/frontend/craif/node_modules/lodash/_ListCache.js"(e,t){"use strict";var n=H$(),r=W$(),a=z$(),o=q$(),i=Y$();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++up))return!1;var g=h.get(l),b=h.get(u);if(g&&b)return g==u&&b==l;var x=-1,w=!0,_=c&i?new n:void 0;for(h.set(l,u),h.set(u,l);++x-1&&o%1==0&&o-1&&a%1==0&&a<=n}t.exports=r}}),FU=Ce({"source/frontend/craif/node_modules/lodash/_baseIsTypedArray.js"(e,t){"use strict";var n=yf(),r=W9(),a=bf(),o="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",m="[object RegExp]",p="[object Set]",y="[object String]",g="[object WeakMap]",b="[object ArrayBuffer]",x="[object DataView]",w="[object Float32Array]",_="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",R="[object Int32Array]",N="[object Uint8Array]",O="[object Uint8ClampedArray]",A="[object Uint16Array]",T="[object Uint32Array]",P={};P[w]=P[_]=P[C]=P[S]=P[R]=P[N]=P[O]=P[A]=P[T]=!0,P[o]=P[i]=P[b]=P[s]=P[x]=P[l]=P[u]=P[c]=P[f]=P[d]=P[h]=P[m]=P[p]=P[y]=P[g]=!1;function M(k){return a(k)&&r(k.length)&&!!P[n(k)]}t.exports=M}}),IU=Ce({"source/frontend/craif/node_modules/lodash/_baseUnary.js"(e,t){"use strict";function n(r){return function(a){return r(a)}}t.exports=n}}),LU=Ce({"source/frontend/craif/node_modules/lodash/_nodeUtil.js"(e,t){"use strict";var n=F9(),r=typeof e=="object"&&e&&!e.nodeType&&e,a=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===r,i=o&&n.process,s=function(){try{var l=a&&a.require&&a.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}}),z9=Ce({"source/frontend/craif/node_modules/lodash/isTypedArray.js"(e,t){"use strict";var n=FU(),r=IU(),a=LU(),o=a&&a.isTypedArray,i=o?r(o):n;t.exports=i}}),BU=Ce({"source/frontend/craif/node_modules/lodash/_arrayLikeKeys.js"(e,t){"use strict";var n=NU(),r=PU(),a=u5(),o=H9(),i=kU(),s=z9(),l=Object.prototype,u=l.hasOwnProperty;function c(f,d){var h=a(f),m=!h&&r(f),p=!h&&!m&&o(f),y=!h&&!m&&!p&&s(f),g=h||m||p||y,b=g?n(f.length,String):[],x=b.length;for(var w in f)(d||u.call(f,w))&&!(g&&(w=="length"||p&&(w=="offset"||w=="parent")||y&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||i(w,x)))&&b.push(w);return b}t.exports=c}}),jU=Ce({"source/frontend/craif/node_modules/lodash/_isPrototype.js"(e,t){"use strict";var n=Object.prototype;function r(a){var o=a&&a.constructor,i=typeof o=="function"&&o.prototype||n;return a===i}t.exports=r}}),VU=Ce({"source/frontend/craif/node_modules/lodash/_overArg.js"(e,t){"use strict";function n(r,a){return function(o){return r(a(o))}}t.exports=n}}),$U=Ce({"source/frontend/craif/node_modules/lodash/_nativeKeys.js"(e,t){"use strict";var n=VU(),r=n(Object.keys,Object);t.exports=r}}),UU=Ce({"source/frontend/craif/node_modules/lodash/_baseKeys.js"(e,t){"use strict";var n=jU(),r=$U(),a=Object.prototype,o=a.hasOwnProperty;function i(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=i}}),HU=Ce({"source/frontend/craif/node_modules/lodash/isArrayLike.js"(e,t){"use strict";var n=j9(),r=W9();function a(o){return o!=null&&r(o.length)&&!n(o)}t.exports=a}}),WU=Ce({"source/frontend/craif/node_modules/lodash/keys.js"(e,t){"use strict";var n=BU(),r=UU(),a=HU();function o(i){return a(i)?n(i):r(i)}t.exports=o}}),zU=Ce({"source/frontend/craif/node_modules/lodash/_getAllKeys.js"(e,t){"use strict";var n=RU(),r=DU(),a=WU();function o(i){return n(i,a,r)}t.exports=o}}),qU=Ce({"source/frontend/craif/node_modules/lodash/_equalObjects.js"(e,t){"use strict";var n=zU(),r=1,a=Object.prototype,o=a.hasOwnProperty;function i(s,l,u,c,f,d){var h=u&r,m=n(s),p=m.length,y=n(l),g=y.length;if(p!=g&&!h)return!1;for(var b=p;b--;){var x=m[b];if(!(h?x in l:o.call(l,x)))return!1}var w=d.get(s),_=d.get(l);if(w&&_)return w==l&&_==s;var C=!0;d.set(s,l),d.set(l,s);for(var S=h;++b=k?M:""+Array(k+1-I.length).join(F)+M},w={s:x,z:function(M){var k=-M.utcOffset(),F=Math.abs(k),I=Math.floor(F/60),V=F%60;return(k<=0?"+":"-")+x(I,2,"0")+":"+x(V,2,"0")},m:function M(k,F){if(k.date()1)return M(j[0])}else{var L=k.name;C[L]=k,V=L}return!I&&V&&(_=V),V||!I&&_},O=function(M,k){if(R(M))return M.clone();var F=typeof k=="object"?k:{};return F.date=M,F.args=arguments,new T(F)},A=w;A.l=N,A.i=R,A.w=function(M,k){return O(M,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var T=function(){function M(F){this.$L=N(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[S]=!0}var k=M.prototype;return k.parse=function(F){this.$d=function(I){var V=I.date,H=I.utc;if(V===null)return new Date(NaN);if(A.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var j=V.match(y);if(j){var L=j[2]-1||0,U=(j[7]||"0").substring(0,3);return H?new Date(Date.UTC(j[1],L,j[3]||1,j[4]||0,j[5]||0,j[6]||0,U)):new Date(j[1],L,j[3]||1,j[4]||0,j[5]||0,j[6]||0,U)}}return new Date(V)}(F),this.init()},k.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},k.$utils=function(){return A},k.isValid=function(){return this.$d.toString()!==p},k.isSame=function(F,I){var V=O(F);return this.startOf(I)<=V&&V<=this.endOf(I)},k.isAfter=function(F,I){return O(F)0,C<=_.r||!_.r){C<=1&&w>0&&(_=b[w-1]);var S=g[_.l];h&&(C=h(""+C)),p=typeof S=="string"?S.replace("%d",C):S(C,c,_.l,y);break}}if(c)return p;var R=y?g.future:g.past;return typeof R=="function"?R(p):R.replace("%s",p)},o.to=function(u,c){return s(u,c,this,!0)},o.from=function(u,c){return s(u,c,this)};var l=function(u){return u.$u?a.utc():a()};o.toNow=function(u){return this.to(l(this),u)},o.fromNow=function(u){return this.from(l(this),u)}}})}}),aH=Ce({"source/frontend/craif/node_modules/dayjs/locale/ja.js"(e,t){"use strict";(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r(wf()):typeof define=="function"&&define.amd?define(["dayjs"],r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_locale_ja=r(n.dayjs)})(e,function(n){"use strict";function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var a=r(n),o={name:"ja",weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(i){return i+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm"},meridiem:function(i){return i<12?"\u5348\u524D":"\u5348\u5F8C"},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};return a.default.locale(o,null,!0),o})}}),oH=Ce({"source/frontend/craif/node_modules/quill/dist/quill.js"(e,t){"use strict";(function(r,a){typeof e=="object"&&typeof t=="object"?t.exports=a():typeof define=="function"&&define.amd?define([],a):typeof e=="object"?e.Quill=a():r.Quill=a()})(typeof self<"u"?self:e,function(){return function(n){var r={};function a(o){if(r[o])return r[o].exports;var i=r[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=n,a.c=r,a.d=function(o,i,s){a.o(o,i)||Object.defineProperty(o,i,{configurable:!1,enumerable:!0,get:s})},a.n=function(o){var i=o&&o.__esModule?function(){return o.default}:function(){return o};return a.d(i,"a",i),i},a.o=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)},a.p="",a(a.s=109)}([function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(17),i=a(18),s=a(19),l=a(45),u=a(46),c=a(47),f=a(48),d=a(49),h=a(12),m=a(32),p=a(33),y=a(31),g=a(1),b={Scope:g.Scope,create:g.create,find:g.find,query:g.query,register:g.register,Container:o.default,Format:i.default,Leaf:s.default,Embed:f.default,Scroll:l.default,Block:c.default,Inline:u.default,Text:d.default,Attributor:{Attribute:h.default,Class:m.default,Style:p.default,Store:y.default}};r.default=b},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])};return function(g,b){y(g,b);function x(){this.constructor=g}g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=function(y){o(g,y);function g(b){var x=this;return b="[Parchment] "+b,x=y.call(this,b)||this,x.message=b,x.name=x.constructor.name,x}return g}(Error);r.ParchmentError=i;var s={},l={},u={},c={};r.DATA_KEY="__blot";var f;(function(y){y[y.TYPE=3]="TYPE",y[y.LEVEL=12]="LEVEL",y[y.ATTRIBUTE=13]="ATTRIBUTE",y[y.BLOT=14]="BLOT",y[y.INLINE=7]="INLINE",y[y.BLOCK=11]="BLOCK",y[y.BLOCK_BLOT=10]="BLOCK_BLOT",y[y.INLINE_BLOT=6]="INLINE_BLOT",y[y.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",y[y.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",y[y.ANY=15]="ANY"})(f=r.Scope||(r.Scope={}));function d(y,g){var b=m(y);if(b==null)throw new i("Unable to create "+y+" blot");var x=b,w=y instanceof Node||y.nodeType===Node.TEXT_NODE?y:x.create(g);return new x(w,g)}r.create=d;function h(y,g){return g===void 0&&(g=!1),y==null?null:y[r.DATA_KEY]!=null?y[r.DATA_KEY].blot:g?h(y.parentNode,g):null}r.find=h;function m(y,g){g===void 0&&(g=f.ANY);var b;if(typeof y=="string")b=c[y]||s[y];else if(y instanceof Text||y.nodeType===Node.TEXT_NODE)b=c.text;else if(typeof y=="number")y&f.LEVEL&f.BLOCK?b=c.block:y&f.LEVEL&f.INLINE&&(b=c.inline);else if(y instanceof HTMLElement){var x=(y.getAttribute("class")||"").split(/\s+/);for(var w in x)if(b=l[x[w]],b)break;b=b||u[y.tagName]}return b==null?null:g&f.LEVEL&b.scope&&g&f.TYPE&b.scope?b:null}r.query=m;function p(){for(var y=[],g=0;g1)return y.map(function(w){return p(w)});var b=y[0];if(typeof b.blotName!="string"&&typeof b.attrName!="string")throw new i("Invalid definition");if(b.blotName==="abstract")throw new i("Cannot register abstract class");if(c[b.blotName||b.attrName]=b,typeof b.keyName=="string")s[b.keyName]=b;else if(b.className!=null&&(l[b.className]=b),b.tagName!=null){Array.isArray(b.tagName)?b.tagName=b.tagName.map(function(w){return w.toUpperCase()}):b.tagName=b.tagName.toUpperCase();var x=Array.isArray(b.tagName)?b.tagName:[b.tagName];x.forEach(function(w){(u[w]==null||b.className==null)&&(u[w]=b)})}return b}r.register=p},function(n,r,a){var o=a(51),i=a(11),s=a(3),l=a(20),u="\0",c=function(f){Array.isArray(f)?this.ops=f:f!=null&&Array.isArray(f.ops)?this.ops=f.ops:this.ops=[]};c.prototype.insert=function(f,d){var h={};return f.length===0?this:(h.insert=f,d!=null&&typeof d=="object"&&Object.keys(d).length>0&&(h.attributes=d),this.push(h))},c.prototype.delete=function(f){return f<=0?this:this.push({delete:f})},c.prototype.retain=function(f,d){if(f<=0)return this;var h={retain:f};return d!=null&&typeof d=="object"&&Object.keys(d).length>0&&(h.attributes=d),this.push(h)},c.prototype.push=function(f){var d=this.ops.length,h=this.ops[d-1];if(f=s(!0,{},f),typeof h=="object"){if(typeof f.delete=="number"&&typeof h.delete=="number")return this.ops[d-1]={delete:h.delete+f.delete},this;if(typeof h.delete=="number"&&f.insert!=null&&(d-=1,h=this.ops[d-1],typeof h!="object"))return this.ops.unshift(f),this;if(i(f.attributes,h.attributes)){if(typeof f.insert=="string"&&typeof h.insert=="string")return this.ops[d-1]={insert:h.insert+f.insert},typeof f.attributes=="object"&&(this.ops[d-1].attributes=f.attributes),this;if(typeof f.retain=="number"&&typeof h.retain=="number")return this.ops[d-1]={retain:h.retain+f.retain},typeof f.attributes=="object"&&(this.ops[d-1].attributes=f.attributes),this}}return d===this.ops.length?this.ops.push(f):this.ops.splice(d,0,f),this},c.prototype.chop=function(){var f=this.ops[this.ops.length-1];return f&&f.retain&&!f.attributes&&this.ops.pop(),this},c.prototype.filter=function(f){return this.ops.filter(f)},c.prototype.forEach=function(f){this.ops.forEach(f)},c.prototype.map=function(f){return this.ops.map(f)},c.prototype.partition=function(f){var d=[],h=[];return this.forEach(function(m){var p=f(m)?d:h;p.push(m)}),[d,h]},c.prototype.reduce=function(f,d){return this.ops.reduce(f,d)},c.prototype.changeLength=function(){return this.reduce(function(f,d){return d.insert?f+l.length(d):d.delete?f-d.delete:f},0)},c.prototype.length=function(){return this.reduce(function(f,d){return f+l.length(d)},0)},c.prototype.slice=function(f,d){f=f||0,typeof d!="number"&&(d=1/0);for(var h=[],m=l.iterator(this.ops),p=0;p0&&h.next(p.retain-y)}for(var g=new c(m);d.hasNext()||h.hasNext();)if(h.peekType()==="insert")g.push(h.next());else if(d.peekType()==="delete")g.push(d.next());else{var b=Math.min(d.peekLength(),h.peekLength()),x=d.next(b),w=h.next(b);if(typeof w.retain=="number"){var _={};typeof x.retain=="number"?_.retain=b:_.insert=x.insert;var C=l.attributes.compose(x.attributes,w.attributes,typeof x.retain=="number");if(C&&(_.attributes=C),g.push(_),!h.hasNext()&&i(g.ops[g.ops.length-1],_)){var S=new c(d.rest());return g.concat(S).chop()}}else typeof w.delete=="number"&&typeof x.retain=="number"&&g.push(w)}return g.chop()},c.prototype.concat=function(f){var d=new c(this.ops.slice());return f.ops.length>0&&(d.push(f.ops[0]),d.ops=d.ops.concat(f.ops.slice(1))),d},c.prototype.diff=function(f,d){if(this.ops===f.ops)return new c;var h=[this,f].map(function(b){return b.map(function(x){if(x.insert!=null)return typeof x.insert=="string"?x.insert:u;var w=b===f?"on":"with";throw new Error("diff() called "+w+" non-document")}).join("")}),m=new c,p=o(h[0],h[1],d),y=l.iterator(this.ops),g=l.iterator(f.ops);return p.forEach(function(b){for(var x=b[1].length;x>0;){var w=0;switch(b[0]){case o.INSERT:w=Math.min(g.peekLength(),x),m.push(g.next(w));break;case o.DELETE:w=Math.min(x,y.peekLength()),y.next(w),m.delete(w);break;case o.EQUAL:w=Math.min(y.peekLength(),g.peekLength(),x);var _=y.next(w),C=g.next(w);i(_.insert,C.insert)?m.retain(w,l.attributes.diff(_.attributes,C.attributes)):m.push(C).delete(w);break}x-=w}}),m.chop()},c.prototype.eachLine=function(f,d){d=d||` `;for(var h=l.iterator(this.ops),m=new c,p=0;h.hasNext();){if(h.peekType()!=="insert")return;var y=h.peek(),g=l.length(y)-h.peekLength(),b=typeof y.insert=="string"?y.insert.indexOf(d,g)-g:-1;if(b<0)m.push(h.next());else if(b>0)m.push(h.next(b));else{if(f(m,h.next(1).attributes||{},p)===!1)return;p+=1,m=new c}}m.length()>0&&f(m,{},p)},c.prototype.transform=function(f,d){if(d=!!d,typeof f=="number")return this.transformPosition(f,d);for(var h=l.iterator(this.ops),m=l.iterator(f.ops),p=new c;h.hasNext()||m.hasNext();)if(h.peekType()==="insert"&&(d||m.peekType()!=="insert"))p.retain(l.length(h.next()));else if(m.peekType()==="insert")p.push(m.next());else{var y=Math.min(h.peekLength(),m.peekLength()),g=h.next(y),b=m.next(y);if(g.delete)continue;b.delete?p.push(b):p.retain(y,l.attributes.transform(g.attributes,b.attributes,d))}return p.chop()},c.prototype.transformPosition=function(f,d){d=!!d;for(var h=l.iterator(this.ops),m=0;h.hasNext()&&m<=f;){var p=h.peekLength(),y=h.peekType();if(h.next(),y==="delete"){f-=Math.min(p,f-m);continue}else y==="insert"&&(m"u"||a.call(h,y)},c=function(h,m){i&&m.name==="__proto__"?i(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},f=function(h,m){if(m==="__proto__")if(a.call(h,m)){if(s)return s(h,m).value}else return;return h[m]};n.exports=function d(){var h,m,p,y,g,b,x=arguments[0],w=1,_=arguments.length,C=!1;for(typeof x=="boolean"&&(C=x,x=arguments[1]||{},w=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});w<_;++w)if(h=arguments[w],h!=null)for(m in h)p=f(x,m),y=f(h,m),x!==y&&(C&&y&&(u(y)||(g=l(y)))?(g?(g=!1,b=p&&l(p)?p:[]):b=p&&u(p)?p:{},c(x,{name:m,newValue:d(C,b,y)})):typeof y<"u"&&c(x,{name:m,newValue:y}));return x}},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BlockEmbed=r.bubbleFormats=void 0;var o=function(){function A(T,P){for(var M=0;M0&&(M1&&arguments[1]!==void 0?arguments[1]:!1;if(k&&(M===0||M>=this.length()-S)){var F=this.clone();return M===0?(this.parent.insertBefore(F,this),this):(this.parent.insertBefore(F,this.next),F)}else{var I=i(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"split",this).call(this,M,k);return this.cache={},I}}}]),T}(d.default.Block);N.blotName="block",N.tagName="P",N.defaultChild="break",N.allowedChildren=[y.default,d.default.Embed,b.default];function O(A){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return A==null||(typeof A.formats=="function"&&(T=(0,l.default)(T,A.formats())),A.parent==null||A.parent.blotName=="scroll"||A.parent.statics.scope!==A.statics.scope)?T:O(A.parent,T)}r.bubbleFormats=O,r.BlockEmbed=R,r.default=N},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.overload=r.expandConfig=void 0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},i=function(){function H(j,L){var U=[],z=!0,Z=!1,$=void 0;try{for(var W=j[Symbol.iterator](),K;!(z=(K=W.next()).done)&&(U.push(K.value),!(L&&U.length===L));z=!0);}catch(ee){Z=!0,$=ee}finally{try{!z&&W.return&&W.return()}finally{if(Z)throw $}}return U}return function(j,L){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return H(j,L);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function H(j,L){for(var U=0;U2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof L!="string"){var $=L.attrName||L.blotName;typeof $=="string"?this.register("formats/"+$,L,U):Object.keys(L).forEach(function(W){z.register(W,L[W],U)})}else this.imports[L]!=null&&!Z&&P.warn("Overwriting "+L+" with",U),this.imports[L]=U,(L.startsWith("blots/")||L.startsWith("formats/"))&&U.blotName!=="abstract"?g.default.register(U):L.startsWith("modules")&&typeof U.register=="function"&&U.register()}}]);function H(j){var L=this,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(T(this,H),this.options=k(j,U),this.container=this.options.container,this.container==null)return P.error("Invalid Quill container",j);this.options.debug&&H.debug(this.options.debug);var z=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=g.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new f.default(this.scroll),this.selection=new x.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,function($){$===h.default.events.TEXT_CHANGE&&L.root.classList.toggle("ql-blank",L.editor.isBlank())}),this.emitter.on(h.default.events.SCROLL_UPDATE,function($,W){var K=L.selection.lastRange,ee=K&&K.length===0?K.index:void 0;F.call(L,function(){return L.editor.update(null,W,ee)},$)});var Z=this.clipboard.convert(`
`+z+"


");this.setContents(Z),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return s(H,[{key:"addContainer",value:function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof L=="string"){var z=L;L=document.createElement("div"),L.classList.add(z)}return this.container.insertBefore(L,U),L}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(L,U,z){var Z=this,$=I(L,U,z),W=i($,4);return L=W[0],U=W[1],z=W[3],F.call(this,function(){return Z.editor.deleteText(L,U)},z,L,-1*U)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(L),this.container.classList.toggle("ql-disabled",!L)}},{key:"focus",value:function(){var L=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=L,this.scrollIntoView()}},{key:"format",value:function(L,U){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.default.sources.API;return F.call(this,function(){var $=z.getSelection(!0),W=new u.default;if($==null)return W;if(g.default.query(L,g.default.Scope.BLOCK))W=z.editor.formatLine($.index,$.length,A({},L,U));else{if($.length===0)return z.selection.format(L,U),W;W=z.editor.formatText($.index,$.length,A({},L,U))}return z.setSelection($,h.default.sources.SILENT),W},Z)}},{key:"formatLine",value:function(L,U,z,Z,$){var W=this,K=void 0,ee=I(L,U,z,Z,$),q=i(ee,4);return L=q[0],U=q[1],K=q[2],$=q[3],F.call(this,function(){return W.editor.formatLine(L,U,K)},$,L,0)}},{key:"formatText",value:function(L,U,z,Z,$){var W=this,K=void 0,ee=I(L,U,z,Z,$),q=i(ee,4);return L=q[0],U=q[1],K=q[2],$=q[3],F.call(this,function(){return W.editor.formatText(L,U,K)},$,L,0)}},{key:"getBounds",value:function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=void 0;typeof L=="number"?z=this.selection.getBounds(L,U):z=this.selection.getBounds(L.index,L.length);var Z=this.container.getBoundingClientRect();return{bottom:z.bottom-Z.top,height:z.height,left:z.left-Z.left,right:z.right-Z.left,top:z.top-Z.top,width:z.width}}},{key:"getContents",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-L,z=I(L,U),Z=i(z,2);return L=Z[0],U=Z[1],this.editor.getContents(L,U)}},{key:"getFormat",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof L=="number"?this.editor.getFormat(L,U):this.editor.getFormat(L.index,L.length)}},{key:"getIndex",value:function(L){return L.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(L){return this.scroll.leaf(L)}},{key:"getLine",value:function(L){return this.scroll.line(L)}},{key:"getLines",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof L!="number"?this.scroll.lines(L.index,L.length):this.scroll.lines(L,U)}},{key:"getModule",value:function(L){return this.theme.modules[L]}},{key:"getSelection",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return L&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-L,z=I(L,U),Z=i(z,2);return L=Z[0],U=Z[1],this.editor.getText(L,U)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(L,U,z){var Z=this,$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:H.sources.API;return F.call(this,function(){return Z.editor.insertEmbed(L,U,z)},$,L)}},{key:"insertText",value:function(L,U,z,Z,$){var W=this,K=void 0,ee=I(L,0,z,Z,$),q=i(ee,4);return L=q[0],K=q[2],$=q[3],F.call(this,function(){return W.editor.insertText(L,U,K)},$,L,U.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(L,U,z){this.clipboard.dangerouslyPasteHTML(L,U,z)}},{key:"removeFormat",value:function(L,U,z){var Z=this,$=I(L,U,z),W=i($,4);return L=W[0],U=W[1],z=W[3],F.call(this,function(){return Z.editor.removeFormat(L,U)},z,L)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(L){var U=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API;return F.call(this,function(){L=new u.default(L);var Z=U.getLength(),$=U.editor.deleteText(0,Z),W=U.editor.applyDelta(L),K=W.ops[W.ops.length-1];K!=null&&typeof K.insert=="string"&&K.insert[K.insert.length-1]===` `&&(U.editor.deleteText(U.getLength()-1,1),W.delete(1));var ee=$.compose(W);return ee},z)}},{key:"setSelection",value:function(L,U,z){if(L==null)this.selection.setRange(null,U||H.sources.API);else{var Z=I(L,U,z),$=i(Z,4);L=$[0],U=$[1],z=$[3],this.selection.setRange(new b.Range(L,U),z),z!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API,z=new u.default().insert(L);return this.setContents(z,U)}},{key:"update",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.default.sources.USER,U=this.scroll.update(L);return this.selection.update(L),U}},{key:"updateContents",value:function(L){var U=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API;return F.call(this,function(){return L=new u.default(L),U.editor.applyDelta(L,z)},z,!0)}}]),H}();M.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},M.events=h.default.events,M.sources=h.default.sources,M.version="1.3.7",M.imports={delta:u.default,parchment:g.default,"core/module":p.default,"core/theme":N.default};function k(H,j){if(j=(0,_.default)(!0,{container:H,modules:{clipboard:!0,keyboard:!0,history:!0}},j),!j.theme||j.theme===M.DEFAULTS.theme)j.theme=N.default;else if(j.theme=M.import("themes/"+j.theme),j.theme==null)throw new Error("Invalid theme "+j.theme+". Did you register it?");var L=(0,_.default)(!0,{},j.theme.DEFAULTS);[L,j].forEach(function(Z){Z.modules=Z.modules||{},Object.keys(Z.modules).forEach(function($){Z.modules[$]===!0&&(Z.modules[$]={})})});var U=Object.keys(L.modules).concat(Object.keys(j.modules)),z=U.reduce(function(Z,$){var W=M.import("modules/"+$);return W==null?P.error("Cannot load "+$+" module. Are you sure you registered it?"):Z[$]=W.DEFAULTS||{},Z},{});return j.modules!=null&&j.modules.toolbar&&j.modules.toolbar.constructor!==Object&&(j.modules.toolbar={container:j.modules.toolbar}),j=(0,_.default)(!0,{},M.DEFAULTS,{modules:z},L,j),["bounds","container","scrollingContainer"].forEach(function(Z){typeof j[Z]=="string"&&(j[Z]=document.querySelector(j[Z]))}),j.modules=Object.keys(j.modules).reduce(function(Z,$){return j.modules[$]&&(Z[$]=j.modules[$]),Z},{}),j}function F(H,j,L,U){if(this.options.strict&&!this.isEnabled()&&j===h.default.sources.USER)return new u.default;var z=L==null?null:this.getSelection(),Z=this.editor.delta,$=H();if(z!=null&&(L===!0&&(L=z.index),U==null?z=V(z,$,j):U!==0&&(z=V(z,L,U,j)),this.setSelection(z,h.default.sources.SILENT)),$.length()>0){var W,K=[h.default.events.TEXT_CHANGE,$,Z,j];if((W=this.emitter).emit.apply(W,[h.default.events.EDITOR_CHANGE].concat(K)),j!==h.default.sources.SILENT){var ee;(ee=this.emitter).emit.apply(ee,K)}}return $}function I(H,j,L,U,z){var Z={};return typeof H.index=="number"&&typeof H.length=="number"?typeof j!="number"?(z=U,U=L,L=j,j=H.length,H=H.index):(j=H.length,H=H.index):typeof j!="number"&&(z=U,U=L,L=j,j=0),(typeof L>"u"?"undefined":o(L))==="object"?(Z=L,z=U):typeof L=="string"&&(U!=null?Z[L]=U:z=L),z=z||h.default.sources.API,[H,j,Z,z]}function V(H,j,L,U){if(H==null)return null;var z=void 0,Z=void 0;if(j instanceof u.default){var $=[H.index,H.index+H.length].map(function(q){return j.transformPosition(q,U!==h.default.sources.USER)}),W=i($,2);z=W[0],Z=W[1]}else{var K=[H.index,H.index+H.length].map(function(q){return q=0?q+L:Math.max(j,q+L)}),ee=i(K,2);z=ee[0],Z=ee[1]}return new b.Range(z,Z-z)}r.expandConfig=k,r.overload=I,r.default=M},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(g,b){for(var x=0;x0){var w=this.parent.isolate(this.offset(),this.length());this.moveChildren(w),w.wrap(this)}}}],[{key:"compare",value:function(x,w){var _=g.order.indexOf(x),C=g.order.indexOf(w);return _>=0||C>=0?_-C:x===w?0:x1?C-1:0),R=1;R1&&arguments[1]!==void 0?arguments[1]:{};o(this,s),this.quill=l,this.options=u};i.DEFAULTS={},r.default=i},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=["error","warn","log","info"],i="warn";function s(u){if(o.indexOf(u)<=o.indexOf(i)){for(var c,f=arguments.length,d=Array(f>1?f-1:0),h=1;h0&&typeof d[0]!="number")}function f(d,h,m){var p,y;if(u(d)||u(h)||d.prototype!==h.prototype)return!1;if(s(d))return s(h)?(d=o.call(d),h=o.call(h),l(d,h,m)):!1;if(c(d)){if(!c(h)||d.length!==h.length)return!1;for(p=0;p=0;p--)if(g[p]!=b[p])return!1;for(p=g.length-1;p>=0;p--)if(y=g[p],!l(d[y],h[y],m))return!1;return typeof d==typeof h}},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(1),i=function(){function s(l,u,c){c===void 0&&(c={}),this.attrName=l,this.keyName=u;var f=o.Scope.TYPE&o.Scope.ATTRIBUTE;c.scope!=null?this.scope=c.scope&o.Scope.LEVEL|f:this.scope=o.Scope.ATTRIBUTE,c.whitelist!=null&&(this.whitelist=c.whitelist)}return s.keys=function(l){return[].map.call(l.attributes,function(u){return u.name})},s.prototype.add=function(l,u){return this.canAdd(l,u)?(l.setAttribute(this.keyName,u),!0):!1},s.prototype.canAdd=function(l,u){var c=o.query(l,o.Scope.BLOT&(this.scope|o.Scope.TYPE));return c==null?!1:this.whitelist==null?!0:typeof u=="string"?this.whitelist.indexOf(u.replace(/["']/g,""))>-1:this.whitelist.indexOf(u)>-1},s.prototype.remove=function(l){l.removeAttribute(this.keyName)},s.prototype.value=function(l){var u=l.getAttribute(this.keyName);return this.canAdd(l,u)&&u?u:""},s}();r.default=i},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Code=void 0;var o=function(){function R(N,O){var A=[],T=!0,P=!1,M=void 0;try{for(var k=N[Symbol.iterator](),F;!(T=(F=k.next()).done)&&(A.push(F.value),!(O&&A.length===O));T=!0);}catch(I){P=!0,M=I}finally{try{!T&&k.return&&k.return()}finally{if(P)throw M}}return A}return function(N,O){if(Array.isArray(N))return N;if(Symbol.iterator in Object(N))return R(N,O);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function R(N,O){for(var A=0;A=A+T)){var F=this.newlineIndex(A,!0)+1,I=k-F+1,V=this.isolate(F,I),H=V.next;V.format(P,M),H instanceof N&&H.formatAt(0,A-F+T-I,P,M)}}}},{key:"insertAt",value:function(A,T,P){if(P==null){var M=this.descendant(g.default,A),k=o(M,2),F=k[0],I=k[1];F.insertAt(I,T)}}},{key:"length",value:function(){var A=this.domNode.textContent.length;return this.domNode.textContent.endsWith(` `)?A:A+1}},{key:"newlineIndex",value:function(A){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(T)return this.domNode.textContent.slice(0,A).lastIndexOf(` `);var P=this.domNode.textContent.slice(A).indexOf(` `);return P>-1?A+P:-1}},{key:"optimize",value:function(A){this.domNode.textContent.endsWith(` `)||this.appendChild(f.default.create("text",` `)),s(N.prototype.__proto__||Object.getPrototypeOf(N.prototype),"optimize",this).call(this,A);var T=this.next;T!=null&&T.prev===this&&T.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===T.statics.formats(T.domNode)&&(T.optimize(A),T.moveChildren(this),T.remove())}},{key:"replace",value:function(A){s(N.prototype.__proto__||Object.getPrototypeOf(N.prototype),"replace",this).call(this,A),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(T){var P=f.default.find(T);P==null?T.parentNode.removeChild(T):P instanceof f.default.Embed?P.remove():P.unwrap()})}}],[{key:"create",value:function(A){var T=s(N.__proto__||Object.getPrototypeOf(N),"create",this).call(this,A);return T.setAttribute("spellcheck",!1),T}},{key:"formats",value:function(){return!0}}]),N}(h.default);S.blotName="code-block",S.tagName="PRE",S.TAB=" ",r.Code=C,r.default=S},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},i=function(){function H(j,L){var U=[],z=!0,Z=!1,$=void 0;try{for(var W=j[Symbol.iterator](),K;!(z=(K=W.next()).done)&&(U.push(K.value),!(L&&U.length===L));z=!0);}catch(ee){Z=!0,$=ee}finally{try{!z&&W.return&&W.return()}finally{if(Z)throw $}}return U}return function(j,L){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return H(j,L);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function H(j,L){for(var U=0;U=Z&&!q.endsWith(` `)&&(z=!0),U.scroll.insertAt($,q);var Q=U.scroll.line($),ie=i(Q,2),se=ie[0],le=ie[1],ue=(0,A.default)({},(0,b.bubbleFormats)(se));if(se instanceof x.default){var ge=se.descendant(h.default.Leaf,le),Oe=i(ge,1),Ne=Oe[0];ue=(0,A.default)(ue,(0,b.bubbleFormats)(Ne))}ee=f.default.attributes.diff(ue,ee)||{}}else if(o(W.insert)==="object"){var ye=Object.keys(W.insert)[0];if(ye==null)return $;U.scroll.insertAt($,ye,W.insert[ye])}Z+=K}return Object.keys(ee).forEach(function(ve){U.scroll.formatAt($,K,ve,ee[ve])}),$+K},0),L.reduce(function($,W){return typeof W.delete=="number"?(U.scroll.deleteAt($,W.delete),$):$+(W.retain||W.insert.length||1)},0),this.scroll.batchEnd(),this.update(L)}},{key:"deleteText",value:function(L,U){return this.scroll.deleteAt(L,U),this.update(new u.default().retain(L).delete(U))}},{key:"formatLine",value:function(L,U){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.scroll.update(),Object.keys(Z).forEach(function($){if(!(z.scroll.whitelist!=null&&!z.scroll.whitelist[$])){var W=z.scroll.lines(L,Math.max(U,1)),K=U;W.forEach(function(ee){var q=ee.length();if(!(ee instanceof p.default))ee.format($,Z[$]);else{var Q=L-ee.offset(z.scroll),ie=ee.newlineIndex(Q+K)-Q+1;ee.formatAt(Q,ie,$,Z[$])}K-=q})}}),this.scroll.optimize(),this.update(new u.default().retain(L).retain(U,(0,S.default)(Z)))}},{key:"formatText",value:function(L,U){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(Z).forEach(function($){z.scroll.formatAt(L,U,$,Z[$])}),this.update(new u.default().retain(L).retain(U,(0,S.default)(Z)))}},{key:"getContents",value:function(L,U){return this.delta.slice(L,L+U)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(L,U){return L.concat(U.delta())},new u.default)}},{key:"getFormat",value:function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=[],Z=[];U===0?this.scroll.path(L).forEach(function(W){var K=i(W,1),ee=K[0];ee instanceof x.default?z.push(ee):ee instanceof h.default.Leaf&&Z.push(ee)}):(z=this.scroll.lines(L,U),Z=this.scroll.descendants(h.default.Leaf,L,U));var $=[z,Z].map(function(W){if(W.length===0)return{};for(var K=(0,b.bubbleFormats)(W.shift());Object.keys(K).length>0;){var ee=W.shift();if(ee==null)return K;K=I((0,b.bubbleFormats)(ee),K)}return K});return A.default.apply(A.default,$)}},{key:"getText",value:function(L,U){return this.getContents(L,U).filter(function(z){return typeof z.insert=="string"}).map(function(z){return z.insert}).join("")}},{key:"insertEmbed",value:function(L,U,z){return this.scroll.insertAt(L,U,z),this.update(new u.default().retain(L).insert(P({},U,z)))}},{key:"insertText",value:function(L,U){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return U=U.replace(/\r\n/g,` `).replace(/\r/g,` `),this.scroll.insertAt(L,U),Object.keys(Z).forEach(function($){z.scroll.formatAt(L,U.length,$,Z[$])}),this.update(new u.default().retain(L).insert(U,(0,S.default)(Z)))}},{key:"isBlank",value:function(){if(this.scroll.children.length==0)return!0;if(this.scroll.children.length>1)return!1;var L=this.scroll.children.head;return L.statics.blotName!==x.default.blotName||L.children.length>1?!1:L.children.head instanceof _.default}},{key:"removeFormat",value:function(L,U){var z=this.getText(L,U),Z=this.scroll.line(L+U),$=i(Z,2),W=$[0],K=$[1],ee=0,q=new u.default;W!=null&&(W instanceof p.default?ee=W.newlineIndex(K)-K+1:ee=W.length()-K,q=W.delta().slice(K,K+ee-1).insert(` `));var Q=this.getContents(L,U+ee),ie=Q.diff(new u.default().insert(z).concat(q)),se=new u.default().retain(L).concat(ie);return this.applyDelta(se)}},{key:"update",value:function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,Z=this.delta;if(U.length===1&&U[0].type==="characterData"&&U[0].target.data.match(k)&&h.default.find(U[0].target)){var $=h.default.find(U[0].target),W=(0,b.bubbleFormats)($),K=$.offset(this.scroll),ee=U[0].oldValue.replace(g.default.CONTENTS,""),q=new u.default().insert(ee),Q=new u.default().insert($.value()),ie=new u.default().retain(K).concat(q.diff(Q,z));L=ie.reduce(function(se,le){return le.insert?se.insert(le.insert,W):se.push(le)},new u.default),this.delta=Z.compose(L)}else this.delta=this.getDelta(),(!L||!(0,N.default)(Z.compose(L),this.delta))&&(L=Z.diff(this.delta,z));return L}}]),H}();function I(H,j){return Object.keys(j).reduce(function(L,U){return H[U]==null||(j[U]===H[U]?L[U]=j[U]:Array.isArray(j[U])?j[U].indexOf(H[U])<0&&(L[U]=j[U].concat([H[U]])):L[U]=[j[U],H[U]]),L},{})}function V(H){return H.reduce(function(j,L){if(L.insert===1){var U=(0,S.default)(L.attributes);return delete U.image,j.insert({image:L.attributes.image},U)}if(L.attributes!=null&&(L.attributes.list===!0||L.attributes.bullet===!0)&&(L=(0,S.default)(L),L.attributes.list?L.attributes.list="ordered":(L.attributes.list="bullet",delete L.attributes.bullet)),typeof L.insert=="string"){var z=L.insert.replace(/\r\n/g,` `).replace(/\r/g,` `);return j.insert(z,L.attributes)}return j.push(L)},new u.default)}r.default=F},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Range=void 0;var o=function(){function R(N,O){var A=[],T=!0,P=!1,M=void 0;try{for(var k=N[Symbol.iterator](),F;!(T=(F=k.next()).done)&&(A.push(F.value),!(O&&A.length===O));T=!0);}catch(I){P=!0,M=I}finally{try{!T&&k.return&&k.return()}finally{if(P)throw M}}return A}return function(N,O){if(Array.isArray(N))return N;if(Symbol.iterator in Object(N))return R(N,O);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function R(N,O){for(var A=0;A1&&arguments[1]!==void 0?arguments[1]:0;x(this,R),this.index=N,this.length=O},C=function(){function R(N,O){var A=this;x(this,R),this.emitter=O,this.scroll=N,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=l.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){A.mouseDown||setTimeout(A.update.bind(A,m.default.sources.USER),1)}),this.emitter.on(m.default.events.EDITOR_CHANGE,function(T,P){T===m.default.events.TEXT_CHANGE&&P.length()>0&&A.update(m.default.sources.SILENT)}),this.emitter.on(m.default.events.SCROLL_BEFORE_UPDATE,function(){if(A.hasFocus()){var T=A.getNativeRange();T!=null&&T.start.node!==A.cursor.textNode&&A.emitter.once(m.default.events.SCROLL_UPDATE,function(){try{A.setNativeRange(T.start.node,T.start.offset,T.end.node,T.end.offset)}catch{}})}}),this.emitter.on(m.default.events.SCROLL_OPTIMIZE,function(T,P){if(P.range){var M=P.range,k=M.startNode,F=M.startOffset,I=M.endNode,V=M.endOffset;A.setNativeRange(k,F,I,V)}}),this.update(m.default.sources.SILENT)}return i(R,[{key:"handleComposition",value:function(){var O=this;this.root.addEventListener("compositionstart",function(){O.composing=!0}),this.root.addEventListener("compositionend",function(){if(O.composing=!1,O.cursor.parent){var A=O.cursor.restore();if(!A)return;setTimeout(function(){O.setNativeRange(A.startNode,A.startOffset,A.endNode,A.endOffset)},1)}})}},{key:"handleDragging",value:function(){var O=this;this.emitter.listenDOM("mousedown",document.body,function(){O.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){O.mouseDown=!1,O.update(m.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(O,A){if(!(this.scroll.whitelist!=null&&!this.scroll.whitelist[O])){this.scroll.update();var T=this.getNativeRange();if(!(T==null||!T.native.collapsed||l.default.query(O,l.default.Scope.BLOCK))){if(T.start.node!==this.cursor.textNode){var P=l.default.find(T.start.node,!1);if(P==null)return;if(P instanceof l.default.Leaf){var M=P.split(T.start.offset);P.parent.insertBefore(this.cursor,M)}else P.insertBefore(this.cursor,T.start.node);this.cursor.attach()}this.cursor.format(O,A),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(O){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=this.scroll.length();O=Math.min(O,T-1),A=Math.min(O+A,T-1)-O;var P=void 0,M=this.scroll.leaf(O),k=o(M,2),F=k[0],I=k[1];if(F==null)return null;var V=F.position(I,!0),H=o(V,2);P=H[0],I=H[1];var j=document.createRange();if(A>0){j.setStart(P,I);var L=this.scroll.leaf(O+A),U=o(L,2);if(F=U[0],I=U[1],F==null)return null;var z=F.position(I,!0),Z=o(z,2);return P=Z[0],I=Z[1],j.setEnd(P,I),j.getBoundingClientRect()}else{var $="left",W=void 0;return P instanceof Text?(I0&&($="right")),{bottom:W.top+W.height,height:W.height,left:W[$],right:W[$],top:W.top,width:0}}}},{key:"getNativeRange",value:function(){var O=document.getSelection();if(O==null||O.rangeCount<=0)return null;var A=O.getRangeAt(0);if(A==null)return null;var T=this.normalizeNative(A);return w.info("getNativeRange",T),T}},{key:"getRange",value:function(){var O=this.getNativeRange();if(O==null)return[null,null];var A=this.normalizedToRange(O);return[A,O]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(O){var A=this,T=[[O.start.node,O.start.offset]];O.native.collapsed||T.push([O.end.node,O.end.offset]);var P=T.map(function(F){var I=o(F,2),V=I[0],H=I[1],j=l.default.find(V,!0),L=j.offset(A.scroll);return H===0?L:j instanceof l.default.Container?L+j.length():L+j.index(V,H)}),M=Math.min(Math.max.apply(Math,b(P)),this.scroll.length()-1),k=Math.min.apply(Math,[M].concat(b(P)));return new _(k,M-k)}},{key:"normalizeNative",value:function(O){if(!S(this.root,O.startContainer)||!O.collapsed&&!S(this.root,O.endContainer))return null;var A={start:{node:O.startContainer,offset:O.startOffset},end:{node:O.endContainer,offset:O.endOffset},native:O};return[A.start,A.end].forEach(function(T){for(var P=T.node,M=T.offset;!(P instanceof Text)&&P.childNodes.length>0;)if(P.childNodes.length>M)P=P.childNodes[M],M=0;else if(P.childNodes.length===M)P=P.lastChild,M=P instanceof Text?P.data.length:P.childNodes.length+1;else break;T.node=P,T.offset=M}),A}},{key:"rangeToNative",value:function(O){var A=this,T=O.collapsed?[O.index]:[O.index,O.index+O.length],P=[],M=this.scroll.length();return T.forEach(function(k,F){k=Math.min(M-1,k);var I=void 0,V=A.scroll.leaf(k),H=o(V,2),j=H[0],L=H[1],U=j.position(L,F!==0),z=o(U,2);I=z[0],L=z[1],P.push(I,L)}),P.length<2&&(P=P.concat(P)),P}},{key:"scrollIntoView",value:function(O){var A=this.lastRange;if(A!=null){var T=this.getBounds(A.index,A.length);if(T!=null){var P=this.scroll.length()-1,M=this.scroll.line(Math.min(A.index,P)),k=o(M,1),F=k[0],I=F;if(A.length>0){var V=this.scroll.line(Math.min(A.index+A.length,P)),H=o(V,1);I=H[0]}if(!(F==null||I==null)){var j=O.getBoundingClientRect();T.topj.bottom&&(O.scrollTop+=T.bottom-j.bottom)}}}}},{key:"setNativeRange",value:function(O,A){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:O,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:A,M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(w.info("setNativeRange",O,A,T,P),!(O!=null&&(this.root.parentNode==null||O.parentNode==null||T.parentNode==null))){var k=document.getSelection();if(k!=null)if(O!=null){this.hasFocus()||this.root.focus();var F=(this.getNativeRange()||{}).native;if(F==null||M||O!==F.startContainer||A!==F.startOffset||T!==F.endContainer||P!==F.endOffset){O.tagName=="BR"&&(A=[].indexOf.call(O.parentNode.childNodes,O),O=O.parentNode),T.tagName=="BR"&&(P=[].indexOf.call(T.parentNode.childNodes,T),T=T.parentNode);var I=document.createRange();I.setStart(O,A),I.setEnd(T,P),k.removeAllRanges(),k.addRange(I)}}else k.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(O){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m.default.sources.API;if(typeof A=="string"&&(T=A,A=!1),w.info("setRange",O),O!=null){var P=this.rangeToNative(O);this.setNativeRange.apply(this,b(P).concat([A]))}else this.setNativeRange(null);this.update(T)}},{key:"update",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.default.sources.USER,A=this.lastRange,T=this.getRange(),P=o(T,2),M=P[0],k=P[1];if(this.lastRange=M,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,d.default)(A,this.lastRange)){var F;!this.composing&&k!=null&&k.native.collapsed&&k.start.node!==this.cursor.textNode&&this.cursor.restore();var I=[m.default.events.SELECTION_CHANGE,(0,c.default)(this.lastRange),(0,c.default)(A),O];if((F=this.emitter).emit.apply(F,[m.default.events.EDITOR_CHANGE].concat(I)),O!==m.default.sources.SILENT){var V;(V=this.emitter).emit.apply(V,I)}}}}]),R}();function S(R,N){try{N.parentNode}catch{return!1}return N instanceof Text&&(N=N.parentNode),R.contains(N)}r.Range=_,r.default=C},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(p,y){for(var g=0;g0&&(h+=1),[this.parent.domNode,h]},c.prototype.value=function(){var f;return f={},f[this.statics.blotName]=this.statics.value(this.domNode)||!0,f},c.scope=s.Scope.INLINE_BLOT,c}(i.default);r.default=l},function(n,r,a){var o=a(11),i=a(3),s={attributes:{compose:function(u,c,f){typeof u!="object"&&(u={}),typeof c!="object"&&(c={});var d=i(!0,{},c);f||(d=Object.keys(d).reduce(function(m,p){return d[p]!=null&&(m[p]=d[p]),m},{}));for(var h in u)u[h]!==void 0&&c[h]===void 0&&(d[h]=u[h]);return Object.keys(d).length>0?d:void 0},diff:function(u,c){typeof u!="object"&&(u={}),typeof c!="object"&&(c={});var f=Object.keys(u).concat(Object.keys(c)).reduce(function(d,h){return o(u[h],c[h])||(d[h]=c[h]===void 0?null:c[h]),d},{});return Object.keys(f).length>0?f:void 0},transform:function(u,c,f){if(typeof u!="object")return c;if(typeof c=="object"){if(!f)return c;var d=Object.keys(c).reduce(function(h,m){return u[m]===void 0&&(h[m]=c[m]),h},{});return Object.keys(d).length>0?d:void 0}}},iterator:function(u){return new l(u)},length:function(u){return typeof u.delete=="number"?u.delete:typeof u.retain=="number"?u.retain:typeof u.insert=="string"?u.insert.length:1}};function l(u){this.ops=u,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(u){u||(u=1/0);var c=this.ops[this.index];if(c){var f=this.offset,d=s.length(c);if(u>=d-f?(u=d-f,this.index+=1,this.offset=0):this.offset+=u,typeof c.delete=="number")return{delete:u};var h={};return c.attributes&&(h.attributes=c.attributes),typeof c.retain=="number"?h.retain=u:typeof c.insert=="string"?h.insert=c.insert.substr(f,u):h.insert=c.insert,h}else return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?s.length(this.ops[this.index])-this.offset:1/0},l.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},l.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var u=this.offset,c=this.index,f=this.next(),d=this.ops.slice(this.index);return this.offset=u,this.index=c,[f].concat(d)}else return[]},n.exports=s},function(n,r){var a=function(){"use strict";function o(p,y){return y!=null&&p instanceof y}var i;try{i=Map}catch{i=function(){}}var s;try{s=Set}catch{s=function(){}}var l;try{l=Promise}catch{l=function(){}}function u(p,y,g,b,x){typeof y=="object"&&(g=y.depth,b=y.prototype,x=y.includeNonEnumerable,y=y.circular);var w=[],_=[],C=typeof Buffer<"u";typeof y>"u"&&(y=!0),typeof g>"u"&&(g=1/0);function S(R,N){if(R===null)return null;if(N===0)return R;var O,A;if(typeof R!="object")return R;if(o(R,i))O=new i;else if(o(R,s))O=new s;else if(o(R,l))O=new l(function(j,L){R.then(function(U){j(S(U,N-1))},function(U){L(S(U,N-1))})});else if(u.__isArray(R))O=[];else if(u.__isRegExp(R))O=new RegExp(R.source,m(R)),R.lastIndex&&(O.lastIndex=R.lastIndex);else if(u.__isDate(R))O=new Date(R.getTime());else{if(C&&Buffer.isBuffer(R))return Buffer.allocUnsafe?O=Buffer.allocUnsafe(R.length):O=new Buffer(R.length),R.copy(O),O;o(R,Error)?O=Object.create(R):typeof b>"u"?(A=Object.getPrototypeOf(R),O=Object.create(A)):(O=Object.create(b),A=b)}if(y){var T=w.indexOf(R);if(T!=-1)return _[T];w.push(R),_.push(O)}o(R,i)&&R.forEach(function(j,L){var U=S(L,N-1),z=S(j,N-1);O.set(U,z)}),o(R,s)&&R.forEach(function(j){var L=S(j,N-1);O.add(L)});for(var P in R){var M;A&&(M=Object.getOwnPropertyDescriptor(A,P)),!(M&&M.set==null)&&(O[P]=S(R[P],N-1))}if(Object.getOwnPropertySymbols)for(var k=Object.getOwnPropertySymbols(R),P=0;P0){if(I instanceof d.BlockEmbed||L instanceof d.BlockEmbed){this.optimize();return}if(I instanceof g.default){var U=I.newlineIndex(I.length(),!0);if(U>-1&&(I=I.split(U+1),I===L)){this.optimize();return}}else if(L instanceof g.default){var z=L.newlineIndex(0);z>-1&&L.split(z+1)}var Z=L.children.head instanceof p.default?null:L.children.head;I.moveChildren(L,Z),I.remove()}this.optimize()}},{key:"enable",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",P)}},{key:"formatAt",value:function(P,M,k,F){this.whitelist!=null&&!this.whitelist[k]||(s(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"formatAt",this).call(this,P,M,k,F),this.optimize())}},{key:"insertAt",value:function(P,M,k){if(!(k!=null&&this.whitelist!=null&&!this.whitelist[M])){if(P>=this.length())if(k==null||u.default.query(M,u.default.Scope.BLOCK)==null){var F=u.default.create(this.statics.defaultChild);this.appendChild(F),k==null&&M.endsWith(` `)&&(M=M.slice(0,-1)),F.insertAt(0,M,k)}else{var I=u.default.create(M,k);this.appendChild(I)}else s(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"insertAt",this).call(this,P,M,k);this.optimize()}}},{key:"insertBefore",value:function(P,M){if(P.statics.scope===u.default.Scope.INLINE_BLOT){var k=u.default.create(this.statics.defaultChild);k.appendChild(P),P=k}s(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"insertBefore",this).call(this,P,M)}},{key:"leaf",value:function(P){return this.path(P).pop()||[null,-1]}},{key:"line",value:function(P){return P===this.length()?this.line(P-1):this.descendant(R,P)}},{key:"lines",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,k=function F(I,V,H){var j=[],L=H;return I.children.forEachAt(V,H,function(U,z,Z){R(U)?j.push(U):U instanceof u.default.Container&&(j=j.concat(F(U,z,L))),L-=Z}),j};return k(this,P,M)}},{key:"optimize",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch!==!0&&(s(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"optimize",this).call(this,P,M),P.length>0&&this.emitter.emit(f.default.events.SCROLL_OPTIMIZE,P,M))}},{key:"path",value:function(P){return s(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"path",this).call(this,P).slice(1)}},{key:"update",value:function(P){if(this.batch!==!0){var M=f.default.sources.USER;typeof P=="string"&&(M=P),Array.isArray(P)||(P=this.observer.takeRecords()),P.length>0&&this.emitter.emit(f.default.events.SCROLL_BEFORE_UPDATE,M,P),s(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"update",this).call(this,P.concat([])),P.length>0&&this.emitter.emit(f.default.events.SCROLL_UPDATE,M,P)}}}]),A}(u.default.Scroll);N.blotName="scroll",N.className="ql-editor",N.tagName="DIV",N.defaultChild="block",N.allowedChildren=[h.default,d.BlockEmbed,x.default],r.default=N},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SHORTKEY=r.default=void 0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},i=function(){function W(K,ee){var q=[],Q=!0,ie=!1,se=void 0;try{for(var le=K[Symbol.iterator](),ue;!(Q=(ue=le.next()).done)&&(q.push(ue.value),!(ee&&q.length===ee));Q=!0);}catch(ge){ie=!0,se=ge}finally{try{!Q&&le.return&&le.return()}finally{if(ie)throw se}}return q}return function(K,ee){if(Array.isArray(K))return K;if(Symbol.iterator in Object(K))return W(K,ee);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function W(K,ee){for(var q=0;q1&&arguments[1]!==void 0?arguments[1]:{},ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=$(q);if(se==null||se.key==null)return k.warn("Attempted to add invalid keyboard binding",se);typeof Q=="function"&&(Q={handler:Q}),typeof ie=="function"&&(ie={handler:ie}),se=(0,h.default)(se,Q,ie),this.bindings[se.key]=this.bindings[se.key]||[],this.bindings[se.key].push(se)}},{key:"listen",value:function(){var q=this;this.quill.root.addEventListener("keydown",function(Q){if(!Q.defaultPrevented){var ie=Q.which||Q.keyCode,se=(q.bindings[ie]||[]).filter(function(fe){return K.match(Q,fe)});if(se.length!==0){var le=q.quill.getSelection();if(!(le==null||!q.quill.hasFocus())){var ue=q.quill.getLine(le.index),ge=i(ue,2),Oe=ge[0],Ne=ge[1],ye=q.quill.getLeaf(le.index),ve=i(ye,2),J=ve[0],oe=ve[1],re=le.length===0?[J,oe]:q.quill.getLeaf(le.index+le.length),we=i(re,2),Ae=we[0],Ee=we[1],G=J instanceof x.default.Text?J.value().slice(0,oe):"",Y=Ae instanceof x.default.Text?Ae.value().slice(Ee):"",ae={collapsed:le.length===0,empty:le.length===0&&Oe.length()<=1,format:q.quill.getFormat(le),offset:Ne,prefix:G,suffix:Y},pe=se.some(function(fe){if(fe.collapsed!=null&&fe.collapsed!==ae.collapsed||fe.empty!=null&&fe.empty!==ae.empty||fe.offset!=null&&fe.offset!==ae.offset)return!1;if(Array.isArray(fe.format)){if(fe.format.every(function(de){return ae.format[de]==null}))return!1}else if(o(fe.format)==="object"&&!Object.keys(fe.format).every(function(de){return fe.format[de]===!0?ae.format[de]!=null:fe.format[de]===!1?ae.format[de]==null:(0,f.default)(fe.format[de],ae.format[de])}))return!1;return fe.prefix!=null&&!fe.prefix.test(ae.prefix)||fe.suffix!=null&&!fe.suffix.test(ae.suffix)?!1:fe.handler.call(q,le,ae)!==!0});pe&&Q.preventDefault()}}}})}}]),K}(N.default);I.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},I.DEFAULTS={bindings:{bold:Z("bold"),italic:Z("italic"),underline:Z("underline"),indent:{key:I.keys.TAB,format:["blockquote","indent","list"],handler:function(K,ee){if(ee.collapsed&&ee.offset!==0)return!0;this.quill.format("indent","+1",_.default.sources.USER)}},outdent:{key:I.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(K,ee){if(ee.collapsed&&ee.offset!==0)return!0;this.quill.format("indent","-1",_.default.sources.USER)}},"outdent backspace":{key:I.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(K,ee){ee.format.indent!=null?this.quill.format("indent","-1",_.default.sources.USER):ee.format.list!=null&&this.quill.format("list",!1,_.default.sources.USER)}},"indent code-block":z(!0),"outdent code-block":z(!1),"remove tab":{key:I.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(K){this.quill.deleteText(K.index-1,1,_.default.sources.USER)}},tab:{key:I.keys.TAB,handler:function(K){this.quill.history.cutoff();var ee=new p.default().retain(K.index).delete(K.length).insert(" ");this.quill.updateContents(ee,_.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(K.index+1,_.default.sources.SILENT)}},"list empty enter":{key:I.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(K,ee){this.quill.format("list",!1,_.default.sources.USER),ee.format.indent&&this.quill.format("indent",!1,_.default.sources.USER)}},"checklist enter":{key:I.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(K){var ee=this.quill.getLine(K.index),q=i(ee,2),Q=q[0],ie=q[1],se=(0,h.default)({},Q.formats(),{list:"checked"}),le=new p.default().retain(K.index).insert(` `,se).retain(Q.length()-ie-1).retain(1,{list:"unchecked"});this.quill.updateContents(le,_.default.sources.USER),this.quill.setSelection(K.index+1,_.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:I.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(K,ee){var q=this.quill.getLine(K.index),Q=i(q,2),ie=Q[0],se=Q[1],le=new p.default().retain(K.index).insert(` `,ee.format).retain(ie.length()-se-1).retain(1,{header:null});this.quill.updateContents(le,_.default.sources.USER),this.quill.setSelection(K.index+1,_.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(K,ee){var q=ee.prefix.length,Q=this.quill.getLine(K.index),ie=i(Q,2),se=ie[0],le=ie[1];if(le>q)return!0;var ue=void 0;switch(ee.prefix.trim()){case"[]":case"[ ]":ue="unchecked";break;case"[x]":ue="checked";break;case"-":case"*":ue="bullet";break;default:ue="ordered"}this.quill.insertText(K.index," ",_.default.sources.USER),this.quill.history.cutoff();var ge=new p.default().retain(K.index-le).delete(q+1).retain(se.length()-2-le).retain(1,{list:ue});this.quill.updateContents(ge,_.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(K.index-q,_.default.sources.SILENT)}},"code exit":{key:I.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(K){var ee=this.quill.getLine(K.index),q=i(ee,2),Q=q[0],ie=q[1],se=new p.default().retain(K.index+Q.length()-ie-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(se,_.default.sources.USER)}},"embed left":V(I.keys.LEFT,!1),"embed left shift":V(I.keys.LEFT,!0),"embed right":V(I.keys.RIGHT,!1),"embed right shift":V(I.keys.RIGHT,!0)}};function V(W,K){var ee,q=W===I.keys.LEFT?"prefix":"suffix";return ee={key:W,shiftKey:K,altKey:null},A(ee,q,/^$/),A(ee,"handler",function(ie){var se=ie.index;W===I.keys.RIGHT&&(se+=ie.length+1);var le=this.quill.getLeaf(se),ue=i(le,1),ge=ue[0];return ge instanceof x.default.Embed?(W===I.keys.LEFT?K?this.quill.setSelection(ie.index-1,ie.length+1,_.default.sources.USER):this.quill.setSelection(ie.index-1,_.default.sources.USER):K?this.quill.setSelection(ie.index,ie.length+1,_.default.sources.USER):this.quill.setSelection(ie.index+ie.length+1,_.default.sources.USER),!1):!0}),ee}function H(W,K){if(!(W.index===0||this.quill.getLength()<=1)){var ee=this.quill.getLine(W.index),q=i(ee,1),Q=q[0],ie={};if(K.offset===0){var se=this.quill.getLine(W.index-1),le=i(se,1),ue=le[0];if(ue!=null&&ue.length()>1){var ge=Q.formats(),Oe=this.quill.getFormat(W.index-1,1);ie=g.default.attributes.diff(ge,Oe)||{}}}var Ne=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(K.prefix)?2:1;this.quill.deleteText(W.index-Ne,Ne,_.default.sources.USER),Object.keys(ie).length>0&&this.quill.formatLine(W.index-Ne,Ne,ie,_.default.sources.USER),this.quill.focus()}}function j(W,K){var ee=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(K.suffix)?2:1;if(!(W.index>=this.quill.getLength()-ee)){var q={},Q=0,ie=this.quill.getLine(W.index),se=i(ie,1),le=se[0];if(K.offset>=le.length()-1){var ue=this.quill.getLine(W.index+1),ge=i(ue,1),Oe=ge[0];if(Oe){var Ne=le.formats(),ye=this.quill.getFormat(W.index,1);q=g.default.attributes.diff(Ne,ye)||{},Q=Oe.length()}}this.quill.deleteText(W.index,ee,_.default.sources.USER),Object.keys(q).length>0&&this.quill.formatLine(W.index+Q-1,ee,q,_.default.sources.USER)}}function L(W){var K=this.quill.getLines(W),ee={};if(K.length>1){var q=K[0].formats(),Q=K[K.length-1].formats();ee=g.default.attributes.diff(Q,q)||{}}this.quill.deleteText(W,_.default.sources.USER),Object.keys(ee).length>0&&this.quill.formatLine(W.index,1,ee,_.default.sources.USER),this.quill.setSelection(W.index,_.default.sources.SILENT),this.quill.focus()}function U(W,K){var ee=this;W.length>0&&this.quill.scroll.deleteAt(W.index,W.length);var q=Object.keys(K.format).reduce(function(Q,ie){return x.default.query(ie,x.default.Scope.BLOCK)&&!Array.isArray(K.format[ie])&&(Q[ie]=K.format[ie]),Q},{});this.quill.insertText(W.index,` `,q,_.default.sources.USER),this.quill.setSelection(W.index+1,_.default.sources.SILENT),this.quill.focus(),Object.keys(K.format).forEach(function(Q){q[Q]==null&&(Array.isArray(K.format[Q])||Q!=="link"&&ee.quill.format(Q,K.format[Q],_.default.sources.USER))})}function z(W){return{key:I.keys.TAB,shiftKey:!W,format:{"code-block":!0},handler:function(ee){var q=x.default.query("code-block"),Q=ee.index,ie=ee.length,se=this.quill.scroll.descendant(q,Q),le=i(se,2),ue=le[0],ge=le[1];if(ue!=null){var Oe=this.quill.getIndex(ue),Ne=ue.newlineIndex(ge,!0)+1,ye=ue.newlineIndex(Oe+ge+ie),ve=ue.domNode.textContent.slice(Ne,ye).split(` `);ge=0,ve.forEach(function(J,oe){W?(ue.insertAt(Ne+ge,q.TAB),ge+=q.TAB.length,oe===0?Q+=q.TAB.length:ie+=q.TAB.length):J.startsWith(q.TAB)&&(ue.deleteAt(Ne+ge,q.TAB.length),ge-=q.TAB.length,oe===0?Q-=q.TAB.length:ie-=q.TAB.length),ge+=J.length+1}),this.quill.update(_.default.sources.USER),this.quill.setSelection(Q,ie,_.default.sources.SILENT)}}}}function Z(W){return{key:W[0].toUpperCase(),shortKey:!0,handler:function(ee,q){this.quill.format(W,!q.format[W],_.default.sources.USER)}}}function $(W){if(typeof W=="string"||typeof W=="number")return $({key:W});if((typeof W>"u"?"undefined":o(W))==="object"&&(W=(0,u.default)(W,!1)),typeof W.key=="string")if(I.keys[W.key.toUpperCase()]!=null)W.key=I.keys[W.key.toUpperCase()];else if(W.key.length===1)W.key=W.key.toUpperCase().charCodeAt(0);else return null;return W.shortKey&&(W[F]=W.shortKey,delete W.shortKey),W}r.default=I,r.SHORTKEY=F},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function g(b,x){var w=[],_=!0,C=!1,S=void 0;try{for(var R=b[Symbol.iterator](),N;!(_=(N=R.next()).done)&&(w.push(N.value),!(x&&w.length===x));_=!0);}catch(O){C=!0,S=O}finally{try{!_&&R.return&&R.return()}finally{if(C)throw S}}return w}return function(b,x){if(Array.isArray(b))return b;if(Symbol.iterator in Object(b))return g(b,x);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function g(b,x,w){b===null&&(b=Function.prototype);var _=Object.getOwnPropertyDescriptor(b,x);if(_===void 0){var C=Object.getPrototypeOf(b);return C===null?void 0:g(C,x,w)}else{if("value"in _)return _.value;var S=_.get;return S===void 0?void 0:S.call(w)}},s=function(){function g(b,x){for(var w=0;w-1}r.default=h,r.sanitize=m},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},i=function(){function y(g,b){for(var x=0;x1&&arguments[1]!==void 0?arguments[1]:!1,w=this.container.querySelector(".ql-selected");if(b!==w&&(w?.classList.remove("ql-selected"),b!=null&&(b.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(b.parentNode.children,b),b.hasAttribute("data-value")?this.label.setAttribute("data-value",b.getAttribute("data-value")):this.label.removeAttribute("data-value"),b.hasAttribute("data-label")?this.label.setAttribute("data-label",b.getAttribute("data-label")):this.label.removeAttribute("data-label"),x))){if(typeof Event=="function")this.select.dispatchEvent(new Event("change"));else if((typeof Event>"u"?"undefined":o(Event))==="object"){var _=document.createEvent("Event");_.initEvent("change",!0,!0),this.select.dispatchEvent(_)}this.close()}}},{key:"update",value:function(){var b=void 0;if(this.select.selectedIndex>-1){var x=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];b=this.select.options[this.select.selectedIndex],this.selectItem(x)}else this.selectItem(null);var w=b!=null&&b!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",w)}}]),y}();r.default=p},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(0),i=k(o),s=a(5),l=k(s),u=a(4),c=k(u),f=a(16),d=k(f),h=a(25),m=k(h),p=a(24),y=k(p),g=a(35),b=k(g),x=a(6),w=k(x),_=a(22),C=k(_),S=a(7),R=k(S),N=a(55),O=k(N),A=a(42),T=k(A),P=a(23),M=k(P);function k(F){return F&&F.__esModule?F:{default:F}}l.default.register({"blots/block":c.default,"blots/block/embed":u.BlockEmbed,"blots/break":d.default,"blots/container":m.default,"blots/cursor":y.default,"blots/embed":b.default,"blots/inline":w.default,"blots/scroll":C.default,"blots/text":R.default,"modules/clipboard":O.default,"modules/history":T.default,"modules/keyboard":M.default}),i.default.register(c.default,d.default,y.default,w.default,C.default,R.default),r.default=l.default},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(1),i=function(){function s(l){this.domNode=l,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(s.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),s.create=function(l){if(this.tagName==null)throw new o.ParchmentError("Blot definition missing tagName");var u;return Array.isArray(this.tagName)?(typeof l=="string"&&(l=l.toUpperCase(),parseInt(l).toString()===l&&(l=parseInt(l))),typeof l=="number"?u=document.createElement(this.tagName[l-1]):this.tagName.indexOf(l)>-1?u=document.createElement(l):u=document.createElement(this.tagName[0])):u=document.createElement(this.tagName),this.className&&u.classList.add(this.className),u},s.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},s.prototype.clone=function(){var l=this.domNode.cloneNode(!1);return o.create(l)},s.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},s.prototype.deleteAt=function(l,u){var c=this.isolate(l,u);c.remove()},s.prototype.formatAt=function(l,u,c,f){var d=this.isolate(l,u);if(o.query(c,o.Scope.BLOT)!=null&&f)d.wrap(c,f);else if(o.query(c,o.Scope.ATTRIBUTE)!=null){var h=o.create(this.statics.scope);d.wrap(h),h.format(c,f)}},s.prototype.insertAt=function(l,u,c){var f=c==null?o.create("text",u):o.create(u,c),d=this.split(l);this.parent.insertBefore(f,d)},s.prototype.insertInto=function(l,u){u===void 0&&(u=null),this.parent!=null&&this.parent.children.remove(this);var c=null;l.children.insertBefore(this,u),u!=null&&(c=u.domNode),(this.domNode.parentNode!=l.domNode||this.domNode.nextSibling!=c)&&l.domNode.insertBefore(this.domNode,c),this.parent=l,this.attach()},s.prototype.isolate=function(l,u){var c=this.split(l);return c.split(u),c},s.prototype.length=function(){return 1},s.prototype.offset=function(l){return l===void 0&&(l=this.parent),this.parent==null||this==l?0:this.parent.children.offset(this)+this.parent.offset(l)},s.prototype.optimize=function(l){this.domNode[o.DATA_KEY]!=null&&delete this.domNode[o.DATA_KEY].mutations},s.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},s.prototype.replace=function(l){l.parent!=null&&(l.parent.insertBefore(this,l.next),l.remove())},s.prototype.replaceWith=function(l,u){var c=typeof l=="string"?o.create(l,u):l;return c.replace(this),c},s.prototype.split=function(l,u){return l===0?this:this.next},s.prototype.update=function(l,u){},s.prototype.wrap=function(l,u){var c=typeof l=="string"?o.create(l,u):l;return this.parent!=null&&this.parent.insertBefore(c,this.next),c.appendChild(this),c},s.blotName="abstract",s}();r.default=i},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(12),i=a(32),s=a(33),l=a(1),u=function(){function c(f){this.attributes={},this.domNode=f,this.build()}return c.prototype.attribute=function(f,d){d?f.add(this.domNode,d)&&(f.value(this.domNode)!=null?this.attributes[f.attrName]=f:delete this.attributes[f.attrName]):(f.remove(this.domNode),delete this.attributes[f.attrName])},c.prototype.build=function(){var f=this;this.attributes={};var d=o.default.keys(this.domNode),h=i.default.keys(this.domNode),m=s.default.keys(this.domNode);d.concat(h).concat(m).forEach(function(p){var y=l.query(p,l.Scope.ATTRIBUTE);y instanceof o.default&&(f.attributes[y.attrName]=y)})},c.prototype.copy=function(f){var d=this;Object.keys(this.attributes).forEach(function(h){var m=d.attributes[h].value(d.domNode);f.format(h,m)})},c.prototype.move=function(f){var d=this;this.copy(f),Object.keys(this.attributes).forEach(function(h){d.attributes[h].remove(d.domNode)}),this.attributes={}},c.prototype.values=function(){var f=this;return Object.keys(this.attributes).reduce(function(d,h){return d[h]=f.attributes[h].value(f.domNode),d},{})},c}();r.default=u},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var d in f)f.hasOwnProperty(d)&&(c[d]=f[d])};return function(c,f){u(c,f);function d(){this.constructor=c}c.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(12);function s(u,c){var f=u.getAttribute("class")||"";return f.split(/\s+/).filter(function(d){return d.indexOf(c+"-")===0})}var l=function(u){o(c,u);function c(){return u!==null&&u.apply(this,arguments)||this}return c.keys=function(f){return(f.getAttribute("class")||"").split(/\s+/).map(function(d){return d.split("-").slice(0,-1).join("-")})},c.prototype.add=function(f,d){return this.canAdd(f,d)?(this.remove(f),f.classList.add(this.keyName+"-"+d),!0):!1},c.prototype.remove=function(f){var d=s(f,this.keyName);d.forEach(function(h){f.classList.remove(h)}),f.classList.length===0&&f.removeAttribute("class")},c.prototype.value=function(f){var d=s(f,this.keyName)[0]||"",h=d.slice(this.keyName.length+1);return this.canAdd(f,h)?h:""},c}(i.default);r.default=l},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var d in f)f.hasOwnProperty(d)&&(c[d]=f[d])};return function(c,f){u(c,f);function d(){this.constructor=c}c.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(12);function s(u){var c=u.split("-"),f=c.slice(1).map(function(d){return d[0].toUpperCase()+d.slice(1)}).join("");return c[0]+f}var l=function(u){o(c,u);function c(){return u!==null&&u.apply(this,arguments)||this}return c.keys=function(f){return(f.getAttribute("style")||"").split(";").map(function(d){var h=d.split(":");return h[0].trim()})},c.prototype.add=function(f,d){return this.canAdd(f,d)?(f.style[s(this.keyName)]=d,!0):!1},c.prototype.remove=function(f){f.style[s(this.keyName)]="",f.getAttribute("style")||f.removeAttribute("style")},c.prototype.value=function(f){var d=f.style[s(this.keyName)];return this.canAdd(f,d)?d:""},c}(i.default);r.default=l},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function l(u,c){for(var f=0;fN&&this.stack.undo.length>0){var O=this.stack.undo.pop();R=R.compose(O.undo),C=O.redo.compose(C)}else this.lastRecorded=N;this.stack.undo.push({redo:C,undo:R}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(C){this.stack.undo.forEach(function(S){S.undo=C.transform(S.undo,!0),S.redo=C.transform(S.redo,!0)}),this.stack.redo.forEach(function(S){S.undo=C.transform(S.undo,!0),S.redo=C.transform(S.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),w}(f.default);y.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function g(x){var w=x.ops[x.ops.length-1];return w==null?!1:w.insert!=null?typeof w.insert=="string"&&w.insert.endsWith(` `):w.attributes!=null?Object.keys(w.attributes).some(function(_){return s.default.query(_,s.default.Scope.BLOCK)!=null}):!1}function b(x){var w=x.reduce(function(C,S){return C+=S.delete||0,C},0),_=x.length()-w;return g(x)&&(_-=1),_}r.default=y,r.getLastChangeIndex=b},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BaseTooltip=void 0;var o=function(){function U(z,Z){for(var $=0;$0&&arguments[0]!==void 0?arguments[0]:"link",W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),W!=null?this.textbox.value=W:$!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+$)||""),this.root.setAttribute("data-mode",$)}},{key:"restoreFocus",value:function(){var $=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=$}},{key:"save",value:function(){var $=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var W=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",$,d.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",$,d.default.sources.USER)),this.quill.root.scrollTop=W;break}case"video":$=j($);case"formula":{if(!$)break;var K=this.quill.getSelection(!0);if(K!=null){var ee=K.index+K.length;this.quill.insertEmbed(ee,this.root.getAttribute("data-mode"),$,d.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(ee+1," ",d.default.sources.USER),this.quill.setSelection(ee+2,d.default.sources.USER)}break}default:}this.textbox.value="",this.hide()}}]),z}(R.default);function j(U){var z=U.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||U.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return z?(z[1]||"https")+"://www.youtube.com/embed/"+z[2]+"?showinfo=0":(z=U.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(z[1]||"https")+"://player.vimeo.com/video/"+z[2]+"/":U}function L(U,z){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;z.forEach(function($){var W=document.createElement("option");$===Z?W.setAttribute("selected","selected"):W.setAttribute("value",$),U.appendChild(W)})}r.BaseTooltip=H,r.default=V},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function i(){this.head=this.tail=null,this.length=0}return i.prototype.append=function(){for(var s=[],l=0;l1&&this.append.apply(this,s.slice(1))},i.prototype.contains=function(s){for(var l,u=this.iterator();l=u();)if(l===s)return!0;return!1},i.prototype.insertBefore=function(s,l){s&&(s.next=l,l!=null?(s.prev=l.prev,l.prev!=null&&(l.prev.next=s),l.prev=s,l===this.head&&(this.head=s)):this.tail!=null?(this.tail.next=s,s.prev=this.tail,this.tail=s):(s.prev=null,this.head=this.tail=s),this.length+=1)},i.prototype.offset=function(s){for(var l=0,u=this.head;u!=null;){if(u===s)return l;l+=u.length(),u=u.next}return-1},i.prototype.remove=function(s){this.contains(s)&&(s.prev!=null&&(s.prev.next=s.next),s.next!=null&&(s.next.prev=s.prev),s===this.head&&(this.head=s.next),s===this.tail&&(this.tail=s.prev),this.length-=1)},i.prototype.iterator=function(s){return s===void 0&&(s=this.head),function(){var l=s;return s!=null&&(s=s.next),l}},i.prototype.find=function(s,l){l===void 0&&(l=!1);for(var u,c=this.iterator();u=c();){var f=u.length();if(sm?u(h,s-m,Math.min(l,m+y-s)):u(h,0,Math.min(y,s+l-m)),m+=y}},i.prototype.map=function(s){return this.reduce(function(l,u){return l.push(s(u)),l},[])},i.prototype.reduce=function(s,l){for(var u,c=this.iterator();u=c();)l=s(l,u);return l},i}();r.default=o},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var m in h)h.hasOwnProperty(m)&&(d[m]=h[m])};return function(d,h){f(d,h);function m(){this.constructor=d}d.prototype=h===null?Object.create(h):(m.prototype=h.prototype,new m)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(17),s=a(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=100,c=function(f){o(d,f);function d(h){var m=f.call(this,h)||this;return m.scroll=m,m.observer=new MutationObserver(function(p){m.update(p)}),m.observer.observe(m.domNode,l),m.attach(),m}return d.prototype.detach=function(){f.prototype.detach.call(this),this.observer.disconnect()},d.prototype.deleteAt=function(h,m){this.update(),h===0&&m===this.length()?this.children.forEach(function(p){p.remove()}):f.prototype.deleteAt.call(this,h,m)},d.prototype.formatAt=function(h,m,p,y){this.update(),f.prototype.formatAt.call(this,h,m,p,y)},d.prototype.insertAt=function(h,m,p){this.update(),f.prototype.insertAt.call(this,h,m,p)},d.prototype.optimize=function(h,m){var p=this;h===void 0&&(h=[]),m===void 0&&(m={}),f.prototype.optimize.call(this,m);for(var y=[].slice.call(this.observer.takeRecords());y.length>0;)h.push(y.pop());for(var g=function(_,C){C===void 0&&(C=!0),!(_==null||_===p)&&_.domNode.parentNode!=null&&(_.domNode[s.DATA_KEY].mutations==null&&(_.domNode[s.DATA_KEY].mutations=[]),C&&g(_.parent))},b=function(_){_.domNode[s.DATA_KEY]==null||_.domNode[s.DATA_KEY].mutations==null||(_ instanceof i.default&&_.children.forEach(b),_.optimize(m))},x=h,w=0;x.length>0;w+=1){if(w>=u)throw new Error("[Parchment] Maximum optimize iterations reached");for(x.forEach(function(_){var C=s.find(_.target,!0);C!=null&&(C.domNode===_.target&&(_.type==="childList"?(g(s.find(_.previousSibling,!1)),[].forEach.call(_.addedNodes,function(S){var R=s.find(S,!1);g(R,!1),R instanceof i.default&&R.children.forEach(function(N){g(N,!1)})})):_.type==="attributes"&&g(C.prev)),g(C))}),this.children.forEach(b),x=[].slice.call(this.observer.takeRecords()),y=x.slice();y.length>0;)h.push(y.pop())}},d.prototype.update=function(h,m){var p=this;m===void 0&&(m={}),h=h||this.observer.takeRecords(),h.map(function(y){var g=s.find(y.target,!0);return g==null?null:g.domNode[s.DATA_KEY].mutations==null?(g.domNode[s.DATA_KEY].mutations=[y],g):(g.domNode[s.DATA_KEY].mutations.push(y),null)}).forEach(function(y){y==null||y===p||y.domNode[s.DATA_KEY]==null||y.update(y.domNode[s.DATA_KEY].mutations||[],m)}),this.domNode[s.DATA_KEY].mutations!=null&&f.prototype.update.call(this,this.domNode[s.DATA_KEY].mutations,m),this.optimize(h,m)},d.blotName="scroll",d.defaultChild="block",d.scope=s.Scope.BLOCK_BLOT,d.tagName="DIV",d}(i.default);r.default=c},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var h in d)d.hasOwnProperty(h)&&(f[h]=d[h])};return function(f,d){c(f,d);function h(){this.constructor=f}f.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(18),s=a(1);function l(c,f){if(Object.keys(c).length!==Object.keys(f).length)return!1;for(var d in c)if(c[d]!==f[d])return!1;return!0}var u=function(c){o(f,c);function f(){return c!==null&&c.apply(this,arguments)||this}return f.formats=function(d){if(d.tagName!==f.tagName)return c.formats.call(this,d)},f.prototype.format=function(d,h){var m=this;d===this.statics.blotName&&!h?(this.children.forEach(function(p){p instanceof i.default||(p=p.wrap(f.blotName,!0)),m.attributes.copy(p)}),this.unwrap()):c.prototype.format.call(this,d,h)},f.prototype.formatAt=function(d,h,m,p){if(this.formats()[m]!=null||s.query(m,s.Scope.ATTRIBUTE)){var y=this.isolate(d,h);y.format(m,p)}else c.prototype.formatAt.call(this,d,h,m,p)},f.prototype.optimize=function(d){c.prototype.optimize.call(this,d);var h=this.formats();if(Object.keys(h).length===0)return this.unwrap();var m=this.next;m instanceof f&&m.prev===this&&l(h,m.formats())&&(m.moveChildren(this),m.remove())},f.blotName="inline",f.scope=s.Scope.INLINE_BLOT,f.tagName="SPAN",f}(i.default);r.default=u},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var d in f)f.hasOwnProperty(d)&&(c[d]=f[d])};return function(c,f){u(c,f);function d(){this.constructor=c}c.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(18),s=a(1),l=function(u){o(c,u);function c(){return u!==null&&u.apply(this,arguments)||this}return c.formats=function(f){var d=s.query(c.blotName).tagName;if(f.tagName!==d)return u.formats.call(this,f)},c.prototype.format=function(f,d){s.query(f,s.Scope.BLOCK)!=null&&(f===this.statics.blotName&&!d?this.replaceWith(c.blotName):u.prototype.format.call(this,f,d))},c.prototype.formatAt=function(f,d,h,m){s.query(h,s.Scope.BLOCK)!=null?this.format(h,m):u.prototype.formatAt.call(this,f,d,h,m)},c.prototype.insertAt=function(f,d,h){if(h==null||s.query(d,s.Scope.INLINE)!=null)u.prototype.insertAt.call(this,f,d,h);else{var m=this.split(f),p=s.create(d,h);m.parent.insertBefore(p,m)}},c.prototype.update=function(f,d){navigator.userAgent.match(/Trident/)?this.build():u.prototype.update.call(this,f,d)},c.blotName="block",c.scope=s.Scope.BLOCK_BLOT,c.tagName="P",c}(i.default);r.default=l},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var f in c)c.hasOwnProperty(f)&&(u[f]=c[f])};return function(u,c){l(u,c);function f(){this.constructor=u}u.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(19),s=function(l){o(u,l);function u(){return l!==null&&l.apply(this,arguments)||this}return u.formats=function(c){},u.prototype.format=function(c,f){l.prototype.formatAt.call(this,0,this.length(),c,f)},u.prototype.formatAt=function(c,f,d,h){c===0&&f===this.length()?this.format(d,h):l.prototype.formatAt.call(this,c,f,d,h)},u.prototype.formats=function(){return this.statics.formats(this.domNode)},u}(i.default);r.default=s},function(n,r,a){"use strict";var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var d in f)f.hasOwnProperty(d)&&(c[d]=f[d])};return function(c,f){u(c,f);function d(){this.constructor=c}c.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(19),s=a(1),l=function(u){o(c,u);function c(f){var d=u.call(this,f)||this;return d.text=d.statics.value(d.domNode),d}return c.create=function(f){return document.createTextNode(f)},c.value=function(f){var d=f.data;return d.normalize&&(d=d.normalize()),d},c.prototype.deleteAt=function(f,d){this.domNode.data=this.text=this.text.slice(0,f)+this.text.slice(f+d)},c.prototype.index=function(f,d){return this.domNode===f?d:-1},c.prototype.insertAt=function(f,d,h){h==null?(this.text=this.text.slice(0,f)+d+this.text.slice(f),this.domNode.data=this.text):u.prototype.insertAt.call(this,f,d,h)},c.prototype.length=function(){return this.text.length},c.prototype.optimize=function(f){u.prototype.optimize.call(this,f),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof c&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},c.prototype.position=function(f,d){return d===void 0&&(d=!1),[this.domNode,f]},c.prototype.split=function(f,d){if(d===void 0&&(d=!1),!d){if(f===0)return this;if(f===this.length())return this.next}var h=s.create(this.domNode.splitText(f));return this.parent.insertBefore(h,this.next),this.text=this.statics.value(this.domNode),h},c.prototype.update=function(f,d){var h=this;f.some(function(m){return m.type==="characterData"&&m.target===h.domNode})&&(this.text=this.statics.value(this.domNode))},c.prototype.value=function(){return this.text},c.blotName="text",c.scope=s.Scope.INLINE_BLOT,c}(i.default);r.default=l},function(n,r,a){"use strict";var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(s,l){return arguments.length>1&&!this.contains(s)==!l?l:i.call(this,s)}}String.prototype.startsWith||(String.prototype.startsWith=function(s,l){return l=l||0,this.substr(l,s.length)===s}),String.prototype.endsWith||(String.prototype.endsWith=function(s,l){var u=this.toString();(typeof l!="number"||!isFinite(l)||Math.floor(l)!==l||l>u.length)&&(l=u.length),l-=s.length;var c=u.indexOf(s,l);return c!==-1&&c===l}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(l){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof l!="function")throw new TypeError("predicate must be a function");for(var u=Object(this),c=u.length>>>0,f=arguments[1],d,h=0;h_.length?w:_,R=w.length>_.length?_:w,N=S.indexOf(R);if(N!=-1)return C=[[o,S.substring(0,N)],[i,R],[o,S.substring(N+R.length)]],w.length>_.length&&(C[0][0]=C[2][0]=a),C;if(R.length==1)return[[a,w],[o,_]];var O=h(w,_);if(O){var A=O[0],T=O[1],P=O[2],M=O[3],k=O[4],F=s(A,P),I=s(T,M);return F.concat([[i,k]],I)}return u(w,_)}function u(w,_){for(var C=w.length,S=_.length,R=Math.ceil((C+S)/2),N=R,O=2*R,A=new Array(O),T=new Array(O),P=0;PC)I+=2;else if(Z>S)F+=2;else if(k){var $=N+M-L;if($>=0&&$=W)return c(w,_,z,Z)}}}for(var K=-j+V;K<=j-H;K+=2){var $=N+K,W;K==-j||K!=j&&T[$-1]C)H+=2;else if(ee>S)V+=2;else if(!k){var U=N+M-K;if(U>=0&&U=W)return c(w,_,z,Z)}}}}return[[a,w],[o,_]]}function c(w,_,C,S){var R=w.substring(0,C),N=_.substring(0,S),O=w.substring(C),A=_.substring(S),T=s(R,N),P=s(O,A);return T.concat(P)}function f(w,_){if(!w||!_||w.charAt(0)!=_.charAt(0))return 0;for(var C=0,S=Math.min(w.length,_.length),R=S,N=0;C_.length?w:_,S=w.length>_.length?_:w;if(C.length<4||S.length*2=I.length?[z,Z,$,W,U]:null}var N=R(C,S,Math.ceil(C.length/4)),O=R(C,S,Math.ceil(C.length/2)),A;if(!N&&!O)return null;O?N?A=N[4].length>O[4].length?N:O:A=O:A=N;var T,P,M,k;w.length>_.length?(T=A[0],P=A[1],M=A[2],k=A[3]):(M=A[0],k=A[1],T=A[2],P=A[3]);var F=A[4];return[T,P,M,k,F]}function m(w){w.push([i,""]);for(var _=0,C=0,S=0,R="",N="",O;_1?(C!==0&&S!==0&&(O=f(N,R),O!==0&&(_-C-S>0&&w[_-C-S-1][0]==i?w[_-C-S-1][1]+=N.substring(0,O):(w.splice(0,0,[i,N.substring(0,O)]),_++),N=N.substring(O),R=R.substring(O)),O=d(N,R),O!==0&&(w[_][1]=N.substring(N.length-O)+w[_][1],N=N.substring(0,N.length-O),R=R.substring(0,R.length-O))),C===0?w.splice(_-S,C+S,[o,N]):S===0?w.splice(_-C,C+S,[a,R]):w.splice(_-C-S,C+S,[a,R],[o,N]),_=_-C-S+(C?1:0)+(S?1:0)+1):_!==0&&w[_-1][0]==i?(w[_-1][1]+=w[_][1],w.splice(_,1)):_++,S=0,C=0,R="",N="";break}w[w.length-1][1]===""&&w.pop();var A=!1;for(_=1;_0&&S.splice(R+2,0,[O[0],A]),x(S,R,3)}else return w}function b(w){for(var _=!1,C=function(O){return O.charCodeAt(0)>=56320&&O.charCodeAt(0)<=57343},S=function(O){return O.charCodeAt(O.length-1)>=55296&&O.charCodeAt(O.length-1)<=56319},R=2;R0&&N.push(w[R]);return N}function x(w,_,C){for(var S=_+C-1;S>=0&&S>=_-1;S--)if(S+1\r?\n +\<"),this.convert();var re=this.quill.getFormat(this.quill.selection.savedRange.index);if(re[S.default.blotName]){var we=this.container.innerText;return this.container.innerHTML="",new f.default().insert(we,P({},S.default.blotName,re[S.default.blotName]))}var Ae=this.prepareMatching(),Ee=i(Ae,2),G=Ee[0],Y=Ee[1],ae=K(this.container,G,Y);return $(ae,` `)&&ae.ops[ae.ops.length-1].attributes==null&&(ae=ae.compose(new f.default().retain(ae.length()-1).delete(1))),I.log("convert",this.container.innerHTML,ae),this.container.innerHTML="",ae}},{key:"dangerouslyPasteHTML",value:function(oe,re){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.default.sources.API;if(typeof oe=="string")this.quill.setContents(this.convert(oe),re),this.quill.setSelection(0,p.default.sources.SILENT);else{var Ae=this.convert(re);this.quill.updateContents(new f.default().retain(oe).concat(Ae),we),this.quill.setSelection(oe+Ae.length(),p.default.sources.SILENT)}}},{key:"onPaste",value:function(oe){var re=this;if(!(oe.defaultPrevented||!this.quill.isEnabled())){var we=this.quill.getSelection(),Ae=new f.default().retain(we.index),Ee=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(p.default.sources.SILENT),setTimeout(function(){Ae=Ae.concat(re.convert()).delete(we.length),re.quill.updateContents(Ae,p.default.sources.USER),re.quill.setSelection(Ae.length()-we.length,p.default.sources.SILENT),re.quill.scrollingContainer.scrollTop=Ee,re.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var oe=this,re=[],we=[];return this.matchers.forEach(function(Ae){var Ee=i(Ae,2),G=Ee[0],Y=Ee[1];switch(G){case Node.TEXT_NODE:we.push(Y);break;case Node.ELEMENT_NODE:re.push(Y);break;default:[].forEach.call(oe.container.querySelectorAll(G),function(ae){ae[V]=ae[V]||[],ae[V].push(Y)});break}}),[re,we]}}]),ve}(x.default);U.DEFAULTS={matchers:[],matchVisual:!0};function z(ye,ve,J){return(typeof ve>"u"?"undefined":o(ve))==="object"?Object.keys(ve).reduce(function(oe,re){return z(oe,re,ve[re])},ye):ye.reduce(function(oe,re){return re.attributes&&re.attributes[ve]?oe.push(re):oe.insert(re.insert,(0,u.default)({},P({},ve,J),re.attributes))},new f.default)}function Z(ye){if(ye.nodeType!==Node.ELEMENT_NODE)return{};var ve="__ql-computed-style";return ye[ve]||(ye[ve]=window.getComputedStyle(ye))}function $(ye,ve){for(var J="",oe=ye.ops.length-1;oe>=0&&J.length-1}function K(ye,ve,J){return ye.nodeType===ye.TEXT_NODE?J.reduce(function(oe,re){return re(ye,oe)},new f.default):ye.nodeType===ye.ELEMENT_NODE?[].reduce.call(ye.childNodes||[],function(oe,re){var we=K(re,ve,J);return re.nodeType===ye.ELEMENT_NODE&&(we=ve.reduce(function(Ae,Ee){return Ee(re,Ae)},we),we=(re[V]||[]).reduce(function(Ae,Ee){return Ee(re,Ae)},we)),oe.concat(we)},new f.default):new f.default}function ee(ye,ve,J){return z(J,ye,!0)}function q(ye,ve){var J=h.default.Attributor.Attribute.keys(ye),oe=h.default.Attributor.Class.keys(ye),re=h.default.Attributor.Style.keys(ye),we={};return J.concat(oe).concat(re).forEach(function(Ae){var Ee=h.default.query(Ae,h.default.Scope.ATTRIBUTE);Ee!=null&&(we[Ee.attrName]=Ee.value(ye),we[Ee.attrName])||(Ee=j[Ae],Ee!=null&&(Ee.attrName===Ae||Ee.keyName===Ae)&&(we[Ee.attrName]=Ee.value(ye)||void 0),Ee=L[Ae],Ee!=null&&(Ee.attrName===Ae||Ee.keyName===Ae)&&(Ee=L[Ae],we[Ee.attrName]=Ee.value(ye)||void 0))}),Object.keys(we).length>0&&(ve=z(ve,we)),ve}function Q(ye,ve){var J=h.default.query(ye);if(J==null)return ve;if(J.prototype instanceof h.default.Embed){var oe={},re=J.value(ye);re!=null&&(oe[J.blotName]=re,ve=new f.default().insert(oe,J.formats(ye)))}else typeof J.formats=="function"&&(ve=z(ve,J.blotName,J.formats(ye)));return ve}function ie(ye,ve){return $(ve,` `)||ve.insert(` `),ve}function se(){return new f.default}function le(ye,ve){var J=h.default.query(ye);if(J==null||J.blotName!=="list-item"||!$(ve,` `))return ve;for(var oe=-1,re=ye.parentNode;!re.classList.contains("ql-clipboard");)(h.default.query(re)||{}).blotName==="list"&&(oe+=1),re=re.parentNode;return oe<=0?ve:ve.compose(new f.default().retain(ve.length()-1).retain(1,{indent:oe}))}function ue(ye,ve){return $(ve,` `)||(W(ye)||ve.length()>0&&ye.nextSibling&&W(ye.nextSibling))&&ve.insert(` `),ve}function ge(ye,ve){if(W(ye)&&ye.nextElementSibling!=null&&!$(ve,` `)){var J=ye.offsetHeight+parseFloat(Z(ye).marginTop)+parseFloat(Z(ye).marginBottom);ye.nextElementSibling.offsetTop>ye.offsetTop+J*1.5&&ve.insert(` `)}return ve}function Oe(ye,ve){var J={},oe=ye.style||{};return oe.fontStyle&&Z(ye).fontStyle==="italic"&&(J.italic=!0),oe.fontWeight&&(Z(ye).fontWeight.startsWith("bold")||parseInt(Z(ye).fontWeight)>=700)&&(J.bold=!0),Object.keys(J).length>0&&(ve=z(ve,J)),parseFloat(oe.textIndent||0)>0&&(ve=new f.default().insert(" ").concat(ve)),ve}function Ne(ye,ve){var J=ye.data;if(ye.parentNode.tagName==="O:P")return ve.insert(J.trim());if(J.trim().length===0&&ye.parentNode.classList.contains("ql-clipboard"))return ve;if(!Z(ye.parentNode).whiteSpace.startsWith("pre")){var oe=function(we,Ae){return Ae=Ae.replace(/[^\u00a0]/g,""),Ae.length<1&&we?" ":Ae};J=J.replace(/\r\n/g," ").replace(/\n/g," "),J=J.replace(/\s\s+/g,oe.bind(oe,!0)),(ye.previousSibling==null&&W(ye.parentNode)||ye.previousSibling!=null&&W(ye.previousSibling))&&(J=J.replace(/^\s+/,oe.bind(oe,!1))),(ye.nextSibling==null&&W(ye.parentNode)||ye.nextSibling!=null&&W(ye.nextSibling))&&(J=J.replace(/\s+$/,oe.bind(oe,!1)))}return ve.insert(J)}r.default=U,r.matchAttributor=q,r.matchBlot=Q,r.matchNewline=ue,r.matchSpacing=ge,r.matchText=Ne},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(p,y){for(var g=0;g '},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(p,y){for(var g=0;gh.right&&(p=h.right-m.right,this.root.style.left=f+p+"px"),m.lefth.bottom){var y=m.bottom-m.top,g=c.bottom-c.top+y;this.root.style.top=d-g+"px",this.root.classList.add("ql-flip")}return p}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),l}();r.default=s},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function O(A,T){var P=[],M=!0,k=!1,F=void 0;try{for(var I=A[Symbol.iterator](),V;!(M=(V=I.next()).done)&&(P.push(V.value),!(T&&P.length===T));M=!0);}catch(H){k=!0,F=H}finally{try{!M&&I.return&&I.return()}finally{if(k)throw F}}return P}return function(A,T){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return O(A,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function O(A,T,P){A===null&&(A=Function.prototype);var M=Object.getOwnPropertyDescriptor(A,T);if(M===void 0){var k=Object.getPrototypeOf(A);return k===null?void 0:O(k,T,P)}else{if("value"in M)return M.value;var F=M.get;return F===void 0?void 0:F.call(P)}},s=function(){function O(A,T){for(var P=0;P','','',''].join(""),r.default=R},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(29),i=re(o),s=a(36),l=a(38),u=a(64),c=a(65),f=re(c),d=a(66),h=re(d),m=a(67),p=re(m),y=a(37),g=a(26),b=a(39),x=a(40),w=a(56),_=re(w),C=a(68),S=re(C),R=a(27),N=re(R),O=a(69),A=re(O),T=a(70),P=re(T),M=a(71),k=re(M),F=a(72),I=re(F),V=a(73),H=re(V),j=a(13),L=re(j),U=a(74),z=re(U),Z=a(75),$=re(Z),W=a(57),K=re(W),ee=a(41),q=re(ee),Q=a(28),ie=re(Q),se=a(59),le=re(se),ue=a(60),ge=re(ue),Oe=a(61),Ne=re(Oe),ye=a(108),ve=re(ye),J=a(62),oe=re(J);function re(we){return we&&we.__esModule?we:{default:we}}i.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":s.AlignClass,"attributors/class/background":y.BackgroundClass,"attributors/class/color":g.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":x.SizeClass,"attributors/style/align":s.AlignStyle,"attributors/style/background":y.BackgroundStyle,"attributors/style/color":g.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":x.SizeStyle},!0),i.default.register({"formats/align":s.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":u.IndentClass,"formats/background":y.BackgroundStyle,"formats/color":g.ColorStyle,"formats/font":b.FontClass,"formats/size":x.SizeClass,"formats/blockquote":f.default,"formats/code-block":L.default,"formats/header":h.default,"formats/list":p.default,"formats/bold":_.default,"formats/code":j.Code,"formats/italic":S.default,"formats/link":N.default,"formats/script":A.default,"formats/strike":P.default,"formats/underline":k.default,"formats/image":I.default,"formats/video":H.default,"formats/list/item":m.ListItem,"modules/formula":z.default,"modules/syntax":$.default,"modules/toolbar":K.default,"themes/bubble":ve.default,"themes/snow":oe.default,"ui/icons":q.default,"ui/picker":ie.default,"ui/icon-picker":ge.default,"ui/color-picker":le.default,"ui/tooltip":Ne.default},!0),r.default=i.default},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.IndentClass=void 0;var o=function(){function p(y,g){for(var b=0;b0&&this.children.tail.format(S,R)}},{key:"formats",value:function(){return m({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(S,R){if(S instanceof b)i(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"insertBefore",this).call(this,S,R);else{var N=R==null?this.length():R.offset(this),O=this.split(N);O.parent.insertBefore(S,O)}}},{key:"optimize",value:function(S){i(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"optimize",this).call(this,S);var R=this.next;R!=null&&R.prev===this&&R.statics.blotName===this.statics.blotName&&R.domNode.tagName===this.domNode.tagName&&R.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(R.moveChildren(this),R.remove())}},{key:"replace",value:function(S){if(S.statics.blotName!==this.statics.blotName){var R=l.default.create(this.statics.defaultChild);S.moveChildren(R),this.appendChild(R)}i(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"replace",this).call(this,S)}}]),_}(d.default);x.blotName="list",x.scope=l.default.Scope.BLOCK_BLOT,x.tagName=["OL","UL"],x.defaultChild="list-item",x.allowedChildren=[b],r.ListItem=b,r.default=x},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=a(56),i=s(o);function s(d){return d&&d.__esModule?d:{default:d}}function l(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function c(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var f=function(d){c(h,d);function h(){return l(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(i.default);f.blotName="italic",f.tagName=["EM","I"],r.default=f},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(p,y){for(var g=0;g-1?w?this.domNode.setAttribute(x,w):this.domNode.removeAttribute(x):i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"format",this).call(this,x,w)}}],[{key:"create",value:function(x){var w=i(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this,x);return typeof x=="string"&&w.setAttribute("src",this.sanitize(x)),w}},{key:"formats",value:function(x){return m.reduce(function(w,_){return x.hasAttribute(_)&&(w[_]=x.getAttribute(_)),w},{})}},{key:"match",value:function(x){return/\.(jpe?g|gif|png)$/.test(x)||/^data:image\/.+;base64/.test(x)}},{key:"sanitize",value:function(x){return(0,u.sanitize)(x,["http","https","data"])?x:"//:0"}},{key:"value",value:function(x){return x.getAttribute("src")}}]),g}(l.default.Embed);p.blotName="image",p.tagName="IMG",r.default=p},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(g,b){for(var x=0;x-1?w?this.domNode.setAttribute(x,w):this.domNode.removeAttribute(x):i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"format",this).call(this,x,w)}}],[{key:"create",value:function(x){var w=i(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this,x);return w.setAttribute("frameborder","0"),w.setAttribute("allowfullscreen",!0),w.setAttribute("src",this.sanitize(x)),w}},{key:"formats",value:function(x){return m.reduce(function(w,_){return x.hasAttribute(_)&&(w[_]=x.getAttribute(_)),w},{})}},{key:"sanitize",value:function(x){return u.default.sanitize(x)}},{key:"value",value:function(x){return x.getAttribute("src")}}]),g}(s.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",r.default=p},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.FormulaBlot=void 0;var o=function(){function x(w,_){for(var C=0;C<_.length;C++){var S=_[C];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(w,S.key,S)}}return function(w,_,C){return _&&x(w.prototype,_),C&&x(w,C),w}}(),i=function x(w,_,C){w===null&&(w=Function.prototype);var S=Object.getOwnPropertyDescriptor(w,_);if(S===void 0){var R=Object.getPrototypeOf(w);return R===null?void 0:x(R,_,C)}else{if("value"in S)return S.value;var N=S.get;return N===void 0?void 0:N.call(C)}},s=a(35),l=h(s),u=a(5),c=h(u),f=a(9),d=h(f);function h(x){return x&&x.__esModule?x:{default:x}}function m(x,w){if(!(x instanceof w))throw new TypeError("Cannot call a class as a function")}function p(x,w){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:x}function y(x,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);x.prototype=Object.create(w&&w.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(x,w):x.__proto__=w)}var g=function(x){y(w,x);function w(){return m(this,w),p(this,(w.__proto__||Object.getPrototypeOf(w)).apply(this,arguments))}return o(w,null,[{key:"create",value:function(C){var S=i(w.__proto__||Object.getPrototypeOf(w),"create",this).call(this,C);return typeof C=="string"&&(window.katex.render(C,S,{throwOnError:!1,errorColor:"#f00"}),S.setAttribute("data-value",C)),S}},{key:"value",value:function(C){return C.getAttribute("data-value")}}]),w}(l.default);g.blotName="formula",g.className="ql-formula",g.tagName="SPAN";var b=function(x){y(w,x),o(w,null,[{key:"register",value:function(){c.default.register(g,!0)}}]);function w(){m(this,w);var _=p(this,(w.__proto__||Object.getPrototypeOf(w)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return _}return w}(d.default);r.FormulaBlot=g,r.default=b},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.CodeToken=r.CodeBlock=void 0;var o=function(){function C(S,R){for(var N=0;N0||this.cachedText==null)&&(this.domNode.innerHTML=N(O),this.domNode.normalize(),this.attach()),this.cachedText=O)}}]),S}(m.default);x.className="ql-syntax";var w=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE}),_=function(C){b(S,C),o(S,null,[{key:"register",value:function(){c.default.register(w,!0),c.default.register(x,!0)}}]);function S(R,N){y(this,S);var O=g(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,R,N));if(typeof O.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var A=null;return O.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(A),A=setTimeout(function(){O.highlight(),A=null},O.options.interval)}),O.highlight(),O}return o(S,[{key:"highlight",value:function(){var N=this;if(!this.quill.selection.composing){this.quill.update(c.default.sources.USER);var O=this.quill.getSelection();this.quill.scroll.descendants(x).forEach(function(A){A.highlight(N.options.highlight)}),this.quill.update(c.default.sources.SILENT),O!=null&&this.quill.setSelection(O,c.default.sources.SILENT)}}}]),S}(d.default);_.DEFAULTS={highlight:function(){return window.hljs==null?null:function(C){var S=window.hljs.highlightAuto(C);return S.value}}(),interval:1e3},r.CodeBlock=x,r.CodeToken=w,r.default=_},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r){n.exports=' '},function(n,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BubbleTooltip=void 0;var o=function S(R,N,O){R===null&&(R=Function.prototype);var A=Object.getOwnPropertyDescriptor(R,N);if(A===void 0){var T=Object.getPrototypeOf(R);return T===null?void 0:S(T,N,O)}else{if("value"in A)return A.value;var P=A.get;return P===void 0?void 0:P.call(O)}},i=function(){function S(R,N){for(var O=0;O0&&k===c.default.sources.USER){A.show(),A.root.style.left="0px",A.root.style.width="",A.root.style.width=A.root.offsetWidth+"px";var F=A.quill.getLines(P.index,P.length);if(F.length===1)A.position(A.quill.getBounds(P));else{var I=F[F.length-1],V=A.quill.getIndex(I),H=Math.min(I.length()-1,P.index+P.length-V),j=A.quill.getBounds(new h.Range(V,H));A.position(j)}}else document.activeElement!==A.textbox&&A.quill.hasFocus()&&A.hide()}),A}return i(R,[{key:"listen",value:function(){var O=this;o(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){O.root.classList.remove("ql-editing")}),this.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!O.root.classList.contains("ql-hidden")){var A=O.quill.getSelection();A!=null&&O.position(O.quill.getBounds(A))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(O){var A=o(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"position",this).call(this,O),T=this.root.querySelector(".ql-tooltip-arrow");if(T.style.marginLeft="",A===0)return A;T.style.marginLeft=-1*A-T.offsetWidth/2+"px"}}]),R}(f.BaseTooltip);C.TEMPLATE=['','
','','',"
"].join(""),r.BubbleTooltip=C,r.default=_},function(n,r,a){n.exports=a(63)}]).default})}}),iH=Ce({"source/frontend/craif/node_modules/react-quill/lib/index.js"(e,t){"use strict";var n=e&&e.__extends||function(){var d=function(h,m){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var g in y)y.hasOwnProperty(g)&&(p[g]=y[g])},d(h,m)};return function(h,m){d(h,m);function p(){this.constructor=h}h.prototype=m===null?Object.create(m):(p.prototype=m.prototype,new p)}}(),r=e&&e.__assign||function(){return r=Object.assign||function(d){for(var h,m=1,p=arguments.length;m1)throw new Error("The Quill editing area can only be composed of a single React element.");if(i.default.Children.count(m.children)){var y=i.default.Children.only(m.children);if(((p=y)===null||p===void 0?void 0:p.type)==="textarea")throw new Error("Quill does not support editing on a