18 lines
546 KiB
JavaScript
18 lines
546 KiB
JavaScript
!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){!function(e,t){"use strict";function n(e,t,n){if(!e)throw ue("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(Y(e)&&(e=e.join(" ")),Y(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=Y(e)?e:e&&Q(e)&&e.length?e.split(/\s+/):[],H(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof X)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===N)return e;break;default:return X(u(e))}if(e.nodeType===N)return X(e)}function u(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===N)return n}}function l(e,t,n){H(t,function(t){e.addClass(t,n)})}function c(e,t,n){H(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(l(e,t,n.addClass),n.addClass=null),n.removeClass&&(c(e,t,n.removeClass),n.removeClass=null)}}function d(e){if(e=e||{},!e.$$prepared){var t=e.domOperation||ee;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=ee},e.$$prepared=!0}return e}function h(e,t){p(e,t),m(e,t)}function p(e,t){t.from&&(e.css(t.from),t.from=null)}function m(e,t){t.to&&(e.css(t.to),t.to=null)}function v(e,t,n){var r=t.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=g(e.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=x(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var u=r.domOperation!==ee?r.domOperation:null;return B(r,i),u&&(r.domOperation=u),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function g(e,t,n){function r(e){Q(e)&&(e=e.split(" "));var t={};return H(e,function(e){e.length&&(t[e]=!0)}),t}var i={};e=r(e),t=r(t),H(t,function(e,t){i[t]=1}),n=r(n),H(n,function(e,t){i[t]=1===i[t]?null:-1});var o={addClass:"",removeClass:""};return H(i,function(t,n){var r,i;1===t?(r="addClass",i=!e[n]||e[n+q]):-1===t&&(r="removeClass",i=e[n]||e[n+P]),i&&(o[r].length&&(o[r]+=" "),o[r]+=n)}),o}function y(e){return e instanceof X?e[0]:e}function $(e,t,n){var r="";t&&(r=o(t,j,!0)),n.addClass&&(r=x(r,o(n.addClass,P))),n.removeClass&&(r=x(r,o(n.removeClass,q))),r.length&&(n.preparationClasses=r,e.addClass(r))}function b(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}function _(e,t){var n=t?"-"+t+"s":"";return k(e,[ae,n]),[ae,n]}function w(e,t){var n=t?"paused":"",r=I+re;return k(e,[r,n]),[r,n]}function k(e,t){var n=t[0],r=t[1];e.style[n]=r}function x(e,t){return e?t?e+" "+t:e:t}function C(e){return[oe,e+"s"]}function S(e,t){return[t?ie:ae,e+"s"]}function E(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return H(n,function(e,t){var n=i[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=A(n)),0===n&&(n=null),r[t]=n}}),r}function A(e){var t=0,n=e.split(/\s*,\s*/);return H(n,function(e){"s"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function D(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=te:r+=" linear all",[n,r]}function M(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){H(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,L,I,R,N=1,P="-add",q="-remove",j="ng-",U="ng-animate",z="$$ngAnimateChildren";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?("-webkit-",F="WebkitTransition",L="webkitTransitionEnd transitionend"):(F="transition",L="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?("-webkit-",I="WebkitAnimation",R="webkitAnimationEnd animationend"):(I="animation",R="animationend");var V,B,H,Y,W,G,Z,J,Q,K,X,ee,te="Duration",ne="TimingFunction",re="PlayState",ie=I+"Delay",oe=I+te,ae=F+"Delay",se=F+te,ue=t.$$minErr("ng"),le=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o<t.length;o++)t[o]();i||e(function(){i||n()})}}var r,i;return r=t.queue=[],t.waitUntilQuiet=function(t){i&&i(),i=e(function(){i=null,t(),n()})},t}],ce=["$interpolate",function(e){return{link:function(t,n,r){function i(e){e="on"===e||"true"===e,n.data(z,e)}var o=r.ngAnimateChildren;Q(o)&&0===o.length?n.data(z,!0):(i(e(o)(t)),r.$observe("ngAnimateChildren",i))}}}],fe="$$animateCss",de=1e3,he=3,pe=1.5,me={transitionDuration:se,transitionDelay:ae,transitionProperty:F+"Property",animationDuration:oe,animationDelay:ie,animationIterationCount:I+"IterationCount"},ve={transitionDuration:se,transitionDelay:ae,animationDuration:oe,animationDelay:ie},ge=["$animateProvider",function(e){var t=M(),n=M();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(e,r,s,u,l,c,v,g){function $(e,t){var n="$$ngAnimateParentKey",r=e.parentNode;return(r[n]||(r[n]=++U))+"-"+e.getAttribute("class")+"-"+t}function b(n,r,i,o){var a=t.get(i);return a||(a=E(e,n,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1)),t.put(i,a),a}function x(i,a,s,u){var l;if(t.count(s)>0&&!(l=n.get(s))){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function A(e){z.push(e),v.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r<z.length;r++)z[r](e);z.length=0})}function M(e,t,n){var r=b(e,t,n,me),i=r.animationDelay,o=r.transitionDelay;return r.maxDelay=i&&o?Math.max(i,o):i||o,r.maxDuration=Math.max(r.animationDuration*r.animationIterationCount,r.transitionDuration),r}var N=f(r),U=0,z=[];return function(e,n){function l(){v()}function f(){v(!0)}function v(t){if(!(Z||Q&&J)){Z=!0,J=!1,B.$$skipPreparationClasses||r.removeClass(e,be),r.removeClass(e,we),w(G,!1),_(G,!1),H(se,function(e){G.style[e[0]]=""}),N(e,B),h(e,B),Object.keys(W).length&&H(W,function(e,t){e?G.style.setProperty(t,e):G.style.removeProperty(t)}),B.onDone&&B.onDone(),ce&&ce.length&&e.off(ce.join(" "),U);var n=e.data(fe);n&&(u.cancel(n[0].timer),e.removeData(fe)),K&&K.complete(!t)}}function b(e){Ie.blockTransition&&_(G,e),Ie.blockKeyframeAnimation&&w(G,!!e)}function E(){return K=new s({end:l,cancel:f}),A(ee),v(),{$$willAnimate:!1,start:function(){return K},end:l}}function U(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(he));Math.max(n-ae,0)>=re&&r>=ie&&(Q=!0,v())}function z(){function t(){if(!Z){if(b(!1),H(se,function(e){var t=e[0],n=e[1];G.style[t]=n}),N(e,B),r.addClass(e,we),Ie.recalculateTimingStyles){if(_e=G.getAttribute("class")+" "+be,xe=$(G,_e),Fe=M(G,_e,xe),Le=Fe.maxDelay,te=Math.max(Le,0),0===(ie=Fe.maxDuration))return void v();Ie.hasTransitions=Fe.transitionDuration>0,Ie.hasAnimations=Fe.animationDuration>0}if(Ie.applyAnimationDelay&&(Le="boolean"!=typeof B.delay&&D(B.delay)?parseFloat(B.delay):Le,te=Math.max(Le,0),Fe.animationDelay=Le,Re=S(Le,!0),se.push(Re),G.style[Re[0]]=Re[1]),re=te*de,oe=ie*de,B.easing){var t,i=B.easing;Ie.hasTransitions&&(t=F+ne,se.push([t,i]),G.style[t]=i),Ie.hasAnimations&&(t=I+ne,se.push([t,i]),G.style[t]=i)}Fe.transitionDuration&&ce.push(L),Fe.animationDuration&&ce.push(R),ae=Date.now();var o=re+pe*oe,a=ae+o,s=e.data(fe)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(v)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(v),e.data(fe,s)}ce.length&&e.on(ce.join(" "),U),B.to&&(B.cleanupStyles&&O(W,G,Object.keys(B.to)),m(e,B))}}function n(){var t=e.data(fe);if(t){for(var n=1;n<t.length;n++)t[n]();e.removeData(fe)}}if(!Z){if(!G.parentNode)return void v();var i=function(e){if(Q)J&&e&&(J=!1,v());else if(J=!e,Fe.animationDuration){var t=w(G,J);J?se.push(t):a(se,t)}},o=Me>0&&(Fe.transitionDuration&&0===Ce.transitionDuration||Fe.animationDuration&&0===Ce.animationDuration)&&Math.max(Ce.animationDelay,Ce.transitionDelay);o?u(t,Math.floor(o*Me*de),!1):t(),X.resume=function(){i(!0)},X.pause=function(){i(!1)}}}var B=n||{};B.$$prepared||(B=d(V(B)));var W={},G=y(e);if(!G||!G.parentNode||!g.enabled())return E();var Z,J,Q,K,X,te,re,ie,oe,ae,se=[],ue=e.attr("class"),le=i(B),ce=[];if(0===B.duration||!c.animations&&!c.transitions)return E();var me=B.event&&Y(B.event)?B.event.join(" "):B.event,ge=me&&B.structural,ye="",$e="";ge?ye=o(me,j,!0):me&&(ye=me),B.addClass&&($e+=o(B.addClass,P)),B.removeClass&&($e.length&&($e+=" "),$e+=o(B.removeClass,q)),B.applyClassesEarly&&$e.length&&N(e,B);var be=[ye,$e].join(" ").trim(),_e=ue+" "+be,we=o(be,"-active"),ke=le.to&&Object.keys(le.to).length>0;if(!((B.keyframeStyle||"").length>0||ke||be))return E();var xe,Ce;if(B.stagger>0){var Se=parseFloat(B.stagger);Ce={transitionDelay:Se,animationDelay:Se,transitionDuration:0,animationDuration:0}}else xe=$(G,_e),Ce=x(G,be,xe,ve);B.$$skipPreparationClasses||r.addClass(e,be);var Ee;if(B.transitionStyle){var Ae=[F,B.transitionStyle];k(G,Ae),se.push(Ae)}if(B.duration>=0){Ee=G.style[F].length>0;var De=T(B.duration,Ee);k(G,De),se.push(De)}if(B.keyframeStyle){var Te=[I,B.keyframeStyle];k(G,Te),se.push(Te)}var Me=Ce?B.staggerIndex>=0?B.staggerIndex:t.count(xe):0,Oe=0===Me;Oe&&!B.skipBlocking&&_(G,9999);var Fe=M(G,_e,xe),Le=Fe.maxDelay;te=Math.max(Le,0),ie=Fe.maxDuration;var Ie={};if(Ie.hasTransitions=Fe.transitionDuration>0,Ie.hasAnimations=Fe.animationDuration>0,Ie.hasTransitionAll=Ie.hasTransitions&&"all"===Fe.transitionProperty,Ie.applyTransitionDuration=ke&&(Ie.hasTransitions&&!Ie.hasTransitionAll||Ie.hasAnimations&&!Ie.hasTransitions),Ie.applyAnimationDuration=B.duration&&Ie.hasAnimations,Ie.applyTransitionDelay=D(B.delay)&&(Ie.applyTransitionDuration||Ie.hasTransitions),Ie.applyAnimationDelay=D(B.delay)&&Ie.hasAnimations,Ie.recalculateTimingStyles=$e.length>0,(Ie.applyTransitionDuration||Ie.applyAnimationDuration)&&(ie=B.duration?parseFloat(B.duration):ie,Ie.applyTransitionDuration&&(Ie.hasTransitions=!0,Fe.transitionDuration=ie,Ee=G.style[F+"Property"].length>0,se.push(T(ie,Ee))),Ie.applyAnimationDuration&&(Ie.hasAnimations=!0,Fe.animationDuration=ie,se.push(C(ie)))),0===ie&&!Ie.recalculateTimingStyles)return E();if(null!=B.delay){var Re;"boolean"!=typeof B.delay&&(Re=parseFloat(B.delay),te=Math.max(Re,0)),Ie.applyTransitionDelay&&se.push(S(Re)),Ie.applyAnimationDelay&&se.push(S(Re,!0))}return null==B.duration&&Fe.transitionDuration>0&&(Ie.recalculateTimingStyles=Ie.recalculateTimingStyles||Oe),re=te*de,oe=ie*de,B.skipBlocking||(Ie.blockTransition=Fe.transitionDuration>0,Ie.blockKeyframeAnimation=Fe.animationDuration>0&&Ce.animationDelay>0&&0===Ce.animationDuration),B.from&&(B.cleanupStyles&&O(W,G,Object.keys(B.from)),p(e,B)),Ie.blockTransition||Ie.blockKeyframeAnimation?b(ie):B.skipBlocking||_(G,!1),{$$willAnimate:!0,end:l,start:function(){if(!Z)return X={end:l,cancel:f,resume:null,pause:null},K=new s(X),A(z),K}}}}]}],ye=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,i,o,a,s,u,l){function c(e){return e.replace(/\bng-\S+\b/g,"")}function f(e,t){return Q(e)&&(e=e.split(" ")),Q(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function d(t,i,a){function s(e){var t={},n=y(e).getBoundingClientRect();return H(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=m.scrollTop;break;case"left":r+=m.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function u(e){return e.attr("class")||""}function l(){var t=c(u(a)),n=f(t,p),i=f(p,t),o=e(h,{to:s(a),addClass:"ng-anchor-in "+n,removeClass:r+" "+i,delay:!0});return o.$$willAnimate?o:null}function d(){h.remove(),i.removeClass(n),a.removeClass(n)}var h=X(y(i).cloneNode(!0)),p=c(u(h));i.addClass(n),a.addClass(n),h.addClass("ng-anchor"),g.append(h);var v,$=function(){var t=e(h,{addClass:r,delay:!0,from:s(i)});return t.$$willAnimate?t:null}();if(!$&&!(v=l()))return d();var b=$||v;return{start:function(){function e(){n&&n.end()}var t,n=b.start();return n.done(function(){if(n=null,!v&&(v=l()))return n=v.start(),n.done(function(){n=null,d(),t.complete()}),n;d(),t.complete()}),t=new o({end:e,cancel:e})}}}function h(e,t,n,r){var i=p(e),a=p(t),s=[];if(H(r,function(e){var t=e.out,r=e.in,i=d(n,t,r);i&&s.push(i)}),i||a||0!==s.length)return{start:function(){function e(){H(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),a&&t.push(a.start()),H(s,function(e){t.push(e.start())});var n=new o({end:e,cancel:e});return o.all(t,function(e){n.complete(e)}),n}}}function p(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=x(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!s.animations&&!s.transitions)return ee;var m=l[0].body,v=y(a),g=X(t(v)||m.contains(v)?v:m);return function(e){return e.from&&e.to?h(e.from,e.to,e.classes,e.anchors):p(e)}}]}],$e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Y(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!i[a]&&(r.push(t.get(s)),i[a]=!0)}return r}var o=f(r);return function(e,t,r,a){function s(){a.domOperation(),o(e,a)}function u(){p=!0,s(),h(e,a)}function l(e,t,r,i,o){var a;switch(r){case"animate":a=[t,i.from,i.to,o];break;case"setClass":a=[t,g,y,o];break;case"addClass":a=[t,g,o];break;case"removeClass":a=[t,y,o];break;default:a=[t,o]}a.push(i);var s=e.apply(e,a);if(s)if(Z(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(Z(s))return s;return ee}function c(e,t,r,i,o){var a=[];return H(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,u=function(e){a||(a=!0,(o||ee)(e),i.complete(!e))};return i=new n({end:function(){u()},cancel:function(){u(!0)}}),o=l(s,e,t,r,function(e){u(!1===e)}),i})}),a}function f(e,t,r,i,o){var a=c(e,t,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=c(e,"removeClass",r,i,"beforeRemoveClass"),u=c(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=c(e,"removeClass",r,i,"removeClass"),u=c(e,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),u&&(a=a.concat(u))}if(0!==a.length)return function(e){var t=[];return a.length&&H(a,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){H(t,function(t){e?t.cancel():t.end()})}}}var p=!1;3===arguments.length&&J(r)&&(a=r,r=null),a=d(a),r||(r=e.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var m,v,g=a.addClass,y=a.removeClass,$=i(r);if($.length){var b,_;"leave"===t?(_="leave",b="afterLeave"):(_="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(m=f(e,t,a,$,_)),v=f(e,t,a,$,b)}if(m||v){var w;return{$$willAnimate:!0,end:function(){return w?w.end():(u(),w=new n,w.complete(!0)),w},start:function(){function e(e){u(e),w.complete(e)}function t(t){p||((r||ee)(t),e(t))}if(w)return w;w=new n;var r,i=[];return m&&i.push(function(e){r=m(e)}),i.length?i.push(function(e){s(),e(!0)}):s(),v&&i.push(function(e){r=v(e)}),w.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),w}}}}}]}],be=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){var n=t.element,r=t.event,i=t.options,o=t.classes;return e(n,r,o,i)}return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){function e(){return function(){H(o,function(e){e.end()})}}function n(e){a.complete(e)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),t.all(o,n);var a=new t({end:e(),cancel:e()});return a}}}return n(e)}}]}],_e="data-ng-animate",we="$ngAnimatePin",ke=["$animateProvider",function(t){function r(e){if(!e)return null;var t=e.split(p),n=Object.create(null);return H(t,function(e){n[e]=!0}),n}function i(e,t){if(e&&t){var n=r(t);return e.split(p).some(function(e){return n[e]})}}function o(e,t,n,r){return m[e].some(function(e){return e(t,n,r)})}function a(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(K(r)&&K(o)||K(a)&&K(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,p,m,g,_,w,k,x,C,S){function E(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function A(e,t){return v(e,t,{})}function D(e,t,n){var r=y(t),i=y(e),o=[],a=ee[n];return a&&H(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function T(e,t,n){var r=u(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function M(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function u(t,n,i,o){x(function(){var t=D(m,e,n);t.length?r(function(){H(t,function(t){t(e,i,o)}),M(i,e)}):M(i,e)}),t.progress(n,i,o)}function f(t){b(e,g),re(e,g),h(e,g),g.domOperation(),k.complete(!t)}var p,m,g=V(n);e=s(e),e&&(p=y(e),m=e.parent()),g=d(g);var k=new w,x=E();if(Y(g.addClass)&&(g.addClass=g.addClass.join(" ")),g.addClass&&!Q(g.addClass)&&(g.addClass=null),Y(g.removeClass)&&(g.removeClass=g.removeClass.join(" ")),g.removeClass&&!Q(g.removeClass)&&(g.removeClass=null),g.from&&!J(g.from)&&(g.from=null),g.to&&!J(g.to)&&(g.to=null),!p)return f(),k;var C=[p.getAttribute("class"),g.addClass,g.removeClass].join(" ");if(!ne(C))return f(),k;var T=["enter","move","leave"].indexOf(t)>=0,O=S(),I=!U||O||j.get(p),N=!I&&q.get(p)||{},z=!!N.state;if(I||z&&N.state===l||(I=!R(e,m,t)),I)return O&&u(k,t,"start"),f(),O&&u(k,t,"close"),k;T&&F(e);var B={structural:T,element:e,event:t,addClass:g.addClass,removeClass:g.removeClass,close:f,options:g,runner:k};if(z){if(o("skip",e,B,N))return N.state===c?(f(),k):(v(e,N,B),N.runner);if(o("cancel",e,B,N))if(N.state===c)N.runner.end();else{if(!N.structural)return v(e,N,B),N.runner;N.close()}else{if(o("join",e,B,N)){if(N.state!==c)return $(e,T?t:null,g),t=B.event=N.event,g=v(e,N,B),N.runner;A(e,B)}}}else A(e,B);var W=B.structural;if(W||(W="animate"===B.event&&Object.keys(B.options.to||{}).length>0||a(B)),!W)return f(),L(e),k;var G=(N.counter||0)+1;return B.counter=G,P(e,l,B),i.$$postDigest(function(){var n=q.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==G||!o)return r&&(re(e,g),h(e,g)),(r||T&&n.event!==t)&&(g.domOperation(),k.end()),void(o||L(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=_(e,t,n.options);k.setHost(s),u(k,t,"start",{}),s.done(function(n){f(!n);var r=q.get(p);r&&r.counter===G&&L(y(e)),u(k,t,"close",{})})}),k}function F(e){var t=y(e),n=t.querySelectorAll("["+_e+"]");H(n,function(e){var t=parseInt(e.getAttribute(_e),10),n=q.get(e);if(n)switch(t){case c:n.runner.end();case l:q.remove(e)}})}function L(e){var t=y(e);t.removeAttribute(_e),q.remove(t)}function I(e,t){return y(e)===y(t)}function R(e,t,n){var r,i=X(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=j.get(y(e)),l=X.data(e[0],we);for(l&&(t=l),t=y(t);t&&(a||(a=I(t,p)),t.nodeType===N);){var c=q.get(t)||{};if(!s){var f=j.get(t);if(!0===f&&!1!==u){u=!0;break}!1===f&&(u=!1),s=c.structural}if(K(r)||!0===r){var d=X.data(t,z);W(d)&&(r=d)}if(s&&!1===r)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=X.data(t,we))?t.parentNode:y(l)}return(!s||r)&&!0!==u&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(_e,t);var i=q.get(r),o=i?B(i,n):n;q.put(r,o)}var q=new g,j=new g,U=null,Z=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(Z(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),ee=Object.create(null),te=t.classNameFilter(),ne=te?function(e){return te.test(e)}:function(){return!0},re=f(x),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);ee[e]=ee[e]||[],ee[e].push({node:r,callback:n}),X(t).on("$destroy",function(){q.get(r)||oe.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||Q(arguments[0])){var r=ee[e];r&&(ee[e]=1===arguments.length?null:T(r,t,n))}else{t=arguments[0];for(var i in ee)ee[i]=T(ee[i],t)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(we,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{if(G(e)){var r=y(e);1===n?t=!j.get(r):j.put(r,!t)}else t=U=!!e}return t}};return oe}]}],xe=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,o=n.parentNode;i.put(n,e);for(var a;o;){if(a=i.get(o)){a.processed||(a=t(a));break}o=o.parentNode}return(a||r).children.push(e),e}var n,r={children:[]},i=new c;for(n=0;n<e.length;n++){var o=e[n];i.put(o.domNode,e[n]={domNode:o.domNode,fn:o.fn,children:[]})}for(n=0;n<e.length;n++)t(e[n]);return function(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,o=0,a=[];for(t=0;t<r.length;t++){var s=r[t];i<=0&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}(r)}var v=[],g=f(e);return function(c,f,$){function b(e){var t="["+o+"]",n=e.hasAttribute(o)?[e]:e.querySelectorAll(t),r=[];return H(n,function(e){var t=e.getAttribute(o);t&&t.length&&r.push(e)}),r}function _(e){var t=[],n={};H(e,function(e,r){var i=e.element,a=y(i),s=e.event,u=["enter","move"].indexOf(s)>=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";H(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:X(e)}})}else t.push(e)});var r={},i={};return H(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:w(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,in:s.element})}),t}function w(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var o=0;o<t.length;o++)if(i===t[o]){n.push(i);break}}return n.join(" ")}function k(e){for(var t=a.length-1;t>=0;t--){var n=a[t],r=u.get(n),i=r(e);if(i)return i}}function x(){c.addClass(U),M&&e.addClass(c,M),O&&(e.removeClass(c,O),O=null)}function C(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=i(c);!e||"leave"===f&&$.$$domOperationFired||e.end()}function E(t){c.off("$destroy",S),n(c),g(c,$),h(c,$),$.domOperation(),M&&e.removeClass(c,M),c.removeClass(U),D.complete(!t)}$=d($);var A=["enter","move","leave"].indexOf(f)>=0,D=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),D;t(c,D);var T=r(c.attr("class"),r($.addClass,$.removeClass)),M=$.tempClasses;M&&(T+=" "+M,$.tempClasses=null);var O;return A&&(O="ng-"+f+"-prepare",e.addClass(c,O)),v.push({element:c,classes:T,event:f,structural:A,options:$,beforeStart:x,close:E}),c.on("$destroy",S),v.length>1?D:(s.$$postDigest(function(){var e=[];H(v,function(t){i(t.element)?e.push(t):t.close()}),v.length=0;var t=_(e),n=[];H(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close;if(i(e.anchors?e.from.element||e.to.element:e.element)){var r=k(e);r&&(t=r.start)}if(t){var o=t();o.done(function(e){n(!e)}),C(e,o)}else n()}})}),p(m(n))}),D)}}]}],Ce=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r.for,function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){ee=t.noop,V=t.copy,B=t.extend,X=t.element,H=t.forEach,Y=t.isArray,Q=t.isString,J=t.isObject,K=t.isUndefined,W=t.isDefined,Z=t.isFunction,G=t.isElement}).directive("ngAnimateSwap",Ce).directive("ngAnimateChildren",ce).factory("$$rAFScheduler",le).provider("$$animateQueue",ke).provider("$$animation",xe).provider("$animateCss",ge).provider("$$animateCssDriver",ye).provider("$$animateJs",$e).provider("$$animateJsDriver",be)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a<s&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(n,a,s,u){function l(t,n){this.template=t,this.defaults=h({},e.defaults,n),this.urlParams={}}function c(t,$,b,_){function w(e,t){var n={};return t=h({},$,t),d(t,function(t,i){g(t)&&(t=t(e)),n[i]=t&&t.charAt&&"@"===t.charAt(0)?r(e,t.substr(1)):t}),n}function k(e){return e.resource}function x(e){i(e||{},this)}var C=new l(t,_);return b=h({},e.defaults.actions,b),x.prototype.toJSON=function(){var e=h({},this);return delete e.$promise,delete e.$resolved,e},d(b,function(e,t){var r=/^(POST|PUT|PATCH)$/i.test(e.method),l=e.timeout,c=v(e.cancellable)?e.cancellable:C.defaults.cancellable;l&&!y(l)&&(a.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,l=null),x[t]=function(a,v,y,$){function b(e){P.catch(f),D.resolve(e)}var _,S,E,A={};switch(arguments.length){case 4:E=$,S=y;case 3:case 2:if(!g(v)){A=a,_=v,S=y;break}if(g(a)){S=a,E=v;break}S=v,E=y;case 1:g(a)?S=a:r?_=a:A=a;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,T,M=this instanceof x,O=M?_:e.isArray?[]:new x(_),F={},L=e.interceptor&&e.interceptor.response||k,I=e.interceptor&&e.interceptor.responseError||void 0,R=!!E,N=!!I;d(e,function(e,t){switch(t){default:F[t]=p(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!M&&c&&(D=s.defer(),F.timeout=D.promise,l&&(T=u(D.resolve,l))),r&&(F.data=_),C.setUrlParams(F,h({},w(_,e.params||{}),A),e.url);var P=n(F).then(function(n){var r=n.data;if(r){if(m(r)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",t,e.isArray?"array":"object",m(r)?"array":"object",F.method,F.url);if(e.isArray)O.length=0,d(r,function(e){"object"==typeof e?O.push(new x(e)):O.push(e)});else{var a=O.$promise;i(r,O),O.$promise=a}}return n.resource=O,n});return P=P.finally(function(){O.$resolved=!0,!M&&c&&(O.$cancelRequest=f,u.cancel(T),D=T=F.timeout=null)}),P=P.then(function(e){var t=L(e);return(S||f)(t,e.headers,e.status,e.statusText),t},R||N?function(e){return R&&E(e),N?I(e):s.reject(e)}:void 0),R&&!N&&P.catch(f),M?P:(O.$promise=P,O.$resolved=!1,c&&(O.$cancelRequest=b),O)},x.prototype["$"+t]=function(e,n,r){g(e)&&(r=n,n=e,e={});var i=x[t].call(this,e,this,n,r);return i.$promise||i}}),x.bind=function(e){var n=h({},$,e);return c(t,n,b,_)},x}var f=t.noop,d=t.forEach,h=t.extend,p=t.copy,m=t.isArray,v=t.isDefined,g=t.isFunction,y=t.isNumber,$=t.$$encodeUriQuery,b=t.$$encodeUriSegment;return l.prototype={setUrlParams:function(e,t,n){var r,i,a=this,s=n||a.template,u="",l=a.urlParams=Object.create(null);d(s.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(s)&&(l[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(s)})}),s=s.replace(/\\:/g,":"),s=s.replace(/^https?:\/\/\[[^\]]*][^\/]*/,function(e){return u=e,""}),t=t||{},d(a.urlParams,function(e,n){r=t.hasOwnProperty(n)?t[n]:a.defaults[n],v(r)&&null!==r?(i=e.isQueryParamValue?$(r,!0):b(r),s=s.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return i+t})):s=s.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"===n.charAt(0)?n:t+n})}),a.defaults.stripTrailingSlashes&&(s=s.replace(/\/+$/,"")||"/"),s=s.replace(/\/\.(?=\w+($|\?))/,"."),e.url=u+s.replace(/\/\\\./,"/."),d(t,function(t,n){a.urlParams[n]||(e.params=e.params||{},e.params[n]=t)})}},c}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){function n(e,t){var n,r={},i=e.split(",");for(n=0;n<i.length;n++)r[t?u(i[n]):i[n]]=!0;return r}function r(t,n){null===t||void 0===t?t="":"string"!=typeof t&&(t=""+t),y.innerHTML=t;var r=5;do{if(0===r)throw d("uinput","Failed to sanitize html because the input is unstable");r--,e.document.documentMode&&v(y),t=y.innerHTML,y.innerHTML=t}while(t!==y.innerHTML);for(var i=y.firstChild;i;){switch(i.nodeType){case 1:n.start(i.nodeName.toLowerCase(),h(i.attributes));break;case 3:n.chars(i.textContent)}var o;if(!((o=i.firstChild)||(1===i.nodeType&&n.end(i.nodeName.toLowerCase()),o=i.nextSibling)))for(;null==o&&(i=i.parentNode)!==y;)o=i.nextSibling,1===i.nodeType&&n.end(i.nodeName.toLowerCase());i=o}for(;i=y.firstChild;)y.removeChild(i)}function h(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function p(e){
|
||
return e.replace(/&/g,"&").replace($,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(b,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&A[e]&&(n=e),n||!0!==D[e]||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;!0!==F[o]||!0===T[o]&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||!0!==D[e]||!0===_[e]||(r("</"),r(e),r(">")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function v(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r<i;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&v(s),t=t.nextSibling}}var g=!1;this.$get=["$$sanitizeUri",function(e){return g&&o(D,E),function(t){var n=[];return c(t,f(n,function(t,n){return!/^unsafe:/.test(e(t,n))})),n.join("")}}],this.enableSvg=function(e){return s(e)?(g=e,this):g},i=t.bind,o=t.extend,a=t.forEach,s=t.isDefined,u=t.lowercase,l=t.noop,c=r,f=m;var y,$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/([^#-~ |!])/g,_=n("area,br,col,hr,img,wbr"),w=n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k=n("rp,rt"),x=o({},k,w),C=o({},w,n("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),S=o({},k,n("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),E=n("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),A=n("script,style"),D=o({},_,C,S,x),T=n("background,cite,href,longdesc,src,xlink:href"),M=n("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),O=n("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),F=o({},T,O,M);!function(e){var t;if(!e.document||!e.document.implementation)throw d("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)y=r[0];else{var i=t.createElement("html");y=t.createElement("body"),i.appendChild(y),t.appendChild(i)}}(e)}function r(e){var t=[];return f(t,l).chars(e),t.join("")}var i,o,a,s,u,l,c,f,d=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=t.$$minErr("linky"),i=t.isDefined,o=t.isFunction,a=t.isObject,s=t.isString;return function(t,u,l){function c(e){e&&v.push(r(e))}if(null==t||""===t)return t;if(!s(t))throw n("notstring","Expected string but received: {0}",t);for(var f,d,h,p=o(l)?l:a(l)?function(){return l}:function(){return{}},m=t,v=[];f=m.match(/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i);)d=f[0],f[2]||f[4]||(d=(f[3]?"http://":"mailto:")+d),h=f.index,c(m.substr(0,h)),function(e,t){var n,r=p(e);v.push("<a ");for(n in r)v.push(n+'="'+r[n]+'" ');!i(u)||"target"in r||v.push('target="',u,'" '),v.push('href="',e.replace(/"/g,"""),'">'),c(t),v.push("</a>")}(d,f[0].replace(/^mailto:/i,"")),m=m.substring(h+f[0].length);return c(m),e(v.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"=",create:"&uiSortableCreate",start:"&uiSortableStart",activate:"&uiSortableActivate",beforeStop:"&uiSortableBeforeStop",update:"&uiSortableUpdate",remove:"&uiSortableRemove",receive:"&uiSortableReceive",deactivate:"&uiSortableDeactivate",stop:"&uiSortableStop"},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return C[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,g)),n=s(C[t],n)):S[t]&&(n=S[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(C,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in x)return void(k[n]="ui-floating"===n?"auto":l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){if(t in x)return"ui-floating"!==t||!1!==e&&!0!==e||!n||(n.floating=e),void(k[t]=l(t,e));e=l(t,e),i||(i={}),i[t]=e,k[t]=e}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,"");return e.find('[class="'+t.attr("class")+'"]:not('+n+")")}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function v(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.element[0]===t[0])return r}}function g(e,t){t.item.sortable._destroy()}function y(e){return e.parent().find(k["ui-model-items"]).index(e)}function $(){r.$watchCollection("ngModel",function(){t(function(){u(i)&&i.sortable("refresh")},0,!1)}),C.start=function(e,t){if("auto"===k["ui-floating"]){var n=t.item.siblings();u(angular.element(e.target)).floating=m(n)}var r=y(t.item);t.item.sortable={model:a.$modelValue[r],index:r,source:i,sourceList:t.item.parent(),sourceModel:a.$modelValue,cancel:function(){t.item.sortable._isCanceled=!0},isCanceled:function(){return t.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!t.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:t.item.sortable._isCustomHelperUsed,_destroy:function(){angular.forEach(t.item.sortable,function(e,n){t.item.sortable[n]=void 0})},_connectedSortables:[],_getElementContext:function(e){return v(this._connectedSortables,e)}}},C.activate=function(e,t){var n=t.item.sortable.source===i,o=n?t.item.sortable.sourceList:i,a={element:i,scope:r,isSourceContext:n,savedNodesOrigin:o};t.item.sortable._connectedSortables.push(a),w=o.contents();var s=f(i);if(s&&s.length){var u=d(i,s);w=w.not(u)}},C.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=y(t.item);var n=t.item.closest("[ui-sortable], [data-ui-sortable], [x-ui-sortable]");t.item.sortable.droptarget=n,t.item.sortable.droptargetList=t.item.parent();var o=t.item.sortable._getElementContext(n);t.item.sortable.droptargetModel=o.scope.ngModel,i.sortable("cancel")}var s=!t.item.sortable.received&&p(i,t,w);s&&s.length&&(w=w.not(s));var u=t.item.sortable._getElementContext(i);w.appendTo(u.savedNodesOrigin),t.item.sortable.received&&(w=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&(r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)}),r.$emit("ui-sortable:moved",t))},C.stop=function(e,t){var n="dropindex"in t.item.sortable&&!t.item.sortable.isCanceled();if(n&&!t.item.sortable.received)r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,a.$modelValue.splice(t.item.sortable.index,1)[0])}),r.$emit("ui-sortable:moved",t);else if(!n&&!angular.equals(i.contents().toArray(),w.toArray())){var o=p(i,t,w);o&&o.length&&(w=w.not(o));var s=t.item.sortable._getElementContext(i);w.appendTo(s.savedNodesOrigin)}w=null},C.receive=function(e,t){t.item.sortable.received=!0},C.remove=function(e,t){"dropindex"in t.item.sortable||(i.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||r.$apply(function(){t.item.sortable.moved=a.$modelValue.splice(t.item.sortable.index,1)[0]})},angular.forEach(C,function(e,t){C[t]=s(C[t],function(){var e,n=r[t];"function"==typeof n&&("uiSortable"+t.substring(0,1).toUpperCase()+t.substring(1)).length&&"function"==typeof(e=n())&&e.apply(this,arguments)})}),S.helper=function(e){return e&&"function"==typeof e?function(t,n){var r=n.sortable,o=y(n);n.sortable={model:a.$modelValue[o],index:o,source:i,sourceList:n.parent(),sourceModel:a.$modelValue,_restore:function(){angular.forEach(n.sortable,function(e,t){n.sortable[t]=void 0}),n.sortable=r}};var s=e.apply(this,arguments);return n.sortable._restore(),n.sortable._isCustomHelperUsed=n!==s,s}:e},r.$watchCollection("uiSortable",function(e,t){var n=u(i);if(n){var r=c(e,t,n);r&&i.sortable("option",r)}},!0),c(k)}function b(){a?$():n.info("ui.sortable: ngModel not provided!",i),i.sortable(k)}function _(){return(!r.uiSortable||!r.uiSortable.disabled)&&(b(),_.cancelWatcher(),_.cancelWatcher=angular.noop,!0)}var w,k={},x={"ui-floating":void 0,"ui-model-items":e.items},C={create:null,start:null,activate:null,beforeStop:null,update:null,remove:null,receive:null,deactivate:null,stop:null},S={helper:null};if(angular.extend(k,x,e,r.uiSortable),!angular.element.fn||!angular.element.fn.jquery)return void n.error("ui.sortable: jQuery should be included before AngularJS!");_.cancelWatcher=angular.noop,_()||(_.cancelWatcher=r.$watch("uiSortable.disabled",_))}}}])},{}],8:[function(e,t,n){!function(e){"use strict";function t(e,t){return t=t||Error,function(){var n,r,i=arguments,o=i[0],a="["+(e?e+":":"")+o+"] ",s=i[1];for(a+=s.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+2;return n<i.length?$e(i[n]):e}),a+="\nhttp://errors.angularjs.org/1.6.1/"+(e?e+"/":"")+o,r=2,n="?";r<i.length;r++,n="&")a+=n+"p"+(r-2)+"="+encodeURIComponent($e(i[r]));return new t(a)}}function n(e){if(null==e||S(e))return!1;if(oi(e)||_(e)||Wr&&e instanceof Wr)return!0;var t="length"in Object(e)&&e.length;return w(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(x(e))for(o in e)"prototype"!==o&&"length"!==o&&"name"!==o&&e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else if(oi(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o<a;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Ur.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function o(e){return function(t,n){e(n,t)}}function a(){return++ri}function s(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function u(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if($(a)||x(a))for(var l=Object.keys(a),c=0,f=l.length;c<f;c++){var d=l[c],h=a[d];n&&$(h)?k(h)?e[d]=new Date(h.valueOf()):C(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():($(e[d])||(e[d]=oi(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Jr.call(arguments,1),!1)}function c(e){return u(e,Jr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function v(e){return x(e.toString)&&e.toString!==Xr}function g(e){return void 0===e}function y(e){return void 0!==e}function $(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!ei(e)}function _(e){return"string"==typeof e}function w(e){return"number"==typeof e}function k(e){return"[object Date]"===Xr.call(e)}function x(e){return"function"==typeof e}function C(e){return"[object RegExp]"===Xr.call(e)}function S(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function A(e){return"[object File]"===Xr.call(e)}function D(e){return"[object FormData]"===Xr.call(e)}function T(e){return"[object Blob]"===Xr.call(e)}function M(e){return"boolean"==typeof e}function O(e){return e&&x(e.then)}function F(e){return e&&w(e.length)&&ai.test(Xr.call(e))}function L(e){return"[object ArrayBuffer]"===Xr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function R(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function N(e){return zr(e.nodeName||e[0]&&e[0].nodeName)}function P(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function q(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function j(e,t){function n(e,t){var n,r=t.$$hashKey;if(oi(e))for(var o=0,a=e.length;o<a;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Ur.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!$(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(S(e)||E(e))throw ti("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=oi(e)?[]:Object.create(ei(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Xr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(x(e.cloneNode))return e.cloneNode(!0)}var a=[],u=[];if(t){if(F(t)||L(t))throw ti("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw ti("cpi","Can't copy! Source and destination are identical.");return oi(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o===a&&"object"===o){if(!oi(e)){if(k(e))return!!k(t)&&U(e.getTime(),t.getTime());if(C(e))return!!C(t)&&e.toString()===t.toString();if(E(e)||E(t)||S(e)||S(t)||oi(t)||k(t)||C(t))return!1;i=pe();for(r in e)if("$"!==r.charAt(0)&&!x(e[r])){if(!U(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&y(t[r])&&!x(t[r]))return!1;return!0}if(!oi(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!U(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Jr.call(t,n))}function V(e,t){return Jr.call(e,t||0)}function B(e,t){var n=arguments.length>2?V(arguments,2):[];return!x(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function H(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function Y(e,t){if(!g(e))return w(t)||(t=t?2:null),JSON.stringify(e,H,t)}function W(e){return _(e)?JSON.parse(e):e}function G(e,t){e=e.replace(fi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return ii(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function J(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return Z(e,n*(G(t,r)-r))}function Q(e){e=Wr(e).clone();try{e.empty()}catch(e){}var t=Wr("<div>").append(e).html();try{return e[0].nodeType===gi?zr(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+zr(t)})}catch(e){return zr(t)}}function K(e){try{return decodeURIComponent(e)}catch(e){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),y(r)&&(i=!y(i)||K(i),Ur.call(t,r)?oi(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){oi(e)?r(e,function(e){t.push(ne(n,!0)+(!0===e?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(!0===e?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=di.length;for(r=0;r<i;++r)if(n=di[r]+t,_(n=e.getAttribute(n)))return n;return null}function ie(t,n){var i,o,a={};if(r(di,function(e){var n=e+"app";!i&&t.hasAttribute&&t.hasAttribute(n)&&(i=t,o=t.getAttribute(n))}),r(di,function(e){var n,r=e+"app";!i&&(n=t.querySelector("["+r.replace(":","\\:")+"]"))&&(i=n,o=n.getAttribute(r))}),i){if(!hi)return void e.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==re(i,"strict-di"),n(i,o?[o]:[],a)}}function oe(t,n,i){$(i)||(i={}),i=l({strictDi:!1},i);var o=function(){if(t=Wr(t),t.injector()){var r=t[0]===e.document?"document":Q(t);throw ti("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"<").replace(/>/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=at(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&a.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!s.test(e.name))return o();e.name=e.name.replace(s,""),ni.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),o()},x(ni.resumeDeferredBootstrap)&&ni.resumeDeferredBootstrap()}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=ni.element(e).injector();if(!t)throw ti("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(pi,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(e,t,n){if(!e)throw ti("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&oi(e)&&(e=e[e.length-1]),le(x(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw ti("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&x(e)?B(o,e):e}function he(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Wr(Jr.call(e,0,i))),t.push(n));return t||e}function pe(){return Object.create(null)}function me(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!v(e)||oi(e)||k(e)?Y(e):e.toString()}return e}function ve(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){return function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)}(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n,r){return r||(r=i),function(i,o){return o&&x(o)&&(o.$$moduleName=t),r.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator",s),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ge(e,t){if(oi(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if($(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function ye(e){var t=[];return JSON.stringify(e,function(e,n){if(n=H(e,n),$(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):g(e)?"undefined":"string"!=typeof e?ye(e):e}function be(){return++ki}function _e(e){return ke(e.replace(Ci,"ms-"))}function we(e,t){return t.toUpperCase()}function ke(e){return e.replace(xi,we)}function xe(e){return!Di.test(e)}function Ce(e){var t=e.nodeType;return t===vi||!t||t===$i}function Se(e){for(var t in wi[e.ng339])return!0;return!1}function Ee(e){for(var t=0,n=e.length;t<n;t++)Ie(e[t])}function Ae(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=s.appendChild(t.createElement("div")),i=(Ti.exec(e)||["",""])[1].toLowerCase(),o=Oi[i]||Oi._default,n.innerHTML=o[1]+e.replace(Mi,"<$1></$2>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function De(t,n){n=n||e.document;var r;return(r=Ai.exec(t))?[n.createElement(r[1])]:(r=Ae(t,n))?r.childNodes:[]}function Te(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(_(e)&&(e=si(e),t=!0),!(this instanceof Me)){if(t&&"<"!==e.charAt(0))throw Ei("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Ue(this,De(e)):x(e)?We(e):Ue(this,e)}function Oe(e){return e.cloneNode(!0)}function Fe(e,t){if(t||Ie(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)Ie(n[r])}function Le(e,t,n,i){if(y(i))throw Ei("offargs","jqLite#off() does not support the `selector` argument");var o=Re(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];y(n)&&q(r||[],n),y(n)&&r&&r.length>0||(e.removeEventListener(t,s),delete a[t])};r(t.split(" "),function(e){u(e),Si[e]&&u(Si[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t]}function Ie(e,t){var n=e.ng339,r=n&&wi[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Le(e)),delete wi[n],e.ng339=void 0}}function Re(e,t){var n=e.ng339,r=n&&wi[n];return t&&!r&&(e.ng339=n=be(),r=wi[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(Ce(e)){var r,i=y(n),o=!i&&t&&!$(t),a=!t,s=Re(e,!o),u=s&&s.data;if(i)u[ke(t)]=n;else{if(a)return u;if(o)return u&&u[ke(t)];for(r in t)u[ke(r)]=t[r]}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function qe(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",si((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+si(t)+" "," ")))})}function je(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=si(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",si(n))}}function Ue(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function ze(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType===$i&&(e=e.documentElement);for(var r=oi(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(y(n=Wr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===bi&&e.host}}function Be(e){for(Fe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Fe(e);var n=e.parentNode;n&&n.removeChild(e)}function Ye(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Wr(n).on("load",t)}function We(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function Ge(e,t){var n=Ii[t.toLowerCase()];return n&&Ri[N(e)]&&n}function Ze(e){return Ni[e]}function Je(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(g(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Qe;o>1&&(i=ge(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Qe(e,t,n){n.call(e,t)}function Ke(e,t,n){var r=t.relatedTarget;r&&(r===e||Fi.call(e,r))||n.call(e,t)}function Xe(){this.$get=function(){return l(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),qe(e,t)}})}}function et(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function tt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function nt(e){return Function.prototype.toString.call(e)+" "}function rt(e){var t=nt(e).replace(Vi,"");return t.match(qi)||t.match(ji)}function it(e){var t=rt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ot(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw _(n)&&n||(n=e.name||it(e)),Bi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=rt(e),r(o[1].split(Ui),function(e){e.replace(zi,function(e,t,n){i.push(n)})})}e.$inject=i}}else oi(e)?(a=e.length-1,ce(e[a],"fn"),i=e.slice(0,a)):ce(e,"fn",!0);return i}function at(e,t){function n(e){return function(t,n){if(!$(t))return e(t,n);r(t,o(e))}}function i(e,t){if(fe(e,"service"),(x(t)||oi(t))&&(t=k.instantiate(t)),!t.$get)throw Bi("pget","Provider '{0}' must define $get factory method.",e);return w[e+v]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(g(n))throw Bi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:!1!==n?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){fe(e,"constant"),w[e]=t,C[e]=t}function f(e,t){var n=k.get(e+v),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){le(g(e)||oi(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{_(e)?(t=Zr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):x(e)?n.push(k.invoke(e)):oi(e)?n.push(k.invoke(e)):ce(e,"module")}catch(t){throw oi(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),Bi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Bi("cdep","Circular dependency found: {0}",t+" <- "+y.join(" <- "));return e[t]}try{return y.unshift(t),e[t]=p,e[t]=n(t,r),e[t]}catch(n){throw e[t]===p&&delete e[t],n}finally{y.shift()}}function i(e,n,i){for(var o=[],a=at.$$annotate(e,t,i),s=0,u=a.length;s<u;s++){var l=a[s];if("string"!=typeof l)throw Bi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){if(Yr||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return M(t)||(t=e.$$ngIsClass=/^(?:class\b|constructor\()/.test(nt(e))),t}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return oi(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=oi(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:at.$$annotate,has:function(t){return w.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=!0===t;var p={},v="Provider",y=[],b=new tt([],!0),w={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=w.$injector=h(w,function(e,t){throw ni.isString(t)&&y.push(t),Bi("unpr","Unknown provider: {0}",y.join(" <- "))}),C={},S=h(C,function(e,t){var n=k.get(e+v,t);return E.invoke(n.$get,n,void 0,e)}),E=S;w["$injector"+v]={$get:m(S)};var A=d(e);return E=S.get("$injector"),E.strictDi=t,r(A,function(e){e&&E.invoke(e)}),E}function st(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===N(e))return t=e,!0}),t}function o(){var e=s.yOffset;if(x(e))e=e();else if(I(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else w(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=_(e)?e:w(e)?e.toString():n.hash();var t
|
||
;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Ye(function(){r.$evalAsync(s)})}),s}]}function ut(e,t){return e||t?e?t?(oi(e)&&(e=e.join(" ")),oi(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function lt(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Yi)return n}}function ct(e){_(e)&&(e=e.split(" "));var t=pe();return r(e,function(e){e.length&&(t[e]=!0)}),t}function ft(e){return $(e)?e:{}}function dt(e,t,n,i){function o(e){try{e.apply(null,V(arguments,1))}finally{if(0===--y)for(;$.length;)try{$.pop()()}catch(e){n.error(e)}}}function a(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function s(){x=null,u(),l()}function u(){b=C(),b=g(b)?null:b,U(b,A)&&(b=A),A=b}function l(){w===c.url()&&_===b||(w=c.url(),_=b,r(S,function(e){e(c.url(),b)}))}var c=this,f=e.location,d=e.history,p=e.setTimeout,m=e.clearTimeout,v={};c.isMock=!1;var y=0,$=[];c.$$completeOutstandingRequest=o,c.$$incOutstandingRequestCount=function(){y++},c.notifyWhenNoOutstandingRequests=function(e){0===y?e():$.push(e)};var b,_,w=f.href,k=t.find("base"),x=null,C=i.history?function(){try{return d.state}catch(e){}}:h;u(),_=b,c.url=function(t,n,r){if(g(r)&&(r=null),f!==e.location&&(f=e.location),d!==e.history&&(d=e.history),t){var o=_===r;if(w===t&&(!i.history||o))return c;var s=w&&Wt(w)===Wt(t);return w=t,_=r,!i.history||s&&o?(s||(x=t),n?f.replace(t):s?f.hash=a(t):f.href=t,f.href!==t&&(x=t)):(d[n?"replaceState":"pushState"](r,"",t),u(),_=b),x&&(x=t),c}return x||f.href.replace(/%27/g,"'")},c.state=function(){return b};var S=[],E=!1,A=null;c.onUrlChange=function(t){return E||(i.history&&Wr(e).on("popstate",s),Wr(e).on("hashchange",s),E=!0),S.push(t),t},c.$$applicationDestroyed=function(){Wr(e).off("hashchange popstate",s)},c.$$checkUrlChange=l,c.baseHref=function(){var e=k.attr("href");return e?e.replace(/^(https?:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return y++,n=p(function(){delete v[n],o(e)},t||0),v[n]=!0,n},c.defer.cancel=function(e){return!!v[e]&&(delete v[e],m(e),o(h),!0)}}function ht(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new dt(e,r,t,n)}]}function pt(){this.$get=function(){function e(e,r){function i(e){e!==d&&(h?h===e&&(h=e.n):h=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}if(e in n)throw t("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=l({},r,{id:e}),u=pe(),c=r&&r.capacity||Number.MAX_VALUE,f=pe(),d=null,h=null;return n[e]={put:function(e,t){if(!g(t)){if(c<Number.MAX_VALUE){i(f[e]||(f[e]={key:e}))}return e in u||a++,u[e]=t,a>c&&this.remove(h.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;t===d&&(d=t.p),t===h&&(h=t.n),o(t.n,t.p),delete f[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=pe(),a=0,f=pe(),d=h=null},destroy:function(){u=null,s=null,f=null,delete n[e]},info:function(){return l({},s,{size:a})}}}var n={};return e.info=function(){var e={};return r(n,function(t,n){e[n]=t.info()}),e},e.get=function(e){return n[e]},e}}function mt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function vt(){}function gt(t,n){function i(e,t,n){var i=pe();return r(e,function(e,r){if(e in A)return void(i[r]=A[e]);var o=e.match(/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/);if(!o)throw Xi("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,r,e,n?"controller bindings definition":"isolate scope definition");i[r]={mode:o[1][0],collection:"*"===o[2],optional:"?"===o[3],attrName:o[4]||r},o[4]&&(A[e]=i[r])}),i}function a(e,t){var n={isolateScope:null,bindToController:null};if($(e.scope)&&(!0===e.bindToController?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),$(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw Xi("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function s(e){var t=e.charAt(0);if(!t||t!==zr(t))throw Xi("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Xi("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}function u(e){var t=e.require||e.controller&&e.name;return!oi(t)&&$(t)&&r(t,function(e,n){var r=e.match(C);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}function c(e,t){if(e&&(!_(e)||!/[EACM]/.test(e)))throw Xi("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}var f={},v="Directive",b=/^\s*directive:\s*([\w-]+)\s+(.*)$/,w=/(([\w-]+)(?::([^;]+))?;?)/,k=R("ngSrc,ngSrcset,src,srcset"),C=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,S=/^(on[a-z]+|formaction)$/,A=pe();this.directive=function e(n,i){return le(n,"name"),fe(n,"directive"),_(n)?(s(n),le(i,"directiveFactory"),f.hasOwnProperty(n)||(f[n]=[],t.factory(n+v,["$injector","$exceptionHandler",function(e,t){var i=[];return r(f[n],function(r,o){try{var a=e.invoke(r);x(a)?a={compile:m(a)}:!a.compile&&a.link&&(a.compile=m(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=u(a),a.restrict=c(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(e){t(e)}}),i}])),f[n].push(i)):r(n,o(e)),this},this.component=function(e,t){function n(e){function n(t){return x(t)||oi(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var o=t.template||t.templateUrl?t.template:"",a={controller:i,controllerAs:wt(t.controller)||t.controllerAs||"$ctrl",template:n(o),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return r(t,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}var i=t.controller||function(){};return r(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,x(i)&&(i[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return y(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var D=!0;this.debugInfoEnabled=function(e){return y(e)?(D=e,this):D};var T=!1;this.preAssignBindingsEnabled=function(e){return y(e)?(T=e,this):T};var O=10;this.onChangesTtl=function(e){return arguments.length?(O=e,this):O};var F=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(F=e,this):F};var L=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(L=e,this):L},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,n,i,o,s,u,c,m,A,I){function R(){try{if(!--De)throw ke=void 0,Xi("infchng","{0} $onChanges() iterations reached. Aborting!\n",O);c.$apply(function(){for(var e=[],t=0,n=ke.length;t<n;++t)try{ke[t]()}catch(t){e.push(t)}if(ke=void 0,e.length)throw e})}finally{De++}}function P(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function j(e,t,n){Se.innerHTML="<span "+t+">";var r=Se.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function z(e,t){try{e.addClass(t)}catch(e){}}function H(e,t,n,r,i){e instanceof Wr||(e=Wr(e));var o=W(e,t,e,n,r,i);H.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw Xi("multilink","This element has already been linked.");le(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=Y(l));var c;if(c="html"!==a?Wr(ve(a,Wr("<div>").append(e).html())):n?Li.clone.call(e):e,u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return H.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,s),n||(e=o=null),c}}function Y(e){var t=e&&e[0];return t&&"foreignobject"!==N(t)&&Xr.call(t).match(/SVG/)?"svg":"html"}function W(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var v=n.length;for(m=new Array(v),l=0;l<p.length;l+=3)f=p[l],m[f]=n[f]}else m=n;for(l=0,c=p.length;l<c;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),H.$$addScopeInfo(Wr(s),u)):u=e,d=o.transcludeOnThisElement?Z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?Z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=oi(e)||e instanceof Wr,v=0;v<e.length;v++)s=new P,11===Yr&&G(e,v,m),u=J(e[v],[],s,0===v?r:void 0,i),l=u.length?ne(u,e[v],s,t,n,null,[],[],o):null,l&&l.scope&&H.$$addScopeClass(s.$$element),f=l&&l.terminal||!(c=e[v].childNodes)||!c.length?null:W(c,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||f)&&(p.push(v,l,f),d=!0,h=h||l),o=null;return d?a:null}function G(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===gi)for(;;){if(!(r=o?i.nextSibling:e[t+1])||r.nodeType!==gi)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}}function Z(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=pe();for(var o in t.$$slots)t.$$slots[o]?i[o]=Z(e,t.$$slots[o],n):i[o]=null;return r}function J(e,t,n,r,i){var o,a,s,u=e.nodeType,l=n.$attr;switch(u){case vi:a=N(e),ae(t,$t(a),"E",r,i);for(var c,f,d,h,p,m,v=e.attributes,g=0,y=v&&v.length;g<y;g++){var b=!1,k=!1;c=v[g],f=c.name,p=c.value,h=$t(f),m=Le.test(h),m&&(f=f.replace(to,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var x=h.match(Ie);x&&se(x[1])&&(b=f,k=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),d=$t(f.toLowerCase()),l[d]=f,!m&&n.hasOwnProperty(d)||(n[d]=p,Ge(e,d)&&(n[d]=!0)),ye(e,t,p,d,m),ae(t,d,"A",r,i,b,k)}if("input"===a&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Ae)break;if(s=e.className,$(s)&&(s=s.animVal),_(s)&&""!==s)for(;o=w.exec(s);)d=$t(o[2]),ae(t,d,"C",r,i)&&(n[d]=si(o[3])),s=s.substr(o.index+o[0].length);break;case gi:me(t,e.nodeValue);break;case yi:if(!Ee)break;K(e,t,n,r,i)}return t.sort(de),t}function K(e,t,n,r,i){try{var o=b.exec(e.nodeValue);if(o){var a=$t(o[1]);ae(t,a,"M",r,i)&&(n[a]=si(o[2]))}}catch(e){}}function X(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Xi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===vi&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return Wr(r)}function ee(e,t,n){return function(r,i,o,a,s){return i=X(i[0],t,n),e(r,i,o,a,s)}}function te(e,t,n,r,i,o){var a;return e?H(t,n,r,i,o):function(){return a||(a=H(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ne(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=ee(e,n,r)),e.require=p.require,e.directiveName=m,(C===p||p.$$isolateScope)&&(e=be(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=ee(t,n,r)),t.require=p.require,t.directiveName=m,(C===p||p.$$isolateScope)&&(t=be(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),O&&(i=b),n||(n=O?A.parent():A),!r)return f(e,t,i,n,q);var o=f.$$slots[r];if(o)return o(e,t,i,n,q);if(g(o))throw Xi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(A))}var h,p,m,v,y,b,_,A,D,M;t===a?(D=n,A=n.$$element):(A=Wr(a),D=new P(A,n)),y=o,C?v=o.$new(!0):w&&(y=o.$parent),f&&(_=d,_.$$boundTransclude=f,_.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ie(A,D,_,k,v,o,C)),C&&(H.$$addScopeInfo(A,v,!0,!(S&&(S===C||S===C.$$originalDirective))),H.$$addScopeClass(A,!0),v.$$isolateBindings=C.$$isolateBindings,M=we(o,D,v,v.$$isolateBindings,C),M.removeWatches&&v.$on("$destroy",M.removeWatches));for(var F in b){var L=k[F],I=b[F],R=L.$$bindings.bindToController;if(T){I.bindingInfo=R?we(y,D,I.instance,R,L):{};var N=I();N!==I.instance&&(I.instance=N,A.data("$"+L.name+"Controller",N),I.bindingInfo.removeWatches&&I.bindingInfo.removeWatches(),I.bindingInfo=we(y,D,I.instance,R,L))}else I.instance=I(),A.data("$"+L.name+"Controller",I.instance),I.bindingInfo=we(y,D,I.instance,R,L)}for(r(k,function(e,t){var n=e.require;e.bindToController&&!oi(n)&&$(n)&&l(b[t].instance,re(t,n,A,b))}),r(b,function(e){var t=e.instance;if(x(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){i(e)}if(x(t.$onInit))try{t.$onInit()}catch(e){i(e)}x(t.$doCheck)&&(y.$watch(function(){t.$doCheck()}),t.$doCheck()),x(t.$onDestroy)&&y.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h<p;h++)m=u[h],_e(m,m.isolateScope?v:o,A,D,m.require&&re(m.directiveName,m.require,A,b),_);var q=o;for(C&&(C.template||null===C.templateUrl)&&(q=v),e&&e(q,a.childNodes,void 0,f),h=c.length-1;h>=0;h--)m=c[h],_e(m,m.isolateScope?v:o,A,D,m.require&&re(m.directiveName,m.require,A,b),_);r(b,function(e){var t=e.instance;x(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,v,y,b,_=-Number.MAX_VALUE,w=f.newScopeDirective,k=f.controllerDirectives,C=f.newIsolateScopeDirective,S=f.templateDirective,A=f.nonTlbTranscludeDirective,D=!1,M=!1,O=f.hasElementTranscludeDirective,F=n.$$element=Wr(t),L=s,I=o,R=!1,q=!1,j=0,U=e.length;j<U;j++){p=e[j];var z=p.$$start,Y=p.$$end;if(z&&(F=X(t,z,Y)),v=void 0,_>p.priority)break;if(b=p.scope,b&&(p.templateUrl||($(b)?(he("new/isolated scope",C||w,p,F),C=p):he("new/isolated scope",C,p,F)),w=w||p),m=p.name,!R&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var W,G=j+1;W=e[G++];)if(W.transclude&&!W.$$tlb||W.replace&&(W.templateUrl||W.template)){q=!0;break}R=!0}if(!p.templateUrl&&p.controller&&(k=k||pe(),he("'"+m+"' controller",k[m],p,F),k[m]=p),b=p.transclude)if(D=!0,p.$$tlb||(he("transclusion",A,p,F),A=p),"element"===b)O=!0,_=p.priority,v=F,F=n.$$element=Wr(H.$$createComment(m,n[m])),t=F[0],$e(a,V(v),t),v[0].$$parentNode=v[0].parentNode,I=te(q,v,o,_,L&&L.name,{nonTlbTranscludeDirective:A});else{var Z=pe();if($(b)){v=[];var K=pe(),ne=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,K[e]=t,Z[t]=null,ne[t]=n}),r(F.contents(),function(e){var t=K[$t(N(e))];t?(ne[t]=!0,Z[t]=Z[t]||[],Z[t].push(e)):v.push(e)}),r(ne,function(e,t){if(!e)throw Xi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ae in Z)Z[ae]&&(Z[ae]=te(q,Z[ae],o))}else v=Wr(Oe(t)).contents();F.empty(),I=te(q,v,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=Z}if(p.template)if(M=!0,he("template",S,p,F),S=p,b=x(p.template)?p.template(F,n):p.template,b=Fe(b),p.replace){if(L=p,v=xe(b)?[]:_t(ve(p.templateNamespace,si(b))),t=v[0],1!==v.length||t.nodeType!==vi)throw Xi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");$e(a,F,t);var se={$attr:{}},ue=J(t,[],se),le=e.splice(j+1,e.length-(j+1));(C||w)&&oe(ue,C,w),e=e.concat(ue).concat(le),ce(n,se),U=e.length}else F.html(b);if(p.templateUrl)M=!0,he("template",S,p,F),S=p,p.replace&&(L=p),h=fe(e.splice(j,e.length-j),F,n,a,D&&I,u,c,{controllerDirectives:k,newScopeDirective:w!==p&&w,newIsolateScopeDirective:C,templateDirective:S,nonTlbTranscludeDirective:A}),U=e.length;else if(p.compile)try{y=p.compile(F,n,I);var de=p.$$originalDirective||p;x(y)?d(null,B(de,y),z,Y):y&&d(B(de,y.pre),B(de,y.post),z,Y)}catch(e){i(e,Q(F))}p.terminal&&(h.terminal=!0,_=Math.max(_,p.priority))}return h.scope=w&&!0===w.scope,h.transcludeOnThisElement=D,h.templateOnThisElement=M,h.transclude=I,f.hasElementTranscludeDirective=O,h}function re(e,t,n,i){var o;if(_(t)){var a=t.match(C),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Xi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(oi(t)){o=[];for(var f=0,d=t.length;f<d;f++)o[f]=re(e,t[f],n,i)}else $(t)&&(o={},r(t,function(t,r){o[r]=re(e,t,n,i)}));return o||null}function ie(e,t,n,r,i,o,a){var s=pe();for(var l in r){var c=r[l],f={$scope:c===a||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=c.controller;"@"===d&&(d=t[c.name]);var h=u(d,f,!0,c.controllerAs);s[c.name]=h,e.data("$"+c.name+"Controller",h.instance)}return s}function oe(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function ae(e,n,r,i,o,s,u){if(n===o)return null;var l=null;if(f.hasOwnProperty(n))for(var c,h=t.get(n+v),p=0,m=h.length;p<m;p++)if(c=h[p],(g(i)||i>c.priority)&&-1!==c.restrict.indexOf(r)){if(s&&(c=d(c,{$$start:s,$$end:u})),!c.$$bindings){var y=c.$$bindings=a(c,c.name);$(y.isolateScope)&&(c.$$isolateBindings=y.isolateScope)}e.push(c),l=c}return l}function se(e){if(f.hasOwnProperty(e))for(var n,r=t.get(e+v),i=0,o=r.length;i<o;i++)if(n=r[i],n.multiElement)return!0;return!1}function ce(e,t){var n=t.$attr,i=e.$attr;r(e,function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){e.hasOwnProperty(r)||"$"===r.charAt(0)||(e[r]=t,"class"!==r&&"style"!==r&&(i[r]=n[r]))})}function fe(e,t,n,a,s,u,l,c){var f,p,m=[],v=t[0],g=e.shift(),y=d(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),b=x(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,_=g.templateNamespace;return t.empty(),o(b).then(function(i){var o,d,h,w;if(i=Fe(i),g.replace){if(h=xe(i)?[]:_t(ve(_,si(i))),o=h[0],1!==h.length||o.nodeType!==vi)throw Xi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,b);d={$attr:{}},$e(a,t,o);var k=J(o,[],d);$(g.scope)&&oe(k,!0),e=k.concat(e),ce(n,d)}else o=v,t.html(i);for(e.unshift(y),f=ne(e,o,n,s,t,g,u,l,c),r(a,function(e,n){e===o&&(a[n]=t[0])}),p=W(t[0].childNodes,s);m.length;){var x=m.shift(),C=m.shift(),S=m.shift(),E=m.shift(),A=t[0];if(!x.$$destroyed){if(C!==v){var D=C.className;c.hasElementTranscludeDirective&&g.replace||(A=Oe(o)),$e(S,Wr(C),A),z(Wr(A),D)}w=f.transcludeOnThisElement?Z(x,f.transclude,E):E,f(p,x,A,a,w)}}m=null}).catch(function(e){e instanceof Error&&i(e)}).catch(h),function(e,t,n,r,i){var o=i;t.$$destroyed||(m?m.push(t,n,r,o):(f.transcludeOnThisElement&&(o=Z(t,f.transclude,i)),f(p,t,n,r,o)))}}function de(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function he(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Xi("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,Q(r))}function me(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&H.$$addBindingClass(t),function(e,t){var i=t.parent();n||H.$$addBindingClass(i),H.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function ve(t,n){switch(t=zr(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function ge(e,t){if("srcdoc"===t)return m.HTML;var n=N(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(n))return m.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return m.RESOURCE_URL}function ye(e,t,r,i,o){var a=ge(e,i),s=!o,u=k[i]||o,l=n(r,s,a,u);if(l){if("multiple"===i&&"select"===N(e))throw Xi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));if(S.test(i))throw Xi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=pe()),c=o[i];c!==r&&(l=c&&n(c,!0,a,u),r=c),l&&(o[i]=l(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(l,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function $e(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;l<f;l++,c++)c<f?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;i<s;i++)d.appendChild(n[i]);for(Wr.hasData(a)&&(Wr.data(r,Wr.data(a)),Wr(a).off("$destroy")),Wr.cleanData(d.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function be(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function _e(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(e){i(e,Q(n))}}function we(e,t,i,o,a){function u(t,n,r){!x(i.$onChanges)||n===r||n!==n&&r!==r||(ke||(e.$$postDigest(R),ke=[]),c||(c={},ke.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new yt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,v,g=r.attrName,y=r.optional,$=r.mode;switch($){case"@":y||Ur.call(t,g)||(i[o]=t[g]=void 0),v=t.$observe(g,function(e){if(_(e)||M(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[g].$$scope=e,l=t[g],_(l)?i[o]=n(l)(e):M(l)&&(i[o]=l),d[o]=new yt(eo,i[o]),f.push(v);break;case"=":if(!Ur.call(t,g)){if(y)break;t[g]=void 0}if(y&&!t[g])break;c=s(t[g]),m=c.literal?U:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Xi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,v=r.collection?e.$watchCollection(t[g],b):e.$watch(s(t[g],b),null,c.literal),f.push(v);break;case"<":if(!Ur.call(t,g)){if(y)break;t[g]=void 0}if(y&&!t[g])break;c=s(t[g]);var w=c.literal,k=i[o]=c(e);d[o]=new yt(eo,i[o]),v=e.$watch(c,function(e,t){if(t===e){if(t===k||w&&U(t,k))return;t=k}u(o,e,t),i[o]=e},w),f.push(v);break;case"&":if((c=t.hasOwnProperty(g)?s(t[g]):h)===h&&y)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;e<t;++e)f[e]()}}}var ke,Ce=/^\w/,Se=e.document.createElement("div"),Ee=F,Ae=L,De=O;P.prototype={$normalize:$t,$addClass:function(e){e&&e.length>0&&A.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&A.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=bt(e,t);n&&n.length&&A.addClass(this.$$element,n);var r=bt(t,e);r&&r.length&&A.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ge(s,e),l=Ze(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e])||(this.$attr[e]=o=ue(e,"-")),"a"===(a=N(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=I(t,"src"===e);else if("img"===a&&"srcset"===e&&y(t)){for(var f="",d=si(t),h=/\s/.test(d)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,p=d.split(h),m=Math.floor(p.length/2),v=0;v<m;v++){var $=2*v;f+=I(si(p[$]),!0),f+=" "+si(p[$+1])}var b=si(p[2*v]).split(/\s/);f+=I(si(b[0]),!0),2===b.length&&(f+=" "+si(b[1])),this[e]=t=f}!1!==n&&(null===t||g(t)?this.$$element.removeAttr(o):Ce.test(o)?this.$$element.attr(o,t):j(this.$$element[0],o,t));var _=this.$$observers;_&&r(_[c],function(e){try{e(t)}catch(e){i(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=pe()),i=r[e]||(r[e]=[]);return i.push(t),c.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||g(n[e])||t(n[e])}),function(){q(i,t)}}};var Te=n.startSymbol(),Me=n.endSymbol(),Fe="{{"===Te&&"}}"===Me?p:function(e){return e.replace(/\{\{/g,Te).replace(/}}/g,Me)},Le=/^ngAttr[A-Z]/,Ie=/^(.+)Start$/;return H.$$addBindingInfo=D?function(e,t){var n=e.data("$binding")||[];oi(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,H.$$addBindingClass=D?function(e){z(e,"ng-binding")}:h,H.$$addScopeInfo=D?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,H.$$addScopeClass=D?function(e,t){z(e,t?"ng-isolate-scope":"ng-scope")}:h,H.$$createComment=function(t,n){var r="";return D&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},H}]}function yt(e,t){this.previousValue=e,this.currentValue=t}function $t(e){return e.replace(to,"").replace(no,we)}function bt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function _t(e){e=Wr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===yi||n.nodeType===gi&&""===n.nodeValue.trim())&&Qr.call(e,t,1)}return e}function wt(e,t){if(t&&_(t))return t;if(_(e)){var n=io.exec(e);if(n)return n[3]}}function kt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),$(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!$(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=!0===s,u&&_(u)&&(h=u),_(t)){if(!(f=t.match(io)))throw ro("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(d=f[1],h=h||f[3],!(t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0)))throw ro("ctrlreg","The controller with the name '{0}' is not registered.",d);ce(t,d,!0)}if(s){var p=(oi(t)?t[t.length-1]:t).prototype;return c=Object.create(p||null),h&&o(a,h,c,d||t.name),l(function(){var e=r.invoke(t,c,a,d);return e!==c&&($(e)||x(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function xt(){this.$get=["$window",function(e){return Wr(e.document)}]}function Ct(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function St(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Et(e){return $(e)?k(e)?e.toISOString():Y(e):e}function At(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||g(e)||(oi(e)?r(e,function(e){t.push(ne(n)+"="+ne(Et(e)))}):t.push(ne(n)+"="+ne(Et(e))))}),t.join("&")}}}function Dt(){this.$get=function(){return function(e){function t(e,o,a){null===e||g(e)||(oi(e)?r(e,function(e,n){t(e,o+"["+($(e)?n:"")+"]")}):$(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(Et(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Tt(e,t){if(_(e)){var n=e.replace(co,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(ao)||Mt(n))&&(e=W(n))}}return e}function Mt(e){var t=e.match(uo);return t&&lo[t[0]].test(e)}function Ot(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return _(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(zr(si(e.substr(0,n))),si(e.substr(n+1)))}):$(e)&&r(e,function(e,n){t(zr(n),si(e))}),i}function Ft(e){var t;return function(n){if(t||(t=Ot(e)),n){var r=t[zr(n)];return void 0===r&&(r=null),r}return t}}function Lt(e,t,n,i){return x(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function It(e){return 200<=e&&e<300}function Rt(){var e=this.defaults={transformResponse:[Tt],transformRequest:[function(e){return!$(e)||A(e)||T(e)||D(e)?e:Y(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(so),put:ge(so),patch:ge(so)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return y(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,c,f,d,p){function m(n){function i(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function a(){o.$$completeOutstandingRequest(h)}function s(e,t){var n,i={};return r(e,function(e,r){x(e)?null!=(n=e(t))&&(i[r]=n):i[r]=e}),i}function u(t){var n=t.headers,i=Lt(t.data,Ft(n),void 0,t.transformRequest);return g(i)&&r(n,function(e,t){"content-type"===zr(t)&&delete n[t]}),g(t.withCredentials)&&!g(e.withCredentials)&&(t.withCredentials=e.withCredentials),v(t,i).then(c,c)}function c(e){var t=l({},e);return t.data=Lt(e.data,e.headers,e.status,m.transformResponse),It(e.status)?t:f.reject(t)}if(!$(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!_(p.valueOf(n.url)))throw t("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);var m=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);m.headers=function(t){var n,r,i,o=e.headers,a=l({},t.headers);o=l({},o.common,o[zr(t.method)]);e:for(n in o){r=zr(n);for(i in a)if(zr(i)===r)continue e;a[n]=o[n]}return s(a,ge(t))}(n),m.method=Vr(m.method),m.paramSerializer=_(m.paramSerializer)?d.get(m.paramSerializer):m.paramSerializer,o.$$incOutstandingRequestCount();var y=[],b=[],w=f.resolve(m);return r(C,function(e){(e.request||e.requestError)&&y.unshift(e.request,e.requestError),(e.response||e.responseError)&&b.push(e.response,e.responseError)}),w=i(w,y),w=w.then(u),w=i(w,b),w=w.finally(a)}function v(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}v&&(It(e)?v.put(D,[e,t,Ot(r),i]):v.remove(D)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(It(n)?C.resolve:C.reject)({data:e,status:n,headers:Ft(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function h(){var e=m.pendingRequests.indexOf(t);-1!==e&&m.pendingRequests.splice(e,1)}var v,x,C=f.defer(),S=C.promise,E=t.headers,A="jsonp"===zr(t.method),D=t.url;if(A?D=p.getTrustedResourceUrl(D):_(D)||(D=p.valueOf(D)),D=b(D,t.paramSerializer(t.params)),A&&(D=w(D,t.jsonpCallbackParam)),m.pendingRequests.push(t),S.then(h,h),!t.cache&&!e.cache||!1===t.cache||"GET"!==t.method&&"JSONP"!==t.method||(v=$(t.cache)?t.cache:$(e.cache)?e.cache:k),v&&(x=v.get(D),y(x)?O(x)?x.then(d,d):oi(x)?l(x[1],x[0],ge(x[2]),x[3]):l(x,200,{},"OK"):v.put(D,S)),g(x)){var T=In(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;T&&(E[t.xsrfHeaderName||e.xsrfHeaderName]=T),a(t.method,D,i,u,E,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return S}function b(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function w(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw fo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(new RegExp("[&?]"+t+"=").test(e))throw fo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var k=u("$http");e.paramSerializer=_(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var C=[];return r(i,function(e){C.unshift(_(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],function(e){r(arguments,function(e){m[e]=function(t,n){return m(l({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){r(arguments,function(e){m[e]=function(t,n,r){return m(l({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),m.defaults=e,m}]}function Nt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Pt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return qt(e,r,e.defer,t,n[0])}]}function qt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){r.removeEventListener("load",a),
|
||
r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,h,p,m){function v(){_&&_(),w&&w.abort()}function $(e,t,r,i,o){y(x)&&n.cancel(x),_=w=null,e(t,r,i,o)}if(s=s||e.url(),"jsonp"===zr(o))var b=i.createCallback(s),_=a(s,b,function(e,t){var n=200===e&&i.getResponse(b);$(l,e,n,"",t),i.removeCallback(b)});else{var w=t(o,s);w.open(o,s,!0),r(c,function(e,t){y(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"===Ln(s).protocol?404:0),$(l,n,t,w.getAllResponseHeaders(),e)};var k=function(){$(l,-1,null,null,"")};if(w.onerror=k,w.onabort=k,w.ontimeout=k,r(p,function(e,t){w.addEventListener(t,e)}),r(m,function(e,t){w.upload.addEventListener(t,e)}),d&&(w.withCredentials=!0),h)try{w.responseType=h}catch(e){if("json"!==h)throw e}w.send(g(u)?null:u)}if(f>0)var x=n(v,f);else O(f)&&f.then(v)}}function jt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(d,e).replace(h,t)}function s(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,h){function p(e){try{return e=T(e),h&&!y(e)?e:me(e)}catch(e){r(ho.interr(o,e))}}if(!o.length||-1===o.indexOf(e)){var v;if(!u){v=m(a(o)),v.exp=o,v.expressions=[],v.$$watchDelegate=s}return v}h=!!h;for(var $,b,_,w=0,k=[],C=[],S=o.length,E=[],A=[];w<S;){if(-1===($=o.indexOf(e,w))||-1===(b=o.indexOf(t,$+c))){w!==S&&E.push(a(o.substring(w)));break}w!==$&&E.push(a(o.substring(w,$))),_=o.substring($+c,b),k.push(_),C.push(n(_,p)),w=b+f,A.push(E.length),E.push("")}if(d&&E.length>1&&ho.throwNoconcat(o),!u||k.length){var D=function(e){for(var t=0,n=k.length;t<n;t++){if(h&&g(e[t]))return;E[A[t]]=e[t]}return E.join("")},T=function(e){return d?i.getTrusted(d,e):i.valueOf(e)};return l(function(e){var t=0,n=k.length,i=new Array(n);try{for(;t<n;t++)i[t]=C[t](e);return D(i)}catch(e){r(ho.interr(o,e))}},{exp:o,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(C,function(r,i){var o=D(r);x(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,f=t.length,d=new RegExp(e.replace(/./g,o),"g"),h=new RegExp(t.replace(/./g,o),"g");return u.startSymbol=function(){return e},u.endSymbol=function(){return t},u}]}function Ut(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?V(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,v=y(l)&&!l,g=(v?r:n).defer(),$=g.promise;return u=y(u)?u:0,$.$$intervalId=h(function(){v?i.defer(c):e.$evalAsync(c),g.notify(m++),u>0&&m>=u&&(g.resolve(m),p($.$$intervalId),delete a[$.$$intervalId]),v||e.$apply()},s),a[$.$$intervalId]=g,$}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].promise.catch(h),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function zt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Vt(e,t){var n=Ln(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||vo[n.protocol]||null}function Bt(e,t){if(yo.test(e))throw go("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=Ln(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ht(e,t){return e.slice(0,t.length)===t}function Yt(e,t){if(Ht(t,e))return t.substr(e.length)}function Wt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function Gt(e){return e.replace(/(#.+)|#$/,"$1")}function Zt(e){return e.substr(0,Wt(e).lastIndexOf("/")+1)}function Jt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Qt(e,t,n){this.$$html5=!0,n=n||"",Vt(e,this),this.$$parse=function(e){var n=Yt(t,e);if(!_(n))throw go("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Bt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=zt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return y(o=Yt(e,r))?(a=o,s=n&&y(o=Yt(n,o))?t+(Yt("/",o)||o):e+a):y(o=Yt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Kt(e,t,n){Vt(e,this),this.$$parse=function(r){var i,o=Yt(e,r)||Yt(t,r);g(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",g(o)&&(e=r,this.replace())):(i=Yt(n,o),g(i)&&(i=o)),Bt(i,this),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Ht(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}(this.$$path,i,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=zt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Wt(e)===Wt(t)&&(this.$$parse(t),!0)}}function Xt(e,t,n){this.$$html5=!0,Kt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Wt(r)?o=r:(a=Yt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=zt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function en(e){return function(){return this[e]}}function tn(e,t){return function(n){return g(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function nn(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return M(e)?(t.enabled=e,this):$(e)?(M(e.enabled)&&(t.enabled=e.enabled),M(e.requireBase)&&(t.requireBase=e.requireBase),(M(e.rewriteLinks)||_(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(e){throw l.url(i),l.$$state=o,e}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw go("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=Jt(h)+(d||"/"),c=i.history?Qt:Xt}else f=Wt(h),c=Kt;var p=Zt(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=Wr(e.target);"a"!==N(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!_(i)||!g(s.attr(i))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");$(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=Ln(u.animVal).href),m.test(u)||!u||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(e.preventDefault(),l.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Gt(l.absUrl())!==Gt(h)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(e,t){if(!Ht(e,p))return void(a.location.href=e);n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Gt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(v=!1,u(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=Gt(r.url()),t=Gt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(v||c)&&(v=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function rn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(e){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function on(e){return e+""}function an(e,t){return void 0!==e?e:t}function sn(e,t){return void 0===e?t:void 0===t?e:e+t}function un(e,t){return!e(t).$stateful}function ln(e,t){var n,i,o;switch(e.type){case Co.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case Co.Literal:e.constant=!0,e.toWatch=[];break;case Co.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Co.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Co.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Co.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Co.Identifier:e.constant=!1,e.toWatch=[e];break;case Co.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Co.CallExpression:o=!!e.filter&&un(t,e.callee.name),n=o,i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=o?i:[e];break;case Co.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Co.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case Co.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case Co.ThisExpression:case Co.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===Co.Identifier||e.type===Co.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:Co.AssignmentExpression,left:e.body[0].expression,right:{type:Co.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Co.Literal||e.body[0].expression.type===Co.ArrayExpression||e.body[0].expression.type===Co.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function vn(e,t){this.astBuilder=e,this.$filter=t}function gn(e){return x(e.valueOf)?e.valueOf():_o.call(e)}function yn(){var e,t,n=pe(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function a(e,t){var r,i,a;switch(typeof e){case"string":if(e=e.trim(),a=e,!(r=n[a])){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=new xo(m);r=new So(s,o,m).parse(e),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?c:l:r.inputs&&(r.$$watchDelegate=u),n[a]=r}return d(r,t);case"function":return d(e,t);default:return d(h,t)}}function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=gn(e)))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,u)||(o=r(e,void 0,void 0,[t]),u=t&&gn(t)),o},t,n,i)}for(var l=[],c=[],f=0,d=a.length;f<d;f++)l[f]=s,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var u=a[n](e);(t||(t=!s(u,l[n])))&&(c[n]=u,l[n]=u&&gn(u))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function l(e,t,n,r,i){function o(e){return r(e)}function a(e,n,r){l=e,x(t)&&t(e,n,r),y(e)&&r.$$postDigest(function(){y(l)&&s()})}var s,l;return s=r.inputs?u(e,a,n,r,i):e.$watch(o,a,n)}function c(e,t,n,i){function o(e){var t=!0;return r(e,function(e){y(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,x(t)&&t(e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function f(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==c&&n!==l,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return y(a)?s:a};return r=!e.inputs,e.$$watchDelegate&&e.$$watchDelegate!==u?(o.$$watchDelegate=e.$$watchDelegate,o.inputs=e.inputs):t.$stateful||(o.$$watchDelegate=u,o.inputs=e.inputs?e.inputs:[e]),o}var p=li().noUnsafeEval,m={csp:p,literals:j(i),isIdentifierStart:x(e)&&e,isIdentifierContinue:x(t)&&t};return a}]}function $n(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return _n(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return y(t)?(e=t,this):e}}function bn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return _n(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return y(t)?(e=t,this):e}}function _n(e,n,i){function o(){return new a}function a(){var e=this.promise=new s;this.resolve=function(t){d(e,t)},this.reject=function(t){p(e,t)},this.notify=function(t){v(e,t)}}function s(){this.$$state={status:0}}function u(t){var n,r,o;o=t.pending,t.processScheduled=!1,t.pending=void 0;try{for(var a=0,s=o.length;a<s;++a){t.pur=!0,r=o[a][0],n=o[a][t.status];try{x(n)?d(r,n(t.value)):1===t.status?d(r,t.value):p(r,t.value)}catch(e){p(r,e)}}}finally{--E,i&&0===E&&e(c)}}function c(){for(;!E&&A.length;){var e=A.shift();if(!e.pur){e.pur=!0;var t="Possibly unhandled rejection: "+$e(e.value);e.value instanceof Error?n(e.value,t):n(t)}}}function f(t){!i||t.pending||2!==t.status||t.pur||(0===E&&0===A.length&&e(c),A.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++E,e(function(){u(t)}))}function d(e,t){e.$$state.status||(t===e?m(e,S("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):h(e,t))}function h(e,t){function n(t){a||(a=!0,h(e,t))}function r(t){a||(a=!0,m(e,t))}function i(t){v(e,t)}var o,a=!1;try{($(t)||x(t))&&(o=t.then),x(o)?(e.$$state.status=-1,o.call(t,n,r,i)):(e.$$state.value=t,e.$$state.status=1,f(e.$$state))}catch(e){r(e)}}function p(e,t){e.$$state.status||m(e,t)}function m(e,t){e.$$state.value=t,e.$$state.status=2,f(e.$$state)}function v(t,r){var i=t.$$state.pending;t.$$state.status<=0&&i&&i.length&&e(function(){for(var e,t,o=0,a=i.length;o<a;o++){t=i[o][0],e=i[o][3];try{v(t,x(e)?e(r):r)}catch(e){n(e)}}})}function y(e){var t=new s;return p(t,e),t}function b(e,t,n){var r=null;try{x(n)&&(r=n())}catch(e){return y(e)}return O(r)?r.then(function(){return t(e)},y):t(e)}function _(e,t,n,r){var i=new s;return d(i,e),i.then(t,n,r)}function w(e){var t=new s,n=0,i=oi(e)?[]:{};return r(e,function(e,r){n++,_(e).then(function(e){i[r]=e,--n||d(t,i)},function(e){p(t,e)})}),0===n&&d(t,i),t}function k(e){var t=o();return r(e,function(e){_(e).then(t.resolve,t.reject)}),t.promise}function C(e){function t(e){d(r,e)}function n(e){p(r,e)}if(!x(e))throw S("norslvr","Expected resolverFn, got '{0}'",e);var r=new s;return e(t,n),r}var S=t("$q",TypeError),E=0,A=[];l(s.prototype,{then:function(e,t,n){if(g(e)&&g(t)&&g(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&f(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return b(t,D,e)},function(t){return b(t,y,e)},t)}});var D=_;return C.prototype=s.prototype,C.defer=o,C.reject=y,C.when=_,C.resolve=D,C.all=w,C.race=k,C}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function kn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Yr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function v(){C.$$phase=null}function y(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function _(){}function w(){for(;A.length;)try{A.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){C.$apply(w)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:_,get:i,exp:r||e,eq:!!n};return s=null,x(t)||(u.fn=h),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(u),a.$$digestWatchIndex++,y(this,1),function(){var e=q(a,u);e>=0&&(y(o,-1),e<a.$$digestWatchIndex&&a.$$digestWatchIndex--),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s;if(!g(o)){if($(o))if(n(o)){a!==h&&(a=h,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var u=0;u<t;u++)s=a[u],i=o[u],s!==s&&i!==i||s===i||(f++,a[u]=i)}else{a!==p&&(a=p={},v=0,f++),t=0;for(r in o)Ur.call(o,r)&&(t++,i=o[r],s=a[r],r in a?s!==s&&i!==i||s===i||(f++,a[r]=i):(v++,a[r]=i,f++));if(v>t){f++;for(r in a)Ur.call(o,r)||(v--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if($(o))if(n(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var r in o)Ur.call(o,r)&&(s[r]=o[r])}else s=o}r.$stateful=!0;var o,a,s,u=this,c=t.length>1,f=0,d=l(e,r),h=[],p={},m=!0,v=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,g,y,$=i,b=this,k=[];m("$digest"),c.$$checkUrlChange(),this===C&&null!==u&&(c.defer.cancel(u),w()),s=null;do{d=!1,p=b;for(var A=0;A<S.length;A++){try{y=S[A],y.scope.$eval(y.expression,y.locals)}catch(e){t(e)}s=null}S.length=0;e:do{if(f=p.$$watchers)for(f.$$digestWatchIndex=f.length;f.$$digestWatchIndex--;)try{if(e=f[f.$$digestWatchIndex])if(l=e.get,(n=l(p))===(r=e.last)||(e.eq?U(n,r):ii(n)&&ii(r))){if(e===s){d=!1;break e}}else d=!0,s=e,e.last=e.eq?j(n,null):n,a=e.fn,a(n,r===_?n:r,p),$<5&&(g=4-$,k[g]||(k[g]=[]),k[g].push({msg:x(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(e){t(e)}if(!(h=p.$$watchersCount&&p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(h=p.$$nextSibling);)p=p.$parent}while(p=h);if((d||S.length)&&!$--)throw v(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,k)}while(d||S.length);for(v();D<E.length;)try{E[D++]()}catch(e){t(e)}E.length=D=0},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===C&&c.$$applicationDestroyed(),y(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){C.$$phase||S.length||c.defer(function(){S.length&&C.$digest()}),S.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{v()}}catch(e){t(e)}finally{try{C.$digest()}catch(e){throw t(e),e}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&A.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;i<o;i++)if(r[i])try{r[i].apply(null,c)}catch(e){t(e)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;u<l;u++)if(s[u])try{s[u].apply(null,c)}catch(e){t(e)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var C=new p,S=C.$$asyncQueue=[],E=C.$$postDigestQueue=[],A=C.$$applyAsyncQueue=[],D=0;return C}]}function xn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=Ln(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){return e.replace(Do,we)}function Sn(e){if("self"===e)return e;if(_(e)){if(e.indexOf("***")>-1)throw Eo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=ui(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw Eo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return y(e)&&r(e,function(e){t.push(Sn(e))}),t}function An(){this.SCE_CONTEXTS=Ao;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?In(t):!!e.exec(t.href)}function i(n){var i,o,a=Ln(n.toString()),s=!1;for(i=0,o=e.length;i<o;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;i<o;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw Eo("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||g(t)||""===t)return t;if("string"!=typeof t)throw Eo("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||g(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===Ao.RESOURCE_URL){if(i(t))return t;throw Eo("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===Ao.HTML)return l(t);throw Eo("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw Eo("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[Ao.HTML]=o(c),f[Ao.CSS]=o(c),f[Ao.URL]=o(c),f[Ao.JS]=o(c),f[Ao.RESOURCE_URL]=o(f[Ao.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function Dn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&Yr<8)throw Eo("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(Ao);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(Ao,function(e,t){var n=zr(t);i[Cn("parse_as_"+n)]=function(t){return o(e,t)},i[Cn("get_trusted_"+n)]=function(t){return a(e,t)},i[Cn("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n={},r=e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),i=!r&&e.history&&e.history.pushState,o=f((/android (\d+)/.exec(zr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!!("transition"in u||"webkitTransition"in u),c=!!("animation"in u||"webkitAnimation"in u)),{history:!(!i||o<4||a),hasEvent:function(e){if("input"===e&&Yr)return!1;if(g(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:li(),transitions:l,animations:c,android:o}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){function c(e){return u||(e=To("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,_(s)&&!g(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return oi(f)?f=f.filter(function(e){return e!==Tt}):f===Tt&&(f=null),r.get(s,l({cache:n,transformResponse:f},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},c)}return a.totalPendingRequests=0,a}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=ni.element(e).data("$binding");i&&r(i,function(r){if(n){new RegExp("(^|\\s)"+ui(t)+"(\\s|\\||$)").test(r)&&o.push(e)}else-1!==r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},i.getLocation=function(){return n.url()},i.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},i.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},i}]}function Fn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){x(o)||(u=s,s=o,o=h);var l,c=V(arguments,3),f=y(u)&&!u,d=(f?r:n).defer(),p=d.promise;return l=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(e){d.reject(e),i(e)}finally{delete a[p.$$timeoutId]}f||e.$apply()},s),p.$$timeoutId=l,a[l]=d,p}var a={};return o.cancel=function(e){return!!(e&&e.$$timeoutId in a)&&(a[e.$$timeoutId].promise.catch(h),a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},o}]}function Ln(e){var t=e;return Yr&&(Mo.setAttribute("href",t),t=Mo.href),Mo.setAttribute("href",t),{href:Mo.href,protocol:Mo.protocol?Mo.protocol.replace(/:$/,""):"",host:Mo.host,search:Mo.search?Mo.search.replace(/^\?/,""):"",hash:Mo.hash?Mo.hash.replace(/^#/,""):"",hostname:Mo.hostname,port:Mo.port,pathname:"/"===Mo.pathname.charAt(0)?Mo.pathname:"/"+Mo.pathname}}function In(e){var t=_(e)?Ln(e):e;return t.protocol===Oo.protocol&&t.host===Oo.host}function Rn(){this.$get=m(e)}function Nn(e){function t(e){try{return e.cookie||""}catch(e){return""}}function n(e){try{return decodeURIComponent(e)}catch(t){return e}}var r=e[0]||{},i={},o="";return function(){var e,a,s,u,l,c=t(r);if(c!==o)for(o=c,e=o.split("; "),i={},s=0;s<e.length;s++)a=e[s],(u=a.indexOf("="))>0&&(l=n(a.substring(0,u)),g(i[l])&&(i[l]=n(a.substring(u+1))));return i}}function Pn(){this.$get=Nn}function qn(e){function t(i,o){if($(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Bn),t("date",or),t("filter",jn),t("json",ar),t("limitTo",sr),t("lowercase",qo),t("number",Hn),t("orderBy",lr),t("uppercase",jo)}function jn(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Vn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Un(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Un(e,t,n,r){var i=$(e)&&n in e;return!0===t?t=U:x(t)||(t=function(e,t){return!g(e)&&(null===e||null===t?e===t:!($(t)||$(e)&&!v(e))&&(e=zr(""+e),t=zr(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!$(o)?zn(o,e[n],t,n,!1):zn(o,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Vn(e),s=Vn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(oi(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!x(l)&&!g(l)){var c=u===r;if(!zn(c?e:e[u],l,n,r,c,c))return!1}}return!0}return n(e,t)
|
||
;case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function Bn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return g(n)&&(n=t.CURRENCY_SYM),g(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Yn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Lo))>-1&&(e=e.replace(Lo,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Io;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Io;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Fo&&(t=t.splice(0,Fo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Wn(e,t,n,r){var i=e.d,o=i.length-e.i;t=g(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var l=1;l<a;l++)i[l]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}function Gn(e,t,n,r,i){if(!_(e)&&!w(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="∞";else{o=Yn(u),Wn(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,d=o.e,h=[];for(s=c.reduce(function(e,t){return e&&!t},!0);f<0;)c.unshift(0),f++;f>0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=Io+e;return n&&(e=e.substr(e.length-t)),i+e}function Jn(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),Zn(a,t,r,i)}}function Qn(e,t,n){return function(r,i){var o=r["get"+e]();return i[Vr((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function Kn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Xn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Xn(t.getFullYear()),r=er(t),i=+r-+n;return Zn(1+Math.round(i/6048e5),e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,_(n)&&(n=Po.test(n)?f(n):t(n)),w(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=No.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=J(n,o,!0)),r(l,function(t){a=Ro[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return g(t)&&(t=2),Y(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),ii(t)?e:(w(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return _(e)?e.slice(t,n):Jr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(x(t))r=t;else if(_(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return x(e.valueOf)&&(e=e.valueOf(),i(e))?e:(v(e)&&(e=e.toString(),i(e)),e)}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&($(o)&&(o=e.index),$(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n=r<i?-1:1;return n}return function(e,i,o,u){function l(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:f.map(function(n){return a(n.get(e),t)})}}function c(e,t){for(var n=0,r=f.length;n<r;n++){var i=h(e.predicateValues[n],t.predicateValues[n]);if(i)return i*f[n].descending*d}return h(e.tieBreaker,t.tieBreaker)*d}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);oi(i)||(i=[i]),0===i.length&&(i=["+"]);var f=r(i),d=o?-1:1,h=x(u)?u:s,p=Array.prototype.map.call(e,l);return p.sort(c),e=p.map(function(e){return e.value})}}function cr(e){return x(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function fr(e,t){e.$name=t}function dr(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Vo,this.$$element=e,this.$$animate=r,hr(this)}function hr(e){e.$$classCache={},e.$$classCache[xa]=!(e.$$classCache[ka]=e.$$element.hasClass(ka))}function pr(e){function t(e,t,n,r){e[t]||(e[t]={}),a(e[t],n,r)}function n(e,t,n,r){e[t]&&s(e[t],n,r),mr(e[t])&&(e[t]=void 0)}function r(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function i(e,t,n){t=t?"-"+ue(t,"-"):"",r(e,ka+t,!0===n),r(e,xa+t,!1===n)}var o=e.clazz,a=e.set,s=e.unset;o.prototype.$setValidity=function(e,o,u){g(o)?t(this,"$pending",e,u):n(this,"$pending",e,u),M(o)?o?(s(this.$error,e,u),a(this.$$success,e,u)):(a(this.$error,e,u),s(this.$$success,e,u)):(s(this.$error,e,u),s(this.$$success,e,u)),this.$pending?(r(this,Bo,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,Bo,!1),this.$valid=mr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var l;l=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),i(this,e,l),this.$$parentForm.$setValidity(e,l,this)}}function mr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function vr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function gr(e,t,n,r,i,o){yr(e,t,n,r,i,o),vr(r)}function yr(e,t,n,r,i,o){var a=zr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=si(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),na[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(ta,function(e){if(!u){var t=this[jr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function $r(e,t){if(k(e))return e;if(_(e)){Xo.lastIndex=0;var n=Xo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Xn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function br(e,t){return function(n,i){var o,a;if(k(n))return n;if(_(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Go.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function _r(e,t,n,r){return function(i,o,a,s,u,l,c){function f(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function d(e){return y(e)&&!k(e)?n(e)||void 0:e}wr(i,o,a,s),yr(i,o,a,s,u,l);var h,p=s&&s.$options.getOption("timezone");if(s.$$parserName=e,s.$parsers.push(function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var r=n(e,h);return p&&(r=J(r,p)),r}}),s.$formatters.push(function(e){if(e&&!k(e))throw Ea("datefmt","Expected `{0}` to be a date",e);return f(e)?(h=e,h&&p&&(h=J(h,p,!0)),c("date")(e,r,p)):(h=null,"")}),y(a.min)||a.ngMin){var m;s.$validators.min=function(e){return!f(e)||g(m)||n(e)>=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if(y(a.max)||a.ngMax){var v;s.$validators.max=function(e){return!f(e)||g(v)||n(e)<=v},a.$observe("max",function(e){v=d(e),s.$validate()})}}}function wr(e,t,n,r){var i=t[0];(r.$$hasNativeValidators=$(i.validity))&&r.$parsers.push(function(e){var n=t.prop(jr)||{};return n.badInput||n.typeMismatch?void 0:e})}function kr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:Qo.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!w(t))throw Ea("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function xr(e){return y(e)&&!w(e)&&(e=parseFloat(e)),ii(e)?void 0:e}function Cr(e){return(0|e)===e}function Sr(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function Er(e,t,n){var r=Number(e);if(!Cr(r)||!Cr(t)||!Cr(n)){var i=Math.max(Sr(r),Sr(t),Sr(n)),o=Math.pow(10,i);r*=o,t*=o,n*=o}return(r-t)%n==0}function Ar(e,t,n,r,i,o){wr(e,t,n,r),kr(r),yr(e,t,n,r,i,o);var a,s;if((y(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||g(a)||e>=a},n.$observe("min",function(e){a=xr(e),r.$validate()})),(y(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||g(s)||e<=s},n.$observe("max",function(e){s=xr(e),r.$validate()})),y(n.step)||n.ngStep){var u;r.$validators.step=function(e,t){return r.$isEmpty(t)||g(u)||Er(t,a||0,u)},n.$observe("step",function(e){u=xr(e),r.$validate()})}}function Dr(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(f=xr(e),!ii(r.$modelValue))if(c){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=xr(e),!ii(r.$modelValue))if(c){var n=t.val();d<n&&(t.val(d),n=d<f?f:d),r.$setViewValue(n)}else r.$validate()}function l(e){h=xr(e),ii(r.$modelValue)||(c&&r.$viewValue!==t.val()?r.$setViewValue(t.val()):r.$validate())}wr(e,t,n,r),kr(r),yr(e,t,n,r,i,o);var c=r.$$hasNativeValidators&&"range"===t[0].type,f=c?0:void 0,d=c?100:void 0,h=c?1:void 0,p=t[0].validity,m=y(n.min),v=y(n.max),$=y(n.step),b=r.$render;r.$render=c&&y(p.rangeUnderflow)&&y(p.rangeOverflow)?function(){b(),r.$setViewValue(t.val())}:b,m&&(r.$validators.min=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||g(f)||t>=f},a("min",s)),v&&(r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||g(d)||t<=d},a("max",u)),$&&(r.$validators.step=c?function(){return!p.stepMismatch}:function(e,t){return r.$isEmpty(t)||g(h)||Er(t,f||0,h)},a("step",l))}function Tr(e,t,n,r,i,o){yr(e,t,n,r,i,o),vr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Zo.test(n)}}function Mr(e,t,n,r,i,o){yr(e,t,n,r,i,o),vr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Jo.test(n)}}function Or(e,t,n,r){var i=!n.ngTrim||"false"!==si(n.ngTrim);g(n.name)&&t.attr("name",a());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=si(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=si(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Fr(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw Ea("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Lr(e,t,n,r,i,o,a,s){var u=Fr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Fr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Ir(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function i(e){return e&&e.split(" ")}function o(e){var t=e;return oi(e)?t=e.map(o).join(" "):$(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}function a(e){var t=e;if(oi(e))t=e.map(a);else if($(e)){var n=!1;t=Object.keys(e).filter(function(t){var r=e[t];return!n&&g(r)&&(n=!0),r}),n&&t.push(void 0)}return t}e="ngClass"+e;var s;return["$parse",function(u){return{restrict:"AC",link:function(l,c,f){function d(e){e=m(i(e),1),f.$addClass(e)}function h(e){e=m(i(e),-1),f.$removeClass(e)}function p(e,t){var r=i(e),o=i(t),a=n(r,o),s=n(o,r),u=m(a,-1),l=m(s,1);f.$addClass(l),f.$removeClass(u)}function m(e,t){var n=[];return r(e,function(e){(t>0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function v(e){e===t?d($):h($),S=e}function g(e){var t=o(e);t!==$&&y(t)}function y(e){S===t&&p($,e),$=e}var $,b=f[e].trim(),_=":"===b.charAt(0)&&":"===b.charAt(1),w=_?a:o,k=u(b,w),x=_?g:y,C=c.data("$classCounts"),S=!0;C||(C=pe(),c.data("$classCounts",C)),"ngClass"!==e&&(s||(s=u("$index",function(e){return 1&e})),l.$watch(s,v)),l.$watch(k,x,_)}}}]}function Rr(e,t,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Vo,this.$options=Aa,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,hr(this),Nr(this)}function Nr(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue===e.$modelValue||t===t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var n=e.$formatters,r=n.length,i=t;r--;)i=n[r](i);e.$viewValue!==i&&(e.$$updateEmptyClasses(i),e.$viewValue=e.$$lastCommittedViewValue=i,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,h))}return t})}function Pr(e){this.$$options=e}function qr(e,t){r(t,function(t,n){y(e[n])||(e[n]=t)})}var jr="validity",Ur=Object.prototype.hasOwnProperty,zr=function(e){return _(e)?e.toLowerCase():e},Vr=function(e){return _(e)?e.toUpperCase():e},Br=function(e){return _(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Hr=function(e){return _(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(zr=Br,Vr=Hr);var Yr,Wr,Gr,Zr,Jr=[].slice,Qr=[].splice,Kr=[].push,Xr=Object.prototype.toString,ei=Object.getPrototypeOf,ti=t("ng"),ni=e.angular||(e.angular={}),ri=0;Yr=e.document.documentMode;var ii=Number.isNaN||function(e){return e!==e};h.$inject=[],p.$inject=[];var oi=Array.isArray,ai=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,si=function(e){return _(e)?e.trim():e},ui=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},li=function(){if(!y(li.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");li.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else li.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return li.rules},ci=function(){if(y(ci.name_))return ci.name_;var t,n,r,i,o=di.length;for(n=0;n<o;++n)if(r=di[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return ci.name_=i},fi=/:/g,di=["ng-","data-ng-","ng:","x-ng-"],hi=function(e){if(!e.currentScript)return!0;var t=e.currentScript.getAttribute("src"),n=e.createElement("a");if(n.href=t,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(e.document),pi=/[A-Z]/g,mi=!1,vi=1,gi=3,yi=8,$i=9,bi=11,_i={full:"1.6.1",major:1,minor:6,dot:1,codeName:"promise-rectification"};Me.expando="ng339";var wi=Me.cache={},ki=1;Me._data=function(e){return this.cache[e[this.expando]]||{}};var xi=/-([a-z])/g,Ci=/^-ms-/,Si={mouseleave:"mouseout",mouseenter:"mouseover"},Ei=t("jqLite"),Ai=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Di=/<|&#?\w+;/,Ti=/<([\w:-]+)/,Mi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Oi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Oi.optgroup=Oi.option,Oi.tbody=Oi.tfoot=Oi.colgroup=Oi.caption=Oi.thead,Oi.th=Oi.td;var Fi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Li=Me.prototype={ready:We,toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Wr(e>=0?this[e]:this[this.length+e])},length:0,push:Kr,sort:[].sort,splice:[].splice},Ii={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ii[zr(e)]=e});var Ri={};r("input,select,option,textarea,button,form,details".split(","),function(e){Ri[e]=!0});var Ni={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:Ne,removeData:Ie,hasData:Se,cleanData:Ee},function(e,t){Me[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return Wr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Wr.data(e,"$isolateScope")||Wr.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){if(t=_e(t),!y(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==gi&&2!==i&&i!==yi&&e.getAttribute){var o=zr(t),a=Ii[o];if(!y(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!y(n))return e[t];e[t]=n},text:function(){function e(e,t){if(g(t)){var n=e.nodeType;return n===vi||n===gi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(g(t)){if(e.multiple&&"select"===N(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(g(t))return e.innerHTML;Fe(e,!0),e.innerHTML=t},empty:Be},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Be&&g(2===e.length&&e!==Pe&&e!==ze?t:n)){if($(t)){for(r=0;r<o;r++)if(e===Ne)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=g(a)?Math.min(o,1):o,u=0;u<s;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),r({removeData:Ie,on:function(e,t,n,r){if(y(r))throw Ei("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ce(e)){var i=Re(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Je(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)t=s[u],Si[t]?(l(Si[t],Ke),l(t,void 0,!0)):l(t)}},off:Le,one:function(e,t,n){e=Wr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Fe(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===vi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===vi||n===bi){t=new Me(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===vi){var n=e.firstChild;r(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Te(e,Wr(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new Me(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:je,removeClass:qe,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;g(r)&&(r=!Pe(e,t)),(r?je:qe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==bi?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Oe,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Re(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=ge(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Me.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)g(i)?(i=e(this[o],t,n,r),y(i)&&(i=Wr(i))):Ue(i,e(this[o],t,n,r));return y(i)?i:this}}),Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off,tt.prototype={put:function(e,t){this[et(e,this.nextUid)]=t},get:function(e){return this[et(e,this.nextUid)]},remove:function(e){var t=this[e=et(e,this.nextUid)];return delete this[e],t}};var Pi=[function(){this.$get=[function(){return tt}]}],qi=/^([^(]+?)=>/,ji=/^[^(]*\(\s*([^)]*)\)/m,Ui=/,/,zi=/^\s*(_?)(\S+?)\1\s*$/,Vi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Bi=t("$injector");at.$$annotate=ot;var Hi=t("$animate"),Yi=1,Wi=function(){this.$get=h},Gi=function(){var e=new tt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=_(t)?t.split(" "):oi(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=ct(t.attr("class")),o="",a="";r(n,function(e,t){e!==!!i[t]&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&je(e,o),a&&qe(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Hi("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){if(new RegExp("(\\s+|\\/)ng-animate(\\s+|\\/)").test(this.$$classNameFilter.toString()))throw Hi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=lt(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Wr(r),i=i&&Wr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",ft(o))},move:function(n,r,i,o){return r=r&&Wr(r),i=i&&Wr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",ft(o))},leave:function(t,n){return e.push(t,"leave",ft(n),function(){t.remove()})},addClass:function(t,n,r){return r=ft(r),r.addClass=ut(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ft(r),r.removeClass=ut(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ft(i),i.addClass=ut(i.addClass,n),i.removeClass=ut(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ft(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ut(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ji=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Qi=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,i,o){function a(e){this.setHost(e);var t=n(),r=function(e){o(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){i()?r(e):t(e)},this._state=0}return a.chain=function(e,t){function n(){if(r===e.length)return void t(!0);e[r](function(e){if(!1===e)return void t(!1);r++,n()})}var r=0;n()},a.all=function(e,t){function n(n){o=o&&n,++i===e.length&&t(o)}var i=0,o=!0;r(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:h,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(r(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},a}]},Ki=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(t.addClass(a.addClass),a.addClass=null),a.removeClass&&(t.removeClass(a.removeClass),a.removeClass=null),a.to&&(t.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=j(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,u=new n;return{start:i,end:i}}}]},Xi=t("$compile"),eo=new vt;gt.$inject=["$provide","$$sanitizeUriProvider"],yt.prototype.isFirstChange=function(){return this.previousValue===eo};var to=/^((?:x|data)[:\-_])/i,no=/[:\-_]+(.)/g,ro=t("$controller"),io=/^(\S+)(\s+as\s+([\w$]+))?$/,oo=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Wr&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},ao="application/json",so={"Content-Type":ao+";charset=utf-8"},uo=/^\[|^\{(?!\{)/,lo={"[":/]$/,"{":/}$/},co=/^\)]\}',?\n/,fo=t("$http"),ho=ni.$interpolateMinErr=t("$interpolate");ho.throwNoconcat=function(e){throw ho("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},ho.interr=function(e,t){return ho("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var po=function(){this.$get=["$window",function(e){function t(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}var n=e.angular.callbacks,r={};return{createCallback:function(e){var i="_"+(n.$$counter++).toString(36),o="angular.callbacks."+i,a=t(i);return r[o]=n[i]=a,o},wasCalled:function(e){return r[e].called},getResponse:function(e){return r[e].data},removeCallback:function(e){var t=r[e];delete n[t.id],delete r[e]}}}]},mo=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,vo={http:80,https:443,ftp:21},go=t("$location"),yo=/^\s*[\\/]{2,}/,$o={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:en("$$absUrl"),url:function(e){if(g(e))return this.$$url;var t=mo.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:en("$$protocol"),host:en("$$host"),port:en("$$port"),path:tn("$$path",function(e){return e=null!==e?e.toString():"","/"===e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(_(e)||w(e))e=e.toString(),this.$$search=X(e);else{if(!$(e))throw go("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=j(e,{}),r(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:g(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:tn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};r([Xt,Kt,Qt],function(e){e.prototype=Object.create($o),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Qt||!this.$$html5)throw go("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=g(t)?null:t,this}});var bo=t("$parse"),_o={}.constructor.prototype.valueOf,wo=pe();r("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){wo[e]=!0});var ko={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},xo=function(e){this.options=e};xo.prototype={constructor:xo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=wo[t],o=wo[n],a=wo[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e
|
||
},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw bo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=zr(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{n+=ko[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var Co=function(e,t){this.lexer=e,this.options=t};Co.Program="Program",Co.ExpressionStatement="ExpressionStatement",Co.AssignmentExpression="AssignmentExpression",Co.ConditionalExpression="ConditionalExpression",Co.LogicalExpression="LogicalExpression",Co.BinaryExpression="BinaryExpression",Co.UnaryExpression="UnaryExpression",Co.CallExpression="CallExpression",Co.MemberExpression="MemberExpression",Co.Identifier="Identifier",Co.Literal="Literal",Co.ArrayExpression="ArrayExpression",Co.Property="Property",Co.ObjectExpression="ObjectExpression",Co.ThisExpression="ThisExpression",Co.LocalsExpression="LocalsExpression",Co.NGValueParameter="NGValueParameter",Co.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Co.Program,body:e}},expressionStatement:function(){return{type:Co.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!fn(e))throw bo("lval","Trying to assign a value to a non l-value");e={type:Co.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Co.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Co.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Co.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Co.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=j(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Co.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:Co.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Co.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Co.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Co.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Co.Identifier,name:e.text}},constant:function(){return{type:Co.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Co.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Co.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Co.ObjectExpression,properties:t}},throwError:function(e,t){throw bo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw bo("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw bo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:Co.ThisExpression},$locals:{type:Co.LocalsExpression}}},mn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(n,t.$filter);var i,o="";if(this.stage="assign",i=dn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=cn(n.body);t.stage="inputs",r(s,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push(r),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,on,an,sn);return this.state=this.stage=void 0,l.literal=hn(n),l.constant=pn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&y(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case Co.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case Co.Literal:c=this.escape(e.value),this.assign(t,c),i(t||c);break;case Co.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case Co.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case Co.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case Co.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case Co.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),i(t);break;case Co.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.computedMember(s,u),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(o&&1!==o&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case Co.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){r(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case Co.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case Co.ArrayExpression:l=[],r(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(t||c);break;case Co.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===Co.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===Co.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case Co.ThisExpression:this.assign(t,"s"),i(t||"s");break;case Co.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case Co.NGValueParameter:this.assign(t,"v"),i(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/;return n.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(_(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(w(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw bo("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},vn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);ln(n,t.$filter);var i,o;(i=dn(n))&&(o=this.recurse(i));var a,s=cn(n.body);s&&(a=[],r(s,function(e,n){var r=t.recurse(e);e.input=r,a.push(r),e.watchId=n}));var u=[];r(n.body,function(e){u.push(t.recurse(e.expression))});var l=0===n.body.length?h:1===n.body.length?u[0]:function(e,t){var n;return r(u,function(r){n=r(e,t)}),n};return o&&(l.assign=function(e,t,n){return o(e,n,t)}),a&&(l.inputs=a),l.literal=hn(n),l.constant=pn(n),l},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Co.Literal:return this.value(e.value,t);case Co.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case Co.BinaryExpression:case Co.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case Co.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Co.Identifier:return s.identifier(e.name,t,n);case Co.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n):this.nonComputedMember(i,o,t,n);case Co.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u<a.length;++u)s.push(a[u](e,n,r,i));var l=o.apply(void 0,s,i);return t?{context:void 0,name:void 0,value:l}:l}:function(e,n,r,i){var s,u=o(e,n,r,i);if(null!=u.value){for(var l=[],c=0;c<a.length;++c)l.push(a[c](e,n,r,i));s=u.value.apply(u.context,l)}return t?{value:s}:s};case Co.AssignmentExpression:return i=this.recurse(e.left,!0,1),o=this.recurse(e.right),function(e,n,r,a){var s=i(e,n,r,a),u=o(e,n,r,a);return s.context[s.name]=u,t?{value:u}:u};case Co.ArrayExpression:return a=[],r(e.elements,function(e){a.push(s.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case Co.ObjectExpression:return a=[],r(e.properties,function(e){e.computed?a.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):a.push({key:e.key.type===Co.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(e,n,r,i)]=a[s].value(e,n,r,i):o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case Co.ThisExpression:return function(e){return t?{value:e}:e};case Co.LocalsExpression:return function(e,n){return t?{value:n}:n};case Co.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=y(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=y(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=sn(s,u);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=(y(s)?s:0)-(y(u)?u:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u=on(u),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var So=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new Co(e,n),this.astCompiler=n.csp?new vn(this.ast,t):new mn(this.ast,t)};So.prototype={constructor:So,parse:function(e){return this.astCompiler.compile(e)}};var Eo=t("$sce"),Ao={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Do=/_([a-z])/g,To=t("$compile"),Mo=e.document.createElement("a"),Oo=Ln(e.location.href);Nn.$inject=["$document"],qn.$inject=["$provide"];var Fo=22,Lo=".",Io="0";Bn.$inject=["$locale"],Hn.$inject=["$locale"];var Ro={yyyy:Jn("FullYear",4,0,!1,!0),yy:Jn("FullYear",2,0,!0,!0),y:Jn("FullYear",1,0,!1,!0),MMMM:Qn("Month"),MMM:Qn("Month",!0),MM:Jn("Month",2,1),M:Jn("Month",1,1),LLLL:Qn("Month",!1,!0),dd:Jn("Date",2),d:Jn("Date",1),HH:Jn("Hours",2),H:Jn("Hours",1),hh:Jn("Hours",2,-12),h:Jn("Hours",1,-12),mm:Jn("Minutes",2),m:Jn("Minutes",1),ss:Jn("Seconds",2),s:Jn("Seconds",1),sss:Jn("Milliseconds",3),EEEE:Qn("Day"),EEE:Qn("Day",!0),a:nr,Z:Kn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},No=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Po=/^-?\d+$/;or.$inject=["$locale"];var qo=m(zr),jo=m(Vr);lr.$inject=["$parse"];var Uo=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Xr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),zo={};r(Ii,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=$t("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),zo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Ni,function(e,t){zo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(/^\/(.+)\/([a-z]*)$/);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=$t("ng-"+e);zo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Xr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){if(!t)return void("href"===e&&i.$set(a,null));i.$set(a,t),Yr&&o&&r.prop(o,i[a])})}}}});var Vo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Bo="ng-pending";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],dr.prototype={$rollbackViewValue:function(){r(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){fe(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],r(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),r(this.$error,function(t,n){this.$setValidity(n,null,e)},this),r(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),q(this.$$controls,e),e.$$parentForm=Vo},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ca),this.$$animate.addClass(this.$$element,Sa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ca,Sa+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},pr({clazz:dr,set:function(e,t,n){var r=e[t];if(r){-1===r.indexOf(n)&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(q(r,n),0===r.length&&delete e[t])}});var Ho=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(Ca).addClass(ka);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var c=o?r(s.$name):h;o&&(c(e,s),i.$observe(o,function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),c(e,void 0),l(s,Vo)})}}}}}]},Yo=Ho(),Wo=Ho(!0),Go=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Zo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Jo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Qo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ko=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Xo=/^(\d{4,})-W(\d\d)$/,ea=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ta="keydown wheel mousedown",na=pe();r("date,datetime-local,month,time,week".split(","),function(e){na[e]=!0});var ra={text:gr,date:_r("date",/^(\d{4,})-(\d{2})-(\d{2})$/,br(/^(\d{4,})-(\d{2})-(\d{2})$/,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":_r("datetimelocal",Ko,br(Ko,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:_r("time",ea,br(ea,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:_r("week",Xo,$r,"yyyy-Www"),month:_r("month",/^(\d{4,})-(\d\d)$/,br(/^(\d{4,})-(\d\d)$/,["yyyy","MM"]),"yyyy-MM"),number:Ar,url:Tr,email:Mr,radio:Or,range:Dr,checkbox:Lr,hidden:h,button:h,submit:h,reset:h,file:h},ia=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(ra[zr(a.type)]||ra.text)(i,o,a,s[0],t,e,n,r)}}}}],oa=/^(true|false|\d+)$/,aa=function(){function e(e,t,n){e.prop("value",n),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return oa.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},sa=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=me(e)})}}}}],ua=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=g(e)?"":e})}}}}],la=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],ca=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),fa=Ir("",!0),da=Ir("Odd",0),ha=Ir("Even",1),pa=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),ma=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],va={},ga={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=$t("ng-"+e);va[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};ga[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ya=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).done(function(e){!1!==e&&(l=null)}),s=null))})}}}],$a=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ni.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).done(function(e){!1!==e&&(d=null)}),d=h,h=null)};r.$watch(o,function(o){var u=function(e){!1===e||!y(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).done(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ba=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(Xr.call(r[0]).match(/SVG/))return r.empty(),void t(Ae(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],_a=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),wa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?si(o):o,u=function(e){if(!g(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?si(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(oi(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},ka="ng-valid",xa="ng-invalid",Ca="ng-pristine",Sa="ng-dirty",Ea=t("ngModel");Rr.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Rr.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return x(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){x(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}
|
||
}else if(!this.$$parsedNgModel.assign)throw Ea("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,Q(this.$$element))},$render:h,$isEmpty:function(e){return g(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Sa),this.$$animate.addClass(this.$$element,Ca)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ca),this.$$animate.addClass(this.$$element,Sa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ii(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(e,t){a===s.$$currentValidationRunId&&s.$setValidity(e,t)}function o(e){a===s.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;return function(){var e=s.$$parserName||"parse";return g(s.$$parserValid)?(i(e,null),!0):(s.$$parserValid||(r(s.$validators,function(e,t){i(t,null)}),r(s.$asyncValidators,function(e,t){i(t,null)})),i(e,s.$$parserValid),s.$$parserValid)}()&&function(){var n=!0;return r(s.$validators,function(r,o){var a=Boolean(r(e,t));n=n&&a,i(o,a)}),!!n||(r(s.$asyncValidators,function(e,t){i(t,null)}),!1)}()?void function(){var n=[],a=!0;r(s.$asyncValidators,function(r,o){var s=r(e,t);if(!O(s))throw Ea("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);i(o,void 0),n.push(s.then(function(){i(o,!0)},function(){a=!1,i(o,!1)}))}),n.length?s.$$q.all(n).then(function(){o(a)},h):o(!0)}():void o(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!g(n)||void 0,this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),g(n)){this.$$parserValid=!1;break}ii(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var o=this.$modelValue,a=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,a&&(this.$modelValue=n,e()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(t){a||(r.$modelValue=t?n:void 0,e())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),r(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");w(t[e])?t=t[e]:w(t.default)&&(t=t.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},pr({clazz:Rr,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Aa,Da=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Rr,priority:1,compile:function(t){return t.addClass(Ca).addClass("ng-untouched").addClass(ka),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}];Pr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=l({},e),r(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=si(n.replace(/(\s+|^)default(\s+|$)/,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],qr(e,this.$$options)),qr(e,Aa.$$options),new Pr(e)}},Aa=new Pr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ta=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Aa,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ma=cr({terminal:!0,priority:1e3}),Oa=t("ngOptions"),Fa=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,La=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Fa);if(!s)throw Oa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,Q(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),v=f?function(e,t){return m(r,t)}:function(e){return et(e)},g=function(e,t){return v(e,k(e,t))},y=o(s[2]||s[1]),$=o(s[3]||""),b=o(s[4]||""),_=o(s[8]),w={},k=l?function(e,t){return w[l]=t,w[u]=e,w}:function(e){return w[u]=e,w};return{trackBy:f,getTrackByValue:g,getWatchables:o(_,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;o<i;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=v(l,c);if(t.push(f),s[2]||s[1]){var d=y(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=_(r)||[],o=a(n),s=o.length,u=0;u<s;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=v(h,d),w=y(r,d),x=$(r,d),C=b(r,d),S=new i(m,h,w,x,C);e.push(S),t[m]=S}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return f?j(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),d(e,n)}function f(e){var t=w.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}function d(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}function h(){var e=w&&p.readValue();if(w)for(var t=w.items.length-1;t>=0;t--){var r=w.items[t];He(y(r.group)?r.element.parentNode:r.element)}w=k.getOptions();var i={};if(_&&n.prepend(p.emptyOption),w.items.forEach(function(e){var t;y(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),x.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,x)}),n[0].appendChild(x),m.$render(),!m.$isEmpty(e)){var o=p.readValue();(k.trackBy||v?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var p=s[0],m=s[1],v=o.multiple,g=0,$=n.children(),b=$.length;g<b;g++)if(""===$[g].value){p.hasEmptyOption=!0,p.emptyOption=$.eq(g);break}var _=!!p.emptyOption;Wr(u.cloneNode(!1)).val("?");var w,k=a(o.ngOptions,n,e),x=i[0].createDocumentFragment();p.generateUnknownOptionValue=function(e){return"?"},v?(p.writeValue=function(e){var t=e&&e.map(f)||[];w.items.forEach(function(e){e.element.selected&&!P(t,e)&&(e.element.selected=!1)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=w.selectValueMap[e];n&&!n.disabled&&t.push(w.getViewValueFromOption(n))}),t},k.trackBy&&e.$watchCollection(function(){if(oi(m.$viewValue))return m.$viewValue.map(function(e){return k.getTrackByValue(e)})},function(){m.$render()})):(p.writeValue=function(e){var t=w.selectValueMap[n.val()],r=w.getOptionFromViewValue(e);t&&t.element.removeAttribute("selected"),r?(n[0].value!==r.selectValue&&(p.removeUnknownOption(),p.unselectEmptyOption(),n[0].value=r.selectValue,r.element.selected=!0),r.element.setAttribute("selected","selected")):_?p.selectEmptyOption():p.unknownOption.parent().length?p.updateUnknownOption(e):p.renderUnknownOption(e)},p.readValue=function(){var e=w.selectValueMap[n.val()];return e&&!e.disabled?(p.unselectEmptyOption(),p.removeUnknownOption(),w.getViewValueFromOption(e)):null},k.trackBy&&e.$watch(function(){return k.getTrackByValue(m.$viewValue)},function(){m.$render()})),_&&(p.emptyOption.remove(),t(p.emptyOption)(e),p.emptyOption[0].nodeType===yi?(p.hasEmptyOption=!1,p.registerOption=function(e,t){""===t.val()&&(p.hasEmptyOption=!0,p.emptyOption=t,p.emptyOption.removeClass("ng-scope"),m.$render(),t.on("$destroy",function(){p.hasEmptyOption=!1,p.emptyOption=void 0}))}):p.emptyOption.removeClass("ng-scope")),n.empty(),h(),e.$watchCollection(k.getWatchables,h)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Ia=["$locale","$interpolate","$log",function(e,t,n){var i=/^when(Minus)?(.+)$/;return{link:function(o,a,s){function u(e){a.text(e||"")}var l,c=s.count,f=s.$attr.when&&a.attr(s.$attr.when),d=s.offset||0,p=o.$eval(f)||{},m={},v=t.startSymbol(),y=t.endSymbol(),$=v+c+"-"+d+y,b=ni.noop;r(s,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+zr(n[2]);p[r]=a.attr(s.$attr[t])}}),r(p,function(e,n){m[n]=t(e.replace(/{}/g,$))}),o.$watch(c,function(t){var r=parseFloat(t),i=ii(r);if(i||r in p||(r=e.pluralCat(r-d)),!(r===l||i&&ii(l))){b();var a=m[r];g(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+f),b=h,u()):b=o.$watch(a,u),l=r}})}}}],Ra=["$parse","$animate","$compile",function(e,i,o){var a=t("ngRepeat"),s=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},u=function(e){return e.clone[0]},l=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,c){var f=c.ngRepeat,d=o.$$createComment("end ngRepeat",f),h=f.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!h)throw a("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",f);var p=h[1],m=h[2],v=h[3],g=h[4];if(!(h=p.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw a("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",p);var y=h[3]||h[1],$=h[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw a("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var b,_,w,k,x={$id:et};return g?b=e(g):(w=function(e,t){return et(t)},k=function(e){return e}),function(e,t,o,c,h){b&&(_=function(t,n,r){return $&&(x[$]=t),x[y]=n,x.$index=r,b(e,x)});var p=pe();e.$watchCollection(m,function(o){var c,m,g,b,x,C,S,E,A,D,T,M,O=t[0],F=pe();if(v&&(e[v]=o),n(o))A=o,E=_||w;else{E=_||k,A=[];for(var L in o)Ur.call(o,L)&&"$"!==L.charAt(0)&&A.push(L)}for(b=A.length,T=new Array(b),c=0;c<b;c++)if(x=o===A?c:A[c],C=o[x],S=E(x,C,c),p[S])D=p[S],delete p[S],F[S]=D,T[c]=D;else{if(F[S])throw r(T,function(e){e&&e.scope&&(p[e.id]=e)}),a("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",f,S,C);T[c]={id:S,scope:void 0,clone:void 0},F[S]=!0}for(var I in p){if(D=p[I],M=he(D.clone),i.leave(M),M[0].parentNode)for(c=0,m=M.length;c<m;c++)M[c].$$NG_REMOVED=!0;D.scope.$destroy()}for(c=0;c<b;c++)if(x=o===A?c:A[c],C=o[x],D=T[c],D.scope){g=O;do{g=g.nextSibling}while(g&&g.$$NG_REMOVED);u(D)!==g&&i.move(he(D.clone),null,O),O=l(D),s(D.scope,c,y,C,$,x,b)}else h(function(e,t){D.scope=t;var n=d.cloneNode(!1);e[e.length++]=n,i.enter(e,null,O),O=n,D.clone=e,F[D.id]=D,s(D.scope,c,y,C,$,x,b)});p=F})}}}}],Na=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Pa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],qa=cr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),ja=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(s,function(n){for(var i,o;c.length;)e.cancel(c.pop());for(i=0,o=f.length;i<o;++i){var s=he(l[i].clone);f[i].$destroy();(c[i]=e.leave(s)).done(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Ua=cr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,o){r(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){i.cases["!"+e]=i.cases["!"+e]||[],i.cases["!"+e].push({transclude:o,element:t})})}}),za=cr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Va=t("ngTransclude"),Ba=["$compile",function(e){return{restrict:"EAC",terminal:!0,compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){function a(e,n){e.length&&u(e)?t.append(e):(s(),n.$destroy())}function s(){n(e,function(e){t.append(e)})}function u(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==gi||r.nodeValue.trim())return!0}}if(!o)throw Va("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",Q(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var l=r.ngTransclude||r.ngTranscludeSlot;o(a,null,l),l&&!o.isSlotFilled(l)&&s()}}}}],Ha=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Ya={$setViewValue:h,$render:h},Wa=["$element","$scope",function(t,n){function r(){u||(u=!0,n.$$postDigest(function(){u=!1,a.ngModelCtrl.$render()}))}function i(e){l||(l=!0,n.$$postDigest(function(){n.$$destroyed||(l=!1,a.ngModelCtrl.$setViewValue(a.readValue()),e&&a.ngModelCtrl.$render())}))}function o(e){e.prop("selected",!0),e.attr("selected",!0)}var a=this,s=new tt;a.selectValueMap={},a.ngModelCtrl=Ya,a.multiple=!1,a.unknownOption=Wr(e.document.createElement("option")),a.hasEmptyOption=!1,a.emptyOption=void 0,a.renderUnknownOption=function(e){var n=a.generateUnknownOptionValue(e);a.unknownOption.val(n),t.prepend(a.unknownOption),o(a.unknownOption),t.val(n)},a.updateUnknownOption=function(e){var n=a.generateUnknownOptionValue(e);a.unknownOption.val(n),o(a.unknownOption),t.val(n)},a.generateUnknownOptionValue=function(e){return"? "+et(e)+" ?"},a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.selectEmptyOption=function(){a.emptyOption&&(t.val(""),o(a.emptyOption))},a.unselectEmptyOption=function(){a.hasEmptyOption&&a.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){a.renderUnknownOption=h}),a.readValue=function(){var e=t.val(),n=e in a.selectValueMap?a.selectValueMap[e]:e;return a.hasOption(n)?n:null},a.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&n.removeAttribute("selected"),a.hasOption(e)){a.removeUnknownOption();var r=et(e);t.val(r in a.selectValueMap?r:e);var i=t[0].options[t[0].selectedIndex];o(Wr(i))}else null==e&&a.emptyOption?(a.removeUnknownOption(),a.selectEmptyOption()):a.unknownOption.parent().length?a.updateUnknownOption(e):a.renderUnknownOption(e)},a.addOption=function(e,t){if(t[0].nodeType!==yi){fe(e,'"option value"'),""===e&&(a.hasEmptyOption=!0,a.emptyOption=t);var n=s.get(e)||0;s.put(e,n+1),r()}},a.removeOption=function(e){var t=s.get(e);t&&(1===t?(s.remove(e),""===e&&(a.hasEmptyOption=!1,a.emptyOption=void 0)):s.put(e,t-1))},a.hasOption=function(e){return!!s.get(e)};var u=!1,l=!1;a.registerOption=function(e,t,n,r,o){if(n.$attr.ngValue){var s,u=NaN;n.$observe("value",function(e){var n,r=t.prop("selected");y(u)&&(a.removeOption(s),delete a.selectValueMap[u],n=!0),u=et(e),s=e,a.selectValueMap[u]=e,a.addOption(e,t),t.attr("value",u),n&&r&&i()})}else r?n.$observe("value",function(e){a.readValue();var n,r=t.prop("selected");y(s)&&(a.removeOption(s),n=!0),s=e,a.addOption(e,t),n&&r&&i()}):o?e.$watch(o,function(e,r){n.$set("value",e);var o=t.prop("selected");r!==e&&a.removeOption(r),a.addOption(e,t),r&&o&&i()}):a.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(a.multiple?i(!0):(a.ngModelCtrl.$setViewValue(null),a.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=a.readValue(),t=n.value;a.removeOption(t),a.ngModelCtrl.$render(),(a.multiple&&e&&-1!==e.indexOf(t)||e===t)&&i(!0)})}}],Ga=function(){function e(e,t,n,i){var o=i[0],a=i[1];if(!a)return void(o.registerOption=h);if(o.ngModelCtrl=a,t.on("change",function(){o.removeUnknownOption(),e.$apply(function(){a.$setViewValue(o.readValue())})}),n.multiple){o.multiple=!0,o.readValue=function(){var e=[];return r(t.find("option"),function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in o.selectValueMap?o.selectValueMap[n]:n)}}),e},o.writeValue=function(e){var n=new tt(e);r(t.find("option"),function(e){e.selected=y(n.get(e.value))||y(n.get(o.selectValueMap[e.value]))})};var s,u=NaN;e.$watch(function(){u!==a.$viewValue||U(s,a.$viewValue)||(s=ge(a.$viewValue),a.$render()),u=a.$viewValue}),a.$isEmpty=function(e){return!e||0===e.length}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Wa,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return y(n.ngValue)||(y(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(e,t,n,r,i)}}}}],Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Qa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(_(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||g(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=ii(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};if(e.angular.bootstrap)return void(e.console&&console.log("WARNING: Tried to load angular more than once."));!function(){var t;if(!mi){var n=ci();Gr=g(n)?e.jQuery:n?e[n]:void 0,Gr&&Gr.fn.on?(Wr=Gr,l(Gr.fn,{scope:Li.scope,isolateScope:Li.isolateScope,controller:Li.controller,injector:Li.injector,inheritedData:Li.inheritedData}),t=Gr.cleanData,Gr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=Gr._data(r,"events"))&&n.$destroy&&Gr(r).triggerHandler("$destroy");t(e)}):Wr=Me,ni.element=Wr,mi=!0}}(),function(n){l(n,{bootstrap:oe,copy:j,extend:l,merge:c,equals:U,element:Wr,forEach:r,injector:at,noop:h,bind:B,toJson:Y,fromJson:W,identity:p,isUndefined:g,isDefined:y,isString:_,isFunction:x,isObject:$,isNumber:w,isElement:I,isArray:oi,version:_i,isDate:k,lowercase:zr,uppercase:Vr,callbacks:{$$counter:0},getTestability:se,reloadWithDebugInfo:ae,$$minErr:t,$$csp:li,$$encodeUriSegment:te,$$encodeUriQuery:ne,$$stringify:me}),(Zr=ve(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:xn}),e.provider("$compile",gt).directive({a:Uo,input:ia,textarea:ia,form:Yo,script:Ha,select:Ga,option:Za,ngBind:sa,ngBindHtml:la,ngBindTemplate:ua,ngClass:fa,ngClassEven:ha,ngClassOdd:da,ngCloak:pa,ngController:ma,ngForm:Wo,ngHide:Pa,ngIf:ya,ngInclude:$a,ngInit:_a,ngNonBindable:Ma,ngPluralize:Ia,ngRepeat:Ra,ngShow:Na,ngStyle:qa,ngSwitch:ja,ngSwitchWhen:Ua,ngSwitchDefault:za,ngOptions:La,ngTransclude:Ba,ngModel:Da,ngList:wa,ngChange:ca,pattern:Qa,ngPattern:Qa,required:Ja,ngRequired:Ja,minlength:Xa,ngMinlength:Xa,maxlength:Ka,ngMaxlength:Ka,ngValue:aa,ngModelOptions:Ta}).directive({ngInclude:ba}).directive(zo).directive(va),e.provider({$anchorScroll:st,$animate:Zi,$animateCss:Ki,$$animateJs:Wi,$$animateQueue:Gi,$$AnimateRunner:Qi,$$animateAsyncRun:Ji,$browser:ht,$cacheFactory:pt,$controller:kt,$document:xt,$$isDocumentHidden:Ct,$exceptionHandler:St,$filter:qn,$$forceReflow:oo,$interpolate:jt,$interval:Ut,$http:Rt,$httpParamSerializer:At,$httpParamSerializerJQLike:Dt,$httpBackend:Pt,$xhrFactory:Nt,$jsonpCallbacks:po,$location:nn,$log:rn,$parse:yn,$rootScope:kn,$q:$n,$$q:bn,$sce:Dn,$sceDelegate:An,$sniffer:Tn,$templateCache:mt,$templateRequest:Mn,$$testability:On,$timeout:Fn,$window:Rn,$$rAF:wn,$$jqLite:Xe,$$HashMap:Pi,$$cookieReader:Pn})}])}(ni),ni.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r);return{v:r,f:(e*i|0)%i}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),Wr(function(){ie(e.document,oe)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){t.exports=e("./lib/axios")},{"./lib/axios":12}],11:[function(e,t,n){"use strict";var r=e("./../utils"),i=e("./../core/settle"),o=e("./../helpers/buildURL"),a=e("./../helpers/parseHeaders"),s=e("./../helpers/isURLSameOrigin"),u=e("../core/createError"),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||e("./../helpers/btoa");t.exports=function(t){return new Promise(function(n,c){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest,p="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||s(t.url)||(h=new window.XDomainRequest,p="onload",m=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var v=t.auth.username||"",g=t.auth.password||"";d.Authorization="Basic "+l(v+":"+g)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[p]=function(){if(h&&(4===h.readyState||m)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:e,config:t,request:h};i(n,c,o),h=null}},h.onerror=function(){c(u("Network Error",t)),h=null},h.ontimeout=function(){c(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=e("./../helpers/cookies"),$=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;$&&(d[t.xsrfHeaderName]=$)}if("setRequestHeader"in h&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(e){h&&(h.abort(),c(e),h=null)}),void 0===f&&(f=null),h.send(f)})}},{"../core/createError":18,"./../core/settle":21,"./../helpers/btoa":25,"./../helpers/buildURL":26,"./../helpers/cookies":28,"./../helpers/isURLSameOrigin":30,"./../helpers/parseHeaders":32,"./../utils":34}],12:[function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=e("./utils"),o=e("./helpers/bind"),a=e("./core/Axios"),s=e("./defaults"),u=r(s);u.Axios=a,u.create=function(e){return r(i.merge(s,e))},u.Cancel=e("./cancel/Cancel"),u.CancelToken=e("./cancel/CancelToken"),u.isCancel=e("./cancel/isCancel"),u.all=function(e){return Promise.all(e)},u.spread=e("./helpers/spread"),t.exports=u,t.exports.default=u},{"./cancel/Cancel":13,"./cancel/CancelToken":14,"./cancel/isCancel":15,"./core/Axios":16,"./defaults":23,"./helpers/bind":24,"./helpers/spread":33,"./utils":34}],13:[function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},{}],14:[function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=e("./Cancel");r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r},{"./Cancel":13}],15:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.__CANCEL__)}},{}],16:[function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=e("./../defaults"),o=e("./../utils"),a=e("./InterceptorManager"),s=e("./dispatchRequest"),u=e("./../helpers/isAbsoluteURL"),l=e("./../helpers/combineURLs");r.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),e=o.merge(i,this.defaults,{method:"get"},e),e.baseURL&&!u(e.url)&&(e.url=l(e.baseURL,e.url));var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),t.exports=r},{"./../defaults":23,"./../helpers/combineURLs":27,"./../helpers/isAbsoluteURL":29,"./../utils":34,"./InterceptorManager":17,"./dispatchRequest":19}],17:[function(e,t,n){"use strict";function r(){this.handlers=[]}var i=e("./../utils");r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=r},{"./../utils":34}],18:[function(e,t,n){"use strict";var r=e("./enhanceError");t.exports=function(e,t,n,i){var o=new Error(e);return r(o,t,n,i)}},{"./enhanceError":20}],19:[function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=e("./../utils"),o=e("./transformData"),a=e("../cancel/isCancel"),s=e("../defaults");t.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},{"../cancel/isCancel":15,"../defaults":23,"./../utils":34,"./transformData":22}],20:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){return e.config=t,n&&(e.code=n),e.response=r,e}},{}],21:[function(e,t,n){"use strict";var r=e("./createError");t.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n)):e(n)}},{"./createError":18}],22:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},{"./../utils":34}],23:[function(e,t,n){
|
||
(function(n){"use strict";function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=e("./utils"),o=e("./helpers/normalizeHeaderName"),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=e("./adapters/xhr"):void 0!==n&&(t=e("./adapters/http")),t}(),transformRequest:[function(e,t){return o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),t.exports=s}).call(this,e("_process"))},{"./adapters/http":11,"./adapters/xhr":11,"./helpers/normalizeHeaderName":31,"./utils":34,_process:108}],24:[function(e,t,n){"use strict";t.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},{}],25:[function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function i(e){for(var t,n,i=String(e),a="",s=0,u=o;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&t>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},{}],26:[function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=e("./../utils");t.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},{"./../utils":34}],27:[function(e,t,n){"use strict";t.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},{}],28:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},{"./../utils":34}],29:[function(e,t,n){"use strict";t.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},{}],30:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},{"./../utils":34}],31:[function(e,t,n){"use strict";var r=e("../utils");t.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},{"../utils":34}],32:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e){var t,n,i,o={};return e?(r.forEach(e.split("\n"),function(e){i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}},{"./../utils":34}],33:[function(e,t,n){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],34:[function(e,t,n){(function(n){"use strict";function r(e){return"[object Array]"===x.call(e)}function i(e){return void 0!==n&&n.isBuffer&&n.isBuffer(e)}function o(e){return"[object ArrayBuffer]"===x.call(e)}function a(e){return"undefined"!=typeof FormData&&e instanceof FormData}function s(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function l(e){return"number"==typeof e}function c(e){return void 0===e}function f(e){return null!==e&&"object"==typeof e}function d(e){return"[object Date]"===x.call(e)}function h(e){return"[object File]"===x.call(e)}function p(e){return"[object Blob]"===x.call(e)}function m(e){return"[object Function]"===x.call(e)}function v(e){return f(e)&&m(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function y(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function $(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||r(e)||(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function _(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=_(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function w(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?k(t,n):t}),e}var k=e("./helpers/bind"),x=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:o,isBuffer:i,isFormData:a,isArrayBufferView:s,isString:u,isNumber:l,isObject:f,isUndefined:c,isDate:d,isFile:h,isBlob:p,isFunction:m,isStream:v,isURLSearchParams:g,isStandardBrowserEnv:$,forEach:b,merge:_,extend:w,trim:y}}).call(this,e("buffer").Buffer)},{"./helpers/bind":24,buffer:36}],35:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return 3*e.length/4-r(e)}function o(e){var t,n,i,o,a,s,u=e.length;a=r(e),s=new f(3*u/4-a),i=a>0?u-4:u;var l=0;for(t=0,n=0;t<i;t+=4,n+=3)o=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],s[l++]=o>>16&255,s[l++]=o>>8&255,s[l++]=255&o;return 2===a?(o=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,s[l++]=255&o):1===a&&(o=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,s[l++]=o>>8&255,s[l++]=255&o),s}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function s(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(a(r));return i.join("")}function u(e){for(var t,n=e.length,r=n%3,i="",o=[],a=0,u=n-r;a<u;a+=16383)o.push(s(e,a,a+16383>u?u:a+16383));return 1===r?(t=e[n-1],i+=l[t>>2],i+=l[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=l[t>>10],i+=l[t>>4&63],i+=l[t<<2&63],i+="="),o.push(i),o.join("")}n.byteLength=i,n.toByteArray=o,n.fromByteArray=u;for(var l=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,p=d.length;h<p;++h)l[h]=d[h],c[d.charCodeAt(h)]=h;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],36:[function(e,t,n){"use strict";function r(e){if(e>Z)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=i.prototype,t}function i(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(e)}return o(e,t,n)}function o(e,t,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return e instanceof ArrayBuffer?f(e,t,n):"string"==typeof e?l(e,t):d(e)}function a(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t,n){return a(e),e<=0?r(e):void 0!==t?"string"==typeof n?r(e).fill(t,n):r(e).fill(t):r(e)}function u(e){return a(e),r(e<0?0:0|h(e))}function l(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(e,t),o=r(n),a=o.write(e,t);return a!==n&&(o=o.slice(0,a)),o}function c(e){for(var t=e.length<0?0:0|h(e.length),n=r(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(n||0))throw new RangeError("'length' is out of bounds");var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),r.__proto__=i.prototype,r}function d(e){if(i.isBuffer(e)){var t=0|h(e.length),n=r(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(e){if(H(e)||"length"in e)return"number"!=typeof e.length||Y(e.length)?r(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function h(e){if(e>=Z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Z.toString(16)+" bytes");return 0|e}function p(e){return+e!=e&&(e=0),i.alloc(+e)}function m(e,t){if(i.isBuffer(e))return e.length;if(H(e)||e instanceof ArrayBuffer)return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Y(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:$(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):$(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function $(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(i){var c=-1;for(l=n;l<s;l++)if(o(e,l)===o(t,-1===c?0:l-c)){if(-1===c&&(c=l),l-c+1===u)return c*a}else-1!==c&&(l-=l-c),c=-1}else for(n+u>s&&(n=s-u),l=n;l>=0;l--){for(var f=!0,d=0;d<u;d++)if(o(e,l+d)!==o(t,d)){f=!1;break}if(f)return l}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(Y(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return B(j(t,e.length-n),e,n,r)}function w(e,t,n,r){return B(U(t),e,n,r)}function k(e,t,n,r){return w(e,t,n,r)}function x(e,t,n,r){return B(V(t),e,n,r)}function C(e,t,n,r){return B(z(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?W.fromByteArray(e):W.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,l,c,f;switch(s){case 1:o<128&&(a=o);break;case 2:u=e[i+1],128==(192&u)&&(f=(31&o)<<6|63&u)>127&&(a=f);break;case 3:u=e[i+1],l=e[i+2],128==(192&u)&&128==(192&l)&&(f=(15&o)<<12|(63&u)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128==(192&u)&&128==(192&l)&&128==(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return A(r)}function A(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=J));return n}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function M(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=q(e[o]);return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return t=+t,n>>>=0,i||I(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,i){return t=+t,n>>>=0,i||I(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(e,t,n,r,52,8),n+8}function P(e){if(e=e.trim().replace(Q,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function z(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function V(e){return W.toByteArray(P(e))}function B(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function H(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function Y(e){return e!==e}var W=e("base64-js"),G=e("ieee754");n.Buffer=i,n.SlowBuffer=p,n.INSPECT_MAX_BYTES=50;var Z=2147483647;n.kMaxLength=Z,i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),i.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(e,t,n){return o(e,t,n)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(e,t,n){return s(e,t,n)},i.allocUnsafe=function(e){return u(e)},i.allocUnsafeSlow=function(e){return u(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},i.byteLength=m,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):v.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,s=n-t,u=Math.min(a,s),l=this.slice(r,o),c=e.slice(t,n),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],s=c[f];break}return a<s?-1:s<a?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=i.prototype,r},i.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},i.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},i.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},i.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),G.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),G.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),G.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),G.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},i.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=i.isBuffer(e)?e:new i(e,r),u=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%u]}return this};var Q=/[^+\/0-9A-Za-z-_]/g},{"base64-js":35,ieee754:45}],37:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","select"],i);else if(void 0!==n)i(t,e("select"));else{var o={exports:{}};i(o,r.select),r.clipboardAction=o.exports}}(this,function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(e){return e&&e.__esModule?e:{default:e}}(t),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){n(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})},{select:110}],38:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if(void 0!==n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var l=i(t),c=i(n),f=i(r),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),
|
||
Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return s(t,e),d(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,f.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),t}(c.default);e.exports=h})},{"./clipboard-action":37,"good-listener":44,"tiny-emitter":111}],39:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if(e.matches(t))return e;e=e.parentNode}}var i=9;if(Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],40:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":39}],41:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i<o;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(!(n=this._callbacks[e]))return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=i=0,o=n.length;i<o;r=++i)if(n[r]===t){n.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==this.options.previewsContainer&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(!0===this.options.clickable?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;i<o;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),r=n.getElementsByTagName("span")[0],r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,r;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),r=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.optWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>r?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*r):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/r),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,r,i,o,a,s,u,l,c,f,d,h,p;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),f=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,u=f.length;o<u;o++)n=f[o],n.textContent=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;a<l;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),r=function(n){return function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),h=e.previewElement.querySelectorAll("[data-dz-remove]"),p=[],s=0,c=h.length;s<c;s++)i=h[s],p.push(i.addEventListener("click",r));return p}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,r,i,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0,i=o.length;r<i;r++)n=o[r],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(),1)}},error:function(e,t){var n,r,i,o,a;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],r=0,i=o.length;r<i;r++)n=o[r],a.push(n.textContent=t);return a}},errormultiple:s,processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.textContent=this.options.dictCancelUpload},processingmultiple:s,uploadprogress:function(e,t,n){var r,i,o,a,s;if(e.previewElement){for(a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=a.length;i<o;i++)r=a[i],"PROGRESS"===r.nodeName?s.push(r.value=t):s.push(r.style.width=t+"%");return s}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:s,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:s,complete:function(e){if(e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,addedfiles:s,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>'},r=function(){var e,t,n,r,i,o,a;for(r=arguments[0],n=2<=arguments.length?l.call(arguments,1):[],o=0,a=n.length;o<a;o++){t=n[o];for(e in t)i=t[e],r[e]=i}return r},t.prototype.getAcceptedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],e.accepted&&i.push(e);return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],e.accepted||i.push(e);return i},t.prototype.getFilesWithStatus=function(e){var t,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)t=i[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)e=i[n],e.status!==t.UPLOADING&&e.status!==t.QUEUED||o.push(e);return o},t.prototype.init=function(){var e,n,r,i,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(r=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,i,o;if(n=e.hiddenFileInput.files,n.length)for(i=0,o=n.length;i<o;i++)t=n[i],e.addFile(t);return e.emit("addedfiles",n),r()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,i=0,o=s.length;i<o;i++)e=s[i],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout(function(){return e.emit("queuecomplete")},0)}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var r;try{r=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,r,i,o,a,s;if(r=0,n=0,e=this.getActiveFiles(),e.length){for(s=this.getActiveFiles(),o=0,a=s.length;o<a;o++)t=s[o],r+=t.upload.bytesSent,n+=t.upload.total;i=100*r/n}else i=100;return this.emit("totaluploadprogress",i,n,r)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='<div class="dz-fallback">',this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),i.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:n)},t.prototype.getExistingFallback=function(){var e,t,n,r,i,o;for(t=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],r=0,i=o.length;r<i;r++)if(n=o[r],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;r<i;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.addEventListener(t,n,!1));return i}());return a},t.prototype.removeEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;r<i;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.removeEventListener(t,n,!1));return i}());return a},t.prototype.disable=function(){var e,t,n,r,i;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],i.push(this.cancelUpload(e));return i},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,r,i,o,a,s,u;if(r=0,i="b",e>0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s<u;n=++s)if(o=a[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){r=e/Math.pow(this.options.filesizeBase,4-n),i=o;break}r=Math.round(10*r)/10}return"<strong>"+r+"</strong> "+i},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.addFile(t));return i},t.prototype._addFilesFromItems=function(e){var t,n,r,i,o;for(o=[],r=0,i=e.length;r<i;r++)n=e[r],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,r,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;o<a;o++)r=n[o],r.isFile?r.file(function(n){if(!e.options.ignoreHiddenFiles||"."!==n.name.substring(0,1))return n.fullPath=t+"/"+n.name,e.addFile(n)}):r.isDirectory&&e._addFilesFromDirectory(r,t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=t.QUEUED,this.options.autoProcessQueue)return setTimeout(function(e){return function(){return e.processQueue()}}(this),0)},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)},t.prototype._processThumbnailQueue=function(){if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this))},t.prototype.removeFile=function(e){if(e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;r<i;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;if(e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n)return n()}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e<t;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;r<i;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t;return function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;i<a;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;o<s;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,v,g,y,$,b,_,w,k,x,C,S,E,A,D,T,M,O,F,L,I,R,N;for(w=new XMLHttpRequest,k=0,E=e.length;k<E;k++)n=e[k],n.xhr=w;m=i(this.options.method,e),b=i(this.options.url,e),w.open(m,b,!0),w.withCredentials=!!this.options.withCredentials,y=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;r<i;r++)n=e[r],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",w.status),w));return o}}(this),$=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;a<l;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;s<c;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;u<f;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),w.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===w.readyState){if(y=w.responseText,w.getResponseHeader("content-type")&&~w.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(e){r=e,y="Invalid JSON response from server."}return $(),200<=(i=w.status)&&i<300?n._finished(e,y,r):a()}}}(this),w.onerror=function(n){return function(){if(e[0].status!==t.CANCELED)return a()}}(),g=null!=(O=w.upload)?O:w,g.onprogress=$,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)(u=l[s])&&w.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)_=F[p],o.append(p,_)}for(x=0,A=e.length;x<A;x++)n=e[x],this.emit("sending",n,w,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,w,o),"FORM"===this.element.tagName)for(L=this.element.querySelectorAll("input, textarea, select, button"),C=0,D=L.length;C<D;C++)if(f=L[C],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,S=0,T=I.length;S<T;S++)v=I[S],v.selected&&o.append(d,v.value);else(!h||"checkbox"!==(R=h.toLowerCase())&&"radio"!==R||f.checked)&&o.append(d,f.value);for(c=M=0,N=e.length-1;0<=N?M<=N:M>=N;c=0<=N?++M:--M)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(w,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;o<a;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);if(this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;o<a;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);if(this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;n<i;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0)
|
||
;return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;i<o;i++)n=r[i],!1!==e.optionsForElement(n)?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;r<i;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;r<i;r++)(n=e[r])!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u;if(e instanceof Array){r=[];try{for(i=0,a=e.length;i<a;i++)n=e[i],r.push(this.getElement(n,t))}catch(e){e,r=null}}else if("string"==typeof e)for(r=[],u=document.querySelectorAll(e),o=0,s=u.length;o<s;o++)n=u[o],r.push(n);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;o<a;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),void 0!==t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l;for(e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,l=0,o=a,s=a;s>l;)t=i[4*(s-1)+3],0===t?o=s:l=s,s=o+l>>1;return u=s/a,0===u?1:u},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0},a=function(){try{l.doScroll("left")}catch(e){return e,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(e){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],42:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},{}],43:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],44:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return u(document.body,e,t,n)}var s=e("./is"),u=e("delegate");t.exports=r},{"./is":43,delegate:40}],45:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?d/u:d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],46:[function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object String]"===i(e)}function a(e){return"[object Object]"===i(e)}function s(e){return"[object RegExp]"===i(e)}function u(e){return"[object Function]"===i(e)}function l(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function c(e){return Object.keys(e||{}).reduce(function(e,t){return e||y.hasOwnProperty(t)},!1)}function f(e){e.__index__=-1,e.__text_cache__=""}function d(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function h(){return function(e,t){t.normalize(e)}}function p(t){function n(e){return e.replace("%TLDS%",i.src_tlds)}function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}var i=t.re=e("./lib/re")(t.__opts__),c=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||c.push(b),c.push(i.src_xn),i.src_tlds=c.join("|"),i.email_fuzzy=RegExp(n(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(n(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(n(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(n(i.tpl_host_fuzzy_test),"i");var p=[];t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={
|
||
validate:null,link:null};return t.__compiled__[e]=i,a(n)?(s(n.validate)?i.validate=d(n.validate):u(n.validate)?i.validate=n.validate:r(e,n),void(u(n.normalize)?i.normalize=n.normalize:n.normalize?r(e,n):i.normalize=h())):o(n)?void p.push(e):void r(e,n)}}),p.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:h()};var m=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(l).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),f(t)}function m(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function v(e,t){var n=new m(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function g(e,t){if(!(this instanceof g))return new g(e,t);t||c(e)&&(t=e,e={}),this.__opts__=r({},y,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},$,e),this.__compiled__={},this.__tlds__=_,this.__tlds_replaced__=!1,this.re={},p(this)}var y={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},$={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},b="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",_="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");g.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},g.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},g.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},g.prototype.pretest=function(e){return this.re.pretest.test(e)},g.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},g.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(v(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(v(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},g.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},g.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},g.prototype.onCompile=function(){},t.exports=g},{"./lib/re":47}],47:[function(e,t,n){"use strict";t.exports=function(t){var n={};n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><|]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><|]|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|[><|]|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":112,"uc.micro/categories/P/regex":114,"uc.micro/categories/Z/regex":115,"uc.micro/properties/Any/regex":117}],48:[function(e,t,n){function r(e,t,n){var r=e.attrIndex(t),i=[t,n];r<0?e.attrPush(i):e.attrs[r]=i}function i(e,t){for(var n=e[t].level-1,r=t-1;r>=0;r--)if(e[r].level===n)return r;return-1}function o(e,t){return c(e[t])&&f(e[t-1])&&d(e[t-2])&&h(e[t])}function a(e,t){e.children.unshift(s(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),m&&(e.children.unshift(u(t)),e.children.push(l(t)))}function s(e,t){var n=new t("html_inline","",0),r=p?' disabled="" ':"";return 0===e.content.indexOf("[ ] ")?n.content='<input class="task-list-item-checkbox"'+r+'type="checkbox">':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(n.content='<input class="task-list-item-checkbox" checked=""'+r+'type="checkbox">'),n}function u(e){var t=new e("html_inline","",0);return t.content="<label>",t}function l(e){var t=new e("html_inline","",0);return t.content="</label>",t}function c(e){return"inline"===e.type}function f(e){return"paragraph_open"===e.type}function d(e){return"list_item_open"===e.type}function h(e){return 0===e.content.indexOf("[ ] ")||0===e.content.indexOf("[x] ")||0===e.content.indexOf("[X] ")}var p=!0,m=!1;t.exports=function(e,t){t&&(p=!t.enabled,m=!!t.label),e.core.ruler.after("inline","github-task-lists",function(e){for(var t=e.tokens,n=2;n<t.length;n++)o(t,n)&&(a(t[n],e.Token),r(t[n-2],"class","task-list-item"+(p?"":" enabled")),r(t[i(t,n-2)],"class","contains-task-list"))})}},{}],49:[function(e,t,n){"use strict";t.exports=e("./lib/")},{"./lib/":58}],50:[function(e,t,n){"use strict";t.exports=e("entities/maps/entities.json")},{"entities/maps/entities.json":42}],51:[function(e,t,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},{}],52:[function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],53:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}function o(e,t){return _.call(e,t)}function a(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function s(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function u(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function l(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e,t){var n=0;return o(C,t)?C[t]:35===t.charCodeAt(0)&&x.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),u(n))?l(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(w,"$1")}function d(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(k,function(e,t,n){return t||c(e,n)})}function h(e){return A[e]}function p(e){return S.test(e)?e.replace(E,h):e}function m(e){return e.replace(D,"\\$&")}function v(e){switch(e){case 9:case 32:return!0}return!1}function g(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function y(e){return T.test(e)}function $(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function b(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var _=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,k=new RegExp(w.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),x=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,C=e("./entities"),S=/[&<>"]/,E=/[&<>"]/g,A={"&":"&","<":"<",">":">",'"':"""},D=/[.?*+^$[\]\\(){}|-]/g,T=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=a,n.isString=i,n.has=o,n.unescapeMd=f,n.unescapeAll=d,n.isValidEntityCode=u,n.fromCodePoint=l,n.escapeHtml=p,n.arrayReplaceAt=s,n.isSpace=v,n.isWhiteSpace=g,n.isMdAsciiPunct=$,n.isPunctChar=y,n.escapeRE=m,n.normalizeReference=b},{"./entities":50,mdurl:104,"uc.micro":116,"uc.micro/categories/P/regex":114}],54:[function(e,t,n){"use strict";n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":55,"./parse_link_label":56,"./parse_link_title":57}],55:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace,i=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,u={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return u;if(62===o)return u.pos=t+1,u.str=i(e.slice(s+1,t)),u.ok=!0,u;92===o&&t+1<n?t+=2:t++}return u}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&++a>1)break;if(41===o&&--a<0)break;t++}return s===t?u:(u.str=i(e.slice(s,t)),u.lines=0,u.pos=t,u.ok=!0,u)}},{"../common/utils":53}],56:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s=-1,u=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<u;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(s=e.pos),e.pos=l,s}},{}],57:[function(e,t,n){"use strict";var r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var i,o,a=0,s=t,u={ok:!1,pos:0,lines:0,str:""};if(t>=n)return u;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return u;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return u.pos=t+1,u.lines=a,u.str=r(e.slice(s+1,t)),u.ok=!0,u;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return u}},{"../common/utils":53}],58:[function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!g.test(t)||!!y.test(t)}function i(e){var t=p.parse(e,!0);if(t.hostname&&(!t.protocol||$.indexOf(t.protocol)>=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return p.encode(p.format(t))}function o(e){var t=p.parse(e,!0);if(t.hostname&&(!t.protocol||$.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return p.decode(p.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||s.isString(e)||(t=e||{},e="default"),this.inline=new d,this.block=new f,this.core=new c,this.renderer=new l,this.linkify=new h,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=s,this.helpers=s.assign({},u),this.options={},this.configure(e),t&&this.set(t)}var s=e("./common/utils"),u=e("./helpers"),l=e("./renderer"),c=e("./parser_core"),f=e("./parser_block"),d=e("./parser_inline"),h=e("linkify-it"),p=e("mdurl"),m=e("punycode"),v={default:e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")},g=/^(vbscript|javascript|file|data):/,y=/^data:image\/(gif|png|jpeg|webp);/,$=["http:","https:","mailto:"];a.prototype.set=function(e){return s.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(s.isString(e)&&(t=e,!(e=v[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=a},{"./common/utils":53,"./helpers":54,"./parser_block":59,"./parser_core":60,"./parser_inline":61,"./presets/commonmark":62,"./presets/default":63,"./presets/zero":64,"./renderer":65,"linkify-it":46,mdurl:104,punycode:109}],59:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}var i=e("./ruler"),o=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];r.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,u=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=u){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},r.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},r.prototype.State=e("./rules_block/state_block"),t.exports=r},{"./ruler":66,"./rules_block/blockquote":67,"./rules_block/code":68,"./rules_block/fence":69,"./rules_block/heading":70,"./rules_block/hr":71,"./rules_block/html_block":72,"./rules_block/lheading":73,"./rules_block/list":74,"./rules_block/paragraph":75,"./rules_block/reference":76,"./rules_block/state_block":77,"./rules_block/table":78}],60:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}var i=e("./ruler"),o=[["normalize",e("./rules_core/normalize")],["block",e("./rules_core/block")],["inline",e("./rules_core/inline")],["linkify",e("./rules_core/linkify")],["replacements",e("./rules_core/replacements")],["smartquotes",e("./rules_core/smartquotes")]];r.prototype.process=function(e){var t,n,r;for(r=this.ruler.getRules(""),t=0,n=r.length;t<n;t++)r[t](e)},r.prototype.State=e("./rules_core/state_core"),t.exports=r},{"./ruler":66,"./rules_core/block":79,"./rules_core/inline":80,"./rules_core/linkify":81,"./rules_core/normalize":82,"./rules_core/replacements":83,"./rules_core/smartquotes":84,"./rules_core/state_core":85}],61:[function(e,t,n){"use strict";function r(){var e;for(this.ruler=new i,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new i,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}var i=e("./ruler"),o=[["text",e("./rules_inline/text")],["newline",e("./rules_inline/newline")],["escape",e("./rules_inline/escape")],["backticks",e("./rules_inline/backticks")],["strikethrough",e("./rules_inline/strikethrough").tokenize],["emphasis",e("./rules_inline/emphasis").tokenize],["link",e("./rules_inline/link")],["image",e("./rules_inline/image")],["autolink",e("./rules_inline/autolink")],["html_inline",e("./rules_inline/html_inline")],["entity",e("./rules_inline/entity")]],a=[["balance_pairs",e("./rules_inline/balance_pairs")],["strikethrough",e("./rules_inline/strikethrough").postProcess],["emphasis",e("./rules_inline/emphasis").postProcess],["text_collapse",e("./rules_inline/text_collapse")]];r.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0!==s[r])return void(e.pos=s[r]);if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos},r.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;i<a;i++)o[i](s)},r.prototype.State=e("./rules_inline/state_inline"),t.exports=r},{"./ruler":66,"./rules_inline/autolink":86,"./rules_inline/backticks":87,"./rules_inline/balance_pairs":88,"./rules_inline/emphasis":89,"./rules_inline/entity":90,"./rules_inline/escape":91,"./rules_inline/html_inline":92,"./rules_inline/image":93,"./rules_inline/link":94,"./rules_inline/newline":95,"./rules_inline/state_inline":96,"./rules_inline/strikethrough":97,"./rules_inline/text":98,"./rules_inline/text_collapse":99}],62:[function(e,t,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},{}],63:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},{}],64:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},{}],65:[function(e,t,n){"use strict";function r(){this.rules=i({},s)}var i=e("./common/utils").assign,o=e("./common/utils").unescapeAll,a=e("./common/utils").escapeHtml,s={};s.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},s.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},s.fence=function(e,t,n,r,i){var s,u,l,c,f=e[t],d=f.info?o(f.info).trim():"",h="";return d&&(h=d.split(/\s+/g)[0]),s=n.highlight?n.highlight(f.content,h)||a(f.content):a(f.content),0===s.indexOf("<pre")?s+"\n":d?(u=f.attrIndex("class"),l=f.attrs?f.attrs.slice():[],u<0?l.push(["class",n.langPrefix+h]):l[u][1]+=" "+n.langPrefix+h,c={attrs:l},"<pre><code"+i.renderAttrs(c)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(f)+">"+s+"</code></pre>\n"},s.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},s.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},s.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},s.text=function(e,t){return a(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},r.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(r=e[t+1],"inline"===r.type||r.hidden?o=!1:-1===r.nesting&&r.tag===a.tag&&(o=!1))),i+=o?">\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a<s;a++)r=e[a].type,void 0!==o[r]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},r.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},r.prototype.render=function(e,t,n){var r,i,o,a="",s=this.rules;for(r=0,i=e.length;r<i;r++)o=e[r].type,"inline"===o?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},t.exports=r},{"./common/utils":53}],66:[function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},t.exports=r},{}],67:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,u,l,c,f,d,h,p,m,v,g,y,$,b,_,w,k,x,C=e.lineMax,S=e.bMarks[t]+e.tShift[t],E=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(i)return!0;for(u=p=e.sCount[t]+S-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(S)?(S++,u++,p++,o=!1,_=!0):9===e.src.charCodeAt(S)?(_=!0,(e.bsCount[t]+p)%4==3?(S++,u++,p++,o=!1):o=!0):_=!1,m=[e.bMarks[t]],e.bMarks[t]=S;S<E&&(a=e.src.charCodeAt(S),r(a));)9===a?p+=4-(p+e.bsCount[t]+(o?1:0))%4:p++,S++;for(v=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),f=S>=E,$=[e.sCount[t]],e.sCount[t]=p-u,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",h=t+1;h<n&&(l=e.sCount[h]<e.blkIndent,S=e.bMarks[h]+e.tShift[h],E=e.eMarks[h],!(S>=E));h++)if(62!==e.src.charCodeAt(S++)||l){if(f)break;for(w=!1,s=0,c=k.length;s<c;s++)if(k[s](e,h,n,!0)){w=!0;break}if(w){e.lineMax=h,0!==e.blkIndent&&(m.push(e.bMarks[h]),v.push(e.bsCount[h]),b.push(e.tShift[h]),$.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}if(l)break;m.push(e.bMarks[h]),v.push(e.bsCount[h]),b.push(e.tShift[h]),$.push(e.sCount[h]),e.sCount[h]=-1}else{for(u=p=e.sCount[h]+S-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(S)?(S++,u++,p++,o=!1,_=!0):9===e.src.charCodeAt(S)?(_=!0,(e.bsCount[h]+p)%4==3?(S++,u++,p++,o=!1):o=!0):_=!1,m.push(e.bMarks[h]),e.bMarks[h]=S;S<E&&(a=e.src.charCodeAt(S),r(a));)9===a?p+=4-(p+e.bsCount[h]+(o?1:0))%4:p++,S++;f=S>=E,v.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(_?1:0),$.push(e.sCount[h]),e.sCount[h]=p-u,b.push(e.tShift[h]),e.tShift[h]=S-e.bMarks[h]}for(g=e.blkIndent,e.blkIndent=0,x=e.push("blockquote_open","blockquote",1),x.markup=">",x.map=d=[t,0],e.md.block.tokenize(e,t,h),x=e.push("blockquote_close","blockquote",-1),x.markup=">",e.lineMax=C,e.parentType=y,d[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=m[s],e.tShift[s+t]=b[s],e.sCount[s+t]=$[s],e.bsCount[s+t]=v[s];return e.blkIndent=g,!0}},{"../common/utils":53}],68:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],69:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i,o,a,s,u,l,c,f=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(i=e.src.charCodeAt(d))&&96!==i)return!1;if(u=d,d=e.skipChars(d,i),(o=d-u)<3)return!1;if(c=e.src.slice(u,d),a=e.src.slice(d,h),a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&(d=u=e.bMarks[s]+e.tShift[s],h=e.eMarks[s],!(d<h&&e.sCount[s]<e.blkIndent));)if(e.src.charCodeAt(d)===i&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,i))-u<o||(d=e.skipSpaces(d))<h)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),l=e.push("fence","code",0),l.info=a,l.content=e.getLines(t+1,s,o,!0),l.markup=c,l.map=[t,e.line],!0}},{}],70:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(a=1,o=e.src.charCodeAt(++l);35===o&&l<c&&a<=6;)a++,o=e.src.charCodeAt(++l);return!(a>6||l<c&&!r(o))&&(!!i||(c=e.skipSpacesBack(c,l),s=e.skipCharsBack(c,35,l),s>l&&r(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,u=e.push("heading_open","h"+String(a),1),u.markup="########".slice(0,a),u.map=[t,e.line],u=e.push("inline","",0),u.content=e.src.slice(l,c).trim(),u.map=[t,e.line],u.children=[],u=e.push("heading_close","h"+String(a),-1),u.markup="########".slice(0,a),!0))}},{"../common/utils":53}],71:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(a=1;l<c;){if((s=e.src.charCodeAt(l++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(!!i||(e.line=t+1,u=e.push("hr","hr",0),u.map=[t,e.line],u.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},{"../common/utils":53}],72:[function(e,t,n){
|
||
"use strict";var r=e("../common/html_blocks"),i=e("../common/html_re").HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(u=e.src.slice(l,c),i=0;i<o.length&&!o[i][0].test(u);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(u))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],c=e.eMarks[a],u=e.src.slice(l,c),o[i][1].test(u)){0!==u.length&&a++;break}return e.line=a,s=e.push("html_block","",0),s.map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},{"../common/html_blocks":51,"../common/html_re":52}],73:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s,u,l,c,f,d,h=t+1,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(u=e.bMarks[h]+e.tShift[h],l=e.eMarks[h],u<l&&(45===(f=e.src.charCodeAt(u))||61===f)&&(u=e.skipChars(u,f),(u=e.skipSpaces(u))>=l))){c=61===f?1:2;break}if(!(e.sCount[h]<0)){for(i=!1,o=0,a=p.length;o<a;o++)if(p[o](e,h,n,!0)){i=!0;break}if(i)break}}return!!c&&(r=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,s=e.push("heading_open","h"+String(c),1),s.markup=String.fromCharCode(f),s.map=[t,e.line],s=e.push("inline","",0),s.content=r,s.map=[t,e.line-1],s.children=[],s=e.push("heading_close","h"+String(c),-1),s.markup=String.fromCharCode(f),e.parentType=d,!0)}},{}],74:[function(e,t,n){"use strict";function r(e,t){var n,r,i,o;return r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],n=e.src.charCodeAt(r++),42!==n&&45!==n&&43!==n?-1:r<i&&(o=e.src.charCodeAt(r),!a(o))?-1:r}function i(e,t){var n,r=e.bMarks[t]+e.tShift[t],i=r,o=e.eMarks[t];if(i+1>=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i<o&&(n=e.src.charCodeAt(i),!a(n))?-1:i}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var a=e("../common/utils").isSpace;t.exports=function(e,t,n,s){var u,l,c,f,d,h,p,m,v,g,y,$,b,_,w,k,x,C,S,E,A,D,T,M,O,F,L,I,R=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(R=!0),(T=i(e,t))>=0){if(p=!0,O=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(O,T-O-1)),R&&1!==b)return!1}else{if(!((T=r(e,t))>=0))return!1;p=!1}if(R&&e.skipSpaces(T)>=e.eMarks[t])return!1;if($=e.src.charCodeAt(T-1),s)return!0;for(y=e.tokens.length,p?(I=e.push("ordered_list_open","ol",1),1!==b&&(I.attrs=[["start",b]])):I=e.push("bullet_list_open","ul",1),I.map=g=[t,0],I.markup=String.fromCharCode($),w=t,M=!1,L=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w<n;){for(D=T,_=e.eMarks[w],h=k=e.sCount[w]+T-(e.bMarks[t]+e.tShift[t]);D<_&&(u=e.src.charCodeAt(D),a(u));)9===u?k+=4-(k+e.bsCount[w])%4:k++,D++;if(l=D,d=l>=_?1:k-h,d>4&&(d=1),f=h+d,I=e.push("list_item_open","li",1),I.markup=String.fromCharCode($),I.map=m=[t,0],x=e.blkIndent,A=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=k,l>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!M||(N=!1),M=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=x,e.tShift[t]=E,e.sCount[t]=C,e.tight=A,I=e.push("list_item_close","li",-1),I.markup=String.fromCharCode($),w=t=e.line,m[1]=w,l=e.bMarks[t],w>=n)break;if(e.sCount[w]<e.blkIndent)break;for(F=!1,c=0,v=L.length;c<v;c++)if(L[c](e,w,n,!0)){F=!0;break}if(F)break;if(p){if((T=i(e,w))<0)break}else if((T=r(e,w))<0)break;if($!==e.src.charCodeAt(T-1))break}return I=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),I.markup=String.fromCharCode($),g[1]=w,e.line=w,e.parentType=S,N&&o(e,y),!0}},{"../common/utils":53}],75:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,u=t+1,l=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(s=e.parentType,e.parentType="paragraph";u<c&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3||e.sCount[u]<0)){for(r=!1,i=0,o=l.length;i<o;i++)if(l[i](e,u,c,!0)){r=!0;break}if(r)break}return n=e.getLines(t,u,e.blkIndent,!1).trim(),e.line=u,a=e.push("paragraph_open","p",1),a.map=[t,e.line],a=e.push("inline","",0),a.content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},{}],76:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t,n,o){var a,s,u,l,c,f,d,h,p,m,v,g,y,$,b,_,w=0,k=e.bMarks[t]+e.tShift[t],x=e.eMarks[t],C=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<x;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===x)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(l=e.lineMax,b=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C<l&&!e.isEmpty(C);C++)if(!(e.sCount[C]-e.blkIndent>3||e.sCount[C]<0)){for($=!1,f=0,d=b.length;f<d;f++)if(b[f](e,C,l,!0)){$=!0;break}if($)break}for(y=e.getLines(t,C,e.blkIndent,!1).trim(),x=y.length,k=1;k<x;k++){if(91===(a=y.charCodeAt(k)))return!1;if(93===a){p=k;break}10===a?w++:92===a&&++k<x&&10===y.charCodeAt(k)&&w++}if(p<0||58!==y.charCodeAt(p+1))return!1;for(k=p+2;k<x;k++)if(10===(a=y.charCodeAt(k)))w++;else if(!i(a))break;if(v=e.md.helpers.parseLinkDestination(y,k,x),!v.ok)return!1;if(c=e.md.normalizeLink(v.str),!e.md.validateLink(c))return!1;for(k=v.pos,w+=v.lines,s=k,u=w,g=k;k<x;k++)if(10===(a=y.charCodeAt(k)))w++;else if(!i(a))break;for(v=e.md.helpers.parseLinkTitle(y,k,x),k<x&&g!==k&&v.ok?(_=v.str,k=v.pos,w+=v.lines):(_="",k=s,w=u);k<x&&(a=y.charCodeAt(k),i(a));)k++;if(k<x&&10!==y.charCodeAt(k)&&_)for(_="",k=s,w=u;k<x&&(a=y.charCodeAt(k),i(a));)k++;return!(k<x&&10!==y.charCodeAt(k))&&(!!(h=r(y.slice(1,p)))&&(!!o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:_,href:c}),e.parentType=m,e.line=t+w+1,!0)))}},{"../common/utils":53}],77:[function(e,t,n){"use strict";function r(e,t,n,r){var i,a,s,u,l,c,f,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,d=!1,s=u=c=f=0,l=a.length;u<l;u++){if(i=a.charCodeAt(u),!d){if(o(i)){c++,9===i?f+=4-f%4:f++;continue}d=!0}10!==i&&u!==l-1||(10!==i&&u++,this.bMarks.push(s),this.eMarks.push(u),this.tShift.push(c),this.sCount.push(f),this.bsCount.push(0),d=!1,c=0,f=0,s=u+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}var i=e("../token"),o=e("../common/utils").isSpace;r.prototype.push=function(e,t,n){var r=new i(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},r.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},r.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},r.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,u,l,c,f,d=e;if(e>=t)return"";for(c=new Array(t-e),i=0;d<t;d++,i++){for(a=0,f=u=this.bMarks[d],l=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];u<l&&a<n;){if(s=this.src.charCodeAt(u),o(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(u-f<this.tShift[d]))break;a++}u++}c[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(u,l):this.src.slice(u,l)}return c.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":53,"../token":100}],78:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,u=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,u=r):o%2==0&&(s=!0,u=r):124!==t||o%2!=0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,r++,r===i&&s&&(s=!1,r=u+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}var o=e("../common/utils").isSpace;t.exports=function(e,t,n,a){var s,u,l,c,f,d,h,p,m,v,g,y;if(t+2>n)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((l=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(l++))&&45!==s&&58!==s)return!1;for(;l<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(l))&&45!==s&&58!==s&&!o(s))return!1;l++}for(u=r(e,t+1),d=u.split("|"),m=[],c=0;c<d.length;c++){if(!(v=d[c].trim())){if(0===c||c===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?m.push(58===v.charCodeAt(0)?"center":"right"):58===v.charCodeAt(0)?m.push("left"):m.push("")}if(u=r(e,t).trim(),-1===u.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(d=i(u.replace(/^\||\|$/g,"")),(h=d.length)>m.length)return!1;if(a)return!0;for(p=e.push("table_open","table",1),p.map=g=[t,0],p=e.push("thead_open","thead",1),p.map=[t,t+1],p=e.push("tr_open","tr",1),p.map=[t,t+1],c=0;c<d.length;c++)p=e.push("th_open","th",1),p.map=[t,t+1],m[c]&&(p.attrs=[["style","text-align:"+m[c]]]),p=e.push("inline","",0),p.content=d[c].trim(),p.map=[t,t+1],p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),p=e.push("tbody_open","tbody",1),p.map=y=[t+2,0],f=t+2;f<n&&!(e.sCount[f]<e.blkIndent)&&(u=r(e,f).trim(),-1!==u.indexOf("|"))&&!(e.sCount[f]-e.blkIndent>=4);f++){for(d=i(u.replace(/^\||\|$/g,"")),p=e.push("tr_open","tr",1),c=0;c<h;c++)p=e.push("td_open","td",1),m[c]&&(p.attrs=[["style","text-align:"+m[c]]]),p=e.push("inline","",0),p.content=d[c]?d[c].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return p=e.push("tbody_close","tbody",-1),p=e.push("table_close","table",-1),g[1]=y[1]=f,e.line=f,!0}},{"../common/utils":53}],79:[function(e,t,n){"use strict";t.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},{}],80:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)t=i[n],"inline"===t.type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},{}],81:[function(e,t,n){"use strict";function r(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,u,l,c,f,d,h,p,m,v,g,y,$,b,_=e.tokens;if(e.md.options.linkify)for(n=0,a=_.length;n<a;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(s=_[n].children,v=0,t=s.length-1;t>=0;t--)if(l=s[t],"link_close"!==l.type){if("html_inline"===l.type&&(r(l.content)&&v>0&&v--,i(l.content)&&v++),!(v>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,b=e.md.linkify.match(d),c=[],m=l.level,p=0,f=0;f<b.length;f++)g=b[f].url,y=e.md.normalizeLink(g),e.md.validateLink(y)&&($=b[f].text,$=b[f].schema?"mailto:"!==b[f].schema||/^mailto:/i.test($)?e.md.normalizeLinkText($):e.md.normalizeLinkText("mailto:"+$).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+$).replace(/^http:\/\//,""),h=b[f].index,h>p&&(u=new e.Token("text","",0),u.content=d.slice(p,h),u.level=m,c.push(u)),u=new e.Token("link_open","a",1),u.attrs=[["href",y]],u.level=m++,u.markup="linkify",u.info="auto",c.push(u),u=new e.Token("text","",0),u.content=$,u.level=m,c.push(u),u=new e.Token("link_close","a",-1),u.level=--m,u.markup="linkify",u.info="auto",c.push(u),p=b[f].lastIndex);p<d.length&&(u=new e.Token("text","",0),u.content=d.slice(p),u.level=m,c.push(u)),_[n].children=s=o(s,t,c)}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}},{"../common/utils":53}],82:[function(e,t,n){"use strict";t.exports=function(e){var t;t=e.src.replace(/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,"\n"),t=t.replace(/\u0000/g,"<22>"),e.src=t}},{}],83:[function(e,t,n){"use strict";function r(e,t){return l[t.toLowerCase()]}function i(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(u,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,u=/\((c|tm|r|p)\)/gi,l={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],84:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,u,f,d,h,p,m,v,g,y,$,b,_,w,k,x,C,S,E,A;for(S=[],n=0;n<e.length;n++){for(i=e[n],p=e[n].level,x=S.length-1;x>=0&&!(S[x].level<=p);x--);if(S.length=x+1,"text"===i.type){u=i.content,d=0,h=u.length;e:for(;d<h&&(l.lastIndex=d,f=l.exec(u));){if(w=k=!0,d=f.index+1,C="'"===f[0],v=32,f.index-1>=0)v=u.charCodeAt(f.index-1);else for(x=n-1;x>=0;x--)if("text"===e[x].type){v=e[x].content.charCodeAt(e[x].content.length-1);break}if(g=32,d<h)g=u.charCodeAt(d);else for(x=n+1;x<e.length;x++)if("text"===e[x].type){g=e[x].content.charCodeAt(0);break}if(y=s(v)||a(String.fromCharCode(v)),$=s(g)||a(String.fromCharCode(g)),b=o(v),_=o(g),_?w=!1:$&&(b||y||(w=!1)),b?k=!1:y&&(_||$||(k=!1)),34===g&&'"'===f[0]&&v>=48&&v<=57&&(k=w=!1),w&&k&&(w=!1,k=$),w||k){if(k)for(x=S.length-1;x>=0&&(m=S[x],!(S[x].level<p));x--)if(m.single===C&&S[x].level===p){m=S[x],C?(E=t.md.options.quotes[2],A=t.md.options.quotes[3]):(E=t.md.options.quotes[0],A=t.md.options.quotes[1]),i.content=r(i.content,f.index,A),e[m.token].content=r(e[m.token].content,m.pos,E),d+=A.length-1,m.token===n&&(d+=E.length-1),u=i.content,h=u.length,S.length=x;continue e}w?S.push({token:n,pos:f.index,single:C,level:p}):k&&C&&(i.content=r(i.content,f.index,c))}else C&&(i.content=r(i.content,f.index,c))}}}}var o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct,u=/['"]/,l=/['"]/g,c="’";t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&u.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":53}],85:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":100}],86:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,u,l,c=e.pos;return 60===e.src.charCodeAt(c)&&(n=e.src.slice(c),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),u=e.md.normalizeLink(s),!!e.md.validateLink(u)&&(t||(l=e.push("link_open","a",1),l.attrs=[["href",u]],l.markup="autolink",l.info="auto",l=e.push("text","",0),l.content=e.md.normalizeLinkText(s),l=e.push("link_close","a",-1),l.markup="autolink",l.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),u=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(u)&&(t||(l=e.push("link_open","a",1),l.attrs=[["href",u]],l.markup="autolink",l.info="auto",l=e.push("text","",0),l.content=e.md.normalizeLinkText(s),l=e.push("link_close","a",-1),l.markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},{}],87:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;for(i=e.src.slice(n,u),o=a=u;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||(s=e.push("code_inline","code",0),s.markup=i,s.content=e.src.slice(u,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},{}],88:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if(r=o[t],r.close)for(n=t-r.jump-1;n>=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],89:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)i=e.push("text","",0),i.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a,s=e.delimiters,u=e.delimiters.length;for(t=0;t<u;t++)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t+1<u&&s[t+1].end===n.end-1&&s[t+1].token===n.token+1&&s[n.end-1].token===r.token-1&&s[t+1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t+1].token].content="",e.tokens[s[n.end-1].token].content="",t++))}},{}],90:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint;t.exports=function(e,t){var n,s,u=e.pos,l=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<l)if(35===e.src.charCodeAt(u+1)){if(s=e.src.slice(u).match(/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i))return t||(n="x"===s[1][0].toLowerCase()?parseInt(s[1].slice(1),16):parseInt(s[1],10),e.pending+=a(o(n)?n:65533)),e.pos+=s[0].length,!0}else if((s=e.src.slice(u).match(/^&([a-z][a-z0-9]{1,31});/i))&&i(r,s[1]))return t||(e.pending+=r[s[1]]),e.pos+=s[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},{"../common/entities":50,"../common/utils":53}],91:[function(e,t,n){"use strict";for(var r=e("../common/utils").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},{"../common/utils":53}],92:[function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,u=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(u)||u+2>=a)&&(!(33!==(n=e.src.charCodeAt(u+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(u).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(u,u+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":52}],93:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,u,l,c,f,d,h,p,m,v,g="",y=e.pos,$=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(u=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=u+1)<$&&40===e.src.charCodeAt(c)){for(c++;c<$&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=$)return!1;for(v=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(g=e.md.normalizeLink(d.str),e.md.validateLink(g)?c=d.pos:g=""),v=c;c<$&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(d=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<$&&v!==c&&d.ok)for(h=d.str,c=d.pos;c<$&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else h="";if(c>=$||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if(void 0===e.env.references)return!1;if(c<$&&91===e.src.charCodeAt(c)?(v=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?s=e.src.slice(v,c++):c=u+1):c=u+1,s||(s=e.src.slice(l,u)),!(f=e.env.references[r(s)]))return e.pos=y,!1;g=f.href,h=f.title}return t||(a=e.src.slice(l,u),e.md.inline.parse(a,e.md,e.env,m=[]),p=e.push("image","img",0),p.attrs=n=[["src",g],["alt",""]],p.children=m,p.content=a,h&&n.push(["title",h])),e.pos=c,e.posMax=$,!0}},{"../common/utils":53}],94:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,u,l,c,f,d,h,p="",m=e.pos,v=e.posMax,g=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+1)<v&&40===e.src.charCodeAt(l)){for(y=!1,l++;l<v&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(l>=v)return!1;for(g=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok&&(p=e.md.normalizeLink(c.str),e.md.validateLink(p)?l=c.pos:p=""),g=l;l<v&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&g!==l&&c.ok)for(d=c.str,l=c.pos;l<v&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);else d="";(l>=v||41!==e.src.charCodeAt(l))&&(y=!0),l++}if(y){if(void 0===e.env.references)return!1;if(l<v&&91===e.src.charCodeAt(l)?(g=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?a=e.src.slice(g,l++):l=s+1):l=s+1,a||(a=e.src.slice(u,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;p=f.href,d=f.title}return t||(e.pos=u,e.posMax=s,h=e.push("link_open","a",1),h.attrs=n=[["href",p]],d&&n.push(["title",d]),e.md.inline.tokenize(e),h=e.push("link_close","a",-1)),e.pos=l,e.posMax=v,!0}},{"../common/utils":53}],95:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},{"../common/utils":53}],96:[function(e,t,n){"use strict";function r(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}var i=e("../token"),o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct;r.prototype.pushPending=function(){var e=new i("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},r.prototype.push=function(e,t,n){this.pending&&this.pushPending();var r=new i(e,t,n);return n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,u,l,c,f,d,h,p=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;p<g&&this.src.charCodeAt(p)===y;)p++;return i=p-e,r=p<g?this.src.charCodeAt(p):32,f=s(n)||a(String.fromCharCode(n)),h=s(r)||a(String.fromCharCode(r)),c=o(n),d=o(r),d?m=!1:h&&(c||f||(m=!1)),c?v=!1:f&&(d||h||(v=!1)),t?(u=m,l=v):(u=m&&(!v||f),l=v&&(!m||h)),{can_open:u,can_close:l,length:i}},r.prototype.Token=i,t.exports=r},{"../common/utils":53,"../token":100}],97:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o,a,s=e.pos,u=e.src.charCodeAt(s);if(t)return!1;if(126!==u)return!1;if(r=e.scanDelims(e.pos,!0),o=r.length,a=String.fromCharCode(u),o<2)return!1;for(o%2&&(i=e.push("text","",0),i.content=a,o--),n=0;n<o;n+=2)i=e.push("text","",0),i.content=a+a,e.delimiters.push({marker:u,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a=[],s=e.delimiters,u=e.delimiters.length;for(t=0;t<u;t++)r=s[t],126===r.marker&&-1!==r.end&&(i=s[r.end],o=e.tokens[r.token],o.type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",o=e.tokens[i.token],o.type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(t=a.pop(),n=t+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;n--,t!==n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},{}],98:[function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},{}],99:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},{}],100:[function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(t=this.attrs,n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],101:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t<e.length;t++)n=e.charCodeAt(t),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=r(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,o,a,s,u,l="";for(t=0,r=e.length;t<r;t+=3)i=parseInt(e.slice(t+1,t+3),16),i<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(u=i<<6&1984|63&o,l+=u<128?"<22><>":String.fromCharCode(u),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(u=i<<12&61440|o<<6&4032|63&a,l+=u<2048||u>=55296&&u<=57343?"<22><><EFBFBD>":String.fromCharCode(u),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?(u=i<<18&1835008|o<<12&258048|a<<6&4032|63&s,u<65536||u>1114111?l+="<22><><EFBFBD><EFBFBD>":(u-=65536,l+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),t+=9):l+="<22>";return l})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],102:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))c+=e.slice(o,o+3),o+=2;else if(s<128)c+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(u=e.charCodeAt(o+1))>=56320&&u<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],103:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],104:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":101,"./encode":102,"./format":103,"./parse":105}],105:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(u),c=["'"].concat(l),f=["%","/","?",";","#"].concat(c),d=["/","?","#"],h={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,u,l=e;if(l=l.trim(),!t&&1===e.split("#").length){var c=s.exec(l);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var m=o.exec(l);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,l=l.substr(m.length)),(t||m||l.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(u="//"===l.substr(0,2))||m&&h[m]||(l=l.substr(2),this.slashes=!0)),!h[m]&&(u||m&&!p[m])){var v=-1;for(n=0;n<d.length;n++)-1!==(a=l.indexOf(d[n]))&&(-1===v||a<v)&&(v=a);var g,y;for(y=-1===v?l.lastIndexOf("@"):l.lastIndexOf("@",v),-1!==y&&(g=l.slice(0,y),l=l.slice(y+1),this.auth=g),v=-1,n=0;n<f.length;n++)-1!==(a=l.indexOf(f[n]))&&(-1===v||a<v)&&(v=a);-1===v&&(v=l.length),":"===l[v-1]&&v--;var $=l.slice(0,v);l=l.slice(v),this.parseHost($),this.hostname=this.hostname||"";var b="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!b){var _=this.hostname.split(/\./);for(n=0,r=_.length;n<r;n++){var w=_[n];if(w&&!w.match(/^[+a-z0-9A-Z_-]{0,63}$/)){for(var k="",x=0,C=w.length;x<C;x++)w.charCodeAt(x)>127?k+="x":k+=w[x];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=_.slice(0,n),E=_.slice(n+1),A=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);A&&(S.push(A[1]),E.unshift(A[2])),E.length&&(l=E.join(".")+l),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=l.indexOf("#");-1!==D&&(this.hash=l.substr(D),l=l.slice(0,D));var T=l.indexOf("?");return-1!==T&&(this.search=l.substr(T),l=l.slice(0,T)),l&&(this.pathname=l),p[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},
|
||
r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],106:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":107}],107:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return vr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return yt(e,t,n,r,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function h(e){return null==e._pf&&(e._pf=d()),e._pf}function p(e){if(null==e._isValid){var t=h(e),n=yr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function m(e){var t=f(NaN);return null!=e?c(h(t),e):h(t).userInvalidated=!0,t}function v(e){return void 0===e}function g(e,t){var n,r,i;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=h(t)),v(t._locale)||(e._locale=t._locale),$r.length>0)for(n in $r)r=$r[n],i=t[r],v(i)||(e[r]=i);return e}function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function $(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&_(e[r])!==_(t[r]))&&a++;return a+o}function k(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return c(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}function C(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),_r[e]||(k(t),_r[e]=!0)}function S(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],S(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function A(e,t){var n,r=c({},e);for(n in t)l(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&i(e[n])&&(r[n]=c({},r[n]));return r}function D(e){null!=e&&this.set(e)}function T(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r}function M(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function O(){return this._invalidDate}function F(e){return this._ordinal.replace("%d",e)}function L(e,t,n,r){var i=this._relativeTime[n];return S(i)?i(e,t,n,r):i.replace(/%d/i,e)}function I(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function R(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function N(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function P(e){var t,n,r={};for(n in e)l(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){Dr[e]=t}function j(e){var t=[];for(var n in e)t.push({unit:n,priority:Dr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function U(e,t){return function(r){return null!=r?(V(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function V(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=N(e),S(this[e])?this[e]():this}function H(e,t){if("object"==typeof e){e=P(e);for(var n=j(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=N(e),S(this[e]))return this[e](t);return this}function Y(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return Y(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t<n;t++)Fr[r[t]]?r[t]=Fr[r[t]]:r[t]=G(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function J(e,t){return e.isValid()?(t=Q(t,e.localeData()),Or[t]=Or[t]||Z(t),Or[t](e)):e.localeData().invalidDate()}function Q(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Mr.lastIndex=0;r>=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function K(e,t,n){Pr[e]=S(t)?t:function(e,r){return e&&n?n:t}}function X(e,t){return l(Pr,e)?Pr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=_(e)}),n=0;n<e.length;n++)qr[e[n]]=r}function re(e,t){ne(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ie(e,t,n){null!=t&&l(qr,e)&&qr[e](t,n._a,n,e)}function oe(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ae(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Jr).test(t)?"format":"standalone"][e.month()]:this._months}function se(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jr.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function ue(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=Zr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=Zr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?-1!==(i=Zr.call(this._shortMonthsParse,a))?i:(i=Zr.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._longMonthsParse,a))?i:(i=Zr.call(this._shortMonthsParse,a),-1!==i?i:null)}function le(e,t,n){var r,i,o;if(this._monthsParseExact)return ue.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!a(t))return e;return n=Math.min(e.date(),oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function fe(e){return null!=e?(ce(this,e),n.updateOffset(this,!0),this):z(this,"Month")}function de(){return oe(this.year(),this.month())}function he(e){return this._monthsParseExact?(l(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=Xr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pe(e){return this._monthsParseExact?(l(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ei),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=te(r[t]),i[t]=te(i[t]);for(t=0;t<24;t++)o[t]=te(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ve(e){return ge(e)?366:365}function ge(e){return e%4==0&&e%100!=0||e%400==0}function ye(){return ge(this.year())}function $e(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function _e(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=_e(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+xe(i,t,n)):a>xe(e.year(),t,n)?(r=a-xe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function xe(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(ve(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Le(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ie(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Re(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ie.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Pe(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function je(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ui),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ve(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Be(){return this.hours()%12||12}function He(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function We(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o<e.length;){for(i=Je(e[o]).split("-"),t=i.length,n=Je(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=Ke(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Ke(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=li._abbr,e("./locale/"+n),Xe(r)}catch(e){}return di[n]}function Xe(e,t){var n;return e&&(n=v(t)?nt(e):et(e,t))&&(li=n),li._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return hi[t.parentLocale]||(hi[t.parentLocale]=[]),hi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new D(A(n,t)),hi[e]&&hi[e].forEach(function(e){et(e.name,e.config)}),Xe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=A(r,t),n=new D(t),n.parentLocale=di[e],di[e]=n,Xe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return li;if(!r(e)){if(t=Ke(e))return t;e=[e]}return Qe(e)}function rt(){return xr(di)}function it(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[Ur]<0||n[Ur]>11?Ur:n[zr]<1||n[zr]>oe(n[jr],n[Ur])?zr:n[Vr]<0||n[Vr]>24||24===n[Vr]&&(0!==n[Br]||0!==n[Hr]||0!==n[Yr])?Vr:n[Br]<0||n[Br]>59?Br:n[Hr]<0||n[Hr]>59?Hr:n[Yr]<0||n[Yr]>999?Yr:-1,h(e)._overflowDayOfYear&&(t<jr||t>zr)&&(t=zr),h(e)._overflowWeeks&&-1===t&&(t=Wr),h(e)._overflowWeekday&&-1===t&&(t=Gr),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=pi.exec(s)||mi.exec(s);if(u){for(h(e).iso=!0,t=0,n=gi.length;t<n;t++)if(gi[t][1].exec(u[1])){i=gi[t][0],r=!1!==gi[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=yi.length;t<n;t++)if(yi[t][1].exec(u[3])){o=(u[2]||" ")+yi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!vi.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),ft(e)}else e._isValid=!1}function at(e){var t=$i.exec(e._i);if(null!==t)return void(e._d=new Date(+t[1]));ot(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e))}function st(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function lt(e){var t,n,r,i,o=[];if(!e._d){for(r=ut(e),e._w&&null==e._a[zr]&&null==e._a[Ur]&&ct(e),e._dayOfYear&&(i=st(e._a[jr],r[jr]),e._dayOfYear>ve(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[Ur]=n.getUTCMonth(),e._a[zr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Vr]&&0===e._a[Br]&&0===e._a[Hr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Vr]=0),e._d=(e._useUTC?be:$e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Vr]=24)}}function ct(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[jr],ke($t(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=ke($t(),o,a);n=st(t.gg,e._a[jr],l.year),r=st(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>xe(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[jr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Q(e._f,e._locale).match(Tr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(X(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[Vr]<=12&&!0===h(e).bigHour&&e._a[Vr]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Vr]=dt(e._locale,e._a[Vr],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ft(t),p(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==r||o<r)&&(r=o,n=t));c(e,n||t)}function pt(e){if(!e._d){var t=P(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),lt(e)}}function mt(e){var t=new y(it(vt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function vt(e){var t=e._i,n=e._f;return e._locale=e._locale||nt(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),$(t)?new y(it(t)):(s(t)?e._d=t:r(n)?ht(e):n?ft(e):gt(e),p(e)||(e._d=null),e))}function gt(e){var t=e._i;void 0===t?e._d=new Date(n.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?at(e):r(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),lt(e)):"object"==typeof t?pt(e):a(t)?e._d=new Date(t):n.createFromInputFallback(e)}function yt(e,t,n,a,s){var u={};return!0!==n&&!1!==n||(a=n,n=void 0),(i(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=a,mt(u)}function $t(e,t,n,r){return yt(e,t,n,r,!1)}function bt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return $t();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function _t(){return bt("isBefore",[].slice.call(arguments,0))}function wt(){return bt("isAfter",[].slice.call(arguments,0))}function kt(e){var t=P(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=nt(),this._bubble()}function xt(e){return e instanceof kt}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function St(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+Y(~~(e/60),2)+t+Y(~~e%60,2)})}function Et(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(ki)||["-",0,0],o=60*i[1]+_(i[2]);return 0===o?0:"+"===i[0]?o:-o}function At(e,t){var r,i;return t._isUTC?(r=t.clone(),i=($(e)||s(e)?e.valueOf():$t(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):$t(e).local()}function Dt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Tt(e,t){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Et(Rr,e)))return this}else Math.abs(e)<16&&(e*=60);return!this._isUTC&&t&&(r=Dt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Yt(this,Ut(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Dt(this)}function Mt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ot(e){return this.utcOffset(0,e)}function Ft(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dt(this),"m")),this}function Lt(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Et(Ir,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function It(e){return!!this.isValid()&&(e=e?$t(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Rt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nt(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=vt(e),e._a){var t=e._isUTC?f(e._a):$t(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Pt(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ut(e,t){var n,r,i,o=e,s=null;return xt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=xi.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:_(s[zr])*n,h:_(s[Vr])*n,m:_(s[Br])*n,s:_(s[Hr])*n,ms:_(Ct(1e3*s[Yr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:zt(s[2],n),M:zt(s[3],n),w:zt(s[4],n),d:zt(s[5],n),h:zt(s[6],n),m:zt(s[7],n),s:zt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Bt($t(o.from),$t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),xt(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=Vt(e,t):(n=Vt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ht(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ut(n,r),Yt(this,i,e),this}}function Yt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&V(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Wt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||$t(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,$t(r)))}function Zt(){return new y(this)}function Jt(e,t){var n=$(e)?e:$t(e);return!(!this.isValid()||!n.isValid())&&(t=N(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Qt(e,t){var n=$(e)?e:$t(e);return!(!this.isValid()||!n.isValid())&&(t=N(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Kt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Xt(e,t){var n,r=$(e)?e:$t(e);return!(!this.isValid()||!r.isValid())&&(t=N(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function en(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function tn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function nn(e,t,n){var r,i,o,a;return this.isValid()?(r=At(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=N(t),"year"===t||"month"===t||"quarter"===t?(a=rn(this,r),"quarter"===t?a/=3:"year"===t&&(a/=12)):(o=this-r,a="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-i)/864e5:"week"===t?(o-i)/6048e5:o),n?a:b(a)):NaN):NaN}function rn(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function on(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function an(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?S(Date.prototype.toISOString)?this.toDate().toISOString():J(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):J(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function sn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function un(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=J(this,e);return this.localeData().postformat(t)}function ln(e,t){return this.isValid()&&($(e)&&e.isValid()||$t(e).isValid())?Ut({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cn(e){return this.from($t(),e)}function fn(e,t){return this.isValid()&&($(e)&&e.isValid()||$t(e).isValid())?Ut({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dn(e){return this.to($t(),e)}function hn(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function pn(){return this._locale}function mn(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function vn(e){return void 0===(e=N(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function gn(){return this._d.valueOf()-6e4*(this._offset||0)}function yn(){return Math.floor(this.valueOf()/1e3)}function $n(){return new Date(this.valueOf())}function bn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _n(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function wn(){return this.isValid()?this.toISOString():null}function kn(){return p(this)}function xn(){return c({},h(this))}function Cn(){return h(this).overflow}function Sn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}
|
||
function En(e,t){W(0,[e,e.length],0,t)}function An(e){return On.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Dn(e){return On.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Tn(){return xe(this.year(),1,4)}function Mn(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function On(e,t,n,r,i){var o;return null==e?ke(this,r,i).year:(o=xe(e,r,i),t>o&&(t=o),Fn.call(this,e,t,n,r,i))}function Fn(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ln(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Rn(e,t){t[Yr]=_(1e3*("0."+e))}function Nn(){return this._isUTC?"UTC":""}function Pn(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return $t(1e3*e)}function jn(){return $t.apply(null,arguments).parseZone()}function Un(e){return e}function zn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Vn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Bn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=zn(t,(s+o)%7,r,"day");return u}function Hn(e,t){return Vn(e,t,"months")}function Yn(e,t){return Vn(e,t,"monthsShort")}function Wn(e,t,n){return Bn(e,t,n,"weekdays")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Qn(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Kn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=N(e),this[e+"s"]()}function ur(e){return function(){return this._data[e]}}function lr(){return b(this.days()/7)}function cr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Ut(e).abs(),i=Ki(r.as("s")),o=Ki(r.as("m")),a=Ki(r.as("h")),s=Ki(r.as("d")),u=Ki(r.as("M")),l=Ki(r.as("y")),c=i<Xi.s&&["s",i]||o<=1&&["m"]||o<Xi.m&&["mm",o]||a<=1&&["h"]||a<Xi.h&&["hh",a]||s<=1&&["d"]||s<Xi.d&&["dd",s]||u<=1&&["M"]||u<Xi.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,cr.apply(null,c)}function dr(e){return void 0===e?Ki:"function"==typeof e&&(Ki=e,!0)}function hr(e,t){return void 0!==Xi[e]&&(void 0===t?Xi[e]:(Xi[e]=t,!0))}function pr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var vr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var yr=gr,$r=n.momentProperties=[],br=!1,_r={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var wr;wr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var kr,xr=wr,Cr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Sr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Er={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ar={},Dr={},Tr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Mr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Or={},Fr={},Lr=/[+-]?\d{6}/,Ir=/Z|[+-]\d\d:?\d\d/gi,Rr=/Z|[+-]\d\d(?::?\d\d)?/gi,Nr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Pr={},qr={},jr=0,Ur=1,zr=2,Vr=3,Br=4,Hr=5,Yr=6,Wr=7,Gr=8;kr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var Zr=kr;W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),R("month","M"),q("month",8),K("M",/\d\d?/),K("MM",/\d\d?/,/\d\d/),K("MMM",function(e,t){return t.monthsShortRegex(e)}),K("MMMM",function(e,t){return t.monthsRegex(e)}),ne(["M","MM"],function(e,t){t[Ur]=_(e)-1}),ne(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Ur]=i:h(n).invalidMonth=e});var Jr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Qr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Kr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Xr=Nr,ei=Nr;W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),R("year","y"),q("year",1),K("Y",/[+-]?\d+/),K("YY",/\d\d?/,/\d\d/),K("YYYY",/\d{1,4}/,/\d{4}/),K("YYYYY",/[+-]?\d{1,6}/,Lr),K("YYYYYY",/[+-]?\d{1,6}/,Lr),ne(["YYYYY","YYYYYY"],jr),ne("YYYY",function(e,t){t[jr]=2===e.length?n.parseTwoDigitYear(e):_(e)}),ne("YY",function(e,t){t[jr]=n.parseTwoDigitYear(e)}),ne("Y",function(e,t){t[jr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var ti=U("FullYear",!0);W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),q("week",5),q("isoWeek",5),K("w",/\d\d?/),K("ww",/\d\d?/,/\d\d/),K("W",/\d\d?/),K("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=_(e)});var ni={dow:0,doy:6};W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),K("d",/\d\d?/),K("e",/\d\d?/),K("E",/\d\d?/),K("dd",function(e,t){return t.weekdaysMinRegex(e)}),K("ddd",function(e,t){return t.weekdaysShortRegex(e)}),K("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=_(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=Nr,si=Nr,ui=Nr;W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Be),W("k",["kk",2],0,He),W("hmm",0,0,function(){return""+Be.apply(this)+Y(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Be.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Ye("a",!0),Ye("A",!1),R("hour","h"),q("hour",13),K("a",We),K("A",We),K("H",/\d\d?/),K("h",/\d\d?/),K("HH",/\d\d?/,/\d\d/),K("hh",/\d\d?/,/\d\d/),K("hmm",/\d\d\d\d?/),K("hmmss",/\d\d\d\d\d\d?/),K("Hmm",/\d\d\d\d?/),K("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Vr),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Vr]=_(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r,2)),t[Hr]=_(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r,2)),t[Hr]=_(e.substr(i))});var li,ci=U("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Qr,monthsShort:Kr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},hi={},pi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vi=/Z|[+-]\d\d(?::?\d\d)?/,gi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$i=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=x("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),_i=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),K("Z",Rr),K("ZZ",Rr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Rr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var xi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ut.fn=kt.prototype;var Si=Ht(1,"add"),Ei=Ht(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ai=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),K("G",/[+-]?\d+/),K("g",/[+-]?\d+/),K("GG",/\d\d?/,/\d\d/),K("gg",/\d\d?/,/\d\d/),K("GGGG",/\d{1,4}/,/\d{4}/),K("gggg",/\d{1,4}/,/\d{4}/),K("GGGGG",/[+-]?\d{1,6}/,Lr),K("ggggg",/[+-]?\d{1,6}/,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=_(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),R("quarter","Q"),q("quarter",7),K("Q",/\d/),ne("Q",function(e,t){t[Ur]=3*(_(e)-1)}),W("D",["DD",2],"Do","date"),R("date","D"),q("date",9),K("D",/\d\d?/),K("DD",/\d\d?/,/\d\d/),K("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],zr),ne("Do",function(e,t){t[zr]=_(e.match(/\d\d?/)[0],10)});var Di=U("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),q("dayOfYear",4),K("DDD",/\d{1,3}/),K("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=_(e)}),W("m",["mm",2],0,"minute"),R("minute","m"),q("minute",14),K("m",/\d\d?/),K("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Br);var Ti=U("Minutes",!1);W("s",["ss",2],0,"second"),R("second","s"),q("second",15),K("s",/\d\d?/),K("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Hr);var Mi=U("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),q("millisecond",16),K("S",/\d{1,3}/,/\d/),K("SS",/\d{1,3}/,/\d\d/),K("SSS",/\d{1,3}/,/\d{3}/);var Oi;for(Oi="SSSS";Oi.length<=9;Oi+="S")K(Oi,/\d+/);for(Oi="S";Oi.length<=9;Oi+="S")ne(Oi,Rn);var Fi=U("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var Li=y.prototype;Li.add=Si,Li.calendar=Gt,Li.clone=Zt,Li.diff=nn,Li.endOf=vn,Li.format=un,Li.from=ln,Li.fromNow=cn,Li.to=fn,Li.toNow=dn,Li.get=B,Li.invalidAt=Cn,Li.isAfter=Jt,Li.isBefore=Qt,Li.isBetween=Kt,Li.isSame=Xt,Li.isSameOrAfter=en,Li.isSameOrBefore=tn,Li.isValid=kn,Li.lang=Ai,Li.locale=hn,Li.localeData=pn,Li.max=_i,Li.min=bi,Li.parsingFlags=xn,Li.set=H,Li.startOf=mn,Li.subtract=Ei,Li.toArray=bn,Li.toObject=_n,Li.toDate=$n,Li.toISOString=an,Li.inspect=sn,Li.toJSON=wn,Li.toString=on,Li.unix=yn,Li.valueOf=gn,Li.creationData=Sn,Li.year=ti,Li.isLeapYear=ye,Li.weekYear=An,Li.isoWeekYear=Dn,Li.quarter=Li.quarters=Ln,Li.month=fe,Li.daysInMonth=de,Li.week=Li.weeks=Ae,Li.isoWeek=Li.isoWeeks=De,Li.weeksInYear=Mn,Li.isoWeeksInYear=Tn,Li.date=Di,Li.day=Li.days=Ne,Li.weekday=Pe,Li.isoWeekday=qe,Li.dayOfYear=In,Li.hour=Li.hours=ci,Li.minute=Li.minutes=Ti,Li.second=Li.seconds=Mi,Li.millisecond=Li.milliseconds=Fi,Li.utcOffset=Tt,Li.utc=Ot,Li.local=Ft,Li.parseZone=Lt,Li.hasAlignedHourOffset=It,Li.isDST=Rt,Li.isLocal=Pt,Li.isUtcOffset=qt,Li.isUtc=jt,Li.isUTC=jt,Li.zoneAbbr=Nn,Li.zoneName=Pn,Li.dates=x("dates accessor is deprecated. Use date instead.",Di),Li.months=x("months accessor is deprecated. Use month instead",fe),Li.years=x("years accessor is deprecated. Use year instead",ti),Li.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Mt),Li.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nt);var Ii=D.prototype;Ii.calendar=T,Ii.longDateFormat=M,Ii.invalidDate=O,Ii.ordinal=F,Ii.preparse=Un,Ii.postformat=Un,Ii.relativeTime=L,Ii.pastFuture=I,Ii.set=E,Ii.months=ae,Ii.monthsShort=se,Ii.monthsParse=le,Ii.monthsRegex=pe,Ii.monthsShortRegex=he,Ii.week=Ce,Ii.firstDayOfYear=Ee,Ii.firstDayOfWeek=Se,Ii.weekdays=Oe,Ii.weekdaysMin=Le,Ii.weekdaysShort=Fe,Ii.weekdaysParse=Re,Ii.weekdaysRegex=je,Ii.weekdaysShortRegex=Ue,Ii.weekdaysMinRegex=ze,Ii.isPM=Ge,Ii.meridiem=Ze,Xe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===_(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",Xe),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ri=Math.abs,Ni=ar("ms"),Pi=ar("s"),qi=ar("m"),ji=ar("h"),Ui=ar("d"),zi=ar("w"),Vi=ar("M"),Bi=ar("y"),Hi=ur("milliseconds"),Yi=ur("seconds"),Wi=ur("minutes"),Gi=ur("hours"),Zi=ur("days"),Ji=ur("months"),Qi=ur("years"),Ki=Math.round,Xi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Jn,to.add=Kn,to.subtract=Xn,to.as=ir,to.asMilliseconds=Ni,to.asSeconds=Pi,to.asMinutes=qi,to.asHours=ji,to.asDays=Ui,to.asWeeks=zi,to.asMonths=Vi,to.asYears=Bi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Hi,to.seconds=Yi,to.minutes=Wi,to.hours=Gi,to.days=Zi,to.weeks=lr,to.months=Ji,to.years=Qi,to.humanize=pr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=hn,to.localeData=pn,to.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ai,W("X",0,0,"unix"),W("x",0,0,"valueOf"),K("x",/[+-]?\d+/),K("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(_(e))}),n.version="2.17.1",function(e){vr=e}($t),n.fn=Li,n.min=_t,n.max=wt,n.now=wi,n.utc=f,n.unix=qn,n.months=Hn,n.isDate=s,n.locale=Xe,n.invalid=m,n.duration=Ut,n.isMoment=$,n.weekdays=Wn,n.parseZone=jn,n.localeData=nt,n.isDuration=xt,n.monthsShort=Yn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=N,n.relativeTimeRounding=dr,n.relativeTimeThreshold=hr,n.calendarFormat=Wt,n.prototype=Li,n})},{}],108:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){v&&p&&(v=!1,p.length?m=p.concat(m):g=-1,m.length&&u())}function u(){if(!v){var e=o(s);v=!0;for(var t=m.length;t;){for(p=m,m=[];++g<t;)p&&p[g].run();g=-1,t=m.length}p=null,v=!1,a(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var f,d,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{d="function"==typeof clearTimeout?clearTimeout:i}catch(e){d=i}}();var p,m=[],v=!1,g=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||v||o(u)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],109:[function(e,t,n){(function(e){!function(r){function i(e){throw new RangeError(F[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(O,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i<o;)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=R(e>>>10&1023|55296),e=56320|1023&e),t+=R(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?I(e/S):e>>1,e+=I(e/t);e>L*x>>1;r+=w)e=I(e/L);return I(r+(L+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,c,d,h,p,m=[],v=e.length,g=0,y=A,$=E;for(n=e.lastIndexOf(D),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<v;){for(a=g,s=1,c=w;o>=v&&i("invalid-input"),d=l(e.charCodeAt(o++)),(d>=w||d>I((_-g)/s))&&i("overflow"),g+=d*s,h=c<=$?k:c>=$+x?x:c-$,!(d<h);c+=w)p=w-h,s>I(_/p)&&i("overflow"),s*=p;t=m.length+1,$=f(g-a,t,0==a),I(g/t)>_-y&&i("overflow"),y+=I(g/t),g%=t,m.splice(g++,0,y)}return u(m)}function h(e){var t,n,r,o,a,u,l,d,h,p,m,v,g,y,$,b=[];for(e=s(e),v=e.length,t=A,n=0,a=E,u=0;u<v;++u)(m=e[u])<128&&b.push(R(m));for(r=o=b.length,o&&b.push(D);r<v;){for(l=_,u=0;u<v;++u)(m=e[u])>=t&&m<l&&(l=m);for(g=r+1,l-t>I((_-n)/g)&&i("overflow"),n+=(l-t)*g,t=l,u=0;u<v;++u)if(m=e[u],m<t&&++n>_&&i("overflow"),m==t){for(d=n,h=w;p=h<=a?k:h>=a+x?x:h-a,!(d<p);h+=w)$=d-p,y=w-p,b.push(R(c(p+$%y,0))),d=I($/y);b.push(R(c(d,0))),a=f(n,g,r==o),n=0,++r}++n,++t}return b.join("")}function p(e){return a(e,function(e){return T.test(e)?d(e.slice(4).toLowerCase()):e})}function m(e){return a(e,function(e){return M.test(e)?"xn--"+h(e):e})}var v="object"==typeof n&&n&&!n.nodeType&&n,g="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof e&&e;y.global!==y&&y.window!==y&&y.self!==y||(r=y);var $,b,_=2147483647,w=36,k=1,x=26,C=38,S=700,E=72,A=128,D="-",T=/^xn--/,M=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=w-k,I=Math.floor,R=String.fromCharCode;if($={version:"1.4.1",ucs2:{decode:s,encode:u},decode:d,encode:h,toASCII:m,toUnicode:p},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return $});else if(v&&g)if(t.exports==v)g.exports=$;else for(b in $)$.hasOwnProperty(b)&&(v[b]=$[b]);else r.punycode=$}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],110:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],111:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},t.exports=r},{}],112:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],113:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],114:[function(e,t,n){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},{}],115:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],116:[function(e,t,n){"use strict";n.Any=e("./properties/Any/regex"),n.Cc=e("./categories/Cc/regex"),n.Cf=e("./categories/Cf/regex"),n.P=e("./categories/P/regex"),n.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":112,"./categories/Cf/regex":113,"./categories/P/regex":114,"./categories/Z/regex":115,"./properties/Any/regex":117}],117:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],118:[function(e,t,n){(function(e){"use strict";function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e);return isNaN(t)?e:t}function i(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function o(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function l(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function h(e){return Ei.call(e)===Ai}function p(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function m(){}function v(e,t){var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function g(e,t){for(var n=0;n<e.length;n++)if(v(e[n],t))return n;return-1}function y(e){var t=!1;return function(){t||(t=!0,e())}}function $(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function b(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function _(e){if(!Fi.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function w(e){return/native code/.test(e.toString())}function k(e){Zi.target&&Ji.push(Zi.target),Zi.target=e}function x(){Zi.target=Ji.pop()}function C(e,t){e.__proto__=t}function S(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];b(e,o,t[o])}}function E(e,t){if(d(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof to?n=e.__ob__:eo.shouldConvert&&!Vi()&&(Array.isArray(e)||h(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new to(e)),t&&n&&n.vmCount++,n}}function A(e,t,n,r){var i=new Zi,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var a=o&&o.get,s=o&&o.set,u=E(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return Zi.target&&(i.depend(),u&&u.dep.depend(),Array.isArray(t)&&M(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,u=E(t),i.notify())}})}}function D(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(a(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(A(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function T(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||a(e,t)&&(delete e[t],n&&n.dep.notify())}function M(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&M(t)}function O(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),s=0;s<o.length;s++)n=o[s],r=e[n],i=t[n],a(e,n)?h(r)&&h(i)&&O(r,i):D(e,n,i);return e}function F(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function L(e,t){var n=Object.create(e||null);return t?f(n,t):n}function I(e){var t=e.props;if(t){var n,r,i,o={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(i=xi(r),o[i]={type:null});else if(h(t))for(var a in t)r=t[a],i=xi(a),o[i]=h(r)?r:{type:r};e.props=o}}function R(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function N(e,t,n){function r(r){var i=no[r]||ro;c[r]=i(e[r],t[r],n,r)}I(t),R(t);var i=t.extends;if(i&&(e="function"==typeof i?N(e,i.options,n):N(e,i,n)),t.mixins)for(var o=0,s=t.mixins.length;o<s;o++){var u=t.mixins[o];u.prototype instanceof it&&(u=u.options),e=N(e,u,n)}var l,c={};for(l in e)r(l);for(l in t)a(e,l)||r(l);return c}function P(e,t,n,r){if("string"==typeof n){var i=e[t];if(a(i,n))return i[n];var o=xi(n);if(a(i,o))return i[o];var s=Ci(o);if(a(i,s))return i[s];var u=i[n]||i[o]||i[s];return u}}function q(e,t,n,r){var i=t[e],o=!a(n,e),s=n[e];if(z(Boolean,i.type)&&(o&&!a(i,"default")?s=!1:z(String,i.type)||""!==s&&s!==Si(e)||(s=!0)),void 0===s){s=j(r,i,e);var u=eo.shouldConvert;eo.shouldConvert=!0,E(s),eo.shouldConvert=u}return s}function j(e,t,n){if(a(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==U(t.type)?r.call(e):r}}function U(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function z(e,t){if(!Array.isArray(t))return U(t)===U(e);for(var n=0,r=t.length;n<r;n++)if(U(t[n])===U(e))return!0;return!1}function V(e,t,n){if(Mi.errorHandler)Mi.errorHandler.call(null,e,t,n);else{if(!Ii||"undefined"==typeof console)throw e;console.error(e)}}function B(e){return new io(void 0,void 0,void 0,String(e))}function H(e){var t=new io(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isCloned=!0,t}function Y(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=H(e[r]);return n}function W(e){function t(){var e=arguments,n=t.fns
|
||
;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function G(e,t,n,r,i){var o,a,s,u;for(o in e)a=e[o],s=t[o],u=uo(o),a&&(s?a!==s&&(s.fns=a,e[o]=s):(a.fns||(a=e[o]=W(a)),n(u.name,a,u.once,u.capture)));for(o in t)e[o]||(u=uo(o),r(u.name,t[o],u.capture))}function Z(e,t,n){function r(){n.apply(this,arguments),o(i.fns,r)}var i,a=e[t];a?a.fns&&a.merged?(i=a,i.fns.push(r)):i=W([a,r]):i=W([r]),i.merged=!0,e[t]=i}function J(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Q(e){return s(e)?[B(e)]:Array.isArray(e)?K(e):void 0}function K(e,t){var n,r,i,o=[];for(n=0;n<e.length;n++)null!=(r=e[n])&&"boolean"!=typeof r&&(i=o[o.length-1],Array.isArray(r)?o.push.apply(o,K(r,(t||"")+"_"+n)):s(r)?i&&i.text?i.text+=String(r):""!==r&&o.push(B(r)):r.text&&i&&i.text?o[o.length-1]=B(i.text+r.text):(r.tag&&null==r.key&&null!=t&&(r.key="__vlist"+t+"_"+n+"__"),o.push(r)));return o}function X(e){return e&&e.filter(function(e){return e&&e.componentOptions})[0]}function ee(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&re(e,t)}function te(e,t,n){n?ao.$once(e,t):ao.$on(e,t)}function ne(e,t){ao.$off(e,t)}function re(e,t,n){ao=e,G(t,n||{},te,ne,e)}function ie(e,t){var n={};if(!e)return n;for(var r,i,o=[],a=0,s=e.length;a<s;a++)if(i=e[a],(i.context===t||i.functionalContext===t)&&i.data&&(r=i.data.slot)){var u=n[r]||(n[r]=[]);"template"===i.tag?u.push.apply(u,i.children):u.push(i)}else o.push(i);return o.every(oe)||(n.default=o),n}function oe(e){return e.isComment||" "===e.text}function ae(e){for(var t={},n=0;n<e.length;n++)t[e[n][0]]=e[n][1];return t}function se(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function ue(e,t,n){e.$el=t,e.$options.render||(e.$options.render=so),he(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new go(e,r,m),n=!1,null==e.$vnode&&(e._isMounted=!0,he(e,"mounted")),e}function le(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Oi);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,t&&e.$options.props){eo.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u<s.length;u++){var l=s[u];a[l]=q(l,e.$options.props,t,e)}eo.shouldConvert=!0,e.$options.propsData=t}if(n){var c=e.$options._parentListeners;e.$options._parentListeners=n,re(e,n,c)}o&&(e.$slots=ie(i,r.context),e.$forceUpdate())}function ce(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fe(e,t){if(t){if(e._directInactive=!1,ce(e))return}else if(e._directInactive)return;if(e._inactive||null==e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)fe(e.$children[n]);he(e,"activated")}}function de(e,t){if(!(t&&(e._directInactive=!0,ce(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)de(e.$children[n]);he(e,"deactivated")}}function he(e,t){var n=e.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(e)}catch(n){V(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function pe(){co.length=0,fo={},ho=po=!1}function me(){po=!0;var e,t,n;for(co.sort(function(e,t){return e.id-t.id}),mo=0;mo<co.length;mo++)e=co[mo],t=e.id,fo[t]=null,e.run();var r=co.slice();for(pe(),mo=r.length;mo--;)e=r[mo],n=e.vm,n._watcher===e&&n._isMounted&&he(n,"updated");Bi&&Mi.devtools&&Bi.emit("flush")}function ve(e){var t=e.id;if(null==fo[t]){if(fo[t]=!0,po){for(var n=co.length-1;n>=0&&co[n].id>e.id;)n--;co.splice(Math.max(n,mo)+1,0,e)}else co.push(e);ho||(ho=!0,Yi(me))}}function ge(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function $e(e,t,n){$o.get=function(){return this[t][n]},$o.set=function(e){this[t][n]=e},Object.defineProperty(e,n,$o)}function be(e){e._watchers=[];var t=e.$options;t.props&&_e(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&xe(e,t.computed),t.watch&&Ae(e,t.watch)}function _e(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);A(r,o,a),o in e||$e(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},h(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||$(n[i])||$e(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return V(e,t,"data()"),{}}}function xe(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new go(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?($o.get=Se(t),$o.set=m):($o.get=n.get?!1!==n.cache?Se(t):n.get:m,$o.set=n.set?n.set:m),Object.defineProperty(e,t,$o)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:l(t[n],e)}function Ae(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)De(e,n,r[i]);else De(e,n,r)}}function De(e,t,n){var r;h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Te(e,t,n,r,i){if(e){var o=n.$options._base;if(d(e)&&(e=o.extend(e)),"function"==typeof e){if(!e.cid)if(e.resolved)e=e.resolved;else if(!(e=Fe(e,o,function(){n.$forceUpdate()})))return;tt(e),t=t||{},t.model&&Pe(e.options,t);var a=Le(t,e,i);if(e.options.functional)return Me(e,a,t,n,r);var s=t.on;t.on=t.nativeOn,e.options.abstract&&(t={}),Re(t);var u=e.options.name||i;return new io("vue-component-"+e.cid+(u?"-"+u:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:s,tag:i,children:r})}}}function Me(e,t,n,r,i){var o={},a=e.options.props;if(a)for(var s in a)o[s]=q(s,a,t);var u=Object.create(r),l=function(e,t,n,r){return qe(u,e,t,n,r,!0)},c=e.options.render.call(null,l,{props:o,data:n,parent:r,children:i,slots:function(){return ie(i,r)}});return c instanceof io&&(c.functionalContext=r,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}function Oe(e,t,n,r){var i=e.componentOptions,o={_isComponent:!0,parent:t,propsData:i.propsData,_componentTag:i.tag,_parentVnode:e,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function Fe(e,t,n){if(!e.requested){e.requested=!0;var r=e.pendingCallbacks=[n],i=!0,o=function(n){if(d(n)&&(n=t.extend(n)),e.resolved=n,!i)for(var o=0,a=r.length;o<a;o++)r[o](n)},a=function(e){},s=e(o,a);return s&&"function"==typeof s.then&&!e.resolved&&s.then(o,a),i=!1,e.resolved}e.pendingCallbacks.push(n)}function Le(e,t,n){var r=t.options.props;if(r){var i={},o=e.attrs,a=e.props,s=e.domProps;if(o||a||s)for(var u in r){var l=Si(u);Ie(i,a,u,l,!0)||Ie(i,o,u,l)||Ie(i,s,u,l)}return i}}function Ie(e,t,n,r,i){if(t){if(a(t,n))return e[n]=t[n],i||delete t[n],!0;if(a(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Re(e){e.hook||(e.hook={});for(var t=0;t<wo.length;t++){var n=wo[t],r=e.hook[n],i=_o[n];e.hook[n]=r?Ne(i,r):i}}function Ne(e,t){return function(n,r,i,o){e(n,r,i,o),t(n,r,i,o)}}function Pe(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});i[r]?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}function qe(e,t,n,r,i,o){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o&&(i=xo),je(e,t,n,r,i)}function je(e,t,n,r,i){if(n&&n.__ob__)return so();if(!t)return so();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===xo?r=Q(r):i===ko&&(r=J(r));var o,a;if("string"==typeof t){var s;a=Mi.getTagNamespace(t),o=Mi.isReservedTag(t)?new io(Mi.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=P(e.$options,"components",t))?Te(s,n,e,r,t):new io(t,n,r,void 0,void 0,e)}else o=Te(t,n,e,r);return o?(a&&Ue(o,a),o):so()}function Ue(e,t){if(e.ns=t,"foreignObject"!==e.tag&&e.children)for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];i.tag&&!i.ns&&Ue(i,t)}}function ze(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(d(e))for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return n}function Ve(e,t,n,r){var i=this.$scopedSlots[e];if(i)return n=n||{},r&&f(n,r),i(n)||t;var o=this.$slots[e];return o||t}function Be(e){return P(this.$options,"filters",e,!0)||Ti}function He(e,t,n){var r=Mi.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function Ye(e,t,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=p(n));var i;for(var o in n){if("class"===o||"style"===o)i=e;else{var a=e.attrs&&e.attrs.type;i=r||Mi.mustUseProp(t,a,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}o in i||(i[o]=n[o])}}else;return e}function We(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?Y(n):H(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),Ze(n,"__static__"+e,!1),n)}function Ge(e,t,n){return Ze(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ze(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Je(e[r],t+"_"+r,n);else Je(e,t,n)}function Je(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Qe(e){e.$vnode=null,e._vnode=null,e._staticTrees=null;var t=e.$options._parentVnode,n=t&&t.context;e.$slots=ie(e.$options._renderChildren,n),e.$scopedSlots=Oi,e._c=function(t,n,r,i){return qe(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return qe(e,t,n,r,i,!0)}}function Ke(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Xe(e){var t=e.$options.inject;if(t)for(var n=Array.isArray(t),r=n?t:Hi?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++)!function(i){for(var o=r[i],a=n?o:t[o],s=e;s;){if(s._provided&&a in s._provided){A(e,o,s._provided[a]);break}s=s.$parent}}(i)}function et(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function tt(e){var t=e.options;if(e.super){var n=tt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=nt(e);r&&f(e.extendOptions,r),t=e.options=N(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function nt(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=rt(n[i],r[i]));return t}function rt(e,t){if(Array.isArray(e)){var n=[];t=Array.isArray(t)?t:[t];for(var r=0;r<e.length;r++)t.indexOf(e[r])<0&&n.push(e[r]);return n}return e}function it(e){this._init(e)}function ot(e){e.use=function(e){if(!e.installed){var t=c(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):"function"==typeof e&&e.apply(null,t),e.installed=!0,this}}}function at(e){e.mixin=function(e){this.options=N(this.options,e)}}function st(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=N(n.options,e),a.super=n,a.options.props&&ut(a),a.options.computed&<(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Mi._assetTypes.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=f({},a.options),i[r]=a,a}}function ut(e){var t=e.options.props;for(var n in t)$e(e.prototype,"_props",n)}function lt(e){var t=e.options.computed;for(var n in t)Ce(e.prototype,n,t[n])}function ct(e){Mi._assetTypes.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&h(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function ft(e){return e&&(e.Ctor.options.name||e.tag)}function dt(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:e instanceof RegExp&&e.test(t)}function ht(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(pt(r),e[n]=null)}}}function pt(e){e&&(e.componentInstance._inactive||he(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=vt(r.data,t));for(;n=n.parent;)n.data&&(t=vt(t,n.data));return gt(t)}function vt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function gt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,$t(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function $t(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r<i;r++)e[r]&&(n=$t(e[r]))&&(t+=n+" ");return t.slice(0,-1)}if(d(e)){for(var o in e)e[o]&&(t+=o+" ");return t.slice(0,-1)}return t}function bt(e){return Go(e)?"svg":"math"===e?"math":void 0}function _t(e){if(!Ii)return!0;if(Jo(e))return!1;if(e=e.toLowerCase(),null!=Qo[e])return Qo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Qo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Qo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function xt(e,t){return document.createElementNS(Yo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function At(e,t){e.removeChild(t)}function Dt(e,t){e.appendChild(t)}function Tt(e){return e.parentNode}function Mt(e){return e.nextSibling}function Ot(e){return e.tagName}function Ft(e,t){e.textContent=t}function Lt(e,t,n){e.setAttribute(t,n)}function It(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function Rt(e){return void 0===e||null===e}function Nt(e){return void 0!==e&&null!==e}function Pt(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&Nt(e.data)===Nt(t.data)&&jt(e,t)}function jt(e,t){if("input"!==e.tag)return!0;var n;return(Nt(n=e.data)&&Nt(n=n.attrs)&&n.type)===(Nt(n=t.data)&&Nt(n=n.attrs)&&n.type)}function Ut(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,Nt(i)&&(o[i]=r);return o}function zt(e,t){(e.data.directives||t.data.directives)&&Vt(e,t)}function Vt(e,t){var n,r,i,o=e===ea,a=t===ea,s=Bt(e.data.directives,e.context),u=Bt(t.data.directives,t.context),l=[],c=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,Yt(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(Yt(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)Yt(l[n],"inserted",t,e)};o?Z(t.data.hook||(t.data.hook={}),"insert",f):f()}if(c.length&&Z(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)Yt(c[n],"componentUpdated",t,e)}),!o)for(n in s)u[n]||Yt(s[n],"unbind",e,e,a)}function Bt(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++)i=e[r],i.modifiers||(i.modifiers=ra),n[Ht(i)]=i,i.def=P(t.$options,"directives",i.name,!0);return n}function Ht(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Yt(e,t,n,r,i){var o=e.def&&e.def[t];o&&o(n.elm,e,n,r,i)}function Wt(e,t){if(e.data.attrs||t.data.attrs){var n,r,i=t.elm,o=e.data.attrs||{},a=t.data.attrs||{};a.__ob__&&(a=t.data.attrs=f({},a));for(n in a)r=a[n],o[n]!==r&&Gt(i,n,r);Pi&&a.value!==o.value&&Gt(i,"value",a.value);for(n in o)null==a[n]&&(Vo(n)?i.removeAttributeNS(zo,Bo(n)):jo(n)||i.removeAttribute(n))}}function Gt(e,t,n){Uo(t)?Ho(n)?e.removeAttribute(t):e.setAttribute(t,t):jo(t)?e.setAttribute(t,Ho(n)||"false"===n?"false":"true"):Vo(t)?Ho(n)?e.removeAttributeNS(zo,Bo(t)):e.setAttributeNS(zo,t,n):Ho(n)?e.removeAttribute(t):e.setAttribute(t,n)}function Zt(e,t){var n=t.elm,r=t.data,i=e.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=mt(t),a=n._transitionClasses;a&&(o=yt(o,$t(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function Jt(e){function t(){(a||(a=[])).push(e.slice(p,i).trim()),p=i+1}var n,r,i,o,a,s=!1,u=!1,l=!1,c=!1,f=0,d=0,h=0,p=0;for(i=0;i<e.length;i++)if(r=n,n=e.charCodeAt(i),s)39===n&&92!==r&&(s=!1);else if(u)34===n&&92!==r&&(u=!1);else if(l)96===n&&92!==r&&(l=!1);else if(c)47===n&&92!==r&&(c=!1);else if(124!==n||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||f||d||h){switch(n){case 34:u=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var m=i-1,v=void 0;m>=0&&" "===(v=e.charAt(m));m--);v&&sa.test(v)||(c=!0)}}else void 0===o?(p=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==p&&t(),a)for(i=0;i<a.length;i++)o=Qt(o,a[i]);return o}function Qt(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_f("'+t.slice(0,n)+'")('+e+","+t.slice(n+1)}function Kt(e){console.error("[Vue compiler]: "+e)}function Xt(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function en(e,t,n){(e.props||(e.props=[])).push({name:t,value:n})}function tn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n})}function nn(e,t,n,r,i,o){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:r,arg:i,modifiers:o})}function rn(e,t,n,r,i){r&&r.capture&&(delete r.capture,t="!"+t),r&&r.once&&(delete r.once,t="~"+t);var o;r&&r.native?(delete r.native,o=e.nativeEvents||(e.nativeEvents={})):o=e.events||(e.events={});var a={value:n,modifiers:r},s=o[t];Array.isArray(s)?i?s.unshift(a):s.push(a):o[t]=s?i?[a,s]:[s,a]:a}function on(e,t,n){var r=an(e,":"+t)||an(e,"v-bind:"+t);if(null!=r)return Jt(r);if(!1!==n){var i=an(e,t);if(null!=i)return JSON.stringify(i)}}function an(e,t){var n;if(null!=(n=e.attrsMap[t]))for(var r=e.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===t){r.splice(i,1);break}return n}function sn(e,t,n){var r=n||{},i=r.number,o=r.trim,a="$$v";o&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=un(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function un(e,t){var n=ln(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function ln(e){if(To=e,Do=To.length,Oo=Fo=Lo=0,e.indexOf("[")<0||e.lastIndexOf("]")<Do-1)return{exp:e,idx:null};for(;!fn();)Mo=cn(),dn(Mo)?pn(Mo):91===Mo&&hn(Mo);return{exp:e.substring(0,Fo),idx:e.substring(Fo+1,Lo)}}function cn(){return To.charCodeAt(++Oo)}function fn(){return Oo>=Do}function dn(e){return 34===e||39===e}function hn(e){var t=1;for(Fo=Oo;!fn();)if(e=cn(),dn(e))pn(e);else if(91===e&&t++,93===e&&t--,0===t){Lo=Oo;break}}function pn(e){for(var t=e;!fn()&&(e=cn())!==t;);}function mn(e,t,n){Io=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)vn(e,r,i);else if("input"===o&&"radio"===a)gn(e,r,i);else if("input"===o||"textarea"===o)$n(e,r,i);else if(!Mi.isReservedTag(o))return sn(e,r,i),!1;return!0}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,la,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,la,un(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+un(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function $n(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=!o&&"range"!==r,l=o?"change":"range"===r?ua:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var f=un(t,c);u&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,l,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[ua]&&(t=Ni?"change":"input",e[t]=[].concat(e[ua],e[t]||[]),delete e[ua]),e[la]&&(t=zi?"click":"change",e[t]=[].concat(e[la],e[t]||[]),delete e[la])}function _n(e,t,n,r){if(n){var i=t,o=Ro;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Ro.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Ro).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Ro=t.elm,bn(n),G(n,r,_n,wn,t.context)}}function xn(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function An(e){var t=Dn(e.style);return e.staticStyle?f(e.staticStyle,t):t}function Dn(e){return Array.isArray(e)?p(e):"string"==typeof e?da(e):e}function Tn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=An(i.data))&&f(r,n);(n=An(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=An(o.data))&&f(r,n);return r}function Mn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,u=e.data.style||{},l=s||u,c=Dn(t.data.style)||{};t.data.style=c.__ob__?f({},c):c;var d=Tn(t,!0);for(o in l)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==l[o]&&ma(a,o,null==i?"":i)}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Fn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Ln(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,$a(e.name||"v")),f(t,e),t}return"string"==typeof e?$a(e):void 0}}function In(e){Ea(function(){Ea(e)})}function Rn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),On(e,t)}function Nn(e,t){e._transitionClasses&&o(e._transitionClasses,t),Fn(e,t)}function Pn(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===_a?xa:Sa,u=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++u>=a&&l()};setTimeout(function(){u<a&&l()},o+1),e.addEventListener(s,c)}function qn(e,t){var n,r=window.getComputedStyle(e),i=r[ka+"Delay"].split(", "),o=r[ka+"Duration"].split(", "),a=jn(i,o),s=r[Ca+"Delay"].split(", "),u=r[Ca+"Duration"].split(", "),l=jn(s,u),c=0,f=0;return t===_a?a>0&&(n=_a,c=a,f=o.length):t===wa?l>0&&(n=wa,c=l,f=u.length):(c=Math.max(a,l),n=c>0?a>l?_a:wa:null,f=n?n===_a?o.length:u.length:0),{type:n,timeout:c,propCount:f,hasTransform:n===_a&&Aa.test(r[ka+"Property"])}}function jn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Un(t)+Un(e[n])}))}function Un(e){return 1e3*Number(e.slice(0,-1))}function zn(e,t){var n=e.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Ln(e.data.transition);if(i&&!n._enterCb&&1===n.nodeType){for(var o=i.css,a=i.type,s=i.enterClass,u=i.enterToClass,l=i.enterActiveClass,c=i.appearClass,f=i.appearToClass,h=i.appearActiveClass,p=i.beforeEnter,m=i.enter,v=i.afterEnter,g=i.enterCancelled,$=i.beforeAppear,b=i.appear,_=i.afterAppear,w=i.appearCancelled,k=i.duration,x=lo,C=lo.$vnode;C&&C.parent;)C=C.parent,x=C.context;var S=!x._isMounted||!e.isRootInsert;if(!S||b||""===b){var E=S&&c?c:s,A=S&&h?h:l,D=S&&f?f:u,T=S?$||p:p,M=S&&"function"==typeof b?b:m,O=S?_||v:v,F=S?w||g:g,L=r(d(k)?k.enter:k),I=!1!==o&&!Pi,R=Hn(M),N=n._enterCb=y(function(){I&&(Nn(n,D),Nn(n,A)),N.cancelled?(I&&Nn(n,E),F&&F(n)):O&&O(n),n._enterCb=null});e.data.show||Z(e.data.hook||(e.data.hook={}),"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,N)}),T&&T(n),I&&(Rn(n,E),Rn(n,A),In(function(){Rn(n,D),Nn(n,E),N.cancelled||R||(Bn(L)?setTimeout(N,L):Pn(n,a,N))})),e.data.show&&(t&&t(),M&&M(n,N)),I||R||N()}}}function Vn(e,t){function n(){w.cancelled||(e.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),f&&f(i),$&&(Rn(i,u),Rn(i,c),In(function(){Rn(i,l),Nn(i,u),w.cancelled||b||(Bn(_)?setTimeout(w,_):Pn(i,s,w))})),h&&h(i,w),$||b||w())}var i=e.elm;i._enterCb&&(i._enterCb.cancelled=!0,i._enterCb());var o=Ln(e.data.transition);if(!o)return t();if(!i._leaveCb&&1===i.nodeType){var a=o.css,s=o.type,u=o.leaveClass,l=o.leaveToClass,c=o.leaveActiveClass,f=o.beforeLeave,h=o.leave,p=o.afterLeave,m=o.leaveCancelled,v=o.delayLeave,g=o.duration,$=!1!==a&&!Pi,b=Hn(h),_=r(d(g)?g.leave:g),w=i._leaveCb=y(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),$&&(Nn(i,l),Nn(i,c)),w.cancelled?($&&Nn(i,u),m&&m(i)):(t(),p&&p(i)),i._leaveCb=null});v?v(n):n()}}function Bn(e){return"number"==typeof e&&!isNaN(e)}function Hn(e){if(!e)return!1;var t=e.fns;return t?Hn(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Yn(e,t){t.data.show||zn(t)}function Wn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],i)o=g(r,Zn(a))>-1,a.selected!==o&&(a.selected=o);else if(v(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n<r;n++)if(v(Zn(t[n]),e))return!1;return!0}function Zn(e){return"_value"in e?e._value:e.value}function Jn(e){e.target.composing=!0}function Qn(e){e.target.composing=!1,Kn(e.target,"input")}function Kn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Xn(e){return!e.componentInstance||e.data&&e.data.transition?e:Xn(e.componentInstance._vnode)}function er(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?er(X(t.children)):e}function tr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[xi(o)]=i[o];return t}function nr(e,t){return/\d-keep-alive$/.test(t.tag)?e("keep-alive"):null}function rr(e){for(;e=e.parent;)if(e.data.transition)return!0}function ir(e,t){return t.key===e.key&&t.tag===e.tag}function or(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ar(e){e.data.newPos=e.elm.getBoundingClientRect()}function sr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function ur(e){return Ua=Ua||document.createElement("div"),Ua.innerHTML=e,Ua.textContent}function lr(e,t){var n=t?xs:ks;return e.replace(n,function(e){return ws[e]})}function cr(e,t){function n(t){c+=t,e=e.substring(t)}function r(e,n,r){var i,s;if(null==n&&(n=c),null==r&&(r=c),e&&(s=e.toLowerCase()),e)for(i=a.length-1;i>=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var u=a.length-1;u>=i;u--)t.end&&t.end(a[u].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,u=t.isUnaryTag||Di,l=t.canBeLeftOpenTag||Di,c=0;e;){if(i=e,o&&bs(o)){var f=o.toLowerCase(),d=_s[f]||(_s[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i")),h=0,p=e.replace(d,function(e,n,r){return h=r.length,bs(f)||"noscript"===f||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,r(f,c-h,c)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var v=e.indexOf("--\x3e");if(v>=0){n(v+3);continue}}if(es.test(e)){var g=e.indexOf("]>");if(g>=0){n(g+2);continue}}var y=e.match(Ka);if(y){n(y[0].length);continue}var $=e.match(Qa);if($){var b=c;n($[0].length),r($[1],b,c);continue}var _=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:c};n(t[0].length);for(var i,o;!(i=e.match(Ja))&&(o=e.match(Wa));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(_){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Ha(n)&&r(o),l(n)&&o===n&&r(n));for(var c=u(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),h=0;h<f;h++){var p=e.attrs[h];ts&&-1===p[0].indexOf('""')&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var m=p[3]||p[4]||p[5]||"";d[h]={name:p[1],value:lr(m,t.shouldDecodeNewlines)}}c||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d}),o=n),t.start&&t.start(n,d,c,e.start,e.end)}(_);continue}}var w=void 0,k=void 0,x=void 0;if(m>=0){for(k=e.slice(m);!(Qa.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||(x=k.indexOf("<",1))<0);)m+=x,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Jt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a<e.length&&o.push(JSON.stringify(e.slice(a))),o.join("+")}}function dr(e,t){function n(e){e.pre&&(s=!1),ss(e.tag)&&(u=!1)}ns=t.warn||Kt,ls=t.getTagNamespace||Di,us=t.mustUseProp||Di,ss=t.isPreTag||Di,os=Xt(t.modules,"preTransformNode"),is=Xt(t.modules,"transformNode"),as=Xt(t.modules,"postTransformNode"),rs=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,u=!1;return cr(e,{warn:ns,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,a,l){var c=i&&i.ns||ls(e);Ni&&"svg"===c&&(a=Tr(a));var f={type:1,tag:e,attrsList:a,attrsMap:Ar(a),parent:i,children:[]};c&&(f.ns=c),Dr(f)&&!Vi()&&(f.forbidden=!0);for(var d=0;d<os.length;d++)os[d](f,t);if(s||(hr(f),f.pre&&(s=!0)),ss(f.tag)&&(u=!0),s)pr(f);else{gr(f),yr(f),wr(f),mr(f),f.plain=!f.key&&!a.length,vr(f),kr(f),xr(f)
|
||
;for(var h=0;h<is.length;h++)is[h](f,t);Cr(f)}if(r?o.length||r.if&&(f.elseif||f.else)&&_r(r,{exp:f.elseif,block:f}):r=f,i&&!f.forbidden)if(f.elseif||f.else)$r(f,i);else if(f.slotScope){i.plain=!1;var p=f.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[p]=f}else i.children.push(f),f.parent=i;l?n(f):(i=f,o.push(f));for(var m=0;m<as.length;m++)as[m](f,t)},end:function(){var e=o[o.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!u&&e.children.pop(),o.length-=1,i=o[o.length-1],n(e)},chars:function(e){if(i&&(!Ni||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var t=i.children;if(e=u||e.trim()?Ls(e):a&&t.length?" ":""){var n;!s&&" "!==e&&(n=fr(e,rs))?t.push({type:2,expression:n,text:e}):" "===e&&t.length&&" "===t[t.length-1].text||t.push({type:3,text:e})}}}}),r}function hr(e){null!=an(e,"v-pre")&&(e.pre=!0)}function pr(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}function mr(e){var t=on(e,"key");t&&(e.key=t)}function vr(e){var t=on(e,"ref");t&&(e.ref=t,e.refInFor=Sr(e))}function gr(e){var t;if(t=an(e,"v-for")){var n=t.match(Ds);if(!n)return;e.for=n[2].trim();var r=n[1].trim(),i=r.match(Ts);i?(e.alias=i[1].trim(),e.iterator1=i[2].trim(),i[3]&&(e.iterator2=i[3].trim())):e.alias=r}}function yr(e){var t=an(e,"v-if");if(t)e.if=t,_r(e,{exp:t,block:e});else{null!=an(e,"v-else")&&(e.else=!0);var n=an(e,"v-else-if");n&&(e.elseif=n)}}function $r(e,t){var n=br(t.children);n&&n.if&&_r(n,{exp:e.elseif,block:e})}function br(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function _r(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function wr(e){null!=an(e,"v-once")&&(e.once=!0)}function kr(e){if("slot"===e.tag)e.slotName=on(e,"name");else{var t=on(e,"slot");t&&(e.slotTarget='""'===t?'"default"':t),"template"===e.tag&&(e.slotScope=an(e,"scope"))}}function xr(e){var t;(t=on(e,"is"))&&(e.component=t),null!=an(e,"inline-template")&&(e.inlineTemplate=!0)}function Cr(e){var t,n,r,i,o,a,s,u=e.attrsList;for(t=0,n=u.length;t<n;t++)if(r=i=u[t].name,o=u[t].value,As.test(r))if(e.hasBindings=!0,a=Er(r),a&&(r=r.replace(Fs,"")),Os.test(r))r=r.replace(Os,""),o=Jt(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=xi(r))&&(r="innerHTML")),a.camel&&(r=xi(r))),s||us(e.tag,e.attrsMap.type,r)?en(e,r,o):tn(e,r,o);else if(Es.test(r))r=r.replace(Es,""),rn(e,r,o,a);else{r=r.replace(As,"");var l=r.match(Ms),c=l&&l[1];c&&(r=r.slice(0,-(c.length+1))),nn(e,r,i,o,c,a)}else{tn(e,r,JSON.stringify(o))}}function Sr(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function Er(e){var t=e.match(Fs);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function Ar(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}function Dr(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function Tr(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Is.test(r.name)||(r.name=r.name.replace(Rs,""),t.push(r))}return t}function Mr(e,t){e&&(cs=Ns(t.staticKeys||""),fs=t.isReservedTag||Di,Fr(e),Lr(e,!1))}function Or(e){return i("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}function Fr(e){if(e.static=Rr(e),1===e.type){if(!fs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Fr(r),r.static||(e.static=!1)}}}function Lr(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)Lr(e.children[n],t||!!e.for);e.ifConditions&&Ir(e.ifConditions,t)}}function Ir(e,t){for(var n=1,r=e.length;n<r;n++)Lr(e[n].block,t)}function Rr(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||wi(e.tag)||!fs(e.tag)||Nr(e)||!Object.keys(e).every(cs))))}function Nr(e){for(;e.parent;){if(e=e.parent,"template"!==e.tag)return!1;if(e.for)return!0}return!1}function Pr(e,t){var n=t?"nativeOn:{":"on:{";for(var r in e)n+='"'+r+'":'+qr(r,e[r])+",";return n.slice(0,-1)+"}"}function qr(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return qr(e,t)}).join(",")+"]";var n=qs.test(t.value),r=Ps.test(t.value);if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)zs[s]?(o+=zs[s],js[s]&&a.push(s)):a.push(s);a.length&&(i+=jr(a)),o&&(i+=o);return"function($event){"+i+(n?t.value+"($event)":r?"("+t.value+")($event)":t.value)+"}"}return n||r?t.value:"function($event){"+t.value+"}"}function jr(e){return"if(!('button' in $event)&&"+e.map(Ur).join("&&")+")return null;"}function Ur(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=js[e];return"_k($event.keyCode,"+JSON.stringify(e)+(n?","+JSON.stringify(n):"")+")"}function zr(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+(t.modifiers&&t.modifiers.prop?",true":"")+")"}}function Vr(e,t){var n=gs,r=gs=[],i=ys;ys=0,$s=t,ds=t.warn||Kt,hs=Xt(t.modules,"transformCode"),ps=Xt(t.modules,"genData"),ms=t.directives||{},vs=t.isReservedTag||Di;var o=e?Br(e):'_c("div")';return gs=n,ys=i,{render:"with(this){return "+o+"}",staticRenderFns:r}}function Br(e){if(e.staticRoot&&!e.staticProcessed)return Hr(e);if(e.once&&!e.onceProcessed)return Yr(e);if(e.for&&!e.forProcessed)return Zr(e);if(e.if&&!e.ifProcessed)return Wr(e);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return si(e);var t;if(e.component)t=ui(e.component,e);else{var n=e.plain?void 0:Jr(e),r=e.inlineTemplate?null:ti(e,!0);t="_c('"+e.tag+"'"+(n?","+n:"")+(r?","+r:"")+")"}for(var i=0;i<hs.length;i++)t=hs[i](e,t);return t}return ti(e)||"void 0"}function Hr(e){return e.staticProcessed=!0,gs.push("with(this){return "+Br(e)+"}"),"_m("+(gs.length-1)+(e.staticInFor?",true":"")+")"}function Yr(e){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Wr(e);if(e.staticInFor){for(var t="",n=e.parent;n;){if(n.for){t=n.key;break}n=n.parent}return t?"_o("+Br(e)+","+ys+++(t?","+t:"")+")":Br(e)}return Hr(e)}function Wr(e){return e.ifProcessed=!0,Gr(e.ifConditions.slice())}function Gr(e){function t(e){return e.once?Yr(e):Br(e)}if(!e.length)return"_e()";var n=e.shift();return n.exp?"("+n.exp+")?"+t(n.block)+":"+Gr(e):""+t(n.block)}function Zr(e){var t=e.for,n=e.alias,r=e.iterator1?","+e.iterator1:"",i=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+t+"),function("+n+r+i+"){return "+Br(e)+"})"}function Jr(e){var t="{",n=Qr(e);n&&(t+=n+","),e.key&&(t+="key:"+e.key+","),e.ref&&(t+="ref:"+e.ref+","),e.refInFor&&(t+="refInFor:true,"),e.pre&&(t+="pre:true,"),e.component&&(t+='tag:"'+e.tag+'",');for(var r=0;r<ps.length;r++)t+=ps[r](e);if(e.attrs&&(t+="attrs:{"+li(e.attrs)+"},"),e.props&&(t+="domProps:{"+li(e.props)+"},"),e.events&&(t+=Pr(e.events)+","),e.nativeEvents&&(t+=Pr(e.nativeEvents,!0)+","),e.slotTarget&&(t+="slot:"+e.slotTarget+","),e.scopedSlots&&(t+=Xr(e.scopedSlots)+","),e.model&&(t+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=Kr(e);i&&(t+=i+",")}return t=t.replace(/,$/,"")+"}",e.wrapData&&(t=e.wrapData(t)),t}function Qr(e){var t=e.directives;if(t){var n,r,i,o,a="directives:[",s=!1;for(n=0,r=t.length;n<r;n++){i=t[n],o=!0;var u=ms[i.name]||Vs[i.name];u&&(o=!!u(e,i,ds)),o&&(s=!0,a+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function Kr(e){var t=e.children[0];if(1===t.type){var n=Vr(t,$s);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function Xr(e){return"scopedSlots:_u(["+Object.keys(e).map(function(t){return ei(t,e[t])}).join(",")+"])"}function ei(e,t){return"["+e+",function("+String(t.attrsMap.scope)+"){return "+("template"===t.tag?ti(t)||"void 0":Br(t))+"}]"}function ti(e,t){var n=e.children;if(n.length){var r=n[0];if(1===n.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return Br(r);var i=t?ni(n):0;return"["+n.map(oi).join(",")+"]"+(i?","+i:"")}}function ni(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];if(1===r.type){if(ri(r)||r.ifConditions&&r.ifConditions.some(function(e){return ri(e.block)})){t=2;break}(ii(r)||r.ifConditions&&r.ifConditions.some(function(e){return ii(e.block)}))&&(t=1)}}return t}function ri(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ii(e){return!vs(e.tag)}function oi(e){return 1===e.type?Br(e):ai(e)}function ai(e){return"_v("+(2===e.type?e.expression:ci(JSON.stringify(e.text)))+")"}function si(e){var t=e.slotName||'"default"',n=ti(e),r="_t("+t+(n?","+n:""),i=e.attrs&&"{"+e.attrs.map(function(e){return xi(e.name)+":"+e.value}).join(",")+"}",o=e.attrsMap["v-bind"];return!i&&!o||n||(r+=",null"),i&&(r+=","+i),o&&(r+=(i?"":",null")+","+o),r+")"}function ui(e,t){var n=t.inlineTemplate?null:ti(t,!0);return"_c("+e+","+Jr(t)+(n?","+n:"")+")"}function li(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+ci(r.value)+","}return t.slice(0,-1)}function ci(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function fi(e,t){var n=dr(e.trim(),t);Mr(n,t);var r=Vr(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}function di(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),m}}function hi(e,t){var n=(t.warn,an(e,"class"));n&&(e.staticClass=JSON.stringify(n));var r=on(e,"class",!1);r&&(e.classBinding=r)}function pi(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}function mi(e,t){var n=(t.warn,an(e,"style"));if(n){e.staticStyle=JSON.stringify(da(n))}var r=on(e,"style",!1);r&&(e.styleBinding=r)}function vi(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}function gi(e,t){t.value&&en(e,"textContent","_s("+t.value+")")}function yi(e,t){t.value&&en(e,"innerHTML","_s("+t.value+")")}function $i(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var bi,_i,wi=i("slot,component",!0),ki=Object.prototype.hasOwnProperty,xi=u(function(e){return e.replace(/-(\w)/g,function(e,t){return t?t.toUpperCase():""})}),Ci=u(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Si=u(function(e){return e.replace(/([^-])([A-Z])/g,"$1-$2").replace(/([^-])([A-Z])/g,"$1-$2").toLowerCase()}),Ei=Object.prototype.toString,Ai="[object Object]",Di=function(){return!1},Ti=function(e){return e},Mi={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Di,isUnknownElement:Di,getTagNamespace:m,parsePlatformTagName:Ti,mustUseProp:Di,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},Oi=Object.freeze({}),Fi=/[^\w.$]/,Li="__proto__"in{},Ii="undefined"!=typeof window,Ri=Ii&&window.navigator.userAgent.toLowerCase(),Ni=Ri&&/msie|trident/.test(Ri),Pi=Ri&&Ri.indexOf("msie 9.0")>0,qi=Ri&&Ri.indexOf("edge/")>0,ji=Ri&&Ri.indexOf("android")>0,Ui=Ri&&/iphone|ipad|ipod|ios/.test(Ri),zi=Ri&&/chrome\/\d+/.test(Ri)&&!qi,Vi=function(){return void 0===bi&&(bi=!Ii&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Bi=Ii&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Hi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Yi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t<e.length;t++)e[t]()}var t,n=[],r=!1;if("undefined"!=typeof Promise&&w(Promise)){var i=Promise.resolve(),o=function(e){console.error(e)};t=function(){i.then(e).catch(o),Ui&&setTimeout(m)}}else if("undefined"==typeof MutationObserver||!w(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())t=function(){setTimeout(e,0)};else{var a=1,s=new MutationObserver(e),u=document.createTextNode(String(a));s.observe(u,{characterData:!0}),t=function(){a=(a+1)%2,u.data=String(a)}}return function(e,i){var o;if(n.push(function(){e&&e.call(i),o&&o(i)}),r||(r=!0,t()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){o=e})}}();_i="undefined"!=typeof Set&&w(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Wi=m,Gi=0,Zi=function(){this.id=Gi++,this.subs=[]};Zi.prototype.addSub=function(e){this.subs.push(e)},Zi.prototype.removeSub=function(e){o(this.subs,e)},Zi.prototype.depend=function(){Zi.target&&Zi.target.addDep(this)},Zi.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Zi.target=null;var Ji=[],Qi=Array.prototype,Ki=Object.create(Qi);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Qi[e];b(Ki,e,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=t.apply(this,i),s=this.__ob__;switch(e){case"push":case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Xi=Object.getOwnPropertyNames(Ki),eo={shouldConvert:!0,isSettingProps:!1},to=function(e){if(this.value=e,this.dep=new Zi,this.vmCount=0,b(e,"__ob__",this),Array.isArray(e)){(Li?C:S)(e,Ki,Xi),this.observeArray(e)}else this.walk(e)};to.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)A(e,t[n],e[t[n]])},to.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)E(e[t])};var no=Mi.optionMergeStrategies;no.data=function(e,t,n){return n?e||t?function(){var r="function"==typeof t?t.call(n):t,i="function"==typeof e?e.call(n):void 0;return r?O(r,i):i}:void 0:t?"function"!=typeof t?e:e?function(){return O(t.call(this),e.call(this))}:t:e},Mi._lifecycleHooks.forEach(function(e){no[e]=F}),Mi._assetTypes.forEach(function(e){no[e+"s"]=L}),no.watch=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n={};f(n,e);for(var r in t){var i=n[r],o=t[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},no.props=no.methods=no.computed=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n=Object.create(null);return f(n,e),f(n,t),n};var ro=function(e,t){return void 0===t?e:t},io=function(e,t,n,r,i,o,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},oo={child:{}};oo.child.get=function(){return this.componentInstance},Object.defineProperties(io.prototype,oo);var ao,so=function(){var e=new io;return e.text="",e.isComment=!0,e},uo=u(function(e){var t="~"===e.charAt(0);e=t?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:t,capture:n}}),lo=null,co=[],fo={},ho=!1,po=!1,mo=0,vo=0,go=function(e,t,n,r){this.vm=e,e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++vo,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _i,this.newDepIds=new _i,this.expression="","function"==typeof t?this.getter=t:(this.getter=_(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};go.prototype.get=function(){k(this);var e,t=this.vm;if(this.user)try{e=this.getter.call(t,t)}catch(e){V(e,t,'getter for watcher "'+this.expression+'"')}else e=this.getter.call(t,t);return this.deep&&ge(e),x(),this.cleanupDeps(),e},go.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},go.prototype.cleanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},go.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ve(this)},go.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||d(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){V(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},go.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},go.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},go.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||o(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1}};var yo=new _i,$o={enumerable:!0,configurable:!0,get:m,set:m},bo={lazy:!0},_o={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=Oe(e,lo,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var i=e;_o.prepatch(i,i)}},prepatch:function(e,t){var n=t.componentOptions;le(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){e.componentInstance._isMounted||(e.componentInstance._isMounted=!0,he(e.componentInstance,"mounted")),e.data.keepAlive&&fe(e.componentInstance,!0)},destroy:function(e){e.componentInstance._isDestroyed||(e.data.keepAlive?de(e.componentInstance,!0):e.componentInstance.$destroy())}},wo=Object.keys(_o),ko=1,xo=2,Co=0;!function(e){e.prototype._init=function(e){var t=this;t._uid=Co++,t._isVue=!0,e&&e._isComponent?et(t,e):t.$options=N(tt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,se(t),ee(t),Qe(t),he(t,"beforeCreate"),Xe(t),be(t),Ke(t),he(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(it),function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=D,e.prototype.$delete=T,e.prototype.$watch=function(e,t,n){var r=this;n=n||{},n.user=!0;var i=new go(r,e,t,n);return n.immediate&&t.call(r,i.value),function(){i.teardown()}}}(it),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this,i=this;if(Array.isArray(e))for(var o=0,a=e.length;o<a;o++)r.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return r}var a=r._events[e];if(!a)return r;if(1===arguments.length)return r._events[e]=null,r;for(var s,u=a.length;u--;)if((s=a[u])===t||s.fn===t){a.splice(u,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(t,r)}return t}}(it),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&he(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=lo;lo=n,n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),lo=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){he(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||o(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),he(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$options._parentElm=e.$options._refElm=null}}}(it),function(e){e.prototype.$nextTick=function(e){return Yi(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t.staticRenderFns,i=t._parentVnode;if(e._isMounted)for(var o in e.$slots)e.$slots[o]=Y(e.$slots[o]);e.$scopedSlots=i&&i.data.scopedSlots||Oi,r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=i;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){V(t,e,"render function"),a=e._vnode}return a instanceof io||(a=so()),a.parent=i,a},e.prototype._o=Ge,e.prototype._n=r,e.prototype._s=n,e.prototype._l=ze,e.prototype._t=Ve,e.prototype._q=v,e.prototype._i=g,e.prototype._m=We,e.prototype._f=Be,e.prototype._k=He,e.prototype._b=Ye,e.prototype._v=B,e.prototype._e=so,e.prototype._u=ae}(it);var So=[String,RegExp],Eo={name:"keep-alive",abstract:!0,props:{include:So,exclude:So},created:function(){this.cache=Object.create(null)},destroyed:function(){var e=this;for(var t in e.cache)pt(e.cache[t])},watch:{include:function(e){ht(this.cache,function(t){return dt(e,t)})},exclude:function(e){ht(this.cache,function(t){return!dt(e,t)})}},render:function(){var e=X(this.$slots.default),t=e&&e.componentOptions;if(t){var n=ft(t);if(n&&(this.include&&!dt(this.include,n)||this.exclude&&dt(this.exclude,n)))return e;var r=null==e.key?t.Ctor.cid+(t.tag?"::"+t.tag:""):e.key;this.cache[r]?e.componentInstance=this.cache[r].componentInstance:this.cache[r]=e,e.data.keepAlive=!0}return e}},Ao={KeepAlive:Eo};!function(e){var t={};t.get=function(){return Mi},Object.defineProperty(e,"config",t),e.util={warn:Wi,extend:f,mergeOptions:N,defineReactive:A},e.set=D,e.delete=T,e.nextTick=Yi,e.options=Object.create(null),Mi._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,f(e.options.components,Ao),ot(e),at(e),st(e),ct(e)}(it),Object.defineProperty(it.prototype,"$isServer",{get:Vi}),it.version="2.2.6";var Do,To,Mo,Oo,Fo,Lo,Io,Ro,No,Po=i("input,textarea,option,select"),qo=function(e,t,n){return"value"===n&&Po(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},jo=i("contenteditable,draggable,spellcheck"),Uo=i("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),zo="http://www.w3.org/1999/xlink",Vo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Bo=function(e){return Vo(e)?e.slice(6,e.length):""},Ho=function(e){return null==e||!1===e},Yo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wo=i("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Go=i("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Zo=function(e){return"pre"===e},Jo=function(e){return Wo(e)||Go(e)},Qo=Object.create(null),Ko=Object.freeze({createElement:kt,createElementNS:xt,createTextNode:Ct,createComment:St,insertBefore:Et,removeChild:At,appendChild:Dt,parentNode:Tt,nextSibling:Mt,tagName:Ot,setTextContent:Ft,setAttribute:Lt}),Xo={create:function(e,t){It(t)},update:function(e,t){e.data.ref!==t.data.ref&&(It(e,!0),It(t))},destroy:function(e){It(e,!0)}},ea=new io("",{},[]),ta=["create","activate","update","remove","destroy"],na={create:zt,update:zt,destroy:function(e){zt(e,ea)}},ra=Object.create(null),ia=[Xo,na],oa={create:Wt,update:Wt},aa={create:Zt,update:Zt},sa=/[\w).+\-_$\]]/,ua="__r",la="__c",ca={create:kn,update:kn},fa={create:xn,update:xn},da=u(function(e){var t={};return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var n=e.split(/:(.+)/);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),ha=/^--/,pa=/\s*!important$/,ma=function(e,t,n){ha.test(t)?e.style.setProperty(t,n):pa.test(n)?e.style.setProperty(t,n.replace(pa,""),"important"):e.style[ga(t)]=n},va=["Webkit","Moz","ms"],ga=u(function(e){if(No=No||document.createElement("div"),"filter"!==(e=xi(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<va.length;n++){var r=va[n]+t;if(r in No.style)return r}}),ya={create:Mn,update:Mn},$a=u(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ba=Ii&&!Pi,_a="transition",wa="animation",ka="transition",xa="transitionend",Ca="animation",Sa="animationend";ba&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ka="WebkitTransition",xa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ca="WebkitAnimation",Sa="webkitAnimationEnd"));var Ea=Ii&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,Aa=/\b(transform|all)(,|$)/,Da=Ii?{create:Yn,activate:Yn,remove:function(e,t){e.data.show?t():Vn(e,t)}}:{},Ta=[oa,aa,ca,fa,ya,Da],Ma=Ta.concat(ia),Oa=function(e){function t(e){return new io(E.tagName(e).toLowerCase(),{},[],void 0,e)}function n(e,t){function n(){0==--n.listeners&&r(e)}return n.listeners=t,n}function r(e){var t=E.parentNode(e);Nt(t)&&E.removeChild(t,e)}function o(e,t,n,r,i){if(e.isRootInsert=!i,!a(e,t,n,r)){var o=e.data,s=e.children,u=e.tag;Nt(u)?(e.elm=e.ns?E.createElementNS(e.ns,u):E.createElement(u,e),p(e),f(e,s,t),Nt(o)&&h(e,t),c(n,e.elm,r)):Pt(e.isComment)?(e.elm=E.createComment(e.text),c(n,e.elm,r)):(e.elm=E.createTextNode(e.text),c(n,e.elm,r))}}function a(e,t,n,r){var i=e.data;if(Nt(i)){var o=Nt(e.componentInstance)&&i.keepAlive;if(Nt(i=i.hook)&&Nt(i=i.init)&&i(e,!1,n,r),Nt(e.componentInstance))return u(e,t),Pt(o)&&l(e,t,n,r),!0}}function u(e,t){Nt(e.data.pendingInsert)&&t.push.apply(t,e.data.pendingInsert),e.elm=e.componentInstance.$el,d(e)?(h(e,t),p(e)):(It(e),t.push(e))}function l(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,Nt(i=o.data)&&Nt(i=i.transition)){for(i=0;i<C.activate.length;++i)C.activate[i](ea,o);t.push(o);break}c(n,e.elm,r)}function c(e,t,n){Nt(e)&&(Nt(n)?E.insertBefore(e,t,n):E.appendChild(e,t))}function f(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)o(t[r],n,e.elm,null,!0);else s(e.text)&&E.appendChild(e.elm,E.createTextNode(e.text))}function d(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return Nt(e.tag)}function h(e,t){for(var n=0;n<C.create.length;++n)C.create[n](ea,e);k=e.data.hook,Nt(k)&&(Nt(k.create)&&k.create(ea,e),Nt(k.insert)&&t.push(e))}function p(e){for(var t,n=e;n;)Nt(t=n.context)&&Nt(t=t.$options._scopeId)&&E.setAttribute(e.elm,t,""),n=n.parent;Nt(t=lo)&&t!==e.context&&Nt(t=t.$options._scopeId)&&E.setAttribute(e.elm,t,"")}function m(e,t,n,r,i,a){for(;r<=i;++r)o(n[r],a,e,t)}function v(e){var t,n,r=e.data;if(Nt(r))for(Nt(t=r.hook)&&Nt(t=t.destroy)&&t(e),t=0;t<C.destroy.length;++t)C.destroy[t](e);if(Nt(t=e.children))for(n=0;n<e.children.length;++n)v(e.children[n])}function g(e,t,n,i){for(;n<=i;++n){var o=t[n];Nt(o)&&(Nt(o.tag)?(y(o),v(o)):r(o.elm))}}function y(e,t){if(Nt(t)||Nt(e.data)){var i=C.remove.length+1;for(Nt(t)?t.listeners+=i:t=n(e.elm,i),Nt(k=e.componentInstance)&&Nt(k=k._vnode)&&Nt(k.data)&&y(k,t),k=0;k<C.remove.length;++k)C.remove[k](e,t);Nt(k=e.data.hook)&&Nt(k=k.remove)?k(e,t):t()}else r(e.elm)}function $(e,t,n,r,i){for(var a,s,u,l,c=0,f=0,d=t.length-1,h=t[0],p=t[d],v=n.length-1,y=n[0],$=n[v],_=!i;c<=d&&f<=v;)Rt(h)?h=t[++c]:Rt(p)?p=t[--d]:qt(h,y)?(b(h,y,r),h=t[++c],y=n[++f]):qt(p,$)?(b(p,$,r),p=t[--d],$=n[--v]):qt(h,$)?(b(h,$,r),_&&E.insertBefore(e,h.elm,E.nextSibling(p.elm)),h=t[++c],$=n[--v]):qt(p,y)?(b(p,y,r),_&&E.insertBefore(e,p.elm,h.elm),p=t[--d],y=n[++f]):(Rt(a)&&(a=Ut(t,c,d)),s=Nt(y.key)?a[y.key]:null,Rt(s)?(o(y,r,e,h.elm),y=n[++f]):(u=t[s],qt(u,y)?(b(u,y,r),t[s]=void 0,_&&E.insertBefore(e,y.elm,h.elm),y=n[++f]):(o(y,r,e,h.elm),y=n[++f])));c>d?(l=Rt(n[v+1])?null:n[v+1].elm,m(e,l,n,f,v,r)):f>v&&g(e,t,c,d)}function b(e,t,n,r){if(e!==t){if(Pt(t.isStatic)&&Pt(e.isStatic)&&t.key===e.key&&(Pt(t.isCloned)||Pt(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,u=t.children;if(Nt(o)&&d(t)){for(i=0;i<C.update.length;++i)C.update[i](e,t);Nt(i=o.hook)&&Nt(i=i.update)&&i(e,t)}Rt(t.text)?Nt(s)&&Nt(u)?s!==u&&$(a,s,u,n,r):Nt(u)?(Nt(e.text)&&E.setTextContent(a,""),m(a,null,u,0,u.length-1,n)):Nt(s)?g(a,s,0,s.length-1):Nt(e.text)&&E.setTextContent(a,""):e.text!==t.text&&E.setTextContent(a,t.text),Nt(o)&&Nt(i=o.hook)&&Nt(i=i.postpatch)&&i(e,t)}}function _(e,t,n){if(Pt(n)&&Nt(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}function w(e,t,n){t.elm=e;var r=t.tag,i=t.data,o=t.children;if(Nt(i)&&(Nt(k=i.hook)&&Nt(k=k.init)&&k(t,!0),Nt(k=t.componentInstance)))return u(t,n),!0;if(Nt(r)){if(Nt(o))if(e.hasChildNodes()){for(var a=!0,s=e.firstChild,l=0;l<o.length;l++){if(!s||!w(s,o[l],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else f(t,o,n);if(Nt(i))for(var c in i)if(!A(c)){h(t,n);break}}else e.data!==t.text&&(e.data=t.text);return!0}var k,x,C={},S=e.modules,E=e.nodeOps;for(k=0;k<ta.length;++k)for(C[ta[k]]=[],x=0;x<S.length;++x)Nt(S[x][ta[k]])&&C[ta[k]].push(S[x][ta[k]]);var A=i("attrs,style,class,staticClass,staticStyle,key");return function(e,n,r,i,a,s){if(Rt(n))return void(Nt(e)&&v(e));var u=!1,l=[];if(Rt(e))u=!0,o(n,l,a,s);else{var c=Nt(e.nodeType);if(!c&&qt(e,n))b(e,n,l,i);else{if(c){if(1===e.nodeType&&e.hasAttribute("server-rendered")&&(e.removeAttribute("server-rendered"),r=!0),Pt(r)&&w(e,n,l))return _(n,l,!0),e;e=t(e)}var f=e.elm,h=E.parentNode(f);if(o(n,l,f._leaveCb?null:h,E.nextSibling(f)),Nt(n.parent)){for(var p=n.parent;p;)p.elm=n.elm,p=p.parent;if(d(n))for(var m=0;m<C.create.length;++m)C.create[m](ea,n.parent)}Nt(h)?g(h,[e],0,0):Nt(e.tag)&&v(e)}}return _(n,l,u),n.elm}}({nodeOps:Ko,modules:Ma});Pi&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Kn(e,"input")});var Fa={inserted:function(e,t,n){if("select"===n.tag){var r=function(){Wn(e,t,n.context)};r(),(Ni||qi)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==e.type&&"password"!==e.type||(e._vModifiers=t.modifiers,t.modifiers.lazy||(ji||(e.addEventListener("compositionstart",Jn),e.addEventListener("compositionend",Qn)),Pi&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Wn(e,t,n.context);(e.multiple?t.value.some(function(t){return Gn(t,e.options)}):t.value!==t.oldValue&&Gn(t.value,e.options))&&Kn(e,"change")}}},La={bind:function(e,t,n){var r=t.value;n=Xn(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i&&!Pi?(n.data.show=!0,zn(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;r!==t.oldValue&&(n=Xn(n),
|
||
n.data&&n.data.transition&&!Pi?(n.data.show=!0,r?zn(n,function(){e.style.display=e.__vOriginalDisplay}):Vn(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Ia={model:Fa,show:La},Ra={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Na={name:"transition",props:Ra,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag}),n.length)){var r=this.mode,i=n[0];if(rr(this.$vnode))return i;var o=er(i);if(!o)return i;if(this._leaving)return nr(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=tr(this),l=this._vnode,c=er(l);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),c&&c.data&&!ir(o,c)){var d=c&&(c.data.transition=f({},u));if("out-in"===r)return this._leaving=!0,Z(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),nr(e,i);if("in-out"===r){var h,p=function(){h()};Z(u,"afterEnter",p),Z(u,"enterCancelled",p),Z(d,"delayLeave",function(e){h=e})}}return i}}},Pa=f({tag:String,moveClass:String},Ra);delete Pa.mode;var qa={props:Pa,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=tr(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var l=[],c=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?l.push(d):c.push(d)}this.kept=e(t,null,l),this.removed=c}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";if(e.length&&this.hasMove(e[0].elm,t)){e.forEach(or),e.forEach(ar),e.forEach(sr);var n=document.body;n.offsetHeight;e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;Rn(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(xa,n._moveCb=function e(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(xa,e),n._moveCb=null,Nn(n,t))})}})}},methods:{hasMove:function(e,t){if(!ba)return!1;if(null!=this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Fn(n,e)}),On(n,t),n.style.display="none",this.$el.appendChild(n);var r=qn(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},ja={Transition:Na,TransitionGroup:qa};it.config.mustUseProp=qo,it.config.isReservedTag=Jo,it.config.getTagNamespace=bt,it.config.isUnknownElement=_t,f(it.options.directives,Ia),f(it.options.components,ja),it.prototype.__patch__=Ii?Oa:m,it.prototype.$mount=function(e,t){return e=e&&Ii?wt(e):void 0,ue(this,e,t)},setTimeout(function(){Mi.devtools&&Bi&&Bi.emit("init",it)},0);var Ua,za=!!Ii&&function(e,t){var n=document.createElement("div");return n.innerHTML='<div a="'+e+'">',n.innerHTML.indexOf(t)>0}("\n"," "),Va=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ha=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ya=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Wa=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Ya.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ja=/^\s*(\/?)>/,Qa=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Ka=/^<!DOCTYPE [^>]+>/i,Xa=/^<!--/,es=/^<!\[/,ts=!1;"x".replace(/x(.)?/g,function(e,t){ts=""===t});var ns,rs,is,os,as,ss,us,ls,cs,fs,ds,hs,ps,ms,vs,gs,ys,$s,bs=i("script,style,textarea",!0),_s={},ws={"<":"<",">":">",""":'"',"&":"&"," ":"\n"},ks=/&(?:lt|gt|quot|amp);/g,xs=/&(?:lt|gt|quot|amp|#10);/g,Cs=/\{\{((?:.|\n)+?)\}\}/g,Ss=u(function(e){var t=e[0].replace(/[-.*+?^${}()|[\]\/\\]/g,"\\$&"),n=e[1].replace(/[-.*+?^${}()|[\]\/\\]/g,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),Es=/^@|^v-on:/,As=/^v-|^@|^:/,Ds=/(.*?)\s+(?:in|of)\s+(.*)/,Ts=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,Ms=/:(.*)$/,Os=/^:|^v-bind:/,Fs=/\.[^.]+/g,Ls=u(ur),Is=/^xmlns:NS\d+/,Rs=/^NS\d+:/,Ns=u(Or),Ps=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,qs=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,js={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Us=function(e){return"if("+e+")return null;"},zs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Us("$event.target !== $event.currentTarget"),ctrl:Us("!$event.ctrlKey"),shift:Us("!$event.shiftKey"),alt:Us("!$event.altKey"),meta:Us("!$event.metaKey"),left:Us("'button' in $event && $event.button !== 0"),middle:Us("'button' in $event && $event.button !== 1"),right:Us("'button' in $event && $event.button !== 2")},Vs={bind:zr,cloak:m},Bs=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),{staticKeys:["staticClass"],transformNode:hi,genData:pi}),Hs={staticKeys:["staticStyle"],transformNode:mi,genData:vi},Ys=[Bs,Hs],Ws={model:mn,text:gi,html:yi},Gs={expectHTML:!0,modules:Ys,directives:Ws,isPreTag:Zo,isUnaryTag:Va,mustUseProp:qo,canBeLeftOpenTag:Ba,isReservedTag:Jo,getTagNamespace:bt,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Ys)},Zs=function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(r.warn=function(e,t){(t?o:i).push(e)},n){n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=f(Object.create(e.directives),n.directives));for(var a in n)"modules"!==a&&"directives"!==a&&(r[a]=n[a])}var s=fi(t,r);return s.errors=i,s.tips=o,s}function n(e,n,i){n=n||{};var o=n.delimiters?String(n.delimiters)+e:e;if(r[o])return r[o];var a=t(e,n),s={},u=[];s.render=di(a.render,u);var l=a.staticRenderFns.length;s.staticRenderFns=new Array(l);for(var c=0;c<l;c++)s.staticRenderFns[c]=di(a.staticRenderFns[c],u);return r[o]=s}var r=Object.create(null);return{compile:t,compileToFunctions:n}}(Gs),Js=Zs.compileToFunctions,Qs=u(function(e){var t=wt(e);return t&&t.innerHTML}),Ks=it.prototype.$mount;it.prototype.$mount=function(e,t){if((e=e&&wt(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Qs(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=$i(e));if(r){var i=Js(r,{shouldDecodeNewlines:za,delimiters:n.delimiters},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Ks.call(this,e,t)},it.compile=Js,t.exports=it}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],119:[function(e,t,n){"use strict";var r=e("moment");e("moment/locale/en-gb");var i=e("./pages/page-form");r.locale("en-gb"),t.exports=function(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=v}function s(t){p&&p(t),e.hide()}function u(t){p=t,e.showing=!0,$("#image-manager").find(".overlay").css("display","flex").hide().fadeIn(240),h||(l(),h=!0)}function l(){var t=g+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm),t+=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&"),r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=n.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],v=!1;e.getUploadUrl=function(){return window.baseUrl("/images/"+e.imageType+"/upload")},e.cancelSearch=a,e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.emit("success",trans("components.image_upload_success"))},e.imageSelect=function(t){var n=Date.now();n-f<300&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=n,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1,$("#image-manager").find(".overlay").fadeOut(240)};var g=window.baseUrl("/images/"+e.imageType+"/all/");e.fetchData=l,e.searchImages=function(){if(""===e.searchTerm)return void a();e.searching||(m=e.images,v=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,g=window.baseUrl("/images/"+e.imageType+"/search/"),l()},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,g=window.baseUrl("/images/"+e.imageType+"/"+t+"/"),l()},e.saveImageDetails=function(n){n.preventDefault();var i=window.baseUrl("/images/update/"+e.selectedImage.id);r.put(i,this.selectedImage).then(function(e){t.emit("success",trans("components.image_update_success"))},function(e){if(422===e.status){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)}else 403===e.status&&t.emit("error",e.data.error)})},e.deleteImage=function(n){n.preventDefault();var i=!1!==e.dependantPages,o=window.baseUrl("/images/"+e.selectedImage.id);i&&(o+="?force=true"),r.delete(o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success",trans("components.image_delete_success"))},function(n){400===n.status?e.dependantPages=n.data:403===n.status&&t.emit("error",n.data.error)})},e.getDate=function(e){return new Date(e)}}]),e.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(e,n,o,a,s,u){function l(){g.title=$("#name").val(),g.html=e.editContent,v=a(function(){if(!(Date.now()-y<1e3*p/2)){var t=$("#name").val(),n=e.editContent;t===g.title&&n===g.html||(g.html=n,g.title=t,c())}},1e3*p)}function c(){if(e.draftsEnabled){var i={name:$("#name").val(),html:m?u.getTrustedHtml(e.displayContent):e.editContent};m&&(i.markdown=e.editContent);var o=window.baseUrl("/ajax/page/"+d+"/save-draft");n.put(o,i).then(function(t){b=!1;var n=r.utc(r.unix(t.data.timestamp)).toDate();e.draftText=t.data.message+r(n).format("HH:mm"),e.isNewPageDraft||(e.isUpdateDraft=!0),f(),y=Date.now()},function(e){b||(t.emit("error",trans("errors.page_draft_autosave_fail")),b=!0)})}}function f(){e.draftUpdated=!0,s(function(){e.draftUpdated=!1},2e3)}e.editorOptions=i(),e.editContent="",e.draftText="";var d=Number(o.pageId),h=0!==d,p=30,m="markdown"===o.editorType;e.draftsEnabled="true"===o.draftsEnabled,e.isUpdateDraft=1===Number(o.pageUpdateDraft),e.isNewPageDraft=1===Number(o.pageNewDraft),e.isUpdateDraft||e.isNewPageDraft?e.draftText=trans("entities.pages_editing_draft"):e.draftText=trans("entities.pages_editing_page");var v=!1,g={title:!1,html:!1};h&&e.draftsEnabled&&setTimeout(function(){l()},1e3),m&&(e.displayContent="",e.editorChange=function(t){e.displayContent=u.trustAsHtml(t)}),m||(e.editorChange=function(){});var y=0,b=!1;e.forceDraftSave=function(){c()},e.$on("editor-keydown",function(e,t){83==t.keyCode&&(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)&&(t.preventDefault(),c())}),e.discardDraft=function(){var r=window.baseUrl("/ajax/page/"+d);n.get(r).then(function(n){v&&a.cancel(v),e.draftText=trans("entities.pages_editing_page"),e.isUpdateDraft=!1,e.$broadcast("html-update",n.data.html),e.$broadcast("markdown-update",n.data.markdown||n.data.html),$("#name").val(n.data.name),s(function(){l()},1e3),t.emit("success",trans("entities.pages_draft_discarded"))})}}]),e.controller("PageTagController",["$scope","$http","$attrs",function(e,t,n){function r(){e.tags.push({name:"",value:""})}var i=Number(n.pageId);e.tags=[],e.sortOptions={handle:".handle",items:"> tr",containment:"parent",axis:"y"},e.addEmptyTag=r,function(){var n=window.baseUrl("/ajax/tags/get/page/"+i);t.get(n).then(function(t){e.tags=t.data,r()})}(),e.tagChange=function(t){e.tags.indexOf(t)===e.tags.length-1&&(""===t.name&&""===t.value||r())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),e.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,n,r){function i(){return{page_id:u}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==l&&(l=o,n.put(window.baseUrl("/attachments/sort/page/"+u),{files:e.files}).then(function(e){t.emit("success",e.data.message)},s("sort")))}function a(t){for(var n=0;n<e.files.length;n++)if(e.files[n].id==t.id)return n;return-1}function s(n){return e.errors[n]={},function(r){void 0!==r.data&&void 0!==r.data.error&&t.emit("error",r.data.error),void 0!==r.data&&void 0!==r.data.validation&&(e.errors[n]=r.data.validation,console.log(e.errors[n]))}}var u=e.uploadedTo=r.pageId,l="";e.files=[],e.editFile=!1,e.file=i(),e.errors={link:{},edit:{}},e.sortOptions={handle:".handle",items:"> tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t=void 0!==e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},function(){var t=window.baseUrl("/attachments/get/page/"+u);n.get(t).then(function(t){e.files=t.data,l=t.data.map(function(e){return e.id}).join(":")},s("get"))}(),e.uploadSuccess=function(n,r){e.$apply(function(){e.files.push(r)}),t.emit("success",trans("entities.attachments_file_uploaded"))},e.uploadSuccessUpdate=function(n,r){e.$apply(function(){var t=a(r);-1!==t&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),t.emit("success",trans("entities.attachments_file_updated"))},e.deleteFile=function(r){if(!r.deleting)return void(r.deleting=!0);n.delete(window.baseUrl("/attachments/"+r.id)).then(function(n){t.emit("success",n.data.message),e.files.splice(e.files.indexOf(r),1)},s("delete"))},e.attachLinkSubmit=function(r){r.uploaded_to=u,n.post(window.baseUrl("/attachments/link"),r).then(function(n){e.files.push(n.data),t.emit("success",trans("entities.attachments_link_attached")),e.file=i()},s("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){n.put(window.baseUrl("/attachments/"+r.id),r).then(function(n){var i=a(n.data);-1!==i&&(e.files[i]=n.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,t.emit("success",trans("entities.attachments_updated_success"))},s("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])}},{"./pages/page-form":122,moment:107,"moment/locale/en-gb":106}],120:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("markdown-it"),o=e("markdown-it-task-lists");t.exports=function(e,t){e.directive("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("dropZone",[function(){return{restrict:"E",template:'\n <div class="dropzone-container">\n <div class="dz-message">{{message}}</div>\n </div>\n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){e.message=n.message,n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o=void 0===e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),void 0!==e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),void 0!==e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r(trans("errors.server_upload_limit")),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn");var e=r.find("input");e.length>0&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode();n.parentNode.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]);var n=new i({html:!0});n.use(o,{label:!0}),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,r,i){r=r.find("textarea").first();var o=r.val();t.mdModel=o,t.mdChange(n.render(o)),r.on("change input",function(i){o=r.val(),e(function(){t.mdModel=o,t.mdChange(n.render(o))})}),t.$on("markdown-update",function(e,i){r.val(i),t.mdModel=i,t.mdChange(n.render(i))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,v=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;n<t.length;n++)s(t[n].getAsFile())}}function a(e){e.stopPropagation(),e.preventDefault();for(var t=e.originalEvent.dataTransfer.files,n=0;n<t.length;n++)s(t[n])}function s(e){if(0===e.type.indexOf("image")){var t=new FormData,n="png",r=new XMLHttpRequest;if(e.name){var i=e.name.match(/\.(.+)$/);i&&(n=i[1])}var o="image-"+Math.random().toString(16).slice(2),a=u[0].selectionStart,s=u[0].selectionEnd,l=u[0].value,c=l.substring(a,s),f=window.baseUrl("/loading.gif#upload"+o),d=(s>a?"!["+c+"]":"![]")+"("+f+")";u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else console.log(trans("errors.image_upload_error")),console.log(r.responseText),u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]');l.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))});var d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,v=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var g=0;u.on("scroll",function(e){var t=Date.now();t-g>800&&r();var n=u.scrollTop()/(h-p),i=(m-v)*n;l.scrollTop(i),g=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val();return u.val(r.substring(0,n)+""+r.substring(n)),u.focus(),u[0].selectionStart=n+"}if(75===t.which&&t.ctrlKey&&t.shiftKey)return void i();e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]");t.find("[toolbox-toggle]").click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){r($(this).attr("toolbox-tab-button"),!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n<t.length;n++){var r=document.createElement("li");r.textContent=t[n],r.onclick=a,0===n&&(r.className="active",h=0),c[0].appendChild(r)}m=t}function a(e){d[0].value=this.textContent,d.focus(),c.hide(),f=!1}function s(t,n){var r=-1!==n.indexOf("?"),i=n+(r?"&":"?")+"search="+encodeURIComponent(t);return void 0!==u[i]?new Promise(function(e,t){e(u[i])}):e.get(i).then(function(e){return u[i]=e.data,e.data})}var u={},l=document.createElement("ul");l.className="suggestion-box",l.style.position="absolute",l.style.display="none";var c=$(l),f=!1,d=!1,h=0;n.on("input focus","[autosuggest]",function(e){var t=$(this),n=t.val(),r=t.attr("autosuggest");if("value"===t.attr("autosuggest-type").toLowerCase()){var i=t.closest("tr").find('[autosuggest-type="name"]').first(),a=i.val();""!==a&&(r+="?name="+encodeURIComponent(a))}s(n.slice(0,3),r).then(function(e){0===n.length?o(t,e.slice(0,6)):(e=e.filter(function(e){return-1!==e.toLowerCase().indexOf(n.toLowerCase())}).slice(0,4),o(t,e))})});var p=0;n.on("blur","[autosuggest]",function(e){var t=Date.now();setTimeout(function(){p<t&&(c.hide(),f=!1)},200)}),n.on("focus","[autosuggest]",function(e){p=Date.now()}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){i(h===n-1?0:h+1,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if((13===e.keyCode||9===e.keyCode)&&!e.shiftKey&&(d[0].value=t[h].textContent,d.focus(),c.hide(),f=!1,13===e.keyCode))return e.preventDefault(),!1}});var m=[]}}}]),e.directive("entityLinkSelector",[function(e){return{restrict:"A",link:function(e,n,r){function i(e){l=e,null===e?s.attr("disabled","true"):s.removeAttr("disabled")}function o(){n.fadeIn(240)}function a(){n.fadeOut(240)}var s=n.find(".entity-link-selector-confirm"),u=!1,l=null;t.listen("entity-select-change",i),s.click(function(e){a(),null!==l&&u(l)}),t.listen("entity-select-confirm",function(e){a(),u(e)}),window.showEntityLinkSelector=function(e){o(),u=e}}}}]),e.directive("entitySelector",["$http","$sce",function(e,n){return{restrict:"A",scope:!0,link:function(r,i,o){function a(){var e=Date.now(),t=e-c<300;return c=e,t}function s(e,n){var r=e.attr("data-entity-type"),o=e.attr("data-entity-id"),a=!e.hasClass("selected")||n;i.find(".selected").removeClass("selected").removeClass("primary-background"),a&&e.addClass("selected").addClass("primary-background");var s=a?r+":"+o:"";if(l.val(s),a||t.emit("entity-select-change",null),n||a){var u=e.find(".entity-list-item-link").attr("href"),c=e.find(".entity-list-item-name").text();n&&t.emit("entity-select-confirm",{id:Number(o),name:c,link:u}),a&&t.emit("entity-select-change",{id:Number(o),name:c,link:u})}}function u(){var e=o.entityTypes?encodeURIComponent(o.entityTypes):encodeURIComponent("page,book,chapter");return window.baseUrl("/ajax/search/entities?types="+e)}r.loading=!0,r.entityResults=!1,r.search="";var l=i.find("[entity-selector-input]").first(),c=0;i.on("click",".entity-list a",function(e){e.preventDefault(),e.stopPropagation(),s($(this).closest("[data-entity-type]"),a())}),i.on("click","[data-entity-type]",function(e){s($(this),a())}),e.get(u()).then(function(e){r.entityResults=n.trustAsHtml(e.data),r.loading=!1}),r.searchEntities=function(){r.loading=!0,l.val("");var t=u()+"&term="+encodeURIComponent(r.search);e.get(t).then(function(e){r.entityResults=n.trustAsHtml(e.data),r.loading=!1})}}}}])}},{dropzone:41,"markdown-it":49,"markdown-it-task-lists":48}],121:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();window.baseUrl=function(e){var t=document.querySelector('meta[name="base-url"]').getAttribute("content");return"/"===t[t.length-1]&&(t=t.slice(0,t.length-1)),"/"===e[0]&&(e=e.slice(1)),t+"/"+e};var o=e("vue"),a=e("axios"),s=a.create({headers:{"X-CSRF-TOKEN":document.querySelector("meta[name=token]").getAttribute("content"),baseURL:window.baseUrl("")}});o.prototype.$http=s,e("./vues/vues");var u=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize"),e("angular-ui-sortable");var l=u.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),c=e("./translations"),f=new c(window.translations);window.trans=f.get.bind(f);var d=function(){function e(){r(this,e),this.listeners={}}return i(e,[{key:"emit",value:function(e,t){if(void 0===this.listeners[e])return this;for(var n=this.listeners[e],r=0;r<n.length;r++){(0,n[r])(t)}return this}},{key:"listen",value:function(e,t){return void 0===this.listeners[e]&&(this.listeners[e]=[]),this.listeners[e].push(t),this}}]),e}();window.Events=new d,o.prototype.$events=window.Events;var h=e("./services"),p=e("./directives"),m=e("./controllers");h(l,window.Events),p(l,window.Events),m(l,window.Events),jQuery.fn.smoothScrollTo=function(){if(0!==this.length)return $("html, body").animate({scrollTop:this.offset().top-60},300),this},jQuery.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}});var v=$(".notification"),g=v.filter(".pos"),y=v.filter(".neg"),b=v.filter(".warning");window.Events.listen("success",function(e){g.hide(),g.find("span").text(e),setTimeout(function(){g.show()},1)}),window.Events.listen("warning",function(e){b.find("span").text(e),b.show()}),window.Events.listen("error",function(e){y.find("span").text(e),y.show()}),v.click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)}),$("#back-to-top").click(function(){$("#header").smoothScrollTo()});var _=!1,w=document.getElementById("back-to-top");window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!_&&e>1200?(w.style.display="block",_=!0,setTimeout(function(){w.style.opacity=.4},1)):_&&e<1200&&(w.style.opacity=0,_=!1,setTimeout(function(){w.style.display="none"},500))}),$('[data-action="expand-entity-list-details"]').click(function(){$(".entity-list.compact").find("p").not(".empty-text").slideToggle(240)}),$(".popup-close").click(function(){$(this).closest(".overlay").fadeOut(240)}),$(".overlay").click(function(e){$(e.target).hasClass("overlay")&&$(this).fadeOut(240)}),(-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0||-1!==navigator.userAgent.indexOf("Safari"))&&$("body").addClass("flexbox-support"),e("./pages/page-show")},{"./controllers":119,"./directives":120,"./pages/page-show":123,"./services":124,"./translations":125,"./vues/vues":128,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7,axios:10,vue:118}],122:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=0;r<n.length;r++){var i=function(e){if(-1===n[e].type.indexOf("image"))return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'<img src="'+l+'" id="'+u+'">');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)}(r);if("object"===(void 0===i?"undefined":o(i)))return i.v}}}function i(e){for(var t=1;t<5;t++)e.addShortcut("meta+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("meta+q","",["FormatBlock",!1,"blockquote"]),e.addShortcut("meta+d","",["FormatBlock",!1,"p"]),e.addShortcut("meta+e","",["FormatBlock",!1,"pre"]),e.addShortcut("meta+shift+E","",["FormatBlock",!1,"code"])}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.exports=function(){var e={selector:"#html-editor",content_css:[window.baseUrl("/css/styles.css"),window.baseUrl("/libs/material-design-iconic-font/css/material-design-iconic-font.min.css")],body_class:"page-content",browser_spellcheck:!0,relative_urls:!1,remove_script_host:!1,document_base_url:window.baseUrl("/"),statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",
|
||
plugins:"image table textcolor paste link autolink fullscreen imagetools code customhr autosave lists",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header Large",format:"h2"},{title:"Header Medium",format:"h3"},{title:"Header Small",format:"h4"},{title:"Header Tiny",format:"h5"},{title:"Paragraph",format:"p",exact:!0,classes:""},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"},{title:"Callouts",items:[{title:"Success",block:"p",exact:!0,attributes:{class:"callout success"}},{title:"Info",block:"p",exact:!0,attributes:{class:"callout info"}},{title:"Warning",block:"p",exact:!0,attributes:{class:"callout warning"}},{title:"Danger",block:"p",exact:!0,attributes:{class:"callout danger"}}]}],style_formats_merge:!1,formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){"file"===n&&window.showEntityLinkSelector(function(t){var n=r.document.getElementById(e);n.value=t.link,$(n).closest(".mce-form").find("input").eq(2).val(t.name)}),"image"===n&&window.ImageManager.showExternal(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange");var i='<a href="'+t.url+'" target="_blank">';i+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',i+="</a>",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){-1!==t.content.indexOf('<img src="file://')&&(t.content="")},extraSetups:[],setup:function(t){function n(e){return e&&!(!e.textContent&&!e.innerText)}for(var o=0;o<e.extraSetups.length;o++)e.extraSetups[o](t);i(t);var a=void 0;t.on("dragstart",function(){var e=t.selection.getNode();"IMG"===e.nodeName&&((a=t.dom.getParent(e,".mceTemp"))||"A"!==e.parentNode.nodeName||n(e.parentNode)||(a=e.parentNode))}),t.on("drop",function(e){var n=t.dom,r=tinymce.dom.RangeUtils.getCaretRangeFromPoint(e.clientX,e.clientY,t.getDoc());n.getParent(r.startContainer,".mceTemp")?e.preventDefault():a&&(e.preventDefault(),t.undoManager.transact(function(){t.selection.setRng(r),t.selection.setNode(a),n.remove(a)})),a=null}),t.addButton("image-insert",{title:"My title",icon:"image",tooltip:"Insert an image",onclick:function(){window.ImageManager.showExternal(function(e){var n='<a href="'+e.url+'" target="_blank">';n+='<img src="'+e.thumbs.display+'" alt="'+e.name+'">',n+="</a>",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{}],123:[function(e,t,n){"use strict";var r=e("clipboard"),i=window.setupPageShow=function(e){function t(){var t=d?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";d&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),u.find("input").val(t)}function n(e){var t=document.getElementById(e);if($(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t){var n=$(t),r=$("#custom-styles").attr("data-color-light");n.css("background-color",r).attr("data-highlighted","true").smoothScrollTo(),setTimeout(function(){n.addClass("anim").addClass("selectFade").css("background-color",""),setTimeout(function(){n.removeClass("selectFade")},3e3)},100)}else $(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function i(){m.width(v.width()+15),m.addClass("fixed"),b=!0}function o(){m.css("width","auto"),m.removeClass("fixed"),b=!1}function a(e){var t=p.scrollTop()>y;!t||b&&!e?t||!b&&!e||o():i()}function s(){a(!1)}var u=$("#pointer").detach(),l=!1,c=u.children("div.pointer").first(),f=!1,d=!0,h="";u.on("click","input",function(e){$(this).select(),e.stopPropagation()}),u.on("click","span.icon",function(e){var n=$(e.currentTarget);d=!d,n.html(d?'<i class="zmdi zmdi-link"></i>':'<i class="zmdi zmdi-square-down"></i>'),t()});new r("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(l&&!f){$(e.target).is(".zmdi")||1===$(e.target).closest("#pointer").length||(u.detach(),l=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){if(e.stopPropagation(),0!==window.getSelection().toString().length){var n=$(this);h=n.attr("id"),t(),n.before(u),u.show(),l=!0;var r=e.pageX-n.offset().left-c.width()/2;r<0&&(r=0);var i=r/n.width()*100;c.css("left",i+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){n(window.location.hash.replace(/\%20/g," ").substr(1))}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var p=$(window),m=$(".book-tree"),v=m.parent(),g=$(document).height()>p.height()&&m.height()<$(".page-content").height(),y=$("#header").height()+$(".toolbar").height(),b=p.scrollTop()>y;g&&p.width()>1e3&&(p.on("scroll",s),a(!0)),p.on("resize",function(e){g&&p.width()>1e3?(p.on("scroll",s),a(!0)):(p.off("scroll",s),o())})};t.exports=i},{clipboard:38}],124:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}],125:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){r(this,e),this.store=t}return i(e,[{key:"get",value:function(e,t){var n=e.split("."),r=n.reduce(function(e,t){return void 0!=e?e[t]:e},this.store);if(void 0===r&&(console.log('Translation with key "'+e+'" does not exist'),r=e),void 0===t)return r;var i=r.match(/:([\S]+)/g);return null===i?r:(i.forEach(function(e){var n=e.substring(1);void 0!==t[n]&&(r=r.replace(e,t[n]))}),r)}}]),e}();t.exports=o},{}],126:[function(e,t,n){"use strict";function r(){this.id=Number(this.$el.getAttribute("entity-id")),this.type=this.$el.getAttribute("entity-type")}var i={id:null,type:"",searching:!1,searchTerm:"",searchResults:""},o={},a={searchBook:function(){var e=this;if(0!==this.searchTerm.trim().length){this.searching=!0,this.searchResults="";var t=window.baseUrl("/search/"+this.type+"/"+this.id);t+="?term="+encodeURIComponent(this.searchTerm),this.$http.get(t).then(function(t){e.searchResults=t.data})}},checkSearchForm:function(){this.searching=this.searchTerm>0},clearSearch:function(){this.searching=!1,this.searchTerm=""}};t.exports={data:i,computed:o,methods:a,mounted:r}},{}],127:[function(e,t,n){"use strict";function r(){this.termString=document.querySelector("[name=searchTerm]").value,this.typeParse(this.termString),this.exactParse(this.termString),this.tagParse(this.termString),this.optionParse(this.termString),this.dateParse(this.termString)}var i=e("moment"),o={terms:"",termString:"",search:{type:{page:!0,chapter:!0,book:!0},exactTerms:[],tagTerms:[],option:{},dates:{updated_after:!1,updated_before:!1,created_after:!1,created_before:!1}}},a={},s={appendTerm:function(e){this.termString+=" "+e,this.termString=this.termString.replace(/\s{2,}/g," "),this.termString=this.termString.replace(/^\s+/,""),this.termString=this.termString.replace(/\s+$/,"")},exactParse:function(e){this.search.exactTerms=[];for(var t=/"(.+?)"/g,n=void 0;null!==(n=t.exec(e));)this.search.exactTerms.push(n[1])},exactChange:function(){this.termString=this.termString.replace(/"(.+?)"/g,"");var e=this.search.exactTerms.filter(function(e){return""!==e.trim()}).map(function(e){return'"'+e+'"'}).join(" ");this.appendTerm(e)},addExact:function(){this.search.exactTerms.push(""),setTimeout(function(){var e=document.querySelectorAll(".exact-input");e[e.length-1].focus()},100)},removeExact:function(e){this.search.exactTerms.splice(e,1),this.exactChange()},tagParse:function(e){this.search.tagTerms=[];for(var t=/\[(.+?)\]/g,n=void 0;null!==(n=t.exec(e));)this.search.tagTerms.push(n[1])},tagChange:function(){this.termString=this.termString.replace(/\[(.+?)\]/g,"");var e=this.search.tagTerms.filter(function(e){return""!==e.trim()}).map(function(e){return"["+e+"]"}).join(" ");this.appendTerm(e)},addTag:function(){this.search.tagTerms.push(""),setTimeout(function(){var e=document.querySelectorAll(".tag-input");e[e.length-1].focus()},100)},removeTag:function(e){this.search.tagTerms.splice(e,1),this.tagChange()},typeParse:function(e){var t=e.match(/{\s?type:\s?(.*?)\s?}/),n=this.search.type;if(!t)return void(n.page=n.book=n.chapter=!0);var r=t[1].replace(/ /g,"").split("|");n.page=-1!==r.indexOf("page"),n.chapter=-1!==r.indexOf("chapter"),n.book=-1!==r.indexOf("book")},typeChange:function(){var e=this,t=/{\s?type:\s?(.*?)\s?}/,n=this.search.type;if(n.page===n.chapter&&n.page===n.book)return void(this.termString=this.termString.replace(t,""));var r=Object.keys(n).filter(function(t){return e.search.type[t]}).join("|"),i="{type:"+r+"}";if(this.termString.match(t))return void(this.termString=this.termString.replace(t,i));this.appendTerm(i)},optionParse:function(e){for(var t=/{([a-z_\-:]+?)}/gi,n=void 0;null!==(n=t.exec(e));)this.search.option[n[1].toLowerCase()]=!0},optionChange:function(e){this.search.option[e]?this.appendTerm("{"+e+"}"):this.termString=this.termString.replace("{"+e+"}","")},updateSearch:function(e){e.preventDefault(),window.location="/search?term="+encodeURIComponent(this.termString)},enableDate:function(e){this.search.dates[e.toLowerCase()]=i().format("YYYY-MM-DD"),this.dateChange(e)},dateParse:function(e){for(var t=/{([a-z_\-]+?):([a-z_\-0-9]+?)}/gi,n=Object.keys(this.search.dates),r=void 0;null!==(r=t.exec(e));)-1!==n.indexOf(r[1])&&(this.search.dates[r[1].toLowerCase()]=r[2])},dateChange:function(e){var t=new RegExp("{\\s?"+e+"\\s?:([a-z_\\-0-9]+?)}","gi");this.termString=this.termString.replace(t,""),this.search.dates[e]&&this.appendTerm("{"+e+":"+this.search.dates[e]+"}")},dateRemove:function(e){this.search.dates[e]=!1,this.dateChange(e)}};t.exports={data:o,computed:a,methods:s,created:r}},{moment:107}],128:[function(e,t,n){"use strict";function r(e){return null!==document.getElementById(e)}var i=e("vue"),o={"search-system":e("./search"),"entity-dashboard":e("./entity-search")};Object.keys(o).forEach(function(e){if(r(e)){var t=o[e];t.el="#"+e,new i(t)}})},{"./entity-search":126,"./search":127,vue:118}]},{},[121]); |