phpvms/public/assets/global/js/vendor.js

9 lines
246 KiB
JavaScript
Raw Normal View History

(function(){function e(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function t(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function r(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function i(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function o(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function s(e,t){return!!(null==e?0:e.length)&&y(e,t,0)>-1}function a(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function u(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function c(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function f(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function p(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function h(e){return e.split("")}function d(e){return e.match(Dt)||[]}function g(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function v(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function y(e,t,n){return t===t?U(e,t,n):v(e,b,n)}function m(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function b(e){return e!==e}function _(e,t){var n=null==e?0:e.length;return n?A(e,t)/n:Ee}function w(e){return function(t){return null==t?Z:t[e]}}function x(e){return function(t){return null==e?Z:e[t]}}function C(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function k(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function A(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==Z&&(n=n===Z?o:n+o)}return n}function S(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function T(e,t){return u(t,function(t){return[t,e[t]]})}function E(e){return function(t){return e(t)}}function $(e,t){return u(t,function(t){return e[t]})}function j(e,t){return e.has(t)}function O(e,t){for(var n=-1,r=e.length;++n<r&&y(t,e[n],0)>-1;);return n}function D(e,t){for(var n=e.length;n--&&y(t,e[n],0)>-1;);return n}function L(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function N(e){return"\\"+_n[e]}function q(e,t){return null==e?Z:e[t]}function R(e){return fn.test(e)}function I(e){return pn.test(e)}function P(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function M(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function H(e,t){return function(n){return e(t(n))}}function B(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==re||(e[n]=re,o[i++]=n)}return o}function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function U(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function F(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function G(e){return R(e)?Y(e):In(e)}function K(e){return R(e)?V(e):h(e)}function Y(e){for(var t=ln.lastIndex=0;ln.test(e);)++t;return t}function V(e){return e.match(ln)||[]}function X(e){return e.match(cn)||[]}var Z,J=200,Q="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ee="Expected a function",te="__lodash_hash_undefined__",ne=500,re="__lodash_placeholder__",ie=1,oe=2,se=4,ae=1,ue=2,le=1,ce=2,fe=4,pe=8,he=16,de=32,ge=64,ve=128,ye=256,me=512,be=30,_e="...",we=800,xe=16,Ce=1,ke=2,Ae=1/0,Se=9007199254740991,Te=1.7976931348623157e308,Ee=NaN,$e=4294967295,je=$e-1,Oe=$e>>>1,De=[["ary",ve],["bind",le],["bindKey",ce],["curry",pe],["curryRight",he],["flip",me],["partial",de],["partialRight",ge],["rearg",ye]],Le="[object Arguments]",Ne="[object Array]",qe
;var d=e[c],g=t[c];if(r)var v=s?r(g,d,c,t,e,o):r(d,g,c,e,t,o);if(!(v===Z?d===g||i(d,g,n,r,o):v)){p=!1;break}h||(h="constructor"==c)}if(p&&!h){var y=e.constructor,m=t.constructor;y!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(e),o.delete(t),p}function fo(e){return Tf(zo(e,Z,ls),e+"")}function po(e){return dr(e,Ru,wf)}function ho(e){return dr(e,Iu,xf)}function go(e){for(var t=e.name+"",n=ef[t],r=pc.call(ef,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function vo(e){return(pc.call(U,"placeholder")?U:e).placeholder}function yo(){var e=U.iteratee||Tl;return e=e===Tl?Nr:e,arguments.length?e(arguments[0],arguments[1]):e}function mo(e,t){var n=e.__data__;return Lo(t)?n["string"==typeof t?"string":"hash"]:n.map}function bo(e){for(var t=Ru(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Io(i)]}return t}function _o(e,t){var n=q(e,t);return jr(n)?n:Z}function wo(e){var t=pc.call(e,$c),n=e[$c];try{e[$c]=Z;var r=!0}catch(e){}var i=gc.call(e);return r&&(t?e[$c]=n:delete e[$c]),i}function xo(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=zc(t,e+s);break;case"takeRight":e=Bc(e,t-s)}}return{start:e,end:t}}function Co(e){var t=e.match(jt);return t?t[1].split(Ot):[]}function ko(e,t,n){t=_i(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var s=Vo(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Qa(i)&&jo(s,i)&&(hp(e)||pp(e))}function Ao(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&pc.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function So(e){return"function"!=typeof e.constructor||Ro(e)?{}:cf(Cc(e))}function To(e,t,n){var r=e.constructor;switch(t){case et:return Ci(e);case Re:case Ie:return new r(+e);case tt:return ki(e,n);case nt:case rt:case it:case ot:case st:case at:case ut:case lt:case ct:return Ti(e,n);case ze:return new r;case We:case Ve:return new r(e);case Ke:return Ai(e);case Ye:return new r;case Xe:return Si(e)}}function Eo(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($t,"{\n/* [wrapped with "+t+"] */\n")}function $o(e){return hp(e)||pp(e)||!!(Tc&&e&&e[Tc])}function jo(e,t){var n=typeof e;return!!(t=null==t?Se:t)&&("number"==n||"symbol"!=n&&Ht.test(e))&&e>-1&&e%1==0&&e<t}function Oo(e,t,n){if(!eu(n))return!1;var r=typeof t;return!!("number"==r?za(n)&&jo(t,n.length):"string"==r&&t in n)&&Ba(n[t],e)}function Do(e,t){if(hp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!pu(e))||(xt.test(e)||!wt.test(e)||null!=t&&e in rc(t))}function Lo(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function No(e){var t=go(e),n=U[t];if("function"!=typeof n||!(t in Dt.prototype))return!1;if(e===n)return!0;var r=_f(n);return!!r&&e===r[0]}function qo(e){return!!dc&&dc in e}function Ro(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||lc)}function Io(e){return e===e&&!eu(e)}function Po(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==Z||e in rc(n)))}}function Mo(e,t){var n=e[1],r=t[1],i=n|r,o=i<(le|ce|ve),s=r==ve&&n==pe||r==ve&&n==ye&&e[7].length<=t[8]||r==(ve|ye)&&t[7].length<=t[8]&&n==pe;if(!o&&!s)return e;r&le&&(e[2]=t[2],i|=n&le?0:fe);var a=t[3];if(a){var u=e[3];e[3]=u?ji(u,a,t[4]):a,e[4]=u?B(e[3],re):t[4]}return a=t[5],a&&(u=e[5],e[5]=u?Oi(u,a,t[6]):a,e[6]=u?B(e[5],re):t[6]),a=t[7],a&&(e[7]=a),r&ve&&(e[8]=null==e[8]?t[8]:zc(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Ho(e){var t=[];if(null!=e)for(var n in rc(e))t.push(n);return t}function Bo(e){return gc.call(e)}function zo(t,n,r){return n=Bc(n===Z?t.length-1:n,0),function(){for(var i=arguments,o=-1,s=Bc(i.length-n,0),a=Jl(s);++o<s;)a[o]=i[n+o];o=-1;for(var u=Jl(n+1);++o<n;)u[o]=i[o];return u[n]=r(a),e(t,this,u)}}function Wo(e,t){return t.length<2?e:hr(e,ii(t,0,-1))}function Uo(e,t){for(var n=e.length,r=zc(t.l
return xr(e,n,t)}}),Qp=Xi(u),eh=Xi(i),th=Xi(p),nh=Qi(),rh=Qi(!0),ih=Vi(function(e,t){return e+t},0),oh=no("ceil"),sh=Vi(function(e,t){return e/t},1),ah=no("floor"),uh=Vi(function(e,t){return e*t},1),lh=no("round"),ch=Vi(function(e,t){return e-t},0);return U.after=_a,U.ary=wa,U.assign=Cp,U.assignIn=kp,U.assignInWith=Ap,U.assignWith=Sp,U.at=Tp,U.before=xa,U.bind=np,U.bindAll=Yp,U.bindKey=rp,U.castArray=qa,U.chain=Gs,U.chunk=Qo,U.compact=es,U.concat=ts,U.cond=xl,U.conforms=Cl,U.constant=kl,U.countBy=Kf,U.create=ku,U.curry=Ca,U.curryRight=ka,U.debounce=Aa,U.defaults=Ep,U.defaultsDeep=$p,U.defer=ip,U.delay=op,U.difference=$f,U.differenceBy=jf,U.differenceWith=Of,U.drop=ns,U.dropRight=rs,U.dropRightWhile=is,U.dropWhile=os,U.fill=ss,U.filter=ra,U.flatMap=ia,U.flatMapDeep=oa,U.flatMapDepth=sa,U.flatten=ls,U.flattenDeep=cs,U.flattenDepth=fs,U.flip=Sa,U.flow=Vp,U.flowRight=Xp,U.fromPairs=ps,U.functions=Ou,U.functionsIn=Du,U.groupBy=Xf,U.initial=gs,U.intersection=Df,U.intersectionBy=Lf,U.intersectionWith=Nf,U.invert=jp,U.invertBy=Op,U.invokeMap=Zf,U.iteratee=Tl,U.keyBy=Jf,U.keys=Ru,U.keysIn=Iu,U.map=ca,U.mapKeys=Pu,U.mapValues=Mu,U.matches=El,U.matchesProperty=$l,U.memoize=Ta,U.merge=Lp,U.mergeWith=Np,U.method=Zp,U.methodOf=Jp,U.mixin=jl,U.negate=Ea,U.nthArg=Ll,U.omit=qp,U.omitBy=Hu,U.once=$a,U.orderBy=fa,U.over=Qp,U.overArgs=sp,U.overEvery=eh,U.overSome=th,U.partial=ap,U.partialRight=up,U.partition=Qf,U.pick=Rp,U.pickBy=Bu,U.property=Nl,U.propertyOf=ql,U.pull=qf,U.pullAll=_s,U.pullAllBy=ws,U.pullAllWith=xs,U.pullAt=Rf,U.range=nh,U.rangeRight=rh,U.rearg=lp,U.reject=da,U.remove=Cs,U.rest=ja,U.reverse=ks,U.sampleSize=va,U.set=Wu,U.setWith=Uu,U.shuffle=ya,U.slice=As,U.sortBy=ep,U.sortedUniq=Ds,U.sortedUniqBy=Ls,U.split=fl,U.spread=Oa,U.tail=Ns,U.take=qs,U.takeRight=Rs,U.takeRightWhile=Is,U.takeWhile=Ps,U.tap=Ks,U.throttle=Da,U.thru=Ys,U.toArray=vu,U.toPairs=Ip,U.toPairsIn=Pp,U.toPath=zl,U.toPlainObject=wu,U.transform=Fu,U.unary=La,U.union=If,U.unionBy=Pf,U.unionWith=Mf,U.uniq=Ms,U.uniqBy=Hs,U.uniqWith=Bs,U.unset=Gu,U.unzip=zs,U.unzipWith=Ws,U.update=Ku,U.updateWith=Yu,U.values=Vu,U.valuesIn=Xu,U.without=Hf,U.words=wl,U.wrap=Na,U.xor=Bf,U.xorBy=zf,U.xorWith=Wf,U.zip=Uf,U.zipObject=Us,U.zipObjectDeep=Fs,U.zipWith=Ff,U.entries=Ip,U.entriesIn=Pp,U.extend=kp,U.extendWith=Ap,jl(U,U),U.add=ih,U.attempt=Kp,U.camelCase=Mp,U.capitalize=el,U.ceil=oh,U.clamp=Zu,U.clone=Ra,U.cloneDeep=Pa,U.cloneDeepWith=Ma,U.cloneWith=Ia,U.conformsTo=Ha,U.deburr=tl,U.defaultTo=Al,U.divide=sh,U.endsWith=nl,U.eq=Ba,U.escape=rl,U.escapeRegExp=il,U.every=na,U.find=Yf,U.findIndex=as,U.findKey=Au,U.findLast=Vf,U.findLastIndex=us,U.findLastKey=Su,U.floor=ah,U.forEach=aa,U.forEachRight=ua,U.forIn=Tu,U.forInRight=Eu,U.forOwn=$u,U.forOwnRight=ju,U.get=Lu,U.gt=cp,U.gte=fp,U.has=Nu,U.hasIn=qu,U.head=hs,U.identity=Sl,U.includes=la,U.indexOf=ds,U.inRange=Ju,U.invoke=Dp,U.isArguments=pp,U.isArray=hp,U.isArrayBuffer=dp,U.isArrayLike=za,U.isArrayLikeObject=Wa,U.isBoolean=Ua,U.isBuffer=gp,U.isDate=vp,U.isElement=Fa,U.isEmpty=Ga,U.isEqual=Ka,U.isEqualWith=Ya,U.isError=Va,U.isFinite=Xa,U.isFunction=Za,U.isInteger=Ja,U.isLength=Qa,U.isMap=yp,U.isMatch=nu,U.isMatchWith=ru,U.isNaN=iu,U.isNative=ou,U.isNil=au,U.isNull=su,U.isNumber=uu,U.isObject=eu,U.isObjectLike=tu,U.isPlainObject=lu,U.isRegExp=mp,U.isSafeInteger=cu,U.isSet=bp,U.isString=fu,U.isSymbol=pu,U.isTypedArray=_p,U.isUndefined=hu,U.isWeakMap=du,U.isWeakSet=gu,U.join=vs,U.kebabCase=Hp,U.last=ys,U.lastIndexOf=ms,U.lowerCase=Bp,U.lowerFirst=zp,U.lt=wp,U.lte=xp,U.max=Ul,U.maxBy=Fl,U.mean=Gl,U.meanBy=Kl,U.min=Yl,U.minBy=Vl,U.stubArray=Rl,U.stubFalse=Il,U.stubObject=Pl,U.stubString=Ml,U.stubTrue=Hl,U.multiply=uh,U.nth=bs,U.noConflict=Ol,U.noop=Dl,U.now=tp,U.pad=ol,U.padEnd=sl,U.padStart=al,U.parseInt=ul,U.random=Qu,U.reduce=pa,U.reduceRight=ha,U.repeat=ll,U.replace=cl,U.result=zu,U.round=lh,U.runInContext=h,U.sample=ga,U.size=ma,U.snakeCase=Wp,U.some=ba,U.sortedIndex=Ss,U.sortedIndexBy=Ts,U.sortedIndexOf=Es,U.sortedLastIndex=$s,U.sortedLastIndexBy=js,U.sortedLastIndexOf=Os,U.startCase=Up,U.startsWith=pl,U.subtract=ch,U.sum=Xl,U.sumB
!O.getElementsByName||!O.getElementsByName(P).length}),_.getById?(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=_.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=_.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},q=[],N=[],(_.qsa=ve.test(O.querySelectorAll))&&(i(function(e){D.appendChild(e).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+P+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+P+"+*").length||N.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&N.push("name"+te+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),D.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")})),(_.matchesSelector=ve.test(R=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&i(function(e){_.disconnectedMatch=R.call(e,"*"),R.call(e,"[s!='']:x"),q.push("!=",ie)}),N=N.length&&new RegExp(N.join("|")),q=q.length&&new RegExp(q.join("|")),t=ve.test(D.compareDocumentPosition),I=t||ve.test(D.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return $=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===M&&I(M,e)?-1:t===O||t.ownerDocument===M&&I(M,t)?1:E?Q(E,e)-Q(E,t):0:4&n?-1:1)}:function(e,t){if(e===t)return $=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],u=[t];if(!i||!o)return e===O?-1:t===O?1:i?-1:o?1:E?Q(E,e)-Q(E,t):0;if(i===o)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===M?-1:u[r]===M?1:0},O):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&j(e),_.matchesSelector&&L&&!F[n+" "]&&(!q||!q.test(n))&&(!N||!N.test(n)))try{var r=R.call(e,n);if(r||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){F(n,!0)}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&j(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&j(e);var n=w.attrHandle[t.toLowerCase()],r=n&&K.call(w.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:_.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e
for(var t,n,r,i=Ce.event.special,o=0;void 0!==(n=e[o]);o++)if(He(n)){if(t=n[Be.expando]){if(t.events)for(r in t.events)i[r]?Ce.event.remove(n,r):Ce.removeEvent(n,r,t.handle);n[Be.expando]=void 0}n[ze.expando]&&(n[ze.expando]=void 0)}}}),Ce.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?Ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return q(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){j(this,e).appendChild(e)}})},prepend:function(){return q(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return q(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return q(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Ce.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ce.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!lt.test(e)&&!rt[(tt.exec(e)||["",""])[1].toLowerCase()]){e=Ce.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(Ce.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return q(this,arguments,function(t){var n=this.parentNode;Ce.inArray(this,e)<0&&(Ce.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),Ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Ce.fn[e]=function(e){for(var n,r=[],i=Ce(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Ce(i[s])[t](n),pe.apply(r,n.get());return this.pushStack(r)}});var pt=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},dt=new RegExp(Ke.join("|"),"i");!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ye.appendChild(u).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,a=12===n(t.marginLeft),l.style.right="60%",s=36===n(t.right),i=36===n(t.width),l.style.position="absolute",o=12===n(l.offsetWidth/3),Ye.removeChild(u),l=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,s,a,u=ue.createElement("div"),l=ue.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",be.clearCloneStyle="content-box"===l.style.backgroundClip,Ce.extend(be,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),o}}))}();var gt=["Webkit","Moz","ms"],vt=ue.createElement("div").style,yt={},mt=/^(none|table(?!-c[ea]).+)/,bt=/^--/,_t={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:"0",fontWeight:"400"};Ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=I(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=d(t),u=bt.test(t),l=e.style;if(u||(t=H(a)),s=Ce.cssHooks[t]||Ce.cssHooks[a],void 0===n)ret
e?Ce.readyWait++:Ce.ready(!0)},Ce.isArray=Array.isArray,Ce.parseJSON=JSON.parse,Ce.nodeName=o,Ce.isFunction=_e,Ce.isWindow=we,Ce.camelCase=d,Ce.type=r,Ce.now=Date.now,Ce.isNumeric=function(e){var t=Ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ce});var tn=e.jQuery,nn=e.$;return Ce.noConflict=function(t){return e.$===Ce&&(e.$=nn),t&&e.jQuery===Ce&&(e.jQuery=tn),Ce},t||(e.jQuery=e.$=Ce),Ce}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n),n}:e(jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,r;!function(t){function i(e,t){return w.call(e,t)}function o(e,t){var n,r,i,o,s,a,u,l,c,f,p,h,d=t&&t.split("/"),g=b.map,v=g&&g["*"]||{};if(e){for(e=e.split("/"),s=e.length-1,b.nodeIdCompat&&C.test(e[s])&&(e[s]=e[s].replace(C,"")),"."===e[0].charAt(0)&&d&&(h=d.slice(0,d.length-1),e=h.concat(e)),c=0;c<e.length;c++)if("."===(p=e[c]))e.splice(c,1),c-=1;else if(".."===p){if(0===c||1===c&&".."===e[2]||".."===e[c-1])continue;c>0&&(e.splice(c-1,2),c-=2)}e=e.join("/")}if((d||v)&&g){for(n=e.split("/"),c=n.length;c>0;c-=1){if(r=n.slice(0,c).join("/"),d)for(f=d.length;f>0;f-=1)if((i=g[d.slice(0,f).join("/")])&&(i=i[r])){o=i,a=c;break}if(o)break;!u&&v&&v[r]&&(u=v[r],l=c)}!o&&u&&(o=u,a=l),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function s(e,n){return function(){var r=x.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),d.apply(t,r.concat([e,n]))}}function a(e){return function(t){return o(t,e)}}function u(e){return function(t){y[e]=t}}function l(e){if(i(m,e)){var n=m[e];delete m[e],_[e]=!0,h.apply(t,n)}if(!i(y,e)&&!i(_,e))throw new Error("No "+e);return y[e]}function c(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function f(e){return e?c(e):[]}function p(e){return function(){return b&&b.config&&b.config[e]||{}}}var h,d,g,v,y={},m={},b={},_={},w=Object.prototype.hasOwnProperty,x=[].slice,C=/\.js$/;g=function(e,t){var n,r=c(e),i=r[0],s=t[1];return e=r[1],i&&(i=o(i,s),n=l(i)),i?e=n&&n.normalize?n.normalize(e,a(s)):o(e,s):(e=o(e,s),r=c(e),i=r[0],e=r[1],i&&(n=l(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},v={require:function(e){return s(e)},exports:function(e){var t=y[e];return void 0!==t?t:y[e]={}},module:function(e){return{id:e,uri:"",exports:y[e],config:p(e)}}},h=function(e,n,r,o){var a,c,p,h,d,b,w,x=[],C=typeof r;if(o=o||e,b=f(o),"undefined"===C||"function"===C){for(n=!n.length&&r.length?["require","exports","module"]:n,d=0;d<n.length;d+=1)if(h=g(n[d],b),"require"===(c=h.f))x[d]=v.require(e);else if("exports"===c)x[d]=v.exports(e),w=!0;else if("module"===c)a=x[d]=v.module(e);else if(i(y,c)||i(m,c)||i(_,c))x[d]=l(c);else{if(!h.p)throw new Error(e+" missing "+c);h.p.load(h.n,s(o,!0),u(c),{}),x[d]=y[c]}p=r?r.apply(y[e],x):void 0,e&&(a&&a.exports!==t&&a.exports!==y[e]?y[e]=a.exports:p===t&&w||(y[e]=p))}else e&&(y[e]=r)},e=n=d=function(e,n,r,i,o){if("string"==typeof e)return v[e]?v[e](n):l(g(e,f(n)).f);if(!e.splice){if(b=e,b.deps&&d(b.deps,b.callback),!n)return;n.splice?(e=n,n=r,r=null):e=t}return n=n||function(){},"function"==typeof r&&(r=i,i=o),i?h(t,e,n,r):setTimeout(function(){h(t,e,n,r)},4),d},d.config=function(e){return d(e)},e._defined=y,r=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),i(y,e)||i(m,e)||(m[e]=[e,t,n])},r.amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=r}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"
7.0.0-beta3 Release (#541) * 391 Notification refactorings (#441) * Refactor notifications to allow easier plugins * Notification refactoring * Formatting * Move news to NewsService; cleanup of events * More refactoring; added send email out for news item and the template * Formatting * Formatting * Fix missing newsRepo (#445) * Refactor and add importer to Installer module #443 (#444) * Refactor and add importer to Installer module #443 * Refactor for finances to use in import * Import groups into roles * Formatting * Formatting * Add interface in installer for import * Notes about importing * Check for installer folder * Formatting * Fix pirep->user mapping * Unused import * Formatting * Replace importer with AJAX powered; better error handling #443 (#447) * Replace importer with AJAX powered; better error handling #443 * Formatting * Fix command line importer * Remove bootstrap cache (#448) * Cleanup the bootstrap/cache directory when packaging * Fix removal of bootstrap cache * Formatting * Stricter checks on ACARS API data (#451) * Stricter checks on ACARS API data * More checks * Fix for flight_number check forcing to exist * Allow nullable on flight_id * Avoid proc_open use #455 (#456) * Use PhpExecutableFinder() closes #457 #458 (#460) * Use DateTimeZone instead of int for creating datetime closes #461 * Fix CSV imports giving Storage class not found #454 (#462) * Fix CSV imports giving Storage class not found #454 * Update yarn files for security alert * Add PHP 7.4 support (#464) * Add PHP 7.4 to build matrix * DB fix * YAML parser fix in test data * Show versions * Package updates * Track used ICAOs * 7.4 METAR parsing fix * METAR parser fix * Formatting * Add meters to response units * Call instance for unit conversion * Return value * Catch exception for unknown quantity * Comment fix * Formatting * METAR parsing fixes on PHP 7.4 * Package updates * More random airport ID * More random airport ID * Properly disable toolbar * Semver written out to version file * Use dev as default identifier * Fix BindingResolutionError when debug toolbar isn't present (#465) * Fix BindingResolutionError when debug toolbar isn't present * Formatting * Split the importer module out from the installer module (#468) * Split the importer module out from the installer module * Cleanup of unused imports * Move updater into separate module #453 * Remove unused imports/formatting * Disable the install and importer modules at the end of the setup * Unused imports; update IJ style * test explicit stage for php+mysql * add more to matrix * Add different MariaDB versions * undo * Cleanup Model doc * Pilots cannot use the dashboard or flights without admin rights (#481) * Use auth middleware instead of specific groups for logged in state * Auth check for admin access * Check user admin access for updates * Formatting * Allow nullable field and calculate distance if nulled for flight import #478 (#482) * Check for no roles being attached #480 (#483) * Return the flight fares if there are no subfleet fares #488 (#489) * Return the flight fares if there are no subfleet fares #488 * Formatting * Formatting * Account for units when entering fuel amounts #493 * Search for ICAO not working properly (#496) * /flights and /flights/search direct to the same endpoint * Properly set the distance/planned_distance on save (#497) * 491 Installation Error (#495) * Disable CSRF token * Add error handling around looking up the theme and set a default * Note about logs in issue template * Formatting * Fix GeoService errors when viewing PIREP #498 (#499) * Add new command to export a specific PIREP for debugging (#501) * Set a default model value for airports on PIREP (#500) * Set a default model value for airports on PIREP * Fix airport icao reference * Default airport models * Catch broader exception writing out config files #491 * style * Add reference to docs on doc site (#502) * Properly create/update rows importing #486 (#503) * Add base Dockerfile for Dockerhub builds (#504) * New subfleet not being attached to an airline on import #479 (#505) * Fix subfleet not being attached to an airline on creation in import #479 * Call airline name with optional() around subfleet * Minor cleanup * Search flights by subfleet #484 (#506) * API level search of flights #484 * Add Subfleet to flights page for search * Make the fuel used optional (#512) * Add make to Docker container * Add getRootDomain() to Utils (#514) * Show admin dropdown for admin-access ability (#515) * Show admin dropdown for admin-access ability closes #509 * Formatting * Check user permissions on the routes #508 (#516) * Check user permissions on the routes #508 * Formatting * Return default value on exception for setting() * Correct text for no subfleets #507 (#518) * Add a public_url() helper #513 (#519) * Reduce number of queries for update check (#520) * Try to clear caches before updating (#522) * Try to clear caches before updating * Add clear-compiled to maintenance cache list * Formatting * Set PIREPs page to public (#526) Set PIREPs page to public * Fix live and route map errors #527 (#528) * Add menu bar for mobile (#529) * Format all blade templates to 2 spaces #530 (#531) * Fix PIREP edit endpoint closes #533 (#534) * Fix import during flight cron #532 (#535) * PIREPS resource except for show (#536) * Use optional() around the airport fields (#537) * Use optional() around the airport fields * Add null-coalesce around full_name * Add link to download ACARS config from profile (#539) * Add link to download ACARS config from profile * Formatting * Update xml config file template (#540)
2020-02-09 02:29:34 +08:00
"ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","":"x","ẋ":"x","ẍ":"x","ⓨ":"y","":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","":"'"}}),t.define("select2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each(function(){var e=n(this),i=r.item(e);t.push(i)}),e(t)},r.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(r){var i=[];e=[e],e.push.apply(e,r);for(var o=0;o<e.length;o++){var s=e[o].id;-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")});else{var r=e.id;this.$element.val(r),this.$element.trigger("change")}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current(function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")})}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this)})},r.prototype.query=function(e,t){var r=[],i=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var o=i.item(t),s=i.matches(e,o);null!==s&&r.push(s)}}),t({results:r})},r.prototype.addOptions=function(e){t.appendMany(this.$element,e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement("optgroup"),r.label=e.text):(r=document.createElement("option"),void 0!==r.textContent?r.textContent=e.text:r.innerText=e.text),void 0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var i=n(r),o=this._normalizeItem(e);return o.element=r,t.StoreData(r,"data",o),i},r.prototype.item=function(e){var r={};if(null
this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){var n=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var i=0;i<t.addedNodes.length;i++){var o=t.addedNodes[i];o.selected&&(n=!0)}else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e})})}},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var o=r[e],s={prevented:!1,name:e,args:t};if(n.call(this,o,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},i.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,t