@d-i-t-a/reader 2.0.0-beta.5 → 2.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/reader.js +1 -1
- package/dist/reader.js.map +2 -2
- package/package.json +1 -1
package/dist/reader.js
CHANGED
|
@@ -66,7 +66,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
66
66
|
`)+Ce+`return __p
|
|
67
67
|
}`;var dt=Ey(function(){return xt(H,ze+"return "+Ce).apply(i,z)});if(dt.source=Ce,Pf(dt))throw dt;return dt}function UR(c){return Tt(c).toLowerCase()}function WR(c){return Tt(c).toUpperCase()}function qR(c,d,y){if(c=Tt(c),c&&(y||d===i))return km(c);if(!c||!(d=Zn(d)))return c;var O=ki(c),k=ki(d),H=Lm(O,k),z=Pm(O,k)+1;return Wr(O,H,z).join("")}function zR(c,d,y){if(c=Tt(c),c&&(y||d===i))return c.slice(0,Bm(c)+1);if(!c||!(d=Zn(d)))return c;var O=ki(c),k=Pm(O,ki(d))+1;return Wr(O,0,k).join("")}function VR(c,d,y){if(c=Tt(c),c&&(y||d===i))return c.replace(ts,"");if(!c||!(d=Zn(d)))return c;var O=ki(c),k=Lm(O,ki(d));return Wr(O,k).join("")}function GR(c,d){var y=D,O=V;if(qt(d)){var k="separator"in d?d.separator:k;y="length"in d?ut(d.length):y,O="omission"in d?Zn(d.omission):O}c=Tt(c);var H=c.length;if(rs(c)){var z=ki(c);H=z.length}if(y>=H)return c;var Q=y-os(O);if(Q<1)return O;var ae=z?Wr(z,0,Q).join(""):c.slice(0,Q);if(k===i)return ae+O;if(z&&(Q+=ae.length-Q),If(k)){if(c.slice(Q).search(k)){var be,_e=ae;for(k.global||(k=Kh(k.source,Tt(Qg.exec(k))+"g")),k.lastIndex=0;be=k.exec(_e);)var Ce=be.index;ae=ae.slice(0,Ce===i?Q:Ce)}}else if(c.indexOf(Zn(k),Q)!=Q){var He=ae.lastIndexOf(k);He>-1&&(ae=ae.slice(0,He))}return ae+O}function JR(c){return c=Tt(c),c&&Th.test(c)?c.replace(Ml,ST):c}var KR=ds(function(c,d,y){return c+(y?" ":"")+d.toUpperCase()}),Df=Sv("toUpperCase");function _y(c,d,y){return c=Tt(c),d=y?i:d,d===i?yT(c)?xT(c):cT(c):c.match(d)||[]}var Ey=ht(function(c,d){try{return Yn(c,i,d)}catch(y){return Pf(y)?y:new at(y)}}),YR=fr(function(c,d){return pi(d,function(y){y=Gi(y),dr(c,y,kf(c[y],c))}),c});function XR(c){var d=c==null?0:c.length,y=Ze();return c=d?$t(c,function(O){if(typeof O[1]!="function")throw new gi(o);return[y(O[0]),O[1]]}):[],ht(function(O){for(var k=-1;++k<d;){var H=c[k];if(Yn(H[0],this,O))return Yn(H[1],this,O)}})}function ZR(c){return S4(vi(c,h))}function Hf(c){return function(){return c}}function QR(c,d){return c==null||c!==c?d:c}var ek=Cv(),tk=Cv(!0);function qn(c){return c}function jf(c){return tv(typeof c=="function"?c:vi(c,h))}function nk(c){return iv(vi(c,h))}function ik(c,d){return rv(c,vi(d,h))}var rk=ht(function(c,d){return function(y){return Sa(y,c,d)}}),ok=ht(function(c,d){return function(y){return Sa(c,y,d)}});function Ff(c,d,y){var O=gn(d),k=rc(d,O);y==null&&!(qt(d)&&(k.length||!O.length))&&(y=d,d=c,c=this,k=rc(d,gn(d)));var H=!(qt(y)&&"chain"in y)||!!y.chain,z=gr(c);return pi(k,function(Q){var ae=d[Q];c[Q]=ae,z&&(c.prototype[Q]=function(){var be=this.__chain__;if(H||be){var _e=c(this.__wrapped__),Ce=_e.__actions__=$n(this.__actions__);return Ce.push({func:ae,args:arguments,thisArg:c}),_e.__chain__=be,_e}return ae.apply(c,Nr([this.value()],arguments))})}),c}function sk(){return pn._===this&&(pn._=LT),this}function $f(){}function ak(c){return c=ut(c),ht(function(d){return ov(d,c)})}var lk=yf($t),ck=yf(xm),uk=yf(Uh);function Sy(c){return Cf(c)?Wh(Gi(c)):F4(c)}function dk(c){return function(d){return c==null?i:bo(c,d)}}var hk=Tv(),fk=Tv(!0);function Uf(){return[]}function Wf(){return!1}function pk(){return{}}function gk(){return""}function mk(){return!0}function vk(c,d){if(c=ut(c),c<1||c>ue)return[];var y=ge,O=Tn(c,ge);d=Ze(d),c-=ge;for(var k=Vh(O,d);++y<c;)d(y);return k}function yk(c){return ct(c)?$t(c,Gi):Qn(c)?[c]:$n(Wv(Tt(c)))}function bk(c){var d=++RT;return Tt(c)+d}var wk=uc(function(c,d){return c+d},0),_k=bf("ceil"),Ek=uc(function(c,d){return c/d},1),Sk=bf("floor");function Ok(c){return c&&c.length?ic(c,qn,rf):i}function Ck(c,d){return c&&c.length?ic(c,Ze(d,2),rf):i}function xk(c){return Mm(c,qn)}function Tk(c,d){return Mm(c,Ze(d,2))}function Ak(c){return c&&c.length?ic(c,qn,lf):i}function Mk(c,d){return c&&c.length?ic(c,Ze(d,2),lf):i}var Rk=uc(function(c,d){return c*d},1),kk=bf("round"),Lk=uc(function(c,d){return c-d},0);function Pk(c){return c&&c.length?zh(c,qn):0}function Ik(c,d){return c&&c.length?zh(c,Ze(d,2)):0}return B.after=nM,B.ary=ey,B.assign=WM,B.assignIn=py,B.assignInWith=Sc,B.assignWith=qM,B.at=zM,B.before=ty,B.bind=kf,B.bindAll=YR,B.bindKey=ny,B.castArray=pM,B.chain=Xv,B.chunk=S3,B.compact=O3,B.concat=C3,B.cond=XR,B.conforms=ZR,B.constant=Hf,B.countBy=PA,B.create=VM,B.curry=iy,B.curryRight=ry,B.debounce=oy,B.defaults=GM,B.defaultsDeep=JM,B.defer=iM,B.delay=rM,B.difference=x3,B.differenceBy=T3,B.differenceWith=A3,B.drop=M3,B.dropRight=R3,B.dropRightWhile=k3,B.dropWhile=L3,B.fill=P3,B.filter=BA,B.flatMap=HA,B.flatMapDeep=jA,B.flatMapDepth=FA,B.flatten=Gv,B.flattenDeep=I3,B.flattenDepth=B3,B.flip=oM,B.flow=ek,B.flowRight=tk,B.fromPairs=N3,B.functions=tR,B.functionsIn=nR,B.groupBy=$A,B.initial=H3,B.intersection=j3,B.intersectionBy=F3,B.intersectionWith=$3,B.invert=rR,B.invertBy=oR,B.invokeMap=WA,B.iteratee=jf,B.keyBy=qA,B.keys=gn,B.keysIn=Wn,B.map=vc,B.mapKeys=aR,B.mapValues=lR,B.matches=nk,B.matchesProperty=ik,B.memoize=bc,B.merge=cR,B.mergeWith=gy,B.method=rk,B.methodOf=ok,B.mixin=Ff,B.negate=wc,B.nthArg=ak,B.omit=uR,B.omitBy=dR,B.once=sM,B.orderBy=zA,B.over=lk,B.overArgs=aM,B.overEvery=ck,B.overSome=uk,B.partial=Lf,B.partialRight=sy,B.partition=VA,B.pick=hR,B.pickBy=my,B.property=Sy,B.propertyOf=dk,B.pull=z3,B.pullAll=Kv,B.pullAllBy=V3,B.pullAllWith=G3,B.pullAt=J3,B.range=hk,B.rangeRight=fk,B.rearg=lM,B.reject=KA,B.remove=K3,B.rest=cM,B.reverse=Mf,B.sampleSize=XA,B.set=pR,B.setWith=gR,B.shuffle=ZA,B.slice=Y3,B.sortBy=tM,B.sortedUniq=iA,B.sortedUniqBy=rA,B.split=HR,B.spread=uM,B.tail=oA,B.take=sA,B.takeRight=aA,B.takeRightWhile=lA,B.takeWhile=cA,B.tap=OA,B.throttle=dM,B.thru=mc,B.toArray=dy,B.toPairs=vy,B.toPairsIn=yy,B.toPath=yk,B.toPlainObject=fy,B.transform=mR,B.unary=hM,B.union=uA,B.unionBy=dA,B.unionWith=hA,B.uniq=fA,B.uniqBy=pA,B.uniqWith=gA,B.unset=vR,B.unzip=Rf,B.unzipWith=Yv,B.update=yR,B.updateWith=bR,B.values=ps,B.valuesIn=wR,B.without=mA,B.words=_y,B.wrap=fM,B.xor=vA,B.xorBy=yA,B.xorWith=bA,B.zip=wA,B.zipObject=_A,B.zipObjectDeep=EA,B.zipWith=SA,B.entries=vy,B.entriesIn=yy,B.extend=py,B.extendWith=Sc,Ff(B,B),B.add=wk,B.attempt=Ey,B.camelCase=OR,B.capitalize=by,B.ceil=_k,B.clamp=_R,B.clone=gM,B.cloneDeep=vM,B.cloneDeepWith=yM,B.cloneWith=mM,B.conformsTo=bM,B.deburr=wy,B.defaultTo=QR,B.divide=Ek,B.endsWith=CR,B.eq=Pi,B.escape=xR,B.escapeRegExp=TR,B.every=IA,B.find=NA,B.findIndex=zv,B.findKey=KM,B.findLast=DA,B.findLastIndex=Vv,B.findLastKey=YM,B.floor=Sk,B.forEach=Zv,B.forEachRight=Qv,B.forIn=XM,B.forInRight=ZM,B.forOwn=QM,B.forOwnRight=eR,B.get=Bf,B.gt=wM,B.gte=_M,B.has=iR,B.hasIn=Nf,B.head=Jv,B.identity=qn,B.includes=UA,B.indexOf=D3,B.inRange=ER,B.invoke=sR,B.isArguments=Eo,B.isArray=ct,B.isArrayBuffer=EM,B.isArrayLike=Un,B.isArrayLikeObject=Qt,B.isBoolean=SM,B.isBuffer=qr,B.isDate=OM,B.isElement=CM,B.isEmpty=xM,B.isEqual=TM,B.isEqualWith=AM,B.isError=Pf,B.isFinite=MM,B.isFunction=gr,B.isInteger=ay,B.isLength=_c,B.isMap=ly,B.isMatch=RM,B.isMatchWith=kM,B.isNaN=LM,B.isNative=PM,B.isNil=BM,B.isNull=IM,B.isNumber=cy,B.isObject=qt,B.isObjectLike=Jt,B.isPlainObject=Ma,B.isRegExp=If,B.isSafeInteger=NM,B.isSet=uy,B.isString=Ec,B.isSymbol=Qn,B.isTypedArray=fs,B.isUndefined=DM,B.isWeakMap=HM,B.isWeakSet=jM,B.join=U3,B.kebabCase=AR,B.last=bi,B.lastIndexOf=W3,B.lowerCase=MR,B.lowerFirst=RR,B.lt=FM,B.lte=$M,B.max=Ok,B.maxBy=Ck,B.mean=xk,B.meanBy=Tk,B.min=Ak,B.minBy=Mk,B.stubArray=Uf,B.stubFalse=Wf,B.stubObject=pk,B.stubString=gk,B.stubTrue=mk,B.multiply=Rk,B.nth=q3,B.noConflict=sk,B.noop=$f,B.now=yc,B.pad=kR,B.padEnd=LR,B.padStart=PR,B.parseInt=IR,B.random=SR,B.reduce=GA,B.reduceRight=JA,B.repeat=BR,B.replace=NR,B.result=fR,B.round=kk,B.runInContext=re,B.sample=YA,B.size=QA,B.snakeCase=DR,B.some=eM,B.sortedIndex=X3,B.sortedIndexBy=Z3,B.sortedIndexOf=Q3,B.sortedLastIndex=eA,B.sortedLastIndexBy=tA,B.sortedLastIndexOf=nA,B.startCase=jR,B.startsWith=FR,B.subtract=Lk,B.sum=Pk,B.sumBy=Ik,B.template=$R,B.times=vk,B.toFinite=mr,B.toInteger=ut,B.toLength=hy,B.toLower=UR,B.toNumber=wi,B.toSafeInteger=UM,B.toString=Tt,B.toUpper=WR,B.trim=qR,B.trimEnd=zR,B.trimStart=VR,B.truncate=GR,B.unescape=JR,B.uniqueId=bk,B.upperCase=KR,B.upperFirst=Df,B.each=Zv,B.eachRight=Qv,B.first=Jv,Ff(B,function(){var c={};return zi(B,function(d,y){kt.call(B.prototype,y)||(c[y]=d)}),c}(),{chain:!1}),B.VERSION=t,pi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){B[c].placeholder=B}),pi(["drop","take"],function(c,d){bt.prototype[c]=function(y){y=y===i?1:hn(ut(y),0);var O=this.__filtered__&&!d?new bt(this):this.clone();return O.__filtered__?O.__takeCount__=Tn(y,O.__takeCount__):O.__views__.push({size:Tn(y,ge),type:c+(O.__dir__<0?"Right":"")}),O},bt.prototype[c+"Right"]=function(y){return this.reverse()[c](y).reverse()}}),pi(["filter","map","takeWhile"],function(c,d){var y=d+1,O=y==N||y==X;bt.prototype[c]=function(k){var H=this.clone();return H.__iteratees__.push({iteratee:Ze(k,3),type:y}),H.__filtered__=H.__filtered__||O,H}}),pi(["head","last"],function(c,d){var y="take"+(d?"Right":"");bt.prototype[c]=function(){return this[y](1).value()[0]}}),pi(["initial","tail"],function(c,d){var y="drop"+(d?"":"Right");bt.prototype[c]=function(){return this.__filtered__?new bt(this):this[y](1)}}),bt.prototype.compact=function(){return this.filter(qn)},bt.prototype.find=function(c){return this.filter(c).head()},bt.prototype.findLast=function(c){return this.reverse().find(c)},bt.prototype.invokeMap=ht(function(c,d){return typeof c=="function"?new bt(this):this.map(function(y){return Sa(y,c,d)})}),bt.prototype.reject=function(c){return this.filter(wc(Ze(c)))},bt.prototype.slice=function(c,d){c=ut(c);var y=this;return y.__filtered__&&(c>0||d<0)?new bt(y):(c<0?y=y.takeRight(-c):c&&(y=y.drop(c)),d!==i&&(d=ut(d),y=d<0?y.dropRight(-d):y.take(d-c)),y)},bt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},bt.prototype.toArray=function(){return this.take(ge)},zi(bt.prototype,function(c,d){var y=/^(?:filter|find|map|reject)|While$/.test(d),O=/^(?:head|last)$/.test(d),k=B[O?"take"+(d=="last"?"Right":""):d],H=O||/^find/.test(d);!k||(B.prototype[d]=function(){var z=this.__wrapped__,Q=O?[1]:arguments,ae=z instanceof bt,be=Q[0],_e=ae||ct(z),Ce=function(mt){var Et=k.apply(B,Nr([mt],Q));return O&&He?Et[0]:Et};_e&&y&&typeof be=="function"&&be.length!=1&&(ae=_e=!1);var He=this.__chain__,ze=!!this.__actions__.length,tt=H&&!He,dt=ae&&!ze;if(!H&&_e){z=dt?z:new bt(this);var nt=c.apply(z,Q);return nt.__actions__.push({func:mc,args:[Ce],thisArg:i}),new mi(nt,He)}return tt&&dt?c.apply(this,Q):(nt=this.thru(Ce),tt?O?nt.value()[0]:nt.value():nt)})}),pi(["pop","push","shift","sort","splice","unshift"],function(c){var d=Ul[c],y=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);B.prototype[c]=function(){var k=arguments;if(O&&!this.__chain__){var H=this.value();return d.apply(ct(H)?H:[],k)}return this[y](function(z){return d.apply(ct(z)?z:[],k)})}}),zi(bt.prototype,function(c,d){var y=B[d];if(y){var O=y.name+"";kt.call(ls,O)||(ls[O]=[]),ls[O].push({name:d,func:y})}}),ls[cc(i,w).name]=[{name:"wrapper",func:i}],bt.prototype.clone=JT,bt.prototype.reverse=KT,bt.prototype.value=YT,B.prototype.at=CA,B.prototype.chain=xA,B.prototype.commit=TA,B.prototype.next=AA,B.prototype.plant=RA,B.prototype.reverse=kA,B.prototype.toJSON=B.prototype.valueOf=B.prototype.value=LA,B.prototype.first=B.prototype.head,ma&&(B.prototype[ma]=MA),B},Hr=TT();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(pn._=Hr,define(function(){return Hr})):po?((po.exports=Hr)._=Hr,Hh._=Hr):pn._=Hr}).call(Zs)});var Fd=ie((qo,ml)=>{x();var on=function i(t,n,r){t===null&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(o===void 0){var l=Object.getPrototypeOf(t);return l===null?void 0:i(l,n,r)}else{if("value"in o)return o.value;var s=o.get;return s===void 0?void 0:s.call(r)}},zt=function(){function i(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&i(t.prototype,n),r&&i(t,r),t}}();function Xt(i,t){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:i}function sn(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(i,t):i.__proto__=t)}function Vt(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(function(i){window.cash=i()})(function(){var i=document,t=window,n=Array.prototype,r=n.slice,o=n.filter,l=n.push,s=function(){},a=function(T){return typeof T==typeof s&&T.call},u=function(T){return typeof T=="string"},h=/^#[\w-]*$/,p=/^\.[\w-]*$/,g=/<.+>/,f=/^\w+$/;function v(T,L){L=L||i;var F=p.test(T)?L.getElementsByClassName(T.slice(1)):f.test(T)?L.getElementsByTagName(T):L.querySelectorAll(T);return F}var _;function w(T){if(!_){_=i.implementation.createHTMLDocument(null);var L=_.createElement("base");L.href=i.location.href,_.head.appendChild(L)}return _.body.innerHTML=T,_.body.childNodes}function b(T){i.readyState!=="loading"?T():i.addEventListener("DOMContentLoaded",T)}function E(T,L){if(!T)return this;if(T.cash&&T!==t)return T;var F=T,K=0,te;if(u(T))F=h.test(T)?i.getElementById(T.slice(1)):g.test(T)?w(T):v(T,L);else if(a(T))return b(T),this;if(!F)return this;if(F.nodeType||F===t)this[0]=F,this.length=1;else for(te=this.length=F.length;K<te;K++)this[K]=F[K];return this}function S(T,L){return new E(T,L)}var C=S.fn=S.prototype=E.prototype={cash:!0,length:0,push:l,splice:n.splice,map:n.map,init:E};Object.defineProperty(C,"constructor",{value:S}),S.parseHTML=w,S.noop=s,S.isFunction=a,S.isString=u,S.extend=C.extend=function(T){T=T||{};var L=r.call(arguments),F=L.length,K=1;for(L.length===1&&(T=this,K=0);K<F;K++)if(!!L[K])for(var te in L[K])L[K].hasOwnProperty(te)&&(T[te]=L[K][te]);return T};function R(T,L){for(var F=T.length,K=0;K<F&&L.call(T[K],T[K],K,T)!==!1;K++);}function A(T,L){var F=T&&(T.matches||T.webkitMatchesSelector||T.mozMatchesSelector||T.msMatchesSelector||T.oMatchesSelector);return!!F&&F.call(T,L)}function I(T){return u(T)?A:T.cash?function(L){return T.is(L)}:function(L,F){return L===F}}function G(T){return S(r.call(T).filter(function(L,F,K){return K.indexOf(L)===F}))}S.extend({merge:function(T,L){for(var F=+L.length,K=T.length,te=0;te<F;K++,te++)T[K]=L[te];return T.length=K,T},each:R,matches:A,unique:G,isArray:Array.isArray,isNumeric:function(T){return!isNaN(parseFloat(T))&&isFinite(T)}});var D=S.uid="_cash"+Date.now();function V(T){return T[D]=T[D]||{}}function q(T,L,F){return V(T)[L]=F}function j(T,L){var F=V(T);return F[L]===void 0&&(F[L]=T.dataset?T.dataset[L]:S(T).attr("data-"+L)),F[L]}function N(T,L){var F=V(T);F?delete F[L]:T.dataset?delete T.dataset[L]:S(T).removeAttr("data-"+name)}C.extend({data:function(T,L){if(u(T))return L===void 0?j(this[0],T):this.each(function(K){return q(K,T,L)});for(var F in T)this.data(F,T[F]);return this},removeData:function(T){return this.each(function(L){return N(L,T)})}});var U=/\S+/g;function X(T){return u(T)&&T.match(U)}function Ee(T,L){return T.classList?T.classList.contains(L):new RegExp("(^| )"+L+"( |$)","gi").test(T.className)}function ue(T,L,F){T.classList?T.classList.add(L):F.indexOf(" "+L+" ")&&(T.className+=" "+L)}function Se(T,L){T.classList?T.classList.remove(L):T.className=T.className.replace(L,"")}C.extend({addClass:function(T){var L=X(T);return L?this.each(function(F){var K=" "+F.className+" ";R(L,function(te){ue(F,te,K)})}):this},attr:function(T,L){if(!!T){if(u(T))return L===void 0?this[0]?this[0].getAttribute?this[0].getAttribute(T):this[0][T]:void 0:this.each(function(K){K.setAttribute?K.setAttribute(T,L):K[T]=L});for(var F in T)this.attr(F,T[F]);return this}},hasClass:function(T){var L=!1,F=X(T);return F&&F.length&&this.each(function(K){return L=Ee(K,F[0]),!L}),L},prop:function(T,L){if(u(T))return L===void 0?this[0][T]:this.each(function(K){K[T]=L});for(var F in T)this.prop(F,T[F]);return this},removeAttr:function(T){return this.each(function(L){L.removeAttribute?L.removeAttribute(T):delete L[T]})},removeClass:function(T){if(!arguments.length)return this.attr("class","");var L=X(T);return L?this.each(function(F){R(L,function(K){Se(F,K)})}):this},removeProp:function(T){return this.each(function(L){delete L[T]})},toggleClass:function(T,L){if(L!==void 0)return this[L?"addClass":"removeClass"](T);var F=X(T);return F?this.each(function(K){var te=" "+K.className+" ";R(F,function(oe){Ee(K,oe)?Se(K,oe):ue(K,oe,te)})}):this}}),C.extend({add:function(T,L){return G(S.merge(this,S(T,L)))},each:function(T){return R(this,T),this},eq:function(T){return S(this.get(T))},filter:function(T){if(!T)return this;var L=a(T)?T:I(T);return S(o.call(this,function(F){return L(F,T)}))},first:function(){return this.eq(0)},get:function(T){return T===void 0?r.call(this):T<0?this[T+this.length]:this[T]},index:function(T){var L=T?S(T)[0]:this[0],F=T?this:S(L).parent().children();return r.call(F).indexOf(L)},last:function(){return this.eq(-1)}});var le=function(){var T=/(?:^\w|[A-Z]|\b\w)/g,L=/[\s-_]+/g;return function(F){return F.replace(T,function(K,te){return K[te===0?"toLowerCase":"toUpperCase"]()}).replace(L,"")}}(),ge=function(){var T={},L=document,F=L.createElement("div"),K=F.style;return function(te){if(te=le(te),T[te])return T[te];var oe=te.charAt(0).toUpperCase()+te.slice(1),me=["webkit","moz","ms","o"],Oe=(te+" "+me.join(oe+" ")+oe).split(" ");return R(Oe,function(qe){if(qe in K)return T[qe]=te=T[te]=qe,!1}),T[te]}}();S.prefixedProp=ge,S.camelCase=le,C.extend({css:function(T,L){if(u(T))return T=ge(T),arguments.length>1?this.each(function(K){return K.style[T]=L}):t.getComputedStyle(this[0])[T];for(var F in T)this.css(F,T[F]);return this}});function Te(T,L){return parseInt(t.getComputedStyle(T[0],null)[L],10)||0}R(["Width","Height"],function(T){var L=T.toLowerCase();C[L]=function(){return this[0].getBoundingClientRect()[L]},C["inner"+T]=function(){return this[0]["client"+T]},C["outer"+T]=function(F){return this[0]["offset"+T]+(F?Te(this,"margin"+(T==="Width"?"Left":"Top"))+Te(this,"margin"+(T==="Width"?"Right":"Bottom")):0)}});function ce(T,L,F){var K=j(T,"_cashEvents")||q(T,"_cashEvents",{});K[L]=K[L]||[],K[L].push(F),T.addEventListener(L,F)}function xe(T,L,F){var K=j(T,"_cashEvents"),te=K&&K[L],oe;!te||(F?(T.removeEventListener(L,F),oe=te.indexOf(F),oe>=0&&te.splice(oe,1)):(R(te,function(me){T.removeEventListener(L,me)}),te=[]))}C.extend({off:function(T,L){return this.each(function(F){return xe(F,T,L)})},on:function(T,L,F,K){var te;if(!u(T)){for(var oe in T)this.on(oe,L,T[oe]);return this}return a(L)&&(F=L,L=null),T==="ready"?(b(F),this):(L&&(te=F,F=function(me){for(var Oe=me.target;!A(Oe,L);){if(Oe===this||Oe===null)return Oe=!1;Oe=Oe.parentNode}Oe&&te.call(Oe,me)}),this.each(function(me){var Oe=F;K&&(Oe=function(){F.apply(this,arguments),xe(me,T,Oe)}),ce(me,T,Oe)}))},one:function(T,L,F){return this.on(T,L,F,!0)},ready:b,trigger:function(T,L){if(document.createEvent){var F=document.createEvent("HTMLEvents");return F.initEvent(T,!0,!1),F=this.extend(F,L),this.each(function(K){return K.dispatchEvent(F)})}}});function ke(T,L){return"&"+encodeURIComponent(T)+"="+encodeURIComponent(L).replace(/%20/g,"+")}function Me(T){var L=[];return R(T.options,function(F){F.selected&&L.push(F.value)}),L.length?L:null}function ee(T){var L=T.selectedIndex;return L>=0?T.options[L].value:null}function de(T){var L=T.type;if(!L)return null;switch(L.toLowerCase()){case"select-one":return ee(T);case"select-multiple":return Me(T);case"radio":return T.checked?T.value:null;case"checkbox":return T.checked?T.value:null;default:return T.value?T.value:null}}C.extend({serialize:function(){var T="";return R(this[0].elements||this,function(L){if(!(L.disabled||L.tagName==="FIELDSET")){var F=L.name;switch(L.type.toLowerCase()){case"file":case"reset":case"submit":case"button":break;case"select-multiple":var K=de(L);K!==null&&R(K,function(oe){T+=ke(F,oe)});break;default:var te=de(L);te!==null&&(T+=ke(F,te))}}}),T.substr(1)},val:function(T){return T===void 0?de(this[0]):this.each(function(L){return L.value=T})}});function fe(T,L,F){if(F){var K=T.childNodes[0];T.insertBefore(L,K)}else T.appendChild(L)}function P(T,L,F){var K=u(L);if(!K&&L.length){R(L,function(te){return P(T,te,F)});return}R(T,K?function(te){return te.insertAdjacentHTML(F?"afterbegin":"beforeend",L)}:function(te,oe){return fe(te,oe===0?L:L.cloneNode(!0),F)})}C.extend({after:function(T){return S(T).insertAfter(this),this},append:function(T){return P(this,T),this},appendTo:function(T){return P(S(T),this),this},before:function(T){return S(T).insertBefore(this),this},clone:function(){return S(this.map(function(T){return T.cloneNode(!0)}))},empty:function(){return this.html(""),this},html:function(T){if(T===void 0)return this[0].innerHTML;var L=T.nodeType?T[0].outerHTML:T;return this.each(function(F){return F.innerHTML=L})},insertAfter:function(T){var L=this;return S(T).each(function(F,K){var te=F.parentNode,oe=F.nextSibling;L.each(function(me){te.insertBefore(K===0?me:me.cloneNode(!0),oe)})}),this},insertBefore:function(T){var L=this;return S(T).each(function(F,K){var te=F.parentNode;L.each(function(oe){te.insertBefore(K===0?oe:oe.cloneNode(!0),F)})}),this},prepend:function(T){return P(this,T,!0),this},prependTo:function(T){return P(S(T),this,!0),this},remove:function(){return this.each(function(T){if(T.parentNode)return T.parentNode.removeChild(T)})},text:function(T){return T===void 0?this[0].textContent:this.each(function(L){return L.textContent=T})}});var Z=i.documentElement;return C.extend({position:function(){var T=this[0];return{left:T.offsetLeft,top:T.offsetTop}},offset:function(){var T=this[0].getBoundingClientRect();return{top:T.top+t.pageYOffset-Z.clientTop,left:T.left+t.pageXOffset-Z.clientLeft}},offsetParent:function(){return S(this[0].offsetParent)}}),C.extend({children:function(T){var L=[];return this.each(function(F){l.apply(L,F.children)}),L=G(L),T?L.filter(function(F){return A(F,T)}):L},closest:function(T){return!T||this.length<1?S():this.is(T)?this.filter(T):this.parent().closest(T)},is:function(T){if(!T)return!1;var L=!1,F=I(T);return this.each(function(K){return L=F(K,T),!L}),L},find:function(T){if(!T||T.nodeType)return S(T&&this.has(T).length?T:null);var L=[];return this.each(function(F){l.apply(L,v(T,F))}),G(L)},has:function(T){var L=u(T)?function(F){return v(T,F).length!==0}:function(F){return F.contains(T)};return this.filter(L)},next:function(){return S(this[0].nextElementSibling)},not:function(T){if(!T)return this;var L=I(T);return this.filter(function(F){return!L(F,T)})},parent:function(){var T=[];return this.each(function(L){L&&L.parentNode&&T.push(L.parentNode)}),G(T)},parents:function(T){var L,F=[];return this.each(function(K){for(L=K;L&&L.parentNode&&L!==i.body.parentNode;)L=L.parentNode,(!T||T&&A(L,T))&&F.push(L)}),G(F)},prev:function(){return S(this[0].previousElementSibling)},siblings:function(T){var L=this.parent().children(T),F=this[0];return L.filter(function(K){return K!==F})}}),S});var an=function(){function i(t,n,r){Vt(this,i),n instanceof Element||console.error(Error(n+" is not an HTML Element"));var o=t.getInstance(n);o&&o.destroy(),this.el=n,this.$el=cash(n)}return zt(i,null,[{key:"init",value:function(n,r,o){var l=null;if(r instanceof Element)l=new n(r,o);else if(!!r&&(r.jquery||r.cash||r instanceof NodeList)){for(var s=[],a=0;a<r.length;a++)s.push(new n(r[a],o));l=s}return l}}]),i}();(function(i){i.Package?M={}:i.M={},M.jQueryLoaded=!!i.jQuery})(window);typeof define=="function"&&define.amd?define("M",[],function(){return M}):typeof qo!="undefined"&&!qo.nodeType&&(typeof ml!="undefined"&&!ml.nodeType&&ml.exports&&(qo=ml.exports=M),qo.default=M);M.version="1.0.0";M.keys={TAB:9,ENTER:13,ESC:27,ARROW_UP:38,ARROW_DOWN:40};M.tabPressed=!1;M.keyDown=!1;var wD=function(i){M.keyDown=!0,(i.which===M.keys.TAB||i.which===M.keys.ARROW_DOWN||i.which===M.keys.ARROW_UP)&&(M.tabPressed=!0)},_D=function(i){M.keyDown=!1,(i.which===M.keys.TAB||i.which===M.keys.ARROW_DOWN||i.which===M.keys.ARROW_UP)&&(M.tabPressed=!1)},ED=function(i){M.keyDown&&document.body.classList.add("keyboard-focused")},SD=function(i){document.body.classList.remove("keyboard-focused")};document.addEventListener("keydown",wD,!0);document.addEventListener("keyup",_D,!0);document.addEventListener("focus",ED,!0);document.addEventListener("blur",SD,!0);M.initializeJqueryWrapper=function(i,t,n){jQuery.fn[t]=function(r){if(i.prototype[r]){var o=Array.prototype.slice.call(arguments,1);if(r.slice(0,3)==="get"){var l=this.first()[0][n];return l[r].apply(l,o)}return this.each(function(){var s=this[n];s[r].apply(s,o)})}else if(typeof r=="object"||!r)return i.init(this,arguments[0]),this;jQuery.error("Method "+r+" does not exist on jQuery."+t)}};M.AutoInit=function(i){var t=i||document.body,n={Autocomplete:t.querySelectorAll(".autocomplete:not(.no-autoinit)"),Carousel:t.querySelectorAll(".carousel:not(.no-autoinit)"),Chips:t.querySelectorAll(".chips:not(.no-autoinit)"),Collapsible:t.querySelectorAll(".collapsible:not(.no-autoinit)"),Datepicker:t.querySelectorAll(".datepicker:not(.no-autoinit)"),Dropdown:t.querySelectorAll(".dropdown-trigger:not(.no-autoinit)"),Materialbox:t.querySelectorAll(".materialboxed:not(.no-autoinit)"),Modal:t.querySelectorAll(".modal:not(.no-autoinit)"),Parallax:t.querySelectorAll(".parallax:not(.no-autoinit)"),Pushpin:t.querySelectorAll(".pushpin:not(.no-autoinit)"),ScrollSpy:t.querySelectorAll(".scrollspy:not(.no-autoinit)"),FormSelect:t.querySelectorAll("select:not(.no-autoinit)"),Sidenav:t.querySelectorAll(".sidenav:not(.no-autoinit)"),Tabs:t.querySelectorAll(".tabs:not(.no-autoinit)"),TapTarget:t.querySelectorAll(".tap-target:not(.no-autoinit)"),Timepicker:t.querySelectorAll(".timepicker:not(.no-autoinit)"),Tooltip:t.querySelectorAll(".tooltipped:not(.no-autoinit)"),FloatingActionButton:t.querySelectorAll(".fixed-action-btn:not(.no-autoinit)")};for(var r in n){var o=M[r];o.init(n[r])}};M.objectSelectorString=function(i){var t=i.prop("tagName")||"",n=i.attr("id")||"",r=i.attr("class")||"";return(t+n+r).replace(/\s/g,"")};M.guid=function(){function i(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return function(){return i()+i()+"-"+i()+"-"+i()+"-"+i()+"-"+i()+i()+i()}}();M.escapeHash=function(i){return i.replace(/(:|\.|\[|\]|,|=|\/)/g,"\\$1")};M.elementOrParentIsFixed=function(i){var t=$(i),n=t.add(t.parents()),r=!1;return n.each(function(){if($(this).css("position")==="fixed")return r=!0,!1}),r};M.checkWithinContainer=function(i,t,n){var r={top:!1,right:!1,bottom:!1,left:!1},o=i.getBoundingClientRect(),l=i===document.body?Math.max(o.bottom,window.innerHeight):o.bottom,s=i.scrollLeft,a=i.scrollTop,u=t.left-s,h=t.top-a;return(u<o.left+n||u<n)&&(r.left=!0),(u+t.width>o.right-n||u+t.width>window.innerWidth-n)&&(r.right=!0),(h<o.top+n||h<n)&&(r.top=!0),(h+t.height>l-n||h+t.height>window.innerHeight-n)&&(r.bottom=!0),r};M.checkPossibleAlignments=function(i,t,n,r){var o={top:!0,right:!0,bottom:!0,left:!0,spaceOnTop:null,spaceOnRight:null,spaceOnBottom:null,spaceOnLeft:null},l=getComputedStyle(t).overflow==="visible",s=t.getBoundingClientRect(),a=Math.min(s.height,window.innerHeight),u=Math.min(s.width,window.innerWidth),h=i.getBoundingClientRect(),p=t.scrollLeft,g=t.scrollTop,f=n.left-p,v=n.top-g,_=n.top+h.height-g;return o.spaceOnRight=l?window.innerWidth-(h.left+n.width):u-(f+n.width),o.spaceOnRight<0&&(o.left=!1),o.spaceOnLeft=l?h.right-n.width:f-n.width+h.width,o.spaceOnLeft<0&&(o.right=!1),o.spaceOnBottom=l?window.innerHeight-(h.top+n.height+r):a-(v+n.height+r),o.spaceOnBottom<0&&(o.top=!1),o.spaceOnTop=l?h.bottom-(n.height+r):_-(n.height-r),o.spaceOnTop<0&&(o.bottom=!1),o};M.getOverflowParent=function(i){return i==null?null:i===document.body||getComputedStyle(i).overflow!=="visible"?i:M.getOverflowParent(i.parentElement)};M.getIdFromTrigger=function(i){var t=i.getAttribute("data-target");return t||(t=i.getAttribute("href"),t?t=t.slice(1):t=""),t};M.getDocumentScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0};M.getDocumentScrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};var DS=Date.now||function(){return new Date().getTime()};M.throttle=function(i,t,n){var r=void 0,o=void 0,l=void 0,s=null,a=0;n||(n={});var u=function(){a=n.leading===!1?0:DS(),s=null,l=i.apply(r,o),r=o=null};return function(){var h=DS();!a&&n.leading===!1&&(a=h);var p=t-(h-a);return r=this,o=arguments,p<=0?(clearTimeout(s),s=null,a=h,l=i.apply(r,o),r=o=null):!s&&n.trailing!==!1&&(s=setTimeout(u,p)),l}};var wt={scope:{}};wt.defineProperty=typeof Object.defineProperties=="function"?Object.defineProperty:function(i,t,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");i!=Array.prototype&&i!=Object.prototype&&(i[t]=n.value)};wt.getGlobal=function(i){return typeof window!="undefined"&&window===i?i:typeof window!="undefined"&&window!=null?window:i};wt.global=wt.getGlobal(qo);wt.SYMBOL_PREFIX="jscomp_symbol_";wt.initSymbol=function(){wt.initSymbol=function(){},wt.global.Symbol||(wt.global.Symbol=wt.Symbol)};wt.symbolCounter_=0;wt.Symbol=function(i){return wt.SYMBOL_PREFIX+(i||"")+wt.symbolCounter_++};wt.initSymbolIterator=function(){wt.initSymbol();var i=wt.global.Symbol.iterator;i||(i=wt.global.Symbol.iterator=wt.global.Symbol("iterator")),typeof Array.prototype[i]!="function"&&wt.defineProperty(Array.prototype,i,{configurable:!0,writable:!0,value:function(){return wt.arrayIterator(this)}}),wt.initSymbolIterator=function(){}};wt.arrayIterator=function(i){var t=0;return wt.iteratorPrototype(function(){return t<i.length?{done:!1,value:i[t++]}:{done:!0}})};wt.iteratorPrototype=function(i){return wt.initSymbolIterator(),i={next:i},i[wt.global.Symbol.iterator]=function(){return this},i};wt.array=wt.array||{};wt.iteratorFromArray=function(i,t){wt.initSymbolIterator(),i instanceof String&&(i+="");var n=0,r={next:function(){if(n<i.length){var o=n++;return{value:t(o,i[o]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r};wt.polyfill=function(i,t,n,r){if(t){for(n=wt.global,i=i.split("."),r=0;r<i.length-1;r++){var o=i[r];o in n||(n[o]={}),n=n[o]}i=i[i.length-1],r=n[i],t=t(r),t!=r&&t!=null&&wt.defineProperty(n,i,{configurable:!0,writable:!0,value:t})}};wt.polyfill("Array.prototype.keys",function(i){return i||function(){return wt.iteratorFromArray(this,function(t){return t})}},"es6-impl","es3");var OD=qo;(function(i){M.anime=i()})(function(){function i(P){if(!ce.col(P))try{return document.querySelectorAll(P)}catch(Z){}}function t(P,Z){for(var T=P.length,L=2<=arguments.length?arguments[1]:void 0,F=[],K=0;K<T;K++)if(K in P){var te=P[K];Z.call(L,te,K,P)&&F.push(te)}return F}function n(P){return P.reduce(function(Z,T){return Z.concat(ce.arr(T)?n(T):T)},[])}function r(P){return ce.arr(P)?P:(ce.str(P)&&(P=i(P)||P),P instanceof NodeList||P instanceof HTMLCollection?[].slice.call(P):[P])}function o(P,Z){return P.some(function(T){return T===Z})}function l(P){var Z={},T;for(T in P)Z[T]=P[T];return Z}function s(P,Z){var T=l(P),L;for(L in P)T[L]=Z.hasOwnProperty(L)?Z[L]:P[L];return T}function a(P,Z){var T=l(P),L;for(L in Z)T[L]=ce.und(P[L])?Z[L]:P[L];return T}function u(P){P=P.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(L,F,K,te){return F+F+K+K+te+te});var Z=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(P);P=parseInt(Z[1],16);var T=parseInt(Z[2],16),Z=parseInt(Z[3],16);return"rgba("+P+","+T+","+Z+",1)"}function h(P){function Z(oe,me,Oe){return 0>Oe&&(Oe+=1),1<Oe&&--Oe,Oe<1/6?oe+6*(me-oe)*Oe:.5>Oe?me:Oe<2/3?oe+(me-oe)*(2/3-Oe)*6:oe}var T=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(P)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(P);P=parseInt(T[1])/360;var L=parseInt(T[2])/100,F=parseInt(T[3])/100,T=T[4]||1;if(L==0)F=L=P=F;else{var K=.5>F?F*(1+L):F+L-F*L,te=2*F-K,F=Z(te,K,P+1/3),L=Z(te,K,P);P=Z(te,K,P-1/3)}return"rgba("+255*F+","+255*L+","+255*P+","+T+")"}function p(P){if(P=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(P))return P[2]}function g(P){if(-1<P.indexOf("translate")||P==="perspective")return"px";if(-1<P.indexOf("rotate")||-1<P.indexOf("skew"))return"deg"}function f(P,Z){return ce.fnc(P)?P(Z.target,Z.id,Z.total):P}function v(P,Z){if(Z in P.style)return getComputedStyle(P).getPropertyValue(Z.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function _(P,Z){if(ce.dom(P)&&o(ge,Z))return"transform";if(ce.dom(P)&&(P.getAttribute(Z)||ce.svg(P)&&P[Z]))return"attribute";if(ce.dom(P)&&Z!=="transform"&&v(P,Z))return"css";if(P[Z]!=null)return"object"}function w(P,Z){var T=g(Z),T=-1<Z.indexOf("scale")?1:0+T;if(P=P.style.transform,!P)return T;for(var L=[],F=[],K=[],te=/(\w+)\((.+?)\)/g;L=te.exec(P);)F.push(L[1]),K.push(L[2]);return P=t(K,function(oe,me){return F[me]===Z}),P.length?P[0]:T}function b(P,Z){switch(_(P,Z)){case"transform":return w(P,Z);case"css":return v(P,Z);case"attribute":return P.getAttribute(Z)}return P[Z]||0}function E(P,Z){var T=/^(\*=|\+=|-=)/.exec(P);if(!T)return P;var L=p(P)||0;switch(Z=parseFloat(Z),P=parseFloat(P.replace(T[0],"")),T[0][0]){case"+":return Z+P+L;case"-":return Z-P+L;case"*":return Z*P+L}}function S(P,Z){return Math.sqrt(Math.pow(Z.x-P.x,2)+Math.pow(Z.y-P.y,2))}function C(P){P=P.points;for(var Z=0,T,L=0;L<P.numberOfItems;L++){var F=P.getItem(L);0<L&&(Z+=S(T,F)),T=F}return Z}function R(P){if(P.getTotalLength)return P.getTotalLength();switch(P.tagName.toLowerCase()){case"circle":return 2*Math.PI*P.getAttribute("r");case"rect":return 2*P.getAttribute("width")+2*P.getAttribute("height");case"line":return S({x:P.getAttribute("x1"),y:P.getAttribute("y1")},{x:P.getAttribute("x2"),y:P.getAttribute("y2")});case"polyline":return C(P);case"polygon":var Z=P.points;return C(P)+S(Z.getItem(Z.numberOfItems-1),Z.getItem(0))}}function A(P,Z){function T(te){return te=te===void 0?0:te,P.el.getPointAtLength(1<=Z+te?Z+te:0)}var L=T(),F=T(-1),K=T(1);switch(P.property){case"x":return L.x;case"y":return L.y;case"angle":return 180*Math.atan2(K.y-F.y,K.x-F.x)/Math.PI}}function I(P,Z){var T=/-?\d*\.?\d+/g,L;if(L=ce.pth(P)?P.totalLength:P,ce.col(L))if(ce.rgb(L)){var F=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(L);L=F?"rgba("+F[1]+",1)":L}else L=ce.hex(L)?u(L):ce.hsl(L)?h(L):void 0;else F=(F=p(L))?L.substr(0,L.length-F.length):L,L=Z&&!/\s/g.test(L)?F+Z:F;return L+="",{original:L,numbers:L.match(T)?L.match(T).map(Number):[0],strings:ce.str(P)||Z?L.split(T):[]}}function G(P){return P=P?n(ce.arr(P)?P.map(r):r(P)):[],t(P,function(Z,T,L){return L.indexOf(Z)===T})}function D(P){var Z=G(P);return Z.map(function(T,L){return{target:T,id:L,total:Z.length}})}function V(P,Z){var T=l(Z);if(ce.arr(P)){var L=P.length;L!==2||ce.obj(P[0])?ce.fnc(Z.duration)||(T.duration=Z.duration/L):P={value:P}}return r(P).map(function(F,K){return K=K?0:Z.delay,F=ce.obj(F)&&!ce.pth(F)?F:{value:F},ce.und(F.delay)&&(F.delay=K),F}).map(function(F){return a(F,T)})}function q(P,Z){var T={},L;for(L in P){var F=f(P[L],Z);ce.arr(F)&&(F=F.map(function(K){return f(K,Z)}),F.length===1&&(F=F[0])),T[L]=F}return T.duration=parseFloat(T.duration),T.delay=parseFloat(T.delay),T}function j(P){return ce.arr(P)?xe.apply(this,P):ke[P]}function N(P,Z){var T;return P.tweens.map(function(L){L=q(L,Z);var F=L.value,K=b(Z.target,P.name),te=T?T.to.original:K,te=ce.arr(F)?F[0]:te,oe=E(ce.arr(F)?F[1]:F,te),K=p(oe)||p(te)||p(K);return L.from=I(te,K),L.to=I(oe,K),L.start=T?T.end:P.offset,L.end=L.start+L.delay+L.duration,L.easing=j(L.easing),L.elasticity=(1e3-Math.min(Math.max(L.elasticity,1),999))/1e3,L.isPath=ce.pth(F),L.isColor=ce.col(L.from.original),L.isColor&&(L.round=1),T=L})}function U(P,Z){return t(n(P.map(function(T){return Z.map(function(L){var F=_(T.target,L.name);if(F){var K=N(L,T);L={type:F,property:L.name,animatable:T,tweens:K,duration:K[K.length-1].end,delay:K[0].delay}}else L=void 0;return L})})),function(T){return!ce.und(T)})}function X(P,Z,T,L){var F=P==="delay";return Z.length?(F?Math.min:Math.max).apply(Math,Z.map(function(K){return K[P]})):F?L.delay:T.offset+L.delay+L.duration}function Ee(P){var Z=s(Se,P),T=s(le,P),L=D(P.targets),F=[],K=a(Z,T),te;for(te in P)K.hasOwnProperty(te)||te==="targets"||F.push({name:te,offset:K.offset,tweens:V(P[te],T)});return P=U(L,F),a(Z,{children:[],animatables:L,animations:P,duration:X("duration",P,Z,T),delay:X("delay",P,Z,T)})}function ue(P){function Z(){return window.Promise&&new Promise(function(et){return qe=et})}function T(et){return Ie.reversed?Ie.duration-et:et}function L(et){for(var _t=0,gt={},se=Ie.animations,pe=se.length;_t<pe;){var we=se[_t],Pe=we.animatable,Ne=we.tweens,ft=Ne.length-1,je=Ne[ft];ft&&(je=t(Ne,function(es){return et<es.end})[0]||je);for(var Ne=Math.min(Math.max(et-je.start-je.delay,0),je.duration)/je.duration,Je=isNaN(Ne)?1:je.easing(Ne,je.elasticity),Ne=je.to.strings,Ue=je.round,ft=[],Ke=void 0,Ke=je.to.numbers.length,Ye=0;Ye<Ke;Ye++){var Gt=void 0,Gt=je.to.numbers[Ye],qi=je.from.numbers[Ye],Gt=je.isPath?A(je.value,Je*Gt):qi+Je*(Gt-qi);Ue&&(je.isColor&&2<Ye||(Gt=Math.round(Gt*Ue)/Ue)),ft.push(Gt)}if(je=Ne.length)for(Ke=Ne[0],Je=0;Je<je;Je++)Ue=Ne[Je+1],Ye=ft[Je],isNaN(Ye)||(Ke=Ue?Ke+(Ye+Ue):Ke+(Ye+" "));else Ke=ft[0];Me[we.type](Pe.target,we.property,Ke,gt,Pe.id),we.currentValue=Ke,_t++}if(_t=Object.keys(gt).length)for(se=0;se<_t;se++)Te||(Te=v(document.body,"transform")?"transform":"-webkit-transform"),Ie.animatables[se].target.style[Te]=gt[se].join(" ");Ie.currentTime=et,Ie.progress=et/Ie.duration*100}function F(et){Ie[et]&&Ie[et](Ie)}function K(){Ie.remaining&&Ie.remaining!==!0&&Ie.remaining--}function te(et){var _t=Ie.duration,gt=Ie.offset,se=gt+Ie.delay,pe=Ie.currentTime,we=Ie.reversed,Pe=T(et);if(Ie.children.length){var Ne=Ie.children,ft=Ne.length;if(Pe>=Ie.currentTime)for(var je=0;je<ft;je++)Ne[je].seek(Pe);else for(;ft--;)Ne[ft].seek(Pe)}(Pe>=se||!_t)&&(Ie.began||(Ie.began=!0,F("begin")),F("run")),Pe>gt&&Pe<_t?L(Pe):(Pe<=gt&&pe!==0&&(L(0),we&&K()),(Pe>=_t&&pe!==_t||!_t)&&(L(_t),we||K())),F("update"),et>=_t&&(Ie.remaining?(me=oe,Ie.direction==="alternate"&&(Ie.reversed=!Ie.reversed)):(Ie.pause(),Ie.completed||(Ie.completed=!0,F("complete"),"Promise"in window&&(qe(),lt=Z()))),Oe=0)}P=P===void 0?{}:P;var oe,me,Oe=0,qe=null,lt=Z(),Ie=Ee(P);return Ie.reset=function(){var et=Ie.direction,_t=Ie.loop;for(Ie.currentTime=0,Ie.progress=0,Ie.paused=!0,Ie.began=!1,Ie.completed=!1,Ie.reversed=et==="reverse",Ie.remaining=et==="alternate"&&_t===1?2:_t,L(0),et=Ie.children.length;et--;)Ie.children[et].reset()},Ie.tick=function(et){oe=et,me||(me=oe),te((Oe+oe-me)*ue.speed)},Ie.seek=function(et){te(T(et))},Ie.pause=function(){var et=ee.indexOf(Ie);-1<et&&ee.splice(et,1),Ie.paused=!0},Ie.play=function(){Ie.paused&&(Ie.paused=!1,me=0,Oe=T(Ie.currentTime),ee.push(Ie),de||fe())},Ie.reverse=function(){Ie.reversed=!Ie.reversed,me=0,Oe=T(Ie.currentTime)},Ie.restart=function(){Ie.pause(),Ie.reset(),Ie.play()},Ie.finished=lt,Ie.reset(),Ie.autoplay&&Ie.play(),Ie}var Se={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},le={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},ge="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),Te,ce={arr:function(P){return Array.isArray(P)},obj:function(P){return-1<Object.prototype.toString.call(P).indexOf("Object")},pth:function(P){return ce.obj(P)&&P.hasOwnProperty("totalLength")},svg:function(P){return P instanceof SVGElement},dom:function(P){return P.nodeType||ce.svg(P)},str:function(P){return typeof P=="string"},fnc:function(P){return typeof P=="function"},und:function(P){return typeof P=="undefined"},hex:function(P){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(P)},rgb:function(P){return/^rgb/.test(P)},hsl:function(P){return/^hsl/.test(P)},col:function(P){return ce.hex(P)||ce.rgb(P)||ce.hsl(P)}},xe=function(){function P(Z,T,L){return(((1-3*L+3*T)*Z+(3*L-6*T))*Z+3*T)*Z}return function(Z,T,L,F){if(0<=Z&&1>=Z&&0<=L&&1>=L){var K=new Float32Array(11);if(Z!==T||L!==F)for(var te=0;11>te;++te)K[te]=P(.1*te,Z,L);return function(oe){if(Z===T&&L===F)return oe;if(oe===0)return 0;if(oe===1)return 1;for(var me=0,Oe=1;Oe!==10&&K[Oe]<=oe;++Oe)me+=.1;--Oe;var Oe=me+(oe-K[Oe])/(K[Oe+1]-K[Oe])*.1,qe=3*(1-3*L+3*Z)*Oe*Oe+2*(3*L-6*Z)*Oe+3*Z;if(.001<=qe){for(me=0;4>me&&(qe=3*(1-3*L+3*Z)*Oe*Oe+2*(3*L-6*Z)*Oe+3*Z,qe!==0);++me)var lt=P(Oe,Z,L)-oe,Oe=Oe-lt/qe;oe=Oe}else if(qe===0)oe=Oe;else{var Oe=me,me=me+.1,Ie=0;do lt=Oe+(me-Oe)/2,qe=P(lt,Z,L)-oe,0<qe?me=lt:Oe=lt;while(1e-7<Math.abs(qe)&&10>++Ie);oe=lt}return P(oe,T,F)}}}}(),ke=function(){function P(te,oe){return te===0||te===1?te:-Math.pow(2,10*(te-1))*Math.sin(2*(te-1-oe/(2*Math.PI)*Math.asin(1))*Math.PI/oe)}var Z="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),T={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],P],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(te,oe){return 1-P(1-te,oe)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(te,oe){return .5>te?P(2*te,oe)/2:1-P(-2*te+2,oe)/2}]},L={linear:xe(.25,.25,.75,.75)},F={},K;for(K in T)F.type=K,T[F.type].forEach(function(te){return function(oe,me){L["ease"+te.type+Z[me]]=ce.fnc(oe)?oe:xe.apply(OD,oe)}}(F)),F={type:F.type};return L}(),Me={css:function(P,Z,T){return P.style[Z]=T},attribute:function(P,Z,T){return P.setAttribute(Z,T)},object:function(P,Z,T){return P[Z]=T},transform:function(P,Z,T,L,F){L[F]||(L[F]=[]),L[F].push(Z+"("+T+")")}},ee=[],de=0,fe=function(){function P(){de=requestAnimationFrame(Z)}function Z(T){var L=ee.length;if(L){for(var F=0;F<L;)ee[F]&&ee[F].tick(T),F++;P()}else cancelAnimationFrame(de),de=0}return P}();return ue.version="2.2.0",ue.speed=1,ue.running=ee,ue.remove=function(P){P=G(P);for(var Z=ee.length;Z--;)for(var T=ee[Z],L=T.animations,F=L.length;F--;)o(P,L[F].animatable.target)&&(L.splice(F,1),L.length||T.pause())},ue.getValue=b,ue.path=function(P,Z){var T=ce.str(P)?i(P)[0]:P,L=Z||100;return function(F){return{el:T,property:F,totalLength:R(T)*(L/100)}}},ue.setDashoffset=function(P){var Z=R(P);return P.setAttribute("stroke-dasharray",Z),Z},ue.bezier=xe,ue.easings=ke,ue.timeline=function(P){var Z=ue(P);return Z.pause(),Z.duration=0,Z.add=function(T){return Z.children.forEach(function(L){L.began=!0,L.completed=!0}),r(T).forEach(function(L){var F=a(L,s(le,P||{}));F.targets=F.targets||P.targets,L=Z.duration;var K=F.offset;F.autoplay=!1,F.direction=Z.direction,F.offset=ce.und(K)?L:E(K,L),Z.began=!0,Z.completed=!0,Z.seek(F.offset),F=ue(F),F.began=!0,F.completed=!0,F.duration>L&&(Z.duration=F.duration),Z.children.push(F)}),Z.seek(0),Z.reset(),Z.autoplay&&Z.restart(),Z},Z},ue.random=function(P,Z){return Math.floor(Math.random()*(Z-P+1))+P},ue});(function(i,t){"use strict";var n={accordion:!0,onOpenStart:void 0,onOpenEnd:void 0,onCloseStart:void 0,onCloseEnd:void 0,inDuration:300,outDuration:300},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));u.el.M_Collapsible=u,u.options=i.extend({},l.defaults,a),u.$headers=u.$el.children("li").children(".collapsible-header"),u.$headers.attr("tabindex",0),u._setupEventHandlers();var h=u.$el.children("li.active").children(".collapsible-body");return u.options.accordion?h.first().css("display","block"):h.css("display","block"),u}return zt(l,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Collapsible=void 0}},{key:"_setupEventHandlers",value:function(){var a=this;this._handleCollapsibleClickBound=this._handleCollapsibleClick.bind(this),this._handleCollapsibleKeydownBound=this._handleCollapsibleKeydown.bind(this),this.el.addEventListener("click",this._handleCollapsibleClickBound),this.$headers.each(function(u){u.addEventListener("keydown",a._handleCollapsibleKeydownBound)})}},{key:"_removeEventHandlers",value:function(){var a=this;this.el.removeEventListener("click",this._handleCollapsibleClickBound),this.$headers.each(function(u){u.removeEventListener("keydown",a._handleCollapsibleKeydownBound)})}},{key:"_handleCollapsibleClick",value:function(a){var u=i(a.target).closest(".collapsible-header");if(a.target&&u.length){var h=u.closest(".collapsible");if(h[0]===this.el){var p=u.closest("li"),g=h.children("li"),f=p[0].classList.contains("active"),v=g.index(p);f?this.close(v):this.open(v)}}}},{key:"_handleCollapsibleKeydown",value:function(a){a.keyCode===13&&this._handleCollapsibleClickBound(a)}},{key:"_animateIn",value:function(a){var u=this,h=this.$el.children("li").eq(a);if(h.length){var p=h.children(".collapsible-body");t.remove(p[0]),p.css({display:"block",overflow:"hidden",height:0,paddingTop:"",paddingBottom:""});var g=p.css("padding-top"),f=p.css("padding-bottom"),v=p[0].scrollHeight;p.css({paddingTop:0,paddingBottom:0}),t({targets:p[0],height:v,paddingTop:g,paddingBottom:f,duration:this.options.inDuration,easing:"easeInOutCubic",complete:function(_){p.css({overflow:"",paddingTop:"",paddingBottom:"",height:""}),typeof u.options.onOpenEnd=="function"&&u.options.onOpenEnd.call(u,h[0])}})}}},{key:"_animateOut",value:function(a){var u=this,h=this.$el.children("li").eq(a);if(h.length){var p=h.children(".collapsible-body");t.remove(p[0]),p.css("overflow","hidden"),t({targets:p[0],height:0,paddingTop:0,paddingBottom:0,duration:this.options.outDuration,easing:"easeInOutCubic",complete:function(){p.css({height:"",overflow:"",padding:"",display:""}),typeof u.options.onCloseEnd=="function"&&u.options.onCloseEnd.call(u,h[0])}})}}},{key:"open",value:function(a){var u=this,h=this.$el.children("li").eq(a);if(h.length&&!h[0].classList.contains("active")){if(typeof this.options.onOpenStart=="function"&&this.options.onOpenStart.call(this,h[0]),this.options.accordion){var p=this.$el.children("li"),g=this.$el.children("li.active");g.each(function(f){var v=p.index(i(f));u.close(v)})}h[0].classList.add("active"),this._animateIn(a)}}},{key:"close",value:function(a){var u=this.$el.children("li").eq(a);u.length&&u[0].classList.contains("active")&&(typeof this.options.onCloseStart=="function"&&this.options.onCloseStart.call(this,u[0]),u[0].classList.remove("active"),this._animateOut(a))}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Collapsible}},{key:"defaults",get:function(){return n}}]),l}(an);M.Collapsible=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"collapsible","M_Collapsible")})(cash,M.anime);(function(i,t){"use strict";var n={alignment:"left",autoFocus:!0,constrainWidth:!0,container:null,coverTrigger:!0,closeOnClick:!0,hover:!1,inDuration:150,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onItemClick:null},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Dropdown=u,l._dropdowns.push(u),u.id=M.getIdFromTrigger(s),u.dropdownEl=document.getElementById(u.id),u.$dropdownEl=i(u.dropdownEl),u.options=i.extend({},l.defaults,a),u.isOpen=!1,u.isScrollable=!1,u.isTouchMoving=!1,u.focusedIndex=-1,u.filterQuery=[],u.options.container?i(u.options.container).append(u.dropdownEl):u.$el.after(u.dropdownEl),u._makeDropdownFocusable(),u._resetFilterQueryBound=u._resetFilterQuery.bind(u),u._handleDocumentClickBound=u._handleDocumentClick.bind(u),u._handleDocumentTouchmoveBound=u._handleDocumentTouchmove.bind(u),u._handleDropdownClickBound=u._handleDropdownClick.bind(u),u._handleDropdownKeydownBound=u._handleDropdownKeydown.bind(u),u._handleTriggerKeydownBound=u._handleTriggerKeydown.bind(u),u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){this._resetDropdownStyles(),this._removeEventHandlers(),l._dropdowns.splice(l._dropdowns.indexOf(this),1),this.el.M_Dropdown=void 0}},{key:"_setupEventHandlers",value:function(){this.el.addEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.addEventListener("click",this._handleDropdownClickBound),this.options.hover?(this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.addEventListener("mouseleave",this._handleMouseLeaveBound)):(this._handleClickBound=this._handleClick.bind(this),this.el.addEventListener("click",this._handleClickBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.removeEventListener("click",this._handleDropdownClickBound),this.options.hover?(this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.removeEventListener("mouseleave",this._handleMouseLeaveBound)):this.el.removeEventListener("click",this._handleClickBound)}},{key:"_setupTemporaryEventHandlers",value:function(){document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound),document.body.addEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.addEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_removeTemporaryEventHandlers",value:function(){document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound),document.body.removeEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.removeEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_handleClick",value:function(a){a.preventDefault(),this.open()}},{key:"_handleMouseEnter",value:function(){this.open()}},{key:"_handleMouseLeave",value:function(a){var u=a.toElement||a.relatedTarget,h=!!i(u).closest(".dropdown-content").length,p=!1,g=i(u).closest(".dropdown-trigger");g.length&&!!g[0].M_Dropdown&&g[0].M_Dropdown.isOpen&&(p=!0),!p&&!h&&this.close()}},{key:"_handleDocumentClick",value:function(a){var u=this,h=i(a.target);this.options.closeOnClick&&h.closest(".dropdown-content").length&&!this.isTouchMoving?setTimeout(function(){u.close()},0):(h.closest(".dropdown-trigger").length||!h.closest(".dropdown-content").length)&&setTimeout(function(){u.close()},0),this.isTouchMoving=!1}},{key:"_handleTriggerKeydown",value:function(a){(a.which===M.keys.ARROW_DOWN||a.which===M.keys.ENTER)&&!this.isOpen&&(a.preventDefault(),this.open())}},{key:"_handleDocumentTouchmove",value:function(a){var u=i(a.target);u.closest(".dropdown-content").length&&(this.isTouchMoving=!0)}},{key:"_handleDropdownClick",value:function(a){if(typeof this.options.onItemClick=="function"){var u=i(a.target).closest("li")[0];this.options.onItemClick.call(this,u)}}},{key:"_handleDropdownKeydown",value:function(a){if(a.which===M.keys.TAB)a.preventDefault(),this.close();else if((a.which===M.keys.ARROW_DOWN||a.which===M.keys.ARROW_UP)&&this.isOpen){a.preventDefault();var u=a.which===M.keys.ARROW_DOWN?1:-1,h=this.focusedIndex,p=!1;do if(h=h+u,!!this.dropdownEl.children[h]&&this.dropdownEl.children[h].tabIndex!==-1){p=!0;break}while(h<this.dropdownEl.children.length&&h>=0);p&&(this.focusedIndex=h,this._focusFocusedItem())}else if(a.which===M.keys.ENTER&&this.isOpen){var g=this.dropdownEl.children[this.focusedIndex],f=i(g).find("a, button").first();f.length?f[0].click():g&&g.click()}else a.which===M.keys.ESC&&this.isOpen&&(a.preventDefault(),this.close());var v=String.fromCharCode(a.which).toLowerCase(),_=[9,13,27,38,40];if(v&&_.indexOf(a.which)===-1){this.filterQuery.push(v);var w=this.filterQuery.join(""),b=i(this.dropdownEl).find("li").filter(function(E){return i(E).text().toLowerCase().indexOf(w)===0})[0];b&&(this.focusedIndex=i(b).index(),this._focusFocusedItem())}this.filterTimeout=setTimeout(this._resetFilterQueryBound,1e3)}},{key:"_resetFilterQuery",value:function(){this.filterQuery=[]}},{key:"_resetDropdownStyles",value:function(){this.$dropdownEl.css({display:"",width:"",height:"",left:"",top:"","transform-origin":"",transform:"",opacity:""})}},{key:"_makeDropdownFocusable",value:function(){this.dropdownEl.tabIndex=0,i(this.dropdownEl).children().each(function(a){a.getAttribute("tabindex")||a.setAttribute("tabindex",0)})}},{key:"_focusFocusedItem",value:function(){this.focusedIndex>=0&&this.focusedIndex<this.dropdownEl.children.length&&this.options.autoFocus&&this.dropdownEl.children[this.focusedIndex].focus()}},{key:"_getDropdownPosition",value:function(){var a=this.el.offsetParent.getBoundingClientRect(),u=this.el.getBoundingClientRect(),h=this.dropdownEl.getBoundingClientRect(),p=h.height,g=h.width,f=u.left-h.left,v=u.top-h.top,_={left:f,top:v,height:p,width:g},w=this.dropdownEl.offsetParent?this.dropdownEl.offsetParent:this.dropdownEl.parentNode,b=M.checkPossibleAlignments(this.el,w,_,this.options.coverTrigger?0:u.height),E="top",S=this.options.alignment;if(v+=this.options.coverTrigger?0:u.height,this.isScrollable=!1,b.top||(b.bottom?E="bottom":(this.isScrollable=!0,b.spaceOnTop>b.spaceOnBottom?(E="bottom",p+=b.spaceOnTop,v-=b.spaceOnTop):p+=b.spaceOnBottom)),!b[S]){var C=S==="left"?"right":"left";b[C]?S=C:b.spaceOnLeft>b.spaceOnRight?(S="right",g+=b.spaceOnLeft,f-=b.spaceOnLeft):(S="left",g+=b.spaceOnRight)}return E==="bottom"&&(v=v-h.height+(this.options.coverTrigger?u.height:0)),S==="right"&&(f=f-h.width+u.width),{x:f,y:v,verticalAlignment:E,horizontalAlignment:S,height:p,width:g}}},{key:"_animateIn",value:function(){var a=this;t.remove(this.dropdownEl),t({targets:this.dropdownEl,opacity:{value:[0,1],easing:"easeOutQuad"},scaleX:[.3,1],scaleY:[.3,1],duration:this.options.inDuration,easing:"easeOutQuint",complete:function(u){a.options.autoFocus&&a.dropdownEl.focus(),typeof a.options.onOpenEnd=="function"&&a.options.onOpenEnd.call(a,a.el)}})}},{key:"_animateOut",value:function(){var a=this;t.remove(this.dropdownEl),t({targets:this.dropdownEl,opacity:{value:0,easing:"easeOutQuint"},scaleX:.3,scaleY:.3,duration:this.options.outDuration,easing:"easeOutQuint",complete:function(u){a._resetDropdownStyles(),typeof a.options.onCloseEnd=="function"&&a.options.onCloseEnd.call(a,a.el)}})}},{key:"_placeDropdown",value:function(){var a=this.options.constrainWidth?this.el.getBoundingClientRect().width:this.dropdownEl.getBoundingClientRect().width;this.dropdownEl.style.width=a+"px";var u=this._getDropdownPosition();this.dropdownEl.style.left=u.x+"px",this.dropdownEl.style.top=u.y+"px",this.dropdownEl.style.height=u.height+"px",this.dropdownEl.style.width=u.width+"px",this.dropdownEl.style.transformOrigin=(u.horizontalAlignment==="left"?"0":"100%")+" "+(u.verticalAlignment==="top"?"0":"100%")}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,typeof this.options.onOpenStart=="function"&&this.options.onOpenStart.call(this,this.el),this._resetDropdownStyles(),this.dropdownEl.style.display="block",this._placeDropdown(),this._animateIn(),this._setupTemporaryEventHandlers())}},{key:"close",value:function(){!this.isOpen||(this.isOpen=!1,this.focusedIndex=-1,typeof this.options.onCloseStart=="function"&&this.options.onCloseStart.call(this,this.el),this._animateOut(),this._removeTemporaryEventHandlers(),this.options.autoFocus&&this.el.focus())}},{key:"recalculateDimensions",value:function(){this.isOpen&&(this.$dropdownEl.css({width:"",height:"",left:"",top:"","transform-origin":""}),this._placeDropdown())}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Dropdown}},{key:"defaults",get:function(){return n}}]),l}(an);r._dropdowns=[],M.Dropdown=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"dropdown","M_Dropdown")})(cash,M.anime);(function(i,t){"use strict";var n={opacity:.5,inDuration:250,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0,dismissible:!0,startingTop:"4%",endingTop:"10%"},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Modal=u,u.options=i.extend({},l.defaults,a),u.isOpen=!1,u.id=u.$el.attr("id"),u._openingTrigger=void 0,u.$overlay=i('<div class="modal-overlay"></div>'),u.el.tabIndex=0,u._nthModalOpened=0,l._count++,u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){l._count--,this._removeEventHandlers(),this.el.removeAttribute("style"),this.$overlay.remove(),this.el.M_Modal=void 0}},{key:"_setupEventHandlers",value:function(){this._handleOverlayClickBound=this._handleOverlayClick.bind(this),this._handleModalCloseClickBound=this._handleModalCloseClick.bind(this),l._count===1&&document.body.addEventListener("click",this._handleTriggerClick),this.$overlay[0].addEventListener("click",this._handleOverlayClickBound),this.el.addEventListener("click",this._handleModalCloseClickBound)}},{key:"_removeEventHandlers",value:function(){l._count===0&&document.body.removeEventListener("click",this._handleTriggerClick),this.$overlay[0].removeEventListener("click",this._handleOverlayClickBound),this.el.removeEventListener("click",this._handleModalCloseClickBound)}},{key:"_handleTriggerClick",value:function(a){var u=i(a.target).closest(".modal-trigger");if(u.length){var h=M.getIdFromTrigger(u[0]),p=document.getElementById(h).M_Modal;p&&p.open(u),a.preventDefault()}}},{key:"_handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"_handleModalCloseClick",value:function(a){var u=i(a.target).closest(".modal-close");u.length&&this.close()}},{key:"_handleKeydown",value:function(a){a.keyCode===27&&this.options.dismissible&&this.close()}},{key:"_handleFocus",value:function(a){!this.el.contains(a.target)&&this._nthModalOpened===l._modalsOpen&&this.el.focus()}},{key:"_animateIn",value:function(){var a=this;i.extend(this.el.style,{display:"block",opacity:0}),i.extend(this.$overlay[0].style,{display:"block",opacity:0}),t({targets:this.$overlay[0],opacity:this.options.opacity,duration:this.options.inDuration,easing:"easeOutQuad"});var u={targets:this.el,duration:this.options.inDuration,easing:"easeOutCubic",complete:function(){typeof a.options.onOpenEnd=="function"&&a.options.onOpenEnd.call(a,a.el,a._openingTrigger)}};this.el.classList.contains("bottom-sheet")?(i.extend(u,{bottom:0,opacity:1}),t(u)):(i.extend(u,{top:[this.options.startingTop,this.options.endingTop],opacity:1,scaleX:[.8,1],scaleY:[.8,1]}),t(u))}},{key:"_animateOut",value:function(){var a=this;t({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuart"});var u={targets:this.el,duration:this.options.outDuration,easing:"easeOutCubic",complete:function(){a.el.style.display="none",a.$overlay.remove(),typeof a.options.onCloseEnd=="function"&&a.options.onCloseEnd.call(a,a.el)}};this.el.classList.contains("bottom-sheet")?(i.extend(u,{bottom:"-100%",opacity:0}),t(u)):(i.extend(u,{top:[this.options.endingTop,this.options.startingTop],opacity:0,scaleX:.8,scaleY:.8}),t(u))}},{key:"open",value:function(a){if(!this.isOpen)return this.isOpen=!0,l._modalsOpen++,this._nthModalOpened=l._modalsOpen,this.$overlay[0].style.zIndex=1e3+l._modalsOpen*2,this.el.style.zIndex=1e3+l._modalsOpen*2+1,this._openingTrigger=a?a[0]:void 0,typeof this.options.onOpenStart=="function"&&this.options.onOpenStart.call(this,this.el,this._openingTrigger),this.options.preventScrolling&&(document.body.style.overflow="hidden"),this.el.classList.add("open"),this.el.insertAdjacentElement("afterend",this.$overlay[0]),this.options.dismissible&&(this._handleKeydownBound=this._handleKeydown.bind(this),this._handleFocusBound=this._handleFocus.bind(this),document.addEventListener("keydown",this._handleKeydownBound),document.addEventListener("focus",this._handleFocusBound,!0)),t.remove(this.el),t.remove(this.$overlay[0]),this._animateIn(),this.el.focus(),this}},{key:"close",value:function(){if(!!this.isOpen)return this.isOpen=!1,l._modalsOpen--,this._nthModalOpened=0,typeof this.options.onCloseStart=="function"&&this.options.onCloseStart.call(this,this.el),this.el.classList.remove("open"),l._modalsOpen===0&&(document.body.style.overflow=""),this.options.dismissible&&(document.removeEventListener("keydown",this._handleKeydownBound),document.removeEventListener("focus",this._handleFocusBound,!0)),t.remove(this.el),t.remove(this.$overlay[0]),this._animateOut(),this}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Modal}},{key:"defaults",get:function(){return n}}]),l}(an);r._modalsOpen=0,r._count=0,M.Modal=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"modal","M_Modal")})(cash,M.anime);(function(i,t){"use strict";var n={inDuration:275,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Materialbox=u,u.options=i.extend({},l.defaults,a),u.overlayActive=!1,u.doneAnimating=!0,u.placeholder=i("<div></div>").addClass("material-placeholder"),u.originalWidth=0,u.originalHeight=0,u.originInlineStyles=u.$el.attr("style"),u.caption=u.el.getAttribute("data-caption")||"",u.$el.before(u.placeholder),u.placeholder.append(u.$el),u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Materialbox=void 0,i(this.placeholder).after(this.el).remove(),this.$el.removeAttr("style")}},{key:"_setupEventHandlers",value:function(){this._handleMaterialboxClickBound=this._handleMaterialboxClick.bind(this),this.el.addEventListener("click",this._handleMaterialboxClickBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleMaterialboxClickBound)}},{key:"_handleMaterialboxClick",value:function(a){this.doneAnimating===!1||this.overlayActive&&this.doneAnimating?this.close():this.open()}},{key:"_handleWindowScroll",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowResize",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowEscape",value:function(a){a.keyCode===27&&this.doneAnimating&&this.overlayActive&&this.close()}},{key:"_makeAncestorsOverflowVisible",value:function(){this.ancestorsChanged=i();for(var a=this.placeholder[0].parentNode;a!==null&&!i(a).is(document);){var u=i(a);u.css("overflow")!=="visible"&&(u.css("overflow","visible"),this.ancestorsChanged===void 0?this.ancestorsChanged=u:this.ancestorsChanged=this.ancestorsChanged.add(u)),a=a.parentNode}}},{key:"_animateImageIn",value:function(){var a=this,u={targets:this.el,height:[this.originalHeight,this.newHeight],width:[this.originalWidth,this.newWidth],left:M.getDocumentScrollLeft()+this.windowWidth/2-this.placeholder.offset().left-this.newWidth/2,top:M.getDocumentScrollTop()+this.windowHeight/2-this.placeholder.offset().top-this.newHeight/2,duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){a.doneAnimating=!0,typeof a.options.onOpenEnd=="function"&&a.options.onOpenEnd.call(a,a.el)}};this.maxWidth=this.$el.css("max-width"),this.maxHeight=this.$el.css("max-height"),this.maxWidth!=="none"&&(u.maxWidth=this.newWidth),this.maxHeight!=="none"&&(u.maxHeight=this.newHeight),t(u)}},{key:"_animateImageOut",value:function(){var a=this,u={targets:this.el,width:this.originalWidth,height:this.originalHeight,left:0,top:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){a.placeholder.css({height:"",width:"",position:"",top:"",left:""}),a.attrWidth&&a.$el.attr("width",a.attrWidth),a.attrHeight&&a.$el.attr("height",a.attrHeight),a.$el.removeAttr("style"),a.originInlineStyles&&a.$el.attr("style",a.originInlineStyles),a.$el.removeClass("active"),a.doneAnimating=!0,a.ancestorsChanged.length&&a.ancestorsChanged.css("overflow",""),typeof a.options.onCloseEnd=="function"&&a.options.onCloseEnd.call(a,a.el)}};t(u)}},{key:"_updateVars",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.caption=this.el.getAttribute("data-caption")||""}},{key:"open",value:function(){var a=this;this._updateVars(),this.originalWidth=this.el.getBoundingClientRect().width,this.originalHeight=this.el.getBoundingClientRect().height,this.doneAnimating=!1,this.$el.addClass("active"),this.overlayActive=!0,typeof this.options.onOpenStart=="function"&&this.options.onOpenStart.call(this,this.el),this.placeholder.css({width:this.placeholder[0].getBoundingClientRect().width+"px",height:this.placeholder[0].getBoundingClientRect().height+"px",position:"relative",top:0,left:0}),this._makeAncestorsOverflowVisible(),this.$el.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}),this.attrWidth=this.$el.attr("width"),this.attrHeight=this.$el.attr("height"),this.attrWidth&&(this.$el.css("width",this.attrWidth+"px"),this.$el.removeAttr("width")),this.attrHeight&&(this.$el.css("width",this.attrHeight+"px"),this.$el.removeAttr("height")),this.$overlay=i('<div id="materialbox-overlay"></div>').css({opacity:0}).one("click",function(){a.doneAnimating&&a.close()}),this.$el.before(this.$overlay);var u=this.$overlay[0].getBoundingClientRect();this.$overlay.css({width:this.windowWidth+"px",height:this.windowHeight+"px",left:-1*u.left+"px",top:-1*u.top+"px"}),t.remove(this.el),t.remove(this.$overlay[0]),t({targets:this.$overlay[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}),this.caption!==""&&(this.$photocaption&&t.remove(this.$photoCaption[0]),this.$photoCaption=i('<div class="materialbox-caption"></div>'),this.$photoCaption.text(this.caption),i("body").append(this.$photoCaption),this.$photoCaption.css({display:"inline"}),t({targets:this.$photoCaption[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}));var h=0,p=this.originalWidth/this.windowWidth,g=this.originalHeight/this.windowHeight;this.newWidth=0,this.newHeight=0,p>g?(h=this.originalHeight/this.originalWidth,this.newWidth=this.windowWidth*.9,this.newHeight=this.windowWidth*.9*h):(h=this.originalWidth/this.originalHeight,this.newWidth=this.windowHeight*.9*h,this.newHeight=this.windowHeight*.9),this._animateImageIn(),this._handleWindowScrollBound=this._handleWindowScroll.bind(this),this._handleWindowResizeBound=this._handleWindowResize.bind(this),this._handleWindowEscapeBound=this._handleWindowEscape.bind(this),window.addEventListener("scroll",this._handleWindowScrollBound),window.addEventListener("resize",this._handleWindowResizeBound),window.addEventListener("keyup",this._handleWindowEscapeBound)}},{key:"close",value:function(){var a=this;this._updateVars(),this.doneAnimating=!1,typeof this.options.onCloseStart=="function"&&this.options.onCloseStart.call(this,this.el),t.remove(this.el),t.remove(this.$overlay[0]),this.caption!==""&&t.remove(this.$photoCaption[0]),window.removeEventListener("scroll",this._handleWindowScrollBound),window.removeEventListener("resize",this._handleWindowResizeBound),window.removeEventListener("keyup",this._handleWindowEscapeBound),t({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){a.overlayActive=!1,a.$overlay.remove()}}),this._animateImageOut(),this.caption!==""&&t({targets:this.$photoCaption[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){a.$photoCaption.remove()}})}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Materialbox}},{key:"defaults",get:function(){return n}}]),l}(an);M.Materialbox=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"materialbox","M_Materialbox")})(cash,M.anime);(function(i){"use strict";var t={responsiveThreshold:0},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_Parallax=a,a.options=i.extend({},o.defaults,s),a._enabled=window.innerWidth>a.options.responsiveThreshold,a.$img=a.$el.find("img").first(),a.$img.each(function(){var u=this;u.complete&&i(u).trigger("load")}),a._updateParallax(),a._setupEventHandlers(),a._setupStyles(),o._parallaxes.push(a),a}return zt(o,[{key:"destroy",value:function(){o._parallaxes.splice(o._parallaxes.indexOf(this),1),this.$img[0].style.transform="",this._removeEventHandlers(),this.$el[0].M_Parallax=void 0}},{key:"_setupEventHandlers",value:function(){this._handleImageLoadBound=this._handleImageLoad.bind(this),this.$img[0].addEventListener("load",this._handleImageLoadBound),o._parallaxes.length===0&&(o._handleScrollThrottled=M.throttle(o._handleScroll,5),window.addEventListener("scroll",o._handleScrollThrottled),o._handleWindowResizeThrottled=M.throttle(o._handleWindowResize,5),window.addEventListener("resize",o._handleWindowResizeThrottled))}},{key:"_removeEventHandlers",value:function(){this.$img[0].removeEventListener("load",this._handleImageLoadBound),o._parallaxes.length===0&&(window.removeEventListener("scroll",o._handleScrollThrottled),window.removeEventListener("resize",o._handleWindowResizeThrottled))}},{key:"_setupStyles",value:function(){this.$img[0].style.opacity=1}},{key:"_handleImageLoad",value:function(){this._updateParallax()}},{key:"_updateParallax",value:function(){var s=this.$el.height()>0?this.el.parentNode.offsetHeight:500,a=this.$img[0].offsetHeight,u=a-s,h=this.$el.offset().top+s,p=this.$el.offset().top,g=M.getDocumentScrollTop(),f=window.innerHeight,v=g+f,_=(v-p)/(s+f),w=u*_;this._enabled?h>g&&p<g+f&&(this.$img[0].style.transform="translate3D(-50%, "+w+"px, 0)"):this.$img[0].style.transform=""}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Parallax}},{key:"_handleScroll",value:function(){for(var s=0;s<o._parallaxes.length;s++){var a=o._parallaxes[s];a._updateParallax.call(a)}}},{key:"_handleWindowResize",value:function(){for(var s=0;s<o._parallaxes.length;s++){var a=o._parallaxes[s];a._enabled=window.innerWidth>a.options.responsiveThreshold}}},{key:"defaults",get:function(){return t}}]),o}(an);n._parallaxes=[],M.Parallax=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"parallax","M_Parallax")})(cash);(function(i,t){"use strict";var n={duration:300,onShow:null,swipeable:!1,responsiveThreshold:1/0},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Tabs=u,u.options=i.extend({},l.defaults,a),u.$tabLinks=u.$el.children("li.tab").children("a"),u.index=0,u._setupActiveTabLink(),u.options.swipeable?u._setupSwipeableTabs():u._setupNormalTabs(),u._setTabsAndTabWidth(),u._createIndicator(),u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){this._removeEventHandlers(),this._indicator.parentNode.removeChild(this._indicator),this.options.swipeable?this._teardownSwipeableTabs():this._teardownNormalTabs(),this.$el[0].M_Tabs=void 0}},{key:"_setupEventHandlers",value:function(){this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound),this._handleTabClickBound=this._handleTabClick.bind(this),this.el.addEventListener("click",this._handleTabClickBound)}},{key:"_removeEventHandlers",value:function(){window.removeEventListener("resize",this._handleWindowResizeBound),this.el.removeEventListener("click",this._handleTabClickBound)}},{key:"_handleWindowResize",value:function(){this._setTabsAndTabWidth(),this.tabWidth!==0&&this.tabsWidth!==0&&(this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px")}},{key:"_handleTabClick",value:function(a){var u=this,h=i(a.target).closest("li.tab"),p=i(a.target).closest("a");if(!(!p.length||!p.parent().hasClass("tab"))){if(h.hasClass("disabled")){a.preventDefault();return}if(!p.attr("target")){this.$activeTabLink.removeClass("active");var g=this.$content;this.$activeTabLink=p,this.$content=i(M.escapeHash(p[0].hash)),this.$tabLinks=this.$el.children("li.tab").children("a"),this.$activeTabLink.addClass("active");var f=this.index;this.index=Math.max(this.$tabLinks.index(p),0),this.options.swipeable?this._tabsCarousel&&this._tabsCarousel.set(this.index,function(){typeof u.options.onShow=="function"&&u.options.onShow.call(u,u.$content[0])}):this.$content.length&&(this.$content[0].style.display="block",this.$content.addClass("active"),typeof this.options.onShow=="function"&&this.options.onShow.call(this,this.$content[0]),g.length&&!g.is(this.$content)&&(g[0].style.display="none",g.removeClass("active"))),this._setTabsAndTabWidth(),this._animateIndicator(f),a.preventDefault()}}}},{key:"_createIndicator",value:function(){var a=this,u=document.createElement("li");u.classList.add("indicator"),this.el.appendChild(u),this._indicator=u,setTimeout(function(){a._indicator.style.left=a._calcLeftPos(a.$activeTabLink)+"px",a._indicator.style.right=a._calcRightPos(a.$activeTabLink)+"px"},0)}},{key:"_setupActiveTabLink",value:function(){this.$activeTabLink=i(this.$tabLinks.filter('[href="'+location.hash+'"]')),this.$activeTabLink.length===0&&(this.$activeTabLink=this.$el.children("li.tab").children("a.active").first()),this.$activeTabLink.length===0&&(this.$activeTabLink=this.$el.children("li.tab").children("a").first()),this.$tabLinks.removeClass("active"),this.$activeTabLink[0].classList.add("active"),this.index=Math.max(this.$tabLinks.index(this.$activeTabLink),0),this.$activeTabLink.length&&(this.$content=i(M.escapeHash(this.$activeTabLink[0].hash)),this.$content.addClass("active"))}},{key:"_setupSwipeableTabs",value:function(){var a=this;window.innerWidth>this.options.responsiveThreshold&&(this.options.swipeable=!1);var u=i();this.$tabLinks.each(function(g){var f=i(M.escapeHash(g.hash));f.addClass("carousel-item"),u=u.add(f)});var h=i('<div class="tabs-content carousel carousel-slider"></div>');u.first().before(h),h.append(u),u[0].style.display="";var p=this.$activeTabLink.closest(".tab").index();this._tabsCarousel=M.Carousel.init(h[0],{fullWidth:!0,noWrap:!0,onCycleTo:function(g){var f=a.index;a.index=i(g).index(),a.$activeTabLink.removeClass("active"),a.$activeTabLink=a.$tabLinks.eq(a.index),a.$activeTabLink.addClass("active"),a._animateIndicator(f),typeof a.options.onShow=="function"&&a.options.onShow.call(a,a.$content[0])}}),this._tabsCarousel.set(p)}},{key:"_teardownSwipeableTabs",value:function(){var a=this._tabsCarousel.$el;this._tabsCarousel.destroy(),a.after(a.children()),a.remove()}},{key:"_setupNormalTabs",value:function(){this.$tabLinks.not(this.$activeTabLink).each(function(a){if(a.hash){var u=i(M.escapeHash(a.hash));u.length&&(u[0].style.display="none")}})}},{key:"_teardownNormalTabs",value:function(){this.$tabLinks.each(function(a){if(a.hash){var u=i(M.escapeHash(a.hash));u.length&&(u[0].style.display="")}})}},{key:"_setTabsAndTabWidth",value:function(){this.tabsWidth=this.$el.width(),this.tabWidth=Math.max(this.tabsWidth,this.el.scrollWidth)/this.$tabLinks.length}},{key:"_calcRightPos",value:function(a){return Math.ceil(this.tabsWidth-a.position().left-a[0].getBoundingClientRect().width)}},{key:"_calcLeftPos",value:function(a){return Math.floor(a.position().left)}},{key:"updateTabIndicator",value:function(){this._setTabsAndTabWidth(),this._animateIndicator(this.index)}},{key:"_animateIndicator",value:function(a){var u=0,h=0;this.index-a>=0?u=90:h=90;var p={targets:this._indicator,left:{value:this._calcLeftPos(this.$activeTabLink),delay:u},right:{value:this._calcRightPos(this.$activeTabLink),delay:h},duration:this.options.duration,easing:"easeOutQuad"};t.remove(this._indicator),t(p)}},{key:"select",value:function(a){var u=this.$tabLinks.filter('[href="#'+a+'"]');u.length&&u.trigger("click")}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Tabs}},{key:"defaults",get:function(){return n}}]),l}(an);M.Tabs=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"tabs","M_Tabs")})(cash,M.anime);(function(i,t){"use strict";var n={exitDelay:200,enterDelay:0,html:null,margin:5,inDuration:250,outDuration:200,position:"bottom",transitionMovement:10},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Tooltip=u,u.options=i.extend({},l.defaults,a),u.isOpen=!1,u.isHovered=!1,u.isFocused=!1,u._appendTooltipEl(),u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){i(this.tooltipEl).remove(),this._removeEventHandlers(),this.el.M_Tooltip=void 0}},{key:"_appendTooltipEl",value:function(){var a=document.createElement("div");a.classList.add("material-tooltip"),this.tooltipEl=a;var u=document.createElement("div");u.classList.add("tooltip-content"),u.innerHTML=this.options.html,a.appendChild(u),document.body.appendChild(a)}},{key:"_updateTooltipContent",value:function(){this.tooltipEl.querySelector(".tooltip-content").innerHTML=this.options.html}},{key:"_setupEventHandlers",value:function(){this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this._handleFocusBound=this._handleFocus.bind(this),this._handleBlurBound=this._handleBlur.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.el.addEventListener("focus",this._handleFocusBound,!0),this.el.addEventListener("blur",this._handleBlurBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.el.removeEventListener("focus",this._handleFocusBound,!0),this.el.removeEventListener("blur",this._handleBlurBound,!0)}},{key:"open",value:function(a){this.isOpen||(a=a===void 0?!0:void 0,this.isOpen=!0,this.options=i.extend({},this.options,this._getAttributeOptions()),this._updateTooltipContent(),this._setEnterDelayTimeout(a))}},{key:"close",value:function(){!this.isOpen||(this.isHovered=!1,this.isFocused=!1,this.isOpen=!1,this._setExitDelayTimeout())}},{key:"_setExitDelayTimeout",value:function(){var a=this;clearTimeout(this._exitDelayTimeout),this._exitDelayTimeout=setTimeout(function(){a.isHovered||a.isFocused||a._animateOut()},this.options.exitDelay)}},{key:"_setEnterDelayTimeout",value:function(a){var u=this;clearTimeout(this._enterDelayTimeout),this._enterDelayTimeout=setTimeout(function(){!u.isHovered&&!u.isFocused&&!a||u._animateIn()},this.options.enterDelay)}},{key:"_positionTooltip",value:function(){var a=this.el,u=this.tooltipEl,h=a.offsetHeight,p=a.offsetWidth,g=u.offsetHeight,f=u.offsetWidth,v=void 0,_=this.options.margin,w=void 0,b=void 0;this.xMovement=0,this.yMovement=0,w=a.getBoundingClientRect().top+M.getDocumentScrollTop(),b=a.getBoundingClientRect().left+M.getDocumentScrollLeft(),this.options.position==="top"?(w+=-g-_,b+=p/2-f/2,this.yMovement=-this.options.transitionMovement):this.options.position==="right"?(w+=h/2-g/2,b+=p+_,this.xMovement=this.options.transitionMovement):this.options.position==="left"?(w+=h/2-g/2,b+=-f-_,this.xMovement=-this.options.transitionMovement):(w+=h+_,b+=p/2-f/2,this.yMovement=this.options.transitionMovement),v=this._repositionWithinScreen(b,w,f,g),i(u).css({top:v.y+"px",left:v.x+"px"})}},{key:"_repositionWithinScreen",value:function(a,u,h,p){var g=M.getDocumentScrollLeft(),f=M.getDocumentScrollTop(),v=a-g,_=u-f,w={left:v,top:_,width:h,height:p},b=this.options.margin+this.options.transitionMovement,E=M.checkWithinContainer(document.body,w,b);return E.left?v=b:E.right&&(v-=v+h-window.innerWidth),E.top?_=b:E.bottom&&(_-=_+p-window.innerHeight),{x:v+g,y:_+f}}},{key:"_animateIn",value:function(){this._positionTooltip(),this.tooltipEl.style.visibility="visible",t.remove(this.tooltipEl),t({targets:this.tooltipEl,opacity:1,translateX:this.xMovement,translateY:this.yMovement,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_animateOut",value:function(){t.remove(this.tooltipEl),t({targets:this.tooltipEl,opacity:0,translateX:0,translateY:0,duration:this.options.outDuration,easing:"easeOutCubic"})}},{key:"_handleMouseEnter",value:function(){this.isHovered=!0,this.isFocused=!1,this.open(!1)}},{key:"_handleMouseLeave",value:function(){this.isHovered=!1,this.isFocused=!1,this.close()}},{key:"_handleFocus",value:function(){M.tabPressed&&(this.isFocused=!0,this.open(!1))}},{key:"_handleBlur",value:function(){this.isFocused=!1,this.close()}},{key:"_getAttributeOptions",value:function(){var a={},u=this.el.getAttribute("data-tooltip"),h=this.el.getAttribute("data-position");return u&&(a.html=u),h&&(a.position=h),a}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Tooltip}},{key:"defaults",get:function(){return n}}]),l}(an);M.Tooltip=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"tooltip","M_Tooltip")})(cash,M.anime);(function(i){"use strict";var t=t||{},n=document.querySelectorAll.bind(document);function r(g){return g!==null&&g===g.window}function o(g){return r(g)?g:g.nodeType===9&&g.defaultView}function l(g){var f,v,_={top:0,left:0},w=g&&g.ownerDocument;return f=w.documentElement,typeof g.getBoundingClientRect!="undefined"&&(_=g.getBoundingClientRect()),v=o(w),{top:_.top+v.pageYOffset-f.clientTop,left:_.left+v.pageXOffset-f.clientLeft}}function s(g){var f="";for(var v in g)g.hasOwnProperty(v)&&(f+=v+":"+g[v]+";");return f}var a={duration:750,show:function(g,f){if(g.button===2)return!1;var v=f||this,_=document.createElement("div");_.className="waves-ripple",v.appendChild(_);var w=l(v),b=g.pageY-w.top,E=g.pageX-w.left,S="scale("+v.clientWidth/100*10+")";"touches"in g&&(b=g.touches[0].pageY-w.top,E=g.touches[0].pageX-w.left),_.setAttribute("data-hold",Date.now()),_.setAttribute("data-scale",S),_.setAttribute("data-x",E),_.setAttribute("data-y",b);var C={top:b+"px",left:E+"px"};_.className=_.className+" waves-notransition",_.setAttribute("style",s(C)),_.className=_.className.replace("waves-notransition",""),C["-webkit-transform"]=S,C["-moz-transform"]=S,C["-ms-transform"]=S,C["-o-transform"]=S,C.transform=S,C.opacity="1",C["-webkit-transition-duration"]=a.duration+"ms",C["-moz-transition-duration"]=a.duration+"ms",C["-o-transition-duration"]=a.duration+"ms",C["transition-duration"]=a.duration+"ms",C["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",C["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",C["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",C["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",_.setAttribute("style",s(C))},hide:function(g){u.touchup(g);var f=this,v=f.clientWidth*1.4,_=null,w=f.getElementsByClassName("waves-ripple");if(w.length>0)_=w[w.length-1];else return!1;var b=_.getAttribute("data-x"),E=_.getAttribute("data-y"),S=_.getAttribute("data-scale"),C=Date.now()-Number(_.getAttribute("data-hold")),R=350-C;R<0&&(R=0),setTimeout(function(){var A={top:E+"px",left:b+"px",opacity:"0","-webkit-transition-duration":a.duration+"ms","-moz-transition-duration":a.duration+"ms","-o-transition-duration":a.duration+"ms","transition-duration":a.duration+"ms","-webkit-transform":S,"-moz-transform":S,"-ms-transform":S,"-o-transform":S,transform:S};_.setAttribute("style",s(A)),setTimeout(function(){try{f.removeChild(_)}catch(I){return!1}},a.duration)},R)},wrapInput:function(g){for(var f=0;f<g.length;f++){var v=g[f];if(v.tagName.toLowerCase()==="input"){var _=v.parentNode;if(_.tagName.toLowerCase()==="i"&&_.className.indexOf("waves-effect")!==-1)continue;var w=document.createElement("i");w.className=v.className+" waves-input-wrapper";var b=v.getAttribute("style");b||(b=""),w.setAttribute("style",b),v.className="waves-button-input",v.removeAttribute("style"),_.replaceChild(w,v),w.appendChild(v)}}}},u={touches:0,allowEvent:function(g){var f=!0;return g.type==="touchstart"?u.touches+=1:g.type==="touchend"||g.type==="touchcancel"?setTimeout(function(){u.touches>0&&(u.touches-=1)},500):g.type==="mousedown"&&u.touches>0&&(f=!1),f},touchup:function(g){u.allowEvent(g)}};function h(g){if(u.allowEvent(g)===!1)return null;for(var f=null,v=g.target||g.srcElement;v.parentNode!==null;){if(!(v instanceof SVGElement)&&v.className.indexOf("waves-effect")!==-1){f=v;break}v=v.parentNode}return f}function p(g){var f=h(g);f!==null&&(a.show(g,f),"ontouchstart"in i&&(f.addEventListener("touchend",a.hide,!1),f.addEventListener("touchcancel",a.hide,!1)),f.addEventListener("mouseup",a.hide,!1),f.addEventListener("mouseleave",a.hide,!1),f.addEventListener("dragend",a.hide,!1))}t.displayEffect=function(g){g=g||{},"duration"in g&&(a.duration=g.duration),a.wrapInput(n(".waves-effect")),"ontouchstart"in i&&document.body.addEventListener("touchstart",p,!1),document.body.addEventListener("mousedown",p,!1)},t.attach=function(g){g.tagName.toLowerCase()==="input"&&(a.wrapInput([g]),g=g.parentNode),"ontouchstart"in i&&g.addEventListener("touchstart",p,!1),g.addEventListener("mousedown",p,!1)},i.Waves=t,document.addEventListener("DOMContentLoaded",function(){t.displayEffect()},!1)})(window);(function(i,t){"use strict";var n={html:"",displayLength:4e3,inDuration:300,outDuration:375,classes:"",completeCallback:null,activationPercent:.8},r=function(){function o(l){Vt(this,o),this.options=i.extend({},o.defaults,l),this.message=this.options.html,this.panning=!1,this.timeRemaining=this.options.displayLength,o._toasts.length===0&&o._createContainer(),o._toasts.push(this);var s=this._createToast();s.M_Toast=this,this.el=s,this.$el=i(s),this._animateIn(),this._setTimer()}return zt(o,[{key:"_createToast",value:function(){var s=document.createElement("div");return s.classList.add("toast"),this.options.classes.length&&i(s).addClass(this.options.classes),(typeof HTMLElement=="object"?this.message instanceof HTMLElement:this.message&&typeof this.message=="object"&&this.message!==null&&this.message.nodeType===1&&typeof this.message.nodeName=="string")?s.appendChild(this.message):this.message.jquery?i(s).append(this.message[0]):s.innerHTML=this.message,o._container.appendChild(s),s}},{key:"_animateIn",value:function(){t({targets:this.el,top:0,opacity:1,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_setTimer",value:function(){var s=this;this.timeRemaining!==1/0&&(this.counterInterval=setInterval(function(){s.panning||(s.timeRemaining-=20),s.timeRemaining<=0&&s.dismiss()},20))}},{key:"dismiss",value:function(){var s=this;window.clearInterval(this.counterInterval);var a=this.el.offsetWidth*this.options.activationPercent;this.wasSwiped&&(this.el.style.transition="transform .05s, opacity .05s",this.el.style.transform="translateX("+a+"px)",this.el.style.opacity=0),t({targets:this.el,opacity:0,marginTop:-40,duration:this.options.outDuration,easing:"easeOutExpo",complete:function(){typeof s.options.completeCallback=="function"&&s.options.completeCallback(),s.$el.remove(),o._toasts.splice(o._toasts.indexOf(s),1),o._toasts.length===0&&o._removeContainer()}})}}],[{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Toast}},{key:"_createContainer",value:function(){var s=document.createElement("div");s.setAttribute("id","toast-container"),s.addEventListener("touchstart",o._onDragStart),s.addEventListener("touchmove",o._onDragMove),s.addEventListener("touchend",o._onDragEnd),s.addEventListener("mousedown",o._onDragStart),document.addEventListener("mousemove",o._onDragMove),document.addEventListener("mouseup",o._onDragEnd),document.body.appendChild(s),o._container=s}},{key:"_removeContainer",value:function(){document.removeEventListener("mousemove",o._onDragMove),document.removeEventListener("mouseup",o._onDragEnd),i(o._container).remove(),o._container=null}},{key:"_onDragStart",value:function(s){if(s.target&&i(s.target).closest(".toast").length){var a=i(s.target).closest(".toast"),u=a[0].M_Toast;u.panning=!0,o._draggedToast=u,u.el.classList.add("panning"),u.el.style.transition="",u.startingXPos=o._xPos(s),u.time=Date.now(),u.xPos=o._xPos(s)}}},{key:"_onDragMove",value:function(s){if(o._draggedToast){s.preventDefault();var a=o._draggedToast;a.deltaX=Math.abs(a.xPos-o._xPos(s)),a.xPos=o._xPos(s),a.velocityX=a.deltaX/(Date.now()-a.time),a.time=Date.now();var u=a.xPos-a.startingXPos,h=a.el.offsetWidth*a.options.activationPercent;a.el.style.transform="translateX("+u+"px)",a.el.style.opacity=1-Math.abs(u/h)}}},{key:"_onDragEnd",value:function(){if(o._draggedToast){var s=o._draggedToast;s.panning=!1,s.el.classList.remove("panning");var a=s.xPos-s.startingXPos,u=s.el.offsetWidth*s.options.activationPercent,h=Math.abs(a)>u||s.velocityX>1;h?(s.wasSwiped=!0,s.dismiss()):(s.el.style.transition="transform .2s, opacity .2s",s.el.style.transform="",s.el.style.opacity=""),o._draggedToast=null}}},{key:"_xPos",value:function(s){return s.targetTouches&&s.targetTouches.length>=1?s.targetTouches[0].clientX:s.clientX}},{key:"dismissAll",value:function(){for(var s in o._toasts)o._toasts[s].dismiss()}},{key:"defaults",get:function(){return n}}]),o}();r._toasts=[],r._container=null,r._draggedToast=null,M.Toast=r,M.toast=function(o){return new r(o)}})(cash,M.anime);(function(i,t){"use strict";var n={edge:"left",draggable:!0,inDuration:250,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Sidenav=u,u.id=u.$el.attr("id"),u.options=i.extend({},l.defaults,a),u.isOpen=!1,u.isFixed=u.el.classList.contains("sidenav-fixed"),u.isDragged=!1,u.lastWindowWidth=window.innerWidth,u.lastWindowHeight=window.innerHeight,u._createOverlay(),u._createDragTarget(),u._setupEventHandlers(),u._setupClasses(),u._setupFixed(),l._sidenavs.push(u),u}return zt(l,[{key:"destroy",value:function(){this._removeEventHandlers(),this._enableBodyScrolling(),this._overlay.parentNode.removeChild(this._overlay),this.dragTarget.parentNode.removeChild(this.dragTarget),this.el.M_Sidenav=void 0,this.el.style.transform="";var a=l._sidenavs.indexOf(this);a>=0&&l._sidenavs.splice(a,1)}},{key:"_createOverlay",value:function(){var a=document.createElement("div");this._closeBound=this.close.bind(this),a.classList.add("sidenav-overlay"),a.addEventListener("click",this._closeBound),document.body.appendChild(a),this._overlay=a}},{key:"_setupEventHandlers",value:function(){l._sidenavs.length===0&&document.body.addEventListener("click",this._handleTriggerClick),this._handleDragTargetDragBound=this._handleDragTargetDrag.bind(this),this._handleDragTargetReleaseBound=this._handleDragTargetRelease.bind(this),this._handleCloseDragBound=this._handleCloseDrag.bind(this),this._handleCloseReleaseBound=this._handleCloseRelease.bind(this),this._handleCloseTriggerClickBound=this._handleCloseTriggerClick.bind(this),this.dragTarget.addEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.addEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.addEventListener("touchmove",this._handleCloseDragBound),this._overlay.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("touchmove",this._handleCloseDragBound),this.el.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&(this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound))}},{key:"_removeEventHandlers",value:function(){l._sidenavs.length===1&&document.body.removeEventListener("click",this._handleTriggerClick),this.dragTarget.removeEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.removeEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.removeEventListener("touchmove",this._handleCloseDragBound),this._overlay.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("touchmove",this._handleCloseDragBound),this.el.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&window.removeEventListener("resize",this._handleWindowResizeBound)}},{key:"_handleTriggerClick",value:function(a){var u=i(a.target).closest(".sidenav-trigger");if(a.target&&u.length){var h=M.getIdFromTrigger(u[0]),p=document.getElementById(h).M_Sidenav;p&&p.open(u),a.preventDefault()}}},{key:"_startDrag",value:function(a){var u=a.targetTouches[0].clientX;this.isDragged=!0,this._startingXpos=u,this._xPos=this._startingXpos,this._time=Date.now(),this._width=this.el.getBoundingClientRect().width,this._overlay.style.display="block",this._initialScrollTop=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop(),this._verticallyScrolling=!1,t.remove(this.el),t.remove(this._overlay)}},{key:"_dragMoveUpdate",value:function(a){var u=a.targetTouches[0].clientX,h=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop();this.deltaX=Math.abs(this._xPos-u),this._xPos=u,this.velocityX=this.deltaX/(Date.now()-this._time),this._time=Date.now(),this._initialScrollTop!==h&&(this._verticallyScrolling=!0)}},{key:"_handleDragTargetDrag",value:function(a){if(!(!this.options.draggable||this._isCurrentlyFixed()||this._verticallyScrolling)){this.isDragged||this._startDrag(a),this._dragMoveUpdate(a);var u=this._xPos-this._startingXpos,h=u>0?"right":"left";u=Math.min(this._width,Math.abs(u)),this.options.edge===h&&(u=0);var p=u,g="translateX(-100%)";this.options.edge==="right"&&(g="translateX(100%)",p=-p),this.percentOpen=Math.min(1,u/this._width),this.el.style.transform=g+" translateX("+p+"px)",this._overlay.style.opacity=this.percentOpen}}},{key:"_handleDragTargetRelease",value:function(){this.isDragged&&(this.percentOpen>.2?this.open():this._animateOut(),this.isDragged=!1,this._verticallyScrolling=!1)}},{key:"_handleCloseDrag",value:function(a){if(this.isOpen){if(!this.options.draggable||this._isCurrentlyFixed()||this._verticallyScrolling)return;this.isDragged||this._startDrag(a),this._dragMoveUpdate(a);var u=this._xPos-this._startingXpos,h=u>0?"right":"left";u=Math.min(this._width,Math.abs(u)),this.options.edge!==h&&(u=0);var p=-u;this.options.edge==="right"&&(p=-p),this.percentOpen=Math.min(1,1-u/this._width),this.el.style.transform="translateX("+p+"px)",this._overlay.style.opacity=this.percentOpen}}},{key:"_handleCloseRelease",value:function(){this.isOpen&&this.isDragged&&(this.percentOpen>.8?this._animateIn():this.close(),this.isDragged=!1,this._verticallyScrolling=!1)}},{key:"_handleCloseTriggerClick",value:function(a){var u=i(a.target).closest(".sidenav-close");u.length&&!this._isCurrentlyFixed()&&this.close()}},{key:"_handleWindowResize",value:function(){this.lastWindowWidth!==window.innerWidth&&(window.innerWidth>992?this.open():this.close()),this.lastWindowWidth=window.innerWidth,this.lastWindowHeight=window.innerHeight}},{key:"_setupClasses",value:function(){this.options.edge==="right"&&(this.el.classList.add("right-aligned"),this.dragTarget.classList.add("right-aligned"))}},{key:"_removeClasses",value:function(){this.el.classList.remove("right-aligned"),this.dragTarget.classList.remove("right-aligned")}},{key:"_setupFixed",value:function(){this._isCurrentlyFixed()&&this.open()}},{key:"_isCurrentlyFixed",value:function(){return this.isFixed&&window.innerWidth>992}},{key:"_createDragTarget",value:function(){var a=document.createElement("div");a.classList.add("drag-target"),document.body.appendChild(a),this.dragTarget=a}},{key:"_preventBodyScrolling",value:function(){var a=document.body;a.style.overflow="hidden"}},{key:"_enableBodyScrolling",value:function(){var a=document.body;a.style.overflow=""}},{key:"open",value:function(){this.isOpen!==!0&&(this.isOpen=!0,typeof this.options.onOpenStart=="function"&&this.options.onOpenStart.call(this,this.el),this._isCurrentlyFixed()?(t.remove(this.el),t({targets:this.el,translateX:0,duration:0,easing:"easeOutQuad"}),this._enableBodyScrolling(),this._overlay.style.display="none"):(this.options.preventScrolling&&this._preventBodyScrolling(),(!this.isDragged||this.percentOpen!=1)&&this._animateIn()))}},{key:"close",value:function(){if(this.isOpen!==!1)if(this.isOpen=!1,typeof this.options.onCloseStart=="function"&&this.options.onCloseStart.call(this,this.el),this._isCurrentlyFixed()){var a=this.options.edge==="left"?"-105%":"105%";this.el.style.transform="translateX("+a+")"}else this._enableBodyScrolling(),!this.isDragged||this.percentOpen!=0?this._animateOut():this._overlay.style.display="none"}},{key:"_animateIn",value:function(){this._animateSidenavIn(),this._animateOverlayIn()}},{key:"_animateSidenavIn",value:function(){var a=this,u=this.options.edge==="left"?-1:1;this.isDragged&&(u=this.options.edge==="left"?u+this.percentOpen:u-this.percentOpen),t.remove(this.el),t({targets:this.el,translateX:[u*100+"%",0],duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){typeof a.options.onOpenEnd=="function"&&a.options.onOpenEnd.call(a,a.el)}})}},{key:"_animateOverlayIn",value:function(){var a=0;this.isDragged?a=this.percentOpen:i(this._overlay).css({display:"block"}),t.remove(this._overlay),t({targets:this._overlay,opacity:[a,1],duration:this.options.inDuration,easing:"easeOutQuad"})}},{key:"_animateOut",value:function(){this._animateSidenavOut(),this._animateOverlayOut()}},{key:"_animateSidenavOut",value:function(){var a=this,u=this.options.edge==="left"?-1:1,h=0;this.isDragged&&(h=this.options.edge==="left"?u+this.percentOpen:u-this.percentOpen),t.remove(this.el),t({targets:this.el,translateX:[h*100+"%",u*105+"%"],duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){typeof a.options.onCloseEnd=="function"&&a.options.onCloseEnd.call(a,a.el)}})}},{key:"_animateOverlayOut",value:function(){var a=this;t.remove(this._overlay),t({targets:this._overlay,opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){i(a._overlay).css("display","none")}})}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Sidenav}},{key:"defaults",get:function(){return n}}]),l}(an);r._sidenavs=[],M.Sidenav=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"sidenav","M_Sidenav")})(cash,M.anime);(function(i,t){"use strict";var n={throttle:100,scrollOffset:200,activeClass:"active",getActiveElement:function(o){return'a[href="#'+o+'"]'}},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_ScrollSpy=u,u.options=i.extend({},l.defaults,a),l._elements.push(u),l._count++,l._increment++,u.tickId=-1,u.id=l._increment,u._setupEventHandlers(),u._handleWindowScroll(),u}return zt(l,[{key:"destroy",value:function(){l._elements.splice(l._elements.indexOf(this),1),l._elementsInView.splice(l._elementsInView.indexOf(this),1),l._visibleElements.splice(l._visibleElements.indexOf(this.$el),1),l._count--,this._removeEventHandlers(),i(this.options.getActiveElement(this.$el.attr("id"))).removeClass(this.options.activeClass),this.el.M_ScrollSpy=void 0}},{key:"_setupEventHandlers",value:function(){var a=M.throttle(this._handleWindowScroll,200);this._handleThrottledResizeBound=a.bind(this),this._handleWindowScrollBound=this._handleWindowScroll.bind(this),l._count===1&&(window.addEventListener("scroll",this._handleWindowScrollBound),window.addEventListener("resize",this._handleThrottledResizeBound),document.body.addEventListener("click",this._handleTriggerClick))}},{key:"_removeEventHandlers",value:function(){l._count===0&&(window.removeEventListener("scroll",this._handleWindowScrollBound),window.removeEventListener("resize",this._handleThrottledResizeBound),document.body.removeEventListener("click",this._handleTriggerClick))}},{key:"_handleTriggerClick",value:function(a){for(var u=i(a.target),h=l._elements.length-1;h>=0;h--){var p=l._elements[h];if(u.is('a[href="#'+p.$el.attr("id")+'"]')){a.preventDefault();var g=p.$el.offset().top+1;t({targets:[document.documentElement,document.body],scrollTop:g-p.options.scrollOffset,duration:400,easing:"easeOutCubic"});break}}}},{key:"_handleWindowScroll",value:function(){l._ticks++;for(var a=M.getDocumentScrollTop(),u=M.getDocumentScrollLeft(),h=u+window.innerWidth,p=a+window.innerHeight,g=l._findElements(a,h,p,u),f=0;f<g.length;f++){var v=g[f],_=v.tickId;_<0&&v._enter(),v.tickId=l._ticks}for(var w=0;w<l._elementsInView.length;w++){var b=l._elementsInView[w],E=b.tickId;E>=0&&E!==l._ticks&&(b._exit(),b.tickId=-1)}l._elementsInView=g}},{key:"_enter",value:function(){l._visibleElements=l._visibleElements.filter(function(a){return a.height()!=0}),l._visibleElements[0]?(i(this.options.getActiveElement(l._visibleElements[0].attr("id"))).removeClass(this.options.activeClass),l._visibleElements[0][0].M_ScrollSpy&&this.id<l._visibleElements[0][0].M_ScrollSpy.id?l._visibleElements.unshift(this.$el):l._visibleElements.push(this.$el)):l._visibleElements.push(this.$el),i(this.options.getActiveElement(l._visibleElements[0].attr("id"))).addClass(this.options.activeClass)}},{key:"_exit",value:function(){var a=this;l._visibleElements=l._visibleElements.filter(function(u){return u.height()!=0}),l._visibleElements[0]&&(i(this.options.getActiveElement(l._visibleElements[0].attr("id"))).removeClass(this.options.activeClass),l._visibleElements=l._visibleElements.filter(function(u){return u.attr("id")!=a.$el.attr("id")}),l._visibleElements[0]&&i(this.options.getActiveElement(l._visibleElements[0].attr("id"))).addClass(this.options.activeClass))}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_ScrollSpy}},{key:"_findElements",value:function(a,u,h,p){for(var g=[],f=0;f<l._elements.length;f++){var v=l._elements[f],_=a+v.options.scrollOffset||200;if(v.$el.height()>0){var w=v.$el.offset().top,b=v.$el.offset().left,E=b+v.$el.width(),S=w+v.$el.height(),C=!(b>u||E<p||w>h||S<_);C&&g.push(v)}}return g}},{key:"defaults",get:function(){return n}}]),l}(an);r._elements=[],r._elementsInView=[],r._visibleElements=[],r._count=0,r._increment=0,r._ticks=0,M.ScrollSpy=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"scrollSpy","M_ScrollSpy")})(cash,M.anime);(function(i){"use strict";var t={data:{},limit:1/0,onAutocomplete:null,minLength:1,sortFunction:function(r,o,l){return r.indexOf(l)-o.indexOf(l)}},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_Autocomplete=a,a.options=i.extend({},o.defaults,s),a.isOpen=!1,a.count=0,a.activeIndex=-1,a.oldVal,a.$inputField=a.$el.closest(".input-field"),a.$active=i(),a._mousedown=!1,a._setupDropdown(),a._setupEventHandlers(),a}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_Autocomplete=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputBlurBound=this._handleInputBlur.bind(this),this._handleInputKeyupAndFocusBound=this._handleInputKeyupAndFocus.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleContainerMousedownAndTouchstartBound=this._handleContainerMousedownAndTouchstart.bind(this),this._handleContainerMouseupAndTouchendBound=this._handleContainerMouseupAndTouchend.bind(this),this.el.addEventListener("blur",this._handleInputBlurBound),this.el.addEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.addEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("click",this._handleInputClickBound),this.container.addEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),typeof window.ontouchstart!="undefined"&&(this.container.addEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("blur",this._handleInputBlurBound),this.el.removeEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("click",this._handleInputClickBound),this.container.removeEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),typeof window.ontouchstart!="undefined"&&(this.container.removeEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}},{key:"_setupDropdown",value:function(){var s=this;this.container=document.createElement("ul"),this.container.id="autocomplete-options-"+M.guid(),i(this.container).addClass("autocomplete-content dropdown-content"),this.$inputField.append(this.container),this.el.setAttribute("data-target",this.container.id),this.dropdown=M.Dropdown.init(this.el,{autoFocus:!1,closeOnClick:!1,coverTrigger:!1,onItemClick:function(a){s.selectOption(i(a))}}),this.el.removeEventListener("click",this.dropdown._handleClickBound)}},{key:"_removeDropdown",value:function(){this.container.parentNode.removeChild(this.container)}},{key:"_handleInputBlur",value:function(){this._mousedown||(this.close(),this._resetAutocomplete())}},{key:"_handleInputKeyupAndFocus",value:function(s){s.type==="keyup"&&(o._keydown=!1),this.count=0;var a=this.el.value.toLowerCase();s.keyCode===13||s.keyCode===38||s.keyCode===40||(this.oldVal!==a&&(M.tabPressed||s.type!=="focus")&&this.open(),this.oldVal=a)}},{key:"_handleInputKeydown",value:function(s){o._keydown=!0;var a=s.keyCode,u=void 0,h=i(this.container).children("li").length;if(a===M.keys.ENTER&&this.activeIndex>=0){u=i(this.container).children("li").eq(this.activeIndex),u.length&&(this.selectOption(u),s.preventDefault());return}(a===M.keys.ARROW_UP||a===M.keys.ARROW_DOWN)&&(s.preventDefault(),a===M.keys.ARROW_UP&&this.activeIndex>0&&this.activeIndex--,a===M.keys.ARROW_DOWN&&this.activeIndex<h-1&&this.activeIndex++,this.$active.removeClass("active"),this.activeIndex>=0&&(this.$active=i(this.container).children("li").eq(this.activeIndex),this.$active.addClass("active")))}},{key:"_handleInputClick",value:function(s){this.open()}},{key:"_handleContainerMousedownAndTouchstart",value:function(s){this._mousedown=!0}},{key:"_handleContainerMouseupAndTouchend",value:function(s){this._mousedown=!1}},{key:"_highlight",value:function(s,a){var u=a.find("img"),h=a.text().toLowerCase().indexOf(""+s.toLowerCase()+""),p=h+s.length-1,g=a.text().slice(0,h),f=a.text().slice(h,p+1),v=a.text().slice(p+1);a.html("<span>"+g+"<span class='highlight'>"+f+"</span>"+v+"</span>"),u.length&&a.prepend(u)}},{key:"_resetCurrentElement",value:function(){this.activeIndex=-1,this.$active.removeClass("active")}},{key:"_resetAutocomplete",value:function(){i(this.container).empty(),this._resetCurrentElement(),this.oldVal=null,this.isOpen=!1,this._mousedown=!1}},{key:"selectOption",value:function(s){var a=s.text().trim();this.el.value=a,this.$el.trigger("change"),this._resetAutocomplete(),this.close(),typeof this.options.onAutocomplete=="function"&&this.options.onAutocomplete.call(this,a)}},{key:"_renderDropdown",value:function(s,a){var u=this;this._resetAutocomplete();var h=[];for(var p in s)if(s.hasOwnProperty(p)&&p.toLowerCase().indexOf(a)!==-1){if(this.count>=this.options.limit)break;var g={data:s[p],key:p};h.push(g),this.count++}if(this.options.sortFunction){var f=function(b,E){return u.options.sortFunction(b.key.toLowerCase(),E.key.toLowerCase(),a.toLowerCase())};h.sort(f)}for(var v=0;v<h.length;v++){var _=h[v],w=i("<li></li>");_.data?w.append('<img src="'+_.data+'" class="right circle"><span>'+_.key+"</span>"):w.append("<span>"+_.key+"</span>"),i(this.container).append(w),this._highlight(a,w)}}},{key:"open",value:function(){var s=this.el.value.toLowerCase();this._resetAutocomplete(),s.length>=this.options.minLength&&(this.isOpen=!0,this._renderDropdown(this.options.data,s)),this.dropdown.isOpen?this.dropdown.recalculateDimensions():this.dropdown.open()}},{key:"close",value:function(){this.dropdown.close()}},{key:"updateData",value:function(s){var a=this.el.value.toLowerCase();this.options.data=s,this.isOpen&&this._renderDropdown(s,a)}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Autocomplete}},{key:"defaults",get:function(){return t}}]),o}(an);n._keydown=!1,M.Autocomplete=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"autocomplete","M_Autocomplete")})(cash);(function(i){M.updateTextFields=function(){var t="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea";i(t).each(function(n,r){var o=i(this);n.value.length>0||i(n).is(":focus")||n.autofocus||o.attr("placeholder")!==null?o.siblings("label").addClass("active"):n.validity?o.siblings("label").toggleClass("active",n.validity.badInput===!0):o.siblings("label").removeClass("active")})},M.validate_field=function(t){var n=t.attr("data-length")!==null,r=parseInt(t.attr("data-length")),o=t[0].value.length;o===0&&t[0].validity.badInput===!1&&!t.is(":required")?t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid")):t.hasClass("validate")&&(t.is(":valid")&&n&&o<=r||t.is(":valid")&&!n?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid")))},M.textareaAutoResize=function(t){if(t instanceof Element&&(t=i(t)),!t.length){console.error("No textarea element found");return}var n=i(".hiddendiv").first();n.length||(n=i('<div class="hiddendiv common"></div>'),i("body").append(n));var r=t.css("font-family"),o=t.css("font-size"),l=t.css("line-height"),s=t.css("padding-top"),a=t.css("padding-right"),u=t.css("padding-bottom"),h=t.css("padding-left");o&&n.css("font-size",o),r&&n.css("font-family",r),l&&n.css("line-height",l),s&&n.css("padding-top",s),a&&n.css("padding-right",a),u&&n.css("padding-bottom",u),h&&n.css("padding-left",h),t.data("original-height")||t.data("original-height",t.height()),t.attr("wrap")==="off"&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(t[0].value+`
|
|
68
68
|
`);var p=n.html().replace(/\n/g,"<br>");n.html(p),t[0].offsetWidth>0&&t[0].offsetHeight>0?n.css("width",t.width()+"px"):n.css("width",window.innerWidth/2+"px"),t.data("original-height")<=n.innerHeight()?t.css("height",n.innerHeight()+"px"):t[0].value.length<t.data("previous-length")&&t.css("height",t.data("original-height")+"px"),t.data("previous-length",t[0].value.length)},i(document).ready(function(){var t="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea";i(document).on("change",t,function(){(this.value.length!==0||i(this).attr("placeholder")!==null)&&i(this).siblings("label").addClass("active"),M.validate_field(i(this))}),i(document).ready(function(){M.updateTextFields()}),i(document).on("reset",function(o){var l=i(o.target);l.is("form")&&(l.find(t).removeClass("valid").removeClass("invalid"),l.find(t).each(function(s){this.value.length&&i(this).siblings("label").removeClass("active")}),setTimeout(function(){l.find("select").each(function(){this.M_FormSelect&&i(this).trigger("change")})},0))}),document.addEventListener("focus",function(o){i(o.target).is(t)&&i(o.target).siblings("label, .prefix").addClass("active")},!0),document.addEventListener("blur",function(o){var l=i(o.target);if(l.is(t)){var s=".prefix";l[0].value.length===0&&l[0].validity.badInput!==!0&&l.attr("placeholder")===null&&(s+=", label"),l.siblings(s).removeClass("active"),M.validate_field(l)}},!0);var n="input[type=radio], input[type=checkbox]";i(document).on("keyup",n,function(o){if(o.which===M.keys.TAB){i(this).addClass("tabbed");var l=i(this);l.one("blur",function(s){i(this).removeClass("tabbed")});return}});var r=".materialize-textarea";i(r).each(function(){var o=i(this);o.data("original-height",o.height()),o.data("previous-length",this.value.length),M.textareaAutoResize(o)}),i(document).on("keyup",r,function(){M.textareaAutoResize(i(this))}),i(document).on("keydown",r,function(){M.textareaAutoResize(i(this))}),i(document).on("change",'.file-field input[type="file"]',function(){for(var o=i(this).closest(".file-field"),l=o.find("input.file-path"),s=i(this)[0].files,a=[],u=0;u<s.length;u++)a.push(s[u].name);l[0].value=a.join(", "),l.trigger("change")})})})(cash);(function(i,t){"use strict";var n={indicators:!0,height:400,duration:500,interval:6e3},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Slider=u,u.options=i.extend({},l.defaults,a),u.$slider=u.$el.find(".slides"),u.$slides=u.$slider.children("li"),u.activeIndex=u.$slides.filter(function(h){return i(h).hasClass("active")}).first().index(),u.activeIndex!=-1&&(u.$active=u.$slides.eq(u.activeIndex)),u._setSliderHeight(),u.$slides.find(".caption").each(function(h){u._animateCaptionIn(h,0)}),u.$slides.find("img").each(function(h){var p="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";i(h).attr("src")!==p&&(i(h).css("background-image",'url("'+i(h).attr("src")+'")'),i(h).attr("src",p))}),u._setupIndicators(),u.$active?u.$active.css("display","block"):(u.$slides.first().addClass("active"),t({targets:u.$slides.first()[0],opacity:1,duration:u.options.duration,easing:"easeOutQuad"}),u.activeIndex=0,u.$active=u.$slides.eq(u.activeIndex),u.options.indicators&&u.$indicators.eq(u.activeIndex).addClass("active")),u.$active.find("img").each(function(h){t({targets:u.$active.find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:u.options.duration,easing:"easeOutQuad"})}),u._setupEventHandlers(),u.start(),u}return zt(l,[{key:"destroy",value:function(){this.pause(),this._removeIndicators(),this._removeEventHandlers(),this.el.M_Slider=void 0}},{key:"_setupEventHandlers",value:function(){var a=this;this._handleIntervalBound=this._handleInterval.bind(this),this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.options.indicators&&this.$indicators.each(function(u){u.addEventListener("click",a._handleIndicatorClickBound)})}},{key:"_removeEventHandlers",value:function(){var a=this;this.options.indicators&&this.$indicators.each(function(u){u.removeEventListener("click",a._handleIndicatorClickBound)})}},{key:"_handleIndicatorClick",value:function(a){var u=i(a.target).index();this.set(u)}},{key:"_handleInterval",value:function(){var a=this.$slider.find(".active").index();this.$slides.length===a+1?a=0:a+=1,this.set(a)}},{key:"_animateCaptionIn",value:function(a,u){var h={targets:a,opacity:0,duration:u,easing:"easeOutQuad"};i(a).hasClass("center-align")?h.translateY=-100:i(a).hasClass("right-align")?h.translateX=100:i(a).hasClass("left-align")&&(h.translateX=-100),t(h)}},{key:"_setSliderHeight",value:function(){this.$el.hasClass("fullscreen")||(this.options.indicators?this.$el.css("height",this.options.height+40+"px"):this.$el.css("height",this.options.height+"px"),this.$slider.css("height",this.options.height+"px"))}},{key:"_setupIndicators",value:function(){var a=this;this.options.indicators&&(this.$indicators=i('<ul class="indicators"></ul>'),this.$slides.each(function(u,h){var p=i('<li class="indicator-item"></li>');a.$indicators.append(p[0])}),this.$el.append(this.$indicators[0]),this.$indicators=this.$indicators.children("li.indicator-item"))}},{key:"_removeIndicators",value:function(){this.$el.find("ul.indicators").remove()}},{key:"set",value:function(a){var u=this;if(a>=this.$slides.length?a=0:a<0&&(a=this.$slides.length-1),this.activeIndex!=a){this.$active=this.$slides.eq(this.activeIndex);var h=this.$active.find(".caption");this.$active.removeClass("active"),t({targets:this.$active[0],opacity:0,duration:this.options.duration,easing:"easeOutQuad",complete:function(){u.$slides.not(".active").each(function(p){t({targets:p,opacity:0,translateX:0,translateY:0,duration:0,easing:"easeOutQuad"})})}}),this._animateCaptionIn(h[0],this.options.duration),this.options.indicators&&(this.$indicators.eq(this.activeIndex).removeClass("active"),this.$indicators.eq(a).addClass("active")),t({targets:this.$slides.eq(a)[0],opacity:1,duration:this.options.duration,easing:"easeOutQuad"}),t({targets:this.$slides.eq(a).find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:this.options.duration,delay:this.options.duration,easing:"easeOutQuad"}),this.$slides.eq(a).addClass("active"),this.activeIndex=a,this.start()}}},{key:"pause",value:function(){clearInterval(this.interval)}},{key:"start",value:function(){clearInterval(this.interval),this.interval=setInterval(this._handleIntervalBound,this.options.duration+this.options.interval)}},{key:"next",value:function(){var a=this.activeIndex+1;a>=this.$slides.length?a=0:a<0&&(a=this.$slides.length-1),this.set(a)}},{key:"prev",value:function(){var a=this.activeIndex-1;a>=this.$slides.length?a=0:a<0&&(a=this.$slides.length-1),this.set(a)}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Slider}},{key:"defaults",get:function(){return n}}]),l}(an);M.Slider=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"slider","M_Slider")})(cash,M.anime);(function(i,t){i(document).on("click",".card",function(n){if(i(this).children(".card-reveal").length){var r=i(n.target).closest(".card");r.data("initialOverflow")===void 0&&r.data("initialOverflow",r.css("overflow")===void 0?"":r.css("overflow"));var o=i(this).find(".card-reveal");i(n.target).is(i(".card-reveal .card-title"))||i(n.target).is(i(".card-reveal .card-title i"))?t({targets:o[0],translateY:0,duration:225,easing:"easeInOutQuad",complete:function(l){var s=l.animatables[0].target;i(s).css({display:"none"}),r.css("overflow",r.data("initialOverflow"))}}):(i(n.target).is(i(".card .activator"))||i(n.target).is(i(".card .activator i")))&&(r.css("overflow","hidden"),o.css({display:"block"}),t({targets:o[0],translateY:"-100%",duration:300,easing:"easeInOutQuad"}))}})})(cash,M.anime);(function(i){"use strict";var t={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{},limit:1/0,onChipAdd:null,onChipSelect:null,onChipDelete:null},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_Chips=a,a.options=i.extend({},o.defaults,s),a.$el.addClass("chips input-field"),a.chipsData=[],a.$chips=i(),a._setupInput(),a.hasAutocomplete=Object.keys(a.options.autocompleteOptions).length>0,a.$input.attr("id")||a.$input.attr("id",M.guid()),a.options.data.length&&(a.chipsData=a.options.data,a._renderChips(a.chipsData)),a.hasAutocomplete&&a._setupAutocomplete(),a._setPlaceholder(),a._setupLabel(),a._setupEventHandlers(),a}return zt(o,[{key:"getData",value:function(){return this.chipsData}},{key:"destroy",value:function(){this._removeEventHandlers(),this.$chips.remove(),this.el.M_Chips=void 0}},{key:"_setupEventHandlers",value:function(){this._handleChipClickBound=this._handleChipClick.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputFocusBound=this._handleInputFocus.bind(this),this._handleInputBlurBound=this._handleInputBlur.bind(this),this.el.addEventListener("click",this._handleChipClickBound),document.addEventListener("keydown",o._handleChipsKeydown),document.addEventListener("keyup",o._handleChipsKeyup),this.el.addEventListener("blur",o._handleChipsBlur,!0),this.$input[0].addEventListener("focus",this._handleInputFocusBound),this.$input[0].addEventListener("blur",this._handleInputBlurBound),this.$input[0].addEventListener("keydown",this._handleInputKeydownBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleChipClickBound),document.removeEventListener("keydown",o._handleChipsKeydown),document.removeEventListener("keyup",o._handleChipsKeyup),this.el.removeEventListener("blur",o._handleChipsBlur,!0),this.$input[0].removeEventListener("focus",this._handleInputFocusBound),this.$input[0].removeEventListener("blur",this._handleInputBlurBound),this.$input[0].removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleChipClick",value:function(s){var a=i(s.target).closest(".chip"),u=i(s.target).is(".close");if(a.length){var h=a.index();u?(this.deleteChip(h),this.$input[0].focus()):this.selectChip(h)}else this.$input[0].focus()}},{key:"_handleInputFocus",value:function(){this.$el.addClass("focus")}},{key:"_handleInputBlur",value:function(){this.$el.removeClass("focus")}},{key:"_handleInputKeydown",value:function(s){if(o._keydown=!0,s.keyCode===13){if(this.hasAutocomplete&&this.autocomplete&&this.autocomplete.isOpen)return;s.preventDefault(),this.addChip({tag:this.$input[0].value}),this.$input[0].value=""}else(s.keyCode===8||s.keyCode===37)&&this.$input[0].value===""&&this.chipsData.length&&(s.preventDefault(),this.selectChip(this.chipsData.length-1))}},{key:"_renderChip",value:function(s){if(!!s.tag){var a=document.createElement("div"),u=document.createElement("i");if(a.classList.add("chip"),a.textContent=s.tag,a.setAttribute("tabindex",0),i(u).addClass("material-icons close"),u.textContent="close",s.image){var h=document.createElement("img");h.setAttribute("src",s.image),a.insertBefore(h,a.firstChild)}return a.appendChild(u),a}}},{key:"_renderChips",value:function(){this.$chips.remove();for(var s=0;s<this.chipsData.length;s++){var a=this._renderChip(this.chipsData[s]);this.$el.append(a),this.$chips.add(a)}this.$el.append(this.$input[0])}},{key:"_setupAutocomplete",value:function(){var s=this;this.options.autocompleteOptions.onAutocomplete=function(a){s.addChip({tag:a}),s.$input[0].value="",s.$input[0].focus()},this.autocomplete=M.Autocomplete.init(this.$input[0],this.options.autocompleteOptions)}},{key:"_setupInput",value:function(){this.$input=this.$el.find("input"),this.$input.length||(this.$input=i("<input></input>"),this.$el.append(this.$input)),this.$input.addClass("input")}},{key:"_setupLabel",value:function(){this.$label=this.$el.find("label"),this.$label.length&&this.$label.setAttribute("for",this.$input.attr("id"))}},{key:"_setPlaceholder",value:function(){this.chipsData!==void 0&&!this.chipsData.length&&this.options.placeholder?i(this.$input).prop("placeholder",this.options.placeholder):(this.chipsData===void 0||!!this.chipsData.length)&&this.options.secondaryPlaceholder&&i(this.$input).prop("placeholder",this.options.secondaryPlaceholder)}},{key:"_isValid",value:function(s){if(s.hasOwnProperty("tag")&&s.tag!==""){for(var a=!1,u=0;u<this.chipsData.length;u++)if(this.chipsData[u].tag===s.tag){a=!0;break}return!a}return!1}},{key:"addChip",value:function(s){if(!(!this._isValid(s)||this.chipsData.length>=this.options.limit)){var a=this._renderChip(s);this.$chips.add(a),this.chipsData.push(s),i(this.$input).before(a),this._setPlaceholder(),typeof this.options.onChipAdd=="function"&&this.options.onChipAdd.call(this,this.$el,a)}}},{key:"deleteChip",value:function(s){var a=this.$chips.eq(s);this.$chips.eq(s).remove(),this.$chips=this.$chips.filter(function(u){return i(u).index()>=0}),this.chipsData.splice(s,1),this._setPlaceholder(),typeof this.options.onChipDelete=="function"&&this.options.onChipDelete.call(this,this.$el,a[0])}},{key:"selectChip",value:function(s){var a=this.$chips.eq(s);this._selectedChip=a,a[0].focus(),typeof this.options.onChipSelect=="function"&&this.options.onChipSelect.call(this,this.$el,a[0])}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Chips}},{key:"_handleChipsKeydown",value:function(s){o._keydown=!0;var a=i(s.target).closest(".chips"),u=s.target&&a.length;if(!(i(s.target).is("input, textarea")||!u)){var h=a[0].M_Chips;if(s.keyCode===8||s.keyCode===46){s.preventDefault();var p=h.chipsData.length;if(h._selectedChip){var g=h._selectedChip.index();h.deleteChip(g),h._selectedChip=null,p=Math.max(g-1,0)}h.chipsData.length&&h.selectChip(p)}else if(s.keyCode===37){if(h._selectedChip){var f=h._selectedChip.index()-1;if(f<0)return;h.selectChip(f)}}else if(s.keyCode===39&&h._selectedChip){var v=h._selectedChip.index()+1;v>=h.chipsData.length?h.$input[0].focus():h.selectChip(v)}}}},{key:"_handleChipsKeyup",value:function(s){o._keydown=!1}},{key:"_handleChipsBlur",value:function(s){if(!o._keydown){var a=i(s.target).closest(".chips"),u=a[0].M_Chips;u._selectedChip=null}}},{key:"defaults",get:function(){return t}}]),o}(an);n._keydown=!1,M.Chips=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"chips","M_Chips"),i(document).ready(function(){i(document.body).on("click",".chip .close",function(){var r=i(this).closest(".chips");r.length&&r[0].M_Chips||i(this).closest(".chip").remove()})})})(cash);(function(i){"use strict";var t={top:0,bottom:1/0,offset:0,onPositionChange:null},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_Pushpin=a,a.options=i.extend({},o.defaults,s),a.originalOffset=a.el.offsetTop,o._pushpins.push(a),a._setupEventHandlers(),a._updatePosition(),a}return zt(o,[{key:"destroy",value:function(){this.el.style.top=null,this._removePinClasses(),this._removeEventHandlers();var s=o._pushpins.indexOf(this);o._pushpins.splice(s,1)}},{key:"_setupEventHandlers",value:function(){document.addEventListener("scroll",o._updateElements)}},{key:"_removeEventHandlers",value:function(){document.removeEventListener("scroll",o._updateElements)}},{key:"_updatePosition",value:function(){var s=M.getDocumentScrollTop()+this.options.offset;this.options.top<=s&&this.options.bottom>=s&&!this.el.classList.contains("pinned")&&(this._removePinClasses(),this.el.style.top=this.options.offset+"px",this.el.classList.add("pinned"),typeof this.options.onPositionChange=="function"&&this.options.onPositionChange.call(this,"pinned")),s<this.options.top&&!this.el.classList.contains("pin-top")&&(this._removePinClasses(),this.el.style.top=0,this.el.classList.add("pin-top"),typeof this.options.onPositionChange=="function"&&this.options.onPositionChange.call(this,"pin-top")),s>this.options.bottom&&!this.el.classList.contains("pin-bottom")&&(this._removePinClasses(),this.el.classList.add("pin-bottom"),this.el.style.top=this.options.bottom-this.originalOffset+"px",typeof this.options.onPositionChange=="function"&&this.options.onPositionChange.call(this,"pin-bottom"))}},{key:"_removePinClasses",value:function(){this.el.classList.remove("pin-top"),this.el.classList.remove("pinned"),this.el.classList.remove("pin-bottom")}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Pushpin}},{key:"_updateElements",value:function(){for(var s in o._pushpins){var a=o._pushpins[s];a._updatePosition()}}},{key:"defaults",get:function(){return t}}]),o}(an);n._pushpins=[],M.Pushpin=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"pushpin","M_Pushpin")})(cash);(function(i,t){"use strict";var n={direction:"top",hoverEnabled:!0,toolbarEnabled:!1};i.fn.reverse=[].reverse;var r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_FloatingActionButton=u,u.options=i.extend({},l.defaults,a),u.isOpen=!1,u.$anchor=u.$el.children("a").first(),u.$menu=u.$el.children("ul").first(),u.$floatingBtns=u.$el.find("ul .btn-floating"),u.$floatingBtnsReverse=u.$el.find("ul .btn-floating").reverse(),u.offsetY=0,u.offsetX=0,u.$el.addClass("direction-"+u.options.direction),u.options.direction==="top"?u.offsetY=40:u.options.direction==="right"?u.offsetX=-40:u.options.direction==="bottom"?u.offsetY=-40:u.offsetX=40,u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_FloatingActionButton=void 0}},{key:"_setupEventHandlers",value:function(){this._handleFABClickBound=this._handleFABClick.bind(this),this._handleOpenBound=this.open.bind(this),this._handleCloseBound=this.close.bind(this),this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.addEventListener("mouseenter",this._handleOpenBound),this.el.addEventListener("mouseleave",this._handleCloseBound)):this.el.addEventListener("click",this._handleFABClickBound)}},{key:"_removeEventHandlers",value:function(){this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.removeEventListener("mouseenter",this._handleOpenBound),this.el.removeEventListener("mouseleave",this._handleCloseBound)):this.el.removeEventListener("click",this._handleFABClickBound)}},{key:"_handleFABClick",value:function(){this.isOpen?this.close():this.open()}},{key:"_handleDocumentClick",value:function(a){i(a.target).closest(this.$menu).length||this.close()}},{key:"open",value:function(){this.isOpen||(this.options.toolbarEnabled?this._animateInToolbar():this._animateInFAB(),this.isOpen=!0)}},{key:"close",value:function(){!this.isOpen||(this.options.toolbarEnabled?(window.removeEventListener("scroll",this._handleCloseBound,!0),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),this._animateOutToolbar()):this._animateOutFAB(),this.isOpen=!1)}},{key:"_animateInFAB",value:function(){var a=this;this.$el.addClass("active");var u=0;this.$floatingBtnsReverse.each(function(h){t({targets:h,opacity:1,scale:[.4,1],translateY:[a.offsetY,0],translateX:[a.offsetX,0],duration:275,delay:u,easing:"easeInOutQuad"}),u+=40})}},{key:"_animateOutFAB",value:function(){var a=this;this.$floatingBtnsReverse.each(function(u){t.remove(u),t({targets:u,opacity:0,scale:.4,translateY:a.offsetY,translateX:a.offsetX,duration:175,easing:"easeOutQuad",complete:function(){a.$el.removeClass("active")}})})}},{key:"_animateInToolbar",value:function(){var a=this,u=void 0,h=window.innerWidth,p=window.innerHeight,g=this.el.getBoundingClientRect(),f=i('<div class="fab-backdrop"></div>'),v=this.$anchor.css("background-color");this.$anchor.append(f),this.offsetX=g.left-h/2+g.width/2,this.offsetY=p-g.bottom,u=h/f[0].clientWidth,this.btnBottom=g.bottom,this.btnLeft=g.left,this.btnWidth=g.width,this.$el.addClass("active"),this.$el.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+this.offsetX+"px)",transition:"none"}),this.$anchor.css({transform:"translateY("+-this.offsetY+"px)",transition:"none"}),f.css({"background-color":v}),setTimeout(function(){a.$el.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),a.$anchor.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){a.$el.css({overflow:"hidden","background-color":v}),f.css({transform:"scale("+u+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),a.$menu.children("li").children("a").css({opacity:1}),a._handleDocumentClickBound=a._handleDocumentClick.bind(a),window.addEventListener("scroll",a._handleCloseBound,!0),document.body.addEventListener("click",a._handleDocumentClickBound,!0)},100)},0)}},{key:"_animateOutToolbar",value:function(){var a=this,u=window.innerWidth,h=window.innerHeight,p=this.$el.find(".fab-backdrop"),g=this.$anchor.css("background-color");this.offsetX=this.btnLeft-u/2+this.btnWidth/2,this.offsetY=h-this.btnBottom,this.$el.removeClass("active"),this.$el.css({"background-color":"transparent",transition:"none"}),this.$anchor.css({transition:"none"}),p.css({transform:"scale(0)","background-color":g}),this.$menu.children("li").children("a").css({opacity:""}),setTimeout(function(){p.remove(),a.$el.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-a.offsetX+"px,0,0)"}),a.$anchor.css({overflow:"",transform:"translate3d(0,"+a.offsetY+"px,0)"}),setTimeout(function(){a.$el.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),a.$anchor.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_FloatingActionButton}},{key:"defaults",get:function(){return n}}]),l}(an);M.FloatingActionButton=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"floatingActionButton","M_FloatingActionButton")})(cash,M.anime);(function(i){"use strict";var t={autoClose:!1,format:"mmm dd, yyyy",parse:null,defaultDate:null,setDefaultDate:!1,disableWeekends:!1,disableDayFn:null,firstDay:0,minDate:null,maxDate:null,yearRange:10,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,container:null,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok",previousMonth:"\u2039",nextMonth:"\u203A",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysAbbrev:["S","M","T","W","T","F","S"]},events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));a.el.M_Datepicker=a,a.options=i.extend({},o.defaults,s),!!s&&s.hasOwnProperty("i18n")&&typeof s.i18n=="object"&&(a.options.i18n=i.extend({},o.defaults.i18n,s.i18n)),a.options.minDate&&a.options.minDate.setHours(0,0,0,0),a.options.maxDate&&a.options.maxDate.setHours(0,0,0,0),a.id=M.guid(),a._setupVariables(),a._insertHTMLIntoDOM(),a._setupModal(),a._setupEventHandlers(),a.options.defaultDate||(a.options.defaultDate=new Date(Date.parse(a.el.value)));var u=a.options.defaultDate;return o._isDate(u)?a.options.setDefaultDate?(a.setDate(u,!0),a.setInputValue()):a.gotoDate(u):a.gotoDate(new Date),a.isOpen=!1,a}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),i(this.modalEl).remove(),this.destroySelects(),this.el.M_Datepicker=void 0}},{key:"destroySelects",value:function(){var s=this.calendarEl.querySelector(".orig-select-year");s&&M.FormSelect.getInstance(s).destroy();var a=this.calendarEl.querySelector(".orig-select-month");a&&M.FormSelect.getInstance(a).destroy()}},{key:"_insertHTMLIntoDOM",value:function(){this.options.showClearBtn&&(i(this.clearBtn).css({visibility:""}),this.clearBtn.innerHTML=this.options.i18n.clear),this.doneBtn.innerHTML=this.options.i18n.done,this.cancelBtn.innerHTML=this.options.i18n.cancel,this.options.container?this.$modalEl.appendTo(this.options.container):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var s=this;this.modalEl.id="modal-"+this.id,this.modal=M.Modal.init(this.modalEl,{onCloseEnd:function(){s.isOpen=!1}})}},{key:"toString",value:function(s){var a=this;if(s=s||this.options.format,!o._isDate(this.date))return"";var u=s.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g),h=u.map(function(p){return a.formats[p]?a.formats[p]():p}).join("");return h}},{key:"setDate",value:function(s,a){if(!s)return this.date=null,this._renderDateDisplay(),this.draw();if(typeof s=="string"&&(s=new Date(Date.parse(s))),!!o._isDate(s)){var u=this.options.minDate,h=this.options.maxDate;o._isDate(u)&&s<u?s=u:o._isDate(h)&&s>h&&(s=h),this.date=new Date(s.getTime()),this._renderDateDisplay(),o._setToStartOfDay(this.date),this.gotoDate(this.date),!a&&typeof this.options.onSelect=="function"&&this.options.onSelect.call(this,this.date)}}},{key:"setInputValue",value:function(){this.el.value=this.toString(),this.$el.trigger("change",{firedBy:this})}},{key:"_renderDateDisplay",value:function(){var s=o._isDate(this.date)?this.date:new Date,a=this.options.i18n,u=a.weekdaysShort[s.getDay()],h=a.monthsShort[s.getMonth()],p=s.getDate();this.yearTextEl.innerHTML=s.getFullYear(),this.dateTextEl.innerHTML=u+", "+h+" "+p}},{key:"gotoDate",value:function(s){var a=!0;if(!!o._isDate(s)){if(this.calendars){var u=new Date(this.calendars[0].year,this.calendars[0].month,1),h=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),p=s.getTime();h.setMonth(h.getMonth()+1),h.setDate(h.getDate()-1),a=p<u.getTime()||h.getTime()<p}a&&(this.calendars=[{month:s.getMonth(),year:s.getFullYear()}]),this.adjustCalendars()}}},{key:"adjustCalendars",value:function(){this.calendars[0]=this.adjustCalendar(this.calendars[0]),this.draw()}},{key:"adjustCalendar",value:function(s){return s.month<0&&(s.year-=Math.ceil(Math.abs(s.month)/12),s.month+=12),s.month>11&&(s.year+=Math.floor(Math.abs(s.month)/12),s.month-=12),s}},{key:"nextMonth",value:function(){this.calendars[0].month++,this.adjustCalendars()}},{key:"prevMonth",value:function(){this.calendars[0].month--,this.adjustCalendars()}},{key:"render",value:function(s,a,u){var h=this.options,p=new Date,g=o._getDaysInMonth(s,a),f=new Date(s,a,1).getDay(),v=[],_=[];o._setToStartOfDay(p),h.firstDay>0&&(f-=h.firstDay,f<0&&(f+=7));for(var w=a===0?11:a-1,b=a===11?0:a+1,E=a===0?s-1:s,S=a===11?s+1:s,C=o._getDaysInMonth(E,w),R=g+f,A=R;A>7;)A-=7;R+=7-A;for(var I=!1,G=0,D=0;G<R;G++){var V=new Date(s,a,1+(G-f)),q=o._isDate(this.date)?o._compareDates(V,this.date):!1,j=o._compareDates(V,p),N=h.events.indexOf(V.toDateString())!==-1,U=G<f||G>=g+f,X=1+(G-f),Ee=a,ue=s,Se=h.startRange&&o._compareDates(h.startRange,V),le=h.endRange&&o._compareDates(h.endRange,V),ge=h.startRange&&h.endRange&&h.startRange<V&&V<h.endRange,Te=h.minDate&&V<h.minDate||h.maxDate&&V>h.maxDate||h.disableWeekends&&o._isWeekend(V)||h.disableDayFn&&h.disableDayFn(V);U&&(G<f?(X=C+X,Ee=w,ue=E):(X=X-g,Ee=b,ue=S));var ce={day:X,month:Ee,year:ue,hasEvent:N,isSelected:q,isToday:j,isDisabled:Te,isEmpty:U,isStartRange:Se,isEndRange:le,isInRange:ge,showDaysInNextAndPreviousMonths:h.showDaysInNextAndPreviousMonths};_.push(this.renderDay(ce)),++D==7&&(v.push(this.renderRow(_,h.isRTL,I)),_=[],D=0,I=!1)}return this.renderTable(h,v,u)}},{key:"renderDay",value:function(s){var a=[],u="false";if(s.isEmpty)if(s.showDaysInNextAndPreviousMonths)a.push("is-outside-current-month"),a.push("is-selection-disabled");else return'<td class="is-empty"></td>';return s.isDisabled&&a.push("is-disabled"),s.isToday&&a.push("is-today"),s.isSelected&&(a.push("is-selected"),u="true"),s.hasEvent&&a.push("has-event"),s.isInRange&&a.push("is-inrange"),s.isStartRange&&a.push("is-startrange"),s.isEndRange&&a.push("is-endrange"),'<td data-day="'+s.day+'" class="'+a.join(" ")+'" aria-selected="'+u+'">'+('<button class="datepicker-day-button" type="button" data-year="'+s.year+'" data-month="'+s.month+'" data-day="'+s.day+'">'+s.day+"</button>")+"</td>"}},{key:"renderRow",value:function(s,a,u){return'<tr class="datepicker-row'+(u?" is-selected":"")+'">'+(a?s.reverse():s).join("")+"</tr>"}},{key:"renderTable",value:function(s,a,u){return'<div class="datepicker-table-wrapper"><table cellpadding="0" cellspacing="0" class="datepicker-table" role="grid" aria-labelledby="'+u+'">'+this.renderHead(s)+this.renderBody(a)+"</table></div>"}},{key:"renderHead",value:function(s){var a=void 0,u=[];for(a=0;a<7;a++)u.push('<th scope="col"><abbr title="'+this.renderDayName(s,a)+'">'+this.renderDayName(s,a,!0)+"</abbr></th>");return"<thead><tr>"+(s.isRTL?u.reverse():u).join("")+"</tr></thead>"}},{key:"renderBody",value:function(s){return"<tbody>"+s.join("")+"</tbody>"}},{key:"renderTitle",value:function(s,a,u,h,p,g){var f=void 0,v=void 0,_=void 0,w=this.options,b=u===w.minYear,E=u===w.maxYear,S='<div id="'+g+'" class="datepicker-controls" role="heading" aria-live="assertive">',C=void 0,R=void 0,A=!0,I=!0;for(_=[],f=0;f<12;f++)_.push('<option value="'+(u===p?f-a:12+f-a)+'"'+(f===h?' selected="selected"':"")+(b&&f<w.minMonth||E&&f>w.maxMonth?'disabled="disabled"':"")+">"+w.i18n.months[f]+"</option>");for(C='<select class="datepicker-select orig-select-month" tabindex="-1">'+_.join("")+"</select>",i.isArray(w.yearRange)?(f=w.yearRange[0],v=w.yearRange[1]+1):(f=u-w.yearRange,v=1+u+w.yearRange),_=[];f<v&&f<=w.maxYear;f++)f>=w.minYear&&_.push('<option value="'+f+'" '+(f===u?'selected="selected"':"")+">"+f+"</option>");R='<select class="datepicker-select orig-select-year" tabindex="-1">'+_.join("")+"</select>";var G='<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/><path d="M0-.5h24v24H0z" fill="none"/></svg>';S+='<button class="month-prev'+(A?"":" is-disabled")+'" type="button">'+G+"</button>",S+='<div class="selects-container">',w.showMonthAfterYear?S+=R+C:S+=C+R,S+="</div>",b&&(h===0||w.minMonth>=h)&&(A=!1),E&&(h===11||w.maxMonth<=h)&&(I=!1);var D='<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/><path d="M0-.25h24v24H0z" fill="none"/></svg>';return S+='<button class="month-next'+(I?"":" is-disabled")+'" type="button">'+D+"</button>",S+="</div>"}},{key:"draw",value:function(s){if(!(!this.isOpen&&!s)){var a=this.options,u=a.minYear,h=a.maxYear,p=a.minMonth,g=a.maxMonth,f="",v=void 0;this._y<=u&&(this._y=u,!isNaN(p)&&this._m<p&&(this._m=p)),this._y>=h&&(this._y=h,!isNaN(g)&&this._m>g&&(this._m=g)),v="datepicker-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var _=0;_<1;_++)this._renderDateDisplay(),f+=this.renderTitle(this,_,this.calendars[_].year,this.calendars[_].month,this.calendars[0].year,v)+this.render(this.calendars[_].year,this.calendars[_].month,v);this.destroySelects(),this.calendarEl.innerHTML=f;var w=this.calendarEl.querySelector(".orig-select-year"),b=this.calendarEl.querySelector(".orig-select-month");M.FormSelect.init(w,{classes:"select-year",dropdownOptions:{container:document.body,constrainWidth:!1}}),M.FormSelect.init(b,{classes:"select-month",dropdownOptions:{container:document.body,constrainWidth:!1}}),w.addEventListener("change",this._handleYearChange.bind(this)),b.addEventListener("change",this._handleMonthChange.bind(this)),typeof this.options.onDraw=="function"&&this.options.onDraw(this)}}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleInputChangeBound=this._handleInputChange.bind(this),this._handleCalendarClickBound=this._handleCalendarClick.bind(this),this._finishSelectionBound=this._finishSelection.bind(this),this._handleMonthChange=this._handleMonthChange.bind(this),this._closeBound=this.close.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("change",this._handleInputChangeBound),this.calendarEl.addEventListener("click",this._handleCalendarClickBound),this.doneBtn.addEventListener("click",this._finishSelectionBound),this.cancelBtn.addEventListener("click",this._closeBound),this.options.showClearBtn&&(this._handleClearClickBound=this._handleClearClick.bind(this),this.clearBtn.addEventListener("click",this._handleClearClickBound))}},{key:"_setupVariables",value:function(){var s=this;this.$modalEl=i(o._template),this.modalEl=this.$modalEl[0],this.calendarEl=this.modalEl.querySelector(".datepicker-calendar"),this.yearTextEl=this.modalEl.querySelector(".year-text"),this.dateTextEl=this.modalEl.querySelector(".date-text"),this.options.showClearBtn&&(this.clearBtn=this.modalEl.querySelector(".datepicker-clear")),this.doneBtn=this.modalEl.querySelector(".datepicker-done"),this.cancelBtn=this.modalEl.querySelector(".datepicker-cancel"),this.formats={d:function(){return s.date.getDate()},dd:function(){var a=s.date.getDate();return(a<10?"0":"")+a},ddd:function(){return s.options.i18n.weekdaysShort[s.date.getDay()]},dddd:function(){return s.options.i18n.weekdays[s.date.getDay()]},m:function(){return s.date.getMonth()+1},mm:function(){var a=s.date.getMonth()+1;return(a<10?"0":"")+a},mmm:function(){return s.options.i18n.monthsShort[s.date.getMonth()]},mmmm:function(){return s.options.i18n.months[s.date.getMonth()]},yy:function(){return(""+s.date.getFullYear()).slice(2)},yyyy:function(){return s.date.getFullYear()}}}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("change",this._handleInputChangeBound),this.calendarEl.removeEventListener("click",this._handleCalendarClickBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(s){s.which===M.keys.ENTER&&(s.preventDefault(),this.open())}},{key:"_handleCalendarClick",value:function(s){if(!!this.isOpen){var a=i(s.target);a.hasClass("is-disabled")||(a.hasClass("datepicker-day-button")&&!a.hasClass("is-empty")&&!a.parent().hasClass("is-disabled")?(this.setDate(new Date(s.target.getAttribute("data-year"),s.target.getAttribute("data-month"),s.target.getAttribute("data-day"))),this.options.autoClose&&this._finishSelection()):a.closest(".month-prev").length?this.prevMonth():a.closest(".month-next").length&&this.nextMonth())}}},{key:"_handleClearClick",value:function(){this.date=null,this.setInputValue(),this.close()}},{key:"_handleMonthChange",value:function(s){this.gotoMonth(s.target.value)}},{key:"_handleYearChange",value:function(s){this.gotoYear(s.target.value)}},{key:"gotoMonth",value:function(s){isNaN(s)||(this.calendars[0].month=parseInt(s,10),this.adjustCalendars())}},{key:"gotoYear",value:function(s){isNaN(s)||(this.calendars[0].year=parseInt(s,10),this.adjustCalendars())}},{key:"_handleInputChange",value:function(s){var a=void 0;s.firedBy!==this&&(this.options.parse?a=this.options.parse(this.el.value,this.options.format):a=new Date(Date.parse(this.el.value)),o._isDate(a)&&this.setDate(a))}},{key:"renderDayName",value:function(s,a,u){for(a+=s.firstDay;a>=7;)a-=7;return u?s.i18n.weekdaysAbbrev[a]:s.i18n.weekdays[a]}},{key:"_finishSelection",value:function(){this.setInputValue(),this.close()}},{key:"open",value:function(){if(!this.isOpen)return this.isOpen=!0,typeof this.options.onOpen=="function"&&this.options.onOpen.call(this),this.draw(),this.modal.open(),this}},{key:"close",value:function(){if(!!this.isOpen)return this.isOpen=!1,typeof this.options.onClose=="function"&&this.options.onClose.call(this),this.modal.close(),this}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"_isDate",value:function(s){return/Date/.test(Object.prototype.toString.call(s))&&!isNaN(s.getTime())}},{key:"_isWeekend",value:function(s){var a=s.getDay();return a===0||a===6}},{key:"_setToStartOfDay",value:function(s){o._isDate(s)&&s.setHours(0,0,0,0)}},{key:"_getDaysInMonth",value:function(s,a){return[31,o._isLeapYear(s)?29:28,31,30,31,30,31,31,30,31,30,31][a]}},{key:"_isLeapYear",value:function(s){return s%4==0&&s%100!=0||s%400==0}},{key:"_compareDates",value:function(s,a){return s.getTime()===a.getTime()}},{key:"_setToStartOfDay",value:function(s){o._isDate(s)&&s.setHours(0,0,0,0)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Datepicker}},{key:"defaults",get:function(){return t}}]),o}(an);n._template=['<div class= "modal datepicker-modal">','<div class="modal-content datepicker-container">','<div class="datepicker-date-display">','<span class="year-text"></span>','<span class="date-text"></span>',"</div>",'<div class="datepicker-calendar-container">','<div class="datepicker-calendar"></div>','<div class="datepicker-footer">','<button class="btn-flat datepicker-clear waves-effect" style="visibility: hidden;" type="button"></button>','<div class="confirmation-btns">','<button class="btn-flat datepicker-cancel waves-effect" type="button"></button>','<button class="btn-flat datepicker-done waves-effect" type="button"></button>',"</div>","</div>","</div>","</div>","</div>"].join(""),M.Datepicker=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"datepicker","M_Datepicker")})(cash);(function(i){"use strict";var t={dialRadius:135,outerRadius:105,innerRadius:70,tickRadius:20,duration:350,container:null,defaultTime:"now",fromNow:0,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok"},autoClose:!1,twelveHour:!0,vibrate:!0,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onSelect:null},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_Timepicker=a,a.options=i.extend({},o.defaults,s),a.id=M.guid(),a._insertHTMLIntoDOM(),a._setupModal(),a._setupVariables(),a._setupEventHandlers(),a._clockSetup(),a._pickerSetup(),a}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),i(this.modalEl).remove(),this.el.M_Timepicker=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleClockClickStartBound=this._handleClockClickStart.bind(this),this._handleDocumentClickMoveBound=this._handleDocumentClickMove.bind(this),this._handleDocumentClickEndBound=this._handleDocumentClickEnd.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.plate.addEventListener("mousedown",this._handleClockClickStartBound),this.plate.addEventListener("touchstart",this._handleClockClickStartBound),i(this.spanHours).on("click",this.showView.bind(this,"hours")),i(this.spanMinutes).on("click",this.showView.bind(this,"minutes"))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(s){s.which===M.keys.ENTER&&(s.preventDefault(),this.open())}},{key:"_handleClockClickStart",value:function(s){s.preventDefault();var a=this.plate.getBoundingClientRect(),u={x:a.left,y:a.top};this.x0=u.x+this.options.dialRadius,this.y0=u.y+this.options.dialRadius,this.moved=!1;var h=o._Pos(s);this.dx=h.x-this.x0,this.dy=h.y-this.y0,this.setHand(this.dx,this.dy,!1),document.addEventListener("mousemove",this._handleDocumentClickMoveBound),document.addEventListener("touchmove",this._handleDocumentClickMoveBound),document.addEventListener("mouseup",this._handleDocumentClickEndBound),document.addEventListener("touchend",this._handleDocumentClickEndBound)}},{key:"_handleDocumentClickMove",value:function(s){s.preventDefault();var a=o._Pos(s),u=a.x-this.x0,h=a.y-this.y0;this.moved=!0,this.setHand(u,h,!1,!0)}},{key:"_handleDocumentClickEnd",value:function(s){var a=this;s.preventDefault(),document.removeEventListener("mouseup",this._handleDocumentClickEndBound),document.removeEventListener("touchend",this._handleDocumentClickEndBound);var u=o._Pos(s),h=u.x-this.x0,p=u.y-this.y0;this.moved&&h===this.dx&&p===this.dy&&this.setHand(h,p),this.currentView==="hours"?this.showView("minutes",this.options.duration/2):this.options.autoClose&&(i(this.minutesView).addClass("timepicker-dial-out"),setTimeout(function(){a.done()},this.options.duration/2)),typeof this.options.onSelect=="function"&&this.options.onSelect.call(this,this.hours,this.minutes),document.removeEventListener("mousemove",this._handleDocumentClickMoveBound),document.removeEventListener("touchmove",this._handleDocumentClickMoveBound)}},{key:"_insertHTMLIntoDOM",value:function(){this.$modalEl=i(o._template),this.modalEl=this.$modalEl[0],this.modalEl.id="modal-"+this.id;var s=document.querySelector(this.options.container);this.options.container&&!!s?this.$modalEl.appendTo(s):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var s=this;this.modal=M.Modal.init(this.modalEl,{onOpenStart:this.options.onOpenStart,onOpenEnd:this.options.onOpenEnd,onCloseStart:this.options.onCloseStart,onCloseEnd:function(){typeof s.options.onCloseEnd=="function"&&s.options.onCloseEnd.call(s),s.isOpen=!1}})}},{key:"_setupVariables",value:function(){this.currentView="hours",this.vibrate=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,this._canvas=this.modalEl.querySelector(".timepicker-canvas"),this.plate=this.modalEl.querySelector(".timepicker-plate"),this.hoursView=this.modalEl.querySelector(".timepicker-hours"),this.minutesView=this.modalEl.querySelector(".timepicker-minutes"),this.spanHours=this.modalEl.querySelector(".timepicker-span-hours"),this.spanMinutes=this.modalEl.querySelector(".timepicker-span-minutes"),this.spanAmPm=this.modalEl.querySelector(".timepicker-span-am-pm"),this.footer=this.modalEl.querySelector(".timepicker-footer"),this.amOrPm="PM"}},{key:"_pickerSetup",value:function(){var s=i('<button class="btn-flat timepicker-clear waves-effect" style="visibility: hidden;" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.clear+"</button>").appendTo(this.footer).on("click",this.clear.bind(this));this.options.showClearBtn&&s.css({visibility:""});var a=i('<div class="confirmation-btns"></div>');i('<button class="btn-flat timepicker-close waves-effect" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.cancel+"</button>").appendTo(a).on("click",this.close.bind(this)),i('<button class="btn-flat timepicker-close waves-effect" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.done+"</button>").appendTo(a).on("click",this.done.bind(this)),a.appendTo(this.footer)}},{key:"_clockSetup",value:function(){this.options.twelveHour&&(this.$amBtn=i('<div class="am-btn">AM</div>'),this.$pmBtn=i('<div class="pm-btn">PM</div>'),this.$amBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm),this.$pmBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm)),this._buildHoursView(),this._buildMinutesView(),this._buildSVGClock()}},{key:"_buildSVGClock",value:function(){var s=this.options.dialRadius,a=this.options.tickRadius,u=s*2,h=o._createSVGEl("svg");h.setAttribute("class","timepicker-svg"),h.setAttribute("width",u),h.setAttribute("height",u);var p=o._createSVGEl("g");p.setAttribute("transform","translate("+s+","+s+")");var g=o._createSVGEl("circle");g.setAttribute("class","timepicker-canvas-bearing"),g.setAttribute("cx",0),g.setAttribute("cy",0),g.setAttribute("r",4);var f=o._createSVGEl("line");f.setAttribute("x1",0),f.setAttribute("y1",0);var v=o._createSVGEl("circle");v.setAttribute("class","timepicker-canvas-bg"),v.setAttribute("r",a),p.appendChild(f),p.appendChild(v),p.appendChild(g),h.appendChild(p),this._canvas.appendChild(h),this.hand=f,this.bg=v,this.bearing=g,this.g=p}},{key:"_buildHoursView",value:function(){var s=i('<div class="timepicker-tick"></div>');if(this.options.twelveHour)for(var a=1;a<13;a+=1){var u=s.clone(),h=a/6*Math.PI,p=this.options.outerRadius;u.css({left:this.options.dialRadius+Math.sin(h)*p-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(h)*p-this.options.tickRadius+"px"}),u.html(a===0?"00":a),this.hoursView.appendChild(u[0])}else for(var g=0;g<24;g+=1){var f=s.clone(),v=g/6*Math.PI,_=g>0&&g<13,w=_?this.options.innerRadius:this.options.outerRadius;f.css({left:this.options.dialRadius+Math.sin(v)*w-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(v)*w-this.options.tickRadius+"px"}),f.html(g===0?"00":g),this.hoursView.appendChild(f[0])}}},{key:"_buildMinutesView",value:function(){for(var s=i('<div class="timepicker-tick"></div>'),a=0;a<60;a+=5){var u=s.clone(),h=a/30*Math.PI;u.css({left:this.options.dialRadius+Math.sin(h)*this.options.outerRadius-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(h)*this.options.outerRadius-this.options.tickRadius+"px"}),u.html(o._addLeadingZero(a)),this.minutesView.appendChild(u[0])}}},{key:"_handleAmPmClick",value:function(s){var a=i(s.target);this.amOrPm=a.hasClass("am-btn")?"AM":"PM",this._updateAmPmView()}},{key:"_updateAmPmView",value:function(){this.options.twelveHour&&(this.$amBtn.toggleClass("text-primary",this.amOrPm==="AM"),this.$pmBtn.toggleClass("text-primary",this.amOrPm==="PM"))}},{key:"_updateTimeFromInput",value:function(){var s=((this.el.value||this.options.defaultTime||"")+"").split(":");if(this.options.twelveHour&&typeof s[1]!="undefined"&&(s[1].toUpperCase().indexOf("AM")>0?this.amOrPm="AM":this.amOrPm="PM",s[1]=s[1].replace("AM","").replace("PM","")),s[0]==="now"){var a=new Date(+new Date+this.options.fromNow);s=[a.getHours(),a.getMinutes()],this.options.twelveHour&&(this.amOrPm=s[0]>=12&&s[0]<24?"PM":"AM")}this.hours=+s[0]||0,this.minutes=+s[1]||0,this.spanHours.innerHTML=this.hours,this.spanMinutes.innerHTML=o._addLeadingZero(this.minutes),this._updateAmPmView()}},{key:"showView",value:function(s,a){s==="minutes"&&i(this.hoursView).css("visibility")==="visible";var u=s==="hours",h=u?this.hoursView:this.minutesView,p=u?this.minutesView:this.hoursView;this.currentView=s,i(this.spanHours).toggleClass("text-primary",u),i(this.spanMinutes).toggleClass("text-primary",!u),p.classList.add("timepicker-dial-out"),i(h).css("visibility","visible").removeClass("timepicker-dial-out"),this.resetClock(a),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout(function(){i(p).css("visibility","hidden")},this.options.duration)}},{key:"resetClock",value:function(s){var a=this.currentView,u=this[a],h=a==="hours",p=Math.PI/(h?6:30),g=u*p,f=h&&u>0&&u<13?this.options.innerRadius:this.options.outerRadius,v=Math.sin(g)*f,_=-Math.cos(g)*f,w=this;s?(i(this.canvas).addClass("timepicker-canvas-out"),setTimeout(function(){i(w.canvas).removeClass("timepicker-canvas-out"),w.setHand(v,_)},s)):this.setHand(v,_)}},{key:"setHand",value:function(s,a,u){var h=this,p=Math.atan2(s,-a),g=this.currentView==="hours",f=Math.PI/(g||u?6:30),v=Math.sqrt(s*s+a*a),_=g&&v<(this.options.outerRadius+this.options.innerRadius)/2,w=_?this.options.innerRadius:this.options.outerRadius;this.options.twelveHour&&(w=this.options.outerRadius),p<0&&(p=Math.PI*2+p);var b=Math.round(p/f);p=b*f,this.options.twelveHour?g?b===0&&(b=12):(u&&(b*=5),b===60&&(b=0)):g?(b===12&&(b=0),b=_?b===0?12:b:b===0?0:b+12):(u&&(b*=5),b===60&&(b=0)),this[this.currentView]!==b&&this.vibrate&&this.options.vibrate&&(this.vibrateTimer||(navigator[this.vibrate](10),this.vibrateTimer=setTimeout(function(){h.vibrateTimer=null},100))),this[this.currentView]=b,g?this.spanHours.innerHTML=b:this.spanMinutes.innerHTML=o._addLeadingZero(b);var E=Math.sin(p)*(w-this.options.tickRadius),S=-Math.cos(p)*(w-this.options.tickRadius),C=Math.sin(p)*w,R=-Math.cos(p)*w;this.hand.setAttribute("x2",E),this.hand.setAttribute("y2",S),this.bg.setAttribute("cx",C),this.bg.setAttribute("cy",R)}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,this._updateTimeFromInput(),this.showView("hours"),this.modal.open())}},{key:"close",value:function(){!this.isOpen||(this.isOpen=!1,this.modal.close())}},{key:"done",value:function(s,a){var u=this.el.value,h=a?"":o._addLeadingZero(this.hours)+":"+o._addLeadingZero(this.minutes);this.time=h,!a&&this.options.twelveHour&&(h=h+" "+this.amOrPm),this.el.value=h,h!==u&&this.$el.trigger("change"),this.close(),this.el.focus()}},{key:"clear",value:function(){this.done(null,!0)}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"_addLeadingZero",value:function(s){return(s<10?"0":"")+s}},{key:"_createSVGEl",value:function(s){var a="http://www.w3.org/2000/svg";return document.createElementNS(a,s)}},{key:"_Pos",value:function(s){return s.targetTouches&&s.targetTouches.length>=1?{x:s.targetTouches[0].clientX,y:s.targetTouches[0].clientY}:{x:s.clientX,y:s.clientY}}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Timepicker}},{key:"defaults",get:function(){return t}}]),o}(an);n._template=['<div class= "modal timepicker-modal">','<div class="modal-content timepicker-container">','<div class="timepicker-digital-display">','<div class="timepicker-text-container">','<div class="timepicker-display-column">','<span class="timepicker-span-hours text-primary"></span>',":",'<span class="timepicker-span-minutes"></span>',"</div>",'<div class="timepicker-display-column timepicker-display-am-pm">','<div class="timepicker-span-am-pm"></div>',"</div>","</div>","</div>",'<div class="timepicker-analog-display">','<div class="timepicker-plate">','<div class="timepicker-canvas"></div>','<div class="timepicker-dial timepicker-hours"></div>','<div class="timepicker-dial timepicker-minutes timepicker-dial-out"></div>',"</div>",'<div class="timepicker-footer"></div>',"</div>","</div>","</div>"].join(""),M.Timepicker=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"timepicker","M_Timepicker")})(cash);(function(i){"use strict";var t={},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_CharacterCounter=a,a.options=i.extend({},o.defaults,s),a.isInvalid=!1,a.isValidLength=!1,a._setupCounter(),a._setupEventHandlers(),a}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.CharacterCounter=void 0,this._removeCounter()}},{key:"_setupEventHandlers",value:function(){this._handleUpdateCounterBound=this.updateCounter.bind(this),this.el.addEventListener("focus",this._handleUpdateCounterBound,!0),this.el.addEventListener("input",this._handleUpdateCounterBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("focus",this._handleUpdateCounterBound,!0),this.el.removeEventListener("input",this._handleUpdateCounterBound,!0)}},{key:"_setupCounter",value:function(){this.counterEl=document.createElement("span"),i(this.counterEl).addClass("character-counter").css({float:"right","font-size":"12px",height:1}),this.$el.parent().append(this.counterEl)}},{key:"_removeCounter",value:function(){i(this.counterEl).remove()}},{key:"updateCounter",value:function(){var s=+this.$el.attr("data-length"),a=this.el.value.length;this.isValidLength=a<=s;var u=a;s&&(u+="/"+s,this._validateInput()),i(this.counterEl).html(u)}},{key:"_validateInput",value:function(){this.isValidLength&&this.isInvalid?(this.isInvalid=!1,this.$el.removeClass("invalid")):!this.isValidLength&&!this.isInvalid&&(this.isInvalid=!0,this.$el.removeClass("valid"),this.$el.addClass("invalid"))}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_CharacterCounter}},{key:"defaults",get:function(){return t}}]),o}(an);M.CharacterCounter=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"characterCounter","M_CharacterCounter")})(cash);(function(i){"use strict";var t={duration:200,dist:-100,shift:0,padding:0,numVisible:5,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_Carousel=a,a.options=i.extend({},o.defaults,s),a.hasMultipleSlides=a.$el.find(".carousel-item").length>1,a.showIndicators=a.options.indicators&&a.hasMultipleSlides,a.noWrap=a.options.noWrap||!a.hasMultipleSlides,a.pressed=!1,a.dragged=!1,a.offset=a.target=0,a.images=[],a.itemWidth=a.$el.find(".carousel-item").first().innerWidth(),a.itemHeight=a.$el.find(".carousel-item").first().innerHeight(),a.dim=a.itemWidth*2+a.options.padding||1,a._autoScrollBound=a._autoScroll.bind(a),a._trackBound=a._track.bind(a),a.options.fullWidth&&(a.options.dist=0,a._setCarouselHeight(),a.showIndicators&&a.$el.find(".carousel-fixed-item").addClass("with-indicators")),a.$indicators=i('<ul class="indicators"></ul>'),a.$el.find(".carousel-item").each(function(u,h){if(a.images.push(u),a.showIndicators){var p=i('<li class="indicator-item"></li>');h===0&&p[0].classList.add("active"),a.$indicators.append(p)}}),a.showIndicators&&a.$el.append(a.$indicators),a.count=a.images.length,a.options.numVisible=Math.min(a.count,a.options.numVisible),a.xform="transform",["webkit","Moz","O","ms"].every(function(u){var h=u+"Transform";return typeof document.body.style[h]!="undefined"?(a.xform=h,!1):!0}),a._setupEventHandlers(),a._scroll(a.offset),a}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Carousel=void 0}},{key:"_setupEventHandlers",value:function(){var s=this;this._handleCarouselTapBound=this._handleCarouselTap.bind(this),this._handleCarouselDragBound=this._handleCarouselDrag.bind(this),this._handleCarouselReleaseBound=this._handleCarouselRelease.bind(this),this._handleCarouselClickBound=this._handleCarouselClick.bind(this),typeof window.ontouchstart!="undefined"&&(this.el.addEventListener("touchstart",this._handleCarouselTapBound),this.el.addEventListener("touchmove",this._handleCarouselDragBound),this.el.addEventListener("touchend",this._handleCarouselReleaseBound)),this.el.addEventListener("mousedown",this._handleCarouselTapBound),this.el.addEventListener("mousemove",this._handleCarouselDragBound),this.el.addEventListener("mouseup",this._handleCarouselReleaseBound),this.el.addEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.addEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&(this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.$indicators.find(".indicator-item").each(function(u,h){u.addEventListener("click",s._handleIndicatorClickBound)}));var a=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=a.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){var s=this;typeof window.ontouchstart!="undefined"&&(this.el.removeEventListener("touchstart",this._handleCarouselTapBound),this.el.removeEventListener("touchmove",this._handleCarouselDragBound),this.el.removeEventListener("touchend",this._handleCarouselReleaseBound)),this.el.removeEventListener("mousedown",this._handleCarouselTapBound),this.el.removeEventListener("mousemove",this._handleCarouselDragBound),this.el.removeEventListener("mouseup",this._handleCarouselReleaseBound),this.el.removeEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.removeEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&this.$indicators.find(".indicator-item").each(function(a,u){a.removeEventListener("click",s._handleIndicatorClickBound)}),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleCarouselTap",value:function(s){s.type==="mousedown"&&i(s.target).is("img")&&s.preventDefault(),this.pressed=!0,this.dragged=!1,this.verticalDragged=!1,this.reference=this._xpos(s),this.referenceY=this._ypos(s),this.velocity=this.amplitude=0,this.frame=this.offset,this.timestamp=Date.now(),clearInterval(this.ticker),this.ticker=setInterval(this._trackBound,100)}},{key:"_handleCarouselDrag",value:function(s){var a=void 0,u=void 0,h=void 0,p=void 0;if(this.pressed)if(a=this._xpos(s),u=this._ypos(s),h=this.reference-a,p=Math.abs(this.referenceY-u),p<30&&!this.verticalDragged)(h>2||h<-2)&&(this.dragged=!0,this.reference=a,this._scroll(this.offset+h));else{if(this.dragged)return s.preventDefault(),s.stopPropagation(),!1;this.verticalDragged=!0}if(this.dragged)return s.preventDefault(),s.stopPropagation(),!1}},{key:"_handleCarouselRelease",value:function(s){if(this.pressed)this.pressed=!1;else return;return clearInterval(this.ticker),this.target=this.offset,(this.velocity>10||this.velocity<-10)&&(this.amplitude=.9*this.velocity,this.target=this.offset+this.amplitude),this.target=Math.round(this.target/this.dim)*this.dim,this.noWrap&&(this.target>=this.dim*(this.count-1)?this.target=this.dim*(this.count-1):this.target<0&&(this.target=0)),this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound),this.dragged&&(s.preventDefault(),s.stopPropagation()),!1}},{key:"_handleCarouselClick",value:function(s){if(this.dragged)return s.preventDefault(),s.stopPropagation(),!1;if(!this.options.fullWidth){var a=i(s.target).closest(".carousel-item").index(),u=this._wrap(this.center)-a;u!==0&&(s.preventDefault(),s.stopPropagation()),this._cycleTo(a)}}},{key:"_handleIndicatorClick",value:function(s){s.stopPropagation();var a=i(s.target).closest(".indicator-item");a.length&&this._cycleTo(a.index())}},{key:"_handleResize",value:function(s){this.options.fullWidth?(this.itemWidth=this.$el.find(".carousel-item").first().innerWidth(),this.imageHeight=this.$el.find(".carousel-item.active").height(),this.dim=this.itemWidth*2+this.options.padding,this.offset=this.center*2*this.itemWidth,this.target=this.offset,this._setCarouselHeight(!0)):this._scroll()}},{key:"_setCarouselHeight",value:function(s){var a=this,u=this.$el.find(".carousel-item.active").length?this.$el.find(".carousel-item.active").first():this.$el.find(".carousel-item").first(),h=u.find("img").first();if(h.length)if(h[0].complete){var p=h.height();if(p>0)this.$el.css("height",p+"px");else{var g=h[0].naturalWidth,f=h[0].naturalHeight,v=this.$el.width()/g*f;this.$el.css("height",v+"px")}}else h.one("load",function(w,b){a.$el.css("height",w.offsetHeight+"px")});else if(!s){var _=u.height();this.$el.css("height",_+"px")}}},{key:"_xpos",value:function(s){return s.targetTouches&&s.targetTouches.length>=1?s.targetTouches[0].clientX:s.clientX}},{key:"_ypos",value:function(s){return s.targetTouches&&s.targetTouches.length>=1?s.targetTouches[0].clientY:s.clientY}},{key:"_wrap",value:function(s){return s>=this.count?s%this.count:s<0?this._wrap(this.count+s%this.count):s}},{key:"_track",value:function(){var s=void 0,a=void 0,u=void 0,h=void 0;s=Date.now(),a=s-this.timestamp,this.timestamp=s,u=this.offset-this.frame,this.frame=this.offset,h=1e3*u/(1+a),this.velocity=.8*h+.2*this.velocity}},{key:"_autoScroll",value:function(){var s=void 0,a=void 0;this.amplitude&&(s=Date.now()-this.timestamp,a=this.amplitude*Math.exp(-s/this.options.duration),a>2||a<-2?(this._scroll(this.target-a),requestAnimationFrame(this._autoScrollBound)):this._scroll(this.target))}},{key:"_scroll",value:function(s){var a=this;this.$el.hasClass("scrolling")||this.el.classList.add("scrolling"),this.scrollingTimeout!=null&&window.clearTimeout(this.scrollingTimeout),this.scrollingTimeout=window.setTimeout(function(){a.$el.removeClass("scrolling")},this.options.duration);var u=void 0,h=void 0,p=void 0,g=void 0,f=void 0,v=void 0,_=void 0,w=void 0,b=void 0,E=void 0,S=this.center,C=1/this.options.numVisible;if(this.offset=typeof s=="number"?s:this.offset,this.center=Math.floor((this.offset+this.dim/2)/this.dim),p=this.offset-this.center*this.dim,g=p<0?1:-1,f=-g*p*2/this.dim,h=this.count>>1,this.options.fullWidth?(_="translateX(0)",E=1):(_="translateX("+(this.el.clientWidth-this.itemWidth)/2+"px) ",_+="translateY("+(this.el.clientHeight-this.itemHeight)/2+"px)",E=1-C*f),this.showIndicators){var R=this.center%this.count,A=this.$indicators.find(".indicator-item.active");A.index()!==R&&(A.removeClass("active"),this.$indicators.find(".indicator-item").eq(R)[0].classList.add("active"))}if(!this.noWrap||this.center>=0&&this.center<this.count){v=this.images[this._wrap(this.center)],i(v).hasClass("active")||(this.$el.find(".carousel-item").removeClass("active"),v.classList.add("active"));var I=_+" translateX("+-p/2+"px) translateX("+g*this.options.shift*f*u+"px) translateZ("+this.options.dist*f+"px)";this._updateItemStyle(v,E,0,I)}for(u=1;u<=h;++u){if(this.options.fullWidth?(w=this.options.dist,b=u===h&&p<0?1-f:1):(w=this.options.dist*(u*2+f*g),b=1-C*(u*2+f*g)),!this.noWrap||this.center+u<this.count){v=this.images[this._wrap(this.center+u)];var G=_+" translateX("+(this.options.shift+(this.dim*u-p)/2)+"px) translateZ("+w+"px)";this._updateItemStyle(v,b,-u,G)}if(this.options.fullWidth?(w=this.options.dist,b=u===h&&p>0?1-f:1):(w=this.options.dist*(u*2-f*g),b=1-C*(u*2-f*g)),!this.noWrap||this.center-u>=0){v=this.images[this._wrap(this.center-u)];var D=_+" translateX("+(-this.options.shift+(-this.dim*u-p)/2)+"px) translateZ("+w+"px)";this._updateItemStyle(v,b,-u,D)}}if(!this.noWrap||this.center>=0&&this.center<this.count){v=this.images[this._wrap(this.center)];var V=_+" translateX("+-p/2+"px) translateX("+g*this.options.shift*f+"px) translateZ("+this.options.dist*f+"px)";this._updateItemStyle(v,E,0,V)}var q=this.$el.find(".carousel-item").eq(this._wrap(this.center));S!==this.center&&typeof this.options.onCycleTo=="function"&&this.options.onCycleTo.call(this,q[0],this.dragged),typeof this.oneTimeCallback=="function"&&(this.oneTimeCallback.call(this,q[0],this.dragged),this.oneTimeCallback=null)}},{key:"_updateItemStyle",value:function(s,a,u,h){s.style[this.xform]=h,s.style.zIndex=u,s.style.opacity=a,s.style.visibility="visible"}},{key:"_cycleTo",value:function(s,a){var u=this.center%this.count-s;this.noWrap||(u<0?Math.abs(u+this.count)<Math.abs(u)&&(u+=this.count):u>0&&Math.abs(u-this.count)<u&&(u-=this.count)),this.target=this.dim*Math.round(this.offset/this.dim),u<0?this.target+=this.dim*Math.abs(u):u>0&&(this.target-=this.dim*u),typeof a=="function"&&(this.oneTimeCallback=a),this.offset!==this.target&&(this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound))}},{key:"next",value:function(s){(s===void 0||isNaN(s))&&(s=1);var a=this.center+s;if(a>=this.count||a<0){if(this.noWrap)return;a=this._wrap(a)}this._cycleTo(a)}},{key:"prev",value:function(s){(s===void 0||isNaN(s))&&(s=1);var a=this.center-s;if(a>=this.count||a<0){if(this.noWrap)return;a=this._wrap(a)}this._cycleTo(a)}},{key:"set",value:function(s,a){if((s===void 0||isNaN(s))&&(s=0),s>this.count||s<0){if(this.noWrap)return;s=this._wrap(s)}this._cycleTo(s,a)}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_Carousel}},{key:"defaults",get:function(){return t}}]),o}(an);M.Carousel=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"carousel","M_Carousel")})(cash);(function(i){"use strict";var t={onOpen:void 0,onClose:void 0},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.el.M_TapTarget=a,a.options=i.extend({},o.defaults,s),a.isOpen=!1,a.$origin=i("#"+a.$el.attr("data-target")),a._setup(),a._calculatePositioning(),a._setupEventHandlers(),a}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.TapTarget=void 0}},{key:"_setupEventHandlers",value:function(){this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleTargetClickBound=this._handleTargetClick.bind(this),this._handleOriginClickBound=this._handleOriginClick.bind(this),this.el.addEventListener("click",this._handleTargetClickBound),this.originEl.addEventListener("click",this._handleOriginClickBound);var s=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=s.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleTargetClickBound),this.originEl.removeEventListener("click",this._handleOriginClickBound),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleTargetClick",value:function(s){this.open()}},{key:"_handleOriginClick",value:function(s){this.close()}},{key:"_handleResize",value:function(s){this._calculatePositioning()}},{key:"_handleDocumentClick",value:function(s){i(s.target).closest(".tap-target-wrapper").length||(this.close(),s.preventDefault(),s.stopPropagation())}},{key:"_setup",value:function(){this.wrapper=this.$el.parent()[0],this.waveEl=i(this.wrapper).find(".tap-target-wave")[0],this.originEl=i(this.wrapper).find(".tap-target-origin")[0],this.contentEl=this.$el.find(".tap-target-content")[0],i(this.wrapper).hasClass(".tap-target-wrapper")||(this.wrapper=document.createElement("div"),this.wrapper.classList.add("tap-target-wrapper"),this.$el.before(i(this.wrapper)),this.wrapper.append(this.el)),this.contentEl||(this.contentEl=document.createElement("div"),this.contentEl.classList.add("tap-target-content"),this.$el.append(this.contentEl)),this.waveEl||(this.waveEl=document.createElement("div"),this.waveEl.classList.add("tap-target-wave"),this.originEl||(this.originEl=this.$origin.clone(!0,!0),this.originEl.addClass("tap-target-origin"),this.originEl.removeAttr("id"),this.originEl.removeAttr("style"),this.originEl=this.originEl[0],this.waveEl.append(this.originEl)),this.wrapper.append(this.waveEl))}},{key:"_calculatePositioning",value:function(){var s=this.$origin.css("position")==="fixed";if(!s)for(var a=this.$origin.parents(),u=0;u<a.length&&(s=i(a[u]).css("position")=="fixed",!s);u++);var h=this.$origin.outerWidth(),p=this.$origin.outerHeight(),g=s?this.$origin.offset().top-M.getDocumentScrollTop():this.$origin.offset().top,f=s?this.$origin.offset().left-M.getDocumentScrollLeft():this.$origin.offset().left,v=window.innerWidth,_=window.innerHeight,w=v/2,b=_/2,E=f<=w,S=f>w,C=g<=b,R=g>b,A=f>=v*.25&&f<=v*.75,I=this.$el.outerWidth(),G=this.$el.outerHeight(),D=g+p/2-G/2,V=f+h/2-I/2,q=s?"fixed":"absolute",j=A?I:I/2+h,N=G/2,U=C?G/2:0,X=0,Ee=E&&!A?I/2-h:0,ue=0,Se=h,le=R?"bottom":"top",ge=(h>p,h*2),Te=ge,ce=G/2-Te/2,xe=I/2-ge/2,ke={};ke.top=C?D+"px":"",ke.right=S?v-V-I+"px":"",ke.bottom=R?_-D-G+"px":"",ke.left=E?V+"px":"",ke.position=q,i(this.wrapper).css(ke),i(this.contentEl).css({width:j+"px",height:N+"px",top:U+"px",right:ue+"px",bottom:X+"px",left:Ee+"px",padding:Se+"px",verticalAlign:le}),i(this.waveEl).css({top:ce+"px",left:xe+"px",width:ge+"px",height:Te+"px"})}},{key:"open",value:function(){this.isOpen||(typeof this.options.onOpen=="function"&&this.options.onOpen.call(this,this.$origin[0]),this.isOpen=!0,this.wrapper.classList.add("open"),document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound))}},{key:"close",value:function(){!this.isOpen||(typeof this.options.onClose=="function"&&this.options.onClose.call(this,this.$origin[0]),this.isOpen=!1,this.wrapper.classList.remove("open"),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound))}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_TapTarget}},{key:"defaults",get:function(){return t}}]),o}(an);M.TapTarget=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"tapTarget","M_TapTarget")})(cash);(function(i){"use strict";var t={classes:"",dropdownOptions:{}},n=function(r){sn(o,r);function o(l,s){Vt(this,o);var a=Xt(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,o,l,s));return a.$el.hasClass("browser-default")?Xt(a):(a.el.M_FormSelect=a,a.options=i.extend({},o.defaults,s),a.isMultiple=a.$el.prop("multiple"),a.el.tabIndex=-1,a._keysSelected={},a._valueDict={},a._setupDropdown(),a._setupEventHandlers(),a)}return zt(o,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_FormSelect=void 0}},{key:"_setupEventHandlers",value:function(){var s=this;this._handleSelectChangeBound=this._handleSelectChange.bind(this),this._handleOptionClickBound=this._handleOptionClick.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),i(this.dropdownOptions).find("li:not(.optgroup)").each(function(a){a.addEventListener("click",s._handleOptionClickBound)}),this.el.addEventListener("change",this._handleSelectChangeBound),this.input.addEventListener("click",this._handleInputClickBound)}},{key:"_removeEventHandlers",value:function(){var s=this;i(this.dropdownOptions).find("li:not(.optgroup)").each(function(a){a.removeEventListener("click",s._handleOptionClickBound)}),this.el.removeEventListener("change",this._handleSelectChangeBound),this.input.removeEventListener("click",this._handleInputClickBound)}},{key:"_handleSelectChange",value:function(s){this._setValueToInput()}},{key:"_handleOptionClick",value:function(s){s.preventDefault();var a=i(s.target).closest("li")[0],u=a.id;if(!i(a).hasClass("disabled")&&!i(a).hasClass("optgroup")&&u.length){var h=!0;if(this.isMultiple){var p=i(this.dropdownOptions).find("li.disabled.selected");p.length&&(p.removeClass("selected"),p.find('input[type="checkbox"]').prop("checked",!1),this._toggleEntryFromArray(p[0].id)),h=this._toggleEntryFromArray(u)}else i(this.dropdownOptions).find("li").removeClass("selected"),i(a).toggleClass("selected",h);var g=i(this._valueDict[u].el).prop("selected");g!==h&&(i(this._valueDict[u].el).prop("selected",h),this.$el.trigger("change"))}s.stopPropagation()}},{key:"_handleInputClick",value:function(){this.dropdown&&this.dropdown.isOpen&&(this._setValueToInput(),this._setSelectedStates())}},{key:"_setupDropdown",value:function(){var s=this;this.wrapper=document.createElement("div"),i(this.wrapper).addClass("select-wrapper "+this.options.classes),this.$el.before(i(this.wrapper)),this.wrapper.appendChild(this.el),this.el.disabled&&this.wrapper.classList.add("disabled"),this.$selectOptions=this.$el.children("option, optgroup"),this.dropdownOptions=document.createElement("ul"),this.dropdownOptions.id="select-options-"+M.guid(),i(this.dropdownOptions).addClass("dropdown-content select-dropdown "+(this.isMultiple?"multiple-select-dropdown":"")),this.$selectOptions.length&&this.$selectOptions.each(function(h){if(i(h).is("option")){var p=void 0;s.isMultiple?p=s._appendOptionWithIcon(s.$el,h,"multiple"):p=s._appendOptionWithIcon(s.$el,h),s._addOptionToValueDict(h,p)}else if(i(h).is("optgroup")){var g=i(h).children("option");i(s.dropdownOptions).append(i('<li class="optgroup"><span>'+h.getAttribute("label")+"</span></li>")[0]),g.each(function(f){var v=s._appendOptionWithIcon(s.$el,f,"optgroup-option");s._addOptionToValueDict(f,v)})}}),this.$el.after(this.dropdownOptions),this.input=document.createElement("input"),i(this.input).addClass("select-dropdown dropdown-trigger"),this.input.setAttribute("type","text"),this.input.setAttribute("readonly","true"),this.input.setAttribute("data-target",this.dropdownOptions.id),this.el.disabled&&i(this.input).prop("disabled","true"),this.$el.before(this.input),this._setValueToInput();var a=i('<svg class="caret" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');if(this.$el.before(a[0]),!this.el.disabled){var u=i.extend({},this.options.dropdownOptions);u.onOpenEnd=function(h){var p=i(s.dropdownOptions).find(".selected").first();if(p.length&&(M.keyDown=!0,s.dropdown.focusedIndex=p.index(),s.dropdown._focusFocusedItem(),M.keyDown=!1,s.dropdown.isScrollable)){var g=p[0].getBoundingClientRect().top-s.dropdownOptions.getBoundingClientRect().top;g-=s.dropdownOptions.clientHeight/2,s.dropdownOptions.scrollTop=g}},this.isMultiple&&(u.closeOnClick=!1),this.dropdown=M.Dropdown.init(this.input,u)}this._setSelectedStates()}},{key:"_addOptionToValueDict",value:function(s,a){var u=Object.keys(this._valueDict).length,h=this.dropdownOptions.id+u,p={};a.id=h,p.el=s,p.optionEl=a,this._valueDict[h]=p}},{key:"_removeDropdown",value:function(){i(this.wrapper).find(".caret").remove(),i(this.input).remove(),i(this.dropdownOptions).remove(),i(this.wrapper).before(this.$el),i(this.wrapper).remove()}},{key:"_appendOptionWithIcon",value:function(s,a,u){var h=a.disabled?"disabled ":"",p=u==="optgroup-option"?"optgroup-option ":"",g=this.isMultiple?'<label><input type="checkbox"'+h+'"/><span>'+a.innerHTML+"</span></label>":a.innerHTML,f=i("<li></li>"),v=i("<span></span>");v.html(g),f.addClass(h+" "+p),f.append(v);var _=a.getAttribute("data-icon");if(_){var w=i('<img alt="" src="'+_+'">');f.prepend(w)}return i(this.dropdownOptions).append(f[0]),f[0]}},{key:"_toggleEntryFromArray",value:function(s){var a=!this._keysSelected.hasOwnProperty(s),u=i(this._valueDict[s].optionEl);return a?this._keysSelected[s]=!0:delete this._keysSelected[s],u.toggleClass("selected",a),u.find('input[type="checkbox"]').prop("checked",a),u.prop("selected",a),a}},{key:"_setValueToInput",value:function(){var s=[],a=this.$el.find("option");if(a.each(function(h){if(i(h).prop("selected")){var p=i(h).text();s.push(p)}}),!s.length){var u=this.$el.find("option:disabled").eq(0);u.length&&u[0].value===""&&s.push(u.text())}this.input.value=s.join(", ")}},{key:"_setSelectedStates",value:function(){this._keysSelected={};for(var s in this._valueDict){var a=this._valueDict[s],u=i(a.el).prop("selected");i(a.optionEl).find('input[type="checkbox"]').prop("checked",u),u?(this._activateOption(i(this.dropdownOptions),i(a.optionEl)),this._keysSelected[s]=!0):i(a.optionEl).removeClass("selected")}}},{key:"_activateOption",value:function(s,a){if(a){this.isMultiple||s.find("li.selected").removeClass("selected");var u=i(a);u.addClass("selected")}}},{key:"getSelectedValues",value:function(){var s=[];for(var a in this._keysSelected)s.push(this._valueDict[a].el.value);return s}}],[{key:"init",value:function(s,a){return on(o.__proto__||Object.getPrototypeOf(o),"init",this).call(this,this,s,a)}},{key:"getInstance",value:function(s){var a=s.jquery?s[0]:s;return a.M_FormSelect}},{key:"defaults",get:function(){return t}}]),o}(an);M.FormSelect=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"formSelect","M_FormSelect")})(cash);(function(i,t){"use strict";var n={},r=function(o){sn(l,o);function l(s,a){Vt(this,l);var u=Xt(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,l,s,a));return u.el.M_Range=u,u.options=i.extend({},l.defaults,a),u._mousedown=!1,u._setupThumb(),u._setupEventHandlers(),u}return zt(l,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeThumb(),this.el.M_Range=void 0}},{key:"_setupEventHandlers",value:function(){this._handleRangeChangeBound=this._handleRangeChange.bind(this),this._handleRangeMousedownTouchstartBound=this._handleRangeMousedownTouchstart.bind(this),this._handleRangeInputMousemoveTouchmoveBound=this._handleRangeInputMousemoveTouchmove.bind(this),this._handleRangeMouseupTouchendBound=this._handleRangeMouseupTouchend.bind(this),this._handleRangeBlurMouseoutTouchleaveBound=this._handleRangeBlurMouseoutTouchleave.bind(this),this.el.addEventListener("change",this._handleRangeChangeBound),this.el.addEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.addEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.addEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("change",this._handleRangeChangeBound),this.el.removeEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_handleRangeChange",value:function(){i(this.value).html(this.$el.val()),i(this.thumb).hasClass("active")||this._showRangeBubble();var a=this._calcRangeOffset();i(this.thumb).addClass("active").css("left",a+"px")}},{key:"_handleRangeMousedownTouchstart",value:function(a){if(i(this.value).html(this.$el.val()),this._mousedown=!0,this.$el.addClass("active"),i(this.thumb).hasClass("active")||this._showRangeBubble(),a.type!=="input"){var u=this._calcRangeOffset();i(this.thumb).addClass("active").css("left",u+"px")}}},{key:"_handleRangeInputMousemoveTouchmove",value:function(){if(this._mousedown){i(this.thumb).hasClass("active")||this._showRangeBubble();var a=this._calcRangeOffset();i(this.thumb).addClass("active").css("left",a+"px"),i(this.value).html(this.$el.val())}}},{key:"_handleRangeMouseupTouchend",value:function(){this._mousedown=!1,this.$el.removeClass("active")}},{key:"_handleRangeBlurMouseoutTouchleave",value:function(){if(!this._mousedown){var a=parseInt(this.$el.css("padding-left")),u=7+a+"px";i(this.thumb).hasClass("active")&&(t.remove(this.thumb),t({targets:this.thumb,height:0,width:0,top:10,easing:"easeOutQuad",marginLeft:u,duration:100})),i(this.thumb).removeClass("active")}}},{key:"_setupThumb",value:function(){this.thumb=document.createElement("span"),this.value=document.createElement("span"),i(this.thumb).addClass("thumb"),i(this.value).addClass("value"),i(this.thumb).append(this.value),this.$el.after(this.thumb)}},{key:"_removeThumb",value:function(){i(this.thumb).remove()}},{key:"_showRangeBubble",value:function(){var a=parseInt(i(this.thumb).parent().css("padding-left")),u=-7+a+"px";t.remove(this.thumb),t({targets:this.thumb,height:30,width:30,top:-30,marginLeft:u,duration:300,easing:"easeOutQuint"})}},{key:"_calcRangeOffset",value:function(){var a=this.$el.width()-15,u=parseFloat(this.$el.attr("max"))||100,h=parseFloat(this.$el.attr("min"))||0,p=(parseFloat(this.$el.val())-h)/(u-h);return p*a}}],[{key:"init",value:function(a,u){return on(l.__proto__||Object.getPrototypeOf(l),"init",this).call(this,this,a,u)}},{key:"getInstance",value:function(a){var u=a.jquery?a[0]:a;return u.M_Range}},{key:"defaults",get:function(){return n}}]),l}(an);M.Range=r,M.jQueryLoaded&&M.initializeJqueryWrapper(r,"range","M_Range"),r.init(i("input[type=range]"))})(cash,M.anime)});var cg=ie((o$,lg)=>{x();var HS=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);HS?(sg=new Uint8Array(16),lg.exports=function(){return HS(sg),sg}):(ag=new Array(16),lg.exports=function(){for(var t=0,n;t<16;t++)(t&3)==0&&(n=Math.random()*4294967296),ag[t]=n>>>((t&3)<<3)&255;return ag});var sg,ag});var ug=ie((s$,FS)=>{x();var jS=[];for(vl=0;vl<256;++vl)jS[vl]=(vl+256).toString(16).substr(1);var vl;function CD(i,t){var n=t||0,r=jS;return[r[i[n++]],r[i[n++]],r[i[n++]],r[i[n++]],"-",r[i[n++]],r[i[n++]],"-",r[i[n++]],r[i[n++]],"-",r[i[n++]],r[i[n++]],"-",r[i[n++]],r[i[n++]],r[i[n++]],r[i[n++]],r[i[n++]],r[i[n++]]].join("")}FS.exports=CD});var WS=ie((a$,US)=>{x();var xD=cg(),TD=ug(),$S,dg,hg=0,fg=0;function AD(i,t,n){var r=t&&n||0,o=t||[];i=i||{};var l=i.node||$S,s=i.clockseq!==void 0?i.clockseq:dg;if(l==null||s==null){var a=xD();l==null&&(l=$S=[a[0]|1,a[1],a[2],a[3],a[4],a[5]]),s==null&&(s=dg=(a[6]<<8|a[7])&16383)}var u=i.msecs!==void 0?i.msecs:new Date().getTime(),h=i.nsecs!==void 0?i.nsecs:fg+1,p=u-hg+(h-fg)/1e4;if(p<0&&i.clockseq===void 0&&(s=s+1&16383),(p<0||u>hg)&&i.nsecs===void 0&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");hg=u,fg=h,dg=s,u+=122192928e5;var g=((u&268435455)*1e4+h)%4294967296;o[r++]=g>>>24&255,o[r++]=g>>>16&255,o[r++]=g>>>8&255,o[r++]=g&255;var f=u/4294967296*1e4&268435455;o[r++]=f>>>8&255,o[r++]=f&255,o[r++]=f>>>24&15|16,o[r++]=f>>>16&255,o[r++]=s>>>8|128,o[r++]=s&255;for(var v=0;v<6;++v)o[r+v]=l[v];return t||TD(o)}US.exports=AD});var zS=ie((l$,qS)=>{x();var MD=cg(),RD=ug();function kD(i,t,n){var r=t&&n||0;typeof i=="string"&&(t=i==="binary"?new Array(16):null,i=null),i=i||{};var o=i.random||(i.rng||MD)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var l=0;l<16;++l)t[r+l]=o[l];return t||RD(o)}qS.exports=kD});var gg=ie((c$,GS)=>{x();var LD=WS(),VS=zS(),pg=VS;pg.v1=LD;pg.v4=VS;GS.exports=pg});var YS=ie(na=>{x();"use strict";var yg;Object.defineProperty(na,"__esModule",{value:!0});na.MediaOverlayNode=na.timeStrToSeconds=void 0;var kr=Yi(),oo=Nn(),PD=Ms();function ID(i){if(!i)return 0;let t=0,n=0,r=0;try{let o=i.indexOf("min");if(o>0){let l=i.substr(0,o);n=parseFloat(l)}else{let l=i.indexOf("ms");if(l>0){let s=i.substr(0,l);r=parseFloat(s)/1e3}else{let s=i.indexOf("s");if(s>0){let a=i.substr(0,s);r=parseFloat(a)}else{let a=i.indexOf("h");if(a>0){let u=i.substr(0,a);t=parseFloat(u)}else{let u=i.split(":");u.length===1?r=parseFloat(u[0]):u.length===2?(n=parseFloat(u[0]),r=parseFloat(u[1])):u.length===3?(t=parseFloat(u[0]),n=parseFloat(u[1]),r=parseFloat(u[2])):(console.log("SMIL TIME CLOCK SYNTAX PARSING ERROR ??"),console.log(i))}}}}}catch(o){return console.log(o),console.log("SMIL TIME CLOCK SYNTAX PARSING ERROR!"),console.log(i),0}return t*3600+n*60+r}na.timeStrToSeconds=ID;var Vo=yg=class{constructor(){this.initialized=!1}};kr.__decorate([oo.JsonProperty("text"),kr.__metadata("design:type",String)],Vo.prototype,"Text",void 0);kr.__decorate([oo.JsonProperty("audio"),kr.__metadata("design:type",String)],Vo.prototype,"Audio",void 0);kr.__decorate([oo.JsonProperty("role"),oo.JsonConverter(PD.JsonStringConverter),oo.JsonElementType(String),kr.__metadata("design:type",Array)],Vo.prototype,"Role",void 0);kr.__decorate([oo.JsonProperty("narration"),oo.JsonElementType(yg),kr.__metadata("design:type",Array)],Vo.prototype,"Children",void 0);Vo=yg=kr.__decorate([oo.JsonObject()],Vo);na.MediaOverlayNode=Vo});var ZS=ie(m=>{x();"use strict";var e;m.browser=Object.create(null);e=Object.create(null);e[0]=new RegExp("(Rival IQ, rivaliq.com)");e[1]="Rival IQ";e[2]=0;e[3]=0;e[4]=0;m.browser[0]=e;e=Object.create(null);e[0]=new RegExp("(ESPN)[%20| ]+Radio/(\\d+)\\.(\\d+)\\.(\\d+) CFNetwork");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[1]=e;e=Object.create(null);e[0]=new RegExp("(Antenna)/(\\d+) CFNetwork");e[1]="AntennaPod";e[2]=0;e[3]=0;e[4]=0;m.browser[2]=e;e=Object.create(null);e[0]=new RegExp("(TopPodcasts)Pro/(\\d+) CFNetwork");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[3]=e;e=Object.create(null);e[0]=new RegExp("(MusicDownloader)Lite/(\\d+)\\.(\\d+)\\.(\\d+) CFNetwork");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[4]=e;e=Object.create(null);e[0]=new RegExp("^(.*)-iPad/(\\d+)\\.?(\\d+)?.?(\\d+)?.?(\\d+)? CFNetwork");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[5]=e;e=Object.create(null);e[0]=new RegExp("^(.*)-iPhone/(\\d+)\\.?(\\d+)?.?(\\d+)?.?(\\d+)? CFNetwork");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[6]=e;e=Object.create(null);e[0]=new RegExp("^(.*)/(\\d+)\\.?(\\d+)?.?(\\d+)?.?(\\d+)? CFNetwork");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[7]=e;e=Object.create(null);e[0]=new RegExp("(espn\\.go)");e[1]="ESPN";e[2]=0;e[3]=0;e[4]=0;m.browser[8]=e;e=Object.create(null);e[0]=new RegExp("(espnradio\\.com)");e[1]="ESPN";e[2]=0;e[3]=0;e[4]=0;m.browser[9]=e;e=Object.create(null);e[0]=new RegExp("ESPN APP$");e[1]="ESPN";e[2]=0;e[3]=0;e[4]=0;m.browser[10]=e;e=Object.create(null);e[0]=new RegExp("(audioboom\\.com)");e[1]="AudioBoom";e[2]=0;e[3]=0;e[4]=0;m.browser[11]=e;e=Object.create(null);e[0]=new RegExp(" (Rivo) RHYTHM");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[12]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)(?:/(\\d+)\\.(\\d+)\\.?(\\d+)?)?");e[1]="CFNetwork";e[2]=0;e[3]=0;e[4]=0;m.browser[13]=e;e=Object.create(null);e[0]=new RegExp("(Pingdom.com_bot_version_)(\\d+)\\.(\\d+)");e[1]="PingdomBot";e[2]=0;e[3]=0;e[4]=0;m.browser[14]=e;e=Object.create(null);e[0]=new RegExp("(PingdomTMS)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="PingdomBot";e[2]=0;e[3]=0;e[4]=0;m.browser[15]=e;e=Object.create(null);e[0]=new RegExp("(NewRelicPinger)/(\\d+)\\.(\\d+)");e[1]="NewRelicPingerBot";e[2]=0;e[3]=0;e[4]=0;m.browser[16]=e;e=Object.create(null);e[0]=new RegExp("(\\(StatusCake\\))");e[1]="StatusCakeBot";e[2]=0;e[3]=0;e[4]=0;m.browser[17]=e;e=Object.create(null);e[0]=new RegExp("(facebookexternalhit)/(\\d+)\\.(\\d+)");e[1]="FacebookBot";e[2]=0;e[3]=0;e[4]=0;m.browser[18]=e;e=Object.create(null);e[0]=new RegExp("Google.*/\\+/web/snippet");e[1]="GooglePlusBot";e[2]=0;e[3]=0;e[4]=0;m.browser[19]=e;e=Object.create(null);e[0]=new RegExp("via ggpht.com GoogleImageProxy");e[1]="GmailImageProxy";e[2]=0;e[3]=0;e[4]=0;m.browser[20]=e;e=Object.create(null);e[0]=new RegExp("(Twitterbot)/(\\d+)\\.(\\d+)");e[1]="TwitterBot";e[2]=0;e[3]=0;e[4]=0;m.browser[21]=e;e=Object.create(null);e[0]=new RegExp("/((?:Ant-)?Nutch|[A-z]+[Bb]ot|[A-z]+[Ss]pider|Axtaris|fetchurl|Isara|ShopSalad|Tailsweep)[ \\-](\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[22]=e;e=Object.create(null);e[0]=new RegExp("\\b(008|Altresium|Argus|BaiduMobaider|BoardReader|DNSGroup|DataparkSearch|EDI|Goodzer|Grub|INGRID|Infohelfer|LinkedInBot|LOOQ|Nutch|PathDefender|Peew|PostPost|Steeler|Twitterbot|VSE|WebCrunch|WebZIP|Y!J-BR[A-Z]|YahooSeeker|envolk|sproose|wminer)/(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[23]=e;e=Object.create(null);e[0]=new RegExp("(MSIE) (\\d+)\\.(\\d+)([a-z]\\d?)?;.* MSIECrawler");e[1]="MSIECrawler";e[2]=0;e[3]=0;e[4]=0;m.browser[24]=e;e=Object.create(null);e[0]=new RegExp("(DAVdroid)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[25]=e;e=Object.create(null);e[0]=new RegExp("(Google-HTTP-Java-Client|Apache-HttpClient|http%20client|Python-urllib|HttpMonitor|TLSProber|WinHTTP|JNLP|okhttp)(?:[ /](\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[26]=e;e=Object.create(null);e[0]=new RegExp("(Pinterest(?:bot)?)/(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?[;\\s\\(]+\\+https://www.pinterest.com/bot.html");e[1]="Pinterestbot";e[2]=0;e[3]=0;e[4]=0;m.browser[27]=e;e=Object.create(null);e[0]=new RegExp("(1470\\.net crawler|50\\.nu|8bo Crawler Bot|Aboundex|Accoona-[A-z]+-Agent|AdsBot-Google(?:-[a-z]+)?|altavista|AppEngine-Google|archive.*?\\.org_bot|archiver|Ask Jeeves|[Bb]ai[Dd]u[Ss]pider(?:-[A-Za-z]+)*|bingbot|BingPreview|blitzbot|BlogBridge|Bloglovin|BoardReader(?: [A-Za-z]+)*|boitho.com-dc|BotSeer|\\b\\w*favicon\\w*\\b|\\bYeti(?:-[a-z]+)?|Catchpoint(?: bot)?|[Cc]harlotte|Checklinks|clumboot|Comodo HTTP\\(S\\) Crawler|Comodo-Webinspector-Crawler|ConveraCrawler|CRAWL-E|CrawlConvera|Daumoa(?:-feedfetcher)?|Feed Seeker Bot|Feedbin|findlinks|Flamingo_SearchEngine|FollowSite Bot|furlbot|Genieo|gigabot|GomezAgent|gonzo1|(?:[a-zA-Z]+-)?Googlebot(?:-[a-zA-Z]+)?|Google SketchUp|grub-client|gsa-crawler|heritrix|HiddenMarket|holmes|HooWWWer|htdig|ia_archiver|ICC-Crawler|Icarus6j|ichiro(?:/mobile)?|IconSurf|IlTrovatore(?:-Setaccio)?|InfuzApp|Innovazion Crawler|InternetArchive|IP2[a-z]+Bot|jbot\\b|KaloogaBot|Kraken|Kurzor|larbin|LEIA|LesnikBot|Linguee Bot|LinkAider|LinkedInBot|Lite Bot|Llaut|lycos|Mail\\.RU_Bot|masscan|masidani_bot|Mediapartners-Google|Microsoft .*? Bot|mogimogi|mozDex|MJ12bot|msnbot(?:-media *)?|msrbot|Mtps Feed Aggregation System|netresearch|Netvibes|NewsGator[^/]*|^NING|Nutch[^/]*|Nymesis|ObjectsSearch|Orbiter|OOZBOT|PagePeeker|PagesInventory|PaxleFramework|Peeplo Screenshot Bot|PlantyNet_WebRobot|Pompos|Qwantify|Read%20Later|Reaper|RedCarpet|Retreiver|Riddler|Rival IQ|scooter|Scrapy|Scrubby|searchsight|seekbot|semanticdiscovery|Simpy|SimplePie|SEOstats|SimpleRSS|SiteCon|Slackbot-LinkExpanding|Slack-ImgProxy|Slurp|snappy|Speedy Spider|Squrl Java|Stringer|TheUsefulbot|ThumbShotsBot|Thumbshots\\.ru|Tiny Tiny RSS|TwitterBot|WhatsApp|URL2PNG|Vagabondo|VoilaBot|^vortex|Votay bot|^voyager|WASALive.Bot|Web-sniffer|WebThumb|WeSEE:[A-z]+|WhatWeb|WIRE|WordPress|Wotbox|www\\.almaden\\.ibm\\.com|Xenu(?:.s)? Link Sleuth|Xerka [A-z]+Bot|yacy(?:bot)?|Yahoo[a-z]*Seeker|Yahoo! Slurp|Yandex\\w+|YodaoBot(?:-[A-z]+)?|YottaaMonitor|Yowedo|^Zao|^Zao-Crawler|ZeBot_www\\.ze\\.bz|ZooShot|ZyBorg)(?:[ /]v?(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[28]=e;e=Object.create(null);e[0]=new RegExp("(?:\\/[A-Za-z0-9\\.]+)? *([A-Za-z0-9 \\-_\\!\\[\\]:]*(?:[Aa]rchiver|[Ii]ndexer|[Ss]craper|[Bb]ot|[Ss]pider|[Cc]rawl[a-z]*))/(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[29]=e;e=Object.create(null);e[0]=new RegExp("(?:\\/[A-Za-z0-9\\.]+)? *([A-Za-z0-9 _\\!\\[\\]:]*(?:[Aa]rchiver|[Ii]ndexer|[Ss]craper|[Bb]ot|[Ss]pider|[Cc]rawl[a-z]*)) (\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[30]=e;e=Object.create(null);e[0]=new RegExp("((?:[A-z0-9]+|[A-z\\-]+ ?)?(?: the )?(?:[Ss][Pp][Ii][Dd][Ee][Rr]|[Ss]crape|[A-Za-z0-9-]*(?:[^C][^Uu])[Bb]ot|[Cc][Rr][Aa][Ww][Ll])[A-z0-9]*)(?:(?:[ /]| v)(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[31]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)/(\\d+)\\.(\\d+)\\.(\\d+) \\(");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[32]=e;e=Object.create(null);e[0]=new RegExp("(Chimera|SeaMonkey|Camino)/(\\d+)\\.(\\d+)\\.?([ab]?\\d+[a-z]*)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[33]=e;e=Object.create(null);e[0]=new RegExp("\\[FB.*;(FBAV)/(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]="Facebook";e[2]=0;e[3]=0;e[4]=0;m.browser[34]=e;e=Object.create(null);e[0]=new RegExp("\\[(Pinterest)/[^\\]]+\\]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[35]=e;e=Object.create(null);e[0]=new RegExp("(Pinterest)(?: for Android(?: Tablet)?)?/(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[36]=e;e=Object.create(null);e[0]=new RegExp("(PaleMoon)/(\\d+)\\.(\\d+)\\.?(\\d+)?");e[1]="Pale Moon";e[2]=0;e[3]=0;e[4]=0;m.browser[37]=e;e=Object.create(null);e[0]=new RegExp("(Fennec)/(\\d+)\\.(\\d+)\\.?([ab]?\\d+[a-z]*)");e[1]="Firefox Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[38]=e;e=Object.create(null);e[0]=new RegExp("(Fennec)/(\\d+)\\.(\\d+)(pre)");e[1]="Firefox Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[39]=e;e=Object.create(null);e[0]=new RegExp("(Fennec)/(\\d+)\\.(\\d+)");e[1]="Firefox Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[40]=e;e=Object.create(null);e[0]=new RegExp("(?:Mobile|Tablet);.*(Firefox)/(\\d+)\\.(\\d+)");e[1]="Firefox Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[41]=e;e=Object.create(null);e[0]=new RegExp("(Namoroka|Shiretoko|Minefield)/(\\d+)\\.(\\d+)\\.(\\d+(?:pre)?)");e[1]="Firefox ($1)";e[2]=0;e[3]=0;e[4]=0;m.browser[42]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)/(\\d+)\\.(\\d+)(a\\d+[a-z]*)");e[1]="Firefox Alpha";e[2]=0;e[3]=0;e[4]=0;m.browser[43]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)/(\\d+)\\.(\\d+)(b\\d+[a-z]*)");e[1]="Firefox Beta";e[2]=0;e[3]=0;e[4]=0;m.browser[44]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)-(?:\\d+\\.\\d+)?/(\\d+)\\.(\\d+)(a\\d+[a-z]*)");e[1]="Firefox Alpha";e[2]=0;e[3]=0;e[4]=0;m.browser[45]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)-(?:\\d+\\.\\d+)?/(\\d+)\\.(\\d+)(b\\d+[a-z]*)");e[1]="Firefox Beta";e[2]=0;e[3]=0;e[4]=0;m.browser[46]=e;e=Object.create(null);e[0]=new RegExp("(Namoroka|Shiretoko|Minefield)/(\\d+)\\.(\\d+)([ab]\\d+[a-z]*)?");e[1]="Firefox ($1)";e[2]=0;e[3]=0;e[4]=0;m.browser[47]=e;e=Object.create(null);e[0]=new RegExp("(Firefox).*Tablet browser (\\d+)\\.(\\d+)\\.(\\d+)");e[1]="MicroB";e[2]=0;e[3]=0;e[4]=0;m.browser[48]=e;e=Object.create(null);e[0]=new RegExp("(MozillaDeveloperPreview)/(\\d+)\\.(\\d+)([ab]\\d+[a-z]*)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[49]=e;e=Object.create(null);e[0]=new RegExp("(FxiOS)/(\\d+)\\.(\\d+)(\\.(\\d+))?(\\.(\\d+))?");e[1]="Firefox iOS";e[2]=0;e[3]=0;e[4]=0;m.browser[50]=e;e=Object.create(null);e[0]=new RegExp("(Flock)/(\\d+)\\.(\\d+)(b\\d+?)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[51]=e;e=Object.create(null);e[0]=new RegExp("(RockMelt)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[52]=e;e=Object.create(null);e[0]=new RegExp("(Navigator)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Netscape";e[2]=0;e[3]=0;e[4]=0;m.browser[53]=e;e=Object.create(null);e[0]=new RegExp("(Navigator)/(\\d+)\\.(\\d+)([ab]\\d+)");e[1]="Netscape";e[2]=0;e[3]=0;e[4]=0;m.browser[54]=e;e=Object.create(null);e[0]=new RegExp("(Netscape6)/(\\d+)\\.(\\d+)\\.?([ab]?\\d+)?");e[1]="Netscape";e[2]=0;e[3]=0;e[4]=0;m.browser[55]=e;e=Object.create(null);e[0]=new RegExp("(MyIBrow)/(\\d+)\\.(\\d+)");e[1]="My Internet Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[56]=e;e=Object.create(null);e[0]=new RegExp("(UC? ?Browser|UCWEB|U3)[ /]?(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="UC Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[57]=e;e=Object.create(null);e[0]=new RegExp("(Opera Tablet).*Version/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[58]=e;e=Object.create(null);e[0]=new RegExp("(Opera Mini)(?:/att)?/?(\\d+)?(?:\\.(\\d+))?(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[59]=e;e=Object.create(null);e[0]=new RegExp("(Opera)/.+Opera Mobi.+Version/(\\d+)\\.(\\d+)");e[1]="Opera Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[60]=e;e=Object.create(null);e[0]=new RegExp("(Opera)/(\\d+)\\.(\\d+).+Opera Mobi");e[1]="Opera Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[61]=e;e=Object.create(null);e[0]=new RegExp("Opera Mobi.+(Opera)(?:/|\\s+)(\\d+)\\.(\\d+)");e[1]="Opera Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[62]=e;e=Object.create(null);e[0]=new RegExp("Opera Mobi");e[1]="Opera Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[63]=e;e=Object.create(null);e[0]=new RegExp("(Opera)/9.80.*Version/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[64]=e;e=Object.create(null);e[0]=new RegExp("(?:Mobile Safari).*(OPR)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Opera Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[65]=e;e=Object.create(null);e[0]=new RegExp("(?:Chrome).*(OPR)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Opera";e[2]=0;e[3]=0;e[4]=0;m.browser[66]=e;e=Object.create(null);e[0]=new RegExp("(Coast)/(\\d+).(\\d+).(\\d+)");e[1]="Opera Coast";e[2]=0;e[3]=0;e[4]=0;m.browser[67]=e;e=Object.create(null);e[0]=new RegExp("(OPiOS)/(\\d+).(\\d+).(\\d+)");e[1]="Opera Mini";e[2]=0;e[3]=0;e[4]=0;m.browser[68]=e;e=Object.create(null);e[0]=new RegExp("Chrome/.+( MMS)/(\\d+).(\\d+).(\\d+)");e[1]="Opera Neon";e[2]=0;e[3]=0;e[4]=0;m.browser[69]=e;e=Object.create(null);e[0]=new RegExp("(hpw|web)OS/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="webOS Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[70]=e;e=Object.create(null);e[0]=new RegExp("(luakit)");e[1]="LuaKit";e[2]=0;e[3]=0;e[4]=0;m.browser[71]=e;e=Object.create(null);e[0]=new RegExp("(Snowshoe)/(\\d+)\\.(\\d+).(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[72]=e;e=Object.create(null);e[0]=new RegExp("Gecko/\\d+ (Lightning)/(\\d+)\\.(\\d+)\\.?((?:[ab]?\\d+[a-z]*)|(?:\\d*))");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[73]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)/(\\d+)\\.(\\d+)\\.(\\d+(?:pre)?) \\(Swiftfox\\)");e[1]="Swiftfox";e[2]=0;e[3]=0;e[4]=0;m.browser[74]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)/(\\d+)\\.(\\d+)([ab]\\d+[a-z]*)? \\(Swiftfox\\)");e[1]="Swiftfox";e[2]=0;e[3]=0;e[4]=0;m.browser[75]=e;e=Object.create(null);e[0]=new RegExp("(rekonq)/(\\d+)\\.(\\d+)\\.?(\\d+)? Safari");e[1]="Rekonq";e[2]=0;e[3]=0;e[4]=0;m.browser[76]=e;e=Object.create(null);e[0]=new RegExp("rekonq");e[1]="Rekonq";e[2]=0;e[3]=0;e[4]=0;m.browser[77]=e;e=Object.create(null);e[0]=new RegExp("(conkeror|Conkeror)/(\\d+)\\.(\\d+)\\.?(\\d+)?");e[1]="Conkeror";e[2]=0;e[3]=0;e[4]=0;m.browser[78]=e;e=Object.create(null);e[0]=new RegExp("(konqueror)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Konqueror";e[2]=0;e[3]=0;e[4]=0;m.browser[79]=e;e=Object.create(null);e[0]=new RegExp("(WeTab)-Browser");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[80]=e;e=Object.create(null);e[0]=new RegExp("(Comodo_Dragon)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Comodo Dragon";e[2]=0;e[3]=0;e[4]=0;m.browser[81]=e;e=Object.create(null);e[0]=new RegExp("(Symphony) (\\d+).(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[82]=e;e=Object.create(null);e[0]=new RegExp("PLAYSTATION 3.+WebKit");e[1]="NetFront NX";e[2]=0;e[3]=0;e[4]=0;m.browser[83]=e;e=Object.create(null);e[0]=new RegExp("PLAYSTATION 3");e[1]="NetFront";e[2]=0;e[3]=0;e[4]=0;m.browser[84]=e;e=Object.create(null);e[0]=new RegExp("(PlayStation Portable)");e[1]="NetFront";e[2]=0;e[3]=0;e[4]=0;m.browser[85]=e;e=Object.create(null);e[0]=new RegExp("(PlayStation Vita)");e[1]="NetFront NX";e[2]=0;e[3]=0;e[4]=0;m.browser[86]=e;e=Object.create(null);e[0]=new RegExp("AppleWebKit.+ (NX)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="NetFront NX";e[2]=0;e[3]=0;e[4]=0;m.browser[87]=e;e=Object.create(null);e[0]=new RegExp("(Nintendo 3DS)");e[1]="NetFront NX";e[2]=0;e[3]=0;e[4]=0;m.browser[88]=e;e=Object.create(null);e[0]=new RegExp("(Silk)/(\\d+)\\.(\\d+)(?:\\.([0-9\\-]+))?");e[1]="Amazon Silk";e[2]=0;e[3]=0;e[4]=0;m.browser[89]=e;e=Object.create(null);e[0]=new RegExp("(Puffin)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[90]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone .*(Edge)/(\\d+)\\.(\\d+)");e[1]="Edge Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[91]=e;e=Object.create(null);e[0]=new RegExp("(SamsungBrowser)/(\\d+)\\.(\\d+)");e[1]="Samsung Internet";e[2]=0;e[3]=0;e[4]=0;m.browser[92]=e;e=Object.create(null);e[0]=new RegExp("(SznProhlizec)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Seznam.cz";e[2]=0;e[3]=0;e[4]=0;m.browser[93]=e;e=Object.create(null);e[0]=new RegExp("(coc_coc_browser)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Coc Coc";e[2]=0;e[3]=0;e[4]=0;m.browser[94]=e;e=Object.create(null);e[0]=new RegExp("(baidubrowser)[/\\s](\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]="Baidu Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[95]=e;e=Object.create(null);e[0]=new RegExp("(FlyFlow)/(\\d+)\\.(\\d+)");e[1]="Baidu Explorer";e[2]=0;e[3]=0;e[4]=0;m.browser[96]=e;e=Object.create(null);e[0]=new RegExp("(MxBrowser)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Maxthon";e[2]=0;e[3]=0;e[4]=0;m.browser[97]=e;e=Object.create(null);e[0]=new RegExp("(Crosswalk)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[98]=e;e=Object.create(null);e[0]=new RegExp("; wv\\).+(Chrome)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Chrome Mobile WebView";e[2]=0;e[3]=0;e[4]=0;m.browser[99]=e;e=Object.create(null);e[0]=new RegExp("(CrMo)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Chrome Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[100]=e;e=Object.create(null);e[0]=new RegExp("(CriOS)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Chrome Mobile iOS";e[2]=0;e[3]=0;e[4]=0;m.browser[101]=e;e=Object.create(null);e[0]=new RegExp("(Chrome)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+) Mobile(?:[ /]|$)");e[1]="Chrome Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[102]=e;e=Object.create(null);e[0]=new RegExp(" Mobile .*(Chrome)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Chrome Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[103]=e;e=Object.create(null);e[0]=new RegExp("(chromeframe)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Chrome Frame";e[2]=0;e[3]=0;e[4]=0;m.browser[104]=e;e=Object.create(null);e[0]=new RegExp("(SLP Browser)/(\\d+)\\.(\\d+)");e[1]="Tizen Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[105]=e;e=Object.create(null);e[0]=new RegExp("(SE 2\\.X) MetaSr (\\d+)\\.(\\d+)");e[1]="Sogou Explorer";e[2]=0;e[3]=0;e[4]=0;m.browser[106]=e;e=Object.create(null);e[0]=new RegExp("(MQQBrowser/Mini)(?:(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]="QQ Browser Mini";e[2]=0;e[3]=0;e[4]=0;m.browser[107]=e;e=Object.create(null);e[0]=new RegExp("(MQQBrowser)(?:/(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]="QQ Browser Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[108]=e;e=Object.create(null);e[0]=new RegExp("(QQBrowser)(?:/(\\d+)(?:\\.(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]="QQ Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[109]=e;e=Object.create(null);e[0]=new RegExp("(Rackspace Monitoring)/(\\d+)\\.(\\d+)");e[1]="RackspaceBot";e[2]=0;e[3]=0;e[4]=0;m.browser[110]=e;e=Object.create(null);e[0]=new RegExp("(PyAMF)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[111]=e;e=Object.create(null);e[0]=new RegExp("(YaBrowser)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Yandex Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[112]=e;e=Object.create(null);e[0]=new RegExp("(Chrome)/(\\d+)\\.(\\d+)\\.(\\d+).* MRCHROME");e[1]="Mail.ru Chromium Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[113]=e;e=Object.create(null);e[0]=new RegExp("(AOL) (\\d+)\\.(\\d+); AOLBuild (\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[114]=e;e=Object.create(null);e[0]=new RegExp("(PodCruncher|Downcast)[ /]?(\\d+)\\.?(\\d+)?\\.?(\\d+)?\\.?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[115]=e;e=Object.create(null);e[0]=new RegExp(" (BoxNotes)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[116]=e;e=Object.create(null);e[0]=new RegExp("(Slack_SSB)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Slack Desktop Client";e[2]=0;e[3]=0;e[4]=0;m.browser[117]=e;e=Object.create(null);e[0]=new RegExp("(HipChat)/?(\\d+)?");e[1]="HipChat Desktop Client";e[2]=0;e[3]=0;e[4]=0;m.browser[118]=e;e=Object.create(null);e[0]=new RegExp("\\b(MobileIron|FireWeb|Jasmine|ANTGalio|Midori|Fresco|Lobo|PaleMoon|Maxthon|Lynx|OmniWeb|Dillo|Camino|Demeter|Fluid|Fennec|Epiphany|Shiira|Sunrise|Spotify|Flock|Netscape|Lunascape|WebPilot|NetFront|Netfront|Konqueror|SeaMonkey|Kazehakase|Vienna|Iceape|Iceweasel|IceWeasel|Iron|K-Meleon|Sleipnir|Galeon|GranParadiso|Opera Mini|iCab|NetNewsWire|ThunderBrowse|Iris|UP\\.Browser|Bunjalloo|Google Earth|Raven for Mac|Openwave|MacOutlook|Electron)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[119]=e;e=Object.create(null);e[0]=new RegExp("Microsoft Office Outlook 12\\.\\d+\\.\\d+|MSOffice 12");e[1]="Outlook";e[2]="2007";e[3]=0;e[4]=0;m.browser[120]=e;e=Object.create(null);e[0]=new RegExp("Microsoft Outlook 14\\.\\d+\\.\\d+|MSOffice 14");e[1]="Outlook";e[2]="2010";e[3]=0;e[4]=0;m.browser[121]=e;e=Object.create(null);e[0]=new RegExp("Microsoft Outlook 15\\.\\d+\\.\\d+");e[1]="Outlook";e[2]="2013";e[3]=0;e[4]=0;m.browser[122]=e;e=Object.create(null);e[0]=new RegExp("Microsoft Outlook (?:Mail )?16\\.\\d+\\.\\d+");e[1]="Outlook";e[2]="2016";e[3]=0;e[4]=0;m.browser[123]=e;e=Object.create(null);e[0]=new RegExp("Outlook-Express\\/7\\.0.*");e[1]="Windows Live Mail";e[2]=0;e[3]=0;e[4]=0;m.browser[124]=e;e=Object.create(null);e[0]=new RegExp("(Airmail) (\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[125]=e;e=Object.create(null);e[0]=new RegExp("(Thunderbird)/(\\d+)\\.(\\d+)(?:\\.(\\d+(?:pre)?))?");e[1]="Thunderbird";e[2]=0;e[3]=0;e[4]=0;m.browser[126]=e;e=Object.create(null);e[0]=new RegExp("(Postbox)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Postbox";e[2]=0;e[3]=0;e[4]=0;m.browser[127]=e;e=Object.create(null);e[0]=new RegExp("(Barca(?:Pro)?)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Barca";e[2]=0;e[3]=0;e[4]=0;m.browser[128]=e;e=Object.create(null);e[0]=new RegExp("(Lotus-Notes)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Lotus Notes";e[2]=0;e[3]=0;e[4]=0;m.browser[129]=e;e=Object.create(null);e[0]=new RegExp("(Vivaldi)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[130]=e;e=Object.create(null);e[0]=new RegExp("(Edge)/(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[131]=e;e=Object.create(null);e[0]=new RegExp("(brave)/(\\d+)\\.(\\d+)\\.(\\d+) Chrome");e[1]="Brave";e[2]=0;e[3]=0;e[4]=0;m.browser[132]=e;e=Object.create(null);e[0]=new RegExp("(Chrome)/(\\d+)\\.(\\d+)\\.(\\d+)[\\d.]* Iron[^/]");e[1]="Iron";e[2]=0;e[3]=0;e[4]=0;m.browser[133]=e;e=Object.create(null);e[0]=new RegExp("\\b(Dolphin)(?: |HDCN/|/INT\\-)(\\d+)\\.(\\d+)\\.?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[134]=e;e=Object.create(null);e[0]=new RegExp("(HeadlessChrome)(?:/(\\d+)\\.(\\d+)\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[135]=e;e=Object.create(null);e[0]=new RegExp("(Evolution)/(\\d+)\\.(\\d+)\\.(\\d+\\.\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[136]=e;e=Object.create(null);e[0]=new RegExp("(RCM CardDAV plugin)/(\\d+)\\.(\\d+)\\.(\\d+(?:-dev)?)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[137]=e;e=Object.create(null);e[0]=new RegExp("(bingbot|Bolt|AdobeAIR|Jasmine|IceCat|Skyfire|Midori|Maxthon|Lynx|Arora|IBrowse|Dillo|Camino|Shiira|Fennec|Phoenix|Flock|Netscape|Lunascape|Epiphany|WebPilot|Opera Mini|Opera|NetFront|Netfront|Konqueror|Googlebot|SeaMonkey|Kazehakase|Vienna|Iceape|Iceweasel|IceWeasel|Iron|K-Meleon|Sleipnir|Galeon|GranParadiso|iCab|iTunes|MacAppStore|NetNewsWire|Space Bison|Stainless|Orca|Dolfin|BOLT|Minimo|Tizen Browser|Polaris|Abrowser|Planetweb|ICE Browser|mDolphin|qutebrowser|Otter|QupZilla|MailBar|kmail2|YahooMobileMail|ExchangeWebServices|ExchangeServicesClient|Dragon|Outlook-iOS-Android)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[138]=e;e=Object.create(null);e[0]=new RegExp("(Chromium|Chrome)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[139]=e;e=Object.create(null);e[0]=new RegExp("(IEMobile)[ /](\\d+)\\.(\\d+)");e[1]="IE Mobile";e[2]=0;e[3]=0;e[4]=0;m.browser[140]=e;e=Object.create(null);e[0]=new RegExp("(BacaBerita App)\\/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[141]=e;e=Object.create(null);e[0]=new RegExp("^(bPod|Pocket Casts|Player FM)$");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[142]=e;e=Object.create(null);e[0]=new RegExp("^(AlexaMediaPlayer|VLC)/(\\d+)\\.(\\d+)\\.([^.\\s]+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[143]=e;e=Object.create(null);e[0]=new RegExp("^(AntennaPod|WMPlayer|Zune|Podkicker|Radio|ExoPlayerDemo|Overcast|PocketTunes|NSPlayer|okhttp|DoggCatcher|QuickNews|QuickTime|Peapod|Podcasts|GoldenPod|VLC|Spotify|Miro|MediaGo|Juice|iPodder|gPodder|Banshee)/(\\d+)\\.(\\d+)\\.?(\\d+)?\\.?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[144]=e;e=Object.create(null);e[0]=new RegExp("^(Peapod|Liferea)/([^.\\s]+)\\.([^.\\s]+)?\\.?([^.\\s]+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[145]=e;e=Object.create(null);e[0]=new RegExp("^(bPod|Player FM) BMID/(\\S+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[146]=e;e=Object.create(null);e[0]=new RegExp("^(Podcast ?Addict)/v(\\d+) ");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[147]=e;e=Object.create(null);e[0]=new RegExp("^(Podcast ?Addict) ");e[1]="PodcastAddict";e[2]=0;e[3]=0;e[4]=0;m.browser[148]=e;e=Object.create(null);e[0]=new RegExp("(Replay) AV");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[149]=e;e=Object.create(null);e[0]=new RegExp("(VOX) Music Player");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[150]=e;e=Object.create(null);e[0]=new RegExp("(CITA) RSS Aggregator/(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[151]=e;e=Object.create(null);e[0]=new RegExp("(Pocket Casts)$");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[152]=e;e=Object.create(null);e[0]=new RegExp("(Player FM)$");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[153]=e;e=Object.create(null);e[0]=new RegExp("(LG Player|Doppler|FancyMusic|MediaMonkey|Clementine) (\\d+)\\.(\\d+)\\.?([^.\\s]+)?\\.?([^.\\s]+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[154]=e;e=Object.create(null);e[0]=new RegExp("(philpodder)/(\\d+)\\.(\\d+)\\.?([^.\\s]+)?\\.?([^.\\s]+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[155]=e;e=Object.create(null);e[0]=new RegExp("(Player FM|Pocket Casts|DoggCatcher|Spotify|MediaMonkey|MediaGo|BashPodder)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[156]=e;e=Object.create(null);e[0]=new RegExp("(QuickTime)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[157]=e;e=Object.create(null);e[0]=new RegExp("(Kinoma)(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[158]=e;e=Object.create(null);e[0]=new RegExp("(Fancy) Cloud Music (\\d+)\\.(\\d+)");e[1]="FancyMusic";e[2]=0;e[3]=0;e[4]=0;m.browser[159]=e;e=Object.create(null);e[0]=new RegExp("EspnDownloadManager");e[1]="ESPN";e[2]=0;e[3]=0;e[4]=0;m.browser[160]=e;e=Object.create(null);e[0]=new RegExp("(ESPN) Radio (\\d+)\\.(\\d+)\\.?(\\d+)? ?[rv:]?(\\d+)? ");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[161]=e;e=Object.create(null);e[0]=new RegExp("(podracer|jPodder) v ?(\\d+)\\.(\\d+)\\.?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[162]=e;e=Object.create(null);e[0]=new RegExp("(ZDM)/(\\d+)\\.(\\d+)[; ]?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[163]=e;e=Object.create(null);e[0]=new RegExp("(Zune|BeyondPod) (\\d+)\\.?(\\d+)?[\\);]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[164]=e;e=Object.create(null);e[0]=new RegExp("(WMPlayer)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[165]=e;e=Object.create(null);e[0]=new RegExp("^(Lavf)");e[1]="WMPlayer";e[2]=0;e[3]=0;e[4]=0;m.browser[166]=e;e=Object.create(null);e[0]=new RegExp("^(RSSRadio)[ /]?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[167]=e;e=Object.create(null);e[0]=new RegExp("(RSS_Radio) (\\d+)\\.(\\d+)");e[1]="RSSRadio";e[2]=0;e[3]=0;e[4]=0;m.browser[168]=e;e=Object.create(null);e[0]=new RegExp("(Podkicker) \\S+/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Podkicker";e[2]=0;e[3]=0;e[4]=0;m.browser[169]=e;e=Object.create(null);e[0]=new RegExp("^(HTC) Streaming Player \\S+ / \\S+ / \\S+ / (\\d+)\\.(\\d+)\\.?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[170]=e;e=Object.create(null);e[0]=new RegExp("^(Stitcher)/iOS");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[171]=e;e=Object.create(null);e[0]=new RegExp("^(Stitcher)/Android");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[172]=e;e=Object.create(null);e[0]=new RegExp("^(VLC) .*version (\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[173]=e;e=Object.create(null);e[0]=new RegExp(" (VLC) for");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[174]=e;e=Object.create(null);e[0]=new RegExp("(vlc)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="VLC";e[2]=0;e[3]=0;e[4]=0;m.browser[175]=e;e=Object.create(null);e[0]=new RegExp("^(foobar)\\S+/([^.\\s]+)\\.([^.\\s]+)?\\.?([^.\\s]+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[176]=e;e=Object.create(null);e[0]=new RegExp("^(Clementine)\\S+ ([^.\\s]+)\\.([^.\\s]+)?\\.?([^.\\s]+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[177]=e;e=Object.create(null);e[0]=new RegExp("(amarok)/([^.\\s]+)\\.([^.\\s]+)?\\.?([^.\\s]+)?");e[1]="Amarok";e[2]=0;e[3]=0;e[4]=0;m.browser[178]=e;e=Object.create(null);e[0]=new RegExp("(Custom)-Feed Reader");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[179]=e;e=Object.create(null);e[0]=new RegExp("(iRider|Crazy Browser|SkipStone|iCab|Lunascape|Sleipnir|Maemo Browser) (\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[180]=e;e=Object.create(null);e[0]=new RegExp("(iCab|Lunascape|Opera|Android|Jasmine|Polaris|Microsoft SkyDriveSync|The Bat!) (\\d+)\\.(\\d+)\\.?(\\d+)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[181]=e;e=Object.create(null);e[0]=new RegExp("(Kindle)/(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[182]=e;e=Object.create(null);e[0]=new RegExp("(Android) Donut");e[1]=0;e[2]="1";e[3]="2";e[4]=0;m.browser[183]=e;e=Object.create(null);e[0]=new RegExp("(Android) Eclair");e[1]=0;e[2]="2";e[3]="1";e[4]=0;m.browser[184]=e;e=Object.create(null);e[0]=new RegExp("(Android) Froyo");e[1]=0;e[2]="2";e[3]="2";e[4]=0;m.browser[185]=e;e=Object.create(null);e[0]=new RegExp("(Android) Gingerbread");e[1]=0;e[2]="2";e[3]="3";e[4]=0;m.browser[186]=e;e=Object.create(null);e[0]=new RegExp("(Android) Honeycomb");e[1]=0;e[2]="3";e[3]=0;e[4]=0;m.browser[187]=e;e=Object.create(null);e[0]=new RegExp("(MSIE) (\\d+)\\.(\\d+).*XBLWP7");e[1]="IE Large Screen";e[2]=0;e[3]=0;e[4]=0;m.browser[188]=e;e=Object.create(null);e[0]=new RegExp("(Nextcloud)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[189]=e;e=Object.create(null);e[0]=new RegExp("(mirall)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[190]=e;e=Object.create(null);e[0]=new RegExp("(ownCloud-android)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Owncloud";e[2]=0;e[3]=0;e[4]=0;m.browser[191]=e;e=Object.create(null);e[0]=new RegExp("(Obigo)InternetBrowser");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[192]=e;e=Object.create(null);e[0]=new RegExp("(Obigo)\\-Browser");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[193]=e;e=Object.create(null);e[0]=new RegExp("(Obigo|OBIGO)[^\\d]*(\\d+)(?:.(\\d+))?");e[1]="Obigo";e[2]=0;e[3]=0;e[4]=0;m.browser[194]=e;e=Object.create(null);e[0]=new RegExp("(MAXTHON|Maxthon) (\\d+)\\.(\\d+)");e[1]="Maxthon";e[2]=0;e[3]=0;e[4]=0;m.browser[195]=e;e=Object.create(null);e[0]=new RegExp("(Maxthon|MyIE2|Uzbl|Shiira)");e[1]=0;e[2]="0";e[3]=0;e[4]=0;m.browser[196]=e;e=Object.create(null);e[0]=new RegExp("(BrowseX) \\((\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[197]=e;e=Object.create(null);e[0]=new RegExp("(NCSA_Mosaic)/(\\d+)\\.(\\d+)");e[1]="NCSA Mosaic";e[2]=0;e[3]=0;e[4]=0;m.browser[198]=e;e=Object.create(null);e[0]=new RegExp("(POLARIS)/(\\d+)\\.(\\d+)");e[1]="Polaris";e[2]=0;e[3]=0;e[4]=0;m.browser[199]=e;e=Object.create(null);e[0]=new RegExp("(Embider)/(\\d+)\\.(\\d+)");e[1]="Polaris";e[2]=0;e[3]=0;e[4]=0;m.browser[200]=e;e=Object.create(null);e[0]=new RegExp("(BonEcho)/(\\d+)\\.(\\d+)\\.?([ab]?\\d+)?");e[1]="Bon Echo";e[2]=0;e[3]=0;e[4]=0;m.browser[201]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPhone|iPad).+Version/(\\d+)\\.(\\d+)(?:\\.(\\d+))?.*[ +]Safari");e[1]="Mobile Safari";e[2]=0;e[3]=0;e[4]=0;m.browser[202]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPod touch|iPhone|iPad);.*CPU.*OS[ +](\\d+)_(\\d+)(?:_(\\d+))?.* AppleNews\\/\\d+\\.\\d+\\.\\d+?");e[1]="Mobile Safari UI/WKWebView";e[2]=0;e[3]=0;e[4]=0;m.browser[203]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPhone|iPad).+Version/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Mobile Safari UI/WKWebView";e[2]=0;e[3]=0;e[4]=0;m.browser[204]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPod touch|iPhone|iPad);.*CPU.*OS[ +](\\d+)_(\\d+)(?:_(\\d+))?.*Mobile.*[ +]Safari");e[1]="Mobile Safari";e[2]=0;e[3]=0;e[4]=0;m.browser[205]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPod touch|iPhone|iPad);.*CPU.*OS[ +](\\d+)_(\\d+)(?:_(\\d+))?.*Mobile");e[1]="Mobile Safari UI/WKWebView";e[2]=0;e[3]=0;e[4]=0;m.browser[206]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPhone|iPad).* Safari");e[1]="Mobile Safari";e[2]=0;e[3]=0;e[4]=0;m.browser[207]=e;e=Object.create(null);e[0]=new RegExp("(iPod|iPhone|iPad)");e[1]="Mobile Safari UI/WKWebView";e[2]=0;e[3]=0;e[4]=0;m.browser[208]=e;e=Object.create(null);e[0]=new RegExp("(AvantGo) (\\d+).(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[209]=e;e=Object.create(null);e[0]=new RegExp("(OneBrowser)/(\\d+).(\\d+)");e[1]="ONE Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[210]=e;e=Object.create(null);e[0]=new RegExp("(Avant)");e[1]=0;e[2]="1";e[3]=0;e[4]=0;m.browser[211]=e;e=Object.create(null);e[0]=new RegExp("(QtCarBrowser)");e[1]=0;e[2]="1";e[3]=0;e[4]=0;m.browser[212]=e;e=Object.create(null);e[0]=new RegExp("^(iBrowser/Mini)(\\d+).(\\d+)");e[1]="iBrowser Mini";e[2]=0;e[3]=0;e[4]=0;m.browser[213]=e;e=Object.create(null);e[0]=new RegExp("^(iBrowser|iRAPP)/(\\d+).(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[214]=e;e=Object.create(null);e[0]=new RegExp("^(Nokia)");e[1]="Nokia Services (WAP) Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[215]=e;e=Object.create(null);e[0]=new RegExp("(NokiaBrowser)/(\\d+)\\.(\\d+).(\\d+)\\.(\\d+)");e[1]="Nokia Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[216]=e;e=Object.create(null);e[0]=new RegExp("(NokiaBrowser)/(\\d+)\\.(\\d+).(\\d+)");e[1]="Nokia Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[217]=e;e=Object.create(null);e[0]=new RegExp("(NokiaBrowser)/(\\d+)\\.(\\d+)");e[1]="Nokia Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[218]=e;e=Object.create(null);e[0]=new RegExp("(BrowserNG)/(\\d+)\\.(\\d+).(\\d+)");e[1]="Nokia Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[219]=e;e=Object.create(null);e[0]=new RegExp("(Series60)/5\\.0");e[1]="Nokia Browser";e[2]="7";e[3]="0";e[4]=0;m.browser[220]=e;e=Object.create(null);e[0]=new RegExp("(Series60)/(\\d+)\\.(\\d+)");e[1]="Nokia OSS Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[221]=e;e=Object.create(null);e[0]=new RegExp("(S40OviBrowser)/(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Ovi Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[222]=e;e=Object.create(null);e[0]=new RegExp("(Nokia)[EN]?(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[223]=e;e=Object.create(null);e[0]=new RegExp("(PlayBook).+RIM Tablet OS (\\d+)\\.(\\d+)\\.(\\d+)");e[1]="BlackBerry WebKit";e[2]=0;e[3]=0;e[4]=0;m.browser[224]=e;e=Object.create(null);e[0]=new RegExp("(Black[bB]erry|BB10).+Version/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="BlackBerry WebKit";e[2]=0;e[3]=0;e[4]=0;m.browser[225]=e;e=Object.create(null);e[0]=new RegExp("(Black[bB]erry)\\s?(\\d+)");e[1]="BlackBerry";e[2]=0;e[3]=0;e[4]=0;m.browser[226]=e;e=Object.create(null);e[0]=new RegExp("(OmniWeb)/v(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[227]=e;e=Object.create(null);e[0]=new RegExp("(Blazer)/(\\d+)\\.(\\d+)");e[1]="Palm Blazer";e[2]=0;e[3]=0;e[4]=0;m.browser[228]=e;e=Object.create(null);e[0]=new RegExp("(Pre)/(\\d+)\\.(\\d+)");e[1]="Palm Pre";e[2]=0;e[3]=0;e[4]=0;m.browser[229]=e;e=Object.create(null);e[0]=new RegExp("(ELinks)/(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[230]=e;e=Object.create(null);e[0]=new RegExp("(ELinks) \\((\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[231]=e;e=Object.create(null);e[0]=new RegExp("(Links) \\((\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[232]=e;e=Object.create(null);e[0]=new RegExp("(QtWeb) Internet Browser/(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[233]=e;e=Object.create(null);e[0]=new RegExp("(PhantomJS)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[234]=e;e=Object.create(null);e[0]=new RegExp("(AppleWebKit)/(\\d+)\\.?(\\d+)?\\+ .* Safari");e[1]="WebKit Nightly";e[2]=0;e[3]=0;e[4]=0;m.browser[235]=e;e=Object.create(null);e[0]=new RegExp("(Version)/(\\d+)\\.(\\d+)(?:\\.(\\d+))?.*Safari/");e[1]="Safari";e[2]=0;e[3]=0;e[4]=0;m.browser[236]=e;e=Object.create(null);e[0]=new RegExp("(Safari)/\\d+");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[237]=e;e=Object.create(null);e[0]=new RegExp("(OLPC)/Update(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[238]=e;e=Object.create(null);e[0]=new RegExp("(OLPC)/Update()\\.(\\d+)");e[1]=0;e[2]="0";e[3]=0;e[4]=0;m.browser[239]=e;e=Object.create(null);e[0]=new RegExp("(SEMC\\-Browser)/(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[240]=e;e=Object.create(null);e[0]=new RegExp("(Teleca)");e[1]="Teleca Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[241]=e;e=Object.create(null);e[0]=new RegExp("(Phantom)/V(\\d+)\\.(\\d+)");e[1]="Phantom Browser";e[2]=0;e[3]=0;e[4]=0;m.browser[242]=e;e=Object.create(null);e[0]=new RegExp("(Trident)/(7)\\.(0)");e[1]="IE";e[2]="11";e[3]=0;e[4]=0;m.browser[243]=e;e=Object.create(null);e[0]=new RegExp("(Trident)/(6)\\.(0)");e[1]="IE";e[2]="10";e[3]=0;e[4]=0;m.browser[244]=e;e=Object.create(null);e[0]=new RegExp("(Trident)/(5)\\.(0)");e[1]="IE";e[2]="9";e[3]=0;e[4]=0;m.browser[245]=e;e=Object.create(null);e[0]=new RegExp("(Trident)/(4)\\.(0)");e[1]="IE";e[2]="8";e[3]=0;e[4]=0;m.browser[246]=e;e=Object.create(null);e[0]=new RegExp("(Espial)/(\\d+)(?:\\.(\\d+))?(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[247]=e;e=Object.create(null);e[0]=new RegExp("(AppleWebKit)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Apple Mail";e[2]=0;e[3]=0;e[4]=0;m.browser[248]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[249]=e;e=Object.create(null);e[0]=new RegExp("(Firefox)/(\\d+)\\.(\\d+)(pre|[ab]\\d+[a-z]*)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[250]=e;e=Object.create(null);e[0]=new RegExp("([MS]?IE) (\\d+)\\.(\\d+)");e[1]="IE";e[2]=0;e[3]=0;e[4]=0;m.browser[251]=e;e=Object.create(null);e[0]=new RegExp("(python-requests)/(\\d+)\\.(\\d+)");e[1]="Python Requests";e[2]=0;e[3]=0;e[4]=0;m.browser[252]=e;e=Object.create(null);e[0]=new RegExp("\\b(Windows-Update-Agent|Microsoft-CryptoAPI|SophosUpdateManager|SophosAgent|Debian APT-HTTP|Ubuntu APT-HTTP|libcurl-agent|libwww-perl|urlgrabber|curl|Wget|OpenBSD ftp|jupdate)(?:[ /](\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[253]=e;e=Object.create(null);e[0]=new RegExp("(Java)[/ ]{0,1}\\d+\\.(\\d+)\\.(\\d+)[_-]*([a-zA-Z0-9]+)*");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[254]=e;e=Object.create(null);e[0]=new RegExp("^(Roku)/DVP-(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[255]=e;e=Object.create(null);e[0]=new RegExp("(Kurio)\\/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Kurio App";e[2]=0;e[3]=0;e[4]=0;m.browser[256]=e;e=Object.create(null);e[0]=new RegExp("^(Box(?: Sync)?)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[257]=e;e=Object.create(null);e[0]=new RegExp("(Wget)/(\\d+)\\.(\\d+)\\.?([ab]?\\d+[a-z]*)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.browser[258]=e;e=Object.create(null);e[0]=new RegExp("(curl)/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="cURL";e[2]=0;e[3]=0;e[4]=0;m.browser[259]=e;m.browser.length=260;m.device=Object.create(null);e=Object.create(null);e[0]=new RegExp("(Rival IQ, rivaliq.com)");e[1]="Spider";e[2]=0;e[3]=0;e[4]=0;m.device[0]=e;e=Object.create(null);e[0]=new RegExp("(?:(?:iPhone|Windows CE|Windows Phone|Android).*(?:(?:Bot|Yeti)-Mobile|YRSpider|BingPreview|bots?/\\d|(?:bot|spider)\\.html)|AdsBot-Google-Mobile.*iPhone)");e[1]="Spider";e[2]=0;e[3]=0;e[4]=0;m.device[1]=e;e=Object.create(null);e[0]=new RegExp("(?:DoCoMo|\\bMOT\\b|\\bLG\\b|Nokia|Samsung|SonyEricsson).*(?:(?:Bot|Yeti)-Mobile|bots?/\\d|(?:bot|crawler)\\.html|(?:jump|google|Wukong)bot|ichiro/mobile|/spider|YahooSeeker)");e[1]="Spider";e[2]=0;e[3]=0;e[4]=0;m.device[2]=e;e=Object.create(null);e[0]=new RegExp("\\bSmartWatch *\\( *([^;]+) *; *([^;]+) *;");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[3]=e;e=Object.create(null);e[0]=new RegExp("Android Application[^\\-]+ - (Sony) ?(Ericsson)? (.+) \\w+ - ");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[4]=e;e=Object.create(null);e[0]=new RegExp("Android Application[^\\-]+ - (?:HTC|HUAWEI|LGE|LENOVO|MEDION|TCT) (HTC|HUAWEI|LG|LENOVO|MEDION|ALCATEL)[ _\\-](.+) \\w+ - ");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[5]=e;e=Object.create(null);e[0]=new RegExp("Android Application[^\\-]+ - ([^ ]+) (.+) \\w+ - ");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[6]=e;e=Object.create(null);e[0]=new RegExp("; *([BLRQ]C\\d{4}[A-Z]+) +Build/");e[1]="3Q $1";e[2]=0;e[3]=0;e[4]=0;m.device[7]=e;e=Object.create(null);e[0]=new RegExp("; *(?:3Q_)([^;/]+) +Build");e[1]="3Q $1";e[2]=0;e[3]=0;e[4]=0;m.device[8]=e;e=Object.create(null);e[0]=new RegExp("Android [34].*; *(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700(?: Lite| 3G)?|A701|B1-A71|A1-\\d{3}|B1-\\d{3}|V360|V370|W500|W500P|W501|W501P|W510|W511|W700|Slider SL101|DA22[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[9]=e;e=Object.create(null);e[0]=new RegExp("; *Acer Iconia Tab ([^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[10]=e;e=Object.create(null);e[0]=new RegExp("; *(Z1[1235]0|E320[^/]*|S500|S510|Liquid[^;/]*|Iconia A\\d+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[11]=e;e=Object.create(null);e[0]=new RegExp("; *(Acer |ACER )([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[12]=e;e=Object.create(null);e[0]=new RegExp("; *(Advent )?(Vega(?:Bean|Comb)?).* Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[13]=e;e=Object.create(null);e[0]=new RegExp("; *(Ainol )?((?:NOVO|[Nn]ovo)[^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[14]=e;e=Object.create(null);e[0]=new RegExp("; *AIRIS[ _\\-]?([^/;\\)]+) *(?:;|\\)|Build)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[15]=e;e=Object.create(null);e[0]=new RegExp("; *(OnePAD[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[16]=e;e=Object.create(null);e[0]=new RegExp("; *Airpad[ \\-]([^;/]+) Build");e[1]="Airpad $1";e[2]=0;e[3]=0;e[4]=0;m.device[17]=e;e=Object.create(null);e[0]=new RegExp("; *(one ?touch) (EVO7|T10|T20) Build");e[1]="Alcatel One Touch $2";e[2]=0;e[3]=0;e[4]=0;m.device[18]=e;e=Object.create(null);e[0]=new RegExp("; *(?:alcatel[ _])?(?:(?:one[ _]?touch[ _])|ot[ \\-])([^;/]+);? Build");e[1]="Alcatel One Touch $1";e[2]=0;e[3]=0;e[4]=0;m.device[19]=e;e=Object.create(null);e[0]=new RegExp("; *(TCL)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[20]=e;e=Object.create(null);e[0]=new RegExp("; *(Vodafone Smart II|Optimus_Madrid) Build");e[1]="Alcatel $1";e[2]=0;e[3]=0;e[4]=0;m.device[21]=e;e=Object.create(null);e[0]=new RegExp("; *BASE_Lutea_3 Build");e[1]="Alcatel One Touch 998";e[2]=0;e[3]=0;e[4]=0;m.device[22]=e;e=Object.create(null);e[0]=new RegExp("; *BASE_Varia Build");e[1]="Alcatel One Touch 918D";e[2]=0;e[3]=0;e[4]=0;m.device[23]=e;e=Object.create(null);e[0]=new RegExp("; *((?:FINE|Fine)\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[24]=e;e=Object.create(null);e[0]=new RegExp("; *(ALLVIEW[ _]?|Allview[ _]?)((?:Speed|SPEED).*) Build/");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[25]=e;e=Object.create(null);e[0]=new RegExp("; *(ALLVIEW[ _]?|Allview[ _]?)?(AX1_Shine|AX2_Frenzy) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[26]=e;e=Object.create(null);e[0]=new RegExp("; *(ALLVIEW[ _]?|Allview[ _]?)([^;/]*) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[27]=e;e=Object.create(null);e[0]=new RegExp("; *(A13-MID) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[28]=e;e=Object.create(null);e[0]=new RegExp("; *(Allwinner)[ _\\-]?([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[29]=e;e=Object.create(null);e[0]=new RegExp("; *(A651|A701B?|A702|A703|A705|A706|A707|A711|A712|A713|A717|A722|A785|A801|A802|A803|A901|A902|A1002|A1003|A1006|A1007|A9701|A9703|Q710|Q80) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[30]=e;e=Object.create(null);e[0]=new RegExp("; *(?:AMOI|Amoi)[ _]([^;/]+) Build");e[1]="Amoi $1";e[2]=0;e[3]=0;e[4]=0;m.device[31]=e;e=Object.create(null);e[0]=new RegExp("^(?:AMOI|Amoi)[ _]([^;/]+) Linux");e[1]="Amoi $1";e[2]=0;e[3]=0;e[4]=0;m.device[32]=e;e=Object.create(null);e[0]=new RegExp("; *(MW(?:0[789]|10)[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[33]=e;e=Object.create(null);e[0]=new RegExp("; *(G7|M1013|M1015G|M11[CG]?|M-?12[B]?|M15|M19[G]?|M30[ACQ]?|M31[GQ]|M32|M33[GQ]|M36|M37|M38|M701T|M710|M712B|M713|M715G|M716G|M71(?:G|GS|T)?|M72[T]?|M73[T]?|M75[GT]?|M77G|M79T|M7L|M7LN|M81|M810|M81T|M82|M92|M92KS|M92S|M717G|M721|M722G|M723|M725G|M739|M785|M791|M92SK|M93D) Build");e[1]="Aoson $1";e[2]=0;e[3]=0;e[4]=0;m.device[34]=e;e=Object.create(null);e[0]=new RegExp("; *Aoson ([^;/]+) Build");e[1]="Aoson $1";e[2]=0;e[3]=0;e[4]=0;m.device[35]=e;e=Object.create(null);e[0]=new RegExp("; *[Aa]panda[ _\\-]([^;/]+) Build");e[1]="Apanda $1";e[2]=0;e[3]=0;e[4]=0;m.device[36]=e;e=Object.create(null);e[0]=new RegExp("; *(?:ARCHOS|Archos) ?(GAMEPAD.*?)(?: Build|[;/\\(\\)\\-])");e[1]="Archos $1";e[2]=0;e[3]=0;e[4]=0;m.device[37]=e;e=Object.create(null);e[0]=new RegExp("ARCHOS; GOGI; ([^;]+);");e[1]="Archos $1";e[2]=0;e[3]=0;e[4]=0;m.device[38]=e;e=Object.create(null);e[0]=new RegExp("(?:ARCHOS|Archos)[ _]?(.*?)(?: Build|[;/\\(\\)\\-]|$)");e[1]="Archos $1";e[2]=0;e[3]=0;e[4]=0;m.device[39]=e;e=Object.create(null);e[0]=new RegExp("; *(AN(?:7|8|9|10|13)[A-Z0-9]{1,4}) Build");e[1]="Archos $1";e[2]=0;e[3]=0;e[4]=0;m.device[40]=e;e=Object.create(null);e[0]=new RegExp("; *(A28|A32|A43|A70(?:BHT|CHT|HB|S|X)|A101(?:B|C|IT)|A7EB|A7EB-WK|101G9|80G9) Build");e[1]="Archos $1";e[2]=0;e[3]=0;e[4]=0;m.device[41]=e;e=Object.create(null);e[0]=new RegExp("; *(PAD-FMD[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[42]=e;e=Object.create(null);e[0]=new RegExp("; *(BioniQ) ?([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[43]=e;e=Object.create(null);e[0]=new RegExp("; *(AN\\d[^;/]+|ARCHM\\d+) Build");e[1]="Arnova $1";e[2]=0;e[3]=0;e[4]=0;m.device[44]=e;e=Object.create(null);e[0]=new RegExp("; *(?:ARNOVA|Arnova) ?([^;/]+) Build");e[1]="Arnova $1";e[2]=0;e[3]=0;e[4]=0;m.device[45]=e;e=Object.create(null);e[0]=new RegExp("; *(?:ASSISTANT )?(AP)-?([1789]\\d{2}[A-Z]{0,2}|80104) Build");e[1]="Assistant $1-$2";e[2]=0;e[3]=0;e[4]=0;m.device[46]=e;e=Object.create(null);e[0]=new RegExp("; *(ME17\\d[^;/]*|ME3\\d{2}[^;/]+|K00[A-Z]|Nexus 10|Nexus 7(?: 2013)?|PadFone[^;/]*|Transformer[^;/]*|TF\\d{3}[^;/]*|eeepc) Build");e[1]="Asus $1";e[2]=0;e[3]=0;e[4]=0;m.device[47]=e;e=Object.create(null);e[0]=new RegExp("; *ASUS[ _]*([^;/]+) Build");e[1]="Asus $1";e[2]=0;e[3]=0;e[4]=0;m.device[48]=e;e=Object.create(null);e[0]=new RegExp("; *Garmin-Asus ([^;/]+) Build");e[1]="Garmin-Asus $1";e[2]=0;e[3]=0;e[4]=0;m.device[49]=e;e=Object.create(null);e[0]=new RegExp("; *(Garminfone) Build");e[1]="Garmin $1";e[2]=0;e[3]=0;e[4]=0;m.device[50]=e;e=Object.create(null);e[0]=new RegExp("; (@TAB-[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[51]=e;e=Object.create(null);e[0]=new RegExp("; *(T-(?:07|[^0]\\d)[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[52]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Axioo[ _\\-]([^;/]+)|(picopad)[ _\\-]([^;/]+)) Build");e[1]="Axioo $1$2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[53]=e;e=Object.create(null);e[0]=new RegExp("; *(V(?:100|700|800)[^;/]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[54]=e;e=Object.create(null);e[0]=new RegExp("; *(IBAK\\-[^;/]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[55]=e;e=Object.create(null);e[0]=new RegExp("; *(HY5001|HY6501|X12|X21|I5) Build");e[1]="Bedove $1";e[2]=0;e[3]=0;e[4]=0;m.device[56]=e;e=Object.create(null);e[0]=new RegExp("; *(JC-[^;/]*) Build");e[1]="Benss $1";e[2]=0;e[3]=0;e[4]=0;m.device[57]=e;e=Object.create(null);e[0]=new RegExp("; *(BB) ([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[58]=e;e=Object.create(null);e[0]=new RegExp("; *(BlackBird)[ _](I8.*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[59]=e;e=Object.create(null);e[0]=new RegExp("; *(BlackBird)[ _](.*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[60]=e;e=Object.create(null);e[0]=new RegExp("; *([0-9]+BP[EM][^;/]*|Endeavour[^;/]+) Build");e[1]="Blaupunkt $1";e[2]=0;e[3]=0;e[4]=0;m.device[61]=e;e=Object.create(null);e[0]=new RegExp("; *((?:BLU|Blu)[ _\\-])([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[62]=e;e=Object.create(null);e[0]=new RegExp("; *(?:BMOBILE )?(Blu|BLU|DASH [^;/]+|VIVO 4\\.3|TANK 4\\.5) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[63]=e;e=Object.create(null);e[0]=new RegExp("; *(TOUCH\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[64]=e;e=Object.create(null);e[0]=new RegExp("; *(AX5\\d+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[65]=e;e=Object.create(null);e[0]=new RegExp("; *([Bb]q) ([^;/]+);? Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[66]=e;e=Object.create(null);e[0]=new RegExp("; *(Maxwell [^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[67]=e;e=Object.create(null);e[0]=new RegExp("; *((?:B-Tab|B-TAB) ?\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[68]=e;e=Object.create(null);e[0]=new RegExp("; *(Broncho) ([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[69]=e;e=Object.create(null);e[0]=new RegExp("; *CAPTIVA ([^;/]+) Build");e[1]="Captiva $1";e[2]=0;e[3]=0;e[4]=0;m.device[70]=e;e=Object.create(null);e[0]=new RegExp("; *(C771|CAL21|IS11CA) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[71]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Cat|CAT) ([^;/]+) Build");e[1]="Cat $1";e[2]=0;e[3]=0;e[4]=0;m.device[72]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Cat)(Nova.*) Build");e[1]="Cat $1";e[2]=0;e[3]=0;e[4]=0;m.device[73]=e;e=Object.create(null);e[0]=new RegExp("; *(INM8002KP|ADM8000KP_[AB]) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[74]=e;e=Object.create(null);e[0]=new RegExp("; *(?:[Cc]elkon[ _\\*]|CELKON[ _\\*])([^;/\\)]+) ?(?:Build|;|\\))");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[75]=e;e=Object.create(null);e[0]=new RegExp("Build/(?:[Cc]elkon)+_?([^;/_\\)]+)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[76]=e;e=Object.create(null);e[0]=new RegExp("; *(CT)-?(\\d+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[77]=e;e=Object.create(null);e[0]=new RegExp("; *(A19|A19Q|A105|A107[^;/\\)]*) ?(?:Build|;|\\))");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[78]=e;e=Object.create(null);e[0]=new RegExp("; *(TPC[0-9]{4,5}) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[79]=e;e=Object.create(null);e[0]=new RegExp("; *(Cloudfone)[ _](Excite)([^ ][^;/]+) Build");e[1]="$1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[80]=e;e=Object.create(null);e[0]=new RegExp("; *(Excite|ICE)[ _](\\d+[^;/]+) Build");e[1]="Cloudfone $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[81]=e;e=Object.create(null);e[0]=new RegExp("; *(Cloudfone|CloudPad)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[82]=e;e=Object.create(null);e[0]=new RegExp("; *((?:Aquila|Clanga|Rapax)[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[83]=e;e=Object.create(null);e[0]=new RegExp("; *(?:CFW-|Kyros )?(MID[0-9]{4}(?:[ABC]|SR|TV)?)(\\(3G\\)-4G| GB 8K| 3G| 8K| GB)? *(?:Build|[;\\)])");e[1]="CobyKyros $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[84]=e;e=Object.create(null);e[0]=new RegExp("; *([^;/]*)Coolpad[ _]([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[85]=e;e=Object.create(null);e[0]=new RegExp("; *(CUBE[ _])?([KU][0-9]+ ?GT.*|A5300) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[86]=e;e=Object.create(null);e[0]=new RegExp("; *CUBOT ([^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[87]=e;e=Object.create(null);e[0]=new RegExp("; *(BOBBY) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[88]=e;e=Object.create(null);e[0]=new RegExp("; *(Dslide [^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[89]=e;e=Object.create(null);e[0]=new RegExp("; *(XCD)[ _]?(28|35) Build");e[1]="Dell $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[90]=e;e=Object.create(null);e[0]=new RegExp("; *(001DL) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[91]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Dell|DELL) (Streak) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[92]=e;e=Object.create(null);e[0]=new RegExp("; *(101DL|GS01|Streak Pro[^;/]*) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[93]=e;e=Object.create(null);e[0]=new RegExp("; *([Ss]treak ?7) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[94]=e;e=Object.create(null);e[0]=new RegExp("; *(Mini-3iX) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[95]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Dell|DELL)[ _](Aero|Venue|Thunder|Mini.*|Streak[ _]Pro) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[96]=e;e=Object.create(null);e[0]=new RegExp("; *Dell[ _]([^;/]+) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[97]=e;e=Object.create(null);e[0]=new RegExp("; *Dell ([^;/]+) Build");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[98]=e;e=Object.create(null);e[0]=new RegExp("; *(TA[CD]-\\d+[^;/]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[99]=e;e=Object.create(null);e[0]=new RegExp("; *(iP[789]\\d{2}(?:-3G)?|IP10\\d{2}(?:-8GB)?) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[100]=e;e=Object.create(null);e[0]=new RegExp("; *(AirTab)[ _\\-]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[101]=e;e=Object.create(null);e[0]=new RegExp("; *(F\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[102]=e;e=Object.create(null);e[0]=new RegExp("; *(HT-03A) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[103]=e;e=Object.create(null);e[0]=new RegExp("; *(HT\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[104]=e;e=Object.create(null);e[0]=new RegExp("; *(L\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[105]=e;e=Object.create(null);e[0]=new RegExp("; *(N\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[106]=e;e=Object.create(null);e[0]=new RegExp("; *(P\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[107]=e;e=Object.create(null);e[0]=new RegExp("; *(SC\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[108]=e;e=Object.create(null);e[0]=new RegExp("; *(SH\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[109]=e;e=Object.create(null);e[0]=new RegExp("; *(SO\\-\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[110]=e;e=Object.create(null);e[0]=new RegExp("; *(T\\-0[12][^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[111]=e;e=Object.create(null);e[0]=new RegExp("; *(DOOV)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[112]=e;e=Object.create(null);e[0]=new RegExp("; *(Enot|ENOT)[ -]?([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[113]=e;e=Object.create(null);e[0]=new RegExp("; *[^;/]+ Build/(?:CROSS|Cross)+[ _\\-]([^\\)]+)");e[1]="CROSS $1";e[2]=0;e[3]=0;e[4]=0;m.device[114]=e;e=Object.create(null);e[0]=new RegExp("; *(CROSS|Cross)[ _\\-]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[115]=e;e=Object.create(null);e[0]=new RegExp("; *Explay[_ ](.+?)(?:[\\)]| Build)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[116]=e;e=Object.create(null);e[0]=new RegExp("; *(IQ.*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[117]=e;e=Object.create(null);e[0]=new RegExp("; *(Fly|FLY)[ _](IQ[^;]+|F[34]\\d+[^;]*);? Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[118]=e;e=Object.create(null);e[0]=new RegExp("; *(M532|Q572|FJL21) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[119]=e;e=Object.create(null);e[0]=new RegExp("; *(G1) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[120]=e;e=Object.create(null);e[0]=new RegExp("; *(Geeksphone) ([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[121]=e;e=Object.create(null);e[0]=new RegExp("; *(G[^F]?FIVE) ([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[122]=e;e=Object.create(null);e[0]=new RegExp("; *(Gionee)[ _\\-]([^;/]+)(?:/[^;/]+)? Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[123]=e;e=Object.create(null);e[0]=new RegExp("; *(GN\\d+[A-Z]?|INFINITY_PASSION|Ctrl_V1) Build");e[1]="Gionee $1";e[2]=0;e[3]=0;e[4]=0;m.device[124]=e;e=Object.create(null);e[0]=new RegExp("; *(E3) Build/JOP40D");e[1]="Gionee $1";e[2]=0;e[3]=0;e[4]=0;m.device[125]=e;e=Object.create(null);e[0]=new RegExp("\\sGIONEE[-\\s_](\\w*)");e[1]="Gionee $1";e[2]=0;e[3]=0;e[4]=0;m.device[126]=e;e=Object.create(null);e[0]=new RegExp("; *((?:FONE|QUANTUM|INSIGNIA) \\d+[^;/]*|PLAYTAB) Build");e[1]="GoClever $1";e[2]=0;e[3]=0;e[4]=0;m.device[127]=e;e=Object.create(null);e[0]=new RegExp("; *GOCLEVER ([^;/]+) Build");e[1]="GoClever $1";e[2]=0;e[3]=0;e[4]=0;m.device[128]=e;e=Object.create(null);e[0]=new RegExp("; *(Glass \\d+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[129]=e;e=Object.create(null);e[0]=new RegExp("; *(Pixel \\w+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[130]=e;e=Object.create(null);e[0]=new RegExp("; *(GSmart)[ -]([^/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[131]=e;e=Object.create(null);e[0]=new RegExp("; *(imx5[13]_[^/]+) Build");e[1]="Freescale $1";e[2]=0;e[3]=0;e[4]=0;m.device[132]=e;e=Object.create(null);e[0]=new RegExp("; *Haier[ _\\-]([^/]+) Build");e[1]="Haier $1";e[2]=0;e[3]=0;e[4]=0;m.device[133]=e;e=Object.create(null);e[0]=new RegExp("; *(PAD1016) Build");e[1]="Haipad $1";e[2]=0;e[3]=0;e[4]=0;m.device[134]=e;e=Object.create(null);e[0]=new RegExp("; *(M701|M7|M8|M9) Build");e[1]="Haipad $1";e[2]=0;e[3]=0;e[4]=0;m.device[135]=e;e=Object.create(null);e[0]=new RegExp("; *(SN\\d+T[^;\\)/]*)(?: Build|[;\\)])");e[1]="Hannspree $1";e[2]=0;e[3]=0;e[4]=0;m.device[136]=e;e=Object.create(null);e[0]=new RegExp("Build/HCL ME Tablet ([^;\\)]+)[\\);]");e[1]="HCLme $1";e[2]=0;e[3]=0;e[4]=0;m.device[137]=e;e=Object.create(null);e[0]=new RegExp("; *([^;\\/]+) Build/HCL");e[1]="HCLme $1";e[2]=0;e[3]=0;e[4]=0;m.device[138]=e;e=Object.create(null);e[0]=new RegExp("; *(MID-?\\d{4}C[EM]) Build");e[1]="Hena $1";e[2]=0;e[3]=0;e[4]=0;m.device[139]=e;e=Object.create(null);e[0]=new RegExp("; *(EG\\d{2,}|HS-[^;/]+|MIRA[^;/]+) Build");e[1]="Hisense $1";e[2]=0;e[3]=0;e[4]=0;m.device[140]=e;e=Object.create(null);e[0]=new RegExp("; *(andromax[^;/]+) Build");e[1]="Hisense $1";e[2]=0;e[3]=0;e[4]=0;m.device[141]=e;e=Object.create(null);e[0]=new RegExp("; *(?:AMAZE[ _](S\\d+)|(S\\d+)[ _]AMAZE) Build");e[1]="AMAZE $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[142]=e;e=Object.create(null);e[0]=new RegExp("; *(PlayBook) Build");e[1]="HP $1";e[2]=0;e[3]=0;e[4]=0;m.device[143]=e;e=Object.create(null);e[0]=new RegExp("; *HP ([^/]+) Build");e[1]="HP $1";e[2]=0;e[3]=0;e[4]=0;m.device[144]=e;e=Object.create(null);e[0]=new RegExp("; *([^/]+_tenderloin) Build");e[1]="HP TouchPad";e[2]=0;e[3]=0;e[4]=0;m.device[145]=e;e=Object.create(null);e[0]=new RegExp("; *(HUAWEI |Huawei-)?([UY][^;/]+) Build/(?:Huawei|HUAWEI)([UY][^\\);]+)\\)");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[146]=e;e=Object.create(null);e[0]=new RegExp("; *([^;/]+) Build[/ ]Huawei(MT1-U06|[A-Z]+\\d+[^\\);]+)[^\\);]*\\)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[147]=e;e=Object.create(null);e[0]=new RegExp("; *(S7|M860) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[148]=e;e=Object.create(null);e[0]=new RegExp("; *((?:HUAWEI|Huawei)[ \\-]?)(MediaPad) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[149]=e;e=Object.create(null);e[0]=new RegExp("; *((?:HUAWEI[ _]?|Huawei[ _])?Ascend[ _])([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[150]=e;e=Object.create(null);e[0]=new RegExp("; *((?:HUAWEI|Huawei)[ _\\-]?)((?:G700-|MT-)[^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[151]=e;e=Object.create(null);e[0]=new RegExp("; *((?:HUAWEI|Huawei)[ _\\-]?)([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[152]=e;e=Object.create(null);e[0]=new RegExp("; *(MediaPad[^;]+|SpringBoard) Build/Huawei");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[153]=e;e=Object.create(null);e[0]=new RegExp("; *([^;]+) Build/(?:Huawei|HUAWEI)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[154]=e;e=Object.create(null);e[0]=new RegExp("; *([Uu])([89]\\d{3}) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[155]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Ideos |IDEOS )(S7) Build");e[1]="Huawei Ideos$1";e[2]=0;e[3]=0;e[4]=0;m.device[156]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Ideos |IDEOS )([^;/]+\\s*|\\s*)Build");e[1]="Huawei Ideos$1";e[2]=0;e[3]=0;e[4]=0;m.device[157]=e;e=Object.create(null);e[0]=new RegExp("; *(Orange Daytona|Pulse|Pulse Mini|Vodafone 858|C8500|C8600|C8650|C8660|Nexus 6P|ATH-.+?) Build[/ ]");e[1]="Huawei $1";e[2]=0;e[3]=0;e[4]=0;m.device[158]=e;e=Object.create(null);e[0]=new RegExp("; *HTC[ _]([^;]+); Windows Phone");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[159]=e;e=Object.create(null);e[0]=new RegExp("; *(?:HTC[ _/])+([^ _/]+)(?:[/\\\\]1\\.0 | V|/| +)\\d+\\.\\d[\\d\\.]*(?: *Build|\\))");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[160]=e;e=Object.create(null);e[0]=new RegExp("; *(?:HTC[ _/])+([^ _/]+)(?:[ _/]([^ _/]+))?(?:[/\\\\]1\\.0 | V|/| +)\\d+\\.\\d[\\d\\.]*(?: *Build|\\))");e[1]="HTC $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[161]=e;e=Object.create(null);e[0]=new RegExp("; *(?:HTC[ _/])+([^ _/]+)(?:[ _/]([^ _/]+)(?:[ _/]([^ _/]+))?)?(?:[/\\\\]1\\.0 | V|/| +)\\d+\\.\\d[\\d\\.]*(?: *Build|\\))");e[1]="HTC $1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[162]=e;e=Object.create(null);e[0]=new RegExp("; *(?:HTC[ _/])+([^ _/]+)(?:[ _/]([^ _/]+)(?:[ _/]([^ _/]+)(?:[ _/]([^ _/]+))?)?)?(?:[/\\\\]1\\.0 | V|/| +)\\d+\\.\\d[\\d\\.]*(?: *Build|\\))");e[1]="HTC $1 $2 $3 $4";e[2]=0;e[3]=0;e[4]=0;m.device[163]=e;e=Object.create(null);e[0]=new RegExp("; *(?:(?:HTC|htc)(?:_blocked)*[ _/])+([^ _/;]+)(?: *Build|[;\\)]| - )");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[164]=e;e=Object.create(null);e[0]=new RegExp("; *(?:(?:HTC|htc)(?:_blocked)*[ _/])+([^ _/]+)(?:[ _/]([^ _/;\\)]+))?(?: *Build|[;\\)]| - )");e[1]="HTC $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[165]=e;e=Object.create(null);e[0]=new RegExp("; *(?:(?:HTC|htc)(?:_blocked)*[ _/])+([^ _/]+)(?:[ _/]([^ _/]+)(?:[ _/]([^ _/;\\)]+))?)?(?: *Build|[;\\)]| - )");e[1]="HTC $1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[166]=e;e=Object.create(null);e[0]=new RegExp("; *(?:(?:HTC|htc)(?:_blocked)*[ _/])+([^ _/]+)(?:[ _/]([^ _/]+)(?:[ _/]([^ _/]+)(?:[ _/]([^ /;]+))?)?)?(?: *Build|[;\\)]| - )");e[1]="HTC $1 $2 $3 $4";e[2]=0;e[3]=0;e[4]=0;m.device[167]=e;e=Object.create(null);e[0]=new RegExp("HTC Streaming Player [^\\/]*/[^\\/]*/ htc_([^/]+) /");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[168]=e;e=Object.create(null);e[0]=new RegExp("(?:[;,] *|^)(?:htccn_chs-)?HTC[ _-]?([^;]+?)(?: *Build|clay|Android|-?Mozilla| Opera| Profile| UNTRUSTED|[;/\\(\\)]|$)");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[169]=e;e=Object.create(null);e[0]=new RegExp("; *(A6277|ADR6200|ADR6300|ADR6350|ADR6400[A-Z]*|ADR6425[A-Z]*|APX515CKT|ARIA|Desire[^_ ]*|Dream|EndeavorU|Eris|Evo|Flyer|HD2|Hero|HERO200|Hero CDMA|HTL21|Incredible|Inspire[A-Z0-9]*|Legend|Liberty|Nexus ?(?:One|HD2)|One|One S C2|One[ _]?(?:S|V|X\\+?)\\w*|PC36100|PG06100|PG86100|S31HT|Sensation|Wildfire)(?: Build|[/;\\(\\)])");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[170]=e;e=Object.create(null);e[0]=new RegExp("; *(ADR6200|ADR6400L|ADR6425LVW|Amaze|DesireS?|EndeavorU|Eris|EVO|Evo\\d[A-Z]+|HD2|IncredibleS?|Inspire[A-Z0-9]*|Inspire[A-Z0-9]*|Sensation[A-Z0-9]*|Wildfire)[ _-](.+?)(?:[/;\\)]|Build|MIUI|1\\.0)");e[1]="HTC $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[171]=e;e=Object.create(null);e[0]=new RegExp("; *HYUNDAI (T\\d[^/]*) Build");e[1]="Hyundai $1";e[2]=0;e[3]=0;e[4]=0;m.device[172]=e;e=Object.create(null);e[0]=new RegExp("; *HYUNDAI ([^;/]+) Build");e[1]="Hyundai $1";e[2]=0;e[3]=0;e[4]=0;m.device[173]=e;e=Object.create(null);e[0]=new RegExp("; *(X700|Hold X|MB-6900) Build");e[1]="Hyundai $1";e[2]=0;e[3]=0;e[4]=0;m.device[174]=e;e=Object.create(null);e[0]=new RegExp("; *(?:iBall[ _\\-])?(Andi)[ _]?(\\d[^;/]*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[175]=e;e=Object.create(null);e[0]=new RegExp("; *(IBall)(?:[ _]([^;/]+)|) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[176]=e;e=Object.create(null);e[0]=new RegExp("; *(NT-\\d+[^ ;/]*|Net[Tt]AB [^;/]+|Mercury [A-Z]+|iconBIT)(?: S/N:[^;/]+)? Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[177]=e;e=Object.create(null);e[0]=new RegExp("; *(IMO)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[178]=e;e=Object.create(null);e[0]=new RegExp("; *i-?mobile[ _]([^/]+) Build/");e[1]="i-mobile $1";e[2]=0;e[3]=0;e[4]=0;m.device[179]=e;e=Object.create(null);e[0]=new RegExp("; *(i-(?:style|note)[^/]*) Build/");e[1]="i-mobile $1";e[2]=0;e[3]=0;e[4]=0;m.device[180]=e;e=Object.create(null);e[0]=new RegExp("; *(ImPAD) ?(\\d+(?:.)*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[181]=e;e=Object.create(null);e[0]=new RegExp("; *(Infinix)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[182]=e;e=Object.create(null);e[0]=new RegExp("; *(Informer)[ \\-]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[183]=e;e=Object.create(null);e[0]=new RegExp("; *(TAB) ?([78][12]4) Build");e[1]="Intenso $1";e[2]=0;e[3]=0;e[4]=0;m.device[184]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Intex[ _])?(AQUA|Aqua)([ _\\.\\-])([^;/]+) *(?:Build|;)");e[1]="$1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[185]=e;e=Object.create(null);e[0]=new RegExp("; *(?:INTEX|Intex)(?:[_ ]([^\\ _;/]+))(?:[_ ]([^\\ _;/]+))? *(?:Build|;)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[186]=e;e=Object.create(null);e[0]=new RegExp("; *([iI]Buddy)[ _]?(Connect)(?:_|\\?_| )?([^;/]*) *(?:Build|;)");e[1]="$1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[187]=e;e=Object.create(null);e[0]=new RegExp("; *(I-Buddy)[ _]([^;/]+) *(?:Build|;)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[188]=e;e=Object.create(null);e[0]=new RegExp("; *(iOCEAN) ([^/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[189]=e;e=Object.create(null);e[0]=new RegExp("; *(TP\\d+(?:\\.\\d+)?\\-\\d[^;/]+) Build");e[1]="ionik $1";e[2]=0;e[3]=0;e[4]=0;m.device[190]=e;e=Object.create(null);e[0]=new RegExp("; *(M702pro) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[191]=e;e=Object.create(null);e[0]=new RegExp("; *(DE88Plus|MD70) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[192]=e;e=Object.create(null);e[0]=new RegExp("; *IVIO[_\\-]([^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[193]=e;e=Object.create(null);e[0]=new RegExp("; *(TPC-\\d+|JAY-TECH) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[194]=e;e=Object.create(null);e[0]=new RegExp("; *(JY-[^;/]+|G[234]S?) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[195]=e;e=Object.create(null);e[0]=new RegExp("; *(JXD)[ _\\-]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[196]=e;e=Object.create(null);e[0]=new RegExp("; *Karbonn[ _]?([^;/]+) *(?:Build|;)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[197]=e;e=Object.create(null);e[0]=new RegExp("; *([^;]+) Build/Karbonn");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[198]=e;e=Object.create(null);e[0]=new RegExp("; *(A11|A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2|Titanium S\\d) +Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[199]=e;e=Object.create(null);e[0]=new RegExp("; *(IS01|IS03|IS05|IS\\d{2}SH) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[200]=e;e=Object.create(null);e[0]=new RegExp("; *(IS04) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[201]=e;e=Object.create(null);e[0]=new RegExp("; *(IS06|IS\\d{2}PT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[202]=e;e=Object.create(null);e[0]=new RegExp("; *(IS11S) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[203]=e;e=Object.create(null);e[0]=new RegExp("; *(IS11CA) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[204]=e;e=Object.create(null);e[0]=new RegExp("; *(IS11LG) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[205]=e;e=Object.create(null);e[0]=new RegExp("; *(IS11N) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[206]=e;e=Object.create(null);e[0]=new RegExp("; *(IS11PT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[207]=e;e=Object.create(null);e[0]=new RegExp("; *(IS12F) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[208]=e;e=Object.create(null);e[0]=new RegExp("; *(IS12M) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[209]=e;e=Object.create(null);e[0]=new RegExp("; *(IS12S) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[210]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW11F) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[211]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW11HT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[212]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW11K) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[213]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW11M) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[214]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW11SC) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[215]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW12HT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[216]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW13HT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[217]=e;e=Object.create(null);e[0]=new RegExp("; *(ISW?[0-9]{2}[A-Z]{0,2}) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[218]=e;e=Object.create(null);e[0]=new RegExp("; *(INFOBAR [^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[219]=e;e=Object.create(null);e[0]=new RegExp("; *(JOYPAD|Joypad)[ _]([^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[220]=e;e=Object.create(null);e[0]=new RegExp("; *(Vox|VOX|Arc|K080) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[221]=e;e=Object.create(null);e[0]=new RegExp("\\b(Kobo Touch)\\b");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[222]=e;e=Object.create(null);e[0]=new RegExp("; *(K-Touch)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[223]=e;e=Object.create(null);e[0]=new RegExp("; *((?:EV|KM)-S\\d+[A-Z]?) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[224]=e;e=Object.create(null);e[0]=new RegExp("; *(Zio|Hydro|Torque|Event|EVENT|Echo|Milano|Rise|URBANO PROGRESSO|WX04K|WX06K|WX10K|KYL21|101K|C5[12]\\d{2}) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[225]=e;e=Object.create(null);e[0]=new RegExp("; *(?:LAVA[ _])?IRIS[ _\\-]?([^/;\\)]+) *(?:;|\\)|Build)");e[1]="Iris $1";e[2]=0;e[3]=0;e[4]=0;m.device[226]=e;e=Object.create(null);e[0]=new RegExp("; *LAVA[ _]([^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[227]=e;e=Object.create(null);e[0]=new RegExp("; *(?:(Aspire A1)|(?:LEMON|Lemon)[ _]([^;/]+))_? Build");e[1]="Lemon $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[228]=e;e=Object.create(null);e[0]=new RegExp("; *(TAB-1012) Build/");e[1]="Lenco $1";e[2]=0;e[3]=0;e[4]=0;m.device[229]=e;e=Object.create(null);e[0]=new RegExp("; Lenco ([^;/]+) Build/");e[1]="Lenco $1";e[2]=0;e[3]=0;e[4]=0;m.device[230]=e;e=Object.create(null);e[0]=new RegExp("; *(A1_07|A2107A-H|S2005A-H|S1-37AH0) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[231]=e;e=Object.create(null);e[0]=new RegExp("; *(Idea[Tp]ab)[ _]([^;/]+);? Build");e[1]="Lenovo $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[232]=e;e=Object.create(null);e[0]=new RegExp("; *(Idea(?:Tab|pad)) ?([^;/]+) Build");e[1]="Lenovo $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[233]=e;e=Object.create(null);e[0]=new RegExp("; *(ThinkPad) ?(Tablet) Build/");e[1]="Lenovo $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[234]=e;e=Object.create(null);e[0]=new RegExp("; *(?:LNV-)?(?:=?[Ll]enovo[ _\\-]?|LENOVO[ _])+(.+?)(?:Build|[;/\\)])");e[1]="Lenovo $1";e[2]=0;e[3]=0;e[4]=0;m.device[235]=e;e=Object.create(null);e[0]=new RegExp("[;,] (?:Vodafone )?(SmartTab) ?(II) ?(\\d+) Build/");e[1]="Lenovo $1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[236]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Ideapad )?K1 Build/");e[1]="Lenovo Ideapad K1";e[2]=0;e[3]=0;e[4]=0;m.device[237]=e;e=Object.create(null);e[0]=new RegExp("; *(3GC101|3GW10[01]|A390) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[238]=e;e=Object.create(null);e[0]=new RegExp("\\b(?:Lenovo|LENOVO)+[ _\\-]?([^,;:/ ]+)");e[1]="Lenovo $1";e[2]=0;e[3]=0;e[4]=0;m.device[239]=e;e=Object.create(null);e[0]=new RegExp("; *(MFC\\d+)[A-Z]{2}([^;,/]*),? Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[240]=e;e=Object.create(null);e[0]=new RegExp("; *(E[34][0-9]{2}|LS[6-8][0-9]{2}|VS[6-9][0-9]+[^;/]+|Nexus 4|Nexus 5X?|GT540f?|Optimus (?:2X|G|4X HD)|OptimusX4HD) *(?:Build|;)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[241]=e;e=Object.create(null);e[0]=new RegExp("[;:] *(L-\\d+[A-Z]|LGL\\d+[A-Z]?)(?:/V\\d+)? *(?:Build|[;\\)])");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[242]=e;e=Object.create(null);e[0]=new RegExp("; *(LG-)([A-Z]{1,2}\\d{2,}[^,;/\\)\\(]*?)(?:Build| V\\d+|[,;/\\)\\(]|$)");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[243]=e;e=Object.create(null);e[0]=new RegExp("; *(LG[ \\-]|LG)([^;/]+)[;/]? Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[244]=e;e=Object.create(null);e[0]=new RegExp("^(LG)-([^;/]+)/ Mozilla/.*; Android");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[245]=e;e=Object.create(null);e[0]=new RegExp("(Web0S); Linux/(SmartTV)");e[1]="LG $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[246]=e;e=Object.create(null);e[0]=new RegExp("; *((?:SMB|smb)[^;/]+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[247]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Malata|MALATA) ([^;/]+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[248]=e;e=Object.create(null);e[0]=new RegExp("; *(MS[45][0-9]{3}|MID0[568][NS]?|MID[1-9]|MID[78]0[1-9]|MID970[1-9]|MID100[1-9]) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[249]=e;e=Object.create(null);e[0]=new RegExp("; *(M1052|M806|M9000|M9100|M9701|MID100|MID120|MID125|MID130|MID135|MID140|MID701|MID710|MID713|MID727|MID728|MID731|MID732|MID733|MID735|MID736|MID737|MID760|MID800|MID810|MID820|MID830|MID833|MID835|MID860|MID900|MID930|MID933|MID960|MID980) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[250]=e;e=Object.create(null);e[0]=new RegExp("; *(GenxDroid7|MSD7.*|AX\\d.*|Tab 701|Tab 722) Build/");e[1]="Maxx $1";e[2]=0;e[3]=0;e[4]=0;m.device[251]=e;e=Object.create(null);e[0]=new RegExp("; *(M-PP[^;/]+|PhonePad ?\\d{2,}[^;/]+) Build");e[1]="Mediacom $1";e[2]=0;e[3]=0;e[4]=0;m.device[252]=e;e=Object.create(null);e[0]=new RegExp("; *(M-MP[^;/]+|SmartPad ?\\d{2,}[^;/]+) Build");e[1]="Mediacom $1";e[2]=0;e[3]=0;e[4]=0;m.device[253]=e;e=Object.create(null);e[0]=new RegExp("; *(?:MD_)?LIFETAB[ _]([^;/]+) Build");e[1]="Medion Lifetab $1";e[2]=0;e[3]=0;e[4]=0;m.device[254]=e;e=Object.create(null);e[0]=new RegExp("; *MEDION ([^;/]+) Build");e[1]="Medion $1";e[2]=0;e[3]=0;e[4]=0;m.device[255]=e;e=Object.create(null);e[0]=new RegExp("; *(M030|M031|M035|M040|M065|m9) Build");e[1]="Meizu $1";e[2]=0;e[3]=0;e[4]=0;m.device[256]=e;e=Object.create(null);e[0]=new RegExp("; *(?:meizu_|MEIZU )(.+?) *(?:Build|[;\\)])");e[1]="Meizu $1";e[2]=0;e[3]=0;e[4]=0;m.device[257]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Micromax[ _](A111|A240)|(A111|A240)) Build");e[1]="Micromax $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[258]=e;e=Object.create(null);e[0]=new RegExp("; *Micromax[ _](A\\d{2,3}[^;/]*) Build");e[1]="Micromax $1";e[2]=0;e[3]=0;e[4]=0;m.device[259]=e;e=Object.create(null);e[0]=new RegExp("; *(A\\d{2}|A[12]\\d{2}|A90S|A110Q) Build");e[1]="Micromax $1";e[2]=0;e[3]=0;e[4]=0;m.device[260]=e;e=Object.create(null);e[0]=new RegExp("; *Micromax[ _](P\\d{3}[^;/]*) Build");e[1]="Micromax $1";e[2]=0;e[3]=0;e[4]=0;m.device[261]=e;e=Object.create(null);e[0]=new RegExp("; *(P\\d{3}|P\\d{3}\\(Funbook\\)) Build");e[1]="Micromax $1";e[2]=0;e[3]=0;e[4]=0;m.device[262]=e;e=Object.create(null);e[0]=new RegExp("; *(MITO)[ _\\-]?([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[263]=e;e=Object.create(null);e[0]=new RegExp("; *(Cynus)[ _](F5|T\\d|.+?) *(?:Build|[;/\\)])");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[264]=e;e=Object.create(null);e[0]=new RegExp("; *(MODECOM )?(FreeTab) ?([^;/]+) Build");e[1]="$1$2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[265]=e;e=Object.create(null);e[0]=new RegExp("; *(MODECOM )([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[266]=e;e=Object.create(null);e[0]=new RegExp("; *(MZ\\d{3}\\+?|MZ\\d{3} 4G|Xoom|XOOM[^;/]*) Build");e[1]="Motorola $1";e[2]=0;e[3]=0;e[4]=0;m.device[267]=e;e=Object.create(null);e[0]=new RegExp("; *(Milestone )(XT[^;/]*) Build");e[1]="Motorola $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[268]=e;e=Object.create(null);e[0]=new RegExp("; *(Motoroi ?x|Droid X|DROIDX) Build");e[1]="Motorola $1";e[2]=0;e[3]=0;e[4]=0;m.device[269]=e;e=Object.create(null);e[0]=new RegExp("; *(Droid[^;/]*|DROID[^;/]*|Milestone[^;/]*|Photon|Triumph|Devour|Titanium) Build");e[1]="Motorola $1";e[2]=0;e[3]=0;e[4]=0;m.device[270]=e;e=Object.create(null);e[0]=new RegExp("; *(A555|A85[34][^;/]*|A95[356]|ME[58]\\d{2}\\+?|ME600|ME632|ME722|MB\\d{3}\\+?|MT680|MT710|MT870|MT887|MT917|WX435|WX453|WX44[25]|XT\\d{3,4}[A-Z\\+]*|CL[iI]Q|CL[iI]Q XT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[271]=e;e=Object.create(null);e[0]=new RegExp("; *(Motorola MOT-|Motorola[ _\\-]|MOT\\-?)([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[272]=e;e=Object.create(null);e[0]=new RegExp("; *(Moto[_ ]?|MOT\\-)([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[273]=e;e=Object.create(null);e[0]=new RegExp("; *((?:MP[DQ]C|MPG\\d{1,4}|MP\\d{3,4}|MID(?:(?:10[234]|114|43|7[247]|8[24]|7)C|8[01]1))[^;/]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[274]=e;e=Object.create(null);e[0]=new RegExp("; *(?:MSI[ _])?(Primo\\d+|Enjoy[ _\\-][^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[275]=e;e=Object.create(null);e[0]=new RegExp("; *Multilaser[ _]([^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[276]=e;e=Object.create(null);e[0]=new RegExp("; *(My)[_]?(Pad)[ _]([^;/]+) Build");e[1]="$1$2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[277]=e;e=Object.create(null);e[0]=new RegExp("; *(My)\\|?(Phone)[ _]([^;/]+) Build");e[1]="$1$2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[278]=e;e=Object.create(null);e[0]=new RegExp("; *(A\\d+)[ _](Duo)? Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[279]=e;e=Object.create(null);e[0]=new RegExp("; *(myTab[^;/]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[280]=e;e=Object.create(null);e[0]=new RegExp("; *(NABI2?-)([^;/]+) Build/");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[281]=e;e=Object.create(null);e[0]=new RegExp("; *(N-\\d+[CDE]) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[282]=e;e=Object.create(null);e[0]=new RegExp("; ?(NEC-)(.*) Build/");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[283]=e;e=Object.create(null);e[0]=new RegExp("; *(LT-NA7) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[284]=e;e=Object.create(null);e[0]=new RegExp("; *(NXM\\d+[A-z0-9_]*|Next\\d[A-z0-9_ \\-]*|NEXT\\d[A-z0-9_ \\-]*|Nextbook [A-z0-9_ ]*|DATAM803HC|M805)(?: Build|[\\);])");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[285]=e;e=Object.create(null);e[0]=new RegExp("; *(Nokia)([ _\\-]*)([^;/]*) Build");e[1]="$1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[286]=e;e=Object.create(null);e[0]=new RegExp("; *(Nook ?|Barnes & Noble Nook |BN )([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[287]=e;e=Object.create(null);e[0]=new RegExp("; *(NOOK )?(BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[288]=e;e=Object.create(null);e[0]=new RegExp("; Build/(Nook)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[289]=e;e=Object.create(null);e[0]=new RegExp("; *(OP110|OliPad[^;/]+) Build");e[1]="Olivetti $1";e[2]=0;e[3]=0;e[4]=0;m.device[290]=e;e=Object.create(null);e[0]=new RegExp("; *OMEGA[ _\\-](MID[^;/]+) Build");e[1]="Omega $1";e[2]=0;e[3]=0;e[4]=0;m.device[291]=e;e=Object.create(null);e[0]=new RegExp("^(MID7500|MID\\d+) Mozilla/5\\.0 \\(iPad;");e[1]="Omega $1";e[2]=0;e[3]=0;e[4]=0;m.device[292]=e;e=Object.create(null);e[0]=new RegExp("; *((?:CIUS|cius)[^;/]*) Build");e[1]="Openpeak $1";e[2]=0;e[3]=0;e[4]=0;m.device[293]=e;e=Object.create(null);e[0]=new RegExp("; *(Find ?(?:5|7a)|R8[012]\\d{1,2}|T703\\d{0,1}|U70\\d{1,2}T?|X90\\d{1,2}) Build");e[1]="Oppo $1";e[2]=0;e[3]=0;e[4]=0;m.device[294]=e;e=Object.create(null);e[0]=new RegExp("; *OPPO ?([^;/]+) Build/");e[1]="Oppo $1";e[2]=0;e[3]=0;e[4]=0;m.device[295]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Odys\\-|ODYS\\-|ODYS )([^;/]+) Build");e[1]="Odys $1";e[2]=0;e[3]=0;e[4]=0;m.device[296]=e;e=Object.create(null);e[0]=new RegExp("; *(SELECT) ?(7) Build");e[1]="Odys $1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[297]=e;e=Object.create(null);e[0]=new RegExp("; *(PEDI)_(PLUS)_(W) Build");e[1]="Odys $1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[298]=e;e=Object.create(null);e[0]=new RegExp("; *(AEON|BRAVIO|FUSION|FUSION2IN1|Genio|EOS10|IEOS[^;/]*|IRON|Loox|LOOX|LOOX Plus|Motion|NOON|NOON_PRO|NEXT|OPOS|PEDI[^;/]*|PRIME[^;/]*|STUDYTAB|TABLO|Tablet-PC-4|UNO_X8|XELIO[^;/]*|Xelio ?\\d+ ?[Pp]ro|XENO10|XPRESS PRO) Build");e[1]="Odys $1";e[2]=0;e[3]=0;e[4]=0;m.device[299]=e;e=Object.create(null);e[0]=new RegExp("; (ONE [a-zA-Z]\\d+) Build/");e[1]="OnePlus $1";e[2]=0;e[3]=0;e[4]=0;m.device[300]=e;e=Object.create(null);e[0]=new RegExp("; (ONEPLUS [a-zA-Z]\\d+) Build/");e[1]="OnePlus $1";e[2]=0;e[3]=0;e[4]=0;m.device[301]=e;e=Object.create(null);e[0]=new RegExp("; *(TP-\\d+) Build/");e[1]="Orion $1";e[2]=0;e[3]=0;e[4]=0;m.device[302]=e;e=Object.create(null);e[0]=new RegExp("; *(G100W?) Build/");e[1]="PackardBell $1";e[2]=0;e[3]=0;e[4]=0;m.device[303]=e;e=Object.create(null);e[0]=new RegExp("; *(Panasonic)[_ ]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[304]=e;e=Object.create(null);e[0]=new RegExp("; *(FZ-A1B|JT-B1) Build");e[1]="Panasonic $1";e[2]=0;e[3]=0;e[4]=0;m.device[305]=e;e=Object.create(null);e[0]=new RegExp("; *(dL1|DL1) Build");e[1]="Panasonic $1";e[2]=0;e[3]=0;e[4]=0;m.device[306]=e;e=Object.create(null);e[0]=new RegExp("; *(SKY[ _])?(IM\\-[AT]\\d{3}[^;/]+).* Build/");e[1]="Pantech $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[307]=e;e=Object.create(null);e[0]=new RegExp("; *((?:ADR8995|ADR910L|ADR930L|ADR930VW|PTL21|P8000)(?: 4G)?) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[308]=e;e=Object.create(null);e[0]=new RegExp("; *Pantech([^;/]+).* Build/");e[1]="Pantech $1";e[2]=0;e[3]=0;e[4]=0;m.device[309]=e;e=Object.create(null);e[0]=new RegExp("; *(papyre)[ _\\-]([^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[310]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Touchlet )?(X10\\.[^;/]+) Build/");e[1]="Pearl $1";e[2]=0;e[3]=0;e[4]=0;m.device[311]=e;e=Object.create(null);e[0]=new RegExp("; PHICOMM (i800) Build/");e[1]="Phicomm $1";e[2]=0;e[3]=0;e[4]=0;m.device[312]=e;e=Object.create(null);e[0]=new RegExp("; PHICOMM ([^;/]+) Build/");e[1]="Phicomm $1";e[2]=0;e[3]=0;e[4]=0;m.device[313]=e;e=Object.create(null);e[0]=new RegExp("; *(FWS\\d{3}[^;/]+) Build/");e[1]="Phicomm $1";e[2]=0;e[3]=0;e[4]=0;m.device[314]=e;e=Object.create(null);e[0]=new RegExp("; *(D633|D822|D833|T539|T939|V726|W335|W336|W337|W3568|W536|W5510|W626|W632|W6350|W6360|W6500|W732|W736|W737|W7376|W820|W832|W8355|W8500|W8510|W930) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[315]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Philips|PHILIPS)[ _]([^;/]+) Build");e[1]="Philips $1";e[2]=0;e[3]=0;e[4]=0;m.device[316]=e;e=Object.create(null);e[0]=new RegExp("Android 4\\..*; *(M[12356789]|U[12368]|S[123])\\ ?(pro)? Build");e[1]="Pipo $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[317]=e;e=Object.create(null);e[0]=new RegExp("; *(MOMO[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[318]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Polaroid[ _])?((?:MIDC\\d{3,}|PMID\\d{2,}|PTAB\\d{3,})[^;/]*)(\\/[^;/]*)? Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[319]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Polaroid )(Tablet) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[320]=e;e=Object.create(null);e[0]=new RegExp("; *(POMP)[ _\\-](.+?) *(?:Build|[;/\\)])");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[321]=e;e=Object.create(null);e[0]=new RegExp("; *(TB07STA|TB10STA|TB07FTA|TB10FTA) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[322]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Positivo )?((?:YPY|Ypy)[^;/]+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[323]=e;e=Object.create(null);e[0]=new RegExp("; *(MOB-[^;/]+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[324]=e;e=Object.create(null);e[0]=new RegExp("; *POV[ _\\-]([^;/]+) Build/");e[1]="POV $1";e[2]=0;e[3]=0;e[4]=0;m.device[325]=e;e=Object.create(null);e[0]=new RegExp("; *((?:TAB-PLAYTAB|TAB-PROTAB|PROTAB|PlayTabPro|Mobii[ _\\-]|TAB-P)[^;/]*) Build/");e[1]="POV $1";e[2]=0;e[3]=0;e[4]=0;m.device[326]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Prestigio )?((?:PAP|PMP)\\d[^;/]+) Build/");e[1]="Prestigio $1";e[2]=0;e[3]=0;e[4]=0;m.device[327]=e;e=Object.create(null);e[0]=new RegExp("; *(PLT[0-9]{4}.*) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[328]=e;e=Object.create(null);e[0]=new RegExp("; *(A2|A5|A8|A900)_?(Classic)? Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[329]=e;e=Object.create(null);e[0]=new RegExp("; *(Q[Mm]obile)_([^_]+)_([^_]+) Build");e[1]="Qmobile $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[330]=e;e=Object.create(null);e[0]=new RegExp("; *(Q\\-?[Mm]obile)[_ ](A[^;/]+) Build");e[1]="Qmobile $2";e[2]=0;e[3]=0;e[4]=0;m.device[331]=e;e=Object.create(null);e[0]=new RegExp("; *(Q\\-Smart)[ _]([^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[332]=e;e=Object.create(null);e[0]=new RegExp("; *(Q\\-?[Mm]obile)[ _\\-](S[^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[333]=e;e=Object.create(null);e[0]=new RegExp("; *(TA1013) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[334]=e;e=Object.create(null);e[0]=new RegExp("; (RCT\\w+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[335]=e;e=Object.create(null);e[0]=new RegExp("; *(RK\\d+),? Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[336]=e;e=Object.create(null);e[0]=new RegExp(" Build/(RK\\d+)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[337]=e;e=Object.create(null);e[0]=new RegExp("; *(SAMSUNG |Samsung )?((?:Galaxy (?:Note II|S\\d)|GT-I9082|GT-I9205|GT-N7\\d{3}|SM-N9005)[^;/]*)\\/?[^;/]* Build/");e[1]="Samsung $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[338]=e;e=Object.create(null);e[0]=new RegExp("; *(Google )?(Nexus [Ss](?: 4G)?) Build/");e[1]="Samsung $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[339]=e;e=Object.create(null);e[0]=new RegExp("; *(SAMSUNG |Samsung )([^\\/]*)\\/[^ ]* Build/");e[1]="Samsung $2";e[2]=0;e[3]=0;e[4]=0;m.device[340]=e;e=Object.create(null);e[0]=new RegExp("; *(Galaxy(?: Ace| Nexus| S ?II+|Nexus S| with MCR 1.2| Mini Plus 4G)?) Build/");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[341]=e;e=Object.create(null);e[0]=new RegExp("; *(SAMSUNG[ _\\-] *)+([^;/]+) Build");e[1]="Samsung $2";e[2]=0;e[3]=0;e[4]=0;m.device[342]=e;e=Object.create(null);e[0]=new RegExp("; *(SAMSUNG-)?(GT\\-[BINPS]\\d{4}[^\\/]*)(\\/[^ ]*) Build");e[1]="Samsung $1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[343]=e;e=Object.create(null);e[0]=new RegExp("(?:; *|^)((?:GT\\-[BIiNPS]\\d{4}|I9\\d{2}0[A-Za-z\\+]?\\b)[^;/\\)]*?)(?:Build|Linux|MIUI|[;/\\)])");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[344]=e;e=Object.create(null);e[0]=new RegExp("; (SAMSUNG-)([A-Za-z0-9\\-]+).* Build/");e[1]="Samsung $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[345]=e;e=Object.create(null);e[0]=new RegExp("; *((?:SCH|SGH|SHV|SHW|SPH|SC|SM)\\-[A-Za-z0-9 ]+)(/?[^ ]*)? Build");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[346]=e;e=Object.create(null);e[0]=new RegExp(" ((?:SCH)\\-[A-Za-z0-9 ]+)(/?[^ ]*)? Build");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[347]=e;e=Object.create(null);e[0]=new RegExp("; *(Behold ?(?:2|II)|YP\\-G[^;/]+|EK-GC100|SCL21|I9300) Build");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[348]=e;e=Object.create(null);e[0]=new RegExp("; *(SH\\-?\\d\\d[^;/]+|SBM\\d[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[349]=e;e=Object.create(null);e[0]=new RegExp("; *(SHARP[ -])([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[350]=e;e=Object.create(null);e[0]=new RegExp("; *(SPX[_\\-]\\d[^;/]*) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[351]=e;e=Object.create(null);e[0]=new RegExp("; *(SX7\\-PEARL\\.GmbH) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[352]=e;e=Object.create(null);e[0]=new RegExp("; *(SP[T]?\\-\\d{2}[^;/]*) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[353]=e;e=Object.create(null);e[0]=new RegExp("; *(SK\\-.*) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[354]=e;e=Object.create(null);e[0]=new RegExp("; *(?:SKYTEX|SX)-([^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[355]=e;e=Object.create(null);e[0]=new RegExp("; *(IMAGINE [^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[356]=e;e=Object.create(null);e[0]=new RegExp("; *(SmartQ) ?([^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[357]=e;e=Object.create(null);e[0]=new RegExp("; *(WF7C|WF10C|SBT[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[358]=e;e=Object.create(null);e[0]=new RegExp("; *(SBM(?:003SH|005SH|006SH|007SH|102SH)) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[359]=e;e=Object.create(null);e[0]=new RegExp("; *(003P|101P|101P11C|102P) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[360]=e;e=Object.create(null);e[0]=new RegExp("; *(00\\dZ) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[361]=e;e=Object.create(null);e[0]=new RegExp("; HTC(X06HT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[362]=e;e=Object.create(null);e[0]=new RegExp("; *(001HT|X06HT) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[363]=e;e=Object.create(null);e[0]=new RegExp("; *(201M) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[364]=e;e=Object.create(null);e[0]=new RegExp("; *(ST\\d{4}.*)Build/ST");e[1]="Trekstor $1";e[2]=0;e[3]=0;e[4]=0;m.device[365]=e;e=Object.create(null);e[0]=new RegExp("; *(ST\\d{4}.*) Build/");e[1]="Trekstor $1";e[2]=0;e[3]=0;e[4]=0;m.device[366]=e;e=Object.create(null);e[0]=new RegExp("; *(Sony ?Ericsson ?)([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[367]=e;e=Object.create(null);e[0]=new RegExp("; *((?:SK|ST|E|X|LT|MK|MT|WT)\\d{2}[a-z0-9]*(?:-o)?|R800i|U20i) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[368]=e;e=Object.create(null);e[0]=new RegExp("; *(Xperia (?:A8|Arc|Acro|Active|Live with Walkman|Mini|Neo|Play|Pro|Ray|X\\d+)[^;/]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[369]=e;e=Object.create(null);e[0]=new RegExp("; Sony (Tablet[^;/]+) Build");e[1]="Sony $1";e[2]=0;e[3]=0;e[4]=0;m.device[370]=e;e=Object.create(null);e[0]=new RegExp("; Sony ([^;/]+) Build");e[1]="Sony $1";e[2]=0;e[3]=0;e[4]=0;m.device[371]=e;e=Object.create(null);e[0]=new RegExp("; *(Sony)([A-Za-z0-9\\-]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[372]=e;e=Object.create(null);e[0]=new RegExp("; *(Xperia [^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[373]=e;e=Object.create(null);e[0]=new RegExp("; *(C(?:1[0-9]|2[0-9]|53|55|6[0-9])[0-9]{2}|D[25]\\d{3}|D6[56]\\d{2}) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[374]=e;e=Object.create(null);e[0]=new RegExp("; *(SGP\\d{3}|SGPT\\d{2}) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[375]=e;e=Object.create(null);e[0]=new RegExp("; *(NW-Z1000Series) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[376]=e;e=Object.create(null);e[0]=new RegExp("PLAYSTATION 3");e[1]="PlayStation 3";e[2]=0;e[3]=0;e[4]=0;m.device[377]=e;e=Object.create(null);e[0]=new RegExp("(PlayStation (?:Portable|Vita|\\d+))");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[378]=e;e=Object.create(null);e[0]=new RegExp("; *((?:CSL_Spice|Spice|SPICE|CSL)[ _\\-]?)?([Mm][Ii])([ _\\-])?(\\d{3}[^;/]*) Build/");e[1]="$1$2$3$4";e[2]=0;e[3]=0;e[4]=0;m.device[379]=e;e=Object.create(null);e[0]=new RegExp("; *(Sprint )(.+?) *(?:Build|[;/])");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[380]=e;e=Object.create(null);e[0]=new RegExp("\\b(Sprint)[: ]([^;,/ ]+)");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[381]=e;e=Object.create(null);e[0]=new RegExp("; *(TAGI[ ]?)(MID) ?([^;/]+) Build/");e[1]="$1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[382]=e;e=Object.create(null);e[0]=new RegExp("; *(Oyster500|Opal 800) Build");e[1]="Tecmobile $1";e[2]=0;e[3]=0;e[4]=0;m.device[383]=e;e=Object.create(null);e[0]=new RegExp("; *(TECNO[ _])([^;/]+) Build/");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[384]=e;e=Object.create(null);e[0]=new RegExp("; *Android for (Telechips|Techvision) ([^ ]+) ");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[385]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Hub2) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[386]=e;e=Object.create(null);e[0]=new RegExp("; *(PAD) ?(100[12]) Build/");e[1]="Terra $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[387]=e;e=Object.create(null);e[0]=new RegExp("; *(T[BM]-\\d{3}[^;/]+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[388]=e;e=Object.create(null);e[0]=new RegExp("; *(tolino [^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[389]=e;e=Object.create(null);e[0]=new RegExp("; *Build/.* (TOLINO_BROWSER)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[390]=e;e=Object.create(null);e[0]=new RegExp("; *(?:CJ[ -])?(ThL|THL)[ -]([^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[391]=e;e=Object.create(null);e[0]=new RegExp("; *(T100|T200|T5|W100|W200|W8s) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[392]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Mobile[ _]G2[ _]Touch) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[393]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Mobile[ _]G2) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[394]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Mobile myTouch Q) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[395]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Mobile myTouch) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[396]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Mobile_Espresso) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[397]=e;e=Object.create(null);e[0]=new RegExp("; *(T-Mobile G1) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[398]=e;e=Object.create(null);e[0]=new RegExp("\\b(T-Mobile ?)?(myTouch)[ _]?([34]G)[ _]?([^\\/]*) (?:Mozilla|Build)");e[1]="$1$2 $3 $4";e[2]=0;e[3]=0;e[4]=0;m.device[399]=e;e=Object.create(null);e[0]=new RegExp("\\b(T-Mobile)_([^_]+)_(.*) Build");e[1]="$1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[400]=e;e=Object.create(null);e[0]=new RegExp("\\b(T-Mobile)[_ ]?(.*?)Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[401]=e;e=Object.create(null);e[0]=new RegExp(" (ATP[0-9]{4}) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[402]=e;e=Object.create(null);e[0]=new RegExp(" *(TOOKY)[ _\\-]([^;/]+) ?(?:Build|;)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[403]=e;e=Object.create(null);e[0]=new RegExp("\\b(TOSHIBA_AC_AND_AZ|TOSHIBA_FOLIO_AND_A|FOLIO_AND_A)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[404]=e;e=Object.create(null);e[0]=new RegExp("; *([Ff]olio ?100) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[405]=e;e=Object.create(null);e[0]=new RegExp("; *(AT[0-9]{2,3}(?:\\-A|LE\\-A|PE\\-A|SE|a)?|AT7-A|AT1S0|Hikari-iFrame/WDPF-[^;/]+|THRiVE|Thrive) Build/");e[1]="Toshiba $1";e[2]=0;e[3]=0;e[4]=0;m.device[406]=e;e=Object.create(null);e[0]=new RegExp("; *(TM-MID\\d+[^;/]+|TOUCHMATE|MID-750) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[407]=e;e=Object.create(null);e[0]=new RegExp("; *(TM-SM\\d+[^;/]+) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[408]=e;e=Object.create(null);e[0]=new RegExp("; *(A10 [Bb]asic2?) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[409]=e;e=Object.create(null);e[0]=new RegExp("; *(TREQ[ _\\-])([^;/]+) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[410]=e;e=Object.create(null);e[0]=new RegExp("; *(X-?5|X-?3) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[411]=e;e=Object.create(null);e[0]=new RegExp("; *(A502\\+?|A936|A603|X1|X2) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[412]=e;e=Object.create(null);e[0]=new RegExp("(TOUCH(?:TAB|PAD).+?) Build/");e[1]="Versus $1";e[2]=0;e[3]=0;e[4]=0;m.device[413]=e;e=Object.create(null);e[0]=new RegExp("(VERTU) ([^;/]+) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[414]=e;e=Object.create(null);e[0]=new RegExp("; *(Videocon)[ _\\-]([^;/]+) *(?:Build|;)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[415]=e;e=Object.create(null);e[0]=new RegExp(" (VT\\d{2}[A-Za-z]*) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[416]=e;e=Object.create(null);e[0]=new RegExp("; *((?:ViewPad|ViewPhone|VSD)[^;/]+) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[417]=e;e=Object.create(null);e[0]=new RegExp("; *(ViewSonic-)([^;/]+) Build/");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[418]=e;e=Object.create(null);e[0]=new RegExp("; *(GTablet.*) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[419]=e;e=Object.create(null);e[0]=new RegExp("; *([Vv]ivo)[ _]([^;/]+) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[420]=e;e=Object.create(null);e[0]=new RegExp("(Vodafone) (.*) Build/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[421]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Walton[ _\\-])?(Primo[ _\\-][^;/]+) Build");e[1]="Walton $1";e[2]=0;e[3]=0;e[4]=0;m.device[422]=e;e=Object.create(null);e[0]=new RegExp("; *(?:WIKO[ \\-])?(CINK\\+?|BARRY|BLOOM|DARKFULL|DARKMOON|DARKNIGHT|DARKSIDE|FIZZ|HIGHWAY|IGGY|OZZY|RAINBOW|STAIRWAY|SUBLIM|WAX|CINK [^;/]+) Build/");e[1]="Wiko $1";e[2]=0;e[3]=0;e[4]=0;m.device[423]=e;e=Object.create(null);e[0]=new RegExp("; *WellcoM-([^;/]+) Build");e[1]="Wellcom $1";e[2]=0;e[3]=0;e[4]=0;m.device[424]=e;e=Object.create(null);e[0]=new RegExp("(?:(WeTab)-Browser|; (wetab) Build)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[425]=e;e=Object.create(null);e[0]=new RegExp("; *(AT-AS[^;/]+) Build");e[1]="Wolfgang $1";e[2]=0;e[3]=0;e[4]=0;m.device[426]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Woxter|Wxt) ([^;/]+) Build");e[1]="Woxter $1";e[2]=0;e[3]=0;e[4]=0;m.device[427]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Xenta |Luna )?(TAB[234][0-9]{2}|TAB0[78]-\\d{3}|TAB0?9-\\d{3}|TAB1[03]-\\d{3}|SMP\\d{2}-\\d{3}) Build/");e[1]="Yarvik $1";e[2]=0;e[3]=0;e[4]=0;m.device[428]=e;e=Object.create(null);e[0]=new RegExp("; *([A-Z]{2,4})(M\\d{3,}[A-Z]{2})([^;\\)\\/]*)(?: Build|[;\\)])");e[1]="Yifang $1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[429]=e;e=Object.create(null);e[0]=new RegExp("; *((MI|HM|MI-ONE|Redmi)[ -](NOTE |Note )?[^;/]*) (Build|MIUI)/");e[1]="XiaoMi $1";e[2]=0;e[3]=0;e[4]=0;m.device[430]=e;e=Object.create(null);e[0]=new RegExp("; *XOLO[ _]([^;/]*tab.*) Build");e[1]="Xolo $1";e[2]=0;e[3]=0;e[4]=0;m.device[431]=e;e=Object.create(null);e[0]=new RegExp("; *XOLO[ _]([^;/]+) Build");e[1]="Xolo $1";e[2]=0;e[3]=0;e[4]=0;m.device[432]=e;e=Object.create(null);e[0]=new RegExp("; *(q\\d0{2,3}[a-z]?) Build");e[1]="Xolo $1";e[2]=0;e[3]=0;e[4]=0;m.device[433]=e;e=Object.create(null);e[0]=new RegExp("; *(PAD ?[79]\\d+[^;/]*|TelePAD\\d+[^;/]) Build");e[1]="Xoro $1";e[2]=0;e[3]=0;e[4]=0;m.device[434]=e;e=Object.create(null);e[0]=new RegExp("; *(?:(?:ZOPO|Zopo)[ _]([^;/]+)|(ZP ?(?:\\d{2}[^;/]+|C2))|(C[2379])) Build");e[1]="$1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[435]=e;e=Object.create(null);e[0]=new RegExp("; *(ZiiLABS) (Zii[^;/]*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[436]=e;e=Object.create(null);e[0]=new RegExp("; *(Zii)_([^;/]*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[437]=e;e=Object.create(null);e[0]=new RegExp("; *(ARIZONA|(?:ATLAS|Atlas) W|D930|Grand (?:[SX][^;]*|Era|Memo[^;]*)|JOE|(?:Kis|KIS)\\b[^;]*|Libra|Light [^;]*|N8[056][01]|N850L|N8000|N9[15]\\d{2}|N9810|NX501|Optik|(?:Vip )Racer[^;]*|RacerII|RACERII|San Francisco[^;]*|V9[AC]|V55|V881|Z[679][0-9]{2}[A-z]?) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[438]=e;e=Object.create(null);e[0]=new RegExp("; *([A-Z]\\d+)_USA_[^;]* Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[439]=e;e=Object.create(null);e[0]=new RegExp("; *(SmartTab\\d+)[^;]* Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[440]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Blade|BLADE|ZTE-BLADE)([^;/]*) Build");e[1]="ZTE Blade$1";e[2]=0;e[3]=0;e[4]=0;m.device[441]=e;e=Object.create(null);e[0]=new RegExp("; *(?:Skate|SKATE|ZTE-SKATE)([^;/]*) Build");e[1]="ZTE Skate$1";e[2]=0;e[3]=0;e[4]=0;m.device[442]=e;e=Object.create(null);e[0]=new RegExp("; *(Orange |Optimus )(Monte Carlo|San Francisco) Build");e[1]="$1$2";e[2]=0;e[3]=0;e[4]=0;m.device[443]=e;e=Object.create(null);e[0]=new RegExp("; *(?:ZXY-ZTE_|ZTE\\-U |ZTE[\\- _]|ZTE-C[_ ])([^;/]+) Build");e[1]="ZTE $1";e[2]=0;e[3]=0;e[4]=0;m.device[444]=e;e=Object.create(null);e[0]=new RegExp("; (BASE) (lutea|Lutea 2|Tab[^;]*) Build");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[445]=e;e=Object.create(null);e[0]=new RegExp("; (Avea inTouch 2|soft stone|tmn smart a7|Movistar[ _]Link) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[446]=e;e=Object.create(null);e[0]=new RegExp("; *(vp9plus)\\)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[447]=e;e=Object.create(null);e[0]=new RegExp("; ?(Cloud[ _]Z5|z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900) Build/");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[448]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFOT|Kindle Fire) Build\\b");e[1]="Kindle Fire";e[2]=0;e[3]=0;e[4]=0;m.device[449]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFOTE|Amazon Kindle Fire2) Build\\b");e[1]="Kindle Fire 2";e[2]=0;e[3]=0;e[4]=0;m.device[450]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFTT) Build\\b");e[1]="Kindle Fire HD";e[2]=0;e[3]=0;e[4]=0;m.device[451]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFJWI) Build\\b");e[1]='Kindle Fire HD 8.9" WiFi';e[2]=0;e[3]=0;e[4]=0;m.device[452]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFJWA) Build\\b");e[1]='Kindle Fire HD 8.9" 4G';e[2]=0;e[3]=0;e[4]=0;m.device[453]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFSOWI) Build\\b");e[1]='Kindle Fire HD 7" WiFi';e[2]=0;e[3]=0;e[4]=0;m.device[454]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFTHWI) Build\\b");e[1]='Kindle Fire HDX 7" WiFi';e[2]=0;e[3]=0;e[4]=0;m.device[455]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFTHWA) Build\\b");e[1]='Kindle Fire HDX 7" 4G';e[2]=0;e[3]=0;e[4]=0;m.device[456]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFAPWI) Build\\b");e[1]='Kindle Fire HDX 8.9" WiFi';e[2]=0;e[3]=0;e[4]=0;m.device[457]=e;e=Object.create(null);e[0]=new RegExp("; ?(KFAPWA) Build\\b");e[1]='Kindle Fire HDX 8.9" 4G';e[2]=0;e[3]=0;e[4]=0;m.device[458]=e;e=Object.create(null);e[0]=new RegExp("; ?Amazon ([^;/]+) Build\\b");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[459]=e;e=Object.create(null);e[0]=new RegExp("; ?(Kindle) Build\\b");e[1]="Kindle";e[2]=0;e[3]=0;e[4]=0;m.device[460]=e;e=Object.create(null);e[0]=new RegExp("; ?(Silk)/(\\d+)\\.(\\d+)(?:\\.([0-9\\-]+))? Build\\b");e[1]="Kindle Fire";e[2]=0;e[3]=0;e[4]=0;m.device[461]=e;e=Object.create(null);e[0]=new RegExp(" (Kindle)/(\\d+\\.\\d+)");e[1]="Kindle";e[2]=0;e[3]=0;e[4]=0;m.device[462]=e;e=Object.create(null);e[0]=new RegExp(" (Silk|Kindle)/(\\d+)\\.");e[1]="Kindle";e[2]=0;e[3]=0;e[4]=0;m.device[463]=e;e=Object.create(null);e[0]=new RegExp("(sprd)\\-([^/]+)/");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[464]=e;e=Object.create(null);e[0]=new RegExp("; *(H\\d{2}00\\+?) Build");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[465]=e;e=Object.create(null);e[0]=new RegExp("; *(iphone|iPhone5) Build/");e[1]="Xianghe $1";e[2]=0;e[3]=0;e[4]=0;m.device[466]=e;e=Object.create(null);e[0]=new RegExp("; *(e\\d{4}[a-z]?_?v\\d+|v89_[^;/]+)[^;/]+ Build/");e[1]="Xianghe $1";e[2]=0;e[3]=0;e[4]=0;m.device[467]=e;e=Object.create(null);e[0]=new RegExp("\\bUSCC[_\\-]?([^ ;/\\)]+)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[468]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:ALCATEL)[^;]*; *([^;,\\)]+)");e[1]="Alcatel $1";e[2]=0;e[3]=0;e[4]=0;m.device[469]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?|WpsLondonTest; ?)?(?:ASUS|Asus)[^;]*; *([^;,\\)]+)");e[1]="Asus $1";e[2]=0;e[3]=0;e[4]=0;m.device[470]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:DELL|Dell)[^;]*; *([^;,\\)]+)");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[471]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?|WpsLondonTest; ?)?(?:HTC|Htc|HTC_blocked[^;]*)[^;]*; *(?:HTC)?([^;,\\)]+)");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[472]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:HUAWEI)[^;]*; *(?:HUAWEI )?([^;,\\)]+)");e[1]="Huawei $1";e[2]=0;e[3]=0;e[4]=0;m.device[473]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:LG|Lg)[^;]*; *(?:LG[ \\-])?([^;,\\)]+)");e[1]="LG $1";e[2]=0;e[3]=0;e[4]=0;m.device[474]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:rv:11; )?(?:NOKIA|Nokia)[^;]*; *(?:NOKIA ?|Nokia ?|LUMIA ?|[Ll]umia ?)*(\\d{3,}[^;\\)]*)");e[1]="Lumia $1";e[2]=0;e[3]=0;e[4]=0;m.device[475]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:NOKIA|Nokia)[^;]*; *(RM-\\d{3,})");e[1]="Nokia $1";e[2]=0;e[3]=0;e[4]=0;m.device[476]=e;e=Object.create(null);e[0]=new RegExp("(?:Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)]|WPDesktop;) ?(?:ARM; ?Touch; ?|Touch; ?)?(?:NOKIA|Nokia)[^;]*; *(?:NOKIA ?|Nokia ?|LUMIA ?|[Ll]umia ?)*([^;\\)]+)");e[1]="Nokia $1";e[2]=0;e[3]=0;e[4]=0;m.device[477]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?)?(?:Microsoft(?: Corporation)?)[^;]*; *([^;,\\)]+)");e[1]="Microsoft $1";e[2]=0;e[3]=0;e[4]=0;m.device[478]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?|WpsLondonTest; ?)?(?:SAMSUNG)[^;]*; *(?:SAMSUNG )?([^;,\\.\\)]+)");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[479]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?|WpsLondonTest; ?)?(?:TOSHIBA|FujitsuToshibaMobileCommun)[^;]*; *([^;,\\)]+)");e[1]="Toshiba $1";e[2]=0;e[3]=0;e[4]=0;m.device[480]=e;e=Object.create(null);e[0]=new RegExp("Windows Phone [^;]+; .*?IEMobile/[^;\\)]+[;\\)] ?(?:ARM; ?Touch; ?|Touch; ?|WpsLondonTest; ?)?([^;]+); *([^;,\\)]+)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[481]=e;e=Object.create(null);e[0]=new RegExp("(?:^|; )SAMSUNG\\-([A-Za-z0-9\\-]+).* Bada/");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[482]=e;e=Object.create(null);e[0]=new RegExp("\\(Mobile; ALCATEL ?(One|ONE) ?(Touch|TOUCH) ?([^;/]+)(?:/[^;]+)?; rv:[^\\)]+\\) Gecko/[^\\/]+ Firefox/");e[1]="Alcatel $1 $2 $3";e[2]=0;e[3]=0;e[4]=0;m.device[483]=e;e=Object.create(null);e[0]=new RegExp("\\(Mobile; (?:ZTE([^;]+)|(OpenC)); rv:[^\\)]+\\) Gecko/[^\\/]+ Firefox/");e[1]="ZTE $1$2";e[2]=0;e[3]=0;e[4]=0;m.device[484]=e;e=Object.create(null);e[0]=new RegExp("Nokia(N[0-9]+)([A-z_\\-][A-z0-9_\\-]*)");e[1]="Nokia $1";e[2]=0;e[3]=0;e[4]=0;m.device[485]=e;e=Object.create(null);e[0]=new RegExp("(?:NOKIA|Nokia)(?:\\-| *)(?:([A-Za-z0-9]+)\\-[0-9a-f]{32}|([A-Za-z0-9\\-]+)(?:UCBrowser)|([A-Za-z0-9\\-]+))");e[1]="Nokia $1$2$3";e[2]=0;e[3]=0;e[4]=0;m.device[486]=e;e=Object.create(null);e[0]=new RegExp("Lumia ([A-Za-z0-9\\-]+)");e[1]="Lumia $1";e[2]=0;e[3]=0;e[4]=0;m.device[487]=e;e=Object.create(null);e[0]=new RegExp("\\(Symbian; U; S60 V5; [A-z]{2}\\-[A-z]{2}; (SonyEricsson|Samsung|Nokia|LG)([^;/]+)\\)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[488]=e;e=Object.create(null);e[0]=new RegExp("\\(Symbian(?:/3)?; U; ([^;]+);");e[1]="Nokia $1";e[2]=0;e[3]=0;e[4]=0;m.device[489]=e;e=Object.create(null);e[0]=new RegExp("BB10; ([A-Za-z0-9\\- ]+)\\)");e[1]="BlackBerry $1";e[2]=0;e[3]=0;e[4]=0;m.device[490]=e;e=Object.create(null);e[0]=new RegExp("Play[Bb]ook.+RIM Tablet OS");e[1]="BlackBerry Playbook";e[2]=0;e[3]=0;e[4]=0;m.device[491]=e;e=Object.create(null);e[0]=new RegExp("Black[Bb]erry ([0-9]+);");e[1]="BlackBerry $1";e[2]=0;e[3]=0;e[4]=0;m.device[492]=e;e=Object.create(null);e[0]=new RegExp("Black[Bb]erry([0-9]+)");e[1]="BlackBerry $1";e[2]=0;e[3]=0;e[4]=0;m.device[493]=e;e=Object.create(null);e[0]=new RegExp("Black[Bb]erry;");e[1]="BlackBerry";e[2]=0;e[3]=0;e[4]=0;m.device[494]=e;e=Object.create(null);e[0]=new RegExp("(Pre|Pixi)/\\d+\\.\\d+");e[1]="Palm $1";e[2]=0;e[3]=0;e[4]=0;m.device[495]=e;e=Object.create(null);e[0]=new RegExp("Palm([0-9]+)");e[1]="Palm $1";e[2]=0;e[3]=0;e[4]=0;m.device[496]=e;e=Object.create(null);e[0]=new RegExp("Treo([A-Za-z0-9]+)");e[1]="Palm Treo $1";e[2]=0;e[3]=0;e[4]=0;m.device[497]=e;e=Object.create(null);e[0]=new RegExp("webOS.*(P160U(?:NA)?)/(\\d+).(\\d+)");e[1]="HP Veer";e[2]=0;e[3]=0;e[4]=0;m.device[498]=e;e=Object.create(null);e[0]=new RegExp("(Touch[Pp]ad)/\\d+\\.\\d+");e[1]="HP TouchPad";e[2]=0;e[3]=0;e[4]=0;m.device[499]=e;e=Object.create(null);e[0]=new RegExp("HPiPAQ([A-Za-z0-9]+)/\\d+.\\d+");e[1]="HP iPAQ $1";e[2]=0;e[3]=0;e[4]=0;m.device[500]=e;e=Object.create(null);e[0]=new RegExp("PDA; (PalmOS)/sony/model ([a-z]+)/Revision");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[501]=e;e=Object.create(null);e[0]=new RegExp("(Apple\\s?TV)");e[1]="AppleTV";e[2]=0;e[3]=0;e[4]=0;m.device[502]=e;e=Object.create(null);e[0]=new RegExp("(QtCarBrowser)");e[1]="Tesla Model S";e[2]=0;e[3]=0;e[4]=0;m.device[503]=e;e=Object.create(null);e[0]=new RegExp("(iPhone|iPad|iPod)(\\d+,\\d+)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[504]=e;e=Object.create(null);e[0]=new RegExp("(iPad)(?:;| Simulator;)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[505]=e;e=Object.create(null);e[0]=new RegExp("(iPod)(?:;| touch;| Simulator;)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[506]=e;e=Object.create(null);e[0]=new RegExp("(iPhone)(?:;| Simulator;)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[507]=e;e=Object.create(null);e[0]=new RegExp("iPhone");e[1]="iPhone";e[2]=0;e[3]=0;e[4]=0;m.device[508]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/\\d.*\\(((?:Mac|iMac|PowerMac|PowerBook)[^\\d]*)(\\d+)(?:,|%2C)(\\d+)");e[1]="$1$2,$3";e[2]=0;e[3]=0;e[4]=0;m.device[509]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/\\d+\\.\\d+\\.\\d+ \\(x86_64\\)");e[1]="Mac";e[2]=0;e[3]=0;e[4]=0;m.device[510]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/\\d");e[1]="iOS-Device";e[2]=0;e[3]=0;e[4]=0;m.device[511]=e;e=Object.create(null);e[0]=new RegExp("acer_([A-Za-z0-9]+)_");e[1]="Acer $1";e[2]=0;e[3]=0;e[4]=0;m.device[512]=e;e=Object.create(null);e[0]=new RegExp("(?:ALCATEL|Alcatel)-([A-Za-z0-9\\-]+)");e[1]="Alcatel $1";e[2]=0;e[3]=0;e[4]=0;m.device[513]=e;e=Object.create(null);e[0]=new RegExp("(?:Amoi|AMOI)\\-([A-Za-z0-9]+)");e[1]="Amoi $1";e[2]=0;e[3]=0;e[4]=0;m.device[514]=e;e=Object.create(null);e[0]=new RegExp("(?:; |\\/|^)((?:Transformer (?:Pad|Prime) |Transformer |PadFone[ _]?)[A-Za-z0-9]*)");e[1]="Asus $1";e[2]=0;e[3]=0;e[4]=0;m.device[515]=e;e=Object.create(null);e[0]=new RegExp("(?:asus.*?ASUS|Asus|ASUS|asus)[\\- ;]*((?:Transformer (?:Pad|Prime) |Transformer |Padfone |Nexus[ _])?[A-Za-z0-9]+)");e[1]="Asus $1";e[2]=0;e[3]=0;e[4]=0;m.device[516]=e;e=Object.create(null);e[0]=new RegExp("\\bBIRD[ \\-\\.]([A-Za-z0-9]+)");e[1]="Bird $1";e[2]=0;e[3]=0;e[4]=0;m.device[517]=e;e=Object.create(null);e[0]=new RegExp("\\bDell ([A-Za-z0-9]+)");e[1]="Dell $1";e[2]=0;e[3]=0;e[4]=0;m.device[518]=e;e=Object.create(null);e[0]=new RegExp("DoCoMo/2\\.0 ([A-Za-z0-9]+)");e[1]="DoCoMo $1";e[2]=0;e[3]=0;e[4]=0;m.device[519]=e;e=Object.create(null);e[0]=new RegExp("([A-Za-z0-9]+)_W;FOMA");e[1]="DoCoMo $1";e[2]=0;e[3]=0;e[4]=0;m.device[520]=e;e=Object.create(null);e[0]=new RegExp("([A-Za-z0-9]+);FOMA");e[1]="DoCoMo $1";e[2]=0;e[3]=0;e[4]=0;m.device[521]=e;e=Object.create(null);e[0]=new RegExp("\\b(?:HTC/|HTC/[a-z0-9]+/)?HTC[ _\\-;]? *(.*?)(?:-?Mozilla|fingerPrint|[;/\\(\\)]|$)");e[1]="HTC $1";e[2]=0;e[3]=0;e[4]=0;m.device[522]=e;e=Object.create(null);e[0]=new RegExp("Huawei([A-Za-z0-9]+)");e[1]="Huawei $1";e[2]=0;e[3]=0;e[4]=0;m.device[523]=e;e=Object.create(null);e[0]=new RegExp("HUAWEI-([A-Za-z0-9]+)");e[1]="Huawei $1";e[2]=0;e[3]=0;e[4]=0;m.device[524]=e;e=Object.create(null);e[0]=new RegExp("vodafone([A-Za-z0-9]+)");e[1]="Huawei Vodafone $1";e[2]=0;e[3]=0;e[4]=0;m.device[525]=e;e=Object.create(null);e[0]=new RegExp("i\\-mate ([A-Za-z0-9]+)");e[1]="i-mate $1";e[2]=0;e[3]=0;e[4]=0;m.device[526]=e;e=Object.create(null);e[0]=new RegExp("Kyocera\\-([A-Za-z0-9]+)");e[1]="Kyocera $1";e[2]=0;e[3]=0;e[4]=0;m.device[527]=e;e=Object.create(null);e[0]=new RegExp("KWC\\-([A-Za-z0-9]+)");e[1]="Kyocera $1";e[2]=0;e[3]=0;e[4]=0;m.device[528]=e;e=Object.create(null);e[0]=new RegExp("Lenovo[_\\-]([A-Za-z0-9]+)");e[1]="Lenovo $1";e[2]=0;e[3]=0;e[4]=0;m.device[529]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)/[0-9]+\\.[0-9]+\\.[0-9]+ \\([^;]*; *(LG)E *; *([^;]*) *;[^;]*;[^;]*;\\)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[530]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)/1\\.1\\.1.*CE-HTML/1\\.\\d;(Vendor/)*(THOM[^;]*?)[;\\s](?:.*SW-Version/.*)*(LF[^;]+);?");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[531]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)(?:/1\\.1\\.1)?(?: ?\\(;;;;;\\))?; *CE-HTML(?:/1\\.\\d)?; *([^ ]+) ([^;]+);");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[532]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)/1\\.1\\.1 \\(;;;;;\\) Maple_2011");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[533]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)/[0-9]+\\.[0-9]+\\.[0-9]+ \\([^;]*; *(?:CUS:([^;]*)|([^;]+)) *; *([^;]*) *;.*;");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[534]=e;e=Object.create(null);e[0]=new RegExp("(HbbTV)/[0-9]+\\.[0-9]+\\.[0-9]+");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[535]=e;e=Object.create(null);e[0]=new RegExp('LGE; (?:Media\\/)?([^;]*);[^;]*;[^;]*;?\\); "?LG NetCast(\\.TV|\\.Media|)-\\d+');e[1]="NetCast$2";e[2]=0;e[3]=0;e[4]=0;m.device[536]=e;e=Object.create(null);e[0]=new RegExp("InettvBrowser/[0-9]+\\.[0-9A-Z]+ \\([^;]*;(Sony)([^;]*);[^;]*;[^\\)]*\\)");e[1]="Inettv";e[2]=0;e[3]=0;e[4]=0;m.device[537]=e;e=Object.create(null);e[0]=new RegExp("InettvBrowser/[0-9]+\\.[0-9A-Z]+ \\([^;]*;([^;]*);[^;]*;[^\\)]*\\)");e[1]="Inettv";e[2]=0;e[3]=0;e[4]=0;m.device[538]=e;e=Object.create(null);e[0]=new RegExp("(?:InettvBrowser|TSBNetTV|NETTV|HBBTV)");e[1]="Inettv";e[2]=0;e[3]=0;e[4]=0;m.device[539]=e;e=Object.create(null);e[0]=new RegExp("Series60/\\d\\.\\d (LG)[\\-]?([A-Za-z0-9 \\-]+)");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[540]=e;e=Object.create(null);e[0]=new RegExp("\\b(?:LGE[ \\-]LG\\-(?:AX)?|LGE |LGE?-LG|LGE?[ \\-]|LG[ /\\-]|lg[\\-])([A-Za-z0-9]+)\\b");e[1]="LG $1";e[2]=0;e[3]=0;e[4]=0;m.device[541]=e;e=Object.create(null);e[0]=new RegExp("(?:^LG[\\-]?|^LGE[\\-/]?)([A-Za-z]+[0-9]+[A-Za-z]*)");e[1]="LG $1";e[2]=0;e[3]=0;e[4]=0;m.device[542]=e;e=Object.create(null);e[0]=new RegExp("^LG([0-9]+[A-Za-z]*)");e[1]="LG $1";e[2]=0;e[3]=0;e[4]=0;m.device[543]=e;e=Object.create(null);e[0]=new RegExp("(KIN\\.[^ ]+) (\\d+)\\.(\\d+)");e[1]="Microsoft $1";e[2]=0;e[3]=0;e[4]=0;m.device[544]=e;e=Object.create(null);e[0]=new RegExp("(?:MSIE|XBMC).*\\b(Xbox)\\b");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[545]=e;e=Object.create(null);e[0]=new RegExp("; ARM; Trident/6\\.0; Touch[\\);]");e[1]="Microsoft Surface RT";e[2]=0;e[3]=0;e[4]=0;m.device[546]=e;e=Object.create(null);e[0]=new RegExp("Motorola\\-([A-Za-z0-9]+)");e[1]="Motorola $1";e[2]=0;e[3]=0;e[4]=0;m.device[547]=e;e=Object.create(null);e[0]=new RegExp("MOTO\\-([A-Za-z0-9]+)");e[1]="Motorola $1";e[2]=0;e[3]=0;e[4]=0;m.device[548]=e;e=Object.create(null);e[0]=new RegExp("MOT\\-([A-z0-9][A-z0-9\\-]*)");e[1]="Motorola $1";e[2]=0;e[3]=0;e[4]=0;m.device[549]=e;e=Object.create(null);e[0]=new RegExp("Nintendo WiiU");e[1]="Nintendo Wii U";e[2]=0;e[3]=0;e[4]=0;m.device[550]=e;e=Object.create(null);e[0]=new RegExp("Nintendo (DS|3DS|DSi|Wii);");e[1]="Nintendo $1";e[2]=0;e[3]=0;e[4]=0;m.device[551]=e;e=Object.create(null);e[0]=new RegExp("(?:Pantech|PANTECH)[ _-]?([A-Za-z0-9\\-]+)");e[1]="Pantech $1";e[2]=0;e[3]=0;e[4]=0;m.device[552]=e;e=Object.create(null);e[0]=new RegExp("Philips([A-Za-z0-9]+)");e[1]="Philips $1";e[2]=0;e[3]=0;e[4]=0;m.device[553]=e;e=Object.create(null);e[0]=new RegExp("Philips ([A-Za-z0-9]+)");e[1]="Philips $1";e[2]=0;e[3]=0;e[4]=0;m.device[554]=e;e=Object.create(null);e[0]=new RegExp("(SMART-TV); .* Tizen ");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[555]=e;e=Object.create(null);e[0]=new RegExp("SymbianOS/9\\.\\d.* Samsung[/\\-]([A-Za-z0-9 \\-]+)");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[556]=e;e=Object.create(null);e[0]=new RegExp("(Samsung)(SGH)(i[0-9]+)");e[1]="$1 $2$3";e[2]=0;e[3]=0;e[4]=0;m.device[557]=e;e=Object.create(null);e[0]=new RegExp("SAMSUNG-ANDROID-MMS/([^;/]+)");e[1]="$1";e[2]=0;e[3]=0;e[4]=0;m.device[558]=e;e=Object.create(null);e[0]=new RegExp("SAMSUNG(?:; |[ -/])([A-Za-z0-9\\-]+)");e[1]="Samsung $1";e[2]=0;e[3]=0;e[4]=0;m.device[559]=e;e=Object.create(null);e[0]=new RegExp("(Dreamcast)");e[1]="Sega $1";e[2]=0;e[3]=0;e[4]=0;m.device[560]=e;e=Object.create(null);e[0]=new RegExp("^SIE-([A-Za-z0-9]+)");e[1]="Siemens $1";e[2]=0;e[3]=0;e[4]=0;m.device[561]=e;e=Object.create(null);e[0]=new RegExp("Softbank/[12]\\.0/([A-Za-z0-9]+)");e[1]="Softbank $1";e[2]=0;e[3]=0;e[4]=0;m.device[562]=e;e=Object.create(null);e[0]=new RegExp("SonyEricsson ?([A-Za-z0-9\\-]+)");e[1]="Ericsson $1";e[2]=0;e[3]=0;e[4]=0;m.device[563]=e;e=Object.create(null);e[0]=new RegExp("Android [^;]+; ([^ ]+) (Sony)/");e[1]="$2 $1";e[2]=0;e[3]=0;e[4]=0;m.device[564]=e;e=Object.create(null);e[0]=new RegExp("(Sony)(?:BDP\\/|\\/)?([^ /;\\)]+)[ /;\\)]");e[1]="$1 $2";e[2]=0;e[3]=0;e[4]=0;m.device[565]=e;e=Object.create(null);e[0]=new RegExp("Puffin/[\\d\\.]+IT");e[1]="iPad";e[2]=0;e[3]=0;e[4]=0;m.device[566]=e;e=Object.create(null);e[0]=new RegExp("Puffin/[\\d\\.]+IP");e[1]="iPhone";e[2]=0;e[3]=0;e[4]=0;m.device[567]=e;e=Object.create(null);e[0]=new RegExp("Puffin/[\\d\\.]+AT");e[1]="Generic Tablet";e[2]=0;e[3]=0;e[4]=0;m.device[568]=e;e=Object.create(null);e[0]=new RegExp("Puffin/[\\d\\.]+AP");e[1]="Generic Smartphone";e[2]=0;e[3]=0;e[4]=0;m.device[569]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+\\.[\\d]+; [A-Za-z]{2}\\-[A-Za-z]{0,2}; WOWMobile (.+) Build[/ ]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[570]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+\\.[\\d]+\\-update1; [A-Za-z]{2}\\-[A-Za-z]{0,2} *; *(.+?) Build[/ ]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[571]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+(?:\\.[\\d]+){1,2}; *[A-Za-z]{2}[_\\-][A-Za-z]{0,2}\\-? *; *(.+?) Build[/ ]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[572]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+(?:\\.[\\d]+){1,2}; *[A-Za-z]{0,2}\\- *; *(.+?) Build[/ ]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[573]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+(?:\\.[\\d]+){1,2}; *[a-z]{0,2}[_\\-]?[A-Za-z]{0,2};? Build[/ ]");e[1]="Generic Smartphone";e[2]=0;e[3]=0;e[4]=0;m.device[574]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+(?:\\.[\\d]+){1,2}; *\\-?[A-Za-z]{2}; *(.+?) Build[/ ]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[575]=e;e=Object.create(null);e[0]=new RegExp("Android[\\- ][\\d]+(?:\\.[\\d]+){1,2}(?:;.*)?; *(.+?) Build[/ ]");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[576]=e;e=Object.create(null);e[0]=new RegExp("(GoogleTV)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[577]=e;e=Object.create(null);e[0]=new RegExp("(WebTV)/\\d+.\\d+");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[578]=e;e=Object.create(null);e[0]=new RegExp("^(Roku)/DVP-\\d+\\.\\d+");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.device[579]=e;e=Object.create(null);e[0]=new RegExp("(Android 3\\.\\d|Opera Tablet|Tablet; .+Firefox/|Android.*(?:Tab|Pad))");e[1]="Generic Tablet";e[2]=0;e[3]=0;e[4]=0;m.device[580]=e;e=Object.create(null);e[0]=new RegExp("(Symbian|\\bS60(Version|V\\d)|\\bS60\\b|\\((Series 60|Windows Mobile|Palm OS|Bada); Opera Mini|Windows CE|Opera Mobi|BREW|Brew|Mobile; .+Firefox/|iPhone OS|Android|MobileSafari|Windows *Phone|\\(webOS/|PalmOS)");e[1]="Generic Smartphone";e[2]=0;e[3]=0;e[4]=0;m.device[581]=e;e=Object.create(null);e[0]=new RegExp("(hiptop|avantgo|plucker|xiino|blazer|elaine)");e[1]="Generic Smartphone";e[2]=0;e[3]=0;e[4]=0;m.device[582]=e;e=Object.create(null);e[0]=new RegExp("(bot|zao|borg|DBot|oegp|silk|Xenu|zeal|^NING|CCBot|crawl|htdig|lycos|slurp|teoma|voila|yahoo|Sogou|CiBra|Nutch|^Java/|^JNLP/|Daumoa|Genieo|ichiro|larbin|pompos|Scrapy|snappy|speedy|spider|msnbot|msrbot|vortex|^vortex|crawler|favicon|indexer|Riddler|scooter|scraper|scrubby|WhatWeb|WinHTTP|bingbot|BingPreview|openbot|gigabot|furlbot|polybot|seekbot|^voyager|archiver|Icarus6j|mogimogi|Netvibes|blitzbot|altavista|charlotte|findlinks|Retreiver|TLSProber|WordPress|SeznamBot|ProoXiBot|wsr\\-agent|Squrl Java|EtaoSpider|PaperLiBot|SputnikBot|A6\\-Indexer|netresearch|searchsight|baiduspider|YisouSpider|ICC\\-Crawler|http%20client|Python-urllib|dataparksearch|converacrawler|Screaming Frog|AppEngine-Google|YahooCacheSystem|fast\\-webcrawler|Sogou Pic Spider|semanticdiscovery|Innovazion Crawler|facebookexternalhit|Google.*/\\+/web/snippet|Google-HTTP-Java-Client|BlogBridge|IlTrovatore-Setaccio|InternetArchive|GomezAgent|WebThumbnail|heritrix|NewsGator|PagePeeker|Reaper|ZooShot|holmes|NL-Crawler|Pingdom|StatusCake|WhatsApp|masscan|Google Web Preview|Qwantify)");e[1]="Spider";e[2]=0;e[3]=0;e[4]=0;m.device[583]=e;e=Object.create(null);e[0]=new RegExp("^(1207|3gso|4thp|501i|502i|503i|504i|505i|506i|6310|6590|770s|802s|a wa|acer|acs\\-|airn|alav|asus|attw|au\\-m|aur |aus |abac|acoo|aiko|alco|alca|amoi|anex|anny|anyw|aptu|arch|argo|bmobile|bell|bird|bw\\-n|bw\\-u|beck|benq|bilb|blac|c55/|cdm\\-|chtm|capi|comp|cond|dall|dbte|dc\\-s|dica|ds\\-d|ds12|dait|devi|dmob|doco|dopo|dorado|el(?:38|39|48|49|50|55|58|68)|el[3456]\\d{2}dual|erk0|esl8|ex300|ez40|ez60|ez70|ezos|ezze|elai|emul|eric|ezwa|fake|fly\\-|fly_|g\\-mo|g1 u|g560|gf\\-5|grun|gene|go.w|good|grad|hcit|hd\\-m|hd\\-p|hd\\-t|hei\\-|hp i|hpip|hs\\-c|htc |htc\\-|htca|htcg)");e[1]="Generic Feature Phone";e[2]=0;e[3]=0;e[4]=0;m.device[584]=e;e=Object.create(null);e[0]=new RegExp("^(htcp|htcs|htct|htc_|haie|hita|huaw|hutc|i\\-20|i\\-go|i\\-ma|i\\-mobile|i230|iac|iac\\-|iac/|ig01|im1k|inno|iris|jata|kddi|kgt|kgt/|kpt |kwc\\-|klon|lexi|lg g|lg\\-a|lg\\-b|lg\\-c|lg\\-d|lg\\-f|lg\\-g|lg\\-k|lg\\-l|lg\\-m|lg\\-o|lg\\-p|lg\\-s|lg\\-t|lg\\-u|lg\\-w|lg/k|lg/l|lg/u|lg50|lg54|lge\\-|lge/|leno|m1\\-w|m3ga|m50/|maui|mc01|mc21|mcca|medi|meri|mio8|mioa|mo01|mo02|mode|modo|mot |mot\\-|mt50|mtp1|mtv |mate|maxo|merc|mits|mobi|motv|mozz|n100|n101|n102|n202|n203|n300|n302|n500|n502|n505|n700|n701|n710|nec\\-|nem\\-|newg|neon)");e[1]="Generic Feature Phone";e[2]=0;e[3]=0;e[4]=0;m.device[585]=e;e=Object.create(null);e[0]=new RegExp("^(netf|noki|nzph|o2 x|o2\\-x|opwv|owg1|opti|oran|ot\\-s|p800|pand|pg\\-1|pg\\-2|pg\\-3|pg\\-6|pg\\-8|pg\\-c|pg13|phil|pn\\-2|pt\\-g|palm|pana|pire|pock|pose|psio|qa\\-a|qc\\-2|qc\\-3|qc\\-5|qc\\-7|qc07|qc12|qc21|qc32|qc60|qci\\-|qwap|qtek|r380|r600|raks|rim9|rove|s55/|sage|sams|sc01|sch\\-|scp\\-|sdk/|se47|sec\\-|sec0|sec1|semc|sgh\\-|shar|sie\\-|sk\\-0|sl45|slid|smb3|smt5|sp01|sph\\-|spv |spv\\-|sy01|samm|sany|sava|scoo|send|siem|smar|smit|soft|sony|t\\-mo|t218|t250|t600|t610|t618|tcl\\-|tdg\\-|telm|tim\\-|ts70|tsm\\-|tsm3|tsm5|tx\\-9|tagt)");e[1]="Generic Feature Phone";e[2]=0;e[3]=0;e[4]=0;m.device[586]=e;e=Object.create(null);e[0]=new RegExp("^(talk|teli|topl|tosh|up.b|upg1|utst|v400|v750|veri|vk\\-v|vk40|vk50|vk52|vk53|vm40|vx98|virg|vertu|vite|voda|vulc|w3c |w3c\\-|wapj|wapp|wapu|wapm|wig |wapi|wapr|wapv|wapy|wapa|waps|wapt|winc|winw|wonu|x700|xda2|xdag|yas\\-|your|zte\\-|zeto|aste|audi|avan|blaz|brew|brvw|bumb|ccwa|cell|cldc|cmd\\-|dang|eml2|fetc|hipt|http|ibro|idea|ikom|ipaq|jbro|jemu|jigs|keji|kyoc|kyok|libw|m\\-cr|midp|mmef|moto|mwbp|mywa|newt|nok6|o2im|pant|pdxg|play|pluc|port|prox|rozo|sama|seri|smal|symb|treo|upsi|vx52|vx53|vx60|vx61|vx70|vx80|vx81|vx83|vx85|wap\\-|webc|whit|wmlb|xda\\-|xda_)");e[1]="Generic Feature Phone";e[2]=0;e[3]=0;e[4]=0;m.device[587]=e;e=Object.create(null);e[0]=new RegExp("^(Ice)$");e[1]="Generic Feature Phone";e[2]=0;e[3]=0;e[4]=0;m.device[588]=e;e=Object.create(null);e[0]=new RegExp("(wap[\\-\\ ]browser|maui|netfront|obigo|teleca|up\\.browser|midp|Opera Mini)");e[1]="Generic Feature Phone";e[2]=0;e[3]=0;e[4]=0;m.device[589]=e;m.device.length=590;m.os=Object.create(null);e=Object.create(null);e[0]=new RegExp("HbbTV/\\d+\\.\\d+\\.\\d+ \\( ;(LG)E ;NetCast 4.0");e[1]=0;e[2]="2013";e[3]=0;e[4]=0;m.os[0]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/\\d+\\.\\d+\\.\\d+ \\( ;(LG)E ;NetCast 3.0");e[1]=0;e[2]="2012";e[3]=0;e[4]=0;m.os[1]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/1.1.1 \\(;;;;;\\) Maple_2011");e[1]="Samsung";e[2]="2011";e[3]=0;e[4]=0;m.os[2]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/\\d+\\.\\d+\\.\\d+ \\(;(Samsung);SmartTV([0-9]{4});.*FXPDEUC");e[1]=0;e[2]=0;e[3]="UE40F7000";e[4]=0;m.os[3]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/\\d+\\.\\d+\\.\\d+ \\(;(Samsung);SmartTV([0-9]{4});.*MST12DEUC");e[1]=0;e[2]=0;e[3]="UE32F4500";e[4]=0;m.os[4]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/1.1.1 \\(; (Philips);.*NETTV/4");e[1]=0;e[2]="2013";e[3]=0;e[4]=0;m.os[5]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/1.1.1 \\(; (Philips);.*NETTV/3");e[1]=0;e[2]="2012";e[3]=0;e[4]=0;m.os[6]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/1.1.1 \\(; (Philips);.*NETTV/2");e[1]=0;e[2]="2011";e[3]=0;e[4]=0;m.os[7]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/\\d+\\.\\d+\\.\\d+.*(firetv)-firefox-plugin (\\d+).(\\d+).(\\d+)");e[1]="FireHbbTV";e[2]=0;e[3]=0;e[4]=0;m.os[8]=e;e=Object.create(null);e[0]=new RegExp("HbbTV/\\d+\\.\\d+\\.\\d+ \\(.*; ?([a-zA-Z]+) ?;.*(201[1-9]).*\\)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[9]=e;e=Object.create(null);e[0]=new RegExp("(Windows Phone) (?:OS[ /])?(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[10]=e;e=Object.create(null);e[0]=new RegExp("(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone)[ +]+(\\d+)[_\\.](\\d+)(?:[_\\.](\\d+))?.*Outlook-iOS-Android");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[11]=e;e=Object.create(null);e[0]=new RegExp("(Android)[ \\-/](\\d+)\\.(\\d+)(?:[.\\-]([a-z0-9]+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[12]=e;e=Object.create(null);e[0]=new RegExp("(Android) Donut");e[1]=0;e[2]="1";e[3]="2";e[4]=0;m.os[13]=e;e=Object.create(null);e[0]=new RegExp("(Android) Eclair");e[1]=0;e[2]="2";e[3]="1";e[4]=0;m.os[14]=e;e=Object.create(null);e[0]=new RegExp("(Android) Froyo");e[1]=0;e[2]="2";e[3]="2";e[4]=0;m.os[15]=e;e=Object.create(null);e[0]=new RegExp("(Android) Gingerbread");e[1]=0;e[2]="2";e[3]="3";e[4]=0;m.os[16]=e;e=Object.create(null);e[0]=new RegExp("(Android) Honeycomb");e[1]=0;e[2]="3";e[3]=0;e[4]=0;m.os[17]=e;e=Object.create(null);e[0]=new RegExp("^UCWEB.*; (Adr) (\\d+)\\.(\\d+)(?:[.\\-]([a-z0-9]+))?;");e[1]="Android";e[2]=0;e[3]=0;e[4]=0;m.os[18]=e;e=Object.create(null);e[0]=new RegExp("^UCWEB.*; (iPad|iPh|iPd) OS (\\d+)_(\\d+)(?:_(\\d+))?;");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[19]=e;e=Object.create(null);e[0]=new RegExp("^UCWEB.*; (wds) (\\d+)\\.(\\d+)(?:\\.(\\d+))?;");e[1]="Windows Phone";e[2]=0;e[3]=0;e[4]=0;m.os[20]=e;e=Object.create(null);e[0]=new RegExp("^(JUC).*; ?U; ?(?:Android)?(\\d+)\\.(\\d+)(?:[\\.\\-]([a-z0-9]+))?");e[1]="Android";e[2]=0;e[3]=0;e[4]=0;m.os[21]=e;e=Object.create(null);e[0]=new RegExp("(Silk-Accelerated=[a-z]{4,5})");e[1]="Android";e[2]=0;e[3]=0;e[4]=0;m.os[22]=e;e=Object.create(null);e[0]=new RegExp("(XBLWP7)");e[1]="Windows Phone";e[2]=0;e[3]=0;e[4]=0;m.os[23]=e;e=Object.create(null);e[0]=new RegExp("(Windows ?Mobile)");e[1]="Windows Mobile";e[2]=0;e[3]=0;e[4]=0;m.os[24]=e;e=Object.create(null);e[0]=new RegExp("(Windows (?:NT 5\\.2|NT 5\\.1))");e[1]="Windows";e[2]="XP";e[3]=0;e[4]=0;m.os[25]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.1)");e[1]="Windows";e[2]="7";e[3]=0;e[4]=0;m.os[26]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.0)");e[1]="Windows";e[2]="Vista";e[3]=0;e[4]=0;m.os[27]=e;e=Object.create(null);e[0]=new RegExp("(Win 9x 4\\.90)");e[1]="Windows";e[2]="ME";e[3]=0;e[4]=0;m.os[28]=e;e=Object.create(null);e[0]=new RegExp("(Windows 98|Windows XP|Windows ME|Windows 95|Windows CE|Windows 7|Windows NT 4\\.0|Windows Vista|Windows 2000|Windows 3.1)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[29]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.2; ARM;)");e[1]="Windows";e[2]="RT";e[3]=0;e[4]=0;m.os[30]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.2)");e[1]="Windows";e[2]="8";e[3]=0;e[4]=0;m.os[31]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.3; ARM;)");e[1]="Windows";e[2]="RT 8.1";e[3]=0;e[4]=0;m.os[32]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.3)");e[1]="Windows";e[2]="8.1";e[3]=0;e[4]=0;m.os[33]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 6\\.4)");e[1]="Windows";e[2]="10";e[3]=0;e[4]=0;m.os[34]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 10\\.0)");e[1]="Windows";e[2]="10";e[3]=0;e[4]=0;m.os[35]=e;e=Object.create(null);e[0]=new RegExp("(Windows NT 5\\.0)");e[1]="Windows";e[2]="2000";e[3]=0;e[4]=0;m.os[36]=e;e=Object.create(null);e[0]=new RegExp("(WinNT4.0)");e[1]="Windows";e[2]="NT 4.0";e[3]=0;e[4]=0;m.os[37]=e;e=Object.create(null);e[0]=new RegExp("(Windows ?CE)");e[1]="Windows";e[2]="CE";e[3]=0;e[4]=0;m.os[38]=e;e=Object.create(null);e[0]=new RegExp("Win ?(95|98|3.1|NT|ME|2000)");e[1]="Windows";e[2]="$1";e[3]=0;e[4]=0;m.os[39]=e;e=Object.create(null);e[0]=new RegExp("Win16");e[1]="Windows";e[2]="3.1";e[3]=0;e[4]=0;m.os[40]=e;e=Object.create(null);e[0]=new RegExp("Win32");e[1]="Windows";e[2]="95";e[3]=0;e[4]=0;m.os[41]=e;e=Object.create(null);e[0]=new RegExp("^Box.*Windows/([\\d.]+);");e[1]="Windows";e[2]="$1";e[3]=0;e[4]=0;m.os[42]=e;e=Object.create(null);e[0]=new RegExp("(Tizen)[/ ](\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[43]=e;e=Object.create(null);e[0]=new RegExp("((?:Mac[ +]?|; )OS[ +]X)[\\s+/](?:(\\d+)[_.](\\d+)(?:[_.](\\d+))?|Mach-O)");e[1]="Mac OS X";e[2]=0;e[3]=0;e[4]=0;m.os[44]=e;e=Object.create(null);e[0]=new RegExp(" (Dar)(win)/(9).(\\d+).*\\((?:i386|x86_64|Power Macintosh)\\)");e[1]="Mac OS X";e[2]="10";e[3]="5";e[4]=0;m.os[45]=e;e=Object.create(null);e[0]=new RegExp(" (Dar)(win)/(10).(\\d+).*\\((?:i386|x86_64)\\)");e[1]="Mac OS X";e[2]="10";e[3]="6";e[4]=0;m.os[46]=e;e=Object.create(null);e[0]=new RegExp(" (Dar)(win)/(11).(\\d+).*\\((?:i386|x86_64)\\)");e[1]="Mac OS X";e[2]="10";e[3]="7";e[4]=0;m.os[47]=e;e=Object.create(null);e[0]=new RegExp(" (Dar)(win)/(12).(\\d+).*\\((?:i386|x86_64)\\)");e[1]="Mac OS X";e[2]="10";e[3]="8";e[4]=0;m.os[48]=e;e=Object.create(null);e[0]=new RegExp(" (Dar)(win)/(13).(\\d+).*\\((?:i386|x86_64)\\)");e[1]="Mac OS X";e[2]="10";e[3]="9";e[4]=0;m.os[49]=e;e=Object.create(null);e[0]=new RegExp("Mac_PowerPC");e[1]="Mac OS";e[2]=0;e[3]=0;e[4]=0;m.os[50]=e;e=Object.create(null);e[0]=new RegExp("(?:PPC|Intel) (Mac OS X)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[51]=e;e=Object.create(null);e[0]=new RegExp("^Box.*;(Darwin)/(10)\\.(1\\d)(?:\\.(\\d+))?");e[1]="Mac OS X";e[2]=0;e[3]=0;e[4]=0;m.os[52]=e;e=Object.create(null);e[0]=new RegExp("(Apple\\s?TV)(?:/(\\d+)\\.(\\d+))?");e[1]="ATV OS X";e[2]=0;e[3]=0;e[4]=0;m.os[53]=e;e=Object.create(null);e[0]=new RegExp("(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(\\d+)[_\\.](\\d+)(?:[_\\.](\\d+))?");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[54]=e;e=Object.create(null);e[0]=new RegExp("(iPhone|iPad|iPod); Opera");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[55]=e;e=Object.create(null);e[0]=new RegExp("(iPhone|iPad|iPod).*Mac OS X.*Version/(\\d+)\\.(\\d+)");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[56]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/(5)48\\.0\\.3.* Darwin/11\\.0\\.0");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[57]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/(5)48\\.(0)\\.4.* Darwin/(1)1\\.0\\.0");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[58]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/(5)48\\.(1)\\.4");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[59]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/(4)85\\.1(3)\\.9");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[60]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/(6)09\\.(1)\\.4");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[61]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/(6)(0)9");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[62]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/6(7)2\\.(1)\\.13");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[63]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/6(7)2\\.(1)\\.(1)4");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[64]=e;e=Object.create(null);e[0]=new RegExp("(CF)(Network)/6(7)(2)\\.1\\.15");e[1]="iOS";e[2]="7";e[3]="1";e[4]=0;m.os[65]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/6(7)2\\.(0)\\.(?:2|8)");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[66]=e;e=Object.create(null);e[0]=new RegExp("(CFNetwork)/709\\.1");e[1]="iOS";e[2]="8";e[3]="0.b5";e[4]=0;m.os[67]=e;e=Object.create(null);e[0]=new RegExp("(CF)(Network)/711\\.(\\d)");e[1]="iOS";e[2]="8";e[3]=0;e[4]=0;m.os[68]=e;e=Object.create(null);e[0]=new RegExp("(CF)(Network)/(720)\\.(\\d)");e[1]="Mac OS X";e[2]="10";e[3]="10";e[4]=0;m.os[69]=e;e=Object.create(null);e[0]=new RegExp("(CF)(Network)/(760)\\.(\\d)");e[1]="Mac OS X";e[2]="10";e[3]="11";e[4]=0;m.os[70]=e;e=Object.create(null);e[0]=new RegExp("(CF)(Network)/758\\.(\\d)");e[1]="iOS";e[2]="9";e[3]=0;e[4]=0;m.os[71]=e;e=Object.create(null);e[0]=new RegExp("(CF)(Network)/808\\.(\\d)");e[1]="iOS";e[2]="10";e[3]=0;e[4]=0;m.os[72]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/16\\.\\d+.*\\(x86_64\\)");e[1]="Mac OS X";e[2]="10";e[3]="12";e[4]=0;m.os[73]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/15\\.\\d+.*\\(x86_64\\)");e[1]="Mac OS X";e[2]="10";e[3]="11";e[4]=0;m.os[74]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/(9)\\.\\d+");e[1]="iOS";e[2]="1";e[3]=0;e[4]=0;m.os[75]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/(10)\\.\\d+");e[1]="iOS";e[2]="4";e[3]=0;e[4]=0;m.os[76]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/(11)\\.\\d+");e[1]="iOS";e[2]="5";e[3]=0;e[4]=0;m.os[77]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/.* Darwin/(13)\\.\\d+");e[1]="iOS";e[2]="6";e[3]=0;e[4]=0;m.os[78]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/6.* Darwin/(14)\\.\\d+");e[1]="iOS";e[2]="7";e[3]=0;e[4]=0;m.os[79]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/7.* Darwin/(14)\\.\\d+");e[1]="iOS";e[2]="8";e[3]="0";e[4]=0;m.os[80]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/7.* Darwin/(15)\\.\\d+");e[1]="iOS";e[2]="9";e[3]="0";e[4]=0;m.os[81]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/16\\.5\\.\\d+");e[1]="iOS";e[2]="10";e[3]="3";e[4]=0;m.os[82]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/16\\.6\\.\\d+");e[1]="iOS";e[2]="10";e[3]="3";e[4]="2";m.os[83]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/16\\.7\\.\\d+");e[1]="iOS";e[2]="10";e[3]="3";e[4]="3";m.os[84]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/(16)\\.\\d+");e[1]="iOS";e[2]="10";e[3]=0;e[4]=0;m.os[85]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/17\\.0\\.\\d+");e[1]="iOS";e[2]="11";e[3]="0";e[4]=0;m.os[86]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/17\\.2\\.\\d+");e[1]="iOS";e[2]="11";e[3]="1";e[4]=0;m.os[87]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/17\\.3\\.\\d+");e[1]="iOS";e[2]="11";e[3]="2";e[4]=0;m.os[88]=e;e=Object.create(null);e[0]=new RegExp("CFNetwork/8.* Darwin/(17)\\.\\d+");e[1]="iOS";e[2]="11";e[3]=0;e[4]=0;m.os[89]=e;e=Object.create(null);e[0]=new RegExp("\\b(iOS[ /]|iOS; |iPhone(?:/| v|[ _]OS[/,]|; | OS : |\\d,\\d/|\\d,\\d; )|iPad/)(\\d{1,2})[_\\.](\\d{1,2})(?:[_\\.](\\d+))?");e[1]="iOS";e[2]=0;e[3]=0;e[4]=0;m.os[90]=e;e=Object.create(null);e[0]=new RegExp("\\((iOS);");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[91]=e;e=Object.create(null);e[0]=new RegExp("(tvOS)/(\\d+).(\\d+)");e[1]="tvOS";e[2]=0;e[3]=0;e[4]=0;m.os[92]=e;e=Object.create(null);e[0]=new RegExp("(CrOS) [a-z0-9_]+ (\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="Chrome OS";e[2]=0;e[3]=0;e[4]=0;m.os[93]=e;e=Object.create(null);e[0]=new RegExp("([Dd]ebian)");e[1]="Debian";e[2]=0;e[3]=0;e[4]=0;m.os[94]=e;e=Object.create(null);e[0]=new RegExp("(Linux Mint)(?:/(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[95]=e;e=Object.create(null);e[0]=new RegExp("(Mandriva)(?: Linux)?/(?:[\\d.-]+m[a-z]{2}(\\d+).(\\d))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[96]=e;e=Object.create(null);e[0]=new RegExp("(Symbian[Oo][Ss])[/ ](\\d+)\\.(\\d+)");e[1]="Symbian OS";e[2]=0;e[3]=0;e[4]=0;m.os[97]=e;e=Object.create(null);e[0]=new RegExp("(Symbian/3).+NokiaBrowser/7\\.3");e[1]="Symbian^3 Anna";e[2]=0;e[3]=0;e[4]=0;m.os[98]=e;e=Object.create(null);e[0]=new RegExp("(Symbian/3).+NokiaBrowser/7\\.4");e[1]="Symbian^3 Belle";e[2]=0;e[3]=0;e[4]=0;m.os[99]=e;e=Object.create(null);e[0]=new RegExp("(Symbian/3)");e[1]="Symbian^3";e[2]=0;e[3]=0;e[4]=0;m.os[100]=e;e=Object.create(null);e[0]=new RegExp("\\b(Series 60|SymbOS|S60Version|S60V\\d|S60\\b)");e[1]="Symbian OS";e[2]=0;e[3]=0;e[4]=0;m.os[101]=e;e=Object.create(null);e[0]=new RegExp("(MeeGo)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[102]=e;e=Object.create(null);e[0]=new RegExp("Symbian [Oo][Ss]");e[1]="Symbian OS";e[2]=0;e[3]=0;e[4]=0;m.os[103]=e;e=Object.create(null);e[0]=new RegExp("Series40;");e[1]="Nokia Series 40";e[2]=0;e[3]=0;e[4]=0;m.os[104]=e;e=Object.create(null);e[0]=new RegExp("Series30Plus;");e[1]="Nokia Series 30 Plus";e[2]=0;e[3]=0;e[4]=0;m.os[105]=e;e=Object.create(null);e[0]=new RegExp("(BB10);.+Version/(\\d+)\\.(\\d+)\\.(\\d+)");e[1]="BlackBerry OS";e[2]=0;e[3]=0;e[4]=0;m.os[106]=e;e=Object.create(null);e[0]=new RegExp("(Black[Bb]erry)[0-9a-z]+/(\\d+)\\.(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="BlackBerry OS";e[2]=0;e[3]=0;e[4]=0;m.os[107]=e;e=Object.create(null);e[0]=new RegExp("(Black[Bb]erry).+Version/(\\d+)\\.(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="BlackBerry OS";e[2]=0;e[3]=0;e[4]=0;m.os[108]=e;e=Object.create(null);e[0]=new RegExp("(RIM Tablet OS) (\\d+)\\.(\\d+)\\.(\\d+)");e[1]="BlackBerry Tablet OS";e[2]=0;e[3]=0;e[4]=0;m.os[109]=e;e=Object.create(null);e[0]=new RegExp("(Play[Bb]ook)");e[1]="BlackBerry Tablet OS";e[2]=0;e[3]=0;e[4]=0;m.os[110]=e;e=Object.create(null);e[0]=new RegExp("(Black[Bb]erry)");e[1]="BlackBerry OS";e[2]=0;e[3]=0;e[4]=0;m.os[111]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/18.0 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="1";e[3]="0";e[4]="1";m.os[112]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/18.1 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="1";e[3]="1";e[4]=0;m.os[113]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/26.0 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="1";e[3]="2";e[4]=0;m.os[114]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/28.0 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="1";e[3]="3";e[4]=0;m.os[115]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/30.0 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="1";e[3]="4";e[4]=0;m.os[116]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/32.0 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="2";e[3]="0";e[4]=0;m.os[117]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Gecko/34.0 Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]="2";e[3]="1";e[4]=0;m.os[118]=e;e=Object.create(null);e[0]=new RegExp("\\((?:Mobile|Tablet);.+Firefox/\\d+\\.\\d+");e[1]="Firefox OS";e[2]=0;e[3]=0;e[4]=0;m.os[119]=e;e=Object.create(null);e[0]=new RegExp("(BREW)[ /](\\d+)\\.(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[120]=e;e=Object.create(null);e[0]=new RegExp("(BREW);");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[121]=e;e=Object.create(null);e[0]=new RegExp("(Brew MP|BMP)[ /](\\d+)\\.(\\d+)\\.(\\d+)");e[1]="Brew MP";e[2]=0;e[3]=0;e[4]=0;m.os[122]=e;e=Object.create(null);e[0]=new RegExp("BMP;");e[1]="Brew MP";e[2]=0;e[3]=0;e[4]=0;m.os[123]=e;e=Object.create(null);e[0]=new RegExp("(GoogleTV)(?: (\\d+)\\.(\\d+)(?:\\.(\\d+))?|/[\\da-z]+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[124]=e;e=Object.create(null);e[0]=new RegExp("(WebTV)/(\\d+).(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[125]=e;e=Object.create(null);e[0]=new RegExp("(CrKey)(?:[/](\\d+)\\.(\\d+)(?:\\.(\\d+))?)?");e[1]="Chromecast";e[2]=0;e[3]=0;e[4]=0;m.os[126]=e;e=Object.create(null);e[0]=new RegExp("(hpw|web)OS/(\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]="webOS";e[2]=0;e[3]=0;e[4]=0;m.os[127]=e;e=Object.create(null);e[0]=new RegExp("(VRE);");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[128]=e;e=Object.create(null);e[0]=new RegExp("(Fedora|Red Hat|PCLinuxOS|Puppy|Ubuntu|Kindle|Bada|Lubuntu|BackTrack|Slackware|(?:Free|Open|Net|\\b)BSD)[/ ](\\d+)\\.(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[129]=e;e=Object.create(null);e[0]=new RegExp("(Linux)[ /](\\d+)\\.(\\d+)(?:\\.(\\d+))?.*gentoo");e[1]="Gentoo";e[2]=0;e[3]=0;e[4]=0;m.os[130]=e;e=Object.create(null);e[0]=new RegExp("\\((Bada);");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[131]=e;e=Object.create(null);e[0]=new RegExp("(Windows|Android|WeTab|Maemo|Web0S)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[132]=e;e=Object.create(null);e[0]=new RegExp("(Ubuntu|Kubuntu|Arch Linux|CentOS|Slackware|Gentoo|openSUSE|SUSE|Red Hat|Fedora|PCLinuxOS|Mageia|(?:Free|Open|Net|\\b)BSD)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[133]=e;e=Object.create(null);e[0]=new RegExp("(Linux)(?:[ /](\\d+)\\.(\\d+)(?:\\.(\\d+))?)?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[134]=e;e=Object.create(null);e[0]=new RegExp("SunOS");e[1]="Solaris";e[2]=0;e[3]=0;e[4]=0;m.os[135]=e;e=Object.create(null);e[0]=new RegExp("^(Roku)/DVP-(\\d+)\\.(\\d+)");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[136]=e;e=Object.create(null);e[0]=new RegExp("(iOS) (\\d+)\\.(\\d+)(?:\\.(\\d+))?");e[1]=0;e[2]=0;e[3]=0;e[4]=0;m.os[137]=e;m.os.length=138});var QS=ie((gU,BD)=>{BD.exports=[{name:"nodejs",version:"0.2.0",date:"2011-08-26",lts:!1,security:!1},{name:"nodejs",version:"0.3.0",date:"2011-08-26",lts:!1,security:!1},{name:"nodejs",version:"0.4.0",date:"2011-08-26",lts:!1,security:!1},{name:"nodejs",version:"0.5.0",date:"2011-08-26",lts:!1,security:!1},{name:"nodejs",version:"0.6.0",date:"2011-11-04",lts:!1,security:!1},{name:"nodejs",version:"0.7.0",date:"2012-01-17",lts:!1,security:!1},{name:"nodejs",version:"0.8.0",date:"2012-06-22",lts:!1,security:!1},{name:"nodejs",version:"0.9.0",date:"2012-07-20",lts:!1,security:!1},{name:"nodejs",version:"0.10.0",date:"2013-03-11",lts:!1,security:!1},{name:"nodejs",version:"0.11.0",date:"2013-03-28",lts:!1,security:!1},{name:"nodejs",version:"0.12.0",date:"2015-02-06",lts:!1,security:!1},{name:"iojs",version:"1.0.0",date:"2015-01-14"},{name:"iojs",version:"1.1.0",date:"2015-02-03"},{name:"iojs",version:"1.2.0",date:"2015-02-11"},{name:"iojs",version:"1.3.0",date:"2015-02-20"},{name:"iojs",version:"1.5.0",date:"2015-03-06"},{name:"iojs",version:"1.6.0",date:"2015-03-20"},{name:"iojs",version:"2.0.0",date:"2015-05-04"},{name:"iojs",version:"2.1.0",date:"2015-05-24"},{name:"iojs",version:"2.2.0",date:"2015-06-01"},{name:"iojs",version:"2.3.0",date:"2015-06-13"},{name:"iojs",version:"2.4.0",date:"2015-07-17"},{name:"iojs",version:"2.5.0",date:"2015-07-28"},{name:"iojs",version:"3.0.0",date:"2015-08-04"},{name:"iojs",version:"3.1.0",date:"2015-08-19"},{name:"iojs",version:"3.2.0",date:"2015-08-25"},{name:"iojs",version:"3.3.0",date:"2015-09-02"},{name:"nodejs",version:"4.0.0",date:"2015-09-08",lts:!1,security:!1},{name:"nodejs",version:"4.1.0",date:"2015-09-17",lts:!1,security:!1},{name:"nodejs",version:"4.2.0",date:"2015-10-12",lts:"Argon",security:!1},{name:"nodejs",version:"4.3.0",date:"2016-02-09",lts:"Argon",security:!1},{name:"nodejs",version:"4.4.0",date:"2016-03-08",lts:"Argon",security:!1},{name:"nodejs",version:"4.5.0",date:"2016-08-16",lts:"Argon",security:!1},{name:"nodejs",version:"4.6.0",date:"2016-09-27",lts:"Argon",security:!0},{name:"nodejs",version:"4.7.0",date:"2016-12-06",lts:"Argon",security:!1},{name:"nodejs",version:"4.8.0",date:"2017-02-21",lts:"Argon",security:!1},{name:"nodejs",version:"4.9.0",date:"2018-03-28",lts:"Argon",security:!0},{name:"nodejs",version:"5.0.0",date:"2015-10-29",lts:!1,security:!1},{name:"nodejs",version:"5.1.0",date:"2015-11-17",lts:!1,security:!1},{name:"nodejs",version:"5.2.0",date:"2015-12-09",lts:!1,security:!1},{name:"nodejs",version:"5.3.0",date:"2015-12-15",lts:!1,security:!1},{name:"nodejs",version:"5.4.0",date:"2016-01-06",lts:!1,security:!1},{name:"nodejs",version:"5.5.0",date:"2016-01-21",lts:!1,security:!1},{name:"nodejs",version:"5.6.0",date:"2016-02-09",lts:!1,security:!1},{name:"nodejs",version:"5.7.0",date:"2016-02-23",lts:!1,security:!1},{name:"nodejs",version:"5.8.0",date:"2016-03-09",lts:!1,security:!1},{name:"nodejs",version:"5.9.0",date:"2016-03-16",lts:!1,security:!1},{name:"nodejs",version:"5.10.0",date:"2016-04-01",lts:!1,security:!1},{name:"nodejs",version:"5.11.0",date:"2016-04-21",lts:!1,security:!1},{name:"nodejs",version:"5.12.0",date:"2016-06-23",lts:!1,security:!1},{name:"nodejs",version:"6.0.0",date:"2016-04-26",lts:!1,security:!1},{name:"nodejs",version:"6.1.0",date:"2016-05-05",lts:!1,security:!1},{name:"nodejs",version:"6.2.0",date:"2016-05-17",lts:!1,security:!1},{name:"nodejs",version:"6.3.0",date:"2016-07-06",lts:!1,security:!1},{name:"nodejs",version:"6.4.0",date:"2016-08-12",lts:!1,security:!1},{name:"nodejs",version:"6.5.0",date:"2016-08-26",lts:!1,security:!1},{name:"nodejs",version:"6.6.0",date:"2016-09-14",lts:!1,security:!1},{name:"nodejs",version:"6.7.0",date:"2016-09-27",lts:!1,security:!0},{name:"nodejs",version:"6.8.0",date:"2016-10-12",lts:!1,security:!1},{name:"nodejs",version:"6.9.0",date:"2016-10-18",lts:"Boron",security:!1},{name:"nodejs",version:"6.10.0",date:"2017-02-21",lts:"Boron",security:!1},{name:"nodejs",version:"6.11.0",date:"2017-06-06",lts:"Boron",security:!1},{name:"nodejs",version:"6.12.0",date:"2017-11-06",lts:"Boron",security:!1},{name:"nodejs",version:"6.13.0",date:"2018-02-10",lts:"Boron",security:!1},{name:"nodejs",version:"6.14.0",date:"2018-03-28",lts:"Boron",security:!0},{name:"nodejs",version:"6.15.0",date:"2018-11-27",lts:"Boron",security:!0},{name:"nodejs",version:"6.16.0",date:"2018-12-26",lts:"Boron",security:!1},{name:"nodejs",version:"6.17.0",date:"2019-02-28",lts:"Boron",security:!0},{name:"nodejs",version:"7.0.0",date:"2016-10-25",lts:!1,security:!1},{name:"nodejs",version:"7.1.0",date:"2016-11-08",lts:!1,security:!1},{name:"nodejs",version:"7.2.0",date:"2016-11-22",lts:!1,security:!1},{name:"nodejs",version:"7.3.0",date:"2016-12-20",lts:!1,security:!1},{name:"nodejs",version:"7.4.0",date:"2017-01-04",lts:!1,security:!1},{name:"nodejs",version:"7.5.0",date:"2017-01-31",lts:!1,security:!1},{name:"nodejs",version:"7.6.0",date:"2017-02-21",lts:!1,security:!1},{name:"nodejs",version:"7.7.0",date:"2017-02-28",lts:!1,security:!1},{name:"nodejs",version:"7.8.0",date:"2017-03-29",lts:!1,security:!1},{name:"nodejs",version:"7.9.0",date:"2017-04-11",lts:!1,security:!1},{name:"nodejs",version:"7.10.0",date:"2017-05-02",lts:!1,security:!1},{name:"nodejs",version:"8.0.0",date:"2017-05-30",lts:!1,security:!1},{name:"nodejs",version:"8.1.0",date:"2017-06-08",lts:!1,security:!1},{name:"nodejs",version:"8.2.0",date:"2017-07-19",lts:!1,security:!1},{name:"nodejs",version:"8.3.0",date:"2017-08-08",lts:!1,security:!1},{name:"nodejs",version:"8.4.0",date:"2017-08-15",lts:!1,security:!1},{name:"nodejs",version:"8.5.0",date:"2017-09-12",lts:!1,security:!1},{name:"nodejs",version:"8.6.0",date:"2017-09-26",lts:!1,security:!1},{name:"nodejs",version:"8.7.0",date:"2017-10-11",lts:!1,security:!1},{name:"nodejs",version:"8.8.0",date:"2017-10-24",lts:!1,security:!1},{name:"nodejs",version:"8.9.0",date:"2017-10-31",lts:"Carbon",security:!1},{name:"nodejs",version:"8.10.0",date:"2018-03-06",lts:"Carbon",security:!1},{name:"nodejs",version:"8.11.0",date:"2018-03-28",lts:"Carbon",security:!0},{name:"nodejs",version:"8.12.0",date:"2018-09-10",lts:"Carbon",security:!1},{name:"nodejs",version:"8.13.0",date:"2018-11-20",lts:"Carbon",security:!1},{name:"nodejs",version:"8.14.0",date:"2018-11-27",lts:"Carbon",security:!0},{name:"nodejs",version:"8.15.0",date:"2018-12-26",lts:"Carbon",security:!1},{name:"nodejs",version:"8.16.0",date:"2019-04-16",lts:"Carbon",security:!1},{name:"nodejs",version:"8.17.0",date:"2019-12-17",lts:"Carbon",security:!0},{name:"nodejs",version:"9.0.0",date:"2017-10-31",lts:!1,security:!1},{name:"nodejs",version:"9.1.0",date:"2017-11-07",lts:!1,security:!1},{name:"nodejs",version:"9.2.0",date:"2017-11-14",lts:!1,security:!1},{name:"nodejs",version:"9.3.0",date:"2017-12-12",lts:!1,security:!1},{name:"nodejs",version:"9.4.0",date:"2018-01-10",lts:!1,security:!1},{name:"nodejs",version:"9.5.0",date:"2018-01-31",lts:!1,security:!1},{name:"nodejs",version:"9.6.0",date:"2018-02-21",lts:!1,security:!1},{name:"nodejs",version:"9.7.0",date:"2018-03-01",lts:!1,security:!1},{name:"nodejs",version:"9.8.0",date:"2018-03-07",lts:!1,security:!1},{name:"nodejs",version:"9.9.0",date:"2018-03-21",lts:!1,security:!1},{name:"nodejs",version:"9.10.0",date:"2018-03-28",lts:!1,security:!0},{name:"nodejs",version:"9.11.0",date:"2018-04-04",lts:!1,security:!1},{name:"nodejs",version:"10.0.0",date:"2018-04-24",lts:!1,security:!1},{name:"nodejs",version:"10.1.0",date:"2018-05-08",lts:!1,security:!1},{name:"nodejs",version:"10.2.0",date:"2018-05-23",lts:!1,security:!1},{name:"nodejs",version:"10.3.0",date:"2018-05-29",lts:!1,security:!1},{name:"nodejs",version:"10.4.0",date:"2018-06-06",lts:!1,security:!1},{name:"nodejs",version:"10.5.0",date:"2018-06-20",lts:!1,security:!1},{name:"nodejs",version:"10.6.0",date:"2018-07-04",lts:!1,security:!1},{name:"nodejs",version:"10.7.0",date:"2018-07-18",lts:!1,security:!1},{name:"nodejs",version:"10.8.0",date:"2018-08-01",lts:!1,security:!1},{name:"nodejs",version:"10.9.0",date:"2018-08-15",lts:!1,security:!1},{name:"nodejs",version:"10.10.0",date:"2018-09-06",lts:!1,security:!1},{name:"nodejs",version:"10.11.0",date:"2018-09-19",lts:!1,security:!1},{name:"nodejs",version:"10.12.0",date:"2018-10-10",lts:!1,security:!1},{name:"nodejs",version:"10.13.0",date:"2018-10-30",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.14.0",date:"2018-11-27",lts:"Dubnium",security:!0},{name:"nodejs",version:"10.15.0",date:"2018-12-26",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.16.0",date:"2019-05-28",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.17.0",date:"2019-10-22",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.18.0",date:"2019-12-17",lts:"Dubnium",security:!0},{name:"nodejs",version:"10.19.0",date:"2020-02-05",lts:"Dubnium",security:!0},{name:"nodejs",version:"10.20.0",date:"2020-03-26",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.21.0",date:"2020-06-02",lts:"Dubnium",security:!0},{name:"nodejs",version:"10.22.0",date:"2020-07-21",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.23.0",date:"2020-10-27",lts:"Dubnium",security:!1},{name:"nodejs",version:"10.24.0",date:"2021-02-23",lts:"Dubnium",security:!0},{name:"nodejs",version:"11.0.0",date:"2018-10-23",lts:!1,security:!1},{name:"nodejs",version:"11.1.0",date:"2018-10-30",lts:!1,security:!1},{name:"nodejs",version:"11.2.0",date:"2018-11-15",lts:!1,security:!1},{name:"nodejs",version:"11.3.0",date:"2018-11-27",lts:!1,security:!0},{name:"nodejs",version:"11.4.0",date:"2018-12-07",lts:!1,security:!1},{name:"nodejs",version:"11.5.0",date:"2018-12-18",lts:!1,security:!1},{name:"nodejs",version:"11.6.0",date:"2018-12-26",lts:!1,security:!1},{name:"nodejs",version:"11.7.0",date:"2019-01-17",lts:!1,security:!1},{name:"nodejs",version:"11.8.0",date:"2019-01-24",lts:!1,security:!1},{name:"nodejs",version:"11.9.0",date:"2019-01-30",lts:!1,security:!1},{name:"nodejs",version:"11.10.0",date:"2019-02-14",lts:!1,security:!1},{name:"nodejs",version:"11.11.0",date:"2019-03-05",lts:!1,security:!1},{name:"nodejs",version:"11.12.0",date:"2019-03-14",lts:!1,security:!1},{name:"nodejs",version:"11.13.0",date:"2019-03-28",lts:!1,security:!1},{name:"nodejs",version:"11.14.0",date:"2019-04-10",lts:!1,security:!1},{name:"nodejs",version:"11.15.0",date:"2019-04-30",lts:!1,security:!1},{name:"nodejs",version:"12.0.0",date:"2019-04-23",lts:!1,security:!1},{name:"nodejs",version:"12.1.0",date:"2019-04-29",lts:!1,security:!1},{name:"nodejs",version:"12.2.0",date:"2019-05-07",lts:!1,security:!1},{name:"nodejs",version:"12.3.0",date:"2019-05-21",lts:!1,security:!1},{name:"nodejs",version:"12.4.0",date:"2019-06-04",lts:!1,security:!1},{name:"nodejs",version:"12.5.0",date:"2019-06-26",lts:!1,security:!1},{name:"nodejs",version:"12.6.0",date:"2019-07-03",lts:!1,security:!1},{name:"nodejs",version:"12.7.0",date:"2019-07-23",lts:!1,security:!1},{name:"nodejs",version:"12.8.0",date:"2019-08-06",lts:!1,security:!1},{name:"nodejs",version:"12.9.0",date:"2019-08-20",lts:!1,security:!1},{name:"nodejs",version:"12.10.0",date:"2019-09-04",lts:!1,security:!1},{name:"nodejs",version:"12.11.0",date:"2019-09-25",lts:!1,security:!1},{name:"nodejs",version:"12.12.0",date:"2019-10-11",lts:!1,security:!1},{name:"nodejs",version:"12.13.0",date:"2019-10-21",lts:"Erbium",security:!1},{name:"nodejs",version:"12.14.0",date:"2019-12-17",lts:"Erbium",security:!0},{name:"nodejs",version:"12.15.0",date:"2020-02-05",lts:"Erbium",security:!0},{name:"nodejs",version:"12.16.0",date:"2020-02-11",lts:"Erbium",security:!1},{name:"nodejs",version:"12.17.0",date:"2020-05-26",lts:"Erbium",security:!1},{name:"nodejs",version:"12.18.0",date:"2020-06-02",lts:"Erbium",security:!0},{name:"nodejs",version:"12.19.0",date:"2020-10-06",lts:"Erbium",security:!1},{name:"nodejs",version:"12.20.0",date:"2020-11-24",lts:"Erbium",security:!1},{name:"nodejs",version:"12.21.0",date:"2021-02-23",lts:"Erbium",security:!0},{name:"nodejs",version:"13.0.0",date:"2019-10-22",lts:!1,security:!1},{name:"nodejs",version:"13.1.0",date:"2019-11-05",lts:!1,security:!1},{name:"nodejs",version:"13.2.0",date:"2019-11-21",lts:!1,security:!1},{name:"nodejs",version:"13.3.0",date:"2019-12-03",lts:!1,security:!1},{name:"nodejs",version:"13.4.0",date:"2019-12-17",lts:!1,security:!0},{name:"nodejs",version:"13.5.0",date:"2019-12-18",lts:!1,security:!1},{name:"nodejs",version:"13.6.0",date:"2020-01-07",lts:!1,security:!1},{name:"nodejs",version:"13.7.0",date:"2020-01-21",lts:!1,security:!1},{name:"nodejs",version:"13.8.0",date:"2020-02-05",lts:!1,security:!0},{name:"nodejs",version:"13.9.0",date:"2020-02-18",lts:!1,security:!1},{name:"nodejs",version:"13.10.0",date:"2020-03-04",lts:!1,security:!1},{name:"nodejs",version:"13.11.0",date:"2020-03-12",lts:!1,security:!1},{name:"nodejs",version:"13.12.0",date:"2020-03-26",lts:!1,security:!1},{name:"nodejs",version:"13.13.0",date:"2020-04-14",lts:!1,security:!1},{name:"nodejs",version:"13.14.0",date:"2020-04-29",lts:!1,security:!1},{name:"nodejs",version:"14.0.0",date:"2020-04-21",lts:!1,security:!1},{name:"nodejs",version:"14.1.0",date:"2020-04-29",lts:!1,security:!1},{name:"nodejs",version:"14.2.0",date:"2020-05-05",lts:!1,security:!1},{name:"nodejs",version:"14.3.0",date:"2020-05-19",lts:!1,security:!1},{name:"nodejs",version:"14.4.0",date:"2020-06-02",lts:!1,security:!0},{name:"nodejs",version:"14.5.0",date:"2020-06-30",lts:!1,security:!1},{name:"nodejs",version:"14.6.0",date:"2020-07-20",lts:!1,security:!1},{name:"nodejs",version:"14.7.0",date:"2020-07-29",lts:!1,security:!1},{name:"nodejs",version:"14.8.0",date:"2020-08-11",lts:!1,security:!1},{name:"nodejs",version:"14.9.0",date:"2020-08-27",lts:!1,security:!1},{name:"nodejs",version:"14.10.0",date:"2020-09-08",lts:!1,security:!1},{name:"nodejs",version:"14.11.0",date:"2020-09-15",lts:!1,security:!0},{name:"nodejs",version:"14.12.0",date:"2020-09-22",lts:!1,security:!1},{name:"nodejs",version:"14.13.0",date:"2020-09-29",lts:!1,security:!1},{name:"nodejs",version:"14.14.0",date:"2020-10-15",lts:!1,security:!1},{name:"nodejs",version:"14.15.0",date:"2020-10-27",lts:"Fermium",security:!1},{name:"nodejs",version:"14.16.0",date:"2021-02-23",lts:"Fermium",security:!0},{name:"nodejs",version:"15.0.0",date:"2020-10-20",lts:!1,security:!1},{name:"nodejs",version:"15.1.0",date:"2020-11-04",lts:!1,security:!1},{name:"nodejs",version:"15.2.0",date:"2020-11-10",lts:!1,security:!1},{name:"nodejs",version:"15.3.0",date:"2020-11-24",lts:!1,security:!1},{name:"nodejs",version:"15.4.0",date:"2020-12-09",lts:!1,security:!1},{name:"nodejs",version:"15.5.0",date:"2020-12-22",lts:!1,security:!1},{name:"nodejs",version:"15.6.0",date:"2021-01-14",lts:!1,security:!1},{name:"nodejs",version:"15.7.0",date:"2021-01-25",lts:!1,security:!1},{name:"nodejs",version:"15.8.0",date:"2021-02-02",lts:!1,security:!1},{name:"nodejs",version:"15.9.0",date:"2021-02-18",lts:!1,security:!1},{name:"nodejs",version:"15.10.0",date:"2021-02-23",lts:!1,security:!0}]});var tO=ie((mU,eO)=>{x();eO.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}});var iO=ie((vU,nO)=>{x();nO.exports.browsers=tO()});var oO=ie((yU,rO)=>{x();rO.exports={"0":"43","1":"44","2":"45","3":"46","4":"47","5":"48","6":"49","7":"50","8":"51","9":"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"11.1",WB:"12.1",XB:"3",YB:"59",ZB:"61",aB:"77",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}});var aO=ie((bU,sO)=>{x();sO.exports.browserVersions=oO()});var cO=ie((wU,lO)=>{x();lO.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{"0":.058856,"1":.004204,"2":.004204,"3":.004525,"4":.004271,"5":.008408,"6":.004538,"7":.004267,"8":.004204,"9":.071468,hB:.012813,XB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,YB:.004204,GB:.008408,ZB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,aB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","XB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","YB","GB","ZB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","aB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{"0":1450137600,"1":1453852800,"2":1457395200,"3":1461628800,"4":1465257600,"5":1470096e3,"6":1474329600,"7":1479168e3,"8":1485216e3,"9":1488844800,hB:1161648e3,XB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,YB:1520985600,GB:1525824e3,ZB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,aB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{"0":.008408,"1":.004465,"2":.004642,"3":.004891,"4":.008408,"5":.02102,"6":.214404,"7":.004204,"8":.016816,"9":.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,YB:.008408,GB:.016816,ZB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,aB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","YB","GB","ZB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","aB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{"0":143208e4,"1":1437523200,"2":1441152e3,"3":1444780800,"4":1449014400,"5":1453248e3,"6":1456963200,"7":1460592e3,"8":1464134400,"9":1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,YB:1496707200,GB:1500940800,ZB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,aB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,VB:.058856,WB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","VB","C","WB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,VB:1522281600,C:1537142400,WB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{"0":.008542,"1":.004227,"2":.004725,"3":.008408,"4":.008942,"5":.004707,"6":.004827,"7":.004707,"8":.004707,"9":.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,wB:.00685,xB:0,yB:.008392,zB:.004706,VB:.006229,eB:.004879,"0B":.008786,WB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","VB","eB","0B","C","WB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","","",""],E:"Opera",F:{"0":1486425600,"1":1490054400,"2":1494374400,"3":1498003200,"4":1502236800,"5":1506470400,"6":1510099200,"7":1515024e3,"8":1517961600,"9":1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,VB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,WB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",VB:"o",eB:"o","0B":"o",WB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{XB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","XB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,XB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,VB:0,eB:0,WB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","VB","eB","C","WB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,VB:1314835200,eB:1318291200,C:1330300800,WB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}});var fO=ie((_U,hO)=>{x();var{browsers:ND}=iO(),_g=aO().browserVersions,uO=cO();function dO(i){return Object.keys(i).reduce((t,n)=>(t[_g[n]]=i[n],t),{})}hO.exports.agents=Object.keys(uO).reduce((i,t)=>{let n=uO[t];return i[ND[t]]=Object.keys(n).reduce((r,o)=>(o==="A"?r.usage_global=dO(n[o]):o==="C"?r.versions=n[o].reduce((l,s)=>(s===""?l.push(null):l.push(_g[s]),l),[]):o==="D"?r.prefix_exceptions=dO(n[o]):o==="E"?r.browser=n[o]:o==="F"?r.release_date=Object.keys(n[o]).reduce((l,s)=>(l[_g[s]]=n[o][s],l),{}):r.prefix=n[o],r),{}),i},{})});var pO=ie((EU,DD)=>{DD.exports={"v0.8":{start:"2012-06-25",end:"2014-07-31"},"v0.10":{start:"2013-03-11",end:"2016-10-31"},"v0.12":{start:"2015-02-06",end:"2016-12-31"},v4:{start:"2015-09-08",lts:"2015-10-12",maintenance:"2017-04-01",end:"2018-04-30",codename:"Argon"},v5:{start:"2015-10-29",maintenance:"2016-04-30",end:"2016-06-30"},v6:{start:"2016-04-26",lts:"2016-10-18",maintenance:"2018-04-30",end:"2019-04-30",codename:"Boron"},v7:{start:"2016-10-25",maintenance:"2017-04-30",end:"2017-06-30"},v8:{start:"2017-05-30",lts:"2017-10-31",maintenance:"2019-01-01",end:"2019-12-31",codename:"Carbon"},v9:{start:"2017-10-01",maintenance:"2018-04-01",end:"2018-06-30"},v10:{start:"2018-04-24",lts:"2018-10-30",maintenance:"2020-05-19",end:"2021-04-30",codename:"Dubnium"},v11:{start:"2018-10-23",maintenance:"2019-04-22",end:"2019-06-01"},v12:{start:"2019-04-23",lts:"2019-10-21",maintenance:"2020-11-30",end:"2022-04-30",codename:"Erbium"},v13:{start:"2019-10-22",maintenance:"2020-04-01",end:"2020-06-01"},v14:{start:"2020-04-21",lts:"2020-10-27",maintenance:"2021-10-19",end:"2023-04-30",codename:"Fermium"},v15:{start:"2020-10-20",maintenance:"2021-04-01",end:"2021-06-01"},v16:{start:"2021-04-20",lts:"2021-10-26",maintenance:"2022-10-18",end:"2024-04-30",codename:""}}});var mO=ie((SU,gO)=>{x();gO.exports={"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","12.0":"89","13.0":"91","13.1":"91","14.0":"92"}});var Sg=ie((OU,vO)=>{x();function Eg(i){this.name="BrowserslistError",this.message=i,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,Eg)}Eg.prototype=Error.prototype;vO.exports=Eg});var bO=ie((CU,yO)=>{x();var Wd=Sg();function yl(){}yO.exports={loadQueries:function(){throw new Wd("Sharable configs are not supported in client-side build of Browserslist")},getStat:function(t){return t.stats},loadConfig:function(t){if(t.config)throw new Wd("Browserslist config are not supported in client-side build")},loadCountry:function(){throw new Wd("Country statistics are not supported in client-side build of Browserslist")},loadFeature:function(){throw new Wd("Supports queries are not available in client-side build of Browserslist")},currentNode:function(t,n){return t(["maintained node versions"],n)[0]},parseConfig:yl,readConfig:yl,findConfig:yl,clearCaches:yl,oldDataWarning:yl}});var HO=ie((xU,DO)=>{x();var qd=QS(),Lr=fO().agents,Og=pO(),zd=Ka(),Wi=mO(),Kn=Sg(),Fn=bO(),HD=365.259641*24*60*60*1e3,wO=37,Cg=1,_O=2;function EO(i,t){return(i+".").indexOf(t+".")===0}function jD(i){var t=i.slice(1);return qd.some(function(n){return EO(n.version,t)})}function SO(i){return i.filter(function(t){return typeof t=="string"})}function Vd(i){var t=i;return i.split(".").length===3&&(t=i.split(".").slice(0,-1).join(".")),t}function so(i){return function(n){return i+" "+n}}function OO(i){return parseInt(i.split(".")[0])}function xg(i,t){if(i.length===0)return[];var n=CO(i.map(OO)),r=n[n.length-t];if(!r)return i;for(var o=[],l=i.length-1;l>=0&&!(r>OO(i[l]));l--)o.unshift(i[l]);return o}function CO(i){for(var t=[],n=0;n<i.length;n++)t.indexOf(i[n])===-1&&t.push(i[n]);return t}function Gd(i,t,n){for(var r in n)i[t+" "+r]=n[r]}function xO(i,t){return t=parseFloat(t),i===">"?function(n){return parseFloat(n)>t}:i===">="?function(n){return parseFloat(n)>=t}:i==="<"?function(n){return parseFloat(n)<t}:function(n){return parseFloat(n)<=t}}function FD(i,t){return t=t.split(".").map(ao),t[1]=t[1]||0,t[2]=t[2]||0,i===">"?function(n){return n=n.split(".").map(ao),bl(n,t)>0}:i===">="?function(n){return n=n.split(".").map(ao),bl(n,t)>=0}:i==="<"?function(n){return n=n.split(".").map(ao),bl(t,n)>0}:function(n){return n=n.split(".").map(ao),bl(t,n)>=0}}function ao(i){return parseInt(i)}function Jd(i,t){return i<t?-1:i>t?1:0}function bl(i,t){return Jd(parseInt(i[0]),parseInt(t[0]))||Jd(parseInt(i[1]||"0"),parseInt(t[1]||"0"))||Jd(parseInt(i[2]||"0"),parseInt(t[2]||"0"))}function TO(i,t){switch(t=t.split(".").map(ao),typeof t[1]=="undefined"&&(t[1]="x"),i){case"<=":return function(n){return n=n.split(".").map(ao),AO(n,t)<=0};default:case">=":return function(n){return n=n.split(".").map(ao),AO(n,t)>=0}}}function AO(i,t){return i[0]!==t[0]?i[0]<t[0]?-1:1:t[1]==="x"?0:i[1]!==t[1]?i[1]<t[1]?-1:1:0}function $D(i,t){return i.versions.indexOf(t)!==-1?t:Qe.versionAliases[i.name][t]?Qe.versionAliases[i.name][t]:!1}function Kd(i,t){var n=$D(i,t);return n||(i.versions.length===1?i.versions[0]:!1)}function MO(i,t){return i=i/1e3,Object.keys(Lr).reduce(function(n,r){var o=Go(r,t);if(!o)return n;var l=Object.keys(o.releaseDate).filter(function(s){return o.releaseDate[s]>=i});return n.concat(l.map(so(o.name)))},[])}function RO(i){return{name:i.name,versions:i.versions,released:i.released,releaseDate:i.releaseDate}}function UD(i,t){i.versions=i.versions.map(function(o){return t[o]||o}),i.released=i.versions.map(function(o){return t[o]||o});var n={};for(var r in i.releaseDate)n[t[r]||r]=i.releaseDate[r];return i.releaseDate=n,i}function Go(i,t){if(i=i.toLowerCase(),i=Qe.aliases[i]||i,t.mobileToDesktop&&Qe.desktopNames[i]){var n=Qe.data[Qe.desktopNames[i]];if(i==="android")return WD(RO(Qe.data[i]),n);var r=RO(n);return r.name=i,i==="op_mob"&&(r=UD(r,{"10.0-10.1":"10"})),r}return Qe.data[i]}function kO(i,t){var n=wO,r=t[t.length-1];return i.filter(function(o){return/^(?:[2-4]\.|[34]$)/.test(o)}).concat(t.slice(n-r-1))}function WD(i,t){return i.released=kO(i.released,t.released),i.versions=kO(i.versions,t.versions),i}function ra(i,t){var n=Go(i,t);if(!n)throw new Kn("Unknown browser "+i);return n}function LO(i){return new Kn("Unknown browser query `"+i+"`. Maybe you are using old Browserslist or made typo in query.")}function Yd(i,t,n){if(n.mobileToDesktop)return i;var r=Qe.data.android.released,o=r[r.length-1],l=o-wO-t;return l>0?i.slice(-1):i.slice(l-1)}function oa(i,t){return Array.isArray(i)?i=IO(i.map(PO)):i=PO(i),i.reduce(function(n,r,o){var l=r.queryString,s=l.indexOf("not ")===0;if(s){if(o===0)throw new Kn("Write any browsers query (for instance, `defaults`) before `"+l+"`");l=l.slice(4)}for(var a=0;a<NO.length;a++){var u=NO[a],h=l.match(u.regexp);if(h){var p=[t].concat(h.slice(1)),g=u.select.apply(Qe,p).map(function(v){var _=v.split(" ");return _[1]==="0"?_[0]+" "+Go(_[0],t).versions[0]:v});switch(r.type){case _O:return s?n.filter(function(v){return g.indexOf(v)===-1}):n.filter(function(v){return g.indexOf(v)!==-1});case Cg:default:if(s){var f={};return g.forEach(function(v){f[v]=!0}),n.filter(function(v){return!f[v]})}return n.concat(g)}}}throw LO(l)},[])}var Tg={};function Qe(i,t){if(typeof t=="undefined"&&(t={}),typeof t.path=="undefined"&&(t.path=zd.resolve?zd.resolve("."):"."),typeof i=="undefined"||i===null){var n=Qe.loadConfig(t);n?i=n:i=Qe.defaults}if(!(typeof i=="string"||Array.isArray(i)))throw new Kn("Browser queries must be an array or string. Got "+typeof i+".");var r={ignoreUnknownVersions:t.ignoreUnknownVersions,dangerousExtend:t.dangerousExtend,mobileToDesktop:t.mobileToDesktop,path:t.path,env:t.env};Fn.oldDataWarning(Qe.data);var o=Fn.getStat(t,Qe.data);if(o){r.customUsage={};for(var l in o)Gd(r.customUsage,l,o[l])}var s=JSON.stringify([i,r]);if(Tg[s])return Tg[s];var a=CO(oa(i,r)).sort(function(u,h){if(u=u.split(" "),h=h.split(" "),u[0]===h[0]){var p=u[1].split("-")[0],g=h[1].split("-")[0];return bl(g.split("."),p.split("."))}else return Jd(u[0],h[0])});return W.env.BROWSERSLIST_DISABLE_CACHE||(Tg[s]=a),a}function PO(i){var t=[];do i=qD(i,t);while(i);return t}function qD(i,t){var n=/^(?:,\s*|\s+or\s+)(.*)/i,r=/^\s+and\s+(.*)/i;return zD(i,function(o,l,s){return r.test(o)?(t.unshift({type:_O,queryString:o.match(r)[1]}),!0):n.test(o)?(t.unshift({type:Cg,queryString:o.match(n)[1]}),!0):l===s?(t.unshift({type:Cg,queryString:o.trim()}),!0):!1})}function zD(i,t){for(var n=1,r=i.length;n<=r;n++){var o=i.substr(-n,n);if(t(o,n,r))return i.slice(0,-n)}return""}function IO(i){return Array.isArray(i)?i.reduce(function(t,n){return t.concat(IO(n))},[]):[i]}Qe.cache={};Qe.data={};Qe.usage={global:{},custom:null};Qe.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];Qe.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};Qe.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};Qe.versionAliases={};Qe.clearCaches=Fn.clearCaches;Qe.parseConfig=Fn.parseConfig;Qe.readConfig=Fn.readConfig;Qe.findConfig=Fn.findConfig;Qe.loadConfig=Fn.loadConfig;Qe.coverage=function(i,t){var n;if(typeof t=="undefined")n=Qe.usage.global;else if(t==="my stats"){var r={};r.path=zd.resolve?zd.resolve("."):".";var o=Fn.getStat(r);if(!o)throw new Kn("Custom usage statistics was not provided");n={};for(var l in o)Gd(n,l,o[l])}else if(typeof t=="string")t.length>2?t=t.toLowerCase():t=t.toUpperCase(),Fn.loadCountry(Qe.usage,t,Qe.data),n=Qe.usage[t];else{"dataByBrowser"in t&&(t=t.dataByBrowser),n={};for(var s in t)for(var a in t[s])n[s+" "+a]=t[s][a]}return i.reduce(function(u,h){var p=n[h];return p===void 0&&(p=n[h.replace(/ \S+$/," 0")]),u+(p||0)},0)};function Ag(i,t){var n=qd.filter(function(o){return o.name==="nodejs"}),r=n.filter(function(o){return EO(o.version,t)});if(r.length===0){if(i.ignoreUnknownVersions)return[];throw new Kn("Unknown version "+t+" of Node.js")}return["node "+r[r.length-1].version]}function Mg(i,t,n,r){return t=parseInt(t),n=parseInt(n||"01")-1,r=parseInt(r||"01"),MO(Date.UTC(t,n,r,0,0,0),i)}function BO(i,t,n){t=parseFloat(t);var r=Qe.usage.global;if(n)if(n.match(/^my\s+stats$/)){if(!i.customUsage)throw new Kn("Custom usage statistics was not provided");r=i.customUsage}else{var o;n.length===2?o=n.toUpperCase():o=n.toLowerCase(),Fn.loadCountry(Qe.usage,o,Qe.data),r=Qe.usage[o]}for(var l=Object.keys(r).sort(function(p,g){return r[g]-r[p]}),s=0,a=[],u,h=0;h<=l.length&&(u=l[h],!(r[u]===0||(s+=r[u],a.push(u),s>=t)));h++);return a}var NO=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(i,t){return Object.keys(Lr).reduce(function(n,r){var o=Go(r,i);if(!o)return n;var l=xg(o.released,t);return l=l.map(so(o.name)),o.name==="android"&&(l=Yd(l,t,i)),n.concat(l)},[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(i,t){return Object.keys(Lr).reduce(function(n,r){var o=Go(r,i);if(!o)return n;var l=o.released.slice(-t);return l=l.map(so(o.name)),o.name==="android"&&(l=Yd(l,t,i)),n.concat(l)},[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(i,t){var n=xg(Object.keys(Wi),t);return n.map(function(r){return"chrome "+Wi[r]})}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(i,t,n){var r=ra(n,i),o=xg(r.released,t),l=o.map(so(r.name));return r.name==="android"&&(l=Yd(l,t,i)),l}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(i,t){return Object.keys(Wi).slice(-t).map(function(n){return"chrome "+Wi[n]})}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(i,t,n){var r=ra(n,i),o=r.released.slice(-t).map(so(r.name));return r.name==="android"&&(o=Yd(o,t,i)),o}},{regexp:/^unreleased\s+versions$/i,select:function(i){return Object.keys(Lr).reduce(function(t,n){var r=Go(n,i);if(!r)return t;var o=r.versions.filter(function(l){return r.released.indexOf(l)===-1});return o=o.map(so(r.name)),t.concat(o)},[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(i,t){var n=ra(t,i);return n.versions.filter(function(r){return n.released.indexOf(r)===-1}).map(so(n.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(i,t){return MO(Date.now()-HD*t,i)}},{regexp:/^since (\d+)$/i,select:Mg},{regexp:/^since (\d+)-(\d+)$/i,select:Mg},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:Mg},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(i,t,n){n=parseFloat(n);var r=Qe.usage.global;return Object.keys(r).reduce(function(o,l){return t===">"?r[l]>n&&o.push(l):t==="<"?r[l]<n&&o.push(l):t==="<="?r[l]<=n&&o.push(l):r[l]>=n&&o.push(l),o},[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(i,t,n){if(n=parseFloat(n),!i.customUsage)throw new Kn("Custom usage statistics was not provided");var r=i.customUsage;return Object.keys(r).reduce(function(o,l){return t===">"?r[l]>n&&o.push(l):t==="<"?r[l]<n&&o.push(l):t==="<="?r[l]<=n&&o.push(l):r[l]>=n&&o.push(l),o},[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(i,t,n,r){n=parseFloat(n);var o=Fn.loadStat(i,r,Qe.data);if(o){i.customUsage={};for(var l in o)Gd(i.customUsage,l,o[l])}if(!i.customUsage)throw new Kn("Custom usage statistics was not provided");var s=i.customUsage;return Object.keys(s).reduce(function(a,u){return t===">"?s[u]>n&&a.push(u):t==="<"?s[u]<n&&a.push(u):t==="<="?s[u]<=n&&a.push(u):s[u]>=n&&a.push(u),a},[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(i,t,n,r){n=parseFloat(n),r.length===2?r=r.toUpperCase():r=r.toLowerCase(),Fn.loadCountry(Qe.usage,r,Qe.data);var o=Qe.usage[r];return Object.keys(o).reduce(function(l,s){return t===">"?o[s]>n&&l.push(s):t==="<"?o[s]<n&&l.push(s):t==="<="?o[s]<=n&&l.push(s):o[s]>=n&&l.push(s),l},[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:BO},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:BO},{regexp:/^supports\s+([\w-]+)$/,select:function(i,t){Fn.loadFeature(Qe.cache,t);var n=Qe.cache[t];return Object.keys(n).reduce(function(r,o){var l=n[o];return(l.indexOf("y")>=0||l.indexOf("a")>=0)&&r.push(o),r},[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(i,t,n){var r=Vd(t),o=Vd(n);if(!Wi[r])throw new Kn("Unknown version "+t+" of electron");if(!Wi[o])throw new Kn("Unknown version "+n+" of electron");return t=parseFloat(t),n=parseFloat(n),Object.keys(Wi).filter(function(l){var s=parseFloat(l);return s>=t&&s<=n}).map(function(l){return"chrome "+Wi[l]})}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(i,t,n){var r=qd.filter(function(o){return o.name==="nodejs"}).map(function(o){return o.version});return r.filter(TO(">=",t)).filter(TO("<=",n)).map(function(o){return"node "+o})}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(i,t,n,r){var o=ra(t,i);n=parseFloat(Kd(o,n)||n),r=parseFloat(Kd(o,r)||r);function l(s){var a=parseFloat(s);return a>=n&&a<=r}return o.released.filter(l).map(so(o.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(i,t,n){var r=Vd(n);return Object.keys(Wi).filter(xO(t,r)).map(function(o){return"chrome "+Wi[o]})}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(i,t,n){var r=qd.filter(function(o){return o.name==="nodejs"}).map(function(o){return o.version});return r.filter(FD(t,n)).map(function(o){return"node "+o})}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(i,t,n,r){var o=ra(t,i),l=Qe.versionAliases[o.name][r];return l&&(r=l),o.released.filter(xO(n,r)).map(function(s){return o.name+" "+s})}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(i,t){var n=Vd(t),r=Wi[n];if(!r)throw new Kn("Unknown version "+t+" of electron");return["chrome "+r]}},{regexp:/^node\s+(\d+)$/i,select:Ag},{regexp:/^node\s+(\d+\.\d+)$/i,select:Ag},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:Ag},{regexp:/^current\s+node$/i,select:function(i){return[Fn.currentNode(oa,i)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(i){var t=Date.now(),n=Object.keys(Og).filter(function(r){return t<Date.parse(Og[r].end)&&t>Date.parse(Og[r].start)&&jD(r)}).map(function(r){return"node "+r.slice(1)});return oa(n,i)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(i,t,n){/^tp$/i.test(n)&&(n="TP");var r=ra(t,i),o=Kd(r,n);if(o)n=o;else if(n.indexOf(".")===-1?o=n+".0":o=n.replace(/\.0$/,""),o=Kd(r,o),o)n=o;else{if(i.ignoreUnknownVersions)return[];throw new Kn("Unknown version "+n+" of "+t)}return[r.name+" "+n]}},{regexp:/^browserslist config$/i,select:function(i){return Qe(void 0,i)}},{regexp:/^extends (.+)$/i,select:function(i,t){return oa(Fn.loadQueries(i,t),i)}},{regexp:/^defaults$/i,select:function(i){return oa(Qe.defaults,i)}},{regexp:/^dead$/i,select:function(i){var t=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return oa(t,i)}},{regexp:/^(\w+)$/i,select:function(i,t){throw Go(t,i)?new Kn("Specify versions in Browserslist query for browser "+t):LO(t)}}];(function(){for(var i in Lr){var t=Lr[i];Qe.data[i]={name:i,versions:SO(Lr[i].versions),released:SO(Lr[i].versions.slice(0,-3)),releaseDate:Lr[i].release_date},Gd(Qe.usage.global,i,t.usage_global),Qe.versionAliases[i]={};for(var n=0;n<t.versions.length;n++){var r=t.versions[n];if(!!r&&r.indexOf("-")!==-1)for(var o=r.split("-"),l=0;l<o.length;l++)Qe.versionAliases[i][o[l]]=r}}Qe.versionAliases.op_mob["59"]="58"})();DO.exports=Qe});var CC=ie(Be=>{x();"use strict";Object.defineProperty(Be,"__esModule",{value:!0});var VD=ZS(),GD=HO();function jO(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var FO=jO(VD),JD=jO(GD);(function(i){i[i.RegExp=0]="RegExp",i[i.Family=1]="Family",i[i.Major=2]="Major",i[i.Minor=3]="Minor",i[i.Patch=4]="Patch"})(Be.BrowserRegExpSourceProp||(Be.BrowserRegExpSourceProp={}));var Pr="\\d",Xd=`${Pr}+`,Ir=`(${Xd})`,ar="\\";function Zd(i,t=!1){let n=i.join("|");return t||i.length>1?`(${n})`:n}function $O(i){return i.map(t=>`(${t.regExpString})`).join("|")}function UO(i){return i.toString().includes(Ir)}function Rg(i){return i.toString().split(Ir).length-1}function Jo(i){return i.toString().replace(/^\/|\/$/g,"")}function WO(i,t,n){let r=typeof i=="string"?i:Jo(i);return(typeof n=="number"&&n<t.length?t.slice(0,n):t).reduce((s,a)=>s.replace(Ir,a),r)}function Qd(i){return Array.from(i.toString()).map(Number)}function eh(i,t,n){return n==="["&&t!==ar?!0:n==="]"&&t!==ar?!1:i}function kg(i,t){let n=i[t];switch(n){case"+":case"*":case"?":return n;case"(":{let u=i[t+1],h=i[t+2];if(u!=="?"||h!=="="&&h!=="!")return"";break}case"{":break;default:return""}let r=i.length,o="",l=0,s=!1,a="";for(let u=t;u<r&&(n=i[u],o=i[u-1],s=eh(s,o,n),!s&&o!==ar&&(n==="("||n==="{")&&l++,l>0&&(a+=n),!(!s&&o!==ar&&l>0&&(n===")"||n==="}")&&(l--,l===0)));u++);return a}(function(i){i[i.Major=0]="Major",i[i.Minor=1]="Minor",i[i.Patch=2]="Patch"})(Be.SemverPart||(Be.SemverPart={}));var th={bb:"BlackBerry",and_chr:"Chrome",ChromeAndroid:"Chrome",FirefoxAndroid:"Firefox",ff:"Firefox",ie_mob:"ExplorerMobile",ie:"Explorer",and_ff:"Firefox",ios_saf:"iOS",op_mini:"OperaMini",op_mob:"OperaMobile",and_qq:"QQAndroid",and_uc:"UCAndroid"},qO=new RegExp(`(${Object.keys(th).join("|")})`);function zO(i){let t=qO.exec(i);if(Array.isArray(t)){let[n]=t;return i.replace(n,th[n])}return i}function Lg(i,t,n=0){let r=i.length;for(let o=n;o<r;o++)if(i[o]!==t[o])return!1;return!0}function nh(i){return typeof i=="number"?i:i.length===1?i[0]:[i[0],i[i.length-1]]}function sa(i){return(Array.isArray(i)?i[0]:i)==="all"}function VO(i){return i.filter(Boolean).filter((t,n,r)=>r&&!r.some((o,l)=>l>n&&Lg(t,o)))}function Pg(i,t){let n=i+Number(!t);return n===0?Pr:n===9?"9":n>9?"":`[${n}-9]`}function GO(i){return i===Pr}function JO(i){let t=[],n=0,r=0;return i.filter((o,l)=>l>0&&(n=o.filter(GO).length,r=t.filter(GO).length,n<=r)?!1:(t=o,!0))}function KO(i){if(i===0)return[Xd];let t=Qd(i),n=t.length,r=`${Pr}{${n+1},}`,o=n-1;if(i/Math.pow(10,o)===t[0])return[`${Pg(t[0],!0)}${Pr.repeat(o)}`,r];let s=JO(t.map((a,u)=>{let h=n-u-1,p=u<=0,g=" ";return t.map((f,v)=>v<h?f.toString():g?v>h?Pr:(g=Pg(f,p),g):"")})).map(a=>a.join(""));return s.push(r),s}function Ko(i,t,n){if(t<i)return"";let r=typeof n=="number"&&n>0?"0".repeat(n):"";return i===t?`${r}${i}`:i===0&&t===9?`${r}${Pr}`:`${r}[${i}-${t}]`}function YO(i,t){let n=[],r=i,o=1;do o*=10,r<o&&(n.push([r,Math.min(o-1,t)]),r=o);while(o<=t);return n}function XO(i,t){let n=i.length;if(n!==t.length||i[0]!==t[0])return null;let r=i[0].toString(),o=0,l=0,s="",a="";for(let u=1;u<n;u++)o=i[u],l=t[u],o===l?r+=o:(s+=o,a+=l);return[r,parseInt(s,10),parseInt(a,10)]}function ZO(i,t,n){let r=n.length,o=[],l=0,s=0,a=0;for(let u=i;u<=t;u++)for(o.push(u.toString()),a+=Math.floor(Math.log10(u)+1)+1;a>s;){if(l>=r)return n;s+=n[l++].length+1}return o}function ih(i,t,n=0){let r=Qd(i),o=r.length;if(i<10&&t<10||i===t){let p=n-o;return[Ko(i,t,p)]}let l=Qd(t);if(o!==l.length){let p=YO(i,t);return[].concat(...p.map(([f,v])=>ih(f,v,n)))}let s=XO(r,l);if(Array.isArray(s)){let[p,g,f]=s,v=o-p.length,_=ih(g,f,v);return[`${p}${Zd(_)}`]}let a=Array.from({length:o-1}),u=Ko(r[0]+1,l[0]-1);return[...a.map((p,g)=>{let f=o-g-1,v=Number(g>0);return r.map((_,w)=>w<f?_:w>f?Ko(0,9):Ko(_+v,9)).join("")}),...u?[`${u}${Pr.repeat(o-1)}`]:[],...a.map((p,g)=>{let f=o-g-1,v=Number(g>0);return l.map((_,w)=>w<f?_:w>f?Ko(0,9):Ko(0,_-v)).join("")})]}function QO(i,t){return ZO(i,t,ih(i,t))}function Ig(i,t=1/0){if(sa(i))return Xd;let n=t===1/0?KO(i):QO(i,t);return Zd(n)}function Bg(i){let t=Array.isArray(i)?i:i.toString().split(".");if(sa(t[0]))return[t[0],0,0];for(;t.length<3;)t.push("0");return t.map(n=>{let r=typeof n=="number"?n:parseInt(n,10);return isNaN(r)?0:r})}function Ng(i,t,n){let[r,o,l]=i,[s,a,u]=t,{ignoreMinor:h,ignorePatch:p,allowHigherVersions:g}=n;if(sa(s))return!0;let f=!h,v=f&&!p;return g?v&&l<u||f&&o<a?!1:r>=s:v&&l!==u||f&&o!==a?!1:r===s}function eC(i,t){let{ignoreMinor:n,ignorePatch:r,allowZeroSubversions:o}=t,l=n?1:r?2:3;if(o)for(let s=l-1;s>0&&!(i[s]!==0||l===1);s--)l--;return l}function tC(i,t){let{ignoreMinor:n,ignorePatch:r,allowHigherVersions:o}=t,l=sa(i[0])?0:n?1:r?2:1/0;return o?VO(i.map((u,h)=>{let p=2-h,g=Number(h>0),f=0;return i.map((v,_)=>_>=l?Ir:(f=Array.isArray(v)?v[0]:v,_<p?f.toString():_>p?Ir:Ig(f+g)))})):[i.map((a,u)=>u>=l?Ir:Array.isArray(a)?Ig(a[0],a[1]):a.toString())]}function Dg(i){return i.filter((t,n)=>!i.includes(t,n+1))}function nC(i,t,n,r){let o=ln(st({},r),{allowHigherVersions:!0});return(!i||n.some(l=>Ng(l,i,o)))&&(!t||n.some(l=>Ng(t,l,o)))}function iC(i,t){return Boolean(i||UO(t))}function lo(i,t,n){let r=t instanceof RegExp,o=null;switch(!0){case r:{let l=t.toString();o=s=>new RegExp(`(^|[^\\w])${s.replace(/ /g,"\\s*")}([^\\w]|$)`).test(l);break}case i:o=l=>l===t;break;default:o=l=>t.includes(l)}return n.some(o)}function rC(i){let t=Jo(i);switch(!0){case t.includes("Fennec"):return[null,[31,0,0]];case t.includes("Minefield"):return[[3,0,0],[4,0,0]];case t.includes("Namoroka"):return[[3,6,0],[3,6,0]];case t.includes("Shiretoko"):return[[3,0,0],[3,5,0]];case t.includes("CrMo"):return[[16,0,0],[16,0,0]];case t.includes("Opera)\\/9.8"):return[null,[12,15,0]];default:return[null,null]}}var oC=[...cC(FO.default.os),...lC(FO.default.browser)];function sC(i,t){let n=[];return oC.forEach(({family:r,regExp:o,fixedVersion:l,minVersion:s,maxVersion:a})=>{let u=i.get(r);u&&nC(s,a,u,t)&&iC(l,o)&&n.push({family:r,regExp:o,requestVersions:u,resultFixedVersion:l,resultMinVersion:s,resultMaxVersion:a})}),n}function aC(i,t){let n=i||t,r=Jo(t);switch(!0){case/[^\w]?([A-Z]\w+iOS)[^\w]?/.test(r):case/iPhone.*Outlook-iOS-Android|UCWEB.*iPad\|iPh/.test(r):case r.includes("(iPhone|iPad|iPod).*Mac OS X.*Version"):case/YaBrowser|MRCHROME|Chrome.*\(OPR\)/.test(r):case/\(Chrome\).* Mobile|Mobile \.\*\(Chrome\)|; wv\\\)\.\+\(Chrome\)/.test(r):case r.includes("(?:Mobile|Tablet);.*(Firefox)"):case r.includes("(?:Mobile Safari).*(OPR)"):case/Opera.*\) \(\\d/.test(r):case/bingbot|^\\b\(/.test(r):return[];case lo(!1,n,["Chrome Mobile","Chromium"]):return[{family:"chrome"}];case lo(!0,n,["Samsung Internet"]):return[{family:"samsung"}];case lo(!0,n,["Firefox Mobile","Firefox ($1)"]):return[{family:"firefox"}];case lo(!0,n,["IE"]):return[{family:"explorer"}];case lo(!0,n,["IE Mobile"]):return[{family:"explorermobile"}];case lo(!0,n,["BlackBerry WebKit"]):return[{family:"blackberry"}];case lo(!0,n,["Opera Mobile"]):return[{family:"operamobile"}];case n===t:{let o=/\(([\s\w\d_\-/!|]+)\)/i.exec(r);if(Array.isArray(o)){let l=o[1],s=l.split("|"),a=new Map;return Dg(s.map(h=>{let p=h.replace(/[^\d\w]/g,"").toLowerCase();return a.has(p)?a.get(p).push(h):a.set(p,[h]),p})).map(h=>({family:h,regExp:new RegExp(r.replace(l,a.get(h).join("|")))}))}return[]}case typeof i=="string":return[{family:i.toLowerCase()}];default:return[]}}function Hg(i){let{[Be.BrowserRegExpSourceProp.RegExp]:t,[Be.BrowserRegExpSourceProp.Family]:n,[Be.BrowserRegExpSourceProp.Major]:r,[Be.BrowserRegExpSourceProp.Minor]:o,[Be.BrowserRegExpSourceProp.Patch]:l}=i,s=aC(n,t),a=r===0?null:Bg([r,o,l]),u=a,h=a;return s.map(f=>{var v=f,{regExp:p=t}=v,g=zr(v,["regExp"]);return a||([u,h]=rC(p)),st({regExp:p,fixedVersion:a,minVersion:u,maxVersion:h},g)})}function lC(i){let t=i.length,n=[];for(let r=0;r<t;r++)n.push(...Hg(i[r]));return n}function cC(i){let t=i.length,n=[];for(let r=0;r<t;r++)i[r][Be.BrowserRegExpSourceProp.Family]==="iOS"&&n.push(...Hg(i[r]));return n}function uC(i){return[].concat(...i.map(t=>{let[n,...r]=t.split(/ |-/),o=(th[n]||n).toLowerCase();return r.map(l=>({family:o,version:Bg(l)}))}))}function dC(i={}){let{browsers:t,env:n,path:r}=i,o=Array.isArray(t)?t.map(zO):t,l=JD.default(o,{env:n,path:r});return uC(l)}function hC(i){let t=new Map;return i.forEach(({family:n,version:r})=>{let o=t.get(n);if(o){let l=r.join(".");o.every(s=>s.join(".")!==l)&&o.push(r);return}t.set(n,[r])}),t.forEach(n=>{n.sort((r,o)=>{for(let l in r)if(r[l]!==o[l])return r[l]-o[l];return 0})}),t}function fC(i){if(i.length<2)return i;let t=i.length+1,n=[],r=null,o=i[0],l=[o[Be.SemverPart.Major]],s=[o[Be.SemverPart.Minor]],a=[o[Be.SemverPart.Patch]],u=null;for(let h=1;h<t;h++){r=i[h-1],o=i[h]||[];for(let p=Be.SemverPart.Major;p<=Be.SemverPart.Patch;p++){if((p===u||u===null)&&r[p]+1===o[p]&&Lg(r,o,p+1)){u=p,p===Be.SemverPart.Major?l.push(o[Be.SemverPart.Major]):l=o[Be.SemverPart.Major],p===Be.SemverPart.Minor?s.push(o[Be.SemverPart.Minor]):s=o[Be.SemverPart.Minor],p===Be.SemverPart.Patch?a.push(o[Be.SemverPart.Patch]):a=o[Be.SemverPart.Patch];break}if(u===p||r[p]!==o[p]){n.push([nh(l),nh(s),nh(a)]),l=[o[Be.SemverPart.Major]],s=[o[Be.SemverPart.Minor]],a=[o[Be.SemverPart.Patch]],u=null;break}}}return n}function pC(i){let t=new Map;return i.forEach((n,r)=>{t.set(r,fC(n))}),t}var gC=/^\([\s\w\d_\-/!]+\)$/,mC=/[/.$*+?[{}|()]/;function vC(i){let t=i.length,n=!1,r=!1,o="",l="",s="",a="",u="",h="";for(let p=0;p<t;p++)o=i[p],l=i[p-1],s=i[p+1],r=eh(r,l,o),!r&&l!==ar&&o==="("&&(n&&(h+=u),n=!0,u=""),r&&o===ar&&mC.test(s)&&(p++,o=s),n?u+=o:h+=o,!r&&l!==ar&&o===")"&&n&&(n=!1,a=kg(i,p+1),u+=a,(u===Ir||gC.test(u))&&(u=u.substr(1,u.length-2)),h+=u,p+=a.length);return h}function yC(i,t){let n=typeof i=="string"?i:Jo(i),r=n.length,o=typeof t=="number"?t:Rg(n),l=0,s=!1,a=0,u="",h="",p="",g="";for(let f=0;f<r;f++)if(u=n[f],h=n[f-1],s=eh(s,h,u),!s&&h!==ar&&u==="("&&(l++,p=""),(l>0||a>0)&&(g+=u,p+=u),!s&&h!==ar&&u===")"&&l>0&&(l--,p===Ir&&a++,l===0&&a===0&&(g=""),l===0&&a>=o)){g+=kg(n,++f);break}return g}function bC(i,t,n){let r=1,o=typeof i=="string"?i:Jo(i),l=Rg(o),s=t.map(p=>{let g=eC(p,n);return r=Math.max(r,g),l>=g?p:null}).filter(Boolean);if(!s.length)return null;let a=yC(o,r),u=Zd(Dg([].concat(...s.map(p=>tC(p,n).map(g=>WO(a,g,r))))));return o.replace(a,u)}function wC(i,t,n){let r=[];return i.forEach(h=>{var p=h,{family:o,regExp:l,resultFixedVersion:s,requestVersions:a}=p,u=zr(p,["family","regExp","resultFixedVersion","requestVersions"]);let g=Jo(l),f=null,v="";s?(f=l,v=g):(v=bC(g,t.get(o),n),f=new RegExp(v)),v&&f&&r.push(st({family:o,sourceRegExp:l,sourceRegExpString:g,regExp:f,regExpString:v,resultFixedVersion:s,requestVersions:a,requestVersionsStrings:a.map(_=>sa(_)?String(_[0]):_.join("."))},u))}),r}function _C(i){return i.map(r=>{var o=r,{regExpString:t}=o,n=zr(o,["regExpString"]);let l=vC(t),s=new RegExp(l);return ln(st({},n),{regExp:s,regExpString:l})})}var KD=[{test(i){let t=i.get("chrome"),n=i.get("edge");if(!(t&&n))return!1;let o=t[0][0],l=n[0][0];return o<74&&l<=18},patch(i){let{family:t,regExpString:n,resultMinVersion:r}=i;if(t!=="chrome"||r&&r[0]>=74||n.includes("HeadlessChrome"))return i;let o=`${n}([\\d.]+$|.*Safari\\/(?![\\d.]+ Edge\\/[\\d.]+$))`,l=new RegExp(o);return ln(st({},i),{regExp:l,regExpString:o})}},{test(i){return i.has("safari")},patch(i){let{family:t,regExpString:n}=i;if(t!=="safari")return i;let r=n.replace(/\.\*(Safari\\\/)/," $1"),o=new RegExp(r);return ln(st({},i),{regExp:o,regExpString:r})}}];function EC(i,t){let n=new Map;return i.map(r=>KD.reduce((o,l)=>(n.has(l)||n.set(l,l.test(t)),n.get(l)?l.patch(o):o),r))}var SC={ignoreMinor:!1,ignorePatch:!0,allowZeroSubversions:!1,allowHigherVersions:!1};function OC(i={}){let v=i,{browsers:t,env:n,path:r}=v,o=zr(v,["browsers","env","path"]),l=st(st({},SC),o),s=dC({browsers:t,env:n,path:r}),a=hC(s),u=pC(a),h=sC(a,l),p=wC(h,u,l),g=EC(p,a);return _C(g)}function YD(i={}){let t=OC(i),n=$O(t);return new RegExp(n)}Be.BRACED_NUMBER_PATTERN=Ir;Be.BROWSERS_REGEXPS=oC;Be.BROWSERS_SHIRTNAMES=th;Be.BROWSERS_SHIRTNAMES_REGEXP=qO;Be.CHARCLASS_UNESCAPES=mC;Be.DIGIT_PATTERN=Pr;Be.ESCAPE_SYMBOL=ar;Be.NUMBER_PATTERN=Xd;Be.OPTIMIZABLE_GROUP=gC;Be.applyVersionsToRegExp=bC;Be.applyVersionsToRegExps=wC;Be.browserVersionsToRanges=pC;Be.capturePostfix=kg;Be.compareArrays=Lg;Be.compareSemvers=Ng;Be.defaultOptions=SC;Be.enumOrRange=ZO;Be.extractIOSRegExp=cC;Be.familyMatched=lo;Be.fixBrowserFamily=aC;Be.fixBrowserRegExp=Hg;Be.fixBrowsersRegExps=lC;Be.getBrowsersList=dC;Be.getMinMaxVersions=rC;Be.getNumberPatternsCount=Rg;Be.getNumberPatternsPart=yC;Be.getRegExpsForBrowsers=sC;Be.getRequiredSemverPartsCount=eC;Be.getUserAgentRegExp=YD;Be.getUserAgentRegExps=OC;Be.hasNumberPattern=UO;Be.hasVersion=iC;Be.isAllVersion=sa;Be.joinParts=Zd;Be.joinVersionedBrowsersRegExps=$O;Be.mergeBrowserVersions=hC;Be.normalizeBrowserFamily=zO;Be.numberToDigits=Qd;Be.numbersToRanges=nh;Be.optimize=vC;Be.optimizeAll=_C;Be.optimizeRaysNumberPatterns=JO;Be.parseBrowsersList=uC;Be.patchRegExps=EC;Be.rangeToRegExp=Ig;Be.rangedSemverToRegExp=tC;Be.rayRangeDigitPattern=Pg;Be.rayToNumberPatterns=KO;Be.regExpToString=Jo;Be.replaceNumberPatterns=WO;Be.segmentRangeNumberPattern=Ko;Be.segmentToNumberPatterns=ih;Be.segmentToNumberPatternsOrEnum=QO;Be.semverify=Bg;Be.skipSquareBraces=eh;Be.someSemverMatched=nC;Be.splitCommonDiff=XO;Be.splitToDecadeRanges=YO;Be.uniq=Dg;Be.uniqItems=VO;Be.versionsListToRanges=fC});var xC=ie((wl,jg)=>{x();(function(i,t){typeof wl=="object"&&typeof jg=="object"?jg.exports=t():typeof define=="function"&&define.amd?define([],t):typeof wl=="object"?wl.devtoolsDetector=t():i.devtoolsDetector=t()})(typeof self!="undefined"?self:wl,function(){return function(i){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return i[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=i,n.c=t,n.d=function(r,o,l){n.o(r,o)||Object.defineProperty(r,o,{configurable:!1,enumerable:!0,get:l})},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=4)}([function(i,t,n){"use strict";(function(r){t.b=function(s){s===void 0&&(s={});for(var a=s.includes,u=a===void 0?[]:a,h=s.excludes,p=h===void 0?[]:h,g=!1,f=!1,v=0,_=u;v<_.length;v++){var w=_[v];if(w===!0){g=!0;break}}for(var b=0,E=p;b<E.length;b++){var w=E[b];if(w===!0){f=!0;break}}return g&&!f},t.c=function(s,a,u){var h=l.a[s];return h===void 0?!1:Object(o.compare)(h,a,u)},t.a=function(){return typeof self!="undefined"?self:typeof window!="undefined"?window:r!==void 0?r:this};var o=n(11),l=(n.n(o),n(5))}).call(t,n(10))},function(i,t,n){"use strict";n.d(t,"c",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"b",function(){return g}),n.d(t,"f",function(){return f}),n.d(t,"a",function(){return v}),n.d(t,"e",function(){return _});var r,o,l,s=n(3),a=n(0),u=Object(a.a)(),h="InstallTrigger"in((u==null?void 0:u.window)||{})||/firefox/i.test(s.b),p=/trident/i.test(s.b)||/msie/i.test(s.b),g=/edge/i.test(s.b),f=/webkit/i.test(s.b)&&!g,v=((r=u==null?void 0:u.window)===null||r===void 0?void 0:r.chrome)!==void 0||/chrome/i.test(s.b)||/CriOS/i.test(s.b),_=(((l=(o=u==null?void 0:u.window)===null||o===void 0?void 0:o.safari)===null||l===void 0?void 0:l.pushNotification)||!1).toString()==="[object SafariRemoteNotification]"||/safari/i.test(s.b)&&!v},function(i,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return a});var r=n(1);function o(u){if(console){if(!r.d&&!r.b)return console[u];if(u==="log"||u==="clear")return function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p];console[u].apply(console,h)}}return function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p]}}var l=o("log"),s=o("table"),a=o("clear")},function(i,t,n){"use strict";t.a=function(){for(var a,u=[],h=0;h<arguments.length;h++)u[h]=arguments[h];return(l==null?void 0:l.document)?(a=l.document).createElement.apply(a,u):{}},n.d(t,"b",function(){return s});var r,o=n(0),l=Object(o.a)(),s=((r=l==null?void 0:l.navigator)===null||r===void 0?void 0:r.userAgent)||"xxxxx"},function(i,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addListener=function(f){g.addListener(f)},t.removeListener=function(f){g.removeListener(f)},t.isLaunch=function(){return g.isLaunch()},t.launch=function(){g.launch()},t.stop=function(){g.stop()},t.setDetectDelay=function(f){g.setDetectDelay(f)};var r=n(7),o=n(8);n.d(t,"DevtoolsDetector",function(){return r.a}),n.d(t,"checkers",function(){return o});var l=n(0);n.d(t,"match",function(){return l.b}),n.d(t,"specificVersionMatch",function(){return l.c});var s=n(1);n.d(t,"isFirefox",function(){return s.c}),n.d(t,"isIE",function(){return s.d}),n.d(t,"isEdge",function(){return s.b}),n.d(t,"isWebkit",function(){return s.f}),n.d(t,"isChrome",function(){return s.a}),n.d(t,"isSafari",function(){return s.e});var a=n(2);n.d(t,"log",function(){return a.b}),n.d(t,"table",function(){return a.c}),n.d(t,"clear",function(){return a.a});var u=n(17);n.d(t,"isMobile",function(){return u.a});var h=n(5);n.d(t,"versionMap",function(){return h.a});var p=n(6);n.d(t,"isIpad",function(){return p.b}),n.d(t,"isMac",function(){return p.d}),n.d(t,"isIphone",function(){return p.c}),n.d(t,"isAndroid",function(){return p.a}),n.d(t,"isWindows",function(){return p.e});var g=new r.a({checkers:[o.elementIdChecker,o.regToStringChecker,o.functionToStringChecker,o.depRegToStringChecker,o.dateToStringChecker,o.debuggerChecker]});t.default=g},function(i,t,n){"use strict";n.d(t,"a",function(){return r});for(var r={},o=0,l=(n(3).b||"").match(/\w+\/(\d|\.)+(\s|$)/gi)||[];o<l.length;o++){var s=l[o].split("/"),a=s[0],u=s[1];r[a]=u}},function(i,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"d",function(){return l}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return a}),n.d(t,"e",function(){return u});var r=n(3),o=/ipad/i.test(r.b),l=/macintosh/i.test(r.b),s=/iphone/i.test(r.b),a=/android/i.test(r.b),u=/windows/i.test(r.b)},function(i,t,n){"use strict";n.d(t,"a",function(){return l});var r=this&&this.__awaiter||function(s,a,u,h){return new(u||(u=Promise))(function(p,g){function f(w){try{_(h.next(w))}catch(b){g(b)}}function v(w){try{_(h.throw(w))}catch(b){g(b)}}function _(w){w.done?p(w.value):function(b){return b instanceof u?b:new u(function(E){E(b)})}(w.value).then(f,v)}_((h=h.apply(s,a||[])).next())})},o=this&&this.__generator||function(s,a){var u,h,p,g,f={label:0,sent:function(){if(1&p[0])throw p[1];return p[1]},trys:[],ops:[]};return g={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function v(_){return function(w){return function(b){if(u)throw new TypeError("Generator is already executing.");for(;f;)try{if(u=1,h&&(p=2&b[0]?h.return:b[0]?h.throw||((p=h.return)&&p.call(h),0):h.next)&&!(p=p.call(h,b[1])).done)return p;switch(h=0,p&&(b=[2&b[0],p.value]),b[0]){case 0:case 1:p=b;break;case 4:return f.label++,{value:b[1],done:!1};case 5:f.label++,h=b[1],b=[0];continue;case 7:b=f.ops.pop(),f.trys.pop();continue;default:if(!(p=(p=f.trys).length>0&&p[p.length-1])&&(b[0]===6||b[0]===2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]<p[3])){f.label=b[1];break}if(b[0]===6&&f.label<p[1]){f.label=p[1],p=b;break}if(p&&f.label<p[2]){f.label=p[2],f.ops.push(b);break}p[2]&&f.ops.pop(),f.trys.pop();continue}b=a.call(s,f)}catch(E){b=[6,E],h=0}finally{u=p=0}if(5&b[0])throw b[1];return{value:b[0]?b[1]:void 0,done:!0}}([_,w])}}},l=function(){function s(a){var u=a.checkers;this._listeners=[],this._isOpen=!1,this._detectLoopStopped=!0,this._detectLoopDelay=500,this._checkers=u.slice()}return s.prototype.launch=function(){this._detectLoopDelay<=0&&this.setDetectDelay(500),this._detectLoopStopped&&(this._detectLoopStopped=!1,this._detectLoop())},s.prototype.stop=function(){this._detectLoopStopped||(this._detectLoopStopped=!0,clearTimeout(this._timer))},s.prototype.isLaunch=function(){return!this._detectLoopStopped},s.prototype.setDetectDelay=function(a){this._detectLoopDelay=a},s.prototype.addListener=function(a){this._listeners.push(a)},s.prototype.removeListener=function(a){this._listeners=this._listeners.filter(function(u){return u!==a})},s.prototype._broadcast=function(a){for(var u=0,h=this._listeners;u<h.length;u++){var p=h[u];try{p(a.isOpen,a)}catch(g){}}},s.prototype._detectLoop=function(){return r(this,void 0,void 0,function(){var a,u,h,p,g,f=this;return o(this,function(v){switch(v.label){case 0:a=!1,u="",h=0,p=this._checkers,v.label=1;case 1:return h<p.length?[4,(g=p[h]).isEnable()]:[3,6];case 2:return v.sent()?(u=g.name,[4,g.isOpen()]):[3,4];case 3:a=v.sent(),v.label=4;case 4:if(a)return[3,6];v.label=5;case 5:return h++,[3,1];case 6:return a!=this._isOpen&&(this._isOpen=a,this._broadcast({isOpen:a,checkerName:u})),this._detectLoopDelay>0?this._timer=setTimeout(function(){return f._detectLoop()},this._detectLoopDelay):this.stop(),[2]}})})},s}()},function(i,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9);n.d(t,"depRegToStringChecker",function(){return r.a});var o=n(12);n.d(t,"elementIdChecker",function(){return o.a});var l=n(13);n.d(t,"functionToStringChecker",function(){return l.a});var s=n(14);n.d(t,"regToStringChecker",function(){return s.a});var a=n(15);n.d(t,"debuggerChecker",function(){return a.a});var u=n(16);n.d(t,"dateToStringChecker",function(){return u.a})},function(i,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(1),o=n(2),l=n(0),s=this&&this.__awaiter||function(g,f,v,_){return new(v||(v=Promise))(function(w,b){function E(R){try{C(_.next(R))}catch(A){b(A)}}function S(R){try{C(_.throw(R))}catch(A){b(A)}}function C(R){R.done?w(R.value):function(A){return A instanceof v?A:new v(function(I){I(A)})}(R.value).then(E,S)}C((_=_.apply(g,f||[])).next())})},a=this&&this.__generator||function(g,f){var v,_,w,b,E={label:0,sent:function(){if(1&w[0])throw w[1];return w[1]},trys:[],ops:[]};return b={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function S(C){return function(R){return function(A){if(v)throw new TypeError("Generator is already executing.");for(;E;)try{if(v=1,_&&(w=2&A[0]?_.return:A[0]?_.throw||((w=_.return)&&w.call(_),0):_.next)&&!(w=w.call(_,A[1])).done)return w;switch(_=0,w&&(A=[2&A[0],w.value]),A[0]){case 0:case 1:w=A;break;case 4:return E.label++,{value:A[1],done:!1};case 5:E.label++,_=A[1],A=[0];continue;case 7:A=E.ops.pop(),E.trys.pop();continue;default:if(!(w=(w=E.trys).length>0&&w[w.length-1])&&(A[0]===6||A[0]===2)){E=0;continue}if(A[0]===3&&(!w||A[1]>w[0]&&A[1]<w[3])){E.label=A[1];break}if(A[0]===6&&E.label<w[1]){E.label=w[1],w=A;break}if(w&&E.label<w[2]){E.label=w[2],E.ops.push(A);break}w[2]&&E.ops.pop(),E.trys.pop();continue}A=f.call(g,E)}catch(I){A=[6,I],_=0}finally{v=w=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([C,R])}}},u=/ /,h=!1;u.toString=function(){return h=!0,p.name};var p={name:"dep-reg-to-string",isOpen:function(){return s(this,void 0,void 0,function(){return a(this,function(g){return h=!1,Object(o.c)({dep:u}),Object(o.a)(),[2,h]})})},isEnable:function(){return s(this,void 0,void 0,function(){return a(this,function(g){return[2,Object(l.b)({includes:[!0],excludes:[r.c,r.d]})]})})}}},function(i,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){typeof window=="object"&&(n=window)}i.exports=n},function(i,t,n){var r,o,l;(function(s,a){o=[],(l=typeof(r=a)=="function"?r.apply(t,o):r)===void 0||(i.exports=l)})(0,function(){var s=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function a(v){var _=v.replace(/^v/,"").replace(/\+.*$/,""),w=function(E,S){return E.indexOf(S)===-1?E.length:E.indexOf(S)}(_,"-"),b=_.substring(0,w).split(".");return b.push(_.substring(w+1)),b}function u(v){return isNaN(Number(v))?v:Number(v)}function h(v){if(typeof v!="string")throw new TypeError("Invalid argument expected string");if(!s.test(v))throw new Error("Invalid argument not valid semver ('"+v+"' received)")}function p(v,_){[v,_].forEach(h);for(var w=a(v),b=a(_),E=0;E<Math.max(w.length-1,b.length-1);E++){var S=parseInt(w[E]||0,10),C=parseInt(b[E]||0,10);if(S>C)return 1;if(C>S)return-1}var R=w[w.length-1],A=b[b.length-1];if(R&&A){var I=R.split(".").map(u),G=A.split(".").map(u);for(E=0;E<Math.max(I.length,G.length);E++){if(I[E]===void 0||typeof G[E]=="string"&&typeof I[E]=="number")return-1;if(G[E]===void 0||typeof I[E]=="string"&&typeof G[E]=="number"||I[E]>G[E])return 1;if(G[E]>I[E])return-1}}else if(R||A)return R?-1:1;return 0}var g=[">",">=","=","<","<="],f={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return p.validate=function(v){return typeof v=="string"&&s.test(v)},p.compare=function(v,_,w){(function(E){if(typeof E!="string")throw new TypeError("Invalid operator type, expected string but got "+typeof E);if(g.indexOf(E)===-1)throw new TypeError("Invalid operator, expected one of "+g.join("|"))})(w);var b=p(v,_);return f[w].indexOf(b)>-1},p})},function(i,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(1),o=n(2),l=n(0),s=n(3),a=this&&this.__awaiter||function(f,v,_,w){return new(_||(_=Promise))(function(b,E){function S(A){try{R(w.next(A))}catch(I){E(I)}}function C(A){try{R(w.throw(A))}catch(I){E(I)}}function R(A){A.done?b(A.value):function(I){return I instanceof _?I:new _(function(G){G(I)})}(A.value).then(S,C)}R((w=w.apply(f,v||[])).next())})},u=this&&this.__generator||function(f,v){var _,w,b,E,S={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return E={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function C(R){return function(A){return function(I){if(_)throw new TypeError("Generator is already executing.");for(;S;)try{if(_=1,w&&(b=2&I[0]?w.return:I[0]?w.throw||((b=w.return)&&b.call(w),0):w.next)&&!(b=b.call(w,I[1])).done)return b;switch(w=0,b&&(I=[2&I[0],b.value]),I[0]){case 0:case 1:b=I;break;case 4:return S.label++,{value:I[1],done:!1};case 5:S.label++,w=I[1],I=[0];continue;case 7:I=S.ops.pop(),S.trys.pop();continue;default:if(!(b=(b=S.trys).length>0&&b[b.length-1])&&(I[0]===6||I[0]===2)){S=0;continue}if(I[0]===3&&(!b||I[1]>b[0]&&I[1]<b[3])){S.label=I[1];break}if(I[0]===6&&S.label<b[1]){S.label=b[1],b=I;break}if(b&&S.label<b[2]){S.label=b[2],S.ops.push(I);break}b[2]&&S.ops.pop(),S.trys.pop();continue}I=v.call(f,S)}catch(G){I=[6,G],w=0}finally{_=b=0}if(5&I[0])throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}([R,A])}}},h=Object(s.a)("div"),p=!1;Object.defineProperty(h,"id",{get:function(){return p=!0,g.name},configurable:!0});var g={name:"element-id",isOpen:function(){return a(this,void 0,void 0,function(){return u(this,function(f){return p=!1,Object(o.b)(h),Object(o.a)(),[2,p]})})},isEnable:function(){return a(this,void 0,void 0,function(){return u(this,function(f){return[2,Object(l.b)({includes:[!0],excludes:[r.d,r.b,r.c]})]})})}}},function(i,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(1),o=n(2),l=n(6),s=n(0),a=this&&this.__awaiter||function(f,v,_,w){return new(_||(_=Promise))(function(b,E){function S(A){try{R(w.next(A))}catch(I){E(I)}}function C(A){try{R(w.throw(A))}catch(I){E(I)}}function R(A){A.done?b(A.value):function(I){return I instanceof _?I:new _(function(G){G(I)})}(A.value).then(S,C)}R((w=w.apply(f,v||[])).next())})},u=this&&this.__generator||function(f,v){var _,w,b,E,S={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return E={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function C(R){return function(A){return function(I){if(_)throw new TypeError("Generator is already executing.");for(;S;)try{if(_=1,w&&(b=2&I[0]?w.return:I[0]?w.throw||((b=w.return)&&b.call(w),0):w.next)&&!(b=b.call(w,I[1])).done)return b;switch(w=0,b&&(I=[2&I[0],b.value]),I[0]){case 0:case 1:b=I;break;case 4:return S.label++,{value:I[1],done:!1};case 5:S.label++,w=I[1],I=[0];continue;case 7:I=S.ops.pop(),S.trys.pop();continue;default:if(!(b=(b=S.trys).length>0&&b[b.length-1])&&(I[0]===6||I[0]===2)){S=0;continue}if(I[0]===3&&(!b||I[1]>b[0]&&I[1]<b[3])){S.label=I[1];break}if(I[0]===6&&S.label<b[1]){S.label=b[1],b=I;break}if(b&&S.label<b[2]){S.label=b[2],S.ops.push(I);break}b[2]&&S.ops.pop(),S.trys.pop();continue}I=v.call(f,S)}catch(G){I=[6,G],w=0}finally{_=b=0}if(5&I[0])throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}([R,A])}}};function h(){}var p=0;h.toString=function(){return p++,""};var g={name:"function-to-string",isOpen:function(){return a(this,void 0,void 0,function(){return u(this,function(f){return p=0,Object(o.b)(h),Object(o.a)(),[2,p===2]})})},isEnable:function(){return a(this,void 0,void 0,function(){return u(this,function(f){return[2,Object(s.b)({includes:[!0],excludes:[r.c,(l.b||l.c)&&r.a]})]})})}}},function(i,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(2),o=n(1),l=n(0),s=this&&this.__awaiter||function(g,f,v,_){return new(v||(v=Promise))(function(w,b){function E(R){try{C(_.next(R))}catch(A){b(A)}}function S(R){try{C(_.throw(R))}catch(A){b(A)}}function C(R){R.done?w(R.value):function(A){return A instanceof v?A:new v(function(I){I(A)})}(R.value).then(E,S)}C((_=_.apply(g,f||[])).next())})},a=this&&this.__generator||function(g,f){var v,_,w,b,E={label:0,sent:function(){if(1&w[0])throw w[1];return w[1]},trys:[],ops:[]};return b={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function S(C){return function(R){return function(A){if(v)throw new TypeError("Generator is already executing.");for(;E;)try{if(v=1,_&&(w=2&A[0]?_.return:A[0]?_.throw||((w=_.return)&&w.call(_),0):_.next)&&!(w=w.call(_,A[1])).done)return w;switch(_=0,w&&(A=[2&A[0],w.value]),A[0]){case 0:case 1:w=A;break;case 4:return E.label++,{value:A[1],done:!1};case 5:E.label++,_=A[1],A=[0];continue;case 7:A=E.ops.pop(),E.trys.pop();continue;default:if(!(w=(w=E.trys).length>0&&w[w.length-1])&&(A[0]===6||A[0]===2)){E=0;continue}if(A[0]===3&&(!w||A[1]>w[0]&&A[1]<w[3])){E.label=A[1];break}if(A[0]===6&&E.label<w[1]){E.label=w[1],w=A;break}if(w&&E.label<w[2]){E.label=w[2],E.ops.push(A);break}w[2]&&E.ops.pop(),E.trys.pop();continue}A=f.call(g,E)}catch(I){A=[6,I],_=0}finally{v=w=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([C,R])}}},u=/ /,h=!1;u.toString=function(){return h=!0,p.name};var p={name:"reg-to-string",isOpen:function(){return s(this,void 0,void 0,function(){return a(this,function(g){return h=!1,Object(r.b)(u),Object(r.a)(),[2,h]})})},isEnable:function(){return s(this,void 0,void 0,function(){return a(this,function(g){return[2,Object(l.b)({includes:[!0],excludes:[o.f]})]})})}}},function(i,t,n){"use strict";n.d(t,"a",function(){return s});var r=this&&this.__awaiter||function(a,u,h,p){return new(h||(h=Promise))(function(g,f){function v(b){try{w(p.next(b))}catch(E){f(E)}}function _(b){try{w(p.throw(b))}catch(E){f(E)}}function w(b){b.done?g(b.value):function(E){return E instanceof h?E:new h(function(S){S(E)})}(b.value).then(v,_)}w((p=p.apply(a,u||[])).next())})},o=this&&this.__generator||function(a,u){var h,p,g,f,v={label:0,sent:function(){if(1&g[0])throw g[1];return g[1]},trys:[],ops:[]};return f={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function _(w){return function(b){return function(E){if(h)throw new TypeError("Generator is already executing.");for(;v;)try{if(h=1,p&&(g=2&E[0]?p.return:E[0]?p.throw||((g=p.return)&&g.call(p),0):p.next)&&!(g=g.call(p,E[1])).done)return g;switch(p=0,g&&(E=[2&E[0],g.value]),E[0]){case 0:case 1:g=E;break;case 4:return v.label++,{value:E[1],done:!1};case 5:v.label++,p=E[1],E=[0];continue;case 7:E=v.ops.pop(),v.trys.pop();continue;default:if(!(g=(g=v.trys).length>0&&g[g.length-1])&&(E[0]===6||E[0]===2)){v=0;continue}if(E[0]===3&&(!g||E[1]>g[0]&&E[1]<g[3])){v.label=E[1];break}if(E[0]===6&&v.label<g[1]){v.label=g[1],g=E;break}if(g&&v.label<g[2]){v.label=g[2],v.ops.push(E);break}g[2]&&v.ops.pop(),v.trys.pop();continue}E=u.call(a,v)}catch(S){E=[6,S],p=0}finally{h=g=0}if(5&E[0])throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}([w,b])}}};function l(){return performance?performance.now():Date.now()}var s={name:"debugger-checker",isOpen:function(){return r(this,void 0,void 0,function(){var a;return o(this,function(u){return a=l(),function(){}.constructor("debugger")(),[2,l()-a>100]})})},isEnable:function(){return r(this,void 0,void 0,function(){return o(this,function(a){return[2,!0]})})}}},function(i,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(1),o=n(2),l=n(0),s=n(4),a=this&&this.__awaiter||function(f,v,_,w){return new(_||(_=Promise))(function(b,E){function S(A){try{R(w.next(A))}catch(I){E(I)}}function C(A){try{R(w.throw(A))}catch(I){E(I)}}function R(A){A.done?b(A.value):function(I){return I instanceof _?I:new _(function(G){G(I)})}(A.value).then(S,C)}R((w=w.apply(f,v||[])).next())})},u=this&&this.__generator||function(f,v){var _,w,b,E,S={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return E={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function C(R){return function(A){return function(I){if(_)throw new TypeError("Generator is already executing.");for(;S;)try{if(_=1,w&&(b=2&I[0]?w.return:I[0]?w.throw||((b=w.return)&&b.call(w),0):w.next)&&!(b=b.call(w,I[1])).done)return b;switch(w=0,b&&(I=[2&I[0],b.value]),I[0]){case 0:case 1:b=I;break;case 4:return S.label++,{value:I[1],done:!1};case 5:S.label++,w=I[1],I=[0];continue;case 7:I=S.ops.pop(),S.trys.pop();continue;default:if(!(b=(b=S.trys).length>0&&b[b.length-1])&&(I[0]===6||I[0]===2)){S=0;continue}if(I[0]===3&&(!b||I[1]>b[0]&&I[1]<b[3])){S.label=I[1];break}if(I[0]===6&&S.label<b[1]){S.label=b[1],b=I;break}if(b&&S.label<b[2]){S.label=b[2],S.ops.push(I);break}b[2]&&S.ops.pop(),S.trys.pop();continue}I=v.call(f,S)}catch(G){I=[6,G],w=0}finally{_=b=0}if(5&I[0])throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}([R,A])}}},h=new Date,p=0;h.toString=function(){return p++,""};var g={name:"date-to-string",isOpen:function(){return a(this,void 0,void 0,function(){return u(this,function(f){return p=0,Object(o.b)(h),Object(o.a)(),[2,p===2]})})},isEnable:function(){return a(this,void 0,void 0,function(){return u(this,function(f){return[2,Object(l.b)({includes:[r.a],excludes:[(s.isIpad||s.isIphone)&&r.a]})]})})}}},function(i,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(3),o=/mobile/i.test(r.b)}])})});var kC=ie((El,$g)=>{x();(function(i,t){if(typeof El=="object"&&typeof $g=="object")$g.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else if(typeof El=="object")El.JsCrypto=t();else{var n=t();for(var r in i.JsCrypto=i.JsCrypto||{},n)i.JsCrypto[r]=n[r]}})(El,function(){return function(){"use strict";var i={9691:function(o,l,s){s.d(l,{AES:function(){return V}});var a,u=s(9456),h=s(787),p=s(5693),g=s(9109),f=(a=function(q,j){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,U){N.__proto__=U}||function(N,U){for(var X in U)Object.prototype.hasOwnProperty.call(U,X)&&(N[X]=U[X])})(q,j)},function(q,j){function N(){this.constructor=q}a(q,j),q.prototype=j===null?Object.create(j):(N.prototype=j.prototype,new N)}),v=function(){return(v=Object.assign||function(q){for(var j,N=1,U=arguments.length;N<U;N++)for(var X in j=arguments[N])Object.prototype.hasOwnProperty.call(j,X)&&(q[X]=j[X]);return q}).apply(this,arguments)},_=[],w=[],b=[],E=[],S=[],C=[],R=[],A=[],I=[],G=[];(function(){for(var q=[],j=0;j<256;j++)q[j]=j<128?j<<1:j<<1^283;var N=0,U=0;for(j=0;j<256;j++){var X=U^U<<1^U<<2^U<<3^U<<4;X=X>>>8^255&X^99,_[N]=X,w[X]=N;var Ee=q[N],ue=q[Ee],Se=q[ue],le=257*q[X]^16843008*X;b[N]=le<<24|le>>>8,E[N]=le<<16|le>>>16,S[N]=le<<8|le>>>24,C[N]=le,le=16843009*Se^65537*ue^257*Ee^16843008*N,R[X]=le<<24|le>>>8,A[X]=le<<16|le>>>16,I[X]=le<<8|le>>>24,G[X]=le,N?(N=Ee^q[q[q[Se^Ee]]],U^=q[q[U]]):N=U=1}})();var D=[0,1,2,4,8,16,32,64,128,27,54],V=function(q){function j(N){var U=q.call(this,N)||this;return U.u=0,U.h=[],U.v=[],U.O=N,U.A(),U}return f(j,q),j.prototype.A=function(){var N;if(!this.u||this.H!==this.k){for(var U=this.H=this.k,X=U.words,Ee=U.nSigBytes/4,ue=4*((this.u=Ee+6)+1),Se=this.h=[],le=0;le<ue;le++)le<Ee?Se[le]=X[le]:(N=Se[le-1],le%Ee?Ee>6&&le%Ee==4&&(N=_[N>>>24]<<24|_[N>>>16&255]<<16|_[N>>>8&255]<<8|_[255&N]):(N=_[(N=N<<8|N>>>24)>>>24]<<24|_[N>>>16&255]<<16|_[N>>>8&255]<<8|_[255&N],N^=D[le/Ee|0]<<24),Se[le]=Se[le-Ee]^N);this.v=[];for(var ge=0;ge<ue;ge++)le=ue-ge,N=ge%4?Se[le]:Se[le-4],this.v[ge]=ge<4||le<=4?N:R[_[N>>>24]]^A[_[N>>>16&255]]^I[_[N>>>8&255]]^G[_[255&N]]}},j.prototype.encryptBlock=function(N,U){this.B(N,U,this.h,b,E,S,C,_)},j.prototype.decryptBlock=function(N,U){var X=N[U+1];N[U+1]=N[U+3],N[U+3]=X,this.B(N,U,this.v,R,A,I,G,w),X=N[U+1],N[U+1]=N[U+3],N[U+3]=X},j.prototype.B=function(N,U,X,Ee,ue,Se,le,ge){for(var Te=this.u,ce=N[U]^X[0],xe=N[U+1]^X[1],ke=N[U+2]^X[2],Me=N[U+3]^X[3],ee=4,de=1;de<Te;de++){var fe=Ee[ce>>>24]^ue[xe>>>16&255]^Se[ke>>>8&255]^le[255&Me]^X[ee++],P=Ee[xe>>>24]^ue[ke>>>16&255]^Se[Me>>>8&255]^le[255&ce]^X[ee++],Z=Ee[ke>>>24]^ue[Me>>>16&255]^Se[ce>>>8&255]^le[255&xe]^X[ee++],T=Ee[Me>>>24]^ue[ce>>>16&255]^Se[xe>>>8&255]^le[255&ke]^X[ee++];ce=fe,xe=P,ke=Z,Me=T}var L=(ge[ce>>>24]<<24|ge[xe>>>16&255]<<16|ge[ke>>>8&255]<<8|ge[255&Me])^X[ee++],F=(ge[xe>>>24]<<24|ge[ke>>>16&255]<<16|ge[Me>>>8&255]<<8|ge[255&ce])^X[ee++],K=(ge[ke>>>24]<<24|ge[Me>>>16&255]<<16|ge[ce>>>8&255]<<8|ge[255&xe])^X[ee++],te=(ge[Me>>>24]<<24|ge[ce>>>16&255]<<16|ge[xe>>>8&255]<<8|ge[255&ke])^X[ee++];N[U]=L,N[U+1]=F,N[U+2]=K,N[U+3]=te},j.createEncryptor=function(N,U){return new j(v(v({},U=U===void 0?{}:U),{key:N,transformMode:u.t.ENC_TRANSFORM_MODE}))},j.createDecryptor=function(N,U){return new j(v(v({},U=U===void 0?{}:U),{key:N,transformMode:u.t.DEC_TRANSFORM_MODE}))},j.encrypt=function(N,U,X){return typeof U=="string"?p.E.encrypt(j,N,U,X):g.D.encrypt(j,N,U,X)},j.decrypt=function(N,U,X){return typeof U=="string"?p.E.decrypt(j,N,U,X):g.D.decrypt(j,N,U,X)},j.keySize=8,j}(h.G)},9910:function(o,l,s){s.d(l,{DES:function(){return C}});var a,u=s(787),h=s(9456),p=s(5693),g=s(9109),f=(a=function(R,A){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,G){I.__proto__=G}||function(I,G){for(var D in G)Object.prototype.hasOwnProperty.call(G,D)&&(I[D]=G[D])})(R,A)},function(R,A){function I(){this.constructor=R}a(R,A),R.prototype=A===null?Object.create(A):(I.prototype=A.prototype,new I)}),v=function(){return(v=Object.assign||function(R){for(var A,I=1,G=arguments.length;I<G;I++)for(var D in A=arguments[I])Object.prototype.hasOwnProperty.call(A,D)&&(R[D]=A[D]);return R}).apply(this,arguments)},_=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],w=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],b=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],E=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],S=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],C=function(R){function A(I){var G=R.call(this,I)||this;return G.U=2,G.N=[],G.I=[],G.F=0,G.R=0,G.O=I,G.A(),G}return f(A,R),A.prototype.A=function(){for(var I=this.k.words,G=[],D=0;D<56;D++){var V=_[D]-1;G[D]=I[V>>>5]>>>31-V%32&1}for(var q=this.N=[],j=0;j<16;j++){var N=q[j]=[],U=b[j];for(D=0;D<24;D++)N[D/6|0]|=G[(w[D]-1+U)%28]<<31-D%6,N[4+(D/6|0)]|=G[28+(w[D+24]-1+U)%28]<<31-D%6;for(N[0]=N[0]<<1|N[0]>>>31,D=1;D<7;D++)N[D]=N[D]>>>4*(D-1)+3;N[7]=N[7]<<5|N[7]>>>27}for(this.I=[],D=0;D<16;D++)this.I[D]=q[15-D]},A.prototype.encryptBlock=function(I,G){this.L(I,G,this.N)},A.prototype.decryptBlock=function(I,G){this.L(I,G,this.I)},A.prototype.L=function(I,G,D){this.F=I[G],this.R=I[G+1],this.K(4,252645135),this.K(16,65535),this.X(2,858993459),this.X(8,16711935),this.K(1,1431655765);for(var V=0;V<16;V++){for(var q=D[V],j=this.F,N=this.R,U=0,X=0;X<8;X++){var Ee=(N^q[X])&S[X];U|=E[X][Ee>>>0]}this.F=N,this.R=j^U}var ue=this.F;this.F=this.R,this.R=ue,this.K(1,1431655765),this.X(8,16711935),this.X(2,858993459),this.K(16,65535),this.K(4,252645135),I[G]=this.F,I[G+1]=this.R},A.prototype.K=function(I,G){var D=(this.F>>>I^this.R)&G;this.R^=D,this.F^=D<<I},A.prototype.X=function(I,G){var D=(this.R>>>I^this.F)&G;this.F^=D,this.R^=D<<I},A.createEncryptor=function(I,G){return new A(v(v({},G=G===void 0?{}:G),{key:I,transformMode:h.t.ENC_TRANSFORM_MODE}))},A.createDecryptor=function(I,G){return new A(v(v({},G=G===void 0?{}:G),{key:I,transformMode:h.t.DEC_TRANSFORM_MODE}))},A.encrypt=function(I,G,D){return typeof G=="string"?p.E.encrypt(A,I,G,D):g.D.encrypt(A,I,G,D)},A.decrypt=function(I,G,D){return typeof G=="string"?p.E.decrypt(A,I,G,D):g.D.decrypt(A,I,G,D)},A.keySize=2,A.ivSize=2,A}(u.G)},6739:function(o,l,s){s.d(l,{DES3:function(){return b}});var a,u=s(9109),h=s(787),p=s(9456),g=s(9910),f=s(3354),v=s(5693),_=(a=function(E,S){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,R){C.__proto__=R}||function(C,R){for(var A in R)Object.prototype.hasOwnProperty.call(R,A)&&(C[A]=R[A])})(E,S)},function(E,S){function C(){this.constructor=E}a(E,S),E.prototype=S===null?Object.create(S):(C.prototype=S.prototype,new C)}),w=function(){return(w=Object.assign||function(E){for(var S,C=1,R=arguments.length;C<R;C++)for(var A in S=arguments[C])Object.prototype.hasOwnProperty.call(S,A)&&(E[A]=S[A]);return E}).apply(this,arguments)},b=function(E){function S(C){var R=E.call(this,C)||this;R.U=2,R.O=C;var A=R.Z();return R.J=A[0],R.V=A[1],R.Y=A[2],R}return _(S,E),S.prototype.Z=function(){var C=this.k.words;if(C.length!==2&&C.length!==4&&C.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var R=C.slice(0,2),A=C.length<4?C.slice(0,2):C.slice(2,4),I=C.length<6?C.slice(0,2):C.slice(4,6);return[g.DES.createEncryptor(new f.e(R)),g.DES.createEncryptor(new f.e(A)),g.DES.createEncryptor(new f.e(I))]},S.prototype.A=function(){var C=this.Z();this.J=C[0],this.V=C[1],this.Y=C[2]},S.prototype.encryptBlock=function(C,R){this.J.encryptBlock(C,R),this.V.decryptBlock(C,R),this.Y.encryptBlock(C,R)},S.prototype.decryptBlock=function(C,R){this.Y.decryptBlock(C,R),this.V.encryptBlock(C,R),this.J.decryptBlock(C,R)},S.createEncryptor=function(C,R){return new S(w(w({},R=R===void 0?{}:R),{key:C,transformMode:p.t.ENC_TRANSFORM_MODE}))},S.createDecryptor=function(C,R){return new S(w(w({},R=R===void 0?{}:R),{key:C,transformMode:p.t.DEC_TRANSFORM_MODE}))},S.encrypt=function(C,R,A){return typeof R=="string"?v.E.encrypt(S,C,R,A):u.D.encrypt(S,C,R,A)},S.decrypt=function(C,R,A){return typeof R=="string"?v.E.decrypt(S,C,R,A):u.D.decrypt(S,C,R,A)},S.keySize=6,S.ivSize=2,S}(h.G)},6367:function(o,l,s){s.d(l,{Hmac:function(){return u}});var a=s(4768),u=function(){function h(p,g){this.$=p,typeof g=="string"&&(g=a.d.parse(g));var f=p.blockSize,v=4*f;g.nSigBytes>v&&(g=p.finalize(g)),g.clamp();for(var _=this.nn=g.clone(),w=this.tn=g.clone(),b=_.words,E=w.words,S=0;S<f;S++)b[S]^=1549556828,E[S]^=909522486;w.nSigBytes=v,_.nSigBytes=v,this.reset()}return h.prototype.reset=function(){this.$.reset(),this.$.update(this.tn)},h.prototype.update=function(p){return this.$.update(p),this},h.prototype.finalize=function(p){var g=this.$.finalize(p);return this.$.reset(),this.$.finalize(this.nn.clone().concat(g))},h}()},3027:function(o,l,s){s.d(l,{HmacMD5:function(){return h}});var a=s(6367),u=s(670);function h(p,g){return new a.Hmac(new u.MD5,g).finalize(p)}},4105:function(o,l,s){s.d(l,{HmacSHA224:function(){return h}});var a=s(6367),u=s(766);function h(p,g){return new a.Hmac(new u.SHA224,g).finalize(p)}},980:function(o,l,s){s.d(l,{HmacSHA256:function(){return h}});var a=s(6367),u=s(5561);function h(p,g){return new a.Hmac(new u.SHA256,g).finalize(p)}},5838:function(o,l,s){s.d(l,{HmacSHA384:function(){return h}});var a=s(6367),u=s(6324);function h(p,g){return new a.Hmac(new u.SHA384,g).finalize(p)}},9902:function(o,l,s){s.d(l,{HmacSHA512:function(){return h}});var a=s(6367),u=s(7491);function h(p,g){return new a.Hmac(new u.SHA512,g).finalize(p)}},670:function(o,l,s){s.d(l,{MD5:function(){return b}});var a,u=s(3354),h=s(1868),p=(a=function(E,S){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,R){C.__proto__=R}||function(C,R){for(var A in R)Object.prototype.hasOwnProperty.call(R,A)&&(C[A]=R[A])})(E,S)},function(E,S){function C(){this.constructor=E}a(E,S),E.prototype=S===null?Object.create(S):(C.prototype=S.prototype,new C)}),g=[];function f(E,S,C,R,A,I,G){var D=E+(S&C|~S&R)+A+G;return(D<<I|D>>>32-I)+S}function v(E,S,C,R,A,I,G){var D=E+(S&R|C&~R)+A+G;return(D<<I|D>>>32-I)+S}function _(E,S,C,R,A,I,G){var D=E+(S^C^R)+A+G;return(D<<I|D>>>32-I)+S}function w(E,S,C,R,A,I,G){var D=E+(C^(S|~R))+A+G;return(D<<I|D>>>32-I)+S}(function(){for(var E=0;E<64;E++)g[E]=4294967296*Math.abs(Math.sin(E+1))|0})();var b=function(E){function S(C){var R=E.call(this,C)||this;return R.rn=new u.e([1732584193,4023233417,2562383102,271733878]),C&&C.hash!==void 0&&(R.rn=C.hash.clone()),R}return p(S,E),S.prototype.A=function(){this.rn=new u.e([1732584193,4023233417,2562383102,271733878])},S.prototype.en=function(C,R){for(var A=0;A<16;A++){var I=R+A,G=C[I];C[I]=16711935&(G<<8|G>>>24)|4278255360&(G<<24|G>>>8)}var D=this.rn.words,V=C[R],q=C[R+1],j=C[R+2],N=C[R+3],U=C[R+4],X=C[R+5],Ee=C[R+6],ue=C[R+7],Se=C[R+8],le=C[R+9],ge=C[R+10],Te=C[R+11],ce=C[R+12],xe=C[R+13],ke=C[R+14],Me=C[R+15],ee=D[0],de=D[1],fe=D[2],P=D[3];ee=f(ee,de,fe,P,V,7,g[0]),P=f(P,ee,de,fe,q,12,g[1]),fe=f(fe,P,ee,de,j,17,g[2]),de=f(de,fe,P,ee,N,22,g[3]),ee=f(ee,de,fe,P,U,7,g[4]),P=f(P,ee,de,fe,X,12,g[5]),fe=f(fe,P,ee,de,Ee,17,g[6]),de=f(de,fe,P,ee,ue,22,g[7]),ee=f(ee,de,fe,P,Se,7,g[8]),P=f(P,ee,de,fe,le,12,g[9]),fe=f(fe,P,ee,de,ge,17,g[10]),de=f(de,fe,P,ee,Te,22,g[11]),ee=f(ee,de,fe,P,ce,7,g[12]),P=f(P,ee,de,fe,xe,12,g[13]),fe=f(fe,P,ee,de,ke,17,g[14]),ee=v(ee,de=f(de,fe,P,ee,Me,22,g[15]),fe,P,q,5,g[16]),P=v(P,ee,de,fe,Ee,9,g[17]),fe=v(fe,P,ee,de,Te,14,g[18]),de=v(de,fe,P,ee,V,20,g[19]),ee=v(ee,de,fe,P,X,5,g[20]),P=v(P,ee,de,fe,ge,9,g[21]),fe=v(fe,P,ee,de,Me,14,g[22]),de=v(de,fe,P,ee,U,20,g[23]),ee=v(ee,de,fe,P,le,5,g[24]),P=v(P,ee,de,fe,ke,9,g[25]),fe=v(fe,P,ee,de,N,14,g[26]),de=v(de,fe,P,ee,Se,20,g[27]),ee=v(ee,de,fe,P,xe,5,g[28]),P=v(P,ee,de,fe,j,9,g[29]),fe=v(fe,P,ee,de,ue,14,g[30]),ee=_(ee,de=v(de,fe,P,ee,ce,20,g[31]),fe,P,X,4,g[32]),P=_(P,ee,de,fe,Se,11,g[33]),fe=_(fe,P,ee,de,Te,16,g[34]),de=_(de,fe,P,ee,ke,23,g[35]),ee=_(ee,de,fe,P,q,4,g[36]),P=_(P,ee,de,fe,U,11,g[37]),fe=_(fe,P,ee,de,ue,16,g[38]),de=_(de,fe,P,ee,ge,23,g[39]),ee=_(ee,de,fe,P,xe,4,g[40]),P=_(P,ee,de,fe,V,11,g[41]),fe=_(fe,P,ee,de,N,16,g[42]),de=_(de,fe,P,ee,Ee,23,g[43]),ee=_(ee,de,fe,P,le,4,g[44]),P=_(P,ee,de,fe,ce,11,g[45]),fe=_(fe,P,ee,de,Me,16,g[46]),ee=w(ee,de=_(de,fe,P,ee,j,23,g[47]),fe,P,V,6,g[48]),P=w(P,ee,de,fe,ue,10,g[49]),fe=w(fe,P,ee,de,ke,15,g[50]),de=w(de,fe,P,ee,X,21,g[51]),ee=w(ee,de,fe,P,ce,6,g[52]),P=w(P,ee,de,fe,N,10,g[53]),fe=w(fe,P,ee,de,ge,15,g[54]),de=w(de,fe,P,ee,q,21,g[55]),ee=w(ee,de,fe,P,Se,6,g[56]),P=w(P,ee,de,fe,Me,10,g[57]),fe=w(fe,P,ee,de,Ee,15,g[58]),de=w(de,fe,P,ee,xe,21,g[59]),ee=w(ee,de,fe,P,U,6,g[60]),P=w(P,ee,de,fe,Te,10,g[61]),fe=w(fe,P,ee,de,j,15,g[62]),de=w(de,fe,P,ee,le,21,g[63]),D[0]=D[0]+ee|0,D[1]=D[1]+de|0,D[2]=D[2]+fe|0,D[3]=D[3]+P|0},S.prototype.un=function(){var C=this.on,R=C.words,A=8*this.fn,I=8*C.nSigBytes;R[I>>>5]|=128<<24-I%32;var G=Math.floor(A/4294967296),D=A;R[15+(I+64>>>9<<4)]=16711935&(G<<8|G>>>24)|4278255360&(G<<24|G>>>8),R[14+(I+64>>>9<<4)]=16711935&(D<<8|D>>>24)|4278255360&(D<<24|D>>>8),C.nSigBytes=4*(R.length+1),this.cn();for(var V=this.rn,q=V.words,j=0;j<4;j++){var N=q[j];q[j]=16711935&(N<<8|N>>>24)|4278255360&(N<<24|N>>>8)}return V},S.prototype.clone=function(){return new S({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},S.hash=function(C){return new S().finalize(C)},S}(h.P)},4615:function(o,l,s){s.d(l,{RC4:function(){return v}});var a,u=s(30),h=s(5693),p=s(9109),g=(a=function(_,w){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(b[S]=E[S])})(_,w)},function(_,w){function b(){this.constructor=_}a(_,w),_.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=function(){return(f=Object.assign||function(_){for(var w,b=1,E=arguments.length;b<E;b++)for(var S in w=arguments[b])Object.prototype.hasOwnProperty.call(w,S)&&(_[S]=w[S]);return _}).apply(this,arguments)},v=function(_){function w(b){var E=_.call(this,b)||this;return E.S=[],E.i=0,E.j=0,E.O=b,E.A(),E}return g(w,_),w.prototype.A=function(){var b=this.k,E=b.words,S=b.nSigBytes;this.S=[];for(var C=0;C<256;C++)this.S[C]=C;C=0;for(var R=0;C<256;C++){var A=C%S,I=E[A>>>2]>>>24-A%4*8&255;R=(R+this.S[C]+I)%256;var G=this.S[C];this.S[C]=this.S[R],this.S[R]=G}this.i=this.j=0},w.prototype.en=function(b,E){b[E]^=this.generateKeyStreamWord()},w.prototype.generateKeyStreamWord=function(){for(var b=this.S,E=this.i,S=this.j,C=0,R=0;R<4;R++){S=(S+b[E=(E+1)%256])%256;var A=b[E];b[E]=b[S],b[S]=A,C|=b[(b[E]+b[S])%256]<<24-8*R}return this.i=E,this.j=S,C},w.createEncryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b}))},w.createDecryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b}))},w.encrypt=function(b,E,S){return typeof E=="string"?h.E.encrypt(w,b,E,S):p.D.encrypt(w,b,E,S)},w.decrypt=function(b,E,S){return typeof E=="string"?h.E.decrypt(w,b,E,S):p.D.decrypt(w,b,E,S)},w.ivSize=0,w.keySize=8,w}(u.q)},9639:function(o,l,s){s.d(l,{RC4Drop:function(){return v}});var a,u=s(5693),h=s(9109),p=s(4615),g=(a=function(_,w){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(b[S]=E[S])})(_,w)},function(_,w){function b(){this.constructor=_}a(_,w),_.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=function(){return(f=Object.assign||function(_){for(var w,b=1,E=arguments.length;b<E;b++)for(var S in w=arguments[b])Object.prototype.hasOwnProperty.call(w,S)&&(_[S]=w[S]);return _}).apply(this,arguments)},v=function(_){function w(b){var E=_.call(this,b)||this;return E.drop=192,E.O=b,b&&typeof b.drop=="number"&&(E.drop=b.drop),E.A(),E}return g(w,_),w.prototype.A=function(){_.prototype.A.call(this);for(var b=this.drop;b>0;b--)this.generateKeyStreamWord()},w.createEncryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b}))},w.createDecryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b}))},w.encrypt=function(b,E,S){return typeof E=="string"?u.E.encrypt(w,b,E,S):h.D.encrypt(w,b,E,S)},w.decrypt=function(b,E,S){return typeof E=="string"?u.E.decrypt(w,b,E,S):h.D.decrypt(w,b,E,S)},w}(p.RC4)},7104:function(o,l,s){s.d(l,{RIPEMD160:function(){return G}});var a,u=s(1868),h=s(3354),p=(a=function(D,V){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,j){q.__proto__=j}||function(q,j){for(var N in j)Object.prototype.hasOwnProperty.call(j,N)&&(q[N]=j[N])})(D,V)},function(D,V){function q(){this.constructor=D}a(D,V),D.prototype=V===null?Object.create(V):(q.prototype=V.prototype,new q)}),g=new h.e([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=new h.e([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),v=new h.e([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),_=new h.e([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),w=new h.e([0,1518500249,1859775393,2400959708,2840853838]),b=new h.e([1352829926,1548603684,1836072691,2053994217,0]);function E(D,V,q){return D^V^q}function S(D,V,q){return D&V|~D&q}function C(D,V,q){return(D|~V)^q}function R(D,V,q){return D&q|V&~q}function A(D,V,q){return D^(V|~q)}function I(D,V){return D<<V|D>>>32-V}var G=function(D){function V(q){var j=D.call(this,q)||this;return j.rn=new h.e([1732584193,4023233417,2562383102,271733878,3285377520]),j.O=q,q&&q.hash!==void 0&&(j.rn=q.hash.clone()),j}return p(V,D),V.prototype.A=function(){this.rn=new h.e([1732584193,4023233417,2562383102,271733878,3285377520])},V.prototype.en=function(q,j){for(var N=0;N<16;N++){var U=j+N,X=q[U];q[U]=16711935&(X<<8|X>>>24)|4278255360&(X<<24|X>>>8)}var Ee,ue,Se,le,ge,Te,ce,xe,ke,Me,ee,de=this.rn.words,fe=w.words,P=b.words,Z=g.words,T=f.words,L=v.words,F=_.words;for(Te=Ee=de[0],ce=ue=de[1],xe=Se=de[2],ke=le=de[3],Me=ge=de[4],N=0;N<80;N+=1)ee=Ee+q[j+Z[N]]|0,ee+=N<16?E(ue,Se,le)+fe[0]:N<32?S(ue,Se,le)+fe[1]:N<48?C(ue,Se,le)+fe[2]:N<64?R(ue,Se,le)+fe[3]:A(ue,Se,le)+fe[4],ee=(ee=I(ee|=0,L[N]))+ge|0,Ee=ge,ge=le,le=I(Se,10),Se=ue,ue=ee,ee=Te+q[j+T[N]]|0,ee+=N<16?A(ce,xe,ke)+P[0]:N<32?R(ce,xe,ke)+P[1]:N<48?C(ce,xe,ke)+P[2]:N<64?S(ce,xe,ke)+P[3]:E(ce,xe,ke)+P[4],ee=(ee=I(ee|=0,F[N]))+Me|0,Te=Me,Me=ke,ke=I(xe,10),xe=ce,ce=ee;ee=de[1]+Se+ke|0,de[1]=de[2]+le+Me|0,de[2]=de[3]+ge+Te|0,de[3]=de[4]+Ee+ce|0,de[4]=de[0]+ue+xe|0,de[0]=ee},V.prototype.un=function(){var q=this.on,j=q.words,N=8*this.fn,U=8*q.nSigBytes;j[U>>>5]|=128<<24-U%32,j[14+(U+64>>>9<<4)]=16711935&(N<<8|N>>>24)|4278255360&(N<<24|N>>>8),q.nSigBytes=4*(j.length+1),this.cn();for(var X=this.rn,Ee=X.words,ue=0;ue<5;ue++){var Se=Ee[ue];Ee[ue]=16711935&(Se<<8|Se>>>24)|4278255360&(Se<<24|Se>>>8)}return X},V.prototype.clone=function(){return new V({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},V.hash=function(q,j){return new V(j).finalize(q)},V}(u.P)},5187:function(o,l,s){s.d(l,{Rabbit:function(){return v}});var a,u=s(30),h=s(5693),p=s(9109),g=(a=function(_,w){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(b[S]=E[S])})(_,w)},function(_,w){function b(){this.constructor=_}a(_,w),_.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=function(){return(f=Object.assign||function(_){for(var w,b=1,E=arguments.length;b<E;b++)for(var S in w=arguments[b])Object.prototype.hasOwnProperty.call(w,S)&&(_[S]=w[S]);return _}).apply(this,arguments)},v=function(_){function w(b){var E=_.call(this,b)||this;return E.U=4,E.S=[],E.C=[],E.G=[],E.sn=[],E.an=[],E.hn=0,E.O=b,E.A(),E}return g(w,_),w.prototype.A=function(){for(var b=this.k.words,E=this.vn,S=0;S<4;S++)b[S]=16711935&(b[S]<<8|b[S]>>>24)|4278255360&(b[S]<<24|b[S]>>>8);var C=this.sn=[b[0],b[3]<<16|b[2]>>>16,b[1],b[0]<<16|b[3]>>>16,b[2],b[1]<<16|b[0]>>>16,b[3],b[2]<<16|b[1]>>>16],R=this.an=[b[2]<<16|b[2]>>>16,4294901760&b[0]|65535&b[1],b[3]<<16|b[3]>>>16,4294901760&b[1]|65535&b[2],b[0]<<16|b[0]>>>16,4294901760&b[2]|65535&b[3],b[1]<<16|b[1]>>>16,4294901760&b[3]|65535&b[0]];for(this.hn=0,S=0;S<4;S++)this.nextState();for(S=0;S<8;S++)R[S]^=C[S+4&7];if(E){var A=E.words,I=A[0],G=A[1],D=16711935&(I<<8|I>>>24)|4278255360&(I<<24|I>>>8),V=16711935&(G<<8|G>>>24)|4278255360&(G<<24|G>>>8),q=D>>>16|4294901760&V,j=V<<16|65535&D;for(R[0]^=D,R[1]^=q,R[2]^=V,R[3]^=j,R[4]^=D,R[5]^=q,R[6]^=V,R[7]^=j,S=0;S<4;S++)this.nextState()}},w.prototype.en=function(b,E){var S=this.sn;this.nextState(),this.S[0]=S[0]^S[5]>>>16^S[3]<<16,this.S[1]=S[2]^S[7]>>>16^S[5]<<16,this.S[2]=S[4]^S[1]>>>16^S[7]<<16,this.S[3]=S[6]^S[3]>>>16^S[1]<<16;for(var C=0;C<4;C++)this.S[C]=16711935&(this.S[C]<<8|this.S[C]>>>24)|4278255360&(this.S[C]<<24|this.S[C]>>>8),b[E+C]^=this.S[C]},w.prototype.nextState=function(){for(var b=this.sn,E=this.an,S=0;S<8;S++)this.C[S]=E[S];for(E[0]=E[0]+1295307597+this.hn|0,E[1]=E[1]+3545052371+(E[0]>>>0<this.C[0]>>>0?1:0)|0,E[2]=E[2]+886263092+(E[1]>>>0<this.C[1]>>>0?1:0)|0,E[3]=E[3]+1295307597+(E[2]>>>0<this.C[2]>>>0?1:0)|0,E[4]=E[4]+3545052371+(E[3]>>>0<this.C[3]>>>0?1:0)|0,E[5]=E[5]+886263092+(E[4]>>>0<this.C[4]>>>0?1:0)|0,E[6]=E[6]+1295307597+(E[5]>>>0<this.C[5]>>>0?1:0)|0,E[7]=E[7]+3545052371+(E[6]>>>0<this.C[6]>>>0?1:0)|0,this.hn=E[7]>>>0<this.C[7]>>>0?1:0,S=0;S<8;S++){var C=b[S]+E[S],R=65535&C,A=C>>>16,I=((R*R>>>17)+R*A>>>15)+A*A,G=((4294901760&C)*C|0)+((65535&C)*C|0);this.G[S]=I^G}var D=this.G;b[0]=D[0]+(D[7]<<16|D[7]>>>16)+(D[6]<<16|D[6]>>>16)|0,b[1]=D[1]+(D[0]<<8|D[0]>>>24)+D[7]|0,b[2]=D[2]+(D[1]<<16|D[1]>>>16)+(D[0]<<16|D[0]>>>16)|0,b[3]=D[3]+(D[2]<<8|D[2]>>>24)+D[1]|0,b[4]=D[4]+(D[3]<<16|D[3]>>>16)+(D[2]<<16|D[2]>>>16)|0,b[5]=D[5]+(D[4]<<8|D[4]>>>24)+D[3]|0,b[6]=D[6]+(D[5]<<16|D[5]>>>16)+(D[4]<<16|D[4]>>>16)|0,b[7]=D[7]+(D[6]<<8|D[6]>>>24)+D[5]|0},w.createEncryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b}))},w.createDecryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b}))},w.encrypt=function(b,E,S){return typeof E=="string"?h.E.encrypt(w,b,E,S):p.D.encrypt(w,b,E,S)},w.decrypt=function(b,E,S){return typeof E=="string"?h.E.decrypt(w,b,E,S):p.D.decrypt(w,b,E,S)},w.ivSize=4,w}(u.q)},3173:function(o,l,s){s.d(l,{SHA1:function(){return f}});var a,u=s(1868),h=s(3354),p=(a=function(v,_){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(w[E]=b[E])})(v,_)},function(v,_){function w(){this.constructor=v}a(v,_),v.prototype=_===null?Object.create(_):(w.prototype=_.prototype,new w)}),g=[],f=function(v){function _(w){var b=v.call(this,w)||this;return b.rn=new h.e([1732584193,4023233417,2562383102,271733878,3285377520]),b.O=w,w&&w.hash!==void 0&&(b.rn=w.hash.clone()),b}return p(_,v),_.prototype.A=function(){this.rn=new h.e([1732584193,4023233417,2562383102,271733878,3285377520])},_.prototype.en=function(w,b){for(var E=this.rn.words,S=E[0],C=E[1],R=E[2],A=E[3],I=E[4],G=0;G<80;G++){if(G<16)g[G]=0|w[b+G];else{var D=g[G-3]^g[G-8]^g[G-14]^g[G-16];g[G]=D<<1|D>>>31}var V=(S<<5|S>>>27)+I+g[G];V+=G<20?1518500249+(C&R|~C&A):G<40?1859775393+(C^R^A):G<60?(C&R|C&A|R&A)-1894007588:(C^R^A)-899497514,I=A,A=R,R=C<<30|C>>>2,C=S,S=V}E[0]=E[0]+S|0,E[1]=E[1]+C|0,E[2]=E[2]+R|0,E[3]=E[3]+A|0,E[4]=E[4]+I|0},_.prototype.un=function(){var w=this.on.words,b=8*this.fn,E=8*this.on.nSigBytes;return w[E>>>5]|=128<<24-E%32,w[14+(E+64>>>9<<4)]=Math.floor(b/4294967296),w[15+(E+64>>>9<<4)]=b,this.on.nSigBytes=4*w.length,this.cn(),this.rn},_.prototype.clone=function(){return new _({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},_.hash=function(w,b){return new _(b).finalize(w)},_}(u.P)},766:function(o,l,s){s.d(l,{SHA224:function(){return g}});var a,u=s(3354),h=s(5561),p=(a=function(f,v){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,w){_.__proto__=w}||function(_,w){for(var b in w)Object.prototype.hasOwnProperty.call(w,b)&&(_[b]=w[b])})(f,v)},function(f,v){function _(){this.constructor=f}a(f,v),f.prototype=v===null?Object.create(v):(_.prototype=v.prototype,new _)}),g=function(f){function v(_){var w=f.call(this,_)||this;return w.rn=new u.e([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]),w.O=_,_&&_.hash!==void 0&&(w.rn=_.hash.clone()),w}return p(v,f),v.prototype.A=function(){this.rn=new u.e([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},v.prototype.un=function(){var _=f.prototype.un.call(this);return _.nSigBytes-=4,_},v.prototype.clone=function(){return new v({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},v.hash=function(_,w){return new v(w).finalize(_)},v}(h.SHA256)},5561:function(o,l,s){s.d(l,{SHA256:function(){return b}});var a,u=s(1868),h=s(3354),p=(a=function(E,S){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,R){C.__proto__=R}||function(C,R){for(var A in R)Object.prototype.hasOwnProperty.call(R,A)&&(C[A]=R[A])})(E,S)},function(E,S){function C(){this.constructor=E}a(E,S),E.prototype=S===null?Object.create(S):(C.prototype=S.prototype,new C)}),g=[],f=[];function v(E){for(var S=Math.sqrt(E),C=2;C<=S;C++)if(!(E%C))return!1;return!0}function _(E){return 4294967296*(E-(0|E))|0}(function(){for(var E=2,S=0;S<64;)v(E)&&(S<8&&(g[S]=_(Math.pow(E,.5))),f[S]=_(Math.pow(E,1/3)),S++),E++})();var w=[],b=function(E){function S(C){var R=E.call(this,C)||this;return R.rn=new h.e(g.slice(0)),R.O=C,C&&C.hash!==void 0&&(R.rn=C.hash.clone()),R}return p(S,E),S.prototype.A=function(){this.rn=new h.e(g.slice(0))},S.prototype.en=function(C,R){for(var A=this.rn.words,I=A[0],G=A[1],D=A[2],V=A[3],q=A[4],j=A[5],N=A[6],U=A[7],X=0;X<64;X++){if(X<16)w[X]=0|C[R+X];else{var Ee=w[X-15],ue=(Ee<<25|Ee>>>7)^(Ee<<14|Ee>>>18)^Ee>>>3,Se=w[X-2],le=(Se<<15|Se>>>17)^(Se<<13|Se>>>19)^Se>>>10;w[X]=ue+w[X-7]+le+w[X-16]}var ge=I&G^I&D^G&D,Te=(I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22),ce=U+((q<<26|q>>>6)^(q<<21|q>>>11)^(q<<7|q>>>25))+(q&j^~q&N)+f[X]+w[X];U=N,N=j,j=q,q=V+ce|0,V=D,D=G,G=I,I=ce+(Te+ge)|0}A[0]=A[0]+I|0,A[1]=A[1]+G|0,A[2]=A[2]+D|0,A[3]=A[3]+V|0,A[4]=A[4]+q|0,A[5]=A[5]+j|0,A[6]=A[6]+N|0,A[7]=A[7]+U|0},S.prototype.un=function(){var C=this.on.words,R=8*this.fn,A=8*this.on.nSigBytes;return C[A>>>5]|=128<<24-A%32,C[14+(A+64>>>9<<4)]=Math.floor(R/4294967296),C[15+(A+64>>>9<<4)]=R,this.on.nSigBytes=4*C.length,this.cn(),this.rn},S.prototype.clone=function(){return new S({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},S.hash=function(C,R){return new S(R).finalize(C)},S}(u.P)},3408:function(o,l,s){s.d(l,{SHA3:function(){return b}});var a,u=s(6957),h=s(1868),p=s(3354),g=(a=function(E,S){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,R){C.__proto__=R}||function(C,R){for(var A in R)Object.prototype.hasOwnProperty.call(R,A)&&(C[A]=R[A])})(E,S)},function(E,S){function C(){this.constructor=E}a(E,S),E.prototype=S===null?Object.create(S):(C.prototype=S.prototype,new C)}),f=[],v=[],_=[];(function(){for(var E=1,S=0,C=0;C<24;C++){f[E+5*S]=(C+1)*(C+2)/2%64;var R=(2*E+3*S)%5;E=S%5,S=R}for(var A=0;A<5;A++)for(var I=0;I<5;I++)v[A+5*I]=I+(2*A+3*I)%5*5;for(var G=1,D=0;D<24;D++){for(var V=0,q=0,j=0;j<7;j++){if(1&G){var N=(1<<j)-1;N<32?q^=1<<N:V^=1<<N-32}128&G?G=G<<1^113:G<<=1}_[D]=new u.r(V,q)}})();var w=[];(function(){for(var E=0;E<25;E++)w[E]=new u.r(0,0)})();var b=function(E){function S(C){var R=E.call(this,C)||this;if(R.U=32,R.wn=[],R.bn=512,R.O=C,C){if(C.outputLength!==void 0){if(![224,256,384,512].includes(C.outputLength))throw new Error("Unsupported output length.");R.bn=C.outputLength}C.state!==void 0&&(R.wn=C.state.map(function(I){return I.clone()}))}if(R.wn.length===0)for(var A=0;A<25;A++)R.wn[A]=new u.r(0,0);return R.U=(1600-2*R.bn)/32,R}return g(S,E),S.prototype.A=function(){this.wn=[];for(var C=0;C<25;C++)this.wn[C]=new u.r(0,0);this.U=(1600-2*this.bn)/32},S.prototype.en=function(C,R){for(var A=this.wn,I=this.U/2,G=0;G<I;G++){var D=C[R+2*G],V=C[R+2*G+1];D=16711935&(D<<8|D>>>24)|4278255360&(D<<24|D>>>8),V=16711935&(V<<8|V>>>24)|4278255360&(V<<24|V>>>8),A[G].high^=V,A[G].low^=D}for(var q=0;q<24;q++){for(var j=0;j<5;j++){for(var N=0,U=0,X=0;X<5;X++)N^=(fe=A[j+5*X]).high,U^=fe.low;var Ee=w[j];Ee.high=N,Ee.low=U}for(j=0;j<5;j++){var ue=w[(j+4)%5],Se=w[(j+1)%5],le=Se.high,ge=Se.low;for(N=ue.high^(le<<1|ge>>>31),U=ue.low^(ge<<1|le>>>31),X=0;X<5;X++)(fe=A[j+5*X]).high^=N,fe.low^=U}for(var Te=1;Te<25;Te++){N=void 0,U=void 0;var ce=A[Te].high,xe=A[Te].low,ke=f[Te];ke<32?(N=ce<<ke|xe>>>32-ke,U=xe<<ke|ce>>>32-ke):(N=xe<<ke-32|ce>>>64-ke,U=ce<<ke-32|xe>>>64-ke);var Me=w[v[Te]];Me.high=N,Me.low=U}var ee=w[0],de=A[0];for(ee.high=de.high,ee.low=de.low,j=0;j<5;j++)for(X=0;X<5;X++){var fe=A[Te=j+5*X],P=w[Te],Z=w[(j+1)%5+5*X],T=w[(j+2)%5+5*X];fe.high=P.high^~Z.high&T.high,fe.low=P.low^~Z.low&T.low}var L=A[0],F=_[q];L.high^=F.high,L.low^=F.low}},S.prototype.un=function(){var C=this.on,R=C.words,A=8*C.nSigBytes,I=32*this.blockSize;R[A>>>5]|=1<<24-A%32,R[(Math.ceil((A+1)/I)*I>>>5)-1]|=128,C.nSigBytes=4*R.length,this.cn();for(var G=this.wn,D=this.bn/8,V=D/8,q=[],j=0;j<V;j++){var N=G[j],U=N.high,X=N.low;U=16711935&(U<<8|U>>>24)|4278255360&(U<<24|U>>>8),X=16711935&(X<<8|X>>>24)|4278255360&(X<<24|X>>>8),q.push(X),q.push(U)}return new p.e(q,D)},S.prototype.clone=function(){return new S({outputLength:this.bn,state:this.wn,blockSize:this.U,data:this.on,nBytes:this.fn})},S.hash=function(C,R){return new S(R).finalize(C)},S}(h.P)},6324:function(o,l,s){s.d(l,{SHA384:function(){return g}});var a,u=s(6957),h=s(7491),p=(a=function(f,v){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,w){_.__proto__=w}||function(_,w){for(var b in w)Object.prototype.hasOwnProperty.call(w,b)&&(_[b]=w[b])})(f,v)},function(f,v){function _(){this.constructor=f}a(f,v),f.prototype=v===null?Object.create(v):(_.prototype=v.prototype,new _)}),g=function(f){function v(_){var w=f.call(this,_)||this;return w.rn=new u.m([new u.r(3418070365,3238371032),new u.r(1654270250,914150663),new u.r(2438529370,812702999),new u.r(355462360,4144912697),new u.r(1731405415,4290775857),new u.r(2394180231,1750603025),new u.r(3675008525,1694076839),new u.r(1203062813,3204075428)]),w.O=_,_&&_.hash!==void 0&&(w.rn=_.hash.clone()),w}return p(v,f),v.prototype.A=function(){this.rn=new u.m([new u.r(3418070365,3238371032),new u.r(1654270250,914150663),new u.r(2438529370,812702999),new u.r(355462360,4144912697),new u.r(1731405415,4290775857),new u.r(2394180231,1750603025),new u.r(3675008525,1694076839),new u.r(1203062813,3204075428)])},v.prototype.un=function(){var _=f.prototype.un.call(this);return _.nSigBytes-=16,_},v.prototype.clone=function(){return new v({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},v.hash=function(_,w){return new v(w).finalize(_)},v}(h.SHA512)},7491:function(o,l,s){s.d(l,{SHA512:function(){return v}});var a,u=s(1868),h=s(6957),p=(a=function(_,w){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(b[S]=E[S])})(_,w)},function(_,w){function b(){this.constructor=_}a(_,w),_.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),g=[new h.r(1116352408,3609767458),new h.r(1899447441,602891725),new h.r(3049323471,3964484399),new h.r(3921009573,2173295548),new h.r(961987163,4081628472),new h.r(1508970993,3053834265),new h.r(2453635748,2937671579),new h.r(2870763221,3664609560),new h.r(3624381080,2734883394),new h.r(310598401,1164996542),new h.r(607225278,1323610764),new h.r(1426881987,3590304994),new h.r(1925078388,4068182383),new h.r(2162078206,991336113),new h.r(2614888103,633803317),new h.r(3248222580,3479774868),new h.r(3835390401,2666613458),new h.r(4022224774,944711139),new h.r(264347078,2341262773),new h.r(604807628,2007800933),new h.r(770255983,1495990901),new h.r(1249150122,1856431235),new h.r(1555081692,3175218132),new h.r(1996064986,2198950837),new h.r(2554220882,3999719339),new h.r(2821834349,766784016),new h.r(2952996808,2566594879),new h.r(3210313671,3203337956),new h.r(3336571891,1034457026),new h.r(3584528711,2466948901),new h.r(113926993,3758326383),new h.r(338241895,168717936),new h.r(666307205,1188179964),new h.r(773529912,1546045734),new h.r(1294757372,1522805485),new h.r(1396182291,2643833823),new h.r(1695183700,2343527390),new h.r(1986661051,1014477480),new h.r(2177026350,1206759142),new h.r(2456956037,344077627),new h.r(2730485921,1290863460),new h.r(2820302411,3158454273),new h.r(3259730800,3505952657),new h.r(3345764771,106217008),new h.r(3516065817,3606008344),new h.r(3600352804,1432725776),new h.r(4094571909,1467031594),new h.r(275423344,851169720),new h.r(430227734,3100823752),new h.r(506948616,1363258195),new h.r(659060556,3750685593),new h.r(883997877,3785050280),new h.r(958139571,3318307427),new h.r(1322822218,3812723403),new h.r(1537002063,2003034995),new h.r(1747873779,3602036899),new h.r(1955562222,1575990012),new h.r(2024104815,1125592928),new h.r(2227730452,2716904306),new h.r(2361852424,442776044),new h.r(2428436474,593698344),new h.r(2756734187,3733110249),new h.r(3204031479,2999351573),new h.r(3329325298,3815920427),new h.r(3391569614,3928383900),new h.r(3515267271,566280711),new h.r(3940187606,3454069534),new h.r(4118630271,4000239992),new h.r(116418474,1914138554),new h.r(174292421,2731055270),new h.r(289380356,3203993006),new h.r(460393269,320620315),new h.r(685471733,587496836),new h.r(852142971,1086792851),new h.r(1017036298,365543100),new h.r(1126000580,2618297676),new h.r(1288033470,3409855158),new h.r(1501505948,4234509866),new h.r(1607167915,987167468),new h.r(1816402316,1246189591)],f=[];(function(){for(var _=0;_<80;_++)f[_]=new h.r(0,0)})();var v=function(_){function w(b){var E=_.call(this,b)||this;return E.U=32,E.rn=new h.m([new h.r(1779033703,4089235720),new h.r(3144134277,2227873595),new h.r(1013904242,4271175723),new h.r(2773480762,1595750129),new h.r(1359893119,2917565137),new h.r(2600822924,725511199),new h.r(528734635,4215389547),new h.r(1541459225,327033209)]),E.O=b,b&&b.hash!==void 0&&(E.rn=b.hash.clone()),E}return p(w,_),w.prototype.A=function(){this.rn=new h.m([new h.r(1779033703,4089235720),new h.r(3144134277,2227873595),new h.r(1013904242,4271175723),new h.r(2773480762,1595750129),new h.r(1359893119,2917565137),new h.r(2600822924,725511199),new h.r(528734635,4215389547),new h.r(1541459225,327033209)])},w.prototype.en=function(b,E){for(var S=this.rn.words,C=S[0],R=S[1],A=S[2],I=S[3],G=S[4],D=S[5],V=S[6],q=S[7],j=C.high,N=C.low,U=R.high,X=R.low,Ee=A.high,ue=A.low,Se=I.high,le=I.low,ge=G.high,Te=G.low,ce=D.high,xe=D.low,ke=V.high,Me=V.low,ee=q.high,de=q.low,fe=j,P=N,Z=U,T=X,L=Ee,F=ue,K=Se,te=le,oe=ge,me=Te,Oe=ce,qe=xe,lt=ke,Ie=Me,et=ee,_t=de,gt=0;gt<80;gt++){var se=void 0,pe=void 0,we=f[gt];if(gt<16)pe=we.high=0|b[E+2*gt],se=we.low=0|b[E+2*gt+1];else{var Pe=f[gt-15],Ne=Pe.high,ft=Pe.low,je=(Ne>>>1|ft<<31)^(Ne>>>8|ft<<24)^Ne>>>7,Je=(ft>>>1|Ne<<31)^(ft>>>8|Ne<<24)^(ft>>>7|Ne<<25),Ue=f[gt-2],Ke=Ue.high,Ye=Ue.low,Gt=(Ke>>>19|Ye<<13)^(Ke<<3|Ye>>>29)^Ke>>>6,qi=(Ye>>>19|Ke<<13)^(Ye<<3|Ke>>>29)^(Ye>>>6|Ke<<26),es=f[gt-7],xh=es.high,Ml=es.low,fa=f[gt-16],Th=fa.high,Rl=fa.low;pe=(pe=(pe=je+xh+((se=Je+Ml)>>>0<Je>>>0?1:0))+Gt+((se+=qi)>>>0<qi>>>0?1:0))+Th+((se+=Rl)>>>0<Rl>>>0?1:0),we.high=pe,we.low=se}var Ah=oe&Oe^~oe<,kl=me&qe^~me&Ie,Ll=fe&Z^fe&L^Z&L,Mh=P&T^P&F^T&F,Rh=(fe>>>28|P<<4)^(fe<<30|P>>>2)^(fe<<25|P>>>7),Pl=(P>>>28|fe<<4)^(P<<30|fe>>>2)^(P<<25|fe>>>7),pa=(oe>>>14|me<<18)^(oe>>>18|me<<14)^(oe<<23|me>>>9),kh=(me>>>14|oe<<18)^(me>>>18|oe<<14)^(me<<23|oe>>>9),ts=g[gt],Lh=ts.high,Il=ts.low,lr=_t+kh,fo=et+pa+(lr>>>0<_t>>>0?1:0),Bl=Pl+Mh;et=lt,_t=Ie,lt=Oe,Ie=qe,Oe=oe,qe=me,oe=K+(fo=(fo=(fo=fo+Ah+((lr+=kl)>>>0<kl>>>0?1:0))+Lh+((lr+=Il)>>>0<Il>>>0?1:0))+pe+((lr+=se)>>>0<se>>>0?1:0))+((me=te+lr|0)>>>0<te>>>0?1:0)|0,K=L,te=F,L=Z,F=T,Z=fe,T=P,fe=fo+(Rh+Ll+(Bl>>>0<Pl>>>0?1:0))+((P=lr+Bl|0)>>>0<lr>>>0?1:0)|0}N=C.low=N+P,C.high=j+fe+(N>>>0<P>>>0?1:0),X=R.low=X+T,R.high=U+Z+(X>>>0<T>>>0?1:0),ue=A.low=ue+F,A.high=Ee+L+(ue>>>0<F>>>0?1:0),le=I.low=le+te,I.high=Se+K+(le>>>0<te>>>0?1:0),Te=G.low=Te+me,G.high=ge+oe+(Te>>>0<me>>>0?1:0),xe=D.low=xe+qe,D.high=ce+Oe+(xe>>>0<qe>>>0?1:0),Me=V.low=Me+Ie,V.high=ke+lt+(Me>>>0<Ie>>>0?1:0),de=q.low=de+_t,q.high=ee+et+(de>>>0<_t>>>0?1:0)},w.prototype.un=function(){var b=this.on,E=b.words,S=8*this.fn,C=8*b.nSigBytes;return E[C>>>5]|=128<<24-C%32,E[30+(C+128>>>10<<5)]=Math.floor(S/4294967296),E[31+(C+128>>>10<<5)]=S,b.nSigBytes=4*E.length,this.cn(),this.rn.to32()},w.prototype.clone=function(){return new w({hash:this.rn,blockSize:this.U,data:this.on,nBytes:this.fn})},w.hash=function(b,E){return new w(E).finalize(b)},w}(u.P)},3354:function(o,l,s){s.d(l,{e:function(){return h}});var a=s(5720),u=s(9054),h=function(){function p(g,f){if(Array.isArray(g)||!g)return this.ln=Array.isArray(g)?g:[],void(this.dn=typeof f=="number"?f:4*this.ln.length);var v;if(g instanceof ArrayBuffer)v=new Uint8Array(g);else{if(!(g instanceof Uint8Array||g instanceof Int8Array||g instanceof Uint8ClampedArray||g instanceof Int16Array||g instanceof Uint16Array||g instanceof Int32Array||g instanceof Uint32Array||g instanceof Float32Array||g instanceof Float64Array))throw new Error("Invalid argument");v=new Uint8Array(g.buffer,g.byteOffset,g.byteLength)}if(!v)return this.ln=[],void(this.dn=0);for(var _=v.byteLength,w=[],b=0;b<_;b++)w[b>>>2]|=v[b]<<24-b%4*8;this.ln=w,this.dn=_}return Object.defineProperty(p.prototype,"nSigBytes",{get:function(){return this.dn},set:function(g){this.dn=g},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"words",{get:function(){return this.ln},enumerable:!1,configurable:!0}),p.prototype.toString=function(g){return g?g.stringify(this):a.p.stringify(this)},p.prototype.toUint8Array=function(){for(var g=this.ln,f=this.dn,v=new Uint8Array(f),_=0;_<f;_++)v[_]=g[_>>>2]>>>24-_%4*8&255;return v},p.prototype.concat=function(g){var f=g.words.slice(),v=g.nSigBytes;if(this.clamp(),this.dn%4)for(var _=0;_<v;_++){var w=f[_>>>2]>>>24-_%4*8&255;this.ln[this.dn+_>>>2]|=w<<24-(this.dn+_)%4*8}else for(_=0;_<v;_+=4)this.ln[this.dn+_>>>2]=f[_>>>2];return this.dn+=v,this},p.prototype.clamp=function(){var g=this.dn;this.ln[g>>>2]&=4294967295<<32-g%4*8,this.ln.length=Math.ceil(g/4)},p.prototype.clone=function(){return new p(this.ln.slice(),this.dn)},p.random=function(g){for(var f=[],v=0;v<g;v+=4)f.push((0,u.M)());return new p(f,g)},p}()},6957:function(o,l,s){s.d(l,{r:function(){return h},m:function(){return p}});var a=s(5720),u=s(3354),h=function(){function g(f,v){this.high=f,this.low=v}return g.prototype.clone=function(){return new g(this.high,this.low)},g}(),p=function(){function g(f,v){this.ln=f||[],this.dn=typeof v=="number"?v:8*this.ln.length}return Object.defineProperty(g.prototype,"nSigBytes",{get:function(){return this.dn},set:function(f){this.dn=f},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"words",{get:function(){return this.ln},enumerable:!1,configurable:!0}),g.prototype.to32=function(){for(var f=[],v=0;v<this.ln.length;v++){var _=this.ln[v];f.push(_.high),f.push(_.low)}return new u.e(f,this.dn)},g.prototype.toString=function(f){return f?f.stringify(this.to32()):a.p.stringify(this.to32())},g.prototype.clone=function(){for(var f=this.ln.slice(),v=0;v<f.length;v++)f[v]=f[v].clone();return new g(f,this.dn)},g}()},7211:function(o,l,s){s.d(l,{C:function(){return h}});var a=s(3354),u=s(4768),h=function(){function p(g){this.yn=0,this.U=0,this.O=g,this.on=g&&g.data!==void 0?g.data.clone():new a.e,this.fn=g&&typeof g.nBytes=="number"?g.nBytes:0}return Object.defineProperty(p.prototype,"blockSize",{get:function(){return this.U},enumerable:!1,configurable:!0}),p.prototype.reset=function(g,f){this.on=g!==void 0?g.clone():new a.e,this.fn=typeof f=="number"?f:0},p.prototype.pn=function(g){var f=typeof g=="string"?u.d.parse(g):g;this.on.concat(f),this.fn+=f.nSigBytes},p.prototype.cn=function(g){var f,v=this.on.words,_=this.on.nSigBytes,w=this.U,b=_/(4*this.U),E=(b=g?Math.ceil(b):Math.max((0|b)-this.yn,0))*w,S=Math.min(4*E,_);if(E){for(var C=0;C<E;C+=w)this.en(v,C);f=v.splice(0,E),this.on.nSigBytes-=S}return new a.e(f,S)},p.prototype.en=function(g,f){throw new Error("Not implemented")},p}()},1868:function(o,l,s){s.d(l,{P:function(){return p}});var a,u=s(7211),h=(a=function(g,f){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,_){v.__proto__=_}||function(v,_){for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&(v[w]=_[w])})(g,f)},function(g,f){function v(){this.constructor=g}a(g,f),g.prototype=f===null?Object.create(f):(v.prototype=f.prototype,new v)}),p=function(g){function f(v){var _=g.call(this,v)||this;return _.U=16,_.O=v,v&&typeof v.blockSize=="number"&&(_.U=v.blockSize),_.reset(v?v.data:void 0,v?v.nBytes:void 0),_}return h(f,g),Object.defineProperty(f.prototype,"blockSize",{get:function(){return this.U},enumerable:!1,configurable:!0}),f.prototype.reset=function(v,_){g.prototype.reset.call(this,v,_),this.A()},f.prototype.update=function(v){return this.pn(v),this.cn(),this},f.prototype.finalize=function(v){return v&&this.pn(v),this.un()},f.prototype.A=function(){throw new Error("Not implemented")},f.prototype.un=function(){throw new Error("Not implemented")},f}(u.C)},787:function(o,l,s){s.d(l,{G:function(){return v}});var a,u=s(9456),h=s(4344),p=s(7919),g=(a=function(_,w){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(b[S]=E[S])})(_,w)},function(_,w){function b(){this.constructor=_}a(_,w),_.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=function(){return(f=Object.assign||function(_){for(var w,b=1,E=arguments.length;b<E;b++)for(var S in w=arguments[b])Object.prototype.hasOwnProperty.call(w,S)&&(_[S]=w[S]);return _}).apply(this,arguments)},v=function(_){function w(b){var E=_.call(this,b)||this;return E.U=4,E.On=h.n,E.jn=p.l,E.O=b,E.On=b.mode!==void 0?b.mode:E.On,E.jn=b.padding!==void 0?b.padding:E.jn,E.reset(b==null?void 0:b.data,b==null?void 0:b.nBytes),E}return g(w,_),Object.defineProperty(w.prototype,"mode",{get:function(){return this._n},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"padding",{get:function(){return this.jn},enumerable:!1,configurable:!0}),w.prototype.reset=function(b,E){var S;_.prototype.reset.call(this,b,E),this.mn===u.t.ENC_TRANSFORM_MODE?S=this.On.createEncryptor:(S=this.On.createDecryptor,this.yn=1),this.On&&this.An===S?this._n=new this.On({cipher:this,iv:this.vn&&this.vn.words}):(this._n=S.call(this.On,{cipher:this,iv:this.vn&&this.vn.words}),this.An=S)},w.prototype.en=function(b,E){var S;(S=this._n)===null||S===void 0||S.processBlock(b,E)},w.prototype.un=function(){var b,E=this.jn;return this.mn===u.t.ENC_TRANSFORM_MODE?(E.pad(this.on,this.blockSize),b=this.cn(!0)):(b=this.cn(!0),E.unpad(b)),b},w.prototype.encryptBlock=function(b,E){throw new Error("Not implemented")},w.prototype.decryptBlock=function(b,E){throw new Error("Not implemented")},w.createEncryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b,transformMode:u.t.ENC_TRANSFORM_MODE}))},w.createDecryptor=function(b,E){return new w(f(f({},E=E===void 0?{}:E),{key:b,transformMode:u.t.DEC_TRANSFORM_MODE}))},w}(u.t)},9456:function(o,l,s){s.d(l,{t:function(){return g}});var a,u=s(7211),h=(a=function(f,v){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,w){_.__proto__=w}||function(_,w){for(var b in w)Object.prototype.hasOwnProperty.call(w,b)&&(_[b]=w[b])})(f,v)},function(f,v){function _(){this.constructor=f}a(f,v),f.prototype=v===null?Object.create(v):(_.prototype=v.prototype,new _)}),p=function(){return(p=Object.assign||function(f){for(var v,_=1,w=arguments.length;_<w;_++)for(var b in v=arguments[_])Object.prototype.hasOwnProperty.call(v,b)&&(f[b]=v[b]);return f}).apply(this,arguments)},g=function(f){function v(_){var w=f.call(this,_)||this;return w.mn=1,w.O=_,w.k=_.key,w.vn=_.iv!==void 0?_.iv:w.vn,w.mn=_.transformMode!==void 0?_.transformMode:w.mn,w}return h(v,f),Object.defineProperty(v.prototype,"iv",{get:function(){return this.vn},enumerable:!1,configurable:!0}),v.prototype.reset=function(_,w){f.prototype.reset.call(this,_,w),this.A()},v.prototype.process=function(_){return this.pn(_),this.cn()},v.prototype.finalize=function(_){return _&&this.pn(_),this.un()},v.prototype.A=function(){throw new Error("Not implemented")},v.prototype.en=function(_,w){throw new Error("Not implemented")},v.prototype.un=function(){throw new Error("Not implemented")},v.createEncryptor=function(_,w){return new v(p(p({},w=w===void 0?{}:w),{key:_,transformMode:v.ENC_TRANSFORM_MODE}))},v.createDecryptor=function(_,w){return new v(p(p({},w=w===void 0?{}:w),{key:_,transformMode:v.DEC_TRANSFORM_MODE}))},v.ENC_TRANSFORM_MODE=1,v.DEC_TRANSFORM_MODE=2,v.keySize=4,v.ivSize=4,v}(u.C)},2505:function(o,l,s){s.d(l,{Q:function(){return u}});var a=s(1232),u=function(){function h(p){this.formatter=a.w,p&&(this.cipherText=p.cipherText,this.key=p.key,this.iv=p.iv,this.salt=p.salt,this.Algorithm=p.Algorithm,this.mode=p.mode,this.padding=p.padding,this.blockSize=p.blockSize,this.formatter=p.formatter||a.w)}return h.prototype.toString=function(p){return(p||this.formatter).stringify(this)},h}()},5693:function(o,l,s){s.d(l,{E:function(){return f}});var a=s(9109),u=s(2214),h=s(2505),p=s(1232),g=function(){return(g=Object.assign||function(v){for(var _,w=1,b=arguments.length;w<b;w++)for(var E in _=arguments[w])Object.prototype.hasOwnProperty.call(_,E)&&(v[E]=_[E]);return v}).apply(this,arguments)},f={encrypt:function(v,_,w,b){var E=b?g({},b):{},S=b&&b.KDF?b.KDF:u.s,C={};b&&b.kdfHasher&&(C.kdfHasher=b.kdfHasher),b&&b.kdfIterations&&(C.kdfIterations=b.kdfIterations),b&&b.kdfModule&&(C.kdfModule=b.kdfModule);var R=S.execute(w,v.keySize,v.ivSize,E.kdfSalt,C);E.iv=R.iv;var A=a.D.encrypt(v,_,R.key,E);return new h.Q(g(g({},A),{key:R.key,iv:R.iv,salt:R.salt}))},decrypt:function(v,_,w,b){var E=b?g({},b):{},S=E.KDF?E.KDF:u.s,C=E.formatter?E.formatter:p.w,R=(0,a.W)(_,C),A={};b&&b.kdfHasher&&(A.kdfHasher=b.kdfHasher),b&&b.kdfIterations&&(A.kdfIterations=b.kdfIterations),b&&b.kdfModule&&(A.kdfModule=b.kdfModule);var I=S.execute(w,v.keySize,v.ivSize,R.salt,A);return E.iv=I.iv,a.D.decrypt(v,R,I.key,E)}}},9109:function(o,l,s){s.d(l,{W:function(){return h},D:function(){return p}});var a=s(1232),u=s(2505);function h(g,f){return typeof g=="string"?f.parse(g):g}var p={encrypt:function(g,f,v,_){var w=g.createEncryptor(v,_),b=w.finalize(f);return new u.Q({cipherText:b,key:v,iv:w.iv,Algorithm:g,mode:w.mode,padding:w.padding,blockSize:w.blockSize,formatter:(_==null?void 0:_.formatter)||a.w})},decrypt:function(g,f,v,_){var w=g.createDecryptor(v,_),b=h(f,(_==null?void 0:_.formatter)||a.w);return w.finalize(b.cipherText||"")}}},30:function(o,l,s){s.d(l,{q:function(){return p}});var a,u=s(9456),h=(a=function(g,f){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,_){v.__proto__=_}||function(v,_){for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&(v[w]=_[w])})(g,f)},function(g,f){function v(){this.constructor=g}a(g,f),g.prototype=f===null?Object.create(f):(v.prototype=f.prototype,new v)}),p=function(g){function f(v){var _=g.call(this,v)||this;return _.U=1,_}return h(f,g),f.prototype.un=function(){return this.cn(!0)},f}(u.t)},1232:function(o,l,s){s.d(l,{w:function(){return p}});var a=s(2505),u=s(3354),h=s(1773),p={stringify:function(g){var f=g.cipherText,v=g.salt;return f?v?new u.e([1398893684,1701076831]).concat(v).concat(f).toString(h.D):f.toString(h.D):""},parse:function(g){var f,v=h.D.parse(g),_=v.words;return _[0]===1398893684&&_[1]===1701076831&&(f=new u.e(_.slice(2,4)),_.splice(0,4),v.nSigBytes-=16),new a.Q({cipherText:v,salt:f})}}},2214:function(o,l,s){s.d(l,{s:function(){return g}});var a=s(3354),u=s(2505),h=s(7008),p=function(){return(p=Object.assign||function(f){for(var v,_=1,w=arguments.length;_<w;_++)for(var b in v=arguments[_])Object.prototype.hasOwnProperty.call(v,b)&&(f[b]=v[b]);return f}).apply(this,arguments)},g={execute:function(f,v,_,w,b){w||(w=a.e.random(8));var E=b&&b.kdfModule||h.E,S=b?{Hasher:b.kdfHasher,iterations:b.kdfIterations}:{},C=E.getKey(f,w,p(p({},S),{keySize:v+_})),R=new a.e(C.words.slice(v),4*_);return C.nSigBytes=4*v,new u.Q({key:C,iv:R,salt:w})}}},7008:function(o,l,s){s.d(l,{E:function(){return v}});var a,u=s(5561),h=s(6367),p=s(3354),g=s(9541),f=(a=function(_,w){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(b[S]=E[S])})(_,w)},function(_,w){function b(){this.constructor=_}a(_,w),_.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),v=function(_){function w(b){var E=_.call(this,b)||this;return E.gn=4,E.Sn=u.SHA256,E.En=1e4,b&&(E.gn=b.keySize!==void 0?b.keySize:E.gn,E.Sn=b.Hasher!==void 0?b.Hasher:E.Sn,E.En=b.iterations!==void 0?b.iterations:E.En),E}return f(w,_),w.prototype.compute=function(b,E){for(var S=new h.Hmac(new this.Sn,b),C=new p.e,R=new p.e([1]),A=C.words,I=R.words,G=this.gn,D=this.En;A.length<G;){var V=S.update(E).finalize(R);S.reset();for(var q=V.words,j=q.length,N=V,U=1;U<D;U++){N=S.finalize(N),S.reset();for(var X=N.words,Ee=0;Ee<j;Ee++)q[Ee]^=X[Ee]}C.concat(V),I[0]++}return C.nSigBytes=4*G,C},w.getKey=function(b,E,S){return new w(S).compute(b,E)},w}(g._)},9541:function(o,l,s){s.d(l,{_:function(){return a}});var a=function(){function u(h){this.O=h}return u.prototype.compute=function(h,p){throw new Error("Not implemented")},u.getKey=function(h,p,g){throw new Error("Not implemented")},u}()},1863:function(o,l,s){s.d(l,{T:function(){return a}});var a=function(){function u(h){this.O=h,this.Hn=h.cipher,this.vn=h.iv}return u.prototype.processBlock=function(h,p){},u.createEncryptor=function(h){throw new Error("Not implemented yet")},u.createDecryptor=function(h){throw new Error("Not implemented yet")},u}()},4344:function(o,l,s){s.d(l,{n:function(){return p}});var a,u=s(1863),h=(a=function(g,f){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,_){v.__proto__=_}||function(v,_){for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&(v[w]=_[w])})(g,f)},function(g,f){function v(){this.constructor=g}a(g,f),g.prototype=f===null?Object.create(f):(v.prototype=f.prototype,new v)}),p=function(g){function f(v){var _=g.call(this,v)||this;return _.Mn=[],_}return h(f,g),f.prototype.xorBlock=function(v,_,w){var b,E=this.vn;E?(b=E,this.vn=void 0):b=this.Mn;for(var S=0;S<w;S++)v[_+S]^=b[S]},f.createEncryptor=function(v){return new f.Encryptor(v)},f.createDecryptor=function(v){return new f.Decryptor(v)},f.Encryptor=function(v){function _(){return v!==null&&v.apply(this,arguments)||this}return h(_,v),_.prototype.processBlock=function(w,b){var E=this.Hn,S=E.blockSize;this.xorBlock(w,b,S),E.encryptBlock(w,b),this.Mn=w.slice(b,b+S)},_}(f),f.Decryptor=function(v){function _(){return v!==null&&v.apply(this,arguments)||this}return h(_,v),_.prototype.processBlock=function(w,b){var E=this.Hn,S=E.blockSize,C=w.slice(b,b+S);E.decryptBlock(w,b),this.xorBlock(w,b,S),this.Mn=C},_}(f),f}(u.T)},7919:function(o,l,s){s.d(l,{l:function(){return u}});var a=s(3354),u={pad:function(h,p){for(var g=4*p,f=g-h.nSigBytes%g,v=f<<24|f<<16|f<<8|f,_=[],w=0;w<f;w+=4)_.push(v);var b=new a.e(_,f);h.concat(b)},unpad:function(h){var p=255&h.words[h.nSigBytes-1>>>2];h.nSigBytes-=p}}},1756:function(o,l,s){s.d(l,{w:function(){return p}});var a,u=typeof navigator!="undefined"&&navigator.userAgent?navigator.userAgent.toLowerCase():"",h=(a=parseInt((/msie (\d+)/.exec(u)||[])[1],10),isNaN(a)?(a=parseInt((/trident\/.*; rv:(\d+)/.exec(u)||[])[1],10),!isNaN(a)&&a):a);function p(g,f){return h!==!1&&(!f||(g==="<"?h<f:g==="<="?h<=f:g===">"?h>f:g===">="?h>=f:h===f))}},1773:function(o,l,s){s.d(l,{D:function(){return g}});for(var a=s(3354),u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=[],p=0;p<u.length;p++)h[u.charCodeAt(p)]=p;var g={stringify:function(f){var v=f.words,_=f.nSigBytes;f.clamp();for(var w=[],b=0;b<_;b+=3)for(var E=(v[b>>>2]>>>24-b%4*8&255)<<16|(v[b+1>>>2]>>>24-(b+1)%4*8&255)<<8|v[b+2>>>2]>>>24-(b+2)%4*8&255,S=0;S<4&&b+.75*S<_;S++)w.push(u.charAt(E>>>6*(3-S)&63));var C=u.charAt(64);if(C)for(;w.length%4;)w.push(C);return w.join("")},parse:function(f){var v=f.length,_=u.charAt(64);if(_){var w=f.indexOf(_);w!==-1&&(v=w)}for(var b=[],E=0,S=0;S<v;S++)if(S%4){var C=h[f.charCodeAt(S-1)]<<S%4*2|h[f.charCodeAt(S)]>>>6-S%4*2;b[E>>>2]|=C<<24-E%4*8,E++}return new a.e(b,E)}}},5720:function(o,l,s){s.d(l,{p:function(){return u}});var a=s(3354),u={stringify:function(h){for(var p=h.nSigBytes,g=h.words,f=[],v=0;v<p;v++){var _=g[v>>>2]>>>24-v%4*8&255;f.push((_>>>4).toString(16)),f.push((15&_).toString(16))}return f.join("")},parse:function(h){var p=h.length;if(p%2!=0)throw new Error("Hex string count must be even");for(var g=[],f=0;f<p;f+=2)g[f>>>3]|=parseInt(h.substr(f,2),16)<<24-f%8*4;return new a.e(g,p/2)}}},8702:function(o,l,s){s.d(l,{m:function(){return u}});var a=s(3354),u={stringify:function(h){for(var p=h.nSigBytes,g=h.words,f=[],v=0;v<p;v++){var _=g[v>>>2]>>>24-v%4*8&255;f.push(String.fromCharCode(_))}return f.join("")},parse:function(h){for(var p=h.length,g=[],f=0;f<p;f++)g[f>>>2]|=(255&h.charCodeAt(f))<<24-f%4*8;return new a.e(g,p)}}},4768:function(o,l,s){s.d(l,{d:function(){return u}});var a=s(8702),u={stringify:function(h){try{return decodeURIComponent(escape(a.m.stringify(h)))}catch(p){throw new Error("Malformed UTF-8 data")}},parse:function(h){return a.m.parse(unescape(encodeURIComponent(h)))}}},2688:function(o,l,s){s.d(l,{Base64:function(){return h.D},EvpKDF:function(){return G},Hex:function(){return f.p},Latin1:function(){return g.m},OpenSSLKDF:function(){return S.s},PBKDF2:function(){return C.E},Utf16:function(){return E},Utf16BE:function(){return v},Utf16LE:function(){return b},Utf8:function(){return p.d},Word32Array:function(){return a.e},Word64:function(){return u.r},Word64Array:function(){return u.m}}),s(9054);var a=s(3354),u=s(6957),h=(s(1756),s(1773)),p=s(4768),g=s(8702),f=s(5720),v={stringify:function(D){for(var V=D.words,q=D.nSigBytes,j=[],N=0;N<q;N+=2){var U=V[N>>>2]>>>16-N%4*8&65535;j.push(String.fromCharCode(U))}return j.join("")},parse:function(D){for(var V=D.length,q=[],j=0;j<V;j++)q[j>>>1]|=D.charCodeAt(j)<<16-j%2*16;return new a.e(q,2*V)}};function _(D){return D<<8&4278255360|D>>>8&16711935}var w,b={stringify:function(D){for(var V=D.words,q=D.nSigBytes,j=[],N=0;N<q;N+=2){var U=_(V[N>>>2]>>>16-N%4*8&65535);j.push(String.fromCharCode(U))}return j.join("")},parse:function(D){for(var V=D.length,q=[],j=0;j<V;j++)q[j>>>1]|=_(D.charCodeAt(j)<<16-j%2*16);return new a.e(q,2*V)}},E=v,S=s(2214),C=s(7008),R=s(670),A=s(9541),I=(w=function(D,V){return(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,j){q.__proto__=j}||function(q,j){for(var N in j)Object.prototype.hasOwnProperty.call(j,N)&&(q[N]=j[N])})(D,V)},function(D,V){function q(){this.constructor=D}w(D,V),D.prototype=V===null?Object.create(V):(q.prototype=V.prototype,new q)}),G=function(D){function V(q){var j=D.call(this,q)||this;return j.gn=4,j.Sn=R.MD5,j.En=1,q&&(j.gn=q.keySize!==void 0?q.keySize:j.gn,j.Sn=q.Hasher!==void 0?q.Hasher:j.Sn,j.En=q.iterations!==void 0?q.iterations:j.En),j}return I(V,D),V.prototype.compute=function(q,j){for(var N,U=new this.Sn,X=new a.e,Ee=X.words,ue=this.gn,Se=this.En;Ee.length<ue;){N&&U.update(N),N=U.update(q).finalize(j),U.reset();for(var le=1;le<Se;le++)N=U.finalize(N),U.reset();X.concat(N)}return X.nSigBytes=4*ue,X},V.getKey=function(q,j,N){return new V(N).compute(q,j)},V}(A._)},9054:function(o,l,s){s.d(l,{M:function(){return u}});var a=s(1756),u=function(){if(typeof window!="undefined"){var h=window.crypto||window.msCrypto;if(!h){if((0,a.w)("<",11))return console.warn("IE <= 10 uses insecure random generator. Please consider to use IE11 or another modern browser"),function(){return Math.floor(512*Math.random())%256};throw new Error("Crypto module not found")}return function(){return h.getRandomValues(new Uint32Array(1))[0]}}return s.g!==void 0&&s.g.crypto?function(){return s.g.crypto.randomBytes(4).readInt32LE()}:function(){var p="crypt";return p+=String.fromCharCode(111),Cc(p).randomBytes(4).readInt32LE()}}()}},t={};function n(o){var l=t[o];if(l!==void 0)return l.exports;var s=t[o]={exports:{}};return i[o](s,s.exports,n),s.exports}n.d=function(o,l){for(var s in l)n.o(l,s)&&!n.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:l[s]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(o){if(typeof window=="object")return window}}(),n.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},n.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"kn",{value:!0})};var r={};return function(){n.r(r),n.d(r,{AES:function(){return A.AES},Base64:function(){return l.Base64},DES:function(){return I.DES},DES3:function(){return G.DES3},EvpKDF:function(){return l.EvpKDF},Hex:function(){return l.Hex},Hmac:function(){return u.Hmac},HmacMD5:function(){return h.HmacMD5},HmacSHA224:function(){return p.HmacSHA224},HmacSHA256:function(){return g.HmacSHA256},HmacSHA384:function(){return f.HmacSHA384},HmacSHA512:function(){return v.HmacSHA512},Latin1:function(){return l.Latin1},MD5:function(){return _.MD5},OpenSSLKDF:function(){return l.OpenSSLKDF},PBKDF2:function(){return l.PBKDF2},PasswordBasedCipher:function(){return a.E},RC4:function(){return q.RC4},RC4Drop:function(){return j.RC4Drop},RIPEMD160:function(){return D.RIPEMD160},Rabbit:function(){return V.Rabbit},SHA1:function(){return w.SHA1},SHA224:function(){return b.SHA224},SHA256:function(){return E.SHA256},SHA3:function(){return R.SHA3},SHA384:function(){return S.SHA384},SHA512:function(){return C.SHA512},SerializableCipher:function(){return s.D},Utf16:function(){return l.Utf16},Utf16BE:function(){return l.Utf16BE},Utf16LE:function(){return l.Utf16LE},Utf8:function(){return l.Utf8},Word32Array:function(){return l.Word32Array},Word64:function(){return l.Word64},Word64Array:function(){return l.Word64Array},formatter:function(){return F},mode:function(){return T},pad:function(){return L}});var o,l=n(2688),s=n(9109),a=n(5693),u=n(6367),h=n(3027),p=n(4105),g=n(980),f=n(5838),v=n(9902),_=n(670),w=n(3173),b=n(766),E=n(5561),S=n(6324),C=n(7491),R=n(3408),A=n(9691),I=n(9910),G=n(6739),D=n(7104),V=n(5187),q=n(4615),j=n(9639),N=n(4344),U=n(1863),X=(o=function(K,te){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,me){oe.__proto__=me}||function(oe,me){for(var Oe in me)Object.prototype.hasOwnProperty.call(me,Oe)&&(oe[Oe]=me[Oe])})(K,te)},function(K,te){function oe(){this.constructor=K}o(K,te),K.prototype=te===null?Object.create(te):(oe.prototype=te.prototype,new oe)}),Ee=function(K){function te(oe){var me=K.call(this,oe)||this;return me.Mn=[],me}return X(te,K),te.prototype.generateKeyStreamAndEncrypt=function(oe,me,Oe,qe){var lt,Ie=this.vn;Ie?(lt=Ie.slice(0),this.vn=void 0):lt=this.Mn,qe.encryptBlock(lt,0);for(var et=0;et<Oe;et++)oe[me+et]^=lt[et]},te.createEncryptor=function(oe){return new te.Encryptor(oe)},te.createDecryptor=function(oe){return new te.Decryptor(oe)},te.Encryptor=function(oe){function me(){return oe!==null&&oe.apply(this,arguments)||this}return X(me,oe),me.prototype.processBlock=function(Oe,qe){this.generateKeyStreamAndEncrypt(Oe,qe,this.Hn.blockSize,this.Hn),this.Mn=Oe.slice(qe,qe+this.Hn.blockSize)},me}(te),te.Decryptor=function(oe){function me(){return oe!==null&&oe.apply(this,arguments)||this}return X(me,oe),me.prototype.processBlock=function(Oe,qe){var lt=Oe.slice(qe,qe+this.Hn.blockSize);this.generateKeyStreamAndEncrypt(Oe,qe,this.Hn.blockSize,this.Hn),this.Mn=lt},me}(te),te}(U.T),ue=function(){var K=function(te,oe){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,Oe){me.__proto__=Oe}||function(me,Oe){for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&(me[qe]=Oe[qe])})(te,oe)};return function(te,oe){function me(){this.constructor=te}K(te,oe),te.prototype=oe===null?Object.create(oe):(me.prototype=oe.prototype,new me)}}(),Se=function(K){function te(oe){var me=K.call(this,oe)||this;return me.Bn=[],me}return ue(te,K),te.createEncryptor=function(oe){return new te.Encryptor(oe)},te.createDecryptor=function(oe){return new te.Decryptor(oe)},te.Encryptor=function(oe){function me(){return oe!==null&&oe.apply(this,arguments)||this}return ue(me,oe),me.prototype.processBlock=function(Oe,qe){var lt=this.Hn,Ie=lt.blockSize,et=this.vn,_t=this.Bn;et&&(_t=this.Bn=et.slice(0),this.vn=void 0);var gt=_t.slice(0);lt.encryptBlock(gt,0),_t[Ie-1]=_t[Ie-1]+1|0;for(var se=0;se<Ie;se++)Oe[qe+se]^=gt[se]},me}(te),te.Decryptor=te.Encryptor,te}(U.T),le=function(){var K=function(te,oe){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,Oe){me.__proto__=Oe}||function(me,Oe){for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&(me[qe]=Oe[qe])})(te,oe)};return function(te,oe){function me(){this.constructor=te}K(te,oe),te.prototype=oe===null?Object.create(oe):(me.prototype=oe.prototype,new me)}}(),ge=function(K){function te(oe){return K.call(this,oe)||this}return le(te,K),te.createEncryptor=function(oe){return new te.Encryptor(oe)},te.createDecryptor=function(oe){return new te.Decryptor(oe)},te.Encryptor=function(oe){function me(){return oe!==null&&oe.apply(this,arguments)||this}return le(me,oe),me.prototype.processBlock=function(Oe,qe){this.Hn.encryptBlock(Oe,qe)},me}(te),te.Decryptor=function(oe){function me(){return oe!==null&&oe.apply(this,arguments)||this}return le(me,oe),me.prototype.processBlock=function(Oe,qe){this.Hn.decryptBlock(Oe,qe)},me}(te),te}(U.T),Te=function(){var K=function(te,oe){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,Oe){me.__proto__=Oe}||function(me,Oe){for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&(me[qe]=Oe[qe])})(te,oe)};return function(te,oe){function me(){this.constructor=te}K(te,oe),te.prototype=oe===null?Object.create(oe):(me.prototype=oe.prototype,new me)}}(),ce=function(K){function te(oe){var me=K.call(this,oe)||this;return me.Dn=[],me}return Te(te,K),te.createEncryptor=function(oe){return new te.Encryptor(oe)},te.createDecryptor=function(oe){return new te.Decryptor(oe)},te.Encryptor=function(oe){function me(){return oe!==null&&oe.apply(this,arguments)||this}return Te(me,oe),me.prototype.processBlock=function(Oe,qe){var lt=this.Hn,Ie=lt.blockSize,et=this.vn,_t=this.Dn;et&&(_t=this.Dn=et.slice(0),this.vn=void 0),lt.encryptBlock(_t,0);for(var gt=0;gt<Ie;gt++)Oe[qe+gt]^=_t[gt]},me}(te),te.Decryptor=te.Encryptor,te}(U.T),xe={pad:function(K,te){var oe=K.nSigBytes,me=4*te,Oe=me-oe%me,qe=oe+Oe-1;K.clamp(),K.words[qe>>>2]|=Oe<<24-qe%4*8,K.nSigBytes+=Oe},unpad:function(K){var te=255&K.words[K.nSigBytes-1>>>2];K.nSigBytes-=te}},ke=n(3354),Me={pad:function(K,te){var oe=4*te,me=oe-K.nSigBytes%oe;K.concat(ke.e.random(me-1)).concat(new ke.e([me<<24],1))},unpad:function(K){var te=255&K.words[K.nSigBytes-1>>>2];K.nSigBytes-=te}},ee={pad:function(K,te){var oe=4*te;K.clamp(),K.nSigBytes+=oe-(K.nSigBytes%oe||oe)},unpad:function(K){for(var te=K.words,oe=K.nSigBytes-1;oe>=0;oe--)if(te[oe>>>2]>>>24-oe%4*8&255){K.nSigBytes=oe+1;break}}},de={pad:function(K,te){K.concat(new ke.e([2147483648],1)),ee.pad(K,te)},unpad:function(K){ee.unpad(K),K.nSigBytes-=1}},fe=n(7919),P={pad:function(K,te){},unpad:function(K){}},Z=n(1232),T={CBC:N.n,CFB:Ee,CTR:Se,ECB:ge,OFB:ce},L={AnsiX923:xe,ISO10126:Me,ISO97971:de,Pkcs7:fe.l,NoPadding:P,Zero:ee},F={OpenSSLFormatter:Z.w}}(),r}()})});var NC=ie((Wg,qg)=>{x();(function(i,t){typeof Wg=="object"&&typeof qg!="undefined"?qg.exports=t():typeof define=="function"&&define.amd?define(t):i.Splitting=t()})(Wg,function(){"use strict";var i=document,t=i.createTextNode.bind(i);function n(D,V,q,j){j!==void 0?D.setAttribute("data-"+j+"-index",q):D.style.setProperty(V,q)}function r(D,V){return D.appendChild(V)}function o(D,V,q,j){var N=i.createElement("span");return q&&(j?N.setAttribute("data-"+V,""):q.replace(/[^a-zA-Z0-9 ]/g,"").length>0?N.setAttribute("data-"+V,q.replace(/[^a-zA-Z0-9 ]/g,"")):N.setAttribute("data-"+V,""),N.textContent=q),D&&r(D,N)||N}function l(D,V){return D.getAttribute("data-"+V)}function s(D,V){return!D||D.length===0?[]:D.nodeName?[D]:[].slice.call(D[0].nodeName?D:(V||i).querySelectorAll(D))}function a(D,V){D&&D.some(V)}function u(D){return function(V){return D[V]}}function h(D,V,q){var j="--"+V,N=j+"-index";a(q,function(U,X){Array.isArray(U)?a(U,function(Ee){n(Ee,N,X,V)}):n(U,N,X,V)}),n(D,j+"-total",q.length)}var p={};function g(D,V,q){var j=q.indexOf(D);if(j===-1)q.unshift(D),a(p[D].depends,function(U){g(U,D,q)});else{var N=q.indexOf(V);q.splice(j,1),q.splice(N,0,D)}return q}function f(D,V,q,j){return{by:D,depends:V,key:q,split:j}}function v(D){return g(D,0,[]).map(u(p))}function _(D){p[D.by]=D}function w(D,V,q,j,N){D.normalize();var U=[],X=document.createDocumentFragment();j&&U.push(D.previousSibling);var Ee=[];return s(D.childNodes).some(function(ue){if(ue.tagName&&!ue.hasChildNodes()){Ee.push(ue);return}if(ue.tagName==="select"||ue.tagName==="input"||ue.tagName==="option"||ue.tagName==="textarea"||ue.tagName==="script"||ue.tagName==="maction"||ue.tagName==="math"||ue.tagName==="menclose"||ue.tagName==="merror"||ue.tagName==="mfenced"||ue.tagName==="mfrac"||ue.tagName==="mi"||ue.tagName==="mmultiscripts"||ue.tagName==="mn"||ue.tagName==="mo"||ue.tagName==="mover"||ue.tagName==="mpadded"||ue.tagName==="mphantom"||ue.tagName==="mroot"||ue.tagName==="mrow"||ue.tagName==="ms"||ue.tagName==="mspace"||ue.tagName==="msqrt"||ue.tagName==="mstyle"||ue.tagName==="msub"||ue.tagName==="msubsup"||ue.tagName==="msup"||ue.tagName==="mtable"||ue.tagName==="mtd"||ue.tagName==="mtext"||ue.tagName==="mtr"||ue.tagName==="munder"||ue.tagName==="munderover"||ue.tagName==="semantics"){Ee.push(ue);return}if(ue.childNodes&&ue.childNodes.length){Ee.push(ue),U.push.apply(U,w(ue,V,q,j,N));return}var Se=ue.wholeText||"";Se=Se.replace(/\s+/g," ");var le=Se.trim();le.length?(Se[0]===" "&&Ee.push(t(" ")),a(le.split(q),function(ge,Te){Te&&N&&Ee.push(o(X,"whitespace"," ",N));var ce=o(X,V,ge);U.push(ce),Ee.push(ce)}),Se[Se.length-1]===" "&&Ee.push(t(" "))):Se.length&&!le.length&&Ee.push(t(" "))}),a(Ee,function(ue){r(X,ue)}),D.innerHTML="",r(D,X),U}var b=0;function E(D,V){for(var q in V)D[q]=V[q];return D}var S="words",C=f(S,b,"word",function(D){return w(D,"word",/\s+/,0,1)});function R(D){D=D||{};var V=D.key;return s(D.target||"[data-splitting]").map(function(q){var j=q["\u{1F34C}"];if(!D.force&&j)return j;j=q["\u{1F34C}"]={el:q};var N=v(D.by||l(q,"splitting")||CHARS),U=E({},D);return a(N,function(X){if(X.split){var Ee=X.by,ue=(V?"-"+V:"")+X.key,Se=X.split(q,U,j);ue&&h(q,ue,Se),j[Ee]=Se,q.classList.add(Ee)}}),q.classList.add("splitting"),j})}function A(D,V,q){var j=s(V.matching||D.children,D),N={};return a(j,function(U){var X=Math.round(U[q]);(N[X]||(N[X]=[])).push(U)}),Object.keys(N).map(Number).sort(I).map(u(N))}function I(D,V){return D-V}var G=f("lines",[S],"line",function(D,V,q){return A(D,{matching:q[S]},"offsetTop")});return _(C),_(G),R})});var UC=ie(Cl=>{x();"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.ASTNodeTypes=void 0;var nH;(function(i){i.Document="Document",i.DocumentExit="Document:exit",i.Paragraph="Paragraph",i.ParagraphExit="Paragraph:exit",i.BlockQuote="BlockQuote",i.BlockQuoteExit="BlockQuote:exit",i.ListItem="ListItem",i.ListItemExit="ListItem:exit",i.List="List",i.ListExit="List:exit",i.Header="Header",i.HeaderExit="Header:exit",i.CodeBlock="CodeBlock",i.CodeBlockExit="CodeBlock:exit",i.HtmlBlock="HtmlBlock",i.HtmlBlockExit="HtmlBlock:exit",i.HorizontalRule="HorizontalRule",i.HorizontalRuleExit="HorizontalRule:exit",i.Comment="Comment",i.CommentExit="Comment:exit",i.ReferenceDef="ReferenceDef",i.ReferenceDefExit="ReferenceDef:exit",i.Str="Str",i.StrExit="Str:exit",i.Break="Break",i.BreakExit="Break:exit",i.Emphasis="Emphasis",i.EmphasisExit="Emphasis:exit",i.Strong="Strong",i.StrongExit="Strong:exit",i.Html="Html",i.HtmlExit="Html:exit",i.Link="Link",i.LinkExit="Link:exit",i.Image="Image",i.ImageExit="Image:exit",i.Code="Code",i.CodeExit="Code:exit",i.Delete="Delete",i.DeleteExit="Delete:exit"})(nH=Cl.ASTNodeTypes||(Cl.ASTNodeTypes={}))});var qC=ie(xl=>{x();"use strict";function fh(i,t){return i<t}function iH(i,t,n){return n===void 0&&(n=fh),function(){for(var r=i.length,o=0;r;){var l=r>>>1,s=o+l;n(t,i[s])?r=l:(o=s+1,r-=l+1)}return o}()}function WC(i,t,n){return n===void 0&&(n=fh),function(){for(var r=i.length,o=0;r;){var l=r>>>1,s=o+l;n(i[s],t)?(o=s+1,r-=l+1):r=l}return o}()}function rH(i,t,n){return n===void 0&&(n=fh),function(){var r=WC(i,t,n);return r!==i.length&&!n(t,i[r])}()}xl.compare=fh;xl.lowerBound=WC;xl.upperBound=iH;xl.binarySearch=rH});var GC=ie(ph=>{x();"use strict";var oH=function(i,t,n){t&&Object.defineProperties(i,t),n&&Object.defineProperties(i.prototype,n)},sH=qC().upperBound,zC=function(t,n){this.line=t,this.column=n};ph.Position=zC;var VC=function(t,n){this.start=t,this.end=n};ph.SourceLocation=VC;var aH=function(){var i=function(n){this.indice=[0];var r=/[\r\n\u2028\u2029]/g,o=n.length;for(r.lastIndex=0;;){var l=r.exec(n);if(!l)break;var s=l.index;n.charCodeAt(s)===13&&n.charCodeAt(s+1)===10&&(s+=1);var a=s+1;if(o<a)break;this.indice.push(a),r.lastIndex=a}};return i.prototype.locationToRange=function(t){return[this.positionToIndex(t.start),this.positionToIndex(t.end)]},i.prototype.rangeToLocation=function(t){return new VC(this.indexToPosition(t[0]),this.indexToPosition(t[1]))},i.prototype.positionToIndex=function(t){var n=this.indice[t.line-1];return n+t.column},i.prototype.indexToPosition=function(t){var n=sH(this.indice,t);return new zC(n,t-this.indice[n-1])},oH(i,null,{line:{get:function(){return this.indice.length}}}),i}();ph.default=aH});var KC=ie((eq,JC)=>{x();"use strict";var lH=GC().default;JC.exports=lH});var XC=ie(ua=>{x();"use strict";var cH=ua&&ua.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(ua,"__esModule",{value:!0});ua.SourceCode=void 0;var YC=cH(KC()),uH=function(){function i(t){if(this.index=0,this.contexts=[],this.contextRanges=[],typeof t=="string")this.textCharacters=t.split(""),this.source=new YC.default(t),this.startOffset=0,this.firstChildPadding=0;else{this.sourceNode=t,this.startOffset=this.sourceNode.range[0],this.index=this.startOffset;var n=Array.from(new Array(this.sourceNode.loc.start.line-1)).fill(`
|
|
69
|
-
`),r=Array.from(new Array(this.startOffset-n.length)).fill("\u222F");this.textCharacters=r.concat(n,t.raw.split("")),this.source=new YC.default(this.textCharacters.join("")),this.sourceNode.children[0]?this.firstChildPadding=this.sourceNode.children[0].range[0]-this.startOffset:this.firstChildPadding=0}}return i.prototype.markContextRange=function(t){this.contextRanges.push(t)},i.prototype.isInContextRange=function(){var t=this.offset;return this.contextRanges.some(function(n){return n[0]<=t&&t<n[1]})},i.prototype.enterContext=function(t){this.contexts.push(t)},i.prototype.isInContext=function(t){return t?this.contexts.some(function(n){return n===t}):this.contexts.length>0},i.prototype.leaveContext=function(t){var n=this.contexts.lastIndexOf(t);n!==-1&&this.contexts.splice(n,1)},Object.defineProperty(i.prototype,"offset",{get:function(){return this.index+this.firstChildPadding},enumerable:!1,configurable:!0}),i.prototype.now=function(){var t=this.offset,n=this.source.indexToPosition(t);return{line:n.line,column:n.column,offset:t}},Object.defineProperty(i.prototype,"hasEnd",{get:function(){return this.read()===!1},enumerable:!1,configurable:!0}),i.prototype.read=function(t){t===void 0&&(t=0);var n=this.offset+t;return n<this.startOffset?!1:0<=n&&n<this.textCharacters.length?this.textCharacters[n]:!1},i.prototype.readNode=function(t){if(t===void 0&&(t=0),!this.sourceNode)return!1;var n=this.offset+t;if(n<this.startOffset)return!1;var r=this.sourceNode.children.filter(function(o){return o.range[0]<=n&&n<o.range[1]});return r.length>0?r[r.length-1]:!1},i.prototype.peek=function(){this.index+=1},i.prototype.peekNode=function(t){this.index+=t.range[1]-t.range[0]},i.prototype.seekNext=function(t){var n=this.now();t.seek(this);var r=this.now(),o=this.sliceRange(n.offset,r.offset);return{value:o,startPosition:n,endPosition:r}},i.prototype.sliceRange=function(t,n){return this.textCharacters.slice(t,n).join("")},i}();ua.SourceCode=uH});var ZC=ie(gh=>{x();"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.NewLineParser=void 0;var dH=function(){function i(){}return i.prototype.test=function(t){var n=t.read();return n?/[\r\n]/.test(n):!1},i.prototype.seek=function(t){for(;this.test(t);)t.peek()},i}();gh.NewLineParser=dH});var QC=ie(mh=>{x();"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.SpaceParser=void 0;var hH=function(){function i(){}return i.prototype.test=function(t){var n=t.read();return n?/\s/.test(n):!1},i.prototype.seek=function(t){for(;this.test(t);)t.peek()},i}();mh.SpaceParser=hH});var ex=ie(Zo=>{x();"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.SeparatorParser=Zo.DefaultOptions=void 0;Zo.DefaultOptions={separatorCharacters:[".","\uFF0E","\u3002","?","!","\uFF1F","\uFF01"]};var fH=function(){function i(t){this.options=t,this.separatorCharacters=t&&t.separatorCharacters?t.separatorCharacters:Zo.DefaultOptions.separatorCharacters}return i.prototype.test=function(t){if(t.isInContext()||t.isInContextRange())return!1;var n=t.read(),r=t.read(1);return!n||!this.separatorCharacters.includes(n)?!1:n==="."&&r?/[\s\t\r\n]/.test(r):!0},i.prototype.seek=function(t){for(;this.test(t);)t.peek()},i}();Zo.SeparatorParser=fH});var tx=ie(vh=>{x();"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.AnyValueParser=void 0;var pH=function(){function i(t){this.parsers=t.parsers,this.markers=t.markers}return i.prototype.test=function(t){return t.hasEnd?!1:this.parsers.every(function(n){return!n.test(t)})},i.prototype.seek=function(t){var n=t.readNode();if(!n){for(;this.test(t);)this.markers.forEach(function(o){return o.mark(t)}),t.peek();return}for(var r=function(){var o=t.offset;return n.range[0]<=o&&o<n.range[1]};r()&&this.test(t);)this.markers.forEach(function(o){return o.mark(t)}),t.peek()},i}();vh.AnyValueParser=pH});var nx=ie(yh=>{x();"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.English=void 0;yh.English={ABBREVIATIONS:["Adj.","Adm.","Adv.","Al.","Ala.","Alta.","Apr.","Arc.","Ariz.","Ark.","Art.","Assn.","Asst.","Attys.","Aug.","Ave.","Bart.","Bld.","Bldg.","Blvd.","Brig.","Bros.","Btw.","Cal.","Calif.","Capt.","Cl.","Cmdr.","Co.","Col.","Colo.","Comdr.","Con.","Conn.","Corp.","Cpl.","Cres.","Ct.","D.phil.","Dak.","Dec.","Del.","Dept.","Det.","Dist.","Dr.","Dr.phil.","Dr.philos.","Drs.","E.g.","Ens.","Esp.","Esq.","Etc.","Exp.","Expy.","Ext.","Feb.","Fed.","Fla.","Ft.","Fwy.","Fy.","Ga.","Gen.","Gov.","Hon.","Hosp.","Hr.","Hway.","Hwy.","I.e.","Ia.","Id.","Ida.","Ill.","Inc.","Ind.","Ing.","Insp.","Is.","Jan.","Jr.","Jul.","Jun.","Kan.","Kans.","Ken.","Ky.","La.","Lt.","Ltd.","Maj.","Man.","Mar.","Mass.","May.","Md.","Me.","Med.","Messrs.","Mex.","Mfg.","Mich.","Min.","Minn.","Miss.","Mlle.","Mm.","Mme.","Mo.","Mont.","Mr.","Mrs.","Ms.","Msgr.","Mssrs.","Mt.","Mtn.","Neb.","Nebr.","Nev.","No.","Nos.","Nov.","Nr.","Oct.","Ok.","Okla.","Ont.","Op.","Ord.","Ore.","P.","Pa.","Pd.","Pde.","Penn.","Penna.","Pfc.","Ph.","Ph.d.","Pl.","Plz.","Pp.","Prof.","Pvt.","Que.","Rd.","Rs.","Ref.","Rep.","Reps.","Res.","Rev.","Rt.","Sask.","Sec.","Sen.","Sens.","Sep.","Sept.","Sfc.","Sgt.","Sr.","St.","Supt.","Surg.","Tce.","Tenn.","Tex.","Univ.","Usafa.","U.S.","Ut.","Va.","V.","Ver.","Vs.","Vt.","Wash.","Wis.","Wisc.","Wy.","Wyo.","Yuk."],PREPOSITIVE_ABBREVIATIONS:["Adm.","Attys.","Brig.","Capt.","Cmdr.","Col.","Cpl.","Det.","Dr.","Gen.","Gov.","Ing.","Lt.","Maj.","Mr.","Mrs.","Ms.","Mt.","Messrs.","Mssrs.","Prof.","Ph.","Rep.","Reps.","Rev.","Sen.","Sens.","Sgt.","St.","Supt.","V.","Vs."],EXCALAMATION_WORDS:["!X\u0169","!Kung","\u01C3\u02BCO\u01C3Kung","!Xuun","!Kung-Ekoka","\u01C3Hu","\u01C3Khung","\u01C3Ku","\u01C3ung","\u01C3Xo","\u01C3X\xFB","\u01C3Xung","\u01C3X\u0169","!Xun","Yahoo!","Y!J","Yum!"]}});var ix=ie(bh=>{x();"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.AbbrMarker=void 0;var gH=nx(),zg=function(i){return!i||i.length===0?!1:/^[A-Z]/.test(i)},Vg=function(i,t){return i.toLowerCase()===t.toLowerCase()},mH=function(){function i(t){t===void 0&&(t=gH.English),this.lang=t}return i.prototype.getWord=function(t,n){n===void 0&&(n=0);var r=/\s/,o=t.read(-1);if(o&&!r.test(o))return"";for(var l="",s=n,a="";(a=t.read(s))&&!r.test(a);)l+=a,s++;return l},i.prototype.getPrevWord=function(t){for(var n=/\s/,r=-1,o="";(o=t.read(r))&&n.test(o);)r--;for(;(o=t.read(r))&&!n.test(o);)r--;return this.getWord(t,r+1)},i.prototype.mark=function(t){if(!t.isInContextRange()){var n=this.getWord(t);if(n.length!==0){if(/^([a-zA-Z]\.){3,}$/.test(n))return t.markContextRange([t.offset,t.offset+n.length]);var r=this.lang.EXCALAMATION_WORDS.some(function(u){return Vg(u,n)});if(r)return t.markContextRange([t.offset,t.offset+n.length]);var o=this.lang.PREPOSITIVE_ABBREVIATIONS.some(function(u){return Vg(u,n)});if(o)return t.markContextRange([t.offset,t.offset+n.length]);var l=this.lang.ABBREVIATIONS.some(function(u){return Vg(u,n)}),s=this.getPrevWord(t),a=this.getWord(t,n.length+1);zg(s)&&/[A-Z]\./.test(n)&&zg(a)?t.markContextRange([t.offset,t.offset+n.length]):l&&!zg(a)&&t.markContextRange([t.offset,t.offset+n.length])}}},i}();bh.AbbrMarker=mH});var Gg=ie(da=>{x();"use strict";var vH=da&&da.__spreadArray||function(i,t){for(var n=0,r=t.length,o=i.length;n<r;n++,o++)i[o]=t[n];return i};Object.defineProperty(da,"__esModule",{value:!0});da.debugLog=void 0;function yH(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];W.env.DEBUG==="sentence-splitter"&&console.log.apply(console,vH(["sentence-splitter: "],i))}da.debugLog=yH});var rx=ie((cq,wh)=>{x();Object.values=Object.values?Object.values:function(i){var t=["[object String]","[object Object]","[object Array]","[object Function]"],n=Object.prototype.toString.call(i);if(i===null||typeof i=="undefined")throw new TypeError("Cannot convert undefined or null to object");if(~t.indexOf(n)){if(Object.keys)return Object.keys(i).map(function(l){return i[l]});var r=[];for(var o in i)i.hasOwnProperty(o)&&r.push(i[o]);return r}else return[]};typeof wh!="undefined"&&wh.exports&&(wh.exports=Object.values)});var sx=ie(ha=>{x();"use strict";var bH=ha&&ha.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(ha,"__esModule",{value:!0});ha.PairMaker=void 0;var ox=Gg(),wH=bH(rx()),_H=function(){function i(){var t;this.pairs=(t={},t['"']='"',t["\u300C"]="\u300D",t["\uFF08"]="\uFF09",t["("]=")",t["\u300E"]="\u300F",t["\u3010"]="\u3011",t["\u300A"]="\u300B",t),this.pairKeys=Object.keys(this.pairs),this.pairValues=wH.default(this.pairs)}return i.prototype.mark=function(t){var n=t.read();if(!!n)if(t.isInContext()){var l=this.pairValues.indexOf(n);if(l!==-1){var o=this.pairKeys[l];ox.debugLog("PairMaker -> leaveContext: "+this.pairValues[l]),t.leaveContext(o)}}else{var r=this.pairKeys.indexOf(n);if(r!==-1){var o=this.pairKeys[r];ox.debugLog("PairMaker -> enterContext: "+o),t.enterContext(o)}}},i}();ha.PairMaker=_H});var hx=ie(Zt=>{x();"use strict";var _h=Zt&&Zt.__assign||function(){return _h=Object.assign||function(i){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o])}return i},_h.apply(this,arguments)};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.createNode=Zt.createEmptySentenceNode=Zt.createTextNode=Zt.createPunctuationNode=Zt.createWhiteSpaceNode=Zt.splitAST=Zt.split=Zt.SplitParser=Zt.Syntax=void 0;var ax=UC(),EH=XC(),SH=ZC(),OH=QC(),CH=ex(),xH=tx(),TH=ix(),AH=sx(),Eh=Gg();Zt.Syntax={WhiteSpace:"WhiteSpace",Punctuation:"Punctuation",Sentence:"Sentence",Str:"Str"};var Jg=function(){function i(t){this.nodeList=[],this.results=[],this.source=new EH.SourceCode(t)}return Object.defineProperty(i.prototype,"current",{get:function(){return this.nodeList[this.nodeList.length-1]},enumerable:!1,configurable:!0}),i.prototype.pushNodeToCurrent=function(t){var n=this.current;n?n.children.push(t):this.results.push(t)},i.prototype.open=function(t){this.nodeList.push(t)},i.prototype.isOpened=function(){return this.nodeList.length>0},i.prototype.nextLine=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;return this.pushNodeToCurrent(cx(r,o,l)),l},i.prototype.nextSpace=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;this.pushNodeToCurrent(Tl("WhiteSpace",r,o,l))},i.prototype.nextValue=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;this.pushNodeToCurrent(dx(r,o,l))},i.prototype.close=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;o.offset!==l.offset&&this.pushNodeToCurrent(ux(r,o,l));var s=this.nodeList.pop();if(!!s&&s.children.length!==0){var a=s.children[0],u=this.source.now();s.loc={start:a.loc.start,end:Kg(u)};var h=this.source.sliceRange(a.range[0],u.offset);s.range=[a.range[0],u.offset],s.raw=h,this.results.push(s)}},i.prototype.toList=function(){return this.results},i}();Zt.SplitParser=Jg;var lx=function(i){i===void 0&&(i={});var t=new SH.NewLineParser,n=new OH.SpaceParser,r=new CH.SeparatorParser(i.SeparatorParser),o=new TH.AbbrMarker,l=new AH.PairMaker,s=new xH.AnyValueParser({parsers:[t,r],markers:[o,l]});return{newLine:t,space:n,separator:r,abbrMarker:o,anyValueParser:s}};function MH(i,t){for(var n=lx(t),r=n.newLine,o=n.space,l=n.separator,s=n.anyValueParser,a=new Jg(i),u=a.source;!u.hasEnd;)r.test(u)?a.nextLine(r):o.test(u)?a.nextSpace(o):l.test(u)?a.close(l):(a.isOpened()||a.open(Sh()),a.nextValue(s));return a.close(o),a.toList()}Zt.split=MH;function RH(i,t){for(var n=lx(t),r=n.newLine,o=n.space,l=n.separator,s=n.anyValueParser,a=new Jg(i),u=a.source;!u.hasEnd;){var h=u.readNode();if(!h)break;h.type===ax.ASTNodeTypes.Str?o.test(u)?(Eh.debugLog("space"),a.nextSpace(o)):l.test(u)?(Eh.debugLog("separator"),a.close(l)):r.test(u)?(Eh.debugLog("newline"),a.nextLine(r)):(a.isOpened()||(Eh.debugLog("open -> createEmptySentenceNode()"),a.open(Sh())),a.nextValue(s)):h.type===ax.ASTNodeTypes.Break?(a.pushNodeToCurrent(h),u.peekNode(h)):(a.isOpened()||a.open(Sh()),a.pushNodeToCurrent(h),u.peekNode(h))}return a.close(o),_h(_h({},i),{children:a.toList()})}Zt.splitAST=RH;function cx(i,t,n){return Tl("WhiteSpace",i,t,n)}Zt.createWhiteSpaceNode=cx;function ux(i,t,n){return Tl("Punctuation",i,t,n)}Zt.createPunctuationNode=ux;function dx(i,t,n){return Tl("Str",i,t,n)}Zt.createTextNode=dx;function Sh(){return{type:"Sentence",raw:"",loc:{start:{column:NaN,line:NaN},end:{column:NaN,line:NaN}},range:[NaN,NaN],children:[]}}Zt.createEmptySentenceNode=Sh;function Tl(i,t,n,r){return{type:i,raw:t,value:t,loc:{start:Kg(n),end:Kg(r)},range:[n.offset,r.offset]}}Zt.createNode=Tl;function Kg(i){return{line:i.line,column:i.column}}});var HH={};$k(HH,{Link:()=>Sl,build:()=>DH,default:()=>NH});x();x();x();var Hw=At(Nw()),jw=At(Nn());x();var Dw=At(Nn());function ju(i,t){return Dw.TaJson.deserialize(i,t)}var Jr=class extends Hw.Publication{static async fromUrl(t){let r=await(await fetch(t.href,{credentials:"same-origin"})).json(),o=ju(r,Jr);return o.manifestUrl=t,o}get readingOrder(){return this.Spine}get tableOfContents(){return this.sample?.isSampleRead&&this.positions?.length>0?this.limitedTOC():this.TOC}limitedTOC(){function t(r){for(let o=0;o<r.Children.length;o++){let l=r.Children[o];l.Href=void 0,l.Children&&t(l)}}return this.TOC.map(r=>{if(r.Href){let o=this.positionsByHref(this.getRelativeHref(r.Href));if(o?.length>0){let l=o[0];Math.round(l.locations.totalProgression*100)<=this.sample?.limit||(r.Href=void 0,r.Children&&t(r))}}return r})}get landmarks(){return this.Landmarks}get pageList(){return this.PageList}get isFixedLayout(){return this.Metadata.Rendition?.Layout==="fixed"}get isReflowable(){return!this.isFixedLayout}get layout(){return this.isFixedLayout?"fixed":"reflowable"}get hasMediaOverlays(){return this.readingOrder?this.readingOrder.filter(t=>t.Properties?.MediaOverlay).length>0:!1}getStartLink(){return this.readingOrder.length>0?this.readingOrder[0]:null}getPreviousSpineItem(t){let n=this.getSpineIndex(t);return n!==null&&n>0?this.readingOrder[n-1]:null}getNextSpineItem(t){let n=this.getSpineIndex(t);return n!==null&&n<this.readingOrder.length-1?this.readingOrder[n+1]:null}getSpineItem(t){let n=this.getSpineIndex(t);return n!==null?this.readingOrder[n]:null}getSpineIndex(t){return this.readingOrder.findIndex(n=>n.Href&&this.getAbsoluteHref(n.Href)===t)}getAbsoluteHref(t){return new URL(t,this.manifestUrl.href).href}getRelativeHref(t){let n=this.manifestUrl.href.replace("/manifest.json",""),r=t.replace(n,"");return r.indexOf("#")>0&&(r=r.slice(0,r.indexOf("#"))),r.charAt(0)==="/"&&(r=r.substring(1)),r}getTOCItemAbsolute(t){let n=this.getAbsoluteHref(t),r=(l,s)=>{for(let a=0;a<s.length;a++){let u=s[a];if(u.Href){let h=u.Href.indexOf("#")!==-1?u.Href.slice(0,u.Href.indexOf("#")):u.Href;if(this.getAbsoluteHref(h)===l)return u}if(u.Children){let h=r(l,u.Children);if(h!==null)return h}}return null},o=r(n,this.tableOfContents);return o===null&&(o=r(n,this.readingOrder)),o}getTOCItem(t){let n=(o,l)=>{for(let s=0;s<l.length;s++){let a=l[s];if(a.Href&&this.getAbsoluteHref(a.Href)===o)return a;if(a.Children){let u=n(o,a.Children);if(u!==null)return u}}return null},r=n(t,this.tableOfContents);if(r===null&&(r=n(t,this.readingOrder)),r===null&&t.indexOf("#")!==-1){let o=t.slice(0,t.indexOf("#"));r=n(o,this.tableOfContents),r===null&&(r=n(o,this.readingOrder))}return r}positionsByHref(t){let n=decodeURI(t)??"";return this.positions?.filter(r=>n.includes(r.href))}async autoGeneratePositions(t=rB){let n=0,r=0,o=[];for(let s of this.readingOrder)if(this.isFixedLayout){let a={href:s.Href,locations:{progression:0,position:n+1},type:s.TypeLink};o.push(a),n=n+1}else{let a=this.getAbsoluteHref(s.Href),u=await t(a);s.contentLength=u,r+=u;let p=Math.max(1,Math.ceil(u/1024));for(let g=0;g<p;g++){let f={href:s.Href,locations:{progression:g/p,position:n+(g+1)},type:s.TypeLink};o.push(f)}n=n+p}var l=0;if(this.isReflowable)for(let s of this.readingOrder){if(!s.contentLength){console.error("Link is missing contentLength",s);return}s.contentWeight=100/r*s.contentLength,l=l+s.contentWeight}for(let s of o){let a=o.filter(h=>h.href===decodeURI(s.href)),u=Math.ceil(s.locations.progression*(a.length-1));s.locations.totalProgression=(s.locations.position-1)/o.length,s.locations.remainingPositions=Math.abs(u-(a.length-1)),s.locations.totalRemainingPositions=Math.abs(s.locations.position-1-(o.length-1))}this.positions=o}async fetchPositionsFromService(t){let r=await(await fetch(t)).json();this.positions=r.positions}async fetchWeightsFromService(t){if(this.isFixedLayout){console.warn("Not fetching weights from service for fixed layout publication.");return}let r=await(await fetch(t)).json();this.readingOrder.forEach(o=>{o.contentWeight=r[o.Href]})}};Jr=xc([(0,jw.JsonObject)()],Jr);var rB=async i=>(await(await fetch(i)).blob()).size;x();x();var ks=class{json(){return JSON.stringify(this)}},Fw=class extends ks{constructor(t,n,r){super();this.value=t,this.ref=n,this.name=r}toString(){return this.value}},$w=class extends ks{constructor(t,n,r){super();this.value=t,this.ref=n,this.name=r}toString(){return this.value}toJson(){return JSON.parse(this.value)}},Uw=class extends ks{constructor(t,n,r,o){super();this.value=t,this.values=n,this.ref=r,this.name=o}toString(){return this.values[this.value]}},Ww=class extends ks{constructor(t,n,r,o,l,s,a){super();this.value=t,this.min=n,this.max=r,this.step=o,this.suffix=l,this.ref=s,this.name=a}toString(){return this.value.toString()+this.suffix}increment(){this.value<=this.max&&(this.value+=this.step)}decrement(){this.value>=this.min&&(this.value-=this.step)}},Fa=class extends ks{constructor(t,n,r,o,l){super();this.value=r,this.onValue=t,this.offValue=n,this.ref=o,this.name=l}toString(){return this.value?this.onValue:this.offValue}switch(){this.value=!this.value}},Or=class{constructor(){this.properties=[]}addIncremental(t,n,r,o,l,s,a){this.properties.push(new Ww(t,n,r,o,l,s,a))}addStringable(t,n,r){this.properties.push(new Fw(t,n,r))}addJSONable(t,n,r){this.properties.push(new $w(t,n,r))}addSwitchable(t,n,r,o,l){this.properties.push(new Fa(t,n,r,o,l))}addEnumerable(t,n,r,o){this.properties.push(new Uw(t,n,r,o))}getByRef(t){let n=this.properties.filter(r=>r.ref===t);return n.length>0?n[0]:null}getByKey(t){let n=this.properties.filter(r=>r.key===t);return n.length>0?n[0]:null}};x();var li=class{},ne=li;ne.FONT_SIZE_REF="fontSize",ne.FONT_FAMILY_REF="fontFamily",ne.FONT_OVERRIDE_REF="fontOverride",ne.APPEARANCE_REF="appearance",ne.SCROLL_REF="scroll",ne.TEXT_ALIGNMENT_REF="textAlign",ne.COLUMN_COUNT_REF="colCount",ne.WORD_SPACING_REF="wordSpacing",ne.LETTER_SPACING_REF="letterSpacing",ne.PAGE_MARGINS_REF="pageMargins",ne.LINE_HEIGHT_REF="lineHeight",ne.FONT_SIZE_KEY="--USER__"+li.FONT_SIZE_REF,ne.FONT_FAMILY_KEY="--USER__"+li.FONT_FAMILY_REF,ne.FONT_OVERRIDE_KEY="--USER__"+li.FONT_OVERRIDE_REF,ne.APPEARANCE_KEY="--USER__"+li.APPEARANCE_REF,ne.SCROLL_KEY="--USER__"+li.SCROLL_REF,ne.TEXT_ALIGNMENT_KEY="--USER__"+li.TEXT_ALIGNMENT_REF,ne.COLUMN_COUNT_KEY="--USER__"+li.COLUMN_COUNT_REF,ne.WORD_SPACING_KEY="--USER__"+li.WORD_SPACING_REF,ne.LETTER_SPACING_KEY="--USER__"+li.LETTER_SPACING_REF,ne.PAGE_MARGINS_KEY="--USER__"+li.PAGE_MARGINS_REF,ne.LINE_HEIGHT_KEY="--USER__"+li.LINE_HEIGHT_REF;x();function Ae(i,t){return i.querySelector(t)}function Dt(i,t){let n=Ae(i,t);if(n)return n;throw new Error("required element "+t+" not found")}function oB(i,t){if(i===null)throw new Error("parent element is null");return i.querySelector(t)}function Ut(i,t){let n=oB(i,t);if(n)return n;throw new Error("required element "+t+" not found in iframe")}function Cn(i,t,n){i.setAttribute(t,n)}x();function qw(i,t){return new Promise(function(n){setTimeout(n.bind(null,t),i)})}var Y=!1;x();x();var sS=At(Ld()),Ys=class{constructor(t){this.getScrollingElement=t=>t.scrollingElement?t.scrollingElement:t.body;this.navigator=t}async handleFootnote(t,n){let r=t.getAttribute("href");if(r.indexOf("#")>0){let l=function(a){let u=document.location.href;return new URL(a,u).href},o=r.substring(r.indexOf("#")+1),s=l(r);s=s.substring(0,s.indexOf("#")),n.preventDefault(),n.stopPropagation(),await fetch(s).then(a=>a.text()).then(async a=>{let p=new DOMParser().parseFromString(a,"text/html").querySelector("#"+o);p&&(n.preventDefault(),n.stopPropagation(),this.showPopup(p,n))})}}showPopup(t,n){let r=this.navigator.iframes[0].contentDocument.getElementById("d2-popup");r&&r.parentElement.removeChild(r);let o=document.createElement("aside");o.id="d2-popup",o.className="d2-popup is-active";let l=document.createElement("div");l.className="d2-popup-wrapper",o.appendChild(l);let s=document.createElement("div");s.className="d2-popup-content",l.appendChild(s);let a=document.createElement("p");s.appendChild(a),typeof t=="string"?a.innerHTML=t:a.innerHTML=(0,sS.default)(t.innerHTML,{allowedTags:[],allowedAttributes:{}});let u=this.navigator.view.isPaginated(),h=this.getScrollingElement(this.navigator.iframes[0].contentDocument),p=u?h.scrollLeft:0,g=u?h.scrollTop:0,f=n.x+p,v=n.y+g;o.style.top=v+"px",u&&(o.style.left=f+"px"),this.navigator.iframes[0].contentDocument.body.appendChild(o);let _=this;this.navigator.iframes[0].contentWindow.onclick=function(w){n.target!==w.target&&o.parentElement&&(o.style.display="none",o.parentElement.removeChild(o),_.navigator.iframes[0].contentWindow.onclick=void 0)}}};function ye(i,t,n){i&&i.addEventListener(t,n,!0)}function $e(i,t,n){i&&i.removeEventListener(t,n,!0)}var Pd=class{constructor(t){this.onInternalLink=()=>{};this.onClickThrough=()=>{};this.checkForLink=t=>{let n=t.target;for(;n&&n.tagName.toLowerCase()!=="body";){if(n.tagName.toLowerCase()==="a"&&n.href)return n;n=n.parentElement}return null};this.isEpubInternal=t=>(Y&&console.log("clickedLink: ",t),((o,l)=>o.some(s=>!s.Rel?.includes("external")&&l.includes(s.Href)))(this.navigator.publication.readingOrder,t.pathname));this.handleLinks=async t=>{Y&&console.log("R2 Click Handler");let n=this.checkForLink(t);if(n){let r=window.location.protocol===n.protocol&&window.location.port===n.port&&window.location.hostname===n.hostname,o=this.isEpubInternal(n),l=n.href.indexOf("#");if(!r&&!o)window.open(n.href,"_blank"),t.preventDefault(),t.stopPropagation();else if(t.target.href=n.href,(r||o)&&l!==-1){let s=t.target;s?s.getAttribute("epub:type")==="noteref"?await this.popup.handleFootnote(s,t):this.onInternalLink(t):this.onInternalLink(t)}else(r||o)&&l===-1&&this.onInternalLink(t)}else this.onClickThrough(t)};this.navigator=t,this.popup=new Ys(this.navigator)}setupEvents(t){if(t!==null)t.addEventListener("click",this.handleLinks.bind(this));else throw"cannot setup events for null"}};x();x();function aS(){return Dt(document,"#iframe-wrapper").clientWidth}function Qr(){return Dt(document,"#iframe-wrapper").clientHeight}var cS=At(eo()),Id=class{constructor(t){this.layout="reflowable";this.USERSETTINGS="userSetting";this.sideMargin=20;this.height=0;this.attributes={margin:0};this.hasFixedScrollWidth=!1;this.store=t,this.isScrollMode()?(this.name="readium-scroll-on",this.label="Scrolling"):(this.name="readium-scroll-off",this.label="Paginated")}setMode(t){if(this.scrollMode=t,t===!0){this.name="readium-scroll-on",this.label="Scrolling";let n=Ut(this.iframe.contentDocument,"head");if(n){let o=Ae(n,"meta[name=viewport]");o&&o.remove()}Ut(this.iframe.contentDocument,"html").style.setProperty("--USER__scroll","readium-scroll-on"),this.setSize(),this.setIframeHeight(this.iframe)}else this.height=Qr()-40-this.attributes.margin,this.name="readium-scroll-off",this.label="Paginated",this.checkForFixedScrollWidth(),Ut(this.iframe.contentDocument,"html").style.setProperty("--USER__scroll","readium-scroll-off"),this.setSize();this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate()}start(){if(this.isScrollMode()){let t=Ut(this.iframe.contentDocument,"head");if(t){let n=Ae(t,"meta[name=viewport]");n&&n.remove()}this.setSize()}else{this.iframe.height="0",this.iframe.width="0",this.setSize();let t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1, maximum-scale=1",this.checkForFixedScrollWidth()}}stop(){this.iframe.height="0",this.iframe.width="0";let t=Ut(this.iframe.contentDocument,"body"),n=Array.prototype.slice.call(t.querySelectorAll("img"));for(let r of n)r.style.maxWidth=""}getCurrentPosition(){let t=Dt(document,"#iframe-wrapper");if(this.isScrollMode())return t.scrollTop/this.scrollingElement.scrollHeight;{let n=this.getColumnWidth(),r=this.getLeftColumnsWidth(),o=this.getRightColumnsWidth(),l=r+n+o;return r/l}}goToProgression(t){let n=Dt(document,"#iframe-wrapper");if(this.isScrollMode())n.scrollTop=this.scrollingElement.scrollHeight*t;else{let r=this.getColumnWidth(),o=this.getLeftColumnsWidth(),l=this.getRightColumnsWidth(),s=o+r+l,a=t*s,u=Math.round(a/r)*r;u>=s&&(u=u-r),this.setLeftColumnsWidth(u)}}goToCssSelector(t,n){var r=this.iframe.contentDocument.querySelector(t);this.goToElement(r,n)}goToFragment(t,n){let r=this.iframe.contentDocument.getElementById(t);this.goToElement(r,n)}snap(t,n){if(t&&!this.isScrollMode()){let r=t.style.height;t.style.height="0";let o=this.getColumnWidth(),l=this.getLeftColumnsWidth()+t.getBoundingClientRect().left,s=Math.floor(l/o)*o;t.style.height=r,this.setLeftColumnsWidth(s),this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate(0)}}goToElement(t,n){let r=Dt(document,"#iframe-wrapper");if(this.isScrollMode())t&&(r.scrollTop=t.offsetTop);else if(t){let o=t.style.height;t.style.height="0";let l=t.getBoundingClientRect().left,s=this.getColumnWidth(),a=this.scrollingElement.scrollLeft-s,u=Math.ceil(l/s)*s+a;if(n){let h=this.getLeftColumnsWidth();u=Math.ceil(l/s)*s+h}t.style.height=o,this.setLeftColumnsWidth(u),this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate(200)}}atStart(){return this.isScrollMode()?Dt(document,"#iframe-wrapper").scrollTop===0:this.getLeftColumnsWidth()<=0}atEnd(){if(this.isScrollMode()){let t=Dt(document,"#iframe-wrapper");return Math.ceil(this.scrollingElement.scrollHeight-t.scrollTop)-1<=Qr()}else return Math.floor(this.getRightColumnsWidth())<=0}goToPreviousPage(){let t=Dt(document,"#iframe-wrapper");if(this.isScrollMode()){let n=t.scrollTop,r=this.getScreenHeight(),o=n-r;o>=0?t.scrollTop=o:t.scrollTop=0}else{let n=this.getLeftColumnsWidth(),r=this.getColumnWidth(),o=n-r;o>=0?this.setLeftColumnsWidth(o):this.setLeftColumnsWidth(0),this.delegate.checkResourcePosition()}this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate()}goToNextPage(){let t=Dt(document,"#iframe-wrapper");if(this.isScrollMode()){let n=t.scrollTop,r=this.getScreenHeight(),o=this.scrollingElement.scrollHeight,l=n+r;l<o?t.scrollTop=l:t.scrollTop=o}else{let n=this.getLeftColumnsWidth(),r=this.getColumnWidth(),o=this.scrollWidth,l=n+r;l<o?this.setLeftColumnsWidth(l):this.setLeftColumnsWidth(o),this.delegate.checkResourcePosition()}this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate()}getCurrentPage(){return this.isScrollMode()?0:this.getCurrentPosition()*this.getPageCount()+1}getPageCount(){if(this.isScrollMode())return 0;{let t=this.getColumnWidth();return this.scrollWidth/t}}isPaginated(){return this.iframe?Ut(this.iframe.contentDocument,"html").style.getPropertyValue("--USER__scroll")==="readium-scroll-on"===!1:this.scrollMode===!1}isScrollMode(){return this.iframe&&this.iframe.contentDocument?Ut(this.iframe.contentDocument,"html").style.getPropertyValue("--USER__scroll")==="readium-scroll-on"===!0:this.scrollMode===!0}async getProperty(t){let n=await this.store.get(this.USERSETTINGS);if(n){let r=JSON.parse(n);return r=r.filter(o=>o.name===t),r.length===0?null:r[0]}return null}getScreenHeight(){return Dt(document,"#iframe-wrapper").clientHeight}setIframeHeight(t){(0,cS.debounce)(r=>{if(r){let o=r.contentWindow.document.body,l=r.contentWindow.document.documentElement,s=Math.max(o.scrollHeight,o.offsetHeight,l.clientHeight,l.scrollHeight,l.offsetHeight),a=Qr()-this.attributes.margin;r.height=Math.max(a,s)+"px"}},200)(t)}checkForFixedScrollWidth(){let t=Ut(this.iframe.contentDocument,"body"),n=t.scrollWidth;this.hasFixedScrollWidth=t.scrollWidth===n}setSize(){if(this.iframe.width=aS()+"px",!this.scrollMode)this.iframe.contentDocument.documentElement.style.height=this.height+"px",this.iframe.height=this.height+"px";else{let t=this.iframe.contentWindow.document.documentElement;this.iframe.height=t.offsetHeight+"px"}}getLeftColumnsWidth(){return Math.ceil(this.scrollingElement.scrollLeft)}getRightColumnsWidth(){let t=this.getColumnWidth(),n=this.scrollWidth-t;if(this.hasFixedScrollWidth){let r=this.getLeftColumnsWidth();n=Math.max(0,n-r)}return n}getColumnWidth(){return this.scrollingElement.clientWidth}setLeftColumnsWidth(t){this.scrollingElement.scrollLeft=t}get scrollingElement(){return this.iframe.contentDocument.scrollingElement?this.iframe.contentDocument.scrollingElement:this.iframe.contentDocument.body}get scrollWidth(){let t=this.scrollingElement.scrollWidth,n=this.getColumnWidth();return Math.floor(t/n)*n}};x();var Bd=class{constructor(t){this.layout="fixed";this.sideMargin=20;this.height=0;this.attributes={margin:0}}start(){}stop(){}getCurrentPosition(){return 0}getScreenHeight(){return Dt(document,"#iframe-wrapper").clientHeight}goToProgression(t){}goToCssSelector(t,n){}goToFragment(t,n){}snap(t,n){}getCurrentPage(){return 0}getPageCount(){return 1}setSize(){}isPaginated(){return!0}isScrollMode(){return!1}};var Rt=class{constructor(t,n,r,o,l){this.USERSETTINGS="userSetting";this.fontSize=100;this.fontOverride=!1;this.fontFamily=0;this.appearance=0;this.verticalScroll=!0;this.textAlignment=0;this.columnCount=0;this.wordSpacing=0;this.letterSpacing=0;this.pageMargins=2;this.lineHeight=1;this.settingsChangeCallback=()=>{};this.settingsColumnsChangeCallback=()=>{};this.viewChangeCallback=()=>{};this.store=t,this.view=l==="fixed"?new Bd(this.store):new Id(this.store),this.headerMenu=n,this.api=r,this.injectables=o,this.injectables.forEach(s=>{s.type==="style"&&(s.fontFamily&&this.addFont(s.fontFamily),s.appearance&&this.addAppearance(s.appearance))})}async isPaginated(){return await this.getPropertyAndFallback("verticalScroll",ne.SCROLL_KEY)===!1}async isScrollMode(){return!await this.isPaginated()}static async create(t){let n=new this(t.store,t.headerMenu,t.api,t.injectables,t.layout);if(await n.initialise(),t.initialUserSettings){n.userProperties||(n.userProperties=n.getUserSettings());let r=t.initialUserSettings;r.verticalScroll!==void 0&&(n.verticalScroll=this.parseScrollSetting(r.verticalScroll),n.userProperties.getByRef(ne.SCROLL_REF).value=n.verticalScroll,await n.saveProperty(n.userProperties.getByRef(ne.SCROLL_REF)),Y&&console.log(n.verticalScroll)),r.appearance&&(n.appearance=Rt.appearanceValues.findIndex(o=>o===r.appearance),n.userProperties.getByRef(ne.APPEARANCE_REF).value=n.appearance,await n.saveProperty(n.userProperties.getByRef(ne.APPEARANCE_REF)),Y&&console.log(n.appearance)),r.fontSize&&(n.fontSize=r.fontSize,n.userProperties.getByRef(ne.FONT_SIZE_REF).value=n.fontSize,await n.saveProperty(n.userProperties.getByRef(ne.FONT_SIZE_REF)),Y&&console.log(n.fontSize)),r.fontFamily&&(n.fontFamily=Rt.fontFamilyValues.findIndex(o=>o===r.fontFamily),n.userProperties.getByRef(ne.FONT_FAMILY_REF).value=n.fontFamily,await n.saveProperty(n.userProperties.getByRef(ne.FONT_FAMILY_REF)),Y&&console.log(n.fontFamily),n.fontFamily!==0&&(n.fontOverride=!0)),r.textAlignment&&(n.textAlignment=Rt.textAlignmentValues.findIndex(o=>o===r.textAlignment),n.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value=n.textAlignment,await n.saveProperty(n.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF)),Y&&console.log(n.textAlignment)),r.columnCount&&(n.columnCount=Rt.columnCountValues.findIndex(o=>o===r.columnCount),n.userProperties.getByRef(ne.COLUMN_COUNT_REF).value=n.columnCount,await n.saveProperty(n.userProperties.getByRef(ne.COLUMN_COUNT_REF)),Y&&console.log(n.columnCount)),r.wordSpacing&&(n.wordSpacing=r.wordSpacing,n.userProperties.getByRef(ne.WORD_SPACING_REF).value=n.wordSpacing,await n.saveProperty(n.userProperties.getByRef(ne.WORD_SPACING_REF)),Y&&console.log(n.wordSpacing)),r.letterSpacing&&(n.letterSpacing=r.letterSpacing,n.userProperties.getByRef(ne.LETTER_SPACING_REF).value=n.letterSpacing,await n.saveProperty(n.userProperties.getByRef(ne.LETTER_SPACING_REF)),Y&&console.log(n.letterSpacing)),r.pageMargins&&(n.pageMargins=r.pageMargins,n.userProperties.getByRef(ne.PAGE_MARGINS_REF).value=n.pageMargins,await n.saveProperty(n.userProperties.getByRef(ne.PAGE_MARGINS_REF)),Y&&console.log(n.pageMargins)),r.lineHeight&&(n.lineHeight=r.lineHeight,n.userProperties.getByRef(ne.LINE_HEIGHT_REF).value=n.lineHeight,await n.saveProperty(n.userProperties.getByRef(ne.LINE_HEIGHT_REF)),Y&&console.log(n.lineHeight)),n.userProperties=n.getUserSettings(),await n.initialise()}return await n.initializeSelections(),new Promise(r=>r(n))}stop(){Y&&console.log("book settings stop")}async initialise(){this.appearance=await this.getPropertyAndFallback("appearance",ne.APPEARANCE_KEY),this.verticalScroll=await this.getPropertyAndFallback("verticalScroll",ne.SCROLL_KEY),this.fontFamily=await this.getPropertyAndFallback("fontFamily",ne.FONT_FAMILY_KEY),this.fontFamily!==0&&(this.fontOverride=!0),this.textAlignment=await this.getPropertyAndFallback("textAlignment",ne.TEXT_ALIGNMENT_KEY),this.columnCount=await this.getPropertyAndFallback("columnCount",ne.COLUMN_COUNT_KEY),this.fontSize=await this.getPropertyAndFallback("fontSize",ne.FONT_SIZE_KEY),this.wordSpacing=await this.getPropertyAndFallback("wordSpacing",ne.WORD_SPACING_KEY),this.letterSpacing=await this.getPropertyAndFallback("letterSpacing",ne.LETTER_SPACING_KEY),this.pageMargins=await this.getPropertyAndFallback("pageMargins",ne.PAGE_MARGINS_KEY),this.lineHeight=await this.getPropertyAndFallback("lineHeight",ne.LINE_HEIGHT_KEY),this.userProperties=this.getUserSettings()}async reset(){this.appearance=0,this.verticalScroll=!0,this.fontSize=100,this.fontOverride=!1,this.fontFamily=0,this.textAlignment=0,this.columnCount=0,this.wordSpacing=0,this.letterSpacing=0,this.pageMargins=2,this.lineHeight=1,this.userProperties=this.getUserSettings();let t=Ut(this.iframe.contentDocument,"html"),n=document.documentElement,r=Dt(n,"body");t.style.removeProperty(ne.FONT_SIZE_KEY),t.style.removeProperty(ne.WORD_SPACING_KEY),t.style.removeProperty(ne.LETTER_SPACING_KEY),t.style.removeProperty(ne.COLUMN_COUNT_KEY),t.style.removeProperty(ne.TEXT_ALIGNMENT_KEY),t.style.removeProperty(ne.LINE_HEIGHT_KEY),t.style.removeProperty(ne.PAGE_MARGINS_KEY),t.style.removeProperty(ne.APPEARANCE_KEY),Cn(n,"data-viewer-theme","day"),Cn(r,"data-viewer-theme","day"),t.style.removeProperty(ne.FONT_FAMILY_KEY),Cn(t,"data-viewer-font","publisher"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-off")}async initializeSelections(){this.headerMenu&&(this.settingsView=Ae(this.headerMenu,"#container-view-settings"))}async applyProperties(){this.userProperties=this.getUserSettings();let t=Ut(this.iframe.contentDocument,"html"),n=document.documentElement,r=Dt(n,"body");this.view.delegate.publication.isReflowable&&(await this.getProperty(ne.FONT_SIZE_KEY)&&t.style.setProperty(ne.FONT_SIZE_KEY,this.userProperties.getByRef(ne.FONT_SIZE_REF).toString()),await this.getProperty(ne.WORD_SPACING_KEY)&&t.style.setProperty(ne.WORD_SPACING_KEY,this.userProperties.getByRef(ne.WORD_SPACING_REF).toString()),await this.getProperty(ne.LETTER_SPACING_KEY)&&t.style.setProperty(ne.LETTER_SPACING_KEY,this.userProperties.getByRef(ne.LETTER_SPACING_REF).toString())),await this.getProperty(ne.COLUMN_COUNT_KEY)&&t.style.setProperty(ne.COLUMN_COUNT_KEY,this.userProperties.getByRef(ne.COLUMN_COUNT_REF).toString()),this.view.delegate.publication.isReflowable&&(await this.getProperty(ne.TEXT_ALIGNMENT_KEY)&&(this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).toString()==="auto"?t.style.removeProperty(ne.TEXT_ALIGNMENT_KEY):t.style.setProperty(ne.TEXT_ALIGNMENT_KEY,this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).toString())),await this.getProperty(ne.LINE_HEIGHT_KEY)&&t.style.setProperty(ne.LINE_HEIGHT_KEY,this.userProperties.getByRef(ne.LINE_HEIGHT_REF).toString()),await this.getProperty(ne.PAGE_MARGINS_KEY)&&t.style.setProperty(ne.PAGE_MARGINS_KEY,this.userProperties.getByRef(ne.PAGE_MARGINS_REF).toString())),await this.getProperty(ne.APPEARANCE_KEY)?(t.style.setProperty(ne.APPEARANCE_KEY,this.userProperties.getByRef(ne.APPEARANCE_REF).toString()),this.userProperties.getByRef(ne.APPEARANCE_REF).value===0?(Cn(n,"data-viewer-theme","day"),Cn(r,"data-viewer-theme","day")):this.userProperties.getByRef(ne.APPEARANCE_REF).value===1?(Cn(n,"data-viewer-theme","sepia"),Cn(r,"data-viewer-theme","sepia")):this.userProperties.getByRef(ne.APPEARANCE_REF).value===2&&(Cn(n,"data-viewer-theme","night"),Cn(r,"data-viewer-theme","night"))):(t.style.setProperty(ne.APPEARANCE_KEY,this.userProperties.getByRef(ne.APPEARANCE_REF).toString()),Cn(n,"data-viewer-theme","day"),Cn(r,"data-viewer-theme","day")),this.view.delegate.publication.isReflowable&&(await this.getProperty(ne.FONT_FAMILY_KEY)?(t.style.setProperty(ne.FONT_FAMILY_KEY,this.userProperties.getByRef(ne.FONT_FAMILY_REF).toString()),this.userProperties.getByRef(ne.FONT_FAMILY_REF).value===0?(Cn(t,"data-viewer-font","publisher"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-off")):this.userProperties.getByRef(ne.FONT_FAMILY_REF).value===1?(Cn(t,"data-viewer-font","serif"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-on")):this.userProperties.getByRef(ne.FONT_FAMILY_REF).value===2?(Cn(t,"data-viewer-font","sans"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-on")):(Cn(t,"data-viewer-font",this.userProperties.getByRef(ne.FONT_FAMILY_REF).toString()),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-on"))):(t.style.setProperty(ne.FONT_FAMILY_KEY,this.userProperties.getByRef(ne.FONT_FAMILY_REF).toString()),Cn(t,"data-viewer-font","publisher"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-off")),await this.getProperty(ne.SCROLL_KEY)?this.userProperties.getByRef(ne.SCROLL_REF).value===!0?t.style.setProperty("--USER__scroll","readium-scroll-on"):t.style.setProperty("--USER__scroll","readium-scroll-off"):t.style.setProperty("--USER__scroll","readium-scroll-on"),t.style.setProperty("--USER__advancedSettings","readium-advanced-on"),this.isScrollMode().then(o=>{this.view.setMode(o)}))}setIframe(t){this.iframe=t,this.view.iframe=t,this.settingsView&&this.renderControls(this.settingsView)}renderControls(t){ye(Ae(t,"ul"),"click",n=>{n.stopPropagation()})}onSettingsChange(t){this.settingsChangeCallback=t}onColumnSettingsChange(t){this.settingsColumnsChangeCallback=t}onViewChange(t){this.viewChangeCallback=t}async storeProperty(t){await this.updateUserSettings(),await this.saveProperty(t)}addAppearance(t){Rt.appearanceValues.includes(t)||Rt.appearanceValues.push(t)}initAddedAppearance(){this.applyProperties()}addFont(t){Rt.fontFamilyValues.includes(t)||Rt.fontFamilyValues.push(t)}initAddedFont(){this.applyProperties()}async updateUserSettings(){let t={fontFamily:Rt.fontFamilyValues[await this.userProperties.getByRef(ne.FONT_FAMILY_REF).value],fontSize:this.userProperties.getByRef(ne.FONT_SIZE_REF).value,appearance:Rt.appearanceValues[await this.userProperties.getByRef(ne.APPEARANCE_REF).value],textAlignment:Rt.textAlignmentValues[await this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value],columnCount:Rt.columnCountValues[await this.userProperties.getByRef(ne.COLUMN_COUNT_REF).value],wordSpacing:this.userProperties.getByRef(ne.WORD_SPACING_REF).value,letterSpacing:this.userProperties.getByRef(ne.LETTER_SPACING_REF).value,verticalScroll:this.userProperties.getByRef(ne.SCROLL_REF).value};this.api?.updateSettings&&this.api?.updateSettings(t).then(n=>{Y&&console.log("api updated user settings",t)})}getUserSettings(){let t=new Or;return t.addSwitchable("readium-font-on","readium-font-off",this.fontOverride,ne.FONT_OVERRIDE_REF,ne.FONT_OVERRIDE_KEY),t.addEnumerable(this.columnCount,Rt.columnCountValues,ne.COLUMN_COUNT_REF,ne.COLUMN_COUNT_KEY),t.addEnumerable(this.appearance,Rt.appearanceValues,ne.APPEARANCE_REF,ne.APPEARANCE_KEY),t.addIncremental(this.pageMargins,.5,4,.25,"",ne.PAGE_MARGINS_REF,ne.PAGE_MARGINS_KEY),t.addEnumerable(this.textAlignment,Rt.textAlignmentValues,ne.TEXT_ALIGNMENT_REF,ne.TEXT_ALIGNMENT_KEY),t.addEnumerable(this.fontFamily,Rt.fontFamilyValues,ne.FONT_FAMILY_REF,ne.FONT_FAMILY_KEY),t.addIncremental(this.fontSize,100,300,25,"%",ne.FONT_SIZE_REF,ne.FONT_SIZE_KEY),t.addIncremental(this.lineHeight,1,2,.25,"em",ne.LINE_HEIGHT_REF,ne.LINE_HEIGHT_KEY),t.addIncremental(this.wordSpacing,0,1,.25,"rem",ne.WORD_SPACING_REF,ne.WORD_SPACING_KEY),t.addIncremental(this.letterSpacing,0,.5,.0625,"em",ne.LETTER_SPACING_REF,ne.LETTER_SPACING_KEY),t.addSwitchable("readium-scroll-on","readium-scroll-off",this.verticalScroll,ne.SCROLL_REF,ne.SCROLL_KEY),t}async saveProperty(t){let n=await this.store.get(this.USERSETTINGS);if(n){let r=JSON.parse(n);r=r.filter(o=>o.name!==t.name),t.value!==void 0&&r.push(t),await this.store.set(this.USERSETTINGS,JSON.stringify(r))}else{let r=[];r.push(t),await this.store.set(this.USERSETTINGS,JSON.stringify(r))}return new Promise(r=>r(t))}async getProperty(t){let n=await this.store.get(this.USERSETTINGS);if(n){let r=JSON.parse(n);return r=r.filter(o=>o.name===t),r.length===0?null:r[0]}return null}async getPropertyAndFallback(t,n){return(await this.getProperty(n))?.value??this[t]}async resetUserSettings(){await this.store.remove(this.USERSETTINGS),await this.reset(),this.settingsChangeCallback()}get currentSettings(){return{appearance:Rt.appearanceValues[this.userProperties.getByRef(ne.APPEARANCE_REF).value],fontFamily:Rt.fontFamilyValues[this.userProperties.getByRef(ne.FONT_FAMILY_REF).value],textAlignment:Rt.textAlignmentValues[this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value],columnCount:Rt.columnCountValues[this.userProperties.getByRef(ne.COLUMN_COUNT_REF).value],verticalScroll:this.verticalScroll,fontSize:this.fontSize,wordSpacing:this.wordSpacing,letterSpacing:this.letterSpacing,pageMargins:this.pageMargins,lineHeight:this.lineHeight}}async applyUserSettings(t){if(t.appearance){let n;t.appearance==="day"||t.appearance==="readium-default-on"?n=Rt.appearanceValues[0]:t.appearance==="sepia"||t.appearance==="readium-sepia-on"?n=Rt.appearanceValues[1]:t.appearance==="night"||t.appearance==="readium-night-on"?n=Rt.appearanceValues[2]:n=t.appearance,this.appearance=Rt.appearanceValues.findIndex(r=>r===n),this.userProperties.getByRef(ne.APPEARANCE_REF).value=this.appearance,await this.storeProperty(this.userProperties.getByRef(ne.APPEARANCE_REF))}t.fontSize&&(this.fontSize=t.fontSize,this.userProperties.getByRef(ne.FONT_SIZE_REF).value=this.fontSize,await this.storeProperty(this.userProperties.getByRef(ne.FONT_SIZE_REF))),t.fontFamily&&(this.fontFamily=Rt.fontFamilyValues.findIndex(n=>n===t.fontFamily),this.userProperties.getByRef(ne.FONT_FAMILY_REF).value=this.fontFamily,await this.storeProperty(this.userProperties.getByRef(ne.FONT_FAMILY_REF))),t.letterSpacing&&(this.letterSpacing=t.letterSpacing,this.userProperties.getByRef(ne.LETTER_SPACING_REF).value=this.letterSpacing,await this.storeProperty(this.userProperties.getByRef(ne.LETTER_SPACING_REF))),t.wordSpacing&&(this.wordSpacing=t.wordSpacing,this.userProperties.getByRef(ne.WORD_SPACING_REF).value=this.wordSpacing,await this.storeProperty(this.userProperties.getByRef(ne.WORD_SPACING_REF))),t.columnCount&&(this.columnCount=Rt.columnCountValues.findIndex(n=>n===t.columnCount),this.userProperties.getByRef(ne.COLUMN_COUNT_REF).value=this.columnCount,await this.storeProperty(this.userProperties.getByRef(ne.COLUMN_COUNT_REF)),this.settingsColumnsChangeCallback()),t.textAlignment&&(this.textAlignment=Rt.textAlignmentValues.findIndex(n=>n===t.textAlignment),this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value=this.textAlignment,await this.storeProperty(this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF))),t.lineHeight&&(this.lineHeight=t.lineHeight,this.userProperties.getByRef(ne.LINE_HEIGHT_REF).value=this.lineHeight,await this.storeProperty(this.userProperties.getByRef(ne.LINE_HEIGHT_REF))),t.pageMargins&&(this.pageMargins=t.pageMargins,this.userProperties.getByRef(ne.PAGE_MARGINS_REF).value=this.pageMargins,await this.storeProperty(this.userProperties.getByRef(ne.PAGE_MARGINS_REF))),await this.applyProperties(),this.settingsChangeCallback(),setTimeout(async()=>{if(t.verticalScroll!==void 0){let n=this.view.getCurrentPosition();this.verticalScroll=Rt.parseScrollSetting(t.verticalScroll),this.userProperties.getByRef(ne.SCROLL_REF).value=this.verticalScroll,await this.saveProperty(this.userProperties.getByRef(ne.SCROLL_REF)),await this.applyProperties(),this.view.setMode(this.verticalScroll),this.view.goToProgression(n),this.viewChangeCallback()}},10)}static parseScrollSetting(t){switch(t){case!0:case"scroll":case"readium-scroll-on":return!0;case!1:case"paginated":case"readium-scroll-off":return!1}}async scroll(t){let n=this.view.getCurrentPosition();this.verticalScroll=t,this.userProperties.getByRef(ne.SCROLL_REF).value=this.verticalScroll,await this.saveProperty(this.userProperties.getByRef(ne.SCROLL_REF)),await this.applyProperties(),this.view.setMode(this.verticalScroll),this.view.goToProgression(n),this.viewChangeCallback()}async increase(t){t==="fontSize"?(this.userProperties.getByRef(ne.FONT_SIZE_REF).increment(),this.fontSize=this.userProperties.getByRef(ne.FONT_SIZE_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.FONT_SIZE_REF))):t==="letterSpacing"?(this.userProperties.getByRef(ne.LETTER_SPACING_REF).increment(),this.letterSpacing=this.userProperties.getByRef(ne.LETTER_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LETTER_SPACING_REF))):t==="wordSpacing"?(this.userProperties.getByRef(ne.WORD_SPACING_REF).increment(),this.wordSpacing=this.userProperties.getByRef(ne.WORD_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.WORD_SPACING_REF))):t==="lineHeight"&&(this.userProperties.getByRef(ne.LINE_HEIGHT_REF).increment(),this.lineHeight=this.userProperties.getByRef(ne.LINE_HEIGHT_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LINE_HEIGHT_REF))),await this.applyProperties(),this.settingsChangeCallback()}async decrease(t){t==="fontSize"?(this.userProperties.getByRef(ne.FONT_SIZE_REF).decrement(),this.fontSize=this.userProperties.getByRef(ne.FONT_SIZE_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.FONT_SIZE_REF))):t==="letterSpacing"?(this.userProperties.getByRef(ne.LETTER_SPACING_REF).decrement(),this.letterSpacing=this.userProperties.getByRef(ne.LETTER_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LETTER_SPACING_REF))):t==="wordSpacing"?(this.userProperties.getByRef(ne.WORD_SPACING_REF).decrement(),this.wordSpacing=this.userProperties.getByRef(ne.WORD_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.WORD_SPACING_REF))):t==="lineHeight"&&(this.userProperties.getByRef(ne.LINE_HEIGHT_REF).decrement(),this.wordSpacing=this.userProperties.getByRef(ne.LINE_HEIGHT_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LINE_HEIGHT_REF))),await this.applyProperties(),this.settingsChangeCallback()}},Fo=Rt;Fo.appearanceValues=["readium-default-on","readium-sepia-on","readium-night-on"],Fo.fontFamilyValues=["Original","serif","sans-serif"],Fo.textAlignmentValues=["auto","justify","start"],Fo.columnCountValues=["auto","1","2"];x();x();var di;(function(n){n[n.Bookmark=0]="Bookmark",n[n.Annotation=1]="Annotation"})(di||(di={}));x();x();x();x();x();x();var uS={stringify(i){let t=i.nSigBytes,n=i.words,r=[];for(let o=0;o<t;o++){let l=n[o>>>2]>>>24-o%4*8&255;r.push((l>>>4).toString(16)),r.push((l&15).toString(16))}return r.join("")},parse(i){let t=i.length;if(t%2!=0)throw new Error("Hex string count must be even");let n=[];for(let r=0;r<t;r+=2)n[r>>>3]|=parseInt(i.substr(r,2),16)<<24-r%8*4;return new Dn(n,t/2)}};x();x();var dS=typeof navigator!="undefined"&&navigator.userAgent?navigator.userAgent.toLowerCase():"",$o=(()=>{let i=parseInt((/msie (\d+)/.exec(dS)||[])[1],10);return isNaN(i)?(i=parseInt((/trident\/.*; rv:(\d+)/.exec(dS)||[])[1],10),isNaN(i)?!1:i):i})();function hS(i,t){return $o===!1?!1:t?i==="<"?$o<t:i==="<="?$o<=t:i===">"?$o>t:i===">="?$o>=t:$o===t:!0}function zN(){if(typeof window!="undefined"){let i=window.crypto||window.msCrypto;if(!i){if(hS("<",11))return console.warn("IE <= 10 uses insecure random generator. Please consider to use IE11 or another modern browser"),function(){return Math.floor(Math.random()*512)%256};throw new Error("Crypto module not found")}return function(){return i.getRandomValues(new Uint32Array(1))[0]}}else{if(typeof window!="undefined"&&window.crypto)return function(){return window.crypto.randomBytes(4).readInt32LE()};if(typeof Cc=="function")return function(){let t="crypt";return t+=String.fromCharCode(111),__non_webpack_require__(t).randomBytes(4).readInt32LE()}}throw new Error("Unable to find crypto module")}var fS=zN();var Dn=class{constructor(t,n){if(Array.isArray(t)||!t){this._words=Array.isArray(t)?t:[],this._nSignificantBytes=typeof n=="number"?n:this._words.length*4;return}let r;if(t instanceof ArrayBuffer)r=new Uint8Array(t);else if(t instanceof Uint8Array||t instanceof Int8Array||t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);else throw new Error("Invalid argument");if(!r){this._words=[],this._nSignificantBytes=0;return}let o=r.byteLength,l=[];for(let s=0;s<o;s++)l[s>>>2]|=r[s]<<24-s%4*8;this._words=l,this._nSignificantBytes=o}get nSigBytes(){return this._nSignificantBytes}set nSigBytes(t){this._nSignificantBytes=t}get words(){return this._words}toString(t){return t?t.stringify(this):uS.stringify(this)}toUint8Array(){let t=this._words,n=this._nSignificantBytes,r=new Uint8Array(n);for(let o=0;o<n;o++)r[o]=t[o>>>2]>>>24-o%4*8&255;return r}concat(t){let n=t.words.slice(),r=t.nSigBytes;if(this.clamp(),this._nSignificantBytes%4)for(let o=0;o<r;o++){let l=n[o>>>2]>>>24-o%4*8&255;this._words[this._nSignificantBytes+o>>>2]|=l<<24-(this._nSignificantBytes+o)%4*8}else for(let o=0;o<r;o+=4)this._words[this._nSignificantBytes+o>>>2]=n[o>>>2];return this._nSignificantBytes+=r,this}clamp(){let t=this._nSignificantBytes;this._words[t>>>2]&=4294967295<<32-t%4*8,this._words.length=Math.ceil(t/4)}clone(){return new Dn(this._words.slice(),this._nSignificantBytes)}static random(t){let n=[];for(let r=0;r<t;r+=4)n.push(fS());return new Dn(n,t)}};x();x();var U0={stringify(i){let t=i.nSigBytes,n=i.words,r=[];for(let o=0;o<t;o++){let l=n[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(l))}return r.join("")},parse(i){let t=i.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(i.charCodeAt(r)&255)<<24-r%4*8;return new Dn(n,t)}};var pS={stringify(i){try{return decodeURIComponent(escape(U0.stringify(i)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse(i){return U0.parse(unescape(encodeURIComponent(i)))}};var W0=class{constructor(t){this._minBufferSize=0,this._blockSize=0,this._props=t,this._data=t&&typeof t.data!="undefined"?t.data.clone():new Dn,this._nBytes=t&&typeof t.nBytes=="number"?t.nBytes:0}get blockSize(){return this._blockSize}reset(t,n){this._data=typeof t!="undefined"?t.clone():new Dn,this._nBytes=typeof n=="number"?n:0}_append(t){let n=typeof t=="string"?pS.parse(t):t;this._data.concat(n),this._nBytes+=n.nSigBytes}_process(t){let n,r=this._data.words,o=this._data.nSigBytes,l=this._blockSize,s=this._blockSize*4,a=o/s;t?a=Math.ceil(a):a=Math.max((a|0)-this._minBufferSize,0);let u=a*l,h=Math.min(u*4,o);if(u){for(let p=0;p<u;p+=l)this._doProcessBlock(r,p);n=r.splice(0,u),this._data.nSigBytes-=h}return new Dn(n,h)}_doProcessBlock(t,n){throw new Error("Not implemented")}};var q0=class extends W0{constructor(t){super(t);this._blockSize=512/32,this._props=t,t&&typeof t.blockSize=="number"&&(this._blockSize=t.blockSize),this.reset(t?t.data:void 0,t?t.nBytes:void 0)}get blockSize(){return this._blockSize}reset(t,n){super.reset.call(this,t,n),this._doReset()}update(t){return this._append(t),this._process(),this}finalize(t){return t&&this._append(t),this._doFinalize()}_doReset(){throw new Error("Not implemented")}_doFinalize(){throw new Error("Not implemented")}};var z0=[],gS=[];function VN(i){let t=Math.sqrt(i);for(let n=2;n<=t;n++)if(!(i%n))return!1;return!0}function mS(i){return(i-(i|0))*4294967296|0}(function(){let t=2,n=0;for(;n<64;)VN(t)&&(n<8&&(z0[n]=mS(Math.pow(t,1/2))),gS[n]=mS(Math.pow(t,1/3)),n++),t++})();var Uo=[],Mi=class extends q0{constructor(t){super(t);this._hash=new Dn(z0.slice(0)),this._props=t,t&&typeof t.hash!="undefined"&&(this._hash=t.hash.clone())}_doReset(){this._hash=new Dn(z0.slice(0))}_doProcessBlock(t,n){let r=this._hash.words,o=r[0],l=r[1],s=r[2],a=r[3],u=r[4],h=r[5],p=r[6],g=r[7];for(let f=0;f<64;f++){if(f<16)Uo[f]=t[n+f]|0;else{let C=Uo[f-15],R=(C<<25|C>>>7)^(C<<14|C>>>18)^C>>>3,A=Uo[f-2],I=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;Uo[f]=R+Uo[f-7]+I+Uo[f-16]}let v=u&h^~u&p,_=o&l^o&s^l&s,w=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),b=(u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25),E=g+b+v+gS[f]+Uo[f],S=w+_;g=p,p=h,h=u,u=a+E|0,a=s,s=l,l=o,o=E+S|0}r[0]=r[0]+o|0,r[1]=r[1]+l|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+u|0,r[5]=r[5]+h|0,r[6]=r[6]+p|0,r[7]=r[7]+g|0}_doFinalize(){let t=this._data.words,n=this._nBytes*8,r=this._data.nSigBytes*8;return t[r>>>5]|=128<<24-r%32,t[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),t[(r+64>>>9<<4)+15]=n,this._data.nSigBytes=t.length*4,this._process(),this._hash}clone(){let t={hash:this._hash,blockSize:this._blockSize,data:this._data,nBytes:this._nBytes};return new Mi(t)}static hash(t,n){return new Mi(n).finalize(t)}};var jd=At(eo());x();var rt;(function(l){l[l.Annotation=0]="Annotation",l[l.Search=1]="Search",l[l.ReadAloud=2]="ReadAloud",l[l.PageBreak=3]="PageBreak",l[l.Definition=4]="Definition"})(rt||(rt={}));x();var hi=!1;function Xs(i,t){let n=i.getClientRects();return GN(n,t)}function GN(i,t){let n=1,r=[];for(let u of i)r.push({bottom:u.bottom,height:u.height,left:u.left,right:u.right,top:u.top,width:u.width});let o=yS(r,n,t),l=QN(o,n),s=bS(l),a=2*2;for(let u=s.length-1;u>=0;u--){let h=s[u];if(!(h.width*h.height>a))if(s.length>1)hi&&console.log("CLIENT RECT: remove small"),s.splice(u,1);else{hi&&console.log("CLIENT RECT: remove small, but keep otherwise empty!");break}}return hi&&wS(s),hi&&console.log(`CLIENT RECT: reduced ${r.length} --> ${s.length}`),s}function Ri(i,t,n){return Math.abs(i-t)<=n}function JN(i,t){let n=Math.max(i.left,t.left),r=Math.min(i.right,t.right),o=Math.max(i.top,t.top),l=Math.min(i.bottom,t.bottom);return{bottom:l,height:Math.max(0,l-o),left:n,right:r,top:o,width:Math.max(0,r-n)}}function vS(i,t){let n=JN(t,i);if(n.height===0||n.width===0)return[i];let r=[];{let o={bottom:i.bottom,height:0,left:i.left,right:n.left,top:i.top,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}{let o={bottom:n.top,height:0,left:n.left,right:n.right,top:i.top,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}{let o={bottom:i.bottom,height:0,left:n.left,right:n.right,top:n.bottom,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}{let o={bottom:i.bottom,height:0,left:n.right,right:i.right,top:i.top,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}return r}function Nd(i,t,n,r){return(i.left<t||Ri(i.left,t,r))&&(i.right>t||Ri(i.right,t,r))&&(i.top<n||Ri(i.top,n,r))&&(i.bottom>n||Ri(i.bottom,n,r))}function KN(i,t,n){return Nd(i,t.left,t.top,n)&&Nd(i,t.right,t.top,n)&&Nd(i,t.left,t.bottom,n)&&Nd(i,t.right,t.bottom,n)}function YN(i,t){let n=Math.min(i.left,t.left),r=Math.max(i.right,t.right),o=Math.min(i.top,t.top),l=Math.max(i.bottom,t.bottom);return{bottom:l,height:l-o,left:n,right:r,top:o,width:r-n}}function V0(i,t,n){return(i.left<t.right||n>=0&&Ri(i.left,t.right,n))&&(t.left<i.right||n>=0&&Ri(t.left,i.right,n))&&(i.top<t.bottom||n>=0&&Ri(i.top,t.bottom,n))&&(t.top<i.bottom||n>=0&&Ri(t.top,i.bottom,n))}function yS(i,t,n){for(let r=0;r<i.length;r++)for(let o=r+1;o<i.length;o++){let l=i[r],s=i[o];if(l===s){hi&&console.log("mergeTouchingRects rect1 === rect2 ??!");continue}let a=Ri(l.top,s.top,t)&&Ri(l.bottom,s.bottom,t),u=Ri(l.left,s.left,t)&&Ri(l.right,s.right,t);if((u&&!n||a&&!u)&&V0(l,s,t)){hi&&console.log(`CLIENT RECT: merging two into one, VERTICAL: ${a} HORIZONTAL: ${u} (${n})`);let f=i.filter(_=>_!==l&&_!==s),v=YN(l,s);return f.push(v),yS(f,t,n)}}return i}function bS(i){for(let t=0;t<i.length;t++)for(let n=t+1;n<i.length;n++){let r=i[t],o=i[n];if(r===o){hi&&console.log("replaceOverlappingRects rect1 === rect2 ??!");continue}if(V0(r,o,-1)){let l=[],s,a,u=vS(r,o);if(u.length===1)l=u,s=r,a=o;else{let p=vS(o,r);u.length<p.length?(l=u,s=r,a=o):(l=p,s=o,a=r)}if(hi){let p=[];p.push(a),Array.prototype.push.apply(p,l),wS(p)}hi&&console.log(`CLIENT RECT: overlap, cut one rect into ${l.length}`);let h=i.filter(p=>p!==s);return Array.prototype.push.apply(h,l),bS(h)}}return i}function XN(i,t){return Math.max(0,Math.min(i.right,t.right)-Math.max(i.left,t.left))}function ZN(i,t){return Math.max(0,Math.min(i.bottom,t.bottom)-Math.max(i.top,t.top))}function QN(i,t){let n=new Set(i);for(let r of i){if(!(r.width>1&&r.height>1)){hi&&console.log("CLIENT RECT: remove tiny"),n.delete(r);continue}for(let l of i)if(r!==l&&!!n.has(l)&&KN(l,r,t)){hi&&console.log("CLIENT RECT: remove contained"),n.delete(r);break}}return Array.from(n)}function wS(i){let t=[];for(let n of i)for(let r of i){if(n===r)continue;let o=t.indexOf(n)>=0,l=t.indexOf(r)>=0;if((!o||!l)&&V0(n,r,-1)&&(o||t.push(n),l||t.push(r),hi)){console.log("CLIENT RECT: overlap ---"),console.log(`#1 TOP:${n.top} BOTTOM:${n.bottom} LEFT:${n.left} RIGHT:${n.right} WIDTH:${n.width} HEIGHT:${n.height}`),console.log(`#2 TOP:${r.top} BOTTOM:${r.bottom} LEFT:${r.left} RIGHT:${r.right} WIDTH:${r.width} HEIGHT:${r.height}`);let s=XN(n,r);console.log(`xOverlap: ${s}`);let a=ZN(n,r);console.log(`yOverlap: ${a}`)}}t.length&&hi&&console.log(`CLIENT RECT: overlaps ${t.length}`)}x();var rn=!1;function to(i,t){let n=i?i.getSelection():null;if(!n)return;if(n.isCollapsed){rn&&console.log("^^^ SELECTION COLLAPSED.");return}let r=n.toString(),o=r.trim().replace(/\n/g," ").replace(/\s\s+/g," ");if(o.length===0){rn&&console.log("^^^ SELECTION TEXT EMPTY.");return}if(!n.anchorNode||!n.focusNode)return;let l=n.rangeCount===1?n.getRangeAt(0):_S(n.anchorNode,n.anchorOffset,n.focusNode,n.focusOffset);if(!l||l.collapsed){rn&&console.log("$$$$$$$$$$$$$$$$$ CANNOT GET NON-COLLAPSED SELECTION RANGE?!");return}let s=tD(l);rn&&(s.startContainer!==l.startContainer&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: startContainer"),console.log(s.startContainer),console.log(l.startContainer)),s.startOffset!==l.startOffset&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: startOffset"),console.log(`${s.startOffset} !== ${l.startOffset}`)),s.endContainer!==l.endContainer&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: endContainer"),console.log(s.endContainer),console.log(l.endContainer)),s.endOffset!==l.endOffset&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: endOffset"),console.log(`${s.endOffset} !== ${l.endOffset}`)));let a=Mr(s,t);if(!a){rn&&console.log("^^^ SELECTION RANGE INFO FAIL?!");return}return{rangeInfo:a,cleanText:o,rawText:r,range:s}}function _S(i,t,n,r){try{let o=new Range;if(o.setStart(i,t),o.setEnd(n,r),!o.collapsed)return rn&&console.log(">>> createOrderedRange RANGE OK"),o;rn&&console.log(">>> createOrderedRange COLLAPSED ... RANGE REVERSE?");let l=new Range;if(l.setStart(n,r),l.setEnd(i,t),!l.collapsed)return rn&&console.log(">>> createOrderedRange RANGE REVERSE OK."),o;rn&&console.log(">>> createOrderedRange RANGE REVERSE ALSO COLLAPSED?!");return}catch(o){console.warn(o.message);return}}function Mr(i,t){let n=i.startContainer.nodeType===Node.ELEMENT_NODE,r=n?i.startContainer:i.startContainer.parentNode&&i.startContainer.parentNode.nodeType===Node.ELEMENT_NODE?i.startContainer.parentNode:void 0;if(!r)return;let o=n?-1:Array.from(r.childNodes).indexOf(i.startContainer);if(o<-1)return;let l=t(r),s=i.endContainer.nodeType===Node.ELEMENT_NODE,a=s?i.endContainer:i.endContainer.parentNode&&i.endContainer.parentNode.nodeType===Node.ELEMENT_NODE?i.endContainer.parentNode:void 0;if(!a)return;let u=s?-1:Array.from(a.childNodes).indexOf(i.endContainer);if(u<-1)return;let h=t(a),p=eD(i.startContainer,i.endContainer);if(!p){rn&&console.log("^^^ NO RANGE COMMON ANCESTOR?!");return}if(i.commonAncestorContainer){let g=i.commonAncestorContainer.nodeType===Node.ELEMENT_NODE?i.commonAncestorContainer:i.commonAncestorContainer.parentNode;g&&g.nodeType===Node.ELEMENT_NODE&&p!==g&&rn&&(console.log(">>>>>> COMMON ANCESTOR CONTAINER DIFF??!"),console.log(t(p)),console.log(t(g)))}return{endContainerChildTextNodeIndex:u,endContainerElementCssSelector:h,endOffset:i.endOffset,startContainerChildTextNodeIndex:o,startContainerElementCssSelector:l,startOffset:i.startOffset}}function ES(i,t){let n=i.querySelector(t.startContainerElementCssSelector);if(!n){rn&&console.log("^^^ convertRangeInfo NO START ELEMENT CSS SELECTOR?!");return}let r=n;if(t.startContainerChildTextNodeIndex>=0){if(t.startContainerChildTextNodeIndex>=n.childNodes.length){rn&&console.log("^^^ convertRangeInfo rangeInfo.startContainerChildTextNodeIndex >= startElement.childNodes.length?!");return}if(r=n.childNodes[t.startContainerChildTextNodeIndex],r.nodeType!==Node.TEXT_NODE){rn&&console.log("^^^ convertRangeInfo startContainer.nodeType !== Node.TEXT_NODE?!");return}}let o=i.querySelector(t.endContainerElementCssSelector);if(!o){rn&&console.log("^^^ convertRangeInfo NO END ELEMENT CSS SELECTOR?!");return}let l=o;if(t.endContainerChildTextNodeIndex>=0){if(t.endContainerChildTextNodeIndex>=o.childNodes.length){rn&&console.log("^^^ convertRangeInfo rangeInfo.endContainerChildTextNodeIndex >= endElement.childNodes.length?!");return}if(l=o.childNodes[t.endContainerChildTextNodeIndex],l.nodeType!==Node.TEXT_NODE){rn&&console.log("^^^ convertRangeInfo endContainer.nodeType !== Node.TEXT_NODE?!");return}}return _S(r,t.startOffset,l,t.endOffset)}function eD(i,t){if(i.nodeType===Node.ELEMENT_NODE&&i===t||i.nodeType===Node.ELEMENT_NODE&&i.contains(t))return i;if(t.nodeType===Node.ELEMENT_NODE&&t.contains(i))return t;let n=[],r=i.parentNode;for(;r&&r.nodeType===Node.ELEMENT_NODE;)n.push(r),r=r.parentNode;let o=[];for(r=t.parentNode;r&&r.nodeType===Node.ELEMENT_NODE;)o.push(r),r=r.parentNode;let l=n.find(s=>o.indexOf(s)>=0);return l||(l=o.find(s=>n.indexOf(s)>=0)),l}function tD(i){let t=i.cloneRange(),n=t.startContainer,r=t.startOffset,o=t.endContainer,l=t.endOffset;n.childNodes.length&&r>0&&(n=OS(n.childNodes[r-1]),r=n.length||0),l<o.childNodes.length&&(o=SS(o.childNodes[l]),l=0);let s=SS(n),a=OS(o);function u(h){if(h.childNodes.length)return!1;let p=h.length||0;return h===n&&r===p?!1:!(h===o&&l===0)}for(;s&&!u(s)&&s!==a;)s=nD(s);for(s===n?t.setStart(n,r):s!==null&&(s.nodeType===3?t.setStart(s,0):t.setStartBefore(s));a&&!u(a)&&a!==s;)a=iD(a);return a===o?t.setEnd(o,l):a!==null&&(a.nodeType===3?t.setEnd(a,a.length):t.setEndAfter(a)),t}function nD(i){if(i.firstChild)return i.firstChild;let t=i;for(;!t.nextSibling;)if(t=t.parentNode,!t)return null;return t.nextSibling}function iD(i){if(i.lastChild)return i.lastChild;let t=i;for(;!t.previousSibling;)if(t=t.parentNode,!t)return null;return t.previousSibling}function SS(i){for(;i.firstChild;)i=i.firstChild;return i}function OS(i){for(;i.lastChild;)i=i.lastChild;return i}x();var J0=At(xS()),no;(function(r){r[r.All=0]="All",r[r.Two=1]="Two",r[r.One=2]="One"})(no||(no={}));var Rr,K0;function Hn(i,t,n){if(i.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(i.tagName.toLowerCase()==="html")return i.tagName.toLowerCase();let r={className:l=>!0,idName:l=>!0,optimizedMinLength:2,root:t.body,seedMinLength:1,tagName:l=>!0,threshold:1e3};Rr=st(st({},r),n),K0=uD(Rr.root,r);let o=Y0(i,0,()=>Y0(i,1,()=>Y0(i,2)));if(o){let l=kS(LS(o,i));return l.length>0&&(o=l[0]),Dd(o)}else throw new Error("Selector was not found.")}function uD(i,t){return i.nodeType===Node.DOCUMENT_NODE?i:i===t.root?i.ownerDocument:i}function Y0(i,t,n){let r=null,o=[],l=i,s=0;for(;l&&l!==Rr.root.parentElement;){let a=Q0(dD(l))||Q0(...hD(l))||Q0(fD(l))||[pD()],u=gD(l);if(t===0)u&&(a=a.concat(a.filter(Z0).map(h=>X0(h,u))));else if(t===1)a=a.slice(0,1),u&&(a=a.concat(a.filter(Z0).map(h=>X0(h,u))));else if(t===2){let[h]=a=a.slice(0,1);u&&Z0(h)&&(a=[X0(h,u)])}for(let h of a)h.level=s;if(o.push(a),o.length>=Rr.seedMinLength&&(r=TS(o,n),r))break;l=l.parentElement,s++}return r||(r=TS(o,n)),r}function TS(i,t){let n=kS(RS(i));if(n.length>Rr.threshold)return t?t():null;for(let r of n)if(MS(r))return r;return null}function Dd(i){let t=i[0],n=t.name;for(let r=1;r<i.length;r++){let o=i[r].level||0;t.level===o-1?n=`${i[r].name} > ${n}`:n=`${i[r].name} ${n}`,t=i[r]}return n}function AS(i){return i.map(t=>t.penalty).reduce((t,n)=>t+n,0)}function MS(i){switch(K0.querySelectorAll(Dd(i)).length){case 0:throw new Error(`Can't select any node with this selector: ${Dd(i)}`);case 1:return!0;default:return!1}}function dD(i){let t=i.getAttribute("id");return t&&Rr.idName(t)?{name:"#"+(0,J0.default)(t,{isIdentifier:!0}),penalty:0}:null}function hD(i){return Array.from(i.classList).filter(Rr.className).map(n=>({name:"."+(0,J0.default)(n,{isIdentifier:!0}),penalty:1}))}function fD(i){let t=i.tagName.toLowerCase();return Rr.tagName(t)?{name:t,penalty:2}:null}function pD(){return{name:"*",penalty:3}}function gD(i){let t=i.parentNode;if(!t)return null;let n=t.firstChild;if(!n)return null;let r=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==i);)n=n.nextSibling;return r}function X0(i,t){return{name:i.name+`:nth-child(${t})`,penalty:i.penalty+1}}function Z0(i){return i.name!=="html"&&!i.name.startsWith("#")}function Q0(...i){let t=i.filter(mD);return t.length>0?t:null}function mD(i){return i!=null}function*RS(i,t=[]){if(i.length>0)for(let n of i[0])yield*RS(i.slice(1,i.length),t.concat(n));else yield t}function kS(i){return Array.from(i).sort((t,n)=>AS(t)-AS(n))}function*LS(i,t){if(i.length>2&&i.length>Rr.optimizedMinLength)for(let n=1;n<i.length-1;n++){let r=[...i];r.splice(n,1),MS(r)&&vD(r,t)&&(yield r,yield*LS(r,t))}}function vD(i,t){return K0.querySelector(Dd(i))===t}x();var ot;(function(o){o[o.Highlight=0]="Highlight",o[o.Underline=1]="Underline",o[o.Bookmark=2]="Bookmark",o[o.Custom=3]="Custom"})(ot||(ot={}));x();var PS=24,IS=24,eg="0 0 24 24",jn=(i,t,n,r="icon")=>`<svg xmlns="http://www.w3.org/2000/svg" width="${PS}" height="${IS}" viewBox="${eg}" preserveAspectRatio="xMidYMid meet" role="img" class="${r}" aria-labelledBy="${i}">
|
|
69
|
+
`),r=Array.from(new Array(this.startOffset-n.length)).fill("\u222F");this.textCharacters=r.concat(n,t.raw.split("")),this.source=new YC.default(this.textCharacters.join("")),this.sourceNode.children[0]?this.firstChildPadding=this.sourceNode.children[0].range[0]-this.startOffset:this.firstChildPadding=0}}return i.prototype.markContextRange=function(t){this.contextRanges.push(t)},i.prototype.isInContextRange=function(){var t=this.offset;return this.contextRanges.some(function(n){return n[0]<=t&&t<n[1]})},i.prototype.enterContext=function(t){this.contexts.push(t)},i.prototype.isInContext=function(t){return t?this.contexts.some(function(n){return n===t}):this.contexts.length>0},i.prototype.leaveContext=function(t){var n=this.contexts.lastIndexOf(t);n!==-1&&this.contexts.splice(n,1)},Object.defineProperty(i.prototype,"offset",{get:function(){return this.index+this.firstChildPadding},enumerable:!1,configurable:!0}),i.prototype.now=function(){var t=this.offset,n=this.source.indexToPosition(t);return{line:n.line,column:n.column,offset:t}},Object.defineProperty(i.prototype,"hasEnd",{get:function(){return this.read()===!1},enumerable:!1,configurable:!0}),i.prototype.read=function(t){t===void 0&&(t=0);var n=this.offset+t;return n<this.startOffset?!1:0<=n&&n<this.textCharacters.length?this.textCharacters[n]:!1},i.prototype.readNode=function(t){if(t===void 0&&(t=0),!this.sourceNode)return!1;var n=this.offset+t;if(n<this.startOffset)return!1;var r=this.sourceNode.children.filter(function(o){return o.range[0]<=n&&n<o.range[1]});return r.length>0?r[r.length-1]:!1},i.prototype.peek=function(){this.index+=1},i.prototype.peekNode=function(t){this.index+=t.range[1]-t.range[0]},i.prototype.seekNext=function(t){var n=this.now();t.seek(this);var r=this.now(),o=this.sliceRange(n.offset,r.offset);return{value:o,startPosition:n,endPosition:r}},i.prototype.sliceRange=function(t,n){return this.textCharacters.slice(t,n).join("")},i}();ua.SourceCode=uH});var ZC=ie(gh=>{x();"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.NewLineParser=void 0;var dH=function(){function i(){}return i.prototype.test=function(t){var n=t.read();return n?/[\r\n]/.test(n):!1},i.prototype.seek=function(t){for(;this.test(t);)t.peek()},i}();gh.NewLineParser=dH});var QC=ie(mh=>{x();"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.SpaceParser=void 0;var hH=function(){function i(){}return i.prototype.test=function(t){var n=t.read();return n?/\s/.test(n):!1},i.prototype.seek=function(t){for(;this.test(t);)t.peek()},i}();mh.SpaceParser=hH});var ex=ie(Zo=>{x();"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.SeparatorParser=Zo.DefaultOptions=void 0;Zo.DefaultOptions={separatorCharacters:[".","\uFF0E","\u3002","?","!","\uFF1F","\uFF01"]};var fH=function(){function i(t){this.options=t,this.separatorCharacters=t&&t.separatorCharacters?t.separatorCharacters:Zo.DefaultOptions.separatorCharacters}return i.prototype.test=function(t){if(t.isInContext()||t.isInContextRange())return!1;var n=t.read(),r=t.read(1);return!n||!this.separatorCharacters.includes(n)?!1:n==="."&&r?/[\s\t\r\n]/.test(r):!0},i.prototype.seek=function(t){for(;this.test(t);)t.peek()},i}();Zo.SeparatorParser=fH});var tx=ie(vh=>{x();"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.AnyValueParser=void 0;var pH=function(){function i(t){this.parsers=t.parsers,this.markers=t.markers}return i.prototype.test=function(t){return t.hasEnd?!1:this.parsers.every(function(n){return!n.test(t)})},i.prototype.seek=function(t){var n=t.readNode();if(!n){for(;this.test(t);)this.markers.forEach(function(o){return o.mark(t)}),t.peek();return}for(var r=function(){var o=t.offset;return n.range[0]<=o&&o<n.range[1]};r()&&this.test(t);)this.markers.forEach(function(o){return o.mark(t)}),t.peek()},i}();vh.AnyValueParser=pH});var nx=ie(yh=>{x();"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.English=void 0;yh.English={ABBREVIATIONS:["Adj.","Adm.","Adv.","Al.","Ala.","Alta.","Apr.","Arc.","Ariz.","Ark.","Art.","Assn.","Asst.","Attys.","Aug.","Ave.","Bart.","Bld.","Bldg.","Blvd.","Brig.","Bros.","Btw.","Cal.","Calif.","Capt.","Cl.","Cmdr.","Co.","Col.","Colo.","Comdr.","Con.","Conn.","Corp.","Cpl.","Cres.","Ct.","D.phil.","Dak.","Dec.","Del.","Dept.","Det.","Dist.","Dr.","Dr.phil.","Dr.philos.","Drs.","E.g.","Ens.","Esp.","Esq.","Etc.","Exp.","Expy.","Ext.","Feb.","Fed.","Fla.","Ft.","Fwy.","Fy.","Ga.","Gen.","Gov.","Hon.","Hosp.","Hr.","Hway.","Hwy.","I.e.","Ia.","Id.","Ida.","Ill.","Inc.","Ind.","Ing.","Insp.","Is.","Jan.","Jr.","Jul.","Jun.","Kan.","Kans.","Ken.","Ky.","La.","Lt.","Ltd.","Maj.","Man.","Mar.","Mass.","May.","Md.","Me.","Med.","Messrs.","Mex.","Mfg.","Mich.","Min.","Minn.","Miss.","Mlle.","Mm.","Mme.","Mo.","Mont.","Mr.","Mrs.","Ms.","Msgr.","Mssrs.","Mt.","Mtn.","Neb.","Nebr.","Nev.","No.","Nos.","Nov.","Nr.","Oct.","Ok.","Okla.","Ont.","Op.","Ord.","Ore.","P.","Pa.","Pd.","Pde.","Penn.","Penna.","Pfc.","Ph.","Ph.d.","Pl.","Plz.","Pp.","Prof.","Pvt.","Que.","Rd.","Rs.","Ref.","Rep.","Reps.","Res.","Rev.","Rt.","Sask.","Sec.","Sen.","Sens.","Sep.","Sept.","Sfc.","Sgt.","Sr.","St.","Supt.","Surg.","Tce.","Tenn.","Tex.","Univ.","Usafa.","U.S.","Ut.","Va.","V.","Ver.","Vs.","Vt.","Wash.","Wis.","Wisc.","Wy.","Wyo.","Yuk."],PREPOSITIVE_ABBREVIATIONS:["Adm.","Attys.","Brig.","Capt.","Cmdr.","Col.","Cpl.","Det.","Dr.","Gen.","Gov.","Ing.","Lt.","Maj.","Mr.","Mrs.","Ms.","Mt.","Messrs.","Mssrs.","Prof.","Ph.","Rep.","Reps.","Rev.","Sen.","Sens.","Sgt.","St.","Supt.","V.","Vs."],EXCALAMATION_WORDS:["!X\u0169","!Kung","\u01C3\u02BCO\u01C3Kung","!Xuun","!Kung-Ekoka","\u01C3Hu","\u01C3Khung","\u01C3Ku","\u01C3ung","\u01C3Xo","\u01C3X\xFB","\u01C3Xung","\u01C3X\u0169","!Xun","Yahoo!","Y!J","Yum!"]}});var ix=ie(bh=>{x();"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.AbbrMarker=void 0;var gH=nx(),zg=function(i){return!i||i.length===0?!1:/^[A-Z]/.test(i)},Vg=function(i,t){return i.toLowerCase()===t.toLowerCase()},mH=function(){function i(t){t===void 0&&(t=gH.English),this.lang=t}return i.prototype.getWord=function(t,n){n===void 0&&(n=0);var r=/\s/,o=t.read(-1);if(o&&!r.test(o))return"";for(var l="",s=n,a="";(a=t.read(s))&&!r.test(a);)l+=a,s++;return l},i.prototype.getPrevWord=function(t){for(var n=/\s/,r=-1,o="";(o=t.read(r))&&n.test(o);)r--;for(;(o=t.read(r))&&!n.test(o);)r--;return this.getWord(t,r+1)},i.prototype.mark=function(t){if(!t.isInContextRange()){var n=this.getWord(t);if(n.length!==0){if(/^([a-zA-Z]\.){3,}$/.test(n))return t.markContextRange([t.offset,t.offset+n.length]);var r=this.lang.EXCALAMATION_WORDS.some(function(u){return Vg(u,n)});if(r)return t.markContextRange([t.offset,t.offset+n.length]);var o=this.lang.PREPOSITIVE_ABBREVIATIONS.some(function(u){return Vg(u,n)});if(o)return t.markContextRange([t.offset,t.offset+n.length]);var l=this.lang.ABBREVIATIONS.some(function(u){return Vg(u,n)}),s=this.getPrevWord(t),a=this.getWord(t,n.length+1);zg(s)&&/[A-Z]\./.test(n)&&zg(a)?t.markContextRange([t.offset,t.offset+n.length]):l&&!zg(a)&&t.markContextRange([t.offset,t.offset+n.length])}}},i}();bh.AbbrMarker=mH});var Gg=ie(da=>{x();"use strict";var vH=da&&da.__spreadArray||function(i,t){for(var n=0,r=t.length,o=i.length;n<r;n++,o++)i[o]=t[n];return i};Object.defineProperty(da,"__esModule",{value:!0});da.debugLog=void 0;function yH(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];W.env.DEBUG==="sentence-splitter"&&console.log.apply(console,vH(["sentence-splitter: "],i))}da.debugLog=yH});var rx=ie((cq,wh)=>{x();Object.values=Object.values?Object.values:function(i){var t=["[object String]","[object Object]","[object Array]","[object Function]"],n=Object.prototype.toString.call(i);if(i===null||typeof i=="undefined")throw new TypeError("Cannot convert undefined or null to object");if(~t.indexOf(n)){if(Object.keys)return Object.keys(i).map(function(l){return i[l]});var r=[];for(var o in i)i.hasOwnProperty(o)&&r.push(i[o]);return r}else return[]};typeof wh!="undefined"&&wh.exports&&(wh.exports=Object.values)});var sx=ie(ha=>{x();"use strict";var bH=ha&&ha.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(ha,"__esModule",{value:!0});ha.PairMaker=void 0;var ox=Gg(),wH=bH(rx()),_H=function(){function i(){var t;this.pairs=(t={},t['"']='"',t["\u300C"]="\u300D",t["\uFF08"]="\uFF09",t["("]=")",t["\u300E"]="\u300F",t["\u3010"]="\u3011",t["\u300A"]="\u300B",t),this.pairKeys=Object.keys(this.pairs),this.pairValues=wH.default(this.pairs)}return i.prototype.mark=function(t){var n=t.read();if(!!n)if(t.isInContext()){var l=this.pairValues.indexOf(n);if(l!==-1){var o=this.pairKeys[l];ox.debugLog("PairMaker -> leaveContext: "+this.pairValues[l]),t.leaveContext(o)}}else{var r=this.pairKeys.indexOf(n);if(r!==-1){var o=this.pairKeys[r];ox.debugLog("PairMaker -> enterContext: "+o),t.enterContext(o)}}},i}();ha.PairMaker=_H});var hx=ie(Zt=>{x();"use strict";var _h=Zt&&Zt.__assign||function(){return _h=Object.assign||function(i){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o])}return i},_h.apply(this,arguments)};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.createNode=Zt.createEmptySentenceNode=Zt.createTextNode=Zt.createPunctuationNode=Zt.createWhiteSpaceNode=Zt.splitAST=Zt.split=Zt.SplitParser=Zt.Syntax=void 0;var ax=UC(),EH=XC(),SH=ZC(),OH=QC(),CH=ex(),xH=tx(),TH=ix(),AH=sx(),Eh=Gg();Zt.Syntax={WhiteSpace:"WhiteSpace",Punctuation:"Punctuation",Sentence:"Sentence",Str:"Str"};var Jg=function(){function i(t){this.nodeList=[],this.results=[],this.source=new EH.SourceCode(t)}return Object.defineProperty(i.prototype,"current",{get:function(){return this.nodeList[this.nodeList.length-1]},enumerable:!1,configurable:!0}),i.prototype.pushNodeToCurrent=function(t){var n=this.current;n?n.children.push(t):this.results.push(t)},i.prototype.open=function(t){this.nodeList.push(t)},i.prototype.isOpened=function(){return this.nodeList.length>0},i.prototype.nextLine=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;return this.pushNodeToCurrent(cx(r,o,l)),l},i.prototype.nextSpace=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;this.pushNodeToCurrent(Tl("WhiteSpace",r,o,l))},i.prototype.nextValue=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;this.pushNodeToCurrent(dx(r,o,l))},i.prototype.close=function(t){var n=this.source.seekNext(t),r=n.value,o=n.startPosition,l=n.endPosition;o.offset!==l.offset&&this.pushNodeToCurrent(ux(r,o,l));var s=this.nodeList.pop();if(!!s&&s.children.length!==0){var a=s.children[0],u=this.source.now();s.loc={start:a.loc.start,end:Kg(u)};var h=this.source.sliceRange(a.range[0],u.offset);s.range=[a.range[0],u.offset],s.raw=h,this.results.push(s)}},i.prototype.toList=function(){return this.results},i}();Zt.SplitParser=Jg;var lx=function(i){i===void 0&&(i={});var t=new SH.NewLineParser,n=new OH.SpaceParser,r=new CH.SeparatorParser(i.SeparatorParser),o=new TH.AbbrMarker,l=new AH.PairMaker,s=new xH.AnyValueParser({parsers:[t,r],markers:[o,l]});return{newLine:t,space:n,separator:r,abbrMarker:o,anyValueParser:s}};function MH(i,t){for(var n=lx(t),r=n.newLine,o=n.space,l=n.separator,s=n.anyValueParser,a=new Jg(i),u=a.source;!u.hasEnd;)r.test(u)?a.nextLine(r):o.test(u)?a.nextSpace(o):l.test(u)?a.close(l):(a.isOpened()||a.open(Sh()),a.nextValue(s));return a.close(o),a.toList()}Zt.split=MH;function RH(i,t){for(var n=lx(t),r=n.newLine,o=n.space,l=n.separator,s=n.anyValueParser,a=new Jg(i),u=a.source;!u.hasEnd;){var h=u.readNode();if(!h)break;h.type===ax.ASTNodeTypes.Str?o.test(u)?(Eh.debugLog("space"),a.nextSpace(o)):l.test(u)?(Eh.debugLog("separator"),a.close(l)):r.test(u)?(Eh.debugLog("newline"),a.nextLine(r)):(a.isOpened()||(Eh.debugLog("open -> createEmptySentenceNode()"),a.open(Sh())),a.nextValue(s)):h.type===ax.ASTNodeTypes.Break?(a.pushNodeToCurrent(h),u.peekNode(h)):(a.isOpened()||a.open(Sh()),a.pushNodeToCurrent(h),u.peekNode(h))}return a.close(o),_h(_h({},i),{children:a.toList()})}Zt.splitAST=RH;function cx(i,t,n){return Tl("WhiteSpace",i,t,n)}Zt.createWhiteSpaceNode=cx;function ux(i,t,n){return Tl("Punctuation",i,t,n)}Zt.createPunctuationNode=ux;function dx(i,t,n){return Tl("Str",i,t,n)}Zt.createTextNode=dx;function Sh(){return{type:"Sentence",raw:"",loc:{start:{column:NaN,line:NaN},end:{column:NaN,line:NaN}},range:[NaN,NaN],children:[]}}Zt.createEmptySentenceNode=Sh;function Tl(i,t,n,r){return{type:i,raw:t,value:t,loc:{start:Kg(n),end:Kg(r)},range:[n.offset,r.offset]}}Zt.createNode=Tl;function Kg(i){return{line:i.line,column:i.column}}});var HH={};$k(HH,{Link:()=>Sl,build:()=>DH,default:()=>NH});x();x();x();var Hw=At(Nw()),jw=At(Nn());x();var Dw=At(Nn());function ju(i,t){return Dw.TaJson.deserialize(i,t)}var Jr=class extends Hw.Publication{static async fromUrl(t){let r=await(await fetch(t.href,{credentials:"same-origin"})).json(),o=ju(r,Jr);return o.manifestUrl=t,o}get readingOrder(){return this.Spine}get tableOfContents(){return this.sample?.isSampleRead&&this.positions?.length>0?this.limitedTOC():this.TOC}limitedTOC(){function t(r){for(let o=0;o<r.Children.length;o++){let l=r.Children[o];l.Href=void 0,l.Children&&t(l)}}return this.TOC.map(r=>{if(r.Href){let o=this.positionsByHref(this.getRelativeHref(r.Href));if(o?.length>0){let l=o[0];Math.round(l.locations.totalProgression*100)<=this.sample?.limit||(r.Href=void 0,r.Children&&t(r))}}return r})}get landmarks(){return this.Landmarks}get pageList(){return this.PageList}get isFixedLayout(){return this.Metadata.Rendition?.Layout==="fixed"}get isReflowable(){return!this.isFixedLayout}get layout(){return this.isFixedLayout?"fixed":"reflowable"}get hasMediaOverlays(){return this.readingOrder?this.readingOrder.filter(t=>t.Properties?.MediaOverlay).length>0:!1}getStartLink(){return this.readingOrder.length>0?this.readingOrder[0]:null}getPreviousSpineItem(t){let n=this.getSpineIndex(t);return n!==null&&n>0?this.readingOrder[n-1]:null}getNextSpineItem(t){let n=this.getSpineIndex(t);return n!==null&&n<this.readingOrder.length-1?this.readingOrder[n+1]:null}getSpineItem(t){let n=this.getSpineIndex(t);return n!==null?this.readingOrder[n]:null}getSpineIndex(t){return this.readingOrder.findIndex(n=>n.Href&&this.getAbsoluteHref(n.Href)===t)}getAbsoluteHref(t){return new URL(t,this.manifestUrl.href).href}getRelativeHref(t){let n=this.manifestUrl.href.replace("/manifest.json",""),r=t.replace(n,"");return r.indexOf("#")>0&&(r=r.slice(0,r.indexOf("#"))),r.charAt(0)==="/"&&(r=r.substring(1)),r}getTOCItemAbsolute(t){let n=this.getAbsoluteHref(t),r=(l,s)=>{for(let a=0;a<s.length;a++){let u=s[a];if(u.Href){let h=u.Href.indexOf("#")!==-1?u.Href.slice(0,u.Href.indexOf("#")):u.Href;if(this.getAbsoluteHref(h)===l)return u}if(u.Children){let h=r(l,u.Children);if(h!==null)return h}}return null},o=r(n,this.tableOfContents);return o===null&&(o=r(n,this.readingOrder)),o}getTOCItem(t){let n=(o,l)=>{for(let s=0;s<l.length;s++){let a=l[s];if(a.Href&&this.getAbsoluteHref(a.Href)===o)return a;if(a.Children){let u=n(o,a.Children);if(u!==null)return u}}return null},r=n(t,this.tableOfContents);if(r===null&&(r=n(t,this.readingOrder)),r===null&&t.indexOf("#")!==-1){let o=t.slice(0,t.indexOf("#"));r=n(o,this.tableOfContents),r===null&&(r=n(o,this.readingOrder))}return r}positionsByHref(t){let n=decodeURI(t)??"";return this.positions?.filter(r=>n.includes(r.href))}async autoGeneratePositions(t=rB){let n=0,r=0,o=[];for(let s of this.readingOrder)if(this.isFixedLayout){let a={href:s.Href,locations:{progression:0,position:n+1},type:s.TypeLink};o.push(a),n=n+1}else{let a=this.getAbsoluteHref(s.Href),u=await t(a);s.contentLength=u,r+=u;let p=Math.max(1,Math.ceil(u/1024));for(let g=0;g<p;g++){let f={href:s.Href,locations:{progression:g/p,position:n+(g+1)},type:s.TypeLink};o.push(f)}n=n+p}var l=0;if(this.isReflowable)for(let s of this.readingOrder){if(!s.contentLength){console.error("Link is missing contentLength",s);return}s.contentWeight=100/r*s.contentLength,l=l+s.contentWeight}for(let s of o){let a=o.filter(h=>h.href===decodeURI(s.href)),u=Math.ceil(s.locations.progression*(a.length-1));s.locations.totalProgression=(s.locations.position-1)/o.length,s.locations.remainingPositions=Math.abs(u-(a.length-1)),s.locations.totalRemainingPositions=Math.abs(s.locations.position-1-(o.length-1))}this.positions=o}async fetchPositionsFromService(t){let r=await(await fetch(t)).json();this.positions=r.positions}async fetchWeightsFromService(t){if(this.isFixedLayout){console.warn("Not fetching weights from service for fixed layout publication.");return}let r=await(await fetch(t)).json();this.readingOrder.forEach(o=>{o.contentWeight=r[o.Href]})}};Jr=xc([(0,jw.JsonObject)()],Jr);var rB=async i=>(await(await fetch(i)).blob()).size;x();x();var ks=class{json(){return JSON.stringify(this)}},Fw=class extends ks{constructor(t,n,r){super();this.value=t,this.ref=n,this.name=r}toString(){return this.value}},$w=class extends ks{constructor(t,n,r){super();this.value=t,this.ref=n,this.name=r}toString(){return this.value}toJson(){return JSON.parse(this.value)}},Uw=class extends ks{constructor(t,n,r,o){super();this.value=t,this.values=n,this.ref=r,this.name=o}toString(){return this.values[this.value]}},Ww=class extends ks{constructor(t,n,r,o,l,s,a){super();this.value=t,this.min=n,this.max=r,this.step=o,this.suffix=l,this.ref=s,this.name=a}toString(){return this.value.toString()+this.suffix}increment(){this.value<=this.max&&(this.value+=this.step)}decrement(){this.value>=this.min&&(this.value-=this.step)}},Fa=class extends ks{constructor(t,n,r,o,l){super();this.value=r,this.onValue=t,this.offValue=n,this.ref=o,this.name=l}toString(){return this.value?this.onValue:this.offValue}switch(){this.value=!this.value}},Or=class{constructor(){this.properties=[]}addIncremental(t,n,r,o,l,s,a){this.properties.push(new Ww(t,n,r,o,l,s,a))}addStringable(t,n,r){this.properties.push(new Fw(t,n,r))}addJSONable(t,n,r){this.properties.push(new $w(t,n,r))}addSwitchable(t,n,r,o,l){this.properties.push(new Fa(t,n,r,o,l))}addEnumerable(t,n,r,o){this.properties.push(new Uw(t,n,r,o))}getByRef(t){let n=this.properties.filter(r=>r.ref===t);return n.length>0?n[0]:null}getByKey(t){let n=this.properties.filter(r=>r.key===t);return n.length>0?n[0]:null}};x();var li=class{},ne=li;ne.FONT_SIZE_REF="fontSize",ne.FONT_FAMILY_REF="fontFamily",ne.FONT_OVERRIDE_REF="fontOverride",ne.APPEARANCE_REF="appearance",ne.SCROLL_REF="scroll",ne.TEXT_ALIGNMENT_REF="textAlign",ne.COLUMN_COUNT_REF="colCount",ne.WORD_SPACING_REF="wordSpacing",ne.LETTER_SPACING_REF="letterSpacing",ne.PAGE_MARGINS_REF="pageMargins",ne.LINE_HEIGHT_REF="lineHeight",ne.FONT_SIZE_KEY="--USER__"+li.FONT_SIZE_REF,ne.FONT_FAMILY_KEY="--USER__"+li.FONT_FAMILY_REF,ne.FONT_OVERRIDE_KEY="--USER__"+li.FONT_OVERRIDE_REF,ne.APPEARANCE_KEY="--USER__"+li.APPEARANCE_REF,ne.SCROLL_KEY="--USER__"+li.SCROLL_REF,ne.TEXT_ALIGNMENT_KEY="--USER__"+li.TEXT_ALIGNMENT_REF,ne.COLUMN_COUNT_KEY="--USER__"+li.COLUMN_COUNT_REF,ne.WORD_SPACING_KEY="--USER__"+li.WORD_SPACING_REF,ne.LETTER_SPACING_KEY="--USER__"+li.LETTER_SPACING_REF,ne.PAGE_MARGINS_KEY="--USER__"+li.PAGE_MARGINS_REF,ne.LINE_HEIGHT_KEY="--USER__"+li.LINE_HEIGHT_REF;x();function Ae(i,t){return i.querySelector(t)}function Dt(i,t){let n=Ae(i,t);if(n)return n;throw new Error("required element "+t+" not found")}function oB(i,t){if(i===null)throw new Error("parent element is null");return i.querySelector(t)}function Ut(i,t){let n=oB(i,t);if(n)return n;throw new Error("required element "+t+" not found in iframe")}function Cn(i,t,n){i.setAttribute(t,n)}x();function qw(i,t){return new Promise(function(n){setTimeout(n.bind(null,t),i)})}var Y=!1;x();x();var sS=At(Ld()),Ys=class{constructor(t){this.getScrollingElement=t=>t.scrollingElement?t.scrollingElement:t.body;this.navigator=t}async handleFootnote(t,n){let r=t.getAttribute("href");if(r.indexOf("#")>0){let l=function(a){let u=document.location.href;return new URL(a,u).href},o=r.substring(r.indexOf("#")+1),s=l(r);s=s.substring(0,s.indexOf("#")),n.preventDefault(),n.stopPropagation(),await fetch(s).then(a=>a.text()).then(async a=>{let p=new DOMParser().parseFromString(a,"text/html").querySelector("#"+o);p&&(n.preventDefault(),n.stopPropagation(),this.showPopup(p,n))})}}showPopup(t,n){let r=this.navigator.iframes[0].contentDocument.getElementById("d2-popup");r&&r.parentElement.removeChild(r);let o=document.createElement("aside");o.id="d2-popup",o.className="d2-popup is-active";let l=document.createElement("div");l.className="d2-popup-wrapper",o.appendChild(l);let s=document.createElement("div");s.className="d2-popup-content",l.appendChild(s);let a=document.createElement("p");s.appendChild(a),typeof t=="string"?a.innerHTML=t:a.innerHTML=(0,sS.default)(t.innerHTML,{allowedTags:[],allowedAttributes:{}});let u=this.navigator.view.isPaginated(),h=this.getScrollingElement(this.navigator.iframes[0].contentDocument),p=u?h.scrollLeft:0,g=u?h.scrollTop:0,f=n.x+p,v=n.y+g;o.style.top=v+"px",u&&(o.style.left=f+"px"),this.navigator.iframes[0].contentDocument.body.appendChild(o);let _=this;this.navigator.iframes[0].contentWindow.onclick=function(w){n.target!==w.target&&o.parentElement&&(o.style.display="none",o.parentElement.removeChild(o),_.navigator.iframes[0].contentWindow.onclick=void 0)}}};function ye(i,t,n){i&&i.addEventListener(t,n,!0)}function $e(i,t,n){i&&i.removeEventListener(t,n,!0)}var Pd=class{constructor(t){this.onInternalLink=()=>{};this.onClickThrough=()=>{};this.checkForLink=t=>{let n=t.target;for(;n&&n.tagName.toLowerCase()!=="body";){if(n.tagName.toLowerCase()==="a"&&n.href)return n;n=n.parentElement}return null};this.isEpubInternal=t=>(Y&&console.log("clickedLink: ",t),((o,l)=>o.some(s=>!s.Rel?.includes("external")&&s.Href.includes(l)))(this.navigator.publication.readingOrder,t.pathname));this.handleLinks=async t=>{Y&&console.log("R2 Click Handler");let n=this.checkForLink(t);if(n){let r=window.location.protocol===n.protocol&&window.location.port===n.port&&window.location.hostname===n.hostname,o=this.isEpubInternal(n),l=n.href.indexOf("#");if(!r&&!o)window.open(n.href,"_blank"),t.preventDefault(),t.stopPropagation();else if(t.target.href=n.href,(r||o)&&l!==-1){let s=t.target;s?s.getAttribute("epub:type")==="noteref"?await this.popup.handleFootnote(s,t):this.onInternalLink(t):this.onInternalLink(t)}else(r||o)&&l===-1&&this.onInternalLink(t)}else this.onClickThrough(t)};this.navigator=t,this.popup=new Ys(this.navigator)}setupEvents(t){if(t!==null)t.addEventListener("click",this.handleLinks.bind(this));else throw"cannot setup events for null"}};x();x();function aS(){return Dt(document,"#iframe-wrapper").clientWidth}function Qr(){return Dt(document,"#iframe-wrapper").clientHeight}var cS=At(eo()),Id=class{constructor(t){this.layout="reflowable";this.USERSETTINGS="userSetting";this.sideMargin=20;this.height=0;this.attributes={margin:0};this.hasFixedScrollWidth=!1;this.store=t,this.isScrollMode()?(this.name="readium-scroll-on",this.label="Scrolling"):(this.name="readium-scroll-off",this.label="Paginated")}setMode(t){if(this.scrollMode=t,t===!0){this.name="readium-scroll-on",this.label="Scrolling";let n=Ut(this.iframe.contentDocument,"head");if(n){let o=Ae(n,"meta[name=viewport]");o&&o.remove()}Ut(this.iframe.contentDocument,"html").style.setProperty("--USER__scroll","readium-scroll-on"),this.setSize(),this.setIframeHeight(this.iframe)}else this.height=Qr()-40-this.attributes.margin,this.name="readium-scroll-off",this.label="Paginated",this.checkForFixedScrollWidth(),Ut(this.iframe.contentDocument,"html").style.setProperty("--USER__scroll","readium-scroll-off"),this.setSize();this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate()}start(){if(this.isScrollMode()){let t=Ut(this.iframe.contentDocument,"head");if(t){let n=Ae(t,"meta[name=viewport]");n&&n.remove()}this.setSize()}else{this.iframe.height="0",this.iframe.width="0",this.setSize();let t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1, maximum-scale=1",this.checkForFixedScrollWidth()}}stop(){this.iframe.height="0",this.iframe.width="0";let t=Ut(this.iframe.contentDocument,"body"),n=Array.prototype.slice.call(t.querySelectorAll("img"));for(let r of n)r.style.maxWidth=""}getCurrentPosition(){let t=Dt(document,"#iframe-wrapper");if(this.isScrollMode())return t.scrollTop/this.scrollingElement.scrollHeight;{let n=this.getColumnWidth(),r=this.getLeftColumnsWidth(),o=this.getRightColumnsWidth(),l=r+n+o;return r/l}}goToProgression(t){let n=Dt(document,"#iframe-wrapper");if(this.isScrollMode())n.scrollTop=this.scrollingElement.scrollHeight*t;else{let r=this.getColumnWidth(),o=this.getLeftColumnsWidth(),l=this.getRightColumnsWidth(),s=o+r+l,a=t*s,u=Math.round(a/r)*r;u>=s&&(u=u-r),this.setLeftColumnsWidth(u)}}goToCssSelector(t,n){var r=this.iframe.contentDocument.querySelector(t);this.goToElement(r,n)}goToFragment(t,n){let r=this.iframe.contentDocument.getElementById(t);this.goToElement(r,n)}snap(t,n){if(t&&!this.isScrollMode()){let r=t.style.height;t.style.height="0";let o=this.getColumnWidth(),l=this.getLeftColumnsWidth()+t.getBoundingClientRect().left,s=Math.floor(l/o)*o;t.style.height=r,this.setLeftColumnsWidth(s),this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate(0)}}goToElement(t,n){let r=Dt(document,"#iframe-wrapper");if(this.isScrollMode())t&&(r.scrollTop=t.offsetTop);else if(t){let o=t.style.height;t.style.height="0";let l=t.getBoundingClientRect().left,s=this.getColumnWidth(),a=this.scrollingElement.scrollLeft-s,u=Math.ceil(l/s)*s+a;if(n){let h=this.getLeftColumnsWidth();u=Math.ceil(l/s)*s+h}t.style.height=o,this.setLeftColumnsWidth(u),this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate(200)}}atStart(){return this.isScrollMode()?Dt(document,"#iframe-wrapper").scrollTop===0:this.getLeftColumnsWidth()<=0}atEnd(){if(this.isScrollMode()){let t=Dt(document,"#iframe-wrapper");return Math.ceil(this.scrollingElement.scrollHeight-t.scrollTop)-1<=Qr()}else return Math.floor(this.getRightColumnsWidth())<=0}goToPreviousPage(){let t=Dt(document,"#iframe-wrapper");if(this.isScrollMode()){let n=t.scrollTop,r=this.getScreenHeight(),o=n-r;o>=0?t.scrollTop=o:t.scrollTop=0}else{let n=this.getLeftColumnsWidth(),r=this.getColumnWidth(),o=n-r;o>=0?this.setLeftColumnsWidth(o):this.setLeftColumnsWidth(0),this.delegate.checkResourcePosition()}this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate()}goToNextPage(){let t=Dt(document,"#iframe-wrapper");if(this.isScrollMode()){let n=t.scrollTop,r=this.getScreenHeight(),o=this.scrollingElement.scrollHeight,l=n+r;l<o?t.scrollTop=l:t.scrollTop=o}else{let n=this.getLeftColumnsWidth(),r=this.getColumnWidth(),o=this.scrollWidth,l=n+r;l<o?this.setLeftColumnsWidth(l):this.setLeftColumnsWidth(o),this.delegate.checkResourcePosition()}this.delegate.rights?.enableContentProtection&&this.delegate.contentProtectionModule.recalculate()}getCurrentPage(){return this.isScrollMode()?0:this.getCurrentPosition()*this.getPageCount()+1}getPageCount(){if(this.isScrollMode())return 0;{let t=this.getColumnWidth();return this.scrollWidth/t}}isPaginated(){return this.iframe?Ut(this.iframe.contentDocument,"html").style.getPropertyValue("--USER__scroll")==="readium-scroll-on"===!1:this.scrollMode===!1}isScrollMode(){return this.iframe&&this.iframe.contentDocument?Ut(this.iframe.contentDocument,"html").style.getPropertyValue("--USER__scroll")==="readium-scroll-on"===!0:this.scrollMode===!0}async getProperty(t){let n=await this.store.get(this.USERSETTINGS);if(n){let r=JSON.parse(n);return r=r.filter(o=>o.name===t),r.length===0?null:r[0]}return null}getScreenHeight(){return Dt(document,"#iframe-wrapper").clientHeight}setIframeHeight(t){(0,cS.debounce)(r=>{if(r){let o=r.contentWindow.document.body,l=r.contentWindow.document.documentElement,s=Math.max(o.scrollHeight,o.offsetHeight,l.clientHeight,l.scrollHeight,l.offsetHeight),a=Qr()-this.attributes.margin;r.height=Math.max(a,s)+"px"}},200)(t)}checkForFixedScrollWidth(){let t=Ut(this.iframe.contentDocument,"body"),n=t.scrollWidth;this.hasFixedScrollWidth=t.scrollWidth===n}setSize(){if(this.iframe.width=aS()+"px",!this.scrollMode)this.iframe.contentDocument.documentElement.style.height=this.height+"px",this.iframe.height=this.height+"px";else{let t=this.iframe.contentWindow.document.documentElement;this.iframe.height=t.offsetHeight+"px"}}getLeftColumnsWidth(){return Math.ceil(this.scrollingElement.scrollLeft)}getRightColumnsWidth(){let t=this.getColumnWidth(),n=this.scrollWidth-t;if(this.hasFixedScrollWidth){let r=this.getLeftColumnsWidth();n=Math.max(0,n-r)}return n}getColumnWidth(){return this.scrollingElement.clientWidth}setLeftColumnsWidth(t){this.scrollingElement.scrollLeft=t}get scrollingElement(){return this.iframe.contentDocument.scrollingElement?this.iframe.contentDocument.scrollingElement:this.iframe.contentDocument.body}get scrollWidth(){let t=this.scrollingElement.scrollWidth,n=this.getColumnWidth();return Math.floor(t/n)*n}};x();var Bd=class{constructor(t){this.layout="fixed";this.sideMargin=20;this.height=0;this.attributes={margin:0}}start(){}stop(){}getCurrentPosition(){return 0}getScreenHeight(){return Dt(document,"#iframe-wrapper").clientHeight}goToProgression(t){}goToCssSelector(t,n){}goToFragment(t,n){}snap(t,n){}getCurrentPage(){return 0}getPageCount(){return 1}setSize(){}isPaginated(){return!0}isScrollMode(){return!1}};var Rt=class{constructor(t,n,r,o,l){this.USERSETTINGS="userSetting";this.fontSize=100;this.fontOverride=!1;this.fontFamily=0;this.appearance=0;this.verticalScroll=!0;this.textAlignment=0;this.columnCount=0;this.wordSpacing=0;this.letterSpacing=0;this.pageMargins=2;this.lineHeight=1;this.settingsChangeCallback=()=>{};this.settingsColumnsChangeCallback=()=>{};this.viewChangeCallback=()=>{};this.store=t,this.view=l==="fixed"?new Bd(this.store):new Id(this.store),this.headerMenu=n,this.api=r,this.injectables=o,this.injectables.forEach(s=>{s.type==="style"&&(s.fontFamily&&this.addFont(s.fontFamily),s.appearance&&this.addAppearance(s.appearance))})}async isPaginated(){return await this.getPropertyAndFallback("verticalScroll",ne.SCROLL_KEY)===!1}async isScrollMode(){return!await this.isPaginated()}static async create(t){let n=new this(t.store,t.headerMenu,t.api,t.injectables,t.layout);if(await n.initialise(),t.initialUserSettings){n.userProperties||(n.userProperties=n.getUserSettings());let r=t.initialUserSettings;r.verticalScroll!==void 0&&(n.verticalScroll=this.parseScrollSetting(r.verticalScroll),n.userProperties.getByRef(ne.SCROLL_REF).value=n.verticalScroll,await n.saveProperty(n.userProperties.getByRef(ne.SCROLL_REF)),Y&&console.log(n.verticalScroll)),r.appearance&&(n.appearance=Rt.appearanceValues.findIndex(o=>o===r.appearance),n.userProperties.getByRef(ne.APPEARANCE_REF).value=n.appearance,await n.saveProperty(n.userProperties.getByRef(ne.APPEARANCE_REF)),Y&&console.log(n.appearance)),r.fontSize&&(n.fontSize=r.fontSize,n.userProperties.getByRef(ne.FONT_SIZE_REF).value=n.fontSize,await n.saveProperty(n.userProperties.getByRef(ne.FONT_SIZE_REF)),Y&&console.log(n.fontSize)),r.fontFamily&&(n.fontFamily=Rt.fontFamilyValues.findIndex(o=>o===r.fontFamily),n.userProperties.getByRef(ne.FONT_FAMILY_REF).value=n.fontFamily,await n.saveProperty(n.userProperties.getByRef(ne.FONT_FAMILY_REF)),Y&&console.log(n.fontFamily),n.fontFamily!==0&&(n.fontOverride=!0)),r.textAlignment&&(n.textAlignment=Rt.textAlignmentValues.findIndex(o=>o===r.textAlignment),n.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value=n.textAlignment,await n.saveProperty(n.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF)),Y&&console.log(n.textAlignment)),r.columnCount&&(n.columnCount=Rt.columnCountValues.findIndex(o=>o===r.columnCount),n.userProperties.getByRef(ne.COLUMN_COUNT_REF).value=n.columnCount,await n.saveProperty(n.userProperties.getByRef(ne.COLUMN_COUNT_REF)),Y&&console.log(n.columnCount)),r.wordSpacing&&(n.wordSpacing=r.wordSpacing,n.userProperties.getByRef(ne.WORD_SPACING_REF).value=n.wordSpacing,await n.saveProperty(n.userProperties.getByRef(ne.WORD_SPACING_REF)),Y&&console.log(n.wordSpacing)),r.letterSpacing&&(n.letterSpacing=r.letterSpacing,n.userProperties.getByRef(ne.LETTER_SPACING_REF).value=n.letterSpacing,await n.saveProperty(n.userProperties.getByRef(ne.LETTER_SPACING_REF)),Y&&console.log(n.letterSpacing)),r.pageMargins&&(n.pageMargins=r.pageMargins,n.userProperties.getByRef(ne.PAGE_MARGINS_REF).value=n.pageMargins,await n.saveProperty(n.userProperties.getByRef(ne.PAGE_MARGINS_REF)),Y&&console.log(n.pageMargins)),r.lineHeight&&(n.lineHeight=r.lineHeight,n.userProperties.getByRef(ne.LINE_HEIGHT_REF).value=n.lineHeight,await n.saveProperty(n.userProperties.getByRef(ne.LINE_HEIGHT_REF)),Y&&console.log(n.lineHeight)),n.userProperties=n.getUserSettings(),await n.initialise()}return await n.initializeSelections(),new Promise(r=>r(n))}stop(){Y&&console.log("book settings stop")}async initialise(){this.appearance=await this.getPropertyAndFallback("appearance",ne.APPEARANCE_KEY),this.verticalScroll=await this.getPropertyAndFallback("verticalScroll",ne.SCROLL_KEY),this.fontFamily=await this.getPropertyAndFallback("fontFamily",ne.FONT_FAMILY_KEY),this.fontFamily!==0&&(this.fontOverride=!0),this.textAlignment=await this.getPropertyAndFallback("textAlignment",ne.TEXT_ALIGNMENT_KEY),this.columnCount=await this.getPropertyAndFallback("columnCount",ne.COLUMN_COUNT_KEY),this.fontSize=await this.getPropertyAndFallback("fontSize",ne.FONT_SIZE_KEY),this.wordSpacing=await this.getPropertyAndFallback("wordSpacing",ne.WORD_SPACING_KEY),this.letterSpacing=await this.getPropertyAndFallback("letterSpacing",ne.LETTER_SPACING_KEY),this.pageMargins=await this.getPropertyAndFallback("pageMargins",ne.PAGE_MARGINS_KEY),this.lineHeight=await this.getPropertyAndFallback("lineHeight",ne.LINE_HEIGHT_KEY),this.userProperties=this.getUserSettings()}async reset(){this.appearance=0,this.verticalScroll=!0,this.fontSize=100,this.fontOverride=!1,this.fontFamily=0,this.textAlignment=0,this.columnCount=0,this.wordSpacing=0,this.letterSpacing=0,this.pageMargins=2,this.lineHeight=1,this.userProperties=this.getUserSettings();let t=Ut(this.iframe.contentDocument,"html"),n=document.documentElement,r=Dt(n,"body");t.style.removeProperty(ne.FONT_SIZE_KEY),t.style.removeProperty(ne.WORD_SPACING_KEY),t.style.removeProperty(ne.LETTER_SPACING_KEY),t.style.removeProperty(ne.COLUMN_COUNT_KEY),t.style.removeProperty(ne.TEXT_ALIGNMENT_KEY),t.style.removeProperty(ne.LINE_HEIGHT_KEY),t.style.removeProperty(ne.PAGE_MARGINS_KEY),t.style.removeProperty(ne.APPEARANCE_KEY),Cn(n,"data-viewer-theme","day"),Cn(r,"data-viewer-theme","day"),t.style.removeProperty(ne.FONT_FAMILY_KEY),Cn(t,"data-viewer-font","publisher"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-off")}async initializeSelections(){this.headerMenu&&(this.settingsView=Ae(this.headerMenu,"#container-view-settings"))}async applyProperties(){this.userProperties=this.getUserSettings();let t=Ut(this.iframe.contentDocument,"html"),n=document.documentElement,r=Dt(n,"body");this.view.delegate.publication.isReflowable&&(await this.getProperty(ne.FONT_SIZE_KEY)&&t.style.setProperty(ne.FONT_SIZE_KEY,this.userProperties.getByRef(ne.FONT_SIZE_REF).toString()),await this.getProperty(ne.WORD_SPACING_KEY)&&t.style.setProperty(ne.WORD_SPACING_KEY,this.userProperties.getByRef(ne.WORD_SPACING_REF).toString()),await this.getProperty(ne.LETTER_SPACING_KEY)&&t.style.setProperty(ne.LETTER_SPACING_KEY,this.userProperties.getByRef(ne.LETTER_SPACING_REF).toString())),await this.getProperty(ne.COLUMN_COUNT_KEY)&&t.style.setProperty(ne.COLUMN_COUNT_KEY,this.userProperties.getByRef(ne.COLUMN_COUNT_REF).toString()),this.view.delegate.publication.isReflowable&&(await this.getProperty(ne.TEXT_ALIGNMENT_KEY)&&(this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).toString()==="auto"?t.style.removeProperty(ne.TEXT_ALIGNMENT_KEY):t.style.setProperty(ne.TEXT_ALIGNMENT_KEY,this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).toString())),await this.getProperty(ne.LINE_HEIGHT_KEY)&&t.style.setProperty(ne.LINE_HEIGHT_KEY,this.userProperties.getByRef(ne.LINE_HEIGHT_REF).toString()),await this.getProperty(ne.PAGE_MARGINS_KEY)&&t.style.setProperty(ne.PAGE_MARGINS_KEY,this.userProperties.getByRef(ne.PAGE_MARGINS_REF).toString())),await this.getProperty(ne.APPEARANCE_KEY)?(t.style.setProperty(ne.APPEARANCE_KEY,this.userProperties.getByRef(ne.APPEARANCE_REF).toString()),this.userProperties.getByRef(ne.APPEARANCE_REF).value===0?(Cn(n,"data-viewer-theme","day"),Cn(r,"data-viewer-theme","day")):this.userProperties.getByRef(ne.APPEARANCE_REF).value===1?(Cn(n,"data-viewer-theme","sepia"),Cn(r,"data-viewer-theme","sepia")):this.userProperties.getByRef(ne.APPEARANCE_REF).value===2&&(Cn(n,"data-viewer-theme","night"),Cn(r,"data-viewer-theme","night"))):(t.style.setProperty(ne.APPEARANCE_KEY,this.userProperties.getByRef(ne.APPEARANCE_REF).toString()),Cn(n,"data-viewer-theme","day"),Cn(r,"data-viewer-theme","day")),this.view.delegate.publication.isReflowable&&(await this.getProperty(ne.FONT_FAMILY_KEY)?(t.style.setProperty(ne.FONT_FAMILY_KEY,this.userProperties.getByRef(ne.FONT_FAMILY_REF).toString()),this.userProperties.getByRef(ne.FONT_FAMILY_REF).value===0?(Cn(t,"data-viewer-font","publisher"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-off")):this.userProperties.getByRef(ne.FONT_FAMILY_REF).value===1?(Cn(t,"data-viewer-font","serif"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-on")):this.userProperties.getByRef(ne.FONT_FAMILY_REF).value===2?(Cn(t,"data-viewer-font","sans"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-on")):(Cn(t,"data-viewer-font",this.userProperties.getByRef(ne.FONT_FAMILY_REF).toString()),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-on"))):(t.style.setProperty(ne.FONT_FAMILY_KEY,this.userProperties.getByRef(ne.FONT_FAMILY_REF).toString()),Cn(t,"data-viewer-font","publisher"),t.style.setProperty(ne.FONT_OVERRIDE_KEY,"readium-font-off")),await this.getProperty(ne.SCROLL_KEY)?this.userProperties.getByRef(ne.SCROLL_REF).value===!0?t.style.setProperty("--USER__scroll","readium-scroll-on"):t.style.setProperty("--USER__scroll","readium-scroll-off"):t.style.setProperty("--USER__scroll","readium-scroll-on"),t.style.setProperty("--USER__advancedSettings","readium-advanced-on"),this.isScrollMode().then(o=>{this.view.setMode(o)}))}setIframe(t){this.iframe=t,this.view.iframe=t,this.settingsView&&this.renderControls(this.settingsView)}renderControls(t){ye(Ae(t,"ul"),"click",n=>{n.stopPropagation()})}onSettingsChange(t){this.settingsChangeCallback=t}onColumnSettingsChange(t){this.settingsColumnsChangeCallback=t}onViewChange(t){this.viewChangeCallback=t}async storeProperty(t){await this.updateUserSettings(),await this.saveProperty(t)}addAppearance(t){Rt.appearanceValues.includes(t)||Rt.appearanceValues.push(t)}initAddedAppearance(){this.applyProperties()}addFont(t){Rt.fontFamilyValues.includes(t)||Rt.fontFamilyValues.push(t)}initAddedFont(){this.applyProperties()}async updateUserSettings(){let t={fontFamily:Rt.fontFamilyValues[await this.userProperties.getByRef(ne.FONT_FAMILY_REF).value],fontSize:this.userProperties.getByRef(ne.FONT_SIZE_REF).value,appearance:Rt.appearanceValues[await this.userProperties.getByRef(ne.APPEARANCE_REF).value],textAlignment:Rt.textAlignmentValues[await this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value],columnCount:Rt.columnCountValues[await this.userProperties.getByRef(ne.COLUMN_COUNT_REF).value],wordSpacing:this.userProperties.getByRef(ne.WORD_SPACING_REF).value,letterSpacing:this.userProperties.getByRef(ne.LETTER_SPACING_REF).value,verticalScroll:this.userProperties.getByRef(ne.SCROLL_REF).value};this.api?.updateSettings&&this.api?.updateSettings(t).then(n=>{Y&&console.log("api updated user settings",t)})}getUserSettings(){let t=new Or;return t.addSwitchable("readium-font-on","readium-font-off",this.fontOverride,ne.FONT_OVERRIDE_REF,ne.FONT_OVERRIDE_KEY),t.addEnumerable(this.columnCount,Rt.columnCountValues,ne.COLUMN_COUNT_REF,ne.COLUMN_COUNT_KEY),t.addEnumerable(this.appearance,Rt.appearanceValues,ne.APPEARANCE_REF,ne.APPEARANCE_KEY),t.addIncremental(this.pageMargins,.5,4,.25,"",ne.PAGE_MARGINS_REF,ne.PAGE_MARGINS_KEY),t.addEnumerable(this.textAlignment,Rt.textAlignmentValues,ne.TEXT_ALIGNMENT_REF,ne.TEXT_ALIGNMENT_KEY),t.addEnumerable(this.fontFamily,Rt.fontFamilyValues,ne.FONT_FAMILY_REF,ne.FONT_FAMILY_KEY),t.addIncremental(this.fontSize,100,300,25,"%",ne.FONT_SIZE_REF,ne.FONT_SIZE_KEY),t.addIncremental(this.lineHeight,1,2,.25,"em",ne.LINE_HEIGHT_REF,ne.LINE_HEIGHT_KEY),t.addIncremental(this.wordSpacing,0,1,.25,"rem",ne.WORD_SPACING_REF,ne.WORD_SPACING_KEY),t.addIncremental(this.letterSpacing,0,.5,.0625,"em",ne.LETTER_SPACING_REF,ne.LETTER_SPACING_KEY),t.addSwitchable("readium-scroll-on","readium-scroll-off",this.verticalScroll,ne.SCROLL_REF,ne.SCROLL_KEY),t}async saveProperty(t){let n=await this.store.get(this.USERSETTINGS);if(n){let r=JSON.parse(n);r=r.filter(o=>o.name!==t.name),t.value!==void 0&&r.push(t),await this.store.set(this.USERSETTINGS,JSON.stringify(r))}else{let r=[];r.push(t),await this.store.set(this.USERSETTINGS,JSON.stringify(r))}return new Promise(r=>r(t))}async getProperty(t){let n=await this.store.get(this.USERSETTINGS);if(n){let r=JSON.parse(n);return r=r.filter(o=>o.name===t),r.length===0?null:r[0]}return null}async getPropertyAndFallback(t,n){return(await this.getProperty(n))?.value??this[t]}async resetUserSettings(){await this.store.remove(this.USERSETTINGS),await this.reset(),this.settingsChangeCallback()}get currentSettings(){return{appearance:Rt.appearanceValues[this.userProperties.getByRef(ne.APPEARANCE_REF).value],fontFamily:Rt.fontFamilyValues[this.userProperties.getByRef(ne.FONT_FAMILY_REF).value],textAlignment:Rt.textAlignmentValues[this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value],columnCount:Rt.columnCountValues[this.userProperties.getByRef(ne.COLUMN_COUNT_REF).value],verticalScroll:this.verticalScroll,fontSize:this.fontSize,wordSpacing:this.wordSpacing,letterSpacing:this.letterSpacing,pageMargins:this.pageMargins,lineHeight:this.lineHeight}}async applyUserSettings(t){if(t.appearance){let n;t.appearance==="day"||t.appearance==="readium-default-on"?n=Rt.appearanceValues[0]:t.appearance==="sepia"||t.appearance==="readium-sepia-on"?n=Rt.appearanceValues[1]:t.appearance==="night"||t.appearance==="readium-night-on"?n=Rt.appearanceValues[2]:n=t.appearance,this.appearance=Rt.appearanceValues.findIndex(r=>r===n),this.userProperties.getByRef(ne.APPEARANCE_REF).value=this.appearance,await this.storeProperty(this.userProperties.getByRef(ne.APPEARANCE_REF))}t.fontSize&&(this.fontSize=t.fontSize,this.userProperties.getByRef(ne.FONT_SIZE_REF).value=this.fontSize,await this.storeProperty(this.userProperties.getByRef(ne.FONT_SIZE_REF))),t.fontFamily&&(this.fontFamily=Rt.fontFamilyValues.findIndex(n=>n===t.fontFamily),this.userProperties.getByRef(ne.FONT_FAMILY_REF).value=this.fontFamily,await this.storeProperty(this.userProperties.getByRef(ne.FONT_FAMILY_REF))),t.letterSpacing&&(this.letterSpacing=t.letterSpacing,this.userProperties.getByRef(ne.LETTER_SPACING_REF).value=this.letterSpacing,await this.storeProperty(this.userProperties.getByRef(ne.LETTER_SPACING_REF))),t.wordSpacing&&(this.wordSpacing=t.wordSpacing,this.userProperties.getByRef(ne.WORD_SPACING_REF).value=this.wordSpacing,await this.storeProperty(this.userProperties.getByRef(ne.WORD_SPACING_REF))),t.columnCount&&(this.columnCount=Rt.columnCountValues.findIndex(n=>n===t.columnCount),this.userProperties.getByRef(ne.COLUMN_COUNT_REF).value=this.columnCount,await this.storeProperty(this.userProperties.getByRef(ne.COLUMN_COUNT_REF)),this.settingsColumnsChangeCallback()),t.textAlignment&&(this.textAlignment=Rt.textAlignmentValues.findIndex(n=>n===t.textAlignment),this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF).value=this.textAlignment,await this.storeProperty(this.userProperties.getByRef(ne.TEXT_ALIGNMENT_REF))),t.lineHeight&&(this.lineHeight=t.lineHeight,this.userProperties.getByRef(ne.LINE_HEIGHT_REF).value=this.lineHeight,await this.storeProperty(this.userProperties.getByRef(ne.LINE_HEIGHT_REF))),t.pageMargins&&(this.pageMargins=t.pageMargins,this.userProperties.getByRef(ne.PAGE_MARGINS_REF).value=this.pageMargins,await this.storeProperty(this.userProperties.getByRef(ne.PAGE_MARGINS_REF))),await this.applyProperties(),this.settingsChangeCallback(),setTimeout(async()=>{if(t.verticalScroll!==void 0){let n=this.view.getCurrentPosition();this.verticalScroll=Rt.parseScrollSetting(t.verticalScroll),this.userProperties.getByRef(ne.SCROLL_REF).value=this.verticalScroll,await this.saveProperty(this.userProperties.getByRef(ne.SCROLL_REF)),await this.applyProperties(),this.view.setMode(this.verticalScroll),this.view.goToProgression(n),this.viewChangeCallback()}},10)}static parseScrollSetting(t){switch(t){case!0:case"scroll":case"readium-scroll-on":return!0;case!1:case"paginated":case"readium-scroll-off":return!1}}async scroll(t){let n=this.view.getCurrentPosition();this.verticalScroll=t,this.userProperties.getByRef(ne.SCROLL_REF).value=this.verticalScroll,await this.saveProperty(this.userProperties.getByRef(ne.SCROLL_REF)),await this.applyProperties(),this.view.setMode(this.verticalScroll),this.view.goToProgression(n),this.viewChangeCallback()}async increase(t){t==="fontSize"?(this.userProperties.getByRef(ne.FONT_SIZE_REF).increment(),this.fontSize=this.userProperties.getByRef(ne.FONT_SIZE_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.FONT_SIZE_REF))):t==="letterSpacing"?(this.userProperties.getByRef(ne.LETTER_SPACING_REF).increment(),this.letterSpacing=this.userProperties.getByRef(ne.LETTER_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LETTER_SPACING_REF))):t==="wordSpacing"?(this.userProperties.getByRef(ne.WORD_SPACING_REF).increment(),this.wordSpacing=this.userProperties.getByRef(ne.WORD_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.WORD_SPACING_REF))):t==="lineHeight"&&(this.userProperties.getByRef(ne.LINE_HEIGHT_REF).increment(),this.lineHeight=this.userProperties.getByRef(ne.LINE_HEIGHT_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LINE_HEIGHT_REF))),await this.applyProperties(),this.settingsChangeCallback()}async decrease(t){t==="fontSize"?(this.userProperties.getByRef(ne.FONT_SIZE_REF).decrement(),this.fontSize=this.userProperties.getByRef(ne.FONT_SIZE_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.FONT_SIZE_REF))):t==="letterSpacing"?(this.userProperties.getByRef(ne.LETTER_SPACING_REF).decrement(),this.letterSpacing=this.userProperties.getByRef(ne.LETTER_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LETTER_SPACING_REF))):t==="wordSpacing"?(this.userProperties.getByRef(ne.WORD_SPACING_REF).decrement(),this.wordSpacing=this.userProperties.getByRef(ne.WORD_SPACING_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.WORD_SPACING_REF))):t==="lineHeight"&&(this.userProperties.getByRef(ne.LINE_HEIGHT_REF).decrement(),this.wordSpacing=this.userProperties.getByRef(ne.LINE_HEIGHT_REF).value,await this.storeProperty(this.userProperties.getByRef(ne.LINE_HEIGHT_REF))),await this.applyProperties(),this.settingsChangeCallback()}},Fo=Rt;Fo.appearanceValues=["readium-default-on","readium-sepia-on","readium-night-on"],Fo.fontFamilyValues=["Original","serif","sans-serif"],Fo.textAlignmentValues=["auto","justify","start"],Fo.columnCountValues=["auto","1","2"];x();x();var di;(function(n){n[n.Bookmark=0]="Bookmark",n[n.Annotation=1]="Annotation"})(di||(di={}));x();x();x();x();x();x();var uS={stringify(i){let t=i.nSigBytes,n=i.words,r=[];for(let o=0;o<t;o++){let l=n[o>>>2]>>>24-o%4*8&255;r.push((l>>>4).toString(16)),r.push((l&15).toString(16))}return r.join("")},parse(i){let t=i.length;if(t%2!=0)throw new Error("Hex string count must be even");let n=[];for(let r=0;r<t;r+=2)n[r>>>3]|=parseInt(i.substr(r,2),16)<<24-r%8*4;return new Dn(n,t/2)}};x();x();var dS=typeof navigator!="undefined"&&navigator.userAgent?navigator.userAgent.toLowerCase():"",$o=(()=>{let i=parseInt((/msie (\d+)/.exec(dS)||[])[1],10);return isNaN(i)?(i=parseInt((/trident\/.*; rv:(\d+)/.exec(dS)||[])[1],10),isNaN(i)?!1:i):i})();function hS(i,t){return $o===!1?!1:t?i==="<"?$o<t:i==="<="?$o<=t:i===">"?$o>t:i===">="?$o>=t:$o===t:!0}function zN(){if(typeof window!="undefined"){let i=window.crypto||window.msCrypto;if(!i){if(hS("<",11))return console.warn("IE <= 10 uses insecure random generator. Please consider to use IE11 or another modern browser"),function(){return Math.floor(Math.random()*512)%256};throw new Error("Crypto module not found")}return function(){return i.getRandomValues(new Uint32Array(1))[0]}}else{if(typeof window!="undefined"&&window.crypto)return function(){return window.crypto.randomBytes(4).readInt32LE()};if(typeof Cc=="function")return function(){let t="crypt";return t+=String.fromCharCode(111),__non_webpack_require__(t).randomBytes(4).readInt32LE()}}throw new Error("Unable to find crypto module")}var fS=zN();var Dn=class{constructor(t,n){if(Array.isArray(t)||!t){this._words=Array.isArray(t)?t:[],this._nSignificantBytes=typeof n=="number"?n:this._words.length*4;return}let r;if(t instanceof ArrayBuffer)r=new Uint8Array(t);else if(t instanceof Uint8Array||t instanceof Int8Array||t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);else throw new Error("Invalid argument");if(!r){this._words=[],this._nSignificantBytes=0;return}let o=r.byteLength,l=[];for(let s=0;s<o;s++)l[s>>>2]|=r[s]<<24-s%4*8;this._words=l,this._nSignificantBytes=o}get nSigBytes(){return this._nSignificantBytes}set nSigBytes(t){this._nSignificantBytes=t}get words(){return this._words}toString(t){return t?t.stringify(this):uS.stringify(this)}toUint8Array(){let t=this._words,n=this._nSignificantBytes,r=new Uint8Array(n);for(let o=0;o<n;o++)r[o]=t[o>>>2]>>>24-o%4*8&255;return r}concat(t){let n=t.words.slice(),r=t.nSigBytes;if(this.clamp(),this._nSignificantBytes%4)for(let o=0;o<r;o++){let l=n[o>>>2]>>>24-o%4*8&255;this._words[this._nSignificantBytes+o>>>2]|=l<<24-(this._nSignificantBytes+o)%4*8}else for(let o=0;o<r;o+=4)this._words[this._nSignificantBytes+o>>>2]=n[o>>>2];return this._nSignificantBytes+=r,this}clamp(){let t=this._nSignificantBytes;this._words[t>>>2]&=4294967295<<32-t%4*8,this._words.length=Math.ceil(t/4)}clone(){return new Dn(this._words.slice(),this._nSignificantBytes)}static random(t){let n=[];for(let r=0;r<t;r+=4)n.push(fS());return new Dn(n,t)}};x();x();var U0={stringify(i){let t=i.nSigBytes,n=i.words,r=[];for(let o=0;o<t;o++){let l=n[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(l))}return r.join("")},parse(i){let t=i.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(i.charCodeAt(r)&255)<<24-r%4*8;return new Dn(n,t)}};var pS={stringify(i){try{return decodeURIComponent(escape(U0.stringify(i)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse(i){return U0.parse(unescape(encodeURIComponent(i)))}};var W0=class{constructor(t){this._minBufferSize=0,this._blockSize=0,this._props=t,this._data=t&&typeof t.data!="undefined"?t.data.clone():new Dn,this._nBytes=t&&typeof t.nBytes=="number"?t.nBytes:0}get blockSize(){return this._blockSize}reset(t,n){this._data=typeof t!="undefined"?t.clone():new Dn,this._nBytes=typeof n=="number"?n:0}_append(t){let n=typeof t=="string"?pS.parse(t):t;this._data.concat(n),this._nBytes+=n.nSigBytes}_process(t){let n,r=this._data.words,o=this._data.nSigBytes,l=this._blockSize,s=this._blockSize*4,a=o/s;t?a=Math.ceil(a):a=Math.max((a|0)-this._minBufferSize,0);let u=a*l,h=Math.min(u*4,o);if(u){for(let p=0;p<u;p+=l)this._doProcessBlock(r,p);n=r.splice(0,u),this._data.nSigBytes-=h}return new Dn(n,h)}_doProcessBlock(t,n){throw new Error("Not implemented")}};var q0=class extends W0{constructor(t){super(t);this._blockSize=512/32,this._props=t,t&&typeof t.blockSize=="number"&&(this._blockSize=t.blockSize),this.reset(t?t.data:void 0,t?t.nBytes:void 0)}get blockSize(){return this._blockSize}reset(t,n){super.reset.call(this,t,n),this._doReset()}update(t){return this._append(t),this._process(),this}finalize(t){return t&&this._append(t),this._doFinalize()}_doReset(){throw new Error("Not implemented")}_doFinalize(){throw new Error("Not implemented")}};var z0=[],gS=[];function VN(i){let t=Math.sqrt(i);for(let n=2;n<=t;n++)if(!(i%n))return!1;return!0}function mS(i){return(i-(i|0))*4294967296|0}(function(){let t=2,n=0;for(;n<64;)VN(t)&&(n<8&&(z0[n]=mS(Math.pow(t,1/2))),gS[n]=mS(Math.pow(t,1/3)),n++),t++})();var Uo=[],Mi=class extends q0{constructor(t){super(t);this._hash=new Dn(z0.slice(0)),this._props=t,t&&typeof t.hash!="undefined"&&(this._hash=t.hash.clone())}_doReset(){this._hash=new Dn(z0.slice(0))}_doProcessBlock(t,n){let r=this._hash.words,o=r[0],l=r[1],s=r[2],a=r[3],u=r[4],h=r[5],p=r[6],g=r[7];for(let f=0;f<64;f++){if(f<16)Uo[f]=t[n+f]|0;else{let C=Uo[f-15],R=(C<<25|C>>>7)^(C<<14|C>>>18)^C>>>3,A=Uo[f-2],I=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;Uo[f]=R+Uo[f-7]+I+Uo[f-16]}let v=u&h^~u&p,_=o&l^o&s^l&s,w=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),b=(u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25),E=g+b+v+gS[f]+Uo[f],S=w+_;g=p,p=h,h=u,u=a+E|0,a=s,s=l,l=o,o=E+S|0}r[0]=r[0]+o|0,r[1]=r[1]+l|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+u|0,r[5]=r[5]+h|0,r[6]=r[6]+p|0,r[7]=r[7]+g|0}_doFinalize(){let t=this._data.words,n=this._nBytes*8,r=this._data.nSigBytes*8;return t[r>>>5]|=128<<24-r%32,t[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),t[(r+64>>>9<<4)+15]=n,this._data.nSigBytes=t.length*4,this._process(),this._hash}clone(){let t={hash:this._hash,blockSize:this._blockSize,data:this._data,nBytes:this._nBytes};return new Mi(t)}static hash(t,n){return new Mi(n).finalize(t)}};var jd=At(eo());x();var rt;(function(l){l[l.Annotation=0]="Annotation",l[l.Search=1]="Search",l[l.ReadAloud=2]="ReadAloud",l[l.PageBreak=3]="PageBreak",l[l.Definition=4]="Definition"})(rt||(rt={}));x();var hi=!1;function Xs(i,t){let n=i.getClientRects();return GN(n,t)}function GN(i,t){let n=1,r=[];for(let u of i)r.push({bottom:u.bottom,height:u.height,left:u.left,right:u.right,top:u.top,width:u.width});let o=yS(r,n,t),l=QN(o,n),s=bS(l),a=2*2;for(let u=s.length-1;u>=0;u--){let h=s[u];if(!(h.width*h.height>a))if(s.length>1)hi&&console.log("CLIENT RECT: remove small"),s.splice(u,1);else{hi&&console.log("CLIENT RECT: remove small, but keep otherwise empty!");break}}return hi&&wS(s),hi&&console.log(`CLIENT RECT: reduced ${r.length} --> ${s.length}`),s}function Ri(i,t,n){return Math.abs(i-t)<=n}function JN(i,t){let n=Math.max(i.left,t.left),r=Math.min(i.right,t.right),o=Math.max(i.top,t.top),l=Math.min(i.bottom,t.bottom);return{bottom:l,height:Math.max(0,l-o),left:n,right:r,top:o,width:Math.max(0,r-n)}}function vS(i,t){let n=JN(t,i);if(n.height===0||n.width===0)return[i];let r=[];{let o={bottom:i.bottom,height:0,left:i.left,right:n.left,top:i.top,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}{let o={bottom:n.top,height:0,left:n.left,right:n.right,top:i.top,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}{let o={bottom:i.bottom,height:0,left:n.left,right:n.right,top:n.bottom,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}{let o={bottom:i.bottom,height:0,left:n.right,right:i.right,top:i.top,width:0};o.width=o.right-o.left,o.height=o.bottom-o.top,o.height!==0&&o.width!==0&&r.push(o)}return r}function Nd(i,t,n,r){return(i.left<t||Ri(i.left,t,r))&&(i.right>t||Ri(i.right,t,r))&&(i.top<n||Ri(i.top,n,r))&&(i.bottom>n||Ri(i.bottom,n,r))}function KN(i,t,n){return Nd(i,t.left,t.top,n)&&Nd(i,t.right,t.top,n)&&Nd(i,t.left,t.bottom,n)&&Nd(i,t.right,t.bottom,n)}function YN(i,t){let n=Math.min(i.left,t.left),r=Math.max(i.right,t.right),o=Math.min(i.top,t.top),l=Math.max(i.bottom,t.bottom);return{bottom:l,height:l-o,left:n,right:r,top:o,width:r-n}}function V0(i,t,n){return(i.left<t.right||n>=0&&Ri(i.left,t.right,n))&&(t.left<i.right||n>=0&&Ri(t.left,i.right,n))&&(i.top<t.bottom||n>=0&&Ri(i.top,t.bottom,n))&&(t.top<i.bottom||n>=0&&Ri(t.top,i.bottom,n))}function yS(i,t,n){for(let r=0;r<i.length;r++)for(let o=r+1;o<i.length;o++){let l=i[r],s=i[o];if(l===s){hi&&console.log("mergeTouchingRects rect1 === rect2 ??!");continue}let a=Ri(l.top,s.top,t)&&Ri(l.bottom,s.bottom,t),u=Ri(l.left,s.left,t)&&Ri(l.right,s.right,t);if((u&&!n||a&&!u)&&V0(l,s,t)){hi&&console.log(`CLIENT RECT: merging two into one, VERTICAL: ${a} HORIZONTAL: ${u} (${n})`);let f=i.filter(_=>_!==l&&_!==s),v=YN(l,s);return f.push(v),yS(f,t,n)}}return i}function bS(i){for(let t=0;t<i.length;t++)for(let n=t+1;n<i.length;n++){let r=i[t],o=i[n];if(r===o){hi&&console.log("replaceOverlappingRects rect1 === rect2 ??!");continue}if(V0(r,o,-1)){let l=[],s,a,u=vS(r,o);if(u.length===1)l=u,s=r,a=o;else{let p=vS(o,r);u.length<p.length?(l=u,s=r,a=o):(l=p,s=o,a=r)}if(hi){let p=[];p.push(a),Array.prototype.push.apply(p,l),wS(p)}hi&&console.log(`CLIENT RECT: overlap, cut one rect into ${l.length}`);let h=i.filter(p=>p!==s);return Array.prototype.push.apply(h,l),bS(h)}}return i}function XN(i,t){return Math.max(0,Math.min(i.right,t.right)-Math.max(i.left,t.left))}function ZN(i,t){return Math.max(0,Math.min(i.bottom,t.bottom)-Math.max(i.top,t.top))}function QN(i,t){let n=new Set(i);for(let r of i){if(!(r.width>1&&r.height>1)){hi&&console.log("CLIENT RECT: remove tiny"),n.delete(r);continue}for(let l of i)if(r!==l&&!!n.has(l)&&KN(l,r,t)){hi&&console.log("CLIENT RECT: remove contained"),n.delete(r);break}}return Array.from(n)}function wS(i){let t=[];for(let n of i)for(let r of i){if(n===r)continue;let o=t.indexOf(n)>=0,l=t.indexOf(r)>=0;if((!o||!l)&&V0(n,r,-1)&&(o||t.push(n),l||t.push(r),hi)){console.log("CLIENT RECT: overlap ---"),console.log(`#1 TOP:${n.top} BOTTOM:${n.bottom} LEFT:${n.left} RIGHT:${n.right} WIDTH:${n.width} HEIGHT:${n.height}`),console.log(`#2 TOP:${r.top} BOTTOM:${r.bottom} LEFT:${r.left} RIGHT:${r.right} WIDTH:${r.width} HEIGHT:${r.height}`);let s=XN(n,r);console.log(`xOverlap: ${s}`);let a=ZN(n,r);console.log(`yOverlap: ${a}`)}}t.length&&hi&&console.log(`CLIENT RECT: overlaps ${t.length}`)}x();var rn=!1;function to(i,t){let n=i?i.getSelection():null;if(!n)return;if(n.isCollapsed){rn&&console.log("^^^ SELECTION COLLAPSED.");return}let r=n.toString(),o=r.trim().replace(/\n/g," ").replace(/\s\s+/g," ");if(o.length===0){rn&&console.log("^^^ SELECTION TEXT EMPTY.");return}if(!n.anchorNode||!n.focusNode)return;let l=n.rangeCount===1?n.getRangeAt(0):_S(n.anchorNode,n.anchorOffset,n.focusNode,n.focusOffset);if(!l||l.collapsed){rn&&console.log("$$$$$$$$$$$$$$$$$ CANNOT GET NON-COLLAPSED SELECTION RANGE?!");return}let s=tD(l);rn&&(s.startContainer!==l.startContainer&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: startContainer"),console.log(s.startContainer),console.log(l.startContainer)),s.startOffset!==l.startOffset&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: startOffset"),console.log(`${s.startOffset} !== ${l.startOffset}`)),s.endContainer!==l.endContainer&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: endContainer"),console.log(s.endContainer),console.log(l.endContainer)),s.endOffset!==l.endOffset&&rn&&(console.log(">>>>>>>>>>>>>>>>>>>>>>> SELECTION RANGE NORMALIZE diff: endOffset"),console.log(`${s.endOffset} !== ${l.endOffset}`)));let a=Mr(s,t);if(!a){rn&&console.log("^^^ SELECTION RANGE INFO FAIL?!");return}return{rangeInfo:a,cleanText:o,rawText:r,range:s}}function _S(i,t,n,r){try{let o=new Range;if(o.setStart(i,t),o.setEnd(n,r),!o.collapsed)return rn&&console.log(">>> createOrderedRange RANGE OK"),o;rn&&console.log(">>> createOrderedRange COLLAPSED ... RANGE REVERSE?");let l=new Range;if(l.setStart(n,r),l.setEnd(i,t),!l.collapsed)return rn&&console.log(">>> createOrderedRange RANGE REVERSE OK."),o;rn&&console.log(">>> createOrderedRange RANGE REVERSE ALSO COLLAPSED?!");return}catch(o){console.warn(o.message);return}}function Mr(i,t){let n=i.startContainer.nodeType===Node.ELEMENT_NODE,r=n?i.startContainer:i.startContainer.parentNode&&i.startContainer.parentNode.nodeType===Node.ELEMENT_NODE?i.startContainer.parentNode:void 0;if(!r)return;let o=n?-1:Array.from(r.childNodes).indexOf(i.startContainer);if(o<-1)return;let l=t(r),s=i.endContainer.nodeType===Node.ELEMENT_NODE,a=s?i.endContainer:i.endContainer.parentNode&&i.endContainer.parentNode.nodeType===Node.ELEMENT_NODE?i.endContainer.parentNode:void 0;if(!a)return;let u=s?-1:Array.from(a.childNodes).indexOf(i.endContainer);if(u<-1)return;let h=t(a),p=eD(i.startContainer,i.endContainer);if(!p){rn&&console.log("^^^ NO RANGE COMMON ANCESTOR?!");return}if(i.commonAncestorContainer){let g=i.commonAncestorContainer.nodeType===Node.ELEMENT_NODE?i.commonAncestorContainer:i.commonAncestorContainer.parentNode;g&&g.nodeType===Node.ELEMENT_NODE&&p!==g&&rn&&(console.log(">>>>>> COMMON ANCESTOR CONTAINER DIFF??!"),console.log(t(p)),console.log(t(g)))}return{endContainerChildTextNodeIndex:u,endContainerElementCssSelector:h,endOffset:i.endOffset,startContainerChildTextNodeIndex:o,startContainerElementCssSelector:l,startOffset:i.startOffset}}function ES(i,t){let n=i.querySelector(t.startContainerElementCssSelector);if(!n){rn&&console.log("^^^ convertRangeInfo NO START ELEMENT CSS SELECTOR?!");return}let r=n;if(t.startContainerChildTextNodeIndex>=0){if(t.startContainerChildTextNodeIndex>=n.childNodes.length){rn&&console.log("^^^ convertRangeInfo rangeInfo.startContainerChildTextNodeIndex >= startElement.childNodes.length?!");return}if(r=n.childNodes[t.startContainerChildTextNodeIndex],r.nodeType!==Node.TEXT_NODE){rn&&console.log("^^^ convertRangeInfo startContainer.nodeType !== Node.TEXT_NODE?!");return}}let o=i.querySelector(t.endContainerElementCssSelector);if(!o){rn&&console.log("^^^ convertRangeInfo NO END ELEMENT CSS SELECTOR?!");return}let l=o;if(t.endContainerChildTextNodeIndex>=0){if(t.endContainerChildTextNodeIndex>=o.childNodes.length){rn&&console.log("^^^ convertRangeInfo rangeInfo.endContainerChildTextNodeIndex >= endElement.childNodes.length?!");return}if(l=o.childNodes[t.endContainerChildTextNodeIndex],l.nodeType!==Node.TEXT_NODE){rn&&console.log("^^^ convertRangeInfo endContainer.nodeType !== Node.TEXT_NODE?!");return}}return _S(r,t.startOffset,l,t.endOffset)}function eD(i,t){if(i.nodeType===Node.ELEMENT_NODE&&i===t||i.nodeType===Node.ELEMENT_NODE&&i.contains(t))return i;if(t.nodeType===Node.ELEMENT_NODE&&t.contains(i))return t;let n=[],r=i.parentNode;for(;r&&r.nodeType===Node.ELEMENT_NODE;)n.push(r),r=r.parentNode;let o=[];for(r=t.parentNode;r&&r.nodeType===Node.ELEMENT_NODE;)o.push(r),r=r.parentNode;let l=n.find(s=>o.indexOf(s)>=0);return l||(l=o.find(s=>n.indexOf(s)>=0)),l}function tD(i){let t=i.cloneRange(),n=t.startContainer,r=t.startOffset,o=t.endContainer,l=t.endOffset;n.childNodes.length&&r>0&&(n=OS(n.childNodes[r-1]),r=n.length||0),l<o.childNodes.length&&(o=SS(o.childNodes[l]),l=0);let s=SS(n),a=OS(o);function u(h){if(h.childNodes.length)return!1;let p=h.length||0;return h===n&&r===p?!1:!(h===o&&l===0)}for(;s&&!u(s)&&s!==a;)s=nD(s);for(s===n?t.setStart(n,r):s!==null&&(s.nodeType===3?t.setStart(s,0):t.setStartBefore(s));a&&!u(a)&&a!==s;)a=iD(a);return a===o?t.setEnd(o,l):a!==null&&(a.nodeType===3?t.setEnd(a,a.length):t.setEndAfter(a)),t}function nD(i){if(i.firstChild)return i.firstChild;let t=i;for(;!t.nextSibling;)if(t=t.parentNode,!t)return null;return t.nextSibling}function iD(i){if(i.lastChild)return i.lastChild;let t=i;for(;!t.previousSibling;)if(t=t.parentNode,!t)return null;return t.previousSibling}function SS(i){for(;i.firstChild;)i=i.firstChild;return i}function OS(i){for(;i.lastChild;)i=i.lastChild;return i}x();var J0=At(xS()),no;(function(r){r[r.All=0]="All",r[r.Two=1]="Two",r[r.One=2]="One"})(no||(no={}));var Rr,K0;function Hn(i,t,n){if(i.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(i.tagName.toLowerCase()==="html")return i.tagName.toLowerCase();let r={className:l=>!0,idName:l=>!0,optimizedMinLength:2,root:t.body,seedMinLength:1,tagName:l=>!0,threshold:1e3};Rr=st(st({},r),n),K0=uD(Rr.root,r);let o=Y0(i,0,()=>Y0(i,1,()=>Y0(i,2)));if(o){let l=kS(LS(o,i));return l.length>0&&(o=l[0]),Dd(o)}else throw new Error("Selector was not found.")}function uD(i,t){return i.nodeType===Node.DOCUMENT_NODE?i:i===t.root?i.ownerDocument:i}function Y0(i,t,n){let r=null,o=[],l=i,s=0;for(;l&&l!==Rr.root.parentElement;){let a=Q0(dD(l))||Q0(...hD(l))||Q0(fD(l))||[pD()],u=gD(l);if(t===0)u&&(a=a.concat(a.filter(Z0).map(h=>X0(h,u))));else if(t===1)a=a.slice(0,1),u&&(a=a.concat(a.filter(Z0).map(h=>X0(h,u))));else if(t===2){let[h]=a=a.slice(0,1);u&&Z0(h)&&(a=[X0(h,u)])}for(let h of a)h.level=s;if(o.push(a),o.length>=Rr.seedMinLength&&(r=TS(o,n),r))break;l=l.parentElement,s++}return r||(r=TS(o,n)),r}function TS(i,t){let n=kS(RS(i));if(n.length>Rr.threshold)return t?t():null;for(let r of n)if(MS(r))return r;return null}function Dd(i){let t=i[0],n=t.name;for(let r=1;r<i.length;r++){let o=i[r].level||0;t.level===o-1?n=`${i[r].name} > ${n}`:n=`${i[r].name} ${n}`,t=i[r]}return n}function AS(i){return i.map(t=>t.penalty).reduce((t,n)=>t+n,0)}function MS(i){switch(K0.querySelectorAll(Dd(i)).length){case 0:throw new Error(`Can't select any node with this selector: ${Dd(i)}`);case 1:return!0;default:return!1}}function dD(i){let t=i.getAttribute("id");return t&&Rr.idName(t)?{name:"#"+(0,J0.default)(t,{isIdentifier:!0}),penalty:0}:null}function hD(i){return Array.from(i.classList).filter(Rr.className).map(n=>({name:"."+(0,J0.default)(n,{isIdentifier:!0}),penalty:1}))}function fD(i){let t=i.tagName.toLowerCase();return Rr.tagName(t)?{name:t,penalty:2}:null}function pD(){return{name:"*",penalty:3}}function gD(i){let t=i.parentNode;if(!t)return null;let n=t.firstChild;if(!n)return null;let r=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==i);)n=n.nextSibling;return r}function X0(i,t){return{name:i.name+`:nth-child(${t})`,penalty:i.penalty+1}}function Z0(i){return i.name!=="html"&&!i.name.startsWith("#")}function Q0(...i){let t=i.filter(mD);return t.length>0?t:null}function mD(i){return i!=null}function*RS(i,t=[]){if(i.length>0)for(let n of i[0])yield*RS(i.slice(1,i.length),t.concat(n));else yield t}function kS(i){return Array.from(i).sort((t,n)=>AS(t)-AS(n))}function*LS(i,t){if(i.length>2&&i.length>Rr.optimizedMinLength)for(let n=1;n<i.length-1;n++){let r=[...i];r.splice(n,1),MS(r)&&vD(r,t)&&(yield r,yield*LS(r,t))}}function vD(i,t){return K0.querySelector(Dd(i))===t}x();var ot;(function(o){o[o.Highlight=0]="Highlight",o[o.Underline=1]="Underline",o[o.Bookmark=2]="Bookmark",o[o.Custom=3]="Custom"})(ot||(ot={}));x();var PS=24,IS=24,eg="0 0 24 24",jn=(i,t,n,r="icon")=>`<svg xmlns="http://www.w3.org/2000/svg" width="${PS}" height="${IS}" viewBox="${eg}" preserveAspectRatio="xMidYMid meet" role="img" class="${r}" aria-labelledBy="${i}">
|
|
70
70
|
<title id="${i}">${t}</title>
|
|
71
71
|
${n}
|
|
72
72
|
</svg>`,tg=(i,t,n,r="icon",o,l)=>`<svg xmlns="http://www.w3.org/2000/svg" width="${o}" height="${o}" viewBox="${eg}" style="fill:${l}" preserveAspectRatio="xMidYMid meet" role="img" class="${r}" aria-labelledBy="${i}">
|