Produced by Araxis Merge on 3/13/2018 7:47:06 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Wed Mar 14 00:47:06 2018 UTC | ||
| 2 | TASCore_v1.0_Build_2_Jan_2018.zip\Build_Artifacts\mccf-tas_TAS.01.00.121_20171213_164037.tar | scripts.324d0b3a93be668d0566.bundle.js | Wed Dec 13 23:09:45 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 1 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | webpackJso np([9],{"+ Bvp":funct ion(e,t){e .exports=' /*!\n * Fu llCalendar v3.6.1\n * Docs & L icense: ht tps://full calendar.i o/\n * (c) 2017 Adam Shaw\n */ \n!functio n(t){"func tion"==typ eof define &&define.a md?define( ["jquery", "moment"], t):"object "==typeof exports?mo dule.expor ts=t(requi re("jquery "),require ("moment") ):t(jQuery ,moment)}( function(t ,e){functi on n(t){re turn j(t,q t)}functio n i(t,e){e .left&&t.c ss({"borde r-left-wid th":1,"mar gin-left": e.left-1}) ,e.right&& t.css({"bo rder-right -width":1, "margin-ri ght":e.rig ht-1})}fun ction r(t) {t.css({"m argin-left ":"","marg in-right": "","border -left-widt h":"","bor der-right- width":""} )}function s(){t("bo dy").addCl ass("fc-no t-allowed" )}function o(){t("bo dy").remov eClass("fc -not-allow ed")}funct ion a(e,n, i){var r=M ath.floor( n/e.length ),s=Math.f loor(n-r*( e.length-1 )),o=[],a= [],u=[],c= 0;l(e),e.e ach(functi on(n,i){va r l=n===e. length-1?s :r,h=t(i). outerHeigh t(!0);h<l? (o.push(i) ,a.push(h) ,u.push(t( i).height( ))):c+=h}) ,i&&(n-=c, r=Math.flo or(n/o.len gth),s=Mat h.floor(n- r*(o.lengt h-1))),t(o ).each(fun ction(e,n) {var i=e== =o.length- 1?s:r,l=a[ e],c=u[e], h=i-(l-c); l<i&&t(n). height(h)} )}function l(t){t.he ight("")}f unction u( e){var n=0 ;return e. find("> *" ).each(fun ction(e,i) {var r=t(i ).outerWid th();r>n&& (n=r)}),n+ +,e.width( n),n}funct ion c(t,e) {var n,i=t .add(e);re turn i.css ({position :"relative ",left:-1} ),n=t.oute rHeight()- e.outerHei ght(),i.cs s({positio n:"",left: ""}),n}fun ction h(e) {var n=e.c ss("positi on"),i=e.p arents().f ilter(func tion(){var e=t(this) ;return/(a uto|scroll )/.test(e. css("overf low")+e.cs s("overflo w-y")+e.cs s("overflo w-x"))}).e q(0);retur n"fixed"!= =n&&i.leng th?i:t(e[0 ].ownerDoc ument||doc ument)}fun ction d(t, e){var n=t .offset(), i=n.left-( e?e.left:0 ),r=n.top- (e?e.top:0 );return{l eft:i,righ t:i+t.oute rWidth(),t op:r,botto m:r+t.oute rHeight()} }function f(t,e){var n=t.offse t(),i=p(t) ,r=n.left+ w(t,"borde r-left-wid th")+i.lef t-(e?e.lef t:0),s=n.t op+w(t,"bo rder-top-w idth")+i.t op-(e?e.to p:0);retur n{left:r,r ight:r+t[0 ].clientWi dth,top:s, bottom:s+t [0].client Height}}fu nction g(t ,e){var n= t.offset() ,i=n.left+ w(t,"borde r-left-wid th")+w(t," padding-le ft")-(e?e. left:0),r= n.top+w(t, "border-to p-width")+ w(t,"paddi ng-top")-( e?e.top:0) ;return{le ft:i,right :i+t.width (),top:r,b ottom:r+t. height()}} function p (t){var e, n=t[0].off setWidth-t [0].client Width,i=t[ 0].offsetH eight-t[0] .clientHei ght;return n=v(n),i= v(i),e={le ft:0,right :0,top:0,b ottom:i},m ()&&"rtl"= =t.css("di rection")? e.left=n:e .right=n,e }function v(t){retur n t=Math.m ax(0,t),t= Math.round (t)}functi on m(){ret urn null== =Yt&&(Yt=y ()),Yt}fun ction y(){ var e=t("< div><div/> </div>").c ss({positi on:"absolu te",top:-1 e3,left:0, border:0,p adding:0,o verflow:"s croll",dir ection:"rt l"}).appen dTo("body" ),n=e.chil dren(),i=n .offset(). left>e.off set().left ;return e. remove(),i }function w(t,e){ret urn parseF loat(t.css (e))||0}fu nction D(t ){return 1 ==t.which& &!t.ctrlKe y}function b(t){var e=t.origin alEvent.to uches;retu rn e&&e.le ngth?e[0]. pageX:t.pa geX}functi on E(t){va r e=t.orig inalEvent. touches;re turn e&&e. length?e[0 ].pageY:t. pageY}func tion S(t){ return/^to uch/.test( t.type)}fu nction C(t ){t.addCla ss("fc-uns electable" ).on("sele ctstart",T )}function R(t){t.re moveClass( "fc-unsele ctable").o ff("select start",T)} function T (t){t.prev entDefault ()}functio n I(t,e){v ar n={left :Math.max( t.left,e.l eft),right :Math.min( t.right,e. right),top :Math.max( t.top,e.to p),bottom: Math.min(t .bottom,e. bottom)};r eturn n.le ft<n.right &&n.top<n. bottom&&n} function H (t,e){retu rn{left:Ma th.min(Mat h.max(t.le ft,e.left) ,e.right), top:Math.m in(Math.ma x(t.top,e. top),e.bot tom)}}func tion M(t){ return{lef t:(t.left+ t.right)/2 ,top:(t.to p+t.bottom )/2}}funct ion x(t,e) {return{le ft:t.left- e.left,top :t.top-e.t op}}functi on P(e){va r n,i,r=[] ,s=[];for( "string"== typeof e?s =e.split(/ \\s*,\\s*/ ):"functio n"==typeof e?s=[e]:t .isArray(e )&&(s=e),n =0;n<s.len gth;n++)i= s[n],"stri ng"==typeo f i?r.push ("-"==i.ch arAt(0)?{f ield:i.sub string(1), order:-1}: {field:i,o rder:1}):" function"= =typeof i& &r.push({f unc:i});re turn r}fun ction z(t, e,n){var i ,r;for(i=0 ;i<n.lengt h;i++)if(r =F(t,e,n[i ]))return r;return 0 }function F(t,e,n){r eturn n.fu nc?n.func( t,e):k(t[n .field],e[ n.field])* (n.order|| 1)}functio n k(e,n){r eturn e||n ?null==n?- 1:null==e? 1:"string" ===t.type( e)||"strin g"===t.typ e(n)?Strin g(e).local eCompare(S tring(n)): e-n:0}func tion B(t,n ){return e .duration( {days:t.cl one().stri pTime().di ff(n.clone ().stripTi me(),"days "),ms:t.ti me()-n.tim e()})}func tion A(t,n ){return e .duration( {days:t.cl one().stri pTime().di ff(n.clone ().stripTi me(),"days ")})}funct ion L(t,n, i){return e.duration (Math.roun d(t.diff(n ,i,!0)),i) }function O(t,e){var n,i,r;for (n=0;n<Zt. length&&(i =Zt[n],!(( r=V(i,t,e) )>=1&&at(r )));n++);r eturn i}fu nction N(t ,e){var n= O(t);retur n"week"=== n&&"object "==typeof e&&e.days& &(n="day") ,n}functio n V(t,n,i) {return nu ll!=i?i.di ff(n,t,!0) :e.isDurat ion(n)?n.a s(t):n.end .diff(n.st art,t,!0)} function G (t,e,n){va r i;return _(n)?(e-t )/n:(i=n.a sMonths(), Math.abs(i )>=1&&at(i )?e.diff(t ,"months", !0)/i:e.di ff(t,"days ",!0)/n.as Days())}fu nction U(t ,e){var n, i;return _ (t)||_(e)? t/e:(n=t.a sMonths(), i=e.asMont hs(),Math. abs(n)>=1& &at(n)&&Ma th.abs(i)> =1&&at(i)? n/i:t.asDa ys()/e.asD ays())}fun ction W(t, n){var i;r eturn _(t) ?e.duratio n(t*n):(i= t.asMonths (),Math.ab s(i)>=1&&a t(i)?e.dur ation({mon ths:i*n}): e.duration ({days:t.a sDays()*n} ))}functio n _(t){ret urn Boolea n(t.hours( )||t.minut es()||t.se conds()||t .milliseco nds())}fun ction q(t) {return"[o bject Date ]"===Objec t.prototyp e.toString .call(t)|| t instance of Date}fu nction Y(t ){return"s tring"==ty peof t&&/^ \\d+\\:\\d +(?:\\:\\d +\\.?(?:\\ d{3})?)?$/ .test(t)}f unction j( t,e){var n ,i,r,s,o,a ,l={};if(e )for(n=0;n <e.length; n++){for(i =e[n],r=[] ,s=t.lengt h-1;s>=0;s --)if("obj ect"==type of(o=t[s][ i]))r.unsh ift(o);els e if(void 0!==o){l[i ]=o;break} r.length&& (l[i]=j(r) )}for(n=t. length-1;n >=0;n--){a =t[n];for( i in a)i i n l||(l[i] =a[i])}ret urn l}func tion Z(t,e ){for(var n in t)Q(t ,n)&&(e[n] =t[n])}fun ction Q(t, e){return Qt.call(t, e)}functio n $(e,n,i) {if(t.isFu nction(e)& &(e=[e]),e ){var r,s; for(r=0;r< e.length;r ++)s=e[r]. apply(n,i) ||s;return s}}functi on X(t,e){ for(var n= 0,i=0;i<t. length;)e( t[i])?(t.s plice(i,1) ,n++):i++; return n}f unction K( t,e){for(v ar n=0,i=0 ;i<t.lengt h;)t[i]=== e?(t.splic e(i,1),n++ ):i++;retu rn n}funct ion J(t,e) {var n,i=t .length;if (null==i|| i!==e.leng th)return! 1;for(n=0; n<i;n++)if (t[n]!==e[ n])return! 1;return!0 }function tt(){for(v ar t=0;t<a rguments.l ength;t++) if(void 0! ==argument s[t])retur n argument s[t]}funct ion et(t){ return(t+" ").replace (/&/g,"&am p;").repla ce(/</g,"& lt;").repl ace(/>/g," >").rep lace(/\'/g ,"'") .replace(/ "/g,"" ;").replac e(/\\n/g," <br />")}f unction nt (t){return t.replace (/&.*?;/g, "")}functi on it(e){v ar n=[];re turn t.eac h(e,functi on(t,e){nu ll!=e&&n.p ush(t+":"+ e)}),n.joi n(";")}fun ction rt(e ){var n=[] ;return t. each(e,fun ction(t,e) {null!=e&& n.push(t+\ '="\'+et(e )+\'"\')}) ,n.join(" ")}functio n st(t){re turn t.cha rAt(0).toU pperCase() +t.slice(1 )}function ot(t,e){r eturn t-e} function a t(t){retur n t%1==0}f unction lt (t,e){var n=t[e];ret urn functi on(){retur n n.apply( t,argument s)}}functi on ut(t,e, n){var i,r ,s,o,a,l=f unction(){ var u=+new Date-o;u< e?i=setTim eout(l,e-u ):(i=null, n||(a=t.ap ply(s,r),s =r=null))} ;return fu nction(){s =this,r=ar guments,o= +new Date; var u=n&&! i;return i ||(i=setTi meout(l,e) ),u&&(a=t. apply(s,r) ,s=r=null) ,a}}functi on ct(n,i, r){var s,o ,a,l,u=n[0 ],c=1==n.l ength&&"st ring"==typ eof u;retu rn e.isMom ent(u)||q( u)||void 0 ===u?l=e.a pply(null, n):(s=!1,o =!1,c?$t.t est(u)?(u+ ="-01",n=[ u],s=!0,o= !0):(a=Xt. exec(u))&& (s=!a[5],o =!0):t.isA rray(u)&&( o=!0),l=i| |s?e.utc.a pply(e,n): e.apply(nu ll,n),s?(l ._ambigTim e=!0,l._am bigZone=!0 ):r&&(o?l. _ambigZone =!0:c&&l.u tcOffset(u ))),l._ful lCalendar= !0,l}funct ion ht(t){ return"en" !==t.local e()?t.clon e().locale ("en"):t}f unction dt (){}functi on ft(t,e) {var n;ret urn Q(e,"c onstructor ")&&(n=e.c onstructor ),"functio n"!=typeof n&&(n=e.c onstructor =function( ){t.apply( this,argum ents)}),n. prototype= Object.cre ate(t.prot otype),Z(e ,n.prototy pe),Z(t,n) ,n}functio n gt(t,e){ t.then=fun ction(n){r eturn"func tion"==typ eof n?ce.r esolve(n(e )):t}}func tion pt(t) {t.then=fu nction(e,n ){return"f unction"== typeof n&& n(),t}}fun ction vt(t ,e){return !t&&!e||!( !t||!e)&&( t.componen t===e.comp onent&&mt( t,e)&&mt(e ,t))}funct ion mt(t,e ){for(var n in t)if( !/^(compon ent|left|r ight|top|b ottom)$/.t est(n)&&t[ n]!==e[n]) return!1;r eturn!0}fu nction yt( t){this.it ems=t||[]} function w t(n){var i ,r,s,o,a=W t.dataAttr Prefix;ret urn a&&(a+ ="-"),i=n. data(a+"ev ent")||nul l,i&&(i="o bject"==ty peof i?t.e xtend({},i ):{},r=i.s tart,null= =r&&(r=i.t ime),s=i.d uration,o= i.stick,de lete i.sta rt,delete i.time,del ete i.dura tion,delet e i.stick) ,null==r&& (r=n.data( a+"start") ),null==r& &(r=n.data (a+"time") ),null==s& &(s=n.data (a+"durati on")),null ==o&&(o=n. data(a+"st ick")),r=n ull!=r?e.d uration(r) :null,s=nu ll!=s?e.du ration(s): null,o=Boo lean(o),{e ventProps: i,startTim e:r,durati on:s,stick :o}}functi on Dt(t){v ar e,n,i,r =[];for(e in t)for(n =t[e].even tInstances ,i=0;i<n.l ength;i++) r.push(n[i ].toLegacy ());return r}functio n bt(e,n){ function i (t){n=t}fu nction r() {n.layout? (g?g.empty ():g=this. el=t("<div class=\'f c-toolbar "+n.extraC lasses+"\' />"),g.app end(o("lef t")).appen d(o("right ")).append (o("center ")).append (\'<div cl ass="fc-cl ear"/>\')) :s()}funct ion s(){g& &(g.remove (),g=f.el= null)}func tion o(i){ var r=e.th eme,s=t(\' <div class ="fc-\'+i+ \'"/>\'),o =n.layout[ i],a=e.opt ("customBu ttons")||{ },l=e.over rides.butt onText||{} ,u=e.opt(" buttonText ")||{};ret urn o&&t.e ach(o.spli t(" "),fun ction(n){v ar i,o=t() ,c=!0;t.ea ch(this.sp lit(","),f unction(n, i){var s,h ,d,f,g,v,m ,y;"title" ==i?(o=o.a dd(t("<h2> </h2 >")),c=!1) :((s=a[i]) ?(d=functi on(t){s.cl ick&&s.cli ck.call(y[ 0],t)},(f= r.getCusto mButtonIco nClass(s)) ||(f=r.get IconClass( i))||(g=s. text)):(h= e.getViewS pec(i))?(p .push(i),d =function( ){e.change View(i)},( g=h.button TextOverri de)||(f=r. getIconCla ss(i))||(g =h.buttonT extDefault )):e[i]&&( d=function (){e[i]()} ,(g=l[i])| |(f=r.getI conClass(i ))||(g=u[i ])),d&&(m= ["fc-"+i+" -button",r .getClass( "button"), r.getClass ("stateDef ault")],g? v=et(g):f& &(v="<span class=\'" +f+"\'></s pan>"),y=t (\'<button type="but ton" class ="\'+m.joi n(" ")+\'" >\'+v+"</b utton>").c lick(funct ion(t){y.h asClass(r. getClass(" stateDisab led"))||(d (t),(y.has Class(r.ge tClass("st ateActive" ))||y.hasC lass(r.get Class("sta teDisabled ")))&&y.re moveClass( r.getClass ("stateHov er")))}).m ousedown(f unction(){ y.not("."+ r.getClass ("stateAct ive")).not ("."+r.get Class("sta teDisabled ")).addCla ss(r.getCl ass("state Down"))}). mouseup(fu nction(){y .removeCla ss(r.getCl ass("state Down"))}). hover(func tion(){y.n ot("."+r.g etClass("s tateActive ")).not(". "+r.getCla ss("stateD isabled")) .addClass( r.getClass ("stateHov er"))},fun ction(){y. removeClas s(r.getCla ss("stateH over")).re moveClass( r.getClass ("stateDow n"))}),o=o .add(y)))} ),c&&o.fir st().addCl ass(r.getC lass("corn erLeft")). end().last ().addClas s(r.getCla ss("corner Right")).e nd(),o.len gth>1?(i=t ("<div/>") ,c&&i.addC lass(r.get Class("but tonGroup") ),i.append (o),s.appe nd(i)):s.a ppend(o)}) ,s}functio n a(t){g&& g.find("h2 ").text(t) }function l(t){g&&g. find(".fc- "+t+"-butt on").addCl ass(e.them e.getClass ("stateAct ive"))}fun ction u(t) {g&&g.find (".fc-"+t+ "-button") .removeCla ss(e.theme .getClass( "stateActi ve"))}func tion c(t){ g&&g.find( ".fc-"+t+" -button"). prop("disa bled",!0). addClass(e .theme.get Class("sta teDisabled "))}functi on h(t){g& &g.find(". fc-"+t+"-b utton").pr op("disabl ed",!1).re moveClass( e.theme.ge tClass("st ateDisable d"))}funct ion d(){re turn p}var f=this;f. setToolbar Options=i, f.render=r ,f.removeE lement=s,f .updateTit le=a,f.act ivateButto n=l,f.deac tivateButt on=u,f.dis ableButton =c,f.enabl eButton=h, f.getViews WithButton s=d,f.el=n ull;var g, p=[]}funct ion Et(t,e ,n){var i; for(i=0;i< t.length;i ++)if(!e(t [i].eventI nstance.to Legacy(),n ?n.toLegac y():null)) return!1;r eturn!0}fu nction St( t,e){var n ,i,r,s,o=e .toLegacy( );for(n=0; n<t.length ;n++){if(i =t[n].even tInstance, r=i.def,!1 ===(s=r.ge tOverlap() ))return!1 ;if("funct ion"==type of s&&!s(i .toLegacy( ),o))retur n!1}return !0}functio n Ct(e,n){ return nul l==n?e:t.i sFunction( n)?e.filte r(n):(n+=" ",e.filter (function( t){return t.id==n||t ._id===n}) )}function Rt(e){t.e ach(Ge,fun ction(t,n) {null==e[t ]&&(e[t]=n (e))})}fun ction Tt(t ){return e .localeDat a(t)||e.lo caleData(" en")}funct ion It(t,e ){var n,i, r=[],s=e.s tartMs;for (t.sort(Ht ),n=0;n<t. length;n++ )i=t[n],i. startMs>s& &r.push(ne w Ue(s,i.s tartMs)),i .endMs>s&& (s=i.endMs );return s <e.endMs&& r.push(new Ue(s,e.en dMs)),r}fu nction Ht( t,e){retur n t.startM s-e.startM s}function Mt(t,e){r eturn t.ge tPrimitive ()==e.getP rimitive() }function xt(t,e){va r n,i=[];f or(n=0;n<t .length;n+ +)i.push.a pply(i,t[n ].buildIns tances(e)) ;return i} function P t(t){retur n new en(t .dateProfi le.unzoned Range,t.de f,t)}funct ion zt(t){ return new nn(new We (t.unzoned Range,t.ev entDef.isA llDay()),t .eventDef, t.eventIns tance)}fun ction Ft(t ){return t .dateProfi le.unzoned Range}func tion kt(t) {return t. componentF ootprint}f unction Bt (t,e){var n,i;for(n= 0;n<e.leng th;n++)if( i=e[n],i.l eftCol<=t. rightCol&& i.rightCol >=t.leftCo l)return!0 ;return!1} function A t(t,e){ret urn t.left Col-e.left Col}functi on Lt(t){v ar e,n,i,r =[];for(e= 0;e<t.leng th;e++){fo r(n=t[e],i =0;i<r.len gth&&Vt(n, r[i]).leng th;i++);n. level=i,(r [i]||(r[i] =[])).push (n)}return r}functio n Ot(t){va r e,n,i,r, s;for(e=0; e<t.length ;e++)for(n =t[e],i=0; i<n.length ;i++)for(r =n[i],r.fo rwardSegs= [],s=e+1;s <t.length; s++)Vt(r,t [s],r.forw ardSegs)}f unction Nt (t){var e, n,i=t.forw ardSegs,r= 0;if(void 0===t.forw ardPressur e){for(e=0 ;e<i.lengt h;e++)n=i[ e],Nt(n),r =Math.max( r,1+n.forw ardPressur e);t.forwa rdPressure =r}}functi on Vt(t,e, n){n=n||[] ;for(var i =0;i<e.len gth;i++)Gt (t,e[i])&& n.push(e[i ]);return n}function Gt(t,e){r eturn t.bo ttom>e.top &&t.top<e. bottom}fun ction Ut(t ){var e,n= [],i=[];fo r(e=0;e<t. length;e++ )t[e].comp onentFootp rint.isAll Day?n.push (t[e]):i.p ush(t[e]); return{all Day:n,time d:i}}var W t=t.fullCa lendar={ve rsion:"3.6 .1",intern alApiVersi on:11},_t= Wt.views={ };t.fn.ful lCalendar= function(e ){var n=Ar ray.protot ype.slice. call(argum ents,1),i= this;retur n this.eac h(function (r,s){var o,a=t(s),l =a.data("f ullCalenda r");"strin g"==typeof e?"getCal endar"===e ?r||(i=l): "destroy"= ==e?l&&(l. destroy(), a.removeDa ta("fullCa lendar")): l?t.isFunc tion(l[e]) ?(o=l[e].a pply(l,n), r||(i=o)," destroy"== =e&&a.remo veData("fu llCalendar ")):Wt.war n("\'"+e+" \' is an u nknown Ful lCalendar method."): Wt.warn("A ttempting to call a FullCalend ar method on an elem ent with n o calendar ."):l||(l= new Le(a,e ),a.data(" fullCalend ar",l),l.r ender())}) ,i};var qt =["header" ,"footer", "buttonTex t","button Icons","th emeButtonI cons"];Wt. applyAll=$ ,Wt.deboun ce=ut,Wt.i sInt=at,Wt .htmlEscap e=et,Wt.cs sToStr=it, Wt.proxy=l t,Wt.capit aliseFirst Letter=st, Wt.getOute rRect=d,Wt .getClient Rect=f,Wt. getContent Rect=g,Wt. getScrollb arWidths=p ;var Yt=nu ll;Wt.prev entDefault =T,Wt.inte rsectRects =I,Wt.pars eFieldSpec s=P,Wt.com pareByFiel dSpecs=z,W t.compareB yFieldSpec =F,Wt.flex ibleCompar e=k,Wt.com puteGreate stUnit=O,W t.divideRa ngeByDurat ion=G,Wt.d ivideDurat ionByDurat ion=U,Wt.m ultiplyDur ation=W,Wt .durationH asTime=_;v ar jt=["su n","mon"," tue","wed" ,"thu","fr i","sat"], Zt=["year" ,"month"," week","day ","hour"," minute","s econd","mi llisecond" ];Wt.log=f unction(){ var t=wind ow.console ;if(t&&t.l og)return t.log.appl y(t,argume nts)},Wt.w arn=functi on(){var t =window.co nsole;retu rn t&&t.wa rn?t.warn. apply(t,ar guments):W t.log.appl y(Wt,argum ents)};var Qt={}.has OwnPropert y;Wt.remov eExact=K;v ar $t=/^\\ s*\\d{4}-\ \d\\d$/,Xt =/^\\s*\\d {4}-(?:(\\ d\\d-\\d\\ d)|(W\\d\\ d$)|(W\\d\ \d-\\d)|(\ \d\\d\\d)) ((T| )(\\d \\d(:\\d\\ d(:\\d\\d( \\.\\d+)?) ?)?)?)?$/, Kt=e.fn,Jt =t.extend( {},Kt),te= e.momentPr operties;t e.push("_f ullCalenda r"),te.pus h("_ambigT ime"),te.p ush("_ambi gZone"),Wt .moment=fu nction(){r eturn ct(a rguments)} ,Wt.moment .utc=funct ion(){var t=ct(argum ents,!0);r eturn t.ha sTime()&&t .utc(),t}, Wt.moment. parseZone= function() {return ct (arguments ,!0,!0)},K t.week=Kt. weeks=func tion(t){va r e=this._ locale._fu llCalendar _weekCalc; return nul l==t&&"fun ction"==ty peof e?e(t his):"ISO" ===e?Jt.is oWeek.appl y(this,arg uments):Jt .week.appl y(this,arg uments)},K t.time=fun ction(t){i f(!this._f ullCalenda r)return J t.time.app ly(this,ar guments);i f(null==t) return e.d uration({h ours:this. hours(),mi nutes:this .minutes() ,seconds:t his.second s(),millis econds:thi s.millisec onds()});t his._ambig Time=!1,e. isDuration (t)||e.isM oment(t)|| (t=e.durat ion(t));va r n=0;retu rn e.isDur ation(t)&& (n=24*Math .floor(t.a sDays())), this.hours (n+t.hours ()).minute s(t.minute s()).secon ds(t.secon ds()).mill iseconds(t .milliseco nds())},Kt .stripTime =function( ){return t his._ambig Time||(thi s.utc(!0), this.set({ hours:0,mi nutes:0,se conds:0,ms :0}),this. _ambigTime =!0,this._ ambigZone= !0),this}, Kt.hasTime =function( ){return!t his._ambig Time},Kt.s tripZone=f unction(){ var t;retu rn this._a mbigZone|| (t=this._a mbigTime,t his.utc(!0 ),this._am bigTime=t| |!1,this._ ambigZone= !0),this}, Kt.hasZone =function( ){return!t his._ambig Zone},Kt.l ocal=funct ion(t){ret urn Jt.loc al.call(th is,this._a mbigZone|| t),this._a mbigTime=! 1,this._am bigZone=!1 ,this},Kt. utc=functi on(t){retu rn Jt.utc. call(this, t),this._a mbigTime=! 1,this._am bigZone=!1 ,this},Kt. utcOffset= function(t ){return n ull!=t&&(t his._ambig Time=!1,th is._ambigZ one=!1),Jt .utcOffset .apply(thi s,argument s)},Kt.for mat=functi on(){retur n this._fu llCalendar &&argument s[0]?ee(th is,argumen ts[0]):thi s._ambigTi me?ie(ht(t his),"YYYY -MM-DD"):t his._ambig Zone?ie(ht (this),"YY YY-MM-DD[T ]HH:mm:ss" ):this._fu llCalendar ?ie(ht(thi s)):Jt.for mat.apply( this,argum ents)},Kt. toISOStrin g=function (){return this._ambi gTime?ie(h t(this),"Y YYY-MM-DD" ):this._am bigZone?ie (ht(this), "YYYY-MM-D D[T]HH:mm: ss"):this. _fullCalen dar?Jt.toI SOString.a pply(ht(th is),argume nts):Jt.to ISOString. apply(this ,arguments )},functio n(){functi on t(t,e){ return c(r (e).fakeFo rmatString ,t)}functi on e(t,e){ return Jt. format.cal l(t,e)}fun ction n(t, e,n,s,o){v ar a;retur n t=Wt.mom ent.parseZ one(t),e=W t.moment.p arseZone(e ),a=t.loca leData(),n =a.longDat eFormat(n) ||n,i(r(n) ,t,e,s||" - ",o)}fun ction i(t, e,n,i,r){v ar s,o,a,l =t.sameUni ts,u=e.clo ne().strip Zone(),c=n .clone().s tripZone() ,f=h(t.fak eFormatStr ing,e),g=h (t.fakeFor matString, n),p="",v= "",m="",y= "",w="";fo r(s=0;s<l. length&&(! l[s]||u.is Same(c,l[s ]));s++)p+ =f[s];for( o=l.length -1;o>s&&(! l[o]||u.is Same(c,l[o ]))&&(o-1! ==s||"."!= =f[o]);o-- )v=f[o]+v; for(a=s;a< =o;a++)m+= f[a],y+=g[ a];return( m||y)&&(w= r?y+i+m:m+ i+y),d(p+w +v)}functi on r(t){re turn D[t]| |(D[t]=s(t ))}functio n s(t){var e=o(t);re turn{fakeF ormatStrin g:l(e),sam eUnits:u(e )}}functio n o(t){for (var e,n=[ ],i=/\\[([ ^\\]]*)\\] |\\(([^\\) ]*)\\)|(LT S|LT|(\\w) \\4*o?)|([ ^\\w\\[\\( ]+)/g;e=i. exec(t);)e [1]?n.push .apply(n,a (e[1])):e[ 2]?n.push( {maybe:o(e [2])}):e[3 ]?n.push({ token:e[3] }):e[5]&&n .push.appl y(n,a(e[5] ));return n}function a(t){retu rn". "===t ?["."," "] :[t]}funct ion l(t){v ar e,n,i=[ ];for(e=0; e<t.length ;e++)n=t[e ],"string" ==typeof n ?i.push("[ "+n+"]"):n .token?n.t oken in y? i.push(p+" ["+n.token +"]"):i.pu sh(n.token ):n.maybe& &i.push(v+ l(n.maybe) +v);return i.join(g) }function u(t){var e ,n,i,r=[]; for(e=0;e< t.length;e ++)n=t[e], n.token?(i =w[n.token .charAt(0) ],r.push(i ?i.unit:"s econd")):n .maybe?r.p ush.apply( r,u(n.mayb e)):r.push (null);ret urn r}func tion c(t,e ){return d (h(t,e).jo in(""))}fu nction h(t ,n){var i, r,s=[],o=e (n,t),a=o. split(g);f or(i=0;i<a .length;i+ +)r=a[i],r .charAt(0) ===p?s.pus h(y[r.subs tring(1)]( n)):s.push (r);return s}functio n d(t){ret urn t.repl ace(m,func tion(t,e){ return e.m atch(/[1-9 ]/)?e:""}) }function f(t){var e ,n,i,r,s=o (t);for(e= 0;e<s.leng th;e++)n=s [e],n.toke n&&(i=w[n. token.char At(0)])&&( !r||i.valu e>r.value) &&(r=i);re turn r?r.u nit:null}W t.formatDa te=t,Wt.fo rmatRange= n,Wt.oldMo mentFormat =e,Wt.quer yMostGranu larFormatU nit=f;var g="\\v",p= "\x001F",v="\x001E", m=new RegE xp(v+"([^" +v+"]*)"+v ,"g"),y={t :function( t){return e(t,"a").c harAt(0)}, T:function (t){return e(t,"A"). charAt(0)} },w={Y:{va lue:1,unit :"year"},M :{value:2, unit:"mont h"},W:{val ue:3,unit: "week"},w: {value:3,u nit:"week" },D:{value :4,unit:"d ay"},d:{va lue:4,unit :"day"}},D ={}}();var ee=Wt.for matDate,ne =Wt.format Range,ie=W t.oldMomen tFormat;Wt .Class=dt, dt.extend= function() {var t,e={ };for(t=0; t<argument s.length;t ++)Z(argum ents[t],e) ;return ft (this,e)}, dt.mixin=f unction(t) {Z(t,this. prototype) };var re=W t.EmitterM ixin={on:f unction(e, n){return t(this).on (e,this._p repareInte rcept(n)), this},one: function(e ,n){return t(this).o ne(e,this. _prepareIn tercept(n) ),this},_p repareInte rcept:func tion(e){va r n=functi on(t,n){re turn e.app ly(n.conte xt||this,n .args||[]) };return e .guid||(e. guid=t.gui d++),n.gui d=e.guid,n },off:func tion(e,n){ return t(t his).off(e ,n),this}, trigger:fu nction(e){ var n=Arra y.prototyp e.slice.ca ll(argumen ts,1);retu rn t(this) .triggerHa ndler(e,{a rgs:n}),th is},trigge rWith:func tion(e,n,i ){return t (this).tri ggerHandle r(e,{conte xt:n,args: i}),this}, hasHandler s:function (e){var n= t._data(th is,"events ");return n&&n[e]&&n [e].length >0}},se=Wt .ListenerM ixin=funct ion(){var e=0;return {listenerI d:null,lis tenTo:func tion(e,n,i ){if("obje ct"==typeo f n)for(va r r in n)n .hasOwnPro perty(r)&& this.liste nTo(e,r,n[ r]);else"s tring"==ty peof n&&e. on(n+"."+t his.getLis tenerNames pace(),t.p roxy(i,thi s))},stopL isteningTo :function( t,e){t.off ((e||"")+" ."+this.ge tListenerN amespace() )},getList enerNamesp ace:functi on(){retur n null==th is.listene rId&&(this .listenerI d=e++),"_l istener"+t his.listen erId}}}(), oe={standa rdPropMap: {},applyPr ops:functi on(t){var e,n=this.s tandardPro pMap,i={}, r={};for(e in t)!0== =n[e]?this [e]=t[e]:! 1===n[e]?i [e]=t[e]:r [e]=t[e];r eturn this .applyMisc Props(r),t his.applyM anualStand ardProps(i )},applyMa nualStanda rdProps:fu nction(t){ return!0}, applyMiscP rops:funct ion(t){},i sStandardP rop:functi on(t){retu rn t in th is.standar dPropMap}} ,ae=functi on(t){var e=this.pro totype;e.h asOwnPrope rty("stand ardPropMap ")||(e.sta ndardPropM ap=Object. create(e.s tandardPro pMap)),Z(t ,e.standar dPropMap)} ,le=functi on(t,e){va r n,i=this .prototype .standardP ropMap;for (n in i)nu ll!=t[n]&& !0===i[n]& &(e[n]=t[n ])},ue=dt. extend(re, se,{_props :null,_wat chers:null ,_globalWa tchArgs:{} ,construct or:functio n(){this._ watchers={ },this._pr ops={},thi s.applyGlo balWatcher s(),this.c onstructed ()},constr ucted:func tion(){},a pplyGlobal Watchers:f unction(){ var t,e=th is._global WatchArgs; for(t in e )this.watc h.apply(th is,e[t])}, has:functi on(t){retu rn t in th is._props} ,get:funct ion(t){ret urn void 0 ===t?this. _props:thi s._props[t ]},set:fun ction(t,e) {var n;"st ring"==typ eof t?(n={ },n[t]=voi d 0===e?nu ll:e):n=t, this.setPr ops(n)},re set:functi on(t){var e,n=this._ props,i={} ;for(e in n)i[e]=voi d 0;for(e in t)i[e]= t[e];this. setProps(i )},unset:f unction(t) {var e,n,i ={};for(e= "string"== typeof t?[ t]:t,n=0;n <e.length; n++)i[e[n] ]=void 0;t his.setPro ps(i)},set Props:func tion(t){va r e,n,i={} ,r=0;for(e in t)"obj ect"!=type of(n=t[e]) &&n===this ._props[e] ||(i[e]=n, r++);if(r) {this.trig ger("befor e:batchCha nge",i);fo r(e in i)n =i[e],this .trigger(" before:cha nge",e,n), this.trigg er("before :change:"+ e,n);for(e in i)n=i[ e],void 0= ==n?delete this._pro ps[e]:this ._props[e] =n,this.tr igger("cha nge:"+e,n) ,this.trig ger("chang e",e,n);th is.trigger ("batchCha nge",i)}}, watch:func tion(t,e,n ,i){var r= this;this. unwatch(t) ,this._wat chers[t]=t his._watch Deps(e,fun ction(e){v ar i=n.cal l(r,e);i&& i.then?(r. unset(t),i .then(func tion(e){r. set(t,e)}) ):r.set(t, i)},functi on(e){r.un set(t),i&& i.call(r,e )})},unwat ch:functio n(t){var e =this._wat chers[t];e &&(delete this._watc hers[t],e. teardown() )},_watchD eps:functi on(t,e,n){ function i (t,e,i){1= ==++a&&u== =l&&(d=!0, n(c),d=!1) }function r(t,n,i){v oid 0===n? (i||void 0 ===c[t]||u --,delete c[t]):(i|| void 0!==c [t]||u++,c [t]=n),--a ||u===l&&( d||e(c))}f unction s( t,e){o.on( t,e),h.pus h([t,e])}v ar o=this, a=0,l=t.le ngth,u=0,c ={},h=[],d =!1;return t.forEach (function( t){var e=! 1;"?"===t. charAt(0)& &(t=t.subs tring(1),e =!0),s("be fore:chang e:"+t,func tion(n){i( t,n,e)}),s ("change:" +t,functio n(n){r(t,n ,e)})}),t. forEach(fu nction(t){ var e=!1;" ?"===t.cha rAt(0)&&(t =t.substri ng(1),e=!0 ),o.has(t) ?(c[t]=o.g et(t),u++) :e&&u++}), u===l&&e(c ),{teardow n:function (){for(var t=0;t<h.l ength;t++) o.off(h[t] [0],h[t][1 ]);h=null, u===l&&n() },flash:fu nction(){u ===l&&(n() ,e(c))}}}, flash:func tion(t){va r e=this._ watchers[t ];e&&e.fla sh()}});ue .watch=fun ction(t){t his.protot ype.hasOwn Property(" _globalWat chArgs")|| (this.prot otype._glo balWatchAr gs=Object. create(thi s.prototyp e._globalW atchArgs)) ,this.prot otype._glo balWatchAr gs[t]=argu ments},Wt. Model=ue;v ar ce={con struct:fun ction(e){v ar n=t.Def erred(),i= n.promise( );return"f unction"== typeof e&& e(function (t){n.reso lve(t),gt( i,t)},func tion(){n.r eject(),pt (i)}),i},r esolve:fun ction(e){v ar n=t.Def erred().re solve(e),i =n.promise ();return gt(i,e),i} ,reject:fu nction(){v ar e=t.Def erred().re ject(),n=e .promise() ;return pt (n),n}};Wt .Promise=c e;var he=d t.extend(r e,{q:null, isPaused:! 1,isRunnin g:!1,const ructor:fun ction(){th is.q=[]},q ueue:funct ion(){this .q.push.ap ply(this.q ,arguments ),this.try Start()},p ause:funct ion(){this .isPaused= !0},resume :function( ){this.isP aused=!1,t his.trySta rt()},getI sIdle:func tion(){ret urn!this.i sRunning&& !this.isPa used},tryS tart:funct ion(){!thi s.isRunnin g&&this.ca nRunNext() &&(this.is Running=!0 ,this.trig ger("start "),this.ru nRemaining ())},canRu nNext:func tion(){ret urn!this.i sPaused&&t his.q.leng th},runRem aining:fun ction(){va r t,e,n=th is;do{if(t =this.q.sh ift(),(e=t his.runTas k(t))&&e.t hen)return void e.th en(functio n(){n.canR unNext()&& n.runRemai ning()})}w hile(this. canRunNext ());this.t rigger("st op"),this. isRunning= !1,this.tr yStart()}, runTask:fu nction(t){ return t() }});Wt.Tas kQueue=he; var de=he. extend({wa itsByNames pace:null, waitNamesp ace:null,w aitId:null ,construct or:functio n(t){he.ca ll(this),t his.waitsB yNamespace =t||{}},qu eue:functi on(t,e,n){ var i,r={f unc:t,name space:e,ty pe:n};e&&( i=this.wai tsByNamesp ace[e]),th is.waitNam espace&&(e ===this.wa itNamespac e&&null!=i ?this.dela yWait(i):( this.clear Wait(),thi s.tryStart ())),this. compoundTa sk(r)&&(th is.waitNam espace||nu ll==i?this .tryStart( ):this.sta rtWait(e,i ))},startW ait:functi on(t,e){th is.waitNam espace=t,t his.spawnW ait(e)},de layWait:fu nction(t){ clearTimeo ut(this.wa itId),this .spawnWait (t)},spawn Wait:funct ion(t){var e=this;th is.waitId= setTimeout (function( ){e.waitNa mespace=nu ll,e.trySt art()},t)} ,clearWait :function( ){this.wai tNamespace &&(clearTi meout(this .waitId),t his.waitId =null,this .waitNames pace=null) },canRunNe xt:functio n(){if(!he .prototype .canRunNex t.apply(th is,argumen ts))return !1;if(this .waitNames pace){for( var t=this .q,e=0;e<t .length;e+ +)if(t[e]. namespace! ==this.wai tNamespace )return!0; return!1}r eturn!0},r unTask:fun ction(t){t .func()},c ompoundTas k:function (t){var e, n,i=this.q ,r=!0;if(t .namespace &&"destroy "===t.type )for(e=i.l ength-1;e> =0;e--)swi tch(n=i[e] ,n.type){c ase"init": r=!1;case" add":case" remove":i. splice(e,1 )}return r &&i.push(t ),r}});Wt. RenderQueu e=de;var f e=dt.exten d(se,{isHi dden:!0,op tions:null ,el:null,m argin:10,c onstructor :function( t){this.op tions=t||{ }},show:fu nction(){t his.isHidd en&&(this. el||this.r ender(),th is.el.show (),this.po sition(),t his.isHidd en=!1,this .trigger(" show"))},h ide:functi on(){this. isHidden|| (this.el.h ide(),this .isHidden= !0,this.tr igger("hid e"))},rend er:functio n(){var e= this,n=thi s.options; this.el=t( \'<div cla ss="fc-pop over"/>\') .addClass( n.classNam e||"").css ({top:0,le ft:0}).app end(n.cont ent).appen dTo(n.pare ntEl),this .el.on("cl ick",".fc- close",fun ction(){e. hide()}),n .autoHide& &this.list enTo(t(doc ument),"mo usedown",t his.docume ntMousedow n)},docume ntMousedow n:function (e){this.e l&&!t(e.ta rget).clos est(this.e l).length& &this.hide ()},remove Element:fu nction(){t his.hide() ,this.el&& (this.el.r emove(),th is.el=null ),this.sto pListening To(t(docum ent),"mous edown")},p osition:fu nction(){v ar e,n,i,r ,s,o=this. options,a= this.el.of fsetParent ().offset( ),l=this.e l.outerWid th(),u=thi s.el.outer Height(),c =t(window) ,d=h(this. el);r=o.to p||0,s=voi d 0!==o.le ft?o.left: void 0!==o .right?o.r ight-l:0,d .is(window )||d.is(do cument)?(d =c,e=0,n=0 ):(i=d.off set(),e=i. top,n=i.le ft),e+=c.s crollTop() ,n+=c.scro llLeft(),! 1!==o.view portConstr ain&&(r=Ma th.min(r,e +d.outerHe ight()-u-t his.margin ),r=Math.m ax(r,e+thi s.margin), s=Math.min (s,n+d.out erWidth()- l-this.mar gin),s=Mat h.max(s,n+ this.margi n)),this.e l.css({top :r-a.top,l eft:s-a.le ft})},trig ger:functi on(t){this .options[t ]&&this.op tions[t].a pply(this, Array.prot otype.slic e.call(arg uments,1)) }}),ge=Wt. CoordCache =dt.extend ({els:null ,forcedOff setParentE l:null,ori gin:null,b oundingRec t:null,isH orizontal: !1,isVerti cal:!1,lef ts:null,ri ghts:null, tops:null, bottoms:nu ll,constru ctor:funct ion(e){thi s.els=t(e. els),this. isHorizont al=e.isHor izontal,th is.isVerti cal=e.isVe rtical,thi s.forcedOf fsetParent El=e.offse tParent?t( e.offsetPa rent):null },build:fu nction(){v ar t=this. forcedOffs etParentEl ;!t&&this. els.length >0&&(t=thi s.els.eq(0 ).offsetPa rent()),th is.origin= t?t.offset ():null,th is.boundin gRect=this .queryBoun dingRect() ,this.isHo rizontal&& this.build ElHorizont als(),this .isVertica l&&this.bu ildElVerti cals()},cl ear:functi on(){this. origin=nul l,this.bou ndingRect= null,this. lefts=null ,this.righ ts=null,th is.tops=nu ll,this.bo ttoms=null },ensureBu ilt:functi on(){this. origin||th is.build() },buildElH orizontals :function( ){var e=[] ,n=[];this .els.each( function(i ,r){var s= t(r),o=s.o ffset().le ft,a=s.out erWidth(); e.push(o), n.push(o+a )}),this.l efts=e,thi s.rights=n },buildElV erticals:f unction(){ var e=[],n =[];this.e ls.each(fu nction(i,r ){var s=t( r),o=s.off set().top, a=s.outerH eight();e. push(o),n. push(o+a)} ),this.top s=e,this.b ottoms=n}, getHorizon talIndex:f unction(t) {this.ensu reBuilt(); var e,n=th is.lefts,i =this.righ ts,r=n.len gth;for(e= 0;e<r;e++) if(t>=n[e] &&t<i[e])r eturn e},g etVertical Index:func tion(t){th is.ensureB uilt();var e,n=this. tops,i=thi s.bottoms, r=n.length ;for(e=0;e <r;e++)if( t>=n[e]&&t <i[e])retu rn e},getL eftOffset: function(t ){return t his.ensure Built(),th is.lefts[t ]},getLeft Position:f unction(t) {return th is.ensureB uilt(),thi s.lefts[t] -this.orig in.left},g etRightOff set:functi on(t){retu rn this.en sureBuilt( ),this.rig hts[t]},ge tRightPosi tion:funct ion(t){ret urn this.e nsureBuilt (),this.ri ghts[t]-th is.origin. left},getW idth:funct ion(t){ret urn this.e nsureBuilt (),this.ri ghts[t]-th is.lefts[t ]},getTopO ffset:func tion(t){re turn this. ensureBuil t(),this.t ops[t]},ge tTopPositi on:functio n(t){retur n this.ens ureBuilt() ,this.tops [t]-this.o rigin.top} ,getBottom Offset:fun ction(t){r eturn this .ensureBui lt(),this. bottoms[t] },getBotto mPosition: function(t ){return t his.ensure Built(),th is.bottoms [t]-this.o rigin.top} ,getHeight :function( t){return this.ensur eBuilt(),t his.bottom s[t]-this. tops[t]},q ueryBoundi ngRect:fun ction(){va r t;return this.els. length>0&& (t=h(this. els.eq(0)) ,!t.is(doc ument))?f( t):null},i sPointInBo unds:funct ion(t,e){r eturn this .isLeftInB ounds(t)&& this.isTop InBounds(e )},isLeftI nBounds:fu nction(t){ return!thi s.bounding Rect||t>=t his.boundi ngRect.lef t&&t<this. boundingRe ct.right}, isTopInBou nds:functi on(t){retu rn!this.bo undingRect ||t>=this. boundingRe ct.top&&t< this.bound ingRect.bo ttom}}),pe =Wt.DragLi stener=dt. extend(se, {options:n ull,subjec tEl:null,o riginX:nul l,originY: null,scrol lEl:null,i sInteracti ng:!1,isDi stanceSurp assed:!1,i sDelayEnde d:!1,isDra gging:!1,i sTouch:!1, isGeneric: !1,delay:n ull,delayT imeoutId:n ull,minDis tance:null ,shouldCan celTouchSc roll:!0,sc rollAlways Kills:!1,c onstructor :function( t){this.op tions=t||{ }},startIn teraction: function(e ,n){if("mo usedown"== =e.type){i f(me.get() .shouldIgn oreMouse() )return;if (!D(e))ret urn;e.prev entDefault ()}this.is Interactin g||(n=n||{ },this.del ay=tt(n.de lay,this.o ptions.del ay,0),this .minDistan ce=tt(n.di stance,thi s.options. distance,0 ),this.sub jectEl=thi s.options. subjectEl, C(t("body" )),this.is Interactin g=!0,this. isTouch=S( e),this.is Generic="d ragstart"= ==e.type,t his.isDela yEnded=!1, this.isDis tanceSurpa ssed=!1,th is.originX =b(e),this .originY=E (e),this.s crollEl=h( t(e.target )),this.bi ndHandlers (),this.in itAutoScro ll(),this. handleInte ractionSta rt(e),this .startDela y(e),this. minDistanc e||this.ha ndleDistan ceSurpasse d(e))},han dleInterac tionStart: function(t ){this.tri gger("inte ractionSta rt",t)},en dInteracti on:functio n(e,n){thi s.isIntera cting&&(th is.endDrag (e),this.d elayTimeou tId&&(clea rTimeout(t his.delayT imeoutId), this.delay TimeoutId= null),this .destroyAu toScroll() ,this.unbi ndHandlers (),this.is Interactin g=!1,this. handleInte ractionEnd (e,n),R(t( "body")))} ,handleInt eractionEn d:function (t,e){this .trigger(" interactio nEnd",t,e| |!1)},bind Handlers:f unction(){ var e=me.g et();this. isGeneric? this.liste nTo(t(docu ment),{dra g:this.han dleMove,dr agstop:thi s.endInter action}):t his.isTouc h?this.lis tenTo(e,{t ouchmove:t his.handle TouchMove, touchend:t his.endInt eraction,s croll:this .handleTou chScroll}) :this.list enTo(e,{mo usemove:th is.handleM ouseMove,m ouseup:thi s.endInter action}),t his.listen To(e,{sele ctstart:T, contextmen u:T})},unb indHandler s:function (){this.st opListenin gTo(me.get ()),this.s topListeni ngTo(t(doc ument))},s tartDrag:f unction(t, e){this.st artInterac tion(t,e), this.isDra gging||(th is.isDragg ing=!0,\nt his.handle DragStart( t))},handl eDragStart :function( t){this.tr igger("dra gStart",t) },handleMo ve:functio n(t){var e =b(t)-this .originX,n =E(t)-this .originY,i =this.minD istance;th is.isDista nceSurpass ed||e*e+n* n>=i*i&&th is.handleD istanceSur passed(t), this.isDra gging&&thi s.handleDr ag(e,n,t)} ,handleDra g:function (t,e,n){th is.trigger ("drag",t, e,n),this. updateAuto Scroll(n)} ,endDrag:f unction(t) {this.isDr agging&&(t his.isDrag ging=!1,th is.handleD ragEnd(t)) },handleDr agEnd:func tion(t){th is.trigger ("dragEnd" ,t)},start Delay:func tion(t){va r e=this;t his.delay? this.delay TimeoutId= setTimeout (function( ){e.handle DelayEnd(t )},this.de lay):this. handleDela yEnd(t)},h andleDelay End:functi on(t){this .isDelayEn ded=!0,thi s.isDistan ceSurpasse d&&this.st artDrag(t) },handleDi stanceSurp assed:func tion(t){th is.isDista nceSurpass ed=!0,this .isDelayEn ded&&this. startDrag( t)},handle TouchMove: function(t ){this.isD ragging&&t his.should CancelTouc hScroll&&t .preventDe fault(),th is.handleM ove(t)},ha ndleMouseM ove:functi on(t){this .handleMov e(t)},hand leTouchScr oll:functi on(t){this .isDraggin g&&!this.s crollAlway sKills||th is.endInte raction(t, !0)},trigg er:functio n(t){this. options[t] &&this.opt ions[t].ap ply(this,A rray.proto type.slice .call(argu ments,1)), this["_"+t ]&&this["_ "+t].apply (this,Arra y.prototyp e.slice.ca ll(argumen ts,1))}}); pe.mixin({ isAutoScro ll:!1,scro llBounds:n ull,scroll TopVel:nul l,scrollLe ftVel:null ,scrollInt ervalId:nu ll,scrollS ensitivity :30,scroll Speed:200, scrollInte rvalMs:50, initAutoSc roll:funct ion(){var t=this.scr ollEl;this .isAutoScr oll=this.o ptions.scr oll&&t&&!t .is(window )&&!t.is(d ocument),t his.isAuto Scroll&&th is.listenT o(t,"scrol l",ut(this .handleDeb ouncedScro ll,100))}, destroyAut oScroll:fu nction(){t his.endAut oScroll(), this.isAut oScroll&&t his.stopLi steningTo( this.scrol lEl,"scrol l")},compu teScrollBo unds:funct ion(){this .isAutoScr oll&&(this .scrollBou nds=d(this .scrollEl) )},updateA utoScroll: function(t ){var e,n, i,r,s=this .scrollSen sitivity,o =this.scro llBounds,a =0,l=0;o&& (e=(s-(E(t )-o.top))/ s,n=(s-(o. bottom-E(t )))/s,i=(s -(b(t)-o.l eft))/s,r= (s-(o.righ t-b(t)))/s ,e>=0&&e<= 1?a=e*this .scrollSpe ed*-1:n>=0 &&n<=1&&(a =n*this.sc rollSpeed) ,i>=0&&i<= 1?l=i*this .scrollSpe ed*-1:r>=0 &&r<=1&&(l =r*this.sc rollSpeed) ),this.set ScrollVel( a,l)},setS crollVel:f unction(t, e){this.sc rollTopVel =t,this.sc rollLeftVe l=e,this.c onstrainSc rollVel(), !this.scro llTopVel&& !this.scro llLeftVel| |this.scro llInterval Id||(this. scrollInte rvalId=set Interval(l t(this,"sc rollInterv alFunc"),t his.scroll IntervalMs ))},constr ainScrollV el:functio n(){var t= this.scrol lEl;this.s crollTopVe l<0?t.scro llTop()<=0 &&(this.sc rollTopVel =0):this.s crollTopVe l>0&&t.scr ollTop()+t [0].client Height>=t[ 0].scrollH eight&&(th is.scrollT opVel=0),t his.scroll LeftVel<0? t.scrollLe ft()<=0&&( this.scrol lLeftVel=0 ):this.scr ollLeftVel >0&&t.scro llLeft()+t [0].client Width>=t[0 ].scrollWi dth&&(this .scrollLef tVel=0)},s crollInter valFunc:fu nction(){v ar t=this. scrollEl,e =this.scro llInterval Ms/1e3;thi s.scrollTo pVel&&t.sc rollTop(t. scrollTop( )+this.scr ollTopVel* e),this.sc rollLeftVe l&&t.scrol lLeft(t.sc rollLeft() +this.scro llLeftVel* e),this.co nstrainScr ollVel(),t his.scroll TopVel||th is.scrollL eftVel||th is.endAuto Scroll()}, endAutoScr oll:functi on(){this. scrollInte rvalId&&(c learInterv al(this.sc rollInterv alId),this .scrollInt ervalId=nu ll,this.ha ndleScroll End())},ha ndleDeboun cedScroll: function() {this.scro llInterval Id||this.h andleScrol lEnd()},ha ndleScroll End:functi on(){}});v ar ve=pe.e xtend({com ponent:nul l,origHit: null,hit:n ull,coordA djust:null ,construct or:functio n(t,e){pe. call(this, e),this.co mponent=t} ,handleInt eractionSt art:functi on(t){var e,n,i,r=th is.subject El;this.co mponent.hi tsNeeded() ,this.comp uteScrollB ounds(),t? (n={left:b (t),top:E( t)},i=n,r& &(e=d(r),i =H(i,e)),t his.origHi t=this.que ryHit(i.le ft,i.top), r&&this.op tions.subj ectCenter& &(this.ori gHit&&(e=I (this.orig Hit,e)||e) ,i=M(e)),t his.coordA djust=x(i, n)):(this. origHit=nu ll,this.co ordAdjust= null),pe.p rototype.h andleInter actionStar t.apply(th is,argumen ts)},handl eDragStart :function( t){var e;p e.prototyp e.handleDr agStart.ap ply(this,a rguments), (e=this.qu eryHit(b(t ),E(t)))&& this.handl eHitOver(e )},handleD rag:functi on(t,e,n){ var i;pe.p rototype.h andleDrag. apply(this ,arguments ),i=this.q ueryHit(b( n),E(n)),v t(i,this.h it)||(this .hit&&this .handleHit Out(),i&&t his.handle HitOver(i) )},handleD ragEnd:fun ction(){th is.handleH itDone(),p e.prototyp e.handleDr agEnd.appl y(this,arg uments)},h andleHitOv er:functio n(t){var e =vt(t,this .origHit); this.hit=t ,this.trig ger("hitOv er",this.h it,e,this. origHit)}, handleHitO ut:functio n(){this.h it&&(this. trigger("h itOut",thi s.hit),thi s.handleHi tDone(),th is.hit=nul l)},handle HitDone:fu nction(){t his.hit&&t his.trigge r("hitDone ",this.hit )},handleI nteraction End:functi on(){pe.pr ototype.ha ndleIntera ctionEnd.a pply(this, arguments) ,this.orig Hit=null,t his.hit=nu ll,this.co mponent.hi tsNotNeede d()},handl eScrollEnd :function( ){pe.proto type.handl eScrollEnd .apply(thi s,argument s),this.is Dragging&& (this.comp onent.rele aseHits(), this.compo nent.prepa reHits())} ,queryHit: function(t ,e){return this.coor dAdjust&&( t+=this.co ordAdjust. left,e+=th is.coordAd just.top), this.compo nent.query Hit(t,e)}} );Wt.touch MouseIgnor eWait=500; var me=dt. extend(se, re,{isTouc hing:!1,mo useIgnoreD epth:0,han dleScrollP roxy:null, bind:funct ion(){var e=this;thi s.listenTo (t(documen t),{touchs tart:this. handleTouc hStart,tou chcancel:t his.handle TouchCance l,touchend :this.hand leTouchEnd ,mousedown :this.hand leMouseDow n,mousemov e:this.han dleMouseMo ve,mouseup :this.hand leMouseUp, click:this .handleCli ck,selects tart:this. handleSele ctStart,co ntextmenu: this.handl eContextMe nu}),windo w.addEvent Listener(" touchmove" ,this.hand leTouchMov eProxy=fun ction(n){e .handleTou chMove(t.E vent(n))}, {passive:! 1}),window .addEventL istener("s croll",thi s.handleSc rollProxy= function(n ){e.handle Scroll(t.E vent(n))}, !0)},unbin d:function (){this.st opListenin gTo(t(docu ment)),win dow.remove EventListe ner("touch move",this .handleTou chMoveProx y),window. removeEven tListener( "scroll",t his.handle ScrollProx y,!0)},han dleTouchSt art:functi on(t){this .stopTouch (t,!0),thi s.isTouchi ng=!0,this .trigger(" touchstart ",t)},hand leTouchMov e:function (t){this.i sTouching& &this.trig ger("touch move",t)}, handleTouc hCancel:fu nction(t){ this.isTou ching&&(th is.trigger ("touchcan cel",t),th is.stopTou ch(t))},ha ndleTouchE nd:functio n(t){this. stopTouch( t)},handle MouseDown: function(t ){this.sho uldIgnoreM ouse()||th is.trigger ("mousedow n",t)},han dleMouseMo ve:functio n(t){this. shouldIgno reMouse()| |this.trig ger("mouse move",t)}, handleMous eUp:functi on(t){this .shouldIgn oreMouse() ||this.tri gger("mous eup",t)},h andleClick :function( t){this.sh ouldIgnore Mouse()||t his.trigge r("click", t)},handle SelectStar t:function (t){this.t rigger("se lectstart" ,t)},handl eContextMe nu:functio n(t){this. trigger("c ontextmenu ",t)},hand leScroll:f unction(t) {this.trig ger("scrol l",t)},sto pTouch:fun ction(t,e) {this.isTo uching&&(t his.isTouc hing=!1,th is.trigger ("touchend ",t),e||th is.startTo uchMouseIg nore())},s tartTouchM ouseIgnore :function( ){var t=th is,e=Wt.to uchMouseIg noreWait;e &&(this.mo useIgnoreD epth++,set Timeout(fu nction(){t .mouseIgno reDepth--} ,e))},shou ldIgnoreMo use:functi on(){retur n this.isT ouching||B oolean(thi s.mouseIgn oreDepth)} });!functi on(){var t =null,e=0; me.get=fun ction(){re turn t||(t =new me,t. bind()),t} ,me.needed =function( ){me.get() ,e++},me.u nneeded=fu nction(){- -e||(t.unb ind(),t=nu ll)}}();va r ye=dt.ex tend(se,{o ptions:nul l,sourceEl :null,el:n ull,parent El:null,to p0:null,le ft0:null,y 0:null,x0: null,topDe lta:null,l eftDelta:n ull,isFoll owing:!1,i sHidden:!1 ,isAnimati ng:!1,cons tructor:fu nction(e,n ){this.opt ions=n=n|| {},this.so urceEl=e,t his.parent El=n.paren tEl?t(n.pa rentEl):e. parent()}, start:func tion(e){th is.isFollo wing||(thi s.isFollow ing=!0,thi s.y0=E(e), this.x0=b( e),this.to pDelta=0,t his.leftDe lta=0,this .isHidden| |this.upda tePosition (),S(e)?th is.listenT o(t(docume nt),"touch move",this .handleMov e):this.li stenTo(t(d ocument)," mousemove" ,this.hand leMove))}, stop:funct ion(e,n){f unction i( ){r.isAnim ating=!1,r .removeEle ment(),r.t op0=r.left 0=null,n&& n()}var r= this,s=thi s.options. revertDura tion;this. isFollowin g&&!this.i sAnimating &&(this.is Following= !1,this.st opListenin gTo(t(docu ment)),e&& s&&!this.i sHidden?(t his.isAnim ating=!0,t his.el.ani mate({top: this.top0, left:this. left0},{du ration:s,c omplete:i} )):i())},g etEl:funct ion(){var t=this.el; return t|| (t=this.el =this.sour ceEl.clone ().addClas s(this.opt ions.addit ionalClass ||"").css( {position: "absolute" ,visibilit y:"",displ ay:this.is Hidden?"no ne":"",mar gin:0,righ t:"auto",b ottom:"aut o",width:t his.source El.width() ,height:th is.sourceE l.height() ,opacity:t his.option s.opacity| |"",zIndex :this.opti ons.zIndex }),t.addCl ass("fc-un selectable "),t.appen dTo(this.p arentEl)), t},removeE lement:fun ction(){th is.el&&(th is.el.remo ve(),this. el=null)}, updatePosi tion:funct ion(){var t,e;this.g etEl(),nul l===this.t op0&&(t=th is.sourceE l.offset() ,e=this.el .offsetPar ent().offs et(),this. top0=t.top -e.top,thi s.left0=t. left-e.lef t),this.el .css({top: this.top0+ this.topDe lta,left:t his.left0+ this.leftD elta})},ha ndleMove:f unction(t) {this.topD elta=E(t)- this.y0,th is.leftDel ta=b(t)-th is.x0,this .isHidden| |this.upda tePosition ()},hide:f unction(){ this.isHid den||(this .isHidden= !0,this.el &&this.el. hide())},s how:functi on(){this. isHidden&& (this.isHi dden=!1,th is.updateP osition(), this.getEl ().show()) }}),we=Wt. Scroller=d t.extend({ el:null,sc rollEl:nul l,overflow X:null,ove rflowY:nul l,construc tor:functi on(t){t=t| |{},this.o verflowX=t .overflowX ||t.overfl ow||"auto" ,this.over flowY=t.ov erflowY||t .overflow| |"auto"},r ender:func tion(){thi s.el=this. renderEl() ,this.appl yOverflow( )},renderE l:function (){return this.scrol lEl=t(\'<d iv class=" fc-scrolle r"></div>\ ')},clear: function() {this.setH eight("aut o"),this.a pplyOverfl ow()},dest roy:functi on(){this. el.remove( )},applyOv erflow:fun ction(){th is.scrollE l.css({"ov erflow-x": this.overf lowX,"over flow-y":th is.overflo wY})},lock Overflow:f unction(t) {var e=thi s.overflow X,n=this.o verflowY;t =t||this.g etScrollba rWidths(), "auto"===e &&(e=t.top ||t.bottom ||this.scr ollEl[0].s crollWidth -1>this.sc rollEl[0]. clientWidt h?"scroll" :"hidden") ,"auto"=== n&&(n=t.le ft||t.righ t||this.sc rollEl[0]. scrollHeig ht-1>this. scrollEl[0 ].clientHe ight?"scro ll":"hidde n"),this.s crollEl.cs s({"overfl ow-x":e,"o verflow-y" :n})},setH eight:func tion(t){th is.scrollE l.height(t )},getScro llTop:func tion(){ret urn this.s crollEl.sc rollTop()} ,setScroll Top:functi on(t){this .scrollEl. scrollTop( t)},getCli entWidth:f unction(){ return thi s.scrollEl [0].client Width},get ClientHeig ht:functio n(){return this.scro llEl[0].cl ientHeight },getScrol lbarWidths :function( ){return p (this.scro llEl)}});y t.prototyp e.proxyCal l=function (t){var e= Array.prot otype.slic e.call(arg uments,1), n=[];retur n this.ite ms.forEach (function( i){n.push( i[t].apply (i,e))}),n };var De=d t.extend({ view:null, component: null,const ructor:fun ction(t){t his.view=t ._getView( ),this.com ponent=t}, opt:functi on(t){retu rn this.vi ew.opt(t)} ,end:funct ion(){}}), be=De.exte nd({dragLi stener:nul l,construc tor:functi on(t){De.c all(this,t ),this.dra gListener= this.build DragListen er()},end: function() {this.drag Listener.e ndInteract ion()},bin dToEl:func tion(t){va r e=this.c omponent,n =this.drag Listener;e .bindDateH andlerToEl (t,"moused own",funct ion(t){e.s houldIgnor eMouse()|| n.startInt eraction(t )}),e.bind DateHandle rToEl(t,"t ouchstart" ,function( t){e.shoul dIgnoreTou ch()||n.st artInterac tion(t)})} ,buildDrag Listener:f unction(){ var t,e=th is,n=this. component, i=new ve(n ,{scroll:t his.opt("d ragScroll" ),interact ionStart:f unction(){ t=i.origHi t},hitOver :function( e,n,i){n|| (t=null)}, hitOut:fun ction(){t= null},inte ractionEnd :function( i,r){var s ;!r&&t&&(s =n.getSafe HitFootpri nt(t))&&e. view.trigg erDayClick (s,n.getHi tEl(t),i)} });return i.shouldCa ncelTouchS croll=!1,i .scrollAlw aysKills=! 0,i}}),Ee= Wt.DateSel ecting=De. extend({dr agListener :null,cons tructor:fu nction(t){ De.call(th is,t),this .dragListe ner=this.b uildDragLi stener()}, end:functi on(){this. dragListen er.endInte raction()} ,getDelay: function() {var t=thi s.opt("sel ectLongPre ssDelay"); return nul l==t&&(t=t his.opt("l ongPressDe lay")),t}, bindToEl:f unction(t) {var e=thi s,n=this.c omponent,i =this.drag Listener;n .bindDateH andlerToEl (t,"moused own",funct ion(t){e.o pt("select able")&&!n .shouldIgn oreMouse() &&i.startI nteraction (t,{distan ce:e.opt(" selectMinD istance")} )}),n.bind DateHandle rToEl(t,"t ouchstart" ,function( t){e.opt(" selectable ")&&!n.sho uldIgnoreT ouch()&&i. startInter action(t,{ delay:e.ge tDelay()}) }),C(t)},b uildDragLi stener:fun ction(){va r t,e=this ,n=this.co mponent;re turn new v e(n,{scrol l:this.opt ("dragScro ll"),inter actionStar t:function (){t=null} ,dragStart :function( t){e.view. unselect(t )},hitOver :function( i,r,o){var a,l;o&&(a =n.getSafe HitFootpri nt(o),l=n. getSafeHit Footprint( i),t=a&&l? e.computeS election(a ,l):null,t ?n.renderS electionFo otprint(t) :!1===t&&s ())},hitOu t:function (){t=null, n.unrender Selection( )},hitDone :function( ){o()},int eractionEn d:function (n,i){!i&& t&&e.view. reportSele ction(t,n) }})},compu teSelectio n:function (t,e){var n=this.com puteSelect ionFootpri nt(t,e);re turn!(n&&! this.isSel ectionFoot printAllow ed(n))&&n} ,computeSe lectionFoo tprint:fun ction(t,e) {var n=[t. unzonedRan ge.startMs ,t.unzoned Range.endM s,e.unzone dRange.sta rtMs,e.unz onedRange. endMs];ret urn n.sort (ot),new W e(new Ue(n [0],n[3]), t.isAllDay )},isSelec tionFootpr intAllowed :function( t){return this.compo nent.dateP rofile.val idUnzonedR ange.conta insRange(t .unzonedRa nge)&&this .view.cale ndar.isSel ectionFoot printAllow ed(t)}}),S e=Wt.Event Dragging=D e.extend({ eventPoint ing:null,d ragListene r:null,isD ragging:!1 ,construct or:functio n(t,e){De. call(this, t),this.ev entPointin g=e},end:f unction(){ this.dragL istener&&t his.dragLi stener.end Interactio n()},getSe lectionDel ay:functio n(){var t= this.opt(" eventLongP ressDelay" );return n ull==t&&(t =this.opt( "longPress Delay")),t },bindToEl :function( t){var e=t his.compon ent;e.bind SegHandler ToEl(t,"mo usedown",t his.handle Mousedown. bind(this) ),e.bindSe gHandlerTo El(t,"touc hstart",th is.handleT ouchStart. bind(this) )},handleM ousedown:f unction(t, e){this.co mponent.ca nStartDrag (t,e)&&thi s.buildDra gListener( t).startIn teraction( e,{distanc e:5})},han dleTouchSt art:functi on(t,e){va r n=this.c omponent,i ={delay:th is.view.is EventDefSe lected(t.f ootprint.e ventDef)?0 :this.getS electionDe lay()};n.c anStartDra g(t,e)?thi s.buildDra gListener( t).startIn teraction( e,i):n.can StartSelec tion(t,e)& &this.buil dSelectLis tener(t).s tartIntera ction(e,i) },buildSel ectListene r:function (t){var e= this,n=thi s.view,i=t .footprint .eventDef, r=t.footpr int.eventI nstance;if (this.drag Listener)r eturn this .dragListe ner;var s= this.dragL istener=ne w pe({drag Start:func tion(t){s. isTouch&&! n.isEventD efSelected (i)&&r&&n. selectEven tInstance( r)},intera ctionEnd:f unction(t) {e.dragLis tener=null }});return s},buildD ragListene r:function (t){var e, n,i,r=this ,a=this.co mponent,l= this.view, u=l.calend ar,c=u.eve ntManager, h=t.el,d=t .footprint .eventDef, f=t.footpr int.eventI nstance;if (this.drag Listener)r eturn this .dragListe ner;var g= this.dragL istener=ne w ve(l,{sc roll:this. opt("dragS croll"),su bjectEl:h, subjectCen ter:!0,int eractionSt art:functi on(i){t.co mponent=a, e=!1,n=new ye(t.el,{ additional Class:"fc- dragging", parentEl:l .el,opacit y:g.isTouc h?null:r.o pt("dragOp acity"),re vertDurati on:r.opt(" dragRevert Duration") ,zIndex:2} ),n.hide() ,n.start(i )},dragSta rt:functio n(n){g.isT ouch&&!l.i sEventDefS elected(d) &&f&&l.sel ectEventIn stance(f), e=!0,r.eve ntPointing .handleMou seout(t,n) ,r.segDrag Start(t,n) ,l.hideEve ntsWithId( t.footprin t.eventDef .id)},hitO ver:functi on(e,o,h){ var f,p,v, m=!0;t.hit &&(h=t.hit ),f=h.comp onent.getS afeHitFoot print(h),p =e.compone nt.getSafe HitFootpri nt(e),f&&p ?(i=r.comp uteEventDr opMutation (f,p,d),i? (v=c.build MutatedEve ntInstance Group(d.id ,i),m=a.is EventInsta nceGroupAl lowed(v)): m=!1):m=!1 ,m||(i=nul l,s()),i&& l.renderDr ag(a.event RangesToEv entFootpri nts(v.slic eRenderRan ges(a.date Profile.re nderUnzone dRange,u)) ,t,g.isTou ch)?n.hide ():n.show( ),o&&(i=nu ll)},hitOu t:function (){l.unren derDrag(t) ,n.show(), i=null},hi tDone:func tion(){o() },interact ionEnd:fun ction(s){d elete t.co mponent,n. stop(!i,fu nction(){e &&(l.unren derDrag(t) ,r.segDrag Stop(t,s)) ,l.showEve ntsWithId( t.footprin t.eventDef .id),i&&l. reportEven tDrop(f,i, h,s)}),r.d ragListene r=null}}); return g}, segDragSta rt:functio n(t,e){thi s.isDraggi ng=!0,this .component .publiclyT rigger("ev entDragSta rt",{conte xt:t.el[0] ,args:[t.f ootprint.g etEventLeg acy(),e,{} ,this.view ]})},segDr agStop:fun ction(t,e) {this.isDr agging=!1, this.compo nent.publi clyTrigger ("eventDra gStop",{co ntext:t.el [0],args:[ t.footprin t.getEvent Legacy(),e ,{},this.v iew]})},co mputeEvent DropMutati on:functio n(t,e,n){v ar i=new r n;return i .setDateMu tation(thi s.computeE ventDateMu tation(t,e )),i},comp uteEventDa teMutation :function( t,e){var n ,i,r=t.unz onedRange. getStart() ,s=e.unzon edRange.ge tStart(),o =!1,a=!1,l =!1;return t.isAllDa y!==e.isAl lDay&&(o=! 0,e.isAllD ay?(l=!0,r .stripTime ()):a=!0), n=this.com ponent.dif fDates(s,r ),i=new sn ,i.clearEn d=o,i.forc eTimed=a,i .forceAllD ay=l,i.set DateDelta( n),i}}),Ce =Wt.EventR esizing=De .extend({e ventPointi ng:null,dr agListener :null,isRe sizing:!1, constructo r:function (t,e){De.c all(this,t ),this.eve ntPointing =e},end:fu nction(){t his.dragLi stener&&th is.dragLis tener.endI nteraction ()},bindTo El:functio n(t){var e =this.comp onent;e.bi ndSegHandl erToEl(t," mousedown" ,this.hand leMouseDow n.bind(thi s)),e.bind SegHandler ToEl(t,"to uchstart", this.handl eTouchStar t.bind(thi s))},handl eMouseDown :function( e,n){this. component. canStartRe size(e,n)& &this.buil dDragListe ner(e,t(n. target).is (".fc-star t-resizer" )).startIn teraction( n,{distanc e:5})},han dleTouchSt art:functi on(e,n){th is.compone nt.canStar tResize(e, n)&&this.b uildDragLi stener(e,t (n.target) .is(".fc-s tart-resiz er")).star tInteracti on(n)},bui ldDragList ener:funct ion(t,e){v ar n,i,r=t his,a=this .component ,l=this.vi ew,u=l.cal endar,c=u. eventManag er,h=t.el, d=t.footpr int.eventD ef,f=t.foo tprint.eve ntInstance ;return th is.dragLis tener=new ve(a,{scro ll:this.op t("dragScr oll"),subj ectEl:h,in teractionS tart:funct ion(){n=!1 },dragStar t:function (e){n=!0,r .eventPoin ting.handl eMouseout( t,e),r.seg ResizeStar t(t,e)},hi tOver:func tion(n,o,h ){var f,g= !0,p=a.get SafeHitFoo tprint(h), v=a.getSaf eHitFootpr int(n);p&& v?(i=e?r.c omputeEven tStartResi zeMutation (p,v,t.foo tprint):r. computeEve ntEndResiz eMutation( p,v,t.foot print),i?( f=c.buildM utatedEven tInstanceG roup(d.id, i),g=a.isE ventInstan ceGroupAll owed(f)):g =!1):g=!1, g?i.isEmpt y()&&(i=nu ll):(i=nul l,s()),i&& (l.hideEve ntsWithId( t.footprin t.eventDef .id),l.ren derEventRe size(a.eve ntRangesTo EventFootp rints(f.sl iceRenderR anges(a.da teProfile. renderUnzo nedRange,u )),t))},hi tOut:funct ion(){i=nu ll},hitDon e:function (){l.unren derEventRe size(t),l. showEvents WithId(t.f ootprint.e ventDef.id ),o()},int eractionEn d:function (e){n&&r.s egResizeSt op(t,e),i& &l.reportE ventResize (f,i,h,e), r.dragList ener=null} })},segRes izeStart:f unction(t, e){this.is Resizing=! 0,this.com ponent.pub liclyTrigg er("eventR esizeStart ",{context :t.el[0],a rgs:[t.foo tprint.get EventLegac y(),e,{},t his.view]} )},segResi zeStop:fun ction(t,e) {this.isRe sizing=!1, this.compo nent.publi clyTrigger ("eventRes izeStop",{ context:t. el[0],args :[t.footpr int.getEve ntLegacy() ,e,{},this .view]})}, computeEve ntStartRes izeMutatio n:function (t,e,n){va r i,r,s=n. componentF ootprint.u nzonedRang e,o=this.c omponent.d iffDates(e .unzonedRa nge.getSta rt(),t.unz onedRange. getStart() );return s .getStart( ).add(o)<s .getEnd()& &(i=new sn ,i.setStar tDelta(o), r=new rn,r .setDateMu tation(i), r)},comput eEventEndR esizeMutat ion:functi on(t,e,n){ var i,r,s= n.componen tFootprint .unzonedRa nge,o=this .component .diffDates (e.unzoned Range.getE nd(),t.unz onedRange. getEnd()); return s.g etEnd().ad d(o)>s.get Start()&&( i=new sn,i .setEndDel ta(o),r=ne w rn,r.set DateMutati on(i),r)}} ),Re=Wt.Ex ternalDrop ping=De.ex tend(se,{d ragListene r:null,isD ragging:!1 ,end:funct ion(){this .dragListe ner&&this. dragListen er.endInte raction()} ,bindToDoc ument:func tion(){thi s.listenTo (t(documen t),{dragst art:this.h andleDragS tart,sorts tart:this. handleDrag Start})},u nbindFromD ocument:fu nction(){t his.stopLi steningTo( t(document ))},handle DragStart: function(e ,n){var i, r;this.opt ("droppabl e")&&(i=t( (n?n.item: null)||e.t arget),r=t his.opt("d ropAccept" ),(t.isFun ction(r)?r .call(i[0] ,i):i.is(r ))&&(this. isDragging ||this.lis tenToExter nalDrag(i, e,n)))},li stenToExte rnalDrag:f unction(t, e,n){var i ,r=this,a= this.compo nent,l=thi s.view,u=w t(t);(r.dr agListener =new ve(a, {interacti onStart:fu nction(){r .isDraggin g=!0},hitO ver:functi on(t){var e,n=!0,o=t .component .getSafeHi tFootprint (t);o?(i=r .computeEx ternalDrop (o,u),i?(e =new Je(i. buildInsta nces()),n= u.eventPro ps?a.isEve ntInstance GroupAllow ed(e):a.is ExternalIn stanceGrou pAllowed(e )):n=!1):n =!1,n||(i= null,s()), i&&a.rende rDrag(a.ev entRangesT oEventFoot prints(e.s liceRender Ranges(a.d ateProfile .renderUnz onedRange, l.calendar )))},hitOu t:function (){i=null} ,hitDone:f unction(){ o(),a.unre nderDrag() },interact ionEnd:fun ction(e){i &&l.report ExternalDr op(i,Boole an(u.event Props),Boo lean(u.sti ck),t,e,n) ,r.isDragg ing=!1,r.d ragListene r=null}})) .startDrag (e)},compu teExternal Drop:funct ion(e,n){v ar i,r=thi s.view.cal endar,s=Wt .moment.ut c(e.unzone dRange.sta rtMs).stri pZone();re turn e.isA llDay&&(n. startTime? s.time(n.s tartTime): s.stripTim e()),n.dur ation&&(i= s.clone(). add(n.dura tion)),s=r .applyTime zone(s),i& &(i=r.appl yTimezone( i)),$e.par se(t.exten d({},n.eve ntProps,{s tart:s,end :i}),new o n(r))}});W t.dataAttr Prefix=""; var Te=Wt. EventPoint ing=De.ext end({mouse dOverSeg:n ull,bindTo El:functio n(t){var e =this.comp onent;e.bi ndSegHandl erToEl(t," click",thi s.handleCl ick.bind(t his)),e.bi ndSegHandl erToEl(t," mouseenter ",this.han dleMouseov er.bind(th is)),e.bin dSegHandle rToEl(t,"m ouseleave" ,this.hand leMouseout .bind(this ))},handle Click:func tion(t,e){ !1===this. component. publiclyTr igger("eve ntClick",{ context:t. el[0],args :[t.footpr int.getEve ntLegacy() ,e,this.vi ew]})&&e.p reventDefa ult()},han dleMouseov er:functio n(t,e){me. get().shou ldIgnoreMo use()||thi s.mousedOv erSeg||(th is.mousedO verSeg=t,t his.view.i sEventDefR esizable(t .footprint .eventDef) &&t.el.add Class("fc- allow-mous e-resize") ,this.comp onent.publ iclyTrigge r("eventMo useover",{ context:t. el[0],args :[t.footpr int.getEve ntLegacy() ,e,this.vi ew]}))},ha ndleMouseo ut:functio n(t,e){thi s.mousedOv erSeg&&(th is.mousedO verSeg=nul l,this.vie w.isEventD efResizabl e(t.footpr int.eventD ef)&&t.el. removeClas s("fc-allo w-mouse-re size"),thi s.componen t.publicly Trigger("e ventMouseo ut",{conte xt:t.el[0] ,args:[t.f ootprint.g etEventLeg acy(),e||{ },this.vie w]}))},end :function( ){this.mou sedOverSeg &&this.han dleMouseou t(this.mou sedOverSeg )}}),Ie=Wt .StandardI nteraction sMixin={da teClicking Class:be,d ateSelecti ngClass:Ee ,eventPoin tingClass: Te,eventDr aggingClas s:Se,event ResizingCl ass:Ce,ext ernalDropp ingClass:R e},He=Wt.E ventRender er=dt.exte nd({view:n ull,compon ent:null,f illRendere r:null,fgS egs:null,b gSegs:null ,eventTime Format:nul l,displayE ventTime:n ull,displa yEventEnd: null,const ructor:fun ction(t,e) {this.view =t._getVie w(),this.c omponent=t ,this.fill Renderer=e },opt:func tion(t){re turn this. view.opt(t )},rangeUp dated:func tion(){var t,e;this. eventTimeF ormat=this .opt("even tTimeForma t")||this. opt("timeF ormat")||t his.comput eEventTime Format(),t =this.opt( "displayEv entTime"), null==t&&( t=this.com puteDispla yEventTime ()),e=this .opt("disp layEventEn d"),null== e&&(e=this .computeDi splayEvent End()),thi s.displayE ventTime=t ,this.disp layEventEn d=e},rende r:function (t){var e, n,i,r=this .component ._getDateP rofile(),s =[],o=[];f or(e in t) n=t[e],i=n .sliceRend erRanges(r .activeUnz onedRange) ,n.getEven tDef().has BgRenderin g()?s.push .apply(s,i ):o.push.a pply(o,i); this.rende rBgRanges( s),this.re nderFgRang es(o)},unr ender:func tion(){thi s.unrender BgRanges() ,this.unre nderFgRang es()},rend erFgRanges :function( t){var e=t his.compon ent.eventR angesToEve ntFootprin ts(t),n=th is.compone nt.eventFo otprintsTo Segs(e);n= this.rende rFgSegEls( n),!1!==th is.renderF gSegs(n)&& (this.fgSe gs=n)},unr enderFgRan ges:functi on(){this. unrenderFg Segs(this. fgSegs||[] ),this.fgS egs=null}, renderBgRa nges:funct ion(t){var e=this.co mponent.ev entRangesT oEventFoot prints(t), n=this.com ponent.eve ntFootprin tsToSegs(e );!1!==thi s.renderBg Segs(n)&&( this.bgSeg s=n)},unre nderBgRang es:functio n(){this.u nrenderBgS egs(),this .bgSegs=nu ll},getSeg s:function (){return( this.bgSeg s||[]).con cat(this.f gSegs||[]) },renderFg Segs:funct ion(t){ret urn!1},unr enderFgSeg s:function (t){},rend erBgSegs:f unction(t) {var e=thi s;if(!this .fillRende rer)return !1;this.fi llRenderer .renderSeg s("bgEvent ",t,{getCl asses:func tion(t){re turn e.get BgClasses( t.footprin t.eventDef )},getCss: function(t ){return{" background -color":e. getBgColor (t.footpri nt.eventDe f)}},filte rEl:functi on(t,n){re turn e.fil terEventRe nderEl(t.f ootprint,n )}})},unre nderBgSegs :function( ){this.fil lRenderer& &this.fill Renderer.u nrender("b gEvent")}, renderFgSe gEls:funct ion(e,n){v ar i,r=thi s,s=this.v iew.hasPub licHandler s("eventRe nder"),o=" ",a=[];if( e.length){ for(i=0;i< e.length;i ++)this.be foreFgSegH tml(e[i]), o+=this.fg SegHtml(e[ i],n);t(o) .each(func tion(n,i){ var o=e[n] ,l=t(i);s& &(l=r.filt erEventRen derEl(o.fo otprint,l) ),l&&(l.da ta("fc-seg ",o),o.el= l,a.push(o ))})}retur n a},befor eFgSegHtml :function( t){},fgSeg Html:funct ion(t,e){} ,getSegCla sses:funct ion(t,e,n) {var i=["f c-event",t .isStart?" fc-start": "fc-not-st art",t.isE nd?"fc-end ":"fc-not- end"].conc at(this.ge tClasses(t .footprint .eventDef) );return e &&i.push(" fc-draggab le"),n&&i. push("fc-r esizable") ,this.view .isEventDe fSelected( t.footprin t.eventDef )&&i.push( "fc-select ed"),i},fi lterEventR enderEl:fu nction(e,n ){var i=e. getEventLe gacy(),r=t his.view.p ubliclyTri gger("even tRender",{ context:i, args:[i,n, this.view] });return! 1===r?n=nu ll:r&&!0!= =r&&(n=t(r )),n},getT imeText:fu nction(t,e ,n){return this._get TimeText(t .eventInst ance.dateP rofile.sta rt,t.event Instance.d ateProfile .end,t.com ponentFoot print.isAl lDay,e,n)} ,_getTimeT ext:functi on(t,e,n,i ,r){return null==i&& (i=this.ev entTimeFor mat),null= =r&&(r=thi s.displayE ventEnd),t his.displa yEventTime &&!n?r&&e? this.view. formatRang e({start:t ,end:e},!1 ,i):t.form at(i):""}, computeEve ntTimeForm at:functio n(){return this.opt( "smallTime Format")}, computeDis playEventT ime:functi on(){retur n!0},compu teDisplayE ventEnd:fu nction(){r eturn!0},g etBgClasse s:function (t){var e= this.getCl asses(t);r eturn e.pu sh("fc-bge vent"),e}, getClasses :function( t){var e,n =this.getS tylingObjs (t),i=[];f or(e=0;e<n .length;e+ +)i.push.a pply(i,n[e ].eventCla ssName||n[ e].classNa me||[]);re turn i},ge tSkinCss:f unction(t) {return{"b ackground- color":thi s.getBgCol or(t),"bor der-color" :this.getB orderColor (t),color: this.getTe xtColor(t) }},getBgCo lor:functi on(t){var e,n,i=this .getStylin gObjs(t);f or(e=0;e<i .length&&! n;e++)n=i[ e].eventBa ckgroundCo lor||i[e]. eventColor ||i[e].bac kgroundCol or||i[e].c olor;retur n n||(n=th is.opt("ev entBackgro undColor") ||this.opt ("eventCol or")),n},g etBorderCo lor:functi on(t){var e,n,i=this .getStylin gObjs(t);f or(e=0;e<i .length&&! n;e++)n=i[ e].eventBo rderColor| |i[e].even tColor||i[ e].borderC olor||i[e] .color;ret urn n||(n= this.opt(" eventBorde rColor")|| this.opt(" eventColor ")),n},get TextColor: function(t ){var e,n, i=this.get StylingObj s(t);for(e =0;e<i.len gth&&!n;e+ +)n=i[e].e ventTextCo lor||i[e]. textColor; return n|| (n=this.op t("eventTe xtColor")) ,n},getSty lingObjs:f unction(t) {var e=thi s.getFallb ackStyling Objs(t);re turn e.uns hift(t),e} ,getFallba ckStylingO bjs:functi on(t){retu rn[t.sourc e]},sortEv entSegs:fu nction(t){ t.sort(lt( this,"comp areEventSe gs"))},com pareEventS egs:functi on(t,e){va r n=t.foot print.comp onentFootp rint,i=n.u nzonedRang e,r=e.foot print.comp onentFootp rint,s=r.u nzonedRang e;return i .startMs-s .startMs|| s.endMs-s. startMs-(i .endMs-i.s tartMs)||r .isAllDay- n.isAllDay ||z(t.foot print.even tDef,e.foo tprint.eve ntDef,this .view.even tOrderSpec s)}}),Me=W t.Business HourRender er=dt.exte nd({compon ent:null,f illRendere r:null,seg s:null,con structor:f unction(t, e){this.co mponent=t, this.fillR enderer=e} ,render:fu nction(t){ var e=this .component ,n=e._getD ateProfile ().activeU nzonedRang e,i=t.buil dEventInst anceGroup( e.hasAllDa yBusinessH ours,n),r= i?e.eventR angesToEve ntFootprin ts(i.slice RenderRang es(n)):[]; this.rende rEventFoot prints(r)} ,renderEve ntFootprin ts:functio n(t){var e =this.comp onent.even tFootprint sToSegs(t) ;this.rend erSegs(e), this.segs= e},renderS egs:functi on(t){this .fillRende rer&&this. fillRender er.renderS egs("busin essHours", t,{getClas ses:functi on(t){retu rn["fc-non business", "fc-bgeven t"]}})},un render:fun ction(){th is.fillRen derer&&thi s.fillRend erer.unren der("busin essHours") ,this.segs =null},get Segs:funct ion(){retu rn this.se gs||[]}}), xe=Wt.Fill Renderer=d t.extend({ fillSegTag :"div",com ponent:nul l,elsByFil l:null,con structor:f unction(t) {this.comp onent=t,th is.elsByFi ll={}},ren derFootpri nt:functio n(t,e,n){t his.render Segs(t,thi s.componen t.componen tFootprint ToSegs(e), n)},render Segs:funct ion(t,e,n) {var i;ret urn e=this .buildSegE ls(t,e,n), i=this.att achSegEls( t,e),i&&th is.reportE ls(t,i),e} ,unrender: function(t ){var e=th is.elsByFi ll[t];e&&( e.remove() ,delete th is.elsByFi ll[t])},bu ildSegEls: function(e ,n,i){var r,s=this,o ="",a=[];i f(n.length ){for(r=0; r<n.length ;r++)o+=th is.buildSe gHtml(e,n[ r],i);t(o) .each(func tion(e,r){ var o=n[e] ,l=t(r);i. filterEl&& (l=i.filte rEl(o,l)), l&&(l=t(l) ,l.is(s.fi llSegTag)& &(o.el=l,a .push(o))) })}return a},buildSe gHtml:func tion(t,e,n ){var i=n. getClasses ?n.getClas ses(e):[], r=it(n.get Css?n.getC ss(e):{}); return"<"+ this.fillS egTag+(i.l ength?\' c lass="\'+i .join(" ") +\'"\':"") +(r?\' sty le="\'+r+\ '"\':"")+" />"},atta chSegEls:f unction(t, e){},repor tEls:funct ion(e,n){t his.elsByF ill[e]?thi s.elsByFil l[e]=this. elsByFill[ e].add(n): this.elsBy Fill[e]=t( n)}}),Pe=W t.HelperRe nderer=dt. extend({vi ew:null,co mponent:nu ll,eventRe nderer:nul l,helperEl s:null,con structor:f unction(t, e){this.vi ew=t._getV iew(),this .component =t,this.ev entRendere r=e},rende rComponent Footprint: function(t ){this.ren derEventFo otprints([ this.fabri cateEventF ootprint(t )])},rende rEventDrag gingFootpr ints:funct ion(t,e,n) {this.rend erEventFoo tprints(t, e,"fc-drag ging",n?nu ll:this.vi ew.opt("dr agOpacity" ))},render EventResiz ingFootpri nts:functi on(t,e,n){ this.rende rEventFoot prints(t,e ,"fc-resiz ing")},ren derEventFo otprints:f unction(t, e,n,i){var r,s=this. component. eventFootp rintsToSeg s(t),o="fc -helper "+ (n||"");fo r(s=this.e ventRender er.renderF gSegEls(s) ,r=0;r<s.l ength;r++) s[r].el.ad dClass(o); if(null!=i )for(r=0;r <s.length; r++)s[r].e l.css("opa city",i);t his.helper Els=this.r enderSegs( s,e)},rend erSegs:fun ction(t,e) {},unrende r:function (){this.he lperEls&&( this.helpe rEls.remov e(),this.h elperEls=n ull)},fabr icateEvent Footprint: function(t ){var e,n= this.view. calendar,i =n.footpri ntToDatePr ofile(t),r =new $e(ne w on(n));r eturn r.da teProfile= i,e=r.buil dInstance( ),new nn(t ,r,e)}}),z e=ue.exten d({el:null ,setElemen t:function (t){this.e l=t,this.b indGlobalH andlers(), this.rende rSkeleton( ),this.set ("isInDom" ,!0)},remo veElement: function() {this.unse t("isInDom "),this.un renderSkel eton(),thi s.unbindGl obalHandle rs(),this. el.remove( )},bindGlo balHandler s:function (){},unbin dGlobalHan dlers:func tion(){},r enderSkele ton:functi on(){},unr enderSkele ton:functi on(){}}),F e=Wt.DateC omponent=z e.extend({ uid:null,c hildrenByU id:null,is RTL:!1,nex tDayThresh old:null,d ateProfile :null,even tRendererC lass:null, helperRend ererClass: null,busin essHourRen dererClass :null,fill RendererCl ass:null,e ventRender er:null,he lperRender er:null,bu sinessHour Renderer:n ull,fillRe nderer:nul l,hitsNeed edDepth:0, hasAllDayB usinessHou rs:!1,isDa tesRendere d:!1,const ructor:fun ction(){ze .call(this ),this.uid =String(Fe .guid++),t his.childr enByUid={} ,this.next DayThresho ld=e.durat ion(this.o pt("nextDa yThreshold ")),this.i sRTL=this. opt("isRTL "),this.fi llRenderer Class&&(th is.fillRen derer=new this.fillR endererCla ss(this)), this.event RendererCl ass&&(this .eventRend erer=new t his.eventR endererCla ss(this,th is.fillRen derer)),th is.helperR endererCla ss&&this.e ventRender er&&(this. helperRend erer=new t his.helper RendererCl ass(this,t his.eventR enderer)), this.busin essHourRen dererClass &&this.fil lRenderer& &(this.bus inessHourR enderer=ne w this.bus inessHourR endererCla ss(this,th is.fillRen derer))},a ddChild:fu nction(t){ return!thi s.children ByUid[t.ui d]&&(this. childrenBy Uid[t.uid] =t,!0)},re moveChild: function(t ){return!! this.child renByUid[t .uid]&&(de lete this. childrenBy Uid[t.uid] ,!0)},upda teSize:fun ction(t,e, n){this.ca llChildren ("updateSi ze",argume nts)},opt: function(t ){return t his._getVi ew().opt(t )},publicl yTrigger:f unction(){ var t=this ._getCalen dar();retu rn t.publi clyTrigger .apply(t,a rguments)} ,hasPublic Handlers:f unction(){ var t=this ._getCalen dar();retu rn t.hasPu blicHandle rs.apply(t ,arguments )},execute DateRender :function( t){this.da teProfile= t,this.ren derDates(t ),this.isD atesRender ed=!0,this .callChild ren("execu teDateRend er",argume nts)},exec uteDateUnr ender:func tion(){\nt his.callCh ildren("ex ecuteDateU nrender",a rguments), this.dateP rofile=nul l,this.unr enderDates (),this.is DatesRende red=!1},re nderDates: function(t ){},unrend erDates:fu nction(){} ,getNowInd icatorUnit :function( ){},render NowIndicat or:functio n(t){this. callChildr en("render NowIndicat or",argume nts)},unre nderNowInd icator:fun ction(){th is.callChi ldren("unr enderNowIn dicator",a rguments)} ,renderBus inessHours :function( t){this.bu sinessHour Renderer&& this.busin essHourRen derer.rend er(t),this .callChild ren("rende rBusinessH ours",argu ments)},un renderBusi nessHours: function() {this.call Children(" unrenderBu sinessHour s",argumen ts),this.b usinessHou rRenderer& &this.busi nessHourRe nderer.unr ender()},e xecuteEven tRender:fu nction(t){ this.event Renderer?( this.event Renderer.r angeUpdate d(),this.e ventRender er.render( t)):this.r enderEvent s&&this.re nderEvents (Dt(t)),th is.callChi ldren("exe cuteEventR ender",arg uments)},e xecuteEven tUnrender: function() {this.call Children(" executeEve ntUnrender ",argument s),this.ev entRendere r?this.eve ntRenderer .unrender( ):this.des troyEvents &&this.des troyEvents ()},getBus inessHourS egs:functi on(){var t =this.getO wnBusiness HourSegs() ;return th is.iterChi ldren(func tion(e){t. push.apply (t,e.getBu sinessHour Segs())}), t},getOwnB usinessHou rSegs:func tion(){ret urn this.b usinessHou rRenderer? this.busin essHourRen derer.getS egs():[]}, getEventSe gs:functio n(){var t= this.getOw nEventSegs ();return this.iterC hildren(fu nction(e){ t.push.app ly(t,e.get EventSegs( ))}),t},ge tOwnEventS egs:functi on(){retur n this.eve ntRenderer ?this.even tRenderer. getSegs(): []},trigge rAfterEven tsRendered :function( ){this.tri ggerAfterE ventSegsRe ndered(thi s.getEvent Segs()),th is.publicl yTrigger(" eventAfter AllRender" ,{context: this,args: [this]})}, triggerAft erEventSeg sRendered: function(t ){var e=th is;this.ha sPublicHan dlers("eve ntAfterRen der")&&t.f orEach(fun ction(t){v ar n;t.el& &(n=t.foot print.getE ventLegacy (),e.publi clyTrigger ("eventAft erRender", {context:n ,args:[n,t .el,e]}))} )},trigger BeforeEven tsDestroye d:function (){this.tr iggerBefor eEventSegs Destroyed( this.getEv entSegs()) },triggerB eforeEvent SegsDestro yed:functi on(t){var e=this;thi s.hasPubli cHandlers( "eventDest roy")&&t.f orEach(fun ction(t){v ar n;t.el& &(n=t.foot print.getE ventLegacy (),e.publi clyTrigger ("eventDes troy",{con text:n,arg s:[n,t.el, e]}))})},s howEventsW ithId:func tion(t){th is.getEven tSegs().fo rEach(func tion(e){e. footprint. eventDef.i d===t&&e.e l&&e.el.cs s("visibil ity","")}) ,this.call Children(" showEvents WithId",ar guments)}, hideEvents WithId:fun ction(t){t his.getEve ntSegs().f orEach(fun ction(e){e .footprint .eventDef. id===t&&e. el&&e.el.c ss("visibi lity","hid den")}),th is.callChi ldren("hid eEventsWit hId",argum ents)},ren derDrag:fu nction(t,e ,n){var i= !1;return this.iterC hildren(fu nction(r){ r.renderDr ag(t,e,n)& &(i=!0)}), i},unrende rDrag:func tion(){thi s.callChil dren("unre nderDrag", arguments) },renderEv entResize: function(t ,e,n){this .callChild ren("rende rEventResi ze",argume nts)},unre nderEventR esize:func tion(){thi s.callChil dren("unre nderEventR esize",arg uments)},r enderSelec tionFootpr int:functi on(t){this .renderHig hlight(t), this.callC hildren("r enderSelec tionFootpr int",argum ents)},unr enderSelec tion:funct ion(){this .unrenderH ighlight() ,this.call Children(" unrenderSe lection",a rguments)} ,renderHig hlight:fun ction(t){t his.fillRe nderer&&th is.fillRen derer.rend erFootprin t("highlig ht",t,{get Classes:fu nction(){r eturn["fc- highlight" ]}}),this. callChildr en("render Highlight" ,arguments )},unrende rHighlight :function( ){this.fil lRenderer& &this.fill Renderer.u nrender("h ighlight") ,this.call Children(" unrenderHi ghlight",a rguments)} ,hitsNeede d:function (){this.hi tsNeededDe pth++||thi s.prepareH its(),this .callChild ren("hitsN eeded",arg uments)},h itsNotNeed ed:functio n(){this.h itsNeededD epth&&!--t his.hitsNe ededDepth& &this.rele aseHits(), this.callC hildren("h itsNotNeed ed",argume nts)},prep areHits:fu nction(){} ,releaseHi ts:functio n(){},quer yHit:funct ion(t,e){v ar n,i,r=t his.childr enByUid;fo r(n in r)i f(i=r[n].q ueryHit(t, e))break;r eturn i},g etSafeHitF ootprint:f unction(t) {var e=thi s.getHitFo otprint(t) ;return th is.datePro file.activ eUnzonedRa nge.contai nsRange(e. unzonedRan ge)?e:null },getHitFo otprint:fu nction(t){ },getHitEl :function( t){},event RangesToEv entFootpri nts:functi on(t){var e,n=[];for (e=0;e<t.l ength;e++) n.push.app ly(n,this. eventRange ToEventFoo tprints(t[ e]));retur n n},event RangeToEve ntFootprin ts:functio n(t){retur n[zt(t)]}, eventFootp rintsToSeg s:function (t){var e, n=[];for(e =0;e<t.len gth;e++)n. push.apply (n,this.ev entFootpri ntToSegs(t [e]));retu rn n},even tFootprint ToSegs:fun ction(t){v ar e,n,i,r =t.compone ntFootprin t.unzonedR ange;for(e =this.comp onentFootp rintToSegs (t.compone ntFootprin t),n=0;n<e .length;n+ +)i=e[n],r .isStart|| (i.isStart =!1),r.isE nd||(i.isE nd=!1),i.f ootprint=t ;return e} ,component FootprintT oSegs:func tion(t){re turn[]},ca llChildren :function( t,e){this. iterChildr en(functio n(n){n[t]. apply(n,e) })},iterCh ildren:fun ction(t){v ar e,n=thi s.children ByUid;for( e in n)t(n [e])},_get Calendar:f unction(){ return thi s.calendar ||this.vie w.calendar },_getView :function( ){return t his.view}, _getDatePr ofile:func tion(){ret urn this._ getView(). get("dateP rofile")}} );Fe.guid= 0,Fe.mixin ({buildGot oAnchorHtm l:function (e,n,i){va r r,s,o,a; return t.i sPlainObje ct(e)?(r=e .date,s=e. type,o=e.f orceOff):r =e,r=Wt.mo ment(r),a= {date:r.fo rmat("YYYY -MM-DD"),t ype:s||"da y"},"strin g"==typeof n&&(i=n,n =null),n=n ?" "+rt(n) :"",i=i||" ",!o&&this .opt("navL inks")?"<a "+n+\' dat a-goto="\' +et(JSON.s tringify(a ))+\'">\'+ i+"</a>":" <span"+n+" >"+i+"</sp an>"},getA llDayHtml: function() {return th is.opt("al lDayHtml") ||et(this. opt("allDa yText"))}, getDayClas ses:functi on(t,e){va r n,i=this ._getView( ),r=[];ret urn this.d ateProfile .activeUnz onedRange. containsDa te(t)?(r.p ush("fc-"+ jt[t.day() ]),i.isDat eInOtherMo nth(t,this .dateProfi le)&&r.pus h("fc-othe r-month"), n=i.calend ar.getNow( ),t.isSame (n,"day")? (r.push("f c-today"), !0!==e&&r. push(i.cal endar.them e.getClass ("today")) ):t<n?r.pu sh("fc-pas t"):r.push ("fc-futur e")):r.pus h("fc-disa bled-day") ,r},format Range:func tion(t,e,n ,i){var r= t.end;retu rn e&&(r=r .clone().s ubtract(1) ),ne(t.sta rt,r,n,i,t his.isRTL) },currentR angeAs:fun ction(t){r eturn this ._getDateP rofile().c urrentUnzo nedRange.a s(t)},comp uteDayRang e:function (t){var e= this._getC alendar(), n=e.msToUt cMoment(t. startMs,!0 ),i=e.msTo UtcMoment( t.endMs),r =+i.time() ,s=i.clone ().stripTi me();retur n r&&r>=th is.nextDay Threshold& &s.add(1," days"),s<= n&&(s=n.cl one().add( 1,"days")) ,{start:n, end:s}},is MultiDayRa nge:functi on(t){var e=this.com puteDayRan ge(t);retu rn e.end.d iff(e.star t,"days")> 1}});var k e=Wt.Inter activeDate Component= Fe.extend( {dateClick ingClass:n ull,dateSe lectingCla ss:null,ev entPointin gClass:nul l,eventDra ggingClass :null,even tResizingC lass:null, externalDr oppingClas s:null,dat eClicking: null,dateS electing:n ull,eventP ointing:nu ll,eventDr agging:nul l,eventRes izing:null ,externalD ropping:nu ll,segSele ctor:".fc- event-cont ainer > *" ,largeUnit :null,cons tructor:fu nction(){F e.call(thi s),this.da teSelectin gClass&&(t his.dateCl icking=new this.date ClickingCl ass(this)) ,this.date SelectingC lass&&(thi s.dateSele cting=new this.dateS electingCl ass(this)) ,this.even tPointingC lass&&(thi s.eventPoi nting=new this.event PointingCl ass(this)) ,this.even tDraggingC lass&&this .eventPoin ting&&(thi s.eventDra gging=new this.event DraggingCl ass(this,t his.eventP ointing)), this.event ResizingCl ass&&this. eventPoint ing&&(this .eventResi zing=new t his.eventR esizingCla ss(this,th is.eventPo inting)),t his.extern alDropping Class&&(th is.externa lDropping= new this.e xternalDro ppingClass (this))},s etElement: function(t ){Fe.proto type.setEl ement.appl y(this,arg uments),th is.dateCli cking&&thi s.dateClic king.bindT oEl(t),thi s.dateSele cting&&thi s.dateSele cting.bind ToEl(t),th is.bindAll SegHandler sToEl(t)}, unrender:f unction(){ this.endIn teractions (),Fe.prot otype.unre nder.apply (this,argu ments)},ex ecuteEvent Unrender:f unction(){ this.endIn teractions (),Fe.prot otype.exec uteEventUn render.app ly(this,ar guments)}, bindGlobal Handlers:f unction(){ Fe.prototy pe.bindGlo balHandler s.apply(th is,argumen ts),this.e xternalDro pping&&thi s.external Dropping.b indToDocum ent()},unb indGlobalH andlers:fu nction(){F e.prototyp e.unbindGl obalHandle rs.apply(t his,argume nts),this. externalDr opping&&th is.externa lDropping. unbindFrom Document() },bindDate HandlerToE l:function (e,n,i){va r r=this;t his.el.on( n,function (e){if(!t( e.target). is(r.segSe lector+"," +r.segSele ctor+" *,. fc-more,a[ data-goto] "))return i.call(r,e )})},bindA llSegHandl ersToEl:fu nction(t){ [this.even tPointing, this.event Dragging,t his.eventR esizing].f orEach(fun ction(e){e &&e.bindTo El(t)})},b indSegHand lerToEl:fu nction(e,n ,i){var r= this;e.on( n,this.seg Selector,f unction(e) {var n=t(t his).data( "fc-seg"); if(n&&!r.s houldIgnor eEventPoin ting())ret urn i.call (r,n,e)})} ,shouldIgn oreMouse:f unction(){ return me. get().shou ldIgnoreMo use()},sho uldIgnoreT ouch:funct ion(){var t=this._ge tView();re turn t.isS elected||t .selectedE vent},shou ldIgnoreEv entPointin g:function (){return this.event Dragging&& this.event Dragging.i sDragging| |this.even tResizing& &this.even tResizing. isResizing },canStart Selection: function(t ,e){return S(e)&&!th is.canStar tResize(t, e)&&(this. isEventDef Draggable( t.footprin t.eventDef )||this.is EventDefRe sizable(t. footprint. eventDef)) },canStart Drag:funct ion(t,e){r eturn!this .canStartR esize(t,e) &&this.isE ventDefDra ggable(t.f ootprint.e ventDef)}, canStartRe size:funct ion(e,n){v ar i=this. _getView() ,r=e.footp rint.event Def;return (!S(n)||i. isEventDef Selected(r ))&&this.i sEventDefR esizable(r )&&t(n.tar get).is(". fc-resizer ")},endInt eractions: function() {[this.dat eClicking, this.dateS electing,t his.eventP ointing,th is.eventDr agging,thi s.eventRes izing].for Each(funct ion(t){t&& t.end()})} ,isEventDe fDraggable :function( t){return this.isEve ntDefStart Editable(t )},isEvent DefStartEd itable:fun ction(t){v ar e=t.isS tartExplic itlyEditab le();retur n null==e& &null==(e= this.opt(" eventStart Editable") )&&(e=this .isEventDe fGenerally Editable(t )),e},isEv entDefGene rallyEdita ble:functi on(t){var e=t.isExpl icitlyEdit able();ret urn null== e&&(e=this .opt("edit able")),e} ,isEventDe fResizable FromStart: function(t ){return t his.opt("e ventResiza bleFromSta rt")&&this .isEventDe fResizable (t)},isEve ntDefResiz ableFromEn d:function (t){return this.isEv entDefResi zable(t)}, isEventDef Resizable: function(t ){var e=t. isDuration Explicitly Editable() ;return nu ll==e&&nul l==(e=this .opt("even tDurationE ditable")) &&(e=this. isEventDef GenerallyE ditable(t) ),e},diffD ates:funct ion(t,e){r eturn this .largeUnit ?L(t,e,thi s.largeUni t):B(t,e)} ,isEventIn stanceGrou pAllowed:f unction(t) {var e,n=t his._getVi ew(),i=thi s.dateProf ile,r=this .eventRang esToEventF ootprints( t.getAllEv entRanges( ));for(e=0 ;e<r.lengt h;e++)if(! i.validUnz onedRange. containsRa nge(r[e].c omponentFo otprint.un zonedRange ))return!1 ;return n. calendar.i sEventInst anceGroupA llowed(t)} ,isExterna lInstanceG roupAllowe d:function (t){var e, n=this._ge tView(),i= this.dateP rofile,r=t his.eventR angesToEve ntFootprin ts(t.getAl lEventRang es());for( e=0;e<r.le ngth;e++)i f(!i.valid UnzonedRan ge.contain sRange(r[e ].componen tFootprint .unzonedRa nge))retur n!1;for(e= 0;e<r.leng th;e++)if( !n.calenda r.isSelect ionFootpri ntAllowed( r[e].compo nentFootpr int))retur n!1;return !0}}),Be=W t.DayTable Mixin={bre akOnWeeks: !1,dayDate s:null,day Indices:nu ll,daysPer Row:null,r owCnt:null ,colCnt:nu ll,colHead Format:nul l,updateDa yTable:fun ction(){fo r(var t,e, n,i=this.v iew,r=i.ca lendar,s=r .msToUtcMo ment(this. dateProfil e.renderUn zonedRange .startMs,! 0),o=r.msT oUtcMoment (this.date Profile.re nderUnzone dRange.end Ms,!0),a=- 1,l=[],u=[ ];s.isBefo re(o);)i.i sHiddenDay (s)?l.push (a+.5):(a+ +,l.push(a ),u.push(s .clone())) ,s.add(1," days");if( this.break OnWeeks){f or(e=u[0]. day(),t=1; t<u.length &&u[t].day ()!=e;t++) ;n=Math.ce il(u.lengt h/t)}else n=1,t=u.le ngth;this. dayDates=u ,this.dayI ndices=l,t his.daysPe rRow=t,thi s.rowCnt=n ,this.upda teDayTable Cols()},up dateDayTab leCols:fun ction(){th is.colCnt= this.compu teColCnt() ,this.colH eadFormat= this.opt(" columnForm at")||this .computeCo lHeadForma t()},compu teColCnt:f unction(){ return thi s.daysPerR ow},getCel lDate:func tion(t,e){ return thi s.dayDates [this.getC ellDayInde x(t,e)].cl one()},get CellRange: function(t ,e){var n= this.getCe llDate(t,e );return{s tart:n,end :n.clone() .add(1,"da ys")}},get CellDayInd ex:functio n(t,e){ret urn t*this .daysPerRo w+this.get ColDayInde x(e)},getC olDayIndex :function( t){return this.isRTL ?this.colC nt-1-t:t}, getDateDay Index:func tion(t){va r e=this.d ayIndices, n=t.diff(t his.dayDat es[0],"day s");return n<0?e[0]- 1:n>=e.len gth?e[e.le ngth-1]+1: e[n]},comp uteColHead Format:fun ction(){re turn this. rowCnt>1|| this.colCn t>10?"ddd" :this.colC nt>1?this. opt("dayOf MonthForma t"):"dddd" },sliceRan geByRow:fu nction(t){ var e,n,i, r,s,o=this .daysPerRo w,a=this.v iew.comput eDayRange( t),l=this. getDateDay Index(a.st art),u=thi s.getDateD ayIndex(a. end.clone( ).subtract (1,"days") ),c=[];for (e=0;e<thi s.rowCnt;e ++)n=e*o,i =n+o-1,r=M ath.max(l, n),s=Math. min(u,i),r =Math.ceil (r),s=Math .floor(s), r<=s&&c.pu sh({row:e, firstRowDa yIndex:r-n ,lastRowDa yIndex:s-n ,isStart:r ===l,isEnd :s===u});r eturn c},s liceRangeB yDay:funct ion(t){var e,n,i,r,s ,o,a=this. daysPerRow ,l=this.vi ew.compute DayRange(t ),u=this.g etDateDayI ndex(l.sta rt),c=this .getDateDa yIndex(l.e nd.clone() .subtract( 1,"days")) ,h=[];for( e=0;e<this .rowCnt;e+ +)for(n=e* a,i=n+a-1, r=n;r<=i;r ++)s=Math. max(u,r),o =Math.min( c,r),s=Mat h.ceil(s), o=Math.flo or(o),s<=o &&h.push({ row:e,firs tRowDayInd ex:s-n,las tRowDayInd ex:o-n,isS tart:s===u ,isEnd:o== =c});retur n h},rende rHeadHtml: function() {var t=thi s.view.cal endar.them e;return\' <div class ="fc-row \ '+t.getCla ss("header Row")+\'"> <table cla ss="\'+t.g etClass("t ableGrid") +\'"><thea d>\'+this. renderHead TrHtml()+" </thead></ table></di v>"},rende rHeadIntro Html:funct ion(){retu rn this.re nderIntroH tml()},ren derHeadTrH tml:functi on(){retur n"<tr>"+(t his.isRTL? "":this.re nderHeadIn troHtml()) +this.rend erHeadDate CellsHtml( )+(this.is RTL?this.r enderHeadI ntroHtml() :"")+"</tr >"},render HeadDateCe llsHtml:fu nction(){v ar t,e,n=[ ];for(t=0; t<this.col Cnt;t++)e= this.getCe llDate(0,t ),n.push(t his.render HeadDateCe llHtml(e)) ;return n. join("")}, renderHead DateCellHt ml:functio n(t,e,n){v ar i=this. view,r=thi s.dateProf ile.active UnzonedRan ge.contain sDate(t),s =["fc-day- header",i. calendar.t heme.getCl ass("widge tHeader")] ,o=et(t.fo rmat(this. colHeadFor mat));retu rn 1===thi s.rowCnt?s =s.concat( this.getDa yClasses(t ,!0)):s.pu sh("fc-"+j t[t.day()] ),\'<th cl ass="\'+s. join(" ")+ \'"\'+(1== =(r&&this. rowCnt)?\' data-date ="\'+t.for mat("YYYY- MM-DD")+\' "\':"")+(e >1?\' cols pan="\'+e+ \'"\':"")+ (n?" "+n:" ")+">"+(r? i.buildGot oAnchorHtm l({date:t, forceOff:t his.rowCnt >1||1===th is.colCnt} ,o):o)+"</ th>"},rend erBgTrHtml :function( t){return" <tr>"+(thi s.isRTL?"" :this.rend erBgIntroH tml(t))+th is.renderB gCellsHtml (t)+(this. isRTL?this .renderBgI ntroHtml(t ):"")+"</t r>"},rende rBgIntroHt ml:functio n(t){retur n this.ren derIntroHt ml()},rend erBgCellsH tml:functi on(t){var e,n,i=[];f or(e=0;e<t his.colCnt ;e++)n=thi s.getCellD ate(t,e),i .push(this .renderBgC ellHtml(n) );return i .join("")} ,renderBgC ellHtml:fu nction(t,e ){var n=th is.view,i= this.dateP rofile.act iveUnzoned Range.cont ainsDate(t ),r=this.g etDayClass es(t);retu rn r.unshi ft("fc-day ",n.calend ar.theme.g etClass("w idgetConte nt")),\'<t d class="\ '+r.join(" ")+\'"\'+ (i?\' data -date="\'+ t.format(" YYYY-MM-DD ")+\'"\':" ")+(e?" "+ e:"")+"></ td>"},rend erIntroHtm l:function (){},booke ndCells:fu nction(t){ var e=this .renderInt roHtml();e &&(this.is RTL?t.appe nd(e):t.pr epend(e))} },Ae=Wt.Vi ew=ke.exte nd({type:n ull,name:n ull,title: null,calen dar:null,v iewSpec:nu ll,options :null,rend erQueue:nu ll,batchRe nderDepth: 0,queuedSc roll:null, isSelected :!1,select edEventIns tance:null ,eventOrde rSpecs:nul l,isHidden DayHash:nu ll,isNowIn dicatorRen dered:null ,initialNo wDate:null ,initialNo wQueriedMs :null,nowI ndicatorTi meoutID:nu ll,nowIndi catorInter valID:null ,construct or:functio n(t,e){thi s.calendar =t,this.vi ewSpec=e,t his.type=e .type,this .options=e .options,t his.name=t his.type,k e.call(thi s),this.in itRenderQu eue(),this .initHidde nDays(),th is.bindBas eRenderHan dlers(),th is.eventOr derSpecs=P (this.opt( "eventOrde r")),this. initialize &&this.ini tialize()} ,_getView: function() {return th is},opt:fu nction(t){ return thi s.options[ t]},initRe nderQueue: function() {this.rend erQueue=ne w de({even t:this.opt ("eventRen derWait")} ),this.ren derQueue.o n("start", this.onRen derQueueSt art.bind(t his)),this .renderQue ue.on("sto p",this.on RenderQueu eStop.bind (this)),th is.on("bef ore:change ",this.sta rtBatchRen der),this. on("change ",this.sto pBatchRend er)},onRen derQueueSt art:functi on(){this. calendar.f reezeConte ntHeight() ,this.addS croll(this .queryScro ll())},onR enderQueue Stop:funct ion(){this .calendar. updateView Size()&&th is.popScro ll(),this. calendar.t hawContent Height()}, startBatch Render:fun ction(){th is.batchRe nderDepth+ +||this.re nderQueue. pause()},s topBatchRe nder:funct ion(){--th is.batchRe nderDepth| |this.rend erQueue.re sume()},re questRende r:function (t,e,n){th is.renderQ ueue.queue (t,e,n)},w henSizeUpd ated:funct ion(t){thi s.renderQu eue.isRunn ing?this.r enderQueue .one("stop ",t.bind(t his)):t.ca ll(this)}, computeTit le:functio n(t){var e ;return e= /^(year|mo nth)$/.tes t(t.curren tRangeUnit )?t.curren tUnzonedRa nge:t.acti veUnzonedR ange,this. formatRang e({start:t his.calend ar.msToMom ent(e.star tMs,t.isRa ngeAllDay) ,end:this. calendar.m sToMoment( e.endMs,t. isRangeAll Day)},t.is RangeAllDa y,this.opt ("titleFor mat")||thi s.computeT itleFormat (t),this.o pt("titleR angeSepara tor"))},co mputeTitle Format:fun ction(t){v ar e=t.cur rentRangeU nit;return "year"==e? "YYYY":"mo nth"==e?th is.opt("mo nthYearFor mat"):t.cu rrentUnzon edRange.as ("days")>1 ?"ll":"LL" },setDate: function(t ){var e=th is.get("da teProfile" ),n=this.b uildDatePr ofile(t,nu ll,!0);e&& e.activeUn zonedRange .equals(n. activeUnzo nedRange)| |this.set( "dateProfi le",n)},un setDate:fu nction(){t his.unset( "dateProfi le")},fetc hInitialEv ents:funct ion(t){var e=this.ca lendar,n=t .isRangeAl lDay&&!thi s.usesMinM axTime;ret urn e.requ estEvents( e.msToMome nt(t.activ eUnzonedRa nge.startM s,n),e.msT oMoment(t. activeUnzo nedRange.e ndMs,n))}, bindEventC hanges:fun ction(){th is.listenT o(this.cal endar,"eve ntsReset", this.reset Events)},u nbindEvent Changes:fu nction(){t his.stopLi steningTo( this.calen dar,"event sReset")}, setEvents: function(t ){this.set ("currentE vents",t), this.set(" hasEvents" ,!0)},unse tEvents:fu nction(){t his.unset( "currentEv ents"),thi s.unset("h asEvents") },resetEve nts:functi on(t){this .startBatc hRender(), this.unset Events(),t his.setEve nts(t),thi s.stopBatc hRender()} ,requestDa teRender:f unction(t) {var e=thi s;this.req uestRender (function( ){e.execut eDateRende r(t)},"dat e","init") },requestD ateUnrende r:function (){var t=t his;this.r equestRend er(functio n(){t.exec uteDateUnr ender()}," date","des troy")},ex ecuteDateR ender:func tion(t){Fe .prototype .executeDa teRender.a pply(this, arguments) ,this.rend er&&this.r ender(),th is.trigger ("datesRen dered"),th is.addScro ll({isDate Init:!0}), this.start NowIndicat or()},exec uteDateUnr ender:func tion(){thi s.unselect (),this.st opNowIndic ator(),thi s.trigger( "before:da tesUnrende red"),this .destroy&& this.destr oy(),Fe.pr ototype.ex ecuteDateU nrender.ap ply(this,a rguments)} ,bindBaseR enderHandl ers:functi on(){var t =this;this .on("dates Rendered", function() {t.whenSiz eUpdated(t .triggerVi ewRender)} ),this.on( "before:da tesUnrende red",funct ion(){t.tr iggerViewD estroy()}) },triggerV iewRender: function() {this.publ iclyTrigge r("viewRen der",{cont ext:this,a rgs:[this, this.el]}) },triggerV iewDestroy :function( ){this.pub liclyTrigg er("viewDe stroy",{co ntext:this ,args:[thi s,this.el] })},reques tEventsRen der:functi on(t){var e=this;thi s.requestR ender(func tion(){e.e xecuteEven tRender(t) ,e.whenSiz eUpdated(e .triggerAf terEventsR endered)}, "event","i nit")},req uestEvents Unrender:f unction(){ var t=this ;this.requ estRender( function() {t.trigger BeforeEven tsDestroye d(),t.exec uteEventUn render()}, "event","d estroy")}, requestBus inessHours Render:fun ction(t){v ar e=this; this.reque stRender(f unction(){ e.renderBu sinessHour s(t)},"bus inessHours ","init")} ,requestBu sinessHour sUnrender: function() {var t=thi s;this.req uestRender (function( ){t.unrend erBusiness Hours()}," businessHo urs","dest roy")},bin dGlobalHan dlers:func tion(){ke. prototype. bindGlobal Handlers.a pply(this, arguments) ,this.list enTo(me.ge t(),{touch start:this .processUn select,mou sedown:thi s.handleDo cumentMous edown})},u nbindGloba lHandlers: function() {ke.protot ype.unbind GlobalHand lers.apply (this,argu ments),thi s.stopList eningTo(me .get())},s tartNowInd icator:fun ction(){va r t,n,i,r= this;this. opt("nowIn dicator")& &(t=this.g etNowIndic atorUnit() )&&(n=lt(t his,"updat eNowIndica tor"),this .initialNo wDate=this .calendar. getNow(),t his.initia lNowQuerie dMs=+new D ate,i=this .initialNo wDate.clon e().startO f(t).add(1 ,t)-this.i nitialNowD ate,this.n owIndicato rTimeoutID =setTimeou t(function (){r.nowIn dicatorTim eoutID=nul l,n(),i=+e .duration( 1,t),i=Mat h.max(100, i),r.nowIn dicatorInt ervalID=se tInterval( n,i)},i))} ,updateNow Indicator: function() {this.isDa tesRendere d&&this.in itialNowDa te&&(this. unrenderNo wIndicator (),this.re nderNowInd icator(thi s.initialN owDate.clo ne().add(n ew Date-th is.initial NowQueried Ms)),this. isNowIndic atorRender ed=!0)},st opNowIndic ator:funct ion(){this .isNowIndi catorRende red&&(this .nowIndica torTimeout ID&&(clear Timeout(th is.nowIndi catorTimeo utID),this .nowIndica torTimeout ID=null),t his.nowInd icatorInte rvalID&&(c learTimeou t(this.now IndicatorI ntervalID) ,this.nowI ndicatorIn tervalID=n ull),this. unrenderNo wIndicator (),this.is NowIndicat orRendered =!1)},upda teSize:fun ction(t,e, n){this.se tHeight?th is.setHeig ht(t,e):ke .prototype .updateSiz e.apply(th is,argumen ts),this.u pdateNowIn dicator()} ,addScroll :function( e){var n=t his.queued Scroll||(t his.queued Scroll={}) ;t.extend( n,e)},popS croll:func tion(){thi s.applyQue uedScroll( ),this.que uedScroll= null},appl yQueuedScr oll:functi on(){this. queuedScro ll&&this.a pplyScroll (this.queu edScroll)} ,queryScro ll:functio n(){var e= {};return this.isDat esRendered &&t.extend (e,this.qu eryDateScr oll()),e}, applyScrol l:function (e){e.isDa teInit&&th is.isDates Rendered&& t.extend(e ,this.comp uteInitial DateScroll ()),this.i sDatesRend ered&&this .applyDate Scroll(e)} ,computeIn itialDateS croll:func tion(){ret urn{}},que ryDateScro ll:functio n(){return {}},applyD ateScroll: function(t ){},report EventDrop: function(t ,n,i,r){va r s=this.c alendar.ev entManager ,o=s.mutat eEventsWit hId(t.def. id,n,this. calendar), a=n.dateMu tation;a&& (t.datePro file=a.bui ldNewDateP rofile(t.d ateProfile ,this.cale ndar)),thi s.triggerE ventDrop(t ,a&&a.date Delta||e.d uration(), o,i,r)},tr iggerEvent Drop:funct ion(t,e,n, i,r){this. publiclyTr igger("eve ntDrop",{c ontext:i[0 ],args:[t. toLegacy() ,e,n,r,{}, this]})},r eportExter nalDrop:fu nction(t,e ,n,i,r,s){ e&&this.ca lendar.eve ntManager. addEventDe f(t,n),thi s.triggerE xternalDro p(t,e,i,r, s)},trigge rExternalD rop:functi on(t,e,n,i ,r){this.p ubliclyTri gger("drop ",{context :n[0],args :[t.datePr ofile.star t.clone(), i,r,this]} ),e&&this. publiclyTr igger("eve ntReceive" ,{context: this,args: [t.buildIn stance().t oLegacy(), this]})},r eportEvent Resize:fun ction(t,e, n,i){var r =this.cale ndar.event Manager,s= r.mutateEv entsWithId (t.def.id, e,this.cal endar);t.d ateProfile =e.dateMut ation.buil dNewDatePr ofile(t.da teProfile, this.calen dar),this. triggerEve ntResize(t ,e.dateMut ation.endD elta,s,n,i )},trigger EventResiz e:function (t,e,n,i,r ){this.pub liclyTrigg er("eventR esize",{co ntext:i[0] ,args:[t.t oLegacy(), e,n,r,{},t his]})},se lect:funct ion(t,e){t his.unsele ct(e),this .renderSel ectionFoot print(t),t his.report Selection( t,e)},rend erSelectio nFootprint :function( t,e){this. renderSele ction?this .renderSel ection(t.t oLegacy(th is.calenda r)):ke.pro totype.ren derSelecti onFootprin t.apply(th is,argumen ts)},repor tSelection :function( t,e){this. isSelected =!0,this.t riggerSele ct(t,e)},t riggerSele ct:functio n(t,e){var n=this.ca lendar.foo tprintToDa teProfile( t);this.pu bliclyTrig ger("selec t",{contex t:this,arg s:[n.start ,n.end,e,t his]})},un select:fun ction(t){t his.isSele cted&&(thi s.isSelect ed=!1,this .destroySe lection&&t his.destro ySelection (),this.un renderSele ction(),th is.publicl yTrigger(" unselect", {context:t his,args:[ t,this]})) },selectEv entInstanc e:function (t){this.s electedEve ntInstance &&this.sel ectedEvent Instance== =t||(this. unselectEv entInstanc e(),this.g etEventSeg s().forEac h(function (e){e.foot print.even tInstance= ==t&&e.el& &e.el.addC lass("fc-s elected")} ),this.sel ectedEvent Instance=t )},unselec tEventInst ance:funct ion(){this .selectedE ventInstan ce&&(this. getEventSe gs().forEa ch(functio n(t){t.el& &t.el.remo veClass("f c-selected ")}),this. selectedEv entInstanc e=null)},i sEventDefS elected:fu nction(t){ return thi s.selected EventInsta nce&&this. selectedEv entInstanc e.def.id== =t.id},han dleDocumen tMousedown :function( t){D(t)&&t his.proces sUnselect( t)},proces sUnselect: function(t ){this.pro cessRangeU nselect(t) ,this.proc essEventUn select(t)} ,processRa ngeUnselec t:function (e){var n; this.isSel ected&&thi s.opt("uns electAuto" )&&((n=thi s.opt("uns electCance l"))&&t(e. target).cl osest(n).l ength||thi s.unselect (e))},proc essEventUn select:fun ction(e){t his.select edEventIns tance&&(t( e.target). closest(". fc-selecte d").length ||this.uns electEvent Instance() )},trigger BaseRender ed:functio n(){this.p ubliclyTri gger("view Render",{c ontext:thi s,args:[th is,this.el ]})},trigg erBaseUnre ndered:fun ction(){th is.publicl yTrigger(" viewDestro y",{contex t:this,arg s:[this,th is.el]})}, triggerDay Click:func tion(t,e,n ){var i=th is.calenda r.footprin tToDatePro file(t);th is.publicl yTrigger(" dayClick", {context:e ,args:[i.s tart,n,thi s]})}});Ae .watch("di splayingDa tes",["isI nDom","dat eProfile"] ,function( t){this.re questDateR ender(t.da teProfile) },function (){this.re questDateU nrender()} ),Ae.watch ("displayi ngBusiness Hours",["d isplayingD ates","bus inessHourG enerator"] ,function( t){this.re questBusin essHoursRe nder(t.bus inessHourG enerator)} ,function( ){this.req uestBusine ssHoursUnr ender()}), Ae.watch(" initialEve nts",["dat eProfile"] ,function( t){return this.fetch InitialEve nts(t.date Profile)}) ,Ae.watch( "bindingEv ents",["in itialEvent s"],functi on(t){this .setEvents (t.initial Events),th is.bindEve ntChanges( )},functio n(){this.u nbindEvent Changes(), this.unset Events()}) ,Ae.watch( "displayin gEvents",[ "displayin gDates","h asEvents"] ,function( ){this.req uestEvents Render(thi s.get("cur rentEvents "))},funct ion(){this .requestEv entsUnrend er()}),Ae. watch("tit le",["date Profile"], function(t ){return t his.title= this.compu teTitle(t. dateProfil e)}),Ae.wa tch("legac yDateProps ",["datePr ofile"],fu nction(t){ var e=this .calendar, n=t.datePr ofile;this .start=e.m sToMoment( n.activeUn zonedRange .startMs,n .isRangeAl lDay),this .end=e.msT oMoment(n. activeUnzo nedRange.e ndMs,n.isR angeAllDay ),this.int ervalStart =e.msToMom ent(n.curr entUnzoned Range.star tMs,n.isRa ngeAllDay) ,this.inte rvalEnd=e. msToMoment (n.current UnzonedRan ge.endMs,n .isRangeAl lDay)}),Ae .mixin({us esMinMaxTi me:!1,star t:null,end :null,inte rvalStart: null,inter valEnd:nul l,buildPre vDateProfi le:functio n(t){var e =this.get( "dateProfi le"),n=t.c lone().sta rtOf(e.cur rentRangeU nit).subtr act(e.date Increment) ;return th is.buildDa teProfile( n,-1)},bui ldNextDate Profile:fu nction(t){ var e=this .get("date Profile"), n=t.clone( ).startOf( e.currentR angeUnit). add(e.date Increment) ;return th is.buildDa teProfile( n,1)},buil dDateProfi le:functio n(t,n,i){v ar r,s,o,a ,l,u,c=!t. hasTime(), h=null,d=n ull;return r=this.bu ildValidRa nge(),r=th is.trimHid denDays(r) ,i&&(t=thi s.calendar .msToUtcMo ment(r.con strainDate (t),c)),s= this.build CurrentRan geInfo(t,n ),o=/^(yea r|month|we ek|day)$/. test(s.uni t),a=this. buildRende rRange(thi s.trimHidd enDays(s.u nzonedRang e),s.unit, o),a=this. trimHidden Days(a),l= a.clone(), this.opt(" showNonCur rentDates" )||(l=l.in tersect(s. unzonedRan ge)),h=e.d uration(th is.opt("mi nTime")),d =e.duratio n(this.opt ("maxTime" )),l=this. adjustActi veRange(l, h,d),l=l.i ntersect(r ),l&&(t=th is.calenda r.msToUtcM oment(l.co nstrainDat e(t),c)),u =s.unzoned Range.inte rsectsWith (r),{valid UnzonedRan ge:r,curre ntUnzonedR ange:s.unz onedRange, currentRan geUnit:s.u nit,isRang eAllDay:o, activeUnzo nedRange:l ,renderUnz onedRange: a,minTime: h,maxTime: d,isValid: u,date:t,d ateIncreme nt:this.bu ildDateInc rement(s.d uration)}} ,buildVali dRange:fun ction(){re turn this. getUnzoned RangeOptio n("validRa nge",this. calendar.g etNow())|| new Ue},bu ildCurrent RangeInfo: function(t ,e){var n, i=null,r=n ull,s=null ;return th is.viewSpe c.duration ?(i=this.v iewSpec.du ration,r=t his.viewSp ec.duratio nUnit,s=th is.buildRa ngeFromDur ation(t,e, i,r)):(n=t his.opt("d ayCount")) ?(r="day", s=this.bui ldRangeFro mDayCount( t,e,n)):(s =this.buil dCustomVis ibleRange( t))?r=O(s. getStart() ,s.getEnd( )):(i=this .getFallba ckDuration (),r=O(i), s=this.bui ldRangeFro mDuration( t,e,i,r)), {duration: i,unit:r,u nzonedRang e:s}},getF allbackDur ation:func tion(){ret urn e.dura tion({days :1})},adju stActiveRa nge:functi on(t,e,n){ var i=t.ge tStart(),r =t.getEnd( );return t his.usesMi nMaxTime&& (e<0&&i.ti me(0).add( e),n>864e5 &&r.time(n -864e5)),n ew Ue(i,r) },buildRan geFromDura tion:funct ion(t,n,i, r){var s,o ,a,l=this. opt("dateA lignment") ,u=t.clone ();return i.as("days ")<=1&&thi s.isHidden Day(u)&&(u =this.skip HiddenDays (u,n),u.st artOf("day ")),l||(o= this.opt(" dateIncrem ent"),o?(a =e.duratio n(o),l=a<i ?N(a,o):r) :l=r),u.st artOf(l),s =u.clone() .add(i),ne w Ue(u,s)} ,buildRang eFromDayCo unt:functi on(t,e,n){ var i,r=th is.opt("da teAlignmen t"),s=0,o= t.clone(); r&&o.start Of(r),o.st artOf("day "),o=this. skipHidden Days(o,e), i=o.clone( );do{i.add (1,"day"), this.isHid denDay(i)| |s++}while (s<n);retu rn new Ue( o,i)},buil dCustomVis ibleRange: function(t ){var e=th is.getUnzo nedRangeOp tion("visi bleRange", this.calen dar.applyT imezone(t) );return!e ||null!==e .startMs&& null!==e.e ndMs?e:nul l},buildRe nderRange: function(t ,e,n){retu rn t.clone ()},buildD ateIncreme nt:functio n(t){var n ,i=this.op t("dateInc rement");r eturn i?e. duration(i ):(n=this. opt("dateA lignment") )?e.durati on(1,n):t| |e.duratio n({days:1} )},trimHid denDays:fu nction(t){ var e=t.ge tStart(),n =t.getEnd( );return e &&(e=this. skipHidden Days(e)),n &&(n=this. skipHidden Days(n,-1, !0)),new U e(e,n)},is DateInOthe rMonth:fun ction(t,e) {return!1} ,getUnzone dRangeOpti on:functio n(t){var e =this.opt( t);if("fun ction"==ty peof e&&(e =e.apply(n ull,Array. prototype. slice.call (arguments ,1))),e)re turn this. calendar.p arseUnzone dRange(e)} ,initHidde nDays:func tion(){var e,n=this. opt("hidde nDays")||[ ],i=[],r=0 ;for(!1=== this.opt(" weekends") &&n.push(0 ,6),e=0;e< 7;e++)(i[e ]=-1!==t.i nArray(e,n ))||r++;if (!r)throw" invalid hi ddenDays"; this.isHid denDayHash =i},isHidd enDay:func tion(t){re turn e.isM oment(t)&& (t=t.day() ),this.isH iddenDayHa sh[t]},ski pHiddenDay s:function (t,e,n){va r i=t.clon e();for(e= e||1;this. isHiddenDa yHash[(i.d ay()+(n?e: 0)+7)%7];) i.add(e,"d ays");retu rn i}});va r Le=Wt.Ca lendar=dt. extend(re, se,{view:n ull,viewsB yType:null ,currentDa te:null,th eme:null,b usinessHou rGenerator :null,load ingLevel:0 ,construct or:functio n(t,e){me. needed(),t his.el=t,t his.viewsB yType={},t his.viewSp ecCache={} ,this.init OptionsInt ernals(e), this.initM omentInter nals(),thi s.initCurr entDate(), this.initE ventManage r(),this.c onstructed ()},constr ucted:func tion(){},g etView:fun ction(){re turn this. view},publ iclyTrigge r:function (e,n){var i,r,s=this .opt(e);if (t.isPlain Object(n)? (i=n.conte xt,r=n.arg s):t.isArr ay(n)&&(r= n),null==i &&(i=this. el[0]),r|| (r=[]),thi s.triggerW ith(e,i,r) ,s)return s.apply(i, r)},hasPub licHandler s:function (t){return this.hasH andlers(t) ||this.opt (t)},insta ntiateView :function( t){var e=t his.getVie wSpec(t);r eturn new e.class(th is,e)},isV alidViewTy pe:functio n(t){retur n Boolean( this.getVi ewSpec(t)) },changeVi ew:functio n(t,e){e&& (e.start&& e.end?this .recordOpt ionOverrid es({visibl eRange:e}) :this.curr entDate=th is.moment( e).stripZo ne()),this .renderVie w(t)},zoom To:functio n(t,e){var n;e=e||"d ay",n=this .getViewSp ec(e)||thi s.getUnitV iewSpec(e) ,this.curr entDate=t. clone(),th is.renderV iew(n?n.ty pe:null)}, initCurren tDate:func tion(){var t=this.op t("default Date");thi s.currentD ate=null!= t?this.mom ent(t).str ipZone():t his.getNow ()},prev:f unction(){ var t=this .view.buil dPrevDateP rofile(thi s.currentD ate);t.isV alid&&(thi s.currentD ate=t.date ,this.rend erView())} ,next:func tion(){var t=this.vi ew.buildNe xtDateProf ile(this.c urrentDate );t.isVali d&&(this.c urrentDate =t.date,th is.renderV iew())},pr evYear:fun ction(){th is.current Date.add(- 1,"years") ,this.rend erView()}, nextYear:f unction(){ this.curre ntDate.add (1,"years" ),this.ren derView()} ,today:fun ction(){th is.current Date=this. getNow(),t his.render View()},go toDate:fun ction(t){t his.curren tDate=this .moment(t) .stripZone (),this.re nderView() },incremen tDate:func tion(t){th is.current Date.add(e .duration( t)),this.r enderView( )},getDate :function( ){return t his.applyT imezone(th is.current Date)},pus hLoading:f unction(){ this.loadi ngLevel++| |this.publ iclyTrigge r("loading ",[!0,this .view])},p opLoading: function() {--this.lo adingLevel ||this.pub liclyTrigg er("loadin g",[!1,thi s.view])}, select:fun ction(t,e) {\nthis.vi ew.select( this.build SelectFoot print.appl y(this,arg uments))}, unselect:f unction(){ this.view& &this.view .unselect( )},buildSe lectFootpr int:functi on(t,e){va r n,i=this .moment(t) .stripZone ();return n=e?this.m oment(e).s tripZone() :i.hasTime ()?i.clone ().add(thi s.defaultT imedEventD uration):i .clone().a dd(this.de faultAllDa yEventDura tion),new We(new Ue( i,n),!i.ha sTime())}, parseUnzon edRange:fu nction(t){ var e=null ,n=null;re turn t.sta rt&&(e=thi s.moment(t .start).st ripZone()) ,t.end&&(n =this.mome nt(t.end). stripZone( )),e||n?e& &n&&n.isBe fore(e)?nu ll:new Ue( e,n):null} ,rerenderE vents:func tion(){thi s.view.fla sh("displa yingEvents ")},initEv entManager :function( ){var t=th is,e=new q e(this),n= this.opt(" eventSourc es")||[],i =this.opt( "events"); this.event Manager=e, i&&n.unshi ft(i),e.on ("release" ,function( e){t.trigg er("events Reset",e)} ),e.freeze (),n.forEa ch(functio n(n){var i =an.parse( n,t);i&&e. addSource( i)}),e.tha w()},reque stEvents:f unction(t, e){return this.event Manager.re questEvent s(t,e,this .opt("time zone"),!th is.opt("la zyFetching "))}});Le. mixin({dir Defaults:n ull,locale Defaults:n ull,overri des:null,d ynamicOver rides:null ,optionsMo del:null,i nitOptions Internals: function(e ){this.ove rrides=t.e xtend({},e ),this.dyn amicOverri des={},thi s.optionsM odel=new u e,this.pop ulateOptio nsHash()}, option:fun ction(t,e) {var n;if( "string"== typeof t){ if(void 0= ==e)return this.opti onsModel.g et(t);n={} ,n[t]=e,th is.setOpti ons(n)}els e"object"= =typeof t& &this.setO ptions(t)} ,opt:funct ion(t){ret urn this.o ptionsMode l.get(t)}, setOptions :function( t){var e,n =0;this.re cordOption Overrides( t);for(e i n t)n++;if (1===n){if ("height"= ==e||"cont entHeight" ===e||"asp ectRatio"= ==e)return void this .updateVie wSize(!0); if("defaul tDate"===e )return;if ("business Hours"===e )return;if ("timezone "===e)retu rn void th is.view.fl ash("initi alEvents") }this.rend erHeader() ,this.rend erFooter() ,this.view sByType={} ,this.rein itView()}, populateOp tionsHash: function() {var t,e,i ,r,s;t=tt( this.dynam icOverride s.locale,t his.overri des.locale ),e=Oe[t], e||(t=Le.d efaults.lo cale,e=Oe[ t]||{}),i= tt(this.dy namicOverr ides.isRTL ,this.over rides.isRT L,e.isRTL, Le.default s.isRTL),r =i?Le.rtlD efaults:{} ,this.dirD efaults=r, this.local eDefaults= e,s=n([Le. defaults,r ,e,this.ov errides,th is.dynamic Overrides] ),Rt(s),th is.options Model.rese t(s)},reco rdOptionOv errides:fu nction(t){ var e;for( e in t)thi s.dynamicO verrides[e ]=t[e];thi s.viewSpec Cache={},t his.popula teOptionsH ash()}}),L e.mixin({d efaultAllD ayEventDur ation:null ,defaultTi medEventDu ration:nul l,localeDa ta:null,in itMomentIn ternals:fu nction(){v ar t=this; this.defau ltAllDayEv entDuratio n=e.durati on(this.op t("default AllDayEven tDuration" )),this.de faultTimed EventDurat ion=e.dura tion(this. opt("defau ltTimedEve ntDuration ")),this.o ptionsMode l.watch("b uildingMom entLocale" ,["?locale ","?monthN ames","?mo nthNamesSh ort","?day Names","?d ayNamesSho rt","?firs tDay","?we ekNumberCa lculation" ],function (e){var n, i=e.weekNu mberCalcul ation,r=e. firstDay;" iso"===i&& (i="ISO"); var s=Obje ct.create( Tt(e.local e));e.mont hNames&&(s ._months=e .monthName s),e.month NamesShort &&(s._mont hsShort=e. monthNames Short),e.d ayNames&&( s._weekday s=e.dayNam es),e.dayN amesShort& &(s._weekd aysShort=e .dayNamesS hort),null ==r&&"ISO" ===i&&(r=1 ),null!=r& &(n=Object .create(s. _week),n.d ow=r,s._we ek=n),"ISO "!==i&&"lo cal"!==i&& "function" !=typeof i ||(s._full Calendar_w eekCalc=i) ,t.localeD ata=s,t.cu rrentDate& &t.localiz eMoment(t. currentDat e)})},mome nt:functio n(){var t; return"loc al"===this .opt("time zone")?(t= Wt.moment. apply(null ,arguments ),t.hasTim e()&&t.loc al()):t="U TC"===this .opt("time zone")?Wt. moment.utc .apply(nul l,argument s):Wt.mome nt.parseZo ne.apply(n ull,argume nts),this. localizeMo ment(t),t} ,msToMomen t:function (t,e){var n=Wt.momen t.utc(t);r eturn e?n. stripTime( ):n=this.a pplyTimezo ne(n),this .localizeM oment(n),n },msToUtcM oment:func tion(t,e){ var n=Wt.m oment.utc( t);return e&&n.strip Time(),thi s.localize Moment(n), n},localiz eMoment:fu nction(t){ t._locale= this.local eData},get IsAmbigTim ezone:func tion(){ret urn"local" !==this.op t("timezon e")&&"UTC" !==this.op t("timezon e")},apply Timezone:f unction(t) {if(!t.has Time())ret urn t.clon e();var e, n=this.mom ent(t.toAr ray()),i=t .time()-n. time();ret urn i&&(e= n.clone(). add(i),t.t ime()-e.ti me()==0&&( n=e)),n},f ootprintTo DateProfil e:function (t,e){var n,i=Wt.mom ent.utc(t. unzonedRan ge.startMs );return e ||(n=Wt.mo ment.utc(t .unzonedRa nge.endMs) ),t.isAllD ay?(i.stri pTime(),n& &n.stripTi me()):(i=t his.applyT imezone(i) ,n&&(n=thi s.applyTim ezone(n))) ,new tn(i, n,this)},g etNow:func tion(){var t=this.op t("now");r eturn"func tion"==typ eof t&&(t= t()),this. moment(t). stripZone( )},humaniz eDuration: function(t ){return t .locale(th is.opt("lo cale")).hu manize()}, getEventEn d:function (t){return t.end?t.e nd.clone() :this.getD efaultEven tEnd(t.all Day,t.star t)},getDef aultEventE nd:functio n(t,e){var n=e.clone ();return t?n.stripT ime().add( this.defau ltAllDayEv entDuratio n):n.add(t his.defaul tTimedEven tDuration) ,this.getI sAmbigTime zone()&&n. stripZone( ),n}}),Le. mixin({vie wSpecCache :null,getV iewSpec:fu nction(t){ var e=this .viewSpecC ache;retur n e[t]||(e [t]=this.b uildViewSp ec(t))},ge tUnitViewS pec:functi on(e){var n,i,r;if(- 1!=t.inArr ay(e,Zt))f or(n=this. header.get ViewsWithB uttons(),t .each(Wt.v iews,funct ion(t){n.p ush(t)}),i =0;i<n.len gth;i++)if ((r=this.g etViewSpec (n[i]))&&r .singleUni t==e)retur n r},build ViewSpec:f unction(t) {for(var i ,r,s,o,a,l =this.over rides.view s||{},u=[] ,c=[],h=[] ,d=t;d;)i= _t[d],r=l[ d],d=null, "function" ==typeof i &&(i={clas s:i}),i&&( u.unshift( i),c.unshi ft(i.defau lts||{}),s =s||i.dura tion,d=d|| i.type),r& &(h.unshif t(r),s=s|| r.duration ,d=d||r.ty pe);return i=j(u),i. type=t,!!i .class&&(s =s||this.d ynamicOver rides.dura tion||this .overrides .duration, s&&(o=e.du ration(s), o.valueOf( )&&(a=N(o, s),i.durat ion=o,i.du rationUnit =a,1===o.a s(a)&&(i.s ingleUnit= a,h.unshif t(l[a]||{} )))),i.def aults=n(c) ,i.overrid es=n(h),th is.buildVi ewSpecOpti ons(i),thi s.buildVie wSpecButto nText(i,t) ,i)},build ViewSpecOp tions:func tion(t){t. options=n( [Le.defaul ts,t.defau lts,this.d irDefaults ,this.loca leDefaults ,this.over rides,t.ov errides,th is.dynamic Overrides] ),Rt(t.opt ions)},bui ldViewSpec ButtonText :function( t,e){funct ion n(n){v ar i=n.but tonText||{ };return i [e]||(t.bu ttonTextKe y?i[t.butt onTextKey] :null)||(t .singleUni t?i[t.sing leUnit]:nu ll)}t.butt onTextOver ride=n(thi s.dynamicO verrides)| |n(this.ov errides)|| t.override s.buttonTe xt,t.butto nTextDefau lt=n(this. localeDefa ults)||n(t his.dirDef aults)||t. defaults.b uttonText| |n(Le.defa ults)||(t. duration?t his.humani zeDuration (t.duratio n):null)|| e}}),Le.mi xin({el:nu ll,content El:null,su ggestedVie wHeight:nu ll,ignoreU pdateViewS ize:0,free zeContentH eightDepth :0,windowR esizeProxy :null,rend er:functio n(){this.c ontentEl?t his.elemen tVisible() &&(this.ca lcSize(),t his.render View()):th is.initial Render()}, initialRen der:functi on(){var e =this,n=th is.el;n.ad dClass("fc "),n.on("c lick.fc"," a[data-got o]",functi on(n){var i=t(this), r=i.data(" goto"),s=e .moment(r. date),o=r. type,a=e.v iew.opt("n avLink"+st (o)+"Click ");"functi on"==typeo f a?a(s,n) :("string" ==typeof a &&(o=a),e. zoomTo(s,o ))}),this. optionsMod el.watch(" settingThe me",["?the me","?them eSystem"], function(t ){var i=hn .getThemeC lass(t.the meSystem|| t.theme),r =new i(e.o ptionsMode l),s=r.get Class("wid get");e.th eme=r,s&&n .addClass( s)},functi on(){var t =e.theme.g etClass("w idget");e. theme=null ,t&&n.remo veClass(t) }),this.op tionsModel .watch("se ttingBusin essHourGen erator",[" ?businessH ours"],fun ction(t){e .businessH ourGenerat or=new je( t.business Hours,e),e .view&&e.v iew.set("b usinessHou rGenerator ",e.busine ssHourGene rator)},fu nction(){e .businessH ourGenerat or=null}), this.optio nsModel.wa tch("apply ingDirClas ses",["?is RTL","?loc ale"],func tion(t){n. toggleClas s("fc-ltr" ,!t.isRTL) ,n.toggleC lass("fc-r tl",t.isRT L)}),this. contentEl= t("<div cl ass=\'fc-v iew-contai ner\'/>"). prependTo( n),this.in itToolbars (),this.re nderHeader (),this.re nderFooter (),this.re nderView(t his.opt("d efaultView ")),this.o pt("handle WindowResi ze")&&t(wi ndow).resi ze(this.wi ndowResize Proxy=ut(t his.window Resize.bin d(this),th is.opt("wi ndowResize Delay")))} ,destroy:f unction(){ this.view& &this.clea rView(),th is.toolbar sManager.p roxyCall(" removeElem ent"),this .contentEl .remove(), this.el.re moveClass( "fc fc-ltr fc-rtl"), this.optio nsModel.un watch("set tingTheme" ),this.opt ionsModel. unwatch("s ettingBusi nessHourGe nerator"), this.el.of f(".fc"),t his.window ResizeProx y&&(t(wind ow).unbind ("resize", this.windo wResizePro xy),this.w indowResiz eProxy=nul l),me.unne eded()},el ementVisib le:functio n(){return this.el.i s(":visibl e")},bindV iewHandler s:function (t){var e= this;t.wat ch("titleF orCalendar ",["title" ],function (n){t===e. view&&e.se tToolbarsT itle(n.tit le)}),t.wa tch("dateP rofileForC alendar",[ "dateProfi le"],funct ion(n){t== =e.view&&( e.currentD ate=n.date Profile.da te,e.updat eToolbarBu ttons(n.da teProfile) )})},unbin dViewHandl ers:functi on(t){this .stopListe ningTo(t), t.unwatch( "titleForC alendar"), t.unwatch( "dateProfi leForCalen dar")},ren derView:fu nction(e){ var n,i=th is.view;th is.freezeC ontentHeig ht(),i&&e& &i.type!== e&&this.cl earView(), !this.view &&e&&(n=th is.view=th is.viewsBy Type[e]||( this.views ByType[e]= this.insta ntiateView (e)),this. bindViewHa ndlers(n), n.setEleme nt(t("<div class=\'f c-view fc- "+e+"-view \' />").ap pendTo(thi s.contentE l)),this.t oolbarsMan ager.proxy Call("acti vateButton ",e)),this .view&&(th is.view.ge t("busines sHourGener ator")!==t his.busine ssHourGene rator&&thi s.view.set ("business HourGenera tor",this. businessHo urGenerato r),this.vi ew.setDate (this.curr entDate)), this.thawC ontentHeig ht()},clea rView:func tion(){var t=this.vi ew;this.to olbarsMana ger.proxyC all("deact ivateButto n",t.type) ,this.unbi ndViewHand lers(t),t. removeElem ent(),this .view=null },reinitVi ew:functio n(){var t= this.view, e=t.queryS croll();th is.freezeC ontentHeig ht(),this. clearView( ),this.cal cSize(),th is.renderV iew(t.type ),this.vie w.applyScr oll(e),thi s.thawCont entHeight( )},getSugg estedViewH eight:func tion(){ret urn null== =this.sugg estedViewH eight&&thi s.calcSize (),this.su ggestedVie wHeight},i sHeightAut o:function (){return" auto"===th is.opt("co ntentHeigh t")||"auto "===this.o pt("height ")},update ViewSize:f unction(t) {var e,n=t his.view;i f(!this.ig noreUpdate ViewSize&& n)return t &&(this.ca lcSize(),e =n.querySc roll()),th is.ignoreU pdateViewS ize++,n.up dateSize(t his.getSug gestedView Height(),t his.isHeig htAuto(),t ),this.ign oreUpdateV iewSize--, t&&n.apply Scroll(e), !0},calcSi ze:functio n(){this.e lementVisi ble()&&thi s._calcSiz e()},_calc Size:funct ion(){var t=this.opt ("contentH eight"),e= this.opt(" height");t his.sugges tedViewHei ght="numbe r"==typeof t?t:"func tion"==typ eof t?t(): "number"== typeof e?e -this.quer yToolbarsH eight():"f unction"== typeof e?e ()-this.qu eryToolbar sHeight(): "parent"== =e?this.el .parent(). height()-t his.queryT oolbarsHei ght():Math .round(thi s.contentE l.width()/ Math.max(t his.opt("a spectRatio "),.5))},w indowResiz e:function (t){t.targ et===windo w&&this.vi ew&&this.v iew.isDate sRendered& &this.upda teViewSize (!0)&&this .publiclyT rigger("wi ndowResize ",[this.vi ew])},free zeContentH eight:func tion(){thi s.freezeCo ntentHeigh tDepth++|| this.force FreezeCont entHeight( )},forceFr eezeConten tHeight:fu nction(){t his.conten tEl.css({w idth:"100% ",height:t his.conten tEl.height (),overflo w:"hidden" })},thawCo ntentHeigh t:function (){this.fr eezeConten tHeightDep th--,this. contentEl. css({width :"",height :"",overfl ow:""}),th is.freezeC ontentHeig htDepth&&t his.forceF reezeConte ntHeight() }}),Le.mix in({header :null,foot er:null,to olbarsMana ger:null,i nitToolbar s:function (){this.he ader=new b t(this,thi s.computeH eaderOptio ns()),this .footer=ne w bt(this, this.compu teFooterOp tions()),t his.toolba rsManager= new yt([th is.header, this.foote r])},compu teHeaderOp tions:func tion(){ret urn{extraC lasses:"fc -header-to olbar",lay out:this.o pt("header ")}},compu teFooterOp tions:func tion(){ret urn{extraC lasses:"fc -footer-to olbar",lay out:this.o pt("footer ")}},rende rHeader:fu nction(){v ar t=this. header;t.s etToolbarO ptions(thi s.computeH eaderOptio ns()),t.re nder(),t.e l&&this.el .prepend(t .el)},rend erFooter:f unction(){ var t=this .footer;t. setToolbar Options(th is.compute FooterOpti ons()),t.r ender(),t. el&&this.e l.append(t .el)},setT oolbarsTit le:functio n(t){this. toolbarsMa nager.prox yCall("upd ateTitle", t)},update ToolbarBut tons:funct ion(t){var e=this.ge tNow(),n=t his.view,i =n.buildDa teProfile( e),r=n.bui ldPrevDate Profile(th is.current Date),s=n. buildNextD ateProfile (this.curr entDate);t his.toolba rsManager. proxyCall( i.isValid& &!t.curren tUnzonedRa nge.contai nsDate(e)? "enableBut ton":"disa bleButton" ,"today"), this.toolb arsManager .proxyCall (r.isValid ?"enableBu tton":"dis ableButton ","prev"), this.toolb arsManager .proxyCall (s.isValid ?"enableBu tton":"dis ableButton ","next")} ,queryTool barsHeight :function( ){return t his.toolba rsManager. items.redu ce(functio n(t,e){ret urn t+(e.e l?e.el.out erHeight(! 0):0)},0)} }),Le.prot otype.isEv entInstanc eGroupAllo wed=functi on(t){var e,n=t.getE ventDef(), i=this.eve ntRangesTo EventFootp rints(t.ge tAllEventR anges()),r =this.getP eerEventIn stances(n) ,s=r.map(P t),o=this. eventRange sToEventFo otprints(s ),a=n.getC onstraint( ),l=n.getO verlap(),u =this.opt( "eventAllo w");for(e= 0;e<i.leng th;e++)if( !this.isFo otprintAll owed(i[e]. componentF ootprint,o ,a,l,i[e]. eventInsta nce))retur n!1;if(u)f or(e=0;e<i .length;e+ +)if(!1=== u(i[e].com ponentFoot print.toLe gacy(this) ,i[e].getE ventLegacy ()))return !1;return! 0},Le.prot otype.getP eerEventIn stances=fu nction(t){ return thi s.eventMan ager.getEv entInstanc esWithoutI d(t.id)},L e.prototyp e.isSelect ionFootpri ntAllowed= function(t ){var e,n= this.event Manager.ge tEventInst ances(),i= n.map(Pt), r=this.eve ntRangesTo EventFootp rints(i);r eturn!!thi s.isFootpr intAllowed (t,r,this. opt("selec tConstrain t"),this.o pt("select Overlap")) &&(!(e=thi s.opt("sel ectAllow") )||!1!==e( t.toLegacy (this)))}, Le.prototy pe.isFootp rintAllowe d=function (t,e,n,i,r ){var s,o; if(null!=n &&(s=this. constraint ValToFootp rints(n,t. isAllDay), !this.isFo otprintWit hinConstra ints(t,s)) )return!1; if(o=this. collectOve rlapEventF ootprints( e,t),!1=== i){if(o.le ngth)retur n!1}else i f("functio n"==typeof i&&!Et(o, i,r))retur n!1;return !(r&&!St(o ,r))},Le.p rototype.i sFootprint WithinCons traints=fu nction(t,e ){var n;fo r(n=0;n<e. length;n++ )if(this.f ootprintCo ntainsFoot print(e[n] ,t))return !0;return! 1},Le.prot otype.cons traintValT oFootprint s=function (t,e){var n;return"b usinessHou rs"===t?th is.buildCu rrentBusin essFootpri nts(e):"ob ject"==typ eof t?(n=t his.parseE ventDefToI nstances(t ),n?this.e ventInstan cesToFootp rints(n):t his.parseF ootprints( t)):null!= t?(n=this. eventManag er.getEven tInstances WithId(t), this.event InstancesT oFootprint s(n)):void 0},Le.pro totype.bui ldCurrentB usinessFoo tprints=fu nction(t){ var e=this .view,n=e. get("busin essHourGen erator"),i =e.datePro file.activ eUnzonedRa nge,r=n.bu ildEventIn stanceGrou p(t,i);ret urn r?this .eventInst ancesToFoo tprints(r. eventInsta nces):[]}, Le.prototy pe.eventIn stancesToF ootprints= function(t ){var e=t. map(Pt);re turn this. eventRange sToEventFo otprints(e ).map(kt)} ,Le.protot ype.collec tOverlapEv entFootpri nts=functi on(t,e){va r n,i=[];f or(n=0;n<t .length;n+ +)this.foo tprintsInt ersect(e,t [n].compon entFootpri nt)&&i.pus h(t[n]);re turn i},Le .prototype .parseEven tDefToInst ances=func tion(t){va r e=this.e ventManage r,n=Ze.par se(t,new o n(this));r eturn!!n&& n.buildIns tances(e.c urrentPeri od.unzoned Range)},Le .prototype .eventRang esToEventF ootprints= function(t ){var e,n= [];for(e=0 ;e<t.lengt h;e++)n.pu sh.apply(n ,this.even tRangeToEv entFootpri nts(t[e])) ;return n} ,Le.protot ype.eventR angeToEven tFootprint s=function (t){return [zt(t)]},L e.prototyp e.parseFoo tprints=fu nction(t){ var e,n;re turn t.sta rt&&(e=thi s.moment(t .start),e. isValid()| |(e=null)) ,t.end&&(n =this.mome nt(t.end), n.isValid( )||(n=null )),[new We (new Ue(e, n),e&&!e.h asTime()|| n&&!n.hasT ime())]},L e.prototyp e.footprin tContainsF ootprint=f unction(t, e){return t.unzonedR ange.conta insRange(e .unzonedRa nge)},Le.p rototype.f ootprintsI ntersect=f unction(t, e){return t.unzonedR ange.inter sectsWith( e.unzonedR ange)},Le. mixin({get EventSourc es:functio n(){return this.even tManager.o therSource s.slice()} ,getEventS ourceById: function(t ){return t his.eventM anager.get SourceById (on.normal izeId(t))} ,addEventS ource:func tion(t){va r e=an.par se(t,this) ;e&&this.e ventManage r.addSourc e(e)},remo veEventSou rces:funct ion(t){var e,n,i=thi s.eventMan ager;if(nu ll==t)this .eventMana ger.remove AllSources ();else{fo r(e=i.mult iQuerySour ces(t),i.f reeze(),n= 0;n<e.leng th;n++)i.r emoveSourc e(e[n]);i. thaw()}},r emoveEvent Source:fun ction(t){v ar e,n=thi s.eventMan ager,i=n.q uerySource s(t);for(n .freeze(), e=0;e<i.le ngth;e++)n .removeSou rce(i[e]); n.thaw()}, refetchEve ntSources: function(t ){var e,n= this.event Manager,i= n.multiQue rySources( t);for(n.f reeze(),e= 0;e<i.leng th;e++)n.r efetchSour ce(i[e]);n .thaw()},r efetchEven ts:functio n(){this.e ventManage r.refetchA llSources( )},renderE vents:func tion(t,e){ this.event Manager.fr eeze();for (var n=0;n <t.length; n++)this.r enderEvent (t[n],e);t his.eventM anager.tha w()},rende rEvent:fun ction(t,e) {var n=thi s.eventMan ager,i=Ze. parse(t,t. source||n. stickySour ce);i&&n.a ddEventDef (i,e)},rem oveEvents: function(t ){var e,n, i=this.eve ntManager, r=[],s={}; if(null==t )i.removeA llEventDef s(!0);else {for(i.get EventInsta nces().for Each(funct ion(t){r.p ush(t.toLe gacy())}), r=Ct(r,t), n=0;n<r.le ngth;n++)e =this.even tManager.g etEventDef ByUid(r[n] ._id),s[e. id]=!0;i.f reeze();fo r(n in s)i .removeEve ntDefsById (n,!0);i.t haw()}},cl ientEvents :function( t){var e=[ ];return t his.eventM anager.get EventInsta nces().for Each(funct ion(t){e.p ush(t.toLe gacy())}), Ct(e,t)},u pdateEvent s:function (t){this.e ventManage r.freeze() ;for(var e =0;e<t.len gth;e++)th is.updateE vent(t[e]) ;this.even tManager.t haw()},upd ateEvent:f unction(t) {var e,n,i =this.even tManager.g etEventDef ByUid(t._i d);i insta nceof $e&& (e=i.build Instance() ,n=rn.crea teFromRawP rops(e,t,n ull),this. eventManag er.mutateE ventsWithI d(i.id,n)) }}),Le.def aults={tit leRangeSep arator:" â €“ ",month YearFormat :"MMMM YYY Y",default TimedEvent Duration:" 02:00:00", defaultAll DayEventDu ration:{da ys:1},forc eEventDura tion:!1,ne xtDayThres hold:"09:0 0:00",colu mnHeader:! 0,defaultV iew:"month ",aspectRa tio:1.35,h eader:{lef t:"title", center:"", right:"tod ay prev,ne xt"},weeke nds:!0,wee kNumbers:! 1,weekNumb erTitle:"W ",weekNumb erCalculat ion:"local ",scrollTi me:"06:00: 00",minTim e:"00:00:0 0",maxTime :"24:00:00 ",showNonC urrentDate s:!0,lazyF etching:!0 ,startPara m:"start", endParam:" end",timez oneParam:" timezone", timezone:! 1,isRTL:!1 ,buttonTex t:{prev:"p rev",next: "next",pre vYear:"pre v year",ne xtYear:"ne xt year",y ear:"year" ,today:"to day",month :"month",w eek:"week" ,day:"day" },allDayTe xt:"all-da y",agendaE ventMinHei ght:0,them e:!1,dragO pacity:.75 ,dragRever tDuration: 500,dragSc roll:!0,un selectAuto :!0,dropAc cept:"*",e ventOrder: "title",ev entLimit:! 1,eventLim itText:"mo re",eventL imitClick: "popover", dayPopover Format:"LL ",handleWi ndowResize :!0,window ResizeDela y:100,long PressDelay :1e3},Le.e nglishDefa ults={dayP opoverForm at:"dddd, MMMM D"},L e.rtlDefau lts={heade r:{left:"n ext,prev t oday",cent er:"",righ t:"title"} ,buttonIco ns:{prev:" right-sing le-arrow", next:"left -single-ar row",prevY ear:"right -double-ar row",nextY ear:"left- double-arr ow"},theme ButtonIcon s:{prev:"c ircle-tria ngle-e",ne xt:"circle -triangle- w",nextYea r:"seek-pr ev",prevYe ar:"seek-n ext"}};var Oe=Wt.loc ales={};Wt .datepicke rLocale=fu nction(e,n ,i){var r= Oe[e]||(Oe [e]={});r. isRTL=i.is RTL,r.week NumberTitl e=i.weekHe ader,t.eac h(Ne,funct ion(t,e){r [t]=e(i)}) ,t.datepic ker&&(t.da tepicker.r egional[n] =t.datepic ker.region al[e]=i,t. datepicker .regional. en=t.datep icker.regi onal[""],t .datepicke r.setDefau lts(i))},W t.locale=f unction(e, i){var r,s ;r=Oe[e]|| (Oe[e]={}) ,i&&(r=Oe[ e]=n([r,i] )),s=Tt(e) ,t.each(Ve ,function( t,e){null= =r[t]&&(r[ t]=e(s,r)) }),Le.defa ults.local e=e};var N e={buttonT ext:functi on(t){retu rn{prev:nt (t.prevTex t),next:nt (t.nextTex t),today:n t(t.curren tText)}},m onthYearFo rmat:funct ion(t){ret urn t.show MonthAfter Year?"YYYY ["+t.yearS uffix+"] M MMM":"MMMM YYYY["+t. yearSuffix +"]"}},Ve= {dayOfMont hFormat:fu nction(t,e ){var n=t. longDateFo rmat("l"); return n=n .replace(/ ^Y+[^\\w\\ s]*|[^\\w\ \s]*Y+$/g, ""),e.isRT L?n+=" ddd ":n="ddd " +n,n},medi umTimeForm at:functio n(t){retur n t.longDa teFormat(" LT").repla ce(/\\s*a$ /i,"a")},s mallTimeFo rmat:funct ion(t){ret urn t.long DateFormat ("LT").rep lace(":mm" ,"(:mm)"). replace(/( \\Wmm)$/," ($1)").rep lace(/\\s* a$/i,"a")} ,extraSmal lTimeForma t:function (t){return t.longDat eFormat("L T").replac e(":mm","( :mm)").rep lace(/(\\W mm)$/,"($1 )").replac e(/\\s*a$/ i,"t")},ho urFormat:f unction(t) {return t. longDateFo rmat("LT") .replace(" :mm","").r eplace(/(\ \Wmm)$/,"" ).replace( /\\s*a$/i, "a")},noMe ridiemTime Format:fun ction(t){r eturn t.lo ngDateForm at("LT").r eplace(/\\ s*a$/i,"") }},Ge={sma llDayDateF ormat:func tion(t){re turn t.isR TL?"D dd": "dd D"},we ekFormat:f unction(t) {return t. isRTL?"w[ "+t.weekNu mberTitle+ "]":"["+t. weekNumber Title+" ]w "},smallWe ekFormat:f unction(t) {return t. isRTL?"w[" +t.weekNum berTitle+" ]":"["+t.w eekNumberT itle+"]w"} };Wt.local e("en",Le. englishDef aults);var Ue=Wt.Unz onedRange= dt.extend( {startMs:n ull,endMs: null,isSta rt:!0,isEn d:!0,const ructor:fun ction(t,n) {e.isMomen t(t)&&(t=t .clone().s tripZone() ),e.isMome nt(n)&&(n= n.clone(). stripZone( )),t&&(thi s.startMs= t.valueOf( )),n&&(thi s.endMs=n. valueOf()) },intersec t:function (t){var e= this.start Ms,n=this. endMs,i=nu ll;return null!==t.s tartMs&&(e =null===e? t.startMs: Math.max(e ,t.startMs )),null!== t.endMs&&( n=null===n ?t.endMs:M ath.min(n, t.endMs)), (null===e| |null===n| |e<n)&&(i= new Ue(e,n ),i.isStar t=this.isS tart&&e=== this.start Ms,i.isEnd =this.isEn d&&n===thi s.endMs),i },intersec tsWith:fun ction(t){r eturn(null ===this.en dMs||null= ==t.startM s||this.en dMs>t.star tMs)&&(nul l===this.s tartMs||nu ll===t.end Ms||this.s tartMs<t.e ndMs)},con tainsRange :function( t){return( null===thi s.startMs| |null!==t. startMs&&t .startMs>= this.start Ms)&&(null ===this.en dMs||null! ==t.endMs& &t.endMs<= this.endMs )},contain sDate:func tion(t){va r e=t.valu eOf();retu rn(null=== this.start Ms||e>=thi s.startMs) &&(null=== this.endMs ||e<this.e ndMs)},con strainDate :function( t){var e=t .valueOf() ;return nu ll!==this. startMs&&e <this.star tMs&&(e=th is.startMs ),null!==t his.endMs& &e>=this.e ndMs&&(e=t his.endMs- 1),e},equa ls:functio n(t){retur n this.sta rtMs===t.s tartMs&&th is.endMs== =t.endMs}, clone:func tion(){var t=new Ue( this.start Ms,this.en dMs);retur n t.isStar t=this.isS tart,t.isE nd=this.is End,t},get Start:func tion(){if( null!==thi s.startMs) return Wt. moment.utc (this.star tMs).strip Zone()},ge tEnd:funct ion(){if(n ull!==this .endMs)ret urn Wt.mom ent.utc(th is.endMs). stripZone( )},as:func tion(t){re turn e.utc (this.endM s).diff(e. utc(this.s tartMs),t, !0)}}),We= Wt.Compone ntFootprin t=dt.exten d({unzoned Range:null ,isAllDay: !1,constru ctor:funct ion(t,e){t his.unzone dRange=t,t his.isAllD ay=e},toLe gacy:funct ion(t){ret urn{start: t.msToMome nt(this.un zonedRange .startMs,t his.isAllD ay),end:t. msToMoment (this.unzo nedRange.e ndMs,this. isAllDay)} }}),_e=dt. extend(re, {start:nul l,end:null ,timezone: null,unzon edRange:nu ll,request sByUid:nul l,pendingC nt:0,freez eDepth:0,s tuntedRele aseCnt:0,r eleaseCnt: 0,eventDef sByUid:nul l,eventDef sById:null ,eventInst anceGroups ById:null, constructo r:function (t,e,n){th is.start=t ,this.end= e,this.tim ezone=n,th is.unzoned Range=new Ue(t.clone ().stripZo ne(),e.clo ne().strip Zone()),th is.request sByUid={}, this.event DefsByUid= {},this.ev entDefsByI d={},this. eventInsta nceGroupsB yId={}},is WithinRang e:function (t,e){retu rn!t.isBef ore(this.s tart)&&!e. isAfter(th is.end)},r equestSour ces:functi on(t){this .freeze(); for(var e= 0;e<t.leng th;e++)thi s.requestS ource(t[e] );this.tha w()},reque stSource:f unction(t) {var e=thi s,n={sourc e:t,status :"pending" };this.req uestsByUid [t.uid]=n, this.pendi ngCnt+=1,t .fetch(thi s.start,th is.end,thi s.timezone ).then(fun ction(t){" cancelled" !==n.statu s&&(n.stat us="comple ted",n.eve ntDefs=t,e .addEventD efs(t),e.p endingCnt- -,e.tryRel ease())},f unction(){ "cancelled "!==n.stat us&&(n.sta tus="faile d",e.pendi ngCnt--,e. tryRelease ())})},pur geSource:f unction(t) {var e=thi s.requests ByUid[t.ui d];e&&(del ete this.r equestsByU id[t.uid], "pending"= ==e.status ?(e.status ="cancelle d",this.pe ndingCnt-- ,this.tryR elease()): "completed "===e.stat us&&e.even tDefs.forE ach(this.r emoveEvent Def.bind(t his)))},pu rgeAllSour ces:functi on(){var t ,e,n=this. requestsBy Uid,i=0;fo r(t in n)e =n[t],"pen ding"===e. status?e.s tatus="can celled":"c ompleted"= ==e.status &&i++;this .requestsB yUid={},th is.pending Cnt=0,i&&t his.remove AllEventDe fs()},getE ventDefByU id:functio n(t){retur n this.eve ntDefsByUi d[t]},getE ventDefsBy Id:functio n(t){var e =this.even tDefsById[ t];return e?e.slice( ):[]},addE ventDefs:f unction(t) {for(var e =0;e<t.len gth;e++)th is.addEven tDef(t[e]) },addEvent Def:functi on(t){var e,n=this.e ventDefsBy Id,i=t.id, r=n[i]||(n [i]=[]),s= t.buildIns tances(thi s.unzonedR ange);for( r.push(t), this.event DefsByUid[ t.uid]=t,e =0;e<s.len gth;e++)th is.addEven tInstance( s[e],i)},r emoveEvent DefsById:f unction(t) {var e=thi s;this.get EventDefsB yId(t).for Each(funct ion(t){e.r emoveEvent Def(t)})}, removeAllE ventDefs:f unction(){ var e=t.is EmptyObjec t(this.eve ntDefsByUi d);this.ev entDefsByU id={},this .eventDefs ById={},th is.eventIn stanceGrou psById={}, e||this.tr yRelease() },removeEv entDef:fun ction(t){v ar e=this. eventDefsB yId,n=e[t. id];delete this.even tDefsByUid [t.uid],n& &(K(n,t),n .length||d elete e[t. id],this.r emoveEvent InstancesF orDef(t))} ,getEventI nstances:f unction(){ var t,e=th is.eventIn stanceGrou psById,n=[ ];for(t in e)n.push. apply(n,e[ t].eventIn stances);r eturn n},g etEventIns tancesWith Id:functio n(t){var e =this.even tInstanceG roupsById[ t];return e?e.eventI nstances.s lice():[]} ,getEventI nstancesWi thoutId:fu nction(t){ var e,n=th is.eventIn stanceGrou psById,i=[ ];for(e in n)e!==t&& i.push.app ly(i,n[e]. eventInsta nces);retu rn i},addE ventInstan ce:functio n(t,e){var n=this.ev entInstanc eGroupsByI d;(n[e]||( n[e]=new J e)).eventI nstances.p ush(t),thi s.tryRelea se()},remo veEventIns tancesForD ef:functio n(t){var e ,n=this.ev entInstanc eGroupsByI d,i=n[t.id ];i&&(e=X( i.eventIns tances,fun ction(e){r eturn e.de f===t}),i. eventInsta nces.lengt h||delete n[t.id],e& &this.tryR elease())} ,tryReleas e:function (){this.pe ndingCnt|| (this.free zeDepth?th is.stunted ReleaseCnt ++:this.re lease())}, release:fu nction(){t his.releas eCnt++,thi s.trigger( "release", this.event InstanceGr oupsById)} ,whenRelea sed:functi on(){var t =this;retu rn this.re leaseCnt?c e.resolve( this.event InstanceGr oupsById): ce.constru ct(functio n(e){t.one ("release" ,e)})},fre eze:functi on(){this. freezeDept h++||(this .stuntedRe leaseCnt=0 )},thaw:fu nction(){- -this.free zeDepth||! this.stunt edReleaseC nt||this.p endingCnt| |this.rele ase()}}),q e=dt.exten d(re,se,{c urrentPeri od:null,ca lendar:nul l,stickySo urce:null, otherSourc es:null,co nstructor: function(t ){this.cal endar=t,th is.stickyS ource=new ln(t),this .otherSour ces=[]},re questEvent s:function (t,e,n,i){ return!i&& this.curre ntPeriod&& this.curre ntPeriod.i sWithinRan ge(t,e)&&n ===this.cu rrentPerio d.timezone ||this.set Period(new _e(t,e,n) ),this.cur rentPeriod .whenRelea sed()},add Source:fun ction(t){t his.otherS ources.pus h(t),this. currentPer iod&&this. currentPer iod.reques tSource(t) },removeSo urce:funct ion(t){K(t his.otherS ources,t), this.curre ntPeriod&& this.curre ntPeriod.p urgeSource (t)},remov eAllSource s:function (){this.ot herSources =[],this.c urrentPeri od&&this.c urrentPeri od.purgeAl lSources() },refetchS ource:func tion(t){va r e=this.c urrentPeri od;e&&(e.f reeze(),e. purgeSourc e(t),e.req uestSource (t),e.thaw ())},refet chAllSourc es:functio n(){var t= this.curre ntPeriod;t &&(t.freez e(),t.purg eAllSource s(),t.requ estSources (this.getS ources()), t.thaw())} ,getSource s:function (){return[ this.stick ySource].c oncat(this .otherSour ces)},mult iQuerySour ces:functi on(e){e?t. isArray(e) ||(e=[e]): e=[];var n ,i=[];for( n=0;n<e.le ngth;n++)i .push.appl y(i,this.q uerySource s(e[n]));r eturn i},q uerySource s:function (e){var n, i,r=this.o therSource s;for(n=0; n<r.length ;n++)if((i =r[n])===e )return[i] ;return(i= this.getSo urceById(o n.normaliz eId(e)))?[ i]:(e=an.p arse(e,thi s.calendar ),e?t.grep (r,functio n(t){retur n Mt(e,t)} ):void 0)} ,getSource ById:funct ion(e){ret urn t.grep (this.othe rSources,f unction(t) {return t. id&&t.id== =e})[0]},s etPeriod:f unction(t) {this.curr entPeriod& &(this.unb indPeriod( this.curre ntPeriod), this.curre ntPeriod=n ull),this. currentPer iod=t,this .bindPerio d(t),t.req uestSource s(this.get Sources()) },bindPeri od:functio n(t){this. listenTo(t ,"release" ,function( t){this.tr igger("rel ease",t)}) },unbindPe riod:funct ion(t){thi s.stopList eningTo(t) },getEvent DefByUid:f unction(t) {if(this.c urrentPeri od)return this.curre ntPeriod.g etEventDef ByUid(t)}, addEventDe f:function (t,e){e&&t his.sticky Source.add EventDef(t ),this.cur rentPeriod &&this.cur rentPeriod .addEventD ef(t)},rem oveEventDe fsById:fun ction(t){t his.getSou rces().for Each(funct ion(e){e.r emoveEvent DefsById(t )}),this.c urrentPeri od&&this.c urrentPeri od.removeE ventDefsBy Id(t)},rem oveAllEven tDefs:func tion(){thi s.getSourc es().forEa ch(functio n(t){t.rem oveAllEven tDefs()}), this.curre ntPeriod&& this.curre ntPeriod.r emoveAllEv entDefs()} ,mutateEve ntsWithId: function(t ,e){var n, i=this.cur rentPeriod ,r=[];retu rn i?(i.fr eeze(),n=i .getEventD efsById(t) ,n.forEach (function( t){i.remov eEventDef( t),r.push( e.mutateSi ngle(t)),i .addEventD ef(t)}),i. thaw(),fun ction(){i. freeze();f or(var t=0 ;t<n.lengt h;t++)i.re moveEventD ef(n[t]),r [t](),i.ad dEventDef( n[t]);i.th aw()}):fun ction(){}} ,buildMuta tedEventIn stanceGrou p:function (t,e){var n,i,r=this .getEventD efsById(t) ,s=[];for( n=0;n<r.le ngth;n++)( i=r[n].clo ne())insta nceof $e&& (e.mutateS ingle(i),s .push.appl y(s,i.buil dInstances ()));retur n new Je(s )},freeze: function() {this.curr entPeriod& &this.curr entPeriod. freeze()}, thaw:funct ion(){this .currentPe riod&&this .currentPe riod.thaw( )}});["get EventDefsB yId","getE ventInstan ces","getE ventInstan cesWithId" ,"getEvent InstancesW ithoutId"] .forEach(f unction(t) {qe.protot ype[t]=fun ction(){va r e=this.c urrentPeri od;return e?e[t].app ly(e,argum ents):[]}} );var Ye={ start:"09: 00",end:"1 7:00",dow: [1,2,3,4,5 ],renderin g:"inverse -backgroun d"},je=Wt. BusinessHo urGenerato r=dt.exten d({rawComp lexDef:nul l,calendar :null,cons tructor:fu nction(t,e ){this.raw ComplexDef =t,this.ca lendar=e}, buildEvent InstanceGr oup:functi on(t,e){va r n,i=this .buildEven tDefs(t);i f(i.length )return n= new Je(xt( i,e)),n.ex plicitEven tDef=i[0], n},buildEv entDefs:fu nction(e){ var n,i=th is.rawComp lexDef,r=[ ],s=!1,o=[ ];for(!0== =i?r=[{}]: t.isPlainO bject(i)?r =[i]:t.isA rray(i)&&( r=i,s=!0), n=0;n<r.le ngth;n++)s &&!r[n].do w||o.push( this.build EventDef(e ,r[n]));re turn o},bu ildEventDe f:function (e,n){var i=t.extend ({},Ye,n); return e&& (i.start=n ull,i.end= null),Xe.p arse(i,new on(this.c alendar))} }),Ze={par se:functio n(t,n){ret urn Y(t.st art)||e.is Duration(t .start)||Y (t.end)||e .isDuratio n(t.end)?X e.parse(t, n):$e.pars e(t,n)}},Q e=Wt.Event Def=dt.ext end(oe,{so urce:null, id:null,ra wId:null,u id:null,ti tle:null,u rl:null,re ndering:nu ll,constra int:null,o verlap:nul l,editable :null,star tEditable: null,durat ionEditabl e:null,col or:null,ba ckgroundCo lor:null,b orderColor :null,text Color:null ,className :null,misc Props:null ,construct or:functio n(t){this. source=t,t his.classN ame=[],thi s.miscProp s={}},isAl lDay:funct ion(){},bu ildInstanc es:functio n(t){},clo ne:functio n(){var e= new this.c onstructor (this.sour ce);return e.id=this .id,e.rawI d=this.raw Id,e.uid=t his.uid,Qe .copyVerba timStandar dProps(thi s,e),e.cla ssName=thi s.classNam e.slice(), e.miscProp s=t.extend ({},this.m iscProps), e},hasInve rseRenderi ng:functio n(){return "inverse-b ackground" ===this.ge tRendering ()},hasBgR endering:f unction(){ var t=this .getRender ing();retu rn"inverse -backgroun d"===t||"b ackground" ===t},getR endering:f unction(){ return nul l!=this.re ndering?th is.renderi ng:this.so urce.rende ring},getC onstraint: function() {return nu ll!=this.c onstraint? this.const raint:null !=this.sou rce.constr aint?this. source.con straint:th is.source. calendar.o pt("eventC onstraint" )},getOver lap:functi on(){retur n null!=th is.overlap ?this.over lap:null!= this.sourc e.overlap? this.sourc e.overlap: this.sourc e.calendar .opt("even tOverlap") },isStartE xplicitlyE ditable:fu nction(){r eturn null !==this.st artEditabl e?this.sta rtEditable :this.sour ce.startEd itable},is DurationEx plicitlyEd itable:fun ction(){re turn null! ==this.dur ationEdita ble?this.d urationEdi table:this .source.du rationEdit able},isEx plicitlyEd itable:fun ction(){re turn null! ==this.edi table?this .editable: this.sourc e.editable },toLegacy :function( ){var e=t. extend({}, this.miscP rops);retu rn e._id=t his.uid,e. source=thi s.source,e .className =this.clas sName.slic e(),e.allD ay=this.is AllDay(),n ull!=this. rawId&&(e. id=this.ra wId),Qe.co pyVerbatim StandardPr ops(this,e ),e},apply ManualStan dardProps: function(e ){return n ull!=e.id? this.id=Qe .normalize Id(this.ra wId=e.id): this.id=Qe .generateI d(),null!= e._id?this .uid=Strin g(e._id):t his.uid=Qe .generateI d(),t.isAr ray(e.clas sName)&&(t his.classN ame=e.clas sName),\n" string"==t ypeof e.cl assName&&( this.class Name=e.cla ssName.spl it(/\\s+/) ),!0},appl yMiscProps :function( e){t.exten d(this.mis cProps,e)} });Qe.defi neStandard Props=ae,Q e.copyVerb atimStanda rdProps=le ,Qe.uuid=0 ,Qe.normal izeId=func tion(t){re turn Strin g(t)},Qe.g enerateId= function() {return"_f c"+Qe.uuid ++},Qe.def ineStandar dProps({_i d:!1,id:!1 ,className :!1,source :!1,title: !0,url:!0, rendering: !0,constra int:!0,ove rlap:!0,ed itable:!0, startEdita ble:!0,dur ationEdita ble:!0,col or:!0,back groundColo r:!0,borde rColor:!0, textColor: !0}),Qe.pa rse=functi on(t,e){va r n=new th is(e),i=e. calendar.o pt("eventD ataTransfo rm"),r=e.e ventDataTr ansform;re turn i&&(t =i(t)),r&& (t=r(t)),! !n.applyPr ops(t)&&n} ;var $e=Qe .extend({d ateProfile :null,buil dInstances :function( ){return[t his.buildI nstance()] },buildIns tance:func tion(){ret urn new Ke (this,this .dateProfi le)},isAll Day:functi on(){retur n this.dat eProfile.i sAllDay()} ,clone:fun ction(){va r t=Qe.pro totype.clo ne.call(th is);return t.datePro file=this. dateProfil e,t},rezon e:function (){var t=t his.source .calendar, e=this.dat eProfile;t his.datePr ofile=new tn(t.momen t(e.start) ,e.end?t.m oment(e.en d):null,t) },applyMan ualStandar dProps:fun ction(t){v ar e=Qe.pr ototype.ap plyManualS tandardPro ps.apply(t his,argume nts),n=tn. parse(t,th is.source) ;return!!n &&(this.da teProfile= n,null!=t. date&&(thi s.miscProp s.date=t.d ate),e)}}) ;$e.define StandardPr ops({start :!1,date:! 1,end:!1,a llDay:!1}) ;var Xe=Qe .extend({s tartTime:n ull,endTim e:null,dow Hash:null, isAllDay:f unction(){ return!thi s.startTim e&&!this.e ndTime},bu ildInstanc es:functio n(t){for(v ar e,n,i,r =this.sour ce.calenda r,s=t.getS tart(),o=t .getEnd(), a=[];s.isB efore(o);) this.dowHa sh&&!this. dowHash[s. day()]||(e =r.applyTi mezone(s), n=e.clone( ),i=null,t his.startT ime?n.time (this.star tTime):n.s tripTime() ,this.endT ime&&(i=e. clone().ti me(this.en dTime)),a. push(new K e(this,new tn(n,i,r) ))),s.add( 1,"days"); return a}, setDow:fun ction(t){t his.dowHas h||(this.d owHash={}) ;for(var e =0;e<t.len gth;e++)th is.dowHash [t[e]]=!0} ,clone:fun ction(){va r n=Qe.pro totype.clo ne.call(th is);return n.startTi me&&(n.sta rtTime=e.d uration(th is.startTi me)),n.end Time&&(n.e ndTime=e.d uration(th is.endTime )),this.do wHash&&(n. dowHash=t. extend({}, this.dowHa sh)),n},ap plyProps:f unction(t) {var n=Qe. prototype. applyProps .apply(thi s,argument s);return t.start&&( this.start Time=e.dur ation(t.st art)),t.en d&&(this.e ndTime=e.d uration(t. end)),t.do w&&this.se tDow(t.dow ),n}});Xe. defineStan dardProps( {start:!1, end:!1,dow :!1});var Ke=dt.exte nd({def:nu ll,datePro file:null, constructo r:function (t,e){this .def=t,thi s.dateProf ile=e},toL egacy:func tion(){var t=this.da teProfile, e=this.def .toLegacy( );return e .start=t.s tart.clone (),e.end=t .end?t.end .clone():n ull,e}}),J e=Wt.Event InstanceGr oup=dt.ext end({event Instances: null,expli citEventDe f:null,con structor:f unction(t) {this.even tInstances =t||[]},ge tAllEventR anges:func tion(t){re turn t?thi s.sliceNor malRenderR anges(t):t his.eventI nstances.m ap(Pt)},sl iceRenderR anges:func tion(t){re turn this. isInverse( )?this.sli ceInverseR enderRange s(t):this. sliceNorma lRenderRan ges(t)},sl iceNormalR enderRange s:function (t){var e, n,i,r=this .eventInst ances,s=[] ;for(e=0;e <r.length; e++)n=r[e] ,(i=n.date Profile.un zonedRange .intersect (t))&&s.pu sh(new en( i,n.def,n) );return s },sliceInv erseRender Ranges:fun ction(t){v ar e=this. eventInsta nces.map(F t),n=this. getEventDe f();return e=It(e,t) ,e.map(fun ction(t){r eturn new en(t,n)})} ,isInverse :function( ){return t his.getEve ntDef().ha sInverseRe ndering()} ,getEventD ef:functio n(){return this.expl icitEventD ef||this.e ventInstan ces[0].def }}),tn=dt. extend({st art:null,e nd:null,un zonedRange :null,cons tructor:fu nction(t,e ,n){this.s tart=t,thi s.end=e||n ull,this.u nzonedRang e=this.bui ldUnzonedR ange(n)},i sAllDay:fu nction(){r eturn!(thi s.start.ha sTime()||t his.end&&t his.end.ha sTime())}, buildUnzon edRange:fu nction(t){ var e=this .start.clo ne().strip Zone().val ueOf(),n=t his.getEnd (t).stripZ one().valu eOf();retu rn new Ue( e,n)},getE nd:functio n(t){retur n this.end ?this.end. clone():t. getDefault EventEnd(t his.isAllD ay(),this. start)}}); tn.isStand ardProp=fu nction(t){ return"sta rt"===t||" date"===t| |"end"===t ||"allDay" ===t},tn.p arse=funct ion(t,e){v ar n=t.sta rt||t.date ,i=t.end;i f(!n)retur n!1;var r= e.calendar ,s=r.momen t(n),o=i?r .moment(i) :null,a=t. allDay,l=r .opt("forc eEventDura tion");ret urn!!s.isV alid()&&(! o||o.isVal id()&&o.is After(s)|| (o=null),n ull==a&&nu ll==(a=e.a llDayDefau lt)&&(a=r. opt("allDa yDefault") ),!0===a?( s.stripTim e(),o&&o.s tripTime() ):!1===a&& (s.hasTime ()||s.time (0),o&&!o. hasTime()& &o.time(0) ),!o&&l&&( o=r.getDef aultEventE nd(!s.hasT ime(),s)), new tn(s,o ,r))};var en=dt.exte nd({unzone dRange:nul l,eventDef :null,even tInstance: null,const ructor:fun ction(t,e, n){this.un zonedRange =t,this.ev entDef=e,n &&(this.ev entInstanc e=n)}}),nn =Wt.EventF ootprint=d t.extend({ componentF ootprint:n ull,eventD ef:null,ev entInstanc e:null,con structor:f unction(t, e,n){this. componentF ootprint=t ,this.even tDef=e,n&& (this.even tInstance= n)},getEve ntLegacy:f unction(){ return(thi s.eventIns tance||thi s.eventDef ).toLegacy ()}}),rn=W t.EventDef Mutation=d t.extend({ dateMutati on:null,ev entDefId:n ull,classN ame:null,v erbatimSta ndardProps :null,misc Props:null ,mutateSin gle:functi on(t){var e;return t his.dateMu tation&&(e =t.datePro file,t.dat eProfile=t his.dateMu tation.bui ldNewDateP rofile(e,t .source.ca lendar)),n ull!=this. eventDefId &&(t.id=Qe .normalize Id(t.rawId =this.even tDefId)),t his.classN ame&&(t.cl assName=th is.classNa me),this.v erbatimSta ndardProps &&$e.copyV erbatimSta ndardProps (this.verb atimStanda rdProps,t) ,this.misc Props&&t.a pplyMiscPr ops(this.m iscProps), e?function (){t.dateP rofile=e}: function() {}},setDat eMutation: function(t ){t&&!t.is Empty()?th is.dateMut ation=t:th is.dateMut ation=null },isEmpty: function() {return!th is.dateMut ation}});r n.createFr omRawProps =function( t,e,n){var i,r,s,o,a =t.def,l={ },u={},c={ },h={},d=n ull,f=null ;for(i in e)tn.isSta ndardProp( i)?l[i]=e[ i]:a.isSta ndardProp( i)?u[i]=e[ i]:a.miscP rops[i]!== e[i]&&(c[i ]=e[i]);re turn r=tn. parse(l,a. source),r& &(s=sn.cre ateFromDif f(t.datePr ofile,r,n) ),u.id!==a .id&&(d=u. id),J(u.cl assName,a. className) ||(f=u.cla ssName),Qe .copyVerba timStandar dProps(u,h ),o=new rn ,o.eventDe fId=d,o.cl assName=f, o.verbatim StandardPr ops=h,o.mi scProps=c, s&&(o.date Mutation=s ),o};var s n=dt.exten d({clearEn d:!1,force Timed:!1,f orceAllDay :!1,dateDe lta:null,s tartDelta: null,endDe lta:null,b uildNewDat eProfile:f unction(t, e){var n=t .start.clo ne(),i=nul l,r=!1;ret urn t.end& &!this.cle arEnd?i=t. end.clone( ):this.end Delta&&!i& &(i=e.getD efaultEven tEnd(t.isA llDay(),n) ),this.for ceTimed?(r =!0,n.hasT ime()||n.t ime(0),i&& !i.hasTime ()&&i.time (0)):this. forceAllDa y&&(n.hasT ime()&&n.s tripTime() ,i&&i.hasT ime()&&i.s tripTime() ),this.dat eDelta&&(r =!0,n.add( this.dateD elta),i&&i .add(this. dateDelta) ),this.end Delta&&(r= !0,i.add(t his.endDel ta)),this. startDelta &&(r=!0,n. add(this.s tartDelta) ),r&&(n=e. applyTimez one(n),i&& (i=e.apply Timezone(i ))),!i&&e. opt("force EventDurat ion")&&(i= e.getDefau ltEventEnd (t.isAllDa y(),n)),ne w tn(n,i,e )},setDate Delta:func tion(t){t& &t.valueOf ()?this.da teDelta=t: this.dateD elta=null} ,setStartD elta:funct ion(t){t&& t.valueOf( )?this.sta rtDelta=t: this.start Delta=null },setEndDe lta:functi on(t){t&&t .valueOf() ?this.endD elta=t:thi s.endDelta =null},isE mpty:funct ion(){retu rn!(this.c learEnd||t his.forceT imed||this .forceAllD ay||this.d ateDelta|| this.start Delta||thi s.endDelta )}});sn.cr eateFromDi ff=functio n(t,e,n){f unction i( t,i){retur n n?L(t,i, n):e.isAll Day()?A(t, i):B(t,i)} var r,s,o, a,l=t.end& &!e.end,u= t.isAllDay ()&&!e.isA llDay(),c= !t.isAllDa y()&&e.isA llDay();re turn r=i(e .start,t.s tart),e.en d&&(s=i(e. unzonedRan ge.getEnd( ),t.unzone dRange.get End()),o=s .subtract( r)),a=new sn,a.clear End=l,a.fo rceTimed=u ,a.forceAl lDay=c,a.s etDateDelt a(r),a.set EndDelta(o ),a};var o n=dt.exten d(oe,{cale ndar:null, id:null,ui d:null,col or:null,ba ckgroundCo lor:null,b orderColor :null,text Color:null ,className :null,edit able:null, startEdita ble:null,d urationEdi table:null ,rendering :null,over lap:null,c onstraint: null,allDa yDefault:n ull,eventD ataTransfo rm:null,co nstructor: function(t ){this.cal endar=t,th is.classNa me=[],this .uid=Strin g(on.uuid+ +)},fetch: function(t ,e,n){},re moveEventD efsById:fu nction(t){ },removeAl lEventDefs :function( ){},getPri mitive:fun ction(t){} ,parseEven tDefs:func tion(t){va r e,n,i=[] ;for(e=0;e <t.length; e++)(n=Ze. parse(t[e] ,this))&&i .push(n);r eturn i},a pplyManual StandardPr ops:functi on(e){retu rn null!=e .id&&(this .id=on.nor malizeId(e .id)),t.is Array(e.cl assName)?t his.classN ame=e.clas sName:"str ing"==type of e.class Name&&(thi s.classNam e=e.classN ame.split( /\\s+/)),! 0}});on.de fineStanda rdProps=ae ,on.uuid=0 ,on.normal izeId=func tion(t){re turn t?Str ing(t):nul l},on.defi neStandard Props({id: !1,classNa me:!1,colo r:!0,backg roundColor :!0,border Color:!0,t extColor:! 0,editable :!0,startE ditable:!0 ,durationE ditable:!0 ,rendering :!0,overla p:!0,const raint:!0,a llDayDefau lt:!0,even tDataTrans form:!0}), on.parse=f unction(t, e){var n=n ew this(e) ;return!(" object"!=t ypeof t||! n.applyPro ps(t))&&n} ,Wt.EventS ource=on;v ar an={sou rceClasses :[],regist erClass:fu nction(t){ this.sourc eClasses.u nshift(t)} ,parse:fun ction(t,e) {var n,i,r =this.sour ceClasses; for(n=0;n< r.length;n ++)if(i=r[ n].parse(t ,e))return i}};Wt.Ev entSourceP arser=an;v ar ln=on.e xtend({raw EventDefs: null,event Defs:null, currentTim ezone:null ,construct or:functio n(t){on.ap ply(this,a rguments), this.event Defs=[]},s etRawEvent Defs:funct ion(t){thi s.rawEvent Defs=t,thi s.eventDef s=this.par seEventDef s(t)},fetc h:function (t,e,n){va r i,r=this .eventDefs ;if(null!= =this.curr entTimezon e&&this.cu rrentTimez one!==n)fo r(i=0;i<r. length;i++ )r[i]insta nceof $e&& r[i].rezon e();return this.curr entTimezon e=n,ce.res olve(r)},a ddEventDef :function( t){this.ev entDefs.pu sh(t)},rem oveEventDe fsById:fun ction(t){r eturn X(th is.eventDe fs,functio n(e){retur n e.id===t })},remove AllEventDe fs:functio n(){this.e ventDefs=[ ]},getPrim itive:func tion(){ret urn this.r awEventDef s},applyMa nualStanda rdProps:fu nction(t){ var e=on.p rototype.a pplyManual StandardPr ops.apply( this,argum ents);retu rn this.se tRawEventD efs(t.even ts),e}});l n.defineSt andardProp s({events: !1}),ln.pa rse=functi on(e,n){va r i;return t.isArray (e.events) ?i=e:t.isA rray(e)&&( i={events: e}),!!i&&o n.parse.ca ll(this,i, n)},an.reg isterClass (ln),Wt.Ar rayEventSo urce=ln;va r un=on.ex tend({func :null,fetc h:function (t,e,n){va r i=this;r eturn this .calendar. pushLoadin g(),ce.con struct(fun ction(r){i .func.call (i.calenda r,t.clone( ),e.clone( ),n,functi on(t){i.ca lendar.pop Loading(), r(i.parseE ventDefs(t ))})})},ge tPrimitive :function( ){return t his.func}, applyManua lStandardP rops:funct ion(t){var e=on.prot otype.appl yManualSta ndardProps .apply(thi s,argument s);return this.func= t.events,e }});un.def ineStandar dProps({ev ents:!1}), un.parse=f unction(e, n){var i;r eturn t.is Function(e .events)?i =e:t.isFun ction(e)&& (i={events :e}),!!i&& on.parse.c all(this,i ,n)},an.re gisterClas s(un),Wt.F uncEventSo urce=un;va r cn=on.ex tend({url: null,start Param:null ,endParam: null,timez oneParam:n ull,ajaxSe ttings:nul l,fetch:fu nction(e,n ,i){var r= this,s=thi s.ajaxSett ings,o=s.s uccess,a=s .error,l=t his.buildR equestPara ms(e,n,i); return thi s.calendar .pushLoadi ng(),ce.co nstruct(fu nction(e,n ){t.ajax(t .extend({} ,cn.AJAX_D EFAULTS,s, {url:r.url ,data:l,su ccess:func tion(i){va r s;r.cale ndar.popLo ading(),i? (s=$(o,thi s,argument s),t.isArr ay(s)&&(i= s),e(r.par seEventDef s(i))):n() },error:fu nction(){r .calendar. popLoading (),$(a,thi s,argument s),n()}})) })},buildR equestPara ms:functio n(e,n,i){v ar r,s,o,a ,l=this.ca lendar,u=t his.ajaxSe ttings,c={ };return r =this.star tParam,nul l==r&&(r=l .opt("star tParam")), s=this.end Param,null ==s&&(s=l. opt("endPa ram")),o=t his.timezo neParam,nu ll==o&&(o= l.opt("tim ezoneParam ")),a=t.is Function(u .data)?u.d ata():u.da ta||{},t.e xtend(c,a) ,c[r]=e.fo rmat(),c[s ]=n.format (),i&&"loc al"!==i&&( c[o]=i),c} ,getPrimit ive:functi on(){retur n this.url },applyMis cProps:fun ction(t){o n.prototyp e.applyMis cProps.app ly(this,ar guments),t his.ajaxSe ttings=t}} );cn.AJAX_ DEFAULTS={ dataType:" json",cach e:!1},cn.d efineStand ardProps({ url:!0,sta rtParam:!0 ,endParam: !0,timezon eParam:!0} ),cn.parse =function( t,e){var n ;return"st ring"==typ eof t.url? n=t:"strin g"==typeof t&&(n={ur l:t}),!!n& &on.parse. call(this, n,e)},an.r egisterCla ss(cn),Wt. JsonFeedEv entSource= cn;var hn= Wt.ThemeRe gistry={th emeClassHa sh:{},regi ster:funct ion(t,e){t his.themeC lassHash[t ]=e},getTh emeClass:f unction(t) {return t? !0===t?gn: this.theme ClassHash[ t]:fn}},dn =Wt.Theme= dt.extend( {classes:{ },iconClas ses:{},bas eIconClass :"",iconOv errideOpti on:null,ic onOverride CustomButt onOption:n ull,iconOv erridePref ix:"",cons tructor:fu nction(t){ this.optio nsModel=t, this.proce ssIconOver ride()},pr ocessIconO verride:fu nction(){t his.iconOv errideOpti on&&this.s etIconOver ride(this. optionsMod el.get(thi s.iconOver rideOption ))},setIco nOverride: function(e ){var n,i; if(t.isPla inObject(e )){n=t.ext end({},thi s.iconClas ses);for(i in e)n[i] =this.appl yIconOverr idePrefix( e[i]);this .iconClass es=n}else! 1===e&&(th is.iconCla sses={})}, applyIconO verridePre fix:functi on(t){var e=this.ico nOverrideP refix;retu rn e&&0!== t.indexOf( e)&&(t=e+t ),t},getCl ass:functi on(t){retu rn this.cl asses[t]|| ""},getIco nClass:fun ction(t){v ar e=this. iconClasse s[t];retur n e?this.b aseIconCla ss+" "+e:" "},getCust omButtonIc onClass:fu nction(t){ var e;retu rn this.ic onOverride CustomButt onOption&& (e=t[this. iconOverri deCustomBu ttonOption ])?this.ba seIconClas s+" "+this .applyIcon OverridePr efix(e):"" }}),fn=dn. extend({cl asses:{wid get:"fc-un themed",wi dgetHeader :"fc-widge t-header", widgetCont ent:"fc-wi dget-conte nt",button Group:"fc- button-gro up",button :"fc-butto n",cornerL eft:"fc-co rner-left" ,cornerRig ht:"fc-cor ner-right" ,stateDefa ult:"fc-st ate-defaul t",stateAc tive:"fc-s tate-activ e",stateDi sabled:"fc -state-dis abled",sta teHover:"f c-state-ho ver",state Down:"fc-s tate-down" ,popoverHe ader:"fc-w idget-head er",popove rContent:" fc-widget- content",h eaderRow:" fc-widget- header",da yRow:"fc-w idget-cont ent",listV iew:"fc-wi dget-conte nt"},baseI conClass:" fc-icon",i conClasses :{close:"f c-icon-x", prev:"fc-i con-left-s ingle-arro w",next:"f c-icon-rig ht-single- arrow",pre vYear:"fc- icon-left- double-arr ow",nextYe ar:"fc-ico n-right-do uble-arrow "},iconOve rrideOptio n:"buttonI cons",icon OverrideCu stomButton Option:"ic on",iconOv erridePref ix:"fc-ico n-"});hn.r egister("s tandard",f n);var gn= dn.extend( {classes:{ widget:"ui -widget",w idgetHeade r:"ui-widg et-header" ,widgetCon tent:"ui-w idget-cont ent",butto nGroup:"fc -button-gr oup",butto n:"ui-butt on",corner Left:"ui-c orner-left ",cornerRi ght:"ui-co rner-right ",stateDef ault:"ui-s tate-defau lt",stateA ctive:"ui- state-acti ve",stateD isabled:"u i-state-di sabled",st ateHover:" ui-state-h over",stat eDown:"ui- state-down ",today:"u i-state-hi ghlight",p opoverHead er:"ui-wid get-header ",popoverC ontent:"ui -widget-co ntent",hea derRow:"ui -widget-he ader",dayR ow:"ui-wid get-conten t",listVie w:"ui-widg et-content "},baseIco nClass:"ui -icon",ico nClasses:{ close:"ui- icon-close thick",pre v:"ui-icon -circle-tr iangle-w", next:"ui-i con-circle -triangle- e",prevYea r:"ui-icon -seek-prev ",nextYear :"ui-icon- seek-next" },iconOver rideOption :"themeBut tonIcons", iconOverri deCustomBu ttonOption :"themeIco n",iconOve rridePrefi x:"ui-icon -"});hn.re gister("jq uery-ui",g n);var pn= dn.extend( {classes:{ widget:"fc -bootstrap 3",tableGr id:"table- bordered", tableList: "table tab le-striped ",buttonGr oup:"btn-g roup",butt on:"btn bt n-default" ,stateActi ve:"active ",stateDis abled:"dis abled",tod ay:"alert alert-info ",popover: "panel pan el-default ",popoverH eader:"pan el-heading ",popoverC ontent:"pa nel-body", headerRow: "panel-def ault",dayR ow:"panel- default",l istView:"p anel panel -default"} ,baseIconC lass:"glyp hicon",ico nClasses:{ close:"gly phicon-rem ove",prev: "glyphicon -chevron-l eft",next: "glyphicon -chevron-r ight",prev Year:"glyp hicon-back ward",next Year:"glyp hicon-forw ard"},icon OverrideOp tion:"boot strapGlyph icons",ico nOverrideC ustomButto nOption:"b ootstrapGl yphicon",i conOverrid ePrefix:"g lyphicon-" });hn.regi ster("boot strap3",pn );var vn=x e.extend({ fillSegTag :"td",atta chSegEls:f unction(t, e){var n,i ,r,s=[];fo r(n=0;n<e. length;n++ )i=e[n],r= this.rende rFillRow(t ,i),this.c omponent.r owEls.eq(i .row).appe nd(r),s.pu sh(r[0]);r eturn s},r enderFillR ow:functio n(e,n){var i,r,s,o=t his.compon ent.colCnt ,a=n.leftC ol,l=n.rig htCol+1;re turn i="bu sinessHour s"===e?"bg event":e.t oLowerCase (),r=t(\'< div class= "fc-\'+i+\ '-skeleton "><table>< tr/></tabl e></div>\' ),s=r.find ("tr"),a>0 &&s.append (\'<td col span="\'+a +\'"/>\'), s.append(n .el.attr(" colspan",l -a)),l<o&& s.append(\ '<td colsp an="\'+(o- l)+\'"/>\' ),this.com ponent.boo kendCells( s),r}}),mn =He.extend ({dayGrid: null,rowSt ructs:null ,construct or:functio n(t){He.ap ply(this,a rguments), this.dayGr id=t},rend erBgRanges :function( e){e=t.gre p(e,functi on(t){retu rn t.event Def.isAllD ay()}),He. prototype. renderBgRa nges.call( this,e)},r enderFgSeg s:function (e){var n= this.rowSt ructs=this .renderSeg Rows(e);th is.dayGrid .rowEls.ea ch(functio n(e,i){t(i ).find(".f c-content- skeleton > table").a ppend(n[e] .tbodyEl)} )},unrende rFgSegs:fu nction(){f or(var t,e =this.rowS tructs||[] ;t=e.pop() ;)t.tbodyE l.remove() ;this.rowS tructs=nul l},renderS egRows:fun ction(t){v ar e,n,i=[ ];for(e=th is.groupSe gRows(t),n =0;n<e.len gth;n++)i. push(this. renderSegR ow(n,e[n]) );return i },renderSe gRow:funct ion(e,n){f unction i( e){for(;o< e;)c=(m[r- 1]||[])[o] ,c?c.attr( "rowspan", parseInt(c .attr("row span")||1, 10)+1):(c= t("<td/>") ,a.append( c)),v[r][o ]=c,m[r][o ]=c,o++}va r r,s,o,a, l,u,c,h=th is.dayGrid .colCnt,d= this.build SegLevels( n),f=Math. max(1,d.le ngth),g=t( "<tbody/>" ),p=[],v=[ ],m=[];for (r=0;r<f;r ++){if(s=d [r],o=0,a= t("<tr/>") ,p.push([] ),v.push([ ]),m.push( []),s)for( l=0;l<s.le ngth;l++){ for(u=s[l] ,i(u.leftC ol),c=t(\' <td class= "fc-event- container" />\').appe nd(u.el),u .leftCol!= u.rightCol ?c.attr("c olspan",u. rightCol-u .leftCol+1 ):m[r][o]= c;o<=u.rig htCol;)v[r ][o]=c,p[r ][o]=u,o++ ;a.append( c)}i(h),th is.dayGrid .bookendCe lls(a),g.a ppend(a)}r eturn{row: e,tbodyEl: g,cellMatr ix:v,segMa trix:p,seg Levels:d,s egs:n}},bu ildSegLeve ls:functio n(t){var e ,n,i,r=[]; for(this.s ortEventSe gs(t),e=0; e<t.length ;e++){for( n=t[e],i=0 ;i<r.lengt h&&Bt(n,r[ i]);i++);n .level=i,( r[i]||(r[i ]=[])).pus h(n)}for(i =0;i<r.len gth;i++)r[ i].sort(At );return r },groupSeg Rows:funct ion(t){var e,n=[];fo r(e=0;e<th is.dayGrid .rowCnt;e+ +)n.push([ ]);for(e=0 ;e<t.lengt h;e++)n[t[ e].row].pu sh(t[e]);r eturn n},c omputeEven tTimeForma t:function (){return this.opt(" extraSmall TimeFormat ")},comput eDisplayEv entEnd:fun ction(){re turn 1===t his.dayGri d.colCnt}, fgSegHtml: function(t ,e){var n, i,r=this.v iew,s=t.fo otprint.ev entDef,o=t .footprint .component Footprint. isAllDay,a =r.isEvent DefDraggab le(s),l=!e &&o&&t.isS tart&&r.is EventDefRe sizableFro mStart(s), u=!e&&o&&t .isEnd&&r. isEventDef ResizableF romEnd(s), c=this.get SegClasses (t,a,l||u) ,h=it(this .getSkinCs s(s)),d="" ;return c. unshift("f c-day-grid -event","f c-h-event" ),t.isStar t&&(n=this .getTimeTe xt(t.footp rint))&&(d =\'<span c lass="fc-t ime">\'+et (n)+"</spa n>"),i=\'< span class ="fc-title ">\'+(et(s .title||"" )||" ")+"</span >",\'<a cl ass="\'+c. join(" ")+ \'"\'+(s.u rl?\' href ="\'+et(s. url)+\'"\' :"")+(h?\' style="\' +h+\'"\':" ")+\'><div class="fc -content"> \'+(this.i sRTL?i+" " +d:d+" "+i )+"</div>" +(l?\'<div class="fc -resizer f c-start-re sizer" />\ ':"")+(u?\ '<div clas s="fc-resi zer fc-end -resizer" />\':"")+" </a>"}}),y n=Pe.exten d({renderS egs:functi on(e,n){va r i,r=[];r eturn i=th is.eventRe nderer.ren derSegRows (e),this.c omponent.r owEls.each (function( e,s){var o ,a,l=t(s), u=t(\'<div class="fc -helper-sk eleton"><t able/></di v>\');n&&n .row===e?a =n.el.posi tion().top :(o=l.find (".fc-cont ent-skelet on tbody") ,o.length| |(o=l.find (".fc-cont ent-skelet on table") ),a=o.posi tion().top ),u.css("t op",a).fin d("table") .append(i[ e].tbodyEl ),l.append (u),r.push (u[0])}),t (r)}}),wn= Wt.DayGrid =ke.extend (Ie,Be,{ev entRendere rClass:mn, businessHo urRenderer Class:Me,h elperRende rerClass:y n,fillRend ererClass: vn,view:nu ll,helperR enderer:nu ll,cellWee kNumbersVi sible:!1,b ottomCoord Padding:0, headContai nerEl:null ,rowEls:nu ll,cellEls :null,rowC oordCache: null,colCo ordCache:n ull,isRigi d:!1,hasAl lDayBusine ssHours:!0 ,construct or:functio n(t){this. view=t,ke. call(this) },componen tFootprint ToSegs:fun ction(t){v ar e,n,i=t his.sliceR angeByRow( t.unzonedR ange);for( e=0;e<i.le ngth;e++)n =i[e],this .isRTL?(n. leftCol=th is.daysPer Row-1-n.la stRowDayIn dex,n.righ tCol=this. daysPerRow -1-n.first RowDayInde x):(n.left Col=n.firs tRowDayInd ex,n.right Col=n.last RowDayInde x);return i},renderD ates:funct ion(t){thi s.dateProf ile=t,this .updateDay Table(),th is.renderG rid()},unr enderDates :function( ){this.rem oveSegPopo ver()},ren derGrid:fu nction(){v ar t,e,n=t his.view,i =this.rowC nt,r=this. colCnt,s=" ";for(this .headConta inerEl&&th is.headCon tainerEl.h tml(this.r enderHeadH tml()),t=0 ;t<i;t++)s +=this.ren derDayRowH tml(t,this .isRigid); for(this.e l.html(s), this.rowEl s=this.el. find(".fc- row"),this .cellEls=t his.el.fin d(".fc-day , .fc-disa bled-day") ,this.rowC oordCache= new ge({el s:this.row Els,isVert ical:!0}), this.colCo ordCache=n ew ge({els :this.cell Els.slice( 0,this.col Cnt),isHor izontal:!0 }),t=0;t<i ;t++)for(e =0;e<r;e++ )this.publ iclyTrigge r("dayRend er",{conte xt:n,args: [this.getC ellDate(t, e),this.ge tCellEl(t, e),n]})},r enderDayRo wHtml:func tion(t,e){ var n=this .view.cale ndar.theme ,i=["fc-ro w","fc-wee k",n.getCl ass("dayRo w")];retur n e&&i.pus h("fc-rigi d"),\'<div class="\' +i.join(" ")+\'"><di v class="f c-bg"><tab le class=" \'+n.getCl ass("table Grid")+\'" >\'+this.r enderBgTrH tml(t)+\'< /table></d iv><div cl ass="fc-co ntent-skel eton"><tab le>\'+(thi s.getIsNum bersVisibl e()?"<thea d>"+this.r enderNumbe rTrHtml(t) +"</thead> ":"")+"</t able></div ></div>"}, getIsNumbe rsVisible: function() {return th is.getIsDa yNumbersVi sible()||t his.cellWe ekNumbersV isible},ge tIsDayNumb ersVisible :function( ){return t his.rowCnt >1},render NumberTrHt ml:functio n(t){retur n"<tr>"+(t his.isRTL? "":this.re nderNumber IntroHtml( t))+this.r enderNumbe rCellsHtml (t)+(this. isRTL?this .renderNum berIntroHt ml(t):"")+ "</tr>"},r enderNumbe rIntroHtml :function( t){return this.rende rIntroHtml ()},render NumberCell sHtml:func tion(t){va r e,n,i=[] ;for(e=0;e <this.colC nt;e++)n=t his.getCel lDate(t,e) ,i.push(th is.renderN umberCellH tml(n));re turn i.joi n("")},ren derNumberC ellHtml:fu nction(t){ var e,n,i= this.view, r="",s=thi s.dateProf ile.active UnzonedRan ge.contain sDate(t),o =this.getI sDayNumber sVisible() &&s;return o||this.c ellWeekNum bersVisibl e?(e=this. getDayClas ses(t),e.u nshift("fc -day-top") ,this.cell WeekNumber sVisible&& (n="ISO"== =t._locale ._fullCale ndar_weekC alc?1:t._l ocale.firs tDayOfWeek ()),r+=\'< td class=" \'+e.join( " ")+\'"\' +(s?\' dat a-date="\' +t.format( )+\'"\':"" )+">",this .cellWeekN umbersVisi ble&&t.day ()==n&&(r+ =i.buildGo toAnchorHt ml({date:t ,type:"wee k"},{class :"fc-week- number"},t .format("w "))),o&&(r +=i.buildG otoAnchorH tml(t,{cla ss:"fc-day -number"}, t.date())) ,r+="</td> "):"<td/>" },prepareH its:functi on(){this. colCoordCa che.build( ),this.row CoordCache .build(),t his.rowCoo rdCache.bo ttoms[this .rowCnt-1] +=this.bot tomCoordPa dding},rel easeHits:f unction(){ this.colCo ordCache.c lear(),thi s.rowCoord Cache.clea r()},query Hit:functi on(t,e){if (this.colC oordCache. isLeftInBo unds(t)&&t his.rowCoo rdCache.is TopInBound s(e)){var n=this.col CoordCache .getHorizo ntalIndex( t),i=this. rowCoordCa che.getVer ticalIndex (e);if(nul l!=i&&null !=n)return this.getC ellHit(i,n )}},getHit Footprint: function(t ){var e=th is.getCell Range(t.ro w,t.col);r eturn new We(new Ue( e.start,e. end),!0)}, getHitEl:f unction(t) {return th is.getCell El(t.row,t .col)},get CellHit:fu nction(t,e ){return{r ow:t,col:e ,component :this,left :this.colC oordCache. getLeftOff set(e),rig ht:this.co lCoordCach e.getRight Offset(e), top:this.r owCoordCac he.getTopO ffset(t),b ottom:this .rowCoordC ache.getBo ttomOffset (t)}},getC ellEl:func tion(t,e){ return thi s.cellEls. eq(t*this. colCnt+e)} ,unrenderE vents:func tion(){thi s.removeSe gPopover() ,ke.protot ype.unrend erEvents.a pply(this, arguments) },getOwnEv entSegs:fu nction(){r eturn ke.p rototype.g etOwnEvent Segs.apply (this,argu ments).con cat(this.p opoverSegs ||[])},ren derDrag:fu nction(t,e ,n){var i; for(i=0;i< t.length;i ++)this.re nderHighli ght(t[i].c omponentFo otprint);i f(t.length &&e&&e.com ponent!==t his)return this.help erRenderer .renderEve ntDragging Footprints (t,e,n),!0 },unrender Drag:funct ion(t){thi s.unrender Highlight( ),this.hel perRendere r.unrender ()},render EventResiz e:function (t,e,n){va r i;for(i= 0;i<t.leng th;i++)thi s.renderHi ghlight(t[ i].compone ntFootprin t);this.he lperRender er.renderE ventResizi ngFootprin ts(t,e,n)} ,unrenderE ventResize :function( t){this.un renderHigh light(),th is.helperR enderer.un render()}} );wn.mixin ({segPopov er:null,po poverSegs: null,remov eSegPopove r:function (){this.se gPopover&& this.segPo pover.hide ()},limitR ows:functi on(t){var e,n,i=this .eventRend erer.rowSt ructs||[]; for(e=0;e< i.length;e ++)this.un limitRow(e ),!1!==(n= !!t&&("num ber"==type of t?t:thi s.computeR owLevelLim it(e)))&&t his.limitR ow(e,n)},c omputeRowL evelLimit: function(e ){function n(e,n){s= Math.max(s ,t(n).oute rHeight()) }var i,r,s ,o=this.ro wEls.eq(e) ,a=o.heigh t(),l=this .eventRend erer.rowSt ructs[e].t bodyEl.chi ldren();fo r(i=0;i<l. length;i++ )if(r=l.eq (i).remove Class("fc- limited"), s=0,r.find ("> td > : first-chil d").each(n ),r.positi on().top+s >a)return i;return!1 },limitRow :function( e,n){funct ion i(i){f or(;E<i;)u =w.getCell Segs(e,E,n ),u.length &&(d=s[n-1 ][E],y=w.r enderMoreL ink(e,E,u) ,m=t("<div />").appen d(y),d.app end(m),b.p ush(m[0])) ,E++}var r ,s,o,a,l,u ,c,h,d,f,g ,p,v,m,y,w =this,D=th is.eventRe nderer.row Structs[e] ,b=[],E=0; if(n&&n<D. segLevels. length){fo r(r=D.segL evels[n-1] ,s=D.cellM atrix,o=D. tbodyEl.ch ildren().s lice(n).ad dClass("fc -limited") .get(),a=0 ;a<r.lengt h;a++){for (l=r[a],i( l.leftCol) ,h=[],c=0; E<=l.right Col;)u=thi s.getCellS egs(e,E,n) ,h.push(u) ,c+=u.leng th,E++;if( c){for(d=s [n-1][l.le ftCol],f=d .attr("row span")||1, g=[],p=0;p <h.length; p++)v=t(\' <td class= "fc-more-c ell"/>\'). attr("rows pan",f),u= h[p],y=thi s.renderMo reLink(e,l .leftCol+p ,[l].conca t(u)),m=t( "<div/>"). append(y), v.append(m ),g.push(v [0]),b.pus h(v[0]);d. addClass(" fc-limited ").after(t (g)),o.pus h(d[0])}}i (this.colC nt),D.more Els=t(b),D .limitedEl s=t(o)}},u nlimitRow: function(t ){var e=th is.eventRe nderer.row Structs[t] ;e.moreEls &&(e.moreE ls.remove( ),e.moreEl s=null),e. limitedEls &&(e.limit edEls.remo veClass("f c-limited" ),e.limite dEls=null) },renderMo reLink:fun ction(e,n, i){var r=t his,s=this .view;retu rn t(\'<a class="fc- more"/>\') .text(this .getMoreLi nkText(i.l ength)).on ("click",f unction(o) {var a=r.o pt("eventL imitClick" ),l=r.getC ellDate(e, n),u=t(thi s),c=r.get CellEl(e,n ),h=r.getC ellSegs(e, n),d=r.res liceDaySeg s(h,l),f=r .resliceDa ySegs(i,l) ;"function "==typeof a&&(a=r.pu bliclyTrig ger("event LimitClick ",{context :s,args:[{ date:l.clo ne(),dayEl :c,moreEl: u,segs:d,h iddenSegs: f},o,s]})) ,"popover" ===a?r.sho wSegPopove r(e,n,u,d) :"string"= =typeof a& &s.calenda r.zoomTo(l ,a)})},sho wSegPopove r:function (t,e,n,i){ var r,s,o= this,a=thi s.view,l=n .parent(); r=1==this. rowCnt?a.e l:this.row Els.eq(t), s={classNa me:"fc-mor e-popover "+a.calend ar.theme.g etClass("p opover"),c ontent:thi s.renderSe gPopoverCo ntent(t,e, i),parentE l:a.el,top :r.offset( ).top,auto Hide:!0,vi ewportCons train:this .opt("popo verViewpor tConstrain "),hide:fu nction(){o .popoverSe gs&&o.trig gerBeforeE ventSegsDe stroyed(o. popoverSeg s),o.segPo pover.remo veElement( ),o.segPop over=null, o.popoverS egs=null}} ,this.isRT L?s.right= l.offset() .left+l.ou terWidth() +1:s.left= l.offset() .left-1,th is.segPopo ver=new fe (s),this.s egPopover. show(),thi s.bindAllS egHandlers ToEl(this. segPopover .el),this. triggerAft erEventSeg sRendered( i)},render SegPopover Content:fu nction(e,n ,i){var r, s=this.vie w,o=s.cale ndar.theme ,a=this.ge tCellDate( e,n).forma t(this.opt ("dayPopov erFormat") ),l=t(\'<d iv class=" fc-header \'+o.getCl ass("popov erHeader") +\'"><span class="fc -close \'+ o.getIconC lass("clos e")+\'"></ span><span class="fc -title">\' +et(a)+\'< /span><div class="fc -clear"/>< /div><div class="fc- body \'+o. getClass(" popoverCon tent")+\'" ><div clas s="fc-even t-containe r"></div>< /div>\'),u =l.find(". fc-event-c ontainer") ;for(i=thi s.eventRen derer.rend erFgSegEls (i,!0),thi s.popoverS egs=i,r=0; r<i.length ;r++)this. hitsNeeded (),i[r].hi t=this.get CellHit(e, n),this.hi tsNotNeede d(),u.appe nd(i[r].el );return l },resliceD aySegs:fun ction(e,n) {var i,r,s ,o=n.clone (),a=o.clo ne().add(1 ,"days"),l =new Ue(o, a),u=[];fo r(i=0;i<e. length;i++ )r=e[i],(s =r.footpri nt.compone ntFootprin t.unzonedR ange.inter sect(l))&& u.push(t.e xtend({},r ,{footprin t:new nn(n ew We(s,r. footprint. componentF ootprint.i sAllDay),r .footprint .eventDef, r.footprin t.eventIns tance),isS tart:r.isS tart&&s.is Start,isEn d:r.isEnd& &s.isEnd}) );return t his.eventR enderer.so rtEventSeg s(u),u},ge tMoreLinkT ext:functi on(t){var e=this.opt ("eventLim itText");r eturn"func tion"==typ eof e?e(t) :"+"+t+" " +e},getCel lSegs:func tion(t,e,n ){for(var i,r=this.e ventRender er.rowStru cts[t].seg Matrix,s=n ||0,o=[];s <r.length; )i=r[s][e] ,i&&o.push (i),s++;re turn o}}); var Dn=Wt. BasicView= Ae.extend( {scroller: null,dayGr idClass:wn ,dayGrid:n ull,weekNu mberWidth: null,const ructor:fun ction(){Ae .apply(thi s,argument s),this.da yGrid=this .instantia teDayGrid( ),this.day Grid.isRig id=this.ha sRigidRows (),this.op t("weekNum bers")&&(t his.opt("w eekNumbers WithinDays ")?(this.d ayGrid.cel lWeekNumbe rsVisible= !0,this.da yGrid.colW eekNumbers Visible=!1 ):(this.da yGrid.cell WeekNumber sVisible=! 1,this.day Grid.colWe ekNumbersV isible=!0) ),this.add Child(this .dayGrid), this.scrol ler=new we ({overflow X:"hidden" ,overflowY :"auto"})} ,instantia teDayGrid: function() {return ne w(this.day GridClass. extend(bn) )(this)},b uildRender Range:func tion(t,e,n ){var i=Ae .prototype .buildRend erRange.ap ply(this,a rguments), r=this.cal endar.msTo UtcMoment( i.startMs, n),s=this. calendar.m sToUtcMome nt(i.endMs ,n);return /^(year|mo nth)$/.tes t(e)&&(r.s tartOf("we ek"),s.wee kday()&&s. add(1,"wee k").startO f("week")) ,new Ue(r, s)},execut eDateRende r:function (t){this.d ayGrid.bre akOnWeeks= /year|mont h|week/.te st(t.curre ntRangeUni t),Ae.prot otype.exec uteDateRen der.apply( this,argum ents)},ren derSkeleto n:function (){var e,n ;this.el.a ddClass("f c-basic-vi ew").html( this.rende rSkeletonH tml()),thi s.scroller .render(), e=this.scr oller.el.a ddClass("f c-day-grid -container "),n=t(\'< div class= "fc-day-gr id" />\'). appendTo(e ),this.el. find(".fc- body > tr > td").app end(e),thi s.dayGrid. headContai nerEl=this .el.find(" .fc-head-c ontainer") ,this.dayG rid.setEle ment(n)},u nrenderSke leton:func tion(){thi s.dayGrid. removeElem ent(),this .scroller. destroy()} ,renderSke letonHtml: function() {var t=thi s.calendar .theme;ret urn\'<tabl e class="\ '+t.getCla ss("tableG rid")+\'"> \'+(this.o pt("column Header")?\ '<thead cl ass="fc-he ad"><tr><t d class="f c-head-con tainer \'+ t.getClass ("widgetHe ader")+\'" > </t d></tr></t head>\':"" )+\'<tbody class="fc -body"><tr ><td class ="\'+t.get Class("wid getContent ")+\'"></t d></tr></t body></tab le>\'},wee kNumberSty leAttr:fun ction(){re turn null! ==this.wee kNumberWid th?\'style ="width:\' +this.week NumberWidt h+\'px"\': ""},hasRig idRows:fun ction(){va r t=this.o pt("eventL imit");ret urn t&&"nu mber"!=typ eof t},upd ateSize:fu nction(t,e ,n){var s, o,a=this.o pt("eventL imit"),l=t his.dayGri d.headCont ainerEl.fi nd(".fc-ro w");if(!th is.dayGrid .rowEls)re turn void( e||(s=this .computeSc rollerHeig ht(t),this .scroller. setHeight( s)));Ae.pr ototype.up dateSize.a pply(this, arguments) ,this.dayG rid.colWee kNumbersVi sible&&(th is.weekNum berWidth=u (this.el.f ind(".fc-w eek-number "))),this. scroller.c lear(),r(l ),this.day Grid.remov eSegPopove r(),a&&"nu mber"==typ eof a&&thi s.dayGrid. limitRows( a),s=this. computeScr ollerHeigh t(t),this. setGridHei ght(s,e),a &&"number" !=typeof a &&this.day Grid.limit Rows(a),e| |(this.scr oller.setH eight(s),o =this.scro ller.getSc rollbarWid ths(),(o.l eft||o.rig ht)&&(i(l, o),s=this. computeScr ollerHeigh t(t),this. scroller.s etHeight(s )),this.sc roller.loc kOverflow( o))},compu teScroller Height:fun ction(t){r eturn t-c( this.el,th is.scrolle r.el)},set GridHeight :function( t,e){e?l(t his.dayGri d.rowEls): a(this.day Grid.rowEl s,t,!0)},c omputeInit ialDateScr oll:functi on(){retur n{top:0}}, queryDateS croll:func tion(){ret urn{top:th is.scrolle r.getScrol lTop()}},a pplyDateSc roll:funct ion(t){voi d 0!==t.to p&&this.sc roller.set ScrollTop( t.top)}}), bn={colWee kNumbersVi sible:!1,r enderHeadI ntroHtml:f unction(){ var t=this .view;retu rn this.co lWeekNumbe rsVisible? \'<th clas s="fc-week -number \' +t.calenda r.theme.ge tClass("wi dgetHeader ")+\'" \'+ t.weekNumb erStyleAtt r()+"><spa n>"+et(thi s.opt("wee kNumberTit le"))+"</s pan></th>" :""},rende rNumberInt roHtml:fun ction(t){v ar e=this. view,n=thi s.getCellD ate(t,0);r eturn this .colWeekNu mbersVisib le?\'<td c lass="fc-w eek-number " \'+e.wee kNumberSty leAttr()+" >"+e.build GotoAnchor Html({date :n,type:"w eek",force Off:1===th is.colCnt} ,n.format( "w"))+"</t d>":""},re nderBgIntr oHtml:func tion(){var t=this.vi ew;return this.colWe ekNumbersV isible?\'< td class=" fc-week-nu mber \'+t. calendar.t heme.getCl ass("widge tContent") +\'" \'+t. weekNumber StyleAttr( )+"></td>" :""},rende rIntroHtml :function( ){var t=th is.view\n; return thi s.colWeekN umbersVisi ble?\'<td class="fc- week-numbe r" \'+t.we ekNumberSt yleAttr()+ "></td>":" "},getIsNu mbersVisib le:functio n(){return wn.protot ype.getIsN umbersVisi ble.apply( this,argum ents)||thi s.colWeekN umbersVisi ble}},En=W t.MonthVie w=Dn.exten d({buildRe nderRange: function(t ,e,n){var i,r=Dn.pro totype.bui ldRenderRa nge.apply( this,argum ents),s=th is.calenda r.msToUtcM oment(r.st artMs,n),o =this.cale ndar.msToU tcMoment(r .endMs,n); return thi s.isFixedW eeks()&&(i =Math.ceil (o.diff(s, "weeks",!0 )),o.add(6 -i,"weeks" )),new Ue( s,o)},setG ridHeight: function(t ,e){e&&(t* =this.rowC nt/6),a(th is.dayGrid .rowEls,t, !e)},isFix edWeeks:fu nction(){r eturn this .opt("fixe dWeekCount ")},isDate InOtherMon th:functio n(t,n){ret urn t.mont h()!==e.ut c(n.curren tUnzonedRa nge.startM s).month() }});_t.bas ic={class: Dn},_t.bas icDay={typ e:"basic", duration:{ days:1}},_ t.basicWee k={type:"b asic",dura tion:{week s:1}},_t.m onth={clas s:En,durat ion:{month s:1},defau lts:{fixed WeekCount: !0}};var S n=xe.exten d({attachS egEls:func tion(t,e){ var n,i=th is.compone nt;return" bgEvent"== =t?n=i.bgC ontainerEl s:"busines sHours"=== t?n=i.busi nessContai nerEls:"hi ghlight"== =t&&(n=i.h ighlightCo ntainerEls ),i.update SegVertica ls(e),i.at tachSegsBy Col(i.grou pSegsByCol (e),n),e.m ap(functio n(t){retur n t.el[0]} )}}),Cn=He .extend({t imeGrid:nu ll,constru ctor:funct ion(t){He. apply(this ,arguments ),this.tim eGrid=t},r enderFgSeg s:function (t){this.r enderFgSeg sIntoConta iners(t,th is.timeGri d.fgContai nerEls)},r enderFgSeg sIntoConta iners:func tion(t,e){ var n,i;fo r(n=this.t imeGrid.gr oupSegsByC ol(t),i=0; i<this.tim eGrid.colC nt;i++)thi s.updateFg SegCoords( n[i]);this .timeGrid. attachSegs ByCol(n,e) },unrender FgSegs:fun ction(){th is.fgSegs& &this.fgSe gs.forEach (function( t){t.el.re move()})}, computeEve ntTimeForm at:functio n(){return this.opt( "noMeridie mTimeForma t")},compu teDisplayE ventEnd:fu nction(){r eturn!0},f gSegHtml:f unction(t, e){var n,i ,r,s=this. view,o=s.c alendar,a= t.footprin t.componen tFootprint ,l=a.isAll Day,u=t.fo otprint.ev entDef,c=s .isEventDe fDraggable (u),h=!e&& t.isStart& &s.isEvent DefResizab leFromStar t(u),d=!e& &t.isEnd&& s.isEventD efResizabl eFromEnd(u ),f=this.g etSegClass es(t,c,h|| d),g=it(th is.getSkin Css(u));if (f.unshift ("fc-time- grid-event ","fc-v-ev ent"),s.is MultiDayRa nge(a.unzo nedRange)) {if(t.isSt art||t.isE nd){var p= o.msToMome nt(t.start Ms),v=o.ms ToMoment(t .endMs);n= this._getT imeText(p, v,l),i=thi s._getTime Text(p,v,l ,"LT"),r=t his._getTi meText(p,v ,l,null,!1 )}}else n= this.getTi meText(t.f ootprint), i=this.get TimeText(t .footprint ,"LT"),r=t his.getTim eText(t.fo otprint,nu ll,!1);ret urn\'<a cl ass="\'+f. join(" ")+ \'"\'+(u.u rl?\' href ="\'+et(u. url)+\'"\' :"")+(g?\' style="\' +g+\'"\':" ")+\'><div class="fc -content"> \'+(n?\'<d iv class=" fc-time" d ata-start= "\'+et(r)+ \'" data-f ull="\'+et (i)+\'"><s pan>\'+et( n)+"</span ></div>":" ")+(u.titl e?\'<div c lass="fc-t itle">\'+e t(u.title) +"</div>": "")+\'</di v><div cla ss="fc-bg" />\'+(d?\' <div class ="fc-resiz er fc-end- resizer" / >\':"")+"< /a>"},upda teFgSegCoo rds:functi on(t){this .timeGrid. computeSeg Verticals( t),this.co mputeFgSeg Horizontal s(t),this. timeGrid.a ssignSegVe rticals(t) ,this.assi gnFgSegHor izontals(t )},compute FgSegHoriz ontals:fun ction(t){v ar e,n,i;i f(this.sor tEventSegs (t),e=Lt(t ),Ot(e),n= e[0]){for( i=0;i<n.le ngth;i++)N t(n[i]);fo r(i=0;i<n. length;i++ )this.comp uteFgSegFo rwardBack( n[i],0,0)} },computeF gSegForwar dBack:func tion(t,e,n ){var i,r= t.forwardS egs;if(voi d 0===t.fo rwardCoord )for(r.len gth?(this. sortForwar dSegs(r),t his.comput eFgSegForw ardBack(r[ 0],e+1,n), t.forwardC oord=r[0]. backwardCo ord):t.for wardCoord= 1,t.backwa rdCoord=t. forwardCoo rd-(t.forw ardCoord-n )/(e+1),i= 0;i<r.leng th;i++)thi s.computeF gSegForwar dBack(r[i] ,0,t.forwa rdCoord)}, sortForwar dSegs:func tion(t){t. sort(lt(th is,"compar eForwardSe gs"))},com pareForwar dSegs:func tion(t,e){ return e.f orwardPres sure-t.for wardPressu re||(t.bac kwardCoord ||0)-(e.ba ckwardCoor d||0)||thi s.compareE ventSegs(t ,e)},assig nFgSegHori zontals:fu nction(t){ var e,n;fo r(e=0;e<t. length;e++ )n=t[e],n. el.css(thi s.generate FgSegHoriz ontalCss(n )),n.botto m-n.top<30 &&n.el.add Class("fc- short")},g enerateFgS egHorizont alCss:func tion(t){va r e,n,i=th is.opt("sl otEventOve rlap"),r=t .backwardC oord,s=t.f orwardCoor d,o=this.t imeGrid.ge nerateSegV erticalCss (t);return i&&(s=Mat h.min(1,r+ 2*(s-r))), this.timeG rid.isRTL? (e=1-s,n=r ):(e=r,n=1 -s),o.zInd ex=t.level +1,o.left= 100*e+"%", o.right=10 0*n+"%",i& &t.forward Pressure&& (o[this.is RTL?"margi nLeft":"ma rginRight" ]=20),o}}) ,Rn=Pe.ext end({rende rSegs:func tion(e,n){ var i,r,s, o=[];for(t his.eventR enderer.re nderFgSegs IntoContai ners(e,thi s.componen t.helperCo ntainerEls ),i=0;i<e. length;i++ )r=e[i],n& &n.col===r .col&&(s=n .el,r.el.c ss({left:s .css("left "),right:s .css("righ t"),"margi n-left":s. css("margi n-left")," margin-rig ht":s.css( "margin-ri ght")})),o .push(r.el [0]);retur n t(o)}}), Tn=Wt.Time Grid=ke.ex tend(Ie,Be ,{eventRen dererClass :Cn,busine ssHourRend ererClass: Me,helperR endererCla ss:Rn,fill RendererCl ass:Sn,vie w:null,hel perRendere r:null,day Ranges:nul l,slotDura tion:null, snapDurati on:null,sn apsPerSlot :null,labe lFormat:nu ll,labelIn terval:nul l,headCont ainerEl:nu ll,colEls: null,slatC ontainerEl :null,slat Els:null,n owIndicato rEls:null, colCoordCa che:null,s latCoordCa che:null,b ottomRuleE l:null,col ContainerE ls:null,fg ContainerE ls:null,bg ContainerE ls:null,he lperContai nerEls:nul l,highligh tContainer Els:null,b usinessCon tainerEls: null,helpe rSegs:null ,highlight Segs:null, businessSe gs:null,co nstructor: function(t ){this.vie w=t,ke.cal l(this),th is.process Options()} ,component FootprintT oSegs:func tion(t){va r e,n=this .sliceRang eByTimes(t .unzonedRa nge);for(e =0;e<n.len gth;e++)th is.isRTL?n [e].col=th is.daysPer Row-1-n[e] .dayIndex: n[e].col=n [e].dayInd ex;return n},sliceRa ngeByTimes :function( t){var e,n ,i=[];for( n=0;n<this .daysPerRo w;n++)(e=t .intersect (this.dayR anges[n])) &&i.push({ startMs:e. startMs,en dMs:e.endM s,isStart: e.isStart, isEnd:e.is End,dayInd ex:n});ret urn i},pro cessOption s:function (){var n,i =this.opt( "slotDurat ion"),r=th is.opt("sn apDuration ");i=e.dur ation(i),r =r?e.durat ion(r):i,t his.slotDu ration=i,t his.snapDu ration=r,t his.snapsP erSlot=i/r ,n=this.op t("slotLab elFormat") ,t.isArray (n)&&(n=n[ n.length-1 ]),this.la belFormat= n||this.op t("smallTi meFormat") ,n=this.op t("slotLab elInterval "),this.la belInterva l=n?e.dura tion(n):th is.compute LabelInter val(i)},co mputeLabel Interval:f unction(t) {var n,i,r ;for(n=Pn. length-1;n >=0;n--)if (i=e.durat ion(Pn[n]) ,r=U(i,t), at(r)&&r>1 )return i; return e.d uration(t) },renderDa tes:functi on(t){this .dateProfi le=t,this. updateDayT able(),thi s.renderSl ats(),this .renderCol umns()},re nderSkelet on:functio n(){var t= this.view. calendar.t heme;this. el.html(\' <div class ="fc-bg">< /div><div class="fc- slats"></d iv><hr cla ss="fc-div ider \'+t. getClass(" widgetHead er")+\'" s tyle="disp lay:none" />\'),this .bottomRul eEl=this.e l.find("hr ")},render Slats:func tion(){var t=this.vi ew.calenda r.theme;th is.slatCon tainerEl=t his.el.fin d("> .fc-s lats").htm l(\'<table class="\' +t.getClas s("tableGr id")+\'">\ '+this.ren derSlatRow Html()+"</ table>"),t his.slatEl s=this.sla tContainer El.find("t r"),this.s latCoordCa che=new ge ({els:this .slatEls,i sVertical: !0})},rend erSlatRowH tml:functi on(){for(v ar t,n,i,r =this.view ,s=r.calen dar,o=s.th eme,a=this .isRTL,l=t his.datePr ofile,u="" ,c=e.durat ion(+l.min Time),h=e. duration(0 );c<l.maxT ime;)t=s.m sToUtcMome nt(l.rende rUnzonedRa nge.startM s).time(c) ,n=at(U(h, this.label Interval)) ,i=\'<td c lass="fc-a xis fc-tim e \'+o.get Class("wid getContent ")+\'" \'+ r.axisStyl eAttr()+"> "+(n?"<spa n>"+et(t.f ormat(this .labelForm at))+"</sp an>":"")+" </td>",u+= \'<tr data -time="\'+ t.format(" HH:mm:ss") +\'"\'+(n? "":\' clas s="fc-mino r"\')+">"+ (a?"":i)+\ '<td class ="\'+o.get Class("wid getContent ")+\'"/>\' +(a?i:"")+ "</tr>",c. add(this.s lotDuratio n),h.add(t his.slotDu ration);re turn u},re nderColumn s:function (){var t=t his.datePr ofile,e=th is.view.ca lendar.the me;this.da yRanges=th is.dayDate s.map(func tion(e){re turn new U e(e.clone( ).add(t.mi nTime),e.c lone().add (t.maxTime ))}),this. headContai nerEl&&thi s.headCont ainerEl.ht ml(this.re nderHeadHt ml()),this .el.find(" > .fc-bg") .html(\'<t able class ="\'+e.get Class("tab leGrid")+\ '">\'+this .renderBgT rHtml(0)+" </table>") ,this.colE ls=this.el .find(".fc -day, .fc- disabled-d ay"),this. colCoordCa che=new ge ({els:this .colEls,is Horizontal :!0}),this .renderCon tentSkelet on()},rend erContentS keleton:fu nction(){v ar e,n,i=" ";for(e=0; e<this.col Cnt;e++)i+ =\'<td><di v class="f c-content- col"><div class="fc- event-cont ainer fc-h elper-cont ainer"></d iv><div cl ass="fc-ev ent-contai ner"></div ><div clas s="fc-high light-cont ainer"></d iv><div cl ass="fc-bg event-cont ainer"></d iv><div cl ass="fc-bu siness-con tainer"></ div></div> </td>\';n= t(\'<div c lass="fc-c ontent-ske leton"><ta ble><tr>\' +i+"</tr>< /table></d iv>"),this .colContai nerEls=n.f ind(".fc-c ontent-col "),this.he lperContai nerEls=n.f ind(".fc-h elper-cont ainer"),th is.fgConta inerEls=n. find(".fc- event-cont ainer:not( .fc-helper -container )"),this.b gContainer Els=n.find (".fc-bgev ent-contai ner"),this .highlight ContainerE ls=n.find( ".fc-highl ight-conta iner"),thi s.business ContainerE ls=n.find( ".fc-busin ess-contai ner"),this .bookendCe lls(n.find ("tr")),th is.el.appe nd(n)},gro upSegsByCo l:function (t){var e, n=[];for(e =0;e<this. colCnt;e++ )n.push([] );for(e=0; e<t.length ;e++)n[t[e ].col].pus h(t[e]);re turn n},at tachSegsBy Col:functi on(t,e){va r n,i,r;fo r(n=0;n<th is.colCnt; n++)for(i= t[n],r=0;r <i.length; r++)e.eq(n ).append(i [r].el)},g etNowIndic atorUnit:f unction(){ return"min ute"},rend erNowIndic ator:funct ion(e){var n,i=this. componentF ootprintTo Segs(new W e(new Ue(e ,e.valueOf ()+1),!1)) ,r=this.co mputeDateT op(e,e),s= [];for(n=0 ;n<i.lengt h;n++)s.pu sh(t(\'<di v class="f c-now-indi cator fc-n ow-indicat or-line">< /div>\').c ss("top",r ).appendTo (this.colC ontainerEl s.eq(i[n]. col))[0]); i.length>0 &&s.push(t (\'<div cl ass="fc-no w-indicato r fc-now-i ndicator-a rrow"></di v>\').css( "top",r).a ppendTo(th is.el.find (".fc-cont ent-skelet on"))[0]), this.nowIn dicatorEls =t(s)},unr enderNowIn dicator:fu nction(){t his.nowInd icatorEls& &(this.now IndicatorE ls.remove( ),this.now IndicatorE ls=null)}, updateSize :function( t,e,n){ke. prototype. updateSize .apply(thi s,argument s),this.sl atCoordCac he.build() ,n&&this.u pdateSegVe rticals([] .concat(th is.eventRe nderer.get Segs(),thi s.business Segs||[])) },getTotal SlatHeight :function( ){return t his.slatCo ntainerEl. outerHeigh t()},compu teDateTop: function(t ,n){return this.comp uteTimeTop (e.duratio n(t-n.clon e().stripT ime()))},c omputeTime Top:functi on(t){var e,n,i=this .slatEls.l ength,r=th is.datePro file,s=(t- r.minTime) /this.slot Duration;r eturn s=Ma th.max(0,s ),s=Math.m in(i,s),e= Math.floor (s),e=Math .min(e,i-1 ),n=s-e,th is.slatCoo rdCache.ge tTopPositi on(e)+this .slatCoord Cache.getH eight(e)*n },updateSe gVerticals :function( t){this.co mputeSegVe rticals(t) ,this.assi gnSegVerti cals(t)},c omputeSegV erticals:f unction(t) {var e,n,i ,r=this.op t("agendaE ventMinHei ght");for( e=0;e<t.le ngth;e++)n =t[e],i=th is.dayDate s[n.dayInd ex],n.top= this.compu teDateTop( n.startMs, i),n.botto m=Math.max (n.top+r,t his.comput eDateTop(n .endMs,i)) },assignSe gVerticals :function( t){var e,n ;for(e=0;e <t.length; e++)n=t[e] ,n.el.css( this.gener ateSegVert icalCss(n) )},generat eSegVertic alCss:func tion(t){re turn{top:t .top,botto m:-t.botto m}},prepar eHits:func tion(){thi s.colCoord Cache.buil d(),this.s latCoordCa che.build( )},release Hits:funct ion(){this .colCoordC ache.clear ()},queryH it:functio n(t,e){var n=this.sn apsPerSlot ,i=this.co lCoordCach e,r=this.s latCoordCa che;if(i.i sLeftInBou nds(t)&&r. isTopInBou nds(e)){va r s=i.getH orizontalI ndex(t),o= r.getVerti calIndex(e );if(null! =s&&null!= o){var a=r .getTopOff set(o),l=r .getHeight (o),u=(e-a )/l,c=Math .floor(u*n ),h=o*n+c, d=a+c/n*l, f=a+(c+1)/ n*l;return {col:s,sna p:h,compon ent:this,l eft:i.getL eftOffset( s),right:i .getRightO ffset(s),t op:d,botto m:f}}}},ge tHitFootpr int:functi on(t){var e,n=this.g etCellDate (0,t.col), i=this.com puteSnapTi me(t.snap) ;return n. time(i),e= n.clone(). add(this.s napDuratio n),new We( new Ue(n,e ),!1)},com puteSnapTi me:functio n(t){retur n e.durati on(this.da teProfile. minTime+th is.snapDur ation*t)}, getHitEl:f unction(t) {return th is.colEls. eq(t.col)} ,renderDra g:function (t,e,n){va r i;if(e){ if(t.lengt h)return t his.helper Renderer.r enderEvent DraggingFo otprints(t ,e,n),!0}e lse for(i= 0;i<t.leng th;i++)thi s.renderHi ghlight(t[ i].compone ntFootprin t)},unrend erDrag:fun ction(t){t his.unrend erHighligh t(),this.h elperRende rer.unrend er()},rend erEventRes ize:functi on(t,e,n){ this.helpe rRenderer. renderEven tResizingF ootprints( t,e,n)},un renderEven tResize:fu nction(t){ this.helpe rRenderer. unrender() },renderSe lectionFoo tprint:fun ction(t){t his.opt("s electHelpe r")?this.h elperRende rer.render ComponentF ootprint(t ):this.ren derHighlig ht(t)},unr enderSelec tion:funct ion(){this .helperRen derer.unre nder(),thi s.unrender Highlight( )}}),In=Wt .AgendaVie w=Ae.exten d({scrolle r:null,tim eGridClass :Tn,timeGr id:null,da yGridClass :wn,dayGri d:null,axi sWidth:nul l,usesMinM axTime:!0, constructo r:function (){Ae.appl y(this,arg uments),th is.timeGri d=this.ins tantiateTi meGrid(),t his.addChi ld(this.ti meGrid),th is.opt("al lDaySlot") &&(this.da yGrid=this .instantia teDayGrid( ),this.add Child(this .dayGrid)) ,this.scro ller=new w e({overflo wX:"hidden ",overflow Y:"auto"}) },instanti ateTimeGri d:function (){return new(this.t imeGridCla ss.extend( Hn))(this) },instanti ateDayGrid :function( ){return n ew(this.da yGridClass .extend(Mn ))(this)}, renderSkel eton:funct ion(){var e,n;this.e l.addClass ("fc-agend a-view").h tml(this.r enderSkele tonHtml()) ,this.scro ller.rende r(),e=this .scroller. el.addClas s("fc-time -grid-cont ainer"),n= t(\'<div c lass="fc-t ime-grid" />\').appe ndTo(e),th is.el.find (".fc-body > tr > td ").append( e),this.ti meGrid.hea dContainer El=this.el .find(".fc -head-cont ainer"),th is.timeGri d.setEleme nt(n),this .dayGrid&& (this.dayG rid.setEle ment(this. el.find(". fc-day-gri d")),this. dayGrid.bo ttomCoordP adding=thi s.dayGrid. el.next("h r").outerH eight())}, unrenderSk eleton:fun ction(){th is.timeGri d.removeEl ement(),th is.dayGrid &&this.day Grid.remov eElement() ,this.scro ller.destr oy()},rend erSkeleton Html:funct ion(){var t=this.cal endar.them e;return\' <table cla ss="\'+t.g etClass("t ableGrid") +\'">\'+(t his.opt("c olumnHeade r")?\'<the ad class=" fc-head">< tr><td cla ss="fc-hea d-containe r \'+t.get Class("wid getHeader" )+\'">&nbs p;</td></t r></thead> \':"")+\'< tbody clas s="fc-body "><tr><td class="\'+ t.getClass ("widgetCo ntent")+\' ">\'+(this .dayGrid?\ '<div clas s="fc-day- grid"/><hr class="fc -divider \ '+t.getCla ss("widget Header")+\ '"/>\':"") +"</td></t r></tbody> </table>"} ,axisStyle Attr:funct ion(){retu rn null!== this.axisW idth?\'sty le="width: \'+this.ax isWidth+\' px"\':""}, getNowIndi catorUnit: function() {return th is.timeGri d.getNowIn dicatorUni t()},updat eSize:func tion(t,e,n ){var s,o, a;if(Ae.pr ototype.up dateSize.a pply(this, arguments) ,this.axis Width=u(th is.el.find (".fc-axis ")),!this. timeGrid.c olEls)retu rn void(e| |(o=this.c omputeScro llerHeight (t),this.s croller.se tHeight(o) ));var l=t his.el.fin d(".fc-row :not(.fc-s croller *) ");this.ti meGrid.bot tomRuleEl. hide(),thi s.scroller .clear(),r (l),this.d ayGrid&&(t his.dayGri d.removeSe gPopover() ,s=this.op t("eventLi mit"),s&&" number"!=t ypeof s&&( s=xn),s&&t his.dayGri d.limitRow s(s)),e||( o=this.com puteScroll erHeight(t ),this.scr oller.setH eight(o),a =this.scro ller.getSc rollbarWid ths(),(a.l eft||a.rig ht)&&(i(l, a),o=this. computeScr ollerHeigh t(t),this. scroller.s etHeight(o )),this.sc roller.loc kOverflow( a),this.ti meGrid.get TotalSlatH eight()<o& &this.time Grid.botto mRuleEl.sh ow())},com puteScroll erHeight:f unction(t) {return t- c(this.el, this.scrol ler.el)},c omputeInit ialDateScr oll:functi on(){var t =e.duratio n(this.opt ("scrollTi me")),n=th is.timeGri d.computeT imeTop(t); return n=M ath.ceil(n ),n&&n++,{ top:n}},qu eryDateScr oll:functi on(){retur n{top:this .scroller. getScrollT op()}},app lyDateScro ll:functio n(t){void 0!==t.top& &this.scro ller.setSc rollTop(t. top)},getH itFootprin t:function (t){return t.compone nt.getHitF ootprint(t )},getHitE l:function (t){return t.compone nt.getHitE l(t)},exec uteEventRe nder:funct ion(t){var e,n,i={}, r={};for(e in t)n=t[ e],n.getEv entDef().i sAllDay()? i[e]=n:r[e ]=n;this.t imeGrid.ex ecuteEvent Render(r), this.dayGr id&&this.d ayGrid.exe cuteEventR ender(i)}, renderDrag :function( t,e,n){var i=Ut(t),r =!1;return r=this.ti meGrid.ren derDrag(i. timed,e,n) ,this.dayG rid&&(r=th is.dayGrid .renderDra g(i.allDay ,e,n)||r), r},renderE ventResize :function( t,e,n){var i=Ut(t);t his.timeGr id.renderE ventResize (i.timed,e ,n),this.d ayGrid&&th is.dayGrid .renderEve ntResize(i .allDay,e, n)},render SelectionF ootprint:f unction(t) {t.isAllDa y?this.day Grid&&this .dayGrid.r enderSelec tionFootpr int(t):thi s.timeGrid .renderSel ectionFoot print(t)}} ),Hn={rend erHeadIntr oHtml:func tion(){var t,e=this. view,n=e.c alendar,i= n.msToUtcM oment(this .dateProfi le.renderU nzonedRang e.startMs, !0);return this.opt( "weekNumbe rs")?(t=i. format(thi s.opt("sma llWeekForm at")),\'<t h class="f c-axis fc- week-numbe r \'+n.the me.getClas s("widgetH eader")+\' " \'+e.axi sStyleAttr ()+">"+e.b uildGotoAn chorHtml({ date:i,typ e:"week",f orceOff:th is.colCnt> 1},et(t))+ "</th>"):\ '<th class ="fc-axis \'+n.theme .getClass( "widgetHea der")+\'" \'+e.axisS tyleAttr() +"></th>"} ,renderBgI ntroHtml:f unction(){ var t=this .view;retu rn\'<td cl ass="fc-ax is \'+t.ca lendar.the me.getClas s("widgetC ontent")+\ '" \'+t.ax isStyleAtt r()+"></td >"},render IntroHtml: function() {return\'< td class=" fc-axis" \ '+this.vie w.axisStyl eAttr()+"> </td>"}},M n={renderB gIntroHtml :function( ){var t=th is.view;re turn\'<td class="fc- axis \'+t. calendar.t heme.getCl ass("widge tContent") +\'" \'+t. axisStyleA ttr()+"><s pan>"+t.ge tAllDayHtm l()+"</spa n></td>"}, renderIntr oHtml:func tion(){ret urn\'<td c lass="fc-a xis" \'+th is.view.ax isStyleAtt r()+"></td >"}},xn=5, Pn=[{hours :1},{minut es:30},{mi nutes:15}, {seconds:3 0},{second s:15}];_t. agenda={cl ass:In,def aults:{all DaySlot:!0 ,slotDurat ion:"00:30 :00",slotE ventOverla p:!0}},_t. agendaDay= {type:"age nda",durat ion:{days: 1}},_t.age ndaWeek={t ype:"agend a",duratio n:{weeks:1 }};var zn= Wt.ListVie w=Ae.exten d({segSele ctor:".fc- list-item" ,scroller: null,conte ntEl:null, dayDates:n ull,dayRan ges:null,c onstructor :function( ){Ae.apply (this,argu ments),thi s.scroller =new we({o verflowX:" hidden",ov erflowY:"a uto"})},re nderSkelet on:functio n(){this.e l.addClass ("fc-list- view "+thi s.calendar .theme.get Class("lis tView")),t his.scroll er.render( ),this.scr oller.el.a ppendTo(th is.el),thi s.contentE l=this.scr oller.scro llEl},unre nderSkelet on:functio n(){this.s croller.de stroy()},u pdateSize: function(t ,e,n){this .scroller. setHeight( this.compu teScroller Height(t)) },computeS crollerHei ght:functi on(t){retu rn t-c(thi s.el,this. scroller.e l)},render Dates:func tion(t){fo r(var e=th is.calenda r,n=e.msTo UtcMoment( t.renderUn zonedRange .startMs,! 0),i=e.msT oUtcMoment (t.renderU nzonedRang e.endMs,!0 ),r=[],s=[ ];n<i;)r.p ush(n.clon e()),s.pus h(new Ue(n ,n.clone() .add(1,"da y"))),n.ad d(1,"day") ;this.dayD ates=r,thi s.dayRange s=s},compo nentFootpr intToSegs: function(t ){var e,n, i,r=this.d ayRanges,s =[];for(e= 0;e<r.leng th;e++)if( (n=t.unzon edRange.in tersect(r[ e]))&&(i={ startMs:n. startMs,en dMs:n.endM s,isStart: n.isStart, isEnd:n.is End,dayInd ex:e},s.pu sh(i),!i.i sEnd&&!t.i sAllDay&&e +1<r.lengt h&&t.unzon edRange.en dMs<r[e+1] .startMs+t his.nextDa yThreshold )){i.endMs =t.unzoned Range.endM s,i.isEnd= !0;break}r eturn s},e ventRender erClass:He .extend({r enderFgSeg s:function (t){t.leng th?this.co mponent.re nderSegLis t(t):this. component. renderEmpt yMessage() },fgSegHtm l:function (t){var e, n=this.vie w,i=n.cale ndar,r=i.t heme,s=t.f ootprint,o =s.eventDe f,a=s.comp onentFootp rint,l=o.u rl,u=["fc- list-item" ].concat(t his.getCla sses(o)),c =this.getB gColor(o); return e=a .isAllDay? n.getAllDa yHtml():n. isMultiDay Range(a.un zonedRange )?t.isStar t||t.isEnd ?et(this._ getTimeTex t(i.msToMo ment(t.sta rtMs),i.ms ToMoment(t .endMs),a. isAllDay)) :n.getAllD ayHtml():e t(this.get TimeText(s )),l&&u.pu sh("fc-has -url"),\'< tr class=" \'+u.join( " ")+\'">\ '+(this.di splayEvent Time?\'<td class="fc -list-item -time \'+r .getClass( "widgetCon tent")+\'" >\'+(e||"" )+"</td>": "")+\'<td class="fc- list-item- marker \'+ r.getClass ("widgetCo ntent")+\' "><span cl ass="fc-ev ent-dot"\' +(c?\' sty le="backgr ound-color :\'+c+\'"\ ':"")+\'>< /span></td ><td class ="fc-list- item-title \'+r.getC lass("widg etContent" )+\'"><a\' +(l?\' hre f="\'+et(l )+\'"\':"" )+">"+et(o .title||"" )+"</a></t d></tr>"}, computeEve ntTimeForm at:functio n(){return this.opt( "mediumTim eFormat")} }),eventPo intingClas s:Te.exten d({handleC lick:funct ion(e,n){v ar i;Te.pr ototype.ha ndleClick. apply(this ,arguments ),t(n.targ et).closes t("a[href] ").length| |(i=e.foot print.even tDef.url)& &!n.isDefa ultPrevent ed()&&(win dow.locati on.href=i) }}),render EmptyMessa ge:functio n(){this.c ontentEl.h tml(\'<div class="fc -list-empt y-wrap2">< div class= "fc-list-e mpty-wrap1 "><div cla ss="fc-lis t-empty">\ '+et(this. opt("noEve ntsMessage "))+"</div ></div></d iv>")},ren derSegList :function( e){var n,i ,r,s=this. groupSegsB yDay(e),o= t(\'<table class="fc -list-tabl e \'+this. calendar.t heme.getCl ass("table List")+\'" ><tbody/>< /table>\') ,a=o.find( "tbody");f or(n=0;n<s .length;n+ +)if(i=s[n ])for(a.ap pend(this. dayHeaderH tml(this.d ayDates[n] )),this.ev entRendere r.sortEven tSegs(i),r =0;r<i.len gth;r++)a. append(i[r ].el);this .contentEl .empty().a ppend(o)}, groupSegsB yDay:funct ion(t){var e,n,i=[]; for(e=0;e< t.length;e ++)n=t[e], (i[n.dayIn dex]||(i[n .dayIndex] =[])).push (n);return i},dayHea derHtml:fu nction(t){ var e=this .opt("list DayFormat" ),n=this.o pt("listDa yAltFormat ");return\ '<tr class ="fc-list- heading" d ata-date=" \'+t.forma t("YYYY-MM -DD")+\'"> <td class= "\'+this.c alendar.th eme.getCla ss("widget Header")+\ '" colspan ="3">\'+(e ?this.buil dGotoAncho rHtml(t,{c lass:"fc-l ist-headin g-main"},e t(t.format (e))):"")+ (n?this.bu ildGotoAnc horHtml(t, {class:"fc -list-head ing-alt"}, et(t.forma t(n))):"") +"</td></t r>"}});ret urn _t.lis t={class:z n,buttonTe xtKey:"lis t",default s:{buttonT ext:"list" ,listDayFo rmat:"LL", noEventsMe ssage:"No events to display"}} ,_t.listDa y={type:"l ist",durat ion:{days: 1},default s:{listDay Format:"dd dd"}},_t.l istWeek={t ype:"list" ,duration: {weeks:1}, defaults:{ listDayFor mat:"dddd" ,listDayAl tFormat:"L L"}},_t.li stMonth={t ype:"list" ,duration: {month:1}, defaults:{ listDayAlt Format:"dd dd"}},_t.l istYear={t ype:"list" ,duration: {year:1},d efaults:{l istDayAltF ormat:"ddd d"}},Wt}); \n'},3:fun ction(e,t, n){n("C8on "),n("ND2g "),n("Yusr "),n("uo/4 "),n("JwQK "),n("U9yF "),e.expor ts=n("xSLm ")},"9h/4" :function( e,t){e.exp orts="/*!\ n * Quill Editor v1. 3.3\n * ht tps://quil ljs.com/\n * Copyrig ht (c) 201 4, Jason C hen\n * Co pyright (c ) 2013, sa lesforce.c om\n */\n( function w ebpackUniv ersalModul eDefinitio n(root, fa ctory) {\n \tif(typeo f exports === 'objec t' && type of module === 'objec t')\n\t\tm odule.expo rts = fact ory();\n\t else if(ty peof defin e === 'fun ction' && define.amd )\n\t\tdef ine([], fa ctory);\n\ telse if(t ypeof expo rts === 'o bject')\n\ t\texports [\"Quill\" ] = factor y();\n\tel se\n\t\tro ot[\"Quill \"] = fact ory();\n}) (this, fun ction() {\ nreturn /* *****/ (fu nction(mod ules) { // webpackBo otstrap\n/ ******/ \t // The mod ule cache\ n/******/ \tvar inst alledModul es = {};\n /******/\n /******/ \ t// The re quire func tion\n/*** ***/ \tfun ction __we bpack_requ ire__(modu leId) {\n/ ******/\n/ ******/ \t \t// Check if module is in cac he\n/***** */ \t\tif( installedM odules[mod uleId]) {\ n/******/ \t\t\tretu rn install edModules[ moduleId]. exports;\n /******/ \ t\t}\n/*** ***/ \t\t/ / Create a new modul e (and put it into t he cache)\ n/******/ \t\tvar mo dule = ins talledModu les[module Id] = {\n/ ******/ \t \t\ti: mod uleId,\n/* *****/ \t\ t\tl: fals e,\n/***** */ \t\t\te xports: {} \n/******/ \t\t};\n/ ******/\n/ ******/ \t \t// Execu te the mod ule functi on\n/***** */ \t\tmod ules[modul eId].call( module.exp orts, modu le, module .exports, __webpack_ require__) ;\n/****** /\n/****** / \t\t// F lag the mo dule as lo aded\n/*** ***/ \t\tm odule.l = true;\n/** ****/\n/** ****/ \t\t // Return the export s of the m odule\n/** ****/ \t\t return mod ule.export s;\n/***** */ \t}\n/* *****/\n/* *****/\n/* *****/ \t/ / expose t he modules object (_ _webpack_m odules__)\ n/******/ \t__webpac k_require_ _.m = modu les;\n/*** ***/\n/*** ***/ \t// expose the module ca che\n/**** **/ \t__we bpack_requ ire__.c = installedM odules;\n/ ******/\n/ ******/ \t // define getter fun ction for harmony ex ports\n/** ****/ \t__ webpack_re quire__.d = function (exports, name, gett er) {\n/** ****/ \t\t if(!__webp ack_requir e__.o(expo rts, name) ) {\n/**** **/ \t\t\t Object.def inePropert y(exports, name, {\n /******/ \ t\t\t\tcon figurable: false,\n/ ******/ \t \t\t\tenum erable: tr ue,\n/**** **/ \t\t\t \tget: get ter\n/**** **/ \t\t\t });\n/**** **/ \t\t}\ n/******/ \t};\n/*** ***/\n/*** ***/ \t// getDefault Export fun ction for compatibil ity with n on-harmony modules\n /******/ \ t__webpack _require__ .n = funct ion(module ) {\n/**** **/ \t\tva r getter = module && module.__ esModule ? \n/******/ \t\t\tfun ction getD efault() { return mo dule['defa ult']; } : \n/******/ \t\t\tfun ction getM oduleExpor ts() { ret urn module ; };\n/*** ***/ \t\t_ _webpack_r equire__.d (getter, ' a', getter );\n/***** */ \t\tret urn getter ;\n/****** / \t};\n/* *****/\n/* *****/ \t/ / Object.p rototype.h asOwnPrope rty.call\n /******/ \ t__webpack _require__ .o = funct ion(object , property ) { return Object.pr ototype.ha sOwnProper ty.call(ob ject, prop erty); };\ n/******/\ n/******/ \t// __web pack_publi c_path__\n /******/ \ t__webpack _require__ .p = \"\"; \n/******/ \n/******/ \t// Load entry mod ule and re turn expor ts\n/***** */ \tretur n __webpac k_require_ _(__webpac k_require_ _.s = 109) ;\n/****** / })\n/*** ********** ********** ********** ********** ********** ********** *********/ \n/******/ ([\n/* 0 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \nObject.d efinePrope rty(export s, \"__esM odule\", { value: tr ue });\nva r containe r_1 = __we bpack_requ ire__(17); \nvar form at_1 = __w ebpack_req uire__(18) ;\nvar lea f_1 = __we bpack_requ ire__(19); \nvar scro ll_1 = __w ebpack_req uire__(45) ;\nvar inl ine_1 = __ webpack_re quire__(46 );\nvar bl ock_1 = __ webpack_re quire__(47 );\nvar em bed_1 = __ webpack_re quire__(48 );\nvar te xt_1 = __w ebpack_req uire__(49) ;\nvar att ributor_1 = __webpac k_require_ _(12);\nva r class_1 = __webpac k_require_ _(32);\nva r style_1 = __webpac k_require_ _(33);\nva r store_1 = __webpac k_require_ _(31);\nva r Registry = __webpa ck_require __(1);\nva r Parchmen t = {\n Scope: Re gistry.Sco pe,\n c reate: Reg istry.crea te,\n f ind: Regis try.find,\ n query : Registry .query,\n registe r: Registr y.register ,\n Con tainer: co ntainer_1. default,\n Format : format_1 .default,\ n Leaf: leaf_1.de fault,\n Embed: e mbed_1.def ault,\n Scroll: s croll_1.de fault,\n Block: b lock_1.def ault,\n Inline: i nline_1.de fault,\n Text: te xt_1.defau lt,\n A ttributor: {\n Attribut e: attribu tor_1.defa ult,\n Class: class_1.d efault,\n Sty le: style_ 1.default, \n Store: sto re_1.defau lt\n }\ n};\nexpor ts.default = Parchme nt;\n\n\n/ ***/ }),\n /* 1 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\nvar __extends = (this & & this.__e xtends) || (function () {\n var exten dStatics = Object.se tPrototype Of ||\n ({ __ proto__: [ ] } instan ceof Array && functi on (d, b) { d.__prot o__ = b; } ) ||\n functi on (d, b) { for (var p in b) i f (b.hasOw nProperty( p)) d[p] = b[p]; };\ n retur n function (d, b) {\ n e xtendStati cs(d, b);\ n f unction __ () { this. constructo r = d; }\n d. prototype = b === nu ll ? Objec t.create(b ) : (__.pr ototype = b.prototyp e, new __( ));\n } ;\n})();\n Object.def inePropert y(exports, \"__esMod ule\", { v alue: true });\nvar ParchmentE rror = /** @class */ (function (_super) {\n __e xtends(Par chmentErro r, _super) ;\n fun ction Parc hmentError (message) {\n var _this = this;\n me ssage = '[ Parchment] ' + messa ge;\n _this = _super.ca ll(this, m essage) || this;\n _thi s.message = message; \n _this.name = _this.c onstructor .name;\n retu rn _this;\ n }\n return P archmentEr ror;\n}(Er ror));\nex ports.Parc hmentError = Parchme ntError;\n var attrib utes = {}; \nvar clas ses = {};\ nvar tags = {};\nvar types = { };\nexport s.DATA_KEY = '__blot ';\nvar Sc ope;\n(fun ction (Sco pe) {\n Scope[Sco pe[\"TYPE\ "] = 3] = \"TYPE\";\ n Scope [Scope[\"L EVEL\"] = 12] = \"LE VEL\";\n Scope[Sc ope[\"ATTR IBUTE\"] = 13] = \"A TTRIBUTE\" ;\n Sco pe[Scope[\ "BLOT\"] = 14] = \"B LOT\";\n Scope[Sc ope[\"INLI NE\"] = 7] = \"INLIN E\";\n Scope[Scop e[\"BLOCK\ "] = 11] = \"BLOCK\" ;\n Sco pe[Scope[\ "BLOCK_BLO T\"] = 10] = \"BLOCK _BLOT\";\n Scope[ Scope[\"IN LINE_BLOT\ "] = 6] = \"INLINE_B LOT\";\n Scope[Sc ope[\"BLOC K_ATTRIBUT E\"] = 9] = \"BLOCK_ ATTRIBUTE\ ";\n Sc ope[Scope[ \"INLINE_A TTRIBUTE\" ] = 5] = \ "INLINE_AT TRIBUTE\"; \n Scop e[Scope[\" ANY\"] = 1 5] = \"ANY \";\n})(Sc ope = expo rts.Scope || (export s.Scope = {}));\n;\n function c reate(inpu t, value) {\n var match = q uery(input );\n if (match == null) {\n th row new Pa rchmentErr or(\"Unabl e to creat e \" + inp ut + \" bl ot\");\n }\n v ar BlotCla ss = match ;\n var node = (i nput insta nceof Node || input[ 'nodeType' ] === Node .TEXT_NODE ) ?\n input : \n BlotClass. create(val ue);\n return new BlotClass (node, val ue);\n}\ne xports.cre ate = crea te;\nfunct ion find(n ode, bubbl e) {\n if (bubble === void 0) { bubbl e = false; }\n if (node == null)\n retur n null;\n if (nod e[exports. DATA_KEY] != null)\n re turn node[ exports.DA TA_KEY].bl ot;\n i f (bubble) \n return fin d(node.par entNode, b ubble);\n return null;\n}\n exports.fi nd = find; \nfunction query(que ry, scope) {\n if (scope == = void 0) { scope = Scope.ANY; }\n va r match;\n if (ty peof query === 'stri ng') {\n matc h = types[ query] || attributes [query];\n }\n else if ( query inst anceof Tex t || query ['nodeType '] === Nod e.TEXT_NOD E) {\n match = types['t ext'];\n }\n e lse if (ty peof query === 'numb er') {\n if ( query & Sc ope.LEVEL & Scope.BL OCK) {\n match = ty pes['block '];\n }\n else i f (query & Scope.LEV EL & Scope .INLINE) { \n match = types['i nline'];\n }\ n }\n else if (query ins tanceof HT MLElement) {\n var name s = (query .getAttrib ute('class ') || ''). split(/\\s +/);\n for (v ar i in na mes) {\n match = cl asses[name s[i]];\n if (match) \n br eak;\n }\n match = match | | tags[que ry.tagName ];\n }\ n if (m atch == nu ll)\n return null;\n if ((scop e & Scope. LEVEL & ma tch.scope) && (scope & Scope.T YPE & matc h.scope))\ n r eturn matc h;\n re turn null; \n}\nexpor ts.query = query;\nf unction re gister() { \n var Definition s = [];\n for (va r _i = 0; _i < argum ents.lengt h; _i++) { \n Definition s[_i] = ar guments[_i ];\n }\ n if (D efinitions .length > 1) {\n return Definitio ns.map(fun ction (d) {\n retur n register (d);\n });\n }\n var Defini tion = Def initions[0 ];\n if (typeof D efinition. blotName ! == 'string ' && typeo f Definiti on.attrNam e !== 'str ing') {\n thr ow new Par chmentErro r('Invalid definitio n');\n }\n els e if (Defi nition.blo tName === 'abstract' ) {\n throw n ew Parchme ntError('C annot regi ster abstr act class' );\n }\ n types [Definitio n.blotName || Defini tion.attrN ame] = Def inition;\n if (ty peof Defin ition.keyN ame === 's tring') {\ n a ttributes[ Definition .keyName] = Definiti on;\n } \n else {\n if (Defi nition.cla ssName != null) {\n classes[D efinition. className] = Definit ion;\n }\n if (D efinition. tagName != null) {\n if (Arra y.isArray( Definition .tagName)) {\n Definition .tagName = Definitio n.tagName. map(functi on (tagNam e) {\n retu rn tagName .toUpperCa se();\n });\n }\n else {\n D efinition. tagName = Definition .tagName.t oUpperCase ();\n }\n var tagN ames = Arr ay.isArray (Definitio n.tagName) ? Definit ion.tagNam e : [Defin ition.tagN ame];\n t agNames.fo rEach(func tion (tag) {\n if (tags[t ag] == nul l || Defin ition.clas sName == n ull) {\n ta gs[tag] = Definition ;\n } \n });\n }\n }\n return De finition;\ n}\nexport s.register = registe r;\n\n\n/* **/ }),\n/ * 2 */\n/* **/ (funct ion(module , exports, __webpack _require__ ) {\n\nvar diff = __ webpack_re quire__(51 );\nvar eq ual = __we bpack_requ ire__(11); \nvar exte nd = __web pack_requi re__(3);\n var op = _ _webpack_r equire__(2 0);\n\n\nv ar NULL_CH ARACTER = String.fro mCharCode( 0); // Pl aceholder char for e mbed in di ff()\n\n\n var Delta = function (ops) {\n // Assum e we are g iven a wel l formed o ps\n if ( Array.isAr ray(ops)) {\n thi s.ops = op s;\n } el se if (ops != null & & Array.is Array(ops. ops)) {\n this.op s = ops.op s;\n } el se {\n this.ops = [];\n }\ n};\n\n\nD elta.proto type.inser t = functi on (text, attributes ) {\n var newOp = { };\n if ( text.lengt h === 0) r eturn this ;\n newOp .insert = text;\n i f (attribu tes != nul l && typeo f attribut es === 'ob ject' && O bject.keys (attribute s).length > 0) {\n newOp.at tributes = attribute s;\n }\n return th is.push(ne wOp);\n};\ n\nDelta.p rototype[' delete'] = function (length) { \n if (le ngth <= 0) return th is;\n ret urn this.p ush({ 'del ete': leng th });\n}; \n\nDelta. prototype. retain = f unction (l ength, att ributes) { \n if (le ngth <= 0) return th is;\n var newOp = { retain: l ength };\n if (attr ibutes != null && ty peof attri butes === 'object' & & Object.k eys(attrib utes).leng th > 0) {\ n newOp .attribute s = attrib utes;\n } \n return this.push (newOp);\n };\n\nDelt a.prototyp e.push = f unction (n ewOp) {\n var index = this.op s.length;\ n var las tOp = this .ops[index - 1];\n newOp = ex tend(true, {}, newOp );\n if ( typeof las tOp === 'o bject') {\ n if (t ypeof newO p['delete' ] === 'num ber' && ty peof lastO p['delete' ] === 'num ber') {\n this. ops[index - 1] = { ' delete': l astOp['del ete'] + ne wOp['delet e'] };\n return this;\n }\n / / Since it does not matter if we insert before or after dele ting at th e same ind ex,\n / / always p refer to i nsert firs t\n if (typeof la stOp['dele te'] === ' number' && newOp.ins ert != nul l) {\n index -= 1;\n lastOp = this.ops[i ndex - 1]; \n if (typeof l astOp !== 'object') {\n this.ops. unshift(ne wOp);\n retur n this;\n }\n }\n i f (equal(n ewOp.attri butes, las tOp.attrib utes)) {\n if ( typeof new Op.insert === 'strin g' && type of lastOp. insert === 'string') {\n this.ops [index - 1 ] = { inse rt: lastOp .insert + newOp.inse rt };\n if (t ypeof newO p.attribut es === 'ob ject') thi s.ops[inde x - 1].att ributes = newOp.attr ibutes\n retu rn this;\n } el se if (typ eof newOp. retain === 'number' && typeof lastOp.ret ain === 'n umber') {\ n t his.ops[in dex - 1] = { retain: lastOp.re tain + new Op.retain };\n if (type of newOp.a ttributes === 'objec t') this.o ps[index - 1].attrib utes = new Op.attribu tes\n return this;\n }\n }\n }\n if (index === this.o ps.length) {\n th is.ops.pus h(newOp);\ n } else {\n thi s.ops.spli ce(index, 0, newOp); \n }\n r eturn this ;\n};\n\nD elta.proto type.chop = function () {\n v ar lastOp = this.ops [this.ops. length - 1 ];\n if ( lastOp && lastOp.ret ain && !la stOp.attri butes) {\n this.o ps.pop();\ n }\n re turn this; \n};\n\nDe lta.protot ype.filter = functio n (predica te) {\n r eturn this .ops.filte r(predicat e);\n};\n\ nDelta.pro totype.for Each = fun ction (pre dicate) {\ n this.op s.forEach( predicate) ;\n};\n\nD elta.proto type.map = function (predicate ) {\n ret urn this.o ps.map(pre dicate);\n };\n\nDelt a.prototyp e.partitio n = functi on (predic ate) {\n var passed = [], fai led = [];\ n this.fo rEach(func tion(op) { \n var target = p redicate(o p) ? passe d : failed ;\n tar get.push(o p);\n }); \n return [passed, failed];\n };\n\nDelt a.prototyp e.reduce = function (predicate , initial) {\n retu rn this.op s.reduce(p redicate, initial);\ n};\n\nDel ta.prototy pe.changeL ength = fu nction () {\n retur n this.red uce(functi on (length , elem) {\ n if (e lem.insert ) {\n return le ngth + op. length(ele m);\n } else if ( elem.delet e) {\n return l ength - el em.delete; \n }\n return length;\n }, 0);\n} ;\n\nDelta .prototype .length = function ( ) {\n ret urn this.r educe(func tion (leng th, elem) {\n ret urn length + op.leng th(elem);\ n }, 0);\ n};\n\nDel ta.prototy pe.slice = function (start, en d) {\n st art = star t || 0;\n if (typeo f end !== 'number') end = Infi nity;\n v ar ops = [ ];\n var iter = op. iterator(t his.ops);\ n var ind ex = 0;\n while (in dex < end && iter.ha sNext()) { \n var nextOp;\n if (ind ex < start ) {\n nextOp = iter.next( start - in dex);\n } else {\ n nex tOp = iter .next(end - index);\ n ops .push(next Op);\n }\n ind ex += op.l ength(next Op);\n }\ n return new Delta( ops);\n};\ n\n\nDelta .prototype .compose = function (other) {\ n var thi sIter = op .iterator( this.ops); \n var ot herIter = op.iterato r(other.op s);\n var delta = n ew Delta() ;\n while (thisIter .hasNext() || otherI ter.hasNex t()) {\n if (othe rIter.peek Type() === 'insert') {\n delta.push (otherIter .next());\ n } els e if (this Iter.peekT ype() === 'delete') {\n d elta.push( thisIter.n ext());\n } else {\n v ar length = Math.min (thisIter. peekLength (), otherI ter.peekLe ngth());\n var thisOp = t hisIter.ne xt(length) ;\n v ar otherOp = otherIt er.next(le ngth);\n if (ty peof other Op.retain === 'numbe r') {\n var n ewOp = {}; \n if (typeof thisOp.re tain === ' number') { \n newOp.re tain = len gth;\n } else {\n newOp. insert = t hisOp.inse rt;\n }\n // Pre serve null when comp osing with a retain, otherwise remove it for inser ts\n var attr ibutes = o p.attribut es.compose (thisOp.at tributes, otherOp.at tributes, typeof thi sOp.retain === 'numb er');\n if (a ttributes) newOp.att ributes = attributes ;\n delta.pus h(newOp);\ n // Other op s hould be d elete, we could be a n insert o r retain\n // I nsert + de lete cance ls out\n } else if (typeo f otherOp[ 'delete'] === 'numbe r' && type of thisOp. retain === 'number') {\n delta.pu sh(otherOp );\n }\n }\n }\n ret urn delta. chop();\n} ;\n\nDelta .prototype .concat = function ( other) {\n var delt a = new De lta(this.o ps.slice() );\n if ( other.ops. length > 0 ) {\n d elta.push( other.ops[ 0]);\n delta.ops = delta.op s.concat(o ther.ops.s lice(1));\ n }\n re turn delta ;\n};\n\nD elta.proto type.diff = function (other, i ndex) {\n if (this. ops === ot her.ops) { \n retu rn new Del ta();\n } \n var st rings = [t his, other ].map(func tion (delt a) {\n return del ta.map(fun ction (op) {\n if (op.ins ert != nul l) {\n return typeof op .insert == = 'string' ? op.inse rt : NULL_ CHARACTER; \n }\ n var prep = (d elta === o ther) ? 'o n' : 'with ';\n throw new Error('dif f() called ' + prep + ' non-do cument');\ n }).jo in('');\n });\n va r delta = new Delta( );\n var diffResult = diff(st rings[0], strings[1] , index);\ n var thi sIter = op .iterator( this.ops); \n var ot herIter = op.iterato r(other.op s);\n dif fResult.fo rEach(func tion (comp onent) {\n var le ngth = com ponent[1]. length;\n while ( length > 0 ) {\n var opLen gth = 0;\n swit ch (compon ent[0]) {\ n c ase diff.I NSERT:\n op Length = M ath.min(ot herIter.pe ekLength() , length); \n delta.pu sh(otherIt er.next(op Length));\ n break;\n cas e diff.DEL ETE:\n opLe ngth = Mat h.min(leng th, thisIt er.peekLen gth());\n t hisIter.ne xt(opLengt h);\n delta ['delete'] (opLength) ;\n break;\ n c ase diff.E QUAL:\n opL ength = Ma th.min(thi sIter.peek Length(), otherIter. peekLength (), length );\n var th isOp = thi sIter.next (opLength) ;\n var oth erOp = oth erIter.nex t(opLength );\n if (eq ual(thisOp .insert, o therOp.ins ert)) {\n delta.ret ain(opLeng th, op.att ributes.di ff(thisOp. attributes , otherOp. attributes ));\n } els e {\n del ta.push(ot herOp)['de lete'](opL ength);\n } \n break;\n }\n lengt h -= opLen gth;\n }\n });\n return d elta.chop( );\n};\n\n Delta.prot otype.each Line = fun ction (pre dicate, ne wline) {\n newline = newline || '\\n';\ n var ite r = op.ite rator(this .ops);\n var line = new Delta ();\n var i = 0;\n while (it er.hasNext ()) {\n if (iter. peekType() !== 'inse rt') retur n;\n va r thisOp = iter.peek ();\n v ar start = op.length (thisOp) - iter.peek Length();\ n var i ndex = typ eof thisOp .insert == = 'string' ?\n thisOp.ins ert.indexO f(newline, start) - start : -1 ;\n if (index < 0 ) {\n line.push (iter.next ());\n } else if (index > 0 ) {\n line.push (iter.next (index));\ n } els e {\n if (predi cate(line, iter.next (1).attrib utes || {} , i) === f alse) {\n ret urn;\n }\n i += 1;\n line = new Del ta();\n }\n }\n if (line. length() > 0) {\n predicate (line, {}, i);\n }\ n};\n\nDel ta.prototy pe.transfo rm = funct ion (other , priority ) {\n pri ority = !! priority;\ n if (typ eof other === 'numbe r') {\n return th is.transfo rmPosition (other, pr iority);\n }\n var thisIter = op.itera tor(this.o ps);\n va r otherIte r = op.ite rator(othe r.ops);\n var delta = new Del ta();\n w hile (this Iter.hasNe xt() || ot herIter.ha sNext()) { \n if ( thisIter.p eekType() === 'inser t' && (pri ority || o therIter.p eekType() !== 'inser t')) {\n delta. retain(op. length(thi sIter.next ()));\n } else if (otherIte r.peekType () === 'in sert') {\n delt a.push(oth erIter.nex t());\n } else {\ n var length = Math.min(t hisIter.pe ekLength() , otherIte r.peekLeng th());\n var th isOp = thi sIter.next (length);\ n var otherOp = otherIter .next(leng th);\n if (this Op['delete ']) {\n // Ou r delete e ither make s their de lete redun dant or re moves thei r retain\n co ntinue;\n } els e if (othe rOp['delet e']) {\n delt a.push(oth erOp);\n } else {\n // We re tain eithe r their re tain or in sert\n delta. retain(len gth, op.at tributes.t ransform(t hisOp.attr ibutes, ot herOp.attr ibutes, pr iority));\ n }\n }\n } \n return delta.cho p();\n};\n \nDelta.pr ototype.tr ansformPos ition = fu nction (in dex, prior ity) {\n priority = !!priorit y;\n var thisIter = op.iterat or(this.op s);\n var offset = 0;\n whil e (thisIte r.hasNext( ) && offse t <= index ) {\n v ar length = thisIter .peekLengt h();\n var nextTy pe = thisI ter.peekTy pe();\n thisIter. next();\n if (nex tType === 'delete') {\n i ndex -= Ma th.min(len gth, index - offset) ;\n c ontinue;\n } else if (nextT ype === 'i nsert' && (offset < index || ! priority)) {\n index += l ength;\n }\n o ffset += l ength;\n }\n retur n index;\n };\n\n\nmo dule.expor ts = Delta ;\n\n\n/** */ }),\n/* 3 */\n/** */ (functi on(module, exports) {\n\n'use strict';\n \nvar hasO wn = Objec t.prototyp e.hasOwnPr operty;\nv ar toStr = Object.pr ototype.to String;\n\ nvar isArr ay = funct ion isArra y(arr) {\n \tif (type of Array.i sArray === 'function ') {\n\t\t return Arr ay.isArray (arr);\n\t }\n\n\tret urn toStr. call(arr) === '[obje ct Array]' ;\n};\n\nv ar isPlain Object = f unction is PlainObjec t(obj) {\n \tif (!obj || toStr. call(obj) !== '[obje ct Object] ') {\n\t\t return fal se;\n\t}\n \n\tvar ha sOwnConstr uctor = ha sOwn.call( obj, 'cons tructor'); \n\tvar ha sIsPrototy peOf = obj .construct or && obj. constructo r.prototyp e && hasOw n.call(obj .construct or.prototy pe, 'isPro totypeOf') ;\n\t// No t own cons tructor pr operty mus t be Objec t\n\tif (o bj.constru ctor && !h asOwnConst ructor && !hasIsProt otypeOf) { \n\t\tretu rn false;\ n\t}\n\n\t // Own pro perties ar e enumerat ed firstly , so to sp eed up,\n\ t// if las t one is o wn, then a ll propert ies are ow n.\n\tvar key;\n\tfo r (key in obj) { /** / }\n\n\tr eturn type of key === 'undefine d' || hasO wn.call(ob j, key);\n };\n\nmodu le.exports = functio n extend() {\n\tvar options, n ame, src, copy, copy IsArray, c lone;\n\tv ar target = argument s[0];\n\tv ar i = 1;\ n\tvar len gth = argu ments.leng th;\n\tvar deep = fa lse;\n\n\t // Handle a deep cop y situatio n\n\tif (t ypeof targ et === 'bo olean') {\ n\t\tdeep = target;\ n\t\ttarge t = argume nts[1] || {};\n\t\t/ / skip the boolean a nd the tar get\n\t\ti = 2;\n\t} \n\tif (ta rget == nu ll || (typ eof target !== 'obje ct' && typ eof target !== 'func tion')) {\ n\t\ttarge t = {};\n\ t}\n\n\tfo r (; i < l ength; ++i ) {\n\t\to ptions = a rguments[i ];\n\t\t// Only deal with non- null/undef ined value s\n\t\tif (options ! = null) {\ n\t\t\t// Extend the base obje ct\n\t\t\t for (name in options ) {\n\t\t\ t\tsrc = t arget[name ];\n\t\t\t \tcopy = o ptions[nam e];\n\n\t\ t\t\t// Pr event neve r-ending l oop\n\t\t\ t\tif (tar get !== co py) {\n\t\ t\t\t\t// Recurse if we're mer ging plain objects o r arrays\n \t\t\t\t\t if (deep & & copy && (isPlainOb ject(copy) || (copyI sArray = i sArray(cop y)))) {\n\ t\t\t\t\t\ tif (copyI sArray) {\ n\t\t\t\t\ t\t\tcopyI sArray = f alse;\n\t\ t\t\t\t\t\ tclone = s rc && isAr ray(src) ? src : []; \n\t\t\t\t \t\t} else {\n\t\t\t \t\t\t\tcl one = src && isPlain Object(src ) ? src : {};\n\t\t\ t\t\t\t}\n \n\t\t\t\t \t\t// Nev er move or iginal obj ects, clon e them\n\t \t\t\t\t\t target[nam e] = exten d(deep, cl one, copy) ;\n\n\t\t\ t\t\t// Do n't bring in undefin ed values\ n\t\t\t\t\ t} else if (typeof c opy !== 'u ndefined') {\n\t\t\t \t\t\ttarg et[name] = copy;\n\t \t\t\t\t}\ n\t\t\t\t} \n\t\t\t}\ n\t\t}\n\t }\n\n\t// Return the modified object\n\t return tar get;\n};\n \n\n/***/ }),\n/* 4 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\nexport s.default = exports. BlockEmbed = exports .bubbleFor mats = und efined;\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _get = function get(objec t, propert y, receive r) { if (o bject === null) obje ct = Funct ion.protot ype; var d esc = Obje ct.getOwnP ropertyDes criptor(ob ject, prop erty); if (desc === undefined) { var par ent = Obje ct.getProt otypeOf(ob ject); if (parent == = null) { return und efined; } else { ret urn get(pa rent, prop erty, rece iver); } } else if ( \"value\" in desc) { return de sc.value; } else { v ar getter = desc.get ; if (gett er === und efined) { return und efined; } return get ter.call(r eceiver); } };\n\nva r _extend = __webpac k_require_ _(3);\n\nv ar _extend 2 = _inter opRequireD efault(_ex tend);\n\n var _quill Delta = __ webpack_re quire__(2) ;\n\nvar _ quillDelta 2 = _inter opRequireD efault(_qu illDelta); \n\nvar _p archment = __webpack _require__ (0);\n\nva r _parchme nt2 = _int eropRequir eDefault(_ parchment) ;\n\nvar _ break = __ webpack_re quire__(16 );\n\nvar _break2 = _interopRe quireDefau lt(_break) ;\n\nvar _ inline = _ _webpack_r equire__(6 );\n\nvar _inline2 = _interopR equireDefa ult(_inlin e);\n\nvar _text = _ _webpack_r equire__(7 );\n\nvar _text2 = _ interopReq uireDefaul t(_text);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar NEW LINE_LENGT H = 1;\n\n var BlockE mbed = fun ction (_Pa rchment$Em bed) {\n _inherits( BlockEmbed , _Parchme nt$Embed); \n\n func tion Block Embed() {\ n _clas sCallCheck (this, Blo ckEmbed);\ n\n ret urn _possi bleConstru ctorReturn (this, (Bl ockEmbed._ _proto__ | | Object.g etPrototyp eOf(BlockE mbed)).app ly(this, a rguments)) ;\n }\n\n _createC lass(Block Embed, [{\ n key: 'attach',\ n value : function attach() {\n _ get(BlockE mbed.proto type.__pro to__ || Ob ject.getPr ototypeOf( BlockEmbed .prototype ), 'attach ', this).c all(this); \n th is.attribu tes = new _parchment 2.default. Attributor .Store(thi s.domNode) ;\n }\n }, {\n key: 'de lta',\n value: fu nction del ta() {\n return new _quil lDelta2.de fault().in sert(this. value(), ( 0, _extend 2.default) (this.form ats(), thi s.attribut es.values( )));\n }\n }, {\ n key: 'format',\ n value : function format(na me, value) {\n var attrib ute = _par chment2.de fault.quer y(name, _p archment2. default.Sc ope.BLOCK_ ATTRIBUTE) ;\n i f (attribu te != null ) {\n this.at tributes.a ttribute(a ttribute, value);\n }\n }\n }, {\n key : 'formatA t',\n v alue: func tion forma tAt(index, length, n ame, value ) {\n this.form at(name, v alue);\n }\n }, {\n key : 'insertA t',\n v alue: func tion inser tAt(index, value, de f) {\n if (type of value = == 'string ' && value .endsWith( '\\n')) {\ n v ar block = _parchmen t2.default .create(Bl ock.blotNa me);\n this.p arent.inse rtBefore(b lock, inde x === 0 ? this : thi s.next);\n bl ock.insert At(0, valu e.slice(0, -1));\n } else {\n _get(Blo ckEmbed.pr ototype.__ proto__ || Object.ge tPrototype Of(BlockEm bed.protot ype), 'ins ertAt', th is).call(t his, index , value, d ef);\n }\n } \n }]);\n \n return BlockEmbe d;\n}(_par chment2.de fault.Embe d);\n\nBlo ckEmbed.sc ope = _par chment2.de fault.Scop e.BLOCK_BL OT;\n// It is import ant for cu rsor behav ior BlockE mbeds use tags that are block level elem ents\n\n\n var Block = function (_Parchme nt$Block) {\n _inhe rits(Block , _Parchme nt$Block); \n\n func tion Block (domNode) {\n _cl assCallChe ck(this, B lock);\n\n var _t his2 = _po ssibleCons tructorRet urn(this, (Block.__p roto__ || Object.get PrototypeO f(Block)). call(this, domNode)) ;\n\n _ this2.cach e = {};\n return _this2;\n }\n\n _c reateClass (Block, [{ \n key: 'delta',\ n value : function delta() { \n if (this.cac he.delta = = null) {\ n t his.cache. delta = th is.descend ants(_parc hment2.def ault.Leaf) .reduce(fu nction (de lta, leaf) {\n if (le af.length( ) === 0) { \n return delta;\n } else {\n return de lta.insert (leaf.valu e(), bubbl eFormats(l eaf));\n }\ n } , new _qui llDelta2.d efault()). insert('\\ n', bubble Formats(th is));\n }\n return t his.cache. delta;\n }\n }, {\n key : 'deleteA t',\n v alue: func tion delet eAt(index, length) { \n _g et(Block.p rototype._ _proto__ | | Object.g etPrototyp eOf(Block. prototype) , 'deleteA t', this). call(this, index, le ngth);\n this.c ache = {}; \n }\n }, {\n key: 'for matAt',\n value: function f ormatAt(in dex, lengt h, name, v alue) {\n if (l ength <= 0 ) return;\ n if (_parchmen t2.default .query(nam e, _parchm ent2.defau lt.Scope.B LOCK)) {\n if (index + length === this.leng th()) {\n t his.format (name, val ue);\n }\n } else {\n _get(Bloc k.prototyp e.__proto_ _ || Objec t.getProto typeOf(Blo ck.prototy pe), 'form atAt', thi s).call(th is, index, Math.min( length, th is.length( ) - index - 1), name , value);\ n }\n this .cache = { };\n }\ n }, {\n key: 'i nsertAt',\ n value : function insertAt( index, val ue, def) { \n if (def != n ull) retur n _get(Blo ck.prototy pe.__proto __ || Obje ct.getProt otypeOf(Bl ock.protot ype), 'ins ertAt', th is).call(t his, index , value, d ef);\n if (valu e.length = == 0) retu rn;\n var lines = value.s plit('\\n' );\n var text = lines.shi ft();\n if (tex t.length > 0) {\n if (i ndex < thi s.length() - 1 || th is.childre n.tail == null) {\n _ get(Block. prototype. __proto__ || Object. getPrototy peOf(Block .prototype ), 'insert At', this) .call(this , Math.min (index, th is.length( ) - 1), te xt);\n } else {\n this.c hildren.ta il.insertA t(this.chi ldren.tail .length(), text);\n }\n th is.cache = {};\n }\n var block = this;\n line s.reduce(f unction (i ndex, line ) {\n block = block.spl it(index, true);\n bloc k.insertAt (0, line); \n return lin e.length;\ n }, index + te xt.length) ;\n }\n }, {\n key: 'in sertBefore ',\n va lue: funct ion insert Before(blo t, ref) {\ n var head = th is.childre n.head;\n _get( Block.prot otype.__pr oto__ || O bject.getP rototypeOf (Block.pro totype), ' insertBefo re', this) .call(this , blot, re f);\n if (head instanceof _break2.d efault) {\ n h ead.remove ();\n }\n this.cache = {};\n }\n }, {\n key : 'length' ,\n val ue: functi on length( ) {\n if (this. cache.leng th == null ) {\n this.ca che.length = _get(Bl ock.protot ype.__prot o__ || Obj ect.getPro totypeOf(B lock.proto type), 'le ngth', thi s).call(th is) + NEWL INE_LENGTH ;\n } \n re turn this. cache.leng th;\n } \n }, {\n key: ' moveChildr en',\n value: fun ction move Children(t arget, ref ) {\n _get(Bloc k.prototyp e.__proto_ _ || Objec t.getProto typeOf(Blo ck.prototy pe), 'move Children', this).cal l(this, ta rget, ref) ;\n t his.cache = {};\n }\n }, { \n key: 'optimize ',\n va lue: funct ion optimi ze(context ) {\n _get(Bloc k.prototyp e.__proto_ _ || Objec t.getProto typeOf(Blo ck.prototy pe), 'opti mize', thi s).call(th is, contex t);\n this.cach e = {};\n }\n }, {\n ke y: 'path', \n valu e: functio n path(ind ex) {\n return _get(Block .prototype .__proto__ || Object .getProtot ypeOf(Bloc k.prototyp e), 'path' , this).ca ll(this, i ndex, true );\n }\ n }, {\n key: 'r emoveChild ',\n va lue: funct ion remove Child(chil d) {\n _get(Blo ck.prototy pe.__proto __ || Obje ct.getProt otypeOf(Bl ock.protot ype), 'rem oveChild', this).cal l(this, ch ild);\n this.ca che = {};\ n }\n }, {\n key: 'spli t',\n v alue: func tion split (index) {\ n var force = a rguments.l ength > 1 && argumen ts[1] !== undefined ? argument s[1] : fal se;\n\n if (for ce && (ind ex === 0 | | index >= this.leng th() - NEW LINE_LENGT H)) {\n var c lone = thi s.clone(); \n if (index === 0) {\n this.paren t.insertBe fore(clone , this);\n return thi s;\n } else { \n this.par ent.insert Before(clo ne, this.n ext);\n ret urn clone; \n }\n } else {\n var next = _g et(Block.p rototype._ _proto__ | | Object.g etPrototyp eOf(Block. prototype) , 'split', this).cal l(this, in dex, force );\n this.cac he = {};\n re turn next; \n }\ n }\n }]);\n\n return Blo ck;\n}(_pa rchment2.d efault.Blo ck);\n\nBl ock.blotNa me = 'bloc k';\nBlock .tagName = 'P';\nBlo ck.default Child = 'b reak';\nBl ock.allowe dChildren = [_inline 2.default, _parchmen t2.default .Embed, _t ext2.defau lt];\n\nfu nction bub bleFormats (blot) {\n var form ats = argu ments.leng th > 1 && arguments[ 1] !== und efined ? a rguments[1 ] : {};\n\ n if (blo t == null) return fo rmats;\n if (typeof blot.form ats === 'f unction') {\n for mats = (0, _extend2. default)(f ormats, bl ot.formats ());\n }\ n if (blo t.parent = = null || blot.paren t.blotName == 'scrol l' || blot .parent.st atics.scop e !== blot .statics.s cope) {\n return formats;\n }\n ret urn bubble Formats(bl ot.parent, formats); \n}\n\nexp orts.bubbl eFormats = bubbleFor mats;\nexp orts.Block Embed = Bl ockEmbed;\ nexports.d efault = B lock;\n\n/ ***/ }),\n /* 5 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\ne xports.def ault = exp orts.overl oad = expo rts.expand Config = u ndefined;\ n\nvar _ty peof = typ eof Symbol === \"fun ction\" && typeof Sy mbol.itera tor === \" symbol\" ? function (obj) { re turn typeo f obj; } : function (obj) { re turn obj & & typeof S ymbol === \"function \" && obj. constructo r === Symb ol && obj !== Symbol .prototype ? \"symbo l\" : type of obj; }; \n\nvar _s licedToArr ay = funct ion () { f unction sl iceIterato r(arr, i) { var _arr = []; var _n = true ; var _d = false; va r _e = und efined; tr y { for (v ar _i = ar r[Symbol.i terator]() , _s; !(_n = (_s = _ i.next()). done); _n = true) { _arr.push( _s.value); if (i && _arr.lengt h === i) b reak; } } catch (err ) { _d = t rue; _e = err; } fin ally { try { if (!_n && _i[\"r eturn\"]) _i[\"retur n\"](); } finally { if (_d) th row _e; } } return _ arr; } ret urn functi on (arr, i ) { if (Ar ray.isArra y(arr)) { return arr ; } else i f (Symbol. iterator i n Object(a rr)) { ret urn sliceI terator(ar r, i); } e lse { thro w new Type Error(\"In valid atte mpt to des tructure n on-iterabl e instance \"); } }; }();\n\nva r _createC lass = fun ction () { function defineProp erties(tar get, props ) { for (v ar i = 0; i < props. length; i+ +) { var d escriptor = props[i] ; descript or.enumera ble = desc riptor.enu merable || false; de scriptor.c onfigurabl e = true; if (\"valu e\" in des criptor) d escriptor. writable = true; Obj ect.define Property(t arget, des criptor.ke y, descrip tor); } } return fun ction (Con structor, protoProps , staticPr ops) { if (protoProp s) defineP roperties( Constructo r.prototyp e, protoPr ops); if ( staticProp s) defineP roperties( Constructo r, staticP rops); ret urn Constr uctor; }; }();\n\n__ webpack_re quire__(50 );\n\nvar _quillDelt a = __webp ack_requir e__(2);\n\ nvar _quil lDelta2 = _interopRe quireDefau lt(_quillD elta);\n\n var _edito r = __webp ack_requir e__(14);\n \nvar _edi tor2 = _in teropRequi reDefault( _editor);\ n\nvar _em itter3 = _ _webpack_r equire__(8 );\n\nvar _emitter4 = _interop RequireDef ault(_emit ter3);\n\n var _modul e = __webp ack_requir e__(9);\n\ nvar _modu le2 = _int eropRequir eDefault(_ module);\n \nvar _par chment = _ _webpack_r equire__(0 );\n\nvar _parchment 2 = _inter opRequireD efault(_pa rchment);\ n\nvar _se lection = __webpack_ require__( 15);\n\nva r _selecti on2 = _int eropRequir eDefault(_ selection) ;\n\nvar _ extend = _ _webpack_r equire__(3 );\n\nvar _extend2 = _interopR equireDefa ult(_exten d);\n\nvar _logger = __webpack _require__ (10);\n\nv ar _logger 2 = _inter opRequireD efault(_lo gger);\n\n var _theme = __webpa ck_require __(34);\n\ nvar _them e2 = _inte ropRequire Default(_t heme);\n\n function _ interopReq uireDefaul t(obj) { r eturn obj && obj.__e sModule ? obj : { de fault: obj }; }\n\nf unction _d efinePrope rty(obj, k ey, value) { if (key in obj) { Object.de fineProper ty(obj, ke y, { value : value, e numerable: true, con figurable: true, wri table: tru e }); } el se { obj[k ey] = valu e; } retur n obj; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nvar debug = (0, _lo gger2.defa ult)('quil l');\n\nva r Quill = function ( ) {\n _cr eateClass( Quill, nul l, [{\n key: 'deb ug',\n value: fun ction debu g(limit) { \n if (limit == = true) {\ n l imit = 'lo g';\n }\n _logger2.d efault.lev el(limit); \n }\n }, {\n key: 'fin d',\n v alue: func tion find( node) {\n retur n node.__q uill || _p archment2. default.fi nd(node);\ n }\n }, {\n key: 'impo rt',\n value: fun ction _imp ort(name) {\n i f (this.im ports[name ] == null) {\n debug.er ror('Canno t import ' + name + '. Are you sure it w as registe red?');\n }\n return this.impo rts[name]; \n }\n }, {\n key: 'reg ister',\n value: function r egister(pa th, target ) {\n var _this = this;\n \n va r overwrit e = argume nts.length > 2 && ar guments[2] !== undef ined ? arg uments[2] : false;\n \n if (typeof p ath !== 's tring') {\ n v ar name = path.attrN ame || pat h.blotName ;\n if (typeo f name === 'string') {\n // reg ister(Blot | Attribu tor, overw rite)\n thi s.register ('formats/ ' + name, path, targ et);\n } else {\n Object .keys(path ).forEach( function ( key) {\n _this.regi ster(key, path[key], target);\ n });\n }\n } else {\n if (this. imports[pa th] != nul l && !over write) {\n debug.warn ('Overwrit ing ' + pa th + ' wit h', target );\n }\n this.im ports[path ] = target ;\n if ((path .startsWit h('blots/' ) || path. startsWith ('formats/ ')) && tar get.blotNa me !== 'ab stract') { \n _parchme nt2.defaul t.register (target);\ n } else if ( path.start sWith('mod ules') && typeof tar get.regist er === 'fu nction') { \n target.r egister(); \n }\n } \n }\n }]);\n\n function Quill(cont ainer) {\n var _t his2 = thi s;\n\n var option s = argume nts.length > 1 && ar guments[1] !== undef ined ? arg uments[1] : {};\n\n _classC allCheck(t his, Quill );\n\n this.optio ns = expan dConfig(co ntainer, o ptions);\n this.c ontainer = this.opti ons.contai ner;\n if (this.c ontainer = = null) {\ n ret urn debug. error('Inv alid Quill container ', contain er);\n }\n if (this.opti ons.debug) {\n Quill.debu g(this.opt ions.debug );\n }\ n var h tml = this .container .innerHTML .trim();\n this.c ontainer.c lassList.a dd('ql-con tainer');\ n this. container. innerHTML = '';\n this.cont ainer.__qu ill = this ;\n thi s.root = t his.addCon tainer('ql -editor'); \n this .root.clas sList.add( 'ql-blank' );\n th is.root.se tAttribute ('data-gra mm', false );\n th is.scrolli ngContaine r = this.o ptions.scr ollingCont ainer || t his.root;\ n this. emitter = new _emitt er4.defaul t();\n this.scrol l = _parch ment2.defa ult.create (this.root , {\n emitter: this.emitt er,\n whitelist : this.opt ions.forma ts\n }) ;\n thi s.editor = new _edit or2.defaul t(this.scr oll);\n this.sele ction = ne w _selecti on2.defaul t(this.scr oll, this. emitter);\ n this. theme = ne w this.opt ions.theme (this, thi s.options) ;\n thi s.keyboard = this.th eme.addMod ule('keybo ard');\n this.cli pboard = t his.theme. addModule( 'clipboard ');\n t his.histor y = this.t heme.addMo dule('hist ory');\n this.the me.init(); \n this .emitter.o n(_emitter 4.default. events.EDI TOR_CHANGE , function (type) {\ n if (type === _emitter4. default.ev ents.TEXT_ CHANGE) {\ n _ this2.root .classList .toggle('q l-blank', _this2.edi tor.isBlan k());\n }\n });\n t his.emitte r.on(_emit ter4.defau lt.events. SCROLL_UPD ATE, funct ion (sourc e, mutatio ns) {\n var ran ge = _this 2.selectio n.lastRang e;\n var index = range && range.len gth === 0 ? range.in dex : unde fined;\n modify .call(_thi s2, functi on () {\n ret urn _this2 .editor.up date(null, mutations , index);\ n }, source);\n });\n var con tents = th is.clipboa rd.convert ('<div cla ss=\\'ql-e ditor\\' s tyle=\"whi te-space: normal;\"> ' + html + '<p><br>< /p></div>' );\n th is.setCont ents(conte nts);\n this.hist ory.clear( );\n if (this.opt ions.place holder) {\ n thi s.root.set Attribute( 'data-plac eholder', this.optio ns.placeho lder);\n }\n i f (this.op tions.read Only) {\n this. disable(); \n }\n }\n\n _c reateClass (Quill, [{ \n key: 'addConta iner',\n value: f unction ad dContainer (container ) {\n var refNo de = argum ents.lengt h > 1 && a rguments[1 ] !== unde fined ? ar guments[1] : null;\n \n if (typeof c ontainer = == 'string ') {\n var cl assName = container; \n container = document .createEle ment('div' );\n containe r.classLis t.add(clas sName);\n }\n this.c ontainer.i nsertBefor e(containe r, refNode );\n return con tainer;\n }\n }, {\n ke y: 'blur', \n valu e: functio n blur() { \n th is.selecti on.setRang e(null);\n }\n } , {\n k ey: 'delet eText',\n value: function d eleteText( index, len gth, sourc e) {\n var _thi s3 = this; \n\n var _overl oad = over load(index , length, source);\n \n va r _overloa d2 = _slic edToArray( _overload, 4);\n\n index = _overloa d2[0];\n length = _overlo ad2[1];\n sourc e = _overl oad2[3];\n \n re turn modif y.call(thi s, functio n () {\n retu rn _this3. editor.del eteText(in dex, lengt h);\n }, source , index, - 1 * length );\n }\ n }, {\n key: 'd isable',\n value: function disable() {\n t his.enable (false);\n }\n } , {\n k ey: 'enabl e',\n v alue: func tion enabl e() {\n var ena bled = arg uments.len gth > 0 && arguments [0] !== un defined ? arguments[ 0] : true; \n\n this.scrol l.enable(e nabled);\n this .container .classList .toggle('q l-disabled ', !enable d);\n } \n }, {\n key: ' focus',\n value: function f ocus() {\n var scrollTop = this.scr ollingCont ainer.scro llTop;\n this.s election.f ocus();\n this. scrollingC ontainer.s crollTop = scrollTop ;\n t his.scroll IntoView() ;\n }\n }, {\n key: 'fo rmat',\n value: f unction fo rmat(name, value) {\ n var _this4 = this;\n\n var s ource = ar guments.le ngth > 2 & & argument s[2] !== u ndefined ? arguments [2] : _emi tter4.defa ult.source s.API;\n\n retu rn modify. call(this, function () {\n var ra nge = _thi s4.getSele ction(true );\n var chan ge = new _ quillDelta 2.default( );\n if (rang e == null) {\n return change;\n } else if (_ parchment2 .default.q uery(name, _parchmen t2.default .Scope.BLO CK)) {\n ch ange = _th is4.editor .formatLin e(range.in dex, range .length, _ defineProp erty({}, n ame, value ));\n } else if (range. length === 0) {\n _th is4.select ion.format (name, val ue);\n retu rn change; \n } else {\n change = _ this4.edit or.formatT ext(range. index, ran ge.length, _definePr operty({}, name, val ue));\n }\n _thi s4.setSele ction(rang e, _emitte r4.default .sources.S ILENT);\n ret urn change ;\n } , source); \n }\n }, {\n key: 'for matLine',\ n value : function formatLin e(index, l ength, nam e, value, source) {\ n var _this5 = this;\n\n var f ormats = v oid 0;\n\n var _overload3 = overloa d(index, l ength, nam e, value, source);\n \n va r _overloa d4 = _slic edToArray( _overload3 , 4);\n\n index = _overlo ad4[0];\n lengt h = _overl oad4[1];\n form ats = _ove rload4[2]; \n so urce = _ov erload4[3] ;\n\n return mo dify.call( this, func tion () {\ n r eturn _thi s5.editor. formatLine (index, le ngth, form ats);\n }, sour ce, index, 0);\n }\n }, {\ n key: 'formatTex t',\n v alue: func tion forma tText(inde x, length, name, val ue, source ) {\n var _this 6 = this;\ n\n v ar formats = void 0; \n\n var _overl oad5 = ove rload(inde x, length, name, val ue, source );\n\n var _ove rload6 = _ slicedToAr ray(_overl oad5, 4);\ n\n i ndex = _ov erload6[0] ;\n l ength = _o verload6[1 ];\n formats = _overload6 [2];\n source = _overload 6[3];\n\n retur n modify.c all(this, function ( ) {\n return _this6.edi tor.format Text(index , length, formats);\ n }, source, in dex, 0);\n }\n } , {\n k ey: 'getBo unds',\n value: f unction ge tBounds(in dex) {\n var le ngth = arg uments.len gth > 1 && arguments [1] !== un defined ? arguments[ 1] : 0;\n\ n var bounds = void 0;\n if (t ypeof inde x === 'num ber') {\n bou nds = this .selection .getBounds (index, le ngth);\n } else {\n bounds = this.sele ction.getB ounds(inde x.index, i ndex.lengt h);\n }\n var contai nerBounds = this.con tainer.get BoundingCl ientRect() ;\n r eturn {\n bot tom: bound s.bottom - container Bounds.top ,\n height: b ounds.heig ht,\n left: b ounds.left - contain erBounds.l eft,\n right: bounds.ri ght - cont ainerBound s.left,\n top : bounds.t op - conta inerBounds .top,\n width : bounds.w idth\n };\n }\n }, {\ n key: 'getConten ts',\n value: fun ction getC ontents() {\n v ar index = arguments .length > 0 && argum ents[0] != = undefine d ? argume nts[0] : 0 ;\n v ar length = argument s.length > 1 && argu ments[1] ! == undefin ed ? argum ents[1] : this.getLe ngth() - i ndex;\n\n var _ overload7 = overload (index, le ngth);\n\n var _overload8 = _sliced ToArray(_o verload7, 2);\n\n index = _overload 8[0];\n length = _overloa d8[1];\n\n retu rn this.ed itor.getCo ntents(ind ex, length );\n }\ n }, {\n key: 'g etFormat', \n valu e: functio n getForma t() {\n var ind ex = argum ents.lengt h > 0 && a rguments[0 ] !== unde fined ? ar guments[0] : this.ge tSelection (true);\n var l ength = ar guments.le ngth > 1 & & argument s[1] !== u ndefined ? arguments [1] : 0;\n \n if (typeof i ndex === ' number') { \n return thi s.editor.g etFormat(i ndex, leng th);\n } else { \n return thi s.editor.g etFormat(i ndex.index , index.le ngth);\n }\n }\n }, { \n key: 'getIndex ',\n va lue: funct ion getInd ex(blot) { \n re turn blot. offset(thi s.scroll); \n }\n }, {\n key: 'get Length',\n value: function getLength( ) {\n return th is.scroll. length();\ n }\n }, {\n key: 'getL eaf',\n value: fu nction get Leaf(index ) {\n return th is.scroll. leaf(index );\n }\ n }, {\n key: 'g etLine',\n value: function getLine(in dex) {\n return this.scro ll.line(in dex);\n }\n }, { \n key: 'getLines ',\n va lue: funct ion getLin es() {\n var in dex = argu ments.leng th > 0 && arguments[ 0] !== und efined ? a rguments[0 ] : 0;\n var le ngth = arg uments.len gth > 1 && arguments [1] !== un defined ? arguments[ 1] : Numbe r.MAX_VALU E;\n\n if (type of index ! == 'number ') {\n return this.scro ll.lines(i ndex.index , index.le ngth);\n } else {\n return t his.scroll .lines(ind ex, length );\n }\n }\n }, {\n key: 'ge tModule',\ n value : function getModule (name) {\n retu rn this.th eme.module s[name];\n }\n } , {\n k ey: 'getSe lection',\ n value : function getSelect ion() {\n var f ocus = arg uments.len gth > 0 && arguments [0] !== un defined ? arguments[ 0] : false ;\n\n if (focus ) this.foc us();\n this.up date(); // Make sure we access getRange with edito r in consi stent stat e\n r eturn this .selection .getRange( )[0];\n }\n }, { \n key: 'getText' ,\n val ue: functi on getText () {\n var inde x = argume nts.length > 0 && ar guments[0] !== undef ined ? arg uments[0] : 0;\n var leng th = argum ents.lengt h > 1 && a rguments[1 ] !== unde fined ? ar guments[1] : this.ge tLength() - index;\n \n va r _overloa d9 = overl oad(index, length);\ n\n v ar _overlo ad10 = _sl icedToArra y(_overloa d9, 2);\n\ n ind ex = _over load10[0]; \n le ngth = _ov erload10[1 ];\n\n return t his.editor .getText(i ndex, leng th);\n }\n }, {\ n key: 'hasFocus' ,\n val ue: functi on hasFocu s() {\n return this.selec tion.hasFo cus();\n }\n }, {\n key : 'insertE mbed',\n value: f unction in sertEmbed( index, emb ed, value) {\n var _this7 = this;\n \n va r source = arguments .length > 3 && argum ents[3] != = undefine d ? argume nts[3] : Q uill.sourc es.API;\n\ n ret urn modify .call(this , function () {\n retur n _this7.e ditor.inse rtEmbed(in dex, embed , value);\ n }, source, in dex);\n }\n }, { \n key: 'insertTe xt',\n value: fun ction inse rtText(ind ex, text, name, valu e, source) {\n var _this8 = this;\n \n va r formats = void 0;\ n\n v ar _overlo ad11 = ove rload(inde x, 0, name , value, s ource);\n\ n var _overload 12 = _slic edToArray( _overload1 1, 4);\n\n inde x = _overl oad12[0];\ n for mats = _ov erload12[2 ];\n source = _ overload12 [3];\n\n return modify.ca ll(this, f unction () {\n return _ this8.edit or.insertT ext(index, text, for mats);\n }, sou rce, index , text.len gth);\n }\n }, { \n key: 'isEnable d',\n v alue: func tion isEna bled() {\n retu rn !this.c ontainer.c lassList.c ontains('q l-disabled ');\n } \n }, {\n key: ' off',\n value: fu nction off () {\n return t his.emitte r.off.appl y(this.emi tter, argu ments);\n }\n }, {\n ke y: 'on',\n value: function on() {\n return this.emit ter.on.app ly(this.em itter, arg uments);\n }\n } , {\n k ey: 'once' ,\n val ue: functi on once() {\n r eturn this .emitter.o nce.apply( this.emitt er, argume nts);\n }\n }, { \n key: 'pasteHTM L',\n v alue: func tion paste HTML(index , html, so urce) {\n this. clipboard. dangerousl yPasteHTML (index, ht ml, source );\n }\ n }, {\n key: 'r emoveForma t',\n v alue: func tion remov eFormat(in dex, lengt h, source) {\n var _this9 = this;\n \n va r _overloa d13 = over load(index , length, source);\n \n va r _overloa d14 = _sli cedToArray (_overload 13, 4);\n\ n ind ex = _over load14[0]; \n le ngth = _ov erload14[1 ];\n source = _ overload14 [3];\n\n return modify.ca ll(this, f unction () {\n return _ this9.edit or.removeF ormat(inde x, length) ;\n } , source, index);\n }\n }, {\n ke y: 'scroll IntoView', \n valu e: functio n scrollIn toView() { \n th is.selecti on.scrollI ntoView(th is.scrolli ngContaine r);\n } \n }, {\n key: ' setContent s',\n v alue: func tion setCo ntents(del ta) {\n var _th is10 = thi s;\n\n var sour ce = argum ents.lengt h > 1 && a rguments[1 ] !== unde fined ? ar guments[1] : _emitte r4.default .sources.A PI;\n\n return modify.cal l(this, fu nction () {\n delta = n ew _quillD elta2.defa ult(delta) ;\n var lengt h = _this1 0.getLengt h();\n var de leted = _t his10.edit or.deleteT ext(0, len gth);\n var a pplied = _ this10.edi tor.applyD elta(delta );\n var last Op = appli ed.ops[app lied.ops.l ength - 1] ;\n if (lastO p != null && typeof lastOp.ins ert === 's tring' && lastOp.ins ert[lastOp .insert.le ngth - 1] === '\\n') {\n _this1 0.editor.d eleteText( _this10.ge tLength() - 1, 1);\n applied.de lete(1);\n }\ n v ar ret = d eleted.com pose(appli ed);\n return ret;\n }, sour ce);\n }\n }, {\ n key: 'setSelect ion',\n value: fu nction set Selection( index, len gth, sourc e) {\n if (inde x == null) {\n this.sel ection.set Range(null , length | | Quill.so urces.API) ;\n } else {\n var _overload 15 = overl oad(index, length, s ource);\n\ n v ar _overlo ad16 = _sl icedToArra y(_overloa d15, 4);\n \n index = _o verload16[ 0];\n length = _overloa d16[1];\n sou rce = _ove rload16[3] ;\n\n this.se lection.se tRange(new _selectio n.Range(in dex, lengt h), source );\n if (sour ce !== _em itter4.def ault.sourc es.SILENT) {\n this.s election.s crollIntoV iew(this.s crollingCo ntainer);\ n } \n }\ n }\n }, {\n key: 'setT ext',\n value: fu nction set Text(text) {\n var source = argumen ts.length > 1 && arg uments[1] !== undefi ned ? argu ments[1] : _emitter4 .default.s ources.API ;\n\n var delta = new _qu illDelta2. default(). insert(tex t);\n return th is.setCont ents(delta , source); \n }\n }, {\n key: 'upd ate',\n value: fu nction upd ate() {\n var s ource = ar guments.le ngth > 0 & & argument s[0] !== u ndefined ? arguments [0] : _emi tter4.defa ult.source s.USER;\n\ n var change = this.scrol l.update(s ource); // Will upda te selecti on before selection. update() d oes if tex t changes\ n thi s.selectio n.update(s ource);\n retur n change;\ n }\n }, {\n key: 'upda teContents ',\n va lue: funct ion update Contents(d elta) {\n var _ this11 = t his;\n\n var so urce = arg uments.len gth > 1 && arguments [1] !== un defined ? arguments[ 1] : _emit ter4.defau lt.sources .API;\n\n retur n modify.c all(this, function ( ) {\n delta = new _quil lDelta2.de fault(delt a);\n return _this11.ed itor.apply Delta(delt a, source) ;\n } , source, true);\n }\n }]) ;\n\n ret urn Quill; \n}();\n\n Quill.DEFA ULTS = {\n bounds: null,\n f ormats: nu ll,\n mod ules: {},\ n placeho lder: '',\ n readOnl y: false,\ n scrolli ngContaine r: null,\n strict: true,\n t heme: 'def ault'\n};\ nQuill.eve nts = _emi tter4.defa ult.events ;\nQuill.s ources = _ emitter4.d efault.sou rces;\n// eslint-dis able-next- line no-un def\nQuill .version = false ? 'dev' : \" 1.3.3\";\n \nQuill.im ports = {\ n 'delta' : _quillDe lta2.defau lt,\n 'pa rchment': _parchment 2.default, \n 'core/ module': _ module2.de fault,\n 'core/them e': _theme 2.default\ n};\n\nfun ction expa ndConfig(c ontainer, userConfig ) {\n use rConfig = (0, _exten d2.default )(true, {\ n conta iner: cont ainer,\n modules: {\n clipboard: true,\n keyboa rd: true,\ n his tory: true \n }\n }, userCo nfig);\n if (!userC onfig.them e || userC onfig.them e === Quil l.DEFAULTS .theme) {\ n userC onfig.them e = _theme 2.default; \n } else {\n us erConfig.t heme = Qui ll.import( 'themes/' + userConf ig.theme); \n if ( userConfig .theme == null) {\n throw new Error ('Invalid theme ' + userConfig .theme + ' . Did you register i t?');\n }\n }\n var theme Config = ( 0, _extend 2.default) (true, {}, userConfi g.theme.DE FAULTS);\n [themeCo nfig, user Config].fo rEach(func tion (conf ig) {\n config.mo dules = co nfig.modul es || {};\ n Objec t.keys(con fig.module s).forEach (function (module) { \n if (config.m odules[mod ule] === t rue) {\n conf ig.modules [module] = {};\n }\n } );\n });\ n var mod uleNames = Object.ke ys(themeCo nfig.modul es).concat (Object.ke ys(userCon fig.module s));\n va r moduleCo nfig = mod uleNames.r educe(func tion (conf ig, name) {\n var moduleCla ss = Quill .import('m odules/' + name);\n if (mod uleClass = = null) {\ n deb ug.error(' Cannot loa d ' + name + ' modul e. Are you sure you registered it?');\n } else {\n c onfig[name ] = module Class.DEFA ULTS || {} ;\n }\n return config;\n }, {});\ n // Spec ial case t oolbar sho rthand\n if (userCo nfig.modul es != null && userCo nfig.modul es.toolbar && userCo nfig.modul es.toolbar .construct or !== Obj ect) {\n userConf ig.modules .toolbar = {\n container: userConfi g.modules. toolbar\n };\n } \n userCo nfig = (0, _extend2. default)(t rue, {}, Q uill.DEFAU LTS, { mod ules: modu leConfig } , themeCon fig, userC onfig);\n ['bounds' , 'contain er', 'scro llingConta iner'].for Each(funct ion (key) {\n if (typeof us erConfig[k ey] === 's tring') {\ n use rConfig[ke y] = docum ent.queryS elector(us erConfig[k ey]);\n }\n });\ n userCon fig.module s = Object .keys(user Config.mod ules).redu ce(functio n (config, name) {\n if (us erConfig.m odules[nam e]) {\n config[ name] = us erConfig.m odules[nam e];\n } \n retu rn config; \n }, {}) ;\n retur n userConf ig;\n}\n\n // Handle selection preservati on and TEX T_CHANGE e mission\n/ / common t o modifica tion APIs\ nfunction modify(mod ifier, sou rce, index , shift) { \n if (th is.options .strict && !this.isE nabled() & & source = == _emitte r4.default .sources.U SER) {\n return n ew _quillD elta2.defa ult();\n }\n var r ange = ind ex == null ? null : this.getSe lection(); \n var ol dDelta = t his.editor .delta;\n var chang e = modifi er();\n i f (range ! = null) {\ n if (i ndex === t rue) index = range.i ndex;\n if (shift == null) {\n r ange = shi ftRange(ra nge, chang e, source) ;\n } e lse if (sh ift !== 0) {\n range = sh iftRange(r ange, inde x, shift, source);\n }\n this.setS election(r ange, _emi tter4.defa ult.source s.SILENT); \n }\n i f (change. length() > 0) {\n var _emit ter;\n\n var args = [_emitt er4.defaul t.events.T EXT_CHANGE , change, oldDelta, source];\n (_emit ter = this .emitter). emit.apply (_emitter, [_emitter 4.default. events.EDI TOR_CHANGE ].concat(a rgs));\n if (sour ce !== _em itter4.def ault.sourc es.SILENT) {\n var _emitt er2;\n\n (_emit ter2 = thi s.emitter) .emit.appl y(_emitter 2, args);\ n }\n }\n retur n change;\ n}\n\nfunc tion overl oad(index, length, n ame, value , source) {\n var f ormats = { };\n if ( typeof ind ex.index = == 'number ' && typeo f index.le ngth === ' number') { \n // A llow for t hrowaway e nd (used b y insertTe xt/insertE mbed)\n if (typeo f length ! == 'number ') {\n source = value, va lue = name , name = l ength, len gth = inde x.length, index = in dex.index; \n } el se {\n length = index.len gth, index = index.i ndex;\n }\n } el se if (typ eof length !== 'numb er') {\n source = value, va lue = name , name = l ength, len gth = 0;\n }\n // Handle for mat being object, tw o format n ame/value strings or excluded\ n if ((ty peof name === 'undef ined' ? 'u ndefined' : _typeof( name)) === 'object') {\n fo rmats = na me;\n s ource = va lue;\n } else if (t ypeof name === 'stri ng') {\n if (valu e != null) {\n formats[na me] = valu e;\n } else {\n source = name;\n }\n } \n // Han dle option al source\ n source = source | | _emitter 4.default. sources.AP I;\n retu rn [index, length, f ormats, so urce];\n}\ n\nfunctio n shiftRan ge(range, index, len gth, sourc e) {\n if (range == null) ret urn null;\ n var sta rt = void 0,\n end = void 0;\n if (index ins tanceof _q uillDelta2 .default) {\n var _map = [r ange.index , range.in dex + rang e.length]. map(functi on (pos) { \n re turn index .transform Position(p os, source !== _emit ter4.defau lt.sources .USER);\n });\n\n var _m ap2 = _sli cedToArray (_map, 2); \n\n st art = _map 2[0];\n end = _ma p2[1];\n } else {\n var _m ap3 = [ran ge.index, range.inde x + range. length].ma p(function (pos) {\n if ( pos < inde x || pos = == index & & source = == _emitte r4.default .sources.U SER) retur n pos;\n if (le ngth >= 0) {\n return p os + lengt h;\n } else {\n re turn Math. max(index, pos + len gth);\n }\n });\n\n var _map4 = _sliced ToArray(_m ap3, 2);\n \n star t = _map4[ 0];\n e nd = _map4 [1];\n }\ n return new _selec tion.Range (start, en d - start) ;\n}\n\nex ports.expa ndConfig = expandCon fig;\nexpo rts.overlo ad = overl oad;\nexpo rts.defaul t = Quill; \n\n/***/ }),\n/* 6 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\n\nvar _createCla ss = funct ion () { f unction de fineProper ties(targe t, props) { for (var i = 0; i < props.le ngth; i++) { var des criptor = props[i]; descriptor .enumerabl e = descri ptor.enume rable || f alse; desc riptor.con figurable = true; if (\"value\ " in descr iptor) des criptor.wr itable = t rue; Objec t.definePr operty(tar get, descr iptor.key, descripto r); } } re turn funct ion (Const ructor, pr otoProps, staticProp s) { if (p rotoProps) definePro perties(Co nstructor. prototype, protoProp s); if (st aticProps) definePro perties(Co nstructor, staticPro ps); retur n Construc tor; }; }( );\n\nvar _get = fun ction get( object, pr operty, re ceiver) { if (object === null) object = Function.p rototype; var desc = Object.ge tOwnProper tyDescript or(object, property) ; if (desc === undef ined) { va r parent = Object.ge tPrototype Of(object) ; if (pare nt === nul l) { retur n undefine d; } else { return g et(parent, property, receiver) ; } } else if (\"val ue\" in de sc) { retu rn desc.va lue; } els e { var ge tter = des c.get; if (getter == = undefine d) { retur n undefine d; } retur n getter.c all(receiv er); } };\ n\nvar _te xt = __web pack_requi re__(7);\n \nvar _tex t2 = _inte ropRequire Default(_t ext);\n\nv ar _parchm ent = __we bpack_requ ire__(0);\ n\nvar _pa rchment2 = _interopR equireDefa ult(_parch ment);\n\n function _ interopReq uireDefaul t(obj) { r eturn obj && obj.__e sModule ? obj : { de fault: obj }; }\n\nf unction _c lassCallCh eck(instan ce, Constr uctor) { i f (!(insta nce instan ceof Const ructor)) { throw new TypeError (\"Cannot call a cla ss as a fu nction\"); } }\n\nfu nction _po ssibleCons tructorRet urn(self, call) { if (!self) { throw new Reference Error(\"th is hasn't been initi alised - s uper() has n't been c alled\"); } return c all && (ty peof call === \"obje ct\" || ty peof call === \"func tion\") ? call : sel f; }\n\nfu nction _in herits(sub Class, sup erClass) { if (typeo f superCla ss !== \"f unction\" && superCl ass !== nu ll) { thro w new Type Error(\"Su per expres sion must either be null or a function, not \" + t ypeof supe rClass); } subClass. prototype = Object.c reate(supe rClass && superClass .prototype , { constr uctor: { v alue: subC lass, enum erable: fa lse, writa ble: true, configura ble: true } }); if ( superClass ) Object.s etPrototyp eOf ? Obje ct.setProt otypeOf(su bClass, su perClass) : subClass .__proto__ = superCl ass; }\n\n var Inline = functio n (_Parchm ent$Inline ) {\n _in herits(Inl ine, _Parc hment$Inli ne);\n\n function I nline() {\ n _clas sCallCheck (this, Inl ine);\n\n return _possibleC onstructor Return(thi s, (Inline .__proto__ || Object .getProtot ypeOf(Inli ne)).apply (this, arg uments));\ n }\n\n _createCla ss(Inline, [{\n k ey: 'forma tAt',\n value: fu nction for matAt(inde x, length, name, val ue) {\n if (Inl ine.compar e(this.sta tics.blotN ame, name) < 0 && _p archment2. default.qu ery(name, _parchment 2.default. Scope.BLOT )) {\n var bl ot = this. isolate(in dex, lengt h);\n if (val ue) {\n blo t.wrap(nam e, value); \n }\n } else {\n _ge t(Inline.p rototype._ _proto__ | | Object.g etPrototyp eOf(Inline .prototype ), 'format At', this) .call(this , index, l ength, nam e, value); \n }\ n }\n }, {\n key: 'opti mize',\n value: f unction op timize(con text) {\n _get( Inline.pro totype.__p roto__ || Object.get PrototypeO f(Inline.p rototype), 'optimize ', this).c all(this, context);\ n if (this.pare nt instanc eof Inline && Inline .compare(t his.static s.blotName , this.par ent.static s.blotName ) > 0) {\n va r parent = this.pare nt.isolate (this.offs et(), this .length()) ;\n this.move Children(p arent);\n par ent.wrap(t his);\n }\n }\n }], [ {\n key : 'compare ',\n va lue: funct ion compar e(self, ot her) {\n var se lfIndex = Inline.ord er.indexOf (self);\n var o therIndex = Inline.o rder.index Of(other); \n if (selfInde x >= 0 || otherIndex >= 0) {\n re turn selfI ndex - oth erIndex;\n } el se if (sel f === othe r) {\n return 0;\n } else if (self < o ther) {\n ret urn -1;\n } els e {\n return 1;\n }\n }\n }]);\n\n return I nline;\n}( _parchment 2.default. Inline);\n \nInline.a llowedChil dren = [In line, _par chment2.de fault.Embe d, _text2. default];\ n// Lower index mean s deeper i n the DOM tree, sinc e not foun d (-1) is for embeds \nInline.o rder = ['c ursor', 'i nline', // Must be l ower\n'und erline', ' strike', ' italic', ' bold', 'sc ript', 'li nk', 'code ' // Must be higher\ n];\n\nexp orts.defau lt = Inlin e;\n\n/*** / }),\n/* 7 */\n/*** / (functio n(module, exports, _ _webpack_r equire__) {\n\n\"use strict\"; \n\n\nObje ct.defineP roperty(ex ports, \"_ _esModule\ ", {\n va lue: true\ n});\n\nva r _parchme nt = __web pack_requi re__(0);\n \nvar _par chment2 = _interopRe quireDefau lt(_parchm ent);\n\nf unction _i nteropRequ ireDefault (obj) { re turn obj & & obj.__es Module ? o bj : { def ault: obj }; }\n\nfu nction _cl assCallChe ck(instanc e, Constru ctor) { if (!(instan ce instanc eof Constr uctor)) { throw new TypeError( \"Cannot c all a clas s as a fun ction\"); } }\n\nfun ction _pos sibleConst ructorRetu rn(self, c all) { if (!self) { throw new ReferenceE rror(\"thi s hasn't b een initia lised - su per() hasn 't been ca lled\"); } return ca ll && (typ eof call = == \"objec t\" || typ eof call = == \"funct ion\") ? c all : self ; }\n\nfun ction _inh erits(subC lass, supe rClass) { if (typeof superClas s !== \"fu nction\" & & superCla ss !== nul l) { throw new TypeE rror(\"Sup er express ion must e ither be n ull or a f unction, n ot \" + ty peof super Class); } subClass.p rototype = Object.cr eate(super Class && s uperClass. prototype, { constru ctor: { va lue: subCl ass, enume rable: fal se, writab le: true, configurab le: true } }); if (s uperClass) Object.se tPrototype Of ? Objec t.setProto typeOf(sub Class, sup erClass) : subClass. __proto__ = superCla ss; }\n\nv ar TextBlo t = functi on (_Parch ment$Text) {\n _inh erits(Text Blot, _Par chment$Tex t);\n\n f unction Te xtBlot() { \n _cla ssCallChec k(this, Te xtBlot);\n \n retu rn _possib leConstruc torReturn( this, (Tex tBlot.__pr oto__ || O bject.getP rototypeOf (TextBlot) ).apply(th is, argume nts));\n }\n\n ret urn TextBl ot;\n}(_pa rchment2.d efault.Tex t);\n\nexp orts.defau lt = TextB lot;\n\n/* **/ }),\n/ * 8 */\n/* **/ (funct ion(module , exports, __webpack _require__ ) {\n\n\"u se strict\ ";\n\n\nOb ject.defin eProperty( exports, \ "__esModul e\", {\n value: tru e\n});\n\n var _creat eClass = f unction () { functio n definePr operties(t arget, pro ps) { for (var i = 0 ; i < prop s.length; i++) { var descripto r = props[ i]; descri ptor.enume rable = de scriptor.e numerable || false; descriptor .configura ble = true ; if (\"va lue\" in d escriptor) descripto r.writable = true; O bject.defi neProperty (target, d escriptor. key, descr iptor); } } return f unction (C onstructor , protoPro ps, static Props) { i f (protoPr ops) defin ePropertie s(Construc tor.protot ype, proto Props); if (staticPr ops) defin ePropertie s(Construc tor, stati cProps); r eturn Cons tructor; } ; }();\n\n var _get = function get(object , property , receiver ) { if (ob ject === n ull) objec t = Functi on.prototy pe; var de sc = Objec t.getOwnPr opertyDesc riptor(obj ect, prope rty); if ( desc === u ndefined) { var pare nt = Objec t.getProto typeOf(obj ect); if ( parent === null) { r eturn unde fined; } e lse { retu rn get(par ent, prope rty, recei ver); } } else if (\ "value\" i n desc) { return des c.value; } else { va r getter = desc.get; if (gette r === unde fined) { r eturn unde fined; } r eturn gett er.call(re ceiver); } };\n\nvar _eventemi tter = __w ebpack_req uire__(54) ;\n\nvar _ eventemitt er2 = _int eropRequir eDefault(_ eventemitt er);\n\nva r _logger = __webpac k_require_ _(10);\n\n var _logge r2 = _inte ropRequire Default(_l ogger);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ classCallC heck(insta nce, Const ructor) { if (!(inst ance insta nceof Cons tructor)) { throw ne w TypeErro r(\"Cannot call a cl ass as a f unction\") ; } }\n\nf unction _p ossibleCon structorRe turn(self, call) { i f (!self) { throw ne w Referenc eError(\"t his hasn't been init ialised - super() ha sn't been called\"); } return call && (t ypeof call === \"obj ect\" || t ypeof call === \"fun ction\") ? call : se lf; }\n\nf unction _i nherits(su bClass, su perClass) { if (type of superCl ass !== \" function\" && superC lass !== n ull) { thr ow new Typ eError(\"S uper expre ssion must either be null or a function, not \" + typeof sup erClass); } subClass .prototype = Object. create(sup erClass && superClas s.prototyp e, { const ructor: { value: sub Class, enu merable: f alse, writ able: true , configur able: true } }); if (superClas s) Object. setPrototy peOf ? Obj ect.setPro totypeOf(s ubClass, s uperClass) : subClas s.__proto_ _ = superC lass; }\n\ nvar debug = (0, _lo gger2.defa ult)('quil l:events') ;\n\nvar E VENTS = [' selectionc hange', 'm ousedown', 'mouseup' ];\n\nEVEN TS.forEach (function (eventName ) {\n doc ument.addE ventListen er(eventNa me, functi on () {\n for (va r _len = a rguments.l ength, arg s = Array( _len), _ke y = 0; _ke y < _len; _key++) {\ n arg s[_key] = arguments[ _key];\n }\n\n [].slice. call(docum ent.queryS electorAll ('.ql-cont ainer')).f orEach(fun ction (nod e) {\n // TODO use WeakMa p\n i f (node.__ quill && n ode.__quil l.emitter) {\n var _nod e$__quill$ emitter;\n \n (_node$__q uill$emitt er = node. __quill.em itter).han dleDOM.app ly(_node$_ _quill$emi tter, args );\n }\n }); \n });\n} );\n\nvar Emitter = function ( _EventEmit ter) {\n _inherits( Emitter, _ EventEmitt er);\n\n function E mitter() { \n _cla ssCallChec k(this, Em itter);\n\ n var _ this = _po ssibleCons tructorRet urn(this, (Emitter._ _proto__ | | Object.g etPrototyp eOf(Emitte r)).call(t his));\n\n _this. listeners = {};\n _this.on( 'error', d ebug.error );\n re turn _this ;\n }\n\n _createC lass(Emitt er, [{\n key: 'em it',\n value: fun ction emit () {\n debug.lo g.apply(de bug, argum ents);\n _get(E mitter.pro totype.__p roto__ || Object.get PrototypeO f(Emitter. prototype) , 'emit', this).appl y(this, ar guments);\ n }\n }, {\n key: 'hand leDOM',\n value: function h andleDOM(e vent) {\n for ( var _len2 = argument s.length, args = Arr ay(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1 ; _key2 < _len2; _ke y2++) {\n arg s[_key2 - 1] = argum ents[_key2 ];\n }\n\n (this.lis teners[eve nt.type] | | []).forE ach(functi on (_ref) {\n var node = _ref.nod e,\n hand ler = _ref .handler;\ n\n if (event .target == = node || node.conta ins(event. target)) { \n handler. apply(unde fined, [ev ent].conca t(args));\ n } \n }) ;\n }\n }, {\n key: 'li stenDOM',\ n value : function listenDOM (eventName , node, ha ndler) {\n if ( !this.list eners[even tName]) {\ n t his.listen ers[eventN ame] = []; \n }\ n thi s.listener s[eventNam e].push({ node: node , handler: handler } );\n }\ n }]);\n\ n return Emitter;\n }(_eventem itter2.def ault);\n\n Emitter.ev ents = {\n EDITOR_C HANGE: 'ed itor-chang e',\n SCR OLL_BEFORE _UPDATE: ' scroll-bef ore-update ',\n SCRO LL_OPTIMIZ E: 'scroll -optimize' ,\n SCROL L_UPDATE: 'scroll-up date',\n SELECTION_ CHANGE: 's election-c hange',\n TEXT_CHAN GE: 'text- change'\n} ;\nEmitter .sources = {\n API: 'api',\n SILENT: ' silent',\n USER: 'u ser'\n};\n \nexports. default = Emitter;\n \n/***/ }) ,\n/* 9 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \n\nfuncti on _classC allCheck(i nstance, C onstructor ) { if (!( instance i nstanceof Constructo r)) { thro w new Type Error(\"Ca nnot call a class as a functio n\"); } }\ n\nvar Mod ule = func tion Modul e(quill) { \n var op tions = ar guments.le ngth > 1 & & argument s[1] !== u ndefined ? arguments [1] : {};\ n\n _clas sCallCheck (this, Mod ule);\n\n this.quil l = quill; \n this.o ptions = o ptions;\n} ;\n\nModul e.DEFAULTS = {};\n\n exports.de fault = Mo dule;\n\n/ ***/ }),\n /* 10 */\n /***/ (fun ction(modu le, export s, __webpa ck_require __) {\n\n\ "use stric t\";\n\n\n Object.def inePropert y(exports, \"__esMod ule\", {\n value: t rue\n});\n var levels = ['error ', 'warn', 'log', 'i nfo'];\nva r level = 'warn';\n\ nfunction debug(meth od) {\n i f (levels. indexOf(me thod) <= l evels.inde xOf(level) ) {\n v ar _consol e;\n\n for (var _ len = argu ments.leng th, args = Array(_le n > 1 ? _l en - 1 : 0 ), _key = 1; _key < _len; _key ++) {\n args[_k ey - 1] = arguments[ _key];\n }\n\n (_console = console )[method]. apply(_con sole, args ); // esli nt-disable -line no-c onsole\n }\n}\n\nfu nction nam espace(ns) {\n retu rn levels. reduce(fun ction (log ger, metho d) {\n logger[met hod] = deb ug.bind(co nsole, met hod, ns);\ n retur n logger;\ n }, {}); \n}\n\ndeb ug.level = namespace .level = f unction (n ewLevel) { \n level = newLevel ;\n};\n\ne xports.def ault = nam espace;\n\ n/***/ }), \n/* 11 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ nvar pSlic e = Array. prototype. slice;\nva r objectKe ys = __web pack_requi re__(52);\ nvar isArg uments = _ _webpack_r equire__(5 3);\n\nvar deepEqual = module. exports = function ( actual, ex pected, op ts) {\n i f (!opts) opts = {}; \n // 7.1 . All iden tical valu es are equ ivalent, a s determin ed by ===. \n if (ac tual === e xpected) { \n retu rn true;\n \n } else if (actua l instance of Date && expected instanceof Date) {\n return actual.ge tTime() == = expected .getTime() ;\n\n // 7.3. Other pairs tha t do not b oth pass t ypeof valu e == 'obje ct',\n // equivalen ce is dete rmined by ==.\n } e lse if (!a ctual || ! expected | | typeof a ctual != ' object' && typeof ex pected != 'object') {\n ret urn opts.s trict ? ac tual === e xpected : actual == expected;\ n\n // 7. 4. For all other Obj ect pairs, including Array obj ects, equi valence is \n // det ermined by having th e same num ber of own ed propert ies (as ve rified\n // with Ob ject.proto type.hasOw nProperty. call), the same set of keys\n // (altho ugh not ne cessarily the same o rder), equ ivalent va lues for e very\n // correspon ding key, and an ide ntical 'pr ototype' p roperty. N ote: this\ n // acco unts for b oth named and indexe d properti es on Arra ys.\n } e lse {\n return ob jEquiv(act ual, expec ted, opts) ;\n }\n}\ n\nfunctio n isUndefi nedOrNull( value) {\n return v alue === n ull || val ue === und efined;\n} \n\nfuncti on isBuffe r (x) {\n if (!x || typeof x !== 'objec t' || type of x.lengt h !== 'num ber') retu rn false;\ n if (typ eof x.copy !== 'func tion' || t ypeof x.sl ice !== 'f unction') {\n ret urn false; \n }\n i f (x.lengt h > 0 && t ypeof x[0] !== 'numb er') retur n false;\n return t rue;\n}\n\ nfunction objEquiv(a , b, opts) {\n var i, key;\n if (isUnd efinedOrNu ll(a) || i sUndefined OrNull(b)) \n retu rn false;\ n // an i dentical ' prototype' property. \n if (a. prototype !== b.prot otype) ret urn false; \n //~~~I 've manage d to break Object.ke ys through screwy ar guments pa ssing.\n // Conve rting to a rray solve s the prob lem.\n if (isArgume nts(a)) {\ n if (! isArgument s(b)) {\n retur n false;\n }\n a = pSlic e.call(a); \n b = pSlice.cal l(b);\n return de epEqual(a, b, opts); \n }\n i f (isBuffe r(a)) {\n if (!is Buffer(b)) {\n return fal se;\n } \n if ( a.length ! == b.lengt h) return false;\n for (i = 0; i < a. length; i+ +) {\n if (a[i] !== b[i]) return fa lse;\n }\n ret urn true;\ n }\n tr y {\n v ar ka = ob jectKeys(a ),\n kb = obj ectKeys(b) ;\n } cat ch (e) {// happens wh en one is a string l iteral and the other isn't\n return f alse;\n } \n // hav ing the sa me number of owned p roperties (keys inco rporates\n // hasOw nProperty) \n if (ka .length != kb.length )\n ret urn false; \n //the same set o f keys (al though not necessari ly the sam e order),\ n ka.sort ();\n kb. sort();\n //~~~chea p key test \n for (i = ka.leng th - 1; i >= 0; i--) {\n if (ka[i] != kb[i])\n retur n false;\n }\n //e quivalent values for every cor responding key, and\ n //~~~po ssibly exp ensive dee p test\n for (i = k a.length - 1; i >= 0 ; i--) {\n key = ka[i];\n if (!dee pEqual(a[k ey], b[key ], opts)) return fal se;\n }\n return t ypeof a == = typeof b ;\n}\n\n\n /***/ }),\ n/* 12 */\ n/***/ (fu nction(mod ule, expor ts, __webp ack_requir e__) {\n\n \"use stri ct\";\n\nO bject.defi neProperty (exports, \"__esModu le\", { va lue: true });\nvar R egistry = __webpack_ require__( 1);\nvar A ttributor = /** @cla ss */ (fun ction () { \n func tion Attri butor(attr Name, keyN ame, optio ns) {\n if (o ptions === void 0) { options = {}; }\n this .attrName = attrName ;\n this.keyN ame = keyN ame;\n var at tributeBit = Registr y.Scope.TY PE & Regis try.Scope. ATTRIBUTE; \n if (option s.scope != null) {\n // Ignor e type bit s, force a ttribute b it\n this .scope = ( options.sc ope & Regi stry.Scope .LEVEL) | attributeB it;\n }\n else { \n this.s cope = Reg istry.Scop e.ATTRIBUT E;\n }\n if (opt ions.white list != nu ll)\n thi s.whitelis t = option s.whitelis t;\n }\ n Attri butor.keys = functio n (node) { \n return []. map.call(n ode.attrib utes, func tion (item ) {\n ret urn item.n ame;\n });\n };\n Attributo r.prototyp e.add = fu nction (no de, value) {\n if (!thi s.canAdd(n ode, value ))\n retu rn false;\ n n ode.setAtt ribute(thi s.keyName, value);\n re turn true; \n };\n Attrib utor.proto type.canAd d = functi on (node, value) {\n va r match = Registry.q uery(node, Registry. Scope.BLOT & (this.s cope | Reg istry.Scop e.TYPE));\ n i f (match ! = null && (this.whit elist == n ull || thi s.whitelis t.indexOf( value) > - 1)) {\n r eturn true ;\n }\n return f alse;\n };\n A ttributor. prototype. remove = f unction (n ode) {\n node .removeAtt ribute(thi s.keyName) ;\n };\ n Attri butor.prot otype.valu e = functi on (node) {\n var value = node.ge tAttribute (this.keyN ame);\n retur n this.can Add(node, value) ? v alue : ''; \n };\n return Attributo r;\n}());\ nexports.d efault = A ttributor; \n\n\n/*** / }),\n/* 13 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\n\nObj ect.define Property(e xports, \" __esModule \", {\n v alue: true \n});\nexp orts.defau lt = expor ts.Code = undefined; \n\nvar _s licedToArr ay = funct ion () { f unction sl iceIterato r(arr, i) { var _arr = []; var _n = true ; var _d = false; va r _e = und efined; tr y { for (v ar _i = ar r[Symbol.i terator]() , _s; !(_n = (_s = _ i.next()). done); _n = true) { _arr.push( _s.value); if (i && _arr.lengt h === i) b reak; } } catch (err ) { _d = t rue; _e = err; } fin ally { try { if (!_n && _i[\"r eturn\"]) _i[\"retur n\"](); } finally { if (_d) th row _e; } } return _ arr; } ret urn functi on (arr, i ) { if (Ar ray.isArra y(arr)) { return arr ; } else i f (Symbol. iterator i n Object(a rr)) { ret urn sliceI terator(ar r, i); } e lse { thro w new Type Error(\"In valid atte mpt to des tructure n on-iterabl e instance \"); } }; }();\n\nva r _createC lass = fun ction () { function defineProp erties(tar get, props ) { for (v ar i = 0; i < props. length; i+ +) { var d escriptor = props[i] ; descript or.enumera ble = desc riptor.enu merable || false; de scriptor.c onfigurabl e = true; if (\"valu e\" in des criptor) d escriptor. writable = true; Obj ect.define Property(t arget, des criptor.ke y, descrip tor); } } return fun ction (Con structor, protoProps , staticPr ops) { if (protoProp s) defineP roperties( Constructo r.prototyp e, protoPr ops); if ( staticProp s) defineP roperties( Constructo r, staticP rops); ret urn Constr uctor; }; }();\n\nva r _get = f unction ge t(object, property, receiver) { if (obje ct === nul l) object = Function .prototype ; var desc = Object. getOwnProp ertyDescri ptor(objec t, propert y); if (de sc === und efined) { var parent = Object. getPrototy peOf(objec t); if (pa rent === n ull) { ret urn undefi ned; } els e { return get(paren t, propert y, receive r); } } el se if (\"v alue\" in desc) { re turn desc. value; } e lse { var getter = d esc.get; i f (getter === undefi ned) { ret urn undefi ned; } ret urn getter .call(rece iver); } } ;\n\nvar _ quillDelta = __webpa ck_require __(2);\n\n var _quill Delta2 = _ interopReq uireDefaul t(_quillDe lta);\n\nv ar _parchm ent = __we bpack_requ ire__(0);\ n\nvar _pa rchment2 = _interopR equireDefa ult(_parch ment);\n\n var _block = __webpa ck_require __(4);\n\n var _block 2 = _inter opRequireD efault(_bl ock);\n\nv ar _inline = __webpa ck_require __(6);\n\n var _inlin e2 = _inte ropRequire Default(_i nline);\n\ nvar _text = __webpa ck_require __(7);\n\n var _text2 = _intero pRequireDe fault(_tex t);\n\nfun ction _int eropRequir eDefault(o bj) { retu rn obj && obj.__esMo dule ? obj : { defau lt: obj }; }\n\nfunc tion _clas sCallCheck (instance, Construct or) { if ( !(instance instanceo f Construc tor)) { th row new Ty peError(\" Cannot cal l a class as a funct ion\"); } }\n\nfunct ion _possi bleConstru ctorReturn (self, cal l) { if (! self) { th row new Re ferenceErr or(\"this hasn't bee n initiali sed - supe r() hasn't been call ed\"); } r eturn call && (typeo f call === \"object\ " || typeo f call === \"functio n\") ? cal l : self; }\n\nfunct ion _inher its(subCla ss, superC lass) { if (typeof s uperClass !== \"func tion\" && superClass !== null) { throw n ew TypeErr or(\"Super expressio n must eit her be nul l or a fun ction, not \" + type of superCl ass); } su bClass.pro totype = O bject.crea te(superCl ass && sup erClass.pr ototype, { construct or: { valu e: subClas s, enumera ble: false , writable : true, co nfigurable : true } } ); if (sup erClass) O bject.setP rototypeOf ? Object. setPrototy peOf(subCl ass, super Class) : s ubClass.__ proto__ = superClass ; }\n\nvar Code = fu nction (_I nline) {\n _inherit s(Code, _I nline);\n\ n functio n Code() { \n _cla ssCallChec k(this, Co de);\n\n return _ possibleCo nstructorR eturn(this , (Code.__ proto__ || Object.ge tPrototype Of(Code)). apply(this , argument s));\n }\ n\n retur n Code;\n} (_inline2. default);\ n\nCode.bl otName = ' code';\nCo de.tagName = 'CODE'; \n\nvar Co deBlock = function ( _Block) {\ n _inheri ts(CodeBlo ck, _Block );\n\n fu nction Cod eBlock() { \n _cla ssCallChec k(this, Co deBlock);\ n\n ret urn _possi bleConstru ctorReturn (this, (Co deBlock.__ proto__ || Object.ge tPrototype Of(CodeBlo ck)).apply (this, arg uments));\ n }\n\n _createCla ss(CodeBlo ck, [{\n key: 'de lta',\n value: fu nction del ta() {\n var _t his3 = thi s;\n\n var text = this.do mNode.text Content;\n if ( text.endsW ith('\\n') ) {\n // Shou ld always be true\n tex t = text.s lice(0, -1 );\n }\n r eturn text .split('\\ n').reduce (function (delta, fr ag) {\n retur n delta.in sert(frag) .insert('\ \n', _this 3.formats( ));\n }, new _q uillDelta2 .default() );\n }\ n }, {\n key: 'f ormat',\n value: function f ormat(name , value) { \n if (name === this.stat ics.blotNa me && valu e) return; \n\n var _desce ndant = th is.descend ant(_text2 .default, this.lengt h() - 1),\ n _descenda nt2 = _sli cedToArray (_descenda nt, 1),\n t ext = _des cendant2[0 ];\n\n if (text != null) {\n text.dele teAt(text. length() - 1, 1);\n }\n _get(C odeBlock.p rototype._ _proto__ | | Object.g etPrototyp eOf(CodeBl ock.protot ype), 'for mat', this ).call(thi s, name, v alue);\n }\n }, {\n key : 'formatA t',\n v alue: func tion forma tAt(index, length, n ame, value ) {\n if (lengt h === 0) r eturn;\n if (_p archment2. default.qu ery(name, _parchment 2.default. Scope.BLOC K) == null || name = == this.st atics.blot Name && va lue === th is.statics .formats(t his.domNod e)) {\n retur n;\n }\n v ar nextNew line = thi s.newlineI ndex(index );\n if (nextNe wline < 0 || nextNew line >= in dex + leng th) return ;\n v ar prevNew line = thi s.newlineI ndex(index , true) + 1;\n var isolat eLength = nextNewlin e - prevNe wline + 1; \n va r blot = t his.isolat e(prevNewl ine, isola teLength); \n va r next = b lot.next;\ n blo t.format(n ame, value );\n if (next i nstanceof CodeBlock) {\n next.for matAt(0, i ndex - pre vNewline + length - isolateLen gth, name, value);\n }\n }\n }, {\n ke y: 'insert At',\n value: fun ction inse rtAt(index , value, d ef) {\n if (def != null) return;\n\ n var _descenda nt3 = this .descendan t(_text2.d efault, in dex),\n _de scendant4 = _slicedT oArray(_de scendant3, 2),\n text = _descen dant4[0],\ n offset = _descendan t4[1];\n\n text .insertAt( offset, va lue);\n }\n }, { \n key: 'length', \n valu e: functio n length() {\n var length = this.do mNode.text Content.le ngth;\n if (!th is.domNode .textConte nt.endsWit h('\\n')) {\n return le ngth + 1;\ n }\n retu rn length; \n }\n }, {\n key: 'new lineIndex' ,\n val ue: functi on newline Index(sear chIndex) { \n va r reverse = argument s.length > 1 && argu ments[1] ! == undefin ed ? argum ents[1] : false;\n\n if ( !reverse) {\n var offse t = this.d omNode.tex tContent.s lice(searc hIndex).in dexOf('\\n ');\n return offset > - 1 ? search Index + of fset : -1; \n } else {\n retu rn this.do mNode.text Content.sl ice(0, sea rchIndex). lastIndexO f('\\n');\ n }\n }\n } , {\n k ey: 'optim ize',\n value: fu nction opt imize(cont ext) {\n if (!t his.domNod e.textCont ent.endsWi th('\\n')) {\n this.app endChild(_ parchment2 .default.c reate('tex t', '\\n') );\n }\n _ get(CodeBl ock.protot ype.__prot o__ || Obj ect.getPro totypeOf(C odeBlock.p rototype), 'optimize ', this).c all(this, context);\ n var next = th is.next;\n if ( next != nu ll && next .prev === this && ne xt.statics .blotName === this.s tatics.blo tName && t his.static s.formats( this.domNo de) === ne xt.statics .formats(n ext.domNod e)) {\n next. optimize(c ontext);\n ne xt.moveChi ldren(this );\n next.rem ove();\n }\n }\n }, { \n key: 'replace' ,\n val ue: functi on replace (target) { \n _g et(CodeBlo ck.prototy pe.__proto __ || Obje ct.getProt otypeOf(Co deBlock.pr ototype), 'replace', this).cal l(this, ta rget);\n [].sli ce.call(th is.domNode .querySele ctorAll('* ')).forEac h(function (node) {\ n v ar blot = _parchment 2.default. find(node) ;\n if (blot == null) { \n node.par entNode.re moveChild( node);\n } el se if (blo t instance of _parchm ent2.defau lt.Embed) {\n blot.re move();\n } e lse {\n blo t.unwrap() ;\n }\n });\n } \n }], [{ \n key: 'create', \n valu e: functio n create(v alue) {\n var d omNode = _ get(CodeBl ock.__prot o__ || Obj ect.getPro totypeOf(C odeBlock), 'create', this).cal l(this, va lue);\n domNode .setAttrib ute('spell check', fa lse);\n return domNode;\n }\n } , {\n k ey: 'forma ts',\n value: fun ction form ats() {\n retur n true;\n }\n }] );\n\n re turn CodeB lock;\n}(_ block2.def ault);\n\n CodeBlock. blotName = 'code-blo ck';\nCode Block.tagN ame = 'PRE ';\nCodeBl ock.TAB = ' ';\n\ne xports.Cod e = Code;\ nexports.d efault = C odeBlock;\ n\n/***/ } ),\n/* 14 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\n\nvar _typeof = typeof Sym bol === \" function\" && typeof Symbol.it erator === \"symbol\ " ? functi on (obj) { return ty peof obj; } : functi on (obj) { return ob j && typeo f Symbol = == \"funct ion\" && o bj.constru ctor === S ymbol && o bj !== Sym bol.protot ype ? \"sy mbol\" : t ypeof obj; };\n\nvar _slicedTo Array = fu nction () { function sliceIter ator(arr, i) { var _ arr = []; var _n = t rue; var _ d = false; var _e = undefined; try { for (var _i = arr[Symbo l.iterator ](), _s; ! (_n = (_s = _i.next( )).done); _n = true) { _arr.pu sh(_s.valu e); if (i && _arr.le ngth === i ) break; } } catch ( err) { _d = true; _e = err; } finally { try { if ( !_n && _i[ \"return\" ]) _i[\"re turn\"](); } finally { if (_d) throw _e; } } retur n _arr; } return fun ction (arr , i) { if (Array.isA rray(arr)) { return arr; } els e if (Symb ol.iterato r in Objec t(arr)) { return sli ceIterator (arr, i); } else { t hrow new T ypeError(\ "Invalid a ttempt to destructur e non-iter able insta nce\"); } }; }();\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _quil lDelta = _ _webpack_r equire__(2 );\n\nvar _quillDelt a2 = _inte ropRequire Default(_q uillDelta) ;\n\nvar _ op = __web pack_requi re__(20);\ n\nvar _op 2 = _inter opRequireD efault(_op );\n\nvar _parchment = __webpa ck_require __(0);\n\n var _parch ment2 = _i nteropRequ ireDefault (_parchmen t);\n\nvar _code = _ _webpack_r equire__(1 3);\n\nvar _code2 = _interopRe quireDefau lt(_code); \n\nvar _c ursor = __ webpack_re quire__(23 );\n\nvar _cursor2 = _interopR equireDefa ult(_curso r);\n\nvar _block = __webpack_ require__( 4);\n\nvar _block2 = _interopR equireDefa ult(_block );\n\nvar _break = _ _webpack_r equire__(1 6);\n\nvar _break2 = _interopR equireDefa ult(_break );\n\nvar _clone = _ _webpack_r equire__(2 1);\n\nvar _clone2 = _interopR equireDefa ult(_clone );\n\nvar _deepEqual = __webpa ck_require __(11);\n\ nvar _deep Equal2 = _ interopReq uireDefaul t(_deepEqu al);\n\nva r _extend = __webpac k_require_ _(3);\n\nv ar _extend 2 = _inter opRequireD efault(_ex tend);\n\n function _ interopReq uireDefaul t(obj) { r eturn obj && obj.__e sModule ? obj : { de fault: obj }; }\n\nf unction _d efinePrope rty(obj, k ey, value) { if (key in obj) { Object.de fineProper ty(obj, ke y, { value : value, e numerable: true, con figurable: true, wri table: tru e }); } el se { obj[k ey] = valu e; } retur n obj; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nvar ASCII = /^[ -~] *$/;\n\nva r Editor = function () {\n fu nction Edi tor(scroll ) {\n _ classCallC heck(this, Editor);\ n\n thi s.scroll = scroll;\n this.d elta = thi s.getDelta ();\n }\n \n _creat eClass(Edi tor, [{\n key: 'a pplyDelta' ,\n val ue: functi on applyDe lta(delta) {\n var _this = this;\n\ n var consumeNe xtNewline = false;\n this .scroll.up date();\n var s crollLengt h = this.s croll.leng th();\n this.sc roll.batch Start();\n delt a = normal izeDelta(d elta);\n delta. reduce(fun ction (ind ex, op) {\ n v ar length = op.retai n || op.de lete || op .insert.le ngth || 1; \n var attrib utes = op. attributes || {};\n if (op.insert != null) {\n if (typ eof op.ins ert === 's tring') {\ n var tex t = op.ins ert;\n if (text.end sWith('\\n ') && cons umeNextNew line) {\n consume NextNewlin e = false; \n text = text.sl ice(0, -1) ;\n }\n if (index >= scrollL ength && ! text.endsW ith('\\n') ) {\n c onsumeNext Newline = true;\n } \n _this. scroll.ins ertAt(inde x, text);\ n\n var _ scroll$lin e = _this. scroll.lin e(index),\ n _sc roll$line2 = _sliced ToArray(_s croll$line , 2),\n line = _scroll$li ne2[0],\n offse t = _scrol l$line2[1] ;\n\n var formats = (0, _exte nd2.defaul t)({}, (0, _block.bu bbleFormat s)(line)); \n if (li ne instanc eof _block 2.default) {\n va r _line$de scendant = line.desc endant(_pa rchment2.d efault.Lea f, offset) ,\n _line$des cendant2 = _slicedTo Array(_lin e$descenda nt, 1),\n lea f = _line$ descendant 2[0];\n\n formats = (0, _ex tend2.defa ult)(forma ts, (0, _b lock.bubbl eFormats)( leaf));\n }\n attr ibutes = _ op2.defaul t.attribut es.diff(fo rmats, att ributes) | | {};\n } e lse if (_t ypeof(op.i nsert) === 'object') {\n var key = Obje ct.keys(op .insert)[0 ]; // Ther e should o nly be one key\n if (key == n ull) retur n index;\n _this.sc roll.inser tAt(index, key, op.i nsert[key] );\n }\n scr ollLength += length; \n }\n Object.ke ys(attribu tes).forEa ch(functio n (name) { \n _this.sc roll.forma tAt(index, length, n ame, attri butes[name ]);\n });\n retu rn index + length;\n }, 0 );\n delta.redu ce(functio n (index, op) {\n if (t ypeof op.d elete === 'number') {\n _this.s croll.dele teAt(index , op.delet e);\n retur n index;\n }\ n r eturn inde x + (op.re tain || op .insert.le ngth || 1) ;\n } , 0);\n this.sc roll.batch End();\n return this.upda te(delta); \n }\n }, {\n key: 'del eteText',\ n value : function deleteTex t(index, l ength) {\n this .scroll.de leteAt(ind ex, length );\n return thi s.update(n ew _quillD elta2.defa ult().reta in(index). delete(len gth));\n }\n }, {\n key : 'formatL ine',\n value: fu nction for matLine(in dex, lengt h) {\n var _thi s2 = this; \n\n var format s = argume nts.length > 2 && ar guments[2] !== undef ined ? arg uments[2] : {};\n\n this. scroll.upd ate();\n Object .keys(form ats).forEa ch(functio n (format) {\n if (_thi s2.scroll. whitelist != null && !_this2.s croll.whit elist[form at]) retur n;\n var line s = _this2 .scroll.li nes(index, Math.max( length, 1) );\n var leng thRemainin g = length ;\n lines.for Each(funct ion (line) {\n var li neLength = line.leng th();\n if (!(line in stanceof _ code2.defa ult)) {\n line.form at(format, formats[f ormat]);\n } else {\n var code Index = in dex - line .offset(_t his2.scrol l);\n var codeLengt h = line.n ewlineInde x(codeInde x + length Remaining) - codeInd ex + 1;\n line.form atAt(codeI ndex, code Length, fo rmat, form ats[format ]);\n }\n le ngthRemain ing -= lin eLength;\n }) ;\n } );\n this.scrol l.optimize ();\n return th is.update( new _quill Delta2.def ault().ret ain(index) .retain(le ngth, (0, _clone2.de fault)(for mats)));\n }\n } , {\n k ey: 'forma tText',\n value: function f ormatText( index, len gth) {\n var _t his3 = thi s;\n\n var form ats = argu ments.leng th > 2 && arguments[ 2] !== und efined ? a rguments[2 ] : {};\n\ n Obj ect.keys(f ormats).fo rEach(func tion (form at) {\n _this 3.scroll.f ormatAt(in dex, lengt h, format, formats[f ormat]);\n });\ n ret urn this.u pdate(new _quillDelt a2.default ().retain( index).ret ain(length , (0, _clo ne2.defaul t)(formats )));\n }\n }, {\ n key: 'getConten ts',\n value: fun ction getC ontents(in dex, lengt h) {\n return t his.delta. slice(inde x, index + length);\ n }\n }, {\n key: 'getD elta',\n value: f unction ge tDelta() { \n re turn this. scroll.lin es().reduc e(function (delta, l ine) {\n retu rn delta.c oncat(line .delta()); \n }, new _quil lDelta2.de fault());\ n }\n }, {\n key: 'getF ormat',\n value: function g etFormat(i ndex) {\n var l ength = ar guments.le ngth > 1 & & argument s[1] !== u ndefined ? arguments [1] : 0;\n \n va r lines = [],\n leave s = [];\n if (l ength === 0) {\n this.s croll.path (index).fo rEach(func tion (path ) {\n var _ path = _sl icedToArra y(path, 1) ,\n blo t = _path[ 0];\n\n if (blot inst anceof _bl ock2.defau lt) {\n l ines.push( blot);\n } else if (b lot instan ceof _parc hment2.def ault.Leaf) {\n leav es.push(bl ot);\n }\n }); \n } else {\n line s = this.s croll.line s(index, l ength);\n lea ves = this .scroll.de scendants( _parchment 2.default. Leaf, inde x, length) ;\n } \n va r formatsA rr = [line s, leaves] .map(funct ion (blots ) {\n if (blo ts.length === 0) ret urn {};\n var formats = (0, _bloc k.bubbleFo rmats)(blo ts.shift() );\n while (O bject.keys (formats). length > 0 ) {\n var b lot = blot s.shift(); \n if (blot == null) return for mats;\n for mats = com bineFormat s((0, _blo ck.bubbleF ormats)(bl ot), forma ts);\n }\n retur n formats; \n }) ;\n r eturn _ext end2.defau lt.apply(_ extend2.de fault, for matsArr);\ n }\n }, {\n key: 'getT ext',\n value: fu nction get Text(index , length) {\n r eturn this .getConten ts(index, length).fi lter(funct ion (op) { \n return typ eof op.ins ert === 's tring';\n }).ma p(function (op) {\n ret urn op.ins ert;\n }).join( '');\n }\n }, {\ n key: 'insertEmb ed',\n value: fun ction inse rtEmbed(in dex, embed , value) { \n th is.scroll. insertAt(i ndex, embe d, value); \n re turn this. update(new _quillDel ta2.defaul t().retain (index).in sert(_defi neProperty ({}, embed , value))) ;\n }\n }, {\n key: 'in sertText', \n valu e: functio n insertTe xt(index, text) {\n var _ this4 = th is;\n\n var for mats = arg uments.len gth > 2 && arguments [2] !== un defined ? arguments[ 2] : {};\n \n te xt = text. replace(/\ \r\\n/g, ' \\n').repl ace(/\\r/g , '\\n');\ n thi s.scroll.i nsertAt(in dex, text) ;\n O bject.keys (formats). forEach(fu nction (fo rmat) {\n _th is4.scroll .formatAt( index, tex t.length, format, fo rmats[form at]);\n });\n return this.upda te(new _qu illDelta2. default(). retain(ind ex).insert (text, (0, _clone2.d efault)(fo rmats)));\ n }\n }, {\n key: 'isBl ank',\n value: fu nction isB lank() {\n if ( this.scrol l.children .length == 0) return true;\n if (th is.scroll. children.l ength > 1) return fa lse;\n var bloc k = this.s croll.chil dren.head; \n if (block.st atics.blot Name !== _ block2.def ault.blotN ame) retur n false;\n if ( block.chil dren.lengt h > 1) ret urn false; \n re turn block .children. head insta nceof _bre ak2.defaul t;\n }\ n }, {\n key: 'r emoveForma t',\n v alue: func tion remov eFormat(in dex, lengt h) {\n var text = this.ge tText(inde x, length) ;\n\n var _scro ll$line3 = this.scro ll.line(in dex + leng th),\n _scr oll$line4 = _slicedT oArray(_sc roll$line3 , 2),\n lin e = _scrol l$line4[0] ,\n offset = _scroll$ line4[1];\ n\n v ar suffixL ength = 0, \n suffix = new _quil lDelta2.de fault();\n if ( line != nu ll) {\n if (! (line inst anceof _co de2.defaul t)) {\n suf fixLength = line.len gth() - of fset;\n } els e {\n suffi xLength = line.newli neIndex(of fset) - of fset + 1;\ n } \n suffix = l ine.delta( ).slice(of fset, offs et + suffi xLength - 1).insert( '\\n');\n }\n var co ntents = t his.getCon tents(inde x, length + suffixLe ngth);\n var di ff = conte nts.diff(n ew _quillD elta2.defa ult().inse rt(text).c oncat(suff ix));\n var del ta = new _ quillDelta 2.default( ).retain(i ndex).conc at(diff);\ n ret urn this.a pplyDelta( delta);\n }\n }, {\n ke y: 'update ',\n va lue: funct ion update (change) { \n va r mutation s = argume nts.length > 1 && ar guments[1] !== undef ined ? arg uments[1] : [];\n var cur sorIndex = arguments .length > 2 && argum ents[2] != = undefine d ? argume nts[2] : u ndefined;\ n\n v ar oldDelt a = this.d elta;\n if (mut ations.len gth === 1 && mutatio ns[0].type === 'char acterData' && mutati ons[0].tar get.data.m atch(ASCII ) && _parc hment2.def ault.find( mutations[ 0].target) ) {\n // Opti mization f or charact er changes \n var textBl ot = _parc hment2.def ault.find( mutations[ 0].target) ;\n var forma ts = (0, _ block.bubb leFormats) (textBlot) ;\n var index = textBlo t.offset(t his.scroll );\n var oldV alue = mut ations[0]. oldValue.r eplace(_cu rsor2.defa ult.CONTEN TS, '');\n va r oldText = new _qui llDelta2.d efault().i nsert(oldV alue);\n var newText = new _quill Delta2.def ault().ins ert(textBl ot.value() );\n var diff Delta = ne w _quillDe lta2.defau lt().retai n(index).c oncat(oldT ext.diff(n ewText, cu rsorIndex) );\n change = diffDelta .reduce(fu nction (de lta, op) { \n if (op.i nsert) {\n return d elta.inser t(op.inser t, formats );\n } else {\n retu rn delta.p ush(op);\n }\n }, new _q uillDelta2 .default() );\n this.del ta = oldDe lta.compos e(change); \n } else {\n this .delta = t his.getDel ta();\n if (! change || !(0, _deep Equal2.def ault)(oldD elta.compo se(change) , this.del ta)) {\n ch ange = old Delta.diff (this.delt a, cursorI ndex);\n }\n }\n return change;\n }\n } ]);\n\n r eturn Edit or;\n}();\ n\nfunctio n combineF ormats(for mats, comb ined) {\n return Ob ject.keys( combined). reduce(fun ction (mer ged, name) {\n if (formats[ name] == n ull) retur n merged;\ n if (c ombined[na me] === fo rmats[name ]) {\n merged[n ame] = com bined[name ];\n } else if (A rray.isArr ay(combine d[name])) {\n i f (combine d[name].in dexOf(form ats[name]) < 0) {\n mer ged[name] = combined [name].con cat([forma ts[name]]) ;\n } \n } el se {\n merged[n ame] = [co mbined[nam e], format s[name]];\ n }\n return m erged;\n }, {});\n} \n\nfuncti on normali zeDelta(de lta) {\n return del ta.reduce( function ( delta, op) {\n if (op.inser t === 1) { \n va r attribut es = (0, _ clone2.def ault)(op.a ttributes) ;\n d elete attr ibutes['im age'];\n return delta.ins ert({ imag e: op.attr ibutes.ima ge }, attr ibutes);\n }\n if (op.at tributes ! = null && (op.attrib utes.list === true | | op.attri butes.bull et === tru e)) {\n op = (0 , _clone2. default)(o p);\n if (op.at tributes.l ist) {\n op.a ttributes. list = 'or dered';\n } els e {\n op.attr ibutes.lis t = 'bulle t';\n delete op.attribu tes.bullet ;\n } \n }\n if (typ eof op.ins ert === 's tring') {\ n var text = op .insert.re place(/\\r \\n/g, '\\ n').replac e(/\\r/g, '\\n');\n retur n delta.in sert(text, op.attrib utes);\n }\n r eturn delt a.push(op) ;\n }, ne w _quillDe lta2.defau lt());\n}\ n\nexports .default = Editor;\n \n/***/ }) ,\n/* 15 * /\n/***/ ( function(m odule, exp orts, __we bpack_requ ire__) {\n \n\"use st rict\";\n\ n\nObject. defineProp erty(expor ts, \"__es Module\", {\n value : true\n}) ;\nexports .default = exports.R ange = und efined;\n\ nvar _slic edToArray = function () { func tion slice Iterator(a rr, i) { v ar _arr = []; var _n = true; v ar _d = fa lse; var _ e = undefi ned; try { for (var _i = arr[S ymbol.iter ator](), _ s; !(_n = (_s = _i.n ext()).don e); _n = t rue) { _ar r.push(_s. value); if (i && _ar r.length = == i) brea k; } } cat ch (err) { _d = true ; _e = err ; } finall y { try { if (!_n && _i[\"retu rn\"]) _i[ \"return\" ](); } fin ally { if (_d) throw _e; } } r eturn _arr ; } return function (arr, i) { if (Array .isArray(a rr)) { ret urn arr; } else if ( Symbol.ite rator in O bject(arr) ) { return sliceIter ator(arr, i); } else { throw n ew TypeErr or(\"Inval id attempt to destru cture non- iterable i nstance\") ; } }; }() ;\n\nvar _ createClas s = functi on () { fu nction def inePropert ies(target , props) { for (var i = 0; i < props.len gth; i++) { var desc riptor = p rops[i]; d escriptor. enumerable = descrip tor.enumer able || fa lse; descr iptor.conf igurable = true; if (\"value\" in descri ptor) desc riptor.wri table = tr ue; Object .definePro perty(targ et, descri ptor.key, descriptor ); } } ret urn functi on (Constr uctor, pro toProps, s taticProps ) { if (pr otoProps) defineProp erties(Con structor.p rototype, protoProps ); if (sta ticProps) defineProp erties(Con structor, staticProp s); return Construct or; }; }() ;\n\nvar _ parchment = __webpac k_require_ _(0);\n\nv ar _parchm ent2 = _in teropRequi reDefault( _parchment );\n\nvar _clone = _ _webpack_r equire__(2 1);\n\nvar _clone2 = _interopR equireDefa ult(_clone );\n\nvar _deepEqual = __webpa ck_require __(11);\n\ nvar _deep Equal2 = _ interopReq uireDefaul t(_deepEqu al);\n\nva r _emitter 3 = __webp ack_requir e__(8);\n\ nvar _emit ter4 = _in teropRequi reDefault( _emitter3) ;\n\nvar _ logger = _ _webpack_r equire__(1 0);\n\nvar _logger2 = _interop RequireDef ault(_logg er);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _toC onsumableA rray(arr) { if (Arra y.isArray( arr)) { fo r (var i = 0, arr2 = Array(arr .length); i < arr.le ngth; i++) { arr2[i] = arr[i]; } return arr2; } el se { retur n Array.fr om(arr); } }\n\nfunc tion _clas sCallCheck (instance, Construct or) { if ( !(instance instanceo f Construc tor)) { th row new Ty peError(\" Cannot cal l a class as a funct ion\"); } }\n\nvar d ebug = (0, _logger2. default)(' quill:sele ction');\n \nvar Rang e = functi on Range(i ndex) {\n var lengt h = argume nts.length > 1 && ar guments[1] !== undef ined ? arg uments[1] : 0;\n\n _classCall Check(this , Range);\ n\n this. index = in dex;\n th is.length = length;\ n};\n\nvar Selection = functio n () {\n function S election(s croll, emi tter) {\n var _th is = this; \n\n _c lassCallCh eck(this, Selection) ;\n\n t his.emitte r = emitte r;\n th is.scroll = scroll;\ n this. composing = false;\n this.m ouseDown = false;\n this.ro ot = this. scroll.dom Node;\n this.curs or = _parc hment2.def ault.creat e('cursor' , this);\n // sav edRange is last non- null range \n this .lastRange = this.sa vedRange = new Range (0, 0);\n this.ha ndleCompos ition();\n this.h andleDragg ing();\n this.emi tter.liste nDOM('sele ctionchang e', docume nt, functi on () {\n if (! _this.mous eDown) {\n se tTimeout(_ this.updat e.bind(_th is, _emitt er4.defaul t.sources. USER), 1); \n }\ n });\n this.e mitter.on( _emitter4. default.ev ents.EDITO R_CHANGE, function ( type, delt a) {\n if (type === _emit ter4.defau lt.events. TEXT_CHANG E && delta .length() > 0) {\n _thi s.update(_ emitter4.d efault.sou rces.SILEN T);\n }\n }) ;\n thi s.emitter. on(_emitte r4.default .events.SC ROLL_BEFOR E_UPDATE, function ( ) {\n if (!_thi s.hasFocus ()) return ;\n v ar native = _this.ge tNativeRan ge();\n if (nat ive == nul l) return; \n if (native.s tart.node === _this. cursor.tex tNode) ret urn; // cu rsor.resto re() will handle\n // TOD O unclear if this ha s negative side effe cts\n _this.emi tter.once( _emitter4. default.ev ents.SCROL L_UPDATE, function ( ) {\n try {\n _this.setN ativeRange (native.st art.node, native.sta rt.offset, native.en d.node, na tive.end.o ffset);\n } c atch (igno red) {}\n });\n });\n this.em itter.on(_ emitter4.d efault.eve nts.SCROLL _OPTIMIZE, function (mutations , context) {\n if (contex t.range) { \n var _conte xt$range = context.r ange,\n s tartNode = _context$ range.star tNode,\n startOffse t = _conte xt$range.s tartOffset ,\n endNo de = _cont ext$range. endNode,\n endOffse t = _conte xt$range.e ndOffset;\ n\n _this.set NativeRang e(startNod e, startOf fset, endN ode, endOf fset);\n }\n });\n this.updat e(_emitter 4.default. sources.SI LENT);\n }\n\n _cr eateClass( Selection, [{\n k ey: 'handl eCompositi on',\n value: fun ction hand leComposit ion() {\n var _ this2 = th is;\n\n this.ro ot.addEven tListener( 'compositi onstart', function ( ) {\n _this2. composing = true;\n });\n this .root.addE ventListen er('compos itionend', function () {\n _this2 .composing = false;\ n i f (_this2. cursor.par ent) {\n va r range = _this2.cur sor.restor e();\n if ( !range) re turn;\n set Timeout(fu nction () {\n _this 2.setNativ eRange(ran ge.startNo de, range. startOffse t, range.e ndNode, ra nge.endOff set);\n }, 1);\n }\n });\n }\n }, { \n key: 'handleDr agging',\n value: function handleDrag ging() {\n var _this3 = t his;\n\n this.e mitter.lis tenDOM('mo usedown', document.b ody, funct ion () {\n _t his3.mouse Down = tru e;\n });\n this.emit ter.listen DOM('mouse up', docum ent.body, function ( ) {\n _this3. mouseDown = false;\n _t his3.updat e(_emitter 4.default. sources.US ER);\n });\n }\n }, { \n key: 'focus',\ n value : function focus() { \n if (this.has Focus()) r eturn;\n this.r oot.focus( );\n this.setRa nge(this.s avedRange) ;\n }\n }, {\n key: 'fo rmat',\n value: f unction fo rmat(_form at, value) {\n if (this.s croll.whit elist != n ull && !th is.scroll. whitelist[ _format]) return;\n this. scroll.upd ate();\n var na tiveRange = this.get NativeRang e();\n if (nati veRange == null || ! nativeRang e.native.c ollapsed | | _parchme nt2.defaul t.query(_f ormat, _pa rchment2.d efault.Sco pe.BLOCK)) return;\n if ( nativeRang e.start.no de !== thi s.cursor.t extNode) { \n var blot = _parchmen t2.default .find(nati veRange.st art.node, false);\n if (blot == n ull) retur n;\n // TODO Give blot ability to not split \n if (blot i nstanceof _parchment 2.default. Leaf) {\n v ar after = blot.spli t(nativeRa nge.start. offset);\n blot.paren t.insertBe fore(this. cursor, af ter);\n } els e {\n blot. insertBefo re(this.cu rsor, nati veRange.st art.node); // Should never hap pen\n }\n this.c ursor.atta ch();\n }\n this.cur sor.format (_format, value);\n this. scroll.opt imize();\n this .setNative Range(this .cursor.te xtNode, th is.cursor. textNode.d ata.length );\n this.updat e();\n }\n }, {\ n key: 'getBounds ',\n va lue: funct ion getBou nds(index) {\n var length = argumen ts.length > 1 && arg uments[1] !== undefi ned ? argu ments[1] : 0;\n\n var scr ollLength = this.scr oll.length ();\n index = M ath.min(in dex, scrol lLength - 1);\n length = Math.min(i ndex + len gth, scrol lLength - 1) - index ;\n v ar node = void 0,\n _ scroll$lea f = this.s croll.leaf (index),\n _scroll$le af2 = _sli cedToArray (_scroll$l eaf, 2),\n leaf = _sc roll$leaf2 [0],\n offs et = _scro ll$leaf2[1 ];\n if (leaf = = null) re turn null; \n\n var _leaf$ position = leaf.posi tion(offse t, true);\ n\n v ar _leaf$p osition2 = _slicedTo Array(_lea f$position , 2);\n\n node = _leaf$po sition2[0] ;\n o ffset = _l eaf$positi on2[1];\n\ n var range = d ocument.cr eateRange( );\n if (length > 0) {\n ran ge.setStar t(node, of fset);\n\n va r _scroll$ leaf3 = th is.scroll. leaf(index + length) ;\n\n var _sc roll$leaf4 = _sliced ToArray(_s croll$leaf 3, 2);\n\n le af = _scro ll$leaf4[0 ];\n offset = _scroll$l eaf4[1];\n \n if (leaf = = null) re turn null; \n\n var _lea f$position 3 = leaf.p osition(of fset, true );\n\n var _l eaf$positi on4 = _sli cedToArray (_leaf$pos ition3, 2) ;\n\n node = _leaf$posi tion4[0];\ n o ffset = _l eaf$positi on4[1];\n\ n r ange.setEn d(node, of fset);\n retu rn range.g etBounding ClientRect ();\n } else {\ n v ar side = 'left';\n var rect = vo id 0;\n if (n ode instan ceof Text) {\n if (of fset < nod e.data.len gth) {\n range.setS tart(node, offset);\ n range.s etEnd(node , offset + 1);\n } el se {\n ra nge.setSta rt(node, o ffset - 1) ;\n range .setEnd(no de, offset );\n side = 'right' ;\n }\n rect = range.g etBounding ClientRect ();\n } else {\n rect = leaf.domNo de.getBoun dingClient Rect();\n i f (offset > 0) side = 'right'; \n }\n return {\ n bottom: r ect.top + rect.heigh t,\n height : rect.hei ght,\n left : rect[sid e],\n right : rect[sid e],\n top: rect.top,\ n width: 0\ n } ;\n } \n }\n }, {\n key: 'get NativeRang e',\n v alue: func tion getNa tiveRange( ) {\n var selec tion = doc ument.getS election() ;\n i f (selecti on == null || select ion.rangeC ount <= 0) return nu ll;\n var nativ eRange = s election.g etRangeAt( 0);\n if (nativ eRange == null) retu rn null;\n var range = th is.normali zeNative(n ativeRange );\n debug.info ('getNativ eRange', r ange);\n return range;\n }\n }, {\n ke y: 'getRan ge',\n value: fun ction getR ange() {\n var normalized = this.ge tNativeRan ge();\n if (nor malized == null) ret urn [null, null];\n var r ange = thi s.normaliz edToRange( normalized );\n return [ra nge, norma lized];\n }\n }, {\n ke y: 'hasFoc us',\n value: fun ction hasF ocus() {\n retu rn documen t.activeEl ement === this.root; \n }\n }, {\n key: 'nor malizedToR ange',\n value: f unction no rmalizedTo Range(rang e) {\n var _thi s4 = this; \n\n var positi ons = [[ra nge.start. node, rang e.start.of fset]];\n if (! range.nati ve.collaps ed) {\n posit ions.push( [range.end .node, ran ge.end.off set]);\n }\n var ind exes = pos itions.map (function (position) {\n var _pos ition = _s licedToArr ay(positio n, 2),\n node = _po sition[0], \n offset = _positi on[1];\n\n va r blot = _ parchment2 .default.f ind(node, true);\n var index = bl ot.offset( _this4.scr oll);\n if (o ffset === 0) {\n retu rn index;\ n } else if ( blot insta nceof _par chment2.de fault.Cont ainer) {\n return ind ex + blot. length();\ n } else {\n r eturn inde x + blot.i ndex(node, offset);\ n } \n }) ;\n v ar end = M ath.min(Ma th.max.app ly(Math, _ toConsumab leArray(in dexes)), t his.scroll .length() - 1);\n var sta rt = Math. min.apply( Math, [end ].concat(_ toConsumab leArray(in dexes)));\ n ret urn new Ra nge(start, end - sta rt);\n }\n }, {\ n key: 'normalize Native',\n value: function normalizeN ative(nati veRange) { \n if (!contain s(this.roo t, nativeR ange.start Container) || !nativ eRange.col lapsed && !contains( this.root, nativeRan ge.endCont ainer)) {\ n r eturn null ;\n } \n va r range = {\n start: { node: nati veRange.st artContain er, offset : nativeRa nge.startO ffset },\n en d: { node: nativeRan ge.endCont ainer, off set: nativ eRange.end Offset },\ n n ative: nat iveRange\n };\n [ran ge.start, range.end] .forEach(f unction (p osition) { \n var node = position. node,\n o ffset = po sition.off set;\n while (!(node in stanceof T ext) && no de.childNo des.length > 0) {\n i f (node.ch ildNodes.l ength > of fset) {\n node = no de.childNo des[offset ];\n offs et = 0;\n } else if ( node.child Nodes.leng th === off set) {\n node = nod e.lastChil d;\n offs et = node instanceof Text ? no de.data.le ngth : nod e.childNod es.length + 1;\n } el se {\n br eak;\n }\n }\n po sition.nod e = node, position.o ffset = of fset;\n });\n return range;\n }\n }, {\n ke y: 'rangeT oNative',\ n value : function rangeToNa tive(range ) {\n var _this 5 = this;\ n\n v ar indexes = range.c ollapsed ? [range.in dex] : [ra nge.index, range.ind ex + range .length];\ n var args = [] ;\n v ar scrollL ength = th is.scroll. length();\ n ind exes.forEa ch(functio n (index, i) {\n index = Math.min (scrollLen gth - 1, i ndex);\n var node = voi d 0,\n _s croll$leaf 5 = _this5 .scroll.le af(index), \n _scrol l$leaf6 = _slicedToA rray(_scro ll$leaf5, 2),\n lea f = _scrol l$leaf6[0] ,\n offse t = _scrol l$leaf6[1] ;\n var _leaf $position5 = leaf.po sition(off set, i !== 0);\n\n var _leaf$posi tion6 = _s licedToArr ay(_leaf$p osition5, 2);\n\n node = _leaf$po sition6[0] ;\n offset = _leaf$posi tion6[1];\ n\n args.push (node, off set);\n });\n if (ar gs.length < 2) {\n args = args.co ncat(args) ;\n } \n re turn args; \n }\n }, {\n key: 'scr ollIntoVie w',\n v alue: func tion scrol lIntoView( scrollingC ontainer) {\n v ar range = this.last Range;\n if (ra nge == nul l) return; \n va r bounds = this.getB ounds(rang e.index, r ange.lengt h);\n if (bound s == null) return;\n var limit = th is.scroll. length() - 1;\n\n var _sc roll$line = this.scr oll.line(M ath.min(ra nge.index, limit)),\ n _scroll$l ine2 = _sl icedToArra y(_scroll$ line, 1),\ n first = _ scroll$lin e2[0];\n\n var last = fir st;\n if (range .length > 0) {\n var _s croll$line 3 = this.s croll.line (Math.min( range.inde x + range. length, li mit));\n\n va r _scroll$ line4 = _s licedToArr ay(_scroll $line3, 1) ;\n\n last = _scroll$li ne4[0];\n }\n if (fi rst == nul l || last == null) r eturn;\n var sc rollBounds = scrolli ngContaine r.getBound ingClientR ect();\n if (bo unds.top < scrollBou nds.top) { \n scrollingC ontainer.s crollTop - = scrollBo unds.top - bounds.to p;\n } else if (bounds.bo ttom > scr ollBounds. bottom) {\ n s crollingCo ntainer.sc rollTop += bounds.bo ttom - scr ollBounds. bottom;\n }\n }\n }, {\n key : 'setNati veRange',\ n value : function setNative Range(star tNode, sta rtOffset) {\n v ar endNode = argumen ts.length > 2 && arg uments[2] !== undefi ned ? argu ments[2] : startNode ;\n v ar endOffs et = argum ents.lengt h > 3 && a rguments[3 ] !== unde fined ? ar guments[3] : startOf fset;\n var for ce = argum ents.lengt h > 4 && a rguments[4 ] !== unde fined ? ar guments[4] : false;\ n\n d ebug.info( 'setNative Range', st artNode, s tartOffset , endNode, endOffset );\n if (startN ode != nul l && (this .root.pare ntNode == null || st artNode.pa rentNode = = null || endNode.pa rentNode = = null)) { \n return;\n }\n var se lection = document.g etSelectio n();\n if (sele ction == n ull) retur n;\n if (startN ode != nul l) {\n if (!t his.hasFoc us()) this .root.focu s();\n var na tive = (th is.getNati veRange() || {}).nat ive;\n if (na tive == nu ll || forc e || start Node !== n ative.star tContainer || startO ffset !== native.sta rtOffset | | endNode !== native .endContai ner || end Offset !== native.en dOffset) { \n\n if (st artNode.ta gName == \ "BR\") {\n startOff set = [].i ndexOf.cal l(startNod e.parentNo de.childNo des, start Node);\n startNode = startNod e.parentNo de;\n }\n if (endNode. tagName == \"BR\") { \n endOff set = [].i ndexOf.cal l(endNode. parentNode .childNode s, endNode );\n endN ode = endN ode.parent Node;\n }\n var range = document .createRan ge();\n ran ge.setStar t(startNod e, startOf fset);\n ra nge.setEnd (endNode, endOffset) ;\n selecti on.removeA llRanges() ;\n selecti on.addRang e(range);\ n } \n } else {\n sele ction.remo veAllRange s();\n this.r oot.blur() ;\n document. body.focus (); // roo t.blur() n ot enough on IE11+Tr avis+Sauce Labs (but not local VMs)\n }\n } \n }, {\n key: ' setRange', \n valu e: functio n setRange (range) {\ n var force = a rguments.l ength > 1 && argumen ts[1] !== undefined ? argument s[1] : fal se;\n var sourc e = argume nts.length > 2 && ar guments[2] !== undef ined ? arg uments[2] : _emitter 4.default. sources.AP I;\n\n if (type of force = == 'string ') {\n source = force;\ n f orce = fal se;\n }\n debug.info ('setRange ', range); \n if (range != null) {\n va r args = t his.rangeT oNative(ra nge);\n this. setNativeR ange.apply (this, _to Consumable Array(args ).concat([ force]));\ n } e lse {\n this. setNativeR ange(null) ;\n } \n th is.update( source);\n }\n } , {\n k ey: 'updat e',\n v alue: func tion updat e() {\n var sou rce = argu ments.leng th > 0 && arguments[ 0] !== und efined ? a rguments[0 ] : _emitt er4.defaul t.sources. USER;\n\n var o ldRange = this.lastR ange;\n\n var _ getRange = this.getR ange(),\n _ getRange2 = _slicedT oArray(_ge tRange, 2) ,\n lastRan ge = _getR ange2[0],\ n nativeRan ge = _getR ange2[1];\ n\n t his.lastRa nge = last Range;\n if (th is.lastRan ge != null ) {\n this.sa vedRange = this.last Range;\n }\n if (!(0 , _deepEqu al2.defaul t)(oldRang e, this.la stRange)) {\n var _emit ter;\n\n if ( !this.comp osing && n ativeRange != null & & nativeRa nge.native .collapsed && native Range.star t.node !== this.curs or.textNod e) {\n this .cursor.re store();\n }\ n v ar args = [_emitter4 .default.e vents.SELE CTION_CHAN GE, (0, _c lone2.defa ult)(this. lastRange) , (0, _clo ne2.defaul t)(oldRang e), source ];\n (_emitte r = this.e mitter).em it.apply(_ emitter, [ _emitter4. default.ev ents.EDITO R_CHANGE]. concat(arg s));\n if (so urce !== _ emitter4.d efault.sou rces.SILEN T) {\n var _emitter2; \n\n (_emit ter2 = thi s.emitter) .emit.appl y(_emitter 2, args);\ n } \n }\ n }\n }]);\n\n return Sel ection;\n} ();\n\nfun ction cont ains(paren t, descend ant) {\n try {\n // Firefo x inserts inaccessib le nodes a round vide o elements \n desc endant.par entNode;\n } catch (e) {\n return fa lse;\n }\ n // IE11 has bug w ith Text n odes\n // https://c onnect.mic rosoft.com /IE/feedba ck/details /780874/no de-contain s-is-incor rect\n if (descenda nt instanc eof Text) {\n des cendant = descendant .parentNod e;\n }\n return pa rent.conta ins(descen dant);\n}\ n\nexports .Range = R ange;\nexp orts.defau lt = Selec tion;\n\n/ ***/ }),\n /* 16 */\n /***/ (fun ction(modu le, export s, __webpa ck_require __) {\n\n\ "use stric t\";\n\n\n Object.def inePropert y(exports, \"__esMod ule\", {\n value: t rue\n});\n \nvar _cre ateClass = function () { funct ion define Properties (target, p rops) { fo r (var i = 0; i < pr ops.length ; i++) { v ar descrip tor = prop s[i]; desc riptor.enu merable = descriptor .enumerabl e || false ; descript or.configu rable = tr ue; if (\" value\" in descripto r) descrip tor.writab le = true; Object.de fineProper ty(target, descripto r.key, des criptor); } } return function (Construct or, protoP rops, stat icProps) { if (proto Props) def inePropert ies(Constr uctor.prot otype, pro toProps); if (static Props) def inePropert ies(Constr uctor, sta ticProps); return Co nstructor; }; }();\n \nvar _get = functio n get(obje ct, proper ty, receiv er) { if ( object === null) obj ect = Func tion.proto type; var desc = Obj ect.getOwn PropertyDe scriptor(o bject, pro perty); if (desc === undefined ) { var pa rent = Obj ect.getPro totypeOf(o bject); if (parent = == null) { return un defined; } else { re turn get(p arent, pro perty, rec eiver); } } else if (\"value\" in desc) { return d esc.value; } else { var getter = desc.ge t; if (get ter === un defined) { return un defined; } return ge tter.call( receiver); } };\n\nv ar _parchm ent = __we bpack_requ ire__(0);\ n\nvar _pa rchment2 = _interopR equireDefa ult(_parch ment);\n\n function _ interopReq uireDefaul t(obj) { r eturn obj && obj.__e sModule ? obj : { de fault: obj }; }\n\nf unction _c lassCallCh eck(instan ce, Constr uctor) { i f (!(insta nce instan ceof Const ructor)) { throw new TypeError (\"Cannot call a cla ss as a fu nction\"); } }\n\nfu nction _po ssibleCons tructorRet urn(self, call) { if (!self) { throw new Reference Error(\"th is hasn't been initi alised - s uper() has n't been c alled\"); } return c all && (ty peof call === \"obje ct\" || ty peof call === \"func tion\") ? call : sel f; }\n\nfu nction _in herits(sub Class, sup erClass) { if (typeo f superCla ss !== \"f unction\" && superCl ass !== nu ll) { thro w new Type Error(\"Su per expres sion must either be null or a function, not \" + t ypeof supe rClass); } subClass. prototype = Object.c reate(supe rClass && superClass .prototype , { constr uctor: { v alue: subC lass, enum erable: fa lse, writa ble: true, configura ble: true } }); if ( superClass ) Object.s etPrototyp eOf ? Obje ct.setProt otypeOf(su bClass, su perClass) : subClass .__proto__ = superCl ass; }\n\n var Break = function (_Parchme nt$Embed) {\n _inhe rits(Break , _Parchme nt$Embed); \n\n func tion Break () {\n _classCall Check(this , Break);\ n\n ret urn _possi bleConstru ctorReturn (this, (Br eak.__prot o__ || Obj ect.getPro totypeOf(B reak)).app ly(this, a rguments)) ;\n }\n\n _createC lass(Break , [{\n key: 'inse rtInto',\n value: function insertInto (parent, r ef) {\n if (par ent.childr en.length === 0) {\n _g et(Break.p rototype._ _proto__ | | Object.g etPrototyp eOf(Break. prototype) , 'insertI nto', this ).call(thi s, parent, ref);\n } else {\n this.rem ove();\n }\n }\n }, { \n key: 'length', \n valu e: functio n length() {\n return 0;\ n }\n }, {\n key: 'valu e',\n v alue: func tion value () {\n return ' ';\n }\ n }], [{\ n key: 'value',\n value: function value() {\ n ret urn undefi ned;\n }\n }]);\ n\n retur n Break;\n }(_parchme nt2.defaul t.Embed);\ n\nBreak.b lotName = 'break';\n Break.tagN ame = 'BR' ;\n\nexpor ts.default = Break;\ n\n/***/ } ),\n/* 17 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \nvar __ex tends = (t his && thi s.__extend s) || (fun ction () { \n var extendStat ics = Obje ct.setProt otypeOf || \n ({ __proto __: [] } i nstanceof Array && f unction (d , b) { d._ _proto__ = b; }) ||\ n f unction (d , b) { for (var p in b) if (b. hasOwnProp erty(p)) d [p] = b[p] ; };\n return fun ction (d, b) {\n extend Statics(d, b);\n functi on __() { this.const ructor = d ; }\n d.proto type = b = == null ? Object.cre ate(b) : ( __.prototy pe = b.pro totype, ne w __());\n };\n}) ();\nObjec t.definePr operty(exp orts, \"__ esModule\" , { value: true });\ nvar linke d_list_1 = __webpack _require__ (44);\nvar shadow_1 = __webpac k_require_ _(30);\nva r Registry = __webpa ck_require __(1);\nva r Containe rBlot = /* * @class * / (functio n (_super) {\n __ extends(Co ntainerBlo t, _super) ;\n fun ction Cont ainerBlot( ) {\n return _super !== null && _ super.appl y(this, ar guments) | | this;\n }\n ContainerB lot.protot ype.append Child = fu nction (ot her) {\n this .insertBef ore(other) ;\n };\ n Conta inerBlot.p rototype.a ttach = fu nction () {\n var _this = this;\n _s uper.proto type.attac h.call(thi s);\n this.ch ildren = n ew linked_ list_1.def ault();\n // Need to be reversed for if DOM nodes alr eady in or der\n [].slic e.call(thi s.domNode. childNodes ).reverse( ).forEach( function ( node) {\n try {\n var ch ild = make Blot(node) ;\n _ this.inser tBefore(ch ild, _this .children. head);\n }\n catch (err) {\n if ( err instan ceof Regis try.Parchm entError)\ n return;\n else \n throw er r;\n }\n }); \n };\n Contai nerBlot.pr ototype.de leteAt = f unction (i ndex, leng th) {\n if (i ndex === 0 && length === this. length()) {\n retur n this.rem ove();\n }\n thi s.children .forEachAt (index, le ngth, func tion (chil d, offset, length) { \n child. deleteAt(o ffset, len gth);\n });\n };\n Containe rBlot.prot otype.desc endant = f unction (c riteria, i ndex) {\n var _a = this .children. find(index ), child = _a[0], of fset = _a[ 1];\n if ((cr iteria.blo tName == n ull && cri teria(chil d)) ||\n (criteria. blotName ! = null && child inst anceof cri teria)) {\ n return [child, of fset];\n }\n els e if (chil d instance of Contain erBlot) {\ n return child.desc endant(cri teria, off set);\n }\n else {\n retu rn [null, -1];\n }\n };\n C ontainerBl ot.prototy pe.descend ants = fun ction (cri teria, ind ex, length ) {\n if (ind ex === voi d 0) { ind ex = 0; }\ n i f (length === void 0 ) { length = Number. MAX_VALUE; }\n var desc endants = [], length Left = len gth;\n this.c hildren.fo rEachAt(in dex, lengt h, functio n (child, index, len gth) {\n if ((crite ria.blotNa me == null && criter ia(child)) ||\n (criteria .blotName != null && child ins tanceof cr iteria)) { \n de scendants. push(child );\n }\n if (child instanceo f Containe rBlot) {\n desc endants = descendant s.concat(c hild.desce ndants(cri teria, ind ex, length Left));\n }\n leng thLeft -= length;\n }); \n return des cendants;\ n };\n Contain erBlot.pro totype.det ach = func tion () {\ n t his.childr en.forEach (function (child) {\ n child.d etach();\n }) ;\n _super.pr ototype.de tach.call( this);\n };\n ContainerB lot.protot ype.format At = funct ion (index , length, name, valu e) {\n this.c hildren.fo rEachAt(in dex, lengt h, functio n (child, offset, le ngth) {\n child.for matAt(offs et, length , name, va lue);\n });\n };\n Containe rBlot.prot otype.inse rtAt = fun ction (ind ex, value, def) {\n var _a = this .children. find(index ), child = _a[0], of fset = _a[ 1];\n if (chi ld) {\n c hild.inser tAt(offset , value, d ef);\n }\n else {\n var b lot = (def == null) ? Registry .create('t ext', valu e) : Regis try.create (value, de f);\n thi s.appendCh ild(blot); \n }\n };\ n Conta inerBlot.p rototype.i nsertBefor e = functi on (childB lot, refBl ot) {\n if (t his.static s.allowedC hildren != null && ! this.stati cs.allowed Children.s ome(functi on (child) {\n retu rn childBl ot instanc eof child; \n })) {\n t hrow new R egistry.Pa rchmentErr or(\"Canno t insert \ " + childB lot.static s.blotName + \" into \" + this .statics.b lotName);\ n } \n childBlot. insertInto (this, ref Blot);\n };\n ContainerB lot.protot ype.length = functio n () {\n retu rn this.ch ildren.red uce(functi on (memo, child) {\n return m emo + chil d.length() ;\n }, 0);\n };\n Container Blot.proto type.moveC hildren = function ( targetPare nt, refNod e) {\n this.c hildren.fo rEach(func tion (chil d) {\n ta rgetParent .insertBef ore(child, refNode); \n });\n } ;\n Con tainerBlot .prototype .optimize = function (context) {\n _super.p rototype.o ptimize.ca ll(this, c ontext);\n if (this.chi ldren.leng th === 0) {\n if (t his.static s.defaultC hild != nu ll) {\n var chi ld = Regis try.create (this.stat ics.defaul tChild);\n this .appendChi ld(child); \n ch ild.optimi ze(context );\n }\n else {\n this. remove();\ n }\n }\n };\n C ontainerBl ot.prototy pe.path = function ( index, inc lusive) {\ n i f (inclusi ve === voi d 0) { inc lusive = f alse; }\n var _a = this .children. find(index , inclusiv e), child = _a[0], o ffset = _a [1];\n var po sition = [ [this, ind ex]];\n if (c hild insta nceof Cont ainerBlot) {\n retu rn positio n.concat(c hild.path( offset, in clusive)); \n }\n else if ( child != n ull) {\n position.p ush([child , offset]) ;\n }\n return p osition;\n };\n Containe rBlot.prot otype.remo veChild = function ( child) {\n th is.childre n.remove(c hild);\n };\n ContainerB lot.protot ype.replac e = functi on (target ) {\n if (tar get instan ceof Conta inerBlot) {\n targe t.moveChil dren(this) ;\n }\n _super.p rototype.r eplace.cal l(this, ta rget);\n };\n ContainerB lot.protot ype.split = function (index, f orce) {\n if (force === void 0) { force = f alse; }\n if (!force) { \n if (in dex === 0) \n re turn this; \n if (in dex === th is.length( ))\n return thi s.next;\n }\n va r after = this.clone ();\n this.pa rent.inser tBefore(af ter, this. next);\n this .children. forEachAt( index, thi s.length() , function (child, o ffset, len gth) {\n child = ch ild.split( offset, fo rce);\n a fter.appen dChild(chi ld);\n });\n ret urn after; \n };\n Contai nerBlot.pr ototype.un wrap = fun ction () { \n this.moveC hildren(th is.parent, this.next );\n this.rem ove();\n };\n ContainerB lot.protot ype.update = functio n (mutatio ns, contex t) {\n var _t his = this ;\n var added Nodes = [] , removedN odes = []; \n mutations. forEach(fu nction (mu tation) {\ n if (mut ation.targ et === _th is.domNode && mutati on.type == = 'childLi st') {\n addedN odes.push. apply(adde dNodes, mu tation.add edNodes);\ n rem ovedNodes. push.apply (removedNo des, mutat ion.remove dNodes);\n }\n });\n remo vedNodes.f orEach(fun ction (nod e) {\n // Check nod e has actu ally been removed\n // One ex ception is Chrome do es not imm ediately r emove IFRA MEs\n // from DOM b ut Mutatio nRecord is correct i n its repo rted remov al\n if ( node.paren tNode != n ull && nod e.tagName !== 'IFRAM E' &&\n (docume nt.body.co mpareDocum entPositio n(node) & Node.DOCUM ENT_POSITI ON_CONTAIN ED_BY)) {\ n ret urn;\n }\ n var blo t = Regist ry.find(no de);\n if (blot == null)\n return; \n if (bl ot.domNode .parentNod e == null || blot.do mNode.pare ntNode === _this.dom Node) {\n blot. detach();\ n }\n });\n add edNodes.fi lter(funct ion (node) {\n retu rn node.pa rentNode = = _this.do mNode;\n }).s ort(functi on (a, b) {\n if (a === b)\n retur n 0;\n if (a.compar eDocumentP osition(b) & Node.DO CUMENT_POS ITION_FOLL OWING) {\n retu rn 1;\n } \n return -1;\n }).for Each(funct ion (node) {\n var refBlot = null;\n i f (node.ne xtSibling != null) { \n re fBlot = Re gistry.fin d(node.nex tSibling); \n }\n v ar blot = makeBlot(n ode);\n i f (blot.ne xt != refB lot || blo t.next == null) {\n if (b lot.parent != null) {\n blot.pa rent.remov eChild(_th is);\n }\n _this.ins ertBefore( blot, refB lot);\n } \n });\n } ;\n ret urn Contai nerBlot;\n }(shadow_1 .default)) ;\nfunctio n makeBlot (node) {\n var bl ot = Regis try.find(n ode);\n if (blot == null) { \n try {\n b lot = Regi stry.creat e(node);\n }\ n c atch (e) { \n blot = Registry. create(Reg istry.Scop e.INLINE); \n [].sli ce.call(no de.childNo des).forEa ch(functio n (child) {\n b lot.domNod e.appendCh ild(child) ;\n });\n node.par entNode.re placeChild (blot.domN ode, node) ;\n blot. attach();\ n } \n }\n return blot;\n}\n exports.de fault = Co ntainerBlo t;\n\n\n/* **/ }),\n/ * 18 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\nvar __extends = (this & & this.__e xtends) || (function () {\n var exten dStatics = Object.se tPrototype Of ||\n ({ __ proto__: [ ] } instan ceof Array && functi on (d, b) { d.__prot o__ = b; } ) ||\n functi on (d, b) { for (var p in b) i f (b.hasOw nProperty( p)) d[p] = b[p]; };\ n retur n function (d, b) {\ n e xtendStati cs(d, b);\ n f unction __ () { this. constructo r = d; }\n d. prototype = b === nu ll ? Objec t.create(b ) : (__.pr ototype = b.prototyp e, new __( ));\n } ;\n})();\n Object.def inePropert y(exports, \"__esMod ule\", { v alue: true });\nvar attributor _1 = __web pack_requi re__(12);\ nvar store _1 = __web pack_requi re__(31);\ nvar conta iner_1 = _ _webpack_r equire__(1 7);\nvar R egistry = __webpack_ require__( 1);\nvar F ormatBlot = /** @cla ss */ (fun ction (_su per) {\n __extend s(FormatBl ot, _super );\n fu nction For matBlot() {\n return _s uper !== n ull && _su per.apply( this, argu ments) || this;\n }\n Fo rmatBlot.f ormats = f unction (d omNode) {\ n i f (typeof this.tagNa me === 'st ring') {\n return t rue;\n }\n else if (Array. isArray(th is.tagName )) {\n re turn domNo de.tagName .toLowerCa se();\n }\n retu rn undefin ed;\n } ;\n For matBlot.pr ototype.at tach = fun ction () { \n _super.pro totype.att ach.call(t his);\n this. attributes = new sto re_1.defau lt(this.do mNode);\n };\n FormatBlo t.prototyp e.format = function (name, val ue) {\n var f ormat = Re gistry.que ry(name);\ n i f (format instanceof attributo r_1.defaul t) {\n th is.attribu tes.attrib ute(format , value);\ n } \n else if (v alue) {\n if (forma t != null && (name ! == this.st atics.blot Name || th is.formats ()[name] ! == value)) {\n this.repla ceWith(nam e, value); \n }\n }\n };\n FormatBlot .prototype .formats = function () {\n var fo rmats = th is.attribu tes.values ();\n var for mat = this .statics.f ormats(thi s.domNode) ;\n if (forma t != null) {\n form ats[this.s tatics.blo tName] = f ormat;\n }\n ret urn format s;\n }; \n Form atBlot.pro totype.rep laceWith = function (name, val ue) {\n var r eplacement = _super. prototype. replaceWit h.call(thi s, name, v alue);\n this .attribute s.copy(rep lacement); \n return rep lacement;\ n };\n FormatB lot.protot ype.update = functio n (mutatio ns, contex t) {\n var _t his = this ;\n _super.pr ototype.up date.call( this, muta tions, con text);\n if ( mutations. some(funct ion (mutat ion) {\n return mut ation.targ et === _th is.domNode && mutati on.type == = 'attribu tes';\n })) { \n this.a ttributes. build();\n }\ n };\n FormatB lot.protot ype.wrap = function (name, val ue) {\n var w rapper = _ super.prot otype.wrap .call(this , name, va lue);\n if (w rapper ins tanceof Fo rmatBlot & & wrapper. statics.sc ope === th is.statics .scope) {\ n this.at tributes.m ove(wrappe r);\n }\n return wrapper;\ n };\n return FormatBlot ;\n}(conta iner_1.def ault));\ne xports.def ault = For matBlot;\n \n\n/***/ }),\n/* 19 */\n/***/ (function (module, e xports, __ webpack_re quire__) { \n\n\"use strict\";\ n\nvar __e xtends = ( this && th is.__exten ds) || (fu nction () {\n var extendSta tics = Obj ect.setPro totypeOf | |\n ({ __prot o__: [] } instanceof Array && function ( d, b) { d. __proto__ = b; }) || \n function ( d, b) { fo r (var p i n b) if (b .hasOwnPro perty(p)) d[p] = b[p ]; };\n return fu nction (d, b) {\n exten dStatics(d , b);\n funct ion __() { this.cons tructor = d; }\n d.prot otype = b === null ? Object.cr eate(b) : (__.protot ype = b.pr ototype, n ew __());\ n };\n} )();\nObje ct.defineP roperty(ex ports, \"_ _esModule\ ", { value : true }); \nvar shad ow_1 = __w ebpack_req uire__(30) ;\nvar Reg istry = __ webpack_re quire__(1) ;\nvar Lea fBlot = /* * @class * / (functio n (_super) {\n __ extends(Le afBlot, _s uper);\n function LeafBlot( ) {\n return _super !== null && _ super.appl y(this, ar guments) | | this;\n }\n LeafBlot.v alue = fun ction (dom Node) {\n ret urn true;\ n };\n LeafBlo t.prototyp e.index = function ( node, offs et) {\n if (t his.domNod e === node ||\n thi s.domNode. compareDoc umentPosit ion(node) & Node.DOC UMENT_POSI TION_CONTA INED_BY) { \n return Math.min( offset, 1) ;\n }\n return - 1;\n }; \n Leaf Blot.proto type.posit ion = func tion (inde x, inclusi ve) {\n var o ffset = [] .indexOf.c all(this.p arent.domN ode.childN odes, this .domNode); \n if (index > 0)\n of fset += 1; \n return [th is.parent. domNode, o ffset];\n };\n LeafBlot. prototype. value = fu nction () {\n return _a = {}, _a[ this.stati cs.blotNam e] = this. statics.va lue(this.d omNode) || true, _a; \n var _a;\n };\n LeafBlot. scope = Re gistry.Sco pe.INLINE_ BLOT;\n return Le afBlot;\n} (shadow_1. default)); \nexports. default = LeafBlot;\ n\n\n/***/ }),\n/* 2 0 */\n/*** / (functio n(module, exports, _ _webpack_r equire__) {\n\nvar e qual = __w ebpack_req uire__(11) ;\nvar ext end = __we bpack_requ ire__(3);\ n\n\nvar l ib = {\n attributes : {\n c ompose: fu nction (a, b, keepNu ll) {\n if (typ eof a !== 'object') a = {};\n if (t ypeof b != = 'object' ) b = {};\ n var attribute s = extend (true, {}, b);\n if (!kee pNull) {\n at tributes = Object.ke ys(attribu tes).reduc e(function (copy, ke y) {\n if ( attributes [key] != n ull) {\n copy[key] = attribut es[key];\n }\n return copy;\n }, {} );\n }\n f or (var ke y in a) {\ n i f (a[key] !== undefi ned && b[k ey] === un defined) { \n attribut es[key] = a[key];\n }\n }\n retur n Object.k eys(attrib utes).leng th > 0 ? a ttributes : undefine d;\n }, \n\n di ff: functi on(a, b) { \n if (typeof a !== 'obje ct') a = { };\n if (typeof b !== 'ob ject') b = {};\n var attr ibutes = O bject.keys (a).concat (Object.ke ys(b)).red uce(functi on (attrib utes, key) {\n if (!equ al(a[key], b[key])) {\n attribu tes[key] = b[key] == = undefine d ? null : b[key];\n }\ n r eturn attr ibutes;\n }, {} );\n return Obj ect.keys(a ttributes) .length > 0 ? attrib utes : und efined;\n },\n\n transfo rm: functi on (a, b, priority) {\n i f (typeof a !== 'obj ect') retu rn b;\n if (typ eof b !== 'object') return und efined;\n if (! priority) return b; // b simp ly overwri tes us wit hout prior ity\n var attri butes = Ob ject.keys( b).reduce( function ( attributes , key) {\n if (a[key] = == undefin ed) attrib utes[key] = b[key]; // null i s a valid value\n retur n attribut es;\n }, {});\n retu rn Object. keys(attri butes).len gth > 0 ? attributes : undefin ed;\n } \n },\n\n iterator : function (ops) {\n return new Itera tor(ops);\ n },\n\n length: f unction (o p) {\n if (typeof op['delet e'] === 'n umber') {\ n ret urn op['de lete'];\n } else if (typeof op.retain === 'numb er') {\n return op.retain ;\n } e lse {\n return typeof op. insert === 'string' ? op.inser t.length : 1;\n } \n }\n};\ n\n\nfunct ion Iterat or(ops) {\ n this.op s = ops;\n this.ind ex = 0;\n this.offs et = 0;\n} ;\n\nItera tor.protot ype.hasNex t = functi on () {\n return th is.peekLen gth() < In finity;\n} ;\n\nItera tor.protot ype.next = function (length) { \n if (!l ength) len gth = Infi nity;\n v ar nextOp = this.ops [this.inde x];\n if (nextOp) { \n var offset = t his.offset ;\n var opLength = lib.leng th(nextOp) \n if ( length >= opLength - offset) { \n le ngth = opL ength - of fset;\n this.in dex += 1;\ n thi s.offset = 0;\n } else {\n this. offset += length;\n }\n if (typeof nextOp['d elete'] == = 'number' ) {\n return { 'delete': length };\ n } els e {\n var retOp = {};\n if (ne xtOp.attri butes) {\n re tOp.attrib utes = nex tOp.attrib utes;\n }\n if (type of nextOp. retain === 'number') {\n retOp.re tain = len gth;\n } else i f (typeof nextOp.ins ert === 's tring') {\ n r etOp.inser t = nextOp .insert.su bstr(offse t, length) ;\n } else {\n // offset sho uld === 0, length sh ould === 1 \n retOp.inse rt = nextO p.insert;\ n }\n retu rn retOp;\ n }\n } else {\n return { retain: Infinity };\n }\n} ;\n\nItera tor.protot ype.peek = function () {\n re turn this. ops[this.i ndex];\n}; \n\nIterat or.prototy pe.peekLen gth = func tion () {\ n if (thi s.ops[this .index]) { \n // S hould neve r return 0 if our in dex is bei ng managed correctly \n retu rn lib.len gth(this.o ps[this.in dex]) - th is.offset; \n } else {\n re turn Infin ity;\n }\ n};\n\nIte rator.prot otype.peek Type = fun ction () { \n if (th is.ops[thi s.index]) {\n if (typeof th is.ops[thi s.index][' delete'] = == 'number ') {\n return ' delete';\n } else if (typeo f this.ops [this.inde x].retain === 'numbe r') {\n return 'retain';\ n } els e {\n return 'i nsert';\n }\n }\ n return 'retain';\ n};\n\n\nm odule.expo rts = lib; \n\n\n/*** / }),\n/* 21 */\n/** */ (functi on(module, exports) {\n\nvar c lone = (fu nction() { \n'use str ict';\n\nf unction _i nstanceof( obj, type) {\n retu rn type != null && o bj instanc eof type;\ n}\n\nvar nativeMap; \ntry {\n nativeMap = Map;\n} catch(_) {\n // ma ybe a refe rence erro r because no `Map`. Give it a dummy valu e that no\ n // valu e will eve r be an in stanceof.\ n nativeM ap = funct ion() {};\ n}\n\nvar nativeSet; \ntry {\n nativeSet = Set;\n} catch(_) {\n nativ eSet = fun ction() {} ;\n}\n\nva r nativePr omise;\ntr y {\n nat ivePromise = Promise ;\n} catch (_) {\n n ativePromi se = funct ion() {};\ n}\n\n/**\ n * Clones (copies) an Object using deep copying.\ n *\n * Th is functio n supports circular references by defaul t, but if you are ce rtain\n * there are no circula r referenc es in your object, y ou can sav e some CPU time\n * by calling clone(obj , false).\ n *\n * Ca ution: if `circular` is false and `paren t` contain s circular reference s,\n * you r program may enter an infinit e loop and crash.\n *\n * @par am `parent ` - the ob ject to be cloned\n * @param ` circular` - set to t rue if the object to be cloned may conta in\n * circular r eferences. (optional - true by default)\ n * @param `depth` - set to a number if the object is only t o be clone d to\n * a partic ular depth . (optiona l - defaul ts to Infi nity)\n * @param `pr ototype` - sets the prototype to be used when clon ing an obj ect.\n * (optiona l - defaul ts to pare nt prototy pe).\n * @ param `inc ludeNonEnu merable` - set to tr ue if the non-enumer able prope rties\n * should be cloned as well. N on-enumera ble proper ties on th e prototyp e\n * c hain will be ignored . (optiona l - false by default )\n*/\nfun ction clon e(parent, circular, depth, pro totype, in cludeNonEn umerable) {\n if (t ypeof circ ular === ' object') { \n dept h = circul ar.depth;\ n proto type = cir cular.prot otype;\n includeN onEnumerab le = circu lar.includ eNonEnumer able;\n circular = circular .circular; \n }\n / / maintain two array s for circ ular refer ences, whe re corresp onding par ents\n // and child ren have t he same in dex\n var allParent s = [];\n var allCh ildren = [ ];\n\n va r useBuffe r = typeof Buffer != 'undefine d';\n\n i f (typeof circular = = 'undefin ed')\n circular = true;\n\n if (type of depth = = 'undefin ed')\n depth = In finity;\n\ n // recu rse this f unction so we don't reset allP arents and allChildr en\n func tion _clon e(parent, depth) {\n // clo ning null always ret urns null\ n if (p arent === null)\n return null;\n\n if (dep th === 0)\ n ret urn parent ;\n\n v ar child;\ n var p roto;\n if (typeo f parent ! = 'object' ) {\n return pa rent;\n }\n\n if (_insta nceof(pare nt, native Map)) {\n child = new nat iveMap();\ n } els e if (_ins tanceof(pa rent, nati veSet)) {\ n chi ld = new n ativeSet() ;\n } e lse if (_i nstanceof( parent, na tivePromis e)) {\n child = new nativ ePromise(f unction (r esolve, re ject) {\n par ent.then(f unction(va lue) {\n re solve(_clo ne(value, depth - 1) );\n }, funct ion(err) { \n reject(_ clone(err, depth - 1 ));\n });\n });\n } else if (clone. __isArray( parent)) { \n ch ild = [];\ n } els e if (clon e.__isRegE xp(parent) ) {\n child = n ew RegExp( parent.sou rce, __get RegExpFlag s(parent)) ;\n i f (parent. lastIndex) child.las tIndex = p arent.last Index;\n } else i f (clone._ _isDate(pa rent)) {\n chil d = new Da te(parent. getTime()) ;\n } e lse if (us eBuffer && Buffer.is Buffer(par ent)) {\n child = new Buf fer(parent .length);\ n par ent.copy(c hild);\n return child;\n } else if (_insta nceof(pare nt, Error) ) {\n child = O bject.crea te(parent) ;\n } e lse {\n if (typ eof protot ype == 'un defined') {\n proto = O bject.getP rototypeOf (parent);\ n c hild = Obj ect.create (proto);\n }\n else {\n child = O bject.crea te(prototy pe);\n proto = prototyp e;\n }\n }\n \n if ( circular) {\n v ar index = allParent s.indexOf( parent);\n \n if (index != -1) {\n retu rn allChil dren[index ];\n }\n a llParents. push(paren t);\n allChildr en.push(ch ild);\n }\n\n if (_insta nceof(pare nt, native Map)) {\n paren t.forEach( function(v alue, key) {\n var keyC hild = _cl one(key, d epth - 1); \n var valueC hild = _cl one(value, depth - 1 );\n child.se t(keyChild , valueChi ld);\n });\n }\n if (_instanc eof(parent , nativeSe t)) {\n parent. forEach(fu nction(val ue) {\n var e ntryChild = _clone(v alue, dept h - 1);\n chi ld.add(ent ryChild);\ n }); \n }\n\ n for ( var i in p arent) {\n var attrs;\n if (pr oto) {\n attr s = Object .getOwnPro pertyDescr iptor(prot o, i);\n }\n\n if (a ttrs && at trs.set == null) {\n co ntinue;\n }\n child[ i] = _clon e(parent[i ], depth - 1);\n }\n\n i f (Object. getOwnProp ertySymbol s) {\n var symb ols = Obje ct.getOwnP ropertySym bols(paren t);\n for (var i = 0; i < symbols.l ength; i++ ) {\n // Don' t need to worry abou t cloning a symbol b ecause it is a primi tive,\n // li ke a numbe r or strin g.\n var symb ol = symbo ls[i];\n var descriptor = Object. getOwnProp ertyDescri ptor(paren t, symbol) ;\n if (descr iptor && ! descriptor .enumerabl e && !incl udeNonEnum erable) {\ n continue; \n }\n child[sym bol] = _cl one(parent [symbol], depth - 1) ;\n if (!desc riptor.enu merable) { \n Object.d efinePrope rty(child, symbol, { \n enumer able: fals e\n });\n }\n }\n }\n\n if (inclu deNonEnume rable) {\n var allPropert yNames = O bject.getO wnProperty Names(pare nt);\n for (var i = 0; i < allPrope rtyNames.l ength; i++ ) {\n var pro pertyName = allPrope rtyNames[i ];\n var desc riptor = O bject.getO wnProperty Descriptor (parent, p ropertyNam e);\n if (des criptor && descripto r.enumerab le) {\n con tinue;\n }\n chi ld[propert yName] = _ clone(pare nt[propert yName], de pth - 1);\ n O bject.defi neProperty (child, pr opertyName , {\n enume rable: fal se\n });\n }\n }\n\n r eturn chil d;\n }\n\ n return _clone(par ent, depth );\n}\n\n/ **\n * Sim ple flat c lone using prototype , accepts only objec ts, useful l for prop erty\n * o verride on FLAT conf iguration object (no nested pr ops).\n *\ n * USE WI TH CAUTION ! This may not behav e as you w ish if you do not kn ow how thi s\n * work s.\n */\nc lone.clone Prototype = function cloneProt otype(pare nt) {\n i f (parent === null)\ n retur n null;\n\ n var c = function () {};\n c.prototyp e = parent ;\n retur n new c(); \n};\n\n// private u tility fun ctions\n\n function _ _objToStr( o) {\n re turn Objec t.prototyp e.toString .call(o);\ n}\nclone. __objToStr = __objTo Str;\n\nfu nction __i sDate(o) { \n return typeof o === 'objec t' && __ob jToStr(o) === '[obje ct Date]'; \n}\nclone .__isDate = __isDate ;\n\nfunct ion __isAr ray(o) {\n return t ypeof o == = 'object' && __objT oStr(o) == = '[object Array]';\ n}\nclone. __isArray = __isArra y;\n\nfunc tion __isR egExp(o) { \n return typeof o === 'objec t' && __ob jToStr(o) === '[obje ct RegExp] ';\n}\nclo ne.__isReg Exp = __is RegExp;\n\ nfunction __getRegEx pFlags(re) {\n var flags = '' ;\n if (r e.global) flags += ' g';\n if (re.ignore Case) flag s += 'i';\ n if (re. multiline) flags += 'm';\n re turn flags ;\n}\nclon e.__getReg ExpFlags = __getRegE xpFlags;\n \nreturn c lone;\n})( );\n\nif ( typeof mod ule === 'o bject' && module.exp orts) {\n module.ex ports = cl one;\n}\n\ n\n/***/ } ),\n/* 22 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\n\nvar _slicedToA rray = fun ction () { function sliceItera tor(arr, i ) { var _a rr = []; v ar _n = tr ue; var _d = false; var _e = u ndefined; try { for (var _i = arr[Symbol .iterator] (), _s; !( _n = (_s = _i.next() ).done); _ n = true) { _arr.pus h(_s.value ); if (i & & _arr.len gth === i) break; } } catch (e rr) { _d = true; _e = err; } f inally { t ry { if (! _n && _i[\ "return\"] ) _i[\"ret urn\"](); } finally { if (_d) throw _e; } } return _arr; } r eturn func tion (arr, i) { if ( Array.isAr ray(arr)) { return a rr; } else if (Symbo l.iterator in Object (arr)) { r eturn slic eIterator( arr, i); } else { th row new Ty peError(\" Invalid at tempt to d estructure non-itera ble instan ce\"); } } ; }();\n\n var _creat eClass = f unction () { functio n definePr operties(t arget, pro ps) { for (var i = 0 ; i < prop s.length; i++) { var descripto r = props[ i]; descri ptor.enume rable = de scriptor.e numerable || false; descriptor .configura ble = true ; if (\"va lue\" in d escriptor) descripto r.writable = true; O bject.defi neProperty (target, d escriptor. key, descr iptor); } } return f unction (C onstructor , protoPro ps, static Props) { i f (protoPr ops) defin ePropertie s(Construc tor.protot ype, proto Props); if (staticPr ops) defin ePropertie s(Construc tor, stati cProps); r eturn Cons tructor; } ; }();\n\n var _get = function get(object , property , receiver ) { if (ob ject === n ull) objec t = Functi on.prototy pe; var de sc = Objec t.getOwnPr opertyDesc riptor(obj ect, prope rty); if ( desc === u ndefined) { var pare nt = Objec t.getProto typeOf(obj ect); if ( parent === null) { r eturn unde fined; } e lse { retu rn get(par ent, prope rty, recei ver); } } else if (\ "value\" i n desc) { return des c.value; } else { va r getter = desc.get; if (gette r === unde fined) { r eturn unde fined; } r eturn gett er.call(re ceiver); } };\n\nvar _parchmen t = __webp ack_requir e__(0);\n\ nvar _parc hment2 = _ interopReq uireDefaul t(_parchme nt);\n\nva r _emitter = __webpa ck_require __(8);\n\n var _emitt er2 = _int eropRequir eDefault(_ emitter);\ n\nvar _bl ock = __we bpack_requ ire__(4);\ n\nvar _bl ock2 = _in teropRequi reDefault( _block);\n \nvar _bre ak = __web pack_requi re__(16);\ n\nvar _br eak2 = _in teropRequi reDefault( _break);\n \nvar _cod e = __webp ack_requir e__(13);\n \nvar _cod e2 = _inte ropRequire Default(_c ode);\n\nv ar _contai ner = __we bpack_requ ire__(24); \n\nvar _c ontainer2 = _interop RequireDef ault(_cont ainer);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ classCallC heck(insta nce, Const ructor) { if (!(inst ance insta nceof Cons tructor)) { throw ne w TypeErro r(\"Cannot call a cl ass as a f unction\") ; } }\n\nf unction _p ossibleCon structorRe turn(self, call) { i f (!self) { throw ne w Referenc eError(\"t his hasn't been init ialised - super() ha sn't been called\"); } return call && (t ypeof call === \"obj ect\" || t ypeof call === \"fun ction\") ? call : se lf; }\n\nf unction _i nherits(su bClass, su perClass) { if (type of superCl ass !== \" function\" && superC lass !== n ull) { thr ow new Typ eError(\"S uper expre ssion must either be null or a function, not \" + typeof sup erClass); } subClass .prototype = Object. create(sup erClass && superClas s.prototyp e, { const ructor: { value: sub Class, enu merable: f alse, writ able: true , configur able: true } }); if (superClas s) Object. setPrototy peOf ? Obj ect.setPro totypeOf(s ubClass, s uperClass) : subClas s.__proto_ _ = superC lass; }\n\ nfunction isLine(blo t) {\n re turn blot instanceof _block2.d efault || blot insta nceof _blo ck.BlockEm bed;\n}\n\ nvar Scrol l = functi on (_Parch ment$Scrol l) {\n _i nherits(Sc roll, _Par chment$Scr oll);\n\n function Scroll(dom Node, conf ig) {\n _classCal lCheck(thi s, Scroll) ;\n\n v ar _this = _possible Constructo rReturn(th is, (Scrol l.__proto_ _ || Objec t.getProto typeOf(Scr oll)).call (this, dom Node));\n\ n _this .emitter = config.em itter;\n if (Arra y.isArray( config.whi telist)) { \n _t his.whitel ist = conf ig.whiteli st.reduce( function ( whitelist, format) { \n whitelist[ format] = true;\n retur n whitelis t;\n }, {});\n }\n // Some re ason fixes compositi on issues with chara cter langu ages in Wi ndows/Chro me, Safari \n _thi s.domNode. addEventLi stener('DO MNodeInser ted', func tion () {} );\n _t his.optimi ze();\n _this.ena ble();\n return _ this;\n } \n\n _cre ateClass(S croll, [{\ n key: 'batchStar t',\n v alue: func tion batch Start() {\ n thi s.batch = true;\n }\n }, { \n key: 'batchEnd ',\n va lue: funct ion batchE nd() {\n this.b atch = fal se;\n this.opti mize();\n }\n }, {\n ke y: 'delete At',\n value: fun ction dele teAt(index , length) {\n v ar _line = this.line (index),\n _line2 = _ slicedToAr ray(_line, 2),\n firs t = _line2 [0],\n offs et = _line 2[1];\n\n var _ line3 = th is.line(in dex + leng th),\n _lin e4 = _slic edToArray( _line3, 1) ,\n last = _line4[0]; \n\n _get(Scrol l.prototyp e.__proto_ _ || Objec t.getProto typeOf(Scr oll.protot ype), 'del eteAt', th is).call(t his, index , length); \n if (last != null && fi rst !== la st && offs et > 0) {\ n i f (first i nstanceof _block.Blo ckEmbed || last inst anceof _bl ock.BlockE mbed) {\n t his.optimi ze();\n ret urn;\n }\n if (f irst insta nceof _cod e2.default ) {\n var n ewlineInde x = first. newlineInd ex(first.l ength(), t rue);\n if (newlineIn dex > -1) {\n first = first.s plit(newli neIndex + 1);\n if (first === last) {\n this.o ptimize(); \n retu rn;\n }\n }\n } else if (last ins tanceof _c ode2.defau lt) {\n var _newlineI ndex = las t.newlineI ndex(0);\n if (_newli neIndex > -1) {\n l ast.split( _newlineIn dex + 1);\ n }\n }\n var ref = last.ch ildren.hea d instance of _break2 .default ? null : la st.childre n.head;\n fir st.moveChi ldren(last , ref);\n fir st.remove( );\n }\n t his.optimi ze();\n }\n }, { \n key: 'enable', \n valu e: functio n enable() {\n var enable d = argume nts.length > 0 && ar guments[0] !== undef ined ? arg uments[0] : true;\n\ n thi s.domNode. setAttribu te('conten teditable' , enabled) ;\n }\n }, {\n key: 'fo rmatAt',\n value: function formatAt(i ndex, leng th, format , value) { \n if (this.whi telist != null && !t his.whitel ist[format ]) return; \n _g et(Scroll. prototype. __proto__ || Object. getPrototy peOf(Scrol l.prototyp e), 'forma tAt', this ).call(thi s, index, length, fo rmat, valu e);\n this.opti mize();\n }\n }, {\n ke y: 'insert At',\n value: fun ction inse rtAt(index , value, d ef) {\n if (def != null & & this.whi telist != null && !t his.whitel ist[value] ) return;\ n if (index >= this.lengt h()) {\n if ( def == nul l || _parc hment2.def ault.query (value, _p archment2. default.Sc ope.BLOCK) == null) {\n var blo t = _parch ment2.defa ult.create (this.stat ics.defaul tChild);\n this.appen dChild(blo t);\n if (d ef == null && value. endsWith(' \\n')) {\n value = value.slic e(0, -1);\ n }\n blot.i nsertAt(0, value, de f);\n } else {\n var emb ed = _parc hment2.def ault.creat e(value, d ef);\n this .appendChi ld(embed); \n }\n } else {\n _ge t(Scroll.p rototype._ _proto__ | | Object.g etPrototyp eOf(Scroll .prototype ), 'insert At', this) .call(this , index, v alue, def) ;\n } \n th is.optimiz e();\n }\n }, {\ n key: 'insertBef ore',\n value: fu nction ins ertBefore( blot, ref) {\n if (blot.s tatics.sco pe === _pa rchment2.d efault.Sco pe.INLINE_ BLOT) {\n var wrapper = _parchmen t2.default .create(th is.statics .defaultCh ild);\n wrapp er.appendC hild(blot) ;\n blot = wr apper;\n }\n _get(Sc roll.proto type.__pro to__ || Ob ject.getPr ototypeOf( Scroll.pro totype), ' insertBefo re', this) .call(this , blot, re f);\n } \n }, {\n key: ' leaf',\n value: f unction le af(index) {\n r eturn this .path(inde x).pop() | | [null, - 1];\n } \n }, {\n key: ' line',\n value: f unction li ne(index) {\n i f (index = == this.le ngth()) {\ n r eturn this .line(inde x - 1);\n }\n return this.desc endant(isL ine, index );\n }\ n }, {\n key: 'l ines',\n value: f unction li nes() {\n var i ndex = arg uments.len gth > 0 && arguments [0] !== un defined ? arguments[ 0] : 0;\n var l ength = ar guments.le ngth > 1 & & argument s[1] !== u ndefined ? arguments [1] : Numb er.MAX_VAL UE;\n\n var get Lines = fu nction get Lines(blot , index, l ength) {\n va r lines = [],\n len gthLeft = length;\n blo t.children .forEachAt (index, le ngth, func tion (chil d, index, length) {\ n if (isLin e(child)) {\n lines .push(chil d);\n } els e if (chil d instance of _parchm ent2.defau lt.Contain er) {\n l ines = lin es.concat( getLines(c hild, inde x, lengthL eft));\n }\ n lengthLef t -= lengt h;\n });\n retur n lines;\n };\n retu rn getLine s(this, in dex, lengt h);\n } \n }, {\n key: ' optimize', \n valu e: functio n optimize () {\n var muta tions = ar guments.le ngth > 0 & & argument s[0] !== u ndefined ? arguments [0] : [];\ n var context = arguments .length > 1 && argum ents[1] != = undefine d ? argume nts[1] : { };\n\n if (this .batch === true) ret urn;\n _get(Scr oll.protot ype.__prot o__ || Obj ect.getPro totypeOf(S croll.prot otype), 'o ptimize', this).call (this, mut ations, co ntext);\n if (m utations.l ength > 0) {\n this.emi tter.emit( _emitter2. default.ev ents.SCROL L_OPTIMIZE , mutation s, context );\n }\n }\n }, {\n key: 'pa th',\n value: fun ction path (index) {\ n ret urn _get(S croll.prot otype.__pr oto__ || O bject.getP rototypeOf (Scroll.pr ototype), 'path', th is).call(t his, index ).slice(1) ; // Exclu de self\n }\n }, {\n ke y: 'update ',\n va lue: funct ion update (mutations ) {\n if (this. batch === true) retu rn;\n var sourc e = _emitt er2.defaul t.sources. USER;\n if (typ eof mutati ons === 's tring') {\ n s ource = mu tations;\n }\n if (! Array.isAr ray(mutati ons)) {\n mut ations = t his.observ er.takeRec ords();\n }\n if (mu tations.le ngth > 0) {\n this.emit ter.emit(_ emitter2.d efault.eve nts.SCROLL _BEFORE_UP DATE, sour ce, mutati ons);\n }\n _get(Scr oll.protot ype.__prot o__ || Obj ect.getPro totypeOf(S croll.prot otype), 'u pdate', th is).call(t his, mutat ions.conca t([])); // pass copy \n if (mutation s.length > 0) {\n this. emitter.em it(_emitte r2.default .events.SC ROLL_UPDAT E, source, mutations );\n }\n }\n }]);\n\n return S croll;\n}( _parchment 2.default. Scroll);\n \nScroll.b lotName = 'scroll';\ nScroll.cl assName = 'ql-editor ';\nScroll .tagName = 'DIV';\nS croll.defa ultChild = 'block';\ nScroll.al lowedChild ren = [_bl ock2.defau lt, _block .BlockEmbe d, _contai ner2.defau lt];\n\nex ports.defa ult = Scro ll;\n\n/** */ }),\n/* 23 */\n/* **/ (funct ion(module , exports, __webpack _require__ ) {\n\n\"u se strict\ ";\n\n\nOb ject.defin eProperty( exports, \ "__esModul e\", {\n value: tru e\n});\n\n var _slice dToArray = function () { funct ion sliceI terator(ar r, i) { va r _arr = [ ]; var _n = true; va r _d = fal se; var _e = undefin ed; try { for (var _ i = arr[Sy mbol.itera tor](), _s ; !(_n = ( _s = _i.ne xt()).done ); _n = tr ue) { _arr .push(_s.v alue); if (i && _arr .length == = i) break ; } } catc h (err) { _d = true; _e = err; } finally { try { i f (!_n && _i[\"retur n\"]) _i[\ "return\"] (); } fina lly { if ( _d) throw _e; } } re turn _arr; } return function ( arr, i) { if (Array. isArray(ar r)) { retu rn arr; } else if (S ymbol.iter ator in Ob ject(arr)) { return sliceItera tor(arr, i ); } else { throw ne w TypeErro r(\"Invali d attempt to destruc ture non-i terable in stance\"); } }; }(); \n\nvar _g et = funct ion get(ob ject, prop erty, rece iver) { if (object = == null) o bject = Fu nction.pro totype; va r desc = O bject.getO wnProperty Descriptor (object, p roperty); if (desc = == undefin ed) { var parent = O bject.getP rototypeOf (object); if (parent === null) { return undefined; } else { return get (parent, p roperty, r eceiver); } } else i f (\"value \" in desc ) { return desc.valu e; } else { var gett er = desc. get; if (g etter === undefined) { return undefined; } return getter.cal l(receiver ); } };\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _parc hment = __ webpack_re quire__(0) ;\n\nvar _ parchment2 = _intero pRequireDe fault(_par chment);\n \nvar _tex t = __webp ack_requir e__(7);\n\ nvar _text 2 = _inter opRequireD efault(_te xt);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _cla ssCallChec k(instance , Construc tor) { if (!(instanc e instance of Constru ctor)) { t hrow new T ypeError(\ "Cannot ca ll a class as a func tion\"); } }\n\nfunc tion _poss ibleConstr uctorRetur n(self, ca ll) { if ( !self) { t hrow new R eferenceEr ror(\"this hasn't be en initial ised - sup er() hasn' t been cal led\"); } return cal l && (type of call == = \"object \" || type of call == = \"functi on\") ? ca ll : self; }\n\nfunc tion _inhe rits(subCl ass, super Class) { i f (typeof superClass !== \"fun ction\" && superClas s !== null ) { throw new TypeEr ror(\"Supe r expressi on must ei ther be nu ll or a fu nction, no t \" + typ eof superC lass); } s ubClass.pr ototype = Object.cre ate(superC lass && su perClass.p rototype, { construc tor: { val ue: subCla ss, enumer able: fals e, writabl e: true, c onfigurabl e: true } }); if (su perClass) Object.set PrototypeO f ? Object .setProtot ypeOf(subC lass, supe rClass) : subClass._ _proto__ = superClas s; }\n\nva r Cursor = function (_Parchmen t$Embed) { \n _inher its(Cursor , _Parchme nt$Embed); \n\n _cre ateClass(C ursor, nul l, [{\n key: 'val ue',\n value: fun ction valu e() {\n return undefined; \n }\n }]);\n\n function Cursor(dom Node, sele ction) {\n _class CallCheck( this, Curs or);\n\n var _thi s = _possi bleConstru ctorReturn (this, (Cu rsor.__pro to__ || Ob ject.getPr ototypeOf( Cursor)).c all(this, domNode)); \n\n _t his.select ion = sele ction;\n _this.te xtNode = d ocument.cr eateTextNo de(Cursor. CONTENTS); \n _thi s.domNode. appendChil d(_this.te xtNode);\n _this. _length = 0;\n re turn _this ;\n }\n\n _createC lass(Curso r, [{\n key: 'det ach',\n value: fu nction det ach() {\n // su per.detach () will al so clear d omNode.__b lot\n if (this. parent != null) this .parent.re moveChild( this);\n }\n }, {\n key : 'format' ,\n val ue: functi on format( name, valu e) {\n if (this ._length ! == 0) {\n ret urn _get(C ursor.prot otype.__pr oto__ || O bject.getP rototypeOf (Cursor.pr ototype), 'format', this).call (this, nam e, value); \n }\ n var target = this,\n ind ex = 0;\n while (target ! = null && target.sta tics.scope !== _parc hment2.def ault.Scope .BLOCK_BLO T) {\n index += target. offset(tar get.parent );\n target = target.pa rent;\n }\n if (targ et != null ) {\n this._l ength = Cu rsor.CONTE NTS.length ;\n target.op timize();\ n t arget.form atAt(index , Cursor.C ONTENTS.le ngth, name , value);\ n t his._lengt h = 0;\n }\n }\n }, { \n key: 'index',\ n value : function index(nod e, offset) {\n if (node = == this.te xtNode) re turn 0;\n retur n _get(Cur sor.protot ype.__prot o__ || Obj ect.getPro totypeOf(C ursor.prot otype), 'i ndex', thi s).call(th is, node, offset);\n }\n } , {\n k ey: 'lengt h',\n v alue: func tion lengt h() {\n return this._leng th;\n } \n }, {\n key: ' position', \n valu e: functio n position () {\n return [ this.textN ode, this. textNode.d ata.length ];\n }\ n }, {\n key: 'r emove',\n value: function r emove() {\ n _ge t(Cursor.p rototype._ _proto__ | | Object.g etPrototyp eOf(Cursor .prototype ), 'remove ', this).c all(this); \n th is.parent = null;\n }\n }, {\n ke y: 'restor e',\n v alue: func tion resto re() {\n if (th is.selecti on.composi ng || this .parent == null) ret urn;\n var text Node = thi s.textNode ;\n v ar range = this.sele ction.getN ativeRange ();\n var resto reText = v oid 0,\n st art = void 0,\n end = void 0;\n if ( range != n ull && ran ge.start.n ode === te xtNode && range.end. node === t extNode) { \n var _ref = [textNode , range.st art.offset , range.en d.offset]; \n restoreTex t = _ref[0 ];\n start = _ref[1];\n en d = _ref[2 ];\n }\n / / Link for mat will i nsert text outside o f anchor t ag\n while (thi s.domNode. lastChild != null && this.domN ode.lastCh ild !== th is.textNod e) {\n this.d omNode.par entNode.in sertBefore (this.domN ode.lastCh ild, this. domNode);\ n }\n if ( this.textN ode.data ! == Cursor. CONTENTS) {\n var text = this.tex tNode.data .split(Cur sor.CONTEN TS).join(' ');\n if (thi s.next ins tanceof _t ext2.defau lt) {\n res toreText = this.next .domNode;\ n this.next .insertAt( 0, text);\ n this.text Node.data = Cursor.C ONTENTS;\n } else {\n th is.textNod e.data = t ext;\n this .parent.in sertBefore (_parchmen t2.default .create(th is.textNod e), this); \n this.tex tNode = do cument.cre ateTextNod e(Cursor.C ONTENTS);\ n this.domN ode.append Child(this .textNode) ;\n }\n }\n t his.remove ();\n if (start != null) {\n var _map = [start, end].map(f unction (o ffset) {\n return Mat h.max(0, M ath.min(re storeText. data.lengt h, offset - 1));\n });\ n\n var _map2 = _sliced ToArray(_m ap, 2);\n\ n s tart = _ma p2[0];\n end = _map2[1] ;\n\n return {\n startNo de: restor eText,\n st artOffset: start,\n e ndNode: re storeText, \n endOffse t: end\n };\n }\n }\n }, {\n ke y: 'update ',\n va lue: funct ion update (mutations , context) {\n var _this2 = this;\n \n if (mutation s.some(fun ction (mut ation) {\n re turn mutat ion.type = == 'charac terData' & & mutation .target == = _this2.t extNode;\n })) {\n var range = this.re store();\n if (range) c ontext.ran ge = range ;\n } \n }\n }, {\n key: 'val ue',\n value: fun ction valu e() {\n return '';\n } \n }]);\n \n return Cursor;\n }(_parchme nt2.defaul t.Embed);\ n\nCursor. blotName = 'cursor'; \nCursor.c lassName = 'ql-curso r';\nCurso r.tagName = 'span';\ nCursor.CO NTENTS = ' \\uFEFF'; // Zero wi dth no bre ak space\n \n\nexport s.default = Cursor;\ n\n/***/ } ),\n/* 24 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\n\nvar _parchment = __webpa ck_require __(0);\n\n var _parch ment2 = _i nteropRequ ireDefault (_parchmen t);\n\nvar _block = __webpack_ require__( 4);\n\nvar _block2 = _interopR equireDefa ult(_block );\n\nfunc tion _inte ropRequire Default(ob j) { retur n obj && o bj.__esMod ule ? obj : { defaul t: obj }; }\n\nfunct ion _class CallCheck( instance, Constructo r) { if (! (instance instanceof Construct or)) { thr ow new Typ eError(\"C annot call a class a s a functi on\"); } } \n\nfuncti on _possib leConstruc torReturn( self, call ) { if (!s elf) { thr ow new Ref erenceErro r(\"this h asn't been initialis ed - super () hasn't been calle d\"); } re turn call && (typeof call === \"object\" || typeof call === \"function \") ? call : self; } \n\nfuncti on _inheri ts(subClas s, superCl ass) { if (typeof su perClass ! == \"funct ion\" && s uperClass !== null) { throw ne w TypeErro r(\"Super expression must eith er be null or a func tion, not \" + typeo f superCla ss); } sub Class.prot otype = Ob ject.creat e(superCla ss && supe rClass.pro totype, { constructo r: { value : subClass , enumerab le: false, writable: true, con figurable: true } }) ; if (supe rClass) Ob ject.setPr ototypeOf ? Object.s etPrototyp eOf(subCla ss, superC lass) : su bClass.__p roto__ = s uperClass; }\n\nvar Container = function (_Parchme nt$Contain er) {\n _ inherits(C ontainer, _Parchment $Container );\n\n fu nction Con tainer() { \n _cla ssCallChec k(this, Co ntainer);\ n\n ret urn _possi bleConstru ctorReturn (this, (Co ntainer.__ proto__ || Object.ge tPrototype Of(Contain er)).apply (this, arg uments));\ n }\n\n return Con tainer;\n} (_parchmen t2.default .Container );\n\nCont ainer.allo wedChildre n = [_bloc k2.default , _block.B lockEmbed, Container ];\n\nexpo rts.defaul t = Contai ner;\n\n/* **/ }),\n/ * 25 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _get = function get(objec t, propert y, receive r) { if (o bject === null) obje ct = Funct ion.protot ype; var d esc = Obje ct.getOwnP ropertyDes criptor(ob ject, prop erty); if (desc === undefined) { var par ent = Obje ct.getProt otypeOf(ob ject); if (parent == = null) { return und efined; } else { ret urn get(pa rent, prop erty, rece iver); } } else if ( \"value\" in desc) { return de sc.value; } else { v ar getter = desc.get ; if (gett er === und efined) { return und efined; } return get ter.call(r eceiver); } };\n\nva r _parchme nt = __web pack_requi re__(0);\n \nvar _par chment2 = _interopRe quireDefau lt(_parchm ent);\n\nv ar _text = __webpack _require__ (7);\n\nva r _text2 = _interopR equireDefa ult(_text) ;\n\nfunct ion _inter opRequireD efault(obj ) { return obj && ob j.__esModu le ? obj : { default : obj }; } \n\nfuncti on _classC allCheck(i nstance, C onstructor ) { if (!( instance i nstanceof Constructo r)) { thro w new Type Error(\"Ca nnot call a class as a functio n\"); } }\ n\nfunctio n _possibl eConstruct orReturn(s elf, call) { if (!se lf) { thro w new Refe renceError (\"this ha sn't been initialise d - super( ) hasn't b een called \"); } ret urn call & & (typeof call === \ "object\" || typeof call === \ "function\ ") ? call : self; }\ n\nfunctio n _inherit s(subClass , superCla ss) { if ( typeof sup erClass != = \"functi on\" && su perClass ! == null) { throw new TypeError (\"Super e xpression must eithe r be null or a funct ion, not \ " + typeof superClas s); } subC lass.proto type = Obj ect.create (superClas s && super Class.prot otype, { c onstructor : { value: subClass, enumerabl e: false, writable: true, conf igurable: true } }); if (super Class) Obj ect.setPro totypeOf ? Object.se tPrototype Of(subClas s, superCl ass) : sub Class.__pr oto__ = su perClass; }\n\nvar G UARD_TEXT = '\\uFEFF ';\n\nvar Embed = fu nction (_P archment$E mbed) {\n _inherits (Embed, _P archment$E mbed);\n\n function Embed(nod e) {\n _classCall Check(this , Embed);\ n\n var _this = _ possibleCo nstructorR eturn(this , (Embed._ _proto__ | | Object.g etPrototyp eOf(Embed) ).call(thi s, node)); \n\n _t his.conten tNode = do cument.cre ateElement ('span');\ n _this .contentNo de.setAttr ibute('con tenteditab le', false );\n [] .slice.cal l(_this.do mNode.chil dNodes).fo rEach(func tion (chil dNode) {\n _thi s.contentN ode.append Child(chil dNode);\n });\n _this.le ftGuard = document.c reateTextN ode(GUARD_ TEXT);\n _this.ri ghtGuard = document. createText Node(GUARD _TEXT);\n _this.d omNode.app endChild(_ this.leftG uard);\n _this.do mNode.appe ndChild(_t his.conten tNode);\n _this.d omNode.app endChild(_ this.right Guard);\n return _this;\n }\n\n _cr eateClass( Embed, [{\ n key: 'index',\n value: function index(node , offset) {\n i f (node == = this.lef tGuard) re turn 0;\n if (n ode === th is.rightGu ard) retur n 1;\n return _ get(Embed. prototype. __proto__ || Object. getPrototy peOf(Embed .prototype ), 'index' , this).ca ll(this, n ode, offse t);\n } \n }, {\n key: ' restore',\ n value : function restore(n ode) {\n var ra nge = void 0,\n textN ode = void 0;\n var text = node.dat a.split(GU ARD_TEXT). join('');\ n if (node === this.leftG uard) {\n if (this.prev instanceo f _text2.d efault) {\ n var prevL ength = th is.prev.le ngth();\n t his.prev.i nsertAt(pr evLength, text);\n ra nge = {\n startNode : this.pre v.domNode, \n startO ffset: pre vLength + text.lengt h\n };\n } els e {\n textN ode = docu ment.creat eTextNode( text);\n th is.parent. insertBefo re(_parchm ent2.defau lt.create( textNode), this);\n r ange = {\n startNod e: textNod e,\n star tOffset: t ext.length \n };\n }\n } else if (node = == this.ri ghtGuard) {\n if (this. next insta nceof _tex t2.default ) {\n this. next.inser tAt(0, tex t);\n range = {\n st artNode: t his.next.d omNode,\n startOffs et: text.l ength\n };\ n } else {\n t extNode = document.c reateTextN ode(text); \n this.par ent.insert Before(_pa rchment2.d efault.cre ate(textNo de), this. next);\n ra nge = {\n startNode : textNode ,\n start Offset: te xt.length\ n };\n }\n }\n node.data = GUARD_T EXT;\n return r ange;\n }\n }, { \n key: 'update', \n valu e: functio n update(m utations, context) { \n va r _this2 = this;\n\n muta tions.forE ach(functi on (mutati on) {\n if (m utation.ty pe === 'ch aracterDat a' && (mut ation.targ et === _th is2.leftGu ard || mut ation.targ et === _th is2.rightG uard)) {\n var range = _this2.r estore(mut ation.targ et);\n if ( range) con text.range = range;\ n } \n }) ;\n }\n }]);\n\n return E mbed;\n}(_ parchment2 .default.E mbed);\n\n exports.de fault = Em bed;\n\n/* **/ }),\n/ * 26 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\ne xports.Col orStyle = exports.Co lorClass = exports.C olorAttrib utor = und efined;\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _get = function get(objec t, propert y, receive r) { if (o bject === null) obje ct = Funct ion.protot ype; var d esc = Obje ct.getOwnP ropertyDes criptor(ob ject, prop erty); if (desc === undefined) { var par ent = Obje ct.getProt otypeOf(ob ject); if (parent == = null) { return und efined; } else { ret urn get(pa rent, prop erty, rece iver); } } else if ( \"value\" in desc) { return de sc.value; } else { v ar getter = desc.get ; if (gett er === und efined) { return und efined; } return get ter.call(r eceiver); } };\n\nva r _parchme nt = __web pack_requi re__(0);\n \nvar _par chment2 = _interopRe quireDefau lt(_parchm ent);\n\nf unction _i nteropRequ ireDefault (obj) { re turn obj & & obj.__es Module ? o bj : { def ault: obj }; }\n\nfu nction _cl assCallChe ck(instanc e, Constru ctor) { if (!(instan ce instanc eof Constr uctor)) { throw new TypeError( \"Cannot c all a clas s as a fun ction\"); } }\n\nfun ction _pos sibleConst ructorRetu rn(self, c all) { if (!self) { throw new ReferenceE rror(\"thi s hasn't b een initia lised - su per() hasn 't been ca lled\"); } return ca ll && (typ eof call = == \"objec t\" || typ eof call = == \"funct ion\") ? c all : self ; }\n\nfun ction _inh erits(subC lass, supe rClass) { if (typeof superClas s !== \"fu nction\" & & superCla ss !== nul l) { throw new TypeE rror(\"Sup er express ion must e ither be n ull or a f unction, n ot \" + ty peof super Class); } subClass.p rototype = Object.cr eate(super Class && s uperClass. prototype, { constru ctor: { va lue: subCl ass, enume rable: fal se, writab le: true, configurab le: true } }); if (s uperClass) Object.se tPrototype Of ? Objec t.setProto typeOf(sub Class, sup erClass) : subClass. __proto__ = superCla ss; }\n\nv ar ColorAt tributor = function (_Parchmen t$Attribut or) {\n _ inherits(C olorAttrib utor, _Par chment$Att ributor);\ n\n funct ion ColorA ttributor( ) {\n _ classCallC heck(this, ColorAttr ibutor);\n \n retu rn _possib leConstruc torReturn( this, (Col orAttribut or.__proto __ || Obje ct.getProt otypeOf(Co lorAttribu tor)).appl y(this, ar guments)); \n }\n\n _createCl ass(ColorA ttributor, [{\n k ey: 'value ',\n va lue: funct ion value( domNode) { \n va r value = _get(Color Attributor .prototype .__proto__ || Object .getProtot ypeOf(Colo rAttributo r.prototyp e), 'value ', this).c all(this, domNode);\ n if (!value.st artsWith(' rgb(')) re turn value ;\n v alue = val ue.replace (/^[^\\d]+ /, '').rep lace(/[^\\ d]+$/, '') ;\n r eturn '#' + value.sp lit(',').m ap(functio n (compone nt) {\n retur n ('00' + parseInt(c omponent). toString(1 6)).slice( -2);\n }).join( '');\n }\n }]);\ n\n retur n ColorAtt ributor;\n }(_parchme nt2.defaul t.Attribut or.Style); \n\nvar Co lorClass = new _parc hment2.def ault.Attri butor.Clas s('color', 'ql-color ', {\n sc ope: _parc hment2.def ault.Scope .INLINE\n} );\nvar Co lorStyle = new Color Attributor ('color', 'color', { \n scope: _parchmen t2.default .Scope.INL INE\n});\n \nexports. ColorAttri butor = Co lorAttribu tor;\nexpo rts.ColorC lass = Col orClass;\n exports.Co lorStyle = ColorStyl e;\n\n/*** / }),\n/* 27 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\n\nObj ect.define Property(e xports, \" __esModule \", {\n v alue: true \n});\nexp orts.sanit ize = expo rts.defaul t = undefi ned;\n\nva r _createC lass = fun ction () { function defineProp erties(tar get, props ) { for (v ar i = 0; i < props. length; i+ +) { var d escriptor = props[i] ; descript or.enumera ble = desc riptor.enu merable || false; de scriptor.c onfigurabl e = true; if (\"valu e\" in des criptor) d escriptor. writable = true; Obj ect.define Property(t arget, des criptor.ke y, descrip tor); } } return fun ction (Con structor, protoProps , staticPr ops) { if (protoProp s) defineP roperties( Constructo r.prototyp e, protoPr ops); if ( staticProp s) defineP roperties( Constructo r, staticP rops); ret urn Constr uctor; }; }();\n\nva r _get = f unction ge t(object, property, receiver) { if (obje ct === nul l) object = Function .prototype ; var desc = Object. getOwnProp ertyDescri ptor(objec t, propert y); if (de sc === und efined) { var parent = Object. getPrototy peOf(objec t); if (pa rent === n ull) { ret urn undefi ned; } els e { return get(paren t, propert y, receive r); } } el se if (\"v alue\" in desc) { re turn desc. value; } e lse { var getter = d esc.get; i f (getter === undefi ned) { ret urn undefi ned; } ret urn getter .call(rece iver); } } ;\n\nvar _ inline = _ _webpack_r equire__(6 );\n\nvar _inline2 = _interopR equireDefa ult(_inlin e);\n\nfun ction _int eropRequir eDefault(o bj) { retu rn obj && obj.__esMo dule ? obj : { defau lt: obj }; }\n\nfunc tion _clas sCallCheck (instance, Construct or) { if ( !(instance instanceo f Construc tor)) { th row new Ty peError(\" Cannot cal l a class as a funct ion\"); } }\n\nfunct ion _possi bleConstru ctorReturn (self, cal l) { if (! self) { th row new Re ferenceErr or(\"this hasn't bee n initiali sed - supe r() hasn't been call ed\"); } r eturn call && (typeo f call === \"object\ " || typeo f call === \"functio n\") ? cal l : self; }\n\nfunct ion _inher its(subCla ss, superC lass) { if (typeof s uperClass !== \"func tion\" && superClass !== null) { throw n ew TypeErr or(\"Super expressio n must eit her be nul l or a fun ction, not \" + type of superCl ass); } su bClass.pro totype = O bject.crea te(superCl ass && sup erClass.pr ototype, { construct or: { valu e: subClas s, enumera ble: false , writable : true, co nfigurable : true } } ); if (sup erClass) O bject.setP rototypeOf ? Object. setPrototy peOf(subCl ass, super Class) : s ubClass.__ proto__ = superClass ; }\n\nvar Link = fu nction (_I nline) {\n _inherit s(Link, _I nline);\n\ n functio n Link() { \n _cla ssCallChec k(this, Li nk);\n\n return _ possibleCo nstructorR eturn(this , (Link.__ proto__ || Object.ge tPrototype Of(Link)). apply(this , argument s));\n }\ n\n _crea teClass(Li nk, [{\n key: 'fo rmat',\n value: f unction fo rmat(name, value) {\ n if (name !== this.stati cs.blotNam e || !valu e) return _get(Link. prototype. __proto__ || Object. getPrototy peOf(Link. prototype) , 'format' , this).ca ll(this, n ame, value );\n value = th is.constru ctor.sanit ize(value) ;\n t his.domNod e.setAttri bute('href ', value); \n }\n }], [{\n key: 'c reate',\n value: function c reate(valu e) {\n var node = _get(Li nk.__proto __ || Obje ct.getProt otypeOf(Li nk), 'crea te', this) .call(this , value);\ n val ue = this. sanitize(v alue);\n node.s etAttribut e('href', value);\n node. setAttribu te('target ', '_blank ');\n return no de;\n } \n }, {\n key: ' formats',\ n value : function formats(d omNode) {\ n ret urn domNod e.getAttri bute('href ');\n } \n }, {\n key: ' sanitize', \n valu e: functio n sanitize (url) {\n retur n _sanitiz e(url, thi s.PROTOCOL _WHITELIST ) ? url : this.SANIT IZED_URL;\ n }\n }]);\n\n return Lin k;\n}(_inl ine2.defau lt);\n\nLi nk.blotNam e = 'link' ;\nLink.ta gName = 'A ';\nLink.S ANITIZED_U RL = 'abou t:blank';\ nLink.PROT OCOL_WHITE LIST = ['h ttp', 'htt ps', 'mail to', 'tel' ];\n\nfunc tion _sani tize(url, protocols) {\n var anchor = d ocument.cr eateElemen t('a');\n anchor.hr ef = url;\ n var pro tocol = an chor.href. slice(0, a nchor.href .indexOf(' :'));\n r eturn prot ocols.inde xOf(protoc ol) > -1;\ n}\n\nexpo rts.defaul t = Link;\ nexports.s anitize = _sanitize; \n\n/***/ }),\n/* 28 */\n/***/ (function (module, e xports, __ webpack_re quire__) { \n\n\"use strict\";\ n\n\nObjec t.definePr operty(exp orts, \"__ esModule\" , {\n val ue: true\n });\n\nvar _typeof = typeof Sy mbol === \ "function\ " && typeo f Symbol.i terator == = \"symbol \" ? funct ion (obj) { return t ypeof obj; } : funct ion (obj) { return o bj && type of Symbol === \"func tion\" && obj.constr uctor === Symbol && obj !== Sy mbol.proto type ? \"s ymbol\" : typeof obj ; };\n\nva r _createC lass = fun ction () { function defineProp erties(tar get, props ) { for (v ar i = 0; i < props. length; i+ +) { var d escriptor = props[i] ; descript or.enumera ble = desc riptor.enu merable || false; de scriptor.c onfigurabl e = true; if (\"valu e\" in des criptor) d escriptor. writable = true; Obj ect.define Property(t arget, des criptor.ke y, descrip tor); } } return fun ction (Con structor, protoProps , staticPr ops) { if (protoProp s) defineP roperties( Constructo r.prototyp e, protoPr ops); if ( staticProp s) defineP roperties( Constructo r, staticP rops); ret urn Constr uctor; }; }();\n\nva r _dropdow n = __webp ack_requir e__(107);\ n\nvar _dr opdown2 = _interopRe quireDefau lt(_dropdo wn);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _cla ssCallChec k(instance , Construc tor) { if (!(instanc e instance of Constru ctor)) { t hrow new T ypeError(\ "Cannot ca ll a class as a func tion\"); } }\n\nvar Picker = f unction () {\n func tion Picke r(select) {\n var _this = t his;\n\n _classCa llCheck(th is, Picker );\n\n this.selec t = select ;\n thi s.containe r = docume nt.createE lement('sp an');\n this.buil dPicker(); \n this .select.st yle.displa y = 'none' ;\n thi s.select.p arentNode. insertBefo re(this.co ntainer, t his.select );\n th is.label.a ddEventLis tener('mou sedown', f unction () {\n _this.cont ainer.clas sList.togg le('ql-exp anded');\n });\n this.se lect.addEv entListene r('change' , this.upd ate.bind(t his));\n }\n\n _cr eateClass( Picker, [{ \n key: 'buildIte m',\n v alue: func tion build Item(optio n) {\n var _thi s2 = this; \n\n var item = document. createElem ent('span' );\n item.class List.add(' ql-picker- item');\n if (o ption.hasA ttribute(' value')) { \n item.setAt tribute('d ata-value' , option.g etAttribut e('value') );\n }\n i f (option. textConten t) {\n item.s etAttribut e('data-la bel', opti on.textCon tent);\n }\n item.ad dEventList ener('clic k', functi on () {\n _th is2.select Item(item, true);\n });\n retu rn item;\n }\n } , {\n k ey: 'build Label',\n value: function b uildLabel( ) {\n var label = documen t.createEl ement('spa n');\n label.cl assList.ad d('ql-pick er-label') ;\n l abel.inner HTML = _dr opdown2.de fault;\n this.c ontainer.a ppendChild (label);\n retu rn label;\ n }\n }, {\n key: 'buil dOptions', \n valu e: functio n buildOpt ions() {\n var _this3 = t his;\n\n var op tions = do cument.cre ateElement ('span');\ n opt ions.class List.add(' ql-picker- options'); \n [] .slice.cal l(this.sel ect.option s).forEach (function (option) { \n var item = _this3.bu ildItem(op tion);\n opti ons.append Child(item );\n if (opti on.selecte d === true ) {\n _this 3.selectIt em(item);\ n } \n }) ;\n t his.contai ner.append Child(opti ons);\n }\n }, { \n key: 'buildPic ker',\n value: fu nction bui ldPicker() {\n var _this4 = this;\n \n [] .slice.cal l(this.sel ect.attrib utes).forE ach(functi on (item) {\n _this4.co ntainer.se tAttribute (item.name , item.val ue);\n });\n this.co ntainer.cl assList.ad d('ql-pick er');\n this.la bel = this .buildLabe l();\n this.bui ldOptions( );\n }\ n }, {\n key: 'c lose',\n value: f unction cl ose() {\n this. container. classList. remove('ql -expanded' );\n }\ n }, {\n key: 's electItem' ,\n val ue: functi on selectI tem(item) {\n v ar trigger = argumen ts.length > 1 && arg uments[1] !== undefi ned ? argu ments[1] : false;\n\ n var selected = this.con tainer.que rySelector ('.ql-sele cted');\n if (i tem === se lected) re turn;\n if (sel ected != n ull) {\n sele cted.class List.remov e('ql-sele cted');\n }\n if (it em == null ) return;\ n ite m.classLis t.add('ql- selected') ;\n t his.select .selectedI ndex = []. indexOf.ca ll(item.pa rentNode.c hildren, i tem);\n if (ite m.hasAttri bute('data -value')) {\n this.labe l.setAttri bute('data -value', i tem.getAtt ribute('da ta-value') );\n } else {\n th is.label.r emoveAttri bute('data -value');\ n }\n if ( item.hasAt tribute('d ata-label' )) {\n this.l abel.setAt tribute('d ata-label' , item.get Attribute( 'data-labe l'));\n } else {\n this.labe l.removeAt tribute('d ata-label' );\n }\n i f (trigger ) {\n if (typ eof Event === 'funct ion') {\n t his.select .dispatchE vent(new E vent('chan ge'));\n } el se if ((ty peof Event === 'unde fined' ? ' undefined' : _typeof (Event)) = == 'object ') {\n // I E11\n var e vent = doc ument.crea teEvent('E vent');\n e vent.initE vent('chan ge', true, true);\n t his.select .dispatchE vent(event );\n }\n this.cl ose();\n }\n }\n }, { \n key: 'update', \n valu e: functio n update() {\n var option = void 0; \n if (this.sel ect.select edIndex > -1) {\n var i tem = this .container .querySele ctor('.ql- picker-opt ions').chi ldren[this .select.se lectedInde x];\n option = this.sel ect.option s[this.sel ect.select edIndex];\ n t his.select Item(item) ;\n } else {\n thi s.selectIt em(null);\ n }\n var isActive = option != null && o ption !== this.selec t.querySel ector('opt ion[select ed]');\n this.l abel.class List.toggl e('ql-acti ve', isAct ive);\n }\n }]); \n\n retu rn Picker; \n}();\n\n exports.de fault = Pi cker;\n\n/ ***/ }),\n /* 29 */\n /***/ (fun ction(modu le, export s, __webpa ck_require __) {\n\n\ "use stric t\";\n\n\n var _parch ment = __w ebpack_req uire__(0); \n\nvar _p archment2 = _interop RequireDef ault(_parc hment);\n\ nvar _quil l = __webp ack_requir e__(5);\n\ nvar _quil l2 = _inte ropRequire Default(_q uill);\n\n var _block = __webpa ck_require __(4);\n\n var _block 2 = _inter opRequireD efault(_bl ock);\n\nv ar _break = __webpac k_require_ _(16);\n\n var _break 2 = _inter opRequireD efault(_br eak);\n\nv ar _contai ner = __we bpack_requ ire__(24); \n\nvar _c ontainer2 = _interop RequireDef ault(_cont ainer);\n\ nvar _curs or = __web pack_requi re__(23);\ n\nvar _cu rsor2 = _i nteropRequ ireDefault (_cursor); \n\nvar _e mbed = __w ebpack_req uire__(25) ;\n\nvar _ embed2 = _ interopReq uireDefaul t(_embed); \n\nvar _i nline = __ webpack_re quire__(6) ;\n\nvar _ inline2 = _interopRe quireDefau lt(_inline );\n\nvar _scroll = __webpack_ require__( 22);\n\nva r _scroll2 = _intero pRequireDe fault(_scr oll);\n\nv ar _text = __webpack _require__ (7);\n\nva r _text2 = _interopR equireDefa ult(_text) ;\n\nvar _ clipboard = __webpac k_require_ _(55);\n\n var _clipb oard2 = _i nteropRequ ireDefault (_clipboar d);\n\nvar _history = __webpac k_require_ _(42);\n\n var _histo ry2 = _int eropRequir eDefault(_ history);\ n\nvar _ke yboard = _ _webpack_r equire__(3 5);\n\nvar _keyboard 2 = _inter opRequireD efault(_ke yboard);\n \nfunction _interopR equireDefa ult(obj) { return ob j && obj._ _esModule ? obj : { default: o bj }; }\n\ n_quill2.d efault.reg ister({\n 'blots/bl ock': _blo ck2.defaul t,\n 'blo ts/block/e mbed': _bl ock.BlockE mbed,\n ' blots/brea k': _break 2.default, \n 'blots /container ': _contai ner2.defau lt,\n 'bl ots/cursor ': _cursor 2.default, \n 'blots /embed': _ embed2.def ault,\n ' blots/inli ne': _inli ne2.defaul t,\n 'blo ts/scroll' : _scroll2 .default,\ n 'blots/ text': _te xt2.defaul t,\n\n 'm odules/cli pboard': _ clipboard2 .default,\ n 'module s/history' : _history 2.default, \n 'modul es/keyboar d': _keybo ard2.defau lt\n});\n\ n_parchmen t2.default .register( _block2.de fault, _br eak2.defau lt, _curso r2.default , _inline2 .default, _scroll2.d efault, _t ext2.defau lt);\n\nmo dule.expor ts = _quil l2.default ;\n\n/***/ }),\n/* 3 0 */\n/*** / (functio n(module, exports, _ _webpack_r equire__) {\n\n\"use strict\"; \n\nObject .definePro perty(expo rts, \"__e sModule\", { value: true });\n var Regist ry = __web pack_requi re__(1);\n var Shadow Blot = /** @class */ (function () {\n function ShadowBlot (domNode) {\n this.domN ode = domN ode;\n this.a ttach();\n }\n Object.de fineProper ty(ShadowB lot.protot ype, \"sta tics\", {\ n / / Hack for accessing inherited static me thods\n get: function ( ) {\n ret urn this.c onstructor ;\n },\n enumera ble: true, \n configurab le: true\n });\n ShadowB lot.create = functio n (value) {\n if (this. tagName == null) {\n throw ne w Registry .Parchment Error('Blo t definiti on missing tagName') ;\n }\n var node ;\n if (Array .isArray(t his.tagNam e)) {\n i f (typeof value === 'string') {\n v alue = val ue.toUpper Case();\n if (p arseInt(va lue).toStr ing() === value) {\n value = pa rseInt(val ue);\n }\n }\n if (type of value = == 'number ') {\n node = d ocument.cr eateElemen t(this.tag Name[value - 1]);\n }\n else if (this. tagName.in dexOf(valu e) > -1) { \n no de = docum ent.create Element(va lue);\n } \n else { \n no de = docum ent.create Element(th is.tagName [0]);\n } \n }\n else {\n node = do cument.cre ateElement (this.tagN ame);\n }\n if ( this.class Name) {\n node.clas sList.add( this.class Name);\n }\n ret urn node;\ n };\n ShadowB lot.protot ype.attach = functio n () {\n this .domNode[R egistry.DA TA_KEY] = { blot: th is };\n };\n S hadowBlot. prototype. clone = fu nction () {\n var domNo de = this. domNode.cl oneNode(fa lse);\n retur n Registry .create(do mNode);\n };\n ShadowBlo t.prototyp e.detach = function () {\n if (th is.parent != null)\n this.par ent.remove Child(this );\n delete t his.domNod e[Registry .DATA_KEY] ;\n };\ n Shado wBlot.prot otype.dele teAt = fun ction (ind ex, length ) {\n var blo t = this.i solate(ind ex, length );\n blot.rem ove();\n };\n ShadowBlot .prototype .formatAt = function (index, l ength, nam e, value) {\n var blot = this.iso late(index , length); \n if (Regist ry.query(n ame, Regis try.Scope. BLOT) != n ull && val ue) {\n b lot.wrap(n ame, value );\n }\n else if (Registry .query(nam e, Registr y.Scope.AT TRIBUTE) ! = null) {\ n var par ent = Regi stry.creat e(this.sta tics.scope );\n blot .wrap(pare nt);\n pa rent.forma t(name, va lue);\n }\n };\n ShadowBlot .prototype .insertAt = function (index, v alue, def) {\n var blot = (def == null) ? R egistry.cr eate('text ', value) : Registry .create(va lue, def); \n var ref = this.split (index);\n th is.parent. insertBefo re(blot, r ef);\n };\n Sh adowBlot.p rototype.i nsertInto = function (parentBl ot, refBlo t) {\n if (th is.parent != null) { \n this.p arent.chil dren.remov e(this);\n }\ n p arentBlot. children.i nsertBefor e(this, re fBlot);\n if (refBlot ! = null) {\ n var ref DomNode = refBlot.do mNode;\n }\n if (this.next == null | | this.dom Node.nextS ibling != refDomNode ) {\n par entBlot.do mNode.inse rtBefore(t his.domNod e, (typeof refDomNod e !== 'und efined') ? refDomNod e : null); \n }\n this.pare nt = paren tBlot;\n };\n ShadowBlot .prototype .isolate = function (index, le ngth) {\n var target = this.split (index);\n ta rget.split (length);\ n r eturn targ et;\n } ;\n Sha dowBlot.pr ototype.le ngth = fun ction () { \n return 1;\ n };\n ;\n ShadowBlot .prototype .offset = function ( root) {\n if (root === void 0) { root = thi s.parent; }\n if (this. parent == null || th is == root )\n retur n 0;\n return this.pare nt.childre n.offset(t his) + thi s.parent.o ffset(root );\n }; \n Shad owBlot.pro totype.opt imize = fu nction (co ntext) {\n // TODO clea n up once we use Wea kMap\n if (th is.domNode [Registry. DATA_KEY] != null) { \n delete this.domN ode[Regist ry.DATA_KE Y].mutatio ns;\n }\n };\n Sh adowBlot.p rototype.r emove = fu nction () {\n if (this. domNode.pa rentNode ! = null) {\ n this.do mNode.pare ntNode.rem oveChild(t his.domNod e);\n }\n this.d etach();\n };\n ShadowBl ot.prototy pe.replace = functio n (target) {\n if (targ et.parent == null)\n return;\ n t arget.pare nt.insertB efore(this , target.n ext);\n targe t.remove() ;\n };\ n Shado wBlot.prot otype.repl aceWith = function ( name, valu e) {\n var re placement = typeof n ame === 's tring' ? R egistry.cr eate(name, value) : name;\n repla cement.rep lace(this) ;\n return re placement; \n };\n Shadow Blot.proto type.split = functio n (index, force) {\n re turn index === 0 ? t his : this .next;\n };\n ShadowBlot .prototype .update = function ( mutations, context) {\n // Nothin g to do by default\n };\n ShadowBl ot.prototy pe.wrap = function ( name, valu e) {\n var wr apper = ty peof name === 'strin g' ? Regis try.create (name, val ue) : name ;\n if (this. parent != null) {\n this.pare nt.insertB efore(wrap per, this. next);\n }\n wra pper.appen dChild(thi s);\n return wrapper;\n };\n ShadowBl ot.blotNam e = 'abstr act';\n return Sh adowBlot;\ n}());\nex ports.defa ult = Shad owBlot;\n\ n\n/***/ } ),\n/* 31 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \nObject.d efinePrope rty(export s, \"__esM odule\", { value: tr ue });\nva r attribut or_1 = __w ebpack_req uire__(12) ;\nvar cla ss_1 = __w ebpack_req uire__(32) ;\nvar sty le_1 = __w ebpack_req uire__(33) ;\nvar Reg istry = __ webpack_re quire__(1) ;\nvar Att ributorSto re = /** @ class */ ( function ( ) {\n f unction At tributorSt ore(domNod e) {\n this.a ttributes = {};\n this. domNode = domNode;\n th is.build() ;\n }\n Attrib utorStore. prototype. attribute = function (attribut e, value) {\n if (value ) {\n if (attribute .add(this. domNode, v alue)) {\n if ( attribute. value(this .domNode) != null) { \n this.att ributes[at tribute.at trName] = attribute; \n }\ n els e {\n delet e this.att ributes[at tribute.at trName];\n }\n }\n }\n else {\ n attribu te.remove( this.domNo de);\n de lete this. attributes [attribute .attrName] ;\n }\n }; \n Attr ibutorStor e.prototyp e.build = function ( ) {\n var _th is = this; \n this.attri butes = {} ;\n var attri butes = at tributor_1 .default.k eys(this.d omNode);\n va r classes = class_1. default.ke ys(this.do mNode);\n var styles = style_1.de fault.keys (this.domN ode);\n attri butes.conc at(classes ).concat(s tyles).for Each(funct ion (name) {\n var attr = Reg istry.quer y(name, Re gistry.Sco pe.ATTRIBU TE);\n if (attr ins tanceof at tributor_1 .default) {\n _ this.attri butes[attr .attrName] = attr;\n }\n });\n };\n Attributor Store.prot otype.copy = functio n (target) {\n var _thi s = this;\ n O bject.keys (this.attr ibutes).fo rEach(func tion (key) {\n var value = _t his.attrib utes[key]. value(_thi s.domNode) ;\n targe t.format(k ey, value) ;\n });\n };\n At tributorSt ore.protot ype.move = function (target) { \n var _this = this;\n thi s.copy(tar get);\n Objec t.keys(thi s.attribut es).forEac h(function (key) {\n _this.at tributes[k ey].remove (_this.dom Node);\n });\ n t his.attrib utes = {}; \n };\n Attrib utorStore. prototype. values = f unction () {\n var _thi s = this;\ n r eturn Obje ct.keys(th is.attribu tes).reduc e(function (attribut es, name) {\n attri butes[name ] = _this. attributes [name].val ue(_this.d omNode);\n return a ttributes; \n }, {});\n };\n return At tributorSt ore;\n}()) ;\nexports .default = Attributo rStore;\n\ n\n/***/ } ),\n/* 32 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \nvar __ex tends = (t his && thi s.__extend s) || (fun ction () { \n var extendStat ics = Obje ct.setProt otypeOf || \n ({ __proto __: [] } i nstanceof Array && f unction (d , b) { d._ _proto__ = b; }) ||\ n f unction (d , b) { for (var p in b) if (b. hasOwnProp erty(p)) d [p] = b[p] ; };\n return fun ction (d, b) {\n extend Statics(d, b);\n functi on __() { this.const ructor = d ; }\n d.proto type = b = == null ? Object.cre ate(b) : ( __.prototy pe = b.pro totype, ne w __());\n };\n}) ();\nObjec t.definePr operty(exp orts, \"__ esModule\" , { value: true });\ nvar attri butor_1 = __webpack_ require__( 12);\nfunc tion match (node, pre fix) {\n var clas sName = no de.getAttr ibute('cla ss') || '' ;\n ret urn classN ame.split( /\\s+/).fi lter(funct ion (name) {\n return n ame.indexO f(prefix + \"-\") == = 0;\n });\n}\nva r ClassAtt ributor = /** @class */ (funct ion (_supe r) {\n __extends( ClassAttri butor, _su per);\n function ClassAttri butor() {\ n r eturn _sup er !== nul l && _supe r.apply(th is, argume nts) || th is;\n } \n Clas sAttributo r.keys = f unction (n ode) {\n retu rn (node.g etAttribut e('class') || '').sp lit(/\\s+/ ).map(func tion (name ) {\n ret urn name.s plit('-'). slice(0, - 1).join('- ');\n });\n };\n ClassAttri butor.prot otype.add = function (node, va lue) {\n if ( !this.canA dd(node, v alue))\n return fal se;\n this.re move(node) ;\n node.clas sList.add( this.keyNa me + \"-\" + value); \n return tru e;\n }; \n Clas sAttributo r.prototyp e.remove = function (node) {\n va r matches = match(no de, this.k eyName);\n ma tches.forE ach(functi on (name) {\n node. classList. remove(nam e);\n });\n if ( node.class List.lengt h === 0) { \n node.r emoveAttri bute('clas s');\n }\n };\n C lassAttrib utor.proto type.value = functio n (node) { \n var result = match(n ode, this. keyName)[0 ] || '';\n va r value = result.sli ce(this.ke yName.leng th + 1); / / +1 for h yphen\n retur n this.can Add(node, value) ? v alue : ''; \n };\n return ClassAttr ibutor;\n} (attributo r_1.defaul t));\nexpo rts.defaul t = ClassA ttributor; \n\n\n/*** / }),\n/* 33 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\nvar _ _extends = (this && this.__ext ends) || ( function ( ) {\n v ar extendS tatics = O bject.setP rototypeOf ||\n ({ __pr oto__: [] } instance of Array & & function (d, b) { d.__proto_ _ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnP roperty(p) ) d[p] = b [p]; };\n return function ( d, b) {\n ext endStatics (d, b);\n fun ction __() { this.co nstructor = d; }\n d.pr ototype = b === null ? Object. create(b) : (__.prot otype = b. prototype, new __()) ;\n };\ n})();\nOb ject.defin eProperty( exports, \ "__esModul e\", { val ue: true } );\nvar at tributor_1 = __webpa ck_require __(12);\nf unction ca melize(nam e) {\n var parts = name.spl it('-');\n var re st = parts .slice(1). map(functi on (part) {\n return pa rt[0].toUp perCase() + part.sli ce(1);\n }).join( '');\n return par ts[0] + re st;\n}\nva r StyleAtt ributor = /** @class */ (funct ion (_supe r) {\n __extends( StyleAttri butor, _su per);\n function StyleAttri butor() {\ n r eturn _sup er !== nul l && _supe r.apply(th is, argume nts) || th is;\n } \n Styl eAttributo r.keys = f unction (n ode) {\n retu rn (node.g etAttribut e('style') || '').sp lit(';').m ap(functio n (value) {\n var a rr = value .split(':' );\n retu rn arr[0]. trim();\n }); \n };\n StyleA ttributor. prototype. add = func tion (node , value) { \n if (!this. canAdd(nod e, value)) \n return false;\n nod e.style[ca melize(thi s.keyName) ] = value; \n return tru e;\n }; \n Styl eAttributo r.prototyp e.remove = function (node) {\n no de.style[c amelize(th is.keyName )] = '';\n if (!node.ge tAttribute ('style')) {\n node .removeAtt ribute('st yle');\n }\n };\n StyleAttr ibutor.pro totype.val ue = funct ion (node) {\n var valu e = node.s tyle[camel ize(this.k eyName)];\ n r eturn this .canAdd(no de, value) ? value : '';\n };\n re turn Style Attributor ;\n}(attri butor_1.de fault));\n exports.de fault = St yleAttribu tor;\n\n\n /***/ }),\ n/* 34 */\ n/***/ (fu nction(mod ule, expor ts, __webp ack_requir e__) {\n\n \"use stri ct\";\n\n\ nObject.de fineProper ty(exports , \"__esMo dule\", {\ n value: true\n});\ n\nvar _cr eateClass = function () { func tion defin ePropertie s(target, props) { f or (var i = 0; i < p rops.lengt h; i++) { var descri ptor = pro ps[i]; des criptor.en umerable = descripto r.enumerab le || fals e; descrip tor.config urable = t rue; if (\ "value\" i n descript or) descri ptor.writa ble = true ; Object.d efinePrope rty(target , descript or.key, de scriptor); } } retur n function (Construc tor, proto Props, sta ticProps) { if (prot oProps) de fineProper ties(Const ructor.pro totype, pr otoProps); if (stati cProps) de fineProper ties(Const ructor, st aticProps) ; return C onstructor ; }; }();\ n\nfunctio n _classCa llCheck(in stance, Co nstructor) { if (!(i nstance in stanceof C onstructor )) { throw new TypeE rror(\"Can not call a class as a function \"); } }\n \nvar Them e = functi on () {\n function Theme(quil l, options ) {\n _ classCallC heck(this, Theme);\n \n this .quill = q uill;\n this.opti ons = opti ons;\n this.modul es = {};\n }\n\n _ createClas s(Theme, [ {\n key : 'init',\ n value : function init() {\ n var _this = t his;\n\n Object .keys(this .options.m odules).fo rEach(func tion (name ) {\n if (_th is.modules [name] == null) {\n _ this.addMo dule(name) ;\n }\n });\n } \n }, {\n key: ' addModule' ,\n val ue: functi on addModu le(name) { \n va r moduleCl ass = this .quill.con structor.i mport('mod ules/' + n ame);\n this.mo dules[name ] = new mo duleClass( this.quill , this.opt ions.modul es[name] | | {});\n return this.modu les[name]; \n }\n }]);\n\n return Th eme;\n}(); \n\nTheme. DEFAULTS = {\n modu les: {}\n} ;\nTheme.t hemes = {\ n 'defaul t': Theme\ n};\n\nexp orts.defau lt = Theme ;\n\n/***/ }),\n/* 3 5 */\n/*** / (functio n(module, exports, _ _webpack_r equire__) {\n\n\"use strict\"; \n\n\nObje ct.defineP roperty(ex ports, \"_ _esModule\ ", {\n va lue: true\ n});\nexpo rts.SHORTK EY = expor ts.default = undefin ed;\n\nvar _typeof = typeof Sy mbol === \ "function\ " && typeo f Symbol.i terator == = \"symbol \" ? funct ion (obj) { return t ypeof obj; } : funct ion (obj) { return o bj && type of Symbol === \"func tion\" && obj.constr uctor === Symbol && obj !== Sy mbol.proto type ? \"s ymbol\" : typeof obj ; };\n\nva r _slicedT oArray = f unction () { functio n sliceIte rator(arr, i) { var _arr = []; var _n = true; var _d = false ; var _e = undefined ; try { fo r (var _i = arr[Symb ol.iterato r](), _s; !(_n = (_s = _i.next ()).done); _n = true ) { _arr.p ush(_s.val ue); if (i && _arr.l ength === i) break; } } catch (err) { _d = true; _ e = err; } finally { try { if (!_n && _i [\"return\ "]) _i[\"r eturn\"]() ; } finall y { if (_d ) throw _e ; } } retu rn _arr; } return fu nction (ar r, i) { if (Array.is Array(arr) ) { return arr; } el se if (Sym bol.iterat or in Obje ct(arr)) { return sl iceIterato r(arr, i); } else { throw new TypeError( \"Invalid attempt to destructu re non-ite rable inst ance\"); } }; }();\n \nvar _cre ateClass = function () { funct ion define Properties (target, p rops) { fo r (var i = 0; i < pr ops.length ; i++) { v ar descrip tor = prop s[i]; desc riptor.enu merable = descriptor .enumerabl e || false ; descript or.configu rable = tr ue; if (\" value\" in descripto r) descrip tor.writab le = true; Object.de fineProper ty(target, descripto r.key, des criptor); } } return function (Construct or, protoP rops, stat icProps) { if (proto Props) def inePropert ies(Constr uctor.prot otype, pro toProps); if (static Props) def inePropert ies(Constr uctor, sta ticProps); return Co nstructor; }; }();\n \nvar _clo ne = __web pack_requi re__(21);\ n\nvar _cl one2 = _in teropRequi reDefault( _clone);\n \nvar _dee pEqual = _ _webpack_r equire__(1 1);\n\nvar _deepEqua l2 = _inte ropRequire Default(_d eepEqual); \n\nvar _e xtend = __ webpack_re quire__(3) ;\n\nvar _ extend2 = _interopRe quireDefau lt(_extend );\n\nvar _quillDelt a = __webp ack_requir e__(2);\n\ nvar _quil lDelta2 = _interopRe quireDefau lt(_quillD elta);\n\n var _op = __webpack_ require__( 20);\n\nva r _op2 = _ interopReq uireDefaul t(_op);\n\ nvar _parc hment = __ webpack_re quire__(0) ;\n\nvar _ parchment2 = _intero pRequireDe fault(_par chment);\n \nvar _emb ed = __web pack_requi re__(25);\ n\nvar _em bed2 = _in teropRequi reDefault( _embed);\n \nvar _qui ll = __web pack_requi re__(5);\n \nvar _qui ll2 = _int eropRequir eDefault(_ quill);\n\ nvar _logg er = __web pack_requi re__(10);\ n\nvar _lo gger2 = _i nteropRequ ireDefault (_logger); \n\nvar _m odule = __ webpack_re quire__(9) ;\n\nvar _ module2 = _interopRe quireDefau lt(_module );\n\nfunc tion _inte ropRequire Default(ob j) { retur n obj && o bj.__esMod ule ? obj : { defaul t: obj }; }\n\nfunct ion _defin eProperty( obj, key, value) { i f (key in obj) { Obj ect.define Property(o bj, key, { value: va lue, enume rable: tru e, configu rable: tru e, writabl e: true }) ; } else { obj[key] = value; } return ob j; }\n\nfu nction _cl assCallChe ck(instanc e, Constru ctor) { if (!(instan ce instanc eof Constr uctor)) { throw new TypeError( \"Cannot c all a clas s as a fun ction\"); } }\n\nfun ction _pos sibleConst ructorRetu rn(self, c all) { if (!self) { throw new ReferenceE rror(\"thi s hasn't b een initia lised - su per() hasn 't been ca lled\"); } return ca ll && (typ eof call = == \"objec t\" || typ eof call = == \"funct ion\") ? c all : self ; }\n\nfun ction _inh erits(subC lass, supe rClass) { if (typeof superClas s !== \"fu nction\" & & superCla ss !== nul l) { throw new TypeE rror(\"Sup er express ion must e ither be n ull or a f unction, n ot \" + ty peof super Class); } subClass.p rototype = Object.cr eate(super Class && s uperClass. prototype, { constru ctor: { va lue: subCl ass, enume rable: fal se, writab le: true, configurab le: true } }); if (s uperClass) Object.se tPrototype Of ? Objec t.setProto typeOf(sub Class, sup erClass) : subClass. __proto__ = superCla ss; }\n\nv ar debug = (0, _logg er2.defaul t)('quill: keyboard') ;\n\nvar S HORTKEY = /Mac/i.tes t(navigato r.platform ) ? 'metaK ey' : 'ctr lKey';\n\n var Keyboa rd = funct ion (_Modu le) {\n _ inherits(K eyboard, _ Module);\n \n _creat eClass(Key board, nul l, [{\n key: 'mat ch',\n value: fun ction matc h(evt, bin ding) {\n bindi ng = norma lize(bindi ng);\n if (['al tKey', 'ct rlKey', 'm etaKey', ' shiftKey'] .some(func tion (key) {\n return ! !binding[k ey] !== ev t[key] && binding[ke y] !== nul l;\n })) {\n retur n false;\n }\n retur n binding. key === (e vt.which | | evt.keyC ode);\n }\n }]); \n\n func tion Keybo ard(quill, options) {\n _cl assCallChe ck(this, K eyboard);\ n\n var _this = _ possibleCo nstructorR eturn(this , (Keyboar d.__proto_ _ || Objec t.getProto typeOf(Key board)).ca ll(this, q uill, opti ons));\n\n _this. bindings = {};\n Object.key s(_this.op tions.bind ings).forE ach(functi on (name) {\n i f (name == = 'list au tofill' && quill.scr oll.whitel ist != nul l && !quil l.scroll.w hitelist[' list']) {\ n r eturn;\n }\n if (_th is.options .bindings[ name]) {\n _t his.addBin ding(_this .options.b indings[na me]);\n }\n });\n _ this.addBi nding({ ke y: Keyboar d.keys.ENT ER, shiftK ey: null } , handleEn ter);\n _this.add Binding({ key: Keybo ard.keys.E NTER, meta Key: null, ctrlKey: null, altK ey: null } , function () {});\n if (/F irefox/i.t est(naviga tor.userAg ent)) {\n // Ne ed to hand le delete and backsp ace for Fi refox in t he general case #117 1\n _ this.addBi nding({ ke y: Keyboar d.keys.BAC KSPACE }, { collapse d: true }, handleBac kspace);\n _thi s.addBindi ng({ key: Keyboard.k eys.DELETE }, { coll apsed: tru e }, handl eDelete);\ n } els e {\n _this.add Binding({ key: Keybo ard.keys.B ACKSPACE } , { collap sed: true, prefix: / ^.?$/ }, h andleBacks pace);\n _this. addBinding ({ key: Ke yboard.key s.DELETE } , { collap sed: true, suffix: / ^.?$/ }, h andleDelet e);\n } \n _thi s.addBindi ng({ key: Keyboard.k eys.BACKSP ACE }, { c ollapsed: false }, h andleDelet eRange);\n _this. addBinding ({ key: Ke yboard.key s.DELETE } , { collap sed: false }, handle DeleteRang e);\n _ this.addBi nding({ ke y: Keyboar d.keys.BAC KSPACE, al tKey: null , ctrlKey: null, met aKey: null , shiftKey : null }, { collapse d: true, o ffset: 0 } , handleBa ckspace);\ n _this .listen(); \n retu rn _this;\ n }\n\n _createCla ss(Keyboar d, [{\n key: 'add Binding',\ n value : function addBindin g(key) {\n var context = arguments. length > 1 && argume nts[1] !== undefined ? argumen ts[1] : {} ;\n v ar handler = argumen ts.length > 2 && arg uments[2] !== undefi ned ? argu ments[2] : {};\n\n var bi nding = no rmalize(ke y);\n if (bindi ng == null || bindin g.key == n ull) {\n retu rn debug.w arn('Attem pted to ad d invalid keyboard b inding', b inding);\n }\n if (t ypeof cont ext === 'f unction') {\n context = { handler : context };\n }\n i f (typeof handler == = 'functio n') {\n handl er = { han dler: hand ler };\n }\n binding = (0, _ex tend2.defa ult)(bindi ng, contex t, handler );\n this.bindi ngs[bindin g.key] = t his.bindin gs[binding .key] || [ ];\n this.bindi ngs[bindin g.key].pus h(binding) ;\n }\n }, {\n key: 'li sten',\n value: f unction li sten() {\n var _this2 = t his;\n\n this.q uill.root. addEventLi stener('ke ydown', fu nction (ev t) {\n if (ev t.defaultP revented) return;\n var which = e vt.which | | evt.keyC ode;\n var bi ndings = ( _this2.bin dings[whic h] || []). filter(fun ction (bin ding) {\n r eturn Keyb oard.match (evt, bind ing);\n });\n if (bindings .length == = 0) retur n;\n var rang e = _this2 .quill.get Selection( );\n if (rang e == null || !_this2 .quill.has Focus()) r eturn;\n\n va r _quill$g etLine = _ this2.quil l.getLine( range.inde x),\n _qu ill$getLin e2 = _slic edToArray( _quill$get Line, 2),\ n line = _quill$get Line2[0],\ n offset = _quill$g etLine2[1] ;\n\n var _qu ill$getLea f = _this2 .quill.get Leaf(range .index),\n _quill$g etLeaf2 = _slicedToA rray(_quil l$getLeaf, 2),\n le afStart = _quill$get Leaf2[0],\ n offsetS tart = _qu ill$getLea f2[1];\n\n va r _ref = r ange.lengt h === 0 ? [leafStart , offsetSt art] : _th is2.quill. getLeaf(ra nge.index + range.le ngth),\n _ref2 = _s licedToArr ay(_ref, 2 ),\n leaf End = _ref 2[0],\n o ffsetEnd = _ref2[1]; \n\n var pref ixText = l eafStart i nstanceof _parchment 2.default. Text ? lea fStart.val ue().slice (0, offset Start) : ' ';\n var suff ixText = l eafEnd ins tanceof _p archment2. default.Te xt ? leafE nd.value() .slice(off setEnd) : '';\n var cur Context = {\n collaps ed: range. length === 0,\n empty : range.le ngth === 0 && line.l ength() <= 1,\n forma t: _this2. quill.getF ormat(rang e),\n offse t: offset, \n prefix: prefixText ,\n suffix: suffixTex t\n };\n var pre vented = b indings.so me(functio n (binding ) {\n if (b inding.col lapsed != null && bi nding.coll apsed !== curContext .collapsed ) return f alse;\n if (binding.e mpty != nu ll && bind ing.empty !== curCon text.empty ) return f alse;\n if (binding.o ffset != n ull && bin ding.offse t !== curC ontext.off set) retur n false;\n if (Array. isArray(bi nding.form at)) {\n // any for mat is pre sent\n if (binding. format.eve ry(functio n (name) { \n retu rn curCont ext.format [name] == null;\n } )) {\n return fal se;\n }\n } else if (_typeof(b inding.for mat) === ' object') { \n // all formats m ust match\ n if (!Ob ject.keys( binding.fo rmat).ever y(function (name) {\ n if (b inding.for mat[name] === true) return cur Context.fo rmat[name] != null;\ n if (b inding.for mat[name] === false) return cu rContext.f ormat[name ] == null; \n retu rn (0, _de epEqual2.d efault)(bi nding.form at[name], curContext .format[na me]);\n } )) {\n return fal se;\n }\n }\n if (bin ding.prefi x != null && !bindin g.prefix.t est(curCon text.prefi x)) return false;\n i f (binding .suffix != null && ! binding.su ffix.test( curContext .suffix)) return fal se;\n retur n binding. handler.ca ll(_this2, range, cu rContext) !== true;\ n } );\n if (prev ented) {\n evt.preven tDefault() ;\n }\n });\n } \n }]);\n \n return Keyboard; \n}(_modul e2.default );\n\nKeyb oard.keys = {\n BAC KSPACE: 8, \n TAB: 9 ,\n ENTER : 13,\n E SCAPE: 27, \n LEFT: 37,\n UP: 38,\n RI GHT: 39,\n DOWN: 40 ,\n DELET E: 46\n};\ n\nKeyboar d.DEFAULTS = {\n bi ndings: {\ n 'bold ': makeFor matHandler ('bold'),\ n 'ital ic': makeF ormatHandl er('italic '),\n ' underline' : makeForm atHandler( 'underline '),\n ' indent': { \n // highlight tab or ta b at begin ning of li st, indent or blockq uote\n key: Key board.keys .TAB,\n format: ['blockqu ote', 'ind ent', 'lis t'],\n handler: function handler(ra nge, conte xt) {\n if (c ontext.col lapsed && context.of fset !== 0 ) return t rue;\n this.q uill.forma t('indent' , '+1', _q uill2.defa ult.source s.USER);\n }\n },\n 'outdent' : {\n key: Keyb oard.keys. TAB,\n shiftKey : true,\n forma t: ['block quote', 'i ndent', 'l ist'],\n // hig hlight tab or tab at beginning of list, indent or blockquote \n ha ndler: fun ction hand ler(range, context) {\n if (conte xt.collaps ed && cont ext.offset !== 0) re turn true; \n this.quill .format('i ndent', '- 1', _quill 2.default. sources.US ER);\n }\n } ,\n 'ou tdent back space': {\ n key : Keyboard .keys.BACK SPACE,\n collap sed: true, \n sh iftKey: nu ll,\n metaKey: null,\n ctrlKey : null,\n altKe y: null,\n form at: ['inde nt', 'list '],\n offset: 0 ,\n h andler: fu nction han dler(range , context) {\n if (cont ext.format .indent != null) {\n this.quill .format('i ndent', '- 1', _quill 2.default. sources.US ER);\n } else if (conte xt.format. list != nu ll) {\n thi s.quill.fo rmat('list ', false, _quill2.de fault.sour ces.USER); \n }\n } \n },\n 'inden t code-blo ck': makeC odeBlockHa ndler(true ),\n 'o utdent cod e-block': makeCodeBl ockHandler (false),\n 'remov e tab': {\ n key : Keyboard .keys.TAB, \n sh iftKey: tr ue,\n collapsed : true,\n prefi x: /\\t$/, \n ha ndler: fun ction hand ler(range) {\n this.qui ll.deleteT ext(range. index - 1, 1, _quill 2.default. sources.US ER);\n }\n } ,\n 'ta b': {\n key: Ke yboard.key s.TAB,\n handle r: functio n handler( range) {\n th is.quill.h istory.cut off();\n var delta = ne w _quillDe lta2.defau lt().retai n(range.in dex).delet e(range.le ngth).inse rt('\\t'); \n this.quill .updateCon tents(delt a, _quill2 .default.s ources.USE R);\n this.qu ill.histor y.cutoff() ;\n this.quil l.setSelec tion(range .index + 1 , _quill2. default.so urces.SILE NT);\n }\n } ,\n 'li st empty e nter': {\n key: Keyboard. keys.ENTER ,\n c ollapsed: true,\n format: ['list'], \n em pty: true, \n ha ndler: fun ction hand ler(range, context) {\n this.quil l.format(' list', fal se, _quill 2.default. sources.US ER);\n if (co ntext.form at.indent) {\n this.q uill.forma t('indent' , false, _ quill2.def ault.sourc es.USER);\ n } \n }\ n },\n 'checkl ist enter' : {\n key: Keyb oard.keys. ENTER,\n collap sed: true, \n fo rmat: { li st: 'check ed' },\n handle r: functio n handler( range) {\n va r _quill$g etLine3 = this.quill .getLine(r ange.index ),\n _qui ll$getLine 4 = _slice dToArray(_ quill$getL ine3, 2),\ n line = _quill$get Line4[0],\ n offset = _quill$g etLine4[1] ;\n\n var del ta = new _ quillDelta 2.default( ).retain(r ange.index ).insert(' \\n', { li st: 'check ed' }).ret ain(line.l ength() - offset - 1 ).retain(1 , { list: 'unchecked ' });\n this. quill.upda teContents (delta, _q uill2.defa ult.source s.USER);\n th is.quill.s etSelectio n(range.in dex + 1, _ quill2.def ault.sourc es.SILENT) ;\n this.quil l.scrollIn toView();\ n }\n },\n 'header enter': {\ n key : Keyboard .keys.ENTE R,\n collapsed: true,\n format : ['header '],\n suffix: / ^$/,\n handler: function handler(ra nge, conte xt) {\n var _ quill$getL ine5 = thi s.quill.ge tLine(rang e.index),\ n _quill$ getLine6 = _slicedTo Array(_qui ll$getLine 5, 2),\n line = _qu ill$getLin e6[0],\n offset = _ quill$getL ine6[1];\n \n var delta = new _qui llDelta2.d efault().r etain(rang e.index).i nsert('\\n ', context .format).r etain(line .length() - offset - 1).retain (1, { head er: null } );\n this.qui ll.updateC ontents(de lta, _quil l2.default .sources.U SER);\n this. quill.setS election(r ange.index + 1, _qui ll2.defaul t.sources. SILENT);\n th is.quill.s crollIntoV iew();\n }\n },\n ' list autof ill': {\n key: ' ',\n collapse d: true,\n form at: { list : false }, \n pr efix: /^\\ s*?(1\\.|- |\\[ ?\\]| \\[x\\])$/ ,\n h andler: fu nction han dler(range , context) {\n var leng th = conte xt.prefix. length;\n\ n v ar _quill$ getLine7 = this.quil l.getLine( range.inde x),\n _qu ill$getLin e8 = _slic edToArray( _quill$get Line7, 2), \n line = _quill$ge tLine8[0], \n offset = _quill$ getLine8[1 ];\n\n if (of fset > len gth) retur n true;\n var value = v oid 0;\n swit ch (contex t.prefix.t rim()) {\n case '[]': case '[ ]' :\n value = 'unchec ked';\n b reak;\n cas e '[x]':\n value = 'checked'; \n break; \n case '-' :\n value = 'bullet ';\n brea k;\n defaul t:\n valu e = 'order ed';\n }\n this. quill.inse rtText(ran ge.index, ' ', _quil l2.default .sources.U SER);\n this. quill.hist ory.cutoff ();\n var del ta = new _ quillDelta 2.default( ).retain(r ange.index - offset) .delete(le ngth + 1). retain(lin e.length() - 2 - off set).retai n(1, { lis t: value } );\n this.qui ll.updateC ontents(de lta, _quil l2.default .sources.U SER);\n this. quill.hist ory.cutoff ();\n this.qu ill.setSel ection(ran ge.index - length, _ quill2.def ault.sourc es.SILENT) ;\n } \n },\n 'code exit': {\n key: Keyboard. keys.ENTER ,\n c ollapsed: true,\n format: ['code-bl ock'],\n prefix : /\\n\\n$ /,\n suffix: /^ \\s+$/,\n handl er: functi on handler (range) {\ n v ar _quill$ getLine9 = this.quil l.getLine( range.inde x),\n _qu ill$getLin e10 = _sli cedToArray (_quill$ge tLine9, 2) ,\n line = _quill$g etLine10[0 ],\n offs et = _quil l$getLine1 0[1];\n\n var delta = n ew _quillD elta2.defa ult().reta in(range.i ndex + lin e.length() - offset - 2).retai n(1, { 'co de-block': null }).d elete(1);\ n t his.quill. updateCont ents(delta , _quill2. default.so urces.USER );\n }\n },\ n 'embe d left': m akeEmbedAr rowHandler (Keyboard. keys.LEFT, false),\n 'embed left shif t': makeEm bedArrowHa ndler(Keyb oard.keys. LEFT, true ),\n 'e mbed right ': makeEmb edArrowHan dler(Keybo ard.keys.R IGHT, fals e),\n ' embed righ t shift': makeEmbedA rrowHandle r(Keyboard .keys.RIGH T, true)\n }\n};\n\ nfunction makeEmbedA rrowHandle r(key, shi ftKey) {\n var _ref 3;\n\n va r where = key === Ke yboard.key s.LEFT ? ' prefix' : 'suffix';\ n return _ref3 = {\ n key: key,\n shiftKey: shiftKey\n }, _defi neProperty (_ref3, wh ere, /^$/) , _defineP roperty(_r ef3, 'hand ler', func tion handl er(range) {\n var index = r ange.index ;\n if (key === K eyboard.ke ys.RIGHT) {\n i ndex += ra nge.length + 1;\n }\n\n var _quill $getLeaf3 = this.qui ll.getLeaf (index),\n _q uill$getLe af4 = _sli cedToArray (_quill$ge tLeaf3, 1) ,\n leaf = _q uill$getLe af4[0];\n\ n if (! (leaf inst anceof _em bed2.defau lt)) retur n true;\n if (key === Keybo ard.keys.L EFT) {\n if (sh iftKey) {\ n t his.quill. setSelecti on(range.i ndex - 1, range.leng th + 1, _q uill2.defa ult.source s.USER);\n } el se {\n this.q uill.setSe lection(ra nge.index - 1, _quil l2.default .sources.U SER);\n }\n } else {\n if ( shiftKey) {\n this.quil l.setSelec tion(range .index, ra nge.length + 1, _qui ll2.defaul t.sources. USER);\n } else {\n this.qui ll.setSele ction(rang e.index + range.leng th + 1, _q uill2.defa ult.source s.USER);\n }\n }\n return fal se;\n }), _ref3;\n} \n\nfuncti on handleB ackspace(r ange, cont ext) {\n if (range. index === 0 || this. quill.getL ength() <= 1) return ;\n\n var _quill$ge tLine11 = this.quill .getLine(r ange.index ),\n _quill$get Line12 = _ slicedToAr ray(_quill $getLine11 , 1),\n line = _quill$get Line12[0]; \n\n var formats = {};\n if (context.o ffset === 0) {\n var _quill $getLine13 = this.qu ill.getLin e(range.in dex - 1),\ n _ quill$getL ine14 = _s licedToArr ay(_quill$ getLine13, 1),\n prev = _quill$ge tLine14[0] ;\n\n i f (prev != null && p rev.length () > 1) {\ n var curFormat s = line.f ormats();\ n var prevForma ts = this. quill.getF ormat(rang e.index - 1, 1);\n format s = _op2.d efault.att ributes.di ff(curForm ats, prevF ormats) || {};\n }\n }\n // Check f or astral symbols\n var lengt h = /[\\uD 800-\\uDBF F][\\uDC00 -\\uDFFF]$ /.test(con text.prefi x) ? 2 : 1 ;\n this. quill.dele teText(ran ge.index - length, l ength, _qu ill2.defau lt.sources .USER);\n if (Objec t.keys(for mats).leng th > 0) {\ n this. quill.form atLine(ran ge.index - length, l ength, for mats, _qui ll2.defaul t.sources. USER);\n }\n this. quill.focu s();\n}\n\ nfunction handleDele te(range, context) { \n // Che ck for ast ral symbol s\n var l ength = /^ [\\uD800-\ \uDBFF][\\ uDC00-\\uD FFF]/.test (context.s uffix) ? 2 : 1;\n i f (range.i ndex >= th is.quill.g etLength() - length) return;\n var form ats = {},\ n nex tLength = 0;\n\n va r _quill$g etLine15 = this.quil l.getLine( range.inde x),\n _quill$ge tLine16 = _slicedToA rray(_quil l$getLine1 5, 1),\n line = _quill$ge tLine16[0] ;\n\n if (context.o ffset >= l ine.length () - 1) {\ n var _ quill$getL ine17 = th is.quill.g etLine(ran ge.index + 1),\n _quill $getLine18 = _sliced ToArray(_q uill$getLi ne17, 1),\ n n ext = _qui ll$getLine 18[0];\n\n if (ne xt) {\n var cur Formats = line.forma ts();\n var nex tFormats = this.quil l.getForma t(range.in dex, 1);\n form ats = _op2 .default.a ttributes. diff(curFo rmats, nex tFormats) || {};\n nextLe ngth = nex t.length() ;\n }\n }\n thi s.quill.de leteText(r ange.index , length, _quill2.de fault.sour ces.USER); \n if (Ob ject.keys( formats).l ength > 0) {\n th is.quill.f ormatLine( range.inde x + nextLe ngth - 1, length, fo rmats, _qu ill2.defau lt.sources .USER);\n }\n}\n\nf unction ha ndleDelete Range(rang e) {\n va r lines = this.quill .getLines( range);\n var forma ts = {};\n if (line s.length > 1) {\n var first Formats = lines[0].f ormats();\ n var l astFormats = lines[l ines.lengt h - 1].for mats();\n formats = _op2.de fault.attr ibutes.dif f(lastForm ats, first Formats) | | {};\n } \n this.q uill.delet eText(rang e, _quill2 .default.s ources.USE R);\n if (Object.ke ys(formats ).length > 0) {\n this.quil l.formatLi ne(range.i ndex, 1, f ormats, _q uill2.defa ult.source s.USER);\n }\n thi s.quill.se tSelection (range.ind ex, _quill 2.default. sources.SI LENT);\n this.quill .focus();\ n}\n\nfunc tion handl eEnter(ran ge, contex t) {\n va r _this3 = this;\n\n if (rang e.length > 0) {\n this.quil l.scroll.d eleteAt(ra nge.index, range.len gth); // S o we do no t trigger text-chang e\n }\n var lineFo rmats = Ob ject.keys( context.fo rmat).redu ce(functio n (lineFor mats, form at) {\n if (_parc hment2.def ault.query (format, _ parchment2 .default.S cope.BLOCK ) && !Arra y.isArray( context.fo rmat[forma t])) {\n lineFo rmats[form at] = cont ext.format [format];\ n }\n return l ineFormats ;\n }, {} );\n this .quill.ins ertText(ra nge.index, '\\n', li neFormats, _quill2.d efault.sou rces.USER) ;\n // Ea rlier scro ll.deleteA t might ha ve messed up our sel ection,\n // so ins ertText's built in s election p reservatio n is not r eliable\n this.quil l.setSelec tion(range .index + 1 , _quill2. default.so urces.SILE NT);\n th is.quill.f ocus();\n Object.ke ys(context .format).f orEach(fun ction (nam e) {\n if (lineFo rmats[name ] != null) return;\n if (Ar ray.isArra y(context. format[nam e])) retur n;\n if (name === 'link') r eturn;\n _this3.q uill.forma t(name, co ntext.form at[name], _quill2.de fault.sour ces.USER); \n });\n} \n\nfuncti on makeCod eBlockHand ler(indent ) {\n ret urn {\n key: Keyb oard.keys. TAB,\n shiftKey: !indent,\n format : { 'code- block': tr ue },\n handler: function h andler(ran ge) {\n var Cod eBlock = _ parchment2 .default.q uery('code -block');\ n var index = r ange.index ,\n length = range.le ngth;\n\n var _ quill$scro ll$descend = this.qu ill.scroll .descendan t(CodeBloc k, index), \n _quill$s croll$desc end2 = _sl icedToArra y(_quill$s croll$desc end, 2),\n block = _q uill$scrol l$descend2 [0],\n offs et = _quil l$scroll$d escend2[1] ;\n\n if (block == null) return;\n var s crollIndex = this.qu ill.getInd ex(block); \n va r start = block.newl ineIndex(o ffset, tru e) + 1;\n var e nd = block .newlineIn dex(scroll Index + of fset + len gth);\n var lin es = block .domNode.t extContent .slice(sta rt, end).s plit('\\n' );\n offset = 0 ;\n l ines.forEa ch(functio n (line, i ) {\n if (ind ent) {\n bl ock.insert At(start + offset, C odeBlock.T AB);\n offs et += Code Block.TAB. length;\n i f (i === 0 ) {\n ind ex += Code Block.TAB. length;\n } else {\n length += CodeBlock .TAB.lengt h;\n }\n } els e if (line .startsWit h(CodeBloc k.TAB)) {\ n block.del eteAt(star t + offset , CodeBloc k.TAB.leng th);\n offs et -= Code Block.TAB. length;\n i f (i === 0 ) {\n ind ex -= Code Block.TAB. length;\n } else {\n length -= CodeBlock .TAB.lengt h;\n }\n }\n offs et += line .length + 1;\n });\n this.quil l.update(_ quill2.def ault.sourc es.USER);\ n thi s.quill.se tSelection (index, le ngth, _qui ll2.defaul t.sources. SILENT);\n }\n } ;\n}\n\nfu nction mak eFormatHan dler(forma t) {\n re turn {\n key: for mat[0].toU pperCase() ,\n sho rtKey: tru e,\n ha ndler: fun ction hand ler(range, context) {\n t his.quill. format(for mat, !cont ext.format [format], _quill2.de fault.sour ces.USER); \n }\n };\n}\n\n function n ormalize(b inding) {\ n if (typ eof bindin g === 'str ing' || ty peof bindi ng === 'nu mber') {\n return normalize ({ key: bi nding });\ n }\n if ((typeof binding == = 'undefin ed' ? 'und efined' : _typeof(bi nding)) == = 'object' ) {\n b inding = ( 0, _clone2 .default)( binding, f alse);\n }\n if (t ypeof bind ing.key == = 'string' ) {\n i f (Keyboar d.keys[bin ding.key.t oUpperCase ()] != nul l) {\n binding. key = Keyb oard.keys[ binding.ke y.toUpperC ase()];\n } else if (bindin g.key.leng th === 1) {\n b inding.key = binding .key.toUpp erCase().c harCodeAt( 0);\n } else {\n retur n null;\n }\n }\ n if (bin ding.short Key) {\n binding[ SHORTKEY] = binding. shortKey;\ n delet e binding. shortKey;\ n }\n re turn bindi ng;\n}\n\n exports.de fault = Ke yboard;\ne xports.SHO RTKEY = SH ORTKEY;\n\ n/***/ }), \n/* 36 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \nexports. AlignStyle = exports .AlignClas s = export s.AlignAtt ribute = u ndefined;\ n\nvar _pa rchment = __webpack_ require__( 0);\n\nvar _parchmen t2 = _inte ropRequire Default(_p archment); \n\nfuncti on _intero pRequireDe fault(obj) { return obj && obj .__esModul e ? obj : { default: obj }; }\ n\nvar con fig = {\n scope: _p archment2. default.Sc ope.BLOCK, \n whitel ist: ['rig ht', 'cent er', 'just ify']\n};\ n\nvar Ali gnAttribut e = new _p archment2. default.At tributor.A ttribute(' align', 'a lign', con fig);\nvar AlignClas s = new _p archment2. default.At tributor.C lass('alig n', 'ql-al ign', conf ig);\nvar AlignStyle = new _pa rchment2.d efault.Att ributor.St yle('align ', 'text-a lign', con fig);\n\ne xports.Ali gnAttribut e = AlignA ttribute;\ nexports.A lignClass = AlignCla ss;\nexpor ts.AlignSt yle = Alig nStyle;\n\ n/***/ }), \n/* 37 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \nexports. Background Style = ex ports.Back groundClas s = undefi ned;\n\nva r _parchme nt = __web pack_requi re__(0);\n \nvar _par chment2 = _interopRe quireDefau lt(_parchm ent);\n\nv ar _color = __webpac k_require_ _(26);\n\n function _ interopReq uireDefaul t(obj) { r eturn obj && obj.__e sModule ? obj : { de fault: obj }; }\n\nv ar Backgro undClass = new _parc hment2.def ault.Attri butor.Clas s('backgro und', 'ql- bg', {\n scope: _pa rchment2.d efault.Sco pe.INLINE\ n});\nvar Background Style = ne w _color.C olorAttrib utor('back ground', ' background -color', { \n scope: _parchmen t2.default .Scope.INL INE\n});\n \nexports. Background Class = Ba ckgroundCl ass;\nexpo rts.Backgr oundStyle = Backgrou ndStyle;\n \n/***/ }) ,\n/* 38 * /\n/***/ ( function(m odule, exp orts, __we bpack_requ ire__) {\n \n\"use st rict\";\n\ n\nObject. defineProp erty(expor ts, \"__es Module\", {\n value : true\n}) ;\nexports .Direction Style = ex ports.Dire ctionClass = exports .Direction Attribute = undefine d;\n\nvar _parchment = __webpa ck_require __(0);\n\n var _parch ment2 = _i nteropRequ ireDefault (_parchmen t);\n\nfun ction _int eropRequir eDefault(o bj) { retu rn obj && obj.__esMo dule ? obj : { defau lt: obj }; }\n\nvar config = { \n scope: _parchmen t2.default .Scope.BLO CK,\n whi telist: [' rtl']\n};\ n\nvar Dir ectionAttr ibute = ne w _parchme nt2.defaul t.Attribut or.Attribu te('direct ion', 'dir ', config) ;\nvar Dir ectionClas s = new _p archment2. default.At tributor.C lass('dire ction', 'q l-directio n', config );\nvar Di rectionSty le = new _ parchment2 .default.A ttributor. Style('dir ection', ' direction' , config); \n\nexport s.Directio nAttribute = Directi onAttribut e;\nexport s.Directio nClass = D irectionCl ass;\nexpo rts.Direct ionStyle = Direction Style;\n\n /***/ }),\ n/* 39 */\ n/***/ (fu nction(mod ule, expor ts, __webp ack_requir e__) {\n\n \"use stri ct\";\n\n\ nObject.de fineProper ty(exports , \"__esMo dule\", {\ n value: true\n});\ nexports.F ontClass = exports.F ontStyle = undefined ;\n\nvar _ createClas s = functi on () { fu nction def inePropert ies(target , props) { for (var i = 0; i < props.len gth; i++) { var desc riptor = p rops[i]; d escriptor. enumerable = descrip tor.enumer able || fa lse; descr iptor.conf igurable = true; if (\"value\" in descri ptor) desc riptor.wri table = tr ue; Object .definePro perty(targ et, descri ptor.key, descriptor ); } } ret urn functi on (Constr uctor, pro toProps, s taticProps ) { if (pr otoProps) defineProp erties(Con structor.p rototype, protoProps ); if (sta ticProps) defineProp erties(Con structor, staticProp s); return Construct or; }; }() ;\n\nvar _ get = func tion get(o bject, pro perty, rec eiver) { i f (object === null) object = F unction.pr ototype; v ar desc = Object.get OwnPropert yDescripto r(object, property); if (desc === undefi ned) { var parent = Object.get PrototypeO f(object); if (paren t === null ) { return undefined ; } else { return ge t(parent, property, receiver); } } else if (\"valu e\" in des c) { retur n desc.val ue; } else { var get ter = desc .get; if ( getter === undefined ) { return undefined ; } return getter.ca ll(receive r); } };\n \nvar _par chment = _ _webpack_r equire__(0 );\n\nvar _parchment 2 = _inter opRequireD efault(_pa rchment);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar con fig = {\n scope: _p archment2. default.Sc ope.INLINE ,\n white list: ['se rif', 'mon ospace']\n };\n\nvar FontClass = new _par chment2.de fault.Attr ibutor.Cla ss('font', 'ql-font' , config); \n\nvar Fo ntStyleAtt ributor = function ( _Parchment $Attributo r) {\n _i nherits(Fo ntStyleAtt ributor, _ Parchment$ Attributor );\n\n fu nction Fon tStyleAttr ibutor() { \n _cla ssCallChec k(this, Fo ntStyleAtt ributor);\ n\n ret urn _possi bleConstru ctorReturn (this, (Fo ntStyleAtt ributor.__ proto__ || Object.ge tPrototype Of(FontSty leAttribut or)).apply (this, arg uments));\ n }\n\n _createCla ss(FontSty leAttribut or, [{\n key: 'va lue',\n value: fu nction val ue(node) { \n re turn _get( FontStyleA ttributor. prototype. __proto__ || Object. getPrototy peOf(FontS tyleAttrib utor.proto type), 'va lue', this ).call(thi s, node).r eplace(/[\ "']/g, '') ;\n }\n }]);\n\n return F ontStyleAt tributor;\ n}(_parchm ent2.defau lt.Attribu tor.Style) ;\n\nvar F ontStyle = new FontS tyleAttrib utor('font ', 'font-f amily', co nfig);\n\n exports.Fo ntStyle = FontStyle; \nexports. FontClass = FontClas s;\n\n/*** / }),\n/* 40 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\n\nObj ect.define Property(e xports, \" __esModule \", {\n v alue: true \n});\nexp orts.SizeS tyle = exp orts.SizeC lass = und efined;\n\ nvar _parc hment = __ webpack_re quire__(0) ;\n\nvar _ parchment2 = _intero pRequireDe fault(_par chment);\n \nfunction _interopR equireDefa ult(obj) { return ob j && obj._ _esModule ? obj : { default: o bj }; }\n\ nvar SizeC lass = new _parchmen t2.default .Attributo r.Class('s ize', 'ql- size', {\n scope: _ parchment2 .default.S cope.INLIN E,\n whit elist: ['s mall', 'la rge', 'hug e']\n});\n var SizeSt yle = new _parchment 2.default. Attributor .Style('si ze', 'font -size', {\ n scope: _parchment 2.default. Scope.INLI NE,\n whi telist: [' 10px', '18 px', '32px ']\n});\n\ nexports.S izeClass = SizeClass ;\nexports .SizeStyle = SizeSty le;\n\n/** */ }),\n/* 41 */\n/* **/ (funct ion(module , exports, __webpack _require__ ) {\n\n\"u se strict\ ";\n\n\nmo dule.expor ts = {\n 'align': { \n '': __webpack_ require__( 76),\n 'center': __webpack_ require__( 77),\n 'right': _ _webpack_r equire__(7 8),\n ' justify': __webpack_ require__( 79)\n },\ n 'backgr ound': __w ebpack_req uire__(80) ,\n 'bloc kquote': _ _webpack_r equire__(8 1),\n 'bo ld': __web pack_requi re__(82),\ n 'clean' : __webpac k_require_ _(83),\n 'code': __ webpack_re quire__(58 ),\n 'cod e-block': __webpack_ require__( 58),\n 'c olor': __w ebpack_req uire__(84) ,\n 'dire ction': {\ n '': _ _webpack_r equire__(8 5),\n ' rtl': __we bpack_requ ire__(86)\ n },\n ' float': {\ n 'cent er': __web pack_requi re__(87),\ n 'full ': __webpa ck_require __(88),\n 'left': __webpack _require__ (89),\n 'right': __webpack_ require__( 90)\n },\ n 'formul a': __webp ack_requir e__(91),\n 'header' : {\n ' 1': __webp ack_requir e__(92),\n '2': _ _webpack_r equire__(9 3)\n },\n 'italic' : __webpac k_require_ _(94),\n 'image': _ _webpack_r equire__(9 5),\n 'in dent': {\n '+1': __webpack_ require__( 96),\n '-1': __we bpack_requ ire__(97)\ n },\n ' link': __w ebpack_req uire__(98) ,\n 'list ': {\n 'ordered': __webpack _require__ (99),\n 'bullet': __webpack _require__ (100),\n 'check': __webpack _require__ (101)\n } ,\n 'scri pt': {\n 'sub': _ _webpack_r equire__(1 02),\n 'super': _ _webpack_r equire__(1 03)\n },\ n 'strike ': __webpa ck_require __(104),\n 'underli ne': __web pack_requi re__(105), \n 'video ': __webpa ck_require __(106)\n} ;\n\n/***/ }),\n/* 4 2 */\n/*** / (functio n(module, exports, _ _webpack_r equire__) {\n\n\"use strict\"; \n\n\nObje ct.defineP roperty(ex ports, \"_ _esModule\ ", {\n va lue: true\ n});\nexpo rts.getLas tChangeInd ex = expor ts.default = undefin ed;\n\nvar _createCl ass = func tion () { function d efinePrope rties(targ et, props) { for (va r i = 0; i < props.l ength; i++ ) { var de scriptor = props[i]; descripto r.enumerab le = descr iptor.enum erable || false; des criptor.co nfigurable = true; i f (\"value \" in desc riptor) de scriptor.w ritable = true; Obje ct.defineP roperty(ta rget, desc riptor.key , descript or); } } r eturn func tion (Cons tructor, p rotoProps, staticPro ps) { if ( protoProps ) definePr operties(C onstructor .prototype , protoPro ps); if (s taticProps ) definePr operties(C onstructor , staticPr ops); retu rn Constru ctor; }; } ();\n\nvar _parchmen t = __webp ack_requir e__(0);\n\ nvar _parc hment2 = _ interopReq uireDefaul t(_parchme nt);\n\nva r _quill = __webpack _require__ (5);\n\nva r _quill2 = _interop RequireDef ault(_quil l);\n\nvar _module = __webpack _require__ (9);\n\nva r _module2 = _intero pRequireDe fault(_mod ule);\n\nf unction _i nteropRequ ireDefault (obj) { re turn obj & & obj.__es Module ? o bj : { def ault: obj }; }\n\nfu nction _cl assCallChe ck(instanc e, Constru ctor) { if (!(instan ce instanc eof Constr uctor)) { throw new TypeError( \"Cannot c all a clas s as a fun ction\"); } }\n\nfun ction _pos sibleConst ructorRetu rn(self, c all) { if (!self) { throw new ReferenceE rror(\"thi s hasn't b een initia lised - su per() hasn 't been ca lled\"); } return ca ll && (typ eof call = == \"objec t\" || typ eof call = == \"funct ion\") ? c all : self ; }\n\nfun ction _inh erits(subC lass, supe rClass) { if (typeof superClas s !== \"fu nction\" & & superCla ss !== nul l) { throw new TypeE rror(\"Sup er express ion must e ither be n ull or a f unction, n ot \" + ty peof super Class); } subClass.p rototype = Object.cr eate(super Class && s uperClass. prototype, { constru ctor: { va lue: subCl ass, enume rable: fal se, writab le: true, configurab le: true } }); if (s uperClass) Object.se tPrototype Of ? Objec t.setProto typeOf(sub Class, sup erClass) : subClass. __proto__ = superCla ss; }\n\nv ar History = functio n (_Module ) {\n _in herits(His tory, _Mod ule);\n\n function History(qu ill, optio ns) {\n _classCal lCheck(thi s, History );\n\n var _this = _possibl eConstruct orReturn(t his, (Hist ory.__prot o__ || Obj ect.getPro totypeOf(H istory)).c all(this, quill, opt ions));\n\ n _this .lastRecor ded = 0;\n _this. ignoreChan ge = false ;\n _th is.clear() ;\n _th is.quill.o n(_quill2. default.ev ents.EDITO R_CHANGE, function ( eventName, delta, ol dDelta, so urce) {\n if (e ventName ! == _quill2 .default.e vents.TEXT _CHANGE || _this.ign oreChange) return;\n if ( !_this.opt ions.userO nly || sou rce === _q uill2.defa ult.source s.USER) {\ n _ this.recor d(delta, o ldDelta);\ n } e lse {\n _this .transform (delta);\n }\n });\n _this.qu ill.keyboa rd.addBind ing({ key: 'Z', shor tKey: true }, _this. undo.bind( _this));\n _this. quill.keyb oard.addBi nding({ ke y: 'Z', sh ortKey: tr ue, shiftK ey: true } , _this.re do.bind(_t his));\n if (/Win /i.test(na vigator.pl atform)) { \n _t his.quill. keyboard.a ddBinding( { key: 'Y' , shortKey : true }, _this.redo .bind(_thi s));\n }\n ret urn _this; \n }\n\n _createCl ass(Histor y, [{\n key: 'cha nge',\n value: fu nction cha nge(source , dest) {\ n if (this.stac k[source]. length === 0) return ;\n v ar delta = this.stac k[source]. pop();\n this.l astRecorde d = 0;\n this.i gnoreChang e = true;\ n thi s.quill.up dateConten ts(delta[s ource], _q uill2.defa ult.source s.USER);\n this .ignoreCha nge = fals e;\n var index = getLastC hangeIndex (delta[sou rce]);\n this.q uill.setSe lection(in dex);\n this.st ack[dest]. push(delta );\n }\ n }, {\n key: 'c lear',\n value: f unction cl ear() {\n this. stack = { undo: [], redo: [] } ;\n }\n }, {\n key: 'cu toff',\n value: f unction cu toff() {\n this .lastRecor ded = 0;\n }\n } , {\n k ey: 'recor d',\n v alue: func tion recor d(changeDe lta, oldDe lta) {\n if (ch angeDelta. ops.length === 0) re turn;\n this.st ack.redo = [];\n var undo Delta = th is.quill.g etContents ().diff(ol dDelta);\n var timestamp = Date.now ();\n if (this. lastRecord ed + this. options.de lay > time stamp && t his.stack. undo.lengt h > 0) {\n va r delta = this.stack .undo.pop( );\n undoDelt a = undoDe lta.compos e(delta.un do);\n change Delta = de lta.redo.c ompose(cha ngeDelta); \n } else {\n this .lastRecor ded = time stamp;\n }\n this.st ack.undo.p ush({\n redo: changeDel ta,\n undo: u ndoDelta\n });\ n if (this.stac k.undo.len gth > this .options.m axStack) { \n this.stack .undo.shif t();\n }\n } \n }, {\n key: ' redo',\n value: f unction re do() {\n this.c hange('red o', 'undo' );\n }\ n }, {\n key: 't ransform', \n valu e: functio n transfor m(delta) { \n th is.stack.u ndo.forEac h(function (change) {\n change.un do = delta .transform (change.un do, true); \n change.red o = delta. transform( change.red o, true);\ n }); \n th is.stack.r edo.forEac h(function (change) {\n change.un do = delta .transform (change.un do, true); \n change.red o = delta. transform( change.red o, true);\ n }); \n }\n }, {\n key: 'und o',\n v alue: func tion undo( ) {\n this.chan ge('undo', 'redo');\ n }\n }]);\n\n return His tory;\n}(_ module2.de fault);\n\ nHistory.D EFAULTS = {\n delay : 1000,\n maxStack: 100,\n u serOnly: f alse\n};\n \nfunction endsWithN ewlineChan ge(delta) {\n var l astOp = de lta.ops[de lta.ops.le ngth - 1]; \n if (la stOp == nu ll) return false;\n if (lastO p.insert ! = null) {\ n retur n typeof l astOp.inse rt === 'st ring' && l astOp.inse rt.endsWit h('\\n');\ n }\n if (lastOp.a ttributes != null) { \n retu rn Object. keys(lastO p.attribut es).some(f unction (a ttr) {\n return _parchmen t2.default .query(att r, _parchm ent2.defau lt.Scope.B LOCK) != n ull;\n });\n }\n return f alse;\n}\n \nfunction getLastCh angeIndex( delta) {\n var dele teLength = delta.red uce(functi on (length , op) {\n length += op.dele te || 0;\n return length;\n }, 0);\n var chan geIndex = delta.leng th() - del eteLength; \n if (en dsWithNewl ineChange( delta)) {\ n chang eIndex -= 1;\n }\n return ch angeIndex; \n}\n\nexp orts.defau lt = Histo ry;\nexpor ts.getLast ChangeInde x = getLas tChangeInd ex;\n\n/** */ }),\n/* 43 */\n/* **/ (funct ion(module , exports, __webpack _require__ ) {\n\n\"u se strict\ ";\n\n\nOb ject.defin eProperty( exports, \ "__esModul e\", {\n value: tru e\n});\nex ports.defa ult = expo rts.BaseTo oltip = un defined;\n \nvar _cre ateClass = function () { funct ion define Properties (target, p rops) { fo r (var i = 0; i < pr ops.length ; i++) { v ar descrip tor = prop s[i]; desc riptor.enu merable = descriptor .enumerabl e || false ; descript or.configu rable = tr ue; if (\" value\" in descripto r) descrip tor.writab le = true; Object.de fineProper ty(target, descripto r.key, des criptor); } } return function (Construct or, protoP rops, stat icProps) { if (proto Props) def inePropert ies(Constr uctor.prot otype, pro toProps); if (static Props) def inePropert ies(Constr uctor, sta ticProps); return Co nstructor; }; }();\n \nvar _get = functio n get(obje ct, proper ty, receiv er) { if ( object === null) obj ect = Func tion.proto type; var desc = Obj ect.getOwn PropertyDe scriptor(o bject, pro perty); if (desc === undefined ) { var pa rent = Obj ect.getPro totypeOf(o bject); if (parent = == null) { return un defined; } else { re turn get(p arent, pro perty, rec eiver); } } else if (\"value\" in desc) { return d esc.value; } else { var getter = desc.ge t; if (get ter === un defined) { return un defined; } return ge tter.call( receiver); } };\n\nv ar _extend = __webpa ck_require __(3);\n\n var _exten d2 = _inte ropRequire Default(_e xtend);\n\ nvar _quil lDelta = _ _webpack_r equire__(2 );\n\nvar _quillDelt a2 = _inte ropRequire Default(_q uillDelta) ;\n\nvar _ emitter = __webpack_ require__( 8);\n\nvar _emitter2 = _intero pRequireDe fault(_emi tter);\n\n var _keybo ard = __we bpack_requ ire__(35); \n\nvar _k eyboard2 = _interopR equireDefa ult(_keybo ard);\n\nv ar _theme = __webpac k_require_ _(34);\n\n var _theme 2 = _inter opRequireD efault(_th eme);\n\nv ar _colorP icker = __ webpack_re quire__(59 );\n\nvar _colorPick er2 = _int eropRequir eDefault(_ colorPicke r);\n\nvar _iconPick er = __web pack_requi re__(60);\ n\nvar _ic onPicker2 = _interop RequireDef ault(_icon Picker);\n \nvar _pic ker = __we bpack_requ ire__(28); \n\nvar _p icker2 = _ interopReq uireDefaul t(_picker) ;\n\nvar _ tooltip = __webpack_ require__( 61);\n\nva r _tooltip 2 = _inter opRequireD efault(_to oltip);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ classCallC heck(insta nce, Const ructor) { if (!(inst ance insta nceof Cons tructor)) { throw ne w TypeErro r(\"Cannot call a cl ass as a f unction\") ; } }\n\nf unction _p ossibleCon structorRe turn(self, call) { i f (!self) { throw ne w Referenc eError(\"t his hasn't been init ialised - super() ha sn't been called\"); } return call && (t ypeof call === \"obj ect\" || t ypeof call === \"fun ction\") ? call : se lf; }\n\nf unction _i nherits(su bClass, su perClass) { if (type of superCl ass !== \" function\" && superC lass !== n ull) { thr ow new Typ eError(\"S uper expre ssion must either be null or a function, not \" + typeof sup erClass); } subClass .prototype = Object. create(sup erClass && superClas s.prototyp e, { const ructor: { value: sub Class, enu merable: f alse, writ able: true , configur able: true } }); if (superClas s) Object. setPrototy peOf ? Obj ect.setPro totypeOf(s ubClass, s uperClass) : subClas s.__proto_ _ = superC lass; }\n\ nvar ALIGN S = [false , 'center' , 'right', 'justify' ];\n\nvar COLORS = [ \"#000000\ ", \"#e600 00\", \"#f f9900\", \ "#ffff00\" , \"#008a0 0\", \"#00 66cc\", \" #9933ff\", \"#ffffff \", \"#fac ccc\", \"# ffebcc\", \"#ffffcc\ ", \"#cce8 cc\", \"#c ce0f5\", \ "#ebd6ff\" , \"#bbbbb b\", \"#f0 6666\", \" #ffc266\", \"#ffff66 \", \"#66b 966\", \"# 66a3e0\", \"#c285ff\ ", \"#8888 88\", \"#a 10000\", \ "#b26b00\" , \"#b2b20 0\", \"#00 6100\", \" #0047b2\", \"#6b24b2 \", \"#444 444\", \"# 5c0000\", \"#663d00\ ", \"#6666 00\", \"#0 03700\", \ "#002966\" , \"#3d146 6\"];\n\nv ar FONTS = [false, ' serif', 'm onospace'] ;\n\nvar H EADERS = [ '1', '2', '3', false ];\n\nvar SIZES = [' small', fa lse, 'larg e', 'huge' ];\n\nvar BaseTheme = function (_Theme) {\n _inhe rits(BaseT heme, _The me);\n\n function B aseTheme(q uill, opti ons) {\n _classCa llCheck(th is, BaseTh eme);\n\n var _th is = _poss ibleConstr uctorRetur n(this, (B aseTheme._ _proto__ | | Object.g etPrototyp eOf(BaseTh eme)).call (this, qui ll, option s));\n\n var list ener = fun ction list ener(e) {\ n if (!document .body.cont ains(quill .root)) {\ n r eturn docu ment.body. removeEven tListener( 'click', l istener);\ n }\n if ( _this.tool tip != nul l && !_thi s.tooltip. root.conta ins(e.targ et) && doc ument.acti veElement !== _this. tooltip.te xtbox && ! _this.quil l.hasFocus ()) {\n _this .tooltip.h ide();\n }\n if (_th is.pickers != null) {\n _this.pic kers.forEa ch(functio n (picker) {\n if (!p icker.cont ainer.cont ains(e.tar get)) {\n picker.cl ose();\n }\ n } );\n }\n };\ n docum ent.body.a ddEventLis tener('cli ck', liste ner);\n return _t his;\n }\ n\n _crea teClass(Ba seTheme, [ {\n key : 'addModu le',\n value: fun ction addM odule(name ) {\n var modul e = _get(B aseTheme.p rototype._ _proto__ | | Object.g etPrototyp eOf(BaseTh eme.protot ype), 'add Module', t his).call( this, name );\n if (name = == 'toolba r') {\n this. extendTool bar(module );\n }\n r eturn modu le;\n } \n }, {\n key: ' buildButto ns',\n value: fun ction buil dButtons(b uttons, ic ons) {\n button s.forEach( function ( button) {\ n v ar classNa me = butto n.getAttri bute('clas s') || ''; \n className. split(/\\s +/).forEac h(function (name) {\ n if (!name .startsWit h('ql-')) return;\n n ame = name .slice('ql -'.length) ;\n if (ico ns[name] = = null) re turn;\n if (name === 'direction ') {\n bu tton.inner HTML = ico ns[name][' '] + icons [name]['rt l'];\n } el se if (typ eof icons[ name] === 'string') {\n butto n.innerHTM L = icons[ name];\n } else {\n var value = button.v alue || '' ;\n if (v alue != nu ll && icon s[name][va lue]) {\n button. innerHTML = icons[na me][value] ;\n }\n }\ n } );\n });\n } \n }, {\n key: ' buildPicke rs',\n value: fun ction buil dPickers(s elects, ic ons) {\n var _t his2 = thi s;\n\n this.pic kers = sel ects.map(f unction (s elect) {\n if (select.c lassList.c ontains('q l-align')) {\n if (se lect.query Selector(' option') = = null) {\ n fillSel ect(select , ALIGNS); \n }\n retur n new _ico nPicker2.d efault(sel ect, icons .align);\n } else if (s elect.clas sList.cont ains('ql-b ackground' ) || selec t.classLis t.contains ('ql-color ')) {\n var format = select.cla ssList.con tains('ql- background ') ? 'back ground' : 'color';\n if (select .querySele ctor('opti on') == nu ll) {\n f illSelect( select, CO LORS, form at === 'ba ckground' ? '#ffffff ' : '#0000 00');\n }\n return new _colorPic ker2.defau lt(select, icons[for mat]);\n } el se {\n if ( select.que rySelector ('option') == null) {\n if (s elect.clas sList.cont ains('ql-f ont')) {\n fillSe lect(selec t, FONTS); \n } else if (selec t.classLis t.contains ('ql-heade r')) {\n fillSele ct(select, HEADERS); \n } else if (selec t.classLis t.contains ('ql-size' )) {\n fillSelect (select, S IZES);\n }\n }\n retu rn new _pi cker2.defa ult(select );\n }\n });\n var upda te = funct ion update () {\n _this2 .pickers.f orEach(fun ction (pic ker) {\n pi cker.updat e();\n });\n };\n this. quill.on(_ emitter2.d efault.eve nts.EDITOR _CHANGE, u pdate);\n }\n }] );\n\n re turn BaseT heme;\n}(_ theme2.def ault);\n\n BaseTheme. DEFAULTS = (0, _exte nd2.defaul t)(true, { }, _theme2 .default.D EFAULTS, { \n module s: {\n toolbar: { \n ha ndlers: {\ n f ormula: fu nction for mula() {\n this.quill .theme.too ltip.edit( 'formula') ;\n },\n image: function i mage() {\n var _this3 = this;\n \n var file Input = th is.contain er.querySe lector('in put.ql-ima ge[type=fi le]');\n if (fileInpu t == null) {\n file Input = do cument.cre ateElement ('input'); \n fileIn put.setAtt ribute('ty pe', 'file ');\n fil eInput.set Attribute( 'accept', 'image/png , image/gi f, image/j peg, image /bmp, imag e/x-icon') ;\n fileI nput.class List.add(' ql-image') ;\n fileI nput.addEv entListene r('change' , function () {\n if (fileI nput.files != null & & fileInpu t.files[0] != null) {\n v ar reader = new File Reader();\ n rea der.onload = functio n (e) {\n var range = _ this3.quil l.getSelec tion(true) ;\n _this3.qu ill.update Contents(n ew _quillD elta2.defa ult().reta in(range.i ndex).dele te(range.l ength).ins ert({ imag e: e.targe t.result } ), _emitte r2.default .sources.U SER);\n _this 3.quill.se tSelection (range.ind ex + 1, _e mitter2.de fault.sour ces.SILENT );\n fileInpu t.value = \"\";\n };\n reader. readAsData URL(fileIn put.files[ 0]);\n }\n });\n this.con tainer.app endChild(f ileInput); \n }\n fileI nput.click ();\n },\n video : function video() { \n this.qui ll.theme.t ooltip.edi t('video') ;\n }\n }\n }\n }\n});\n \nvar Base Tooltip = function ( _Tooltip) {\n _inhe rits(BaseT ooltip, _T ooltip);\n \n functi on BaseToo ltip(quill , boundsCo ntainer) { \n _cla ssCallChec k(this, Ba seTooltip) ;\n\n v ar _this4 = _possibl eConstruct orReturn(t his, (Base Tooltip.__ proto__ || Object.ge tPrototype Of(BaseToo ltip)).cal l(this, qu ill, bound sContainer ));\n\n _this4.te xtbox = _t his4.root. querySelec tor('input [type=\"te xt\"]');\n _this4 .listen(); \n retu rn _this4; \n }\n\n _createCl ass(BaseTo oltip, [{\ n key: 'listen',\ n value : function listen() {\n v ar _this5 = this;\n\ n thi s.textbox. addEventLi stener('ke ydown', fu nction (ev ent) {\n if ( _keyboard2 .default.m atch(event , 'enter') ) {\n _this 5.save();\ n event.pre ventDefaul t();\n } else if (_keyb oard2.defa ult.match( event, 'es cape')) {\ n _this5.ca ncel();\n e vent.preve ntDefault( );\n }\n });\n }\n }, {\ n key: 'cancel',\ n value : function cancel() {\n t his.hide() ;\n }\n }, {\n key: 'ed it',\n value: fun ction edit () {\n var mode = argumen ts.length > 0 && arg uments[0] !== undefi ned ? argu ments[0] : 'link';\n var preview = arguments. length > 1 && argume nts[1] !== undefined ? argumen ts[1] : nu ll;\n\n this.ro ot.classLi st.remove( 'ql-hidden ');\n this.root .classList .add('ql-e diting');\ n if (preview ! = null) {\ n t his.textbo x.value = preview;\n } el se if (mod e !== this .root.getA ttribute(' data-mode' )) {\n this.t extbox.val ue = '';\n }\n this. position(t his.quill. getBounds( this.quill .selection .savedRang e));\n this.tex tbox.selec t();\n this.tex tbox.setAt tribute('p laceholder ', this.te xtbox.getA ttribute(' data-' + m ode) || '' );\n this.root. setAttribu te('data-m ode', mode );\n }\ n }, {\n key: 'r estoreFocu s',\n v alue: func tion resto reFocus() {\n v ar scrollT op = this. quill.scro llingConta iner.scrol lTop;\n this.qu ill.focus( );\n this.quill .scrolling Container. scrollTop = scrollTo p;\n }\ n }, {\n key: 's ave',\n value: fu nction sav e() {\n var val ue = this. textbox.va lue;\n switch ( this.root. getAttribu te('data-m ode')) {\n ca se 'link': \n {\n var scrollTop = this.qu ill.root.s crollTop;\ n if (thi s.linkRang e) {\n this.quill .formatTex t(this.lin kRange, 'l ink', valu e, _emitte r2.default .sources.U SER);\n delete th is.linkRan ge;\n } e lse {\n this.rest oreFocus() ;\n thi s.quill.fo rmat('link ', value, _emitter2. default.so urces.USER );\n }\n this.quil l.root.scr ollTop = s crollTop;\ n break;\ n }\n case 'vi deo':\n {\n value = extractVid eoUrl(valu e);\n } // eslint-dis able-next- line no-fa llthrough\ n c ase 'formu la':\n {\n if (!valu e) break;\ n var ran ge = this. quill.getS election(t rue);\n i f (range ! = null) {\ n var i ndex = ran ge.index + range.len gth;\n this.quill .insertEmb ed(index, this.root. getAttribu te('data-m ode'), val ue, _emitt er2.defaul t.sources. USER);\n if (this .root.getA ttribute(' data-mode' ) === 'for mula') {\n this .quill.ins ertText(in dex + 1, ' ', _emitt er2.defaul t.sources. USER);\n }\n t his.quill. setSelecti on(index + 2, _emitt er2.defaul t.sources. USER);\n }\n break ;\n }\n defaul t:\n }\n t his.textbo x.value = '';\n this.hide ();\n } \n }]);\n \n return BaseToolt ip;\n}(_to oltip2.def ault);\n\n function e xtractVide oUrl(url) {\n var m atch = url .match(/^( ?:(https?) :\\/\\/)?( ?:(?:www|m )\\.)?yout ube\\.com\ \/watch.*v =([a-zA-Z0 -9_-]+)/) || url.mat ch(/^(?:(h ttps?):\\/ \\/)?(?:(? :www|m)\\. )?youtu\\. be\\/([a-z A-Z0-9_-]+ )/);\n if (match) { \n retu rn (match[ 1] || 'htt ps') + ':/ /www.youtu be.com/emb ed/' + mat ch[2] + '? showinfo=0 ';\n }\n if (match = url.mat ch(/^(?:(h ttps?):\\/ \\/)?(?:ww w\\.)?vime o\\.com\\/ (\\d+)/)) {\n // eslint-dis able-line no-cond-as sign\n return (ma tch[1] || 'https') + '://playe r.vimeo.co m/video/' + match[2] + '/';\n }\n retu rn url;\n} \n\nfuncti on fillSel ect(select , values) {\n var d efaultValu e = argume nts.length > 2 && ar guments[2] !== undef ined ? arg uments[2] : false;\n \n values .forEach(f unction (v alue) {\n var opt ion = docu ment.creat eElement(' option');\ n if (v alue === d efaultValu e) {\n option.s etAttribut e('selecte d', 'selec ted');\n } else { \n op tion.setAt tribute('v alue', val ue);\n }\n sel ect.append Child(opti on);\n }) ;\n}\n\nex ports.Base Tooltip = BaseToolti p;\nexport s.default = BaseThem e;\n\n/*** / }),\n/* 44 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\nObjec t.definePr operty(exp orts, \"__ esModule\" , { value: true });\ nvar Linke dList = /* * @class * / (functio n () {\n function LinkedLis t() {\n this. head = thi s.tail = u ndefined;\ n t his.length = 0;\n }\n Li nkedList.p rototype.a ppend = fu nction () {\n var nodes = [];\n for (var _i = 0; _i < ar guments.le ngth; _i++ ) {\n nod es[_i] = a rguments[_ i];\n }\n this.i nsertBefor e(nodes[0] , undefine d);\n if (nod es.length > 1) {\n this.appen d.apply(th is, nodes. slice(1)); \n }\n };\ n Linke dList.prot otype.cont ains = fun ction (nod e) {\n var cu r, next = this.itera tor();\n whil e (cur = n ext()) {\n if (cur === node)\ n ret urn true;\ n } \n return fal se;\n } ;\n Lin kedList.pr ototype.in sertBefore = functio n (node, r efNode) {\ n n ode.next = refNode;\ n i f (refNode != null) {\n node. prev = ref Node.prev; \n if (re fNode.prev != null) {\n r efNode.pre v.next = n ode;\n }\ n refNode .prev = no de;\n if (refNode = == this.he ad) {\n this.he ad = node; \n }\n }\n else if (this. tail != nu ll) {\n t his.tail.n ext = node ;\n node. prev = thi s.tail;\n this.tail = node;\n }\ n e lse {\n n ode.prev = undefined ;\n this. head = thi s.tail = n ode;\n }\n this. length += 1;\n }; \n Link edList.pro totype.off set = func tion (targ et) {\n var i ndex = 0, cur = this .head;\n whil e (cur != null) {\n if (cur = == target) \n re turn index ;\n index += cur.le ngth();\n cur = cur .next;\n }\n ret urn -1;\n };\n LinkedLis t.prototyp e.remove = function (node) {\n if (!this.co ntains(nod e))\n ret urn;\n if (no de.prev != null)\n node.prev. next = nod e.next;\n if (node.next != null)\ n node.ne xt.prev = node.prev; \n if (node = == this.he ad)\n thi s.head = n ode.next;\ n i f (node == = this.tai l)\n this .tail = no de.prev;\n th is.length -= 1;\n };\n L inkedList. prototype. iterator = function (curNode) {\n if (curNo de === voi d 0) { cur Node = thi s.head; }\ n / / TODO use yield whe n we can\n re turn funct ion () {\n var ret = curNode; \n if (cu rNode != n ull)\n curNode = curNode. next;\n r eturn ret; \n };\n }; \n Link edList.pro totype.fin d = functi on (index, inclusive ) {\n if (inc lusive === void 0) { inclusive = false; }\n var cur, next = thi s.iterator ();\n while ( cur = next ()) {\n v ar length = cur.leng th();\n i f (index < length || (inclusiv e && index === lengt h && (cur. next == nu ll || cur. next.lengt h() !== 0) )) {\n return [ cur, index ];\n }\n index -= length;\n }\n re turn [null , 0];\n };\n L inkedList. prototype. forEach = function ( callback) {\n var cur, next = thi s.iterator ();\n while ( cur = next ()) {\n c allback(cu r);\n }\n };\n Li nkedList.p rototype.f orEachAt = function (index, le ngth, call back) {\n if (length <= 0)\n ret urn;\n var _a = this.fi nd(index), startNode = _a[0], offset = _ a[1];\n var c ur, curInd ex = index - offset, next = th is.iterato r(startNod e);\n while ( (cur = nex t()) && cu rIndex < i ndex + len gth) {\n var curLen gth = cur. length();\ n if (ind ex > curIn dex) {\n callba ck(cur, in dex - curI ndex, Math .min(lengt h, curInde x + curLen gth - inde x));\n }\ n else {\ n cal lback(cur, 0, Math.m in(curLeng th, index + length - curIndex) );\n }\n curIndex += curLeng th;\n }\n };\n Li nkedList.p rototype.m ap = funct ion (callb ack) {\n retu rn this.re duce(funct ion (memo, cur) {\n memo.push (callback( cur));\n return mem o;\n }, []);\ n };\n LinkedL ist.protot ype.reduce = functio n (callbac k, memo) { \n var cur, n ext = this .iterator( );\n while (c ur = next( )) {\n me mo = callb ack(memo, cur);\n }\n retu rn memo;\n };\n return L inkedList; \n}());\ne xports.def ault = Lin kedList;\n \n\n/***/ }),\n/* 45 */\n/***/ (function (module, e xports, __ webpack_re quire__) { \n\n\"use strict\";\ n\nvar __e xtends = ( this && th is.__exten ds) || (fu nction () {\n var extendSta tics = Obj ect.setPro totypeOf | |\n ({ __prot o__: [] } instanceof Array && function ( d, b) { d. __proto__ = b; }) || \n function ( d, b) { fo r (var p i n b) if (b .hasOwnPro perty(p)) d[p] = b[p ]; };\n return fu nction (d, b) {\n exten dStatics(d , b);\n funct ion __() { this.cons tructor = d; }\n d.prot otype = b === null ? Object.cr eate(b) : (__.protot ype = b.pr ototype, n ew __());\ n };\n} )();\nObje ct.defineP roperty(ex ports, \"_ _esModule\ ", { value : true }); \nvar cont ainer_1 = __webpack_ require__( 17);\nvar Registry = __webpack _require__ (1);\nvar OBSERVER_C ONFIG = {\ n attri butes: tru e,\n ch aracterDat a: true,\n charac terDataOld Value: tru e,\n ch ildList: t rue,\n subtree: t rue\n};\nv ar MAX_OPT IMIZE_ITER ATIONS = 1 00;\nvar S crollBlot = /** @cla ss */ (fun ction (_su per) {\n __extend s(ScrollBl ot, _super );\n fu nction Scr ollBlot(no de) {\n var _ this = _su per.call(t his, node) || this;\ n _ this.paren t = null;\ n _ this.obser ver = new MutationOb server(fun ction (mut ations) {\ n _this.u pdate(muta tions);\n }); \n _this.obse rver.obser ve(_this.d omNode, OB SERVER_CON FIG);\n retur n _this;\n }\n ScrollBlo t.prototyp e.detach = function () {\n _super .prototype .detach.ca ll(this);\ n t his.observ er.disconn ect();\n };\n ScrollBlot .prototype .deleteAt = function (index, l ength) {\n th is.update( );\n if (inde x === 0 && length == = this.len gth()) {\n this.chi ldren.forE ach(functi on (child) {\n child.remo ve();\n } );\n }\n else {\ n _super. prototype. deleteAt.c all(this, index, len gth);\n }\n };\n ScrollBlot .prototype .formatAt = function (index, l ength, nam e, value) {\n this.upda te();\n _supe r.prototyp e.formatAt .call(this , index, l ength, nam e, value); \n };\n Scroll Blot.proto type.inser tAt = func tion (inde x, value, def) {\n this .update(); \n _super.pro totype.ins ertAt.call (this, ind ex, value, def);\n };\n ScrollBlot .prototype .optimize = function (mutation s, context ) {\n var _th is = this; \n if (mutati ons === vo id 0) { mu tations = []; }\n if (c ontext === void 0) { context = {}; }\n _sup er.prototy pe.optimiz e.call(thi s, context );\n // We mu st modify mutations directly, cannot mak e copy and then modi fy\n var reco rds = [].s lice.call( this.obser ver.takeRe cords());\ n / / Array.pu sh current ly seems t o be imple mented by a non-tail recursive function\ n / / so we ca nnot just mutations. push.apply (mutations , this.obs erver.take Records()) ;\n while (re cords.leng th > 0)\n mutations .push(reco rds.pop()) ;\n // TODO u se WeakMap \n var mark = function (blot, mar kParent) { \n if (ma rkParent = == void 0) { markPar ent = true ; }\n if (blot == n ull || blo t === _thi s)\n return;\n if (blot. domNode.pa rentNode = = null)\n retur n;\n if ( blot.domNo de[Registr y.DATA_KEY ].mutation s == null) {\n blot.domNo de[Registr y.DATA_KEY ].mutation s = [];\n }\n if ( markParent )\n m ark(blot.p arent);\n };\ n v ar optimiz e = functi on (blot) {\n if (b lot.domNod e[Registry .DATA_KEY] == null | | blot.dom Node[Regis try.DATA_K EY].mutati ons == nul l) {\n return;\ n }\n if (blot ins tanceof co ntainer_1. default) { \n bl ot.childre n.forEach( optimize); \n }\n b lot.optimi ze(context );\n };\n var re maining = mutations; \n for (var i = 0; rema ining.leng th > 0; i += 1) {\n if (i >= MAX_OPTIMI ZE_ITERATI ONS) {\n throw new Error( '[Parchmen t] Maximum optimize iterations reached') ;\n }\n remaining. forEach(fu nction (mu tation) {\ n var blot = Re gistry.fin d(mutation .target, t rue);\n if (blo t == null) \n return;\ n if (blot.domN ode === mu tation.tar get) {\n if (mutation .type === 'childList ') {\n mark(Regis try.find(m utation.pr eviousSibl ing, false ));\n [ ].forEach. call(mutat ion.addedN odes, func tion (node ) {\n var chi ld = Regis try.find(n ode, false );\n mark(chi ld, false) ;\n if (child instanceo f containe r_1.defaul t) {\n ch ild.childr en.forEach (function (grandChil d) {\n mark(gra ndChild, f alse);\n });\n }\n });\n }\n el se if (mut ation.type === 'attr ibutes') { \n mark (blot.prev );\n }\n }\n mark(blo t);\n }); \n this.c hildren.fo rEach(opti mize);\n remaining = [].slice .call(this .observer. takeRecord s());\n r ecords = r emaining.s lice();\n while (re cords.leng th > 0)\n mutat ions.push( records.po p());\n }\n };\n ScrollBlot .prototype .update = function ( mutations, context) {\n var _this = this;\n if (context === void 0 ) { contex t = {}; }\ n m utations = mutations || this.o bserver.ta keRecords( );\n // TODO use WeakMa p\n mutations .map(funct ion (mutat ion) {\n var blot = Registry. find(mutat ion.target , true);\n if (blot == null)\ n ret urn;\n if (blot.dom Node[Regis try.DATA_K EY].mutati ons == nul l) {\n blot.dom Node[Regis try.DATA_K EY].mutati ons = [mut ation];\n retur n blot;\n }\n else {\n blot.domNo de[Registr y.DATA_KEY ].mutation s.push(mut ation);\n retur n null;\n }\n }).forEa ch(functio n (blot) { \n if (bl ot == null || blot = == _this | | blot.dom Node[Regis try.DATA_K EY] == nul l)\n return;\n blot.upda te(blot.do mNode[Regi stry.DATA_ KEY].mutat ions || [] , context) ;\n });\n if (th is.domNode [Registry. DATA_KEY]. mutations != null) { \n _super .prototype .update.ca ll(this, t his.domNod e[Registry .DATA_KEY] .mutations , context) ;\n }\n this.opt imize(muta tions, con text);\n };\n ScrollBlot .blotName = 'scroll' ;\n Scr ollBlot.de faultChild = 'block' ;\n Scr ollBlot.sc ope = Regi stry.Scope .BLOCK_BLO T;\n Sc rollBlot.t agName = ' DIV';\n return Sc rollBlot;\ n}(contain er_1.defau lt));\nexp orts.defau lt = Scrol lBlot;\n\n \n/***/ }) ,\n/* 46 * /\n/***/ ( function(m odule, exp orts, __we bpack_requ ire__) {\n \n\"use st rict\";\n\ nvar __ext ends = (th is && this .__extends ) || (func tion () {\ n var e xtendStati cs = Objec t.setProto typeOf ||\ n ( { __proto_ _: [] } in stanceof A rray && fu nction (d, b) { d.__ proto__ = b; }) ||\n fu nction (d, b) { for (var p in b) if (b.h asOwnPrope rty(p)) d[ p] = b[p]; };\n r eturn func tion (d, b ) {\n extendS tatics(d, b);\n functio n __() { t his.constr uctor = d; }\n d.protot ype = b == = null ? O bject.crea te(b) : (_ _.prototyp e = b.prot otype, new __());\n };\n})( );\nObject .definePro perty(expo rts, \"__e sModule\", { value: true });\n var format _1 = __web pack_requi re__(18);\ nvar Regis try = __we bpack_requ ire__(1);\ n// Shallo w object c omparison\ nfunction isEqual(ob j1, obj2) {\n if (Object.ke ys(obj1).l ength !== Object.key s(obj2).le ngth)\n retur n false;\n for (v ar prop in obj1) {\n if (obj1[pro p] !== obj 2[prop])\n return f alse;\n }\n re turn true; \n}\nvar I nlineBlot = /** @cla ss */ (fun ction (_su per) {\n __extend s(InlineBl ot, _super );\n fu nction Inl ineBlot() {\n return _s uper !== n ull && _su per.apply( this, argu ments) || this;\n }\n In lineBlot.f ormats = f unction (d omNode) {\ n i f (domNode .tagName = == InlineB lot.tagNam e)\n retu rn undefin ed;\n return _super.for mats.call( this, domN ode);\n };\n I nlineBlot. prototype. format = f unction (n ame, value ) {\n var _th is = this; \n if (name = == this.st atics.blot Name && !v alue) {\n this.chil dren.forEa ch(functio n (child) {\n i f (!(child instanceo f format_1 .default)) {\n child = child.wr ap(InlineB lot.blotNa me, true); \n }\ n _th is.attribu tes.copy(c hild);\n });\n thi s.unwrap() ;\n }\n else {\n _super.p rototype.f ormat.call (this, nam e, value); \n }\n };\ n Inlin eBlot.prot otype.form atAt = fun ction (ind ex, length , name, va lue) {\n if ( this.forma ts()[name] != null | | Registry .query(nam e, Registr y.Scope.AT TRIBUTE)) {\n var b lot = this .isolate(i ndex, leng th);\n bl ot.format( name, valu e);\n }\n else { \n _super .prototype .formatAt. call(this, index, le ngth, name , value);\ n } \n };\n Inline Blot.proto type.optim ize = func tion (cont ext) {\n _sup er.prototy pe.optimiz e.call(thi s, context );\n var form ats = this .formats() ;\n if (Objec t.keys(for mats).leng th === 0) {\n retur n this.unw rap(); // unformatte d span\n }\n var next = th is.next;\n if (next ins tanceof In lineBlot & & next.pre v === this && isEqua l(formats, next.form ats())) {\ n next.mo veChildren (this);\n next.remo ve();\n }\n };\n InlineBlot .blotName = 'inline' ;\n Inl ineBlot.sc ope = Regi stry.Scope .INLINE_BL OT;\n I nlineBlot. tagName = 'SPAN';\n return InlineBlot ;\n}(forma t_1.defaul t));\nexpo rts.defaul t = Inline Blot;\n\n\ n/***/ }), \n/* 47 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n var __exte nds = (thi s && this. __extends) || (funct ion () {\n var ex tendStatic s = Object .setProtot ypeOf ||\n ({ __proto__ : [] } ins tanceof Ar ray && fun ction (d, b) { d.__p roto__ = b ; }) ||\n fun ction (d, b) { for ( var p in b ) if (b.ha sOwnProper ty(p)) d[p ] = b[p]; };\n re turn funct ion (d, b) {\n extendSt atics(d, b );\n function __() { th is.constru ctor = d; }\n d.prototy pe = b === null ? Ob ject.creat e(b) : (__ .prototype = b.proto type, new __());\n };\n})() ;\nObject. defineProp erty(expor ts, \"__es Module\", { value: t rue });\nv ar format_ 1 = __webp ack_requir e__(18);\n var Regist ry = __web pack_requi re__(1);\n var BlockB lot = /** @class */ (function (_super) { \n __ex tends(Bloc kBlot, _su per);\n function BlockBlot( ) {\n return _super !== null && _ super.appl y(this, ar guments) | | this;\n }\n BlockBlot. formats = function ( domNode) { \n var tagNam e = Regist ry.query(B lockBlot.b lotName).t agName;\n if (domNode.t agName === tagName)\ n return undefined; \n return _su per.format s.call(thi s, domNode );\n }; \n Bloc kBlot.prot otype.form at = funct ion (name, value) {\ n i f (Registr y.query(na me, Regist ry.Scope.B LOCK) == n ull) {\n return;\n }\n el se if (nam e === this .statics.b lotName && !value) { \n this.r eplaceWith (BlockBlot .blotName) ;\n }\n else {\n _super.p rototype.f ormat.call (this, nam e, value); \n }\n };\ n Block Blot.proto type.forma tAt = func tion (inde x, length, name, val ue) {\n if (R egistry.qu ery(name, Registry.S cope.BLOCK ) != null) {\n this .format(na me, value) ;\n }\n else {\n _super.p rototype.f ormatAt.ca ll(this, i ndex, leng th, name, value);\n }\n };\n BlockBlo t.prototyp e.insertAt = functio n (index, value, def ) {\n if (def == null | | Registry .query(val ue, Regist ry.Scope.I NLINE) != null) {\n // Insert text or i nline\n _ super.prot otype.inse rtAt.call( this, inde x, value, def);\n }\n else {\n var after = th is.split(i ndex);\n var blot = Registry. create(val ue, def);\ n after.p arent.inse rtBefore(b lot, after );\n }\n } ;\n Blo ckBlot.pro totype.upd ate = func tion (muta tions, con text) {\n if (navigator .userAgent .match(/Tr ident/)) { \n this.a ttach();\n }\ n e lse {\n _ super.prot otype.upda te.call(th is, mutati ons, conte xt);\n }\n };\n B lockBlot.b lotName = 'block';\n BlockB lot.scope = Registry .Scope.BLO CK_BLOT;\n BlockB lot.tagNam e = 'P';\n return BlockBlot ;\n}(forma t_1.defaul t));\nexpo rts.defaul t = BlockB lot;\n\n\n /***/ }),\ n/* 48 */\ n/***/ (fu nction(mod ule, expor ts, __webp ack_requir e__) {\n\n \"use stri ct\";\n\nv ar __exten ds = (this && this._ _extends) || (functi on () {\n var ext endStatics = Object. setPrototy peOf ||\n ({ __proto__: [] } inst anceof Arr ay && func tion (d, b ) { d.__pr oto__ = b; }) ||\n func tion (d, b ) { for (v ar p in b) if (b.has OwnPropert y(p)) d[p] = b[p]; } ;\n ret urn functi on (d, b) {\n extendSta tics(d, b) ;\n function __() { thi s.construc tor = d; } \n d.prototyp e = b === null ? Obj ect.create (b) : (__. prototype = b.protot ype, new _ _());\n };\n})(); \nObject.d efinePrope rty(export s, \"__esM odule\", { value: tr ue });\nva r leaf_1 = __webpack _require__ (19);\nvar EmbedBlot = /** @cl ass */ (fu nction (_s uper) {\n __exten ds(EmbedBl ot, _super );\n fu nction Emb edBlot() { \n return _su per !== nu ll && _sup er.apply(t his, argum ents) || t his;\n }\n Emb edBlot.for mats = fun ction (dom Node) {\n ret urn undefi ned;\n };\n Em bedBlot.pr ototype.fo rmat = fun ction (nam e, value) {\n // super. formatAt w raps, whic h is what we want in general,\ n / / but this allows su bclasses t o overwrit e for form ats\n // that just appl y to parti cular embe ds\n _super.p rototype.f ormatAt.ca ll(this, 0 , this.len gth(), nam e, value); \n };\n EmbedB lot.protot ype.format At = funct ion (index , length, name, valu e) {\n if (in dex === 0 && length === this.l ength()) { \n this.f ormat(name , value);\ n } \n else {\n _super.pro totype.for matAt.call (this, ind ex, length , name, va lue);\n }\n };\n EmbedBlot. prototype. formats = function ( ) {\n return this.stati cs.formats (this.domN ode);\n };\n r eturn Embe dBlot;\n}( leaf_1.def ault));\ne xports.def ault = Emb edBlot;\n\ n\n/***/ } ),\n/* 49 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \nvar __ex tends = (t his && thi s.__extend s) || (fun ction () { \n var extendStat ics = Obje ct.setProt otypeOf || \n ({ __proto __: [] } i nstanceof Array && f unction (d , b) { d._ _proto__ = b; }) ||\ n f unction (d , b) { for (var p in b) if (b. hasOwnProp erty(p)) d [p] = b[p] ; };\n return fun ction (d, b) {\n extend Statics(d, b);\n functi on __() { this.const ructor = d ; }\n d.proto type = b = == null ? Object.cre ate(b) : ( __.prototy pe = b.pro totype, ne w __());\n };\n}) ();\nObjec t.definePr operty(exp orts, \"__ esModule\" , { value: true });\ nvar leaf_ 1 = __webp ack_requir e__(19);\n var Regist ry = __web pack_requi re__(1);\n var TextBl ot = /** @ class */ ( function ( _super) {\ n __ext ends(TextB lot, _supe r);\n f unction Te xtBlot(nod e) {\n var _t his = _sup er.call(th is, node) || this;\n _t his.text = _this.sta tics.value (_this.dom Node);\n retu rn _this;\ n }\n TextBlot .create = function ( value) {\n re turn docum ent.create TextNode(v alue);\n };\n TextBlot.v alue = fun ction (dom Node) {\n var text = do mNode.data ;\n if (text[ \"normaliz e\"])\n t ext = text [\"normali ze\"]();\n re turn text; \n };\n TextBl ot.prototy pe.deleteA t = functi on (index, length) { \n this.domNo de.data = this.text = this.tex t.slice(0, index) + this.text. slice(inde x + length );\n }; \n Text Blot.proto type.index = functio n (node, o ffset) {\n if (this.dom Node === n ode) {\n return off set;\n }\n retur n -1;\n };\n T extBlot.pr ototype.in sertAt = f unction (i ndex, valu e, def) {\ n i f (def == null) {\n this.text = this.te xt.slice(0 , index) + value + t his.text.s lice(index );\n this .domNode.d ata = this .text;\n }\n els e {\n _su per.protot ype.insert At.call(th is, index, value, de f);\n }\n };\n Te xtBlot.pro totype.len gth = func tion () {\ n r eturn this .text.leng th;\n } ;\n Tex tBlot.prot otype.opti mize = fun ction (con text) {\n _su per.protot ype.optimi ze.call(th is, contex t);\n this.te xt = this. statics.va lue(this.d omNode);\n if (this.tex t.length = == 0) {\n this.remo ve();\n }\n else if (this. next insta nceof Text Blot && th is.next.pr ev === thi s) {\n th is.insertA t(this.len gth(), thi s.next.val ue());\n this.next. remove();\ n } \n };\n TextBl ot.prototy pe.positio n = functi on (index, inclusive ) {\n if (inc lusive === void 0) { inclusive = false; }\n return [t his.domNod e, index]; \n };\n TextBl ot.prototy pe.split = function (index, fo rce) {\n if ( force === void 0) { force = fa lse; }\n if ( !force) {\ n if (ind ex === 0)\ n ret urn this;\ n if (ind ex === thi s.length() )\n r eturn this .next;\n }\n var after = R egistry.cr eate(this. domNode.sp litText(in dex));\n this .parent.in sertBefore (after, th is.next);\ n t his.text = this.stat ics.value( this.domNo de);\n return after;\n };\n TextBlot. prototype. update = f unction (m utations, context) { \n var _this = this;\n if (mutations .some(func tion (muta tion) {\n return mu tation.typ e === 'cha racterData ' && mutat ion.target === _this .domNode;\ n } )) {\n th is.text = this.stati cs.value(t his.domNod e);\n }\n };\n Te xtBlot.pro totype.val ue = funct ion () {\n re turn this. text;\n };\n T extBlot.bl otName = ' text';\n TextBlot .scope = R egistry.Sc ope.INLINE _BLOT;\n return T extBlot;\n }(leaf_1.d efault));\ nexports.d efault = T extBlot;\n \n\n/***/ }),\n/* 50 */\n/***/ (function (module, e xports, __ webpack_re quire__) { \n\n\"use strict\";\ n\n\nvar e lem = docu ment.creat eElement(' div');\nel em.classLi st.toggle( 'test-clas s', false) ;\nif (ele m.classLis t.contains ('test-cla ss')) {\n var _togg le = DOMTo kenList.pr ototype.to ggle;\n D OMTokenLis t.prototyp e.toggle = function (token, fo rce) {\n if (argu ments.leng th > 1 && !this.cont ains(token ) === !for ce) {\n return force;\n } else { \n re turn _togg le.call(th is, token) ;\n }\n };\n}\n\ nif (!Stri ng.prototy pe.startsW ith) {\n String.pro totype.sta rtsWith = function ( searchStri ng, positi on) {\n position = position || 0;\n return t his.substr (position, searchStr ing.length ) === sear chString;\ n };\n}\n \nif (!Str ing.protot ype.endsWi th) {\n S tring.prot otype.ends With = fun ction (sea rchString, position) {\n va r subjectS tring = th is.toStrin g();\n if (typeof position !== 'numbe r' || !isF inite(posi tion) || M ath.floor( position) !== positi on || posi tion > sub jectString .length) { \n po sition = s ubjectStri ng.length; \n }\n positio n -= searc hString.le ngth;\n var lastI ndex = sub jectString .indexOf(s earchStrin g, positio n);\n r eturn last Index !== -1 && last Index === position;\ n };\n}\n \nif (!Arr ay.prototy pe.find) { \n Object .definePro perty(Arra y.prototyp e, \"find\ ", {\n value: fun ction valu e(predicat e) {\n if (this === null) {\n throw ne w TypeErro r('Array.p rototype.f ind called on null o r undefine d');\n }\n if (typeo f predicat e !== 'fun ction') {\ n t hrow new T ypeError(' predicate must be a function') ;\n } \n va r list = O bject(this );\n var length = list.le ngth >>> 0 ;\n v ar thisArg = argumen ts[1];\n var va lue;\n\n for (v ar i = 0; i < length ; i++) {\n va lue = list [i];\n if (pr edicate.ca ll(thisArg , value, i , list)) { \n return v alue;\n }\n }\n return undefined; \n }\n });\n}\n\ ndocument. addEventLi stener(\"D OMContentL oaded\", f unction () {\n // D isable res izing in F irefox\n document.e xecCommand (\"enableO bjectResiz ing\", fal se, false) ;\n // Di sable auto matic link ifying in IE11\n do cument.exe cCommand(\ "autoUrlDe tect\", fa lse, false );\n});\n\ n/***/ }), \n/* 51 */ \n/***/ (f unction(mo dule, expo rts) {\n\n /**\n * Th is library modifies the diff-p atch-match library b y Neil Fra ser\n * by removing the patch and match functional ity and ce rtain adva nced\n * o ptions in the diff f unction. T he origina l license is as foll ows:\n *\n * ===\n * \n * Diff Match and Patch\n *\ n * Copyri ght 2006 G oogle Inc. \n * http: //code.goo gle.com/p/ google-dif f-match-pa tch/\n *\n * License d under th e Apache L icense, Ve rsion 2.0 (the \"Lic ense\");\n * you may not use t his file e xcept in c ompliance with the L icense.\n * You may obtain a c opy of the License a t\n *\n * http://w ww.apache. org/licens es/LICENSE -2.0\n *\n * Unless required b y applicab le law or agreed to in writing , software \n * distr ibuted und er the Lic ense is di stributed on an \"AS IS\" BASI S,\n * WIT HOUT WARRA NTIES OR C ONDITIONS OF ANY KIN D, either express or implied.\ n * See th e License for the sp ecific lan guage gove rning perm issions an d\n * limi tations un der the Li cense.\n * /\n\n\n/** \n * The d ata struct ure repres enting a d iff is an array of t uples:\n * [[DIFF_DE LETE, 'Hel lo'], [DIF F_INSERT, 'Goodbye'] , [DIFF_EQ UAL, ' wor ld.']]\n * which mea ns: delete 'Hello', add 'Goodb ye' and ke ep ' world .'\n */\nv ar DIFF_DE LETE = -1; \nvar DIFF _INSERT = 1;\nvar DI FF_EQUAL = 0;\n\n\n/ **\n * Fin d the diff erences be tween two texts. Si mplifies t he problem by stripp ing\n * an y common p refix or s uffix off the texts before dif fing.\n * @param {st ring} text 1 Old stri ng to be d iffed.\n * @param {s tring} tex t2 New str ing to be diffed.\n * @param { Int} curso r_pos Expe cted edit position i n text1 (o ptional)\n * @return {Array} A rray of di ff tuples. \n */\nfun ction diff _main(text 1, text2, cursor_pos ) {\n // Check for equality ( speedup).\ n if (tex t1 == text 2) {\n if (text1) {\n return [[D IFF_EQUAL, text1]];\ n }\n return [ ];\n }\n\ n // Chec k cursor_p os within bounds\n if (cursor _pos < 0 | | text1.le ngth < cur sor_pos) { \n curs or_pos = n ull;\n }\ n\n // Tr im off com mon prefix (speedup) .\n var c ommonlengt h = diff_c ommonPrefi x(text1, t ext2);\n var common prefix = t ext1.subst ring(0, co mmonlength );\n text 1 = text1. substring( commonleng th);\n te xt2 = text 2.substrin g(commonle ngth);\n\n // Trim off common suffix (s peedup).\n commonle ngth = dif f_commonSu ffix(text1 , text2);\ n var com monsuffix = text1.su bstring(te xt1.length - commonl ength);\n text1 = t ext1.subst ring(0, te xt1.length - commonl ength);\n text2 = t ext2.subst ring(0, te xt2.length - commonl ength);\n\ n // Comp ute the di ff on the middle blo ck.\n var diffs = d iff_comput e_(text1, text2);\n\ n // Rest ore the pr efix and s uffix.\n if (common prefix) {\ n diffs .unshift([ DIFF_EQUAL , commonpr efix]);\n }\n if ( commonsuff ix) {\n diffs.pus h([DIFF_EQ UAL, commo nsuffix]); \n }\n d iff_cleanu pMerge(dif fs);\n if (cursor_p os != null ) {\n d iffs = fix _cursor(di ffs, curso r_pos);\n }\n retu rn diffs;\ n};\n\n\n/ **\n * Fin d the diff erences be tween two texts. As sumes that the texts do not\n * have any common pr efix or su ffix.\n * @param {st ring} text 1 Old stri ng to be d iffed.\n * @param {s tring} tex t2 New str ing to be diffed.\n * @return {Array} Ar ray of dif f tuples.\ n */\nfunc tion diff_ compute_(t ext1, text 2) {\n va r diffs;\n \n if (!t ext1) {\n // Just add some text (spee dup).\n return [[ DIFF_INSER T, text2]] ;\n }\n\n if (!tex t2) {\n // Just d elete some text (spe edup).\n return [ [DIFF_DELE TE, text1] ];\n }\n\ n var lon gtext = te xt1.length > text2.l ength ? te xt1 : text 2;\n var shorttext = text1.le ngth > tex t2.length ? text2 : text1;\n var i = lo ngtext.ind exOf(short text);\n if (i != - 1) {\n // Shorter text is i nside the longer tex t (speedup ).\n di ffs = [[DI FF_INSERT, longtext. substring( 0, i)],\n [DIFF_EQ UAL, short text],\n [DIFF_INS ERT, longt ext.substr ing(i + sh orttext.le ngth)]];\n // Swa p insertio ns for del etions if diff is re versed.\n if (tex t1.length > text2.le ngth) {\n diffs [0][0] = d iffs[2][0] = DIFF_DE LETE;\n }\n re turn diffs ;\n }\n\n if (shor ttext.leng th == 1) { \n // S ingle char acter stri ng.\n / / After th e previous speedup, the charac ter can't be an equa lity.\n return [[ DIFF_DELET E, text1], [DIFF_INS ERT, text2 ]];\n }\n \n // Che ck to see if the pro blem can b e split in two.\n v ar hm = di ff_halfMat ch_(text1, text2);\n if (hm) {\n // A half-mat ch was fou nd, sort o ut the ret urn data.\ n var t ext1_a = h m[0];\n var text1 _b = hm[1] ;\n var text2_a = hm[2];\n var tex t2_b = hm[ 3];\n v ar mid_com mon = hm[4 ];\n // Send both pairs off for separ ate proces sing.\n var diffs _a = diff_ main(text1 _a, text2_ a);\n v ar diffs_b = diff_ma in(text1_b , text2_b) ;\n // Merge the results.\n return diffs_a.c oncat([[DI FF_EQUAL, mid_common ]], diffs_ b);\n }\n \n return diff_bise ct_(text1, text2);\n };\n\n\n/* *\n * Find the 'midd le snake' of a diff, split the problem i n two\n * and return the recur sively con structed d iff.\n * S ee Myers 1 986 paper: An O(ND) Difference Algorithm and Its V ariations. \n * @para m {string} text1 Old string to be diffed .\n * @par am {string } text2 Ne w string t o be diffe d.\n * @re turn {Arra y} Array o f diff tup les.\n * @ private\n */\nfuncti on diff_bi sect_(text 1, text2) {\n // Ca che the te xt lengths to preven t multiple calls.\n var text1 _length = text1.leng th;\n var text2_len gth = text 2.length;\ n var max _d = Math. ceil((text 1_length + text2_len gth) / 2); \n var v_ offset = m ax_d;\n v ar v_lengt h = 2 * ma x_d;\n va r v1 = new Array(v_l ength);\n var v2 = new Array( v_length); \n // Set ting all e lements to -1 is fas ter in Chr ome & Fire fox than m ixing\n / / integers and undef ined.\n f or (var x = 0; x < v _length; x ++) {\n v1[x] = - 1;\n v2 [x] = -1;\ n }\n v1 [v_offset + 1] = 0;\ n v2[v_of fset + 1] = 0;\n va r delta = text1_leng th - text2 _length;\n // If th e total nu mber of ch aracters i s odd, the n the fron t path wil l collide\ n // with the rever se path.\n var fron t = (delta % 2 != 0) ;\n // Of fsets for start and end of k l oop.\n // Prevents mapping of space bey ond the gr id.\n var k1start = 0;\n var k1end = 0 ;\n var k 2start = 0 ;\n var k 2end = 0;\ n for (va r d = 0; d < max_d; d++) {\n // Walk the front path one s tep.\n for (var k 1 = -d + k 1start; k1 <= d - k1 end; k1 += 2) {\n var k1_ offset = v _offset + k1;\n var x1;\n if ( k1 == -d | | (k1 != d && v1[k1_ offset - 1 ] < v1[k1_ offset + 1 ])) {\n x1 = v1[k1_offs et + 1];\n } el se {\n x1 = v 1[k1_offse t - 1] + 1 ;\n } \n va r y1 = x1 - k1;\n while ( x1 < text1 _length && y1 < text 2_length & &\n text 1.charAt(x 1) == text 2.charAt(y 1)) {\n x1++; \n y1++;\n }\n v1[k1_of fset] = x1 ;\n i f (x1 > te xt1_length ) {\n // Ran off the ri ght of the graph.\n k1e nd += 2;\n } el se if (y1 > text2_le ngth) {\n // Ran off th e bottom o f the grap h.\n k1start += 2;\n } else if (front) {\n var k2_o ffset = v_ offset + d elta - k1; \n if (k2_off set >= 0 & & k2_offse t < v_leng th && v2[k 2_offset] != -1) {\n // Mirror x2 onto to p-left coo rdinate sy stem.\n var x2 = text 1_length - v2[k2_off set];\n if (x1 >= x2) {\n // O verlap det ected.\n return dif f_bisectSp lit_(text1 , text2, x 1, y1);\n } \n }\n } \n }\n\ n // Wa lk the rev erse path one step.\ n for ( var k2 = - d + k2star t; k2 <= d - k2end; k2 += 2) { \n va r k2_offse t = v_offs et + k2;\n var x2;\n if (k2 == -d || (k2 != d && v 2[k2_offse t - 1] < v 2[k2_offse t + 1])) { \n x2 = v2[k2 _offset + 1];\n } else {\ n x 2 = v2[k2_ offset - 1 ] + 1;\n }\n var y2 = x2 - k2; \n wh ile (x2 < text1_leng th && y2 < text2_len gth &&\n text1.cha rAt(text1_ length - x 2 - 1) ==\ n text2. charAt(tex t2_length - y2 - 1)) {\n x2++;\n y2+ +;\n }\n v 2[k2_offse t] = x2;\n if ( x2 > text1 _length) { \n // Ran off the left of the gra ph.\n k2end + = 2;\n } else i f (y2 > te xt2_length ) {\n // Ran off the to p of the g raph.\n k2sta rt += 2;\n } el se if (!fr ont) {\n var k1_offset = v_offset + delta - k2;\n if (k1 _offset >= 0 && k1_o ffset < v_ length && v1[k1_offs et] != -1) {\n var x1 = v1[k1_o ffset];\n v ar y1 = v_ offset + x 1 - k1_off set;\n // M irror x2 o nto top-le ft coordin ate system .\n x2 = te xt1_length - x2;\n if (x1 >= x2 ) {\n // Overlap de tected.\n return di ff_bisectS plit_(text 1, text2, x1, y1);\n }\n }\n }\n }\n }\n // Diff took too long a nd hit the deadline or\n // n umber of d iffs equal s number o f characte rs, no com monality a t all.\n return [[D IFF_DELETE , text1], [DIFF_INSE RT, text2] ];\n};\n\n \n/**\n * Given the location o f the 'mid dle snake' , split th e diff in two parts\ n * and re curse.\n * @param {s tring} tex t1 Old str ing to be diffed.\n * @param { string} te xt2 New st ring to be diffed.\n * @param {number} x Index of split poin t in text1 .\n * @par am {number } y Index of split p oint in te xt2.\n * @ return {Ar ray} Array of diff t uples.\n * /\nfunctio n diff_bis ectSplit_( text1, tex t2, x, y) {\n var t ext1a = te xt1.substr ing(0, x); \n var te xt2a = tex t2.substri ng(0, y);\ n var tex t1b = text 1.substrin g(x);\n v ar text2b = text2.su bstring(y) ;\n\n // Compute bo th diffs s erially.\n var diff s = diff_m ain(text1a , text2a); \n var di ffsb = dif f_main(tex t1b, text2 b);\n\n r eturn diff s.concat(d iffsb);\n} ;\n\n\n/** \n * Deter mine the c ommon pref ix of two strings.\n * @param {string} t ext1 First string.\n * @param {string} t ext2 Secon d string.\ n * @retur n {number} The numbe r of chara cters comm on to the start of e ach\n * string.\ n */\nfunc tion diff_ commonPref ix(text1, text2) {\n // Quick check for common nu ll cases.\ n if (!te xt1 || !te xt2 || tex t1.charAt( 0) != text 2.charAt(0 )) {\n return 0;\ n }\n // Binary se arch.\n / / Performa nce analys is: http:/ /neil.fras er.name/ne ws/2007/10 /09/\n va r pointerm in = 0;\n var point ermax = Ma th.min(tex t1.length, text2.len gth);\n v ar pointer mid = poin termax;\n var point erstart = 0;\n whil e (pointer min < poin termid) {\ n if (t ext1.subst ring(point erstart, p ointermid) ==\n text2.s ubstring(p ointerstar t, pointer mid)) {\n point ermin = po intermid;\ n poi nterstart = pointerm in;\n } else {\n point ermax = po intermid;\ n }\n pointerm id = Math. floor((poi ntermax - pointermin ) / 2 + po intermin); \n }\n r eturn poin termid;\n} ;\n\n\n/** \n * Deter mine the c ommon suff ix of two strings.\n * @param {string} t ext1 First string.\n * @param {string} t ext2 Secon d string.\ n * @retur n {number} The numbe r of chara cters comm on to the end of eac h string.\ n */\nfunc tion diff_ commonSuff ix(text1, text2) {\n // Quick check for common nu ll cases.\ n if (!te xt1 || !te xt2 ||\n text1. charAt(tex t1.length - 1) != te xt2.charAt (text2.len gth - 1)) {\n ret urn 0;\n }\n // Bi nary searc h.\n // P erformance analysis: http://ne il.fraser. name/news/ 2007/10/09 /\n var p ointermin = 0;\n va r pointerm ax = Math. min(text1. length, te xt2.length );\n var pointermid = pointer max;\n va r pointere nd = 0;\n while (po intermin < pointermi d) {\n if (text1. substring( text1.leng th - point ermid, tex t1.length - pointere nd) ==\n text 2.substrin g(text2.le ngth - poi ntermid, t ext2.lengt h - pointe rend)) {\n poin termin = p ointermid; \n po interend = pointermi n;\n } else {\n pointe rmax = poi ntermid;\n }\n pointermi d = Math.f loor((poin termax - p ointermin) / 2 + poi ntermin);\ n }\n re turn point ermid;\n}; \n\n\n/**\ n * Do the two texts share a s ubstring w hich is at least hal f the leng th of the\ n * longer text?\n * This spee dup can pr oduce non- minimal di ffs.\n * @ param {str ing} text1 First str ing.\n * @ param {str ing} text2 Second st ring.\n * @return {A rray.<stri ng>} Five element Ar ray, conta ining the prefix of\ n * te xt1, the s uffix of t ext1, the prefix of text2, the suffix of \n * t ext2 and t he common middle. O r null if there was no match.\ n */\nfunc tion diff_ halfMatch_ (text1, te xt2) {\n var longte xt = text1 .length > text2.leng th ? text1 : text2;\ n var sho rttext = t ext1.lengt h > text2. length ? t ext2 : tex t1;\n if (longtext. length < 4 || shortt ext.length * 2 < lon gtext.leng th) {\n return nu ll; // Po intless.\n }\n\n / **\n * D oes a subs tring of s horttext e xist withi n longtext such that the subst ring\n * is at lea st half th e length o f longtext ?\n * Cl osure, but does not reference any extern al variabl es.\n * @param {st ring} long text Longe r string.\ n * @par am {string } shorttex t Shorter string.\n * @param {number} i Start in dex of qua rter lengt h substrin g within l ongtext.\n * @retu rn {Array. <string>} Five eleme nt Array, containing the prefi x of\n * longt ext, the s uffix of l ongtext, t he prefix of shortte xt, the su ffix\n * of sh orttext an d the comm on middle. Or null if there w as no matc h.\n * @ private\n */\n fu nction dif f_halfMatc hI_(longte xt, shortt ext, i) {\ n // St art with a 1/4 lengt h substrin g at posit ion i as a seed.\n var seed = longtex t.substrin g(i, i + M ath.floor( longtext.l ength / 4) );\n va r j = -1;\ n var b est_common = '';\n var best _longtext_ a, best_lo ngtext_b, best_short text_a, be st_shortte xt_b;\n while ((j = shortte xt.indexOf (seed, j + 1)) != -1 ) {\n var prefi xLength = diff_commo nPrefix(lo ngtext.sub string(i), \n short text.subst ring(j));\ n var suffixLen gth = diff _commonSuf fix(longte xt.substri ng(0, i),\ n shortt ext.substr ing(0, j)) ;\n i f (best_co mmon.lengt h < suffix Length + p refixLengt h) {\n best_c ommon = sh orttext.su bstring(j - suffixLe ngth, j) + \n shortt ext.substr ing(j, j + prefixLen gth);\n best_ longtext_a = longtex t.substrin g(0, i - s uffixLengt h);\n best_lo ngtext_b = longtext. substring( i + prefix Length);\n be st_shortte xt_a = sho rttext.sub string(0, j - suffix Length);\n be st_shortte xt_b = sho rttext.sub string(j + prefixLen gth);\n }\n }\n if (best_comm on.length * 2 >= lon gtext.leng th) {\n return [best_long text_a, be st_longtex t_b,\n best_short text_a, be st_shortte xt_b, best _common];\ n } els e {\n return nu ll;\n } \n }\n\n // First check if t he second quarter is the seed for a half -match.\n var hm1 = diff_half MatchI_(lo ngtext, sh orttext,\n M ath.ceil(l ongtext.le ngth / 4)) ;\n // Ch eck again based on t he third q uarter.\n var hm2 = diff_half MatchI_(lo ngtext, sh orttext,\n M ath.ceil(l ongtext.le ngth / 2)) ;\n var h m;\n if ( !hm1 && !h m2) {\n return nu ll;\n } e lse if (!h m2) {\n hm = hm1; \n } else if (!hm1) {\n hm = hm2;\n } else {\ n // Bo th matched . Select the longes t.\n hm = hm1[4]. length > h m2[4].leng th ? hm1 : hm2;\n } \n\n // A half-matc h was foun d, sort ou t the retu rn data.\n var text 1_a, text1 _b, text2_ a, text2_b ;\n if (t ext1.lengt h > text2. length) {\ n text1 _a = hm[0] ;\n tex t1_b = hm[ 1];\n t ext2_a = h m[2];\n text2_b = hm[3];\n } else {\ n text2 _a = hm[0] ;\n tex t2_b = hm[ 1];\n t ext1_a = h m[2];\n text1_b = hm[3];\n }\n var mid_common = hm[4];\ n return [text1_a, text1_b, t ext2_a, te xt2_b, mid _common];\ n};\n\n\n/ **\n * Reo rder and m erge like edit secti ons. Merg e equaliti es.\n * An y edit sec tion can m ove as lon g as it do esn't cros s an equal ity.\n * @ param {Arr ay} diffs Array of d iff tuples .\n */\nfu nction dif f_cleanupM erge(diffs ) {\n dif fs.push([D IFF_EQUAL, '']); // Add a dum my entry a t the end. \n var po inter = 0; \n var co unt_delete = 0;\n v ar count_i nsert = 0; \n var te xt_delete = '';\n v ar text_in sert = ''; \n var co mmonlength ;\n while (pointer < diffs.le ngth) {\n switch (diffs[poi nter][0]) {\n c ase DIFF_I NSERT:\n coun t_insert++ ;\n text_inse rt += diff s[pointer] [1];\n pointe r++;\n break; \n ca se DIFF_DE LETE:\n count _delete++; \n text_delet e += diffs [pointer][ 1];\n pointer ++;\n break;\ n cas e DIFF_EQU AL:\n // Upon reaching an equalit y, check f or prior r edundancie s.\n if (coun t_delete + count_ins ert > 1) { \n if (coun t_delete ! == 0 && co unt_insert !== 0) {\ n // Fact or out any common pr efixies.\n commonle ngth = dif f_commonPr efix(text_ insert, te xt_delete) ;\n if (c ommonlengt h !== 0) { \n if ( (pointer - count_del ete - coun t_insert) > 0 &&\n diff s[pointer - count_de lete - cou nt_insert - 1][0] == \n DIFF_EQUAL ) {\n diffs[poi nter - cou nt_delete - count_in sert - 1][ 1] +=\n tex t_insert.s ubstring(0 , commonle ngth);\n } else { \n di ffs.splice (0, 0, [DI FF_EQUAL,\ n tex t_insert.s ubstring(0 , commonle ngth)]);\n poin ter++;\n }\n t ext_insert = text_in sert.subst ring(commo nlength);\ n text_ delete = t ext_delete .substring (commonlen gth);\n } \n // Fac tor out an y common s uffixies.\ n commonl ength = di ff_commonS uffix(text _insert, t ext_delete );\n if ( commonleng th !== 0) {\n dif fs[pointer ][1] = tex t_insert.s ubstring(t ext_insert .length -\ n c ommonlengt h) + diffs [pointer][ 1];\n t ext_insert = text_in sert.subst ring(0, te xt_insert. length -\n co mmonlength );\n te xt_delete = text_del ete.substr ing(0, tex t_delete.l ength -\n com monlength) ;\n }\n }\ n // Delete the offen ding recor ds and add the merge d ones.\n i f (count_d elete === 0) {\n di ffs.splice (pointer - count_ins ert,\n count_de lete + cou nt_insert, [DIFF_INS ERT, text_ insert]);\ n } else if (count_in sert === 0 ) {\n dif fs.splice( pointer - count_dele te,\n count_del ete + coun t_insert, [DIFF_DELE TE, text_d elete]);\n } else {\n diffs.sp lice(point er - count _delete - count_inse rt,\n count_del ete + coun t_insert, [DIFF_DELE TE, text_d elete],\n [DIFF _INSERT, t ext_insert ]);\n }\n po inter = po inter - co unt_delete - count_i nsert +\n ( count_dele te ? 1 : 0 ) + (count _insert ? 1 : 0) + 1 ;\n } else if (pointer !== 0 && d iffs[point er - 1][0] == DIFF_E QUAL) {\n / / Merge th is equalit y with the previous one.\n diff s[pointer - 1][1] += diffs[poi nter][1];\ n diffs.spl ice(pointe r, 1);\n } el se {\n poin ter++;\n }\n cou nt_insert = 0;\n count_ delete = 0 ;\n text_dele te = '';\n te xt_insert = '';\n break ;\n }\n }\n if (diffs[dif fs.length - 1][1] == = '') {\n diffs.p op(); // Remove the dummy ent ry at the end.\n }\ n\n // Se cond pass: look for single edi ts surroun ded on bot h sides by equalitie s\n // wh ich can be shifted s ideways to eliminate an equali ty.\n // e.g: A<ins >BA</ins>C -> <ins>A B</ins>AC\ n var cha nges = fal se;\n poi nter = 1;\ n // Inte ntionally ignore the first and last elem ent (don't need chec king).\n while (poi nter < dif fs.length - 1) {\n if (diff s[pointer - 1][0] == DIFF_EQUA L &&\n diffs[ pointer + 1][0] == D IFF_EQUAL) {\n // This is a single edit surro unded by e qualities. \n if (diffs[po inter][1]. substring( diffs[poin ter][1].le ngth -\n di ffs[pointe r - 1][1]. length) == diffs[poi nter - 1][ 1]) {\n // Sh ift the ed it over th e previous equality. \n diffs[poin ter][1] = diffs[poin ter - 1][1 ] +\n dif fs[pointer ][1].subst ring(0, di ffs[pointe r][1].leng th -\n diff s[pointer - 1][1].le ngth);\n diff s[pointer + 1][1] = diffs[poin ter - 1][1 ] + diffs[ pointer + 1][1];\n diff s.splice(p ointer - 1 , 1);\n chang es = true; \n } else if (d iffs[point er][1].sub string(0, diffs[poin ter + 1][1 ].length) ==\n diffs[ pointer + 1][1]) {\n // Shift the edit over the next equality.\ n d iffs[point er - 1][1] += diffs[ pointer + 1][1];\n diff s[pointer] [1] =\n d iffs[point er][1].sub string(dif fs[pointer + 1][1].l ength) +\n diffs[po inter + 1] [1];\n diffs. splice(poi nter + 1, 1);\n changes = true;\n }\n }\n pointer++; \n }\n / / If shift s were mad e, the dif f needs re ordering a nd another shift swe ep.\n if (changes) {\n dif f_cleanupM erge(diffs );\n }\n} ;\n\n\nvar diff = di ff_main;\n diff.INSER T = DIFF_I NSERT;\ndi ff.DELETE = DIFF_DEL ETE;\ndiff .EQUAL = D IFF_EQUAL; \n\nmodule .exports = diff;\n\n /*\n * Mod ify a diff such that the curso r position points to the start of a chan ge:\n * E. g.\n * c ursor_norm alize_diff ([[DIFF_EQ UAL, 'abc' ]], 1)\n * => [1 , [[DIFF_E QUAL, 'a'] , [DIFF_EQ UAL, 'bc'] ]]\n * c ursor_norm alize_diff ([[DIFF_IN SERT, 'new '], [DIFF_ DELETE, 'x yz']], 2)\ n * => [2, [[DIF F_INSERT, 'new'], [D IFF_DELETE , 'xy'], [ DIFF_DELET E, 'z']]]\ n *\n * @p aram {Arra y} diffs A rray of di ff tuples\ n * @param {Int} cur sor_pos Su ggested ed it positio n. Must no t be out o f bounds!\ n * @retur n {Array} A tuple [c ursor loca tion in th e modified diff, mod ified diff ]\n */\nfu nction cur sor_normal ize_diff ( diffs, cur sor_pos) { \n if (cu rsor_pos = == 0) {\n return [DIFF_EQUA L, diffs]; \n }\n f or (var cu rrent_pos = 0, i = 0 ; i < diff s.length; i++) {\n var d = diffs[i];\ n if (d [0] === DI FF_DELETE || d[0] == = DIFF_EQU AL) {\n var nex t_pos = cu rrent_pos + d[1].len gth;\n if (curs or_pos === next_pos) {\n return [ i + 1, dif fs];\n } else i f (cursor_ pos < next _pos) {\n // copy to pr event side effects\n di ffs = diff s.slice(); \n // split d into two diff chang es\n var spli t_pos = cu rsor_pos - current_p os;\n var d_l eft = [d[0 ], d[1].sl ice(0, spl it_pos)];\ n v ar d_right = [d[0], d[1].slice (split_pos )];\n diffs.s plice(i, 1 , d_left, d_right);\ n r eturn [i + 1, diffs] ;\n } else {\n cur rent_pos = next_pos; \n }\ n }\n }\n throw new Error ('cursor_p os is out of bounds! ')\n}\n\n/ *\n * Modi fy a diff such that the edit p osition is \"shifted \" to the proposed e dit locati on (cursor _position) .\n *\n * Case 1)\n * Check if a naive shift is possible:\ n * [0 , X], [ 1, Y] -> [ 1 , Y], [0, X] (if X + Y === Y + X)\n * [0, X ], [-1, Y] -> [-1, Y ], [0, X] (if X + Y === Y + X) - hold s same res ult\n * Ca se 2)\n * Check if the follo wing shift s are poss ible:\n * [0, 'p re'], [ 1, 'prefix'] -> [ 1, ' pre'], [0, 'pre'], [ 1, 'fix'] \n * [ 0, 'pre'], [-1, 'pre fix'] -> [ -1, 'pre'] , [0, 'pre '], [-1, ' fix']\n * ^ ^\n * d d_ne xt\n *\n * @param {A rray} diff s Array of diff tupl es\n * @pa ram {Int} cursor_pos Suggested edit posi tion. Must not be ou t of bound s!\n * @re turn {Arra y} Array o f diff tup les\n */\n function f ix_cursor (diffs, cu rsor_pos) {\n var n orm = curs or_normali ze_diff(di ffs, curso r_pos);\n var ndiff s = norm[1 ];\n var cursor_poi nter = nor m[0];\n v ar d = ndi ffs[cursor _pointer]; \n var d_ next = ndi ffs[cursor _pointer + 1];\n\n if (d == n ull) {\n // Text was delete d from end of origin al string, \n // c ursor is n ow out of bounds in new string \n retu rn diffs;\ n } else if (d[0] ! == DIFF_EQ UAL) {\n // A mod ification happened a t the curs or locatio n.\n // This is t he expecte d outcome, so we can return th e original diff.\n return d iffs;\n } else {\n if (d_n ext != nul l && d[1] + d_next[1 ] === d_ne xt[1] + d[ 1]) {\n // Case 1)\n // It is possible t o perform a naive sh ift\n ndiffs.sp lice(curso r_pointer, 2, d_next , d)\n return m erge_tuple s(ndiffs, cursor_poi nter, 2)\n } else if (d_nex t != null && d_next[ 1].indexOf (d[1]) === 0) {\n // Case 2)\n // d[1] i s a prefix of d_next [1]\n // We can assume th at d_next[ 0] !== 0, since d[0] === 0\n // Shi ft edit lo cations..\ n ndi ffs.splice (cursor_po inter, 2, [d_next[0] , d[1]], [ 0, d[1]]); \n va r suffix = d_next[1] .slice(d[1 ].length); \n if (suffix.l ength > 0) {\n ndiffs.s plice(curs or_pointer + 2, 0, [ d_next[0], suffix]); \n }\ n ret urn merge_ tuples(ndi ffs, curso r_pointer, 3)\n } else {\n // No t possible to perfor m any modi fication\n retu rn diffs;\ n }\n }\n\n}\n\n /*\n * Try to merge tuples wit h their ne igbors in a given ra nge.\n * E .g. [0, 'a '], [0, 'b '] -> [0, 'ab']\n *\ n * @param {Array} d iffs Array of diff t uples.\n * @param {I nt} start Position o f the firs t element to merge ( diffs[star t] is also merged wi th diffs[s tart - 1]) .\n * @par am {Int} l ength Numb er of cons ecutive el ements to check.\n * @return { Array} Arr ay of merg ed diff tu ples.\n */ \nfunction merge_tup les (diffs , start, l ength) {\n // Check from (sta rt-1) to ( start+leng th).\n fo r (var i = start + l ength - 1; i >= 0 && i >= star t - 1; i-- ) {\n i f (i + 1 < diffs.len gth) {\n var le ft_d = dif fs[i];\n var ri ght_d = di ffs[i+1];\ n if (left_d[0] === right _d[1]) {\n di ffs.splice (i, 2, [le ft_d[0], l eft_d[1] + right_d[1 ]]);\n }\n } \n }\n r eturn diff s;\n}\n\n\ n/***/ }), \n/* 52 */ \n/***/ (f unction(mo dule, expo rts) {\n\n exports = module.exp orts = typ eof Object .keys === 'function' \n ? Obje ct.keys : shim;\n\ne xports.shi m = shim;\ nfunction shim (obj) {\n var keys = []; \n for (v ar key in obj) keys. push(key); \n return keys;\n}\ n\n\n/***/ }),\n/* 5 3 */\n/*** / (functio n(module, exports) { \n\nvar su pportsArgu mentsClass = (functi on(){\n r eturn Obje ct.prototy pe.toStrin g.call(arg uments)\n} )() == '[o bject Argu ments]';\n \nexports = module.e xports = s upportsArg umentsClas s ? suppor ted : unsu pported;\n \nexports. supported = supporte d;\nfuncti on support ed(object) {\n retu rn Object. prototype. toString.c all(object ) == '[obj ect Argume nts]';\n}; \n\nexport s.unsuppor ted = unsu pported;\n function u nsupported (object){\ n return object &&\ n typeo f object = = 'object' &&\n t ypeof obje ct.length == 'number ' &&\n Object.pro totype.has OwnPropert y.call(obj ect, 'call ee') &&\n !Object .prototype .propertyI sEnumerabl e.call(obj ect, 'call ee') ||\n false;\ n};\n\n\n/ ***/ }),\n /* 54 */\n /***/ (fun ction(modu le, export s) {\n\n'u se strict' ;\n\nvar h as = Objec t.prototyp e.hasOwnPr operty\n , prefix = '~';\n\n/ **\n * Con structor t o create a storage f or our `EE ` objects. \n * An `E vents` ins tance is a plain obj ect whose properties are event names.\n *\n * @con structor\n * @api pr ivate\n */ \nfunction Events() {}\n\n//\n // We try to not inh erit from `Object.pr ototype`. In some en gines crea ting an\n/ / instance in this w ay is fast er than ca lling `Obj ect.create (null)` di rectly.\n/ / If `Obje ct.create( null)` is not suppor ted we pre fix the ev ent names with a\n// character to make s ure that t he built-i n object p roperties are not\n/ / overridd en or used as an att ack vector .\n//\nif (Object.cr eate) {\n Events.pr ototype = Object.cre ate(null); \n\n //\n // This hack is ne eded becau se the `__ proto__` p roperty is still inh erited in\ n // some old brows ers like A ndroid 4, iPhone 5.1 , Opera 11 and Safar i 5.\n // \n if (!n ew Events( ).__proto_ _) prefix = false;\n }\n\n/**\n * Represe ntation of a single event list ener.\n *\ n * @param {Function } fn The l istener fu nction.\n * @param { Mixed} con text The c ontext to invoke the listener with.\n * @param {Bo olean} [on ce=false] Specify if the liste ner is a o ne-time li stener.\n * @constru ctor\n * @ api privat e\n */\nfu nction EE( fn, contex t, once) { \n this.f n = fn;\n this.cont ext = cont ext;\n th is.once = once || fa lse;\n}\n\ n/**\n * M inimal `Ev entEmitter ` interfac e that is molded aga inst the N ode.js\n * `EventEmi tter` inte rface.\n * \n * @cons tructor\n * @api pub lic\n */\n function E ventEmitte r() {\n t his._event s = new Ev ents();\n this._eve ntsCount = 0;\n}\n\n /**\n * Re turn an ar ray listin g the even ts for whi ch the emi tter has r egistered\ n * listen ers.\n *\n * @return s {Array}\ n * @api p ublic\n */ \nEventEmi tter.proto type.event Names = fu nction eve ntNames() {\n var n ames = []\ n , eve nts\n , name;\n\n if (this ._eventsCo unt === 0) return na mes;\n\n for (name in (events = this._e vents)) {\ n if (h as.call(ev ents, name )) names.p ush(prefix ? name.sl ice(1) : n ame);\n } \n\n if ( Object.get OwnPropert ySymbols) {\n ret urn names. concat(Obj ect.getOwn PropertySy mbols(even ts));\n } \n\n retu rn names;\ n};\n\n/** \n * Retur n the list eners regi stered for a given e vent.\n *\ n * @param {String|S ymbol} eve nt The eve nt name.\n * @param {Boolean} exists Onl y check if there are listeners .\n * @ret urns {Arra y|Boolean} \n * @api public\n * /\nEventEm itter.prot otype.list eners = fu nction lis teners(eve nt, exists ) {\n var evt = pre fix ? pref ix + event : event\n , avai lable = th is._events [evt];\n\n if (exis ts) return !!availab le;\n if (!availabl e) return [];\n if (available .fn) retur n [availab le.fn];\n\ n for (va r i = 0, l = availab le.length, ee = new Array(l); i < l; i++ ) {\n e e[i] = ava ilable[i]. fn;\n }\n \n return ee;\n};\n \n/**\n * Calls each of the li steners re gistered f or a given event.\n *\n * @par am {String |Symbol} e vent The e vent name. \n * @retu rns {Boole an} `true` if the ev ent had li steners, e lse `false `.\n * @ap i public\n */\nEvent Emitter.pr ototype.em it = funct ion emit(e vent, a1, a2, a3, a4 , a5) {\n var evt = prefix ? prefix + e vent : eve nt;\n\n i f (!this._ events[evt ]) return false;\n\n var list eners = th is._events [evt]\n , len = a rguments.l ength\n , args\n , i;\n\ n if (lis teners.fn) {\n if (listener s.once) th is.removeL istener(ev ent, liste ners.fn, u ndefined, true);\n\n switch (len) {\n case 1: return listeners .fn.call(l isteners.c ontext), t rue;\n case 2: return lis teners.fn. call(liste ners.conte xt, a1), t rue;\n case 3: return lis teners.fn. call(liste ners.conte xt, a1, a2 ), true;\n case 4: return listeners .fn.call(l isteners.c ontext, a1 , a2, a3), true;\n case 5 : return l isteners.f n.call(lis teners.con text, a1, a2, a3, a4 ), true;\n case 6: return listeners .fn.call(l isteners.c ontext, a1 , a2, a3, a4, a5), t rue;\n }\n\n f or (i = 1, args = ne w Array(le n -1); i < len; i++) {\n args[i - 1 ] = argume nts[i];\n }\n\n listener s.fn.apply (listeners .context, args);\n } else {\n var le ngth = lis teners.len gth\n , j;\n\n for (i = 0; i < l ength; i++ ) {\n if (liste ners[i].on ce) this.r emoveListe ner(event, listeners [i].fn, un defined, t rue);\n\n switc h (len) {\ n c ase 1: lis teners[i]. fn.call(li steners[i] .context); break;\n cas e 2: liste ners[i].fn .call(list eners[i].c ontext, a1 ); break;\ n c ase 3: lis teners[i]. fn.call(li steners[i] .context, a1, a2); b reak;\n case 4: listene rs[i].fn.c all(listen ers[i].con text, a1, a2, a3); b reak;\n defau lt:\n if (! args) for (j = 1, ar gs = new A rray(len - 1); j < le n; j++) {\ n args[j - 1] = arg uments[j]; \n }\n\n lis teners[i]. fn.apply(l isteners[i ].context, args);\n }\n }\n }\n \n return true;\n}; \n\n/**\n * Add a li stener for a given e vent.\n *\ n * @param {String|S ymbol} eve nt The eve nt name.\n * @param {Function} fn The li stener fun ction.\n * @param {M ixed} [con text=this] The conte xt to invo ke the lis tener with .\n * @ret urns {Even tEmitter} `this`.\n * @api pub lic\n */\n EventEmitt er.prototy pe.on = fu nction on( event, fn, context) {\n var l istener = new EE(fn, context | | this)\n , evt = prefix ? prefix + e vent : eve nt;\n\n i f (!this._ events[evt ]) this._e vents[evt] = listene r, this._e ventsCount ++;\n els e if (!thi s._events[ evt].fn) t his._event s[evt].pus h(listener );\n else this._eve nts[evt] = [this._ev ents[evt], listener] ;\n\n ret urn this;\ n};\n\n/** \n * Add a one-time listener f or a given event.\n *\n * @par am {String |Symbol} e vent The e vent name. \n * @para m {Functio n} fn The listener f unction.\n * @param {Mixed} [c ontext=thi s] The con text to in voke the l istener wi th.\n * @r eturns {Ev entEmitter } `this`.\ n * @api p ublic\n */ \nEventEmi tter.proto type.once = function once(even t, fn, con text) {\n var liste ner = new EE(fn, con text || th is, true)\ n , evt = prefix ? prefix + event : e vent;\n\n if (!this ._events[e vt]) this. _events[ev t] = liste ner, this. _eventsCou nt++;\n e lse if (!t his._event s[evt].fn) this._eve nts[evt].p ush(listen er);\n el se this._e vents[evt] = [this._ events[evt ], listene r];\n\n r eturn this ;\n};\n\n/ **\n * Rem ove the li steners of a given e vent.\n *\ n * @param {String|S ymbol} eve nt The eve nt name.\n * @param {Function} fn Only r emove the listeners that match this func tion.\n * @param {Mi xed} conte xt Only re move the l isteners t hat have t his contex t.\n * @pa ram {Boole an} once O nly remove one-time listeners. \n * @retu rns {Event Emitter} ` this`.\n * @api publ ic\n */\nE ventEmitte r.prototyp e.removeLi stener = f unction re moveListen er(event, fn, contex t, once) { \n var ev t = prefix ? prefix + event : event;\n\n if (!thi s._events[ evt]) retu rn this;\n if (!fn) {\n if (--this._ eventsCoun t === 0) t his._event s = new Ev ents();\n else de lete this. _events[ev t];\n r eturn this ;\n }\n\n var list eners = th is._events [evt];\n\n if (list eners.fn) {\n if (\n listener s.fn === f n\n & & (!once | | listener s.once)\n && (! context || listeners .context = == context )\n ) { \n if (--this._ eventsCoun t === 0) t his._event s = new Ev ents();\n else delete thi s._events[ evt];\n }\n } el se {\n for (var i = 0, even ts = [], l ength = li steners.le ngth; i < length; i+ +) {\n if (\n l isteners[i ].fn !== f n\n || (once && !listen ers[i].onc e)\n || (cont ext && lis teners[i]. context != = context) \n ) {\n events.pu sh(listene rs[i]);\n }\n }\n\n //\n / / Reset th e array, o r remove i t complete ly if we h ave no mor e listener s.\n // \n if ( events.len gth) this. _events[ev t] = event s.length = == 1 ? eve nts[0] : e vents;\n else if (--this._e ventsCount === 0) th is._events = new Eve nts();\n else del ete this._ events[evt ];\n }\n\ n return this;\n};\ n\n/**\n * Remove al l listener s, or thos e of the s pecified e vent.\n *\ n * @param {String|S ymbol} [ev ent] The e vent name. \n * @retu rns {Event Emitter} ` this`.\n * @api publ ic\n */\nE ventEmitte r.prototyp e.removeAl lListeners = functio n removeAl lListeners (event) {\ n var evt ;\n\n if (event) {\ n evt = prefix ? prefix + e vent : eve nt;\n i f (this._e vents[evt] ) {\n if (--thi s._eventsC ount === 0 ) this._ev ents = new Events(); \n el se delete this._even ts[evt];\n }\n } else {\n this._e vents = ne w Events() ;\n thi s._eventsC ount = 0;\ n }\n\n return thi s;\n};\n\n //\n// Ali as methods names bec ause peopl e roll lik e that.\n/ /\nEventEm itter.prot otype.off = EventEmi tter.proto type.remov eListener; \nEventEmi tter.proto type.addLi stener = E ventEmitte r.prototyp e.on;\n\n/ /\n// This function doesn't ap ply anymor e.\n//\nEv entEmitter .prototype .setMaxLis teners = f unction se tMaxListen ers() {\n return th is;\n};\n\ n//\n// Ex pose the p refix.\n// \nEventEmi tter.prefi xed = pref ix;\n\n//\ n// Allow `EventEmit ter` to be imported as module namespace. \n//\nEven tEmitter.E ventEmitte r = EventE mitter;\n\ n//\n// Ex pose the m odule.\n// \nif ('und efined' != = typeof m odule) {\n module.e xports = E ventEmitte r;\n}\n\n\ n/***/ }), \n/* 55 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \nexports. matchText = exports. matchSpaci ng = expor ts.matchNe wline = ex ports.matc hBlot = ex ports.matc hAttributo r = export s.default = undefine d;\n\nvar _typeof = typeof Sym bol === \" function\" && typeof Symbol.it erator === \"symbol\ " ? functi on (obj) { return ty peof obj; } : functi on (obj) { return ob j && typeo f Symbol = == \"funct ion\" && o bj.constru ctor === S ymbol && o bj !== Sym bol.protot ype ? \"sy mbol\" : t ypeof obj; };\n\nvar _slicedTo Array = fu nction () { function sliceIter ator(arr, i) { var _ arr = []; var _n = t rue; var _ d = false; var _e = undefined; try { for (var _i = arr[Symbo l.iterator ](), _s; ! (_n = (_s = _i.next( )).done); _n = true) { _arr.pu sh(_s.valu e); if (i && _arr.le ngth === i ) break; } } catch ( err) { _d = true; _e = err; } finally { try { if ( !_n && _i[ \"return\" ]) _i[\"re turn\"](); } finally { if (_d) throw _e; } } retur n _arr; } return fun ction (arr , i) { if (Array.isA rray(arr)) { return arr; } els e if (Symb ol.iterato r in Objec t(arr)) { return sli ceIterator (arr, i); } else { t hrow new T ypeError(\ "Invalid a ttempt to destructur e non-iter able insta nce\"); } }; }();\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _exte nd2 = __we bpack_requ ire__(3);\ n\nvar _ex tend3 = _i nteropRequ ireDefault (_extend2) ;\n\nvar _ quillDelta = __webpa ck_require __(2);\n\n var _quill Delta2 = _ interopReq uireDefaul t(_quillDe lta);\n\nv ar _parchm ent = __we bpack_requ ire__(0);\ n\nvar _pa rchment2 = _interopR equireDefa ult(_parch ment);\n\n var _quill = __webpa ck_require __(5);\n\n var _quill 2 = _inter opRequireD efault(_qu ill);\n\nv ar _logger = __webpa ck_require __(10);\n\ nvar _logg er2 = _int eropRequir eDefault(_ logger);\n \nvar _mod ule = __we bpack_requ ire__(9);\ n\nvar _mo dule2 = _i nteropRequ ireDefault (_module); \n\nvar _a lign = __w ebpack_req uire__(36) ;\n\nvar _ background = __webpa ck_require __(37);\n\ nvar _code = __webpa ck_require __(13);\n\ nvar _code 2 = _inter opRequireD efault(_co de);\n\nva r _color = __webpack _require__ (26);\n\nv ar _direct ion = __we bpack_requ ire__(38); \n\nvar _f ont = __we bpack_requ ire__(39); \n\nvar _s ize = __we bpack_requ ire__(40); \n\nfuncti on _intero pRequireDe fault(obj) { return obj && obj .__esModul e ? obj : { default: obj }; }\ n\nfunctio n _defineP roperty(ob j, key, va lue) { if (key in ob j) { Objec t.definePr operty(obj , key, { v alue: valu e, enumera ble: true, configura ble: true, writable: true }); } else { o bj[key] = value; } r eturn obj; }\n\nfunc tion _clas sCallCheck (instance, Construct or) { if ( !(instance instanceo f Construc tor)) { th row new Ty peError(\" Cannot cal l a class as a funct ion\"); } }\n\nfunct ion _possi bleConstru ctorReturn (self, cal l) { if (! self) { th row new Re ferenceErr or(\"this hasn't bee n initiali sed - supe r() hasn't been call ed\"); } r eturn call && (typeo f call === \"object\ " || typeo f call === \"functio n\") ? cal l : self; }\n\nfunct ion _inher its(subCla ss, superC lass) { if (typeof s uperClass !== \"func tion\" && superClass !== null) { throw n ew TypeErr or(\"Super expressio n must eit her be nul l or a fun ction, not \" + type of superCl ass); } su bClass.pro totype = O bject.crea te(superCl ass && sup erClass.pr ototype, { construct or: { valu e: subClas s, enumera ble: false , writable : true, co nfigurable : true } } ); if (sup erClass) O bject.setP rototypeOf ? Object. setPrototy peOf(subCl ass, super Class) : s ubClass.__ proto__ = superClass ; }\n\nvar debug = ( 0, _logger 2.default) ('quill:cl ipboard'); \n\nvar DO M_KEY = '_ _ql-matche r';\n\nvar CLIPBOARD _CONFIG = [[Node.TEX T_NODE, ma tchText], [Node.TEXT _NODE, mat chNewline] , ['br', m atchBreak] , [Node.EL EMENT_NODE , matchNew line], [No de.ELEMENT _NODE, mat chBlot], [ Node.ELEME NT_NODE, m atchSpacin g], [Node. ELEMENT_NO DE, matchA ttributor] , [Node.EL EMENT_NODE , matchSty les], ['li ', matchIn dent], ['b ', matchAl ias.bind(m atchAlias, 'bold')], ['i', mat chAlias.bi nd(matchAl ias, 'ital ic')], ['s tyle', mat chIgnore]] ;\n\nvar A TTRIBUTE_A TTRIBUTORS = [_align .AlignAttr ibute, _di rection.Di rectionAtt ribute].re duce(funct ion (memo, attr) {\n memo[att r.keyName] = attr;\n return m emo;\n}, { });\n\nvar STYLE_ATT RIBUTORS = [_align.A lignStyle, _backgrou nd.Backgro undStyle, _color.Col orStyle, _ direction. DirectionS tyle, _fon t.FontStyl e, _size.S izeStyle]. reduce(fun ction (mem o, attr) { \n memo[a ttr.keyNam e] = attr; \n return memo;\n}, {});\n\nv ar Clipboa rd = funct ion (_Modu le) {\n _ inherits(C lipboard, _Module);\ n\n funct ion Clipbo ard(quill, options) {\n _cl assCallChe ck(this, C lipboard); \n\n va r _this = _possibleC onstructor Return(thi s, (Clipbo ard.__prot o__ || Obj ect.getPro totypeOf(C lipboard)) .call(this , quill, o ptions));\ n\n _th is.quill.r oot.addEve ntListener ('paste', _this.onPa ste.bind(_ this));\n _this.c ontainer = _this.qui ll.addCont ainer('ql- clipboard' );\n _t his.contai ner.setAtt ribute('co ntentedita ble', true );\n _t his.contai ner.setAtt ribute('ta bindex', - 1);\n _ this.match ers = [];\ n CLIPB OARD_CONFI G.concat(_ this.optio ns.matcher s).forEach (function (_ref) {\n var _ref2 = _s licedToArr ay(_ref, 2 ),\n select or = _ref2 [0],\n matc her = _ref 2[1];\n\n if (! options.ma tchVisual && matcher === match Spacing) r eturn;\n _this. addMatcher (selector, matcher); \n });\ n retur n _this;\n }\n\n _ createClas s(Clipboar d, [{\n key: 'add Matcher',\ n value : function addMatche r(selector , matcher) {\n this.match ers.push([ selector, matcher]); \n }\n }, {\n key: 'con vert',\n value: f unction co nvert(html ) {\n if (typeo f html === 'string') {\n this.con tainer.inn erHTML = h tml.replac e(/\\>\\r? \\n +\\</g , '><'); / / Remove s paces betw een tags\n re turn this. convert(); \n }\ n var formats = this.quil l.getForma t(this.qui ll.selecti on.savedRa nge.index) ;\n i f (formats [_code2.de fault.blot Name]) {\n va r text = t his.contai ner.innerT ext;\n this.c ontainer.i nnerHTML = '';\n return new _quil lDelta2.de fault().in sert(text, _definePr operty({}, _code2.de fault.blot Name, form ats[_code2 .default.b lotName])) ;\n } \n\n var _prepa reMatching = this.pr epareMatch ing(),\n _p repareMatc hing2 = _s licedToArr ay(_prepar eMatching, 2),\n elem entMatcher s = _prepa reMatching 2[0],\n tex tMatchers = _prepare Matching2[ 1];\n\n var del ta = trave rse(this.c ontainer, elementMat chers, tex tMatchers) ;\n / / Remove t railing ne wline\n if (del taEndsWith (delta, '\ \n') && de lta.ops[de lta.ops.le ngth - 1]. attributes == null) {\n delta = d elta.compo se(new _qu illDelta2. default(). retain(del ta.length( ) - 1).del ete(1));\n }\n debug .log('conv ert', this .container .innerHTML , delta);\ n thi s.containe r.innerHTM L = '';\n retur n delta;\n }\n } , {\n k ey: 'dange rouslyPast eHTML',\n value: function d angerously PasteHTML( index, htm l) {\n var sour ce = argum ents.lengt h > 2 && a rguments[2 ] !== unde fined ? ar guments[2] : _quill2 .default.s ources.API ;\n\n if (typeo f index == = 'string' ) {\n return this.quill .setConten ts(this.co nvert(inde x), html); \n } else {\n var paste = th is.convert (html);\n ret urn this.q uill.updat eContents( new _quill Delta2.def ault().ret ain(index) .concat(pa ste), sour ce);\n }\n } \n }, {\n key: ' onPaste',\ n value : function onPaste(e ) {\n var _this 2 = this;\ n\n i f (e.defau ltPrevente d || !this .quill.isE nabled()) return;\n var r ange = thi s.quill.ge tSelection ();\n var delta = new _qu illDelta2. default(). retain(ran ge.index); \n va r scrollTo p = this.q uill.scrol lingContai ner.scroll Top;\n this.con tainer.foc us();\n this.qu ill.select ion.update (_quill2.d efault.sou rces.SILEN T);\n setTimeou t(function () {\n delta = delta.c oncat(_thi s2.convert ()).delete (range.len gth);\n _this 2.quill.up dateConten ts(delta, _quill2.de fault.sour ces.USER); \n // range.l ength cont ributes to delta.len gth()\n _this 2.quill.se tSelection (delta.len gth() - ra nge.length , _quill2. default.so urces.SILE NT);\n _this2 .quill.scr ollingCont ainer.scro llTop = sc rollTop;\n _t his2.quill .focus();\ n }, 1);\n } \n }, {\n key: ' prepareMat ching',\n value: function p repareMatc hing() {\n var _this3 = t his;\n\n var el ementMatch ers = [],\ n textMatch ers = [];\ n thi s.matchers .forEach(f unction (p air) {\n var _pair = _s licedToArr ay(pair, 2 ),\n sele ctor = _pa ir[0],\n matcher = _pair[1];\ n\n switch (s elector) { \n case Nod e.TEXT_NOD E:\n text Matchers.p ush(matche r);\n bre ak;\n case Node.ELEME NT_NODE:\n elementM atchers.pu sh(matcher );\n brea k;\n defaul t:\n [].f orEach.cal l(_this3.c ontainer.q uerySelect orAll(sele ctor), fun ction (nod e) {\n // TODO us e weakmap\ n node[ DOM_KEY] = node[DOM_ KEY] || [] ;\n nod e[DOM_KEY] .push(matc her);\n } );\n brea k;\n }\n });\n return [ elementMat chers, tex tMatchers] ;\n }\n }]);\n\n return C lipboard;\ n}(_module 2.default) ;\n\nClipb oard.DEFAU LTS = {\n matchers: [],\n ma tchVisual: true\n};\ n\nfunctio n applyFor mat(delta, format, v alue) {\n if ((type of format === 'undef ined' ? 'u ndefined' : _typeof( format)) = == 'object ') {\n return Obj ect.keys(f ormat).red uce(functi on (delta, key) {\n retur n applyFor mat(delta, key, form at[key]);\ n }, de lta);\n } else {\n return delta.redu ce(functio n (delta, op) {\n if (op. attributes && op.att ributes[fo rmat]) {\n re turn delta .push(op); \n } else {\n retu rn delta.i nsert(op.i nsert, (0, _extend3. default)({ }, _define Property({ }, format, value), o p.attribut es));\n }\n }, new _qu illDelta2. default()) ;\n }\n}\ n\nfunctio n computeS tyle(node) {\n if ( node.nodeT ype !== No de.ELEMENT _NODE) ret urn {};\n var DOM_K EY = '__ql -computed- style';\n return no de[DOM_KEY ] || (node [DOM_KEY] = window.g etComputed Style(node ));\n}\n\n function d eltaEndsWi th(delta, text) {\n var endTe xt = \"\"; \n for (v ar i = del ta.ops.len gth - 1; i >= 0 && e ndText.len gth < text .length; - -i) {\n var op = delta.ops[ i];\n i f (typeof op.insert !== 'strin g') break; \n endT ext = op.i nsert + en dText;\n }\n retur n endText. slice(-1 * text.leng th) === te xt;\n}\n\n function i sLine(node ) {\n if (node.chil dNodes.len gth === 0) return fa lse; // Ex clude embe d blocks\n var styl e = comput eStyle(nod e);\n ret urn ['bloc k', 'list- item'].ind exOf(style .display) > -1;\n}\n \nfunction traverse( node, elem entMatcher s, textMat chers) {\n // Post- order\n i f (node.no deType === node.TEXT _NODE) {\n return textMatch ers.reduce (function (delta, ma tcher) {\n retu rn matcher (node, del ta);\n }, new _qu illDelta2. default()) ;\n } els e if (node .nodeType === node.E LEMENT_NOD E) {\n return []. reduce.cal l(node.chi ldNodes || [], funct ion (delta , childNod e) {\n var chil drenDelta = traverse (childNode , elementM atchers, t extMatcher s);\n if (child Node.nodeT ype === no de.ELEMENT _NODE) {\n ch ildrenDelt a = elemen tMatchers. reduce(fun ction (chi ldrenDelta , matcher) {\n return matcher(c hildNode, childrenDe lta);\n }, ch ildrenDelt a);\n childre nDelta = ( childNode[ DOM_KEY] | | []).redu ce(functio n (childre nDelta, ma tcher) {\n return mat cher(child Node, chil drenDelta) ;\n }, childr enDelta);\ n }\n retu rn delta.c oncat(chil drenDelta) ;\n }, new _quill Delta2.def ault());\n } else { \n retu rn new _qu illDelta2. default(); \n }\n}\n \nfunction matchAlia s(format, node, delt a) {\n re turn apply Format(del ta, format , true);\n }\n\nfunct ion matchA ttributor( node, delt a) {\n va r attribut es = _parc hment2.def ault.Attri butor.Attr ibute.keys (node);\n var class es = _parc hment2.def ault.Attri butor.Clas s.keys(nod e);\n var styles = _parchment 2.default. Attributor .Style.key s(node);\n var form ats = {};\ n attribu tes.concat (classes). concat(sty les).forEa ch(functio n (name) { \n var attr = _pa rchment2.d efault.que ry(name, _ parchment2 .default.S cope.ATTRI BUTE);\n if (attr != null) {\n f ormats[att r.attrName ] = attr.v alue(node) ;\n i f (formats [attr.attr Name]) ret urn;\n }\n att r = ATTRIB UTE_ATTRIB UTORS[name ];\n if (attr != null && at tr.attrNam e === name ) {\n formats[a ttr.attrNa me] = attr .value(nod e) || unde fined;\n }\n a ttr = STYL E_ATTRIBUT ORS[name]; \n if ( attr != nu ll && attr .attrName === name) {\n a ttr = STYL E_ATTRIBUT ORS[name]; \n fo rmats[attr .attrName] = attr.va lue(node) || undefin ed;\n } \n });\n if (Objec t.keys(for mats).leng th > 0) {\ n delta = applyFo rmat(delta , formats) ;\n }\n return del ta;\n}\n\n function m atchBlot(n ode, delta ) {\n var match = _ parchment2 .default.q uery(node) ;\n if (m atch == nu ll) return delta;\n if (match .prototype instanceo f _parchme nt2.defaul t.Embed) { \n var embed = {} ;\n var value = m atch.value (node);\n if (val ue != null ) {\n embed[mat ch.blotNam e] = value ;\n d elta = new _quillDel ta2.defaul t().insert (embed, ma tch.format s(node));\ n }\n } else if (typeof ma tch.format s === 'fun ction') {\ n delta = applyFo rmat(delta , match.bl otName, ma tch.format s(node));\ n }\n re turn delta ;\n}\n\nfu nction mat chBreak(no de, delta) {\n if ( !deltaEnds With(delta , '\\n')) {\n del ta.insert( '\\n');\n }\n retu rn delta;\ n}\n\nfunc tion match Ignore() { \n return new _quil lDelta2.de fault();\n }\n\nfunct ion matchI ndent(node , delta) { \n var ma tch = _par chment2.de fault.quer y(node);\n if (matc h == null || match.b lotName != = 'list-it em' || !de ltaEndsWit h(delta, ' \\n')) {\n return delta;\n }\n var indent = - 1,\n parent = n ode.parent Node;\n w hile (!par ent.classL ist.contai ns('ql-cli pboard')) {\n if ((_parchme nt2.defaul t.query(pa rent) || { }).blotNam e === 'lis t') {\n indent += 1;\n }\n pa rent = par ent.parent Node;\n } \n if (in dent <= 0) return de lta;\n re turn delta .compose(n ew _quillD elta2.defa ult().reta in(delta.l ength() - 1).retain( 1, { inden t: indent }));\n}\n\ nfunction matchNewli ne(node, d elta) {\n if (!delt aEndsWith( delta, '\\ n')) {\n if (isLi ne(node) | | delta.le ngth() > 0 && node.n extSibling && isLine (node.next Sibling)) {\n d elta.inser t('\\n');\ n }\n }\n retur n delta;\n }\n\nfunct ion matchS pacing(nod e, delta) {\n if (i sLine(node ) && node. nextElemen tSibling ! = null && !deltaEnds With(delta , '\\n\\n' )) {\n var nodeHe ight = nod e.offsetHe ight + par seFloat(co mputeStyle (node).mar ginTop) + parseFloat (computeSt yle(node). marginBott om);\n if (node.n extElement Sibling.of fsetTop > node.offse tTop + nod eHeight * 1.5) {\n delta. insert('\\ n');\n }\n }\n return del ta;\n}\n\n function m atchStyles (node, del ta) {\n v ar formats = {};\n var style = node.sty le || {};\ n if (sty le.fontSty le && comp uteStyle(n ode).fontS tyle === ' italic') { \n form ats.italic = true;\n }\n if (style.fon tWeight && (computeS tyle(node) .fontWeigh t.startsWi th('bold') || parseI nt(compute Style(node ).fontWeig ht) >= 700 )) {\n formats.bo ld = true; \n }\n i f (Object. keys(forma ts).length > 0) {\n delta = applyForm at(delta, formats);\ n }\n if (parseFlo at(style.t extIndent || 0) > 0) {\n // Could be 0.5in\n delta = n ew _quillD elta2.defa ult().inse rt('\\t'). concat(del ta);\n }\ n return delta;\n}\ n\nfunctio n matchTex t(node, de lta) {\n var text = node.data ;\n // Wo rd represe nts empty line with <o:p>  ;</o:p>\n if (node. parentNode .tagName = == 'O:P') {\n ret urn delta. insert(tex t.trim()); \n }\n i f (text.tr im().lengt h === 0 && node.pare ntNode.cla ssList.con tains('ql- clipboard' )) {\n return del ta;\n }\n if (!com puteStyle( node.paren tNode).whi teSpace.st artsWith(' pre')) {\n // esl int-disabl e-next-lin e func-sty le\n va r replacer = functio n replacer (collapse, match) {\ n mat ch = match .replace(/ [^\\u00a0] /g, ''); / / \\u00a0 is nbsp;\n retu rn match.l ength < 1 && collaps e ? ' ' : match;\n };\n text = tex t.replace( /\\r\\n/g, ' ').repl ace(/\\n/g , ' ');\n text = text.repla ce(/\\s\\s +/g, repla cer.bind(r eplacer, t rue)); // collapse w hitespace\ n if (n ode.previo usSibling == null && isLine(no de.parentN ode) || no de.previou sSibling ! = null && isLine(nod e.previous Sibling)) {\n t ext = text .replace(/ ^\\s+/, re placer.bin d(replacer , false)); \n }\n if (nod e.nextSibl ing == nul l && isLin e(node.par entNode) | | node.nex tSibling ! = null && isLine(nod e.nextSibl ing)) {\n text = text.rep lace(/\\s+ $/, replac er.bind(re placer, fa lse));\n }\n }\n return d elta.inser t(text);\n }\n\nexpor ts.default = Clipboa rd;\nexpor ts.matchAt tributor = matchAttr ibutor;\ne xports.mat chBlot = m atchBlot;\ nexports.m atchNewlin e = matchN ewline;\ne xports.mat chSpacing = matchSpa cing;\nexp orts.match Text = mat chText;\n\ n/***/ }), \n/* 56 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \n\nvar _c reateClass = functio n () { fun ction defi neProperti es(target, props) { for (var i = 0; i < props.leng th; i++) { var descr iptor = pr ops[i]; de scriptor.e numerable = descript or.enumera ble || fal se; descri ptor.confi gurable = true; if ( \"value\" in descrip tor) descr iptor.writ able = tru e; Object. defineProp erty(targe t, descrip tor.key, d escriptor) ; } } retu rn functio n (Constru ctor, prot oProps, st aticProps) { if (pro toProps) d efinePrope rties(Cons tructor.pr ototype, p rotoProps) ; if (stat icProps) d efinePrope rties(Cons tructor, s taticProps ); return Constructo r; }; }(); \n\nvar _g et = funct ion get(ob ject, prop erty, rece iver) { if (object = == null) o bject = Fu nction.pro totype; va r desc = O bject.getO wnProperty Descriptor (object, p roperty); if (desc = == undefin ed) { var parent = O bject.getP rototypeOf (object); if (parent === null) { return undefined; } else { return get (parent, p roperty, r eceiver); } } else i f (\"value \" in desc ) { return desc.valu e; } else { var gett er = desc. get; if (g etter === undefined) { return undefined; } return getter.cal l(receiver ); } };\n\ nvar _inli ne = __web pack_requi re__(6);\n \nvar _inl ine2 = _in teropRequi reDefault( _inline);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar Bol d = functi on (_Inlin e) {\n _i nherits(Bo ld, _Inlin e);\n\n f unction Bo ld() {\n _classCa llCheck(th is, Bold); \n\n re turn _poss ibleConstr uctorRetur n(this, (B old.__prot o__ || Obj ect.getPro totypeOf(B old)).appl y(this, ar guments)); \n }\n\n _createCl ass(Bold, [{\n ke y: 'optimi ze',\n value: fun ction opti mize(conte xt) {\n _get(Bo ld.prototy pe.__proto __ || Obje ct.getProt otypeOf(Bo ld.prototy pe), 'opti mize', thi s).call(th is, contex t);\n if (this. domNode.ta gName !== this.stati cs.tagName [0]) {\n this .replaceWi th(this.st atics.blot Name);\n }\n }\n }], [{\n ke y: 'create ',\n va lue: funct ion create () {\n return _ get(Bold._ _proto__ | | Object.g etPrototyp eOf(Bold), 'create', this).cal l(this);\n }\n } , {\n k ey: 'forma ts',\n value: fun ction form ats() {\n retur n true;\n }\n }] );\n\n re turn Bold; \n}(_inlin e2.default );\n\nBold .blotName = 'bold';\ nBold.tagN ame = ['ST RONG', 'B' ];\n\nexpo rts.defaul t = Bold;\ n\n/***/ } ),\n/* 57 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\nexport s.addContr ols = expo rts.defaul t = undefi ned;\n\nva r _slicedT oArray = f unction () { functio n sliceIte rator(arr, i) { var _arr = []; var _n = true; var _d = false ; var _e = undefined ; try { fo r (var _i = arr[Symb ol.iterato r](), _s; !(_n = (_s = _i.next ()).done); _n = true ) { _arr.p ush(_s.val ue); if (i && _arr.l ength === i) break; } } catch (err) { _d = true; _ e = err; } finally { try { if (!_n && _i [\"return\ "]) _i[\"r eturn\"]() ; } finall y { if (_d ) throw _e ; } } retu rn _arr; } return fu nction (ar r, i) { if (Array.is Array(arr) ) { return arr; } el se if (Sym bol.iterat or in Obje ct(arr)) { return sl iceIterato r(arr, i); } else { throw new TypeError( \"Invalid attempt to destructu re non-ite rable inst ance\"); } }; }();\n \nvar _cre ateClass = function () { funct ion define Properties (target, p rops) { fo r (var i = 0; i < pr ops.length ; i++) { v ar descrip tor = prop s[i]; desc riptor.enu merable = descriptor .enumerabl e || false ; descript or.configu rable = tr ue; if (\" value\" in descripto r) descrip tor.writab le = true; Object.de fineProper ty(target, descripto r.key, des criptor); } } return function (Construct or, protoP rops, stat icProps) { if (proto Props) def inePropert ies(Constr uctor.prot otype, pro toProps); if (static Props) def inePropert ies(Constr uctor, sta ticProps); return Co nstructor; }; }();\n \nvar _qui llDelta = __webpack_ require__( 2);\n\nvar _quillDel ta2 = _int eropRequir eDefault(_ quillDelta );\n\nvar _parchment = __webpa ck_require __(0);\n\n var _parch ment2 = _i nteropRequ ireDefault (_parchmen t);\n\nvar _quill = __webpack_ require__( 5);\n\nvar _quill2 = _interopR equireDefa ult(_quill );\n\nvar _logger = __webpack_ require__( 10);\n\nva r _logger2 = _intero pRequireDe fault(_log ger);\n\nv ar _module = __webpa ck_require __(9);\n\n var _modul e2 = _inte ropRequire Default(_m odule);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ defineProp erty(obj, key, value ) { if (ke y in obj) { Object.d efinePrope rty(obj, k ey, { valu e: value, enumerable : true, co nfigurable : true, wr itable: tr ue }); } e lse { obj[ key] = val ue; } retu rn obj; }\ n\nfunctio n _classCa llCheck(in stance, Co nstructor) { if (!(i nstance in stanceof C onstructor )) { throw new TypeE rror(\"Can not call a class as a function \"); } }\n \nfunction _possible Constructo rReturn(se lf, call) { if (!sel f) { throw new Refer enceError( \"this has n't been i nitialised - super() hasn't be en called\ "); } retu rn call && (typeof c all === \" object\" | | typeof c all === \" function\" ) ? call : self; }\n \nfunction _inherits (subClass, superClas s) { if (t ypeof supe rClass !== \"functio n\" && sup erClass != = null) { throw new TypeError( \"Super ex pression m ust either be null o r a functi on, not \" + typeof superClass ); } subCl ass.protot ype = Obje ct.create( superClass && superC lass.proto type, { co nstructor: { value: subClass, enumerable : false, w ritable: t rue, confi gurable: t rue } }); if (superC lass) Obje ct.setProt otypeOf ? Object.set PrototypeO f(subClass , superCla ss) : subC lass.__pro to__ = sup erClass; } \n\nvar de bug = (0, _logger2.d efault)('q uill:toolb ar');\n\nv ar Toolbar = functio n (_Module ) {\n _in herits(Too lbar, _Mod ule);\n\n function Toolbar(qu ill, optio ns) {\n _classCal lCheck(thi s, Toolbar );\n\n var _this = _possibl eConstruct orReturn(t his, (Tool bar.__prot o__ || Obj ect.getPro totypeOf(T oolbar)).c all(this, quill, opt ions));\n\ n if (A rray.isArr ay(_this.o ptions.con tainer)) { \n va r containe r = docume nt.createE lement('di v');\n addContr ols(contai ner, _this .options.c ontainer); \n qu ill.contai ner.parent Node.inser tBefore(co ntainer, q uill.conta iner);\n _this. container = containe r;\n } else if (t ypeof _thi s.options. container === 'strin g') {\n _this.c ontainer = document. querySelec tor(_this. options.co ntainer);\ n } els e {\n _this.con tainer = _ this.optio ns.contain er;\n } \n if ( !(_this.co ntainer in stanceof H TMLElement )) {\n var _ret ;\n\n return _r et = debug .error('Co ntainer re quired for toolbar', _this.opt ions), _po ssibleCons tructorRet urn(_this, _ret);\n }\n _this.cont ainer.clas sList.add( 'ql-toolba r');\n _this.cont rols = []; \n _thi s.handlers = {};\n Object.k eys(_this. options.ha ndlers).fo rEach(func tion (form at) {\n _this.a ddHandler( format, _t his.option s.handlers [format]); \n });\ n [].fo rEach.call (_this.con tainer.que rySelector All('butto n, select' ), functio n (input) {\n _ this.attac h(input);\ n });\n _this. quill.on(_ quill2.def ault.event s.EDITOR_C HANGE, fun ction (typ e, range) {\n i f (type == = _quill2. default.ev ents.SELEC TION_CHANG E) {\n _this. update(ran ge);\n }\n } );\n _t his.quill. on(_quill2 .default.e vents.SCRO LL_OPTIMIZ E, functio n () {\n var _t his$quill$ selection = _this.qu ill.select ion.getRan ge(),\n _th is$quill$s election2 = _slicedT oArray(_th is$quill$s election, 1),\n range = _this$q uill$selec tion2[0]; // quill.g etSelectio n triggers update\n\ n\n _ this.updat e(range);\ n });\n return _this;\n }\n\n _c reateClass (Toolbar, [{\n ke y: 'addHan dler',\n value: f unction ad dHandler(f ormat, han dler) {\n this. handlers[f ormat] = h andler;\n }\n }, {\n ke y: 'attach ',\n va lue: funct ion attach (input) {\ n var _this2 = this;\n\n var f ormat = [] .find.call (input.cla ssList, fu nction (cl assName) { \n return cla ssName.ind exOf('ql-' ) === 0;\n });\ n if (!format) return;\n forma t = format .slice('ql -'.length) ;\n i f (input.t agName === 'BUTTON') {\n input.se tAttribute ('type', ' button');\ n }\n if ( this.handl ers[format ] == null) {\n if (this .quill.scr oll.whitel ist != nul l && this. quill.scro ll.whiteli st[format] == null) {\n debug.w arn('ignor ing attach ing to dis abled form at', forma t, input); \n return;\ n } \n if (_parch ment2.defa ult.query( format) == null) {\n debug.warn ('ignoring attaching to nonexi stent form at', forma t, input); \n return;\ n } \n }\ n var eventName = input.t agName === 'SELECT' ? 'change' : 'click' ;\n i nput.addEv entListene r(eventNam e, functio n (e) {\n var value = v oid 0;\n if ( input.tagN ame === 'S ELECT') {\ n if (input .selectedI ndex < 0) return;\n v ar selecte d = input. options[in put.select edIndex];\ n if (selec ted.hasAtt ribute('se lected')) {\n value = false;\ n } else {\ n value = selected. value || f alse;\n }\n } else {\n if (input.cl assList.co ntains('ql -active')) {\n valu e = false; \n } else { \n value = input.va lue || !in put.hasAtt ribute('va lue');\n }\ n e.prevent Default(); \n }\n _this2.qu ill.focus( );\n\n var _q uill$selec tion$getR = _this2.q uill.selec tion.getRa nge(),\n _quill$sel ection$get R2 = _slic edToArray( _quill$sel ection$get R, 1),\n range = _q uill$selec tion$getR2 [0];\n\n if ( _this2.han dlers[form at] != nul l) {\n _thi s2.handler s[format]. call(_this 2, value); \n } else if (_parchmen t2.default .query(for mat).proto type insta nceof _par chment2.de fault.Embe d) {\n valu e = prompt ('Enter ' + format); \n if (!val ue) return ;\n _this2. quill.upda teContents (new _quil lDelta2.de fault().re tain(range .index).de lete(range .length).i nsert(_def inePropert y({}, form at, value) ), _quill2 .default.s ources.USE R);\n } else {\n _this2. quill.form at(format, value, _q uill2.defa ult.source s.USER);\n }\ n _ this2.upda te(range); \n }) ;\n / / TODO use weakmap\n this .controls. push([form at, input] );\n }\ n }, {\n key: 'u pdate',\n value: function u pdate(rang e) {\n var form ats = rang e == null ? {} : thi s.quill.ge tFormat(ra nge);\n this.co ntrols.for Each(funct ion (pair) {\n var _pai r = _slice dToArray(p air, 2),\n format = _pair[0], \n input = _pair[1] ;\n\n if (inp ut.tagName === 'SELE CT') {\n va r option = void 0;\n if (range == null) { \n option = null;\n } else if (formats[f ormat] == null) {\n option = input.quer ySelector( 'option[se lected]'); \n } else i f (!Array. isArray(fo rmats[form at])) {\n var value = formats [format];\ n if (typ eof value === 'strin g') {\n value = v alue.repla ce(/\\\"/g , '\\\\\"' );\n }\n option = input.quer ySelector( 'option[va lue=\"' + value + '\ "]');\n }\n if (option == null) {\n input .value = ' '; // TODO make conf igurable?\ n input.s electedInd ex = -1;\n } else {\n option.s elected = true;\n }\n } else {\n if (range == null) {\n input.cl assList.re move('ql-a ctive');\n } else if (input.has Attribute( 'value')) {\n // bo th being n ull should match (de fault valu es)\n // '1' should match wit h 1 (heade rs)\n var isActive = formats[ format] == = input.ge tAttribute ('value') || formats [format] ! = null && formats[fo rmat].toSt ring() === input.get Attribute( 'value') | | formats[ format] == null && ! input.getA ttribute(' value');\n input.cl assList.to ggle('ql-a ctive', is Active);\n } else {\n input.cl assList.to ggle('ql-a ctive', fo rmats[form at] != nul l);\n }\n }\n });\n }\n } ]);\n\n r eturn Tool bar;\n}(_m odule2.def ault);\n\n Toolbar.DE FAULTS = { };\n\nfunc tion addBu tton(conta iner, form at, value) {\n var input = do cument.cre ateElement ('button') ;\n input .setAttrib ute('type' , 'button' );\n inpu t.classLis t.add('ql- ' + format );\n if ( value != n ull) {\n input.va lue = valu e;\n }\n container .appendChi ld(input); \n}\n\nfun ction addC ontrols(co ntainer, g roups) {\n if (!Arr ay.isArray (groups[0] )) {\n groups = [ groups];\n }\n gro ups.forEac h(function (controls ) {\n v ar group = document. createElem ent('span' );\n gr oup.classL ist.add('q l-formats' );\n co ntrols.for Each(funct ion (contr ol) {\n if (typ eof contro l === 'str ing') {\n add Button(gro up, contro l);\n } else {\ n v ar format = Object.k eys(contro l)[0];\n var value = co ntrol[form at];\n if (Ar ray.isArra y(value)) {\n addSele ct(group, format, va lue);\n } els e {\n addBu tton(group , format, value);\n }\n }\n });\n containe r.appendCh ild(group) ;\n });\n }\n\nfunct ion addSel ect(contai ner, forma t, values) {\n var input = do cument.cre ateElement ('select') ;\n input .classList .add('ql-' + format) ;\n value s.forEach( function ( value) {\n var op tion = doc ument.crea teElement( 'option'); \n if ( value !== false) {\n opti on.setAttr ibute('val ue', value );\n } else {\n option .setAttrib ute('selec ted', 'sel ected');\n }\n input.app endChild(o ption);\n });\n co ntainer.ap pendChild( input);\n} \n\nToolba r.DEFAULTS = {\n co ntainer: n ull,\n ha ndlers: {\ n clean : function clean() { \n va r _this3 = this;\n\n var range = th is.quill.g etSelectio n();\n if (rang e == null) return;\n if ( range.leng th == 0) { \n var format s = this.q uill.getFo rmat();\n Obj ect.keys(f ormats).fo rEach(func tion (name ) {\n // Cl ean functi onality in existing apps only clean inli ne formats \n if (_par chment2.de fault.quer y(name, _p archment2. default.Sc ope.INLINE ) != null) {\n _thi s3.quill.f ormat(name , false);\ n }\n });\n } else {\n this.quil l.removeFo rmat(range , _quill2. default.so urces.USER );\n }\n },\ n direc tion: func tion direc tion(value ) {\n var align = this.qu ill.getFor mat()['ali gn'];\n if (val ue === 'rt l' && alig n == null) {\n this.qui ll.format( 'align', ' right', _q uill2.defa ult.source s.USER);\n } el se if (!va lue && ali gn === 'ri ght') {\n thi s.quill.fo rmat('alig n', false, _quill2.d efault.sou rces.USER) ;\n } \n th is.quill.f ormat('dir ection', v alue, _qui ll2.defaul t.sources. USER);\n },\n indent: fu nction ind ent(value) {\n var range = this.qui ll.getSele ction();\n var formats = this.quill .getFormat (range);\n var indent = p arseInt(fo rmats.inde nt || 0);\ n if (value === '+1' || v alue === ' -1') {\n var modifier = value === '+1' ? 1 : -1;\n if (f ormats.dir ection === 'rtl') mo difier *= -1;\n this.qu ill.format ('indent', indent + modifier, _quill2.de fault.sour ces.USER); \n }\ n },\n link: f unction li nk(value) {\n i f (value = == true) { \n value = pr ompt('Ente r link URL :');\n }\n this.quil l.format(' link', val ue, _quill 2.default. sources.US ER);\n },\n li st: functi on list(va lue) {\n var ra nge = this .quill.get Selection( );\n var format s = this.q uill.getFo rmat(range );\n if (value === 'check ') {\n if (fo rmats['lis t'] === 'c hecked' || formats[' list'] === 'unchecke d') {\n thi s.quill.fo rmat('list ', false, _quill2.de fault.sour ces.USER); \n } else {\n this.quill .format('l ist', 'unc hecked', _ quill2.def ault.sourc es.USER);\ n } \n } else {\n this .quill.for mat('list' , value, _ quill2.def ault.sourc es.USER);\ n }\n }\n } \n};\n\nex ports.defa ult = Tool bar;\nexpo rts.addCon trols = ad dControls; \n\n/***/ }),\n/* 58 */\n/***/ (function (module, e xports) {\ n\nmodule. exports = \"<svg vie wbox=\\\"0 0 18 18\\ \"> <polyl ine class= \\\"ql-eve n ql-strok e\\\" poin ts=\\\"5 7 3 9 5 11\ \\"></poly line> <pol yline clas s=\\\"ql-e ven ql-str oke\\\" po ints=\\\"1 3 7 15 9 1 3 11\\\">< /polyline> <line cla ss=ql-stro ke x1=10 x 2=8 y1=5 y 2=13></lin e> </svg>\ ";\n\n/*** / }),\n/* 59 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\n\nObj ect.define Property(e xports, \" __esModule \", {\n v alue: true \n});\n\nv ar _create Class = fu nction () { function definePro perties(ta rget, prop s) { for ( var i = 0; i < props .length; i ++) { var descriptor = props[i ]; descrip tor.enumer able = des criptor.en umerable | | false; d escriptor. configurab le = true; if (\"val ue\" in de scriptor) descriptor .writable = true; Ob ject.defin eProperty( target, de scriptor.k ey, descri ptor); } } return fu nction (Co nstructor, protoProp s, staticP rops) { if (protoPro ps) define Properties (Construct or.prototy pe, protoP rops); if (staticPro ps) define Properties (Construct or, static Props); re turn Const ructor; }; }();\n\nv ar _get = function g et(object, property, receiver) { if (obj ect === nu ll) object = Functio n.prototyp e; var des c = Object .getOwnPro pertyDescr iptor(obje ct, proper ty); if (d esc === un defined) { var paren t = Object .getProtot ypeOf(obje ct); if (p arent === null) { re turn undef ined; } el se { retur n get(pare nt, proper ty, receiv er); } } e lse if (\" value\" in desc) { r eturn desc .value; } else { var getter = desc.get; if (getter === undef ined) { re turn undef ined; } re turn gette r.call(rec eiver); } };\n\nvar _picker = __webpack_ require__( 28);\n\nva r _picker2 = _intero pRequireDe fault(_pic ker);\n\nf unction _i nteropRequ ireDefault (obj) { re turn obj & & obj.__es Module ? o bj : { def ault: obj }; }\n\nfu nction _cl assCallChe ck(instanc e, Constru ctor) { if (!(instan ce instanc eof Constr uctor)) { throw new TypeError( \"Cannot c all a clas s as a fun ction\"); } }\n\nfun ction _pos sibleConst ructorRetu rn(self, c all) { if (!self) { throw new ReferenceE rror(\"thi s hasn't b een initia lised - su per() hasn 't been ca lled\"); } return ca ll && (typ eof call = == \"objec t\" || typ eof call = == \"funct ion\") ? c all : self ; }\n\nfun ction _inh erits(subC lass, supe rClass) { if (typeof superClas s !== \"fu nction\" & & superCla ss !== nul l) { throw new TypeE rror(\"Sup er express ion must e ither be n ull or a f unction, n ot \" + ty peof super Class); } subClass.p rototype = Object.cr eate(super Class && s uperClass. prototype, { constru ctor: { va lue: subCl ass, enume rable: fal se, writab le: true, configurab le: true } }); if (s uperClass) Object.se tPrototype Of ? Objec t.setProto typeOf(sub Class, sup erClass) : subClass. __proto__ = superCla ss; }\n\nv ar ColorPi cker = fun ction (_Pi cker) {\n _inherits (ColorPick er, _Picke r);\n\n f unction Co lorPicker( select, la bel) {\n _classCa llCheck(th is, ColorP icker);\n\ n var _ this = _po ssibleCons tructorRet urn(this, (ColorPick er.__proto __ || Obje ct.getProt otypeOf(Co lorPicker) ).call(thi s, select) );\n\n _this.labe l.innerHTM L = label; \n _thi s.containe r.classLis t.add('ql- color-pick er');\n [].slice. call(_this .container .querySele ctorAll('. ql-picker- item'), 0, 7).forEac h(function (item) {\ n ite m.classLis t.add('ql- primary'); \n });\ n retur n _this;\n }\n\n _ createClas s(ColorPic ker, [{\n key: 'b uildItem', \n valu e: functio n buildIte m(option) {\n v ar item = _get(Color Picker.pro totype.__p roto__ || Object.get PrototypeO f(ColorPic ker.protot ype), 'bui ldItem', t his).call( this, opti on);\n item.sty le.backgro undColor = option.ge tAttribute ('value') || '';\n return item;\n }\n }, {\n key : 'selectI tem',\n value: fu nction sel ectItem(it em, trigge r) {\n _get(Col orPicker.p rototype._ _proto__ | | Object.g etPrototyp eOf(ColorP icker.prot otype), 's electItem' , this).ca ll(this, i tem, trigg er);\n var colo rLabel = t his.label. querySelec tor('.ql-c olor-label ');\n var value = item ? item.getAt tribute('d ata-value' ) || '' : '';\n if (color Label) {\n if (colorLab el.tagName === 'line ') {\n colo rLabel.sty le.stroke = value;\n } else {\n co lorLabel.s tyle.fill = value;\n }\ n }\n }\n } ]);\n\n r eturn Colo rPicker;\n }(_picker2 .default); \n\nexport s.default = ColorPic ker;\n\n/* **/ }),\n/ * 60 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _get = function get(objec t, propert y, receive r) { if (o bject === null) obje ct = Funct ion.protot ype; var d esc = Obje ct.getOwnP ropertyDes criptor(ob ject, prop erty); if (desc === undefined) { var par ent = Obje ct.getProt otypeOf(ob ject); if (parent == = null) { return und efined; } else { ret urn get(pa rent, prop erty, rece iver); } } else if ( \"value\" in desc) { return de sc.value; } else { v ar getter = desc.get ; if (gett er === und efined) { return und efined; } return get ter.call(r eceiver); } };\n\nva r _picker = __webpac k_require_ _(28);\n\n var _picke r2 = _inte ropRequire Default(_p icker);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ classCallC heck(insta nce, Const ructor) { if (!(inst ance insta nceof Cons tructor)) { throw ne w TypeErro r(\"Cannot call a cl ass as a f unction\") ; } }\n\nf unction _p ossibleCon structorRe turn(self, call) { i f (!self) { throw ne w Referenc eError(\"t his hasn't been init ialised - super() ha sn't been called\"); } return call && (t ypeof call === \"obj ect\" || t ypeof call === \"fun ction\") ? call : se lf; }\n\nf unction _i nherits(su bClass, su perClass) { if (type of superCl ass !== \" function\" && superC lass !== n ull) { thr ow new Typ eError(\"S uper expre ssion must either be null or a function, not \" + typeof sup erClass); } subClass .prototype = Object. create(sup erClass && superClas s.prototyp e, { const ructor: { value: sub Class, enu merable: f alse, writ able: true , configur able: true } }); if (superClas s) Object. setPrototy peOf ? Obj ect.setPro totypeOf(s ubClass, s uperClass) : subClas s.__proto_ _ = superC lass; }\n\ nvar IconP icker = fu nction (_P icker) {\n _inherit s(IconPick er, _Picke r);\n\n f unction Ic onPicker(s elect, ico ns) {\n _classCal lCheck(thi s, IconPic ker);\n\n var _th is = _poss ibleConstr uctorRetur n(this, (I conPicker. __proto__ || Object. getPrototy peOf(IconP icker)).ca ll(this, s elect));\n \n _thi s.containe r.classLis t.add('ql- icon-picke r');\n [].forEach .call(_thi s.containe r.querySel ectorAll(' .ql-picker -item'), f unction (i tem) {\n item.i nnerHTML = icons[ite m.getAttri bute('data -value') | | ''];\n });\n _this.def aultItem = _this.con tainer.que rySelector ('.ql-sele cted');\n _this.s electItem( _this.defa ultItem);\ n retur n _this;\n }\n\n _ createClas s(IconPick er, [{\n key: 'se lectItem', \n valu e: functio n selectIt em(item, t rigger) {\ n _ge t(IconPick er.prototy pe.__proto __ || Obje ct.getProt otypeOf(Ic onPicker.p rototype), 'selectIt em', this) .call(this , item, tr igger);\n item = item || this.defau ltItem;\n this. label.inne rHTML = it em.innerHT ML;\n } \n }]);\n \n return IconPicke r;\n}(_pic ker2.defau lt);\n\nex ports.defa ult = Icon Picker;\n\ n/***/ }), \n/* 61 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \n\nvar _c reateClass = functio n () { fun ction defi neProperti es(target, props) { for (var i = 0; i < props.leng th; i++) { var descr iptor = pr ops[i]; de scriptor.e numerable = descript or.enumera ble || fal se; descri ptor.confi gurable = true; if ( \"value\" in descrip tor) descr iptor.writ able = tru e; Object. defineProp erty(targe t, descrip tor.key, d escriptor) ; } } retu rn functio n (Constru ctor, prot oProps, st aticProps) { if (pro toProps) d efinePrope rties(Cons tructor.pr ototype, p rotoProps) ; if (stat icProps) d efinePrope rties(Cons tructor, s taticProps ); return Constructo r; }; }(); \n\nfuncti on _classC allCheck(i nstance, C onstructor ) { if (!( instance i nstanceof Constructo r)) { thro w new Type Error(\"Ca nnot call a class as a functio n\"); } }\ n\nvar Too ltip = fun ction () { \n functi on Tooltip (quill, bo undsContai ner) {\n var _thi s = this;\ n\n _cl assCallChe ck(this, T ooltip);\n \n this .quill = q uill;\n this.boun dsContaine r = bounds Container || documen t.body;\n this.ro ot = quill .addContai ner('ql-to oltip');\n this.r oot.innerH TML = this .construct or.TEMPLAT E;\n if (this.qui ll.root == = this.qui ll.scrolli ngContaine r) {\n this.qui ll.root.ad dEventList ener('scro ll', funct ion () {\n _t his.root.s tyle.margi nTop = -1 * _this.qu ill.root.s crollTop + 'px';\n });\n }\n this.hide( );\n }\n\ n _create Class(Tool tip, [{\n key: 'h ide',\n value: fu nction hid e() {\n this.ro ot.classLi st.add('ql -hidden'); \n }\n }, {\n key: 'pos ition',\n value: function p osition(re ference) { \n va r left = r eference.l eft + refe rence.widt h / 2 - th is.root.of fsetWidth / 2;\n // root. scrollTop should be 0 if scrol lContainer !== root\ n var top = ref erence.bot tom + this .quill.roo t.scrollTo p;\n this.root. style.left = left + 'px';\n this.ro ot.style.t op = top + 'px';\n this.r oot.classL ist.remove ('ql-flip' );\n var contai nerBounds = this.bou ndsContain er.getBoun dingClient Rect();\n var r ootBounds = this.roo t.getBound ingClientR ect();\n var sh ift = 0;\n if ( rootBounds .right > c ontainerBo unds.right ) {\n shift = container Bounds.rig ht - rootB ounds.righ t;\n this.roo t.style.le ft = left + shift + 'px';\n }\n if (root Bounds.lef t < contai nerBounds. left) {\n shi ft = conta inerBounds .left - ro otBounds.l eft;\n this.r oot.style. left = lef t + shift + 'px';\n }\n if (ro otBounds.b ottom > co ntainerBou nds.bottom ) {\n var hei ght = root Bounds.bot tom - root Bounds.top ;\n var verti calShift = reference .bottom - reference. top + heig ht;\n this.ro ot.style.t op = top - verticalS hift + 'px ';\n this.roo t.classLis t.add('ql- flip');\n }\n return shift;\n }\n }, {\n ke y: 'show', \n valu e: functio n show() { \n th is.root.cl assList.re move('ql-e diting');\ n thi s.root.cla ssList.rem ove('ql-hi dden');\n }\n }] );\n\n re turn Toolt ip;\n}();\ n\nexports .default = Tooltip;\ n\n/***/ } ),\n/* 62 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\n\nvar _slicedToA rray = fun ction () { function sliceItera tor(arr, i ) { var _a rr = []; v ar _n = tr ue; var _d = false; var _e = u ndefined; try { for (var _i = arr[Symbol .iterator] (), _s; !( _n = (_s = _i.next() ).done); _ n = true) { _arr.pus h(_s.value ); if (i & & _arr.len gth === i) break; } } catch (e rr) { _d = true; _e = err; } f inally { t ry { if (! _n && _i[\ "return\"] ) _i[\"ret urn\"](); } finally { if (_d) throw _e; } } return _arr; } r eturn func tion (arr, i) { if ( Array.isAr ray(arr)) { return a rr; } else if (Symbo l.iterator in Object (arr)) { r eturn slic eIterator( arr, i); } else { th row new Ty peError(\" Invalid at tempt to d estructure non-itera ble instan ce\"); } } ; }();\n\n var _get = function get(object , property , receiver ) { if (ob ject === n ull) objec t = Functi on.prototy pe; var de sc = Objec t.getOwnPr opertyDesc riptor(obj ect, prope rty); if ( desc === u ndefined) { var pare nt = Objec t.getProto typeOf(obj ect); if ( parent === null) { r eturn unde fined; } e lse { retu rn get(par ent, prope rty, recei ver); } } else if (\ "value\" i n desc) { return des c.value; } else { va r getter = desc.get; if (gette r === unde fined) { r eturn unde fined; } r eturn gett er.call(re ceiver); } };\n\nvar _createCl ass = func tion () { function d efinePrope rties(targ et, props) { for (va r i = 0; i < props.l ength; i++ ) { var de scriptor = props[i]; descripto r.enumerab le = descr iptor.enum erable || false; des criptor.co nfigurable = true; i f (\"value \" in desc riptor) de scriptor.w ritable = true; Obje ct.defineP roperty(ta rget, desc riptor.key , descript or); } } r eturn func tion (Cons tructor, p rotoProps, staticPro ps) { if ( protoProps ) definePr operties(C onstructor .prototype , protoPro ps); if (s taticProps ) definePr operties(C onstructor , staticPr ops); retu rn Constru ctor; }; } ();\n\nvar _extend = __webpack _require__ (3);\n\nva r _extend2 = _intero pRequireDe fault(_ext end);\n\nv ar _emitte r = __webp ack_requir e__(8);\n\ nvar _emit ter2 = _in teropRequi reDefault( _emitter); \n\nvar _b ase = __we bpack_requ ire__(43); \n\nvar _b ase2 = _in teropRequi reDefault( _base);\n\ nvar _link = __webpa ck_require __(27);\n\ nvar _link 2 = _inter opRequireD efault(_li nk);\n\nva r _selecti on = __web pack_requi re__(15);\ n\nvar _ic ons = __we bpack_requ ire__(41); \n\nvar _i cons2 = _i nteropRequ ireDefault (_icons);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar TOO LBAR_CONFI G = [[{ he ader: ['1' , '2', '3' , false] } ], ['bold' , 'italic' , 'underli ne', 'link '], [{ lis t: 'ordere d' }, { li st: 'bulle t' }], ['c lean']];\n \nvar Snow Theme = fu nction (_B aseTheme) {\n _inhe rits(SnowT heme, _Bas eTheme);\n \n functi on SnowThe me(quill, options) { \n _cla ssCallChec k(this, Sn owTheme);\ n\n if (options.m odules.too lbar != nu ll && opti ons.module s.toolbar. container == null) { \n op tions.modu les.toolba r.containe r = TOOLBA R_CONFIG;\ n }\n\n var _t his = _pos sibleConst ructorRetu rn(this, ( SnowTheme. __proto__ || Object. getPrototy peOf(SnowT heme)).cal l(this, qu ill, optio ns));\n\n _this.q uill.conta iner.class List.add(' ql-snow'); \n retu rn _this;\ n }\n\n _createCla ss(SnowThe me, [{\n key: 'ex tendToolba r',\n v alue: func tion exten dToolbar(t oolbar) {\ n too lbar.conta iner.class List.add(' ql-snow'); \n th is.buildBu ttons([].s lice.call( toolbar.co ntainer.qu erySelecto rAll('butt on')), _ic ons2.defau lt);\n this.bui ldPickers( [].slice.c all(toolba r.containe r.querySel ectorAll(' select')), _icons2.d efault);\n this .tooltip = new SnowT ooltip(thi s.quill, t his.option s.bounds); \n if (toolbar. container. querySelec tor('.ql-l ink')) {\n th is.quill.k eyboard.ad dBinding({ key: 'K', shortKey: true }, f unction (r ange, cont ext) {\n to olbar.hand lers['link '].call(to olbar, !co ntext.form at.link);\ n } );\n }\n }\n }]);\n\n return S nowTheme;\ n}(_base2. default);\ n\nSnowThe me.DEFAULT S = (0, _e xtend2.def ault)(true , {}, _bas e2.default .DEFAULTS, {\n modu les: {\n toolbar: {\n handlers: {\n link: fun ction link (value) {\ n if (value ) {\n var range = t his.quill. getSelecti on();\n i f (range = = null || range.leng th == 0) r eturn;\n var previe w = this.q uill.getTe xt(range); \n if (/^ \\S+@\\S+\ \.\\S+$/.t est(previe w) && prev iew.indexO f('mailto: ') !== 0) {\n pre view = 'ma ilto:' + p review;\n }\n var tooltip = this.quill .theme.too ltip;\n t ooltip.edi t('link', preview);\ n } else {\ n this.qu ill.format ('link', f alse);\n }\ n } \n }\ n }\n }\n});\n\n var SnowTo oltip = fu nction (_B aseTooltip ) {\n _in herits(Sno wTooltip, _BaseToolt ip);\n\n function S nowTooltip (quill, bo unds) {\n _classC allCheck(t his, SnowT ooltip);\n \n var _this2 = _ possibleCo nstructorR eturn(this , (SnowToo ltip.__pro to__ || Ob ject.getPr ototypeOf( SnowToolti p)).call(t his, quill , bounds)) ;\n\n _ this2.prev iew = _thi s2.root.qu erySelecto r('a.ql-pr eview');\n return _this2;\n }\n\n _ createClas s(SnowTool tip, [{\n key: 'l isten',\n value: function l isten() {\ n var _this3 = this;\n\n _get( SnowToolti p.prototyp e.__proto_ _ || Objec t.getProto typeOf(Sno wTooltip.p rototype), 'listen', this).cal l(this);\n this .root.quer ySelector( 'a.ql-acti on').addEv entListene r('click', function (event) {\ n i f (_this3. root.class List.conta ins('ql-ed iting')) { \n _this3.s ave();\n } el se {\n _thi s3.edit('l ink', _thi s3.preview .textConte nt);\n }\n event .preventDe fault();\n });\ n thi s.root.que rySelector ('a.ql-rem ove').addE ventListen er('click' , function (event) { \n if (_this3 .linkRange != null) {\n var ran ge = _this 3.linkRang e;\n _this3 .restoreFo cus();\n _t his3.quill .formatTex t(range, ' link', fal se, _emitt er2.defaul t.sources. USER);\n de lete _this 3.linkRang e;\n }\n event.p reventDefa ult();\n _thi s3.hide(); \n }) ;\n t his.quill. on(_emitte r2.default .events.SE LECTION_CH ANGE, func tion (rang e, oldRang e, source) {\n if (rang e == null) return;\n if (range.le ngth === 0 && source === _emit ter2.defau lt.sources .USER) {\n var _quill $scroll$de scend = _t his3.quill .scroll.de scendant(_ link2.defa ult, range .index),\n _quill $scroll$de scend2 = _ slicedToAr ray(_quill $scroll$de scend, 2), \n link = _quill$ scroll$des cend2[0],\ n offse t = _quill $scroll$de scend2[1]; \n\n if (li nk != null ) {\n _th is3.linkRa nge = new _selection .Range(ran ge.index - offset, l ink.length ());\n va r preview = _link2.d efault.for mats(link. domNode);\ n _this3. preview.te xtContent = preview; \n _this3 .preview.s etAttribut e('href', preview);\ n _this3. show();\n _this3.po sition(_th is3.quill. getBounds( _this3.lin kRange));\ n return; \n }\n } else {\n delete _this3.lin kRange;\n }\n _t his3.hide( );\n });\n } \n }, {\n key: ' show',\n value: f unction sh ow() {\n _get(S nowTooltip .prototype .__proto__ || Object .getProtot ypeOf(Snow Tooltip.pr ototype), 'show', th is).call(t his);\n this.ro ot.removeA ttribute(' data-mode' );\n }\ n }]);\n\ n return SnowToolti p;\n}(_bas e.BaseTool tip);\n\nS nowTooltip .TEMPLATE = ['<a cla ss=\"ql-pr eview\" ta rget=\"_bl ank\" href =\"about:b lank\"></a >', '<inpu t type=\"t ext\" data -formula=\ "e=mc^2\" data-link= \"https:// quilljs.co m\" data-v ideo=\"Emb ed URL\">' , '<a clas s=\"ql-act ion\"></a> ', '<a cla ss=\"ql-re move\"></a >'].join(' ');\n\nexp orts.defau lt = SnowT heme;\n\n/ ***/ }),\n /* 63 */\n /***/ (fun ction(modu le, export s, __webpa ck_require __) {\n\n\ "use stric t\";\n\n\n var _core = __webpac k_require_ _(29);\n\n var _core2 = _intero pRequireDe fault(_cor e);\n\nvar _align = __webpack_ require__( 36);\n\nva r _directi on = __web pack_requi re__(38);\ n\nvar _in dent = __w ebpack_req uire__(64) ;\n\nvar _ blockquote = __webpa ck_require __(65);\n\ nvar _bloc kquote2 = _interopRe quireDefau lt(_blockq uote);\n\n var _heade r = __webp ack_requir e__(66);\n \nvar _hea der2 = _in teropRequi reDefault( _header);\ n\nvar _li st = __web pack_requi re__(67);\ n\nvar _li st2 = _int eropRequir eDefault(_ list);\n\n var _backg round = __ webpack_re quire__(37 );\n\nvar _color = _ _webpack_r equire__(2 6);\n\nvar _font = _ _webpack_r equire__(3 9);\n\nvar _size = _ _webpack_r equire__(4 0);\n\nvar _bold = _ _webpack_r equire__(5 6);\n\nvar _bold2 = _interopRe quireDefau lt(_bold); \n\nvar _i talic = __ webpack_re quire__(68 );\n\nvar _italic2 = _interopR equireDefa ult(_itali c);\n\nvar _link = _ _webpack_r equire__(2 7);\n\nvar _link2 = _interopRe quireDefau lt(_link); \n\nvar _s cript = __ webpack_re quire__(69 );\n\nvar _script2 = _interopR equireDefa ult(_scrip t);\n\nvar _strike = __webpack _require__ (70);\n\nv ar _strike 2 = _inter opRequireD efault(_st rike);\n\n var _under line = __w ebpack_req uire__(71) ;\n\nvar _ underline2 = _intero pRequireDe fault(_und erline);\n \nvar _ima ge = __web pack_requi re__(72);\ n\nvar _im age2 = _in teropRequi reDefault( _image);\n \nvar _vid eo = __web pack_requi re__(73);\ n\nvar _vi deo2 = _in teropRequi reDefault( _video);\n \nvar _cod e = __webp ack_requir e__(13);\n \nvar _cod e2 = _inte ropRequire Default(_c ode);\n\nv ar _formul a = __webp ack_requir e__(74);\n \nvar _for mula2 = _i nteropRequ ireDefault (_formula) ;\n\nvar _ syntax = _ _webpack_r equire__(7 5);\n\nvar _syntax2 = _interop RequireDef ault(_synt ax);\n\nva r _toolbar = __webpa ck_require __(57);\n\ nvar _tool bar2 = _in teropRequi reDefault( _toolbar); \n\nvar _i cons = __w ebpack_req uire__(41) ;\n\nvar _ icons2 = _ interopReq uireDefaul t(_icons); \n\nvar _p icker = __ webpack_re quire__(28 );\n\nvar _picker2 = _interopR equireDefa ult(_picke r);\n\nvar _colorPic ker = __we bpack_requ ire__(59); \n\nvar _c olorPicker 2 = _inter opRequireD efault(_co lorPicker) ;\n\nvar _ iconPicker = __webpa ck_require __(60);\n\ nvar _icon Picker2 = _interopRe quireDefau lt(_iconPi cker);\n\n var _toolt ip = __web pack_requi re__(61);\ n\nvar _to oltip2 = _ interopReq uireDefaul t(_tooltip );\n\nvar _bubble = __webpack_ require__( 108);\n\nv ar _bubble 2 = _inter opRequireD efault(_bu bble);\n\n var _snow = __webpac k_require_ _(62);\n\n var _snow2 = _intero pRequireDe fault(_sno w);\n\nfun ction _int eropRequir eDefault(o bj) { retu rn obj && obj.__esMo dule ? obj : { defau lt: obj }; }\n\n_cor e2.default .register( {\n 'attr ibutors/at tribute/di rection': _direction .Direction Attribute, \n\n 'att ributors/c lass/align ': _align. AlignClass ,\n 'attr ibutors/cl ass/backgr ound': _ba ckground.B ackgroundC lass,\n ' attributor s/class/co lor': _col or.ColorCl ass,\n 'a ttributors /class/dir ection': _ direction. DirectionC lass,\n ' attributor s/class/fo nt': _font .FontClass ,\n 'attr ibutors/cl ass/size': _size.Siz eClass,\n\ n 'attrib utors/styl e/align': _align.Ali gnStyle,\n 'attribu tors/style /backgroun d': _backg round.Back groundStyl e,\n 'att ributors/s tyle/color ': _color. ColorStyle ,\n 'attr ibutors/st yle/direct ion': _dir ection.Dir ectionStyl e,\n 'att ributors/s tyle/font' : _font.Fo ntStyle,\n 'attribu tors/style /size': _s ize.SizeSt yle\n}, tr ue);\n\n_c ore2.defau lt.registe r({\n 'fo rmats/alig n': _align .AlignClas s,\n 'for mats/direc tion': _di rection.Di rectionCla ss,\n 'fo rmats/inde nt': _inde nt.IndentC lass,\n\n 'formats/ background ': _backgr ound.Backg roundStyle ,\n 'form ats/color' : _color.C olorStyle, \n 'forma ts/font': _font.Font Class,\n 'formats/s ize': _siz e.SizeClas s,\n\n 'f ormats/blo ckquote': _blockquot e2.default ,\n 'form ats/code-b lock': _co de2.defaul t,\n 'for mats/heade r': _heade r2.default ,\n 'form ats/list': _list2.de fault,\n\n 'formats /bold': _b old2.defau lt,\n 'fo rmats/code ': _code.C ode,\n 'f ormats/ita lic': _ita lic2.defau lt,\n 'fo rmats/link ': _link2. default,\n 'formats /script': _script2.d efault,\n 'formats/ strike': _ strike2.de fault,\n 'formats/u nderline': _underlin e2.default ,\n\n 'fo rmats/imag e': _image 2.default, \n 'forma ts/video': _video2.d efault,\n\ n 'format s/list/ite m': _list. ListItem,\ n\n 'modu les/formul a': _formu la2.defaul t,\n 'mod ules/synta x': _synta x2.default ,\n 'modu les/toolba r': _toolb ar2.defaul t,\n\n 't hemes/bubb le': _bubb le2.defaul t,\n 'the mes/snow': _snow2.de fault,\n\n 'ui/icon s': _icons 2.default, \n 'ui/pi cker': _pi cker2.defa ult,\n 'u i/icon-pic ker': _ico nPicker2.d efault,\n 'ui/color -picker': _colorPick er2.defaul t,\n 'ui/ tooltip': _tooltip2. default\n} , true);\n \nmodule.e xports = _ core2.defa ult;\n\n/* **/ }),\n/ * 64 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\ne xports.Ind entClass = undefined ;\n\nvar _ createClas s = functi on () { fu nction def inePropert ies(target , props) { for (var i = 0; i < props.len gth; i++) { var desc riptor = p rops[i]; d escriptor. enumerable = descrip tor.enumer able || fa lse; descr iptor.conf igurable = true; if (\"value\" in descri ptor) desc riptor.wri table = tr ue; Object .definePro perty(targ et, descri ptor.key, descriptor ); } } ret urn functi on (Constr uctor, pro toProps, s taticProps ) { if (pr otoProps) defineProp erties(Con structor.p rototype, protoProps ); if (sta ticProps) defineProp erties(Con structor, staticProp s); return Construct or; }; }() ;\n\nvar _ get = func tion get(o bject, pro perty, rec eiver) { i f (object === null) object = F unction.pr ototype; v ar desc = Object.get OwnPropert yDescripto r(object, property); if (desc === undefi ned) { var parent = Object.get PrototypeO f(object); if (paren t === null ) { return undefined ; } else { return ge t(parent, property, receiver); } } else if (\"valu e\" in des c) { retur n desc.val ue; } else { var get ter = desc .get; if ( getter === undefined ) { return undefined ; } return getter.ca ll(receive r); } };\n \nvar _par chment = _ _webpack_r equire__(0 );\n\nvar _parchment 2 = _inter opRequireD efault(_pa rchment);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar Ide ntAttribut or = funct ion (_Parc hment$Attr ibutor) {\ n _inheri ts(IdentAt tributor, _Parchment $Attributo r);\n\n f unction Id entAttribu tor() {\n _classC allCheck(t his, Ident Attributor );\n\n return _po ssibleCons tructorRet urn(this, (IdentAttr ibutor.__p roto__ || Object.get PrototypeO f(IdentAtt ributor)). apply(this , argument s));\n }\ n\n _crea teClass(Id entAttribu tor, [{\n key: 'a dd',\n value: fun ction add( node, valu e) {\n if (valu e === '+1' || value === '-1') {\n var inden t = this.v alue(node) || 0;\n valu e = value === '+1' ? indent + 1 : indent - 1;\n }\n if (valu e === 0) { \n this.remov e(node);\n re turn true; \n } else {\n retu rn _get(Id entAttribu tor.protot ype.__prot o__ || Obj ect.getPro totypeOf(I dentAttrib utor.proto type), 'ad d', this). call(this, node, val ue);\n }\n } \n }, {\n key: ' canAdd',\n value: function canAdd(nod e, value) {\n r eturn _get (IdentAttr ibutor.pro totype.__p roto__ || Object.get PrototypeO f(IdentAtt ributor.pr ototype), 'canAdd', this).call (this, nod e, value) || _get(Id entAttribu tor.protot ype.__prot o__ || Obj ect.getPro totypeOf(I dentAttrib utor.proto type), 'ca nAdd', thi s).call(th is, node, parseInt(v alue));\n }\n }, {\n ke y: 'value' ,\n val ue: functi on value(n ode) {\n return parseInt( _get(Ident Attributor .prototype .__proto__ || Object .getProtot ypeOf(Iden tAttributo r.prototyp e), 'value ', this).c all(this, node)) || undefined; // Don't return NaN \n }\n }]);\n\n return Id entAttribu tor;\n}(_p archment2. default.At tributor.C lass);\n\n var Indent Class = ne w IdentAtt ributor('i ndent', 'q l-indent', {\n scop e: _parchm ent2.defau lt.Scope.B LOCK,\n w hitelist: [1, 2, 3, 4, 5, 6, 7 , 8]\n});\ n\nexports .IndentCla ss = Inden tClass;\n\ n/***/ }), \n/* 65 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \n\nvar _b lock = __w ebpack_req uire__(4); \n\nvar _b lock2 = _i nteropRequ ireDefault (_block);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar Blo ckquote = function ( _Block) {\ n _inheri ts(Blockqu ote, _Bloc k);\n\n f unction Bl ockquote() {\n _c lassCallCh eck(this, Blockquote );\n\n return _po ssibleCons tructorRet urn(this, (Blockquot e.__proto_ _ || Objec t.getProto typeOf(Blo ckquote)). apply(this , argument s));\n }\ n\n retur n Blockquo te;\n}(_bl ock2.defau lt);\n\nBl ockquote.b lotName = 'blockquot e';\nBlock quote.tagN ame = 'blo ckquote';\ n\nexports .default = Blockquot e;\n\n/*** / }),\n/* 66 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\n\nObj ect.define Property(e xports, \" __esModule \", {\n v alue: true \n});\n\nv ar _create Class = fu nction () { function definePro perties(ta rget, prop s) { for ( var i = 0; i < props .length; i ++) { var descriptor = props[i ]; descrip tor.enumer able = des criptor.en umerable | | false; d escriptor. configurab le = true; if (\"val ue\" in de scriptor) descriptor .writable = true; Ob ject.defin eProperty( target, de scriptor.k ey, descri ptor); } } return fu nction (Co nstructor, protoProp s, staticP rops) { if (protoPro ps) define Properties (Construct or.prototy pe, protoP rops); if (staticPro ps) define Properties (Construct or, static Props); re turn Const ructor; }; }();\n\nv ar _block = __webpac k_require_ _(4);\n\nv ar _block2 = _intero pRequireDe fault(_blo ck);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _cla ssCallChec k(instance , Construc tor) { if (!(instanc e instance of Constru ctor)) { t hrow new T ypeError(\ "Cannot ca ll a class as a func tion\"); } }\n\nfunc tion _poss ibleConstr uctorRetur n(self, ca ll) { if ( !self) { t hrow new R eferenceEr ror(\"this hasn't be en initial ised - sup er() hasn' t been cal led\"); } return cal l && (type of call == = \"object \" || type of call == = \"functi on\") ? ca ll : self; }\n\nfunc tion _inhe rits(subCl ass, super Class) { i f (typeof superClass !== \"fun ction\" && superClas s !== null ) { throw new TypeEr ror(\"Supe r expressi on must ei ther be nu ll or a fu nction, no t \" + typ eof superC lass); } s ubClass.pr ototype = Object.cre ate(superC lass && su perClass.p rototype, { construc tor: { val ue: subCla ss, enumer able: fals e, writabl e: true, c onfigurabl e: true } }); if (su perClass) Object.set PrototypeO f ? Object .setProtot ypeOf(subC lass, supe rClass) : subClass._ _proto__ = superClas s; }\n\nva r Header = function (_Block) { \n _inher its(Header , _Block); \n\n func tion Heade r() {\n _classCal lCheck(thi s, Header) ;\n\n r eturn _pos sibleConst ructorRetu rn(this, ( Header.__p roto__ || Object.get PrototypeO f(Header)) .apply(thi s, argumen ts));\n } \n\n _cre ateClass(H eader, nul l, [{\n key: 'for mats',\n value: f unction fo rmats(domN ode) {\n return this.tagN ame.indexO f(domNode. tagName) + 1;\n } \n }]);\n \n return Header;\n }(_block2. default);\ n\nHeader. blotName = 'header'; \nHeader.t agName = [ 'H1', 'H2' , 'H3', 'H 4', 'H5', 'H6'];\n\n exports.de fault = He ader;\n\n/ ***/ }),\n /* 67 */\n /***/ (fun ction(modu le, export s, __webpa ck_require __) {\n\n\ "use stric t\";\n\n\n Object.def inePropert y(exports, \"__esMod ule\", {\n value: t rue\n});\n exports.de fault = ex ports.List Item = und efined;\n\ nvar _crea teClass = function ( ) { functi on defineP roperties( target, pr ops) { for (var i = 0; i < pro ps.length; i++) { va r descript or = props [i]; descr iptor.enum erable = d escriptor. enumerable || false; descripto r.configur able = tru e; if (\"v alue\" in descriptor ) descript or.writabl e = true; Object.def inePropert y(target, descriptor .key, desc riptor); } } return function ( Constructo r, protoPr ops, stati cProps) { if (protoP rops) defi neProperti es(Constru ctor.proto type, prot oProps); i f (staticP rops) defi neProperti es(Constru ctor, stat icProps); return Con structor; }; }();\n\ nvar _get = function get(objec t, propert y, receive r) { if (o bject === null) obje ct = Funct ion.protot ype; var d esc = Obje ct.getOwnP ropertyDes criptor(ob ject, prop erty); if (desc === undefined) { var par ent = Obje ct.getProt otypeOf(ob ject); if (parent == = null) { return und efined; } else { ret urn get(pa rent, prop erty, rece iver); } } else if ( \"value\" in desc) { return de sc.value; } else { v ar getter = desc.get ; if (gett er === und efined) { return und efined; } return get ter.call(r eceiver); } };\n\nva r _parchme nt = __web pack_requi re__(0);\n \nvar _par chment2 = _interopRe quireDefau lt(_parchm ent);\n\nv ar _block = __webpac k_require_ _(4);\n\nv ar _block2 = _intero pRequireDe fault(_blo ck);\n\nva r _contain er = __web pack_requi re__(24);\ n\nvar _co ntainer2 = _interopR equireDefa ult(_conta iner);\n\n function _ interopReq uireDefaul t(obj) { r eturn obj && obj.__e sModule ? obj : { de fault: obj }; }\n\nf unction _d efinePrope rty(obj, k ey, value) { if (key in obj) { Object.de fineProper ty(obj, ke y, { value : value, e numerable: true, con figurable: true, wri table: tru e }); } el se { obj[k ey] = valu e; } retur n obj; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar Lis tItem = fu nction (_B lock) {\n _inherits (ListItem, _Block);\ n\n funct ion ListIt em() {\n _classCa llCheck(th is, ListIt em);\n\n return _ possibleCo nstructorR eturn(this , (ListIte m.__proto_ _ || Objec t.getProto typeOf(Lis tItem)).ap ply(this, arguments) );\n }\n\ n _create Class(List Item, [{\n key: ' format',\n value: function format(nam e, value) {\n i f (name == = List.blo tName && ! value) {\n th is.replace With(_parc hment2.def ault.creat e(this.sta tics.scope ));\n } else {\ n _ get(ListIt em.prototy pe.__proto __ || Obje ct.getProt otypeOf(Li stItem.pro totype), ' format', t his).call( this, name , value);\ n }\n }\n } , {\n k ey: 'remov e',\n v alue: func tion remov e() {\n if (thi s.prev == null && th is.next == null) {\n th is.parent. remove();\ n } e lse {\n _get( ListItem.p rototype._ _proto__ | | Object.g etPrototyp eOf(ListIt em.prototy pe), 'remo ve', this) .call(this );\n }\n }\n }, {\n key: 're placeWith' ,\n val ue: functi on replace With(name, value) {\ n thi s.parent.i solate(thi s.offset(t his.parent ), this.le ngth());\n if ( name === t his.parent .statics.b lotName) { \n this.paren t.replaceW ith(name, value);\n ret urn this;\ n } e lse {\n this. parent.unw rap();\n retu rn _get(Li stItem.pro totype.__p roto__ || Object.get PrototypeO f(ListItem .prototype ), 'replac eWith', th is).call(t his, name, value);\n }\n }\n }] , [{\n key: 'form ats',\n value: fu nction for mats(domNo de) {\n return domNode.ta gName === this.tagNa me ? undef ined : _ge t(ListItem .__proto__ || Object .getProtot ypeOf(List Item), 'fo rmats', th is).call(t his, domNo de);\n }\n }]);\ n\n retur n ListItem ;\n}(_bloc k2.default );\n\nList Item.blotN ame = 'lis t-item';\n ListItem.t agName = ' LI';\n\nva r List = f unction (_ Container) {\n _inh erits(List , _Contain er);\n\n _createCla ss(List, n ull, [{\n key: 'c reate',\n value: function c reate(valu e) {\n var tagN ame = valu e === 'ord ered' ? 'O L' : 'UL'; \n va r node = _ get(List._ _proto__ | | Object.g etPrototyp eOf(List), 'create', this).cal l(this, ta gName);\n if (v alue === ' checked' | | value == = 'uncheck ed') {\n node .setAttrib ute('data- checked', value === 'checked') ;\n } \n re turn node; \n }\n }, {\n key: 'for mats',\n value: f unction fo rmats(domN ode) {\n if (do mNode.tagN ame === 'O L') return 'ordered' ;\n i f (domNode .tagName = == 'UL') { \n if (domNod e.hasAttri bute('data -checked') ) {\n retur n domNode. getAttribu te('data-c hecked') = == 'true' ? 'checked ' : 'unche cked';\n } el se {\n retu rn 'bullet ';\n }\n }\n return und efined;\n }\n }] );\n\n fu nction Lis t(domNode) {\n _c lassCallCh eck(this, List);\n\n var _t his2 = _po ssibleCons tructorRet urn(this, (List.__pr oto__ || O bject.getP rototypeOf (List)).ca ll(this, d omNode));\ n\n var listEvent Handler = function l istEventHa ndler(e) { \n if (e.target .parentNod e !== domN ode) retur n;\n var format = _this2. statics.fo rmats(domN ode);\n var blo t = _parch ment2.defa ult.find(e .target);\ n if (format == = 'checked ') {\n blot.f ormat('lis t', 'unche cked');\n } els e if (form at === 'un checked') {\n blot.form at('list', 'checked' );\n }\n };\ n\n dom Node.addEv entListene r('touchst art', list EventHandl er);\n domNode.ad dEventList ener('mous edown', li stEventHan dler);\n return _ this2;\n }\n\n _cr eateClass( List, [{\n key: ' format',\n value: function format(nam e, value) {\n i f (this.ch ildren.len gth > 0) { \n this.child ren.tail.f ormat(name , value);\ n }\n }\n } , {\n k ey: 'forma ts',\n value: fun ction form ats() {\n // We don't inh erit from FormatBlot \n re turn _defi neProperty ({}, this. statics.bl otName, th is.statics .formats(t his.domNod e));\n }\n }, {\ n key: 'insertBef ore',\n value: fu nction ins ertBefore( blot, ref) {\n if (blot i nstanceof ListItem) {\n _get(List .prototype .__proto__ || Object .getProtot ypeOf(List .prototype ), 'insert Before', t his).call( this, blot , ref);\n } els e {\n var ind ex = ref = = null ? t his.length () : ref.o ffset(this );\n var afte r = this.s plit(index );\n after.pa rent.inser tBefore(bl ot, after) ;\n } \n }\n }, {\n key: 'opt imize',\n value: function o ptimize(co ntext) {\n _get (List.prot otype.__pr oto__ || O bject.getP rototypeOf (List.prot otype), 'o ptimize', this).call (this, con text);\n var ne xt = this. next;\n if (nex t != null && next.pr ev === thi s && next. statics.bl otName === this.stat ics.blotNa me && next .domNode.t agName === this.domN ode.tagNam e && next. domNode.ge tAttribute ('data-che cked') === this.domN ode.getAtt ribute('da ta-checked ')) {\n next. moveChildr en(this);\ n n ext.remove ();\n }\n }\ n }, {\n key: 'r eplace',\n value: function replace(ta rget) {\n if (t arget.stat ics.blotNa me !== thi s.statics. blotName) {\n var item = _parchme nt2.defaul t.create(t his.static s.defaultC hild);\n targ et.moveChi ldren(item );\n this.app endChild(i tem);\n }\n _get(Lis t.prototyp e.__proto_ _ || Objec t.getProto typeOf(Lis t.prototyp e), 'repla ce', this) .call(this , target); \n }\n }]);\n\n return Li st;\n}(_co ntainer2.d efault);\n \nList.blo tName = 'l ist';\nLis t.scope = _parchment 2.default. Scope.BLOC K_BLOT;\nL ist.tagNam e = ['OL', 'UL'];\nL ist.defaul tChild = ' list-item' ;\nList.al lowedChild ren = [Lis tItem];\n\ nexports.L istItem = ListItem;\ nexports.d efault = L ist;\n\n/* **/ }),\n/ * 68 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\n\ nvar _bold = __webpa ck_require __(56);\n\ nvar _bold 2 = _inter opRequireD efault(_bo ld);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _cla ssCallChec k(instance , Construc tor) { if (!(instanc e instance of Constru ctor)) { t hrow new T ypeError(\ "Cannot ca ll a class as a func tion\"); } }\n\nfunc tion _poss ibleConstr uctorRetur n(self, ca ll) { if ( !self) { t hrow new R eferenceEr ror(\"this hasn't be en initial ised - sup er() hasn' t been cal led\"); } return cal l && (type of call == = \"object \" || type of call == = \"functi on\") ? ca ll : self; }\n\nfunc tion _inhe rits(subCl ass, super Class) { i f (typeof superClass !== \"fun ction\" && superClas s !== null ) { throw new TypeEr ror(\"Supe r expressi on must ei ther be nu ll or a fu nction, no t \" + typ eof superC lass); } s ubClass.pr ototype = Object.cre ate(superC lass && su perClass.p rototype, { construc tor: { val ue: subCla ss, enumer able: fals e, writabl e: true, c onfigurabl e: true } }); if (su perClass) Object.set PrototypeO f ? Object .setProtot ypeOf(subC lass, supe rClass) : subClass._ _proto__ = superClas s; }\n\nva r Italic = function (_Bold) {\ n _inheri ts(Italic, _Bold);\n \n functi on Italic( ) {\n _ classCallC heck(this, Italic);\ n\n ret urn _possi bleConstru ctorReturn (this, (It alic.__pro to__ || Ob ject.getPr ototypeOf( Italic)).a pply(this, arguments ));\n }\n \n return Italic;\n }(_bold2.d efault);\n \nItalic.b lotName = 'italic';\ nItalic.ta gName = [' EM', 'I']; \n\nexport s.default = Italic;\ n\n/***/ } ),\n/* 69 */\n/***/ (function( module, ex ports, __w ebpack_req uire__) {\ n\n\"use s trict\";\n \n\nObject .definePro perty(expo rts, \"__e sModule\", {\n valu e: true\n} );\n\nvar _createCla ss = funct ion () { f unction de fineProper ties(targe t, props) { for (var i = 0; i < props.le ngth; i++) { var des criptor = props[i]; descriptor .enumerabl e = descri ptor.enume rable || f alse; desc riptor.con figurable = true; if (\"value\ " in descr iptor) des criptor.wr itable = t rue; Objec t.definePr operty(tar get, descr iptor.key, descripto r); } } re turn funct ion (Const ructor, pr otoProps, staticProp s) { if (p rotoProps) definePro perties(Co nstructor. prototype, protoProp s); if (st aticProps) definePro perties(Co nstructor, staticPro ps); retur n Construc tor; }; }( );\n\nvar _get = fun ction get( object, pr operty, re ceiver) { if (object === null) object = Function.p rototype; var desc = Object.ge tOwnProper tyDescript or(object, property) ; if (desc === undef ined) { va r parent = Object.ge tPrototype Of(object) ; if (pare nt === nul l) { retur n undefine d; } else { return g et(parent, property, receiver) ; } } else if (\"val ue\" in de sc) { retu rn desc.va lue; } els e { var ge tter = des c.get; if (getter == = undefine d) { retur n undefine d; } retur n getter.c all(receiv er); } };\ n\nvar _in line = __w ebpack_req uire__(6); \n\nvar _i nline2 = _ interopReq uireDefaul t(_inline) ;\n\nfunct ion _inter opRequireD efault(obj ) { return obj && ob j.__esModu le ? obj : { default : obj }; } \n\nfuncti on _classC allCheck(i nstance, C onstructor ) { if (!( instance i nstanceof Constructo r)) { thro w new Type Error(\"Ca nnot call a class as a functio n\"); } }\ n\nfunctio n _possibl eConstruct orReturn(s elf, call) { if (!se lf) { thro w new Refe renceError (\"this ha sn't been initialise d - super( ) hasn't b een called \"); } ret urn call & & (typeof call === \ "object\" || typeof call === \ "function\ ") ? call : self; }\ n\nfunctio n _inherit s(subClass , superCla ss) { if ( typeof sup erClass != = \"functi on\" && su perClass ! == null) { throw new TypeError (\"Super e xpression must eithe r be null or a funct ion, not \ " + typeof superClas s); } subC lass.proto type = Obj ect.create (superClas s && super Class.prot otype, { c onstructor : { value: subClass, enumerabl e: false, writable: true, conf igurable: true } }); if (super Class) Obj ect.setPro totypeOf ? Object.se tPrototype Of(subClas s, superCl ass) : sub Class.__pr oto__ = su perClass; }\n\nvar S cript = fu nction (_I nline) {\n _inherit s(Script, _Inline);\ n\n funct ion Script () {\n _classCall Check(this , Script); \n\n re turn _poss ibleConstr uctorRetur n(this, (S cript.__pr oto__ || O bject.getP rototypeOf (Script)). apply(this , argument s));\n }\ n\n _crea teClass(Sc ript, null , [{\n key: 'crea te',\n value: fun ction crea te(value) {\n i f (value = == 'super' ) {\n return document.c reateEleme nt('sup'); \n } else if (v alue === ' sub') {\n ret urn docume nt.createE lement('su b');\n } else { \n return _ge t(Script._ _proto__ | | Object.g etPrototyp eOf(Script ), 'create ', this).c all(this, value);\n }\n }\n }, {\n key : 'formats ',\n va lue: funct ion format s(domNode) {\n if (domNod e.tagName === 'SUB') return 's ub';\n if (domN ode.tagNam e === 'SUP ') return 'super';\n retu rn undefin ed;\n } \n }]);\n \n return Script;\n }(_inline2 .default); \n\nScript .blotName = 'script' ;\nScript. tagName = ['SUB', 'S UP'];\n\ne xports.def ault = Scr ipt;\n\n/* **/ }),\n/ * 70 */\n/ ***/ (func tion(modul e, exports , __webpac k_require_ _) {\n\n\" use strict \";\n\n\nO bject.defi neProperty (exports, \"__esModu le\", {\n value: tr ue\n});\n\ nvar _inli ne = __web pack_requi re__(6);\n \nvar _inl ine2 = _in teropRequi reDefault( _inline);\ n\nfunctio n _interop RequireDef ault(obj) { return o bj && obj. __esModule ? obj : { default: obj }; }\n \nfunction _classCal lCheck(ins tance, Con structor) { if (!(in stance ins tanceof Co nstructor) ) { throw new TypeEr ror(\"Cann ot call a class as a function\ "); } }\n\ nfunction _possibleC onstructor Return(sel f, call) { if (!self ) { throw new Refere nceError(\ "this hasn 't been in itialised - super() hasn't bee n called\" ); } retur n call && (typeof ca ll === \"o bject\" || typeof ca ll === \"f unction\") ? call : self; }\n\ nfunction _inherits( subClass, superClass ) { if (ty peof super Class !== \"function \" && supe rClass !== null) { t hrow new T ypeError(\ "Super exp ression mu st either be null or a functio n, not \" + typeof s uperClass) ; } subCla ss.prototy pe = Objec t.create(s uperClass && superCl ass.protot ype, { con structor: { value: s ubClass, e numerable: false, wr itable: tr ue, config urable: tr ue } }); i f (superCl ass) Objec t.setProto typeOf ? O bject.setP rototypeOf (subClass, superClas s) : subCl ass.__prot o__ = supe rClass; }\ n\nvar Str ike = func tion (_Inl ine) {\n _inherits( Strike, _I nline);\n\ n functio n Strike() {\n _c lassCallCh eck(this, Strike);\n \n retu rn _possib leConstruc torReturn( this, (Str ike.__prot o__ || Obj ect.getPro totypeOf(S trike)).ap ply(this, arguments) );\n }\n\ n return Strike;\n} (_inline2. default);\ n\nStrike. blotName = 'strike'; \nStrike.t agName = ' S';\n\nexp orts.defau lt = Strik e;\n\n/*** / }),\n/* 71 */\n/** */ (functi on(module, exports, __webpack_ require__) {\n\n\"us e strict\" ;\n\n\nObj ect.define Property(e xports, \" __esModule \", {\n v alue: true \n});\n\nv ar _inline = __webpa ck_require __(6);\n\n var _inlin e2 = _inte ropRequire Default(_i nline);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ classCallC heck(insta nce, Const ructor) { if (!(inst ance insta nceof Cons tructor)) { throw ne w TypeErro r(\"Cannot call a cl ass as a f unction\") ; } }\n\nf unction _p ossibleCon structorRe turn(self, call) { i f (!self) { throw ne w Referenc eError(\"t his hasn't been init ialised - super() ha sn't been called\"); } return call && (t ypeof call === \"obj ect\" || t ypeof call === \"fun ction\") ? call : se lf; }\n\nf unction _i nherits(su bClass, su perClass) { if (type of superCl ass !== \" function\" && superC lass !== n ull) { thr ow new Typ eError(\"S uper expre ssion must either be null or a function, not \" + typeof sup erClass); } subClass .prototype = Object. create(sup erClass && superClas s.prototyp e, { const ructor: { value: sub Class, enu merable: f alse, writ able: true , configur able: true } }); if (superClas s) Object. setPrototy peOf ? Obj ect.setPro totypeOf(s ubClass, s uperClass) : subClas s.__proto_ _ = superC lass; }\n\ nvar Under line = fun ction (_In line) {\n _inherits (Underline , _Inline) ;\n\n fun ction Unde rline() {\ n _clas sCallCheck (this, Und erline);\n \n retu rn _possib leConstruc torReturn( this, (Und erline.__p roto__ || Object.get PrototypeO f(Underlin e)).apply( this, argu ments));\n }\n\n r eturn Unde rline;\n}( _inline2.d efault);\n \nUnderlin e.blotName = 'underl ine';\nUnd erline.tag Name = 'U' ;\n\nexpor ts.default = Underli ne;\n\n/** */ }),\n/* 72 */\n/* **/ (funct ion(module , exports, __webpack _require__ ) {\n\n\"u se strict\ ";\n\n\nOb ject.defin eProperty( exports, \ "__esModul e\", {\n value: tru e\n});\n\n var _creat eClass = f unction () { functio n definePr operties(t arget, pro ps) { for (var i = 0 ; i < prop s.length; i++) { var descripto r = props[ i]; descri ptor.enume rable = de scriptor.e numerable || false; descriptor .configura ble = true ; if (\"va lue\" in d escriptor) descripto r.writable = true; O bject.defi neProperty (target, d escriptor. key, descr iptor); } } return f unction (C onstructor , protoPro ps, static Props) { i f (protoPr ops) defin ePropertie s(Construc tor.protot ype, proto Props); if (staticPr ops) defin ePropertie s(Construc tor, stati cProps); r eturn Cons tructor; } ; }();\n\n var _get = function get(object , property , receiver ) { if (ob ject === n ull) objec t = Functi on.prototy pe; var de sc = Objec t.getOwnPr opertyDesc riptor(obj ect, prope rty); if ( desc === u ndefined) { var pare nt = Objec t.getProto typeOf(obj ect); if ( parent === null) { r eturn unde fined; } e lse { retu rn get(par ent, prope rty, recei ver); } } else if (\ "value\" i n desc) { return des c.value; } else { va r getter = desc.get; if (gette r === unde fined) { r eturn unde fined; } r eturn gett er.call(re ceiver); } };\n\nvar _parchmen t = __webp ack_requir e__(0);\n\ nvar _parc hment2 = _ interopReq uireDefaul t(_parchme nt);\n\nva r _link = __webpack_ require__( 27);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _cla ssCallChec k(instance , Construc tor) { if (!(instanc e instance of Constru ctor)) { t hrow new T ypeError(\ "Cannot ca ll a class as a func tion\"); } }\n\nfunc tion _poss ibleConstr uctorRetur n(self, ca ll) { if ( !self) { t hrow new R eferenceEr ror(\"this hasn't be en initial ised - sup er() hasn' t been cal led\"); } return cal l && (type of call == = \"object \" || type of call == = \"functi on\") ? ca ll : self; }\n\nfunc tion _inhe rits(subCl ass, super Class) { i f (typeof superClass !== \"fun ction\" && superClas s !== null ) { throw new TypeEr ror(\"Supe r expressi on must ei ther be nu ll or a fu nction, no t \" + typ eof superC lass); } s ubClass.pr ototype = Object.cre ate(superC lass && su perClass.p rototype, { construc tor: { val ue: subCla ss, enumer able: fals e, writabl e: true, c onfigurabl e: true } }); if (su perClass) Object.set PrototypeO f ? Object .setProtot ypeOf(subC lass, supe rClass) : subClass._ _proto__ = superClas s; }\n\nva r ATTRIBUT ES = ['alt ', 'height ', 'width' ];\n\nvar Image = fu nction (_P archment$E mbed) {\n _inherits (Image, _P archment$E mbed);\n\n function Image() { \n _cla ssCallChec k(this, Im age);\n\n return _possibleC onstructor Return(thi s, (Image. __proto__ || Object. getPrototy peOf(Image )).apply(t his, argum ents));\n }\n\n _c reateClass (Image, [{ \n key: 'format', \n valu e: functio n format(n ame, value ) {\n if (ATTRI BUTES.inde xOf(name) > -1) {\n if (value) {\ n this.domN ode.setAtt ribute(nam e, value); \n } else {\n this.domNo de.removeA ttribute(n ame);\n }\n } else {\n _get(Ima ge.prototy pe.__proto __ || Obje ct.getProt otypeOf(Im age.protot ype), 'for mat', this ).call(thi s, name, v alue);\n }\n }\n }], [{\n ke y: 'create ',\n va lue: funct ion create (value) {\ n var node = _g et(Image._ _proto__ | | Object.g etPrototyp eOf(Image) , 'create' , this).ca ll(this, v alue);\n if (ty peof value === 'stri ng') {\n node .setAttrib ute('src', this.sani tize(value ));\n }\n return nod e;\n }\ n }, {\n key: 'f ormats',\n value: function formats(do mNode) {\n retu rn ATTRIBU TES.reduce (function (formats, attribute) {\n if (domN ode.hasAtt ribute(att ribute)) { \n formats[ attribute] = domNode .getAttrib ute(attrib ute);\n }\n retu rn formats ;\n } , {});\n }\n }, {\n key : 'match', \n valu e: functio n match(ur l) {\n return ( /\\.(jpe?g |gif|png)$ /.test(url ) || /^dat a:image\\/ .+;base64/ .test(url) \n ); \n }\n }, {\n key: 'san itize',\n value: function s anitize(ur l) {\n return ( 0, _link.s anitize)(u rl, ['http ', 'https' , 'data']) ? url : ' //:0';\n }\n }, {\n key : 'value', \n valu e: functio n value(do mNode) {\n retu rn domNode .getAttrib ute('src') ;\n }\n }]);\n\n return I mage;\n}(_ parchment2 .default.E mbed);\n\n Image.blot Name = 'im age';\nIma ge.tagName = 'IMG';\ n\nexports .default = Image;\n\ n/***/ }), \n/* 73 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ n\"use str ict\";\n\n \nObject.d efinePrope rty(export s, \"__esM odule\", { \n value: true\n}); \n\nvar _c reateClass = functio n () { fun ction defi neProperti es(target, props) { for (var i = 0; i < props.leng th; i++) { var descr iptor = pr ops[i]; de scriptor.e numerable = descript or.enumera ble || fal se; descri ptor.confi gurable = true; if ( \"value\" in descrip tor) descr iptor.writ able = tru e; Object. defineProp erty(targe t, descrip tor.key, d escriptor) ; } } retu rn functio n (Constru ctor, prot oProps, st aticProps) { if (pro toProps) d efinePrope rties(Cons tructor.pr ototype, p rotoProps) ; if (stat icProps) d efinePrope rties(Cons tructor, s taticProps ); return Constructo r; }; }(); \n\nvar _g et = funct ion get(ob ject, prop erty, rece iver) { if (object = == null) o bject = Fu nction.pro totype; va r desc = O bject.getO wnProperty Descriptor (object, p roperty); if (desc = == undefin ed) { var parent = O bject.getP rototypeOf (object); if (parent === null) { return undefined; } else { return get (parent, p roperty, r eceiver); } } else i f (\"value \" in desc ) { return desc.valu e; } else { var gett er = desc. get; if (g etter === undefined) { return undefined; } return getter.cal l(receiver ); } };\n\ nvar _bloc k = __webp ack_requir e__(4);\n\ nvar _link = __webpa ck_require __(27);\n\ nvar _link 2 = _inter opRequireD efault(_li nk);\n\nfu nction _in teropRequi reDefault( obj) { ret urn obj && obj.__esM odule ? ob j : { defa ult: obj } ; }\n\nfun ction _cla ssCallChec k(instance , Construc tor) { if (!(instanc e instance of Constru ctor)) { t hrow new T ypeError(\ "Cannot ca ll a class as a func tion\"); } }\n\nfunc tion _poss ibleConstr uctorRetur n(self, ca ll) { if ( !self) { t hrow new R eferenceEr ror(\"this hasn't be en initial ised - sup er() hasn' t been cal led\"); } return cal l && (type of call == = \"object \" || type of call == = \"functi on\") ? ca ll : self; }\n\nfunc tion _inhe rits(subCl ass, super Class) { i f (typeof superClass !== \"fun ction\" && superClas s !== null ) { throw new TypeEr ror(\"Supe r expressi on must ei ther be nu ll or a fu nction, no t \" + typ eof superC lass); } s ubClass.pr ototype = Object.cre ate(superC lass && su perClass.p rototype, { construc tor: { val ue: subCla ss, enumer able: fals e, writabl e: true, c onfigurabl e: true } }); if (su perClass) Object.set PrototypeO f ? Object .setProtot ypeOf(subC lass, supe rClass) : subClass._ _proto__ = superClas s; }\n\nva r ATTRIBUT ES = ['hei ght', 'wid th'];\n\nv ar Video = function (_BlockEmb ed) {\n _ inherits(V ideo, _Blo ckEmbed);\ n\n funct ion Video( ) {\n _ classCallC heck(this, Video);\n \n retu rn _possib leConstruc torReturn( this, (Vid eo.__proto __ || Obje ct.getProt otypeOf(Vi deo)).appl y(this, ar guments)); \n }\n\n _createCl ass(Video, [{\n k ey: 'forma t',\n v alue: func tion forma t(name, va lue) {\n if (AT TRIBUTES.i ndexOf(nam e) > -1) { \n if (value) {\n this.d omNode.set Attribute( name, valu e);\n } else {\n this.do mNode.remo veAttribut e(name);\n }\ n } e lse {\n _get( Video.prot otype.__pr oto__ || O bject.getP rototypeOf (Video.pro totype), ' format', t his).call( this, name , value);\ n }\n }\n } ], [{\n key: 'cre ate',\n value: fu nction cre ate(value) {\n var node = _get(Vide o.__proto_ _ || Objec t.getProto typeOf(Vid eo), 'crea te', this) .call(this , value);\ n nod e.setAttri bute('fram eborder', '0');\n node.se tAttribute ('allowful lscreen', true);\n node.s etAttribut e('src', t his.saniti ze(value)) ;\n r eturn node ;\n }\n }, {\n key: 'fo rmats',\n value: function f ormats(dom Node) {\n retur n ATTRIBUT ES.reduce( function ( formats, a ttribute) {\n if (domNo de.hasAttr ibute(attr ibute)) {\ n formats[a ttribute] = domNode. getAttribu te(attribu te);\n }\n retur n formats; \n }, {});\n }\n }, { \n key: 'sanitize ',\n va lue: funct ion saniti ze(url) {\ n ret urn _link2 .default.s anitize(ur l);\n } \n }, {\n key: ' value',\n value: function v alue(domNo de) {\n return domNode.ge tAttribute ('src');\n }\n } ]);\n\n r eturn Vide o;\n}(_blo ck.BlockEm bed);\n\nV ideo.blotN ame = 'vid eo';\nVide o.classNam e = 'ql-vi deo';\nVid eo.tagName = 'IFRAME ';\n\nexpo rts.defaul t = Video; \n\n/***/ }),\n/* 74 */\n/***/ (function (module, e xports, __ webpack_re quire__) { \n\n\"use strict\";\ n\n\nObjec t.definePr operty(exp orts, \"__ esModule\" , {\n val ue: true\n });\nexpor ts.default = exports .FormulaBl ot = undef ined;\n\nv ar _create Class = fu nction () { function definePro perties(ta rget, prop s) { for ( var i = 0; i < props .length; i ++) { var descriptor = props[i ]; descrip tor.enumer able = des criptor.en umerable | | false; d escriptor. configurab le = true; if (\"val ue\" in de scriptor) descriptor .writable = true; Ob ject.defin eProperty( target, de scriptor.k ey, descri ptor); } } return fu nction (Co nstructor, protoProp s, staticP rops) { if (protoPro ps) define Properties (Construct or.prototy pe, protoP rops); if (staticPro ps) define Properties (Construct or, static Props); re turn Const ructor; }; }();\n\nv ar _get = function g et(object, property, receiver) { if (obj ect === nu ll) object = Functio n.prototyp e; var des c = Object .getOwnPro pertyDescr iptor(obje ct, proper ty); if (d esc === un defined) { var paren t = Object .getProtot ypeOf(obje ct); if (p arent === null) { re turn undef ined; } el se { retur n get(pare nt, proper ty, receiv er); } } e lse if (\" value\" in desc) { r eturn desc .value; } else { var getter = desc.get; if (getter === undef ined) { re turn undef ined; } re turn gette r.call(rec eiver); } };\n\nvar _embed = _ _webpack_r equire__(2 5);\n\nvar _embed2 = _interopR equireDefa ult(_embed );\n\nvar _quill = _ _webpack_r equire__(5 );\n\nvar _quill2 = _interopRe quireDefau lt(_quill) ;\n\nvar _ module = _ _webpack_r equire__(9 );\n\nvar _module2 = _interopR equireDefa ult(_modul e);\n\nfun ction _int eropRequir eDefault(o bj) { retu rn obj && obj.__esMo dule ? obj : { defau lt: obj }; }\n\nfunc tion _clas sCallCheck (instance, Construct or) { if ( !(instance instanceo f Construc tor)) { th row new Ty peError(\" Cannot cal l a class as a funct ion\"); } }\n\nfunct ion _possi bleConstru ctorReturn (self, cal l) { if (! self) { th row new Re ferenceErr or(\"this hasn't bee n initiali sed - supe r() hasn't been call ed\"); } r eturn call && (typeo f call === \"object\ " || typeo f call === \"functio n\") ? cal l : self; }\n\nfunct ion _inher its(subCla ss, superC lass) { if (typeof s uperClass !== \"func tion\" && superClass !== null) { throw n ew TypeErr or(\"Super expressio n must eit her be nul l or a fun ction, not \" + type of superCl ass); } su bClass.pro totype = O bject.crea te(superCl ass && sup erClass.pr ototype, { construct or: { valu e: subClas s, enumera ble: false , writable : true, co nfigurable : true } } ); if (sup erClass) O bject.setP rototypeOf ? Object. setPrototy peOf(subCl ass, super Class) : s ubClass.__ proto__ = superClass ; }\n\nvar FormulaBl ot = funct ion (_Embe d) {\n _i nherits(Fo rmulaBlot, _Embed);\ n\n funct ion Formul aBlot() {\ n _clas sCallCheck (this, For mulaBlot); \n\n re turn _poss ibleConstr uctorRetur n(this, (F ormulaBlot .__proto__ || Object .getProtot ypeOf(Form ulaBlot)). apply(this , argument s));\n }\ n\n _crea teClass(Fo rmulaBlot, null, [{\ n key: 'create',\ n value : function create(va lue) {\n var no de = _get( FormulaBlo t.__proto_ _ || Objec t.getProto typeOf(For mulaBlot), 'create', this).cal l(this, va lue);\n if (typ eof value === 'strin g') {\n windo w.katex.re nder(value , node, {\ n throwOnEr ror: false ,\n errorCo lor: '#f00 '\n });\n node.s etAttribut e('data-va lue', valu e);\n }\n return nod e;\n }\ n }, {\n key: 'v alue',\n value: f unction va lue(domNod e) {\n return d omNode.get Attribute( 'data-valu e');\n }\n }]);\ n\n retur n FormulaB lot;\n}(_e mbed2.defa ult);\n\nF ormulaBlot .blotName = 'formula ';\nFormul aBlot.clas sName = 'q l-formula' ;\nFormula Blot.tagNa me = 'SPAN ';\n\nvar Formula = function ( _Module) { \n _inher its(Formul a, _Module );\n\n _c reateClass (Formula, null, [{\n key: ' register', \n valu e: functio n register () {\n _quill2. default.re gister(For mulaBlot, true);\n }\n }]) ;\n\n fun ction Form ula() {\n _classC allCheck(t his, Formu la);\n\n var _thi s2 = _poss ibleConstr uctorRetur n(this, (F ormula.__p roto__ || Object.get PrototypeO f(Formula) ).call(thi s));\n\n if (wind ow.katex = = null) {\ n thr ow new Err or('Formul a module r equires Ka TeX.');\n }\n return _th is2;\n }\ n\n retur n Formula; \n}(_modul e2.default );\n\nexpo rts.Formul aBlot = Fo rmulaBlot; \nexports. default = Formula;\n \n/***/ }) ,\n/* 75 * /\n/***/ ( function(m odule, exp orts, __we bpack_requ ire__) {\n \n\"use st rict\";\n\ n\nObject. defineProp erty(expor ts, \"__es Module\", {\n value : true\n}) ;\nexports .default = exports.C odeToken = exports.C odeBlock = undefined ;\n\nvar _ createClas s = functi on () { fu nction def inePropert ies(target , props) { for (var i = 0; i < props.len gth; i++) { var desc riptor = p rops[i]; d escriptor. enumerable = descrip tor.enumer able || fa lse; descr iptor.conf igurable = true; if (\"value\" in descri ptor) desc riptor.wri table = tr ue; Object .definePro perty(targ et, descri ptor.key, descriptor ); } } ret urn functi on (Constr uctor, pro toProps, s taticProps ) { if (pr otoProps) defineProp erties(Con structor.p rototype, protoProps ); if (sta ticProps) defineProp erties(Con structor, staticProp s); return Construct or; }; }() ;\n\nvar _ get = func tion get(o bject, pro perty, rec eiver) { i f (object === null) object = F unction.pr ototype; v ar desc = Object.get OwnPropert yDescripto r(object, property); if (desc === undefi ned) { var parent = Object.get PrototypeO f(object); if (paren t === null ) { return undefined ; } else { return ge t(parent, property, receiver); } } else if (\"valu e\" in des c) { retur n desc.val ue; } else { var get ter = desc .get; if ( getter === undefined ) { return undefined ; } return getter.ca ll(receive r); } };\n \nvar _par chment = _ _webpack_r equire__(0 );\n\nvar _parchment 2 = _inter opRequireD efault(_pa rchment);\ n\nvar _qu ill = __we bpack_requ ire__(5);\ n\nvar _qu ill2 = _in teropRequi reDefault( _quill);\n \nvar _mod ule = __we bpack_requ ire__(9);\ n\nvar _mo dule2 = _i nteropRequ ireDefault (_module); \n\nvar _c ode = __we bpack_requ ire__(13); \n\nvar _c ode2 = _in teropRequi reDefault( _code);\n\ nfunction _interopRe quireDefau lt(obj) { return obj && obj.__ esModule ? obj : { d efault: ob j }; }\n\n function _ classCallC heck(insta nce, Const ructor) { if (!(inst ance insta nceof Cons tructor)) { throw ne w TypeErro r(\"Cannot call a cl ass as a f unction\") ; } }\n\nf unction _p ossibleCon structorRe turn(self, call) { i f (!self) { throw ne w Referenc eError(\"t his hasn't been init ialised - super() ha sn't been called\"); } return call && (t ypeof call === \"obj ect\" || t ypeof call === \"fun ction\") ? call : se lf; }\n\nf unction _i nherits(su bClass, su perClass) { if (type of superCl ass !== \" function\" && superC lass !== n ull) { thr ow new Typ eError(\"S uper expre ssion must either be null or a function, not \" + typeof sup erClass); } subClass .prototype = Object. create(sup erClass && superClas s.prototyp e, { const ructor: { value: sub Class, enu merable: f alse, writ able: true , configur able: true } }); if (superClas s) Object. setPrototy peOf ? Obj ect.setPro totypeOf(s ubClass, s uperClass) : subClas s.__proto_ _ = superC lass; }\n\ nvar Synta xCodeBlock = functio n (_CodeBl ock) {\n _inherits( SyntaxCode Block, _Co deBlock);\ n\n funct ion Syntax CodeBlock( ) {\n _ classCallC heck(this, SyntaxCod eBlock);\n \n retu rn _possib leConstruc torReturn( this, (Syn taxCodeBlo ck.__proto __ || Obje ct.getProt otypeOf(Sy ntaxCodeBl ock)).appl y(this, ar guments)); \n }\n\n _createCl ass(Syntax CodeBlock, [{\n k ey: 'repla ceWith',\n value: function replaceWit h(block) { \n th is.domNode .textConte nt = this. domNode.te xtContent; \n th is.attach( );\n _get(Synta xCodeBlock .prototype .__proto__ || Object .getProtot ypeOf(Synt axCodeBloc k.prototyp e), 'repla ceWith', t his).call( this, bloc k);\n } \n }, {\n key: ' highlight' ,\n val ue: functi on highlig ht(_highli ght) {\n var te xt = this. domNode.te xtContent; \n if (this.cac hedText != = text) {\ n i f (text.tr im().lengt h > 0 || t his.cached Text == nu ll) {\n thi s.domNode. innerHTML = _highlig ht(text);\ n this.domN ode.normal ize();\n th is.attach( );\n }\n this.ca chedText = text;\n }\n }\n }]); \n\n retu rn SyntaxC odeBlock;\ n}(_code2. default);\ n\nSyntaxC odeBlock.c lassName = 'ql-synta x';\n\nvar CodeToken = new _pa rchment2.d efault.Att ributor.Cl ass('token ', 'hljs', {\n scop e: _parchm ent2.defau lt.Scope.I NLINE\n}); \n\nvar Sy ntax = fun ction (_Mo dule) {\n _inherits (Syntax, _ Module);\n \n _creat eClass(Syn tax, null, [{\n k ey: 'regis ter',\n value: fu nction reg ister() {\ n _qu ill2.defau lt.registe r(CodeToke n, true);\ n _qu ill2.defau lt.registe r(SyntaxCo deBlock, t rue);\n }\n }]); \n\n func tion Synta x(quill, o ptions) {\ n _clas sCallCheck (this, Syn tax);\n\n var _th is2 = _pos sibleConst ructorRetu rn(this, ( Syntax.__p roto__ || Object.get PrototypeO f(Syntax)) .call(this , quill, o ptions));\ n\n if (typeof _t his2.optio ns.highlig ht !== 'fu nction') { \n th row new Er ror('Synta x module r equires hi ghlight.js . Please i nclude the library o n the page before Qu ill.');\n }\n var timer = null;\n _this2. quill.on(_ quill2.def ault.event s.SCROLL_O PTIMIZE, f unction () {\n clearTimeo ut(timer); \n ti mer = setT imeout(fun ction () { \n _this2.hig hlight();\ n t imer = nul l;\n }, _this2. options.in terval);\n });\n _this2. highlight( );\n re turn _this 2;\n }\n\ n _create Class(Synt ax, [{\n key: 'hi ghlight',\ n value : function highlight () {\n var _thi s3 = this; \n\n if (this.q uill.selec tion.compo sing) retu rn;\n this.quil l.update(_ quill2.def ault.sourc es.USER);\ n var range = t his.quill. getSelecti on();\n this.qu ill.scroll .descendan ts(SyntaxC odeBlock). forEach(fu nction (co de) {\n code. highlight( _this3.opt ions.highl ight);\n });\n this. quill.upda te(_quill2 .default.s ources.SIL ENT);\n if (ran ge != null ) {\n this.qu ill.setSel ection(ran ge, _quill 2.default. sources.SI LENT);\n }\n }\n }]); \n\n retu rn Syntax; \n}(_modul e2.default );\n\nSynt ax.DEFAULT S = {\n h ighlight: function ( ) {\n i f (window. hljs == nu ll) return null;\n return f unction (t ext) {\n var re sult = win dow.hljs.h ighlightAu to(text);\ n ret urn result .value;\n };\n } (),\n int erval: 100 0\n};\n\ne xports.Cod eBlock = S yntaxCodeB lock;\nexp orts.CodeT oken = Cod eToken;\ne xports.def ault = Syn tax;\n\n/* **/ }),\n/ * 76 */\n/ ***/ (func tion(modul e, exports ) {\n\nmod ule.export s = \"<svg viewbox=\ \\"0 0 18 18\\\"> <l ine class= ql-stroke x1=3 x2=15 y1=9 y2=9 ></line> < line class =ql-stroke x1=3 x2=1 3 y1=14 y2 =14></line > <line cl ass=ql-str oke x1=3 x 2=9 y1=4 y 2=4></line > </svg>\" ;\n\n/***/ }),\n/* 7 7 */\n/*** / (functio n(module, exports) { \n\nmodule .exports = \"<svg vi ewbox=\\\" 0 0 18 18\ \\"> <line class=ql- stroke x1= 15 x2=3 y1 =9 y2=9></ line> <lin e class=ql -stroke x1 =14 x2=4 y 1=14 y2=14 ></line> < line class =ql-stroke x1=12 x2= 6 y1=4 y2= 4></line> </svg>\";\ n\n/***/ } ),\n/* 78 */\n/***/ (function( module, ex ports) {\n \nmodule.e xports = \ "<svg view box=\\\"0 0 18 18\\\ "> <line c lass=ql-st roke x1=15 x2=3 y1=9 y2=9></li ne> <line class=ql-s troke x1=1 5 x2=5 y1= 14 y2=14>< /line> <li ne class=q l-stroke x 1=15 x2=9 y1=4 y2=4> </line> </ svg>\";\n\ n/***/ }), \n/* 79 */ \n/***/ (f unction(mo dule, expo rts) {\n\n module.exp orts = \"< svg viewbo x=\\\"0 0 18 18\\\"> <line cla ss=ql-stro ke x1=15 x 2=3 y1=9 y 2=9></line > <line cl ass=ql-str oke x1=15 x2=3 y1=14 y2=14></l ine> <line class=ql- stroke x1= 15 x2=3 y1 =4 y2=4></ line> </sv g>\";\n\n/ ***/ }),\n /* 80 */\n /***/ (fun ction(modu le, export s) {\n\nmo dule.expor ts = \"<sv g viewbox= \\\"0 0 18 18\\\"> < g class=\\ \"ql-fill ql-color-l abel\\\"> <polygon p oints=\\\" 6 6.868 6 6 5 6 5 7 5.942 7 6 6.868\\\"> </polygon> <rect hei ght=1 widt h=1 x=4 y= 4></rect> <polygon p oints=\\\" 6.817 5 6 5 6 6 6.38 6 6.817 5 \\\"></pol ygon> <rec t height=1 width=1 x =2 y=6></r ect> <rect height=1 width=1 x= 3 y=5></re ct> <rect height=1 w idth=1 x=4 y=7></rec t> <polygo n points=\ \\"4 11.43 9 4 11 3 1 1 3 12 3.7 55 12 4 11 .439\\\">< /polygon> <rect heig ht=1 width =1 x=2 y=1 2></rect> <rect heig ht=1 width =1 x=2 y=9 ></rect> < rect heigh t=1 width= 1 x=2 y=15 ></rect> < polygon po ints=\\\"4 .63 10 4 1 0 4 11 4.1 92 11 4.63 10\\\"></ polygon> < rect heigh t=1 width= 1 x=3 y=8> </rect> <p ath d=M10. 832,4.2L11 ,4.582V4H1 0.708A1.94 8,1.948,0, 0,1,10.832 ,4.2Z></pa th> <path d=M7,4.582 L7.168,4.2 A1.929,1.9 29,0,0,1,7 .292,4H7V4 .582Z></pa th> <path d=M8,13H7. 683l-0.351 .8a1.933,1 .933,0,0,1 -.124.2H8V 13Z></path > <rect he ight=1 wid th=1 x=12 y=2></rect > <rect he ight=1 wid th=1 x=11 y=3></rect > <path d= M9,3H8V3.2 82A1.985,1 .985,0,0,1 ,9,3Z></pa th> <rect height=1 w idth=1 x=2 y=3></rec t> <rect h eight=1 wi dth=1 x=6 y=2></rect > <rect he ight=1 wid th=1 x=3 y =2></rect> <rect hei ght=1 widt h=1 x=5 y= 3></rect> <rect heig ht=1 width =1 x=9 y=2 ></rect> < rect heigh t=1 width= 1 x=15 y=1 4></rect> <polygon p oints=\\\" 13.447 10. 174 13.469 10.225 13 .472 10.23 2 13.808 1 1 14 11 14 10 13.37 10 13.447 10.174\\\" ></polygon > <rect he ight=1 wid th=1 x=13 y=7></rect > <rect he ight=1 wid th=1 x=15 y=5></rect > <rect he ight=1 wid th=1 x=14 y=6></rect > <rect he ight=1 wid th=1 x=15 y=8></rect > <rect he ight=1 wid th=1 x=14 y=9></rect > <path d= M3.775,14H 3v1H4V14.3 14A1.97,1. 97,0,0,1,3 .775,14Z>< /path> <re ct height= 1 width=1 x=14 y=3>< /rect> <po lygon poin ts=\\\"12 6.868 12 6 11.62 6 1 2 6.868\\\ "></polygo n> <rect h eight=1 wi dth=1 x=15 y=2></rec t> <rect h eight=1 wi dth=1 x=12 y=5></rec t> <rect h eight=1 wi dth=1 x=13 y=4></rec t> <polygo n points=\ \\"12.933 9 13 9 13 8 12.495 8 12.933 9\ \\"></poly gon> <rect height=1 width=1 x= 9 y=14></r ect> <rect height=1 width=1 x= 8 y=15></r ect> <path d=M6,14.9 26V15H7V14 .316A1.993 ,1.993,0,0 ,1,6,14.92 6Z></path> <rect hei ght=1 widt h=1 x=5 y= 15></rect> <path d=M 10.668,13. 8L10.317,1 3H10v1h0.7 92A1.947,1 .947,0,0,1 ,10.668,13 .8Z></path > <rect he ight=1 wid th=1 x=11 y=15></rec t> <path d =M14.332,1 2.2a1.99,1 .99,0,0,1, .166.8H15V 12H14.245Z ></path> < rect heigh t=1 width= 1 x=14 y=1 5></rect> <rect heig ht=1 width =1 x=15 y= 11></rect> </g> <pol yline clas s=ql-strok e points=\ \\"5.5 13 9 5 12.5 1 3\\\"></po lyline> <l ine class= ql-stroke x1=11.63 x 2=6.38 y1= 11 y2=11>< /line> </s vg>\";\n\n /***/ }),\ n/* 81 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <rect clas s=\\\"ql-f ill ql-str oke\\\" he ight=3 wid th=3 x=4 y =5></rect> <rect cla ss=\\\"ql- fill ql-st roke\\\" h eight=3 wi dth=3 x=11 y=5></rec t> <path c lass=\\\"q l-even ql- fill ql-st roke\\\" d =M7,8c0,4. 031-3,5-3, 5></path> <path clas s=\\\"ql-e ven ql-fil l ql-strok e\\\" d=M1 4,8c0,4.03 1-3,5-3,5> </path> </ svg>\";\n\ n/***/ }), \n/* 82 */ \n/***/ (f unction(mo dule, expo rts) {\n\n module.exp orts = \"< svg viewbo x=\\\"0 0 18 18\\\"> <path cla ss=ql-stro ke d=M5,4H 9.5A2.5,2. 5,0,0,1,12 ,6.5v0A2.5 ,2.5,0,0,1 ,9.5,9H5A0 ,0,0,0,1,5 ,9V4A0,0,0 ,0,1,5,4Z> </path> <p ath class= ql-stroke d=M5,9h5.5 A2.5,2.5,0 ,0,1,13,11 .5v0A2.5,2 .5,0,0,1,1 0.5,14H5a0 ,0,0,0,1,0 ,0V9A0,0,0 ,0,1,5,9Z> </path> </ svg>\";\n\ n/***/ }), \n/* 83 */ \n/***/ (f unction(mo dule, expo rts) {\n\n module.exp orts = \"< svg class= \\\"\\\" v iewbox=\\\ "0 0 18 18 \\\"> <lin e class=ql -stroke x1 =5 x2=13 y 1=3 y2=3>< /line> <li ne class=q l-stroke x 1=6 x2=9.3 5 y1=12 y2 =3></line> <line cla ss=ql-stro ke x1=11 x 2=15 y1=11 y2=15></l ine> <line class=ql- stroke x1= 15 x2=11 y 1=11 y2=15 ></line> < rect class =ql-fill h eight=1 rx =0.5 ry=0. 5 width=7 x=2 y=14>< /rect> </s vg>\";\n\n /***/ }),\ n/* 84 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <line clas s=\\\"ql-c olor-label ql-stroke ql-transp arent\\\" x1=3 x2=15 y1=15 y2= 15></line> <polyline class=ql- stroke poi nts=\\\"5. 5 11 9 3 1 2.5 11\\\" ></polylin e> <line c lass=ql-st roke x1=11 .63 x2=6.3 8 y1=9 y2= 9></line> </svg>\";\ n\n/***/ } ),\n/* 85 */\n/***/ (function( module, ex ports) {\n \nmodule.e xports = \ "<svg view box=\\\"0 0 18 18\\\ "> <polygo n class=\\ \"ql-strok e ql-fill\ \\" points =\\\"3 11 5 9 3 7 3 11\\\"></p olygon> <l ine class= \\\"ql-str oke ql-fil l\\\" x1=1 5 x2=11 y1 =4 y2=4></ line> <pat h class=ql -fill d=M1 1,3a3,3,0, 0,0,0,6h1V 3H11Z></pa th> <rect class=ql-f ill height =11 width= 1 x=11 y=4 ></rect> < rect class =ql-fill h eight=11 w idth=1 x=1 3 y=4></re ct> </svg> \";\n\n/** */ }),\n/* 86 */\n/* **/ (funct ion(module , exports) {\n\nmodu le.exports = \"<svg viewbox=\\ \"0 0 18 1 8\\\"> <po lygon clas s=\\\"ql-s troke ql-f ill\\\" po ints=\\\"1 5 12 13 10 15 8 15 1 2\\\"></po lygon> <li ne class=\ \\"ql-stro ke ql-fill \\\" x1=9 x2=5 y1=4 y2=4></lin e> <path c lass=ql-fi ll d=M5,3A 3,3,0,0,0, 5,9H6V3H5Z ></path> < rect class =ql-fill h eight=11 w idth=1 x=5 y=4></rec t> <rect c lass=ql-fi ll height= 11 width=1 x=7 y=4>< /rect> </s vg>\";\n\n /***/ }),\ n/* 87 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <path clas s=ql-fill d=M14,16H4 a1,1,0,0,1 ,0-2H14A1, 1,0,0,1,14 ,16Z /> <p ath class= ql-fill d= M14,4H4A1, 1,0,0,1,4, 2H14A1,1,0 ,0,1,14,4Z /> <rect class=ql-f ill x=3 y= 6 width=12 height=6 rx=1 ry=1 /> </svg>\ ";\n\n/*** / }),\n/* 88 */\n/** */ (functi on(module, exports) {\n\nmodul e.exports = \"<svg v iewbox=\\\ "0 0 18 18 \\\"> <pat h class=ql -fill d=M1 3,16H5a1,1 ,0,0,1,0-2 h8A1,1,0,0 ,1,13,16Z /> <path c lass=ql-fi ll d=M13,4 H5A1,1,0,0 ,1,5,2h8A1 ,1,0,0,1,1 3,4Z /> <r ect class= ql-fill x= 2 y=6 widt h=14 heigh t=6 rx=1 r y=1 /> </s vg>\";\n\n /***/ }),\ n/* 89 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <path clas s=ql-fill d=M15,8H13 a1,1,0,0,1 ,0-2h2A1,1 ,0,0,1,15, 8Z /> <pat h class=ql -fill d=M1 5,12H13a1, 1,0,0,1,0- 2h2A1,1,0, 0,1,15,12Z /> <path class=ql-f ill d=M15, 16H5a1,1,0 ,0,1,0-2H1 5A1,1,0,0, 1,15,16Z / > <path cl ass=ql-fil l d=M15,4H 5A1,1,0,0, 1,5,2H15A1 ,1,0,0,1,1 5,4Z /> <r ect class= ql-fill x= 2 y=6 widt h=8 height =6 rx=1 ry =1 /> </sv g>\";\n\n/ ***/ }),\n /* 90 */\n /***/ (fun ction(modu le, export s) {\n\nmo dule.expor ts = \"<sv g viewbox= \\\"0 0 18 18\\\"> < path class =ql-fill d =M5,8H3A1, 1,0,0,1,3, 6H5A1,1,0, 0,1,5,8Z / > <path cl ass=ql-fil l d=M5,12H 3a1,1,0,0, 1,0-2H5A1, 1,0,0,1,5, 12Z /> <pa th class=q l-fill d=M 13,16H3a1, 1,0,0,1,0- 2H13A1,1,0 ,0,1,13,16 Z /> <path class=ql- fill d=M13 ,4H3A1,1,0 ,0,1,3,2H1 3A1,1,0,0, 1,13,4Z /> <rect cla ss=ql-fill x=8 y=6 w idth=8 hei ght=6 rx=1 ry=1 tran sform=\\\" translate( 24 18) rot ate(-180)\ \\"/> </sv g>\";\n\n/ ***/ }),\n /* 91 */\n /***/ (fun ction(modu le, export s) {\n\nmo dule.expor ts = \"<sv g viewbox= \\\"0 0 18 18\\\"> < path class =ql-fill d =M11.759,2 .482a2.561 ,2.561,0,0 ,0-3.53.60 7A7.656,7. 656,0,0,0, 6.8,6.2C6. 109,9.188, 5.275,14.6 77,4.15,14 .927a1.545 ,1.545,0,0 ,0-1.3-.93 3A0.922,0. 922,0,0,0, 2,15.036S1 .954,16,4. 119,16s3.0 91-2.691,3 .7-5.553c0 .177-.826. 36-1.726,0 .554-2.6L8 .775,6.2c0 .381-1.421 .807-2.521 ,1.306-2.6 76a1.014,1 .014,0,0,0 ,1.02.56A0 .966,0.966 ,0,0,0,11. 759,2.482Z ></path> < rect class =ql-fill h eight=1.6 rx=0.8 ry= 0.8 width= 5 x=5.15 y =6.2></rec t> <path c lass=ql-fi ll d=M13.6 63,12.027a 1.662,1.66 2,0,0,1,.2 66-0.276q0 .193,0.069 .456,0.138 a2.1,2.1,0 ,0,0,.535. 069,1.075, 1.075,0,0, 0,.767-0.3 ,1.044,1.0 44,0,0,0,. 314-0.8,0. 84,0.84,0, 0,0-.238-0 .619,0.8,0 .8,0,0,0-. 594-0.239, 1.154,1.15 4,0,0,0-.7 81.3,4.607 ,4.607,0,0 ,0-.781,1q -0.091.15- .218,0.346 l-0.246.38 c-0.068-.2 88-0.137-0 .582-0.212 -0.885-0.4 59-1.847-2 .494-.984- 2.941-0.8- 0.482.2-.3 53,0.647-0 .094,0.529 a0.869,0.8 69,0,0,1,1 .281.585c0 .217,0.751 .377,1.436 ,0.527,2.0 38a5.688,5 .688,0,0,1 -.362.467, 2.69,2.69, 0,0,1-.264 .271q-0.22 1-.08-0.47 1-0.147a2. 029,2.029, 0,0,0-.522 -0.066,1.0 79,1.079,0 ,0,0-.768. 3A1.058,1. 058,0,0,0, 9,15.131a0 .82,0.82,0 ,0,0,.832. 852,1.134, 1.134,0,0, 0,.787-0.3 ,5.11,5.11 ,0,0,0,.77 6-0.993q0. 141-.219.2 15-0.34c0. 046-.076.1 22-0.194,0 .223-0.346 a2.786,2.7 86,0,0,0,. 918,1.726, 2.582,2.58 2,0,0,0,2. 376-.185c0 .317-.181. 212-0.565, 0-0.494A0. 807,0.807, 0,0,1,14.1 76,15a5.15 9,5.159,0, 0,1-.913-2 .446l0,0Q1 3.487,12.2 4,13.663,1 2.027Z></p ath> </svg >\";\n\n/* **/ }),\n/ * 92 */\n/ ***/ (func tion(modul e, exports ) {\n\nmod ule.export s = \"<svg viewBox=\ \\"0 0 18 18\\\"> <p ath class= ql-fill d= M10,4V14a1 ,1,0,0,1-2 ,0V10H3v4a 1,1,0,0,1- 2,0V4A1,1, 0,0,1,3,4V 8H8V4a1,1, 0,0,1,2,0Z m6.06787,9 .209H14.98 975V7.5986 3a.54085.5 4085,0,0,0 -.605-.605 47h-.62744 a1.01119,1 .01119,0,0 ,0-.748.29 688L11.645 ,8.56641a. 5435.5435, 0,0,0-.022 .8584l.286 13.30762a. 53861.5386 1,0,0,0,.8 4717.0332l .09912-.08 789a1.2137 ,1.2137,0, 0,0,.2417- .35254h.02 246s-.0112 3.30859-.0 1123.60547 V13.209H12 .041a.5408 5.54085,0, 0,0-.605.6 0547v.4394 5a.54085.5 4085,0,0,0 ,.605.6054 7h4.02686a .54085.540 85,0,0,0,. 605-.60547 v-.43945A. 54085.5408 5,0,0,0,16 .06787,13. 209Z /> </ svg>\";\n\ n/***/ }), \n/* 93 */ \n/***/ (f unction(mo dule, expo rts) {\n\n module.exp orts = \"< svg viewBo x=\\\"0 0 18 18\\\"> <path cla ss=ql-fill d=M16.739 75,13.8144 5v.43945a. 54085.5408 5,0,0,1-.6 05.60547H1 1.855a.583 92.58392,0 ,0,1-.6489 3-.60547V1 4.0127c0-2 .90527,3.3 9941-3.421 87,3.39941 -4.55469a. 77675.7767 5,0,0,0-.8 4717-.7812 5,1.17684, 1.17684,0, 0,0-.83594 .38477c-.2 749.26367- .561.374-. 85791.1318 4l-.4292-. 34082c-.30 811-.24219 -.38525-.5 1758-.1543 -.81445a2. 97155,2.97 155,0,0,1, 2.45361-1. 17676,2.45 393,2.4539 3,0,0,1,2. 68408,2.40 918c0,2.45 312-3.1792 ,2.92676-3 .27832,3.9 3848h2.794 43A.54085. 54085,0,0, 1,16.73975 ,13.81445Z M9,3A.9997 4.99974,0, 0,0,8,4V8H 3V4A1,1,0, 0,0,1,4V14 a1,1,0,0,0 ,2,0V10H8v 4a1,1,0,0, 0,2,0V4A.9 9974.99974 ,0,0,0,9,3 Z /> </svg >\";\n\n/* **/ }),\n/ * 94 */\n/ ***/ (func tion(modul e, exports ) {\n\nmod ule.export s = \"<svg viewbox=\ \\"0 0 18 18\\\"> <l ine class= ql-stroke x1=7 x2=13 y1=4 y2=4 ></line> < line class =ql-stroke x1=5 x2=1 1 y1=14 y2 =14></line > <line cl ass=ql-str oke x1=8 x 2=10 y1=14 y2=4></li ne> </svg> \";\n\n/** */ }),\n/* 95 */\n/* **/ (funct ion(module , exports) {\n\nmodu le.exports = \"<svg viewbox=\\ \"0 0 18 1 8\\\"> <re ct class=q l-stroke h eight=10 w idth=12 x= 3 y=4></re ct> <circl e class=ql -fill cx=6 cy=7 r=1> </circle> <polyline class=\\\" ql-even ql -fill\\\" points=\\\ "5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12 \\\"></pol yline> </s vg>\";\n\n /***/ }),\ n/* 96 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <line clas s=ql-strok e x1=3 x2= 15 y1=14 y 2=14></lin e> <line c lass=ql-st roke x1=3 x2=15 y1=4 y2=4></li ne> <line class=ql-s troke x1=9 x2=15 y1= 9 y2=9></l ine> <poly line class =\\\"ql-fi ll ql-stro ke\\\" poi nts=\\\"3 7 3 11 5 9 3 7\\\">< /polyline> </svg>\"; \n\n/***/ }),\n/* 97 */\n/***/ (function (module, e xports) {\ n\nmodule. exports = \"<svg vie wbox=\\\"0 0 18 18\\ \"> <line class=ql-s troke x1=3 x2=15 y1= 14 y2=14>< /line> <li ne class=q l-stroke x 1=3 x2=15 y1=4 y2=4> </line> <l ine class= ql-stroke x1=9 x2=15 y1=9 y2=9 ></line> < polyline c lass=ql-st roke point s=\\\"5 7 5 11 3 9 5 7\\\"></p olyline> < /svg>\";\n \n/***/ }) ,\n/* 98 * /\n/***/ ( function(m odule, exp orts) {\n\ nmodule.ex ports = \" <svg viewb ox=\\\"0 0 18 18\\\" > <line cl ass=ql-str oke x1=7 x 2=11 y1=7 y2=11></li ne> <path class=\\\" ql-even ql -stroke\\\ " d=M8.9,4 .577a3.476 ,3.476,0,0 ,1,.36,4.6 79A3.476,3 .476,0,0,1 ,4.577,8.9 C3.185,7.5 ,2.035,6.4 ,4.217,4.2 17S7.5,3.1 85,8.9,4.5 77Z></path > <path cl ass=\\\"ql -even ql-s troke\\\" d=M13.423, 9.1a3.476, 3.476,0,0, 0-4.679-.3 6,3.476,3. 476,0,0,0, .36,4.679c 1.392,1.39 2,2.5,2.54 2,4.679.36 S14.815,10 .5,13.423, 9.1Z></pat h> </svg>\ ";\n\n/*** / }),\n/* 99 */\n/** */ (functi on(module, exports) {\n\nmodul e.exports = \"<svg v iewbox=\\\ "0 0 18 18 \\\"> <lin e class=ql -stroke x1 =7 x2=15 y 1=4 y2=4>< /line> <li ne class=q l-stroke x 1=7 x2=15 y1=9 y2=9> </line> <l ine class= ql-stroke x1=7 x2=15 y1=14 y2= 14></line> <line cla ss=\\\"ql- stroke ql- thin\\\" x 1=2.5 x2=4 .5 y1=5.5 y2=5.5></l ine> <path class=ql- fill d=M3. 5,6A0.5,0. 5,0,0,1,3, 5.5V3.085l -0.276.138 A0.5,0.5,0 ,0,1,2.053 ,3c-0.124- .247-0.023 -0.324.224 -0.447l1-. 5A0.5,0.5, 0,0,1,4,2. 5v3A0.5,0. 5,0,0,1,3. 5,6Z></pat h> <path c lass=\\\"q l-stroke q l-thin\\\" d=M4.5,10 .5h-2c0-.2 34,1.85-1. 076,1.85-2 .234A0.959 ,0.959,0,0 ,0,2.5,8.1 56></path> <path cla ss=\\\"ql- stroke ql- thin\\\" d =M2.5,14.8 46a0.959,0 .959,0,0,0 ,1.85-.109 A0.7,0.7,0 ,0,0,3.75, 14a0.688,0 .688,0,0,0 ,.6-0.736, 0.959,0.95 9,0,0,0-1. 85-.109></ path> </sv g>\";\n\n/ ***/ }),\n /* 100 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <line clas s=ql-strok e x1=6 x2= 15 y1=4 y2 =4></line> <line cla ss=ql-stro ke x1=6 x2 =15 y1=9 y 2=9></line > <line cl ass=ql-str oke x1=6 x 2=15 y1=14 y2=14></l ine> <line class=ql- stroke x1= 3 x2=3 y1= 4 y2=4></l ine> <line class=ql- stroke x1= 3 x2=3 y1= 9 y2=9></l ine> <line class=ql- stroke x1= 3 x2=3 y1= 14 y2=14>< /line> </s vg>\";\n\n /***/ }),\ n/* 101 */ \n/***/ (f unction(mo dule, expo rts) {\n\n module.exp orts = \"< svg class= \\\"\\\" v iewbox=\\\ "0 0 18 18 \\\"> <lin e class=ql -stroke x1 =9 x2=15 y 1=4 y2=4>< /line> <po lyline cla ss=ql-stro ke points= \\\"3 4 4 5 6 3\\\"> </polyline > <line cl ass=ql-str oke x1=9 x 2=15 y1=14 y2=14></l ine> <poly line class =ql-stroke points=\\ \"3 14 4 1 5 6 13\\\" ></polylin e> <line c lass=ql-st roke x1=9 x2=15 y1=9 y2=9></li ne> <polyl ine class= ql-stroke points=\\\ "3 9 4 10 6 8\\\"></ polyline> </svg>\";\ n\n/***/ } ),\n/* 102 */\n/***/ (function (module, e xports) {\ n\nmodule. exports = \"<svg vie wbox=\\\"0 0 18 18\\ \"> <path class=ql-f ill d=M15. 5,15H13.86 1a3.858,3. 858,0,0,0, 1.914-2.97 5,1.8,1.8, 0,0,0-1.6- 1.751A1.92 1,1.921,0, 0,0,12.021 ,11.7a0.50 013,0.5001 3,0,1,0,.9 57.291h0a0 .914,0.914 ,0,0,1,1.0 53-.725,0. 81,0.81,0, 0,1,.744.7 62c0,1.076 -1.16971,1 .86982-1.9 3971,2.430 82A1.45639 ,1.45639,0 ,0,0,12,15 .5a0.5,0.5 ,0,0,0,.5. 5h3A0.5,0. 5,0,0,0,15 .5,15Z /> <path clas s=ql-fill d=M9.65,5. 241a1,1,0, 0,0-1.409. 108L6,7.96 4,3.759,5. 349A1,1,0, 0,0,2.192, 6.59178Q2. 21541,6.62 13,2.241,6 .649L4.684 ,9.5,2.241 ,12.35A1,1 ,0,0,0,3.7 1,13.70722 q0.02557-. 02768.049- 0.05722L6, 11.036,8.2 41,13.65a1 ,1,0,1,0,1 .567-1.242 77Q9.78459 ,12.3777,9 .759,12.35 L7.316,9.5 ,9.759,6.6 51A1,1,0,0 ,0,9.65,5. 241Z /> </ svg>\";\n\ n/***/ }), \n/* 103 * /\n/***/ ( function(m odule, exp orts) {\n\ nmodule.ex ports = \" <svg viewb ox=\\\"0 0 18 18\\\" > <path cl ass=ql-fil l d=M15.5, 7H13.861a4 .015,4.015 ,0,0,0,1.9 14-2.975,1 .8,1.8,0,0 ,0-1.6-1.7 51A1.922,1 .922,0,0,0 ,12.021,3. 7a0.5,0.5, 0,1,0,.957 .291,0.917 ,0.917,0,0 ,1,1.053-. 725,0.81,0 .81,0,0,1, .744.762c0 ,1.077-1.1 64,1.925-1 .934,2.486 A1.423,1.4 23,0,0,0,1 2,7.5a0.5, 0.5,0,0,0, .5.5h3A0.5 ,0.5,0,0,0 ,15.5,7Z / > <path cl ass=ql-fil l d=M9.651 ,5.241a1,1 ,0,0,0-1.4 1.108L6,7. 964,3.759, 5.349a1,1, 0,1,0-1.51 9,1.3L4.68 3,9.5,2.24 1,12.35a1, 1,0,1,0,1. 519,1.3L6, 11.036,8.2 41,13.65a1 ,1,0,0,0,1 .519-1.3L7 .317,9.5,9 .759,6.651 A1,1,0,0,0 ,9.651,5.2 41Z /> </s vg>\";\n\n /***/ }),\ n/* 104 */ \n/***/ (f unction(mo dule, expo rts) {\n\n module.exp orts = \"< svg viewbo x=\\\"0 0 18 18\\\"> <line cla ss=\\\"ql- stroke ql- thin\\\" x 1=15.5 x2= 2.5 y1=8.5 y2=9.5></ line> <pat h class=ql -fill d=M9 .007,8C6.5 42,7.791,6 ,7.519,6,6 .5,6,5.792 ,7.283,5,9 ,5c1.571,0 ,2.765.679 ,2.969,1.3 09a1,1,0,0 ,0,1.9-.61 7C13.356,4 .106,11.35 4,3,9,3,6. 2,3,4,4.53 8,4,6.5a3. 2,3.2,0,0, 0,.5,1.843 Z></path> <path clas s=ql-fill d=M8.984,1 0C11.457,1 0.208,12,1 0.479,12,1 1.5c0,0.70 8-1.283,1. 5-3,1.5-1. 571,0-2.76 5-.679-2.9 69-1.309a1 ,1,0,1,0-1 .9.617C4.6 44,13.894, 6.646,15,9 ,15c2.8,0, 5-1.538,5- 3.5a3.2,3. 2,0,0,0-.5 -1.843Z></ path> </sv g>\";\n\n/ ***/ }),\n /* 105 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <path clas s=ql-strok e d=M5,3V9 a4.012,4.0 12,0,0,0,4 ,4H9a4.012 ,4.012,0,0 ,0,4-4V3>< /path> <re ct class=q l-fill hei ght=1 rx=0 .5 ry=0.5 width=12 x =3 y=15></ rect> </sv g>\";\n\n/ ***/ }),\n /* 106 */\ n/***/ (fu nction(mod ule, expor ts) {\n\nm odule.expo rts = \"<s vg viewbox =\\\"0 0 1 8 18\\\"> <rect clas s=ql-strok e height=1 2 width=12 x=3 y=3>< /rect> <re ct class=q l-fill hei ght=12 wid th=1 x=5 y =3></rect> <rect cla ss=ql-fill height=12 width=1 x =12 y=3></ rect> <rec t class=ql -fill heig ht=2 width =8 x=5 y=8 ></rect> < rect class =ql-fill h eight=1 wi dth=3 x=3 y=5></rect > <rect cl ass=ql-fil l height=1 width=3 x =3 y=7></r ect> <rect class=ql- fill heigh t=1 width= 3 x=3 y=10 ></rect> < rect class =ql-fill h eight=1 wi dth=3 x=3 y=12></rec t> <rect c lass=ql-fi ll height= 1 width=3 x=12 y=5>< /rect> <re ct class=q l-fill hei ght=1 widt h=3 x=12 y =7></rect> <rect cla ss=ql-fill height=1 width=3 x= 12 y=10></ rect> <rec t class=ql -fill heig ht=1 width =3 x=12 y= 12></rect> </svg>\"; \n\n/***/ }),\n/* 10 7 */\n/*** / (functio n(module, exports) { \n\nmodule .exports = \"<svg vi ewbox=\\\" 0 0 18 18\ \\"> <poly gon class= ql-stroke points=\\\ "7 11 9 13 11 11 7 1 1\\\"></po lygon> <po lygon clas s=ql-strok e points=\ \\"7 7 9 5 11 7 7 7\ \\"></poly gon> </svg >\";\n\n/* **/ }),\n/ * 108 */\n /***/ (fun ction(modu le, export s, __webpa ck_require __) {\n\n\ "use stric t\";\n\n\n Object.def inePropert y(exports, \"__esMod ule\", {\n value: t rue\n});\n exports.de fault = ex ports.Bubb leTooltip = undefine d;\n\nvar _get = fun ction get( object, pr operty, re ceiver) { if (object === null) object = Function.p rototype; var desc = Object.ge tOwnProper tyDescript or(object, property) ; if (desc === undef ined) { va r parent = Object.ge tPrototype Of(object) ; if (pare nt === nul l) { retur n undefine d; } else { return g et(parent, property, receiver) ; } } else if (\"val ue\" in de sc) { retu rn desc.va lue; } els e { var ge tter = des c.get; if (getter == = undefine d) { retur n undefine d; } retur n getter.c all(receiv er); } };\ n\nvar _cr eateClass = function () { func tion defin ePropertie s(target, props) { f or (var i = 0; i < p rops.lengt h; i++) { var descri ptor = pro ps[i]; des criptor.en umerable = descripto r.enumerab le || fals e; descrip tor.config urable = t rue; if (\ "value\" i n descript or) descri ptor.writa ble = true ; Object.d efinePrope rty(target , descript or.key, de scriptor); } } retur n function (Construc tor, proto Props, sta ticProps) { if (prot oProps) de fineProper ties(Const ructor.pro totype, pr otoProps); if (stati cProps) de fineProper ties(Const ructor, st aticProps) ; return C onstructor ; }; }();\ n\nvar _ex tend = __w ebpack_req uire__(3); \n\nvar _e xtend2 = _ interopReq uireDefaul t(_extend) ;\n\nvar _ emitter = __webpack_ require__( 8);\n\nvar _emitter2 = _intero pRequireDe fault(_emi tter);\n\n var _base = __webpac k_require_ _(43);\n\n var _base2 = _intero pRequireDe fault(_bas e);\n\nvar _selectio n = __webp ack_requir e__(15);\n \nvar _ico ns = __web pack_requi re__(41);\ n\nvar _ic ons2 = _in teropRequi reDefault( _icons);\n \nfunction _interopR equireDefa ult(obj) { return ob j && obj._ _esModule ? obj : { default: o bj }; }\n\ nfunction _classCall Check(inst ance, Cons tructor) { if (!(ins tance inst anceof Con structor)) { throw n ew TypeErr or(\"Canno t call a c lass as a function\" ); } }\n\n function _ possibleCo nstructorR eturn(self , call) { if (!self) { throw n ew Referen ceError(\" this hasn' t been ini tialised - super() h asn't been called\") ; } return call && ( typeof cal l === \"ob ject\" || typeof cal l === \"fu nction\") ? call : s elf; }\n\n function _ inherits(s ubClass, s uperClass) { if (typ eof superC lass !== \ "function\ " && super Class !== null) { th row new Ty peError(\" Super expr ession mus t either b e null or a function , not \" + typeof su perClass); } subClas s.prototyp e = Object .create(su perClass & & superCla ss.prototy pe, { cons tructor: { value: su bClass, en umerable: false, wri table: tru e, configu rable: tru e } }); if (superCla ss) Object .setProtot ypeOf ? Ob ject.setPr ototypeOf( subClass, superClass ) : subCla ss.__proto __ = super Class; }\n \nvar TOOL BAR_CONFIG = [['bold ', 'italic ', 'link'] , [{ heade r: 1 }, { header: 2 }, 'blockq uote']];\n \nvar Bubb leTheme = function ( _BaseTheme ) {\n _in herits(Bub bleTheme, _BaseTheme );\n\n fu nction Bub bleTheme(q uill, opti ons) {\n _classCa llCheck(th is, Bubble Theme);\n\ n if (o ptions.mod ules.toolb ar != null && option s.modules. toolbar.co ntainer == null) {\n opti ons.module s.toolbar. container = TOOLBAR_ CONFIG;\n }\n\n var _thi s = _possi bleConstru ctorReturn (this, (Bu bbleTheme. __proto__ || Object. getPrototy peOf(Bubbl eTheme)).c all(this, quill, opt ions));\n\ n _this .quill.con tainer.cla ssList.add ('ql-bubbl e');\n return _th is;\n }\n \n _creat eClass(Bub bleTheme, [{\n ke y: 'extend Toolbar',\ n value : function extendToo lbar(toolb ar) {\n this.to oltip = ne w BubbleTo oltip(this .quill, th is.options .bounds);\ n thi s.tooltip. root.appen dChild(too lbar.conta iner);\n this.b uildButton s([].slice .call(tool bar.contai ner.queryS electorAll ('button') ), _icons2 .default); \n th is.buildPi ckers([].s lice.call( toolbar.co ntainer.qu erySelecto rAll('sele ct')), _ic ons2.defau lt);\n }\n }]);\ n\n retur n BubbleTh eme;\n}(_b ase2.defau lt);\n\nBu bbleTheme. DEFAULTS = (0, _exte nd2.defaul t)(true, { }, _base2. default.DE FAULTS, {\ n modules : {\n t oolbar: {\ n han dlers: {\n li nk: functi on link(va lue) {\n if (!value) {\n this. quill.form at('link', false);\n } else {\n this.qui ll.theme.t ooltip.edi t();\n }\n }\n }\n }\n }\ n});\n\nva r BubbleTo oltip = fu nction (_B aseTooltip ) {\n _in herits(Bub bleTooltip , _BaseToo ltip);\n\n function BubbleToo ltip(quill , bounds) {\n _cl assCallChe ck(this, B ubbleToolt ip);\n\n var _thi s2 = _poss ibleConstr uctorRetur n(this, (B ubbleToolt ip.__proto __ || Obje ct.getProt otypeOf(Bu bbleToolti p)).call(t his, quill , bounds)) ;\n\n _ this2.quil l.on(_emit ter2.defau lt.events. EDITOR_CHA NGE, funct ion (type, range, ol dRange, so urce) {\n if (t ype !== _e mitter2.de fault.even ts.SELECTI ON_CHANGE) return;\n if ( range != n ull && ran ge.length > 0 && sou rce === _e mitter2.de fault.sour ces.USER) {\n _this2.sh ow();\n // Lo ck our wid th so we w ill expand beyond ou r offsetPa rent bound aries\n _this 2.root.sty le.left = '0px';\n _thi s2.root.st yle.width = '';\n _this 2.root.sty le.width = _this2.ro ot.offsetW idth + 'px ';\n var line s = _this2 .quill.get Lines(rang e.index, r ange.lengt h);\n if (lin es.length === 1) {\n _this2.pos ition(_thi s2.quill.g etBounds(r ange));\n } e lse {\n var lastLine = lines[li nes.length - 1];\n va r index = _this2.qui ll.getInde x(lastLine );\n var le ngth = Mat h.min(last Line.lengt h() - 1, r ange.index + range.l ength - in dex);\n var _bounds = _this2.qu ill.getBou nds(new _s election.R ange(index , length)) ;\n _this2. position(_ bounds);\n }\ n } e lse if (do cument.act iveElement !== _this 2.textbox && _this2. quill.hasF ocus()) {\ n _ this2.hide ();\n }\n }) ;\n ret urn _this2 ;\n }\n\n _createC lass(Bubbl eTooltip, [{\n ke y: 'listen ',\n va lue: funct ion listen () {\n var _thi s3 = this; \n\n _get(Bubbl eTooltip.p rototype._ _proto__ | | Object.g etPrototyp eOf(Bubble Tooltip.pr ototype), 'listen', this).call (this);\n this. root.query Selector(' .ql-close' ).addEvent Listener(' click', fu nction () {\n _this3.ro ot.classLi st.remove( 'ql-editin g');\n });\n this.qu ill.on(_em itter2.def ault.event s.SCROLL_O PTIMIZE, f unction () {\n // Let s election b e restored by toolba r handlers before re positionin g\n setTimeou t(function () {\n if (_this3.ro ot.classLi st.contain s('ql-hidd en')) retu rn;\n var r ange = _th is3.quill. getSelecti on();\n if (range != null) {\n _this3.po sition(_th is3.quill. getBounds( range));\n }\n }, 1);\n });\n }\n } , {\n k ey: 'cance l',\n v alue: func tion cance l() {\n this.sh ow();\n }\n }, { \n key: 'position ',\n va lue: funct ion positi on(referen ce) {\n var shi ft = _get( BubbleTool tip.protot ype.__prot o__ || Obj ect.getPro totypeOf(B ubbleToolt ip.prototy pe), 'posi tion', thi s).call(th is, refere nce);\n var arr ow = this. root.query Selector(' .ql-toolti p-arrow'); \n ar row.style. marginLeft = '';\n if (sh ift === 0) return sh ift;\n arrow.st yle.margin Left = -1 * shift - arrow.offs etWidth / 2 + 'px';\ n }\n }]);\n\n return Bub bleTooltip ;\n}(_base .BaseToolt ip);\n\nBu bbleToolti p.TEMPLATE = ['<span class=\"q l-tooltip- arrow\"></ span>', '< div class= \"ql-toolt ip-editor\ ">', '<inp ut type=\" text\" dat a-formula= \"e=mc^2\" data-link =\"https:/ /quilljs.c om\" data- video=\"Em bed URL\"> ', '<a cla ss=\"ql-cl ose\"></a> ', '</div> '].join('' );\n\nexpo rts.Bubble Tooltip = BubbleTool tip;\nexpo rts.defaul t = Bubble Theme;\n\n /***/ }),\ n/* 109 */ \n/***/ (f unction(mo dule, expo rts, __web pack_requi re__) {\n\ nmodule.ex ports = __ webpack_re quire__(63 );\n\n\n/* **/ })\n/* *****/ ]); \n});"},C8 on:functio n(e,t,n){n ("KF6U")(n ("wCEU"))} ,JwQK:func tion(e,t,n ){n("KF6U" )(n("vyVC" ))},KF6U:f unction(e, t){e.expor ts=functio n(e){"unde fined"!=ty peof execS cript?exec Script(e): eval.call( null,e)}}, ND2g:funct ion(e,t,n) {n("KF6U") (n("evzW") )},U9yF:fu nction(e,t ,n){n("KF6 U")(n("bwq Z"))},Yusr :function( e,t,n){n(" KF6U")(n(" +Bvp"))},b wqZ:functi on(e,t){e. exports="v ar gOpenDi v = null / / handle d ivs\n\nwin dow.onload = functio n() {\n / / handle c lose div o n blur\n document.a ddEventLis tener(\"cl ick\", fun ction(e) { \n if(g OpenDiv && gOpenDiv. contains(e .target) = == false) {\n gOpenDiv. setAttribu te('aria-h idden', tr ue) // hid e\n gOpenDiv = null\n }\n }, false)\n\n }\n\nfunct ion switch Sub(elem)\ n{\n div = document .getElemen tById(elem .getAttrib ute('aria- controls') )\n statu s = div.ge tAttribute ('aria-hid den')\n i f(status = == 'true') {\n di v.setAttri bute('aria -hidden', false) // show\n\n setTimeo ut(functio n() {\n gOpenDi v = this.d iv\n }) \n\n } el se {\n div.setAtt ribute('ar ia-hidden' , true) // hide\n } \n}\n"},ev zW:functio n(e,t){e.e xports='// ! moment.j s\n//! ver sion : 2.1 3.0\n//! a uthors : T im Wood, I skren Cher nev, Momen t.js contr ibutors\n/ /! license : MIT\n// ! momentjs .com\n!fun ction(a,b) {"object"= =typeof ex ports&&"un defined"!= typeof mod ule?module .exports=b ():"functi on"==typeo f define&& define.amd ?define(b) :a.moment= b()}(this, function() {"use stri ct";functi on a(){ret urn fd.app ly(null,ar guments)}f unction b( a){fd=a}fu nction c(a ){return a instanceo f Array||" [object Ar ray]"===Ob ject.proto type.toStr ing.call(a )}function d(a){retu rn a insta nceof Date ||"[object Date]"=== Object.pro totype.toS tring.call (a)}functi on e(a,b){ var c,d=[] ;for(c=0;c <a.length; ++c)d.push (b(a[c],c) );return d }function f(a,b){ret urn Object .prototype .hasOwnPro perty.call (a,b)}func tion g(a,b ){for(var c in b)f(b ,c)&&(a[c] =b[c]);ret urn f(b,"t oString")& &(a.toStri ng=b.toStr ing),f(b," valueOf")& &(a.valueO f=b.valueO f),a}funct ion h(a,b, c,d){retur n Ja(a,b,c ,d,!0).utc ()}functio n i(){retu rn{empty:! 1,unusedTo kens:[],un usedInput: [],overflo w:-2,chars LeftOver:0 ,nullInput :!1,invali dMonth:nul l,invalidF ormat:!1,u serInvalid ated:!1,is o:!1,parse dDateParts :[],meridi em:null}}f unction j( a){return null==a._p f&&(a._pf= i()),a._pf }function k(a){if(nu ll==a._isV alid){var b=j(a),c=g d.call(b.p arsedDateP arts,funct ion(a){ret urn null!= a});a._isV alid=!isNa N(a._d.get Time())&&b .overflow< 0&&!b.empt y&&!b.inva lidMonth&& !b.invalid Weekday&&! b.nullInpu t&&!b.inva lidFormat& &!b.userIn validated& &(!b.merid iem||b.mer idiem&&c), a._strict& &(a._isVal id=a._isVa lid&&0===b .charsLeft Over&&0=== b.unusedTo kens.lengt h&&void 0= ==b.bigHou r)}return a._isValid }function l(a){var b =h(NaN);re turn null! =a?g(j(b), a):j(b).us erInvalida ted=!0,b}f unction m( a){return void 0===a }function n(a,b){var c,d,e;if( m(b._isAMo mentObject )||(a._isA MomentObje ct=b._isAM omentObjec t),m(b._i) ||(a._i=b. _i),m(b._f )||(a._f=b ._f),m(b._ l)||(a._l= b._l),m(b. _strict)|| (a._strict =b._strict ),m(b._tzm )||(a._tzm =b._tzm),m (b._isUTC) ||(a._isUT C=b._isUTC ),m(b._off set)||(a._ offset=b._ offset),m( b._pf)||(a ._pf=j(b)) ,m(b._loca le)||(a._l ocale=b._l ocale),hd. length>0)f or(c in hd )d=hd[c],e =b[d],m(e) ||(a[d]=e) ;return a} function o (b){n(this ,b),this._ d=new Date (null!=b._ d?b._d.get Time():NaN ),id===!1& &(id=!0,a. updateOffs et(this),i d=!1)}func tion p(a){ return a i nstanceof o||null!=a &&null!=a. _isAMoment Object}fun ction q(a) {return 0> a?Math.cei l(a):Math. floor(a)}f unction r( a){var b=+ a,c=0;retu rn 0!==b&& isFinite(b )&&(c=q(b) ),c}functi on s(a,b,c ){var d,e= Math.min(a .length,b. length),f= Math.abs(a .length-b. length),g= 0;for(d=0; e>d;d++)(c &&a[d]!==b [d]||!c&&r (a[d])!==r (b[d]))&&g ++;return g+f}functi on t(b){a. suppressDe precationW arnings=== !1&&"undef ined"!=typ eof consol e&&console .warn&&con sole.warn( "Deprecati on warning : "+b)}fun ction u(b, c){var d=! 0;return g (function( ){return n ull!=a.dep recationHa ndler&&a.d eprecation Handler(nu ll,b),d&&( t(b+"\\nAr guments: " +Array.pro totype.sli ce.call(ar guments).j oin(", ")+ "\\n"+(new Error).st ack),d=!1) ,c.apply(t his,argume nts)},c)}f unction v( b,c){null! =a.depreca tionHandle r&&a.depre cationHand ler(b,c),j d[b]||(t(c ),jd[b]=!0 )}function w(a){retu rn a insta nceof Func tion||"[ob ject Funct ion]"===Ob ject.proto type.toStr ing.call(a )}function x(a){retu rn"[object Object]"= ==Object.p rototype.t oString.ca ll(a)}func tion y(a){ var b,c;fo r(c in a)b =a[c],w(b) ?this[c]=b :this["_"+ c]=b;this. _config=a, this._ordi nalParseLe nient=new RegExp(thi s._ordinal Parse.sour ce+"|"+/\\ d{1,2}/.so urce)}func tion z(a,b ){var c,d= g({},a);fo r(c in b)f (b,c)&&(x( a[c])&&x(b [c])?(d[c] ={},g(d[c] ,a[c]),g(d [c],b[c])) :null!=b[c ]?d[c]=b[c ]:delete d [c]);retur n d}functi on A(a){nu ll!=a&&thi s.set(a)}f unction B( a){return a?a.toLowe rCase().re place("_", "-"):a}fun ction C(a) {for(var b ,c,d,e,f=0 ;f<a.lengt h;){for(e= B(a[f]).sp lit("-"),b =e.length, c=B(a[f+1] ),c=c?c.sp lit("-"):n ull;b>0;){ if(d=D(e.s lice(0,b). join("-")) )return d; if(c&&c.le ngth>=b&&s (e,c,!0)>= b-1)break; b--}f++}re turn null} function D (a){var b= null;if(!n d[a]&&"und efined"!=t ypeof modu le&&module &&module.e xports)try {b=ld._abb r,require( "./locale/ "+a),E(b)} catch(c){} return nd[ a]}functio n E(a,b){v ar c;retur n a&&(c=m( b)?H(a):F( a,b),c&&(l d=c)),ld._ abbr}funct ion F(a,b) {return nu ll!==b?(b. abbr=a,nul l!=nd[a]?( v("defineL ocaleOverr ide","use moment.upd ateLocale( localeName , config) to change an existin g locale. moment.def ineLocale( localeName , config) should onl y be used for creati ng a new l ocale"),b= z(nd[a]._c onfig,b)): null!=b.pa rentLocale &&(null!=n d[b.parent Locale]?b= z(nd[b.par entLocale] ._config,b ):v("paren tLocaleUnd efined","s pecified p arentLocal e is not d efined yet ")),nd[a]= new A(b),E (a),nd[a]) :(delete n d[a],null) }function G(a,b){if( null!=b){v ar c;null! =nd[a]&&(b =z(nd[a]._ config,b)) ,c=new A(b ),c.parent Locale=nd[ a],nd[a]=c ,E(a)}else null!=nd[ a]&&(null! =nd[a].par entLocale? nd[a]=nd[a ].parentLo cale:null! =nd[a]&&de lete nd[a] );return n d[a]}funct ion H(a){v ar b;if(a& &a._locale &&a._local e._abbr&&( a=a._local e._abbr),! a)return l d;if(!c(a) ){if(b=D(a ))return b ;a=[a]}ret urn C(a)}f unction I( ){return k d(nd)}func tion J(a,b ){var c=a. toLowerCas e();od[c]= od[c+"s"]= od[b]=a}fu nction K(a ){return"s tring"==ty peof a?od[ a]||od[a.t oLowerCase ()]:void 0 }function L(a){var b ,c,d={};fo r(c in a)f (a,c)&&(b= K(c),b&&(d [b]=a[c])) ;return d} function M (b,c){retu rn functio n(d){retur n null!=d? (O(this,b, d),a.updat eOffset(th is,c),this ):N(this,b )}}functio n N(a,b){r eturn a.is Valid()?a. _d["get"+( a._isUTC?" UTC":"")+b ]():NaN}fu nction O(a ,b,c){a.is Valid()&&a ._d["set"+ (a._isUTC? "UTC":"")+ b](c)}func tion P(a,b ){var c;if ("object"= =typeof a) for(c in a )this.set( c,a[c]);el se if(a=K( a),w(this[ a]))return this[a](b );return t his}functi on Q(a,b,c ){var d="" +Math.abs( a),e=b-d.l ength,f=a> =0;return( f?c?"+":"" :"-")+Math .pow(10,Ma th.max(0,e )).toStrin g().substr (1)+d}func tion R(a,b ,c,d){var e=d;"strin g"==typeof d&&(e=fun ction(){re turn this[ d]()}),a&& (sd[a]=e), b&&(sd[b[0 ]]=functio n(){return Q(e.apply (this,argu ments),b[1 ],b[2])}), c&&(sd[c]= function() {return th is.localeD ata().ordi nal(e.appl y(this,arg uments),a) })}functio n S(a){ret urn a.matc h(/\\[[\\s \\S]/)?a.r eplace(/^\ \[|\\]$/g, ""):a.repl ace(/\\\\/ g,"")}func tion T(a){ var b,c,d= a.match(pd );for(b=0, c=d.length ;c>b;b++)s d[d[b]]?d[ b]=sd[d[b] ]:d[b]=S(d [b]);retur n function (b){var e, f="";for(e =0;c>e;e++ )f+=d[e]in stanceof F unction?d[ e].call(b, a):d[e];re turn f}}fu nction U(a ,b){return a.isValid ()?(b=V(b, a.localeDa ta()),rd[b ]=rd[b]||T (b),rd[b]( a)):a.loca leData().i nvalidDate ()}functio n V(a,b){f unction c( a){return b.longDate Format(a)| |a}var d=5 ;for(qd.la stIndex=0; d>=0&&qd.t est(a);)a= a.replace( qd,c),qd.l astIndex=0 ,d-=1;retu rn a}funct ion W(a,b, c){Kd[a]=w (b)?b:func tion(a,d){ return a&& c?c:b}}fun ction X(a, b){return f(Kd,a)?Kd [a](b._str ict,b._loc ale):new R egExp(Y(a) )}function Y(a){retu rn Z(a.rep lace("\\\\ ","").repl ace(/\\\\( \\[)|\\\\( \\])|\\[([ ^\\]\\[]*) \\]|\\\\(. )/g,functi on(a,b,c,d ,e){return b||c||d|| e}))}funct ion Z(a){r eturn a.re place(/[-\ \/\\\\^$*+ ?.()|[\\]{ }]/g,"\\\\ $&")}funct ion $(a,b) {var c,d=b ;for("stri ng"==typeo f a&&(a=[a ]),"number "==typeof b&&(d=func tion(a,c){ c[b]=r(a)} ),c=0;c<a. length;c++ )Ld[a[c]]= d}function _(a,b){$( a,function (a,c,d,e){ d._w=d._w| |{},b(a,d. _w,d,e)})} function a a(a,b,c){n ull!=b&&f( Ld,a)&&Ld[ a](b,c._a, c,a)}funct ion ba(a,b ){return n ew Date(Da te.UTC(a,b +1,0)).get UTCDate()} function c a(a,b){ret urn c(this ._months)? this._mont hs[a.month ()]:this._ months[Vd. test(b)?"f ormat":"st andalone"] [a.month() ]}function da(a,b){r eturn c(th is._months Short)?thi s._monthsS hort[a.mon th()]:this ._monthsSh ort[Vd.tes t(b)?"form at":"stand alone"][a. month()]}f unction ea (a,b,c){va r d,e,f,g= a.toLocale LowerCase( );if(!this ._monthsPa rse)for(th is._months Parse=[],t his._longM onthsParse =[],this._ shortMonth sParse=[], d=0;12>d;+ +d)f=h([2e 3,d]),this ._shortMon thsParse[d ]=this.mon thsShort(f ,"").toLoc aleLowerCa se(),this. _longMonth sParse[d]= this.month s(f,"").to LocaleLowe rCase();re turn c?"MM M"===b?(e= md.call(th is._shortM onthsParse ,g),-1!==e ?e:null):( e=md.call( this._long MonthsPars e,g),-1!== e?e:null): "MMM"===b? (e=md.call (this._sho rtMonthsPa rse,g),-1! ==e?e:(e=m d.call(thi s._longMon thsParse,g ),-1!==e?e :null)):(e =md.call(t his._longM onthsParse ,g),-1!==e ?e:(e=md.c all(this._ shortMonth sParse,g), -1!==e?e:n ull))}func tion fa(a, b,c){var d ,e,f;if(th is._months ParseExact )return ea .call(this ,a,b,c);fo r(this._mo nthsParse| |(this._mo nthsParse= [],this._l ongMonthsP arse=[],th is._shortM onthsParse =[]),d=0;1 2>d;d++){i f(e=h([2e3 ,d]),c&&!t his._longM onthsParse [d]&&(this ._longMont hsParse[d] =new RegEx p("^"+this .months(e, "").replac e(".","")+ "$","i"),t his._short MonthsPars e[d]=new R egExp("^"+ this.month sShort(e," ").replace (".","")+" $","i")),c ||this._mo nthsParse[ d]||(f="^" +this.mont hs(e,"")+" |^"+this.m onthsShort (e,""),thi s._monthsP arse[d]=ne w RegExp(f .replace(" .",""),"i" )),c&&"MMM M"===b&&th is._longMo nthsParse[ d].test(a) )return d; if(c&&"MMM "===b&&thi s._shortMo nthsParse[ d].test(a) )return d; if(!c&&thi s._monthsP arse[d].te st(a))retu rn d}}func tion ga(a, b){var c;i f(!a.isVal id())retur n a;if("st ring"==typ eof b)if(/ ^\\d+$/.te st(b))b=r( b);else if (b=a.local eData().mo nthsParse( b),"number "!=typeof b)return a ;return c= Math.min(a .date(),ba (a.year(), b)),a._d[" set"+(a._i sUTC?"UTC" :"")+"Mont h"](b,c),a }function ha(b){retu rn null!=b ?(ga(this, b),a.updat eOffset(th is,!0),thi s):N(this, "Month")}f unction ia (){return ba(this.ye ar(),this. month())}f unction ja (a){return this._mon thsParseEx act?(f(thi s,"_months Regex")||l a.call(thi s),a?this. _monthsSho rtStrictRe gex:this._ monthsShor tRegex):th is._months ShortStric tRegex&&a? this._mont hsShortStr ictRegex:t his._month sShortRege x}function ka(a){ret urn this._ monthsPars eExact?(f( this,"_mon thsRegex") ||la.call( this),a?th is._months StrictRege x:this._mo nthsRegex) :this._mon thsStrictR egex&&a?th is._months StrictRege x:this._mo nthsRegex} function l a(){functi on a(a,b){ return b.l ength-a.le ngth}var b ,c,d=[],e= [],f=[];fo r(b=0;12>b ;b++)c=h([ 2e3,b]),d. push(this. monthsShor t(c,"")),e .push(this .months(c, "")),f.pus h(this.mon ths(c,"")) ,f.push(th is.monthsS hort(c,"") );for(d.so rt(a),e.so rt(a),f.so rt(a),b=0; 12>b;b++)d [b]=Z(d[b] ),e[b]=Z(e [b]),f[b]= Z(f[b]);th is._months Regex=new RegExp("^( "+f.join(" |")+")","i "),this._m onthsShort Regex=this ._monthsRe gex,this._ monthsStri ctRegex=ne w RegExp(" ^("+e.join ("|")+")", "i"),this. _monthsSho rtStrictRe gex=new Re gExp("^("+ d.join("|" )+")","i") }function ma(a){var b,c=a._a;r eturn c&&- 2===j(a).o verflow&&( b=c[Nd]<0| |c[Nd]>11? Nd:c[Od]<1 ||c[Od]>ba (c[Md],c[N d])?Od:c[P d]<0||c[Pd ]>24||24== =c[Pd]&&(0 !==c[Qd]|| 0!==c[Rd]| |0!==c[Sd] )?Pd:c[Qd] <0||c[Qd]> 59?Qd:c[Rd ]<0||c[Rd] >59?Rd:c[S d]<0||c[Sd ]>999?Sd:- 1,j(a)._ov erflowDayO fYear&&(Md >b||b>Od)& &(b=Od),j( a)._overfl owWeeks&&- 1===b&&(b= Td),j(a)._ overflowWe ekday&&-1= ==b&&(b=Ud ),j(a).ove rflow=b),a }function na(a){var b,c,d,e,f, g,h=a._i,i =$d.exec(h )||_d.exec (h);if(i){ for(j(a).i so=!0,b=0, c=be.lengt h;c>b;b++) if(be[b][1 ].exec(i[1 ])){e=be[b ][0],d=be[ b][2]!==!1 ;break}if( null==e)re turn void( a._isValid =!1);if(i[ 3]){for(b= 0,c=ce.len gth;c>b;b+ +)if(ce[b] [1].exec(i [3])){f=(i [2]||" ")+ ce[b][0];b reak}if(nu ll==f)retu rn void(a. _isValid=! 1)}if(!d&& null!=f)re turn void( a._isValid =!1);if(i[ 4]){if(!ae .exec(i[4] ))return v oid(a._isV alid=!1);g ="Z"}a._f= e+(f||"")+ (g||""),Ca (a)}else a ._isValid= !1}functio n oa(b){va r c=de.exe c(b._i);re turn null! ==c?void(b ._d=new Da te(+c[1])) :(na(b),vo id(b._isVa lid===!1&& (delete b. _isValid,a .createFro mInputFall back(b)))) }function pa(a,b,c,d ,e,f,g){va r h=new Da te(a,b,c,d ,e,f,g);re turn 100>a &&a>=0&&is Finite(h.g etFullYear ())&&h.set FullYear(a ),h}functi on qa(a){v ar b=new D ate(Date.U TC.apply(n ull,argume nts));retu rn 100>a&& a>=0&&isFi nite(b.get UTCFullYea r())&&b.se tUTCFullYe ar(a),b}fu nction ra( a){return sa(a)?366: 365}functi on sa(a){r eturn a%4= ==0&&a%100 !==0||a%40 0===0}func tion ta(){ return sa( this.year( ))}functio n ua(a,b,c ){var d=7+ b-c,e=(7+q a(a,0,d).g etUTCDay() -b)%7;retu rn-e+d-1}f unction va (a,b,c,d,e ){var f,g, h=(7+c-d)% 7,i=ua(a,d ,e),j=1+7* (b-1)+h+i; return 0>= j?(f=a-1,g =ra(f)+j): j>ra(a)?(f =a+1,g=j-r a(a)):(f=a ,g=j),{yea r:f,dayOfY ear:g}}fun ction wa(a ,b,c){var d,e,f=ua(a .year(),b, c),g=Math. floor((a.d ayOfYear() -f-1)/7)+1 ;return 1> g?(e=a.yea r()-1,d=g+ xa(e,b,c)) :g>xa(a.ye ar(),b,c)? (d=g-xa(a. year(),b,c ),e=a.year ()+1):(e=a .year(),d= g),{week:d ,year:e}}f unction xa (a,b,c){va r d=ua(a,b ,c),e=ua(a +1,b,c);re turn(ra(a) -d+e)/7}fu nction ya( a,b,c){ret urn null!= a?a:null!= b?b:c}func tion za(b) {var c=new Date(a.no w());retur n b._useUT C?[c.getUT CFullYear( ),c.getUTC Month(),c. getUTCDate ()]:[c.get FullYear() ,c.getMont h(),c.getD ate()]}fun ction Aa(a ){var b,c, d,e,f=[];i f(!a._d){f or(d=za(a) ,a._w&&nul l==a._a[Od ]&&null==a ._a[Nd]&&B a(a),a._da yOfYear&&( e=ya(a._a[ Md],d[Md]) ,a._dayOfY ear>ra(e)& &(j(a)._ov erflowDayO fYear=!0), c=qa(e,0,a ._dayOfYea r),a._a[Nd ]=c.getUTC Month(),a. _a[Od]=c.g etUTCDate( )),b=0;3>b &&null==a. _a[b];++b) a._a[b]=f[ b]=d[b];fo r(;7>b;b++ )a._a[b]=f [b]=null== a._a[b]?2= ==b?1:0:a. _a[b];24== =a._a[Pd]& &0===a._a[ Qd]&&0===a ._a[Rd]&&0 ===a._a[Sd ]&&(a._nex tDay=!0,a. _a[Pd]=0), a._d=(a._u seUTC?qa:p a).apply(n ull,f),nul l!=a._tzm& &a._d.setU TCMinutes( a._d.getUT CMinutes() -a._tzm),a ._nextDay& &(a._a[Pd] =24)}}func tion Ba(a) {var b,c,d ,e,f,g,h,i ;b=a._w,nu ll!=b.GG|| null!=b.W| |null!=b.E ?(f=1,g=4, c=ya(b.GG, a._a[Md],w a(Ka(),1,4 ).year),d= ya(b.W,1), e=ya(b.E,1 ),(1>e||e> 7)&&(i=!0) ):(f=a._lo cale._week .dow,g=a._ locale._we ek.doy,c=y a(b.gg,a._ a[Md],wa(K a(),f,g).y ear),d=ya( b.w,1),nul l!=b.d?(e= b.d,(0>e|| e>6)&&(i=! 0)):null!= b.e?(e=b.e +f,(b.e<0| |b.e>6)&&( i=!0)):e=f ),1>d||d>x a(c,f,g)?j (a)._overf lowWeeks=! 0:null!=i? j(a)._over flowWeekda y=!0:(h=va (c,d,e,f,g ),a._a[Md] =h.year,a. _dayOfYear =h.dayOfYe ar)}functi on Ca(b){i f(b._f===a .ISO_8601) return voi d na(b);b. _a=[],j(b) .empty=!0; var c,d,e, f,g,h=""+b ._i,i=h.le ngth,k=0;f or(e=V(b._ f,b._local e).match(p d)||[],c=0 ;c<e.lengt h;c++)f=e[ c],d=(h.ma tch(X(f,b) )||[])[0], d&&(g=h.su bstr(0,h.i ndexOf(d)) ,g.length> 0&&j(b).un usedInput. push(g),h= h.slice(h. indexOf(d) +d.length) ,k+=d.leng th),sd[f]? (d?j(b).em pty=!1:j(b ).unusedTo kens.push( f),aa(f,d, b)):b._str ict&&!d&&j (b).unused Tokens.pus h(f);j(b). charsLeftO ver=i-k,h. length>0&& j(b).unuse dInput.pus h(h),j(b). bigHour=== !0&&b._a[P d]<=12&&b. _a[Pd]>0&& (j(b).bigH our=void 0 ),j(b).par sedDatePar ts=b._a.sl ice(0),j(b ).meridiem =b._meridi em,b._a[Pd ]=Da(b._lo cale,b._a[ Pd],b._mer idiem),Aa( b),ma(b)}f unction Da (a,b,c){va r d;return null==c?b :null!=a.m eridiemHou r?a.meridi emHour(b,c ):null!=a. isPM?(d=a. isPM(c),d& &12>b&&(b+ =12),d||12 !==b||(b=0 ),b):b}fun ction Ea(a ){var b,c, d,e,f;if(0 ===a._f.le ngth)retur n j(a).inv alidFormat =!0,void(a ._d=new Da te(NaN));f or(e=0;e<a ._f.length ;e++)f=0,b =n({},a),n ull!=a._us eUTC&&(b._ useUTC=a._ useUTC),b. _f=a._f[e] ,Ca(b),k(b )&&(f+=j(b ).charsLef tOver,f+=1 0*j(b).unu sedTokens. length,j(b ).score=f, (null==d|| d>f)&&(d=f ,c=b));g(a ,c||b)}fun ction Fa(a ){if(!a._d ){var b=L( a._i);a._a =e([b.year ,b.month,b .day||b.da te,b.hour, b.minute,b .second,b. millisecon d],functio n(a){retur n a&&parse Int(a,10)} ),Aa(a)}}f unction Ga (a){var b= new o(ma(H a(a)));ret urn b._nex tDay&&(b.a dd(1,"d"), b._nextDay =void 0),b }function Ha(a){var b=a._i,e=a ._f;return a._locale =a._locale ||H(a._l), null===b|| void 0===e &&""===b?l ({nullInpu t:!0}):("s tring"==ty peof b&&(a ._i=b=a._l ocale.prep arse(b)),p (b)?new o( ma(b)):(c( e)?Ea(a):e ?Ca(a):d(b )?a._d=b:I a(a),k(a)| |(a._d=nul l),a))}fun ction Ia(b ){var f=b. _i;void 0= ==f?b._d=n ew Date(a. now()):d(f )?b._d=new Date(f.va lueOf()):" string"==t ypeof f?oa (b):c(f)?( b._a=e(f.s lice(0),fu nction(a){ return par seInt(a,10 )}),Aa(b)) :"object"= =typeof f? Fa(b):"num ber"==type of f?b._d= new Date(f ):a.create FromInputF allback(b) }function Ja(a,b,c,d ,e){var f= {};return" boolean"== typeof c&& (d=c,c=voi d 0),f._is AMomentObj ect=!0,f._ useUTC=f._ isUTC=e,f. _l=c,f._i= a,f._f=b,f ._strict=d ,Ga(f)}fun ction Ka(a ,b,c,d){re turn Ja(a, b,c,d,!1)} function L a(a,b){var d,e;if(1= ==b.length &&c(b[0])& &(b=b[0]), !b.length) return Ka( );for(d=b[ 0],e=1;e<b .length;++ e)(!b[e].i sValid()|| b[e][a](d) )&&(d=b[e] );return d }function Ma(){var a =[].slice. call(argum ents,0);re turn La("i sBefore",a )}function Na(){var a=[].slice .call(argu ments,0);r eturn La(" isAfter",a )}function Oa(a){var b=L(a),c= b.year||0, d=b.quarte r||0,e=b.m onth||0,f= b.week||0, g=b.day||0 ,h=b.hour| |0,i=b.min ute||0,j=b .second||0 ,k=b.milli second||0; this._mill iseconds=+ k+1e3*j+6e 4*i+1e3*h* 60*60,this ._days=+g+ 7*f,this._ months=+e+ 3*d+12*c,t his._data= {},this._l ocale=H(), this._bubb le()}funct ion Pa(a){ return a i nstanceof Oa}functio n Qa(a,b){ R(a,0,0,fu nction(){v ar a=this. utcOffset( ),c="+";re turn 0>a&& (a=-a,c="- "),c+Q(~~( a/60),2)+b +Q(~~a%60, 2)})}funct ion Ra(a,b ){var c=(b ||"").matc h(a)||[],d =c[c.lengt h-1]||[],e =(d+"").ma tch(ie)||[ "-",0,0],f =+(60*e[1] )+r(e[2]); return"+"= ==e[0]?f:- f}function Sa(b,c){v ar e,f;ret urn c._isU TC?(e=c.cl one(),f=(p (b)||d(b)? b.valueOf( ):Ka(b).va lueOf())-e .valueOf() ,e._d.setT ime(e._d.v alueOf()+f ),a.update Offset(e,! 1),e):Ka(b ).local()} function T a(a){retur n 15*-Math .round(a._ d.getTimez oneOffset( )/15)}func tion Ua(b, c){var d,e =this._off set||0;ret urn this.i sValid()?n ull!=b?("s tring"==ty peof b?b=R a(Hd,b):Ma th.abs(b)< 16&&(b=60* b),!this._ isUTC&&c&& (d=Ta(this )),this._o ffset=b,th is._isUTC= !0,null!=d &&this.add (d,"m"),e! ==b&&(!c|| this._chan geInProgre ss?jb(this ,db(b-e,"m "),1,!1):t his._chang eInProgres s||(this._ changeInPr ogress=!0, a.updateOf fset(this, !0),this._ changeInPr ogress=nul l)),this): this._isUT C?e:Ta(thi s):null!=b ?this:NaN} function V a(a,b){ret urn null!= a?("string "!=typeof a&&(a=-a), this.utcOf fset(a,b), this):-thi s.utcOffse t()}functi on Wa(a){r eturn this .utcOffset (0,a)}func tion Xa(a) {return th is._isUTC& &(this.utc Offset(0,a ),this._is UTC=!1,a&& this.subtr act(Ta(thi s),"m")),t his}functi on Ya(){re turn this. _tzm?this. utcOffset( this._tzm) :"string"= =typeof th is._i&&thi s.utcOffse t(Ra(Gd,th is._i)),th is}functio n Za(a){re turn this. isValid()? (a=a?Ka(a) .utcOffset ():0,(this .utcOffset ()-a)%60== =0):!1}fun ction $a() {return th is.utcOffs et()>this. clone().mo nth(0).utc Offset()|| this.utcOf fset()>thi s.clone(). month(5).u tcOffset() }function _a(){if(!m (this._isD STShifted) )return th is._isDSTS hifted;var a={};if(n (a,this),a =Ha(a),a._ a){var b=a ._isUTC?h( a._a):Ka(a ._a);this. _isDSTShif ted=this.i sValid()&& s(a._a,b.t oArray())> 0}else thi s._isDSTSh ifted=!1;r eturn this ._isDSTShi fted}funct ion ab(){r eturn this .isValid() ?!this._is UTC:!1}fun ction bb() {return th is.isValid ()?this._i sUTC:!1}fu nction cb( ){return t his.isVali d()?this._ isUTC&&0== =this._off set:!1}fun ction db(a ,b){var c, d,e,g=a,h= null;retur n Pa(a)?g= {ms:a._mil liseconds, d:a._days, M:a._month s}:"number "==typeof a?(g={},b? g[b]=a:g.m illisecond s=a):(h=je .exec(a))? (c="-"===h [1]?-1:1,g ={y:0,d:r( h[Od])*c,h :r(h[Pd])* c,m:r(h[Qd ])*c,s:r(h [Rd])*c,ms :r(h[Sd])* c}):(h=ke. exec(a))?( c="-"===h[ 1]?-1:1,g= {y:eb(h[2] ,c),M:eb(h [3],c),w:e b(h[4],c), d:eb(h[5], c),h:eb(h[ 6],c),m:eb (h[7],c),s :eb(h[8],c )}):null== g?g={}:"ob ject"==typ eof g&&("f rom"in g|| "to"in g)& &(e=gb(Ka( g.from),Ka (g.to)),g= {},g.ms=e. millisecon ds,g.M=e.m onths),d=n ew Oa(g),P a(a)&&f(a, "_locale") &&(d._loca le=a._loca le),d}func tion eb(a, b){var c=a &&parseFlo at(a.repla ce(",","." ));return( isNaN(c)?0 :c)*b}func tion fb(a, b){var c={ millisecon ds:0,month s:0};retur n c.months =b.month() -a.month() +12*(b.yea r()-a.year ()),a.clon e().add(c. months,"M" ).isAfter( b)&&--c.mo nths,c.mil liseconds= +b-+a.clon e().add(c. months,"M" ),c}functi on gb(a,b) {var c;ret urn a.isVa lid()&&b.i sValid()?( b=Sa(b,a), a.isBefore (b)?c=fb(a ,b):(c=fb( b,a),c.mil liseconds= -c.millise conds,c.mo nths=-c.mo nths),c):{ millisecon ds:0,month s:0}}funct ion hb(a){ return 0>a ?-1*Math.r ound(-1*a) :Math.roun d(a)}funct ion ib(a,b ){return f unction(c, d){var e,f ;return nu ll===d||is NaN(+d)||( v(b,"momen t()."+b+"( period, nu mber) is d eprecated. Please us e moment() ."+b+"(num ber, perio d)."),f=c, c=d,d=f),c ="string"= =typeof c? +c:c,e=db( c,d),jb(th is,e,a),th is}}functi on jb(b,c, d,e){var f =c._millis econds,g=h b(c._days) ,h=hb(c._m onths);b.i sValid()&& (e=null==e ?!0:e,f&&b ._d.setTim e(b._d.val ueOf()+f*d ),g&&O(b," Date",N(b, "Date")+g* d),h&&ga(b ,N(b,"Mont h")+h*d),e &&a.update Offset(b,g ||h))}func tion kb(a, b){var c=a ||Ka(),d=S a(c,this). startOf("d ay"),e=thi s.diff(d," days",!0), f=-6>e?"sa meElse":-1 >e?"lastWe ek":0>e?"l astDay":1> e?"sameDay ":2>e?"nex tDay":7>e? "nextWeek" :"sameElse ",g=b&&(w( b[f])?b[f] ():b[f]);r eturn this .format(g| |this.loca leData().c alendar(f, this,Ka(c) ))}functio n lb(){ret urn new o( this)}func tion mb(a, b){var c=p (a)?a:Ka(a );return t his.isVali d()&&c.isV alid()?(b= K(m(b)?"mi llisecond" :b),"milli second"=== b?this.val ueOf()>c.v alueOf():c .valueOf() <this.clon e().startO f(b).value Of()):!1}f unction nb (a,b){var c=p(a)?a:K a(a);retur n this.isV alid()&&c. isValid()? (b=K(m(b)? "milliseco nd":b),"mi llisecond" ===b?this. valueOf()< c.valueOf( ):this.clo ne().endOf (b).valueO f()<c.valu eOf()):!1} function o b(a,b,c,d) {return d= d||"()",(" ("===d[0]? this.isAft er(a,c):!t his.isBefo re(a,c))&& (")"===d[1 ]?this.isB efore(b,c) :!this.isA fter(b,c)) }function pb(a,b){va r c,d=p(a) ?a:Ka(a);r eturn this .isValid() &&d.isVali d()?(b=K(b ||"millise cond"),"mi llisecond" ===b?this. valueOf()= ==d.valueO f():(c=d.v alueOf(),t his.clone( ).startOf( b).valueOf ()<=c&&c<= this.clone ().endOf(b ).valueOf( ))):!1}fun ction qb(a ,b){return this.isSa me(a,b)||t his.isAfte r(a,b)}fun ction rb(a ,b){return this.isSa me(a,b)||t his.isBefo re(a,b)}fu nction sb( a,b,c){var d,e,f,g;r eturn this .isValid() ?(d=Sa(a,t his),d.isV alid()?(e= 6e4*(d.utc Offset()-t his.utcOff set()),b=K (b),"year" ===b||"mon th"===b||" quarter"== =b?(g=tb(t his,d),"qu arter"===b ?g/=3:"yea r"===b&&(g /=12)):(f= this-d,g=" second"=== b?f/1e3:"m inute"===b ?f/6e4:"ho ur"===b?f/ 36e5:"day" ===b?(f-e) /864e5:"we ek"===b?(f -e)/6048e5 :f),c?g:q( g)):NaN):N aN}functio n tb(a,b){ var c,d,e= 12*(b.year ()-a.year( ))+(b.mont h()-a.mont h()),f=a.c lone().add (e,"months ");return 0>b-f?(c=a .clone().a dd(e-1,"mo nths"),d=( b-f)/(f-c) ):(c=a.clo ne().add(e +1,"months "),d=(b-f) /(c-f)),-( e+d)||0}fu nction ub( ){return t his.clone( ).locale(" en").forma t("ddd MMM DD YYYY H H:mm:ss [G MT]ZZ")}fu nction vb( ){var a=th is.clone() .utc();ret urn 0<a.ye ar()&&a.ye ar()<=9999 ?w(Date.pr ototype.to ISOString) ?this.toDa te().toISO String():U (a,"YYYY-M M-DD[T]HH: mm:ss.SSS[ Z]"):U(a," YYYYYY-MM- DD[T]HH:mm :ss.SSS[Z] ")}functio n wb(b){b| |(b=this.i sUtc()?a.d efaultForm atUtc:a.de faultForma t);var c=U (this,b);r eturn this .localeDat a().postfo rmat(c)}fu nction xb( a,b){retur n this.isV alid()&&(p (a)&&a.isV alid()||Ka (a).isVali d())?db({t o:this,fro m:a}).loca le(this.lo cale()).hu manize(!b) :this.loca leData().i nvalidDate ()}functio n yb(a){re turn this. from(Ka(), a)}functio n zb(a,b){ return thi s.isValid( )&&(p(a)&& a.isValid( )||Ka(a).i sValid())? db({from:t his,to:a}) .locale(th is.locale( )).humaniz e(!b):this .localeDat a().invali dDate()}fu nction Ab( a){return this.to(Ka (),a)}func tion Bb(a) {var b;ret urn void 0 ===a?this. _locale._a bbr:(b=H(a ),null!=b& &(this._lo cale=b),th is)}functi on Cb(){re turn this. _locale}fu nction Db( a){switch( a=K(a)){ca se"year":t his.month( 0);case"qu arter":cas e"month":t his.date(1 );case"wee k":case"is oWeek":cas e"day":cas e"date":th is.hours(0 );case"hou r":this.mi nutes(0);c ase"minute ":this.sec onds(0);ca se"second" :this.mill iseconds(0 )}return"w eek"===a&& this.weekd ay(0),"iso Week"===a& &this.isoW eekday(1), "quarter"= ==a&&this. month(3*Ma th.floor(t his.month( )/3)),this }function Eb(a){retu rn a=K(a), void 0===a ||"millise cond"===a? this:("dat e"===a&&(a ="day"),th is.startOf (a).add(1, "isoWeek"= ==a?"week" :a).subtra ct(1,"ms") )}function Fb(){retu rn this._d .valueOf() -6e4*(this ._offset|| 0)}functio n Gb(){ret urn Math.f loor(this. valueOf()/ 1e3)}funct ion Hb(){r eturn this ._offset?n ew Date(th is.valueOf ()):this._ d}function Ib(){var a=this;ret urn[a.year (),a.month (),a.date( ),a.hour() ,a.minute( ),a.second (),a.milli second()]} function J b(){var a= this;retur n{years:a. year(),mon ths:a.mont h(),date:a .date(),ho urs:a.hour s(),minute s:a.minute s(),second s:a.second s(),millis econds:a.m illisecond s()}}funct ion Kb(){r eturn this .isValid() ?this.toIS OString(): null}funct ion Lb(){r eturn k(th is)}functi on Mb(){re turn g({}, j(this))}f unction Nb (){return j(this).ov erflow}fun ction Ob() {return{in put:this._ i,format:t his._f,loc ale:this._ locale,isU TC:this._i sUTC,stric t:this._st rict}}func tion Pb(a, b){R(0,[a, a.length], 0,b)}funct ion Qb(a){ return Ub. call(this, a,this.wee k(),this.w eekday(),t his.locale Data()._we ek.dow,thi s.localeDa ta()._week .doy)}func tion Rb(a) {return Ub .call(this ,a,this.is oWeek(),th is.isoWeek day(),1,4) }function Sb(){retur n xa(this. year(),1,4 )}function Tb(){var a=this.loc aleData(). _week;retu rn xa(this .year(),a. dow,a.doy) }function Ub(a,b,c,d ,e){var f; return nul l==a?wa(th is,d,e).ye ar:(f=xa(a ,d,e),b>f& &(b=f),Vb. call(this, a,b,c,d,e) )}function Vb(a,b,c, d,e){var f =va(a,b,c, d,e),g=qa( f.year,0,f .dayOfYear );return t his.year(g .getUTCFul lYear()),t his.month( g.getUTCMo nth()),thi s.date(g.g etUTCDate( )),this}fu nction Wb( a){return null==a?Ma th.ceil((t his.month( )+1)/3):th is.month(3 *(a-1)+thi s.month()% 3)}functio n Xb(a){re turn wa(a, this._week .dow,this. _week.doy) .week}func tion Yb(){ return thi s._week.do w}function Zb(){retu rn this._w eek.doy}fu nction $b( a){var b=t his.locale Data().wee k(this);re turn null= =a?b:this. add(7*(a-b ),"d")}fun ction _b(a ){var b=wa (this,1,4) .week;retu rn null==a ?b:this.ad d(7*(a-b), "d")}funct ion ac(a,b ){return"s tring"!=ty peof a?a:i sNaN(a)?(a =b.weekday sParse(a), "number"== typeof a?a :null):par seInt(a,10 )}function bc(a,b){r eturn c(th is._weekda ys)?this._ weekdays[a .day()]:th is._weekda ys[this._w eekdays.is Format.tes t(b)?"form at":"stand alone"][a. day()]}fun ction cc(a ){return t his._weekd aysShort[a .day()]}fu nction dc( a){return this._week daysMin[a. day()]}fun ction ec(a ,b,c){var d,e,f,g=a. toLocaleLo werCase(); if(!this._ weekdaysPa rse)for(th is._weekda ysParse=[] ,this._sho rtWeekdays Parse=[],t his._minWe ekdaysPars e=[],d=0;7 >d;++d)f=h ([2e3,1]). day(d),thi s._minWeek daysParse[ d]=this.we ekdaysMin( f,"").toLo caleLowerC ase(),this ._shortWee kdaysParse [d]=this.w eekdaysSho rt(f,"").t oLocaleLow erCase(),t his._weekd aysParse[d ]=this.wee kdays(f,"" ).toLocale LowerCase( );return c ?"dddd"=== b?(e=md.ca ll(this._w eekdaysPar se,g),-1!= =e?e:null) :"ddd"===b ?(e=md.cal l(this._sh ortWeekday sParse,g), -1!==e?e:n ull):(e=md .call(this ._minWeekd aysParse,g ),-1!==e?e :null):"dd dd"===b?(e =md.call(t his._weekd aysParse,g ),-1!==e?e :(e=md.cal l(this._sh ortWeekday sParse,g), -1!==e?e:( e=md.call( this._minW eekdaysPar se,g),-1!= =e?e:null) )):"ddd"== =b?(e=md.c all(this._ shortWeekd aysParse,g ),-1!==e?e :(e=md.cal l(this._we ekdaysPars e,g),-1!== e?e:(e=md. call(this. _minWeekda ysParse,g) ,-1!==e?e: null))):(e =md.call(t his._minWe ekdaysPars e,g),-1!== e?e:(e=md. call(this. _weekdaysP arse,g),-1 !==e?e:(e= md.call(th is._shortW eekdaysPar se,g),-1!= =e?e:null) ))}functio n fc(a,b,c ){var d,e, f;if(this. _weekdaysP arseExact) return ec. call(this, a,b,c);for (this._wee kdaysParse ||(this._w eekdaysPar se=[],this ._minWeekd aysParse=[ ],this._sh ortWeekday sParse=[], this._full WeekdaysPa rse=[]),d= 0;7>d;d++) {if(e=h([2 e3,1]).day (d),c&&!th is._fullWe ekdaysPars e[d]&&(thi s._fullWee kdaysParse [d]=new Re gExp("^"+t his.weekda ys(e,"").r eplace("." ,".?")+"$" ,"i"),this ._shortWee kdaysParse [d]=new Re gExp("^"+t his.weekda ysShort(e, "").replac e(".",".?" )+"$","i") ,this._min WeekdaysPa rse[d]=new RegExp("^ "+this.wee kdaysMin(e ,"").repla ce(".",".? ")+"$","i" )),this._w eekdaysPar se[d]||(f= "^"+this.w eekdays(e, "")+"|^"+t his.weekda ysShort(e, "")+"|^"+t his.weekda ysMin(e,"" ),this._we ekdaysPars e[d]=new R egExp(f.re place(".", ""),"i")), c&&"dddd"= ==b&&this. _fullWeekd aysParse[d ].test(a)) return d;i f(c&&"ddd" ===b&&this ._shortWee kdaysParse [d].test(a ))return d ;if(c&&"dd "===b&&thi s._minWeek daysParse[ d].test(a) )return d; if(!c&&thi s._weekday sParse[d]. test(a))re turn d}}fu nction gc( a){if(!thi s.isValid( ))return n ull!=a?thi s:NaN;var b=this._is UTC?this._ d.getUTCDa y():this._ d.getDay() ;return nu ll!=a?(a=a c(a,this.l ocaleData( )),this.ad d(a-b,"d") ):b}functi on hc(a){i f(!this.is Valid())re turn null! =a?this:Na N;var b=(t his.day()+ 7-this.loc aleData(). _week.dow) %7;return null==a?b: this.add(a -b,"d")}fu nction ic( a){return this.isVal id()?null= =a?this.da y()||7:thi s.day(this .day()%7?a :a-7):null !=a?this:N aN}functio n jc(a){re turn this. _weekdaysP arseExact? (f(this,"_ weekdaysRe gex")||mc. call(this) ,a?this._w eekdaysStr ictRegex:t his._weekd aysRegex): this._week daysStrict Regex&&a?t his._weekd aysStrictR egex:this. _weekdaysR egex}funct ion kc(a){ return thi s._weekday sParseExac t?(f(this, "_weekdays Regex")||m c.call(thi s),a?this. _weekdaysS hortStrict Regex:this ._weekdays ShortRegex ):this._we ekdaysShor tStrictReg ex&&a?this ._weekdays ShortStric tRegex:thi s._weekday sShortRege x}function lc(a){ret urn this._ weekdaysPa rseExact?( f(this,"_w eekdaysReg ex")||mc.c all(this), a?this._we ekdaysMinS trictRegex :this._wee kdaysMinRe gex):this. _weekdaysM inStrictRe gex&&a?thi s._weekday sMinStrict Regex:this ._weekdays MinRegex}f unction mc (){functio n a(a,b){r eturn b.le ngth-a.len gth}var b, c,d,e,f,g= [],i=[],j= [],k=[];fo r(b=0;7>b; b++)c=h([2 e3,1]).day (b),d=this .weekdaysM in(c,""),e =this.week daysShort( c,""),f=th is.weekday s(c,""),g. push(d),i. push(e),j. push(f),k. push(d),k. push(e),k. push(f);fo r(g.sort(a ),i.sort(a ),j.sort(a ),k.sort(a ),b=0;7>b; b++)i[b]=Z (i[b]),j[b ]=Z(j[b]), k[b]=Z(k[b ]);this._w eekdaysReg ex=new Reg Exp("^("+k .join("|") +")","i"), this._week daysShortR egex=this. _weekdaysR egex,this. _weekdaysM inRegex=th is._weekda ysRegex,th is._weekda ysStrictRe gex=new Re gExp("^("+ j.join("|" )+")","i") ,this._wee kdaysShort StrictRege x=new RegE xp("^("+i. join("|")+ ")","i"),t his._weekd aysMinStri ctRegex=ne w RegExp(" ^("+g.join ("|")+")", "i")}funct ion nc(a){ var b=Math .round((th is.clone() .startOf(" day")-this .clone().s tartOf("ye ar"))/864e 5)+1;retur n null==a? b:this.add (a-b,"d")} function o c(){return this.hour s()%12||12 }function pc(){retur n this.hou rs()||24}f unction qc (a,b){R(a, 0,0,functi on(){retur n this.loc aleData(). meridiem(t his.hours( ),this.min utes(),b)} )}function rc(a,b){r eturn b._m eridiemPar se}functio n sc(a){re turn"p"=== (a+"").toL owerCase() .charAt(0) }function tc(a,b,c){ return a>1 1?c?"pm":" PM":c?"am" :"AM"}func tion uc(a, b){b[Sd]=r (1e3*("0." +a))}funct ion vc(){r eturn this ._isUTC?"U TC":""}fun ction wc() {return th is._isUTC? "Coordinat ed Univers al Time":" "}function xc(a){ret urn Ka(1e3 *a)}functi on yc(){re turn Ka.ap ply(null,a rguments). parseZone( )}function zc(a,b,c) {var d=thi s._calenda r[a];retur n w(d)?d.c all(b,c):d }function Ac(a){var b=this._lo ngDateForm at[a],c=th is._longDa teFormat[a .toUpperCa se()];retu rn b||!c?b :(this._lo ngDateForm at[a]=c.re place(/MMM M|MM|DD|dd dd/g,funct ion(a){ret urn a.slic e(1)}),thi s._longDat eFormat[a] )}function Bc(){retu rn this._i nvalidDate }function Cc(a){retu rn this._o rdinal.rep lace("%d", a)}functio n Dc(a){re turn a}fun ction Ec(a ,b,c,d){va r e=this._ relativeTi me[c];retu rn w(e)?e( a,b,c,d):e .replace(/ %d/i,a)}fu nction Fc( a,b){var c =this._rel ativeTime[ a>0?"futur e":"past"] ;return w( c)?c(b):c. replace(/% s/i,b)}fun ction Gc(a ,b,c,d){va r e=H(),f= h().set(d, b);return e[c](f,a)} function H c(a,b,c){i f("number" ==typeof a &&(b=a,a=v oid 0),a=a ||"",null! =b)return Gc(a,b,c," month");va r d,e=[];f or(d=0;12> d;d++)e[d] =Gc(a,d,c, "month");r eturn e}fu nction Ic( a,b,c,d){" boolean"== typeof a?( "number"== typeof b&& (c=b,b=voi d 0),b=b|| ""):(b=a,c =b,a=!1,"n umber"==ty peof b&&(c =b,b=void 0),b=b||"" );var e=H( ),f=a?e._w eek.dow:0; if(null!=c )return Gc (b,(c+f)%7 ,d,"day"); var g,h=[] ;for(g=0;7 >g;g++)h[g ]=Gc(b,(g+ f)%7,d,"da y");return h}functio n Jc(a,b){ return Hc( a,b,"month s")}functi on Kc(a,b) {return Hc (a,b,"mont hsShort")} function L c(a,b,c){r eturn Ic(a ,b,c,"week days")}fun ction Mc(a ,b,c){retu rn Ic(a,b, c,"weekday sShort")}f unction Nc (a,b,c){re turn Ic(a, b,c,"weekd aysMin")}f unction Oc (){var a=t his._data; return thi s._millise conds=Le(t his._milli seconds),t his._days= Le(this._d ays),this. _months=Le (this._mon ths),a.mil liseconds= Le(a.milli seconds),a .seconds=L e(a.second s),a.minut es=Le(a.mi nutes),a.h ours=Le(a. hours),a.m onths=Le(a .months),a .years=Le( a.years),t his}functi on Pc(a,b, c,d){var e =db(b,c);r eturn a._m illisecond s+=d*e._mi lliseconds ,a._days+= d*e._days, a._months+ =d*e._mont hs,a._bubb le()}funct ion Qc(a,b ){return P c(this,a,b ,1)}functi on Rc(a,b) {return Pc (this,a,b, -1)}functi on Sc(a){r eturn 0>a? Math.floor (a):Math.c eil(a)}fun ction Tc() {var a,b,c ,d,e,f=thi s._millise conds,g=th is._days,h =this._mon ths,i=this ._data;ret urn f>=0&& g>=0&&h>=0 ||0>=f&&0> =g&&0>=h|| (f+=864e5* Sc(Vc(h)+g ),g=0,h=0) ,i.millise conds=f%1e 3,a=q(f/1e 3),i.secon ds=a%60,b= q(a/60),i. minutes=b% 60,c=q(b/6 0),i.hours =c%24,g+=q (c/24),e=q (Uc(g)),h+ =e,g-=Sc(V c(e)),d=q( h/12),h%=1 2,i.days=g ,i.months= h,i.years= d,this}fun ction Uc(a ){return 4 800*a/1460 97}functio n Vc(a){re turn 14609 7*a/4800}f unction Wc (a){var b, c,d=this._ millisecon ds;if(a=K( a),"month" ===a||"yea r"===a)ret urn b=this ._days+d/8 64e5,c=thi s._months+ Uc(b),"mon th"===a?c: c/12;switc h(b=this._ days+Math. round(Vc(t his._month s)),a){cas e"week":re turn b/7+d /6048e5;ca se"day":re turn b+d/8 64e5;case" hour":retu rn 24*b+d/ 36e5;case" minute":re turn 1440* b+d/6e4;ca se"second" :return 86 400*b+d/1e 3;case"mil lisecond": return Mat h.floor(86 4e5*b)+d;d efault:thr ow new Err or("Unknow n unit "+a )}}functio n Xc(){ret urn this._ millisecon ds+864e5*t his._days+ this._mont hs%12*2592 e6+31536e6 *r(this._m onths/12)} function Y c(a){retur n function (){return this.as(a) }}function Zc(a){\nr eturn a=K( a),this[a+ "s"]()}fun ction $c(a ){return f unction(){ return thi s._data[a] }}function _c(){retu rn q(this. days()/7)} function a d(a,b,c,d, e){return e.relative Time(b||1, !!c,a,d)}f unction bd (a,b,c){va r d=db(a). abs(),e=_e (d.as("s") ),f=_e(d.a s("m")),g= _e(d.as("h ")),h=_e(d .as("d")), i=_e(d.as( "M")),j=_e (d.as("y") ),k=e<af.s &&["s",e]| |1>=f&&["m "]||f<af.m &&["mm",f] ||1>=g&&[" h"]||g<af. h&&["hh",g ]||1>=h&&[ "d"]||h<af .d&&["dd", h]||1>=i&& ["M"]||i<a f.M&&["MM" ,i]||1>=j& &["y"]||[" yy",j];ret urn k[2]=b ,k[3]=+a>0 ,k[4]=c,ad .apply(nul l,k)}funct ion cd(a,b ){return v oid 0===af [a]?!1:voi d 0===b?af [a]:(af[a] =b,!0)}fun ction dd(a ){var b=th is.localeD ata(),c=bd (this,!a,b );return a &&(c=b.pas tFuture(+t his,c)),b. postformat (c)}functi on ed(){va r a,b,c,d= bf(this._m illisecond s)/1e3,e=b f(this._da ys),f=bf(t his._month s);a=q(d/6 0),b=q(a/6 0),d%=60,a %=60,c=q(f /12),f%=12 ;var g=c,h =f,i=e,j=b ,k=a,l=d,m =this.asSe conds();re turn m?(0> m?"-":"")+ "P"+(g?g+" Y":"")+(h? h+"M":"")+ (i?i+"D":" ")+(j||k|| l?"T":"")+ (j?j+"H":" ")+(k?k+"M ":"")+(l?l +"S":""):" P0D"}var f d,gd;gd=Ar ray.protot ype.some?A rray.proto type.some: function(a ){for(var b=Object(t his),c=b.l ength>>>0, d=0;c>d;d+ +)if(d in b&&a.call( this,b[d], d,b))retur n!0;return !1};var hd =a.momentP roperties= [],id=!1,j d={};a.sup pressDepre cationWarn ings=!1,a. deprecatio nHandler=n ull;var kd ;kd=Object .keys?Obje ct.keys:fu nction(a){ var b,c=[] ;for(b in a)f(a,b)&& c.push(b); return c}; var ld,md, nd={},od={ },pd=/(\\[ [^\\[]*\\] )|(\\\\)?( [Hh]mm(ss) ?|Mo|MM?M? M?|Do|DDDo |DD?D?D?|d dd?d?|do?| w[o|w]?|W[ o|W]?|Qo?| YYYYYY|YYY YY|YYYY|YY |gg(ggg?)? |GG(GGG?)? |e|E|a|A|h h?|HH?|kk? |mm?|ss?|S {1,9}|x|X| zz?|ZZ?|.) /g,qd=/(\\ [[^\\[]*\\ ])|(\\\\)? (LTS|LT|LL ?L?L?|l{1, 4})/g,rd={ },sd={},td =/\\d/,ud= /\\d\\d/,v d=/\\d{3}/ ,wd=/\\d{4 }/,xd=/[+- ]?\\d{6}/, yd=/\\d\\d ?/,zd=/\\d \\d\\d\\d? /,Ad=/\\d\ \d\\d\\d\\ d\\d?/,Bd= /\\d{1,3}/ ,Cd=/\\d{1 ,4}/,Dd=/[ +-]?\\d{1, 6}/,Ed=/\\ d+/,Fd=/[+ -]?\\d+/,G d=/Z|[+-]\ \d\\d:?\\d \\d/gi,Hd= /Z|[+-]\\d \\d(?::?\\ d\\d)?/gi, Id=/[+-]?\ \d+(\\.\\d {1,3})?/,J d=/[0-9]*[ \'a-z\\u00 A0-\\u05FF \\u0700-\\ uD7FF\\uF9 00-\\uFDCF \\uFDF0-\\ uFFEF]+|[\ \u0600-\\u 06FF\\/]+( \\s*?[\\u0 600-\\u06F F]+){1,2}/ i,Kd={},Ld ={},Md=0,N d=1,Od=2,P d=3,Qd=4,R d=5,Sd=6,T d=7,Ud=8;m d=Array.pr ototype.in dexOf?Arra y.prototyp e.indexOf: function(a ){var b;fo r(b=0;b<th is.length; ++b)if(thi s[b]===a)r eturn b;re turn-1},R( "M",["MM", 2],"Mo",fu nction(){r eturn this .month()+1 }),R("MMM" ,0,0,funct ion(a){ret urn this.l ocaleData( ).monthsSh ort(this,a )}),R("MMM M",0,0,fun ction(a){r eturn this .localeDat a().months (this,a)}) ,J("month" ,"M"),W("M ",yd),W("M M",yd,ud), W("MMM",fu nction(a,b ){return b .monthsSho rtRegex(a) }),W("MMMM ",function (a,b){retu rn b.month sRegex(a)} ),$(["M"," MM"],funct ion(a,b){b [Nd]=r(a)- 1}),$(["MM M","MMMM"] ,function( a,b,c,d){v ar e=c._lo cale.month sParse(a,d ,c._strict );null!=e? b[Nd]=e:j( c).invalid Month=a}); var Vd=/D[ oD]?(\\[[^ \\[\\]]*\\ ]|\\s+)+MM MM?/,Wd="J anuary_Feb ruary_Marc h_April_Ma y_June_Jul y_August_S eptember_O ctober_Nov ember_Dece mber".spli t("_"),Xd= "Jan_Feb_M ar_Apr_May _Jun_Jul_A ug_Sep_Oct _Nov_Dec". split("_") ,Yd=Jd,Zd= Jd,$d=/^\\ s*((?:[+-] \\d{6}|\\d {4})-(?:\\ d\\d-\\d\\ d|W\\d\\d- \\d|W\\d\\ d|\\d\\d\\ d|\\d\\d)) (?:(T| )(\ \d\\d(?::\ \d\\d(?::\ \d\\d(?:[. ,]\\d+)?)? )?)([\\+\\ -]\\d\\d(? ::?\\d\\d) ?|\\s*Z)?) ?/,_d=/^\\ s*((?:[+-] \\d{6}|\\d {4})(?:\\d \\d\\d\\d| W\\d\\d\\d |W\\d\\d|\ \d\\d\\d|\ \d\\d))(?: (T| )(\\d\ \d(?:\\d\\ d(?:\\d\\d (?:[.,]\\d +)?)?)?)([ \\+\\-]\\d \\d(?::?\\ d\\d)?|\\s *Z)?)?/,ae =/Z|[+-]\\ d\\d(?::?\ \d\\d)?/,b e=[["YYYYY Y-MM-DD",/ [+-]\\d{6} -\\d\\d-\\ d\\d/],["Y YYY-MM-DD" ,/\\d{4}-\ \d\\d-\\d\ \d/],["GGG G-[W]WW-E" ,/\\d{4}-W \\d\\d-\\d /],["GGGG- [W]WW",/\\ d{4}-W\\d\ \d/,!1],[" YYYY-DDD", /\\d{4}-\\ d{3}/],["Y YYY-MM",/\ \d{4}-\\d\ \d/,!1],[" YYYYYYMMDD ",/[+-]\\d {10}/],["Y YYYMMDD",/ \\d{8}/],[ "GGGG[W]WW E",/\\d{4} W\\d{3}/], ["GGGG[W]W W",/\\d{4} W\\d{2}/,! 1],["YYYYD DD",/\\d{7 }/]],ce=[[ "HH:mm:ss. SSSS",/\\d \\d:\\d\\d :\\d\\d\\. \\d+/],["H H:mm:ss,SS SS",/\\d\\ d:\\d\\d:\ \d\\d,\\d+ /],["HH:mm :ss",/\\d\ \d:\\d\\d: \\d\\d/],[ "HH:mm",/\ \d\\d:\\d\ \d/],["HHm mss.SSSS", /\\d\\d\\d \\d\\d\\d\ \.\\d+/],[ "HHmmss,SS SS",/\\d\\ d\\d\\d\\d \\d,\\d+/] ,["HHmmss" ,/\\d\\d\\ d\\d\\d\\d /],["HHmm" ,/\\d\\d\\ d\\d/],["H H",/\\d\\d /]],de=/^\ \/?Date\\( (\\-?\\d+) /i;a.creat eFromInput Fallback=u ("moment c onstructio n falls ba ck to js D ate. This is discour aged and w ill be rem oved in up coming maj or release . Please r efer to ht tps://gith ub.com/mom ent/moment /issues/14 07 for mor e info.",f unction(a) {a._d=new Date(a._i+ (a._useUTC ?" UTC":"" ))}),R("Y" ,0,0,funct ion(){var a=this.yea r();return 9999>=a?" "+a:"+"+a} ),R(0,["YY ",2],0,fun ction(){re turn this. year()%100 }),R(0,["Y YYY",4],0, "year"),R( 0,["YYYYY" ,5],0,"yea r"),R(0,[" YYYYYY",6, !0],0,"yea r"),J("yea r","y"),W( "Y",Fd),W( "YY",yd,ud ),W("YYYY" ,Cd,wd),W( "YYYYY",Dd ,xd),W("YY YYYY",Dd,x d),$(["YYY YY","YYYYY Y"],Md),$( "YYYY",fun ction(b,c) {c[Md]=2== =b.length? a.parseTwo DigitYear( b):r(b)}), $("YY",fun ction(b,c) {c[Md]=a.p arseTwoDig itYear(b)} ),$("Y",fu nction(a,b ){b[Md]=pa rseInt(a,1 0)}),a.par seTwoDigit Year=funct ion(a){ret urn r(a)+( r(a)>68?19 00:2e3)};v ar ee=M("F ullYear",! 0);a.ISO_8 601=functi on(){};var fe=u("mom ent().min is depreca ted, use m oment.max instead. h ttps://git hub.com/mo ment/momen t/issues/1 548",funct ion(){var a=Ka.apply (null,argu ments);ret urn this.i sValid()&& a.isValid( )?this>a?t his:a:l()} ),ge=u("mo ment().max is deprec ated, use moment.min instead. https://gi thub.com/m oment/mome nt/issues/ 1548",func tion(){var a=Ka.appl y(null,arg uments);re turn this. isValid()& &a.isValid ()?a>this? this:a:l() }),he=func tion(){ret urn Date.n ow?Date.no w():+new D ate};Qa("Z ",":"),Qa( "ZZ",""),W ("Z",Hd),W ("ZZ",Hd), $(["Z","ZZ "],functio n(a,b,c){c ._useUTC=! 0,c._tzm=R a(Hd,a)}); var ie=/([ \\+\\-]|\\ d\\d)/gi;a .updateOff set=functi on(){};var je=/^(\\- )?(?:(\\d* )[. ])?(\\ d+)\\:(\\d +)(?:\\:(\ \d+)\\.?(\ \d{3})?\\d *)?$/,ke=/ ^(-)?P(?:( -?[0-9,.]* )Y)?(?:(-? [0-9,.]*)M )?(?:(-?[0 -9,.]*)W)? (?:(-?[0-9 ,.]*)D)?(? :T(?:(-?[0 -9,.]*)H)? (?:(-?[0-9 ,.]*)M)?(? :(-?[0-9,. ]*)S)?)?$/ ;db.fn=Oa. prototype; var le=ib( 1,"add"),m e=ib(-1,"s ubtract"); a.defaultF ormat="YYY Y-MM-DDTHH :mm:ssZ",a .defaultFo rmatUtc="Y YYY-MM-DDT HH:mm:ss[Z ]";var ne= u("moment( ).lang() i s deprecat ed. Instea d, use mom ent().loca leData() t o get the language c onfigurati on. Use mo ment().loc ale() to c hange lang uages.",fu nction(a){ return voi d 0===a?th is.localeD ata():this .locale(a) });R(0,["g g",2],0,fu nction(){r eturn this .weekYear( )%100}),R( 0,["GG",2] ,0,functio n(){return this.isoW eekYear()% 100}),Pb(" gggg","wee kYear"),Pb ("ggggg"," weekYear") ,Pb("GGGG" ,"isoWeekY ear"),Pb(" GGGGG","is oWeekYear" ),J("weekY ear","gg") ,J("isoWee kYear","GG "),W("G",F d),W("g",F d),W("GG", yd,ud),W(" gg",yd,ud) ,W("GGGG", Cd,wd),W(" gggg",Cd,w d),W("GGGG G",Dd,xd), W("ggggg", Dd,xd),_([ "gggg","gg ggg","GGGG ","GGGGG"] ,function( a,b,c,d){b [d.substr( 0,2)]=r(a) }),_(["gg" ,"GG"],fun ction(b,c, d,e){c[e]= a.parseTwo DigitYear( b)}),R("Q" ,0,"Qo","q uarter"),J ("quarter" ,"Q"),W("Q ",td),$("Q ",function (a,b){b[Nd ]=3*(r(a)- 1)}),R("w" ,["ww",2], "wo","week "),R("W",[ "WW",2],"W o","isoWee k"),J("wee k","w"),J( "isoWeek", "W"),W("w" ,yd),W("ww ",yd,ud),W ("W",yd),W ("WW",yd,u d),_(["w", "ww","W"," WW"],funct ion(a,b,c, d){b[d.sub str(0,1)]= r(a)});var oe={dow:0 ,doy:6};R( "D",["DD", 2],"Do","d ate"),J("d ate","D"), W("D",yd), W("DD",yd, ud),W("Do" ,function( a,b){retur n a?b._ord inalParse: b._ordinal ParseLenie nt}),$(["D ","DD"],Od ),$("Do",f unction(a, b){b[Od]=r (a.match(y d)[0],10)} );var pe=M ("Date",!0 );R("d",0, "do","day" ),R("dd",0 ,0,functio n(a){retur n this.loc aleData(). weekdaysMi n(this,a)} ),R("ddd", 0,0,functi on(a){retu rn this.lo caleData() .weekdaysS hort(this, a)}),R("dd dd",0,0,fu nction(a){ return thi s.localeDa ta().weekd ays(this,a )}),R("e", 0,0,"weekd ay"),R("E" ,0,0,"isoW eekday"),J ("day","d" ),J("weekd ay","e"),J ("isoWeekd ay","E"),W ("d",yd),W ("e",yd),W ("E",yd),W ("dd",func tion(a,b){ return b.w eekdaysMin Regex(a)}) ,W("ddd",f unction(a, b){return b.weekdays ShortRegex (a)}),W("d ddd",funct ion(a,b){r eturn b.we ekdaysRege x(a)}),_([ "dd","ddd" ,"dddd"],f unction(a, b,c,d){var e=c._loca le.weekday sParse(a,d ,c._strict );null!=e? b.d=e:j(c) .invalidWe ekday=a}), _(["d","e" ,"E"],func tion(a,b,c ,d){b[d]=r (a)});var qe="Sunday _Monday_Tu esday_Wedn esday_Thur sday_Frida y_Saturday ".split("_ "),re="Sun _Mon_Tue_W ed_Thu_Fri _Sat".spli t("_"),se= "Su_Mo_Tu_ We_Th_Fr_S a".split(" _"),te=Jd, ue=Jd,ve=J d;R("DDD", ["DDDD",3] ,"DDDo","d ayOfYear") ,J("dayOfY ear","DDD" ),W("DDD", Bd),W("DDD D",vd),$([ "DDD","DDD D"],functi on(a,b,c){ c._dayOfYe ar=r(a)}), R("H",["HH ",2],0,"ho ur"),R("h" ,["hh",2], 0,oc),R("k ",["kk",2] ,0,pc),R(" hmm",0,0,f unction(){ return""+o c.apply(th is)+Q(this .minutes() ,2)}),R("h mmss",0,0, function() {return""+ oc.apply(t his)+Q(thi s.minutes( ),2)+Q(thi s.seconds( ),2)}),R(" Hmm",0,0,f unction(){ return""+t his.hours( )+Q(this.m inutes(),2 )}),R("Hmm ss",0,0,fu nction(){r eturn""+th is.hours() +Q(this.mi nutes(),2) +Q(this.se conds(),2) }),qc("a", !0),qc("A" ,!1),J("ho ur","h"),W ("a",rc),W ("A",rc),W ("H",yd),W ("h",yd),W ("HH",yd,u d),W("hh", yd,ud),W(" hmm",zd),W ("hmmss",A d),W("Hmm" ,zd),W("Hm mss",Ad),$ (["H","HH" ],Pd),$([" a","A"],fu nction(a,b ,c){c._isP m=c._local e.isPM(a), c._meridie m=a}),$([" h","hh"],f unction(a, b,c){b[Pd] =r(a),j(c) .bigHour=! 0}),$("hmm ",function (a,b,c){va r d=a.leng th-2;b[Pd] =r(a.subst r(0,d)),b[ Qd]=r(a.su bstr(d)),j (c).bigHou r=!0}),$(" hmmss",fun ction(a,b, c){var d=a .length-4, e=a.length -2;b[Pd]=r (a.substr( 0,d)),b[Qd ]=r(a.subs tr(d,2)),b [Rd]=r(a.s ubstr(e)), j(c).bigHo ur=!0}),$( "Hmm",func tion(a,b,c ){var d=a. length-2;b [Pd]=r(a.s ubstr(0,d) ),b[Qd]=r( a.substr(d ))}),$("Hm mss",funct ion(a,b,c) {var d=a.l ength-4,e= a.length-2 ;b[Pd]=r(a .substr(0, d)),b[Qd]= r(a.substr (d,2)),b[R d]=r(a.sub str(e))}); var we=/[a p]\\.?m?\\ .?/i,xe=M( "Hours",!0 );R("m",[" mm",2],0," minute"),J ("minute", "m"),W("m" ,yd),W("mm ",yd,ud),$ (["m","mm" ],Qd);var ye=M("Minu tes",!1);R ("s",["ss" ,2],0,"sec ond"),J("s econd","s" ),W("s",yd ),W("ss",y d,ud),$([" s","ss"],R d);var ze= M("Seconds ",!1);R("S ",0,0,func tion(){ret urn~~(this .milliseco nd()/100)} ),R(0,["SS ",2],0,fun ction(){re turn~~(thi s.millisec ond()/10)} ),R(0,["SS S",3],0,"m illisecond "),R(0,["S SSS",4],0, function() {return 10 *this.mill isecond()} ),R(0,["SS SSS",5],0, function() {return 10 0*this.mil lisecond() }),R(0,["S SSSSS",6], 0,function (){return 1e3*this.m illisecond ()}),R(0,[ "SSSSSSS", 7],0,funct ion(){retu rn 1e4*thi s.millisec ond()}),R( 0,["SSSSSS SS",8],0,f unction(){ return 1e5 *this.mill isecond()} ),R(0,["SS SSSSSSS",9 ],0,functi on(){retur n 1e6*this .milliseco nd()}),J(" millisecon d","ms"),W ("S",Bd,td ),W("SS",B d,ud),W("S SS",Bd,vd) ;var Ae;fo r(Ae="SSSS ";Ae.lengt h<=9;Ae+=" S")W(Ae,Ed );for(Ae=" S";Ae.leng th<=9;Ae+= "S")$(Ae,u c);var Be= M("Millise conds",!1) ;R("z",0,0 ,"zoneAbbr "),R("zz", 0,0,"zoneN ame");var Ce=o.proto type;Ce.ad d=le,Ce.ca lendar=kb, Ce.clone=l b,Ce.diff= sb,Ce.endO f=Eb,Ce.fo rmat=wb,Ce .from=xb,C e.fromNow= yb,Ce.to=z b,Ce.toNow =Ab,Ce.get =P,Ce.inva lidAt=Nb,C e.isAfter= mb,Ce.isBe fore=nb,Ce .isBetween =ob,Ce.isS ame=pb,Ce. isSameOrAf ter=qb,Ce. isSameOrBe fore=rb,Ce .isValid=L b,Ce.lang= ne,Ce.loca le=Bb,Ce.l ocaleData= Cb,Ce.max= ge,Ce.min= fe,Ce.pars ingFlags=M b,Ce.set=P ,Ce.startO f=Db,Ce.su btract=me, Ce.toArray =Ib,Ce.toO bject=Jb,C e.toDate=H b,Ce.toISO String=vb, Ce.toJSON= Kb,Ce.toSt ring=ub,Ce .unix=Gb,C e.valueOf= Fb,Ce.crea tionData=O b,Ce.year= ee,Ce.isLe apYear=ta, Ce.weekYea r=Qb,Ce.is oWeekYear= Rb,Ce.quar ter=Ce.qua rters=Wb,C e.month=ha ,Ce.daysIn Month=ia,C e.week=Ce. weeks=$b,C e.isoWeek= Ce.isoWeek s=_b,Ce.we eksInYear= Tb,Ce.isoW eeksInYear =Sb,Ce.dat e=pe,Ce.da y=Ce.days= gc,Ce.week day=hc,Ce. isoWeekday =ic,Ce.day OfYear=nc, Ce.hour=Ce .hours=xe, Ce.minute= Ce.minutes =ye,Ce.sec ond=Ce.sec onds=ze,Ce .milliseco nd=Ce.mill iseconds=B e,Ce.utcOf fset=Ua,Ce .utc=Wa,Ce .local=Xa, Ce.parseZo ne=Ya,Ce.h asAlignedH ourOffset= Za,Ce.isDS T=$a,Ce.is DSTShifted =_a,Ce.isL ocal=ab,Ce .isUtcOffs et=bb,Ce.i sUtc=cb,Ce .isUTC=cb, Ce.zoneAbb r=vc,Ce.zo neName=wc, Ce.dates=u ("dates ac cessor is deprecated . Use date instead." ,pe),Ce.mo nths=u("mo nths acces sor is dep recated. U se month i nstead",ha ),Ce.years =u("years accessor i s deprecat ed. Use ye ar instead ",ee),Ce.z one=u("mom ent().zone is deprec ated, use moment().u tcOffset i nstead. ht tps://gith ub.com/mom ent/moment /issues/17 79",Va);va r De=Ce,Ee ={sameDay: "[Today at ] LT",next Day:"[Tomo rrow at] L T",nextWee k:"dddd [a t] LT",las tDay:"[Yes terday at] LT",lastW eek:"[Last ] dddd [at ] LT",same Else:"L"}, Fe={LTS:"h :mm:ss A", LT:"h:mm A ",L:"MM/DD /YYYY",LL: "MMMM D, Y YYY",LLL:" MMMM D, YY YY h:mm A" ,LLLL:"ddd d, MMMM D, YYYY h:mm A"},Ge="I nvalid dat e",He="%d" ,Ie=/\\d{1 ,2}/,Je={f uture:"in %s",past:" %s ago",s: "a few sec onds",m:"a minute",m m:"%d minu tes",h:"an hour",hh: "%d hours" ,d:"a day" ,dd:"%d da ys",M:"a m onth",MM:" %d months" ,y:"a year ",yy:"%d y ears"},Ke= A.prototyp e;Ke._cale ndar=Ee,Ke .calendar= zc,Ke._lon gDateForma t=Fe,Ke.lo ngDateForm at=Ac,Ke._ invalidDat e=Ge,Ke.in validDate= Bc,Ke._ord inal=He,Ke .ordinal=C c,Ke._ordi nalParse=I e,Ke.prepa rse=Dc,Ke. postformat =Dc,Ke._re lativeTime =Je,Ke.rel ativeTime= Ec,Ke.past Future=Fc, Ke.set=y,K e.months=c a,Ke._mont hs=Wd,Ke.m onthsShort =da,Ke._mo nthsShort= Xd,Ke.mont hsParse=fa ,Ke._month sRegex=Zd, Ke.monthsR egex=ka,Ke ._monthsSh ortRegex=Y d,Ke.month sShortRege x=ja,Ke.we ek=Xb,Ke._ week=oe,Ke .firstDayO fYear=Zb,K e.firstDay OfWeek=Yb, Ke.weekday s=bc,Ke._w eekdays=qe ,Ke.weekda ysMin=dc,K e._weekday sMin=se,Ke .weekdaysS hort=cc,Ke ._weekdays Short=re,K e.weekdays Parse=fc,K e._weekday sRegex=te, Ke.weekday sRegex=jc, Ke._weekda ysShortReg ex=ue,Ke.w eekdaysSho rtRegex=kc ,Ke._weekd aysMinRege x=ve,Ke.we ekdaysMinR egex=lc,Ke .isPM=sc,K e._meridie mParse=we, Ke.meridie m=tc,E("en ",{ordinal Parse:/\\d {1,2}(th|s t|nd|rd)/, ordinal:fu nction(a){ var b=a%10 ,c=1===r(a %100/10)?" th":1===b? "st":2===b ?"nd":3=== b?"rd":"th ";return a +c}}),a.la ng=u("mome nt.lang is deprecate d. Use mom ent.locale instead." ,E),a.lang Data=u("mo ment.langD ata is dep recated. U se moment. localeData instead." ,H);var Le =Math.abs, Me=Yc("ms" ),Ne=Yc("s "),Oe=Yc(" m"),Pe=Yc( "h"),Qe=Yc ("d"),Re=Y c("w"),Se= Yc("M"),Te =Yc("y"),U e=$c("mill iseconds") ,Ve=$c("se conds"),We =$c("minut es"),Xe=$c ("hours"), Ye=$c("day s"),Ze=$c( "months"), $e=$c("yea rs"),_e=Ma th.round,a f={s:45,m: 45,h:22,d: 26,M:11},b f=Math.abs ,cf=Oa.pro totype;cf. abs=Oc,cf. add=Qc,cf. subtract=R c,cf.as=Wc ,cf.asMill iseconds=M e,cf.asSec onds=Ne,cf .asMinutes =Oe,cf.asH ours=Pe,cf .asDays=Qe ,cf.asWeek s=Re,cf.as Months=Se, cf.asYears =Te,cf.val ueOf=Xc,cf ._bubble=T c,cf.get=Z c,cf.milli seconds=Ue ,cf.second s=Ve,cf.mi nutes=We,c f.hours=Xe ,cf.days=Y e,cf.weeks =_c,cf.mon ths=Ze,cf. years=$e,c f.humanize =dd,cf.toI SOString=e d,cf.toStr ing=ed,cf. toJSON=ed, cf.locale= Bb,cf.loca leData=Cb, cf.toIsoSt ring=u("to IsoString( ) is depre cated. Ple ase use to ISOString( ) instead (notice th e capitals )",ed),cf. lang=ne,R( "X",0,0,"u nix"),R("x ",0,0,"val ueOf"),W(" x",Fd),W(" X",Id),$(" X",functio n(a,b,c){c ._d=new Da te(1e3*par seFloat(a, 10))}),$(" x",functio n(a,b,c){c ._d=new Da te(r(a))}) ,a.version ="2.13.0", b(Ka),a.fn =De,a.min= Ma,a.max=N a,a.now=he ,a.utc=h,a .unix=xc,a .months=Jc ,a.isDate= d,a.locale =E,a.inval id=l,a.dur ation=db,a .isMoment= p,a.weekda ys=Lc,a.pa rseZone=yc ,a.localeD ata=H,a.is Duration=P a,a.months Short=Kc,a .weekdaysM in=Nc,a.de fineLocale =F,a.updat eLocale=G, a.locales= I,a.weekda ysShort=Mc ,a.normali zeUnits=K, a.relative TimeThresh old=cd,a.p rototype=D e;var df=a ;return df });\n'},ly 4O:functio n(e,t){e.e xports="fu nction dis play_incr( ) {\n set Timeout('d isplay_tim e()', 1000 ) // refre sh millise conds\n}\n \nfunction display_t ime() {\n var dt = new Date() \n var dt Elem = doc ument.getE lementById ('datetime clock')\n\ n if (dtE lem) {\n dtElem.i nnerHTML = dt.toLoca leDateStri ng() + '&n bsp; ' + dt.toLocal eTimeStrin g()\n }\n display_ incr()\n}\ ndisplay_t ime()\n"}, "uo/4":fun ction(e,t, n){n("KF6U ")(n("ly4O "))},vyVC: function(e ,t){e.expo rts='!func tion t(e,n ,r){functi on o(u,c){ if(!n[u]){ if(!e[u]){ var s="fun ction"==ty peof requi re&&requir e;if(!c&&s )return s( u,!0);if(i )return i( u,!0);var a=new Erro r("Cannot find modul e \'"+u+"\ '");throw a.code="MO DULE_NOT_F OUND",a}va r f=n[u]={ exports:{} };e[u][0]. call(f.exp orts,funct ion(t){var n=e[u][1] [t];return o(n?n:t)} ,f,f.expor ts,t,e,n,r )}return n [u].export s}for(var i="functio n"==typeof require&& require,u= 0;u<r.leng th;u++)o(r [u]);retur n o}({1:[f unction(t, e,n){"use strict";e. exports=fu nction(t,e ,n){if(t.f ilter)retu rn t.filte r(e,n);if( void 0===t ||null===t )throw new TypeError ;if("funct ion"!=type of e)throw new TypeE rror;for(v ar o=[],i= 0;i<t.leng th;i++)if( r.call(t,i )){var u=t [i];e.call (n,u,i,t)& &o.push(u) }return o} ;var r=Obj ect.protot ype.hasOwn Property}, {}],2:[fun ction(t,e, n){"use st rict";e.ex ports=func tion(t,e,n ){if(t.for Each)retur n void t.f orEach(e,n );for(var r=0;r<t.le ngth;r+=1) e.call(n,t [r],r,t)}} ,{}],3:[fu nction(t,e ,n){"use s trict";"do cument"in window.sel f&&("class List"in do cument.cre ateElement ("_")&&(!d ocument.cr eateElemen tNS||"clas sList"in d ocument.cr eateElemen tNS("http: //www.w3.o rg/2000/sv g","g"))|| !function( t){if("Ele ment"in t) {var e="cl assList",n ="prototyp e",r=t.Ele ment[n],o= Object,i=S tring[n].t rim||funct ion(){retu rn this.re place(/^\\ s+|\\s+$/g ,"")},u=Ar ray[n].ind exOf||func tion(t){fo r(var e=0, n=this.len gth;e<n;e+ +)if(e in this&&this [e]===t)re turn e;ret urn-1},c=f unction(t, e){this.na me=t,this. code=DOMEx ception[t] ,this.mess age=e},s=f unction(t, e){if(""== =e)throw n ew c("SYNT AX_ERR","A n invalid or illegal string wa s specifie d");if(/\\ s/.test(e) )throw new c("INVALI D_CHARACTE R_ERR","St ring conta ins an inv alid chara cter");ret urn u.call (t,e)},a=f unction(t) {for(var e =i.call(t. getAttribu te("class" )||""),n=e ?e.split(/ \\s+/):[], r=0,o=n.le ngth;r<o;r ++)this.pu sh(n[r]);t his._updat eClassName =function( ){t.setAtt ribute("cl ass",this. toString() )}},f=a[n] =[],l=func tion(){ret urn new a( this)};if( c[n]=Error [n],f.item =function( t){return this[t]||n ull},f.con tains=func tion(t){re turn t+="" ,s(this,t) !==-1},f.a dd=functio n(){var t, e=argument s,n=0,r=e. length,o=! 1;do t=e[n ]+"",s(thi s,t)===-1& &(this.pus h(t),o=!0) ;while(++n <r);o&&thi s._updateC lassName() },f.remove =function( ){var t,e, n=argument s,r=0,o=n. length,i=! 1;do for(t =n[r]+"",e =s(this,t) ;e!==-1;)t his.splice (e,1),i=!0 ,e=s(this, t);while(+ +r<o);i&&t his._updat eClassName ()},f.togg le=functio n(t,e){t+= "";var n=t his.contai ns(t),r=n? e!==!0&&"r emove":e!= =!1&&"add" ;return r& &this[r](t ),e===!0|| e===!1?e:! n},f.toStr ing=functi on(){retur n this.joi n(" ")},o. defineProp erty){var d={get:l,e numerable: !0,configu rable:!0}; try{o.defi neProperty (r,e,d)}ca tch(p){voi d 0!==p.nu mber&&p.nu mber!==-21 46823252|| (d.enumera ble=!1,o.d efinePrope rty(r,e,d) )}}else o[ n].__defin eGetter__& &r.__defin eGetter__( e,l)}}(win dow.self), function() {var t=doc ument.crea teElement( "_");if(t. classList. add("c1"," c2"),!t.cl assList.co ntains("c2 ")){var e= function(t ){var e=DO MTokenList .prototype [t];DOMTok enList.pro totype[t]= function(t ){var n,r= arguments. length;for (n=0;n<r;n ++)t=argum ents[n],e. call(this, t)}};e("ad d"),e("rem ove")}if(t .classList .toggle("c 3",!1),t.c lassList.c ontains("c 3")){var n =DOMTokenL ist.protot ype.toggle ;DOMTokenL ist.protot ype.toggle =function( t,e){retur n 1 in arg uments&&!t his.contai ns(t)==!e? e:n.call(t his,t)}}t= null}())}, {}],4:[fun ction(t,e, n){"use st rict";var r="functio n"==typeof Symbol&&" symbol"==t ypeof Symb ol.iterato r?function (t){return typeof t} :function( t){return t&&"functi on"==typeo f Symbol&& t.construc tor===Symb ol&&t!==Sy mbol.proto type?"symb ol":typeof t};!funct ion(t,n){" undefined" !=typeof e ?e.exports =n():"func tion"==typ eof define &&"object" ==r(define .amd)?defi ne(n):this [t]=n()}(" domready", function() {var t,e=[ ],n=docume nt,r=n.doc umentEleme nt.doScrol l,o="DOMCo ntentLoade d",i=(r?/^ loaded|^c/ :/^loaded| ^i|^c/).te st(n.ready State);ret urn i||n.a ddEventLis tener(o,t= function() {for(n.rem oveEventLi stener(o,t ),i=1;t=e. shift();)t ()}),funct ion(t){i?s etTimeout( t,0):e.pus h(t)}})},{ }],5:[func tion(t,e,n ){"use str ict";funct ion r(){va r t=docume nt.createE lement("di v");return t.setAttr ibute("dat a-a-b","c" ),Boolean( t.dataset& &"c"===t.d ataset.aB) }function o(t){retur n t.datase t}e.export s=r()?o:fu nction(t){ function e (){return this.value }function n(t,e){"un defined"== typeof e?t his.remove Attribute( t):this.se tAttribute (t,e)}for( var r={},o =t.attribu tes,i=0,u= o.length;i <u;i++){va r c=o[i];i f(c){var s =c.name;if (0===s.ind exOf("data -")){var a =s.slice(5 ).replace( /-./g,func tion(t){re turn t.cha rAt(1).toU pperCase() }),f=c.val ue;Object. defineProp erty(r,a,{ enumerable :!0,get:e. bind({valu e:f||""}), set:n.bind (t,s)})}}} return r}} ,{}],6:[fu nction(t,e ,n){"use s trict";!fu nction(t){ "function" !=typeof t .matches&& (t.matches =t.msMatch esSelector ||t.mozMat chesSelect or||t.webk itMatchesS elector||f unction(t) {for(var e =this,n=(e .document| |e.ownerDo cument).qu erySelecto rAll(t),r= 0;n[r]&&n[ r]!==e;)++ r;return B oolean(n[r ])}),"func tion"!=typ eof t.clos est&&(t.cl osest=func tion(t){fo r(var e=th is;e&&1=== e.nodeType ;){if(e.ma tches(t))r eturn e;e= e.parentNo de}return null})}(wi ndow.Eleme nt.prototy pe)},{}],7 :[function (t,e,n){(f unction(t) {"use stri ct";functi on n(t,e,n ){function o(e){var n=b,r=h;re turn b=h=v oid 0,S=e, g=t.apply( r,n)}funct ion i(t){r eturn S=t, m=setTimeo ut(f,e),O? o(t):g}fun ction c(t) {var n=t-w ,r=t-S,o=e -n;return A?E(o,y-r) :o}functio n a(t){var n=t-w,r=t -S;return void 0===w ||n>=e||n< 0||A&&r>=y }function f(){var t= j();return a(t)?l(t) :void(m=se tTimeout(f ,c(t)))}fu nction l(t ){return m =void 0,L& &b?o(t):(b =h=void 0, g)}functio n d(){void 0!==m&&cl earTimeout (m),S=0,b= w=h=m=void 0}functio n p(){retu rn void 0= ==m?g:l(j( ))}functio n v(){var t=j(),n=a( t);if(b=ar guments,h= this,w=t,n ){if(void 0===m)retu rn i(w);if (A)return m=setTimeo ut(f,e),o( w)}return void 0===m &&(m=setTi meout(f,e) ),g}var b, h,y,g,m,w, S=0,O=!1,A =!1,L=!0;i f("functio n"!=typeof t)throw n ew TypeErr or(s);retu rn e=u(e)| |0,r(n)&&( O=!!n.lead ing,A="max Wait"in n, y=A?x(u(n. maxWait)|| 0,e):y,L=" trailing"i n n?!!n.tr ailing:L), v.cancel=d ,v.flush=p ,v}functio n r(t){var e="undefi ned"==type of t?"unde fined":c(t );return!! t&&("objec t"==e||"fu nction"==e )}function o(t){retu rn!!t&&"ob ject"==("u ndefined"= =typeof t? "undefined ":c(t))}fu nction i(t ){return"s ymbol"==(" undefined" ==typeof t ?"undefine d":c(t))|| o(t)&&w.ca ll(t)==f}f unction u( t){if("num ber"==type of t)retur n t;if(i(t ))return a ;if(r(t)){ var e="fun ction"==ty peof t.val ueOf?t.val ueOf():t;t =r(e)?e+"" :e}if("str ing"!=type of t)retur n 0===t?t: +t;t=t.rep lace(l,"") ;var n=p.t est(t);ret urn n||v.t est(t)?b(t .slice(2), n?2:8):d.t est(t)?a:+ t}var c="f unction"== typeof Sym bol&&"symb ol"==typeo f Symbol.i terator?fu nction(t){ return typ eof t}:fun ction(t){r eturn t&&" function"= =typeof Sy mbol&&t.co nstructor= ==Symbol&& t!==Symbol .prototype ?"symbol": typeof t}, s="Expecte d a functi on",a=NaN, f="[object Symbol]", l=/^\\s+|\ \s+$/g,d=/ ^[-+]0x[0- 9a-f]+$/i, p=/^0b[01] +$/i,v=/^0 o[0-7]+$/i ,b=parseIn t,h="objec t"==("unde fined"==ty peof t?"un defined":c (t))&&t&&t .Object=== Object&&t, y="object" ==("undefi ned"==type of self?"u ndefined": c(self))&& self&&self .Object=== Object&&se lf,g=h||y| |Function( "return th is")(),m=O bject.prot otype,w=m. toString,x =Math.max, E=Math.min ,j=functio n(){return g.Date.no w()};e.exp orts=n}).c all(this," undefined" !=typeof g lobal?glob al:"undefi ned"!=type of self?se lf:"undefi ned"!=type of window? window:{}) },{}],8:[f unction(t, e,n){"use strict";fu nction r(t ){if(null= ==t||void 0===t)thro w new Type Error("Obj ect.assign cannot be called wi th null or undefined ");return Object(t)} function o (){try{if( !Object.as sign)retur n!1;var t= new String ("abc");if (t[5]="de" ,"5"===Obj ect.getOwn PropertyNa mes(t)[0]) return!1;f or(var e={ },n=0;n<10 ;n++)e["_" +String.fr omCharCode (n)]=n;var r=Object. getOwnProp ertyNames( e).map(fun ction(t){r eturn e[t] });if("012 3456789"!= =r.join("" ))return!1 ;var o={}; return"abc defghijklm nopqrst".s plit("").f orEach(fun ction(t){o [t]=t}),"a bcdefghijk lmnopqrst" ===Object. keys(Objec t.assign({ },o)).join ("")}catch (i){return !1}}var i= Object.get OwnPropert ySymbols,u =Object.pr ototype.ha sOwnProper ty,c=Objec t.prototyp e.property IsEnumerab le;e.expor ts=o()?Obj ect.assign :function( t,e){for(v ar n,o,s=r (t),a=1;a< arguments. length;a++ ){n=Object (arguments [a]);for(v ar f in n) u.call(n,f )&&(s[f]=n [f]);if(i) {o=i(n);fo r(var l=0; l<o.length ;l++)c.cal l(n,o[l])& &(s[o[l]]= n[o[l]])}} return s}} ,{}],9:[fu nction(t,e ,n){"use s trict";var r="functi on"==typeo f Symbol&& "symbol"== typeof Sym bol.iterat or?functio n(t){retur n typeof t }:function (t){return t&&"funct ion"==type of Symbol& &t.constru ctor===Sym bol&&t!==S ymbol.prot otype?"sym bol":typeo f t},o=t(" object-ass ign"),i=t( "../delega te"),u=t(" ../delegat eAll"),c=/ ^(.+):dele gate\\((.+ )\\)$/,s=" ",a=funct ion(t,e){v ar n,a=t.m atch(c);a& &(t=a[1],n =a[2]);var l;"object "===("unde fined"==ty peof e?"un defined":r (e))&&(l={ capture:f( e,"capture "),passive :f(e,"pass ive")});va r d={selec tor:n,dele gate:"obje ct"===("un defined"== typeof e?" undefined" :r(e))?u(e ):n?i(n,e) :e,options :l};return t.indexOf (s)>-1?t.s plit(s).ma p(function (t){return o({type:t },d)}):(d. type=t,[d] )},f=funct ion(t,e){v ar n=t[e]; return del ete t[e],n };e.export s=function (t,e){var n=Object.k eys(t).red uce(functi on(e,n){va r r=a(n,t[ n]);return e.concat( r)},[]);re turn o({ad d:function (t){n.forE ach(functi on(e){t.ad dEventList ener(e.typ e,e.delega te,e.optio ns)})},rem ove:functi on(t){n.fo rEach(func tion(e){t. removeEven tListener( e.type,e.d elegate,e. options)}) }},e)}},{" ../delegat e":11,"../ delegateAl l":12,"obj ect-assign ":8}],10:[ function(t ,e,n){"use strict";e .exports=f unction(t) {return fu nction(e){ return t.s ome(functi on(t){retu rn t.call( this,e)=== !1},this)} }},{}],11: [function( t,e,n){"us e strict"; t("element -closest") ,e.exports =function( t,e){retur n function (n){var r= n.target.c losest(t); if(r)retur n e.call(r ,n)}}},{"e lement-clo sest":6}], 12:[functi on(t,e,n){ "use stric t";var r=t ("../deleg ate"),o=t( "../compos e"),i="*"; e.exports= function(t ){var e=Ob ject.keys( t);if(1=== e.length&& e[0]===i)r eturn t[i] ;var n=e.r educe(func tion(e,n){ return e.p ush(r(n,t[ n])),e},[] );return o (n)}},{".. /compose": 10,"../del egate":11} ],13:[func tion(t,e,n ){"use str ict";e.exp orts=funct ion(t,e){r eturn func tion(n){if (t!==n.tar get&&!t.co ntains(n.t arget))ret urn e.call (this,n)}} },{}],14:[ function(t ,e,n){"use strict";e .exports=f unction(t, e){var n=f unction(r) {return r. currentTar get.remove EventListe ner(r.type ,n,e),t.ca ll(this,r) };return n }},{}],15: [function( t,e,n){"us e strict"; var r="fun ction"==ty peof Symbo l&&"symbol "==typeof Symbol.ite rator?func tion(t){re turn typeo f t}:funct ion(t){ret urn t&&"fu nction"==t ypeof Symb ol&&t.cons tructor=== Symbol&&t! ==Symbol.p rototype?" symbol":ty peof t},o= /(^\\s+)|( \\s+$)/g,i =/\\s+/,u= String.pro totype.tri m?function (t){return t.trim()} :function( t){return t.replace( o,"")},c=f unction(t) {return th is.querySe lector(\'[ id="\'+t.r eplace(/"/ g,\'\\\\"\ ')+\'"]\') };e.export s=function (t,e){if(" string"!=t ypeof t)th row new Er ror("Expec ted a stri ng but got "+("undef ined"==typ eof t?"und efined":r( t)));e||(e =window.do cument);va r n=e.getE lementById ?e.getElem entById.bi nd(e):c.bi nd(e);retu rn t=u(t). split(i),1 ===t.lengt h&&""===t[ 0]?[]:t.ma p(function (t){var e= n(t);if(!e )throw new Error(\'n o element with id: " \'+t+\'"\' );return e })}},{}],1 6:[functio n(t,e,n){" use strict ";function r(t,e,n){ return e i n t?Object .definePro perty(t,e, {value:n,e numerable: !0,configu rable:!0,w ritable:!0 }):t[e]=n, t}var o=t( "../utils/ behavior") ,i=t("arra y-filter") ,u=t("arra y-foreach" ),c=t("../ utils/togg le"),s=t(" ../utils/i s-in-viewp ort"),a=t( "../events ").CLICK,f =t("../con fig").pref ix,l="."+f +"-accordi on, ."+f+" -accordion -bordered" ,d="."+f+" -accordion -button[ar ia-control s]",p="ari a-expanded ",v="aria- multiselec table",b=f unction(t, e){var n=t .closest(l );if(!n)th row new Er ror(d+" is missing o uter "+l); e=c(t,e);v ar r="true "===n.getA ttribute(v );e&&!r&&u (g(n),func tion(e){e! ==t&&c(e,! 1)})},h=fu nction(t){ return b(t ,!0)},y=fu nction(t){ return b(t ,!1)},g=fu nction(t){ return i(t .querySele ctorAll(d) ,function( e){return e.closest( l)===t})}, m=o(r({},a ,r({},d,fu nction(t){ t.preventD efault(),b (this),"tr ue"===this .getAttrib ute(p)&&(s (this)||th is.scrollI ntoView()) })),{init: function(t ){u(t.quer ySelectorA ll(d),func tion(t){va r e="true" ===t.getAt tribute(p) ;b(t,e)})} ,ACCORDION :l,BUTTON: d,show:h,h ide:y,togg le:b,getBu ttons:g}), w=function (t){this.r oot=t,m.on (this.root )},x=t("ob ject-assig n");x(w,m) ,w.prototy pe.show=h, w.prototyp e.hide=y,w .prototype .remove=fu nction(){m .off(this. root)},e.e xports=w}, {"../confi g":25,"../ events":26 ,"../utils /behavior" :30,"../ut ils/is-in- viewport": 31,"../uti ls/toggle" :35,"array -filter":1 ,"array-fo reach":2," object-ass ign":8}],1 7:[functio n(t,e,n){" use strict ";function r(t,e,n){ return e i n t?Object .definePro perty(t,e, {value:n,e numerable: !0,configu rable:!0,w ritable:!0 }):t[e]=n, t}var o=t( "../utils/ behavior") ,i=(t("../ utils/togg le"),t(".. /events"). CLICK),u=t ("../confi g").prefix ,c="."+u+" -banner-he ader",s=u+ "-banner-h eader-expa nded",a=fu nction(t){ return t.p reventDefa ult(),this .closest(c ).classLis t.toggle(s ),!1};e.ex ports=o(r( {},i,r({}, c+" [aria- controls]" ,a)))},{". ./config": 25,"../eve nts":26,". ./utils/be havior":30 ,"../utils /toggle":3 5}],18:[fu nction(t,e ,n){"use s trict";fun ction r(t, e,n){retur n e in t?O bject.defi neProperty (t,e,{valu e:n,enumer able:!0,co nfigurable :!0,writab le:!0}):t[ e]=n,t}var o=(t("./a ccordion") ,t("../uti ls/behavio r")),i=t(" lodash.deb ounce"),u= t("array-f oreach"),c =t("../uti ls/select" ),s=t("../ events").C LICK,a=t(" ../config" ).prefix,f ="hidden", l="."+a+"- footer-big ",d=l+" na v",p=d+" . "+a+"-foot er-primary -link",v=d +" ul",b=6 00,h=180,y =function( ){var t=th is.closest (v);t.clas sList.remo ve(f);var e=t.closes t(d).query SelectorAl l("ul");u( e,function (e){e!==t& &e.classLi st.add(f)} )},g=i(fun ction(){va r t=window .innerWidt h<b;u(c(v) ,function( e){e.class List.toggl e(f,t)})}, h);e.expor ts=o(r({}, s,r({},p,y )),{HIDE_M AX_WIDTH:b ,DEBOUNCE_ RATE:h,ini t:function (t){g(),wi ndow.addEv entListene r("resize" ,g)},teard own:functi on(t){wind ow.removeE ventListen er("resize ",g)}})},{ "../config ":25,"../e vents":26, "../utils/ behavior": 30,"../uti ls/select" :32,"./acc ordion":16 ,"array-fo reach":2," lodash.deb ounce":7}] ,19:[funct ion(t,e,n) {"use stri ct";e.expo rts={accor dion:t("./ accordion" ),banner:t ("./banner "),footer: t("./foote r"),naviga tion:t("./ navigation "),passwor d:t("./pas sword"),se arch:t("./ search"),s kipnav:t(" ./skipnav" ),validato r:t("./val idator")}} ,{"./accor dion":16," ./banner": 17,"./foot er":18,"./ navigation ":20,"./pa ssword":21 ,"./search ":22,"./sk ipnav":23, "./validat or":24}],2 0:[functio n(t,e,n){" use strict ";function r(t,e,n){ return e i n t?Object .definePro perty(t,e, {value:n,e numerable: !0,configu rable:!0,w ritable:!0 }):t[e]=n, t}var o,i= t("../util s/behavior "),u=t("ar ray-foreac h"),c=t(". ./utils/se lect"),s=t ("./accord ion"),a=t( "../events ").CLICK,f =t("../con fig").pref ix,l="."+f +"-nav",d= l+" a",p=" ."+f+"-men u-btn",v=" ."+f+"-nav -close",b= "."+f+"-ov erlay",h=v +", ."+f+" -overlay", y=[l,b].jo in(", "),g ="usa-mobi le_nav-act ive",m="is -visible", w=function (){return document.b ody.classL ist.contai ns(g)},x=f unction(t) {var e=doc ument.body ;"boolean" !=typeof t &&(t=!w()) ,e.classLi st.toggle( g,t),u(c(y ),function (e){e.clas sList.togg le(m,t)}); var n=e.qu erySelecto r(v),r=e.q uerySelect or(p);retu rn t&&n?n. focus():!t &&document .activeEle ment===n&& r&&r.focus (),t},E=fu nction(){v ar t=docum ent.body.q uerySelect or(v);w()& &t&&0===t. getBoundin gClientRec t().width& &x.call(t, !1)},j=i(r ({},a,(o={ },r(o,p,x) ,r(o,h,x), r(o,d,func tion(){var t=this.cl osest(s.AC CORDION);t &&s.getBut tons(t).fo rEach(func tion(t){re turn s.hid e(t)}),w() &&x.call(t his,!1)}), o)),{init: function() {E(),windo w.addEvent Listener(" resize",E, !1)},teard own:functi on(){windo w.removeEv entListene r("resize" ,E,!1)}}), S=t("objec t-assign") ;e.exports =S(functio n(t){retur n j.on(t)} ,j)},{"../ config":25 ,"../event s":26,"../ utils/beha vior":30," ../utils/s elect":32, "./accordi on":16,"ar ray-foreac h":2,"obje ct-assign" :8}],21:[f unction(t, e,n){"use strict";fu nction r(t ,e,n){retu rn e in t? Object.def inePropert y(t,e,{val ue:n,enume rable:!0,c onfigurabl e:!0,writa ble:!0}):t [e]=n,t}va r o=t("../ utils/beha vior"),i=t ("../utils /toggle-fo rm-input") ,u=t("../e vents").CL ICK,c=t(". ./config") .prefix,s= "."+c+"-sh ow_passwor d, ."+c+"- show_multi password", a=function (t){t.prev entDefault (),i(this) };e.export s=o(r({},u ,r({},s,a) ))},{"../c onfig":25, "../events ":26,"../u tils/behav ior":30,". ./utils/to ggle-form- input":34} ],22:[func tion(t,e,n ){"use str ict";funct ion r(t,e, n){return e in t?Obj ect.define Property(t ,e,{value: n,enumerab le:!0,conf igurable:! 0,writable :!0}):t[e] =n,t}var o =t("../uti ls/behavio r"),i=t("a rray-forea ch"),u=t(" receptor/i gnore"),c= t("../util s/select") ,s=t("../e vents").CL ICK,a=t(". ./config") .prefix,f= ".js-searc h-button", l=".js-sea rch-form", d="[type=s earch]",p= "header",v =a+"-sr-on ly",b=void 0,h=funct ion(t){m(t his,!0),b= this},y=fu nction(t){ m(this,!1) ,b=void 0} ,g=functio n(t){var e =t.closest (p);return e?e.query Selector(l ):document .querySele ctor(l)},m =function( t,e){var n =g(t);if(! n)throw ne w Error("N o "+l+" fo und for se arch toggl e in "+p+" !");if(t.h idden=e,n. classList. toggle(v,! e),e){var r=n.queryS elector(d) ;r&&r.focu s();var o= u(n,functi on(t){b&&y .call(b),d ocument.bo dy.removeE ventListen er(s,o)}); setTimeout (function( ){document .body.addE ventListen er(s,o)},0 )}},w=o(r( {},s,r({}, f,h)),{ini t:function (t){i(c(f, t),functio n(t){m(t,! 1)})},tear down:funct ion(t){b=v oid 0}}),x =t("object -assign"); e.exports= x(function (t){return w.on(t)}, w)},{"../c onfig":25, "../events ":26,"../u tils/behav ior":30,". ./utils/se lect":32," array-fore ach":2,"ob ject-assig n":8,"rece ptor/ignor e":13}],23 :[function (t,e,n){"u se strict" ;function r(t,e,n){r eturn e in t?Object. defineProp erty(t,e,{ value:n,en umerable:! 0,configur able:!0,wr itable:!0} ):t[e]=n,t }var o=t(" ../utils/b ehavior"), i=t("recep tor/once") ,u=t("../e vents").CL ICK,c=t(". ./config") .prefix,s= "."+c+\'-s kipnav[hre f^="#"]\', a=function (t){var e= this.getAt tribute("h ref").slic e(1),n=doc ument.getE lementById (e);n&&(n. setAttribu te("tabind ex",0),n.a ddEventLis tener("blu r",i(funct ion(t){n.s etAttribut e("tabinde x",-1)}))) };e.export s=o(r({},u ,r({},s,a) ))},{"../c onfig":25, "../events ":26,"../u tils/behav ior":30,"r eceptor/on ce":14}],2 4:[functio n(t,e,n){" use strict ";var r=t( "../utils/ behavior") ,o=t("../u tils/valid ate-input" ),i=(t("lo dash.debou nce"),func tion(t){re turn o(thi s)}),u=r({ "keyup cha nge":{"inp ut[data-va lidation-e lement]":i }}),c=t("o bject-assi gn");e.exp orts=c(fun ction(t){r eturn u.on (t)},u)},{ "../utils/ behavior": 30,"../uti ls/validat e-input":3 6,"lodash. debounce": 7,"object- assign":8} ],25:[func tion(t,e,n ){"use str ict";e.exp orts={pref ix:"usa"}} ,{}],26:[f unction(t, e,n){"use strict";e. exports={C LICK:"clic k"}},{}],2 7:[functio n(t,e,n){" use strict ";var r=wi ndow.HTMLE lement.pro totype,o=" hidden";o in r||Obje ct.defineP roperty(r, o,{get:fun ction(){re turn this. hasAttribu te(o)},set :function( t){t?this. setAttribu te(o,""):t his.remove Attribute( o)}})},{}] ,28:[funct ion(t,e,n) {"use stri ct";t("cla sslist-pol yfill"),t( "./element -hidden")} ,{"./eleme nt-hidden" :27,"class list-polyf ill":3}],2 9:[functio n(t,e,n){" use strict ";var r=t( "domready" );t("./pol yfills");v ar o=t("./ config"),i =t("./comp onents");o .component s=i,r(func tion(){var t=documen t.body;for (var e in i){var n=i [e];n.on(t )}}),e.exp orts=o},{" ./componen ts":19,"./ config":25 ,"./polyfi lls":28,do mready:4}] ,30:[funct ion(t,e,n) {"use stri ct";var r= t("object- assign"),o =t("array- foreach"), i=t("recep tor/behavi or"),u=fun ction(){va r t=[].sli ce.call(ar guments);r eturn func tion(e){va r n=this;e ||(e=docum ent.body), o(t,functi on(t){"fun ction"==ty peof n[t]& &n[t].call (n,e)})}}; e.exports= function(t ,e){return i(t,r({on :u("init", "add"),off :u("teardo wn","remov e")},e))}} ,{"array-f oreach":2, "object-as sign":8,"r eceptor/be havior":9} ],31:[func tion(t,e,n ){"use str ict";funct ion r(t){v ar e=argum ents.lengt h>1&&void 0!==argume nts[1]?arg uments[1]: window,n=a rguments.l ength>2&&v oid 0!==ar guments[2] ?arguments [2]:docume nt.documen tElement,r =t.getBoun dingClient Rect();ret urn r.top> =0&&r.left >=0&&r.bot tom<=(e.in nerHeight| |n.clientH eight)&&r. right<=(e. innerWidth ||n.client Width)}e.e xports=r}, {}],32:[fu nction(t,e ,n){"use s trict";var r="functi on"==typeo f Symbol&& "symbol"== typeof Sym bol.iterat or?functio n(t){retur n typeof t }:function (t){return t&&"funct ion"==type of Symbol& &t.constru ctor===Sym bol&&t!==S ymbol.prot otype?"sym bol":typeo f t},o=fun ction(t){r eturn t&&" object"=== ("undefine d"==typeof t?"undefi ned":r(t)) &&1===t.no deType};e. exports=fu nction(t,e ){if("stri ng"!=typeo f t)return [];e&&o(e) ||(e=windo w.document );var n=e. querySelec torAll(t); return Arr ay.prototy pe.slice.c all(n)}},{ }],33:[fun ction(t,e, n){"use st rict";e.ex ports=func tion(t,e){ t.setAttri bute("auto capitalize ","off"),t .setAttrib ute("autoc orrect","o ff"),t.set Attribute( "type",e?" password": "text")}}, {}],34:[fu nction(t,e ,n){"use s trict";var r=t("arra y-foreach" ),o=t("res olve-id-re fs"),i=(t( "./select" ),t("./tog gle-field- mask")),u= "aria-cont rols",c="a ria-presse d",s="data -show-text ",a="data- hide-text" ,f=functio n(t){retur n t.replac e(/\\bShow \\b/i,func tion(t){re turn("S"== =t[0]?"H": "h")+"ide" })};e.expo rts=functi on(t){var e=t.hasAtt ribute(c)& &"true"!== t.getAttri bute(c),n= o(t.getAtt ribute(u)) ;r(n,funct ion(t){ret urn i(t,e) }),t.hasAt tribute(s) ||t.setAtt ribute(s,t .textConte nt);var l= t.getAttri bute(s),d= t.getAttri bute(a)||f (l);return t.textCon tent=e?l:d ,t.setAttr ibute(c,e) ,e}},{"./s elect":32, "./toggle- field-mask ":33,"arra y-foreach" :2,"resolv e-id-refs" :15}],35:[ function(t ,e,n){"use strict";v ar r="aria -expanded" ,o="aria-c ontrols",i ="aria-hid den";e.exp orts=funct ion(t,e){" boolean"!= typeof e&& (e="false" ===t.getAt tribute(r) ),t.setAtt ribute(r,e );var n=t. getAttribu te(o),u=do cument.get ElementByI d(n);if(!u )throw new Error(\'N o toggle t arget foun d with id: "\'+n+\'" \');return u.setAttr ibute(i,!e ),e}},{}], 36:[functi on(t,e,n){ "use stric t";var r=t ("elem-dat aset"),o=t ("../confi g").prefix ,i="aria-c hecked",u= o+"-checkl ist-checke d";e.expor ts=functio n(t){var e =r(t),n=e. validation Element,o= "#"===n.ch arAt(0)?do cument.que rySelector (n):docume nt.getElem entById(n) ;if(!o)thr ow new Err or(\'No va lidation e lement fou nd with id : "\'+n+\' "\');for(v ar c in e) if(c.start sWith("val idate")){v ar s=c.sub str("valid ate".lengt h).toLower Case(),a=n ew RegExp( e[c]),f=\' [data-vali dator="\'+ s+\'"]\',l =o.querySe lector(f); if(!l)thro w new Erro r(\'No val idator che ckbox foun d for: "\' +s+\'"\'); var d=a.te st(t.value );l.classL ist.toggle (u,d),l.se tAttribute (i,d)}}},{ "../config ":25,"elem -dataset": 5}]},{},[2 9]);\n'},w CEU:functi on(e,t){e. exports='/ *! jQuery v2.2.4 | ( c) jQuery Foundation | jquery. org/licens e */\n!fun ction(a,b) {"object"= =typeof mo dule&&"obj ect"==type of module. exports?mo dule.expor ts=a.docum ent?b(a,!0 ):function (a){if(!a. document)t hrow new E rror("jQue ry require s a window with a do cument");r eturn b(a) }:b(a)}("u ndefined"! =typeof wi ndow?windo w:this,fun ction(a,b) {var c=[], d=a.docume nt,e=c.sli ce,f=c.con cat,g=c.pu sh,h=c.ind exOf,i={}, j=i.toStri ng,k=i.has OwnPropert y,l={},m=" 2.2.4",n=f unction(a, b){return new n.fn.i nit(a,b)}, o=/^[\\s\\ uFEFF\\xA0 ]+|[\\s\\u FEFF\\xA0] +$/g,p=/^- ms-/,q=/-( [\\da-z])/ gi,r=funct ion(a,b){r eturn b.to UpperCase( )};n.fn=n. prototype= {jquery:m, constructo r:n,select or:"",leng th:0,toArr ay:functio n(){return e.call(th is)},get:f unction(a) {return nu ll!=a?0>a? this[a+thi s.length]: this[a]:e. call(this) },pushStac k:function (a){var b= n.merge(th is.constru ctor(),a); return b.p revObject= this,b.con text=this. context,b} ,each:func tion(a){re turn n.eac h(this,a)} ,map:funct ion(a){ret urn this.p ushStack(n .map(this, function(b ,c){return a.call(b, c,b)}))},s lice:funct ion(){retu rn this.pu shStack(e. apply(this ,arguments ))},first: function() {return th is.eq(0)}, last:funct ion(){retu rn this.eq (-1)},eq:f unction(a) {var b=thi s.length,c =+a+(0>a?b :0);return this.push Stack(c>=0 &&b>c?[thi s[c]]:[])} ,end:funct ion(){retu rn this.pr evObject|| this.const ructor()}, push:g,sor t:c.sort,s plice:c.sp lice},n.ex tend=n.fn. extend=fun ction(){va r a,b,c,d, e,f,g=argu ments[0]|| {},h=1,i=a rguments.l ength,j=!1 ;for("bool ean"==type of g&&(j=g ,g=argumen ts[h]||{}, h++),"obje ct"==typeo f g||n.isF unction(g) ||(g={}),h ===i&&(g=t his,h--);i >h;h++)if( null!=(a=a rguments[h ]))for(b i n a)c=g[b] ,d=a[b],g! ==d&&(j&&d &&(n.isPla inObject(d )||(e=n.is Array(d))) ?(e?(e=!1, f=c&&n.isA rray(c)?c: []):f=c&&n .isPlainOb ject(c)?c: {},g[b]=n. extend(j,f ,d)):void 0!==d&&(g[ b]=d));ret urn g},n.e xtend({exp ando:"jQue ry"+(m+Mat h.random() ).replace( /\\D/g,"") ,isReady:! 0,error:fu nction(a){ throw new Error(a)}, noop:funct ion(){},is Function:f unction(a) {return"fu nction"=== n.type(a)} ,isArray:A rray.isArr ay,isWindo w:function (a){return null!=a&& a===a.wind ow},isNume ric:functi on(a){var b=a&&a.toS tring();re turn!n.isA rray(a)&&b -parseFloa t(b)+1>=0} ,isPlainOb ject:funct ion(a){var b;if("obj ect"!==n.t ype(a)||a. nodeType|| n.isWindow (a))return !1;if(a.co nstructor& &!k.call(a ,"construc tor")&&!k. call(a.con structor.p rototype|| {},"isProt otypeOf")) return!1;f or(b in a) ;return vo id 0===b|| k.call(a,b )},isEmpty Object:fun ction(a){v ar b;for(b in a)retu rn!1;retur n!0},type: function(a ){return n ull==a?a+" ":"object" ==typeof a ||"functio n"==typeof a?i[j.cal l(a)]||"ob ject":type of a},glob alEval:fun ction(a){v ar b,c=eva l;a=n.trim (a),a&&(1= ==a.indexO f("use str ict")?(b=d .createEle ment("scri pt"),b.tex t=a,d.head .appendChi ld(b).pare ntNode.rem oveChild(b )):c(a))}, camelCase: function(a ){return a .replace(p ,"ms-").re place(q,r) },nodeName :function( a,b){retur n a.nodeNa me&&a.node Name.toLow erCase()== =b.toLower Case()},ea ch:functio n(a,b){var c,d=0;if( s(a)){for( c=a.length ;c>d;d++)i f(b.call(a [d],d,a[d] )===!1)bre ak}else fo r(d in a)i f(b.call(a [d],d,a[d] )===!1)bre ak;return a},trim:fu nction(a){ return nul l==a?"":(a +"").repla ce(o,"")}, makeArray: function(a ,b){var c= b||[];retu rn null!=a &&(s(Objec t(a))?n.me rge(c,"str ing"==type of a?[a]:a ):g.call(c ,a)),c},in Array:func tion(a,b,c ){return n ull==b?-1: h.call(b,a ,c)},merge :function( a,b){for(v ar c=+b.le ngth,d=0,e =a.length; c>d;d++)a[ e++]=b[d]; return a.l ength=e,a} ,grep:func tion(a,b,c ){for(var d,e=[],f=0 ,g=a.lengt h,h=!c;g>f ;f++)d=!b( a[f],f),d! ==h&&e.pus h(a[f]);re turn e},ma p:function (a,b,c){va r d,e,g=0, h=[];if(s( a))for(d=a .length;d> g;g++)e=b( a[g],g,c), null!=e&&h .push(e);e lse for(g in a)e=b(a [g],g,c),n ull!=e&&h. push(e);re turn f.app ly([],h)}, guid:1,pro xy:functio n(a,b){var c,d,f;ret urn"string "==typeof b&&(c=a[b] ,b=a,a=c), n.isFuncti on(a)?(d=e .call(argu ments,2),f =function( ){return a .apply(b|| this,d.con cat(e.call (arguments )))},f.gui d=a.guid=a .guid||n.g uid++,f):v oid 0},now :Date.now, support:l} ),"functio n"==typeof Symbol&&( n.fn[Symbo l.iterator ]=c[Symbol .iterator] ),n.each(" Boolean Nu mber Strin g Function Array Dat e RegExp O bject Erro r Symbol". split(" ") ,function( a,b){i["[o bject "+b+ "]"]=b.toL owerCase() });functio n s(a){var b=!!a&&"l ength"in a &&a.length ,c=n.type( a);return" function"= ==c||n.isW indow(a)?! 1:"array"= ==c||0===b ||"number" ==typeof b &&b>0&&b-1 in a}var t=function (a){var b, c,d,e,f,g, h,i,j,k,l, m,n,o,p,q, r,s,t,u="s izzle"+1*n ew Date,v= a.document ,w=0,x=0,y =ga(),z=ga (),A=ga(), B=function (a,b){retu rn a===b&& (l=!0),0}, C=1<<31,D= {}.hasOwnP roperty,E= [],F=E.pop ,G=E.push, H=E.push,I =E.slice,J =function( a,b){for(v ar c=0,d=a .length;d> c;c++)if(a [c]===b)re turn c;ret urn-1},K=" checked|se lected|asy nc|autofoc us|autopla y|controls |defer|dis abled|hidd en|ismap|l oop|multip le|open|re adonly|req uired|scop ed",L="[\\ \\x20\\\\t \\\\r\\\\n \\\\f]",M= "(?:\\\\\\ \\.|[\\\\w -]|[^\\\\x 00-\\\\xa0 ])+",N="\\ \\["+L+"*( "+M+")(?:" +L+"*([*^$ |!~]?=)"+L +"*(?:\'(( ?:\\\\\\\\ .|[^\\\\\\ \\\'])*)\' |\\"((?:\\ \\\\\\.|[^ \\\\\\\\\\ "])*)\\"|( "+M+"))|)" +L+"*\\\\] ",O=":("+M +")(?:\\\\ (((\'((?:\ \\\\\\\.|[ ^\\\\\\\\\ '])*)\'|\\ "((?:\\\\\ \\\.|[^\\\ \\\\\\\"]) *)\\")|((? :\\\\\\\\. |[^\\\\\\\ \()[\\\\]] |"+N+")*)| .*)\\\\)|) ",P=new Re gExp(L+"+" ,"g"),Q=ne w RegExp(" ^"+L+"+|(( ?:^|[^\\\\ \\\\])(?:\ \\\\\\\.)* )"+L+"+$", "g"),R=new RegExp("^ "+L+"*,"+L +"*"),S=ne w RegExp(" ^"+L+"*([> +~]|"+L+") "+L+"*"),T =new RegEx p("="+L+"* ([^\\\\]\' \\"]*?)"+L +"*\\\\]", "g"),U=new RegExp(O) ,V=new Reg Exp("^"+M+ "$"),W={ID :new RegEx p("^#("+M+ ")"),CLASS :new RegEx p("^\\\\.( "+M+")"),T AG:new Reg Exp("^("+M +"|[*])"), ATTR:new R egExp("^"+ N),PSEUDO: new RegExp ("^"+O),CH ILD:new Re gExp("^:(o nly|first| last|nth|n th-last)-( child|of-t ype)(?:\\\ \("+L+"*(e ven|odd|(( [+-]|)(\\\ \d*)n|)"+L +"*(?:([+- ]|)"+L+"*( \\\\d+)|)) "+L+"*\\\\ )|)","i"), bool:new R egExp("^(? :"+K+")$", "i"),needs Context:ne w RegExp(" ^"+L+"*[>+ ~]|:(even| odd|eq|gt| lt|nth|fir st|last)(? :\\\\("+L+ "*((?:-\\\ \d)?\\\\d* )"+L+"*\\\ \)|)(?=[^- ]|$)","i") },X=/^(?:i nput|selec t|textarea |button)$/ i,Y=/^h\\d $/i,Z=/^[^ {]+\\{\\s* \\[native \\w/,$=/^( ?:#([\\w-] +)|(\\w+)| \\.([\\w-] +))$/,_=/[ +~]/,aa=/\ '|\\\\/g,b a=new RegE xp("\\\\\\ \\([\\\\da -f]{1,6}"+ L+"?|("+L+ ")|.)","ig "),ca=func tion(a,b,c ){var d="0 x"+b-65536 ;return d! ==d||c?b:0 >d?String. fromCharCo de(d+65536 ):String.f romCharCod e(d>>10|55 296,1023&d |56320)},d a=function (){m()};tr y{H.apply( E=I.call(v .childNode s),v.child Nodes),E[v .childNode s.length]. nodeType}c atch(ea){H ={apply:E. length?fun ction(a,b) {G.apply(a ,I.call(b) )}:functio n(a,b){var c=a.lengt h,d=0;whil e(a[c++]=b [d++]);a.l ength=c-1} }}function fa(a,b,d, e){var f,h ,j,k,l,o,r ,s,w=b&&b. ownerDocum ent,x=b?b. nodeType:9 ;if(d=d||[ ],"string" !=typeof a ||!a||1!== x&&9!==x&& 11!==x)ret urn d;if(! e&&((b?b.o wnerDocume nt||b:v)!= =n&&m(b),b =b||n,p)){ if(11!==x& &(o=$.exec (a)))if(f= o[1]){if(9 ===x){if(! (j=b.getEl ementById( f)))return d;if(j.id ===f)retur n d.push(j ),d}else i f(w&&(j=w. getElement ById(f))&& t(b,j)&&j. id===f)ret urn d.push (j),d}else {if(o[2])r eturn H.ap ply(d,b.ge tElementsB yTagName(a )),d;if((f =o[3])&&c. getElement sByClassNa me&&b.getE lementsByC lassName)r eturn H.ap ply(d,b.ge tElementsB yClassName (f)),d}if( c.qsa&&!A[ a+" "]&&(! q||!q.test (a))){if(1 !==x)w=b,s =a;else if ("object"! ==b.nodeNa me.toLower Case()){(k =b.getAttr ibute("id" ))?k=k.rep lace(aa,"\ \\\$&"):b. setAttribu te("id",k= u),r=g(a), h=r.length ,l=V.test( k)?"#"+k:" [id=\'"+k+ "\']";whil e(h--)r[h] =l+" "+qa( r[h]);s=r. join(","), w=_.test(a )&&oa(b.pa rentNode)| |b}if(s)tr y{return H .apply(d,w .querySele ctorAll(s) ),d}catch( y){}finall y{k===u&&b .removeAtt ribute("id ")}}}retur n i(a.repl ace(Q,"$1" ),b,d,e)}f unction ga (){var a=[ ];function b(c,e){re turn a.pus h(c+" ")>d .cacheLeng th&&delete b[a.shift ()],b[c+" "]=e}retur n b}functi on ha(a){r eturn a[u] =!0,a}func tion ia(a) {var b=n.c reateEleme nt("div"); try{return !!a(b)}cat ch(c){retu rn!1}final ly{b.paren tNode&&b.p arentNode. removeChil d(b),b=nul l}}functio n ja(a,b){ var c=a.sp lit("|"),e =c.length; while(e--) d.attrHand le[c[e]]=b }function ka(a,b){va r c=b&&a,d =c&&1===a. nodeType&& 1===b.node Type&&(~b. sourceInde x||C)-(~a. sourceInde x||C);if(d )return d; if(c)while (c=c.nextS ibling)if( c===b)retu rn-1;retur n a?1:-1}f unction la (a){return function( b){var c=b .nodeName. toLowerCas e();return "input"=== c&&b.type= ==a}}funct ion ma(a){ return fun ction(b){v ar c=b.nod eName.toLo werCase(); return("in put"===c|| "button"== =c)&&b.typ e===a}}fun ction na(a ){return h a(function (b){return b=+b,ha(f unction(c, d){var e,f =a([],c.le ngth,b),g= f.length;w hile(g--)c [e=f[g]]&& (c[e]=!(d[ e]=c[e]))} )})}functi on oa(a){r eturn a&&" undefined" !=typeof a .getElemen tsByTagNam e&&a}c=fa. support={} ,f=fa.isXM L=function (a){var b= a&&(a.owne rDocument| |a).docume ntElement; return b?" HTML"!==b. nodeName:! 1},m=fa.se tDocument= function(a ){var b,e, g=a?a.owne rDocument| |a:v;retur n g!==n&&9 ===g.nodeT ype&&g.doc umentEleme nt?(n=g,o= n.document Element,p= !f(n),(e=n .defaultVi ew)&&e.top !==e&&(e.a ddEventLis tener?e.ad dEventList ener("unlo ad",da,!1) :e.attachE vent&&e.at tachEvent( "onunload" ,da)),c.at tributes=i a(function (a){return a.classNa me="i",!a. getAttribu te("classN ame")}),c. getElement sByTagName =ia(functi on(a){retu rn a.appen dChild(n.c reateComme nt("")),!a .getElemen tsByTagNam e("*").len gth}),c.ge tElementsB yClassName =Z.test(n. getElement sByClassNa me),c.getB yId=ia(fun ction(a){r eturn o.ap pendChild( a).id=u,!n .getElemen tsByName|| !n.getElem entsByName (u).length }),c.getBy Id?(d.find .ID=functi on(a,b){if ("undefine d"!=typeof b.getElem entById&&p ){var c=b. getElement ById(a);re turn c?[c] :[]}},d.fi lter.ID=fu nction(a){ var b=a.re place(ba,c a);return function(a ){return a .getAttrib ute("id")= ==b}}):(de lete d.fin d.ID,d.fil ter.ID=fun ction(a){v ar b=a.rep lace(ba,ca );return f unction(a) {var c="un defined"!= typeof a.g etAttribut eNode&&a.g etAttribut eNode("id" );return c &&c.value= ==b}}),d.f ind.TAG=c. getElement sByTagName ?function( a,b){retur n"undefine d"!=typeof b.getElem entsByTagN ame?b.getE lementsByT agName(a): c.qsa?b.qu erySelecto rAll(a):vo id 0}:func tion(a,b){ var c,d=[] ,e=0,f=b.g etElements ByTagName( a);if("*"= ==a){while (c=f[e++]) 1===c.node Type&&d.pu sh(c);retu rn d}retur n f},d.fin d.CLASS=c. getElement sByClassNa me&&functi on(a,b){re turn"undef ined"!=typ eof b.getE lementsByC lassName&& p?b.getEle mentsByCla ssName(a): void 0},r= [],q=[],(c .qsa=Z.tes t(n.queryS electorAll ))&&(ia(fu nction(a){ o.appendCh ild(a).inn erHTML="<a id=\'"+u+ "\'></a><s elect id=\ '"+u+"-\\r \\\\\' msa llowcaptur e=\'\'><op tion selec ted=\'\'>< /option></ select>",a .querySele ctorAll("[ msallowcap ture^=\'\' ]").length &&q.push(" [*^$]="+L+ "*(?:\'\'| \\"\\")"), a.querySel ectorAll(" [selected] ").length| |q.push("\ \\\["+L+"* (?:value|" +K+")"),a. querySelec torAll("[i d~="+u+"-] ").length| |q.push("~ ="),a.quer ySelectorA ll(":check ed").lengt h||q.push( ":checked" ),a.queryS electorAll ("a#"+u+"+ *").length ||q.push(" .#.+[+~]") }),ia(func tion(a){va r b=n.crea teElement( "input");b .setAttrib ute("type" ,"hidden") ,a.appendC hild(b).se tAttribute ("name","D "),a.query SelectorAl l("[name=d ]").length &&q.push(" name"+L+"* [*^$|!~]?= "),a.query SelectorAl l(":enable d").length ||q.push(" :enabled", ":disabled "),a.query SelectorAl l("*,:x"), q.push(",. *:")})),(c .matchesSe lector=Z.t est(s=o.ma tches||o.w ebkitMatch esSelector ||o.mozMat chesSelect or||o.oMat chesSelect or||o.msMa tchesSelec tor))&&ia( function(a ){c.discon nectedMatc h=s.call(a ,"div"),s. call(a,"[s !=\'\']:x" ),r.push(" !=",O)}),q =q.length& &new RegEx p(q.join(" |")),r=r.l ength&&new RegExp(r. join("|")) ,b=Z.test( o.compareD ocumentPos ition),t=b ||Z.test(o .contains) ?function( a,b){var c =9===a.nod eType?a.do cumentElem ent:a,d=b& &b.parentN ode;return a===d||!( !d||1!==d. nodeType|| !(c.contai ns?c.conta ins(d):a.c ompareDocu mentPositi on&&16&a.c ompareDocu mentPositi on(d)))}:f unction(a, b){if(b)wh ile(b=b.pa rentNode)i f(b===a)re turn!0;ret urn!1},B=b ?function( a,b){if(a= ==b)return l=!0,0;va r d=!a.com pareDocume ntPosition -!b.compar eDocumentP osition;re turn d?d:( d=(a.owner Document|| a)===(b.ow nerDocumen t||b)?a.co mpareDocum entPositio n(b):1,1&d ||!c.sortD etached&&b .compareDo cumentPosi tion(a)=== d?a===n||a .ownerDocu ment===v&& t(v,a)?-1: b===n||b.o wnerDocume nt===v&&t( v,b)?1:k?J (k,a)-J(k, b):0:4&d?- 1:1)}:func tion(a,b){ if(a===b)r eturn l=!0 ,0;var c,d =0,e=a.par entNode,f= b.parentNo de,g=[a],h =[b];if(!e ||!f)retur n a===n?-1 :b===n?1:e ?-1:f?1:k? J(k,a)-J(k ,b):0;if(e ===f)retur n ka(a,b); c=a;while( c=c.parent Node)g.uns hift(c);c= b;while(c= c.parentNo de)h.unshi ft(c);whil e(g[d]===h [d])d++;re turn d?ka( g[d],h[d]) :g[d]===v? -1:h[d]=== v?1:0},n): n},fa.matc hes=functi on(a,b){re turn fa(a, null,null, b)},fa.mat chesSelect or=functio n(a,b){if( (a.ownerDo cument||a) !==n&&m(a) ,b=b.repla ce(T,"=\'$ 1\']"),c.m atchesSele ctor&&p&&! A[b+" "]&& (!r||!r.te st(b))&&(! q||!q.test (b)))try{v ar d=s.cal l(a,b);if( d||c.disco nnectedMat ch||a.docu ment&&11!= =a.documen t.nodeType )return d} catch(e){} return fa( b,n,null,[ a]).length >0},fa.con tains=func tion(a,b){ return(a.o wnerDocume nt||a)!==n &&m(a),t(a ,b)},fa.at tr=functio n(a,b){(a. ownerDocum ent||a)!== n&&m(a);va r e=d.attr Handle[b.t oLowerCase ()],f=e&&D .call(d.at trHandle,b .toLowerCa se())?e(a, b,!p):void 0;return void 0!==f ?f:c.attri butes||!p? a.getAttri bute(b):(f =a.getAttr ibuteNode( b))&&f.spe cified?f.v alue:null} ,fa.error= function(a ){throw ne w Error("S yntax erro r, unrecog nized expr ession: "+ a)},fa.uni queSort=fu nction(a){ var b,d=[] ,e=0,f=0;i f(l=!c.det ectDuplica tes,k=!c.s ortStable& &a.slice(0 ),a.sort(B ),l){while (b=a[f++]) b===a[f]&& (e=d.push( f));while( e--)a.spli ce(d[e],1) }return k= null,a},e= fa.getText =function( a){var b,c ="",d=0,f= a.nodeType ;if(f){if( 1===f||9== =f||11===f ){if("stri ng"==typeo f a.textCo ntent)retu rn a.textC ontent;for (a=a.first Child;a;a= a.nextSibl ing)c+=e(a )}else if( 3===f||4== =f)return a.nodeValu e}else whi le(b=a[d++ ])c+=e(b); return c}, d=fa.selec tors={cach eLength:50 ,createPse udo:ha,mat ch:W,attrH andle:{},f ind:{},rel ative:{">" :{dir:"par entNode",f irst:!0}," ":{dir:"p arentNode" },"+":{dir :"previous Sibling",f irst:!0}," ~":{dir:"p reviousSib ling"}},pr eFilter:{A TTR:functi on(a){retu rn a[1]=a[ 1].replace (ba,ca),a[ 3]=(a[3]|| a[4]||a[5] ||"").repl ace(ba,ca) ,"~="===a[ 2]&&(a[3]= " "+a[3]+" "),a.slic e(0,4)},CH ILD:functi on(a){retu rn a[1]=a[ 1].toLower Case(),"nt h"===a[1]. slice(0,3) ?(a[3]||fa .error(a[0 ]),a[4]=+( a[4]?a[5]+ (a[6]||1): 2*("even"= ==a[3]||"o dd"===a[3] )),a[5]=+( a[7]+a[8]| |"odd"===a [3])):a[3] &&fa.error (a[0]),a}, PSEUDO:fun ction(a){v ar b,c=!a[ 6]&&a[2];r eturn W.CH ILD.test(a [0])?null: (a[3]?a[2] =a[4]||a[5 ]||"":c&&U .test(c)&& (b=g(c,!0) )&&(b=c.in dexOf(")", c.length-b )-c.length )&&(a[0]=a [0].slice( 0,b),a[2]= c.slice(0, b)),a.slic e(0,3))}}, filter:{TA G:function (a){var b= a.replace( ba,ca).toL owerCase() ;return"*" ===a?funct ion(){retu rn!0}:func tion(a){re turn a.nod eName&&a.n odeName.to LowerCase( )===b}},CL ASS:functi on(a){var b=y[a+" "] ;return b| |(b=new Re gExp("(^|" +L+")"+a+" ("+L+"|$)" ))&&y(a,fu nction(a){ return b.t est("strin g"==typeof a.classNa me&&a.clas sName||"un defined"!= typeof a.g etAttribut e&&a.getAt tribute("c lass")||"" )})},ATTR: function(a ,b,c){retu rn functio n(d){var e =fa.attr(d ,a);return null==e?" !="===b:b? (e+="","=" ===b?e===c :"!="===b? e!==c:"^=" ===b?c&&0= ==e.indexO f(c):"*="= ==b?c&&e.i ndexOf(c)> -1:"$="=== b?c&&e.sli ce(-c.leng th)===c:"~ ="===b?(" "+e.replac e(P," ")+" ").indexO f(c)>-1:"| ="===b?e== =c||e.slic e(0,c.leng th+1)===c+ "-":!1):!0 }},CHILD:f unction(a, b,c,d,e){v ar f="nth" !==a.slice (0,3),g="l ast"!==a.s lice(-4),h ="of-type" ===b;retur n 1===d&&0 ===e?funct ion(a){ret urn!!a.par entNode}:f unction(b, c,i){var j ,k,l,m,n,o ,p=f!==g?" nextSiblin g":"previo usSibling" ,q=b.paren tNode,r=h& &b.nodeNam e.toLowerC ase(),s=!i &&!h,t=!1; if(q){if(f ){while(p) {m=b;while (m=m[p])if (h?m.nodeN ame.toLowe rCase()=== r:1===m.no deType)ret urn!1;o=p= "only"===a &&!o&&"nex tSibling"} return!0}i f(o=[g?q.f irstChild: q.lastChil d],g&&s){m =q,l=m[u]| |(m[u]={}) ,k=l[m.uni queID]||(l [m.uniqueI D]={}),j=k [a]||[],n= j[0]===w&& j[1],t=n&& j[2],m=n&& q.childNod es[n];whil e(m=++n&&m &&m[p]||(t =n=0)||o.p op())if(1= ==m.nodeTy pe&&++t&&m ===b){k[a] =[w,n,t];b reak}}else if(s&&(m= b,l=m[u]|| (m[u]={}), k=l[m.uniq ueID]||(l[ m.uniqueID ]={}),j=k[ a]||[],n=j [0]===w&&j [1],t=n),t ===!1)whil e(m=++n&&m &&m[p]||(t =n=0)||o.p op())if((h ?m.nodeNam e.toLowerC ase()===r: 1===m.node Type)&&++t &&(s&&(l=m [u]||(m[u] ={}),k=l[m .uniqueID] ||(l[m.uni queID]={}) ,k[a]=[w,t ]),m===b)) break;retu rn t-=e,t= ==d||t%d== =0&&t/d>=0 }}},PSEUDO :function( a,b){var c ,e=d.pseud os[a]||d.s etFilters[ a.toLowerC ase()]||fa .error("un supported pseudo: "+ a);return e[u]?e(b): e.length>1 ?(c=[a,a," ",b],d.set Filters.ha sOwnProper ty(a.toLow erCase())? ha(functio n(a,c){var d,f=e(a,b ),g=f.leng th;while(g --)d=J(a,f [g]),a[d]= !(c[d]=f[g ])}):funct ion(a){ret urn e(a,0, c)}):e}},p seudos:{no t:ha(funct ion(a){var b=[],c=[] ,d=h(a.rep lace(Q,"$1 "));return d[u]?ha(f unction(a, b,c,e){var f,g=d(a,n ull,e,[]), h=a.length ;while(h-- )(f=g[h])& &(a[h]=!(b [h]=f))}): function(a ,e,f){retu rn b[0]=a, d(b,null,f ,c),b[0]=n ull,!c.pop ()}}),has: ha(functio n(a){retur n function (b){return fa(a,b).l ength>0}}) ,contains: ha(functio n(a){retur n a=a.repl ace(ba,ca) ,function( b){return( b.textCont ent||b.inn erText||e( b)).indexO f(a)>-1}}) ,lang:ha(f unction(a) {return V. test(a||"" )||fa.erro r("unsuppo rted lang: "+a),a=a. replace(ba ,ca).toLow erCase(),f unction(b) {var c;do if(c=p?b.l ang:b.getA ttribute(" xml:lang") ||b.getAtt ribute("la ng"))retur n c=c.toLo werCase(), c===a||0== =c.indexOf (a+"-");wh ile((b=b.p arentNode) &&1===b.no deType);re turn!1}}), target:fun ction(b){v ar c=a.loc ation&&a.l ocation.ha sh;return c&&c.slice (1)===b.id },root:fun ction(a){r eturn a=== o},focus:f unction(a) {return a= ==n.active Element&&( !n.hasFocu s||n.hasFo cus())&&!! (a.type||a .href||~a. tabIndex)} ,enabled:f unction(a) {return a. disabled== =!1},disab led:functi on(a){retu rn a.disab led===!0}, checked:fu nction(a){ var b=a.no deName.toL owerCase() ;return"in put"===b&& !!a.checke d||"option "===b&&!!a .selected} ,selected: function(a ){return a .parentNod e&&a.paren tNode.sele ctedIndex, a.selected ===!0},emp ty:functio n(a){for(a =a.firstCh ild;a;a=a. nextSiblin g)if(a.nod eType<6)re turn!1;ret urn!0},par ent:functi on(a){retu rn!d.pseud os.empty(a )},header: function(a ){return Y .test(a.no deName)},i nput:funct ion(a){ret urn X.test (a.nodeNam e)},button :function( a){var b=a .nodeName. toLowerCas e();return "input"=== b&&"button "===a.type ||"button" ===b},text :function( a){var b;r eturn"inpu t"===a.nod eName.toLo werCase()& &"text"=== a.type&&(n ull==(b=a. getAttribu te("type") )||"text"= ==b.toLowe rCase())}, first:na(f unction(){ return[0]} ),last:na( function(a ,b){return [b-1]}),eq :na(functi on(a,b,c){ return[0>c ?c+b:c]}), even:na(fu nction(a,b ){for(var c=0;b>c;c+ =2)a.push( c);return a}),odd:na (function( a,b){for(v ar c=1;b>c ;c+=2)a.pu sh(c);retu rn a}),lt: na(functio n(a,b,c){f or(var d=0 >c?c+b:c;- -d>=0;)a.p ush(d);ret urn a}),gt :na(functi on(a,b,c){ for(var d= 0>c?c+b:c; ++d<b;)a.p ush(d);ret urn a})}}, d.pseudos. nth=d.pseu dos.eq;for (b in{radi o:!0,check box:!0,fil e:!0,passw ord:!0,ima ge:!0})d.p seudos[b]= la(b);for( b in{submi t:!0,reset :!0})d.pse udos[b]=ma (b);functi on pa(){}p a.prototyp e=d.filter s=d.pseudo s,d.setFil ters=new p a,g=fa.tok enize=func tion(a,b){ var c,e,f, g,h,i,j,k= z[a+" "];i f(k)return b?0:k.sli ce(0);h=a, i=[],j=d.p reFilter;w hile(h){c& &!(e=R.exe c(h))||(e& &(h=h.slic e(e[0].len gth)||h),i .push(f=[] )),c=!1,(e =S.exec(h) )&&(c=e.sh ift(),f.pu sh({value: c,type:e[0 ].replace( Q," ")}),h =h.slice(c .length)); for(g in d .filter)!( e=W[g].exe c(h))||j[g ]&&!(e=j[g ](e))||(c= e.shift(), f.push({va lue:c,type :g,matches :e}),h=h.s lice(c.len gth));if(! c)break}re turn b?h.l ength:h?fa .error(a): z(a,i).sli ce(0)};fun ction qa(a ){for(var b=0,c=a.le ngth,d=""; c>b;b++)d+ =a[b].valu e;return d }function ra(a,b,c){ var d=b.di r,e=c&&"pa rentNode"= ==d,f=x++; return b.f irst?funct ion(b,c,f) {while(b=b [d])if(1== =b.nodeTyp e||e)retur n a(b,c,f) }:function (b,c,g){va r h,i,j,k= [w,f];if(g ){while(b= b[d])if((1 ===b.nodeT ype||e)&&a (b,c,g))re turn!0}els e while(b= b[d])if(1= ==b.nodeTy pe||e){if( j=b[u]||(b [u]={}),i= j[b.unique ID]||(j[b. uniqueID]= {}),(h=i[d ])&&h[0]== =w&&h[1]== =f)return k[2]=h[2]; if(i[d]=k, k[2]=a(b,c ,g))return !0}}}funct ion sa(a){ return a.l ength>1?fu nction(b,c ,d){var e= a.length;w hile(e--)i f(!a[e](b, c,d))retur n!1;return !0}:a[0]}f unction ta (a,b,c){fo r(var d=0, e=b.length ;e>d;d++)f a(a,b[d],c );return c }function ua(a,b,c,d ,e){for(va r f,g=[],h =0,i=a.len gth,j=null !=b;i>h;h+ +)(f=a[h]) &&(c&&!c(f ,d,e)||(g. push(f),j& &b.push(h) ));return g}function va(a,b,c, d,e,f){ret urn d&&!d[ u]&&(d=va( d)),e&&!e[ u]&&(e=va( e,f)),ha(f unction(f, g,h,i){var j,k,l,m=[ ],n=[],o=g .length,p= f||ta(b||" *",h.nodeT ype?[h]:h, []),q=!a|| !f&&b?p:ua (p,m,a,h,i ),r=c?e||( f?a:o||d)? []:g:q;if( c&&c(q,r,h ,i),d){j=u a(r,n),d(j ,[],h,i),k =j.length; while(k--) (l=j[k])&& (r[n[k]]=! (q[n[k]]=l ))}if(f){i f(e||a){if (e){j=[],k =r.length; while(k--) (l=r[k])&& j.push(q[k ]=l);e(nul l,r=[],j,i )}k=r.leng th;while(k --)(l=r[k] )&&(j=e?J( f,l):m[k]) >-1&&(f[j] =!(g[j]=l) )}}else r= ua(r===g?r .splice(o, r.length): r),e?e(nul l,g,r,i):H .apply(g,r )})}functi on wa(a){f or(var b,c ,e,f=a.len gth,g=d.re lative[a[0 ].type],h= g||d.relat ive[" "],i =g?1:0,k=r a(function (a){return a===b},h, !0),l=ra(f unction(a) {return J( b,a)>-1},h ,!0),m=[fu nction(a,c ,d){var e= !g&&(d||c! ==j)||((b= c).nodeTyp e?k(a,c,d) :l(a,c,d)) ;return b= null,e}];f >i;i++)if( c=d.relati ve[a[i].ty pe])m=[ra( sa(m),c)]; else{if(c= d.filter[a [i].type]. apply(null ,a[i].matc hes),c[u]) {for(e=++i ;f>e;e++)i f(d.relati ve[a[e].ty pe])break; return va( i>1&&sa(m) ,i>1&&qa(a .slice(0,i -1).concat ({value:" "===a[i-2] .type?"*": ""})).repl ace(Q,"$1" ),c,e>i&&w a(a.slice( i,e)),f>e& &wa(a=a.sl ice(e)),f> e&&qa(a))} m.push(c)} return sa( m)}functio n xa(a,b){ var c=b.le ngth>0,e=a .length>0, f=function (f,g,h,i,k ){var l,o, q,r=0,s="0 ",t=f&&[], u=[],v=j,x =f||e&&d.f ind.TAG("* ",k),y=w+= null==v?1: Math.rando m()||.1,z= x.length;f or(k&&(j=g ===n||g||k );s!==z&&n ull!=(l=x[ s]);s++){i f(e&&l){o= 0,g||l.own erDocument ===n||(m(l ),h=!p);wh ile(q=a[o+ +])if(q(l, g||n,h)){i .push(l);b reak}k&&(w =y)}c&&((l =!q&&l)&&r --,f&&t.pu sh(l))}if( r+=s,c&&s! ==r){o=0;w hile(q=b[o ++])q(t,u, g,h);if(f) {if(r>0)wh ile(s--)t[ s]||u[s]|| (u[s]=F.ca ll(i));u=u a(u)}H.app ly(i,u),k& &!f&&u.len gth>0&&r+b .length>1& &fa.unique Sort(i)}re turn k&&(w =y,j=v),t} ;return c? ha(f):f}re turn h=fa. compile=fu nction(a,b ){var c,d= [],e=[],f= A[a+" "];i f(!f){b||( b=g(a)),c= b.length;w hile(c--)f =wa(b[c]), f[u]?d.pus h(f):e.pus h(f);f=A(a ,xa(e,d)), f.selector =a}return f},i=fa.se lect=funct ion(a,b,e, f){var i,j ,k,l,m,n=" function"= =typeof a& &a,o=!f&&g (a=n.selec tor||a);if (e=e||[],1 ===o.lengt h){if(j=o[ 0]=o[0].sl ice(0),j.l ength>2&&" ID"===(k=j [0]).type& &c.getById &&9===b.no deType&&p& &d.relativ e[j[1].typ e]){if(b=( d.find.ID( k.matches[ 0].replace (ba,ca),b) ||[])[0],! b)return e ;n&&(b=b.p arentNode) ,a=a.slice (j.shift() .value.len gth)}i=W.n eedsContex t.test(a)? 0:j.length ;while(i-- ){if(k=j[i ],d.relati ve[l=k.typ e])break;i f((m=d.fin d[l])&&(f= m(k.matche s[0].repla ce(ba,ca), _.test(j[0 ].type)&&o a(b.parent Node)||b)) ){if(j.spl ice(i,1),a =f.length& &qa(j),!a) return H.a pply(e,f), e;break}}} return(n|| h(a,o))(f, b,!p,e,!b| |_.test(a) &&oa(b.par entNode)|| b),e},c.so rtStable=u .split("") .sort(B).j oin("")=== u,c.detect Duplicates =!!l,m(),c .sortDetac hed=ia(fun ction(a){r eturn 1&a. compareDoc umentPosit ion(n.crea teElement( "div"))}), ia(functio n(a){retur n a.innerH TML="<a hr ef=\'#\'>< /a>","#"== =a.firstCh ild.getAtt ribute("hr ef")})||ja ("type|hre f|height|w idth",func tion(a,b,c ){return c ?void 0:a. getAttribu te(b,"type "===b.toLo werCase()? 1:2)}),c.a ttributes& &ia(functi on(a){retu rn a.inner HTML="<inp ut/>",a.fi rstChild.s etAttribut e("value", ""),""===a .firstChil d.getAttri bute("valu e")})||ja( "value",fu nction(a,b ,c){return c||"input "!==a.node Name.toLow erCase()?v oid 0:a.de faultValue }),ia(func tion(a){re turn null= =a.getAttr ibute("dis abled")})| |ja(K,func tion(a,b,c ){var d;re turn c?voi d 0:a[b]== =!0?b.toLo werCase(): (d=a.getAt tributeNod e(b))&&d.s pecified?d .value:nul l}),fa}(a) ;n.find=t, n.expr=t.s electors,n .expr[":"] =n.expr.ps eudos,n.un iqueSort=n .unique=t. uniqueSort ,n.text=t. getText,n. isXMLDoc=t .isXML,n.c ontains=t. contains;v ar u=funct ion(a,b,c) {var d=[], e=void 0!= =c;while(( a=a[b])&&9 !==a.nodeT ype)if(1== =a.nodeTyp e){if(e&&n (a).is(c)) break;d.pu sh(a)}retu rn d},v=fu nction(a,b ){for(var c=[];a;a=a .nextSibli ng)1===a.n odeType&&a !==b&&c.pu sh(a);retu rn c},w=n. expr.match .needsCont ext,x=/^<( [\\w-]+)\\ s*\\/?>(?: <\\/\\1>|) $/,y=/^.[^ :#\\[\\.,] *$/;functi on z(a,b,c ){if(n.isF unction(b) )return n. grep(a,fun ction(a,d) {return!!b .call(a,d, a)!==c});i f(b.nodeTy pe)return n.grep(a,f unction(a) {return a= ==b!==c}); if("string "==typeof b){if(y.te st(b))retu rn n.filte r(b,a,c);b =n.filter( b,a)}retur n n.grep(a ,function( a){return h.call(b,a )>-1!==c}) }n.filter= function(a ,b,c){var d=b[0];ret urn c&&(a= ":not("+a+ ")"),1===b .length&&1 ===d.nodeT ype?n.find .matchesSe lector(d,a )?[d]:[]:n .find.matc hes(a,n.gr ep(b,funct ion(a){ret urn 1===a. nodeType}) )},n.fn.ex tend({find :function( a){var b,c =this.leng th,d=[],e= this;if("s tring"!=ty peof a)ret urn this.p ushStack(n (a).filter (function( ){for(b=0; c>b;b++)if (n.contain s(e[b],thi s))return! 0}));for(b =0;c>b;b++ )n.find(a, e[b],d);re turn d=thi s.pushStac k(c>1?n.un ique(d):d) ,d.selecto r=this.sel ector?this .selector+ " "+a:a,d} ,filter:fu nction(a){ return thi s.pushStac k(z(this,a ||[],!1))} ,not:funct ion(a){ret urn this.p ushStack(z (this,a||[ ],!0))},is :function( a){return! !z(this,"s tring"==ty peof a&&w. test(a)?n( a):a||[],! 1).length} });var A,B =/^(?:\\s* (<[\\w\\W] +>)[^>]*|# ([\\w-]*)) $/,C=n.fn. init=funct ion(a,b,c) {var e,f;i f(!a)retur n this;if( c=c||A,"st ring"==typ eof a){if( e="<"===a[ 0]&&">"=== a[a.length -1]&&a.len gth>=3?[nu ll,a,null] :B.exec(a) ,!e||!e[1] &&b)return !b||b.jque ry?(b||c). find(a):th is.constru ctor(b).fi nd(a);if(e [1]){if(b= b instance of n?b[0]: b,n.merge( this,n.par seHTML(e[1 ],b&&b.nod eType?b.ow nerDocumen t||b:d,!0) ),x.test(e [1])&&n.is PlainObjec t(b))for(e in b)n.is Function(t his[e])?th is[e](b[e] ):this.att r(e,b[e]); return thi s}return f =d.getElem entById(e[ 2]),f&&f.p arentNode& &(this.len gth=1,this [0]=f),thi s.context= d,this.sel ector=a,th is}return a.nodeType ?(this.con text=this[ 0]=a,this. length=1,t his):n.isF unction(a) ?void 0!== c.ready?c. ready(a):a (n):(void 0!==a.sele ctor&&(thi s.selector =a.selecto r,this.con text=a.con text),n.ma keArray(a, this))};C. prototype= n.fn,A=n(d );var D=/^ (?:parents |prev(?:Un til|All))/ ,E={childr en:!0,cont ents:!0,ne xt:!0,prev :!0};n.fn. extend({ha s:function (a){var b= n(a,this), c=b.length ;return th is.filter( function() {for(var a =0;c>a;a++ )if(n.cont ains(this, b[a]))retu rn!0})},cl osest:func tion(a,b){ for(var c, d=0,e=this .length,f= [],g=w.tes t(a)||"str ing"!=type of a?n(a,b ||this.con text):0;e> d;d++)for( c=this[d]; c&&c!==b;c =c.parentN ode)if(c.n odeType<11 &&(g?g.ind ex(c)>-1:1 ===c.nodeT ype&&n.fin d.matchesS elector(c, a))){f.pus h(c);break }return th is.pushSta ck(f.lengt h>1?n.uniq ueSort(f): f)},index: function(a ){return a ?"string"= =typeof a? h.call(n(a ),this[0]) :h.call(th is,a.jquer y?a[0]:a): this[0]&&t his[0].par entNode?th is.first() .prevAll() .length:-1 },add:func tion(a,b){ return thi s.pushStac k(n.unique Sort(n.mer ge(this.ge t(),n(a,b) )))},addBa ck:functio n(a){retur n this.add (null==a?t his.prevOb ject:this. prevObject .filter(a) )}});funct ion F(a,b) {while((a= a[b])&&1!= =a.nodeTyp e);return a}n.each({ parent:fun ction(a){v ar b=a.par entNode;re turn b&&11 !==b.nodeT ype?b:null },parents: function(a ){return u (a,"parent Node")},pa rentsUntil :function( a,b,c){ret urn u(a,"p arentNode" ,c)},next: function(a ){return F (a,"nextSi bling")},p rev:functi on(a){retu rn F(a,"pr eviousSibl ing")},nex tAll:funct ion(a){ret urn u(a,"n extSibling ")},prevAl l:function (a){return u(a,"prev iousSiblin g")},nextU ntil:funct ion(a,b,c) {return u( a,"nextSib ling",c)}, prevUntil: function(a ,b,c){retu rn u(a,"pr eviousSibl ing",c)},s iblings:fu nction(a){ return v(( a.parentNo de||{}).fi rstChild,a )},childre n:function (a){return v(a.first Child)},co ntents:fun ction(a){r eturn a.co ntentDocum ent||n.mer ge([],a.ch ildNodes)} },function (a,b){n.fn [a]=functi on(c,d){va r e=n.map( this,b,c); return"Unt il"!==a.sl ice(-5)&&( d=c),d&&"s tring"==ty peof d&&(e =n.filter( d,e)),this .length>1& &(E[a]||n. uniqueSort (e),D.test (a)&&e.rev erse()),th is.pushSta ck(e)}});v ar G=/\\S+ /g;functio n H(a){var b={};retu rn n.each( a.match(G) ||[],funct ion(a,c){b [c]=!0}),b }n.Callbac ks=functio n(a){a="st ring"==typ eof a?H(a) :n.extend( {},a);var b,c,d,e,f= [],g=[],h= -1,i=funct ion(){for( e=a.once,d =b=!0;g.le ngth;h=-1) {c=g.shift ();while(+ +h<f.lengt h)f[h].app ly(c[0],c[ 1])===!1&& a.stopOnFa lse&&(h=f. length,c=! 1)}a.memor y||(c=!1), b=!1,e&&(f =c?[]:"")} ,j={add:fu nction(){r eturn f&&( c&&!b&&(h= f.length-1 ,g.push(c) ),function d(b){n.ea ch(b,funct ion(b,c){n .isFunctio n(c)?a.uni que&&j.has (c)||f.pus h(c):c&&c. length&&"s tring"!==n .type(c)&& d(c)})}(ar guments),c &&!b&&i()) ,this},rem ove:functi on(){retur n n.each(a rguments,f unction(a, b){var c;w hile((c=n. inArray(b, f,c))>-1)f .splice(c, 1),h>=c&&h --}),this} ,has:funct ion(a){ret urn a?n.in Array(a,f) >-1:f.leng th>0},empt y:function (){return f&&(f=[]), this},disa ble:functi on(){retur n e=g=[],f =c="",this },disabled :function( ){return!f },lock:fun ction(){re turn e=g=[ ],c||(f=c= ""),this}, locked:fun ction(){re turn!!e},f ireWith:fu nction(a,c ){return e ||(c=c||[] ,c=[a,c.sl ice?c.slic e():c],g.p ush(c),b|| i()),this} ,fire:func tion(){ret urn j.fire With(this, arguments) ,this},fir ed:functio n(){return !!d}};retu rn j},n.ex tend({Defe rred:funct ion(a){var b=[["reso lve","done ",n.Callba cks("once memory")," resolved"] ,["reject" ,"fail",n. Callbacks( "once memo ry"),"reje cted"],["n otify","pr ogress",n. Callbacks( "memory")] ],c="pendi ng",d={sta te:functio n(){return c},always :function( ){return e .done(argu ments).fai l(argument s),this},t hen:functi on(){var a =arguments ;return n. Deferred(f unction(c) {n.each(b, function(b ,f){var g= n.isFuncti on(a[b])&& a[b];e[f[1 ]](functio n(){var a= g&&g.apply (this,argu ments);a&& n.isFuncti on(a.promi se)?a.prom ise().prog ress(c.not ify).done( c.resolve) .fail(c.re ject):c[f[ 0]+"With"] (this===d? c.promise( ):this,g?[ a]:argumen ts)})}),a= null}).pro mise()},pr omise:func tion(a){re turn null! =a?n.exten d(a,d):d}} ,e={};retu rn d.pipe= d.then,n.e ach(b,func tion(a,f){ var g=f[2] ,h=f[3];d[ f[1]]=g.ad d,h&&g.add (function( ){c=h},b[1 ^a][2].dis able,b[2][ 2].lock),e [f[0]]=fun ction(){re turn e[f[0 ]+"With"]( this===e?d :this,argu ments),thi s},e[f[0]+ "With"]=g. fireWith}) ,d.promise (e),a&&a.c all(e,e),e },when:fun ction(a){v ar b=0,c=e .call(argu ments),d=c .length,f= 1!==d||a&& n.isFuncti on(a.promi se)?d:0,g= 1===f?a:n. Deferred() ,h=functio n(a,b,c){r eturn func tion(d){b[ a]=this,c[ a]=argumen ts.length> 1?e.call(a rguments): d,c===i?g. notifyWith (b,c):--f| |g.resolve With(b,c)} },i,j,k;if (d>1)for(i =new Array (d),j=new Array(d),k =new Array (d);d>b;b+ +)c[b]&&n. isFunction (c[b].prom ise)?c[b]. promise(). progress(h (b,j,i)).d one(h(b,k, c)).fail(g .reject):- -f;return f||g.resol veWith(k,c ),g.promis e()}});var I;n.fn.re ady=functi on(a){retu rn n.ready .promise() .done(a),t his},n.ext end({isRea dy:!1,read yWait:1,ho ldReady:fu nction(a){ a?n.readyW ait++:n.re ady(!0)},r eady:funct ion(a){(a= ==!0?--n.r eadyWait:n .isReady)| |(n.isRead y=!0,a!==! 0&&--n.rea dyWait>0|| (I.resolve With(d,[n] ),n.fn.tri ggerHandle r&&(n(d).t riggerHand ler("ready "),n(d).of f("ready") )))}});fun ction J(){ d.removeEv entListene r("DOMCont entLoaded" ,J),a.remo veEventLis tener("loa d",J),n.re ady()}n.re ady.promis e=function (b){return I||(I=n.D eferred(), "complete" ===d.ready State||"lo ading"!==d .readyStat e&&!d.docu mentElemen t.doScroll ?a.setTime out(n.read y):(d.addE ventListen er("DOMCon tentLoaded ",J),a.add EventListe ner("load" ,J))),I.pr omise(b)}, n.ready.pr omise();va r K=functi on(a,b,c,d ,e,f,g){va r h=0,i=a. length,j=n ull==c;if( "object"== =n.type(c) ){e=!0;for (h in c)K( a,b,h,c[h] ,!0,f,g)}e lse if(voi d 0!==d&&( e=!0,n.isF unction(d) ||(g=!0),j &&(g?(b.ca ll(a,d),b= null):(j=b ,b=functio n(a,b,c){r eturn j.ca ll(n(a),c) })),b))for (;i>h;h++) b(a[h],c,g ?d:d.call( a[h],h,b(a [h],c)));r eturn e?a: j?b.call(a ):i?b(a[0] ,c):f},L=f unction(a) {return 1= ==a.nodeTy pe||9===a. nodeType|| !+a.nodeTy pe};functi on M(){thi s.expando= n.expando+ M.uid++}M. uid=1,M.pr ototype={r egister:fu nction(a,b ){var c=b| |{};return a.nodeTyp e?a[this.e xpando]=c: Object.def inePropert y(a,this.e xpando,{va lue:c,writ able:!0,co nfigurable :!0}),a[th is.expando ]},cache:f unction(a) {if(!L(a)) return{};v ar b=a[thi s.expando] ;return b| |(b={},L(a )&&(a.node Type?a[thi s.expando] =b:Object. defineProp erty(a,thi s.expando, {value:b,c onfigurabl e:!0}))),b },set:func tion(a,b,c ){var d,e= this.cache (a);if("st ring"==typ eof b)e[b] =c;else fo r(d in b)e [d]=b[d];r eturn e},g et:functio n(a,b){ret urn void 0 ===b?this. cache(a):a [this.expa ndo]&&a[th is.expando ][b]},acce ss:functio n(a,b,c){v ar d;retur n void 0== =b||b&&"st ring"==typ eof b&&voi d 0===c?(d =this.get( a,b),void 0!==d?d:th is.get(a,n .camelCase (b))):(thi s.set(a,b, c),void 0! ==c?c:b)}, remove:fun ction(a,b) {var c,d,e ,f=a[this. expando];i f(void 0!= =f){if(voi d 0===b)th is.registe r(a);else{ n.isArray( b)?d=b.con cat(b.map( n.camelCas e)):(e=n.c amelCase(b ),b in f?d =[b,e]:(d= e,d=d in f ?[d]:d.mat ch(G)||[]) ),c=d.leng th;while(c --)delete f[d[c]]}(v oid 0===b| |n.isEmpty Object(f)) &&(a.nodeT ype?a[this .expando]= void 0:del ete a[this .expando]) }},hasData :function( a){var b=a [this.expa ndo];retur n void 0!= =b&&!n.isE mptyObject (b)}};var N=new M,O= new M,P=/^ (?:\\{[\\w \\W]*\\}|\ \[[\\w\\W] *\\])$/,Q= /[A-Z]/g;f unction R( a,b,c){var d;if(void 0===c&&1= ==a.nodeTy pe)if(d="d ata-"+b.re place(Q,"- $&").toLow erCase(),c =a.getAttr ibute(d)," string"==t ypeof c){t ry{c="true "===c?!0:" false"===c ?!1:"null" ===c?null: +c+""===c? +c:P.test( c)?n.parse JSON(c):c; \n}catch(e ){}O.set(a ,b,c)}else c=void 0; return c}n .extend({h asData:fun ction(a){r eturn O.ha sData(a)|| N.hasData( a)},data:f unction(a, b,c){retur n O.access (a,b,c)},r emoveData: function(a ,b){O.remo ve(a,b)},_ data:funct ion(a,b,c) {return N. access(a,b ,c)},_remo veData:fun ction(a,b) {N.remove( a,b)}}),n. fn.extend( {data:func tion(a,b){ var c,d,e, f=this[0], g=f&&f.att ributes;if (void 0=== a){if(this .length&&( e=O.get(f) ,1===f.nod eType&&!N. get(f,"has DataAttrs" ))){c=g.le ngth;while (c--)g[c]& &(d=g[c].n ame,0===d. indexOf("d ata-")&&(d =n.camelCa se(d.slice (5)),R(f,d ,e[d])));N .set(f,"ha sDataAttrs ",!0)}retu rn e}retur n"object"= =typeof a? this.each( function() {O.set(thi s,a)}):K(t his,functi on(b){var c,d;if(f&& void 0===b ){if(c=O.g et(f,a)||O .get(f,a.r eplace(Q," -$&").toLo werCase()) ,void 0!== c)return c ;if(d=n.ca melCase(a) ,c=O.get(f ,d),void 0 !==c)retur n c;if(c=R (f,d,void 0),void 0! ==c)return c}else d= n.camelCas e(a),this. each(funct ion(){var c=O.get(th is,d);O.se t(this,d,b ),a.indexO f("-")>-1& &void 0!== c&&O.set(t his,a,b)}) },null,b,a rguments.l ength>1,nu ll,!0)},re moveData:f unction(a) {return th is.each(fu nction(){O .remove(th is,a)})}}) ,n.extend( {queue:fun ction(a,b, c){var d;r eturn a?(b =(b||"fx") +"queue",d =N.get(a,b ),c&&(!d|| n.isArray( c)?d=N.acc ess(a,b,n. makeArray( c)):d.push (c)),d||[] ):void 0}, dequeue:fu nction(a,b ){b=b||"fx ";var c=n. queue(a,b) ,d=c.lengt h,e=c.shif t(),f=n._q ueueHooks( a,b),g=fun ction(){n. dequeue(a, b)};"inpro gress"===e &&(e=c.shi ft(),d--), e&&("fx"== =b&&c.unsh ift("inpro gress"),de lete f.sto p,e.call(a ,g,f)),!d& &f&&f.empt y.fire()}, _queueHook s:function (a,b){var c=b+"queue Hooks";ret urn N.get( a,c)||N.ac cess(a,c,{ empty:n.Ca llbacks("o nce memory ").add(fun ction(){N. remove(a,[ b+"queue", c])})})}}) ,n.fn.exte nd({queue: function(a ,b){var c= 2;return"s tring"!=ty peof a&&(b =a,a="fx", c--),argum ents.lengt h<c?n.queu e(this[0], a):void 0= ==b?this:t his.each(f unction(){ var c=n.qu eue(this,a ,b);n._que ueHooks(th is,a),"fx" ===a&&"inp rogress"!= =c[0]&&n.d equeue(thi s,a)})},de queue:func tion(a){re turn this. each(funct ion(){n.de queue(this ,a)})},cle arQueue:fu nction(a){ return thi s.queue(a| |"fx",[])} ,promise:f unction(a, b){var c,d =1,e=n.Def erred(),f= this,g=thi s.length,h =function( ){--d||e.r esolveWith (f,[f])};" string"!=t ypeof a&&( b=a,a=void 0),a=a||" fx";while( g--)c=N.ge t(f[g],a+" queueHooks "),c&&c.em pty&&(d++, c.empty.ad d(h));retu rn h(),e.p romise(b)} });var S=/ [+-]?(?:\\ d*\\.|)\\d +(?:[eE][+ -]?\\d+|)/ .source,T= new RegExp ("^(?:([+- ])=|)("+S+ ")([a-z%]* )$","i"),U =["Top","R ight","Bot tom","Left "],V=funct ion(a,b){r eturn a=b| |a,"none"= ==n.css(a, "display") ||!n.conta ins(a.owne rDocument, a)};functi on W(a,b,c ,d){var e, f=1,g=20,h =d?functio n(){return d.cur()}: function() {return n. css(a,b,"" )},i=h(),j =c&&c[3]|| (n.cssNumb er[b]?"":" px"),k=(n. cssNumber[ b]||"px"!= =j&&+i)&&T .exec(n.cs s(a,b));if (k&&k[3]!= =j){j=j||k [3],c=c||[ ],k=+i||1; do f=f||". 5",k/=f,n. style(a,b, k+j);while (f!==(f=h( )/i)&&1!== f&&--g)}re turn c&&(k =+k||+i||0 ,e=c[1]?k+ (c[1]+1)*c [2]:+c[2], d&&(d.unit =j,d.start =k,d.end=e )),e}var X =/^(?:chec kbox|radio )$/i,Y=/<( [\\w:-]+)/ ,Z=/^$|\\/ (?:java|ec ma)script/ i,$={optio n:[1,"<sel ect multip le=\'multi ple\'>","< /select>"] ,thead:[1, "<table>", "</table>" ],col:[2," <table><co lgroup>"," </colgroup ></table>" ],tr:[2,"< table><tbo dy>","</tb ody></tabl e>"],td:[3 ,"<table>< tbody><tr> ","</tr></ tbody></ta ble>"],_de fault:[0," ",""]};$.o ptgroup=$. option,$.t body=$.tfo ot=$.colgr oup=$.capt ion=$.thea d,$.th=$.t d;function _(a,b){va r c="undef ined"!=typ eof a.getE lementsByT agName?a.g etElements ByTagName( b||"*"):"u ndefined"! =typeof a. querySelec torAll?a.q uerySelect orAll(b||" *"):[];ret urn void 0 ===b||b&&n .nodeName( a,b)?n.mer ge([a],c): c}function aa(a,b){f or(var c=0 ,d=a.lengt h;d>c;c++) N.set(a[c] ,"globalEv al",!b||N. get(b[c]," globalEval "))}var ba =/<|&#?\\w +;/;functi on ca(a,b, c,d,e){for (var f,g,h ,i,j,k,l=b .createDoc umentFragm ent(),m=[] ,o=0,p=a.l ength;p>o; o++)if(f=a [o],f||0== =f)if("obj ect"===n.t ype(f))n.m erge(m,f.n odeType?[f ]:f);else if(ba.test (f)){g=g|| l.appendCh ild(b.crea teElement( "div")),h= (Y.exec(f) ||["",""]) [1].toLowe rCase(),i= $[h]||$._d efault,g.i nnerHTML=i [1]+n.html Prefilter( f)+i[2],k= i[0];while (k--)g=g.l astChild;n .merge(m,g .childNode s),g=l.fir stChild,g. textConten t=""}else m.push(b.c reateTextN ode(f));l. textConten t="",o=0;w hile(f=m[o ++])if(d&& n.inArray( f,d)>-1)e& &e.push(f) ;else if(j =n.contain s(f.ownerD ocument,f) ,g=_(l.app endChild(f ),"script" ),j&&aa(g) ,c){k=0;wh ile(f=g[k+ +])Z.test( f.type||"" )&&c.push( f)}return l}!functio n(){var a= d.createDo cumentFrag ment(),b=a .appendChi ld(d.creat eElement(" div")),c=d .createEle ment("inpu t");c.setA ttribute(" type","rad io"),c.set Attribute( "checked", "checked") ,c.setAttr ibute("nam e","t"),b. appendChil d(c),l.che ckClone=b. cloneNode( !0).cloneN ode(!0).la stChild.ch ecked,b.in nerHTML="< textarea>x </textarea >",l.noClo neChecked= !!b.cloneN ode(!0).la stChild.de faultValue }();var da =/^key/,ea =/^(?:mous e|pointer| contextmen u|drag|dro p)|click/, fa=/^([^.] *)(?:\\.(. +)|)/;func tion ga(){ return!0}f unction ha (){return! 1}function ia(){try{ return d.a ctiveEleme nt}catch(a ){}}functi on ja(a,b, c,d,e,f){v ar g,h;if( "object"== typeof b){ "string"!= typeof c&& (d=d||c,c= void 0);fo r(h in b)j a(a,h,c,d, b[h],f);re turn a}if( null==d&&n ull==e?(e= c,d=c=void 0):null== e&&("strin g"==typeof c?(e=d,d= void 0):(e =d,d=c,c=v oid 0)),e= ==!1)e=ha; else if(!e )return a; return 1== =f&&(g=e,e =function( a){return n().off(a) ,g.apply(t his,argume nts)},e.gu id=g.guid| |(g.guid=n .guid++)), a.each(fun ction(){n. event.add( this,b,e,d ,c)})}n.ev ent={globa l:{},add:f unction(a, b,c,d,e){v ar f,g,h,i ,j,k,l,m,o ,p,q,r=N.g et(a);if(r ){c.handle r&&(f=c,c= f.handler, e=f.select or),c.guid ||(c.guid= n.guid++), (i=r.event s)||(i=r.e vents={}), (g=r.handl e)||(g=r.h andle=func tion(b){re turn"undef ined"!=typ eof n&&n.e vent.trigg ered!==b.t ype?n.even t.dispatch .apply(a,a rguments): void 0}),b =(b||"").m atch(G)||[ ""],j=b.le ngth;while (j--)h=fa. exec(b[j]) ||[],o=q=h [1],p=(h[2 ]||"").spl it(".").so rt(),o&&(l =n.event.s pecial[o]| |{},o=(e?l .delegateT ype:l.bind Type)||o,l =n.event.s pecial[o]| |{},k=n.ex tend({type :o,origTyp e:q,data:d ,handler:c ,guid:c.gu id,selecto r:e,needsC ontext:e&& n.expr.mat ch.needsCo ntext.test (e),namesp ace:p.join (".")},f), (m=i[o])|| (m=i[o]=[] ,m.delegat eCount=0,l .setup&&l. setup.call (a,d,p,g)! ==!1||a.ad dEventList ener&&a.ad dEventList ener(o,g)) ,l.add&&(l .add.call( a,k),k.han dler.guid| |(k.handle r.guid=c.g uid)),e?m. splice(m.d elegateCou nt++,0,k): m.push(k), n.event.gl obal[o]=!0 )}},remove :function( a,b,c,d,e) {var f,g,h ,i,j,k,l,m ,o,p,q,r=N .hasData(a )&&N.get(a );if(r&&(i =r.events) ){b=(b||"" ).match(G) ||[""],j=b .length;wh ile(j--)if (h=fa.exec (b[j])||[] ,o=q=h[1], p=(h[2]||" ").split(" .").sort() ,o){l=n.ev ent.specia l[o]||{},o =(d?l.dele gateType:l .bindType) ||o,m=i[o] ||[],h=h[2 ]&&new Reg Exp("(^|\\ \\.)"+p.jo in("\\\\.( ?:.*\\\\.| )")+"(\\\\ .|$)"),g=f =m.length; while(f--) k=m[f],!e& &q!==k.ori gType||c&& c.guid!==k .guid||h&& !h.test(k. namespace) ||d&&d!==k .selector& &("**"!==d ||!k.selec tor)||(m.s plice(f,1) ,k.selecto r&&m.deleg ateCount-- ,l.remove& &l.remove. call(a,k)) ;g&&!m.len gth&&(l.te ardown&&l. teardown.c all(a,p,r. handle)!== !1||n.remo veEvent(a, o,r.handle ),delete i [o])}else for(o in i )n.event.r emove(a,o+ b[j],c,d,! 0);n.isEmp tyObject(i )&&N.remov e(a,"handl e events") }},dispatc h:function (a){a=n.ev ent.fix(a) ;var b,c,d ,f,g,h=[], i=e.call(a rguments), j=(N.get(t his,"event s")||{})[a .type]||[] ,k=n.event .special[a .type]||{} ;if(i[0]=a ,a.delegat eTarget=th is,!k.preD ispatch||k .preDispat ch.call(th is,a)!==!1 ){h=n.even t.handlers .call(this ,a,j),b=0; while((f=h [b++])&&!a .isPropaga tionStoppe d()){a.cur rentTarget =f.elem,c= 0;while((g =f.handler s[c++])&&! a.isImmedi atePropaga tionStoppe d())a.rnam espace&&!a .rnamespac e.test(g.n amespace)| |(a.handle Obj=g,a.da ta=g.data, d=((n.even t.special[ g.origType ]||{}).han dle||g.han dler).appl y(f.elem,i ),void 0!= =d&&(a.res ult=d)===! 1&&(a.prev entDefault (),a.stopP ropagation ()))}retur n k.postDi spatch&&k. postDispat ch.call(th is,a),a.re sult}},han dlers:func tion(a,b){ var c,d,e, f,g=[],h=b .delegateC ount,i=a.t arget;if(h &&i.nodeTy pe&&("clic k"!==a.typ e||isNaN(a .button)|| a.button<1 ))for(;i!= =this;i=i. parentNode ||this)if( 1===i.node Type&&(i.d isabled!== !0||"click "!==a.type )){for(d=[ ],c=0;h>c; c++)f=b[c] ,e=f.selec tor+" ",vo id 0===d[e ]&&(d[e]=f .needsCont ext?n(e,th is).index( i)>-1:n.fi nd(e,this, null,[i]). length),d[ e]&&d.push (f);d.leng th&&g.push ({elem:i,h andlers:d} )}return h <b.length& &g.push({e lem:this,h andlers:b. slice(h)}) ,g},props: "altKey bu bbles canc elable ctr lKey curre ntTarget d etail even tPhase met aKey relat edTarget s hiftKey ta rget timeS tamp view which".spl it(" "),fi xHooks:{}, keyHooks:{ props:"cha r charCode key keyCo de".split( " "),filte r:function (a,b){retu rn null==a .which&&(a .which=nul l!=b.charC ode?b.char Code:b.key Code),a}}, mouseHooks :{props:"b utton butt ons client X clientY offsetX of fsetY page X pageY sc reenX scre enY toElem ent".split (" "),filt er:functio n(a,b){var c,e,f,g=b .button;re turn null= =a.pageX&& null!=b.cl ientX&&(c= a.target.o wnerDocume nt||d,e=c. documentEl ement,f=c. body,a.pag eX=b.clien tX+(e&&e.s crollLeft| |f&&f.scro llLeft||0) -(e&&e.cli entLeft||f &&f.client Left||0),a .pageY=b.c lientY+(e& &e.scrollT op||f&&f.s crollTop|| 0)-(e&&e.c lientTop|| f&&f.clien tTop||0)), a.which||v oid 0===g| |(a.which= 1&g?1:2&g? 3:4&g?2:0) ,a}},fix:f unction(a) {if(a[n.ex pando])ret urn a;var b,c,e,f=a. type,g=a,h =this.fixH ooks[f];h| |(this.fix Hooks[f]=h =ea.test(f )?this.mou seHooks:da .test(f)?t his.keyHoo ks:{}),e=h .props?thi s.props.co ncat(h.pro ps):this.p rops,a=new n.Event(g ),b=e.leng th;while(b --)c=e[b], a[c]=g[c]; return a.t arget||(a. target=d), 3===a.targ et.nodeTyp e&&(a.targ et=a.targe t.parentNo de),h.filt er?h.filte r(a,g):a}, special:{l oad:{noBub ble:!0},fo cus:{trigg er:functio n(){return this!==ia ()&&this.f ocus?(this .focus(),! 1):void 0} ,delegateT ype:"focus in"},blur: {trigger:f unction(){ return thi s===ia()&& this.blur? (this.blur (),!1):voi d 0},deleg ateType:"f ocusout"}, click:{tri gger:funct ion(){retu rn"checkbo x"===this. type&&this .click&&n. nodeName(t his,"input ")?(this.c lick(),!1) :void 0},_ default:fu nction(a){ return n.n odeName(a. target,"a" )}},before unload:{po stDispatch :function( a){void 0! ==a.result &&a.origin alEvent&&( a.original Event.retu rnValue=a. result)}}} },n.remove Event=func tion(a,b,c ){a.remove EventListe ner&&a.rem oveEventLi stener(b,c )},n.Event =function( a,b){retur n this ins tanceof n. Event?(a&& a.type?(th is.origina lEvent=a,t his.type=a .type,this .isDefault Prevented= a.defaultP revented|| void 0===a .defaultPr evented&&a .returnVal ue===!1?ga :ha):this. type=a,b&& n.extend(t his,b),thi s.timeStam p=a&&a.tim eStamp||n. now(),void (this[n.ex pando]=!0) ):new n.Ev ent(a,b)}, n.Event.pr ototype={c onstructor :n.Event,i sDefaultPr evented:ha ,isPropaga tionStoppe d:ha,isImm ediateProp agationSto pped:ha,is Simulated: !1,prevent Default:fu nction(){v ar a=this. originalEv ent;this.i sDefaultPr evented=ga ,a&&!this. isSimulate d&&a.preve ntDefault( )},stopPro pagation:f unction(){ var a=this .originalE vent;this. isPropagat ionStopped =ga,a&&!th is.isSimul ated&&a.st opPropagat ion()},sto pImmediate Propagatio n:function (){var a=t his.origin alEvent;th is.isImmed iatePropag ationStopp ed=ga,a&&! this.isSim ulated&&a. stopImmedi atePropaga tion(),thi s.stopProp agation()} },n.each({ mouseenter :"mouseove r",mousele ave:"mouse out",point erenter:"p ointerover ",pointerl eave:"poin terout"},f unction(a, b){n.event .special[a ]={delegat eType:b,bi ndType:b,h andle:func tion(a){va r c,d=this ,e=a.relat edTarget,f =a.handleO bj;return e&&(e===d| |n.contain s(d,e))||( a.type=f.o rigType,c= f.handler. apply(this ,arguments ),a.type=b ),c}}}),n. fn.extend( {on:functi on(a,b,c,d ){return j a(this,a,b ,c,d)},one :function( a,b,c,d){r eturn ja(t his,a,b,c, d,1)},off: function(a ,b,c){var d,e;if(a&& a.preventD efault&&a. handleObj) return d=a .handleObj ,n(a.deleg ateTarget) .off(d.nam espace?d.o rigType+". "+d.namesp ace:d.orig Type,d.sel ector,d.ha ndler),thi s;if("obje ct"==typeo f a){for(e in a)this .off(e,b,a [e]);retur n this}ret urn b!==!1 &&"functio n"!=typeof b||(c=b,b =void 0),c ===!1&&(c= ha),this.e ach(functi on(){n.eve nt.remove( this,a,c,b )})}});var ka=/<(?!a rea|br|col |embed|hr| img|input| link|meta| param)(([\ \w:-]+)[^> ]*)\\/>/gi ,la=/<scri pt|<style| <link/i,ma =/checked\ \s*(?:[^=] |=\\s*.che cked.)/i,n a=/^true\\ /(.*)/,oa= /^\\s*<!(? :\\[CDATA\ \[|--)|(?: \\]\\]|--) >\\s*$/g;f unction pa (a,b){retu rn n.nodeN ame(a,"tab le")&&n.no deName(11! ==b.nodeTy pe?b:b.fir stChild,"t r")?a.getE lementsByT agName("tb ody")[0]|| a.appendCh ild(a.owne rDocument. createElem ent("tbody ")):a}func tion qa(a) {return a. type=(null !==a.getAt tribute("t ype"))+"/" +a.type,a} function r a(a){var b =na.exec(a .type);ret urn b?a.ty pe=b[1]:a. removeAttr ibute("typ e"),a}func tion sa(a, b){var c,d ,e,f,g,h,i ,j;if(1=== b.nodeType ){if(N.has Data(a)&&( f=N.access (a),g=N.se t(b,f),j=f .events)){ delete g.h andle,g.ev ents={};fo r(e in j)f or(c=0,d=j [e].length ;d>c;c++)n .event.add (b,e,j[e][ c])}O.hasD ata(a)&&(h =O.access( a),i=n.ext end({},h), O.set(b,i) )}}functio n ta(a,b){ var c=b.no deName.toL owerCase() ;"input"== =c&&X.test (a.type)?b .checked=a .checked:" input"!==c &&"textare a"!==c||(b .defaultVa lue=a.defa ultValue)} function u a(a,b,c,d) {b=f.apply ([],b);var e,g,h,i,j ,k,m=0,o=a .length,p= o-1,q=b[0] ,r=n.isFun ction(q);i f(r||o>1&& "string"== typeof q&& !l.checkCl one&&ma.te st(q))retu rn a.each( function(e ){var f=a. eq(e);r&&( b[0]=q.cal l(this,e,f .html())), ua(f,b,c,d )});if(o&& (e=ca(b,a[ 0].ownerDo cument,!1, a,d),g=e.f irstChild, 1===e.chil dNodes.len gth&&(e=g) ,g||d)){fo r(h=n.map( _(e,"scrip t"),qa),i= h.length;o >m;m++)j=e ,m!==p&&(j =n.clone(j ,!0,!0),i& &n.merge(h ,_(j,"scri pt"))),c.c all(a[m],j ,m);if(i)f or(k=h[h.l ength-1].o wnerDocume nt,n.map(h ,ra),m=0;i >m;m++)j=h [m],Z.test (j.type||" ")&&!N.acc ess(j,"glo balEval")& &n.contain s(k,j)&&(j .src?n._ev alUrl&&n._ evalUrl(j. src):n.glo balEval(j. textConten t.replace( oa,"")))}r eturn a}fu nction va( a,b,c){for (var d,e=b ?n.filter( b,a):a,f=0 ;null!=(d= e[f]);f++) c||1!==d.n odeType||n .cleanData (_(d)),d.p arentNode& &(c&&n.con tains(d.ow nerDocumen t,d)&&aa(_ (d,"script ")),d.pare ntNode.rem oveChild(d ));return a}n.extend ({htmlPref ilter:func tion(a){re turn a.rep lace(ka,"< $1></$2>") },clone:fu nction(a,b ,c){var d, e,f,g,h=a. cloneNode( !0),i=n.co ntains(a.o wnerDocume nt,a);if(! (l.noClone Checked||1 !==a.nodeT ype&&11!== a.nodeType ||n.isXMLD oc(a)))for (g=_(h),f= _(a),d=0,e =f.length; e>d;d++)ta (f[d],g[d] );if(b)if( c)for(f=f| |_(a),g=g| |_(h),d=0, e=f.length ;e>d;d++)s a(f[d],g[d ]);else sa (a,h);retu rn g=_(h," script"),g .length>0& &aa(g,!i&& _(a,"scrip t")),h},cl eanData:fu nction(a){ for(var b, c,d,e=n.ev ent.specia l,f=0;void 0!==(c=a[ f]);f++)if (L(c)){if( b=c[N.expa ndo]){if(b .events)fo r(d in b.e vents)e[d] ?n.event.r emove(c,d) :n.removeE vent(c,d,b .handle);c [N.expando ]=void 0}c [O.expando ]&&(c[O.ex pando]=voi d 0)}}}),n .fn.extend ({domManip :ua,detach :function( a){return va(this,a, !0)},remov e:function (a){return va(this,a )},text:fu nction(a){ return K(t his,functi on(a){retu rn void 0= ==a?n.text (this):thi s.empty(). each(funct ion(){1!== this.nodeT ype&&11!== this.nodeT ype&&9!==t his.nodeTy pe||(this. textConten t=a)})},nu ll,a,argum ents.lengt h)},append :function( ){return u a(this,arg uments,fun ction(a){i f(1===this .nodeType| |11===this .nodeType| |9===this. nodeType){ var b=pa(t his,a);b.a ppendChild (a)}})},pr epend:func tion(){ret urn ua(thi s,argument s,function (a){if(1== =this.node Type||11== =this.node Type||9=== this.nodeT ype){var b =pa(this,a );b.insert Before(a,b .firstChil d)}})},bef ore:functi on(){retur n ua(this, arguments, function(a ){this.par entNode&&t his.parent Node.inser tBefore(a, this)})},a fter:funct ion(){retu rn ua(this ,arguments ,function( a){this.pa rentNode&& this.paren tNode.inse rtBefore(a ,this.next Sibling)}) },empty:fu nction(){f or(var a,b =0;null!=( a=this[b]) ;b++)1===a .nodeType& &(n.cleanD ata(_(a,!1 )),a.textC ontent="") ;return th is},clone: function(a ,b){return a=null==a ?!1:a,b=nu ll==b?a:b, this.map(f unction(){ return n.c lone(this, a,b)})},ht ml:functio n(a){retur n K(this,f unction(a) {var b=thi s[0]||{},c =0,d=this. length;if( void 0===a &&1===b.no deType)ret urn b.inne rHTML;if(" string"==t ypeof a&&! la.test(a) &&!$[(Y.ex ec(a)||["" ,""])[1].t oLowerCase ()]){a=n.h tmlPrefilt er(a);try{ for(;d>c;c ++)b=this[ c]||{},1== =b.nodeTyp e&&(n.clea nData(_(b, !1)),b.inn erHTML=a); b=0}catch( e){}}b&&th is.empty() .append(a) },null,a,a rguments.l ength)},re placeWith: function() {var a=[]; return ua( this,argum ents,funct ion(b){var c=this.pa rentNode;n .inArray(t his,a)<0&& (n.cleanDa ta(_(this) ),c&&c.rep laceChild( b,this))}, a)}}),n.ea ch({append To:"append ",prependT o:"prepend ",insertBe fore:"befo re",insert After:"aft er",replac eAll:"repl aceWith"}, function(a ,b){n.fn[a ]=function (a){for(va r c,d=[],e =n(a),f=e. length-1,h =0;f>=h;h+ +)c=h===f? this:this. clone(!0), n(e[h])[b] (c),g.appl y(d,c.get( ));return this.pushS tack(d)}}) ;var wa,xa ={HTML:"bl ock",BODY: "block"};f unction ya (a,b){var c=n(b.crea teElement( a)).append To(b.body) ,d=n.css(c [0],"displ ay");retur n c.detach (),d}funct ion za(a){ var b=d,c= xa[a];retu rn c||(c=y a(a,b),"no ne"!==c&&c ||(wa=(wa| |n("<ifram e framebor der=\'0\' width=\'0\ ' height=\ '0\'/>")). appendTo(b .documentE lement),b= wa[0].cont entDocumen t,b.write( ),b.close( ),c=ya(a,b ),wa.detac h()),xa[a] =c),c}var Aa=/^margi n/,Ba=new RegExp("^( "+S+")(?!p x)[a-z%]+$ ","i"),Ca= function(b ){var c=b. ownerDocum ent.defaul tView;retu rn c&&c.op ener||(c=a ),c.getCom putedStyle (b)},Da=fu nction(a,b ,c,d){var e,f,g={};f or(f in b) g[f]=a.sty le[f],a.st yle[f]=b[f ];e=c.appl y(a,d||[]) ;for(f in b)a.style[ f]=g[f];re turn e},Ea =d.documen tElement;! function() {var b,c,e ,f,g=d.cre ateElement ("div"),h= d.createEl ement("div ");if(h.st yle){h.sty le.backgro undClip="c ontent-box ",h.cloneN ode(!0).st yle.backgr oundClip=" ",l.clearC loneStyle= "content-b ox"===h.st yle.backgr oundClip,g .style.css Text="bord er:0;width :8px;heigh t:0;top:0; left:-9999 px;padding :0;margin- top:1px;po sition:abs olute",g.a ppendChild (h);functi on i(){h.s tyle.cssTe xt="-webki t-box-sizi ng:border- box;-moz-b ox-sizing: border-box ;box-sizin g:border-b ox;positio n:relative ;display:b lock;margi n:auto;bor der:1px;pa dding:1px; top:1%;wid th:50%",h. innerHTML= "",Ea.appe ndChild(g) ;var d=a.g etComputed Style(h);b ="1%"!==d. top,f="2px "===d.marg inLeft,c=" 4px"===d.w idth,h.sty le.marginR ight="50%" ,e="4px"== =d.marginR ight,Ea.re moveChild( g)}n.exten d(l,{pixel Position:f unction(){ return i() ,b},boxSiz ingReliabl e:function (){return null==c&&i (),c},pixe lMarginRig ht:functio n(){return null==c&& i(),e},rel iableMargi nLeft:func tion(){ret urn null== c&&i(),f}, reliableMa rginRight: function() {var b,c=h .appendChi ld(d.creat eElement(" div"));ret urn c.styl e.cssText= h.style.cs sText="-we bkit-box-s izing:cont ent-box;bo x-sizing:c ontent-box ;display:b lock;margi n:0;border :0;padding :0",c.styl e.marginRi ght=c.styl e.width="0 ",h.style. width="1px ",Ea.appen dChild(g), b=!parseFl oat(a.getC omputedSty le(c).marg inRight),E a.removeCh ild(g),h.r emoveChild (c),b}})}} ();functio n Fa(a,b,c ){var d,e, f,g,h=a.st yle;return c=c||Ca(a ),g=c?c.ge tPropertyV alue(b)||c [b]:void 0 ,""!==g&&v oid 0!==g| |n.contain s(a.ownerD ocument,a) ||(g=n.sty le(a,b)),c &&!l.pixel MarginRigh t()&&Ba.te st(g)&&Aa. test(b)&&( d=h.width, e=h.minWid th,f=h.max Width,h.mi nWidth=h.m axWidth=h. width=g,g= c.width,h. width=d,h. minWidth=e ,h.maxWidt h=f),void 0!==g?g+"" :g}functio n Ga(a,b){ return{get :function( ){return a ()?void de lete this. get:(this. get=b).app ly(this,ar guments)}} }var Ha=/^ (none|tabl e(?!-c[ea] ).+)/,Ia={ position:" absolute", visibility :"hidden", display:"b lock"},Ja= {letterSpa cing:"0",f ontWeight: "400"},Ka= ["Webkit", "O","Moz", "ms"],La=d .createEle ment("div" ).style;fu nction Ma( a){if(a in La)return a;var b=a [0].toUppe rCase()+a. slice(1),c =Ka.length ;while(c-- )if(a=Ka[c ]+b,a in L a)return a }function Na(a,b,c){ var d=T.ex ec(b);retu rn d?Math. max(0,d[2] -(c||0))+( d[3]||"px" ):b}functi on Oa(a,b, c,d,e){for (var f=c== =(d?"borde r":"conten t")?4:"wid th"===b?1: 0,g=0;4>f; f+=2)"marg in"===c&&( g+=n.css(a ,c+U[f],!0 ,e)),d?("c ontent"=== c&&(g-=n.c ss(a,"padd ing"+U[f], !0,e)),"ma rgin"!==c& &(g-=n.css (a,"border "+U[f]+"Wi dth",!0,e) )):(g+=n.c ss(a,"padd ing"+U[f], !0,e),"pad ding"!==c& &(g+=n.css (a,"border "+U[f]+"Wi dth",!0,e) ));return g}function Pa(a,b,c) {var d=!0, e="width"= ==b?a.offs etWidth:a. offsetHeig ht,f=Ca(a) ,g="border -box"===n. css(a,"box Sizing",!1 ,f);if(0>= e||null==e ){if(e=Fa( a,b,f),(0> e||null==e )&&(e=a.st yle[b]),Ba .test(e))r eturn e;d= g&&(l.boxS izingRelia ble()||e== =a.style[b ]),e=parse Float(e)|| 0}return e +Oa(a,b,c| |(g?"borde r":"conten t"),d,f)+" px"}functi on Qa(a,b) {for(var c ,d,e,f=[], g=0,h=a.le ngth;h>g;g ++)d=a[g], d.style&&( f[g]=N.get (d,"olddis play"),c=d .style.dis play,b?(f[ g]||"none" !==c||(d.s tyle.displ ay=""),""= ==d.style. display&&V (d)&&(f[g] =N.access( d,"olddisp lay",za(d. nodeName)) )):(e=V(d) ,"none"=== c&&e||N.se t(d,"olddi splay",e?c :n.css(d," display")) ));for(g=0 ;h>g;g++)d =a[g],d.st yle&&(b&&" none"!==d. style.disp lay&&""!== d.style.di splay||(d. style.disp lay=b?f[g] ||"":"none "));return a}n.exten d({cssHook s:{opacity :{get:func tion(a,b){ if(b){var c=Fa(a,"op acity");re turn""===c ?"1":c}}}} ,cssNumber :{animatio nIteration Count:!0,c olumnCount :!0,fillOp acity:!0,f lexGrow:!0 ,flexShrin k:!0,fontW eight:!0,l ineHeight: !0,opacity :!0,order: !0,orphans :!0,widows :!0,zIndex :!0,zoom:! 0},cssProp s:{"float" :"cssFloat "},style:f unction(a, b,c,d){if( a&&3!==a.n odeType&&8 !==a.nodeT ype&&a.sty le){var e, f,g,h=n.ca melCase(b) ,i=a.style ;return b= n.cssProps [h]||(n.cs sProps[h]= Ma(h)||h), g=n.cssHoo ks[b]||n.c ssHooks[h] ,void 0=== c?g&&"get" in g&&void 0!==(e=g. get(a,!1,d ))?e:i[b]: (f=typeof c,"string" ===f&&(e=T .exec(c))& &e[1]&&(c= W(a,b,e),f ="number") ,null!=c&& c===c&&("n umber"===f &&(c+=e&&e [3]||(n.cs sNumber[h] ?"":"px")) ,l.clearCl oneStyle|| ""!==c||0! ==b.indexO f("backgro und")||(i[ b]="inheri t"),g&&"se t"in g&&vo id 0===(c= g.set(a,c, d))||(i[b] =c)),void 0)}},css:f unction(a, b,c,d){var e,f,g,h=n .camelCase (b);return b=n.cssPr ops[h]||(n .cssProps[ h]=Ma(h)|| h),g=n.css Hooks[b]|| n.cssHooks [h],g&&"ge t"in g&&(e =g.get(a,! 0,c)),void 0===e&&(e =Fa(a,b,d) ),"normal" ===e&&b in Ja&&(e=Ja [b]),""=== c||c?(f=pa rseFloat(e ),c===!0|| isFinite(f )?f||0:e): e}}),n.eac h(["height ","width"] ,function( a,b){n.css Hooks[b]={ get:functi on(a,c,d){ return c?H a.test(n.c ss(a,"disp lay"))&&0= ==a.offset Width?Da(a ,Ia,functi on(){retur n Pa(a,b,d )}):Pa(a,b ,d):void 0 },set:func tion(a,c,d ){var e,f= d&&Ca(a),g =d&&Oa(a,b ,d,"border -box"===n. css(a,"box Sizing",!1 ,f),f);ret urn g&&(e= T.exec(c)) &&"px"!==( e[3]||"px" )&&(a.styl e[b]=c,c=n .css(a,b)) ,Na(a,c,g) }}}),n.css Hooks.marg inLeft=Ga( l.reliable MarginLeft ,function( a,b){retur n b?(parse Float(Fa(a ,"marginLe ft"))||a.g etBounding ClientRect ().left-Da (a,{margin Left:0},fu nction(){r eturn a.ge tBoundingC lientRect( ).left}))+ "px":void 0}),n.cssH ooks.margi nRight=Ga( l.reliable MarginRigh t,function (a,b){retu rn b?Da(a, {display:" inline-blo ck"},Fa,[a ,"marginRi ght"]):voi d 0}),n.ea ch({margin :"",paddin g:"",borde r:"Width"} ,function( a,b){n.css Hooks[a+b] ={expand:f unction(c) {for(var d =0,e={},f= "string"== typeof c?c .split(" " ):[c];4>d; d++)e[a+U[ d]+b]=f[d] ||f[d-2]|| f[0];retur n e}},Aa.t est(a)||(n .cssHooks[ a+b].set=N a)}),n.fn. extend({cs s:function (a,b){retu rn K(this, function(a ,b,c){var d,e,f={},g =0;if(n.is Array(b)){ for(d=Ca(a ),e=b.leng th;e>g;g++ )f[b[g]]=n .css(a,b[g ],!1,d);re turn f}ret urn void 0 !==c?n.sty le(a,b,c): n.css(a,b) },a,b,argu ments.leng th>1)},sho w:function (){return Qa(this,!0 )},hide:fu nction(){r eturn Qa(t his)},togg le:functio n(a){retur n"boolean" ==typeof a ?a?this.sh ow():this. hide():thi s.each(fun ction(){V( this)?n(th is).show() :n(this).h ide()})}}) ;function Ra(a,b,c,d ,e){return new Ra.pr ototype.in it(a,b,c,d ,e)}n.Twee n=Ra,Ra.pr ototype={c onstructor :Ra,init:f unction(a, b,c,d,e,f) {this.elem =a,this.pr op=c,this. easing=e|| n.easing._ default,th is.options =b,this.st art=this.n ow=this.cu r(),this.e nd=d,this. unit=f||(n .cssNumber [c]?"":"px ")},cur:fu nction(){v ar a=Ra.pr opHooks[th is.prop];r eturn a&&a .get?a.get (this):Ra. propHooks. _default.g et(this)}, run:functi on(a){var b,c=Ra.pro pHooks[thi s.prop];re turn this. options.du ration?thi s.pos=b=n. easing[thi s.easing]( a,this.opt ions.durat ion*a,0,1, this.optio ns.duratio n):this.po s=b=a,this .now=(this .end-this. start)*b+t his.start, this.optio ns.step&&t his.option s.step.cal l(this.ele m,this.now ,this),c&& c.set?c.se t(this):Ra .propHooks ._default. set(this), this}},Ra. prototype. init.proto type=Ra.pr ototype,Ra .propHooks ={_default :{get:func tion(a){va r b;return 1!==a.ele m.nodeType ||null!=a. elem[a.pro p]&&null== a.elem.sty le[a.prop] ?a.elem[a. prop]:(b=n .css(a.ele m,a.prop," "),b&&"aut o"!==b?b:0 )},set:fun ction(a){n .fx.step[a .prop]?n.f x.step[a.p rop](a):1! ==a.elem.n odeType||n ull==a.ele m.style[n. cssProps[a .prop]]&&! n.cssHooks [a.prop]?a .elem[a.pr op]=a.now: n.style(a. elem,a.pro p,a.now+a. unit)}}},R a.propHook s.scrollTo p=Ra.propH ooks.scrol lLeft={set :function( a){a.elem. nodeType&& a.elem.par entNode&&( a.elem[a.p rop]=a.now )}},n.easi ng={linear :function( a){return a},swing:f unction(a) {return.5- Math.cos(a *Math.PI)/ 2},_defaul t:"swing"} ,n.fx=Ra.p rototype.i nit,n.fx.s tep={};var Sa,Ta,Ua= /^(?:toggl e|show|hid e)$/,Va=/q ueueHooks$ /;function Wa(){retu rn a.setTi meout(func tion(){Sa= void 0}),S a=n.now()} function X a(a,b){var c,d=0,e={ height:a}; for(b=b?1: 0;4>d;d+=2 -b)c=U[d], e["margin" +c]=e["pad ding"+c]=a ;return b& &(e.opacit y=e.width= a),e}funct ion Ya(a,b ,c){for(va r d,e=(_a. tweeners[b ]||[]).con cat(_a.twe eners["*"] ),f=0,g=e. length;g>f ;f++)if(d= e[f].call( c,b,a))ret urn d}func tion Za(a, b,c){var d ,e,f,g,h,i ,j,k,l=thi s,m={},o=a .style,p=a .nodeType& &V(a),q=N. get(a,"fxs how");c.qu eue||(h=n. _queueHook s(a,"fx"), null==h.un queued&&(h .unqueued= 0,i=h.empt y.fire,h.e mpty.fire= function() {h.unqueue d||i()}),h .unqueued+ +,l.always (function( ){l.always (function( ){h.unqueu ed--,n.que ue(a,"fx") .length||h .empty.fir e()})})),1 ===a.nodeT ype&&("hei ght"in b|| "width"in b)&&(c.ove rflow=[o.o verflow,o. overflowX, o.overflow Y],j=n.css (a,"displa y"),k="non e"===j?N.g et(a,"oldd isplay")|| za(a.nodeN ame):j,"in line"===k& &"none"=== n.css(a,"f loat")&&(o .display=" inline-blo ck")),c.ov erflow&&(o .overflow= "hidden",l .always(fu nction(){o .overflow= c.overflow [0],o.over flowX=c.ov erflow[1], o.overflow Y=c.overfl ow[2]}));f or(d in b) if(e=b[d], Ua.exec(e) ){if(delet e b[d],f=f ||"toggle" ===e,e===( p?"hide":" show")){if ("show"!== e||!q||voi d 0===q[d] )continue; p=!0}m[d]= q&&q[d]||n .style(a,d )}else j=v oid 0;if(n .isEmptyOb ject(m))"i nline"===( "none"===j ?za(a.node Name):j)&& (o.display =j);else{q ?"hidden"i n q&&(p=q. hidden):q= N.access(a ,"fxshow", {}),f&&(q. hidden=!p) ,p?n(a).sh ow():l.don e(function (){n(a).hi de()}),l.d one(functi on(){var b ;N.remove( a,"fxshow" );for(b in m)n.style (a,b,m[b]) });for(d i n m)g=Ya(p ?q[d]:0,d, l),d in q| |(q[d]=g.s tart,p&&(g .end=g.sta rt,g.start ="width"== =d||"heigh t"===d?1:0 ))}}functi on $a(a,b) {var c,d,e ,f,g;for(c in a)if(d =n.camelCa se(c),e=b[ d],f=a[c], n.isArray( f)&&(e=f[1 ],f=a[c]=f [0]),c!==d &&(a[d]=f, delete a[c ]),g=n.css Hooks[d],g &&"expand" in g){f=g. expand(f), delete a[d ];for(c in f)c in a| |(a[c]=f[c ],b[c]=e)} else b[d]= e}function _a(a,b,c) {var d,e,f =0,g=_a.pr efilters.l ength,h=n. Deferred() .always(fu nction(){d elete i.el em}),i=fun ction(){if (e)return! 1;for(var b=Sa||Wa() ,c=Math.ma x(0,j.star tTime+j.du ration-b), d=c/j.dura tion||0,f= 1-d,g=0,i= j.tweens.l ength;i>g; g++)j.twee ns[g].run( f);return h.notifyWi th(a,[j,f, c]),1>f&&i ?c:(h.reso lveWith(a, [j]),!1)}, j=h.promis e({elem:a, props:n.ex tend({},b) ,opts:n.ex tend(!0,{s pecialEasi ng:{},easi ng:n.easin g._default },c),origi nalPropert ies:b,orig inalOption s:c,startT ime:Sa||Wa (),duratio n:c.durati on,tweens: [],createT ween:funct ion(b,c){v ar d=n.Twe en(a,j.opt s,b,c,j.op ts.special Easing[b]| |j.opts.ea sing);retu rn j.tween s.push(d), d},stop:fu nction(b){ var c=0,d= b?j.tweens .length:0; if(e)retur n this;for (e=!0;d>c; c++)j.twee ns[c].run( 1);return b?(h.notif yWith(a,[j ,1,0]),h.r esolveWith (a,[j,b])) :h.rejectW ith(a,[j,b ]),this}}) ,k=j.props ;for($a(k, j.opts.spe cialEasing );g>f;f++) if(d=_a.pr efilters[f ].call(j,a ,k,j.opts) )return n. isFunction (d.stop)&& (n._queueH ooks(j.ele m,j.opts.q ueue).stop =n.proxy(d .stop,d)), d;return n .map(k,Ya, j),n.isFun ction(j.op ts.start)& &j.opts.st art.call(a ,j),n.fx.t imer(n.ext end(i,{ele m:a,anim:j ,queue:j.o pts.queue} )),j.progr ess(j.opts .progress) .done(j.op ts.done,j. opts.compl ete).fail( j.opts.fai l).always( j.opts.alw ays)}n.Ani mation=n.e xtend(_a,{ tweeners:{ "*":[funct ion(a,b){v ar c=this. createTwee n(a,b);ret urn W(c.el em,a,T.exe c(b),c),c} ]},tweener :function( a,b){n.isF unction(a) ?(b=a,a=[" *"]):a=a.m atch(G);fo r(var c,d= 0,e=a.leng th;e>d;d++ )c=a[d],_a .tweeners[ c]=_a.twee ners[c]||[ ],_a.tween ers[c].uns hift(b)},p refilters: [Za],prefi lter:funct ion(a,b){b ?_a.prefil ters.unshi ft(a):_a.p refilters. push(a)}}) ,n.speed=f unction(a, b,c){var d =a&&"objec t"==typeof a?n.exten d({},a):{c omplete:c| |!c&&b||n. isFunction (a)&&a,dur ation:a,ea sing:c&&b| |b&&!n.isF unction(b) &&b};retur n d.durati on=n.fx.of f?0:"numbe r"==typeof d.duratio n?d.durati on:d.durat ion in n.f x.speeds?n .fx.speeds [d.duratio n]:n.fx.sp eeds._defa ult,null!= d.queue&&d .queue!==! 0||(d.queu e="fx"),d. old=d.comp lete,d.com plete=func tion(){n.i sFunction( d.old)&&d. old.call(t his),d.que ue&&n.dequ eue(this,d .queue)},d },n.fn.ext end({fadeT o:function (a,b,c,d){ return thi s.filter(V ).css("opa city",0).s how().end( ).animate( {opacity:b },a,c,d)}, animate:fu nction(a,b ,c,d){var e=n.isEmpt yObject(a) ,f=n.speed (b,c,d),g= function() {var b=_a( this,n.ext end({},a), f);(e||N.g et(this,"f inish"))&& b.stop(!0) };return g .finish=g, e||f.queue ===!1?this .each(g):t his.queue( f.queue,g) },stop:fun ction(a,b, c){var d=f unction(a) {var b=a.s top;delete a.stop,b( c)};return "string"!= typeof a&& (c=b,b=a,a =void 0),b &&a!==!1&& this.queue (a||"fx",[ ]),this.ea ch(functio n(){var b= !0,e=null! =a&&a+"que ueHooks",f =n.timers, g=N.get(th is);if(e)g [e]&&g[e]. stop&&d(g[ e]);else f or(e in g) g[e]&&g[e] .stop&&Va. test(e)&&d (g[e]);for (e=f.lengt h;e--;)f[e ].elem!==t his||null! =a&&f[e].q ueue!==a|| (f[e].anim .stop(c),b =!1,f.spli ce(e,1));! b&&c||n.de queue(this ,a)})},fin ish:functi on(a){retu rn a!==!1& &(a=a||"fx "),this.ea ch(functio n(){var b, c=N.get(th is),d=c[a+ "queue"],e =c[a+"queu eHooks"],f =n.timers, g=d?d.leng th:0;for(c .finish=!0 ,n.queue(t his,a,[]), e&&e.stop& &e.stop.ca ll(this,!0 ),b=f.leng th;b--;)f[ b].elem=== this&&f[b] .queue===a &&(f[b].an im.stop(!0 ),f.splice (b,1));for (b=0;g>b;b ++)d[b]&&d [b].finish &&d[b].fin ish.call(t his);delet e c.finish })}}),n.ea ch(["toggl e","show", "hide"],fu nction(a,b ){var c=n. fn[b];n.fn [b]=functi on(a,d,e){ return nul l==a||"boo lean"==typ eof a?c.ap ply(this,a rguments): this.anima te(Xa(b,!0 ),a,d,e)}} ),n.each({ slideDown: Xa("show") ,slideUp:X a("hide"), slideToggl e:Xa("togg le"),fadeI n:{opacity :"show"},f adeOut:{op acity:"hid e"},fadeTo ggle:{opac ity:"toggl e"}},funct ion(a,b){n .fn[a]=fun ction(a,c, d){return this.anima te(b,a,c,d )}}),n.tim ers=[],n.f x.tick=fun ction(){va r a,b=0,c= n.timers;f or(Sa=n.no w();b<c.le ngth;b++)a =c[b],a()| |c[b]!==a| |c.splice( b--,1);c.l ength||n.f x.stop(),S a=void 0}, n.fx.timer =function( a){n.timer s.push(a), a()?n.fx.s tart():n.t imers.pop( )},n.fx.in terval=13, n.fx.start =function( ){Ta||(Ta= a.setInter val(n.fx.t ick,n.fx.i nterval))} ,n.fx.stop =function( ){a.clearI nterval(Ta ),Ta=null} ,n.fx.spee ds={slow:6 00,fast:20 0,_default :400},n.fn .delay=fun ction(b,c) {return b= n.fx?n.fx. speeds[b]| |b:b,c=c|| "fx",this. queue(c,fu nction(c,d ){var e=a. setTimeout (c,b);d.st op=functio n(){a.clea rTimeout(e )}})},func tion(){var a=d.creat eElement(" input"),b= d.createEl ement("sel ect"),c=b. appendChil d(d.create Element("o ption"));a .type="che ckbox",l.c heckOn=""! ==a.value, l.optSelec ted=c.sele cted,b.dis abled=!0,l .optDisabl ed=!c.disa bled,a=d.c reateEleme nt("input" ),a.value= "t",a.type ="radio",l .radioValu e="t"===a. value}();v ar ab,bb=n .expr.attr Handle;n.f n.extend({ attr:funct ion(a,b){r eturn K(th is,n.attr, a,b,argume nts.length >1)},remov eAttr:func tion(a){re turn this. each(funct ion(){n.re moveAttr(t his,a)})}} ),n.extend ({attr:fun ction(a,b, c){var d,e ,f=a.nodeT ype;if(3!= =f&&8!==f& &2!==f)ret urn"undefi ned"==type of a.getAt tribute?n. prop(a,b,c ):(1===f&& n.isXMLDoc (a)||(b=b. toLowerCas e(),e=n.at trHooks[b] ||(n.expr. match.bool .test(b)?a b:void 0)) ,void 0!== c?null===c ?void n.re moveAttr(a ,b):e&&"se t"in e&&vo id 0!==(d= e.set(a,c, b))?d:(a.s etAttribut e(b,c+""), c):e&&"get "in e&&nul l!==(d=e.g et(a,b))?d :(d=n.find .attr(a,b) ,null==d?v oid 0:d))} ,attrHooks :{type:{se t:function (a,b){if(! l.radioVal ue&&"radio "===b&&n.n odeName(a, "input")){ var c=a.va lue;return a.setAttr ibute("typ e",b),c&&( a.value=c) ,b}}}},rem oveAttr:fu nction(a,b ){var c,d, e=0,f=b&&b .match(G); if(f&&1=== a.nodeType )while(c=f [e++])d=n. propFix[c] ||c,n.expr .match.boo l.test(c)& &(a[d]=!1) ,a.removeA ttribute(c )}}),ab={s et:functio n(a,b,c){r eturn b=== !1?n.remov eAttr(a,c) :a.setAttr ibute(c,c) ,c}},n.eac h(n.expr.m atch.bool. source.mat ch(/\\w+/g ),function (a,b){var c=bb[b]||n .find.attr ;bb[b]=fun ction(a,b, d){var e,f ;return d| |(f=bb[b], bb[b]=e,e= null!=c(a, b,d)?b.toL owerCase() :null,bb[b ]=f),e}}); var cb=/^( ?:input|se lect|texta rea|button )$/i,db=/^ (?:a|area) $/i;n.fn.e xtend({pro p:function (a,b){retu rn K(this, n.prop,a,b ,arguments .length>1) },removePr op:functio n(a){retur n this.eac h(function (){delete this[n.pro pFix[a]||a ]})}}),n.e xtend({pro p:function (a,b,c){va r d,e,f=a. nodeType;i f(3!==f&&8 !==f&&2!== f)return 1 ===f&&n.is XMLDoc(a)| |(b=n.prop Fix[b]||b, e=n.propHo oks[b]),\n void 0!==c ?e&&"set"i n e&&void 0!==(d=e.s et(a,c,b)) ?d:a[b]=c: e&&"get"in e&&null!= =(d=e.get( a,b))?d:a[ b]},propHo oks:{tabIn dex:{get:f unction(a) {var b=n.f ind.attr(a ,"tabindex ");return b?parseInt (b,10):cb. test(a.nod eName)||db .test(a.no deName)&&a .href?0:-1 }}},propFi x:{"for":" htmlFor"," class":"cl assName"}} ),l.optSel ected||(n. propHooks. selected={ get:functi on(a){var b=a.parent Node;retur n b&&b.par entNode&&b .parentNod e.selected Index,null },set:func tion(a){va r b=a.pare ntNode;b&& (b.selecte dIndex,b.p arentNode& &b.parentN ode.select edIndex)}} ),n.each([ "tabIndex" ,"readOnly ","maxLeng th","cellS pacing","c ellPadding ","rowSpan ","colSpan ","useMap" ,"frameBor der","cont entEditabl e"],functi on(){n.pro pFix[this. toLowerCas e()]=this} );var eb=/ [\\t\\r\\n \\f]/g;fun ction fb(a ){return a .getAttrib ute&&a.get Attribute( "class")|| ""}n.fn.ex tend({addC lass:funct ion(a){var b,c,d,e,f ,g,h,i=0;i f(n.isFunc tion(a))re turn this. each(funct ion(b){n(t his).addCl ass(a.call (this,b,fb (this)))}) ;if("strin g"==typeof a&&a){b=a .match(G)| |[];while( c=this[i++ ])if(e=fb( c),d=1===c .nodeType& &(" "+e+" ").replace (eb," ")){ g=0;while( f=b[g++])d .indexOf(" "+f+" ")< 0&&(d+=f+" ");h=n.tr im(d),e!== h&&c.setAt tribute("c lass",h)}} return thi s},removeC lass:funct ion(a){var b,c,d,e,f ,g,h,i=0;i f(n.isFunc tion(a))re turn this. each(funct ion(b){n(t his).remov eClass(a.c all(this,b ,fb(this)) )});if(!ar guments.le ngth)retur n this.att r("class", "");if("st ring"==typ eof a&&a){ b=a.match( G)||[];whi le(c=this[ i++])if(e= fb(c),d=1= ==c.nodeTy pe&&(" "+e +" ").repl ace(eb," " )){g=0;whi le(f=b[g++ ])while(d. indexOf(" "+f+" ")>- 1)d=d.repl ace(" "+f+ " "," ");h =n.trim(d) ,e!==h&&c. setAttribu te("class" ,h)}}retur n this},to ggleClass: function(a ,b){var c= typeof a;r eturn"bool ean"==type of b&&"str ing"===c?b ?this.addC lass(a):th is.removeC lass(a):n. isFunction (a)?this.e ach(functi on(c){n(th is).toggle Class(a.ca ll(this,c, fb(this),b ),b)}):thi s.each(fun ction(){va r b,d,e,f; if("string "===c){d=0 ,e=n(this) ,f=a.match (G)||[];wh ile(b=f[d+ +])e.hasCl ass(b)?e.r emoveClass (b):e.addC lass(b)}el se void 0! ==a&&"bool ean"!==c|| (b=fb(this ),b&&N.set (this,"__c lassName__ ",b),this. setAttribu te&&this.s etAttribut e("class", b||a===!1? "":N.get(t his,"__cla ssName__") ||""))})}, hasClass:f unction(a) {var b,c,d =0;b=" "+a +" ";while (c=this[d+ +])if(1=== c.nodeType &&(" "+fb( c)+" ").re place(eb," ").indexO f(b)>-1)re turn!0;ret urn!1}});v ar gb=/\\r /g,hb=/[\\ x20\\t\\r\ \n\\f]+/g; n.fn.exten d({val:fun ction(a){v ar b,c,d,e =this[0];{ if(argumen ts.length) return d=n .isFunctio n(a),this. each(funct ion(c){var e;1===thi s.nodeType &&(e=d?a.c all(this,c ,n(this).v al()):a,nu ll==e?e="" :"number"= =typeof e? e+="":n.is Array(e)&& (e=n.map(e ,function( a){return null==a?"" :a+""})),b =n.valHook s[this.typ e]||n.valH ooks[this. nodeName.t oLowerCase ()],b&&"se t"in b&&vo id 0!==b.s et(this,e, "value")|| (this.valu e=e))});if (e)return b=n.valHoo ks[e.type] ||n.valHoo ks[e.nodeN ame.toLowe rCase()],b &&"get"in b&&void 0! ==(c=b.get (e,"value" ))?c:(c=e. value,"str ing"==type of c?c.rep lace(gb,"" ):null==c? "":c)}}}), n.extend({ valHooks:{ option:{ge t:function (a){var b= n.find.att r(a,"value ");return null!=b?b: n.trim(n.t ext(a)).re place(hb," ")}},sele ct:{get:fu nction(a){ for(var b, c,d=a.opti ons,e=a.se lectedInde x,f="selec t-one"===a .type||0>e ,g=f?null: [],h=f?e+1 :d.length, i=0>e?h:f? e:0;h>i;i+ +)if(c=d[i ],(c.selec ted||i===e )&&(l.optD isabled?!c .disabled: null===c.g etAttribut e("disable d"))&&(!c. parentNode .disabled| |!n.nodeNa me(c.paren tNode,"opt group"))){ if(b=n(c). val(),f)re turn b;g.p ush(b)}ret urn g},set :function( a,b){var c ,d,e=a.opt ions,f=n.m akeArray(b ),g=e.leng th;while(g --)d=e[g], (d.selecte d=n.inArra y(n.valHoo ks.option. get(d),f)> -1)&&(c=!0 );return c ||(a.selec tedIndex=- 1),f}}}}), n.each(["r adio","che ckbox"],fu nction(){n .valHooks[ this]={set :function( a,b){retur n n.isArra y(b)?a.che cked=n.inA rray(n(a). val(),b)>- 1:void 0}} ,l.checkOn ||(n.valHo oks[this]. get=functi on(a){retu rn null=== a.getAttri bute("valu e")?"on":a .value})}) ;var ib=/^ (?:focusin focus|focu soutblur)$ /;n.extend (n.event,{ trigger:fu nction(b,c ,e,f){var g,h,i,j,l, m,o,p=[e|| d],q=k.cal l(b,"type" )?b.type:b ,r=k.call( b,"namespa ce")?b.nam espace.spl it("."):[] ;if(h=i=e= e||d,3!==e .nodeType& &8!==e.nod eType&&!ib .test(q+n. event.trig gered)&&(q .indexOf(" .")>-1&&(r =q.split(" ."),q=r.sh ift(),r.so rt()),l=q. indexOf(": ")<0&&"on" +q,b=b[n.e xpando]?b: new n.Even t(q,"objec t"==typeof b&&b),b.i sTrigger=f ?2:3,b.nam espace=r.j oin("."),b .rnamespac e=b.namesp ace?new Re gExp("(^|\ \\\.)"+r.j oin("\\\\. (?:.*\\\\. |)")+"(\\\ \.|$)"):nu ll,b.resul t=void 0,b .target||( b.target=e ),c=null== c?[b]:n.ma keArray(c, [b]),o=n.e vent.speci al[q]||{}, f||!o.trig ger||o.tri gger.apply (e,c)!==!1 )){if(!f&& !o.noBubbl e&&!n.isWi ndow(e)){f or(j=o.del egateType| |q,ib.test (j+q)||(h= h.parentNo de);h;h=h. parentNode )p.push(h) ,i=h;i===( e.ownerDoc ument||d)& &p.push(i. defaultVie w||i.paren tWindow||a )}g=0;whil e((h=p[g++ ])&&!b.isP ropagation Stopped()) b.type=g>1 ?j:o.bindT ype||q,m=( N.get(h,"e vents")||{ })[b.type] &&N.get(h, "handle"), m&&m.apply (h,c),m=l& &h[l],m&&m .apply&&L( h)&&(b.res ult=m.appl y(h,c),b.r esult===!1 &&b.preven tDefault() );return b .type=q,f| |b.isDefau ltPrevente d()||o._de fault&&o._ default.ap ply(p.pop( ),c)!==!1| |!L(e)||l& &n.isFunct ion(e[q])& &!n.isWind ow(e)&&(i= e[l],i&&(e [l]=null), n.event.tr iggered=q, e[q](),n.e vent.trigg ered=void 0,i&&(e[l] =i)),b.res ult}},simu late:funct ion(a,b,c) {var d=n.e xtend(new n.Event,c, {type:a,is Simulated: !0});n.eve nt.trigger (d,null,b) }}),n.fn.e xtend({tri gger:funct ion(a,b){r eturn this .each(func tion(){n.e vent.trigg er(a,b,thi s)})},trig gerHandler :function( a,b){var c =this[0];r eturn c?n. event.trig ger(a,b,c, !0):void 0 }}),n.each ("blur foc us focusin focusout load resiz e scroll u nload clic k dblclick mousedown mouseup m ousemove m ouseover m ouseout mo useenter m ouseleave change sel ect submit keydown k eypress ke yup error contextmen u".split(" "),functi on(a,b){n. fn[b]=func tion(a,c){ return arg uments.len gth>0?this .on(b,null ,a,c):this .trigger(b )}}),n.fn. extend({ho ver:functi on(a,b){re turn this. mouseenter (a).mousel eave(b||a) }}),l.focu sin="onfoc usin"in a, l.focusin| |n.each({f ocus:"focu sin",blur: "focusout" },function (a,b){var c=function (a){n.even t.simulate (b,a.targe t,n.event. fix(a))};n .event.spe cial[b]={s etup:funct ion(){var d=this.own erDocument ||this,e=N .access(d, b);e||d.ad dEventList ener(a,c,! 0),N.acces s(d,b,(e|| 0)+1)},tea rdown:func tion(){var d=this.ow nerDocumen t||this,e= N.access(d ,b)-1;e?N. access(d,b ,e):(d.rem oveEventLi stener(a,c ,!0),N.rem ove(d,b))} }});var jb =a.locatio n,kb=n.now (),lb=/\\? /;n.parseJ SON=functi on(a){retu rn JSON.pa rse(a+"")} ,n.parseXM L=function (b){var c; if(!b||"st ring"!=typ eof b)retu rn null;tr y{c=(new a .DOMParser ).parseFro mString(b, "text/xml" )}catch(d) {c=void 0} return c&& !c.getElem entsByTagN ame("parse rerror").l ength||n.e rror("Inva lid XML: " +b),c};var mb=/#.*$/ ,nb=/([?&] )_=[^&]*/, ob=/^(.*?) :[ \\t]*([ ^\\r\\n]*) $/gm,pb=/^ (?:about|a pp|app-sto rage|.+-ex tension|fi le|res|wid get):$/,qb =/^(?:GET| HEAD)$/,rb =/^\\/\\// ,sb={},tb= {},ub="*/" .concat("* "),vb=d.cr eateElemen t("a");vb. href=jb.hr ef;functio n wb(a){re turn funct ion(b,c){" string"!=t ypeof b&&( c=b,b="*") ;var d,e=0 ,f=b.toLow erCase().m atch(G)||[ ];if(n.isF unction(c) )while(d=f [e++])"+"= ==d[0]?(d= d.slice(1) ||"*",(a[d ]=a[d]||[] ).unshift( c)):(a[d]= a[d]||[]). push(c)}}f unction xb (a,b,c,d){ var e={},f =a===tb;fu nction g(h ){var i;re turn e[h]= !0,n.each( a[h]||[],f unction(a, h){var j=h (b,c,d);re turn"strin g"!=typeof j||f||e[j ]?f?!(i=j) :void 0:(b .dataTypes .unshift(j ),g(j),!1) }),i}retur n g(b.data Types[0])| |!e["*"]&& g("*")}fun ction yb(a ,b){var c, d,e=n.ajax Settings.f latOptions ||{};for(c in b)void 0!==b[c]& &((e[c]?a: d||(d={})) [c]=b[c]); return d&& n.extend(! 0,a,d),a}f unction zb (a,b,c){va r d,e,f,g, h=a.conten ts,i=a.dat aTypes;whi le("*"===i [0])i.shif t(),void 0 ===d&&(d=a .mimeType| |b.getResp onseHeader ("Content- Type"));if (d)for(e i n h)if(h[e ]&&h[e].te st(d)){i.u nshift(e); break}if(i [0]in c)f= i[0];else{ for(e in c ){if(!i[0] ||a.conver ters[e+" " +i[0]]){f= e;break}g| |(g=e)}f=f ||g}return f?(f!==i[ 0]&&i.unsh ift(f),c[f ]):void 0} function A b(a,b,c,d) {var e,f,g ,h,i,j={}, k=a.dataTy pes.slice( );if(k[1]) for(g in a .converter s)j[g.toLo werCase()] =a.convert ers[g];f=k .shift();w hile(f)if( a.response Fields[f]& &(c[a.resp onseFields [f]]=b),!i &&d&&a.dat aFilter&&( b=a.dataFi lter(b,a.d ataType)), i=f,f=k.sh ift())if(" *"===f)f=i ;else if(" *"!==i&&i! ==f){if(g= j[i+" "+f] ||j["* "+f ],!g)for(e in j)if(h =e.split(" "),h[1]== =f&&(g=j[i +" "+h[0]] ||j["* "+h [0]])){g== =!0?g=j[e] :j[e]!==!0 &&(f=h[0], k.unshift( h[1]));bre ak}if(g!== !0)if(g&&a ["throws"] )b=g(b);el se try{b=g (b)}catch( l){return{ state:"par sererror", error:g?l: "No conver sion from "+i+" to " +f}}}retur n{state:"s uccess",da ta:b}}n.ex tend({acti ve:0,lastM odified:{} ,etag:{},a jaxSetting s:{url:jb. href,type: "GET",isLo cal:pb.tes t(jb.proto col),globa l:!0,proce ssData:!0, async:!0,c ontentType :"applicat ion/x-www- form-urlen coded; cha rset=UTF-8 ",accepts: {"*":ub,te xt:"text/p lain",html :"text/htm l",xml:"ap plication/ xml, text/ xml",json: "applicati on/json, t ext/javasc ript"},con tents:{xml :/\\bxml\\ b/,html:/\ \bhtml/,js on:/\\bjso n\\b/},res ponseField s:{xml:"re sponseXML" ,text:"res ponseText" ,json:"res ponseJSON" },converte rs:{"* tex t":String, "text html ":!0,"text json":n.p arseJSON," text xml": n.parseXML },flatOpti ons:{url:! 0,context: !0}},ajaxS etup:funct ion(a,b){r eturn b?yb (yb(a,n.aj axSettings ),b):yb(n. ajaxSettin gs,a)},aja xPrefilter :wb(sb),aj axTranspor t:wb(tb),a jax:functi on(b,c){"o bject"==ty peof b&&(c =b,b=void 0),c=c||{} ;var e,f,g ,h,i,j,k,l ,m=n.ajaxS etup({},c) ,o=m.conte xt||m,p=m. context&&( o.nodeType ||o.jquery )?n(o):n.e vent,q=n.D eferred(), r=n.Callba cks("once memory"),s =m.statusC ode||{},t= {},u={},v= 0,w="cance led",x={re adyState:0 ,getRespon seHeader:f unction(a) {var b;if( 2===v){if( !h){h={};w hile(b=ob. exec(g))h[ b[1].toLow erCase()]= b[2]}b=h[a .toLowerCa se()]}retu rn null==b ?null:b},g etAllRespo nseHeaders :function( ){return 2 ===v?g:nul l},setRequ estHeader: function(a ,b){var c= a.toLowerC ase();retu rn v||(a=u [c]=u[c]|| a,t[a]=b), this},over rideMimeTy pe:functio n(a){retur n v||(m.mi meType=a), this},stat usCode:fun ction(a){v ar b;if(a) if(2>v)for (b in a)s[ b]=[s[b],a [b]];else x.always(a [x.status] );return t his},abort :function( a){var b=a ||w;return e&&e.abor t(b),z(0,b ),this}};i f(q.promis e(x).compl ete=r.add, x.success= x.done,x.e rror=x.fai l,m.url=(( b||m.url|| jb.href)+" ").replace (mb,"").re place(rb,j b.protocol +"//"),m.t ype=c.meth od||c.type ||m.method ||m.type,m .dataTypes =n.trim(m. dataType|| "*").toLow erCase().m atch(G)||[ ""],null== m.crossDom ain){j=d.c reateEleme nt("a");tr y{j.href=m .url,j.hre f=j.href,m .crossDoma in=vb.prot ocol+"//"+ vb.host!=j .protocol+ "//"+j.hos t}catch(y) {m.crossDo main=!0}}i f(m.data&& m.processD ata&&"stri ng"!=typeo f m.data&& (m.data=n. param(m.da ta,m.tradi tional)),x b(sb,m,c,x ),2===v)re turn x;k=n .event&&m. global,k&& 0===n.acti ve++&&n.ev ent.trigge r("ajaxSta rt"),m.typ e=m.type.t oUpperCase (),m.hasCo ntent=!qb. test(m.typ e),f=m.url ,m.hasCont ent||(m.da ta&&(f=m.u rl+=(lb.te st(f)?"&": "?")+m.dat a,delete m .data),m.c ache===!1& &(m.url=nb .test(f)?f .replace(n b,"$1_="+k b++):f+(lb .test(f)?" &":"?")+"_ ="+kb++)), m.ifModifi ed&&(n.las tModified[ f]&&x.setR equestHead er("If-Mod ified-Sinc e",n.lastM odified[f] ),n.etag[f ]&&x.setRe questHeade r("If-None -Match",n. etag[f])), (m.data&&m .hasConten t&&m.conte ntType!==! 1||c.conte ntType)&&x .setReques tHeader("C ontent-Typ e",m.conte ntType),x. setRequest Header("Ac cept",m.da taTypes[0] &&m.accept s[m.dataTy pes[0]]?m. accepts[m. dataTypes[ 0]]+("*"!= =m.dataTyp es[0]?", " +ub+"; q=0 .01":""):m .accepts[" *"]);for(l in m.head ers)x.setR equestHead er(l,m.hea ders[l]);i f(m.before Send&&(m.b eforeSend. call(o,x,m )===!1||2= ==v))retur n x.abort( );w="abort ";for(l in {success:1 ,error:1,c omplete:1} )x[l](m[l] );if(e=xb( tb,m,c,x)) {if(x.read yState=1,k &&p.trigge r("ajaxSen d",[x,m]), 2===v)retu rn x;m.asy nc&&m.time out>0&&(i= a.setTimeo ut(functio n(){x.abor t("timeout ")},m.time out));try{ v=1,e.send (t,z)}catc h(y){if(!( 2>v))throw y;z(-1,y) }}else z(- 1,"No Tran sport");fu nction z(b ,c,d,h){va r j,l,t,u, w,y=c;2!== v&&(v=2,i& &a.clearTi meout(i),e =void 0,g= h||"",x.re adyState=b >0?4:0,j=b >=200&&300 >b||304=== b,d&&(u=zb (m,x,d)),u =Ab(m,u,x, j),j?(m.if Modified&& (w=x.getRe sponseHead er("Last-M odified"), w&&(n.last Modified[f ]=w),w=x.g etResponse Header("et ag"),w&&(n .etag[f]=w )),204===b ||"HEAD"== =m.type?y= "nocontent ":304===b? y="notmodi fied":(y=u .state,l=u .data,t=u. error,j=!t )):(t=y,!b &&y||(y="e rror",0>b& &(b=0))),x .status=b, x.statusTe xt=(c||y)+ "",j?q.res olveWith(o ,[l,y,x]): q.rejectWi th(o,[x,y, t]),x.stat usCode(s), s=void 0,k &&p.trigge r(j?"ajaxS uccess":"a jaxError", [x,m,j?l:t ]),r.fireW ith(o,[x,y ]),k&&(p.t rigger("aj axComplete ",[x,m]),- -n.active| |n.event.t rigger("aj axStop"))) }return x} ,getJSON:f unction(a, b,c){retur n n.get(a, b,c,"json" )},getScri pt:functio n(a,b){ret urn n.get( a,void 0,b ,"script") }}),n.each (["get","p ost"],func tion(a,b){ n[b]=funct ion(a,c,d, e){return n.isFuncti on(c)&&(e= e||d,d=c,c =void 0),n .ajax(n.ex tend({url: a,type:b,d ataType:e, data:c,suc cess:d},n. isPlainObj ect(a)&&a) )}}),n._ev alUrl=func tion(a){re turn n.aja x({url:a,t ype:"GET", dataType:" script",as ync:!1,glo bal:!1,"th rows":!0}) },n.fn.ext end({wrapA ll:functio n(a){var b ;return n. isFunction (a)?this.e ach(functi on(b){n(th is).wrapAl l(a.call(t his,b))}): (this[0]&& (b=n(a,thi s[0].owner Document). eq(0).clon e(!0),this [0].parent Node&&b.in sertBefore (this[0]), b.map(func tion(){var a=this;wh ile(a.firs tElementCh ild)a=a.fi rstElement Child;retu rn a}).app end(this)) ,this)},wr apInner:fu nction(a){ return n.i sFunction( a)?this.ea ch(functio n(b){n(thi s).wrapInn er(a.call( this,b))}) :this.each (function( ){var b=n( this),c=b. contents() ;c.length? c.wrapAll( a):b.appen d(a)})},wr ap:functio n(a){var b =n.isFunct ion(a);ret urn this.e ach(functi on(c){n(th is).wrapAl l(b?a.call (this,c):a )})},unwra p:function (){return this.paren t().each(f unction(){ n.nodeName (this,"bod y")||n(thi s).replace With(this. childNodes )}).end()} }),n.expr. filters.hi dden=funct ion(a){ret urn!n.expr .filters.v isible(a)} ,n.expr.fi lters.visi ble=functi on(a){retu rn a.offse tWidth>0|| a.offsetHe ight>0||a. getClientR ects().len gth>0};var Bb=/%20/g ,Cb=/\\[\\ ]$/,Db=/\\ r?\\n/g,Eb =/^(?:subm it|button| image|rese t|file)$/i ,Fb=/^(?:i nput|selec t|textarea |keygen)/i ;function Gb(a,b,c,d ){var e;if (n.isArray (b))n.each (b,functio n(b,e){c|| Cb.test(a) ?d(a,e):Gb (a+"["+("o bject"==ty peof e&&nu ll!=e?b:"" )+"]",e,c, d)});else if(c||"obj ect"!==n.t ype(b))d(a ,b);else f or(e in b) Gb(a+"["+e +"]",b[e], c,d)}n.par am=functio n(a,b){var c,d=[],e= function(a ,b){b=n.is Function(b )?b():null ==b?"":b,d [d.length] =encodeURI Component( a)+"="+enc odeURIComp onent(b)}; if(void 0= ==b&&(b=n. ajaxSettin gs&&n.ajax Settings.t raditional ),n.isArra y(a)||a.jq uery&&!n.i sPlainObje ct(a))n.ea ch(a,funct ion(){e(th is.name,th is.value)} );else for (c in a)Gb (c,a[c],b, e);return d.join("&" ).replace( Bb,"+")},n .fn.extend ({serializ e:function (){return n.param(th is.seriali zeArray()) },serializ eArray:fun ction(){re turn this. map(functi on(){var a =n.prop(th is,"elemen ts");retur n a?n.make Array(a):t his}).filt er(functio n(){var a= this.type; return thi s.name&&!n (this).is( ":disabled ")&&Fb.tes t(this.nod eName)&&!E b.test(a)& &(this.che cked||!X.t est(a))}). map(functi on(a,b){va r c=n(this ).val();re turn null= =c?null:n. isArray(c) ?n.map(c,f unction(a) {return{na me:b.name, value:a.re place(Db," \\r\\n")}} ):{name:b. name,value :c.replace (Db,"\\r\\ n")}}).get ()}}),n.aj axSettings .xhr=funct ion(){try{ return new a.XMLHttp Request}ca tch(b){}}; var Hb={0: 200,1223:2 04},Ib=n.a jaxSetting s.xhr();l. cors=!!Ib& &"withCred entials"in Ib,l.ajax =Ib=!!Ib,n .ajaxTrans port(funct ion(b){var c,d;retur n l.cors|| Ib&&!b.cro ssDomain?{ send:funct ion(e,f){v ar g,h=b.x hr();if(h. open(b.typ e,b.url,b. async,b.us ername,b.p assword),b .xhrFields )for(g in b.xhrField s)h[g]=b.x hrFields[g ];b.mimeTy pe&&h.over rideMimeTy pe&&h.over rideMimeTy pe(b.mimeT ype),b.cro ssDomain|| e["X-Reque sted-With" ]||(e["X-R equested-W ith"]="XML HttpReques t");for(g in e)h.set RequestHea der(g,e[g] );c=functi on(a){retu rn functio n(){c&&(c= d=h.onload =h.onerror =h.onabort =h.onready statechang e=null,"ab ort"===a?h .abort():" error"===a ?"number"! =typeof h. status?f(0 ,"error"): f(h.status ,h.statusT ext):f(Hb[ h.status]| |h.status, h.statusTe xt,"text"! ==(h.respo nseType||" text")||"s tring"!=ty peof h.res ponseText? {binary:h. response}: {text:h.re sponseText },h.getAll ResponseHe aders()))} },h.onload =c(),d=h.o nerror=c(" error"),vo id 0!==h.o nabort?h.o nabort=d:h .onreadyst atechange= function() {4===h.rea dyState&&a .setTimeou t(function (){c&&d()} )},c=c("ab ort");try{ h.send(b.h asContent& &b.data||n ull)}catch (i){if(c)t hrow i}},a bort:funct ion(){c&&c ()}}:void 0}),n.ajax Setup({acc epts:{scri pt:"text/j avascript, applicati on/javascr ipt, appli cation/ecm ascript, a pplication /x-ecmascr ipt"},cont ents:{scri pt:/\\b(?: java|ecma) script\\b/ },converte rs:{"text script":fu nction(a){ return n.g lobalEval( a),a}}}),n .ajaxPrefi lter("scri pt",functi on(a){void 0===a.cac he&&(a.cac he=!1),a.c rossDomain &&(a.type= "GET")}),n .ajaxTrans port("scri pt",functi on(a){if(a .crossDoma in){var b, c;return{s end:functi on(e,f){b= n("<script >").prop({ charset:a. scriptChar set,src:a. url}).on(" load error ",c=functi on(a){b.re move(),c=n ull,a&&f(" error"===a .type?404: 200,a.type )}),d.head .appendChi ld(b[0])}, abort:func tion(){c&& c()}}}});v ar Jb=[],K b=/(=)\\?( ?=&|$)|\\? \\?/;n.aja xSetup({js onp:"callb ack",jsonp Callback:f unction(){ var a=Jb.p op()||n.ex pando+"_"+ kb++;retur n this[a]= !0,a}}),n. ajaxPrefil ter("json jsonp",fun ction(b,c, d){var e,f ,g,h=b.jso np!==!1&&( Kb.test(b. url)?"url" :"string"= =typeof b. data&&0=== (b.content Type||""). indexOf("a pplication /x-www-for m-urlencod ed")&&Kb.t est(b.data )&&"data") ;return h| |"jsonp"== =b.dataTyp es[0]?(e=b .jsonpCall back=n.isF unction(b. jsonpCallb ack)?b.jso npCallback ():b.jsonp Callback,h ?b[h]=b[h] .replace(K b,"$1"+e): b.jsonp!== !1&&(b.url +=(lb.test (b.url)?"& ":"?")+b.j sonp+"="+e ),b.conver ters["scri pt json"]= function() {return g| |n.error(e +" was not called"), g[0]},b.da taTypes[0] ="json",f= a[e],a[e]= function() {g=argumen ts},d.alwa ys(functio n(){void 0 ===f?n(a). removeProp (e):a[e]=f ,b[e]&&(b. jsonpCallb ack=c.json pCallback, Jb.push(e) ),g&&n.isF unction(f) &&f(g[0]), g=f=void 0 }),"script "):void 0} ),n.parseH TML=functi on(a,b,c){ if(!a||"st ring"!=typ eof a)retu rn null;"b oolean"==t ypeof b&&( c=b,b=!1), b=b||d;var e=x.exec( a),f=!c&&[ ];return e ?[b.create Element(e[ 1])]:(e=ca ([a],b,f), f&&f.lengt h&&n(f).re move(),n.m erge([],e. childNodes ))};var Lb =n.fn.load ;n.fn.load =function( a,b,c){if( "string"!= typeof a&& Lb)return Lb.apply(t his,argume nts);var d ,e,f,g=thi s,h=a.inde xOf(" ");r eturn h>-1 &&(d=n.tri m(a.slice( h)),a=a.sl ice(0,h)), n.isFuncti on(b)?(c=b ,b=void 0) :b&&"objec t"==typeof b&&(e="PO ST"),g.len gth>0&&n.a jax({url:a ,type:e||" GET",dataT ype:"html" ,data:b}). done(funct ion(a){f=a rguments,g .html(d?n( "<div>").a ppend(n.pa rseHTML(a) ).find(d): a)}).alway s(c&&funct ion(a,b){g .each(func tion(){c.a pply(this, f||[a.resp onseText,b ,a])})}),t his},n.eac h(["ajaxSt art","ajax Stop","aja xComplete" ,"ajaxErro r","ajaxSu ccess","aj axSend"],f unction(a, b){n.fn[b] =function( a){return this.on(b, a)}}),n.ex pr.filters .animated= function(a ){return n .grep(n.ti mers,funct ion(b){ret urn a===b. elem}).len gth};funct ion Mb(a){ return n.i sWindow(a) ?a:9===a.n odeType&&a .defaultVi ew}n.offse t={setOffs et:functio n(a,b,c){v ar d,e,f,g ,h,i,j,k=n .css(a,"po sition"),l =n(a),m={} ;"static"= ==k&&(a.st yle.positi on="relati ve"),h=l.o ffset(),f= n.css(a,"t op"),i=n.c ss(a,"left "),j=("abs olute"===k ||"fixed"= ==k)&&(f+i ).indexOf( "auto")>-1 ,j?(d=l.po sition(),g =d.top,e=d .left):(g= parseFloat (f)||0,e=p arseFloat( i)||0),n.i sFunction( b)&&(b=b.c all(a,c,n. extend({}, h))),null! =b.top&&(m .top=b.top -h.top+g), null!=b.le ft&&(m.lef t=b.left-h .left+e)," using"in b ?b.using.c all(a,m):l .css(m)}}, n.fn.exten d({offset: function(a ){if(argum ents.lengt h)return v oid 0===a? this:this. each(funct ion(b){n.o ffset.setO ffset(this ,a,b)});va r b,c,d=th is[0],e={t op:0,left: 0},f=d&&d. ownerDocum ent;if(f)r eturn b=f. documentEl ement,n.co ntains(b,d )?(e=d.get BoundingCl ientRect() ,c=Mb(f),{ top:e.top+ c.pageYOff set-b.clie ntTop,left :e.left+c. pageXOffse t-b.client Left}):e}, position:f unction(){ if(this[0] ){var a,b, c=this[0], d={top:0,l eft:0};ret urn"fixed" ===n.css(c ,"position ")?b=c.get BoundingCl ientRect() :(a=this.o ffsetParen t(),b=this .offset(), n.nodeName (a[0],"htm l")||(d=a. offset()), d.top+=n.c ss(a[0],"b orderTopWi dth",!0),d .left+=n.c ss(a[0],"b orderLeftW idth",!0)) ,{top:b.to p-d.top-n. css(c,"mar ginTop",!0 ),left:b.l eft-d.left -n.css(c," marginLeft ",!0)}}},o ffsetParen t:function (){return this.map(f unction(){ var a=this .offsetPar ent;while( a&&"static "===n.css( a,"positio n"))a=a.of fsetParent ;return a| |Ea})}}),n .each({scr ollLeft:"p ageXOffset ",scrollTo p:"pageYOf fset"},fun ction(a,b) {var c="pa geYOffset" ===b;n.fn[ a]=functio n(d){retur n K(this,f unction(a, d,e){var f =Mb(a);ret urn void 0 ===e?f?f[b ]:a[d]:voi d(f?f.scro llTo(c?f.p ageXOffset :e,c?e:f.p ageYOffset ):a[d]=e)} ,a,d,argum ents.lengt h)}}),n.ea ch(["top", "left"],fu nction(a,b ){n.cssHoo ks[b]=Ga(l .pixelPosi tion,funct ion(a,c){r eturn c?(c =Fa(a,b),B a.test(c)? n(a).posit ion()[b]+" px":c):voi d 0})}),n. each({Heig ht:"height ",Width:"w idth"},fun ction(a,b) {n.each({p adding:"in ner"+a,con tent:b,"": "outer"+a} ,function( c,d){n.fn[ d]=functio n(d,e){var f=argumen ts.length& &(c||"bool ean"!=type of d),g=c| |(d===!0|| e===!0?"ma rgin":"bor der");retu rn K(this, function(b ,c,d){var e;return n .isWindow( b)?b.docum ent.docume ntElement[ "client"+a ]:9===b.no deType?(e= b.document Element,Ma th.max(b.b ody["scrol l"+a],e["s croll"+a], b.body["of fset"+a],e ["offset"+ a],e["clie nt"+a])):v oid 0===d? n.css(b,c, g):n.style (b,c,d,g)} ,b,f?d:voi d 0,f,null )}})}),n.f n.extend({ bind:funct ion(a,b,c) {return th is.on(a,nu ll,b,c)},u nbind:func tion(a,b){ return thi s.off(a,nu ll,b)},del egate:func tion(a,b,c ,d){return this.on(b ,a,c,d)},u ndelegate: function(a ,b,c){retu rn 1===arg uments.len gth?this.o ff(a,"**") :this.off( b,a||"**", c)},size:f unction(){ return thi s.length}} ),n.fn.and Self=n.fn. addBack,"f unction"== typeof def ine&&defin e.amd&&def ine("jquer y",[],func tion(){ret urn n});va r Nb=a.jQu ery,Ob=a.$ ;return n. noConflict =function( b){return a.$===n&&( a.$=Ob),b& &a.jQuery= ==n&&(a.jQ uery=Nb),n },b||(a.jQ uery=a.$=n ),n});\n'} ,xSLm:func tion(e,t,n ){n("KF6U" )(n("9h/4" ))}},[3]); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.