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

9 lines
242 KiB
JavaScript
Raw Normal View History

2020-09-05 01:28:17 +08:00
(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 d(e){return e.split("")}function h(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?T(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 T(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 A(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function S(e,t){return u(t,function(t){return[t,e[t]]})}function E(e){return function(t){return e(t)}}function j(e,t){return u(t,function(t){return e[t]})}function $(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 P(e){return pn.test(e)}function I(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 W(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function z(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 K(e){return R(e)?G(e):Pn(e)}function Y(e){return R(e)?V(e):d(e)}function G(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,de=16,he=32,ge=64,ve=128,ye=256,me=512,be=30,_e="...",we=800,xe=16,Ce=1,ke=2,Te=1/0,Ae=9007199254740991,Se=1.7976931348623157e308,Ee=NaN,je=4294967295,$e=je-1,Oe=je>>>1,De=[["ary",ve],["bind",le],["bindKey",ce],["curry",pe],["curryRight",de],["flip",me],["partial",he],["partialRight",ge],["rearg",ye]],Le="[object Arguments]",Ne="[object Array]",qe
;for(var l=u;l--;){var c=a[l];if(!(s?c in t:pc.call(t,c)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var d=!0;o.set(e,t),o.set(t,e);for(var h=s;++l<u;){c=a[l];var g=e[c],v=t[c];if(r)var y=s?r(v,g,c,t,e,o):r(g,v,c,e,t,o);if(!(y===Z?g===v||i(g,v,n,r,o):y)){d=!1;break}h||(h="constructor"==c)}if(d&&!h){var m=e.constructor,b=t.constructor;m!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o.delete(e),o.delete(t),d}function fo(e){return Sf(Wo(e,Z,ls),e+"")}function po(e){return hr(e,Ru,wf)}function ho(e){return hr(e,Pu,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||Sl;return e=e===Sl?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,Po(i)]}return t}function _o(e,t){var n=q(e,t);return $r(n)?n:Z}function wo(e){var t=pc.call(e,jc),n=e[jc];try{e[jc]=Z;var r=!0}catch(e){}var i=gc.call(e);return r&&(t?e[jc]=n:delete e[jc]),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=Wc(t,e+s);break;case"takeRight":e=Bc(e,t-s)}}return{start:e,end:t}}function Co(e){var t=e.match($t);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)&&$o(s,i)&&(dp(e)||pp(e))}function To(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 Ao(e){return"function"!=typeof e.constructor||Ro(e)?{}:cf(Cc(e))}function So(e,t,n){var r=e.constructor;switch(t){case et:return Ci(e);case Re:case Pe: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 Si(e,n);case We:return new r;case ze:case Ve:return new r(e);case Ye:return Ti(e);case Ge:return new r;case Xe:return Ai(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(jt,"{\n/* [wrapped with "+t+"] */\n")}function jo(e){return dp(e)||pp(e)||!!(Sc&&e&&e[Sc])}function $o(e,t){var n=typeof e;return!!(t=null==t?Ae: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?Wa(n)&&$o(t,n.length):"string"==r&&t in n)&&Ba(n[t],e)}function Do(e,t){if(dp(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!!hc&&hc in e}function Ro(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||lc)}function Po(e){return e===e&&!eu(e)}function Io(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?$i(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]:Wc(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 Wo(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]
return n(t,function(t){t=Vo(t),Zn(e,t,np(e[t],e))}),e}),Vp=Ki(),Xp=Ki(!0),Zp=Qr(function(e,t){return function(n){return xr(n,e,t)}}),Jp=Qr(function(e,t){return function(n){return xr(e,n,t)}}),Qp=Xi(u),ed=Xi(i),td=Xi(p),nd=Qi(),rd=Qi(!0),id=Vi(function(e,t){return e+t},0),od=no("ceil"),sd=Vi(function(e,t){return e/t},1),ad=no("floor"),ud=Vi(function(e,t){return e*t},1),ld=no("round"),cd=Vi(function(e,t){return e-t},0);return U.after=_a,U.ary=wa,U.assign=Cp,U.assignIn=kp,U.assignInWith=Tp,U.assignWith=Ap,U.at=Sp,U.before=xa,U.bind=np,U.bindAll=Gp,U.bindKey=rp,U.castArray=qa,U.chain=Ks,U.chunk=Qo,U.compact=es,U.concat=ts,U.cond=xl,U.conforms=Cl,U.constant=kl,U.countBy=Yf,U.create=ku,U.curry=Ca,U.curryRight=ka,U.debounce=Ta,U.defaults=Ep,U.defaultsDeep=jp,U.defer=ip,U.delay=op,U.difference=jf,U.differenceBy=$f,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=Aa,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=$p,U.invertBy=Op,U.invokeMap=Zf,U.iteratee=Sl,U.keyBy=Jf,U.keys=Ru,U.keysIn=Pu,U.map=ca,U.mapKeys=Iu,U.mapValues=Mu,U.matches=El,U.matchesProperty=jl,U.memoize=Sa,U.merge=Lp,U.mergeWith=Np,U.method=Zp,U.methodOf=Jp,U.mixin=$l,U.negate=Ea,U.nthArg=Ll,U.omit=qp,U.omitBy=Hu,U.once=ja,U.orderBy=fa,U.over=Qp,U.overArgs=sp,U.overEvery=ed,U.overSome=td,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=nd,U.rangeRight=rd,U.rearg=lp,U.reject=ha,U.remove=Cs,U.rest=$a,U.reverse=ks,U.sampleSize=va,U.set=zu,U.setWith=Uu,U.shuffle=ya,U.slice=Ts,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=Ps,U.takeWhile=Is,U.tap=Ys,U.throttle=Da,U.thru=Gs,U.toArray=vu,U.toPairs=Pp,U.toPairsIn=Ip,U.toPath=Wl,U.toPlainObject=wu,U.transform=Fu,U.unary=La,U.union=Pf,U.unionBy=If,U.unionWith=Mf,U.uniq=Ms,U.uniqBy=Hs,U.uniqWith=Bs,U.unset=Ku,U.unzip=Ws,U.unzipWith=zs,U.update=Yu,U.updateWith=Gu,U.values=Vu,U.valuesIn=Xu,U.without=Hf,U.words=wl,U.wrap=Na,U.xor=Bf,U.xorBy=Wf,U.xorWith=zf,U.zip=Uf,U.zipObject=Us,U.zipObjectDeep=Fs,U.zipWith=Ff,U.entries=Pp,U.entriesIn=Ip,U.extend=kp,U.extendWith=Tp,$l(U,U),U.add=id,U.attempt=Yp,U.camelCase=Mp,U.capitalize=el,U.ceil=od,U.clamp=Zu,U.clone=Ra,U.cloneDeep=Ia,U.cloneDeepWith=Ma,U.cloneWith=Pa,U.conformsTo=Ha,U.deburr=tl,U.defaultTo=Tl,U.divide=sd,U.endsWith=nl,U.eq=Ba,U.escape=rl,U.escapeRegExp=il,U.every=na,U.find=Gf,U.findIndex=as,U.findKey=Tu,U.findLast=Vf,U.findLastIndex=us,U.findLastKey=Au,U.floor=ad,U.forEach=aa,U.forEachRight=ua,U.forIn=Su,U.forInRight=Eu,U.forOwn=ju,U.forOwnRight=$u,U.get=Lu,U.gt=cp,U.gte=fp,U.has=Nu,U.hasIn=qu,U.head=ds,U.identity=Al,U.includes=la,U.indexOf=hs,U.inRange=Ju,U.invoke=Dp,U.isArguments=pp,U.isArray=dp,U.isArrayBuffer=hp,U.isArrayLike=Wa,U.isArrayLikeObject=za,U.isBoolean=Ua,U.isBuffer=gp,U.isDate=vp,U.isElement=Fa,U.isEmpty=Ka,U.isEqual=Ya,U.isEqualWith=Ga,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=du,U.isWeakMap=hu,U.isWeakSet=gu,U.join=vs,U.kebabCase=Hp,U.last=ys,U.lastIndexOf=ms,U.lowerCase=Bp,U.lowerFirst=Wp,U.lt=wp,U.lte=xp,U.max=Ul,U.maxBy=Fl,U.mean=Kl,U.meanBy=Yl,U.min=Gl,U.minBy=Vl,U.stubArray=Rl,U.stubFalse=Pl,U.stubObject=Il,U.stubString=Ml,U.stubTrue=Hl,U.multiply=ud,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=da,U.repeat=ll,U.replace=cl,U.result=Wu,U.round=ld,U.runInContext=d,U.sample=ga,U.size=ma,U.snakeCase=zp,U.some=ba,U.sortedIn
!e.getElementsByTagName("*").length}),_.getElementsByClassName=ve.test(O.getElementsByClassName),_.getById=i(function(e){return D.appendChild(e).id=I,!O.getElementsByName||!O.getElementsByName(I).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='"+I+"'></a><select id='"+I+"-\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~="+I+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+I+"+*").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),P=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},K=t?function(e,t){if(e===t)return j=!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&&P(M,e)?-1:t===O||t.ownerDocument===M&&P(M,t)?1:E?Q(E,e)-Q(E,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!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&&$(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&&$(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&$(e);var n=w.attrHandle[t.toLowerCase()],r=n&&Y.call(w.attrHandle,t.toLowerCase())?n(e,
r=0,i=o.length;r<i;r++)L(o[r],s[r]);else L(e,a);return s=w(a,"script"),s.length>0&&x(s,!u&&w(e,"script")),a},cleanData:function(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[We.expando]&&(n[We.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 Pe(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){$(this,e).appendChild(e)}})},prepend:function(){return q(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=$(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 Pe(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"),dt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ht=new RegExp(Ye.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%",Ge.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),Ge.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=P(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.nodeTy
_e(e))return r=ce.call(arguments,2),i=function(){return e.apply(t||this,r.concat(ce.call(arguments)))},i.guid=e.guid=e.guid||Ce.guid++,i},Ce.holdReady=function(e){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=h,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,d,h=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)&&h&&(d=h.slice(0,h.length-1),e=d.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((h||v)&&g){for(n=e.split("/"),c=n.length;c>0;c-=1){if(r=n.slice(0,c).join("/"),h)for(f=h.length;f>0;f-=1)if((i=g[h.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),h.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,d.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 d,h,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)}}},d=function(e,n,r,o){var a,c,p,d,h,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,h=0;h<n.length;h+=1)if(d=g(n[h],b),"require"===(c=d.f))x[h]=v.require(e);else if("exports"===c)x[h]=v.exports(e),w=!0;else if("module"===c)a=x[h]=v.module(e);else if(i(y,c)||i(m,c)||i(_,c))x[h]=l(c);else{if(!d.p)throw new Error(e+" missing "+c);d.p.load(d.n,s(o,!0),u(c),{}),x[h]=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=h=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&&h(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?d(t,e,n,r):setTimeout(function(){d(t,e,n,r)},4),h},h.config=function(e){return h(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 jQu
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(){n.removeData(this,"data")})},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 t;e.children?(t=document.createElement("optgroup"),t.label=e.text):(t=document.createElement("option"),void 0!==t.textContent?t.textContent=e.text:t.innerText=e.text),void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var r=n(t),i=this._normalizeItem(e);return i.element=t,n.data(t,"data",i),r},r.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var r=e.children("option"),i=[],o=0;o<r.length;o++){var s=n(r[o]),a=this.item(s);i.push(a)}t.children=i}return t=this._normalizeItem(t),t.element=e[0],n.data(e[0],"data",t),t},r.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e}),e=n.extend({},{text:""},e);var t={selected:!1,disabled:!1};return null!=e.id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},r}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function r(e,t){var n=t.get("data")||[];r.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(r,e),r.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){for(var r=this,i=this.$element.find("option"),o=i.map(function(){return r.item(n(this)).id}).get(),s=[],a=0;a<e.length;a++){var u=this._normalizeItem(e[a]);if(n.inArray(u.id,o)>=0){var l=i.filter(function(e){return function(){return n(this).val()==e.id}}(u)),c=this.item(l),f=n.extend(!0,{},u,c),p=this.option(f);l.replaceWith(p)}else{var d=this.option(u);if(u.children){var h=this.convertToOptions(u.children);t.appendMany(d,h)}s.push(d)}}return s},r}),t.define("select2/data/ajax",["./array","../utils","jquery"
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,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},i}),t.define("jquery-mousewheel",["jquery"],function(e){return e}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(e,t,n,r){if(null==e.fn.select2){var i=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var r=e.extend(!0,{},t);new n(e(this),r)}),this;if("string"==typeof t){var r,o=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this).data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=n[t].apply(n,o)}),e.inArray(t,i)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=r),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n}),function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var n=" ";return 1===e.nodeType&&(n+e.className+n).replace(/[\n\t]/g,n).indexOf(n+t+n)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var n=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(n,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(e){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,n,r,i,o){var s=new Date;s.setHours(s.getHours()+24*(n||365));var a=[e+"="+t,"expires="+s.toUTCString(),"path="+(i||"/")];r&&a.push("domain="+r),o&&a.push("secure"),document.cookie=a.join(";")},deepExtend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(n in e&&this.isPlainObject(e[n])&&this.isPlainObject(t[n])?this.deepExtend(e[n],t[n]):e[n]=t[n]);return e},throttle:function(e,t){var n=!1;return function(){n||(e.apply(this,arguments),n=!0,setTimeout(function(){n=!1},t))}},hash:function(e){var t,n,r=0;if(0===e.length)return r;for(t=0,n=e.length;t<n;++t)r=(r<<5)-r+e.charCodeAt(t),r|=0;return r},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),n=38+(t>>16),r=38+(t>>8&255),i=38+(255&t);return"#"+(16777216+65536*(n<255?n<1?0:n:255)+256*(r<255?r<1?0:r:255)+(i<255?i<1?0:i:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,n){return e&&e.parentNode?t.hasClass(e,n)?e:this.traverseDOMPath(e.parentNode,n):null}};e.status={deny:"deny",allow:"allow",dismiss:"d