1(function ($, Drupal, settings) {/*! For license information please see core.bundle.js.LICENSE */ 2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jQuery")):"function"==typeof define&&define.amd?define(["jQuery"],t):"object"==typeof exports?exports.Stratis=t(require("jQuery")):e.Stratis=t(e.jQuery)}(window,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/js/",n(n.s=273)}([function(e,t,n){"use strict";n.d(t,"g",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return S})),n.d(t,"D",(function(){return E})),n.d(t,"t",(function(){return k})),n.d(t,"L",(function(){return C})),n.d(t,"x",(function(){return T})),n.d(t,"G",(function(){return M})),n.d(t,"C",(function(){return A})),n.d(t,"A",(function(){return P})),n.d(t,"q",(function(){return I})),n.d(t,"i",(function(){return L})),n.d(t,"j",(function(){return D})),n.d(t,"l",(function(){return j})),n.d(t,"o",(function(){return N})),n.d(t,"p",(function(){return F})),n.d(t,"n",(function(){return R})),n.d(t,"s",(function(){return $})),n.d(t,"J",(function(){return B})),n.d(t,"M",(function(){return H})),n.d(t,"u",(function(){return z})),n.d(t,"B",(function(){return q})),n.d(t,"F",(function(){return W})),n.d(t,"m",(function(){return V})),n.d(t,"I",(function(){return G})),n.d(t,"v",(function(){return U})),n.d(t,"k",(function(){return X})),n.d(t,"f",(function(){return K})),n.d(t,"K",(function(){return Z})),n.d(t,"h",(function(){return J})),n.d(t,"w",(function(){return Q})),n.d(t,"E",(function(){return ee})),n.d(t,"y",(function(){return te})),n.d(t,"z",(function(){return ne})),n.d(t,"r",(function(){return ie})),n.d(t,"H",(function(){return re}));var i=n(9),r=n.n(i),o=arguments,a=void 0;function s(e){return(s="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})(e)}function l(e,t){return d(e)||c(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function c(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}}function d(e){if(Array.isArray(e))return e}function h(e){return m(e)||p(e)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function m(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var v={};["Arguments","Function","String","Number","Date","RegExp"].forEach((function(e){v["is".concat(e)]=function(t){return Object.prototype.toString.call(t)==="[object ".concat(e,"]")}}));var g=function(e){return v.isFunction(e)?e():e},b=function(e){return function(t){return function(n){return Object.prototype.hasOwnProperty.call(e,n)?e[n]:t}}},y=function(e){var t=function(e){return b({string:"string"==typeof e,number:"number"==typeof e,boolean:"boolean"==typeof e,function:"function"==typeof e,element:e instanceof Element,node:e.nodeType,array:Array.isArray(e),object:e instanceof Object&&!(e instanceof Array)})(!1)};Object.keys(e).forEach((function(n){if(!t(e[n])("array"))throw new Error("checkExpectedParams: You should pass values as an Array! Get: ".concat(e[n]));
2e[n].forEach((function(e){if(null==e)throw new Error("checkExpectedParams: Parameter is undefined!");if(!t(e)(n))throw console.log("Element with wrong type: ",e),window.errorExpected=e,new Error("checkExpectedParams: Parameter has wrong type. See above or check 'window.errorExpected'.\n (Expecting '".concat(n,"' type for '").concat(Object.prototype.toString.call(e),"')!"))}))}))},w=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return y({boolean:[e],function:[t]}),e?t():g(n)},x=function(e,t){[].concat(t).forEach((function(t){e.classList?e.classList.add(t):e.className+=" ".concat(t)}))},_=function(e,t){var n,i=t||{bubbles:!1,cancelable:!1,detail:void 0};return"function"==typeof CustomEvent?n=new CustomEvent(e,i):(n=document.createEvent("CustomEvent")).initCustomEvent(e,i),n},S=function(e){var t;return"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t},E=function(e,t){y({element:[e]}),[].concat(t).forEach((function(t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)".concat(t.split(" ").join("|"),"(\\b|$)"),"gi")," ")}))},k=function(e,t){y({element:[e]});var n=Array.isArray(t)?t:[].concat(t.split(" "));if(e.classList)return Boolean(n.filter((function(t){return e.classList.contains(t)})).length);var i="[object SVGAElement]"===Object.prototype.toString.call(e)?e.className.baseVal:e.className;return new RegExp("(^| )(".concat(n.join("|"),")( |$)"),"gi").test(i)},C=function(e,t){y({element:[e],string:[t]}),k(e,t)?E(e,t):x(e,t)},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"site-wrapper",n=document.querySelector(".".concat(t));"hidden"===e?(x(document.body,"-overflow-hidden"),x(n,"-overflow-hidden")):(E(document.body,"-overflow-hidden"),E(n,"-overflow-hidden"))},M=function(e,t){y({element:[e],object:[t]}),Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))},A=function(e,t){y({element:[e],array:[t]}),t.forEach((function(t){e.removeAttribute(t)}))},O=function(e,t){y({element:[e],string:[t]});var n=e["offset".concat(t)],i=getComputedStyle(e),r=l(b({Height:["marginTop","marginBottom"],Width:["marginLeft","marginRight"]})("Height")(t),2),o=r[0],a=r[1];return n+=parseInt(i[o],10)+parseInt(i[a],10)},P=function(e){return O(e,"Height")},I=function(e,t){y({node:[e],function:t});var n=[],i=e.parentElement.firstElementChild;do{t&&!t(i)||n.push(i)}while(null!==(i=i.nextElementSibling));return n},L=function(e,t){y({element:[e],string:[t]});for(var n=e;n&&!k(n,t);){if(n===document.body){n=null;break}n=n.parentNode}return n},D=function(e,t){y({element:[e],string:[t]});for(var n=e;n.tagName.toUpperCase()!==t.toUpperCase()&&(n=n.parentNode););return n},j=function(e){return(v.isString(e)?document.querySelector(e):e).querySelector("a, input, select, button")},N=function(e,t,n){var i=r.a.query.focusable({context:t});if(n&&(i=[].concat(h(n),h(i))),!i.length)return null;var o=i.findIndex((function(t){return t===e}));return o>=0&&o<i.length-1?i[o+1]:i[0]},F=function(e,t,n){var i=r.a.query.focusable({context:t});if(n&&(i=[].concat(h(i),h(n))),!i.length)return null;var o=i.findIndex((function(t){return t===e}));return o>0?i[o-1]:i[i.length-1]},R=function(e){var t=(v.isString(e)?document.querySelector(e):e).querySelectorAll("a, input, select, button");return t[t.length-1]},$=function(){return Math.random().toString(36).substr(2,16)},B=function(e,t){for(var n=(v.isString(e)?document.querySelector(e):e).querySelectorAll("a, input, select, button"),i=0;i<n.length;i++)n[i].setAttribute("tabindex",parseInt(t,10))},H=function(e){var t=e.getAttribute("tabindex")||0;return e.setAttribute("tabindex",t<0?0:-1)},z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["close","overlay","toggle"],i="relations-".concat($());[].concat(e).forEach((function(e){var t={"aria-controls":i,"aria-expanded":!1};n.filter((function(t){return e.className.indexOf(t)>=0})).length||(t["aria-haspopup"]=!0),M(e,t)}));var r=v.isString(t)?document.querySelector(t):t;r.id=i,r.setAttribute("aria-hidden",!0)},q=function(e){A(e,["aria-hidden","aria-expanded","aria-haspopup","aria-controls"]),[].slice.call(e.querySelectorAll("*")).forEac
2h((function(e){A(e,["aria-hidden","aria-expanded","aria-haspopup","aria-controls","id"])}))},W=function(e,t,n){var i="opened"===n||!0===n?1:0;[].concat(e).forEach((function(e){e.setAttribute("aria-expanded",(!!i).toString())})),t.setAttribute("aria-hidden",(!i).toString())},V=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return y({element:[e],boolean:[n]}),t=n?'[tabindex="0"]':'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',Array.prototype.slice.call(e.querySelectorAll(t))},Y=function(e){return["a","button","select","input","textarea"].filter((function(t){return e.tagName.toLowerCase()===t})).length>0},G=function(e){e[0].focus()},U=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=n?V(e,!0):V(e),r=i[0],o=i[i.length-1];9===t.keyCode&&(t.shiftKey?document.activeElement===r&&(t.preventDefault(),o.focus()):document.activeElement===o&&(t.preventDefault(),r.focus()))},X=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=31*t+e.charCodeAt(n),t|=0}return t},K=function(e,t){var n=null;return function(){var i=a,r=o;clearTimeout(n),n=setTimeout((function(){e.apply(i,r)}),t)}},Z=function(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=arguments.length>2?arguments[2]:void 0;return function(){for(var o=r||a,s=+new Date,l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];var d=u;t&&s<t+i?(clearTimeout(n),n=setTimeout((function(){t=s,e.apply(o,d)}),i)):(t=s,e.apply(o,d))}},J=function e(){for(var t=function(e){return e&&"object"===s(e)},n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];
2return i.reduce((function(n,i){return Object.keys(i).forEach((function(r){var o=n[r],a=i[r];Array.isArray(o)&&Array.isArray(a)?n[r]=o.concat.apply(o,h(a)):t(o)&&t(a)?n[r]=e(o,a):n[r]=a})),n}),{})},Q=function(e,t){y({node:[e,t]}),t.parentNode.insertBefore(e,t.nextSibling)},ee=function(e){for(var t=[],n=0;n<e.elements.length;n++){var i=e.elements[n];if(i.name&&!i.disabled&&"file"!==i.type&&"reset"!==i.type&&"submit"!==i.type&&"button"!==i.type)if("select-multiple"===i.type)for(var r=0;r<i.options.length;r++)i.options[r].selected&&t.push("".concat(encodeURIComponent(i.name),"=").concat(encodeURIComponent(i.options[r].value)));else("checkbox"!==i.type&&"radio"!==i.type||i.checked)&&t.push("".concat(encodeURIComponent(i.name),"=").concat(encodeURIComponent(i.value)))}return t.join("&")},te=function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(y({element:[t],number:[i]}),!i)return B(t,n);h(t.children).forEach((function(t){Y(t)&&t.setAttribute("tabindex",n),i>1&&e(t,n,i-1)}))},ne=function(){Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e==1/t:isNaN(e)&&isNaN(t)})},ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.innerWidth,t={0:"smartphone",767:"tablet",1279:"desktop"},n=Object.keys(t).reduce((function(t,n){return e>n?n:t}));return t[n]},re=function(e,t){h(e.children).forEach((function(e){return!!Y(e)&&e.setAttribute("tabindex",t)}))}},function(e,t,n){var i=n(4),r=n(16),o=n(29),a=n(24),s=n(36),l=function(e,t,n){var u,c,d,h,f=e&l.F,p=e&l.G,m=e&l.S,v=e&l.P,g=e&l.B,b=p?i:m?i[t]||(i[t]={}):(i[t]||{}).prototype,y=p?r:r[t]||(r[t]={}),w=y.prototype||(y.prototype={});for(u in p&&(n=t),n)d=((c=!f&&b&&void 0!==b[u])?b:n)[u],h=g&&c?s(d,i):v&&"function"==typeof d?s(Function.call,d):d,b&&a(b,u,d,e&l.U),y[u]!=d&&o(y,u,h),v&&w[u]!=d&&(w[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.context,n=e.label,i=void 0===n?"context-to-element":n,r=e.resolveDocument,a=e.defaultToDocument,s=(0,o.default)(t)[0];if(r&&s&&s.nodeType===Node.DOCUMENT_NODE&&(s=s.documentElement),!s&&a)return document.documentElement;if(!s)throw new TypeError(i+" requires valid options.context");if(s.nodeType!==Node.ELEMENT_NODE&&s.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(i+" requires options.context to be an Element");return s};var i,r=n(13),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(t,n){t.exports=e},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(7);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(155),o=(i=r)&&i.__esModule?i:{default:i};var a=JSON.parse(JSON.stringify(o.default)),s=a.os.family||"",l="Android"===s,u="Windows"===s.slice(0,7),c="OS X"===s,d="iOS"===s,h="Blink"===a.layout,f="Gecko"===a.layout,p="Trident"===a.layout,m="EdgeHTML"===a.layout,v="WebKit"===a.layout,g=parseFloat(a.version),b=Math.floor(g);a.majorVersion=b,a.is={ANDROID:l,WINDOWS:u,OSX:c,IOS:d,BLINK:h,GECKO:f,TRIDENT:p,EDGE:m,WEBKIT:v,IE9:p&&9===b,IE10:p&&10===b,IE11:p&&11===b},t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=m(n(152)),r=m(n(206)),o=m(n(209)),a=m(n(213)),s=m(n(215)),l=m(n(216)),u=m(n(224)),c=m(n(226)),d=m(n(227)),h=m(n(229)),f=m(n(232)),p=m(n(87));function m(e){return e&&e.__esModule?e:{default:e}}var v="undefined"!=typeof window&&window.ally;t.default={element:i.default,event:r.default,fix:o.default,get:a.default,is:s.default,maintain:l.default,map:u.default,observe:c.default,query:d.default,style:h.default,when:f.default,version:p.default,noConflict:function(){return"undefined"!=typeof window&&window.ally===this&&(window.ally=v),this}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return V||((V=r.default.get()).time||(r.default.set((e=(0,i.default)(W),Object.keys(q).forEach((function(t){e[t]=q[t]()})),e)),V=r.default.get()),V);var e};var i=z(n(154)),r=z(n(156)),o=z(n(88)),a=z(n(157)),s=z(n(158)),l=z(n(159)),u=z(n(160)),c=z(n(162)),d=z(n(164)),h=z(n(165)),f=z(n(166)),p=z(n(167)),m=z(n(168)),v=z(n(169)),g=z(n(170)),b=z(n(171)),y=z(n(172)),w=z(n(173)),x=z(n(174)),_=z(n(175)),S=z(n(176)),E=z(n(177)),k=z(n(178)),C=z(n(179)),T=z(n(180)),M=z(n(181)),A=z(n(182)),O=z(n(183)),P=z(n(184)),I=z(n(185)),L=z(n(186)),D=z(n(187)),j=z(n(188)),N=z(n(189)),F=z(n(190)),R=z(n(191)),$=z(n(192)),B=z(n(193)),H=z(n(195));function z(e){return e&&e.__esModule?e:{default:e}}var q={cssShadowPiercingDeepCombinator:o.default,focusInZeroDimensionObject:y.default,focusObjectSwf:E.default,focusSvgInIframe:N.default,tabsequenceAreaAtImgPosition:H.default},W={focusAreaImgTabindex:a.default,focusAreaTabindex:s.default,focusAreaWithoutHref:l.default,focusAudioWithoutControls:u.default,focusBrokenImageMap:c.default,focusChildrenOfFocusableFlexbox:d.default,focusFieldsetDisabled:h.default,focusFieldset:f.default,focusFlexboxContainer:p.default,focusFormDisabled:m.default,focusImgIsmap:v.default,focusImgUsemapTabindex:g.default,focusInHiddenIframe:b.default,focusInvalidTabindex:w.default,focusLabelTabindex:x.default,focusObjectSvg:S.default,focusObjectSvgHidden:_.default,focusRedirectImgUsemap:k.default,focusRedirectLegend:C.default,focusScrollBody:T.default,focusScrollContainerWithoutOverflow:M.default,focusScrollContainer:A.default,focusSummary:O.default,focusSvgFocusableAttribute:P.default,focusSvgTabindexAttribute:I.default,focusSvgNegativeTabindexAttribute:L.default,focusSvgUseTabindex:D.default,focusSvgForeignobjectTabindex:j.default,focusSvg:F.default,focusTabindexTrailingCharacters:R.default,focusTable:$.default,focusVideoWithoutControls:B.default};var V=null;e.exports=t.default},function(e,t,n){var i=n(111)("wks"),r=n(57),o=n(4).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(38),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return[];if(Array.isArray(e))return e;if(void 0!==e.nodeType)return[e];if("string"==typeof e&&(e=document.querySelectorAll(e)),void 0!==e.length)return[].slice.call(e,0);throw new TypeError("unexpected input "+String(e))},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument||document:document},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=[],i=(0,o.default)({label:"get/parents",context:t});i;)n.push(i),(i=i.parentNode)&&i.nodeType!==Node.ELEMENT_NODE&&(i=null);return n};var i,r=n(2),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t){var n=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(5)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(6),r=n(235),o=n(53),a=Object.defineProperty;t.f=n(17)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n(47)),r=h(n(95)),o=h(n(27)),a=h(n(96)),s=h(n(97)),l=h(n(2)),u=h(n(48)),c=h(n(23)),d=h(n(10));function h(e){return e&&e.__esModule?e:{default:e}}var f=void 0;function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,h=void 0===n?{disabled:!1,visible:!1,onlyTabbable:!1}:n;f||(f=(0,d.default)());var p=s.default.rules.except({onlyFocusableBrowsingContext:!0,visible:h.visible}),m=(0,l.default)({label:"is/focusable",resolveDocument:!0,context:t});if(!i.default.rules({context:m,except:h})||function(e){var t=e.nodeName.toLowerCase();if("embed"===t||"keygen"===t)return!0;var n=(0,c.default)(e);if(e.shadowRoot&&null===n)return!0;
2if("label"===t)return!f.focusLabelTabindex||null===n;if("legend"===t)return null===n;if(f.focusSvgFocusableAttribute&&(e.ownerSVGElement||"svg"===t)){var i=e.getAttribute("focusable");return i&&"false"===i}return"img"===t&&e.hasAttribute("usemap")?null===n||!f.focusImgUsemapTabindex:"area"===t&&!(0,r.default)(e)}(m))return!1;if(!h.disabled&&(0,a.default)(m))return!1;if(!h.onlyTabbable&&p(m))return!1;if(!h.visible){var v={context:m,except:{}};if(f.focusInHiddenIframe&&(v.except.browsingContext=!0),f.focusObjectSvgHidden)"object"===m.nodeName.toLowerCase()&&(v.except.cssVisibility=!0);if(!o.default.rules(v))return!1}var g=(0,u.default)(m);if(g&&!("object"!==g.nodeName.toLowerCase()||f.focusInZeroDimensionObject||g.offsetWidth&&g.offsetHeight))return!1;return!("svg"===m.nodeName.toLowerCase()&&f.focusSvgInIframe&&!g&&null===m.getAttribute("tabindex"))}p.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return p({context:t,except:e})};return t.rules=p,t};var m=p.except({});t.default=m,e.exports=t.default},function(e,t,n){"use strict";var i={fr:{paginationMoreElement:"Afficher plus de résultats",goToNextSection:"Aller à la section suivante",loading:"Chargement...",prevStep:"Ãtape précédente",nextStep:"Ãtape suivante",prevPage:"Page précédente",nextPage:"Page suivante",prev:"Précédent",next:"Suivant",stopCarrousel:"Arrêter le diaporama",startCarrousel:"Lancer le diaporama",activeSlide:"Slide active",listReadMore:"En savoir plus",listDownload:"Télécharger",listSeeAlso:"Voir aussi",mandatory:"obligatoire",formErrorInvalidDate:"La date doit être au format jj/mm/aaaa.",formErrorBirthdayInFutur:"La date de naissance est plus récente que la date d'aujourd'hui.",formErrorBirthdayDoNotExist:"La date de naissance n'existe pas.",formErrorEnterMail:"Veuillez entrer votre courriel.",formErrorConfirmMail:"Veuillez confirmer votre courriel.",formErrorInvalidMail:"Votre adresse e-mail est invalide. \nLe format doit être du type [email protected], sans espace ni caractères spéciaux (é, à , ç, !...).",formErrorSelectNewsletter:"Veuillez sélectionner une lettre d'information.",formErrorCheckMail:"La vérification de votre adresse email a échoué.",formErrorDateFormat:"L'un des champs date n'est pas au format jj/mm/aaaa, ou n'est pas valide. \nMerci de corriger.",formErrorMandatoryField:"Ce champ est obligatoire.",formErrorsSummary:"Votre formulaire contient les erreurs suivantes ",pleaseWaitForFile:"Envoi des pièces jointes en cours, veuillez patienter... ",pleaseWait:"Veuillez patienter... ",validEmail:'Veuillez ajouter un "@", exemple [email protected]',linkNewWindow:"Nouvelle fenêtre",linkExternalLink:"Lien externe",open:"Ouvrir",close:"Fermer",closeModalWindow:"Fermer la fenêtre modale",moreInformation:"Plus d'information",lessInformation:"Moins d'information",nextImage:"Image suivante",prevImage:"Image précédente",pictures:"images",picture:"image",Picture:"Photo",on:"sur",Gallery:"Galerie",navigationError:"Erreur de navigation",openMenu:"Menu principal",goToSite:"Accéder au site ",browseThisPage:"Dans cette page",cookieMessage:"Ce site utilise des cookies pour favoriser votre navigation et enrichir les contenus qui vous sont proposés. <br />Vous pouvez néanmoins les désactiver à tout moment si vous le souhaitez.<br /><br />",noResult:"Aucun résultat",displaying:"Affichage de",result:"résultat",of:"sur",entryError:"Erreur de saisie",fillFieldRequired:"Ce champ doit être rempli !"},en:{paginationMoreElement:"Show more results",goToNextSection:"Go to next section",loading:"Loading...",prevStep:"Previous step",nextStep:"Next step",prevPage:"Previous page",nextPage:"Next page",prev:"Previous",next:"Next",stopCarrousel:"Stop slider",startCarrousel:"Play slider",activeSlide:"Active slide",listReadMore:"Read more",listDownload:"Download",listSeeAlso:"See also",mandatory:"required",formErrorInvalidDate:"The date must use jj/mm/aaaa format.",formErrorBirthdayInFutur:"The birth date is later than today's date.",formErrorBirthdayDoNotExist:"The birth date doesn't exist.",formErrorEnterMail:"Please enter your email address.",formErrorConfirmMail:"Please confirm your email address.",formErrorInvalidMail:"Your email address is not val
2id. \nIt must use [email protected] format, without spaces or special characters (é, à , ç, !...).",formErrorSelectNewsletter:"Please select a newsletter.",formErrorCheckMail:"The email verification has failed.",formErrorDateFormat:"One of date fields doesn't use jj/mm/aaaa format, or is not valid.",formErrorMandatoryField:"This field is required.",formErrorsSummary:"Your form contains the following errors: ",pleaseWaitForFile:"Sending files in progress, please wait... ",pleaseWait:"Please wait... ",validEmail:'Please add a "@", example [email protected]',linkNewWindow:"New window",linkExternalLink:"External link",open:"Open",close:"Close",closeModalWindow:"Close modal window",moreInformation:"More information",lessInformation:"Less information",nextImage:"Next picture",prevImage:"Previous picture",pictures:"pictures",picture:"picture",Picture:"Picture",on:"on",navigationError:"Browsing error",openMenu:"Main menu",goToSite:"Go to site ",browseThisPage:"Browse this page",cookieMessage:"This website uses cookies to enhance your navigation and enrich the content. <br />Nevertheless you can disable them at any time if you wish.<br /><br />",noResult:"No result",displaying:"Displaying",result:"result",of:"of",entryError:"Entry error",fillFieldRequired:"This field must be fielded !"}};i="undefined"!=typeof siteCodeLang?i[siteCodeLang]:i.fr,t.a=i},function(e,t,n){var i=n(43);e.exports=function(e){return Object(i(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,o.default)(e))return null;var t=e.hasAttribute("tabindex")?"tabindex":"tabIndex",n=parseInt(e.getAttribute(t),10);return isNaN(n)?-1:n};var i,r=n(46),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){var i=n(4),r=n(29),o=n(28),a=n(57)("src"),s=n(278),l=(""+s).split("toString");n(16).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,n){var i=n(1),r=n(5),o=n(43),a=/"/g,s=function(e,t,n,i){var r=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,""")+'"'),s+">"+r+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),i(i.P+i.F*r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+e+"</svg>"},t.focus=a,t.validate=function(e,t,n){return a(t),n.activeElement===t};var i,r=n(90),o=(i=r)&&i.__esModule?i:{default:i};function a(e){if(!e.focus)try{HTMLElement.prototype.focus.call(e)}catch(t){(0,o.default)(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(68)),r=s(n(15)),o=s(n(2)),a=s(n(48));function s(e){return e&&e.__esModule?e:{default:e}}var l=/^(area)$/;function u(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,s=void 0===n?{notRendered:!1,cssDisplay:!1,cssVisibility:!1,detailsElement:!1,browsingContext:!1}:n,d=(0,o.default)({label:"is/visible",resolveDocument:!0,context:t}),h=d.nodeName.toLowerCase();if(!s.notRendered&&l.test(h))return!0;var f=(0,r.default)({context:d}),p="audio"===h&&!d.hasAttribute("controls");if(!s.cssDisplay&&function(e){return e.some((function(e){return"none"===u(e,"display")}))}(p?f.slice(1):f))return!1;if(!s.cssVisibility&&function(e){var t=(0,i.default)(e,(function(e){var t=u(e,"visibility");return"hidden"===t||"collapse"===t}));if(-1===t)return!1;var n=(0,i.default)(e,(function(e){return"visible"===u(e,"visibility")}));return-1===n||t<n}(f))return!1;if(!s.detailsElement&&function(e){var t=1;return"summary"===e[0].nodeName.toLowerCase()&&(t=2),e.slice(t).some((function(e){return"details"===e.nodeName.toLowerCase()&&!1===e.open}))}(f))return!1;if(!s.browsingContext){var m=(0,a.default)(d),v=c.except(s);if(m&&!v(m))return!1}return!0}c.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return c({context:t,except:e})};return t.rules=c,t};var d=c.except({});t.default=d,e.exports=t.default},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(18),r=n(56);e.exports=n(17)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(82),r=n(43);e.exports=function(e){return i(r(e))}},function(e,t,n){"use strict";var i=n(5);e.exports=function(e,t){return!!e&&i((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=(0,o.default)({label:"get/shadow-host",context:t}),i=null;n;)i=n,n=n.parentNode;return i.nodeType===i.DOCUMENT_FRAGMENT_NODE&&i.host?i.host:null};var i,r=n(2),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,s=(0,a.default)({label:"get/focus-target",context:t}),l=null,u=function(e){return o.default.rules({context:e,except:n})?(l=e,!0):(l=(0,i.default)({context:e,skipFocusable:!0}),Boolean(l))};return u(s)?l:((0,r.default)({context:s}).slice(1).some(u),l)};var i=s(n(93)),r=s(n(15)),o=s(n(20)),a=s(n(2));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,o=e.includeOnlyTabbable,a=e.strategy,s=r.default.rules.except({onlyTabbable:o});return(0,i.default)({context:t,includeContext:n,includeOnlyTabbable:o,strategy:a}).filter(s)};var i=o(n(50)),r=o(n(98));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";function i(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).force?this.instances=0:this.instances--,this.instances||(this.disengage(),this._result=null)}function r(){return this.instances?(this.instances++,this._result):(this.instances++,this._result=this.engage()||{},this._result.disengage=i.bind(this),this._result)}function o(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.engage,n=e.disengage,i={engage:t||o,disengage:n||o,instances:0,_result:null};return r.bind(i)},e.exports=t.default},function(e,t,n){var i=n(37);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(83),r=n(56),o=n(30),a=n(53),s=n(28),l=n(235),u=Object.getOwnPropertyDescriptor;t.f=n(17)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(1),r=n(16),o=n(5);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],a={};a[e]=t(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var i=n(36),r=n(82),o=n(22),a=n(12),s=n(251);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var m,v,g=o(t),b=r(g),y=i(s,p,3),w=a(b.length),x=0,_=n?f(t,w):l?f(t,0):void 0;w>x;x++)if((h||x in b)&&(v=y(m=b[x],x,g),e))if(n)_[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:_.push(m)}else if(c)return!1;return d?-1:u||c?c:_}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(17)){var i=n(58),r=n(4),o=n(5),a=n(1),s=n(122),l=n(147),u=n(36),c=n(78),d=n(56),h=n(29),f=n(79),p=n(38),m=n(12),v=n(262),g=n(60),b=n(53),y=n(28),w=n(84),x=n(7),_=n(22),S=n(139),E=n(61),k=n(63),C=n(62).f,T=n(141),M=n(57),A=n(11),O=n(41),P=n(112),I=n(85),L=n(143),D=n(76),j=n(115),N=n(77),F=n(142),R=n(253),$=n(18),B=n(39),H=$.f,z=B.f,q=r.RangeError,W=r.TypeError,V=r.Uint8Array,Y=Array.prototype,G=l.ArrayBuffer,U=l.DataView,X=O(0),K=O(2),Z=O(3),J=O(4),Q=O(5),ee=O(6),te=P(!0),ne=P(!1),ie=L.values,re=L.keys,oe=L.entries,ae=Y.lastIndexOf,se=Y.reduce,le=Y.reduceRight,ue=Y.join,ce=Y.sort,de=Y.slice,he=Y.toString,fe=Y.toLocaleStr
vendor: 4,551 bytes, line 2
2ing,pe=A("iterator"),me=A("toStringTag"),ve=M("typed_constructor"),ge=M("def_constructor"),be=s.CONSTR,ye=s.TYPED,we=s.VIEW,xe=O(1,(function(e,t){return Ce(I(e,e[ge]),t)})),_e=o((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),Se=!!V&&!!V.prototype.set&&o((function(){new V(1).set({})})),Ee=function(e,t){var n=p(e);if(n<0||n%t)throw q("Wrong offset!");return n},ke=function(e){if(x(e)&&ye in e)return e;throw W(e+" is not a typed array!")},Ce=function(e,t){if(!(x(e)&&ve in e))throw W("It is not a typed array constructor!");return new e(t)},Te=function(e,t){return Me(I(e,e[ge]),t)},Me=function(e,t){for(var n=0,i=t.length,r=Ce(e,i);i>n;)r[n]=t[n++];return r},Ae=function(e,t,n){H(e,t,{get:function(){return this._d[n]}})},Oe=function(e){var t,n,i,r,o,a,s=_(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=T(s);if(null!=h&&!S(h)){for(a=h.call(s),i=[],t=0;!(o=a.next()).done;t++)i.push(o.value);s=i}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),r=Ce(this,n);n>t;t++)r[t]=d?c(s[t],t):s[t];return r},Pe=function(){for(var e=0,t=arguments.length,n=Ce(this,t);t>e;)n[e]=arguments[e++];return n},Ie=!!V&&o((function(){fe.call(new V(1))})),Le=function(){return fe.apply(Ie?de.call(ke(this)):ke(this),arguments)},De={copyWithin:function(e,t){return R.call(ke(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(ke(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(ke(this),arguments)},filter:function(e){return Te(this,K(ke(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(ke(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(ke(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(ke(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(ke(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(ke(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(ke(this),arguments)},lastIndexOf:function(e){return ae.apply(ke(this),arguments)},map:function(e){return xe(ke(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(ke(this),arguments)},reduceRight:function(e){return le.apply(ke(this),arguments)},reverse:function(){for(var e,t=ke(this).length,n=Math.floor(t/2),i=0;i<n;)e=this[i],this[i++]=this[--t],this[t]=e;return this},some:function(e){return Z(ke(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ce.call(ke(this),e)},subarray:function(e,t){var n=ke(this),i=n.length,r=g(e,i);return new(I(n,n[ge]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,m((void 0===t?i:g(t,i))-r))}},je=function(e,t){return Te(this,de.call(ke(this),e,t))},Ne=function(e){ke(this);var t=Ee(arguments[1],1),n=this.length,i=_(e),r=m(i.length),o=0;if(r+t>n)throw q("Wrong length!");for(;o<r;)this[t+o]=i[o++]},Fe={entries:function(){return oe.call(ke(this))},keys:function(){return re.call(ke(this))},values:function(){return ie.call(ke(this))}},Re=function(e,t){return x(e)&&e[ye]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},$e=function(e,t){return Re(e,t=b(t,!0))?d(2,e[t]):z(e,t)},Be=function(e,t,n){return!(Re(e,t=b(t,!0))&&x(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?H(e,t,n):(e[t]=n.value,e)};be||(B.f=$e,$.f=Be),a(a.S+a.F*!be,"Object",{getOwnPropertyDescriptor:$e,defineProperty:Be}),o((function(){he.call({})}))&&(he=fe=function(){return ue.call(this)});var He=f({},De);f(He,Fe),h(He,pe,Fe.values),f(He,{slice:je,set:Ne,constructor:function(){},toString:he,toLocaleString:Le}),Ae(He,"buffer","b"),Ae(He,"byteOffset","o"),Ae(He,"byteLength","l"),Ae(He,"length","e"),H(He,me,{get:function(){return this[ye]}}),e.exports=function(e,t,n,l){var u=e+((l=!!l)?"Clamped":"")+"Array",d="get"+e,f="set"+e,p=r[u],g=p||{},b=p&&k(p),y=!p||!s.ABV,_={},S=p&&p.prototype,T=function(e,n){H(e,n,{get:function(){return function(e,n){var i=e._d;return i.v[d](n*t+i.o,_e)}(this,n)},set:function(e){return function(e,n,i){var r=e._d;l&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),r.v[f](n*t+r.o,i,_e)}(this,n,e)},enumerable:!0})};y?(p=n((function(e,n,i,r){c(e,p,u,"_d");var o,a,s,l,d=0,f=0;if(x(n)){if(!(n instanceof G||"ArrayBuffer"==(l=w(n))||"SharedArrayBuffer"==l))return ye in n?Me(p,n):Oe.call(p,n);o=n,f=Ee(i,t);var g=n.byteLength;if(void 0===r){if(g%t)throw q("Wrong length!");if((a=g-f)<0)throw q("Wrong length!")}else if((a=m(r)*t)+f>g)throw q("Wrong length!");s=a/t}else s=v(n),o=new G(a=s*t);
2for(h(e,"_d",{b:o,o:f,l:a,e:s,v:new U(o)});d<s;)T(e,d++)})),S=p.prototype=E(He),h(S,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&j((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,i,r){var o;return c(e,p,u),x(n)?n instanceof G||"ArrayBuffer"==(o=w(n))||"SharedArrayBuffer"==o?void 0!==r?new g(n,Ee(i,t),r):void 0!==i?new g(n,Ee(i,t)):new g(n):ye in n?Me(p,n):Oe.call(p,n):new g(v(n))})),X(b!==Function.prototype?C(g).concat(C(b)):C(g),(function(e){e in p||h(p,e,g[e])})),p.prototype=S,i||(S.constructor=p));var M=S[pe],A=!!M&&("values"==M.name||null==M.name),O=Fe.values;h(p,ve,!0),h(S,ye,u),h(S,we,!0),h(S,ge,p),(l?new p(1)[me]==u:me in S)||H(S,me,{get:function(){return u}}),_[u]=p,a(a.G+a.W+a.F*(p!=g),_),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o((function(){g.of.call(p,1)})),u,{from:Oe,of:Pe}),"BYTES_PER_ELEMENT"in S||h(S,"BYTES_PER_ELEMENT",t),a(a.P,u,De),N(u),a(a.P+a.F*Se,u,{set:Ne}),a(a.P+a.F*!A,u,Fe),i||S.toString==he||(S.toString=he),a(a.P+a.F*o((function(){new p(1).slice()})),u,{slice:je}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){S.toLocaleString.call([1,2])}))),u,{toLocaleString:Le}),D[u]=A?M:O,i||A||h(S,pe,O)}}else e.exports=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)({label:"is/active-element",resolveDocument:!0,context:e});if((0,o.default)(t).activeElement===t)return!0;var n=(0,r.default)({context:t});return!(!n||n.shadowRoot.activeElement!==t)};var i=a(n(2)),r=a(n(32)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){a||(a=(0,r.default)());var t=a.focusTabindexTrailingCharacters?l:s,n=(0,i.default)({label:"is/valid-tabindex",resolveDocument:!0,context:e}),o=n.hasAttribute("tabindex"),u=n.hasAttribute("tabIndex");if(!o&&!u)return!1;if((n.ownerSVGElement||"svg"===n.nodeName.toLowerCase())&&!a.focusSvgTabindexAttribute)return!1;if(a.focusInvalidTabindex)return!0;var c=n.getAttribute(o?"tabindex":"tabIndex");return"-32768"!==c&&Boolean(c&&t.test(c))};var i=o(n(2)),r=o(n(10));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=/^\s*(-|\+)?[0-9]+\s*$/,l=/^\s*(-|\+)?[0-9]+.*$/;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=c(n(15)),r=c(n(2)),o=c(n(67)),a=c(n(23)),s=c(n(46)),l=n(94),u=c(n(10));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0;function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,c=void 0===n?{flexbox:!1,scrollable:!1,shadow:!1}:n;d||(d=(0,u.default)());var h=(0,r.default)({label:"is/focus-relevant",resolveDocument:!0,context:t});if(!c.shadow&&h.shadowRoot)return!0;var f=h.nodeName.toLowerCase();if("input"===f&&"hidden"===h.type)return!1;if("input"===f||"select"===f||"button"===f||"textarea"===f)return!0;if("legend"===f&&d.focusRedirectLegend)return!0;if("label"===f)return!0;if("area"===f)return!0;if("a"===f&&h.hasAttribute("href"))return!0;if("object"===f&&h.hasAttribute("usemap"))return!1;if("object"===f){var p=h.getAttribute("type");if(!d.focusObjectSvg&&"image/svg+xml"===p)return!1;if(!d.focusObjectSwf&&"application/x-shockwave-flash"===p)return!1}if("iframe"===f||"object"===f)return!0;if("embed"===f||"keygen"===f)return!0;if(h.hasAttribute("contenteditable"))return!0;if("audio"===f&&(d.focusAudioWithoutControls||h.hasAttribute("controls")))return!0;if("video"===f&&(d.focusVideoWithoutControls||h.hasAttribute("controls")))return!0;if(d.focusSummary&&"summary"===f)return!0;var m=(0,s.default)(h);if("img"===f&&h.hasAttribute("usemap"))return m&&d.focusImgUsemapTabindex||d.focusRedirectImgUsemap;if(d.focusTable&&("table"===f||"td"===f))return!0;if(d.focusFieldset&&"fieldset"===f)return!0;var v="svg"===f,g=h.ownerSVGElement,b=h.getAttribute("focusable"),y=(0,a.default)(h);if("use"===f&&null!==y&&!d.focusSvgUseTabindex)return!1;if("foreignobject"===f)return null!==y&&d.focusSvgForeignobjectTabindex;if((0,o.default)(h,"svg a")&&h.hasAttribute("xlink:href"))return!0;
2if((v||g)&&h.focus&&!d.focusSvgNegativeTabindexAttribute&&y<0)return!1;if(v)return m||d.focusSvg||d.focusSvgInIframe||Boolean(d.focusSvgFocusableAttribute&&b&&"true"===b);if(g){if(d.focusSvgTabindexAttribute&&m)return!0;if(d.focusSvgFocusableAttribute)return"true"===b}if(m)return!0;var w=window.getComputedStyle(h,null);if((0,l.isUserModifyWritable)(w))return!0;if(d.focusImgIsmap&&"img"===f&&h.hasAttribute("ismap")&&(0,i.default)({context:h}).some((function(e){return"a"===e.nodeName.toLowerCase()&&e.hasAttribute("href")})))return!0;if(!c.scrollable&&d.focusScrollContainer)if(d.focusScrollContainerWithoutOverflow){if((0,l.isScrollableContainer)(h,f))return!0}else if((0,l.hasCssOverflowScroll)(w))return!0;if(!c.flexbox&&d.focusFlexboxContainer&&(0,l.hasCssDisplayFlex)(w))return!0;var x=h.parentElement;if(!c.scrollable&&x){var _=x.nodeName.toLowerCase(),S=window.getComputedStyle(x,null);if(d.focusScrollBody&&(0,l.isScrollableContainer)(x,f,_,S))return!0;if(d.focusChildrenOfFocusableFlexbox&&(0,l.hasCssDisplayFlex)(S))return!0}return!1}h.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return h({context:t,except:e})};return t.rules=h,t};var f=h.except({});t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e);if(!t.parent||t.parent===t)return null;try{return t.frameElement||function(e){s||(s=(0,o.default)("object, iframe"));if(void 0!==e._frameElement)return e._frameElement;e._frameElement=null;var t=e.parent.document.querySelectorAll(s);return[].some.call(t,(function(t){return(0,i.default)(t)===e.document&&(e._frameElement=t,!0)})),e._frameElement}(t)}catch(e){return null}};var i=a(n(199)),r=a(n(66)),o=a(n(69));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMapByName=a,t.getMapOfImage=function(e){var t=e.getAttribute("usemap");if(!t)return null;var n=(0,r.default)(e);return a(t.slice(1),n)},t.getImageOfArea=function(e){var t=e.parentElement;if(!t.name||"map"!==t.nodeName.toLowerCase())return null;return(0,r.default)(e).querySelector('img[usemap="#'+(0,i.default)(t.name)+'"]')||null};var i=o(n(200)),r=o(n(14));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return t.querySelector('map[name="'+(0,i.default)(e)+'"]')||null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,a=e.includeOnlyTabbable,s=e.strategy,l=void 0===s?"quick":s,u=(0,i.default)({label:"query/focusable",resolveDocument:!0,defaultToDocument:!0,context:t}),c={context:u,includeContext:n,includeOnlyTabbable:a,strategy:l};if("quick"===l)return(0,o.default)(c);if("strict"===l||"all"===l)return(0,r.default)(c);throw new TypeError('query/focusable requires option.strategy to be one of ["quick", "strict", "all"]')};var i=a(n(2)),r=a(n(201)),o=a(n(202));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentComparator=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.parent,n=e.element,i=e.includeSelf;if(t)return function(e){return Boolean(i&&e===t||t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)};if(n)return function(e){return Boolean(i&&n===e||e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)};throw new TypeError("util/compare-position#getParentComparator required either options.parent or options.element")}},function(e,t,n){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,n=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function i(i,r){var o=[],a=0;if(i&&!r&&i instanceof n)return i;if(i)if("string"==typeof i){var s,l,u=i.trim();if(u.indexOf("<")>=0&&u.indexOf(">")>=0){var c="div";for(0===u.indexOf("<li")&&(c="ul"),0===u.indexOf("<tr")&&(c="tbody"),0!==u.indexOf("<td")&&0!==u.indexOf("<th")||(c="tr"),0===u.indexOf("<tbody")&&(c="table"),0===u.indexOf("<option")&&(c="select"),(l=e.createElement(c)).innerHTML=u,a=0;a<l.childNodes.length;a+=1)o.push(l.childNodes[a])}else for(s=r||"#"!==i[0]||i.match(/[ .<>:~]/)?(r||e).querySelectorAll(i.trim()):[e.getElementById(i.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&o.push(s[a])}else if(i.nodeType||i===t||i===e)o.push(i);else if(i.length>0&&i[0].nodeType)for(a=0;a<i.length;a+=1)o.push(i[a]);return new n(o)}function r(e){for(var t=[],n=0;n<e.length;
vendor: 4,245 bytes, line 2
2n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}i.fn=n.prototype,i.Class=n,i.Dom7=n;var o={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[n]);return this},attr:function(e,t){var n=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===n.length)this[i].setAttribute(e,t);else for(var r in e)this[i][r]=e[r],this[i].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var n;if(void 0!==t){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0]){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];var r=n.getAttribute("data-"+e);return r||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=t[1],a=t[2],s=t[3];function l(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),i(t).is(o))a.apply(t,n);else for(var r=i(t).parents(),s=0;s<r.length;s+=1)i(r[s]).is(o)&&a.apply(r[s],n)}}function u(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof t[1]&&(r=(e=t)[0],a=e[1],s=e[2],o=void 0),s||(s=!1);for(var c,d=r.split(" "),h=0;h<this.length;h+=1){var f=this[h];if(o)for(c=0;c<d.length;c+=1){var p=d[c];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,s)}else for(c=0;c<d.length;c+=1){var m=d[c];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[m]||(f.dom7Listeners[m]=[]),f.dom7Listeners[m].push({listener:a,proxyListener:u}),f.addEventListener(m,u,s)}}return this},off:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=t[0],r=t[1],o=t[2],a=t[3];"function"==typeof t[1]&&(i=(e=t)[0],o=e[1],a=e[2],r=void 0),a||(a=!1);for(var s=i.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],h=void 0;if(!r&&d.dom7Listeners?h=d.dom7Listeners[u]:r&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[u]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];o&&p.listener===o?(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1)):o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o?(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1)):o||(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1))}}return this},trigger:function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];for(var r=n[0].split(" "),o=n[1],a=0;a<r.length;a+=1)for(var s=r[a],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new t.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0})}catch(t){(c=e.createEvent("Event")).initEvent(s,!0,!0),c.detail=o}u.dom7EventData=n.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this},transitionEnd:function(e){var t,n=["webkitTransitionEnd","transitionend"],i=this;function r(o){if(o.target===this)for(e.call(this,o),t=0;t<n.length;t+=1)i.off(n[t],r)}if(e)for(t=0;t<n.length;t+=1)i.on(n[t],r);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 8,149 bytes, line 2
2parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var n=this[0],i=n.getBoundingClientRect(),r=e.body,o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:i.top+s-o,left:i.left+l-a}}return null},css:function(e,n){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var r in e)this[i].style[r]=e[r];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=n;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(r){var o,a,s=this[0];if(!s||void 0===r)return!1;if("string"==typeof r){if(s.matches)return s.matches(r);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(r);if(s.msMatchesSelector)return s.msMatchesSelector(r);for(o=i(r),a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}if(r===e)return s===e;if(r===t)return s===t;if(r.nodeType||r instanceof n){for(o=r.nodeType?[r]:r,a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new n(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,i=[],r=arguments.length;r--;)i[r]=arguments[r];for(var o=0;o<i.length;o+=1){t=i[o];for(var a=0;a<this.length;a+=1)if("string"==typeof t){var s=e.createElement("div");for(s.innerHTML=t;s.firstChild;)this[a].appendChild(s.firstChild)}else if(t instanceof n)for(var l=0;l<t.length;l+=1)this[a].appendChild(t[l]);else this[a].appendChild(t)}return this},prepend:function(t){var i,r;for(i=0;i<this.length;i+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t,r=o.childNodes.length-1;r>=0;r-=1)this[i].insertBefore(o.childNodes[r],this[i].childNodes[0])}else if(t instanceof n)for(r=0;r<t.length;r+=1)this[i].insertBefore(t[r],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(e)?new n([this[0].nextElementSibling]):new n([]):this[0].nextElementSibling?new n([this[0].nextElementSibling]):new n([]):new n([])},nextAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.nextElementSibling;){var o=r.nextElementSibling;e?i(o).is(e)&&t.push(o):t.push(o),r=o}return new n(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&i(t.previousElementSibling).is(e)?new n([t.previousElementSibling]):new n([]):t.previousElementSibling?new n([t.previousElementSibling]):new n([])}return new n([])},prevAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.previousElementSibling;){var o=r.previousElementSibling;e?i(o).is(e)&&t.push(o):t.push(o),r=o}return new n(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?i(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return i(r(t))},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var o=this[n].parentNode;o;)e?i(o).is(e)&&t.push(o):t.push(o),o=o.parentNode;return i(r(t))},closest:function(e){var t=this;return void 0===e?new n([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return new n(t)},children:function(e){for(var t=[],o=0;o<this.length;o+=1)for(var a=this[o].childNodes,s=0;s<a.length;s+=1)e?1===a[s].nodeType&&i(a[s]).is(e)&&t.push(a[s]):1===a[s].nodeType&&t.push(a[s]);return new n(r(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r;for(n=0;n<e.length;n+=1){var o=i(e[n]);for(r=0;r<o.length;r+=1)this[this.length]=o[r],this.length+=1}return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(o).forEach((function(e){i.fn[e]=i.fn[e]||o[e]}));var a,s,l,u={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,n){var i,r,o;void 0===n&&(n="x");var a=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),o=new t.WebKitCSSMatrix("none"===r?"":r)):i=(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(r=t.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===n&&(r=t.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0},parseUrlQuery:function(e){var n,i,r,o,a={},s=e||t.location.href;if("string"==typeof s&&s.length)for(o=(i=(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,n=0;n<o;n+=1)r=i[n].replace(/#\S+/g,"").split("="),a[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=Object(e[0]),i=1;i<e.length;i+=1){var r=e[i];if(null!=r)for(var o=Object.keys(Object(r)),a=0,s=o.length;a<s;a+=1){var l=o[a],c=Object.getOwnPropertyDescriptor(r,l);void 0!==c&&c.enumerable&&(u.isObject(n[l])&&u.isObject(r[l])?u.extend(n[l],r[l]):!u.isObject(n[l])&&u.isObject(r[l])?(n[l]={},u.extend(n[l],r[l])):n[l]=r[l])}}return n}},c=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(s=l.style,"transition"in s||"webkitTransition"in s||"MozTransition"in s),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=l.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=l.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(e){}return e}(),gestures:"ongesturestart"in t}),d={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(a=t.navigator.userAgent.toLowerCase(),a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},h=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={}
2,t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},f={components:{configurable:!0}};h.prototype.on=function(e,t,n){var i=this;if("function"!=typeof t)return i;var r=n?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i},h.prototype.once=function(e,t,n){var i=this;if("function"!=typeof t)return i;function r(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];t.apply(i,n),i.off(e,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=t,i.on(e,r,n)},h.prototype.off=function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(i,r){(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n},h.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,o=this;if(!o.eventsListeners)return o;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),r=o):(n=e[0].events,i=e[0].data,r=e[0].context||o);var a=Array.isArray(n)?n:n.split(" ");return a.forEach((function(e){if(o.eventsListeners&&o.eventsListeners[e]){var t=[];o.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(r,i)}))}})),o},h.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n];i.params&&u.extend(e,i.params)}))},h.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n],r=e[n]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(r)}))},f.components.set=function(e){this.use&&this.use(e)},h.installModule=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this;i.prototype.modules||(i.prototype.modules={});var r=e.name||Object.keys(i.prototype.modules).length+"_"+u.now();return i.prototype.modules[r]=e,e.proto&&Object.keys(e.proto).forEach((function(t){i.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){i[t]=e.static[t]})),e.install&&e.install.apply(i,t),i},h.use=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this;return Array.isArray(e)?(e.forEach((function(e){return i.installModule(e)})),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(h,f);var p={updateSize:function(){var e,t,n=this.$el;e=void 0!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),t=t-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),u.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,n=this.$wrapperEl,i=this.size,r=this.rtlTranslate,o=this.wrongRTL,a=this.virtual&&e.virtual.enabled,s=a?this.virtual.slides.length:this.slides.length,l=n.children("."+this.params.slideClass),h=a?this.virtual.slides.length:l.length,f=[],p=[],m=[],v=e.slidesOffsetBefore;"function"==typeof v&&(v=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var b=this.snapGrid.length,y=this.snapGrid.length,w=e.spaceBetween,x=-v,_=0,S=0;if(void 0!==i){var E,k;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*i),this.virtualSize=-w,r?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(E=Math.floor(h/e.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(E=Math.max(E,e.slidesPerView*e.slidesPerColumn)));for(var C,T=e.slidesPerColumn,M=E/T,A=Math.floor(h/e.slidesPerColumn),O=0;O<h;O+=1){k=0;var P=l.eq(O);if(e.slidesPerColumn>1){var I=void 0,L=void 0,D=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)D=O-(L=Math.floor(O/T))*T,(L>A||L===A&&D===T-1)&&(D+=1)>=T&&(D=0,L+=1);else{var j=Math.floor(O/e.slidesPerGroup);L=O-(D=Math.floor(O/e.slidesPerView)-j*e.slidesPerColumn)*e.slidesPerView-j*e.slidesPerView}I=L+D*E/T,P.css({"-webkit-box-ordinal-group":I,"-moz-box-ordinal-group":I,"-ms-flex-order":I,"-webkit-order":I,order:I})}else L=O-(D=Math.floor(O/M))*M;P.css("margin-"+(this.isHorizontal()?"top":"left"),0!==D&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",L).attr("data-swiper-row",D)}if("none"!==P.css("display")){if("auto"===e.slidesPerView){var N=t.getComputedStyle(P[0],null),F=P[0].style.transform,R=P[0].style.webkitTransform;if(F&&(P[0].style.transform="none"),R&&(P[0].style.webkitTransform="none"),e.roundLengths)k=this.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0);else if(this.isHorizontal()){var $=parseFloat(N.getPropertyValue("width")),B=parseFloat(N.getPropertyValue("padding-left")),H=parseFloat(N.getPropertyValue("padding-right")),z=parseFloat(N.getPropertyValue("margin-left")),q=parseFloat(N.getPropertyValue("margin-right")),W=N.getPropertyValue("box-sizing");k=W&&"border-box"===W&&!d.isIE?$+z+q:$+B+H+z+q}else{var V=parseFloat(N.getPropertyValue("height")),Y=parseFloat(N.getPropertyValue("padding-top")),G=parseFloat(N.getPropertyValue("padding-bottom")),U=parseFloat(N.getPropertyValue("margin-top")),X=parseFloat(N.getPropertyValue("margin-bottom")),K=N.getPropertyValue("box-sizing");k=K&&"border-box"===K&&!d.isIE?V+U+X:V+Y+G+U+X}F&&(P[0].style.transform=F),R&&(P[0].style.webkitTransform=R),e.roundLengths&&(k=Math.floor(k))}else k=(i-(e.slidesPerView-1)*w)/e.slidesPerView,e.roundLengths&&(k=Math.floor(k)),l[O]&&(this.isHorizontal()?l[O].style.width=k+"px":l[O].style.height=k+"px");l[O]&&(l[O].swiperSlideSize=k),m.push(k),e.centeredSlides?(x=x+k/2+_/2+w,0===_&&0!==O&&(x=x-i/2-w),0===O&&(x=x-i/2-w),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),S%e.slidesPerGroup==0&&f.push(x),p.push(x)):(e.roundLengths&&(x=Math.floor(x)),S%e.slidesPerGroup==0&&f.push(x),p.push(x),x=x+k+w),this.virtualSize+=k+w,_=k,S+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+g,r&&o&&("slide"===e.effect||"coverflow"===e.effect)&&n.css({width:this.virtualSize+e.spaceBetween+"px"}),c.flexbox&&!e.setWrapperSize||(this.isHorizontal()?n.css({width:this.virtualSize+e.spaceBetween+"px"}):n.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(k+e.spaceBetween)*E,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?n.css({width:this.virtualSize+e.spaceBetween+"px"}):n.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){C=[];for(var Z=0;Z<f.length;Z+=1){var J=f[Z];e.roundLengths&&(J=Math.floor(J)),f[Z]<this.virtualSize+f[0]&&C.push(J)}f=C}if(!e.centeredSlides){C=[];for(var Q=0;Q<f.length;Q+=1){var ee=f[Q];e.roundLengths&&(ee=Math.floor(ee)),f[Q]<=this.virtualSize-i&&C.push(ee)}f=C,Math.floor(this.virtualSize-i)-Math.floor(f[f.length-1])>1&&f.push(this.virtualSize-i)}if(0===f.length&&(f=[0]),0!==e.spaceBetween&&(this.isHorizontal()?r?l.css({marginLeft:w+"px"}):l.css({marginRight:w+"px"}):l.css({marginBottom:w+"px"})),e.centerInsufficientSlides){var te=0;
2if(m.forEach((function(t){te+=t+(e.spaceBetween?e.spaceBetween:0)})),(te-=e.spaceBetween)<i){var ne=(i-te)/2;f.forEach((function(e,t){f[t]=e-ne})),p.forEach((function(e,t){p[t]=e+ne}))}}u.extend(this,{slides:l,snapGrid:f,slidesGrid:p,slidesSizesGrid:m}),h!==s&&this.emit("slidesLengthChange"),f.length!==b&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),p.length!==y&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=[],i=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var r=this.activeIndex+t;if(r>this.slides.length)break;n.push(this.slides.eq(r)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var o=n[t].offsetHeight;i=o>i?o:i}i&&this.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,n=this.slides,r=this.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();var o=-e;r&&(o=e),n.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var a=0;a<n.length;a+=1){var s=n[a],l=(o+(t.centeredSlides?this.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var u=-(o-s.swiperSlideOffset),c=u+this.slidesSizesGrid[a];(u>=0&&u<this.size-1||c>1&&c<=this.size||u<=0&&c>=this.size)&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(a),n.eq(a).addClass(t.slideVisibleClass))}s.progress=r?-l:l}this.visibleSlides=i(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,n=this.maxTranslate()-this.minTranslate(),i=this.progress,r=this.isBeginning,o=this.isEnd,a=r,s=o;0===n?(i=0,r=!0,o=!0):(r=(i=(e-this.minTranslate())/n)<=0,o=i>=1),u.extend(this,{progress:i,isBeginning:r,isEnd:o}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),r&&!a&&this.emit("reachBeginning toEdge"),o&&!s&&this.emit("reachEnd toEdge"),(a&&!r||s&&!o)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){var e,t=this.slides,n=this.params,i=this.$wrapperEl,r=this.activeIndex,o=this.realIndex,a=this.virtual&&n.virtual.enabled;t.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+r+'"]'):t.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass));var s=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===s.length&&(s=t.eq(0)).addClass(n.slideNextClass);var l=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);
2n.loop&&0===l.length&&(l=t.eq(-1)).addClass(n.slidePrevClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),l.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,r=this.snapGrid,o=this.params,a=this.activeIndex,s=this.realIndex,l=this.snapIndex,c=e;if(void 0===c){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?c=d:n>=i[d]&&n<i[d+1]&&(c=d+1):n>=i[d]&&(c=d);o.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=r.indexOf(n)>=0?r.indexOf(n):Math.floor(c/o.slidesPerGroup))>=r.length&&(t=r.length-1),c!==a){var h=parseInt(this.slides.eq(c).attr("data-swiper-slide-index")||c,10);u.extend(this,{snapIndex:t,realIndex:h,previousIndex:a,activeIndex:c}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==h&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,n=i(e.target).closest("."+t.slideClass)[0],r=!1;if(n)for(var o=0;o<this.slides.length;o+=1)this.slides[o]===n&&(r=!0);if(!n||!r)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i(n).attr("data-swiper-slide-index"),10):this.clickedIndex=i(n).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},m={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,i=this.translate,r=this.$wrapperEl;if(t.virtualTranslate)return n?-i:i;var o=u.getTranslate(r[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){var n=this.rtlTranslate,i=this.params,r=this.$wrapperEl,o=this.progress,a=0,s=0;this.isHorizontal()?a=n?-e:e:s=e,i.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),i.virtualTranslate||(c.transforms3d?r.transform("translate3d("+a+"px, "+s+"px, 0px)"):r.transform("translate("+a+"px, "+s+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:s;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},v={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,i=this.params,r=this.previousIndex;i.autoHeight&&this.updateAutoHeight();var o=t;if(o||(o=n>r?"next":n<r?"prev":"reset"),this.emit("transitionStart"),e&&n!==r){if("reset"===o)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===o?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,i=this.previousIndex;this.animating=!1,this.setTransition(0);var r=t;if(r||(r=n>i?"next":n<i?"prev":"reset"),this.emit("transitionEnd"),e&&n!==i){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},g={slideTo:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=this,o=e;o<0&&(o=0);var a=r.params,s=r.snapGrid,l=r.slidesGrid,u=r.previousIndex,d=r.activeIndex,h=r.rtlTranslate;if(r.animating&&a.preventInteractionOnTransition)return!1;var f=Math.floor(o/a.slidesPerGroup);f>=s.length&&(f=s.length-1),(d||a.initialSlide||0)===(u||0)&&n&&r.emit("beforeSlideChangeStart");var p,m=-s[f];if(r.updateProgress(m),a.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*m)>=Math.floor(100*l[v])&&(o=v);if(r.initialized&&o!==d){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(d||0)!==o)return!1}return p=o>d?"next":o<d?"prev":"reset",h&&-m===r.translate||!h&&m===r.translate?(r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(m),"reset"!==p&&(r.transitionStart(n,p),r.transitionEnd(n,p)),!1):(0!==t&&c.transition?(r.setTransition(t),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,p),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$
2wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,p))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))):(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,p),r.transitionEnd(n,p)),!0)},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=e;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,t,n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.params,r=this.animating;return i.loop?!r&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+i.slidesPerGroup,e,t,n)):this.slideTo(this.activeIndex+i.slidesPerGroup,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.params,r=this.animating,o=this.snapGrid,a=this.slidesGrid,s=this.rtlTranslate;if(i.loop){if(r)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=l(s?this.translate:-this.translate),d=o.map((function(e){return l(e)})),h=(a.map((function(e){return l(e)})),o[d.indexOf(c)],o[d.indexOf(c)-1]);return void 0!==h&&(u=a.indexOf(h))<0&&(u=this.activeIndex-1),this.slideTo(u,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.activeIndex,r=Math.floor(i/this.params.slidesPerGroup);if(r<this.snapGrid.length-1){var o=this.rtlTranslate?this.translate:-this.translate,a=this.snapGrid[r];o-a>(this.snapGrid[r+1]-a)/2&&(i=this.params.slidesPerGroup)}return this.slideTo(i,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,o="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-o/2||a>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),a=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),u.nextTick((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),u.nextTick((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}},b={loopCreate:function(){var t=this,n=t.params,r=t.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var o=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var a=n.slidesPerGroup-o.length%n.slidesPerGroup;if(a!==n.slidesPerGroup){for(var s=0;s<a;s+=1){var l=i(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(l)}o=r.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),t.loopedSlides=parseInt(n.loopedSlides||n.slidesPerView,10),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>o.length&&(t.loopedSlides=o.length);var u=[],c=[];o.each((function(e,n){var r=i(n);e<t.loopedSlides&&c.push(n),e<o.length&&e>=o.length-t.loopedSlides&&u.push(n),r.attr("data-swiper-slide-index",e)}));for(var d=0;d<c.length;d+=1)r.append(i(c[d].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var h=u.length-1;h>=0;h-=1)r.prepend(i(u[h].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e,t=this.params,n=this.activeIndex,i=this.slides,r=this.loopedSlides,o=this.allowSlidePrev,a=this.allowSlideNext,s=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var u=-s[n]-this.getTranslate();n<r?(e=i.length-3*r+n,e+=r,this.slideTo(e,0,!1,!0)&&0!==u&&this.setTranslate((l?-this.translate:this.translate)-u)):("auto"===t.slidesPerView&&n>=2*r||n>=i.length-r)&&(e=-i.length+n+r,e+=r,this.slideTo(e,0,!1,!0)&&0!==u&&this.setTranslate((l?-this.translate:this.translate)-u)),this.allowSlidePrev=o,this.allowSlideNext=a},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},y={setGrabCursor:function(e){if(!(c.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){c.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},w={appendSlide:function(e){var t=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.append(e[i]);else t.append(e);n.loop&&this.loopCreate(),n.observer&&c.observer||this.update()},prependSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&this.loopDestroy();var r=i+1;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)e[o]&&n.prepend(e[o]);r=i+e.length}else n.prepend(e);t.loop&&this.loopCreate(),t.observer&&c.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(e,t){var n=this.$wrapperEl,i=this.params,r=this.activeIndex;i.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+i.slideClass));var o=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=o)this.appendSlide(t);else{for(var a=r>e?r+1:r,s=[],l=o-1;l>=e;l-=1){var u=this.slides.eq(l);u.remove(),s.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&n.append(t[d]);a=r>e?r+t.length:r}else n.append(t);for(var h=0;h<s.length;h+=1)n.append(s[h]);i.loop&&this.loopCreate(),i.observer&&c.observer||this.update(),i.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&(i-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+t.slideClass));var r,o=i;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)r=e[a],this.slides[r]&&this.slides.eq(r).remove(),r<o&&(o-=1);o=Math.max(o,0)}else r=e,this.slides[r]&&this.slides.eq(r).remove(),r<o&&(o-=1),o=Math.max(o,0);t.loop&&this.loopCreate(),t.observer&&c.observer||this.update(),t.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},x=function(){var n=t.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},r=n.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),o=n.match(/(Android);?[\s\/]+([\d.]+)?/),a=n.match(/(iPad).*OS\s([\d_]+)/),s=n.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(r&&(i.os="windows",i.osVersion=r[2],i.windows=!0),o&&!r&&(i.os="android",i.osVersion=o[2],i.android=!0,i.androidChrome=n.toLowerCase().indexOf("chrome")>=0),(a||l||s)&&(i.os="ios",i.ios=!0),l&&!s&&(i.osVersion=l[2].replace(/_/g,"."),i.iphone=!0),a&&(i.osVersion=a[2].replace(/_/g,"."),i.ipad=!0),s&&(i.osVersion=s[3]?s[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&n.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=n.toLowerCase().split("version/")[1].split(" ")[0]),i.desktop=!(i.os||i.android||i.webView),i.webView=(l||a||s)&&n.match(/.*AppleWeb
2Kit(?!.*Safari)/i),i.os&&"ios"===i.os){var u=i.osVersion.split("."),c=e.querySelector('meta[name="viewport"]');i.minimalUi=!i.webView&&(s||l)&&(1*u[0]==7?1*u[1]>=1:1*u[0]>7)&&c&&c.getAttribute("content").indexOf("minimal-ui")>=0}return i.pixelRatio=t.devicePixelRatio||1,i}();function _(n){var r=this.touchEventsData,o=this.params,a=this.touches;if(!this.animating||!o.preventInteractionOnTransition){var s=n;if(s.originalEvent&&(s=s.originalEvent),r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&s.button>0||r.isTouched&&r.isMoved))if(o.noSwiping&&i(s.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])this.allowClick=!0;else if(!o.swipeHandler||i(s).closest(o.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var l=a.currentX,c=a.currentY,d=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,h=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!d||!(l<=h||l>=t.screen.width-h)){if(u.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=l,a.startY=c,r.touchStartTime=u.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==s.type){var f=!0;i(s.target).is(r.formElements)&&(f=!1),e.activeElement&&i(e.activeElement).is(r.formElements)&&e.activeElement!==s.target&&e.activeElement.blur();var p=f&&this.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||p)&&s.preventDefault()}this.emit("touchStart",s)}}}}function S(t){var n=this.touchEventsData,r=this.params,o=this.touches,a=this.rtlTranslate,s=t;if(s.originalEvent&&(s=s.originalEvent),n.isTouched){if(!n.isTouchEvent||"mousemove"!==s.type){var l="touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,c="touchmove"===s.type?s.targetTouches[0].pageY:s.pageY;if(s.preventedByNestedSwiper)return o.startX=l,void(o.startY=c);if(!this.allowTouchMove)return this.allowClick=!1,void(n.isTouched&&(u.extend(o,{startX:l,startY:c,currentX:l,currentY:c}),n.touchStartTime=u.now()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(c<o.startY&&this.translate<=this.maxTranslate()||c>o.startY&&this.translate>=this.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(l<o.startX&&this.translate<=this.maxTranslate()||l>o.startX&&this.translate>=this.minTranslate())return;if(n.isTouchEvent&&e.activeElement&&s.target===e.activeElement&&i(s.target).is(n.formElements))return n.isMoved=!0,void(this.allowClick=!1);if(n.allowTouchCallbacks&&this.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){o.currentX=l,o.currentY=c;var d,h=o.currentX-o.startX,f=o.currentY-o.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(f,2))<this.params.threshold))if(void 0===n.isScrolling&&(this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:h*h+f*f>=25&&(d=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=this.isHorizontal()?d>r.touchAngle:90-d>r.touchAngle)),n.isScrolling&&this.emit("touchMoveOpposite",s),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){this.allowClick=!1,s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation(),n.isMoved||(r.loop&&this.loopFix(),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",s)),this.emit("sliderMove",s),n.isMoved=!0;var p=this.isHorizontal()?h:f;o.diff=p,p*=r.touchRatio,a&&(p=-p),this.swipeDirection=p>0?"prev":"next",n.currentTranslate=p+n.startTranslate;var m=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),p>0&&n.currentTranslate>this.minTranslate()?(m=!1,r.resistance&&(n.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+n.startTranslate+p,v))):p<0&&n.currentTranslate<this.maxTranslate()&&(m=!1,r.resistance&&(n.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-n.startTranslate-p,v))),m&&(s.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(p)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===n.velocities.length&&n.velocities.push({position:o[this.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:o[this.isHorizontal()?"currentX":"currentY"],time:u.now()})),this.updateProgress(n.currentTranslate),this.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",s)}function E(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,h=u.now(),f=h-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap",c),f<300&&h-n.lastClickTime>300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=u.nextTick((function(){t&&!t.destroyed&&t.emit("click",c)}),300)),f<300&&h-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),t.emit("doubleTap",c))),n.lastClickTime=u.now(),u.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=i.followFinger?o?t.translate:-t.translate:-n.currentTranslate,i.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){var p=n.velocities.pop(),m=n.velocities.pop(),v=p.position-m.position,g=p.time-m.time;t.velocity=v/g,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(g>150||u.now()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,y=t.velocity*b,w=t.translate+y;o&&(w=-w);var x,_,S=!1,E=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-E&&(w=t.maxTranslate()-E),x=t.maxTranslate(),S=!0,n.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(_=!0);else if(w>t.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>E&&(w=t.minTranslate()+E),x=t.minTranslate(),S=!0,n.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(_=!0);else if(i.freeModeSticky){for(var k,C=0;C<l.length;C+=1)if(l[C]>-w){k=C;break}w=-(w=Math.abs(l[k]-w)<Math.abs(l[k-1]-w)||"next"===t.swipeDirection?l[k]:l[k-1])}if(_&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=o?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&S?(t.updateProgress(x),t.setTransition(b),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(x),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(w),t.setTransition(b),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||f>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var T=0,M=t.slidesSizesGrid[0],A=0;A<s.length;A+=i.slidesPerGroup)void 0!==s[A+i.slidesPerGroup]?d>=s[A]&&d<s[A+i.slidesPerGroup]&&(T=A,M=s[A+i.slidesPerGroup]-s[A]):d>=s[A]&&(T=A,M=s[s.length-1]-s[s.length-2]);var O=(d-s[T])/M;if(f>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(O>=i.longSwipesRatio?t.slideTo(T+i.slidesPerGroup):t.slideTo(T)),"prev"===t.swipeDirection&&(O>1-i.longSwipesRatio?t.slideTo(T+i.slidesPerGroup):t.slideTo(T))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(T+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(T)}}}function k(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var n=this.allowSlideNext,i=this.allowSlidePrev,r=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var o=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}function C(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var T={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},M={update:p,translate:m,transition:v,slide:g,loop:b,grabCursor:y,manipulation:w,events:{attachEvents:function(){var t=this.params,n=this.touchEvents,i=this.el,r=this.wrapperEl;this.onTouchStart=_.bind(this),this.onTouchMove=S.bind(this),this.onTouchEnd=E.bind(this),this.onClick=C.bind(this);var o="container"===t.touchEventsTarget?i:r,a=!!t.nested;
2if(c.touch||!c.pointerEvents&&!c.prefixedPointerEvents){if(c.touch){var s=!("touchstart"!==n.start||!c.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};o.addEventListener(n.start,this.onTouchStart,s),o.addEventListener(n.move,this.onTouchMove,c.passiveListener?{passive:!1,capture:a}:a),o.addEventListener(n.end,this.onTouchEnd,s)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!c.touch&&x.ios)&&(o.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,a),e.addEventListener("mouseup",this.onTouchEnd,!1))}else o.addEventListener(n.start,this.onTouchStart,!1),e.addEventListener(n.move,this.onTouchMove,a),e.addEventListener(n.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&o.addEventListener("click",this.onClick,!0),this.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0)},detachEvents:function(){var t=this.params,n=this.touchEvents,i=this.el,r=this.wrapperEl,o="container"===t.touchEventsTarget?i:r,a=!!t.nested;if(c.touch||!c.pointerEvents&&!c.prefixedPointerEvents){if(c.touch){var s=!("onTouchStart"!==n.start||!c.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};o.removeEventListener(n.start,this.onTouchStart,s),o.removeEventListener(n.move,this.onTouchMove,a),o.removeEventListener(n.end,this.onTouchEnd,s)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!c.touch&&x.ios)&&(o.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,a),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else o.removeEventListener(n.start,this.onTouchStart,!1),e.removeEventListener(n.move,this.onTouchMove,a),e.removeEventListener(n.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&o.removeEventListener("click",this.onClick,!0),this.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",k)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,n=this.loopedSlides;void 0===n&&(n=0);var i=this.params,r=i.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=this.getBreakpoint(r);if(o&&this.currentBreakpoint!==o){var a=o in r?r[o]:void 0;a&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=a[e];void 0!==t&&(a[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var s=a||this.originalParams,l=s.direction&&s.direction!==i.direction,c=i.loop&&(s.slidesPerView!==i.slidesPerView||l);l&&t&&this.changeDirection(),u.extend(this.params,s),u.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=o,c&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-n+this.loopedSlides,0,!1)),this.emit("breakpoint",s)}}},getBreakpoint:function(e){if(e){var n=!1,i=[];Object.keys(e).forEach((function(e){i.push(e)})),i.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var r=0;r<i.length;r+=1){var o=i[r];this.params.breakpointsInverse?o<=t.innerWidth&&(n=o):o>=t.innerWidth&&!n&&(n=o)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(t.direction),t.freeMode&&r.push("free-mode"),c.flexbox||r.push("no-flexbox"),t.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),t.slidesPerColumn>1&&r.push("multirow"),x.android&&r.push("android"),x.ios&&r.push("ios"),(d.isIE||d.isEdge)&&(c.pointerEvents||c.prefixedPointerEvents)&&r.push("wp8-"+t.direction),r.forEach((function(n){e.push(t.containerModifierClass+n)})),i.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,n,i,r,o,a){var s;function l(){a&&a()}e.complete&&o?l():n?((s=new t.Image).onload=l,s.onerror=l,r&&(s.sizes=r),i&&(s.srcset=i),n&&(s.src=n)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(
2),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},A={},O=function(e){function t(){for(var n,r,o,a=[],s=arguments.length;s--;)a[s]=arguments[s];1===a.length&&a[0].constructor&&a[0].constructor===Object?o=a[0]:(r=(n=a)[0],o=n[1]),o||(o={}),o=u.extend({},o),r&&!o.el&&(o.el=r),e.call(this,o),Object.keys(M).forEach((function(e){Object.keys(M[e]).forEach((function(n){t.prototype[n]||(t.prototype[n]=M[e][n])}))}));var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var n=Object.keys(t.params)[0],i=t.params[n];if("object"!=typeof i||null===i)return;if(!(n in o&&"enabled"in i))return;!0===o[n]&&(o[n]={enabled:!0}),"object"!=typeof o[n]||"enabled"in o[n]||(o[n].enabled=!0),o[n]||(o[n]={enabled:!1})}}));var d=u.extend({},T);l.useModulesParams(d),l.params=u.extend({},d,A,o),l.originalParams=u.extend({},l.params),l.passedParams=u.extend({},o),l.$=i;var h=i(l.params.el);
2if(r=h[0]){if(h.length>1){var f=[];return h.each((function(e,n){var i=u.extend({},o,{el:n});f.push(new t(i))})),f}r.swiper=l,h.data("swiper",l);var p,m,v=h.children("."+l.params.wrapperClass);return u.extend(l,{$el:h,el:r,$wrapperEl:v,wrapperEl:v[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===v.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(p=["touchstart","touchmove","touchend"],m=["mousedown","mousemove","mouseup"],c.pointerEvents?m=["pointerdown","pointermove","pointerup"]:c.prefixedPointerEvents&&(m=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:p[0],move:p[1],end:p[2]},l.touchEventsDesktop={start:m[0],move:m[1],end:m[2]},c.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:u.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,n=this.slidesGrid,i=this.size,r=this.activeIndex,o=1;if(e.centeredSlides){for(var a,s=t[r].swiperSlideSize,l=r+1;l<t.length;l+=1)t[l]&&!a&&(o+=1,(s+=t[l].swiperSlideSize)>i&&(a=!0));for(var u=r-1;u>=0;u-=1)t[u]&&!a&&(o+=1,(s+=t[u].swiperSlideSize)>i&&(a=!0))}else for(var c=r+1;c<t.length;c+=1)n[c]-n[r]<i&&(o+=1);return o},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+n+" wp8-"+n).addClass(""+this.params.containerModifierClass+e),(d.isIE||d.isEdge)&&(c.pointerEvents||c.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""})),this.emit("changeDirection"),t&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit
2("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,i=n.params,r=n.$el,o=n.$wrapperEl,a=n.slides;return void 0===n.params||n.destroyed?null:(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),u.deleteProps(n)),n.destroyed=!0,null)},t.extendDefaults=function(e){u.extend(A,e)},n.extendedDefaults.get=function(){return A},n.defaults.get=function(){return T},n.Class.get=function(){return e},n.$.get=function(){return i},Object.defineProperties(t,n),t}(h),P={name:"device",proto:{device:x},static:{device:x}},I={name:"support",proto:{support:c},static:{support:c}},L={name:"browser",proto:{browser:d},static:{browser:d}},D={name:"resize",create:function(){var e=this;u.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},j={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,n){void 0===n&&(n={});var i=this,r=new(0,j.func)((function(e){if(1!==e.length){var n=function(){i.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(n):t.setTimeout(n,0)}else i.emit("observerUpdate",e[0])}));r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),i.observer.observers.push(r)},init:function(){if(c.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},N={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){u.extend(this,{observer:{init:j.init.bind(this),attach:j.attach.bind(this),destroy:j.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},F={update:function(e){var t=this,n=t.params,i=n.slidesPerView,r=n.slidesPerGroup,o=n.centeredSlides,a=t.params.virtual,s=a.addSlidesBefore,l=a.addSlidesAfter,c=t.virtual,d=c.from,h=c.to,f=c.slides,p=c.slidesGrid,m=c.renderSlide,v=c.offset;t.updateActiveIndex();var g,b,y,w=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o?(b=Math.floor(i/2)+r+s,y=Math.floor(i/2)+r+l):(b=i+(r-1)+s,y=r+l);var x=Math.max((w||0)-y,0),_=Math.min((w||0)+b,f.length-1),S=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function E(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(u.extend(t.virtual,{from:x,to:_,offset:S,slidesGrid:t.slidesGrid}),d===x&&h===_&&!e)return t.slidesGrid!==p&&S!==v&&t.slides.css(g,S+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:S,from:x,to:_,slides:function(){for(var e=[],t=x;t<=_;t+=1)e.push(f[t]);return e}()}),void E();var k=[],C=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var T=d;T<=h;T+=1)(T<x||T>_)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+T+'"]').remove();for(var M=0;M<f.length;M+=1)M>=x&&M<=_&&(void 0===h||e?C.push(M):(M>h&&C.push(M),M<d&&k.push(M)));
2C.forEach((function(e){t.$wrapperEl.append(m(f[e],e))})),k.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(m(f[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,S+"px"),E()},renderSlide:function(e,t){var n=this.params.virtual;if(n.cache&&this.virtual.cache[t])return this.virtual.cache[t];var r=n.renderSlide?i(n.renderSlide.call(this,e,t)):i('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=r),r},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,n=t+1,i=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&this.virtual.slides.unshift(e[r]);n=t+e.length,i=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var o=this.virtual.cache,a={};Object.keys(o).forEach((function(e){a[parseInt(e,10)+i]=o[e]})),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(n,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)this.virtual.slides.splice(e[n],1),this.params.virtual.cache&&delete this.virtual.cache[e[n]],e[n]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},R={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){u.extend(this,{virtual:{update:F.update.bind(this),appendSlide:F.appendSlide.bind(this),prependSlide:F.prependSlide.bind(this),removeSlide:F.removeSlide.bind(this),removeAllSlides:F.removeAllSlides.bind(this),renderSlide:F.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};u.extend(this.params,e),u.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
2)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},$={handle:function(n){var i=this.rtlTranslate,r=n;r.originalEvent&&(r=r.originalEvent);var o=r.keyCode||r.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===o||this.isVertical()&&40===o||34===o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===o||this.isVertical()&&38===o||33===o))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===o||34===o||37===o||39===o||38===o||40===o)){var a=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var s=t.innerWidth,l=t.innerHeight,u=this.$el.offset();i&&(u.left-=this.$el[0].scrollLeft);for(var c=[[u.left,u.top],[u.left+this.width,u.top],[u.left,u.top+this.height],[u.left+this.width,u.top+this.height]],d=0;d<c.length;d+=1){var h=c[d];h[0]>=0&&h[0]<=s&&h[1]>=0&&h[1]<=l&&(a=!0)}if(!a)return}this.isHorizontal()?(33!==o&&34!==o&&37!==o&&39!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==o&&39!==o||i)&&(33!==o&&37!==o||!i)||this.slideNext(),(33!==o&&37!==o||i)&&(34!==o&&39!==o||!i)||this.slidePrev()):(33!==o&&34!==o&&38!==o&&40!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==o&&40!==o||this.slideNext(),33!==o&&38!==o||this.slidePrev()),this.emit("keyPress",o)}},enable:function(){this.keyboard.enabled||(i(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(i(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},B={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){u.extend(this,{keyboard:{enabled:!1,enable:$.enable.bind(this),disable:$.disable.bind(this),handle:$.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},H={lastScrollTime:u.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var n=e.createElement("div");n.setAttribute("onwheel","return;"),t="function"==typeof n.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var n=e,i=this,r=i.params.mousewheel;if(!i.mouseEntered&&!r.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);var o=0,a=i.rtlTranslate?-1:1,s=H.normalize(n);if(r.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(r.invert&&(o=-o),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+o*r.sensitivity,c=i.isBeginning,d=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!c&&i.isBeginning||!d&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=u.nextTick((function(){i.slideToClosest()}),300)),i.emit("scroll",n),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}
2else{if(u.now()-i.mousewheel.lastScrollTime>60)if(o<0)if(i.isEnd&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",n);else if(i.isBeginning&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",n);i.mousewheel.lastScrollTime=(new t.Date).getTime()}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},enable:function(){if(!H.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=i(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(H.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!H.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=i(this.params.mousewheel.eventsTarged)),e.off(H.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},z={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,n=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(this.isBeginning?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),n&&n.length>0&&(this.isEnd?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(e=i(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===this.$el.find(n.nextEl).length&&(e=this.$el.find(n.nextEl))),n.prevEl&&(t=i(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===this.$el.find(n.prevEl).length&&(t=this.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),u.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),n&&n.length&&(n.off("click",this.navigation.onPrevClick),n.removeClass(this.params.navigation.disabledClass))}},q={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,r=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,o=this.pagination.$el,a=this.params.loop?Math.ceil((r-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>r-1-2*this.loopedSlides&&(n-=r-2*this.loopedSlides),n>a-1&&(n-=a),n<0&&"bullets"!==this.params.paginationType&&(n=a+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var s,l,u,c=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=c.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),s=n-this.pagination.dynamicBulletIndex,u=((l=s+(Math.min(c.length,t.dynamicMainBullets)-1))+s)/2),c.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),o.length>1)c.each((function(e,r){var o=i(r),a=o.index();a===n&&o.addClass(t.bulletActiveClass),t.dynamicBullets&&(a>=s&&a<=l&&o.addClass(t.bulletActiveClass+"-main"),a===s&&o.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),a===l&&o.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(c.eq(n).addClass(t.bulletActiveClass),t.dynamicBullets){for(var d=c.eq(s),h=c.eq(l),f=s;f<=l;f+=1)c.eq(f).addClass(t.bulletActiveClass+"-main");d.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),h.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var p=Math.min(c.length,t.dynamicMainBullets+4),m=(this.pagination.bulletSize*p-this.pagination.bulletSize)/2-u*this.pagination.bulletSize,v=e?"right":"left";c.css(this.isHorizontal()?v:"top",m+"px")}}if("fraction"===t.type&&(o.find("."+t.currentClass).text(t.formatFractionCurrent(n+1)),o.find("."+t.totalClass).text(t.formatFractionTotal(a))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var b=(n+1)/a,y=1,w=1;"horizontal"===g?y=b:w=b,o.find("."+t.progressbarFillClass).transform("translate3d(0,
20,0) scaleX("+y+") scaleY("+w+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(o.html(t.renderCustom(this,n+1,a)),this.emit("paginationRender",this,o[0])):this.emit("paginationUpdate",this,o[0]),o[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,n=this.pagination.$el,i="";if("bullets"===e.type){for(var r=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,o=0;o<r;o+=1)e.renderBullet?i+=e.renderBullet.call(this,o,e.bulletClass):i+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";n.html(i),this.pagination.bullets=n.find("."+e.bulletClass)}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',n.html(i)),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',n.html(i)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=i(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();var n=i(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),u.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},W={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,n=this.progress,i=e.dragSize,r=e.trackSize,o=e.$dragEl,a=e.$el,s=this.params.scrollbar,l=i,u=(r-i)*n;t?(u=-u)>0?(l=i-u,u=0):-u+i>r&&(l=r+u):u<0?(l=i+u,u=0):u+i>r&&(l=r-u),this.isHorizontal()?(c.transforms3d?o.transform("translate3d("+u+"px, 0, 0)"):o.transform("translateX("+u+"px)"),o[0].style.width=l+"px"):(c.transforms3d?o.transform("translate3d(0px, "+u+"px, 0)"):o.transform("translateY("+u+"px)"),o[0].style.height=l+"px"),s.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,n=e.$el;t[0].style.width="",t[0].style.height="";var i,r=this.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,o=this.size/this.virtualSize,a=o*(r/this.size);i="auto"===this.params.scrollbar.dragSize?r*o:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=i+"px":t[0].style.height=i+"px",n[0].style.display=o>=1?"none":"",this.params.scrollbar.hide&&(n[0].style.opacity=0),u.extend(e,{trackSize:r,divider:o,moveDivider:a,dragSize:i}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY}
2,setDragPosition:function(e){var t,n=this.scrollbar,i=this.rtlTranslate,r=n.$el,o=n.dragSize,a=n.trackSize,s=n.dragStartPos;t=(n.getPointerPosition(e)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(a-o),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el,o=n.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===o[0]||e.target===o?n.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),o.transition(100),n.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),t.hide&&r.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,i=t.$el,r=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,n=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=u.nextTick((function(){n.css("opacity",0),n.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,n=this.touchEventsTouch,i=this.touchEventsDesktop,r=this.params,o=t.$el[0],a=!(!c.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},s=!(!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};c.touch?(o.addEventListener(n.start,this.scrollbar.onDragStart,a),o.addEventListener(n.move,this.scrollbar.onDragMove,a),o.addEventListener(n.end,this.scrollbar.onDragEnd,s)):(o.addEventListener(i.start,this.scrollbar.onDragStart,a),e.addEventListener(i.move,this.scrollbar.onDragMove,a),e.addEventListener(i.end,this.scrollbar.onDragEnd,s))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,n=this.touchEventsTouch,i=this.touchEventsDesktop,r=this.params,o=t.$el[0],a=!(!c.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},s=!(!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};c.touch?(o.removeEventListener(n.start,this.scrollbar.onDragStart,a),o.removeEventListener(n.move,this.scrollbar.onDragMove,a),o.removeEventListener(n.end,this.scrollbar.onDragEnd,s)):(o.removeEventListener(i.start,this.scrollbar.onDragStart,a),e.removeEventListener(i.move,this.scrollbar.onDragMove,a),e.removeEventListener(i.end,this.scrollbar.onDragEnd,s))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,n=this.params.scrollbar,r=i(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===t.find(n.el).length&&(r=t.find(n.el));var o=r.find("."+this.params.scrollbar.dragClass);0===o.length&&(o=i('<div class="'+this.params.scrollbar.dragClass+'"></div>'),r.append(o)),u.extend(e,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),n.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},V={setTransform:function(e,t){var n=this.rtl,r=i(e),o=n?-1:1,a=r.attr("data-swiper-parallax")||"0",s=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y"),u=r.attr("data-swiper-parallax-scale"),c=r.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):this.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*t*o+"%":s*t*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=c){var d=c-(c-1)*(1-Math.abs(t));r[0].style.opacity=d}if(null==u)r.transform("translate3d("+s+", "+l+", 0px)");else{var h=u-(u-1)*(1-Math.abs(t));r.transform("translate3d("+s+", "+l+", 0px) scale("+h+")")}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,r=e.progress,o=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,r)})),n.each((function(t,n){var a=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(t/2)-r*(o.length-1)),a=Math.min(Math.max(a,-1),1),i(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,a)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var r=i(n),o=parseInt(r.attr("data-swiper-parallax-duration"),10)||e;0===e&&(o=0),r.transition(o)}))}},Y={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;
vendor: 5,488 bytes, line 2
2var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(r-n,2))},onGestureStart:function(e){var t=this.params.zoom,n=this.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!c.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=Y.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=i(e.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=this.slides.eq(this.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+t.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),this.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!c.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=Y.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(c.gestures?n.scale=e.scale*n.currentScale:n.scale=i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!c.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+n.scale+")"),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,i=t.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(x.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,n=t.gesture,i=t.image,r=t.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(this.allowClick=!1,i.isTouched&&n.$slideEl)){i.isMoved||(i.width=n.$imageEl[0].offsetWidth,i.height=n.$imageEl[0].offsetHeight,i.startX=u.getTranslate(n.$imageWrapEl[0],"x")||0,i.startY=u.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),this.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var o=i.width*t.scale,a=i.height*t.scale;if(!(o<n.slideWidth&&a<n.slideHeight)){if(i.minX=Math.min(n.slideWidth/2-o/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-a/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var r=300,o=300,a=i.x*r,s=n.currentX+a,l=i.y*o,u=n.currentY+l;0!==i.x&&(r=Math.abs((s-n.currentX)/i.x)),0!==i.y&&(o=Math.abs((u-n.currentY)/i.y));var c=Math.max(r,o);n.currentX=s,n.currentY=u;var d=n.width*e.scale,h=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-h/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(c).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,
20,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,r,o,a,s,l,u,c,d,h,f,p,m,v,g,b=this.zoom,y=this.params.zoom,w=b.gesture,x=b.image;w.$slideEl||(w.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas"),w.$imageWrapEl=w.$imageEl.parent("."+y.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&(w.$slideEl.addClass(""+y.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,n=x.touchesStart.y),b.scale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,b.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(v=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,r=w.$slideEl.offset().left+v/2-t,o=w.$slideEl.offset().top+g/2-n,l=w.$imageEl[0].offsetWidth,u=w.$imageEl[0].offsetHeight,c=l*b.scale,d=u*b.scale,p=-(h=Math.min(v/2-c/2,0)),m=-(f=Math.min(g/2-d/2,0)),(a=r*b.scale)<h&&(a=h),a>p&&(a=p),(s=o*b.scale)<f&&(s=f),s>m&&(s=m)):(a=0,s=0),w.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+s+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,n=e.gesture;n.$slideEl||(n.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(e.scale=1,e.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+t.zoomedSlideClass),n.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!c.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!c.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},G={loadInSlide:function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var o=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):n.slides.eq(e),a=o.find("."+r.elementClass+":not(."+r.loadedClass+"):not(."+r.loadingClass+")");!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(a=a.add(o[0])),0!==a.length&&a.each((function(e,a){var s=i(a);s.addClass(r.loadingClass);var l=s.attr("data-background"),u=s.attr("data-src"),c=s.attr("data-srcset"),d=s.attr("data-sizes");n.loadImage(s[0],u||l,c,d,!1,(function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){
2if(l?(s.css("background-image",'url("'+l+'")'),s.removeAttr("data-background")):(c&&(s.attr("srcset",c),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),u&&(s.attr("src",u),s.removeAttr("data-src"))),s.addClass(r.loadedClass).removeClass(r.loadingClass),o.find("."+r.preloaderClass).remove(),n.params.loop&&t){var e=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(i.index(),!1)}else{var a=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');n.lazy.loadInSlide(a.index(),!1)}}n.emit("lazyImageReady",o[0],s[0])}})),n.emit("lazyImageLoad",o[0],s[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides,o=e.activeIndex,a=e.virtual&&n.virtual.enabled,s=n.lazy,l=n.slidesPerView;function u(e){if(a){if(t.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(r[e])return!0;return!1}function c(e){return a?i(e).attr("data-swiper-slide-index"):i(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((function(t,n){var r=a?i(n).attr("data-swiper-slide-index"):i(n).index();e.lazy.loadInSlide(r)}));else if(l>1)for(var d=o;d<o+l;d+=1)u(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(o);if(s.loadPrevNext)if(l>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var h=s.loadPrevNextAmount,f=l,p=Math.min(o+f+Math.max(h,f),r.length),m=Math.max(o-Math.max(f,h),0),v=o+l;v<p;v+=1)u(v)&&e.lazy.loadInSlide(v);for(var g=m;g<o;g+=1)u(g)&&e.lazy.loadInSlide(g)}else{var b=t.children("."+n.slideNextClass);b.length>0&&e.lazy.loadInSlide(c(b));var y=t.children("."+n.slidePrevClass);y.length>0&&e.lazy.loadInSlide(c(y))}}},U={LinearSpline:function(e,t){var n,i,r,o,a,s=function(e,t){for(i=-1,n=e.length;n-i>1;)e[r=n+i>>1]<=t?i=r:n=r;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=s(this.x,e),o=a-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new U.LinearSpline(this.slidesGrid,e.slidesGrid):new U.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,i,r=this,o=r.controller.control;function a(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),i=-r.controller.spline.interpolate(-t)),i&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==t&&o[s]instanceof O&&a(o[s]);else o instanceof O&&t!==o&&a(o)},setTransition:function(e,t){var n,i=this,r=i.controller.control;function o(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&u.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==t&&r[n]instanceof O&&o(r[n]);else r instanceof O&&t!==r&&o(r)}},X={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){u.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:U.getInterpolateFunction.bind(this),setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},K={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var n=i(e.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeg
2inning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;n&&n.length>0&&(this.isBeginning?this.a11y.disableEl(n):this.a11y.enableEl(n)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,r){var o=i(r);e.a11y.makeElFocusable(o),e.a11y.addElRole(o,"button"),e.a11y.addElLabel(o,t.paginationBulletMessage.replace(/{{index}}/,o.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,n=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,n.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,n.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},Z={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=Z.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=Z.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),n=e.length;return{key:e[n-2],value:e[n-1]}},setHistory:function(e,n){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(n),r=Z.slugify(i.attr("data-history"));t.location.pathname.includes(e)||(r=e+"/"+r);var o=t.history.state;o&&o.value===r||(this.params.history.replaceState?t.history.replaceState({value:r},null,r):t.history.pushState({value:r},null,r))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var i=0,r=this.slides.length;i<r;i+=1){var o=this.slides.eq(i);if(Z.slugify(o.attr("data-history"))===t&&!o.hasClass(this.params.slideDuplicateClass)){var a=o.index();this.slideTo(a,e,n)}}else this.slideTo(0,e,n)}},J={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var n=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===n)return;this.slideTo(n)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var n=this.slides.eq(this.activeIndex),i=n.attr("data-hash")||n.attr("data-history");e.location.hash=i||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var n=e.location.hash.replace("#","");if(n)for(var r=0,o=this.slides.length;r<o;r+=1){var a=this.slides.eq(r);if((a.attr("data-hash")||a.attr("data-history"))===n&&!a.hasClass(this.params.slideDuplicateClass)){var s=a.index();this.slideTo(s,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&i(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&i(t).off("hashchange",this.hashNavigation.onHashCange)}},Q={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=u.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
2!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),n)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ee={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var n=this.slides.eq(t),i=-n[0].swiperSlideOffset;this.params.virtualTranslate||(i-=this.translate);var r=0;this.isHorizontal()||(r=i,i=0);var o=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:o}).transform("translate3d("+i+"px, "+r+"px, 0px)")}},setTransition:function(e){var t=this,n=t.slides,i=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},te={setTranslate:function(){var e,t=this.$el,n=this.$wrapperEl,r=this.slides,o=this.width,a=this.height,s=this.rtlTranslate,l=this.size,u=this.params.cubeEffect,c=this.isHorizontal(),h=this.virtual&&this.params.virtual.enabled,f=0;u.shadow&&(c?(0===(e=n.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),n.append(e)),e.css({height:o+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var p=0;p<r.length;p+=1){var m=r.eq(p),v=p;h&&(v=parseInt(m.attr("data-swiper-slide-index"),10));var g=90*v,b=Math.floor(g/360);s&&(g=-g,b=Math.floor(-g/360));var y=Math.max(Math.min(m[0].progress,1),-1),w=0,x=0,_=0;v%4==0?(w=4*-b*l,_=0):(v-1)%4==0?(w=0,_=4*-b*l):(v-2)%4==0?(w=l+4*b*l,_=l):(v-3)%4==0&&(w=-l,_=3*l+4*l*b),s&&(w=-w),c||(x=w,w=0);var S="rotateX("+(c?0:-g)+"deg) rotateY("+(c?g:0)+"deg) translate3d("+w+"px, "+x+"px, "+_+"px)";if(y<=1&&y>-1&&(f=90*v+90*y,s&&(f=90*-v-90*y)),m.transform(S),u.slideShadows){var E=c?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),k=c?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),m.append(E)),0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),m.append(k)),E.length&&(E[0].style.opacity=Math.max(-y,0)),k.length&&(k[0].style.opacity=Math.max(y,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),u.shadow)if(c)e.transform("translate3d(0px, "+(o/2+u.shadowOffset)+"px, "+-o/2+"px) rotateX(90deg) rotateZ(0deg) scale("+u.shadowScale+")");else{var C=Math.abs(f)-90*Math.floor(Math.abs(f)/90),T=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),M=u.shadowScale,A=u.shadowScale/T,O=u.shadowOffset;e.transform("scale3d("+M+", 1, "+A+") translate3d(0px, "+(a/2+O)+"px, "+-a/2/A+"px) rotateX(-90deg)")}var P=d.isSafari||d.isUiWebView?-l/2:0;n.transform("translate3d(0px,0,"+P+"px) rotateX("+(this.isHorizontal()?0:f)+"deg) rotateY("+(this.isHorizontal()?-f:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ne={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,n=0;n<e.length;n+=1){var r=e.eq(n),o=r[0].progress;this.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r[0].progress,
21),-1));var a=-180*o,s=0,l=-r[0].swiperSlideOffset,u=0;if(this.isHorizontal()?t&&(a=-a):(u=l,l=0,s=-a,a=0),r[0].style.zIndex=-Math.abs(Math.round(o))+e.length,this.params.flipEffect.slideShadows){var c=this.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===c.length&&(c=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),r.append(c)),0===d.length&&(d=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),r.append(d)),c.length&&(c[0].style.opacity=Math.max(-o,0)),d.length&&(d[0].style.opacity=Math.max(o,0))}r.transform("translate3d("+l+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+a+"deg)")}},setTransition:function(e){var t=this,n=t.slides,i=t.activeIndex,r=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var o=!1;n.eq(i).transitionEnd((function(){if(!o&&t&&!t.destroyed){o=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)r.trigger(e[n])}}))}}},ie={setTranslate:function(){for(var e=this.width,t=this.height,n=this.slides,r=this.$wrapperEl,o=this.slidesSizesGrid,a=this.params.coverflowEffect,s=this.isHorizontal(),l=this.translate,u=s?e/2-l:t/2-l,d=s?a.rotate:-a.rotate,h=a.depth,f=0,p=n.length;f<p;f+=1){var m=n.eq(f),v=o[f],g=(u-m[0].swiperSlideOffset-v/2)/v*a.modifier,b=s?d*g:0,y=s?0:d*g,w=-h*Math.abs(g),x=s?0:a.stretch*g,_=s?a.stretch*g:0;Math.abs(_)<.001&&(_=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(b)<.001&&(b=0),Math.abs(y)<.001&&(y=0);var S="translate3d("+_+"px,"+x+"px,"+w+"px) rotateX("+y+"deg) rotateY("+b+"deg)";if(m.transform(S),m[0].style.zIndex=1-Math.abs(Math.round(g)),a.slideShadows){var E=s?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),k=s?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),m.append(E)),0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),m.append(k)),E.length&&(E[0].style.opacity=g>0?g:0),k.length&&(k[0].style.opacity=-g>0?-g:0)}}(c.pointerEvents||c.prefixedPointerEvents)&&(r[0].style.perspectiveOrigin=u+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},re={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,u.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),u.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):u.isObject(e.swiper)&&(this.thumbs.swiper=new t(u.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,n=e.clickedSlide;if(!(n&&i(n).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var r;if(r=e.params.loop?parseInt(i(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var o=this.activeIndex;this.slides.eq(o).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,o=this.activeIndex);var a=this.slides.eq(o).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),s=this.slides.eq(o).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r=void 0===a?s:void 0===s?a:s-o<o-a?s:a}this.slideTo(r)}}},update:function(e){var t=this.thumbs.swiper;if(t){var n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var i,r=t.activeIndex;if(t.params.loop){t.slides.eq(r).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,r=t.activeIndex);var o=t.slides.eq(r).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),a=t.slides.eq(r).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();i=void 0===o?a:void 0===a?o:a-r==r-o?r:a-r<r-o?a:o}else i=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(i)<0&&(t.params.centeredSlides?i=i>r?i-Math.floor(n/2)+1:i+Math.floor(n/2)-1:i>r&&(i=i-n+1),t.slideTo(i,e?0:void 0))}var s=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(s=this.params.slidesPerView),t.slides.removeClass(l),t.params.loop||t.params.virtual)for(var u=0;u<s;u+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+u)+'"]').addClass(l);else for(var c=0;c<s;c+=1)t.slides.eq(this.realIndex+c).addClass(l)}}},oe=[P,I,L,D,N,R,B,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){u.extend(this,{mousewheel:{enabled:!1,enable:H.enable.bind(this),disable:H.disable.bind(this),handle:H.handle.bind(this),handleMouseEnter:H.handleMouseEnter.bind(this),handleMouseLeave:H.handleMouseLeave.bind(this),lastScrollTime:u.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){u.extend(this,{navigation:{init:z.init.bind(this),update:z.update.bind(this),destroy:z.destroy.bind(this),onNextClick:z.onNextClick.bind(this),onPrevClick:z.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this.navigation,r=n.$nextEl,o=n.$prevEl;!this.params.navigation.hideOnClick||i(e.target).is(o)||i(e.target).is(r)||(r?t=r.hasClass(this.params.navigation.hiddenClass):o&&(t=o.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit
2("navigationShow",this):this.emit("navigationHide",this),r&&r.toggleClass(this.params.navigation.hiddenClass),o&&o.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){u.extend(this,{pagination:{init:q.init.bind(this),render:q.render.bind(this),update:q.update.bind(this),destroy:q.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!i(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){u.extend(this,{scrollbar:{init:W.init.bind(this),destroy:W.destroy.bind(this),updateSize:W.updateSize.bind(this),setTranslate:W.setTranslate.bind(this),setTransition:W.setTransition.bind(this),enableDraggable:W.enableDraggable.bind(this),disableDraggable:W.disableDraggable.bind(this),setDragPosition:W.setDragPosition.bind(this),getPointerPosition:W.getPointerPosition.bind(this),onDragStart:W.onDragStart.bind(this),onDragMove:W.onDragMove.bind(this),onDragEnd:W.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){u.extend(this,{parallax:{setTransform:V.setTransform.bind(this),setTranslate:V.setTranslate.bind(this),setTransition:V.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=Y[n].bind(e)})),u.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,r)}n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){u.extend(this,{lazy:{initialImageLoaded:!1,load:G.load.bind(this),loadInSlide:G.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},X,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;u.extend(e,{a11y:{liveRegion:i('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}
2),Object.keys(K).forEach((function(t){e.a11y[t]=K[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){u.extend(this,{history:{init:Z.init.bind(this),setHistory:Z.setHistory.bind(this),setHistoryPopState:Z.setHistoryPopState.bind(this),scrollToSlide:Z.scrollToSlide.bind(this),destroy:Z.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){u.extend(this,{hashNavigation:{initialized:!1,init:J.init.bind(this),destroy:J.destroy.bind(this),setHash:J.setHash.bind(this),onHashCange:J.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;u.extend(e,{autoplay:{running:!1,paused:!1,run:Q.run.bind(e),start:Q.start.bind(e),stop:Q.stop.bind(e),pause:Q.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){u.extend(this,{fadeEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){u.extend(this,{cubeEffect:{setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){u.extend(this,{flipEffect:{setTranslate:ne.setTranslate.bind(this),setTransition:ne.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){u.extend(this,{coverflowEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){u.extend(this,{thumbs:{swiper:null,init:re.init.bind(this),update:re.update.bind(this),onThumbClick:re.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===O.use&&(O.use=O.Class.use,O.installModule=O.Class.installModule),O.use(oe),O}()},function(e,t,n){var i=n(7);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(57)("meta"),r=n(7),o=n(28),a=n(18).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(5)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;
2if(!t)return!1;c(e)}return e[i].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!o(e,i)&&c(e),e}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var i=n(237),r=n(126);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(38),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(6),r=n(238),o=n(126),a=n(125)("IE_PROTO"),s=function(){},l=function(){var e,t=n(123)("iframe"),i=o.length;for(t.style.display="none",n(127).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(237),r=n(126).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){var i=n(28),r=n(22),o=n(125)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var i=n(11)("unscopables"),r=Array.prototype;null==r[i]&&n(29)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){var i=n(7);e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e).defaultView||window};var i,r=n(14),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){r||function(e){i.some((function(t){return!!e[t]&&(r=t,!0)}))}(e);return e[r](t)};var i=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],r=null;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.findIndex)return e.findIndex(t);var n=e.length;if(0===n)return-1;for(var i=0;i<n;i++)if(t(e[i],i,e))return i;return-1},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof a){var t=(0,o.default)();t&&(a=", html "+t+" ")}return a?e+a+e.replace(/\s*,\s*/g,",").split(",").join(a):e};var i,r=n(88),o=(i=r)&&i.__esModule?i:{default:i};var a=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.list,n=e.elements,i=e.resolveElement,a=t.slice(0),u=(0,r.default)(n).slice(0);(0,o.default)(u);var c=s(a,u,i);return l(a,c),a};var i=a(n(68)),r=a(n(13)),o=a(n(204));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n){var o=[];return t.forEach((function(t){var a=!0,s=e.indexOf(t);-1===s&&(s=function(e,t){return(0,i.default)(e,(function(e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}))}(e,t),a=!1),-1===s&&(s=e.length);var l=(0,r.default)(n?n(t):t);l.length&&o.push({offset:s,replace:a,elements:l})})),o}function l(e,t){var n=0;t.sort((function(e,t){return e.offset-t.offset})),t.forEach((function(t){var i=t.replace?1:0,r=[t.offset+n,i].concat(t.elements);e.splice.apply(e,r),n+=t.elements.length-i}))}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(72)),r=o(n(35));function o(e){return e&&e.__esModule?e:{default:e}}var a,s,l,u,c,d,h=void 0,f=void 0;"undefined"!=typeof document&&document.documentElement.createShadowRoot?(
2a=void 0,s=void 0,l=function(){u(),(window.clearImmediate||window.clearTimeout)(a),a=(window.setImmediate||window.setTimeout)((function(){c()}))},u=function(){s&&s.removeEventListener("blur",l,!0),s=null},c=function(){var e=(0,i.default)();if(1!==e.length){var t;(t=e[0]).addEventListener("blur",l,!0),s=t;var n=new CustomEvent("shadow-focus",{bubbles:!1,cancelable:!1,detail:{elements:e,active:e[0],hosts:e.slice(1)}});document.dispatchEvent(n)}else u()},d=function(){(window.clearImmediate||window.clearTimeout)(a),c()},h=function(){document.addEventListener("focus",d,!0)},f=function(){(window.clearImmediate||window.clearTimeout)(a),s&&s.removeEventListener("blur",l,!0),document.removeEventListener("focus",d,!0)}):h=f=function(){},t.default=(0,r.default)({engage:h,disengage:f}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null===document.activeElement&&document.body.focus(),(0,i.default)(document.activeElement)?(e=(0,r.default)({context:document.activeElement}),[document.activeElement].concat(e)):function(){var e=[document.activeElement];for(;e[0]&&e[0].shadowRoot;)e.unshift(e[0].shadowRoot.activeElement);return e}();var e};var i=o(n(100)),r=o(n(101));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.engage,n=e.disengage,i={engage:t||l,disengage:n||l,context:null};return s.bind(i)};var i,r=n(13),o=(i=r)&&i.__esModule?i:{default:i};function a(){this.context&&(this.context.forEach(this.disengage),this.context=null,this.engage=null,this.disengage=null)}function s(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context;return this.context=(0,o.default)(e||document),this.context.forEach(this.engage),{disengage:a.bind(this)}}function l(){}e.exports=t.default},function(e,t,n){var i=n(18).f,r=n(28),o=n(11)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(1),r=n(43),o=n(5),a=n(129),s="["+a+"]",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),c=function(e,t,n){var r={},s=o((function(){return!!a[e]()||"âÂ
"!="âÂ
"[e]()})),l=r[e]=s?t(d):a[e];n&&(r[n]=l),i(i.P+i.F*s,"String",r)},d=c.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=c},function(e,t){e.exports={}},function(e,t,n){"use strict";var i=n(4),r=n(18),o=n(17),a=n(11)("species");e.exports=function(e){var t=i[e];o&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(24);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){(function(t){var n;window,n=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/public/assets/scripts/",n(n.s=4)}([function(e,t,n){"use strict";var i=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t,n){var i={};return n.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=o(e[t],n)})),s(t).forEach((function(r){(function(e,t){try{return t in e&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}catch(e){return!1}})(e,r)||(n.isMergeableObject(t[r])&&e[r]?i[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):i[r]=o(t[r],n))})),i}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=o;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):l(e,t,n):o(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var c=u;e.exports=c},function(e,t,n){"use strict";(function(e,i){var r,o=n(3);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:i;var a=Object(o.a)(r);t.a=a}).call(this,n(5),n(6)(e))},function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};
vendor: 12,296 bytes, line 2
2return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){function i(e){return(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})(e)}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=n(2),a=n(8),s=n(0),l=function(){function e(t,n){var i=n.location,r=void 0===i?0:i,o=n.distance,s=void 0===o?100:o,l=n.threshold,u=void 0===l?.6:l,c=n.maxPatternLength,d=void 0===c?32:c,h=n.caseSensitive,f=void 0!==h&&h,p=n.tokenSeparator,m=void 0===p?/ +/g:p,v=n.findAllMatches,g=void 0!==v&&v,b=n.minMatchCharLength,y=void 0===b?1:b,w=n.id,x=void 0===w?null:w,_=n.keys,S=void 0===_?[]:_,E=n.shouldSort,k=void 0===E||E,C=n.getFn,T=void 0===C?a:C,M=n.sortFn,A=void 0===M?function(e,t){return e.score-t.score}:M,O=n.tokenize,P=void 0!==O&&O,I=n.matchAllTokens,L=void 0!==I&&I,D=n.includeMatches,j=void 0!==D&&D,N=n.includeScore,F=void 0!==N&&N,R=n.verbose,$=void 0!==R&&R;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:r,distance:s,threshold:u,maxPatternLength:d,isCaseSensitive:f,tokenSeparator:m,findAllMatches:g,minMatchCharLength:y,id:x,keys:S,includeMatches:j,includeScore:F,shouldSort:k,getFn:T,sortFn:A,verbose:$,tokenize:P,matchAllTokens:L},this.setCollection(t)}var t,n;return t=e,(n=[{key:"setCollection",value:function(e){return this.list=e,e}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),i=n.tokenSearchers,r=n.fullSearcher,o=this._search(i,r),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),i=0,r=n.length;i<r;i+=1)t.push(new o(n[i],this.options));return{tokenSearchers:t,fullSearcher:new o(e,this.options)}}},{key:"_search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,i={},r=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o<a;o+=1)this._analyze({key:"",value:n[o],record:o,index:o},{resultMap:i,results:r,tokenSearchers:e,fullSearcher:t});return{weights:null,results:r}}for(var s={},l=0,u=n.length;l<u;l+=1)for(var c=n[l],d=0,h=this.options.keys.length;d<h;d+=1){var f=this.options.keys[d];if("string"!=typeof f){if(s[f.name]={weight:1-f.weight||1},f.weight<=0||f.weight>1)throw new Error("Key weight has to be > 0 and <= 1");f=f.name}else s[f]={weight:1};this._analyze({key:f,value:this.options.getFn(c,f),record:c,index:l},{resultMap:i,results:r,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:r}}},{key:"_analyze",value:function(e,t){var n=e.key,i=e.arrayIndex,r=void 0===i?-1:i,o=e.value,a=e.record,l=e.index,u=t.tokenSearchers,c=void 0===u?[]:u,d=t.fullSearcher,h=void 0===d?[]:d,f=t.resultMap,p=void 0===f?{}:f,m=t.results,v=void 0===m?[]:m;if(null!=o){var g=!1,b=-1,y=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var w=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(w.score)),this.options.tokenize){for(var x=o.split(this.options.tokenSeparator),_=[],S=0;S<c.length;S+=1){var E=c[S];this._log('\nPattern: "'.concat(E.pattern,'"'));for(var k=!1,C=0;C<x.length;C+=1){var T=x[C],M=E.search(T),A={};M.isMatch?(A[T]=M.score,g=!0,k=!0,_.push(M.score)):(A[T]=1,this.options.matchAllTokens||_.push(1)),this._log('Token: "'.concat(T,'", score: ').concat(A[T]))}k&&(y+=1)}b=_[0];for(var O=_.length,P=1;P<O;P+=1)b+=_[P];b/=O,this._log("Token score average:",b)}var I=w.score;b>-1&&(I=(I+b)/2),this._log("Score average:",I);var L=!this.options.tokenize||!this.options.matchAllTokens||y>=c.length;if(this._log("\nCheck Matches: ".concat(L)),(g||w.isMatch)&&L){var D=p[l];D?D.output.push({key:n,arrayIndex:r,value:o,score:I,matchedIndices:w.matchedIndices}):(p[l]={item:a,output:[{key:n,arrayIndex:r,value:o,score:I,matchedIndices:w.matchedIndices}]},v.push(p[l]))}}else if(s(o))for(var j=0,N=o.length;j<N;j+=1)this._analyze({key:n,arrayIndex:j,value:o[j],record:a,index:l},{resultMap:p,results:v,tokenSearchers:c,fullSearcher:h})}}},{key:"_computeScore",value:function(e,t){this._log("\n\nComputing score:\n");for(var n=0,i=t.length;n<i;n+=1){for(var r=t[n].output,o=r.length,a=1,s=1,l=0;l<o;l+=1){var u=e?e[r[l].key].weight:1,c=(1===u?r[l].score:r[l].score||.001)*u;1!==u?s=Math.min(s,c):(r[l].nScore=c,a*=c)}t[n].score=1===s?a:s,this._log(t[n])}}},{key:"_sort",value:function(e){this._log("\n\nSorting...."),e.sort(this.options.sortFn)}},{key:"_format",value:function(e){var t=[];if(this.options.verbose){var n=[];this._log("\n\nOutput:\n\n",JSON.stringify(e,(function(e,t){if("object"===i(t)&&null!==t){if(-1!==n.indexOf(t))return;n.push(t)}return t}))),n=null}var r=[];this.options.includeMatches&&r.push((function(e,t){var n=e.output;t.matches=[];for(var i=0,r=n.length;i<r;i+=1){var o=n[i];if(0!==o.matchedIndices.length){var a={indices:o.matchedIndices,value:o.value};o.key&&(a.key=o.key),o.hasOwnProperty("arrayIndex")&&o.arrayIndex>-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}})),this.options.includeScore&&r.push((function(e,t){t.score=e.score}));for(var o=0,a=e.length;o<a;o+=1){var s=e[o];if(this.options.id&&(s.item=this.options.getFn(s.item,this.options.id)[0]),r.length){for(var l={item:s.item},u=0,c=r.length;u<c;u+=1)r[u](s,l);t.push(l)}else t.push(s.item)}return t}},{key:"_log",value:function(){var e;this.options.verbose&&(e=console).log.apply(e,arguments)}}])&&r(t.prototype,n),e}();e.exports=l},function(e,t,n){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=n(3),o=n(4),a=n(7),s=function(){function e(t,n){var i=n.location,r=void 0===i?0:i,o=n.distance,s=void 0===o?100:o,l=n.threshold,u=void 0===l?.6:l,c=n.maxPatternLength,d=void 0===c?32:c,h=n.isCaseSensitive,f=void 0!==h&&h,p=n.tokenSeparator,m=void 0===p?/ +/g:p,v=n.findAllMatches,g=void 0!==v&&v,b=n.minMatchCharLength,y=void 0===b?1:b;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:r,distance:s,threshold:u,maxPatternLength:d,isCaseSensitive:f,tokenSeparator:m,findAllMatches:g,minMatchCharLength:y},this.pattern=this.options.isCaseSensitive?t:t.toLowerCase(),this.pattern.length<=d&&(this.patternAlphabet=a(this.pattern))}var t,n;return t=e,(n=[{key:"search",value:function(e){if(this.options.isCaseSensitive||(e=e.toLowerCase()),this.pattern===e)return{isMatch:!0,score:0,matchedIndices:[[0,e.length-1]]};var t=this.options,n=t.maxPatternLength,i=t.tokenSeparator;if(this.pattern.length>n)return r(e,this.pattern,i);var a=this.options,s=a.location,l=a.distance,u=a.threshold,c=a.findAllMatches,d=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:l,threshold:u,findAllMatches:c,minMatchCharLength:d})}}])&&i(t.prototype,n),e}();e.exports=s},function(e,t){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,r=new RegExp(t.replace(n,"\\$&").replace(i,"|")),o=e.match(r),a=!!o,s=[];if(a)for(var l=0,u=o.length;l<u;l+=1){var c=o[l];s.push([e.indexOf(c),c.length-1])}return{score:a?.5:1,isMatch:a,matchedIndices:s}}},function(e,t,n){var i=n(5),r=n(6);e.exports=function(e,t,n,o){for(var a=o.location,s=void 0===a?0:a,l=o.distance,u=void 0===l?100:l,c=o.threshold,d=void 0===c?.6:c,h=o.findAllMatches,f=void 0!==h&&h,p=o.minMatchCharLength,m=void 0===p?1:p,v=s,g=e.length,b=d,y=e.indexOf(t,v),w=t.length,x=[],_=0;_<g;_+=1)x[_]=0;if(-1!==y){var S=i(t,{errors:0,currentLocation:y,expectedLocation:v,distance:u});if(b=Math.min(S,b),-1!==(y=e.lastIndexOf(t,v+w))){var E=i(t,{errors:0,currentLocation:y,expectedLocation:v,distance:u});b=Math.min(E,b)}}y=-1;for(var k=[],C=1,T=w+g,M=1<<w-1,A=0;A<w;A+=1){for(var O=0,P=T;O<P;)i(t,{errors:A,currentLocation:v+P,expectedLocation:v,distance:u})<=b?O=P:T=P,P=Math.floor((T-O)/2+O);T=P;var I=Math.max(1,v-P+1),L=f?g:Math.min(v+P,g)+w,D=Array(L+2);D[L+1]=(1<<A)-1;for(var j=L;j>=I;j-=1){var N=j-1,F=n[e.charAt(N)];if(F&&(x[N]=1),D[j]=(D[j+1]<<1|1)&F,0!==A&&(D[j]|=(k[j+1]|k[j])<<1|1|k[j+1]),D[j]&M&&(C=i(t,{errors:A,currentLocation:N,expectedLocation:v,distance:u}))<=b){if(b=C,(y=N)<=v)break;I=Math.max(1,2*v-y)}}if(i(t,{errors:A+1,currentLocation:v,expectedLocation:v,distance:u})>b)break;k=D}return{isMatch:y>=0,score:0===C?.001:C,matchedIndices:r(x,m)}}},function(e,t){e.exports=function(e,t){var n=t.errors,i=void 0===n?0:n,r=t.currentLocation,o=void 0===r?0:r,a=t.expectedLocation,s=void 0===a?0:a,l=t.distance,u=void 0===l?100:l,c=i/e.length,d=Math.abs(s-o);return u?c+d/u:d?1:c}},function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],i=-1,r=-1,o=0,a=e.length;o<a;o+=1){var s=e[o];s&&-1===i?i=o:s||-1===i||((r=o-1)-i+1>=t&&n.push([i,r]),i=-1)}return e[o-1]&&o-i>=t&&n.push([i,o-1]),n}},function(e,t){e.exports=function(e){for(var t={},n=e.length,i=0;i<n;i+=1)t[e.charAt(i)]=0;for(var r=0;r<n;r+=1)t[e.charAt(r)]|=1<<n-r-1;return t}},function(e,t,n){var i=n(0);e.exports=function(e,t){return function e(t,n,r){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var l=t[a];if(null!=l)if(s||"string"!=typeof l&&"number"!=typeof l)if(i(l))for(var u=0,c=l.length;u<c;u+=1)e(l[u],s,r);else s&&e(l,s,r);else r.push(l.toString())}else r.push(t);return r}(e,t,[])}}])},function(e,t,n){"use strict";function i(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return i}))},function(e,t,n){e.exports=n(7)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,n,i){"use strict";i.r(n);var r=i(2),o=i.n(r),a=i(0),s=i.n(a),l=i(1),u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function d(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(
2). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(h)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var r=e,o=t,a=[],s=a,u=!1;function f(){s===a&&(s=a.slice())}function p(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return f(),s.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,f();var n=s.indexOf(e);s.splice(n,1)}}}function v(e){if(!d(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=r(o,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return v({type:c.INIT}),(i={dispatch:v,subscribe:m,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");r=e,v({type:c.REPLACE})}})[l.a]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[l.a]=function(){return this},e},i}function f(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}var p,m=[],v=[],g=[],b={loading:!1},y=function(e,t){switch(void 0===e&&(e=b),t.type){case"SET_IS_LOADING":return{loading:t.isLoading};default:return e}},w=function(e){return Array.from({length:e},(function(){return(e=0,t=36,Math.floor(Math.random()*(t-e)+e)).toString(36);var e,t})).join("")},x=function(e,t){var n=e.id||e.name&&e.name+"-"+w(2)||w(4);return n=t+"-"+(n=n.replace(/(:|\.|\[|\]|,)/g,""))},_=function(e){return Object.prototype.toString.call(e).slice(8,-1)},S=function(e,t){return null!=t&&_(t)===e},E=function(e){return"string"!=typeof e?e:e.replace(/&/g,"&").replace(/>/g,"&rt;").replace(/</g,"<").replace(/"/g,""")},k=(p=document.createElement("div"),function(e){var t=e.trim();p.innerHTML=t;for(var n=p.children[0];p.firstChild;)p.removeChild(p.firstChild);return n}),C=function(e,t){return e.score-t.score},T=function(e){return JSON.parse(JSON.stringify(e))},M=function(e,t){var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.filter((function(e){return i.indexOf(e)<0}))},A=function(e){for(var t=Object.keys(e),n={},i=0;i<t.length;i++){var r=t[i];"function"==typeof e[r]&&(n[r]=e[r])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:c.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+c.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],u=n[l],c=e[l],d=u(c,t);if(void 0===d){var h=f(l,t);throw new Error(h)}r[l]=d,i=i||d!==c}return i?r:e}}({items:function(e,t){switch(void 0===e&&(e=m),t.type){case"ADD_ITEM":return[].concat(e,[{id:t.id,choiceId:t.choiceId,groupId:t.groupId,value:t.value,label:t.label,active:!0,highlighted:!1,customProperties:t.customProperties,placeholder:t.placeholder||!1,keyCode:null}]).map((function(e){var t=e;return t.highlighted=!1,t}));case"REMOVE_ITEM":return e.map((function(e){var n=e;return n.id===t.id&&(n.active=!1),n}));case"HIGHLIGHT_ITEM":return e.map((function(e){var n=e;return n.id===t.id&&(n.highlighted=t.highlighted),n}));default:return e}},groups:function(e,t){switch(void 0===e&&(e=v),t.type){case"ADD_GROUP":return[].concat(e,[{id:t.id,value:t.value,active:t.active,disabled:t.disabled}]);case"CLEAR_CHOICES":return[];default:return e}},choices:function(e,t){switch(void 0===e&&(e=g),t.type){case"ADD_CHOICE":return[].concat(e,[{id:t.id,elementId:t.elementId,groupId:t.groupId,value:t.value,label:t.label||t.value,disabled:t.disabled||!1,selected:!1,active:!0,score:9999,customProperties:t.customProperties,placeholder:t.placeholder||!1,keyCode:null}]);case"ADD_ITEM":return t.activateOptions?e.map((function(e){var n=e;return n.active=t.active,n}
vendor: 7,002 bytes, line 2
2)):t.choiceId>-1?e.map((function(e){var n=e;return n.id===parseInt(t.choiceId,10)&&(n.selected=!0),n})):e;case"REMOVE_ITEM":return t.choiceId>-1?e.map((function(e){var n=e;return n.id===parseInt(t.choiceId,10)&&(n.selected=!1),n})):e;case"FILTER_CHOICES":return e.map((function(e){var n=e;return n.active=t.results.some((function(e){var t=e.item,i=e.score;return t.id===n.id&&(n.score=i,!0)})),n}));case"ACTIVATE_CHOICES":return e.map((function(e){var n=e;return n.active=t.active,n}));case"CLEAR_CHOICES":return g;default:return e}},general:y}),O=function(e,t){var n=e;if("CLEAR_ALL"===t.type)n=void 0;else if("RESET_TO"===t.type)return T(t.state);return A(n,t)};function P(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var I=function(){function e(){this._store=h(O,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__())}var t,n,i,r=e.prototype;return r.subscribe=function(e){this._store.subscribe(e)},r.dispatch=function(e){this._store.dispatch(e)},r.isLoading=function(){return this.state.general.loading},r.getChoiceById=function(e){return this.activeChoices.find((function(t){return t.id===parseInt(e,10)}))},r.getGroupById=function(e){return this.groups.find((function(t){return t.id===e}))},t=e,(n=[{key:"state",get:function(){return this._store.getState()}},{key:"items",get:function(){return this.state.items}},{key:"activeItems",get:function(){return this.items.filter((function(e){return!0===e.active}))}},{key:"highlightedActiveItems",get:function(){return this.items.filter((function(e){return e.active&&e.highlighted}))}},{key:"choices",get:function(){return this.state.choices}},{key:"activeChoices",get:function(){return this.choices.filter((function(e){return!0===e.active}))}},{key:"selectableChoices",get:function(){return this.choices.filter((function(e){return!0!==e.disabled}))}},{key:"searchableChoices",get:function(){return this.selectableChoices.filter((function(e){return!0!==e.placeholder}))}},{key:"placeholderChoice",get:function(){return[].concat(this.choices).reverse().find((function(e){return!0===e.placeholder}))}},{key:"groups",get:function(){return this.state.groups}},{key:"activeGroups",get:function(){var e=this.groups,t=this.choices;return e.filter((function(e){var n=!0===e.active&&!1===e.disabled,i=t.some((function(e){return!0===e.active&&!1===e.disabled}));return n&&i}),[])}}])&&P(t.prototype,n),i&&P(t,i),e}();function L(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var D=function(){function e(e){var t=e.element,n=e.type,i=e.classNames;this.element=t,this.classNames=i,this.type=n,this.isActive=!1}var t,n,i,r=e.prototype;return r.getChild=function(e){return this.element.querySelector(e)},r.show=function(){return this.element.classList.add(this.classNames.activeState),this.element.setAttribute("aria-expanded","true"),this.isActive=!0,this},r.hide=function(){return this.element.classList.remove(this.classNames.activeState),this.element.setAttribute("aria-expanded","false"),this.isActive=!1,this},t=e,(n=[{key:"distanceFromTopWindow",get:function(){return this.element.getBoundingClientRect().bottom}}])&&L(t.prototype,n),i&&L(t,i),e}(),j={items:[],choices:[],silent:!1,renderChoiceLimit:-1,maxItemCount:-1,addItems:!0,addItemFilter:null,removeItems:!0,removeItemButton:!1,editItems:!1,duplicateItemsAllowed:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,shouldSort:!0,shouldSortItems:!1,sorter:function(e,t){var n=e.value,i=e.label,r=void 0===i?n:i,o=t.value,a=t.label,s=void 0===a?o:a;return r.localeCompare(s,[],{sensitivity:"base",ignorePunctuation:!0,numeric:!0})},placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prependValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",uniqueItemText:"Only unique values can be added",customAddItemText:"Only values matching specific conditions can be added",addItemText:function(e){return'Press Enter to add <b>"'+E(e)+'"</b>'},maxItemText:function(e){return"Only "+e+" values can be added"},valueComparer:function(e,t){return e===t},fuseOptions:{includeScore:!0},callbackOnInit:null,callbackOnCreateTemplates:null,classNames:{containerOuter:"choices",containerInner:"choices__inner",input:"choices__input",inputCloned:"choices__input--cloned",list:"choices__list",listItems:"choices__list--multiple",listSingle:"choices__list--single",listDropdown:"choices__list--dropdown",item:"choices__item",itemSelectable:"choices__item--selectable",itemDisabled:"choices__item--disabled",itemChoice:"choices__item--choice",placeholder:"choices__placeholder",group:"choices__group",groupHeading:"choices__heading",button:"choices__button",activeState:"is-active",focusState:"is-focused",openState:"is-open",disabledState:"is-disabled",highlightedState:"is-highlighted",selectedState:"is-selected",flippedState:"is-flipped",loadingState:"is-loading",noResults:"has-no-results",noChoices:"has-no-choices"}},N="showDropdown",F="hideDropdown",R="change",$="choice",B="search",H="addItem",z="removeItem",q="highlightItem",W="highlightChoice",V="ADD_CHOICE",Y="FILTER_CHOICES",G="ACTIVATE_CHOICES",U="CLEAR_CHOICES",X="ADD_GROUP",K="ADD_ITEM",Z="REMOVE_ITEM",J="HIGHLIGHT_ITEM",Q=46,ee=8,te=13,ne=65,ie=27,re=38,oe=40,ae=33,se=34,le="text",ue="select-one",ce="select-multiple",de=function(){function e(e){var t=e.element,n=e.type,i=e.classNames,r=e.position;this.element=t,this.classNames=i,this.type=n,this.position=r,this.isOpen=!1,this.isFlipped=!1,this.isFocussed=!1,this.isDisabled=!1,this.isLoading=!1,this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this)}var t=e.prototype;return t.addEventListeners=function(){this.element.addEventListener("focus",this._onFocus),this.element.addEventListener("blur",this._onBlur)},t.removeEventListeners=function(){this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur)},t.shouldFlip=function(e){if("number"!=typeof e)return!1;var t=!1;return"auto"===this.position?t=!window.matchMedia("(min-height: "+(e+1)+"px)").matches:"top"===this.position&&(t=!0),t},t.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e)},t.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},t.open=function(e){this.element.classList.add(this.classNames.openState),this.element.setAttribute("aria-expanded","true"),this.isOpen=!0,this.shouldFlip(e)&&(this.element.classList.add(this.classNames.flippedState),this.isFlipped=!0)},t.close=function(){this.element.classList.remove(this.classNames.openState),this.element.setAttribute("aria-expanded","fal
2se"),this.removeActiveDescendant(),this.isOpen=!1,this.isFlipped&&(this.element.classList.remove(this.classNames.flippedState),this.isFlipped=!1)},t.focus=function(){this.isFocussed||this.element.focus()},t.addFocusState=function(){this.element.classList.add(this.classNames.focusState)},t.removeFocusState=function(){this.element.classList.remove(this.classNames.focusState)},t.enable=function(){this.element.classList.remove(this.classNames.disabledState),this.element.removeAttribute("aria-disabled"),this.type===ue&&this.element.setAttribute("tabindex","0"),this.isDisabled=!1},t.disable=function(){this.element.classList.add(this.classNames.disabledState),this.element.setAttribute("aria-disabled","true"),this.type===ue&&this.element.setAttribute("tabindex","-1"),this.isDisabled=!0},t.wrap=function(e){!function(e,t){void 0===t&&(t=document.createElement("div")),e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)}(e,this.element)},t.unwrap=function(e){this.element.parentNode.insertBefore(e,this.element),this.element.parentNode.removeChild(this.element)},t.addLoadingState=function(){this.element.classList.add(this.classNames.loadingState),this.element.setAttribute("aria-busy","true"),this.isLoading=!0},t.removeLoadingState=function(){this.element.classList.remove(this.classNames.loadingState),this.element.removeAttribute("aria-busy"),this.isLoading=!1},t._onFocus=function(){this.isFocussed=!0},t._onBlur=function(){this.isFocussed=!1},e}();function he(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var fe=function(){function e(e){var t=e.element,n=e.type,i=e.classNames,r=e.preventPaste;this.element=t,this.type=n,this.classNames=i,this.preventPaste=r,this.isFocussed=this.element===document.activeElement,this.isDisabled=t.disabled,this._onPaste=this._onPaste.bind(this),this._onInput=this._onInput.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this)}var t,n,i,r=e.prototype;return r.addEventListeners=function(){this.element.addEventListener("paste",this._onPaste),this.element.addEventListener("input",this._onInput,{passive:!0}),this.element.addEventListener("focus",this._onFocus,{passive:!0}),this.element.addEventListener("blur",this._onBlur,{passive:!0})},r.removeEventListeners=function(){this.element.removeEventListener("input",this._onInput,{passive:!0}),this.element.removeEventListener("paste",this._onPaste),this.element.removeEventListener("focus",this._onFocus,{passive:!0}),this.element.removeEventListener("blur",this._onBlur,{passive:!0})},r.enable=function(){this.element.removeAttribute("disabled"),this.isDisabled=!1},r.disable=function(){this.element.setAttribute("disabled",""),this.isDisabled=!0},r.focus=function(){this.isFocussed||this.element.focus()},r.blur=function(){this.isFocussed&&this.element.blur()},r.clear=function(e){return void 0===e&&(e=!0),this.element.value&&(this.element.value=""),e&&this.setWidth(),this},r.setWidth=function(){var e=this.element,t=e.style,n=e.value,i=e.placeholder;t.minWidth=i.length+1+"ch",t.width=n.length+1+"ch"},r.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e)},r.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},r._onInput=function(){this.type!==ue&&this.setWidth()},r._onPaste=function(e){this.preventPaste&&e.preventDefault()},r._onFocus=function(){this.isFocussed=!0},r._onBlur=function(){this.isFocussed=!1},t=e,(n=[{key:"placeholder",set:function(e){this.element.placeholder=e}},{key:"value",get:function(){return E(this.element.value)},set:function(e){this.element.value=e}}])&&he(t.prototype,n),i&&he(t,i),e}(),pe=function(){function e(e){var t=e.element;this.element=t,this.scrollPos=this.element.scrollTop,this.height=this.element.offsetHeight}var t=e.prototype;return t.clear=function(){this.element.innerHTML=""},t.append=function(e){this.element.appendChild(e)},t.getChild=function(e){return this.element.querySelector(e)},t.hasChildren=function(){return this.element.hasChildNodes()},t.scrollToTop=function(){this.element.scrollTop=0},t.scrollToChildElement=function(e,t){var n=this;if(e){var i=this.element.offsetHeight,r=this.element.scrollTop+i,o=e.offsetHeight,a=e.offsetTop+o,s=t>0?this.element.scrollTop+a-r:e.offsetTop;requestAnimationFrame((function(){n._animateScroll(s,t)}))}},t._scrollDown=function(e,t,n){var i=(n-e)/t,r=i>1?i:1;this.element.scrollTop=e+r},t._scrollUp=function(e,t,n){var i=(e-n)/t,r=i>1?i:1;this.element.scrollTop=e-r},t._animateScroll=function(e,t){var n=this,i=this.element.scrollTop,r
vendor: 39,200 bytes, line 2
2=!1;t>0?(this._scrollDown(i,4,e),i<e&&(r=!0)):(this._scrollUp(i,4,e),i>e&&(r=!0)),r&&requestAnimationFrame((function(){n._animateScroll(e,t)}))},e}();function me(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var ve=function(){function e(e){var t=e.element,n=e.classNames;if(this.element=t,this.classNames=n,!(t instanceof HTMLInputElement||t instanceof HTMLSelectElement))throw new TypeError("Invalid element passed");this.isDisabled=!1}var t,n,i,r=e.prototype;return r.conceal=function(){this.element.classList.add(this.classNames.input),this.element.hidden=!0,this.element.tabIndex=-1;var e=this.element.getAttribute("style");e&&this.element.setAttribute("data-choice-orig-style",e),this.element.setAttribute("data-choice","active")},r.reveal=function(){this.element.classList.remove(this.classNames.input),this.element.hidden=!1,this.element.removeAttribute("tabindex");var e=this.element.getAttribute("data-choice-orig-style");e?(this.element.removeAttribute("data-choice-orig-style"),this.element.setAttribute("style",e)):this.element.removeAttribute("style"),this.element.removeAttribute("data-choice"),this.element.value=this.element.value},r.enable=function(){this.element.removeAttribute("disabled"),this.element.disabled=!1,this.isDisabled=!1},r.disable=function(){this.element.setAttribute("disabled",""),this.element.disabled=!0,this.isDisabled=!0},r.triggerEvent=function(e,t){!function(e,t,n){void 0===n&&(n=null);var i=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});e.dispatchEvent(i)}(this.element,e,t)},t=e,(n=[{key:"isActive",get:function(){return"active"===this.element.dataset.choice}},{key:"dir",get:function(){return this.element.dir}},{key:"value",get:function(){return this.element.value},set:function(e){this.element.value=e}}])&&me(t.prototype,n),i&&me(t,i),e}();function ge(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var be=function(e){var t,n,i,r,o;function a(t){var n,i=t.element,r=t.classNames,o=t.delimiter;return(n=e.call(this,{element:i,classNames:r})||this).delimiter=o,n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i=a,(r=[{key:"value",get:function(){return this.element.value},set:function(e){var t=e.map((function(e){return e.value})).join(this.delimiter);this.element.setAttribute("value",t),this.element.value=t}}])&&ge(i.prototype,r),o&&ge(i,o),a}(ve);function ye(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var we=function(e){var t,n,i,r,o;function a(t){var n,i=t.element,r=t.classNames,o=t.template;return(n=e.call(this,{element:i,classNames:r})||this).template=o,n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.appendDocFragment=function(e){this.element.innerHTML="",this.element.appendChild(e)},i=a,(r=[{key:"placeholderOption",get:function(){return this.element.querySelector('option[value=""]')||this.element.querySelector("option[placeholder]")}},{key:"optionGroups",get:function(){return Array.from(this.element.getElementsByTagName("OPTGROUP"))}},{key:"options",get:function(){return Array.from(this.element.options)},set:function(e){var t=this,n=document.createDocumentFragment();e.forEach((function(e){return i=e,r=t.template(i),void n.appendChild(r);var i,r})),this.appendDocFragment(n)}}])&&ye(i.prototype,r),o&&ye(i,o),a}(ve),xe={containerOuter:function(e,t,n,i,r,o){var a=e.containerOuter,s=Object.assign(document.createElement("div"),{className:a});return s.dataset.type=o,t&&(s.dir=t),i&&(s.tabIndex=0),n&&(s.setAttribute("role",r?"combobox":"listbox"),r&&s.setAttribute("aria-autocomplete","list")),s.setAttribute("aria-haspopup","true"),s.setAttribute("aria-expanded","false"),s},containerInner:function(e){var t=e.containerInner;return Object.assign(document.createElement("div"),{className:t})},itemList:function(e,t){var n=e.list,i=e.listSingle,r=e.listItems;return Object.assign(document.createElement("div"),{className:n+" "+(t?i:r)})},placeholder:function(e,t){var n=e.placeholder;return Object.assign(document.createElement("div"),{className:n,innerHTML:t})},item:function(e,t,n){var i=e.item,r=e.button,o=e.highlightedState,a=e.itemSelectable,s=e.placeholder,l=t.id,u=t.value,c=t.label,d=t.customProperties,h=t.active,f=t.disabled,p=t.highlighted,m=t.placeholder,v=Object.assign(document.createElement("div"),{className:i,innerHTML:c});if(Object.assign(v.dataset,{item:"",id:l,value:u,customProperties:d}),h&&v.setAttribute("aria-selected","true"),f&&v.setAttribute("aria-disabled","true"),m&&v.classList.add(s),v.classList.add(p?o:a),n){f&&v.classList.remove(a),v.dataset.deletable="";var g=Object.assign(document.createElement("button"),{type:"button",className:r,innerHTML:"Remove item"});g.setAttribute("aria-label","Remove item: '"+u+"'"),g.dataset.button="",v.appendChild(g)}return v},choiceList:function(e,t){var n=e.list,i=Object.assign(document.createElement("div"),{className:n});return t||i.setAttribute("aria-multiselectable","true"),i.setAttribute("role","listbox"),i},choiceGroup:function(e,t){var n=e.group,i=e.groupHeading,r=e.itemDisabled,o=t.id,a=t.value,s=t.disabled,l=Object.assign(document.createElement("div"),{className:n+" "+(s?r:"")});return l.setAttribute("role","group"),Object.assign(l.dataset,{group:"",id:o,value:a}),s&&l.setAttribute("aria-disabled","true"),l.appendChild(Object.assign(document.createElement("div"),{className:i,innerHTML:a})),l},choice:function(e,t,n){var i=e.item,r=e.itemChoice,o=e.itemSelectable,a=e.selectedState,s=e.itemDisabled,l=e.placeholder,u=t.id,c=t.value,d=t.label,h=t.groupId,f=t.elementId,p=t.disabled,m=t.selected,v=t.placeholder,g=Object.assign(document.createElement("div"),{id:f,innerHTML:d,className:i+" "+r});return m&&g.classList.add(a),v&&g.classList.add(l),g.setAttribute("role",h>0?"treeitem":"option"),Object.assign(g.dataset,{choice:"",id:u,value:c,selectText:n}),p?(g.classList.add(s),g.dataset.choiceDisabled="",g.setAttribute("aria-disabled","true")):(g.classList.add(o),g.dataset.choiceSelectable=""),g},input:function(e,t){var n=e.input,i=e.inputCloned,r=Object.assign(document.createElement("input"),{type:"text",className:n+" "+i,autocomplete:"off",autocapitalize:"off",spellcheck:!1});return r.setAttribute("role","textbox"),r.setAttribute("aria-autocomplete","list"),r.setAttribute("aria-label",t),r},dropdown:function(e){var t=e.list,n=e.listDropdown,i=document.createElement("div");return i.classList.add(t,n),i.setAttribute("aria-expanded","false"),i},notice:function(e,t,n){var i=e.item,r=e.itemChoice,o=e.noResults,a=e.noChoices;void 0===n&&(n="");var s=[i,r];return"no-choices"===n?s.push(a):"no-results"===n&&s.push(o),Object.assign(document.createElement("div"),{innerHTML:t,className:s.join(" ")})},option:function(e){var t=e.label,n=e.value,i=e.customProperties,r=e.active,o=e.disabled,a=new Option(t,n,!1,r);return i&&(a.dataset.customProperties=i),a.disabled=o,a}},_e=function(e){return void 0===e&&(e=!0),{type:G,active:e}},Se=function(e,t){return{type:J,id:e,highlighted:t}},Ee=function(e){var t=e.value,n=e.id,i=e.active,r=e.disabled;return{type:X,value:t,id:n,active:i,disabled:r}},ke=function(e){return{type:"SET_IS_LOADING",isLoading:e}};function Ce(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Te="-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,Me={},Ae=function(){var e,n,i;function r(e,t){var n=this;void 0===e&&(e="[data-choice]"),void 0===t&&(t={}),this.config=s.a.all([j,r.defaults.options,t],{arrayMerge:function(e,t){return[].concat(t)}});var i=M(this.config,j);i.length&&console.warn("Unknown config option(s) passed",i.join(", "));var o="string"==typeof e?document.querySelector(e):e;if(!(o instanceof HTMLInputElement||o instanceof HTMLSelectElement))throw TypeError("Expected one of the following types text|select-one|select-multiple");if(this._isTextElement=o.type===le,this._isSelectOneElement=o.type===ue,this._isSelectMultipleElement=o.type===ce,this._isSelectElement=this._isSelectOneElement||this._isSelectMultipleElement,this.config.searchEnabled=this._isSelectMultipleElement||this.config.searchEnabled,["auto","always"].includes(this.config.renderSelectedChoices)||(this.config.renderSelectedChoices="auto"),t.addItemFilter&&"function"!=typeof t.addItemFilter){var a=t.addItemFilter instanceof RegExp?t.addItemFilter:new RegExp(t.addItemFilter);this.config.addItemFilter=a.test.bind(a)}if(this._isTextElement?this.passedElement=new be({element:o,classNames:this.config.classNames,delimiter:this.config.delimiter}):this.passedElement=new we({element:o,classNames:this.config.classNames,template:function(e){return n._templates.option(e)}}),this.initialised=!1,this._store=new I,this._initialState={},this._currentState={},this._prevState={},this._currentValue="",this._canSearch=this.config.searchEnabled,this._isScrollingOnIe=!1,this._highlightPosition=0,this._wasTap=!0,this._placeholderValue=this._generatePlaceholderValue(),this._baseId=x(this.passedElement.element,"choices-"),this._direction=this.passedElement.dir,!this._direction){var l=window.getComputedStyle(this.passedElement.element).direction;l!==window.getComputedStyle(document.documentElement).direction&&(this._direction=l)}if(this._idNames={itemChoice:"item-choice"},this._presetGroups=this.passedElement.optionGroups,this._presetOptions=this.passedElement.options,this._presetChoices=this.config.choices,this._presetItems=this.config.items,this.passedElement.value&&(this._presetItems=this._presetItems.concat(this.passedElement.value.split(this.config.delimiter))),this.passedElement.options&&this.passedElement.options.forEach((function(e){n._presetChoices.push({value:e.value,label:e.innerHTML,selected:e.selected,disabled:e.disabled||e.parentNode.disabled,placeholder:""===e.value||e.hasAttribute("placeholder"),customProperties:e.getAttribute("data-custom-properties")})})),this._render=this._render.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this),this._onKeyUp=this._onKeyUp.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onClick=this._onClick.bind(this),this._onTouchMove=this._onTouchMove.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onMouseDown=this._onMouseDown.bind(this),this._onMouseOver=this._onMouseOver.bind(this),this._onFormReset=this._onFormReset.bind(this),this._onAKey=this._onAKey.bind(this),this._onEnterKey=this._onEnterKey.bind(this),this._onEscapeKey=this._onEscapeKey.bind(this),this._onDirectionKey=this._onDirectionKey.bind(this),this._onDeleteKey=this._onDeleteKey.bind(this),this.passedElement.isActive)return this.config.silent||console.warn("Trying to initialise Choices on element already initialised"),void(this.initialised=!0);this.init()}e=r,i=[{key:"defaults",get:function(){return Object.preventExtensions({get options(){return Me},get templates(){return xe}})}}],(n=null)&&Ce(e.prototype,n),i&&Ce(e,i);var a=r.prototype;return a.init=function(){if(!this.initialised){this._createTemplates(),this._createElements(),this._createStructure(),this._initialState=T(this._store.state),this._store.subscribe(this._render),this._render(),this._addEventListeners(),(!this.config.addItems||this.passedElement.element.hasAttribute("disabled"))&&this.disable(),this.initialised=!0;var e=this.config.callbackOnInit;e&&"function"==typeof e&&e.call(this)}},a.destroy=function(){this.initialised&&(this._removeEventListeners(),this.passedElement.reveal(),this.containerOuter.unwrap(this.passedElement.element),this.clearStore(),this._isSelectElement&&(this.passedElement.options=this._presetOptions),this._templates=null,this.initialised=!1)},a.enable=function(){return this.passedElement.isDisabled&&this.passedElement.enable(),this.containerOuter.isDisabled&&(this._addEventListeners(),this.input.enable(),this.containerOuter.enable()),this},a.disable=function(){return this.passedElement.isDisabled||this.passedElement.disable(),this.containerOuter.isDisabled||(this._removeEventListeners(),this.input.disable(),this.containerOuter.disable()),this},a.highlightItem=function(e,t){if(void 0===t&&(t=!0),!e)return this;var n=e.id,i=e.groupId,r=void 0===i?-1:i,o=e.value,a=void 0===o?"":o,s=e.label,l=void 0===s?"":s,u=r>=0?this._store.getGroupById(r):null;return this._store.dispatch(Se(n,!0)),t&&this.passedElement.triggerEvent(q,{id:n,value:a,label:l,groupValue:u&&u.value?u.value:null}),this},a.unhighlightItem=function(e){if(!e)return this;var t=e.id,n=e.groupId,i=void 0===n?-1:n,r=e.value,o=void 0===r?"":r,a=e.label,s=void 0===a?"":a,l=i>=0?this._store.getGroupById(i):null;return this._store.dispatch(Se(t,!1)),this.passedElement.triggerEvent(q,{id:t,value:o,label:s,groupValue:l&&l.value?l.value:null}),this},a.highlightAll=function(){var e=this;return this._store.items.forEach((function(t){return e.highlightItem(t)})),this},a.unhighlightAll=function(){var e=this;return this._store.items.forEach((function(t){return e.unhighlightItem(t)})),this},a.removeActiveItemsByValue=function(e){var t=this;return this._store.activeItems.filter((function(t){return t.value===e})).forEach((function(e){return t._removeItem(e)})),this},a.removeActiveItems=function(e){var t=this;return this._store.activeItems.filter((function(t){return t.id!==e})).forEach((function(e){return t._removeItem(e)})),this},a.removeHighlightedItems=function(e){var t=this;return void 0===e&&(e=!1),this._store.highlightedActiveItems.forEach((function(n){t._removeItem(n),e&&t._triggerChange(n.value)})),this},a.showDropdown=function(e){var t=this;return this.dropdown.isActive?this:(requestAnimationFrame((function(){t.dropdown.show(),t.containerOuter.open(t.dropdown.distanceFromTopWindow),!e&&t._canSearch&&t.input.focus(),t.passedElement.triggerEvent(N,{})})),this)},a.hideDropdown=function(e){var t=this;return this.dropdown.isActive?(requestAnimationFrame((function(){t.dropdown.hide(),t.containerOuter.close(),!e&&t._canSearch&&(t.input.removeActiveDescendant(),t.input.blur()),t.passedElement.triggerEvent(F,{})})),this):this},a.getValue=function(e){void 0===e&&(e=!1);var t=this._store.activeItems.reduce((function(t,n){var i=e?n.value:n;return t.push(i),t}),[]);return this._isSelectOneElement?t[0]:t},a.setValue=function(e){var t=this;return this.initialised?(e.forEach((function(e){return t._setChoiceOrItem(e)})),this):this},a.setChoiceByValue=function(e){var t=this;return!this.initialised||this._isTextElement?this:((Array.isArray(e)?e:[e]).forEach((function(e){return t._findAndSelectChoiceByValue(e)})),this)},a.setChoices=function(e,n,i,r){var o=this;if(void 0===e&&(e=[]),void 0===n&&(n="value"),void 0===i&&(i="label"),void 0===r&&(r=!1),!this.initialised)throw new ReferenceError("setChoices was called on a non-initialized instance of Choices");if(!this._isSelectElement)throw new TypeError("setChoices can't be used with INPUT based Choices");if("string"!=typeof n||!n)throw new TypeError("value parameter must be a name of 'value' field in passed objects");if(r&&this.clearChoices(),"function"==typeof e){var a=e(this);if("function"==typeof t&&a instanceof t)return new t((function(e){return requestAnimationFrame(e)})).then((function(){return o._handleLoadingState(!0)})).then((function(){return a})).then((function(e){return o.setChoices(e,n,i,r)})).catch((function(e){o.config.silent||console.error(e)})).then((function(){return o._handleLoadingState(!1)})).then((function(){return o}));if(!Array.isArray(a))throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: "+typeof a);return this.setChoices(a,n,i,!1)}if(!Array.isArray(e))throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");return this.containerOuter.removeLoadingState(),this._startLoading(),e.forEach((function(e){e.choices?o._addGroup({id:parseInt(e.id,10)||null,group:e,valueKey:n,labelKey:i}):o._addChoice({value:e[n],label:e[i],isSelected:e.selected,isDisabled:e.disabled,customProperties:e.customProperties,placeholder:e.placeholder})})),this._stopLoading(),this},a.clearChoices=function(){return this._store.dispatch({type:U}),this},a.clearStore=function(){return this._store.dispatch({type:"CLEAR_ALL"}),this},a.clearInput=function(){var e=!this._isSelectOneElement;return this.input.clear(e),!this._isTextElement&&this._canSearch&&(this._isSearching=!1,this._store.dispatch(_e(!0))),this},a._render=function(){if(!this._store.isLoading()){this._currentState=this._store.state;var e=this._currentState.choices!==this._prevState.choices||this._currentState.groups!==this._prevState.groups||this._currentState.items!==this._prevState.items,t=this._isSelectElement,n=this._currentState.items!==this._prevState.items;e&&(t&&this._renderChoices(),n&&this._renderItems(),this._prevState=this._currentState)}},a._renderChoices=function(){var e=this,t=this._store,n=t.activeGroups,i=t.activeChoices,r=document.createDocumentFragment();if(this.choiceList.clear(),this.config.resetScrollPosition&&requestAnimationFrame((function(){return e.choiceList.scrollToTop()})),n.length>=1&&!this._isSearching){var o=i.filter((function(e){return!0===e.placeholder&&-1===e.groupId}));o.length>=1&&(r=this._createChoicesFragment(o,r)),r=this._createGroupsFragment(n,i,r)}else i.length>=1&&(r=this._createChoicesFragment(i,r));if(r.childNodes&&r.childNodes.length>0){var a=this._store.activeItems,s=this._canAddItem(a,this.input.value);s.response?(this.choiceList.append(r),this._highlightChoice()):this.choiceList.append(this._getTemplate("notice",s.notice))}else{var l,u;this._isSearching?(u="function"==typeof this.config.noResultsText?this.config.noResultsText():this.config.noResultsText,l=this._getTemplate("notice",u,"no-results")):(u="function"==typeof this.config.noChoicesText?this.config.noChoicesText():this.config.noChoicesText,l=this._getTemplate("notice",u,"no-choices")),this.choiceList.append(l)}},a._renderItems=function(){var e=this._store.activeItems||[];this.itemList.clear();var t=this._createItemsFragment(e);t.childNodes&&this.itemList.append(t)},a._createGroupsFragment=function(e,t,n){var i=this;return void 0===n&&(n=document.createDocumentFragment()),this.config.shouldSort&&e.sort(this.config.sorter),e.forEach((function(e){var r=function(e){return t.filter((function(t){return i._isSelectOneElement?t.groupId===e.id:t.groupId===e.id&&("always"===i.config.renderSelectedChoices||!t.selected)}))}(e);if(r.length>=1){var o=i._getTemplate("choiceGroup",e);n.appendChild(o),i._createChoicesFragment(r,n,!0)}})),n},a._createChoicesFragment=function(e,t,n){var i=this;void 0===t&&(t=document.createDocumentFragment()),void 0===n&&(n=!1);var r=this.config,o=r.renderSelectedChoices,a=r.searchResultLimit,s=r.renderChoiceLimit,l=this._isSearching?C:this.config.sorter,u=function(e){if("auto"!==o||i._isSelectOneElement||!e.selected){var n=i._getTemplate("choice",e,i.config.itemSelectText);t.appendChild(n)}},c=e;"auto"!==o||this._isSelectOneElement||(c=e.filter((function(e){return!e.selected})));var d=c.reduce((function(e,t){return t.placeholder?e.placeholderChoices.push(t):e.normalChoices.push(t),e}),{placeholderChoices:[],normalChoices:[]}),h=d.placeholderChoices,f=d.normalChoices;(this.config.shouldSort||this._isSearching)&&f.sort(l);var p=c.length,m=this._isSelectOneElement?[].concat(h,f):f;this._isSearching?p=a:s&&s>0&&!n&&(p=s);for(var v=0;v<p;v+=1)m[v]&&u(m[v]);return t},a._createItemsFragment=function(e,t){var n=this;void 0===t&&(t=document.createDocumentFragment());var i=this.config,r=i.shouldSortItems,o=i.sorter,a=i.removeItemButton;return r&&!this._isSelectOneElement&&e.sort(o),this._isTextElement?this.passedElement.value=e:this.passedElement.options=e,e.forEach((function(e){var i=n._getTemplate("item",e,a);t.appendChild(i)})),t},a._triggerChange=function(e){null!=e&&this.passedElement.triggerEvent(R,{value:e})},a._selectPlaceholderChoice=function(){var e=this._store.placeholderChoice;e&&(this._addItem({value:e.value,label:e.label,choiceId:e.id,groupId:e.groupId,placeholder:e.placeholder}),this._triggerChange(e.value))},a._handleButtonAction=function(e,t){if(e&&t&&this.config.removeItems&&this.config.removeItemButton){var n=t.parentNode.getAttribute("data-id"),i=e.find((function(e){return e.id===parseInt(n,10)}));this._removeItem(i),this._triggerChange(i.value),this._isSelectOneElement&&this._selectPlaceholderChoice()}},a._handleItemAction=function(e,t,n){var i=this;if(void 0===n&&(n=!1),e&&t&&this.config.removeItems&&!this._isSelectOneElement){var r=t.getAttribute("data-id");e.forEach((function(e){e.id!==parseInt(r,10)||e.highlighted?!n&&e.highlighted&&i.unhighlightItem(e):i.highlightItem(e)})),this.input.focus()}},a._handleChoiceAction=function(e,t){if(e&&t){var n=t.dataset.id,i=this._store.getChoiceById(n);if(i){var r=e[0]&&e[0].keyCode?e[0].keyCode:null,o=this.dropdown.isActive;i.keyCode=r,this.passedElement.triggerEvent($,{choice:i}),i.selected||i.disabled||this._canAddItem(e,i.value).response&&(this._addItem({value:i.value,label:i.label,choiceId:i.id,groupId:i.groupId,customProperties:i.customProperties,placeholder:i.placeholder,keyCode:i.keyCode}),this._triggerChange(i.value)),this.clearInput(),o&&this._isSelectOneElement&&(this.hideDropdown(!0),this.containerOuter.focus())}}},a._handleBackspace=function(e){if(this.config.removeItems&&e){var t=e[e.length-1],n=e.some((function(e){return e.highlighted}));this.config.editItems&&!n&&t?(this.input.value=t.value,this.input.setWidth(),this._removeItem(t),this._triggerChange(t.value)):(n||this.highlightItem(t,!1),this.removeHighlightedItems(!0))}},a._startLoading=function(){this._store.dispatch(ke(!0))},a._stopLoading=function(){this._store.dispatch(ke(!1))},a._handleLoadingState=function(e){void 0===e&&(e=!0);var t=this.itemList.getChild("."+this.config.classNames.placeholder);e?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?t?t.innerHTML=this.config.loadingText:(t=this._getTemplate("placeholder",this.config.loadingText),this.itemList.append(t)):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?t.innerHTML=this._placeholderValue||"":this.input.placeholder=this._placeholderValue||"")},a._handleSearch=function(e){if(e&&this.input.isFocussed){var t=this._store.choices,n=this.config,i=n.searchFloor,r=n.searchChoices,o=t.some((function(e){return!e.active}));if(e&&e.length>=i){var a=r?this._searchChoices(e):0;this.passedElement.triggerEvent(B,{value:e,resultCount:a})}else o&&(this._isSearching=!1,this._store.dispatch(_e(!0)))}},a._canAddItem=function(e,t){var n=!0,i="function"==typeof this.config.addItemText?this.config.addItemText(t):this.config.addItemText;if(!this._isSelectOneElement){var r=function(e,t,n){return void 0===n&&(n="value"),e.some((function(e){return"string"==typeof t?e[n]===t.trim():e[n]===t}))}(e,t);this.config.maxItemCount>0&&this.config.maxItemCount<=e.length&&(n=!1,i="function"==typeof this.config.maxItemText?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),!this.config.duplicateItemsAllowed&&r&&n&&(n=!1,i="function"==typeof this.config.uniqueItemText?this.config.uniqueItemText(t):this.config.uniqueItemText),this._isTextElement&&this.config.addItems&&n&&"function"==typeof this.config.addItemFilter&&!this.config.addItemFilter(t)&&(n=!1,i="function"==typeof this.config.customAddItemText?this.config.customAddItemText(t):this.config.customAddItemText)}return{response:n,notice:i}},a._searchChoices=function(e){var t="string"==typeof e?e.trim():e,n="string"==typeof this._currentValue?this._currentValue.trim():this._currentValue;if(t.length<1&&t===n+" ")return 0;var i=this._store.searchableChoices,r=t,a=[].concat(this.config.searchFields),s=Object.assign(this.config.fuseOptions,{keys:a}),l=new o.a(i,s).search(r);return this._currentValue=t,this._highlightPosition=0,this._isSearching=!0,this._store.dispatch(function(e){return{type:Y,results:e}}(l)),l.length},a._addEventListeners=function(){var e=document.documentElement;e.addEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.addEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("click",this._onClick,{passive:!0}),e.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:!0}),this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:!0})),this.input.element.addEventListener("keyup",this._onKeyUp,{passive:!0}),this.input.element.addEventListener("focus",this._onFocus,{passive:!0}),this.input.element.addEventListener("blur",this._onBlur,{passive:!0}),this.input.element.form&&this.input.element.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},a._removeEventListeners=function(){var e=document.documentElement;e.removeEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("click",this._onClick),e.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(this.containerOuter.element.removeEventListener("focus",this._onFocus),this.containerOuter.element.removeEventListener("blur",this._onBlur)),this.input.element.removeEventListener("keyup",this._onKeyUp),this.input.element.removeEventListener("focus",this._onFocus),this.input.element.removeEventListener("blur",this._onBlur),this.input.element.form&&this.input.element.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},a._onKeyDown=function(e){var t,n=e.target,i=e.keyCode,r=e.ctrlKey,o=e.metaKey,a=this._store.activeItems,s=this.input.isFocussed,l=this.dropdown.isActive,u=this.itemList.hasChildren(),c=String.fromCharCode(i),d=Q,h=ee,f=te,p=ne,m=ie,v=re,g=oe,b=ae,y=se,w=r||o;!this._isTextElement&&/[a-zA-Z0-9-_ ]/.test(c)&&this.showDropdown();var x=((t={})[p]=this._onAKey,t[f]=this._onEnterKey,t[m]=this._onEscapeKey,t[v]=this._onDirectionKey,t[b]=this._onDirectionKey,t[g]=this._onDirectionKey,t[y]=this._onDirectionKey,t[h]=this._onDeleteKey,t[d]=this._onDeleteKey,t);x[i]&&x[i]({event:e,target:n,keyCode:i,metaKey:o,activeItems:a,hasFocusedInput:s,hasActiveDropdown:l,hasItems:u,hasCtrlDownKeyPressed:w})},a._onKeyUp=function(e){var t=e.target,n=e.keyCode,i=this.input.value,r=this._store.activeItems,o=this._canAddItem(r,i),a=Q,s=ee;if(this._isTextElement)if(o.notice&&i){var l=this._getTemplate("notice",o.notice);this.dropdown.element.innerHTML=l.outerHTML,this.showDropdown(!0)}else this.hideDropdown(!0);else{var u=(n===a||n===s)&&!t.value,c=!this._isTextElement&&this._isSearching,d=this._canSearch&&o.response;u&&c?(this._isSearching=!1,this._store.dispatch(_e(!0))):d&&this._handleSearch(this.input.value)}this._canSearch=this.config.searchEnabled},a._onAKey=function(e){var t=e.hasItems;e.hasCtrlDownKeyPressed&&t&&(this._canSearch=!1,this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement&&this.highlightAll())},a._onEnterKey=function(e){var t=e.event,n=e.target,i=e.activeItems,r=e.hasActiveDropdown,o=te,a=n.hasAttribute("data-button");if(this._isTextElement&&n.value){var s=this.input.value;this._canAddItem(i,s).response&&(this.hideDropdown(!0),this._addItem({value:s}),this._triggerChange(s),this.clearInput())}if(a&&(this._handleButtonAction(i,n),t.preventDefault()),r){var l=this.dropdown.getChild("."+this.config.classNames.highlightedState);l&&(i[0]&&(i[0].keyCode=o),this._handleChoiceAction(i,l)),t.preventDefault()}else this._isSelectOneElement&&(this.showDropdown(),t.preventDefault())},a._onEscapeKey=function(e){e.hasActiveDropdown&&(this.hideDropdown(!0),this.containerOuter.focus())},a._onDirectionKey=function(e){var t,n,i,r=e.event,o=e.hasActiveDropdown,a=e.keyCode,s=e.metaKey,l=oe,u=ae,c=se;if(o||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var d,h=a===l||a===c?1:-1;if(s||a===c||a===u)d=h>0?this.dropdown.element.querySelector("[data-choice-selectable]:last-of-type"):this.dropdown.element.querySelector("[data-choice-selectable]");else{var f=this.dropdown.element.querySelector("."+this.config.classNames.highlightedState);d=f?function(e,t,n){if(void 0===n&&(n=1),e instanceof Element&&"string"==typeof t){for(var i=(n>0?"next":"previous")+"ElementSibling",r=e[i];r;){if(r.matches(t))return r;r=r[i]}return r}}(f,"[data-choice-selectable]",h):this.dropdown.element.querySelector("[data-choice-selectable]")}d&&(t=d,n=this.choiceList.element,void 0===(i=h)&&(i=1),t&&(i>0?n.scrollTop+n.offsetHeight>=t.offsetTop+t.offsetHeight:t.offsetTop>=n.scrollTop)||this.choiceList.scrollToChildElement(d,h),this._highlightChoice(d)),r.preventDefault()}},a._onDeleteKey=function(e){var t=e.event,n=e.target,i=e.hasFocusedInput,r=e.activeItems;!i||n.value||this._isSelectOneElement||(this._handleBackspace(r),t.preventDefault())},a._onTouchMove=function(){this._wasTap&&(this._wasTap=!1)},a._onTouchEnd=function(e){var t=(e||e.touches[0]).target;this._wasTap&&this.containerOuter.element.contains(t)&&((t===this.containerOuter.element||t===this.containerInner.element)&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),e.stopPropagation()),this._wasTap=!0},a._onMouseDown=function(e){var t=e.target;if(t instanceof HTMLElement){if(Te&&this.choiceList.element.contains(t)){var n=this.choiceList.element.firstElementChild,i="ltr"===this._direction?e.offsetX>=n.offsetWidth:e.offsetX<n.offsetLeft;this._isScrollingOnIe=i}if(t!==this.input.element){var r=t.closest("[data-button],[data-item],[data-choice]");if(r instanceof HTMLElement){var o=e.shiftKey,a=this._store.activeItems,s=r.dataset;"button"in s?this._handleButtonAction(a,r):"item"in s?this._handleItemAction(a,r,o):"choice"in s&&this._handleChoiceAction(a,r)}e.preventDefault()}}},a._onMouseOver=function(e){var t=e.target;t instanceof HTMLElement&&"choice"in t.dataset&&this._highlightChoice(t)},a._onClick=function(e){var t=e.target;this.containerOuter.element.contains(t)?this.dropdown.isActive||this.containerOuter.isDisabled?this._isSelectOneElement&&t!==this.input.element&&!this.dropdown.element.contains(t)&&this.hideDropdown():this._isTextElement?document.activeElement!==this.input.element&&this.input.focus():(this.showDropdown(),this.containerOuter.focus()):(this._store.highlightedActiveItems.length>0&&this.unhighlightAll(),this.containerOuter.removeFocusState(),this.hideDropdown(!0))},a._onFocus=function(e){var t,n=this,i=e.target;this.containerOuter.element.contains(i)&&((t={})[le]=function(){i===n.input.element&&n.containerOuter.addFocusState()},t[ue]=function(){n.containerOuter.addFocusState(),i===n.input.element&&n.showDropdown(!0)},t[ce]=function(){i===n.input.element&&(n.showDropdown(!0),n.containerOuter.addFocusState())},t)[this.passedElement.element.type]()},a._onBlur=function(e){var t=this,n=e.target;if(this.containerOuter.element.contains(n)&&!this._isScrollingOnIe){var i,r=this._store.activeItems.some((function(e){return e.highlighted}));((i={})[le]=function(){n===t.input.element&&(t.containerOuter.removeFocusState(),r&&t.unhighlightAll(),t.hideDropdown(!0))},i[ue]=function(){t.containerOuter.removeFocusState(),(n===t.input.element||n===t.containerOuter.element&&!t._canSearch)&&t.hideDropdown(!0)},i[ce]=function(){n===t.input.element&&(t.containerOuter.removeFocusState(),t.hideDropdown(!0),r&&t.unhighlightAll())},i)[this.passedElement.element.type]()}else this._isScrollingOnIe=!1,this.input.element.focus()},a._onFormReset=function(){this._store.dispatch({type:"RESET_TO",state:this._initialState})},a._highlightChoice=function(e){var t=this;void 0===e&&(e=null);var n=Array.from(this.dropdown.element.querySelectorAll("[data-choice-selectable]"));if(n.length){var i=e;Array.from(this.dropdown.element.querySelectorAll("."+this.config.classNames.highlightedState)).forEach((function(e){e.classList.remove(t.config.classNames.highlightedState),e.setAttribute("aria-selected","false")})),i?this._highlightPosition=n.indexOf(i):(i=n.length>this._highlightPosition?n[this._highlightPosition]:n[n.length-1])||(i=n[0]),i.classList.add(this.config.classNames.highlightedState),i.setAttribute("aria-selected","true"),this.passedElement.triggerEvent(W,{el:i}),this.dropdown.isActive&&(this.input.setActiveDescendant(i.id),this.containerOuter.setActiveDescendant(i.id))}},a._addItem=function(e){var t=e.value,n=e.label,i=void 0===n?null:n,r=e.choiceId,o=void 0===r?-1:r,a=e.groupId,s=void 0===a?-1:a,l=e.customProperties,u=void 0===l?null:l,c=e.placeholder,d=void 0!==c&&c,h=e.keyCode,f=void 0===h?null:h,p="string"==typeof t?t.trim():t,m=f,v=u,g=this._store.items,b=i||p,y=o||-1,w=s>=0?this._store.getGroupById(s):null,x=g?g.length+1:1;return this.config.prependValue&&(p=this.config.prependValue+p.toString()),this.config.appendValue&&(p+=this.config.appendValue.toString()),this._store.dispatch(function(e){var t=e.value,n=e.label,i=e.id,r=e.choiceId,o=e.groupId,a=e.customProperties,s=e.placeholder,l=e.keyCode;return{type:K,value:t,label:n,id:i,choiceId:r,groupId:o,customProperties:a,placeholder:s,keyCode:l}}({value:p,label:b,id:x,choiceId:y,groupId:s,customProperties:u,placeholder:d,keyCode:m})),this._isSelectOneElement&&this.removeActiveItems(x),this.passedElement.triggerEvent(H,{id:x,value:p,label:b,customProperties:v,groupValue:w&&w.value?w.value:void 0,keyCode:m}),this},a._removeItem=function(e){if(!e||!S("Object",e))return this;var t=e.id,n=e.value,i=e.label,r=e.choiceId,o=e.groupId,a=o>=0?this._store.getGroupById(o):null;return this._store.dispatch(function(e,t){return{type:Z,id:e,choiceId:t}}(t,r)),a&&a.value?this.passedElement.triggerEvent(z,{id:t,value:n,label:i,groupValue:a.value}):this.passedElement.triggerEvent(z,{id:t,value:n,label:i}),this},a._addChoice=function(e){var t=e.value,n=e.label,i=void 0===n?null:n,r=e.isSelected,o=void 0!==r&&r,a=e.isDisabled,s=void 0!==a&&a,l=e.groupId,u=void 0===l?-1:l,c=e.customProperties,d=void 0===c?null:c,h=e.placeholder,f=void 0!==h&&h,p=e.keyCode,m=void 0===p?null:p;if(null!=t){var v=this._store.choices,g=i||t,b=v?v.length+1:1,y=this._baseId+"-"+this._idNames.itemChoice+"-"+b;this._store.dispatch(function(e){var t=e.value,n=e.label,i=e.id,r=e.groupId,o=e.disabled,a=e.elementId,s=e.customProperties,l=e.placeholder,u=e.keyCode;return{type:V,value:t,label:n,id:i,groupId:r,disabled:o,elementId:a,customProperties:s,placeholder:l,keyCode:u}}({id:b,groupId:u,elementId:y,value:t,label:g,disabled:s,customProperties:d,placeholder:f,keyCode:m})),o&&this._addItem({value:t,label:g,choiceId:b,customProperties:d,placeholder:f,keyCode:m})}},a._addGroup=function(e){var t=this,n=e.group,i=e.id,r=e.valueKey,o=void 0===r?"value":r,a=e.labelKey,s=void 0===a?"label":a,l=S("Object",n)?n.choices:Array.from(n.getElementsByTagName("OPTION")),u=i||Math.floor((new Date).valueOf()*Math.random()),c=!!n.disabled&&n.disabled;l?(this._store.dispatch(Ee({value:n.label,id:u,active:!0,disabled:c})),l.forEach((function(e){var n=e.disabled||e.parentNode&&e.parentNode.disabled;t._addChoice({value:e[o],label:S("Object",e)?e[s]:e.innerHTML,isSelected:e.selected,isDisabled:n,groupId:u,customProperties:e.customProperties,placeholder:e.placeholder})}))):this._store.dispatch(Ee({value:n.label,id:n.id,active:!1,disabled:n.disabled}))},a._getTemplate=function(e){var t;if(!e)return null;for(var n=this.config.classNames,i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];return(t=this._templates[e]).call.apply(t,[this,n].concat(r))},a._createTemplates=function(){var e=this.config.callbackOnCreateTemplates,t={};e&&"function"==typeof e&&(t=e.call(this,k)),this._templates=s()(xe,t)},a._createElements=function(){this.containerOuter=new de({element:this._getTemplate("containerOuter",this._direction,this._isSelectElement,this._isSelectOneElement,this.config.searchEnabled,this.passedElement.element.type),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.containerInner=new de({element:this._getTemplate("containerInner"),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.input=new fe({element:this._getTemplate("input",this._placeholderValue),classNames:this.config.classNames,type:this.passedElement.element.type,preventPaste:!this.config.paste}),this.choiceList=new pe({element:this._getTemplate("choiceList",this._isSelectOneElement)}),this.itemList=new pe({element:this._getTemplate("itemList",this._isSelectOneElement)}),this.dropdown=new D({element:this._getTemplate("dropdown"),classNames:this.config.classNames,type:this.passedElement.element.type})},a._createStructure=function(){this.passedElement.conceal(),this.containerInner.wrap(this.passedElement.element),this.containerOuter.wrap(this.containerInner.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":this._placeholderValue&&(this.input.placeholder=this._placeholderValue,this.input.setWidth()),this.containerOuter.element.appendChild(this.containerInner.element),this.containerOuter.element.appendChild(this.dropdown.element),this.containerInner.element.appendChild(this.itemList.element),this._isTextElement||this.dropdown.element.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&&this.dropdown.element.insertBefore(this.input.element,this.dropdown.element.firstChild):this.containerInner.element.appendChild(this.input.element),this._isSelectElement&&(this._highlightPosition=0,this._isSearching=!1,this._startLoading(),this._presetGroups.length?this._addPredefinedGroups(this._presetGroups):this._addPredefinedChoices(this._presetChoices),this._stopLoading()),this._isTextElement&&this._addPredefinedItems(this._presetItems)},a._addPredefinedGroups=function(e){var t=this,n=this.passedElement.placeholderOption;n&&"SELECT"===n.parentNode.tagName&&this._addChoice({value:n.value,label:n.innerHTML,isSelected:n.selected,isDisabled:n.disabled,placeholder:!0}),e.forEach((function(e){return t._addGroup({group:e,id:e.id||null})}))},a._addPredefinedChoices=function(e){var t=this;this.config.shouldSort&&e.sort(this.config.sorter);var n=e.some((function(e){return e.selected})),i=e.findIndex((function(e){return void 0===e.disabled||!e.disabled}));e.forEach((function(e,r){var o=e.value,a=e.label,s=e.customProperties,l=e.placeholder;if(t._isSelectElement)if(e.choices)t._addGroup({group:e,id:e.id||null});else{var u=!(!t._isSelectOneElement||n||r!==i)||e.selected,c=e.disabled;
2t._addChoice({value:o,label:a,isSelected:u,isDisabled:c,customProperties:s,placeholder:l})}else t._addChoice({value:o,label:a,isSelected:e.selected,isDisabled:e.disabled,customProperties:s,placeholder:l})}))},a._addPredefinedItems=function(e){var t=this;e.forEach((function(e){"object"==typeof e&&e.value&&t._addItem({value:e.value,label:e.label,choiceId:e.id,customProperties:e.customProperties,placeholder:e.placeholder}),"string"==typeof e&&t._addItem({value:e})}))},a._setChoiceOrItem=function(e){var t=this;({object:function(){e.value&&(t._isTextElement?t._addItem({value:e.value,label:e.label,choiceId:e.id,customProperties:e.customProperties,placeholder:e.placeholder}):t._addChoice({value:e.value,label:e.label,isSelected:!0,isDisabled:!1,customProperties:e.customProperties,placeholder:e.placeholder}))},string:function(){t._isTextElement?t._addItem({value:e}):t._addChoice({value:e,label:e,isSelected:!0,isDisabled:!1})}})[_(e).toLowerCase()]()},a._findAndSelectChoiceByValue=function(e){var t=this,n=this._store.choices.find((function(n){return t.config.valueComparer(n.value,e)}));n&&!n.selected&&this._addItem({value:n.value,label:n.label,choiceId:n.id,groupId:n.groupId,customProperties:n.customProperties,placeholder:n.placeholder,keyCode:n.keyCode})},a._generatePlaceholderValue=function(){if(this._isSelectElement){var e=this.passedElement.placeholderOption;return!!e&&e.text}var t=this.config,n=t.placeholder,i=t.placeholderValue,r=this.passedElement.element.dataset;if(n){if(i)return i;if(r.placeholder)return r.placeholder}return!1},r}();n.default=Ae}]).default},e.exports=n()}).call(this,n(148))},function(e,t,n){var i=n(42);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(42),r=n(11)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var i=n(6),r=n(37),o=n(11)("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||null==(n=i(a)[o])?t:r(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){d||(d=(0,u.default)());var n=(0,i.default)({label:"element/disabled",context:e});t=Boolean(t);var r=n.hasAttribute("data-ally-disabled"),a=1===arguments.length;return(0,o.default)(n)?a?n.disabled:(n.disabled=t,n):a?r:r===t?n:(f(n,t),n)};var i=c(n(2)),r=c(n(23)),o=c(n(91)),a=c(n(196)),s=c(n(92)),l=c(n(197)),u=c(n(10));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0;function h(){l.default.warn("trying to focus inert element",this)}function f(e,t){!function(e,t){(0,s.default)({element:e,attribute:"aria-disabled",temporaryValue:t?"true":void 0})}(e,t),function(e,t){if(t){var n=(0,r.default)(e);(0,s.default)({element:e,attribute:"tabindex",temporaryValue:"-1",saveValue:null!==n?n:""})}else(0,s.default)({element:e,attribute:"tabindex"})}(e,t),function(e,t){t?e.focus=h:delete e.focus}(e,t),function(e,t){if(t){var n=e.style.pointerEvents||"";e.setAttribute("data-inert-pointer-events",n),e.style.pointerEvents="none"}else{var i=e.getAttribute("data-inert-pointer-events");e.removeAttribute("data-inert-pointer-events"),e.style.pointerEvents=i}}(e,t);var n=e.nodeName.toLowerCase();"video"!==n&&"audio"!==n||function(e,t){(0,a.default)({element:e,attribute:"controls",remove:t})}(e,t),("svg"===n||e.ownerSVGElement)&&(d.focusSvgFocusableAttribute?function(e,t){(0,s.default)({element:e,attribute:"focusable",temporaryValue:t?"false":void 0})}(e,t):d.focusSvgTabindexAttribute||"a"!==n||function(e,t){(0,a.default)({element:e,attribute:"xlink:href",remove:t})}(e,t)),t?e.setAttribute("data-ally-disabled","true"):e.removeAttribute("data-ally-disabled")}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default="1.4.1",e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=void 0;try{document.querySelector("html >>> :first-child"),e=">>>"}catch(t){try{document.querySelector("html /deep/ :first-child"),e="/deep/"}catch(t){e=""}}return e},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJzdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg==",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e.ownerSVGElement||"svg"===e.nodeName.toLowerCase()))return!1;var t,n=((t=document.createElement("div")).innerHTML='<svg><foreignObject width="30" height="30">\n <input type="text"/>\n </foreignObject></svg>',t.firstChild.firstChild);e.appendChild(n);var i=n.querySelector("input");return i.focus(),i.disabled=!0,e.removeChild(n),!0},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){a||((a=(0,r.default)()).focusFieldsetDisabled&&delete l.fieldset,a.focusFormDisabled&&delete l.form,s=new RegExp("^("+Object.keys(l).join("|")+")$"));var t=(0,i.default)({label:"is/native-disabled-supported",context:e}).nodeName.toLowerCase();return Boolean(s.test(t))};var i=o(n(2)),r=o(n(10));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=void 0,l={input:!0,select:!0,textarea:!0,button:!0,fieldset:!0,form:!0};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.element,n=e.attribute,i=e.temporaryValue,r=e.saveValue,o="data-cached-"+n;if(void 0!==i){var a=r||t.getAttribute(n);t.setAttribute(o,a||""),t.setAttribute(n,i)}else{var s=t.getAttribute(o);t.removeAttribute(o),""===s?t.removeAttribute(n):t.setAttribute(n,s)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.skipFocusable;h||(h=(0,c.default)());var r=(0,a.default)({label:"get/focus-redirect-target",context:t});if(!n&&(0,i.default)(r))return null;var o=r.nodeName.toLowerCase(),l=(0,s.default)(r);return"label"===o?p(r,l):"legend"===o?m(r,l):"img"===o?v(r):null};var i=d(n(20)),r=d(n(50)),o=d(n(34)),a=d(n(2)),s=d(n(14)),l=d(n(70)),u=n(49),c=d(n(10));function d(e){return e&&e.__esModule?e:{default:e}}var h=void 0;function f(e){var t=e.nodeName.toLowerCase();return"input"===t||"textarea"===t||"select"===t||"button"===t}function p(e,t){var n=e.getAttribute("for");return n?t.getElementById(n):e.querySelector("input, select, textarea")}function m(e,t){return h.focusRedirectLegend?"fieldset"!==e.parentNode.nodeName.toLowerCase()?null:"tabbable"===h.focusRedirectLegend?function(e,t){var n=(0,o.default)({context:t.body,strategy:"strict"});if(!n.length)return null;var i=(0,l.default)({list:n,elements:[e]}),r=i.indexOf(e);return r===i.length-1?null:i[r+1]}(e,t):function(e){var t=e.parentNode;return(0,r.default)({context:t,strategy:"strict"}).filter(f)[0]||null}(e):null}function v(e){if(!h.focusRedirectImgUsemap)return null;var t=(0,u.getMapOfImage)(e);return t&&t.querySelector("area")||null}e.exports=t.default},function(e,t,n){"use strict";function i(e){return[e.getPropertyValue("overflow"),e.getPropertyValue("overflow-x"),e.getPropertyValue("overflow-y")].some((function(e){return"auto"===e||"scroll"===e}))}Object.defineProperty(t,"__esModule",{value:!0}),t.isUserModifyWritable=function(e){var t=e.webkitUserModify||"";return Boolean(t&&-1!==t.indexOf("write"))},t.hasCssOverflowScroll=i,t.hasCssDisplayFlex=function(e){return e.display.indexOf("flex")>-1},t.isScrollableContainer=function(e,t,n,r){if("div"!==t&&"span"!==t)return!1;if(n&&"div"!==n&&"span"!==n&&!i(r))return!1;return e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth}},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){u||(u=(0,s.default)());var t=(0,i.default)({label:"is/valid-area",context:e});if("area"!==t.nodeName.toLowerCase())return!1;var n=t.hasAttribute("tabindex");if(!u.focusAreaTabindex&&n)return!1;var l=(0,a.getImageOfArea)(t);return!(!l||!(0,r.default)(l))&&(!(!u.focusBrokenImageMap&&(!l.complete||!l.naturalHeight||l.offsetWidth<=0||l.offsetHeight<=0))&&(u.focusAreaWithoutHref||t.href?!(0,o.default)({context:l}).slice(1).some((function(e){var t=e.nodeName.toLowerCase();return"button"===t||"a"===t})):u.focusAreaTabindex&&n||u.focusAreaImgTabindex&&l.hasAttribute("tabindex")))};var i=l(n(2)),r=l(n(27)),o=l(n(15)),a=n(49),s=l(n(10));function l(e){return e&&e.__esModule?e:{default:e}}var u=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){l||(l=(0,a.default)());var t=(0,i.default)({label:"is/disabled",context:e});if(t.hasAttribute("data-ally-disabled"))return!0;if(!(0,o.default)(t))return!1;if(t.disabled)return!0;var n=(0,r.default)({context:t});return!!n.some(u)||!(l.focusFormDisabled||!n.some(c))};var i=s(n(2)),r=s(n(15)),o=s(n(91)),a=s(n(10));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e){return"fieldset"===e.nodeName.toLowerCase()&&e.disabled}function c(e){return"form"===e.nodeName.toLowerCase()&&e.disabled}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n(27)),r=l(n(2)),o=l(n(48)),a=l(n(23)),s=l(n(8));function l(e){return e&&e.__esModule?e:{default:e}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,l=void 0===n?{onlyFocusableBrowsingContext:!1,visible:!1}:n,u=(0,r.default)({label:"is/only-tabbable",resolveDocument:!0,context:t});if(!l.visible&&!(0,i.default)(u))return!1;if(!l.onlyFocusableBrowsingContext&&(s.default.is.GECKO||s.default.is.TRIDENT||s.default.is.EDGE)){var c=(0,o.default)(u);if(c&&(0,a.default)(c)<0)return!1}var d=u.nodeName.toLowerCase(),h=(0,a.default)(u);return"label"===d&&s.default.is.GECKO?null!==h&&h>=0:!!(s.default.is.GECKO&&u.ownerSVGElement&&!u.focus&&"a"===d&&u.hasAttribute("xlink:href")&&s.default.is.GECKO)}u.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return u({context:t,except:e})};return t.rules=u,t};var c=u.except({});t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n(27)),r=f(n(2)),o=f(n(67)),a=f(n(23)),s=f(n(47)),l=f(n(48)),u=f(n(8)),c=n(49),d=n(94),h=f(n(10));function f(e){return e&&e.__esModule?e:{default:e}}var p=void 0,m=/^(fieldset|table|td|body)$/;function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,s=void 0===n?{flexbox:!1,scrollable:!1,shadow:!1,visible:!1,onlyTabbable:!1}:n;p||(p=(0,h.default)());var f=(0,r.default)({label:"is/tabbable",resolveDocument:!0,context:t});if(u.default.is.BLINK&&u.default.is.ANDROID&&u.default.majorVersion>42)return!1;var v=(0,l.default)(f);if(v){if(u.default.is.WEBKIT&&u.default.is.IOS)return!1;if((0,a.default)(v)<0)return!1;if(!s.visible&&(u.default.is.BLINK||u.default.is.WEBKIT)&&!(0,i.default)(v))return!1;if("object"===v.nodeName.toLowerCase()){var y="Chrome"===u.default.name&&u.default.majorVersion>=54||"Opera"===u.default.name&&u.default.majorVersion>=41;if(u.default.is.WEBKIT||u.default.is.BLINK&&!y)return!1}}var w=f.nodeName.toLowerCase(),x=(0,a.default)(f),_=null===x?null:x>=0;if(u.default.is.EDGE&&u.default.majorVersion>=14&&v&&f.ownerSVGElement&&x<0)return!0;var S=!1!==_,E=null!==x&&x>=0;if(f.hasAttribute("contenteditable"))return S;if(m.test(w)&&!0!==_)return!1;if(u.default.is.WEBKIT&&u.default.is.IOS){var k="input"===w&&"text"===f.type||"password"===f.type||"select"===w||"textarea"===w||f.hasAttribute("contenteditable");if(!k){var C=window.getComputedStyle(f,null);k=(0,d.isUserModifyWritable)(C)}if(!k)return!1}if("use"===w&&null!==x&&(u.default.is.BLINK||u.default.is.WEBKIT&&9===u.default.majorVersion))return!0;
2if((0,o.default)(f,"svg a")&&f.hasAttribute("xlink:href")){if(S)return!0;if(f.focus&&!p.focusSvgNegativeTabindexAttribute)return!0}if("svg"===w&&p.focusSvgInIframe&&S)return!0;if(u.default.is.TRIDENT||u.default.is.EDGE){if("svg"===w)return!!p.focusSvg||(f.hasAttribute("focusable")||E);if(f.ownerSVGElement)return!(!p.focusSvgTabindexAttribute||!E)||f.hasAttribute("focusable")}if(void 0===f.tabIndex)return Boolean(s.onlyTabbable);if("audio"===w){if(!f.hasAttribute("controls"))return!1;if(u.default.is.BLINK)return!0}if("video"===w)if(f.hasAttribute("controls")){if(u.default.is.BLINK||u.default.is.GECKO)return!0}else if(u.default.is.TRIDENT||u.default.is.EDGE)return!1;if("object"===w&&(u.default.is.BLINK||u.default.is.WEBKIT))return!1;if("iframe"===w)return!1;if(!s.scrollable&&u.default.is.GECKO){var T=window.getComputedStyle(f,null);if((0,d.hasCssOverflowScroll)(T))return S}if(u.default.is.TRIDENT||u.default.is.EDGE){if("area"===w){var M=(0,c.getImageOfArea)(f);if(M&&(0,a.default)(M)<0)return!1}var A=window.getComputedStyle(f,null);if((0,d.isUserModifyWritable)(A))return f.tabIndex>=0;if(!s.flexbox&&(0,d.hasCssDisplayFlex)(A))return null!==x?E:g(f)&&b(f);if((0,d.isScrollableContainer)(f,w))return!1;var O=f.parentElement;if(O){var P=O.nodeName.toLowerCase(),I=window.getComputedStyle(O,null);if((0,d.isScrollableContainer)(O,w,P,I))return!1;if((0,d.hasCssDisplayFlex)(I))return E}}return f.tabIndex>=0}v.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return v({context:t,except:e})};return t.rules=v,t};var g=s.default.rules.except({flexbox:!0}),b=v.except({flexbox:!0}),y=v.except({});t.default=y,e.exports=t.default},function(e,t,n){"use strict";"undefined"!=typeof window&&function(){for(var e=0,t=["ms","moz","webkit","o"],n="",i="",r=0,o=t.length;r<o;++r)n=window[t[r]+"RequestAnimationFrame"],i=window[t[r]+"CancelAnimationFrame"]||window[t[r]+"CancelRequestAnimationFrame"];"function"!=typeof window.requestAnimationFrame&&(window.requestAnimationFrame=window[n]||function(t){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=window.setTimeout((function(){t(n+i)}),i);return e=n+i,r}),"function"!=typeof window.cancelAnimationFrame&&(window.cancelAnimationFrame=window[i]||function(e){clearTimeout(e)})}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)({label:"is/shadowed",resolveDocument:!0,context:e});return Boolean((0,r.default)({context:t}))};var i=o(n(2)),r=o(n(32));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=[],o=(0,r.default)({label:"get/shadow-host-parents",context:t});o&&(o=(0,i.default)({context:o}));)n.push(o);return n};var i=o(n(32)),r=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.filter;if(t=(0,i.default)({label:"get/insignificant-branches",defaultToDocument:!0,context:t}),!(n=(0,r.default)(n)).length)throw new TypeError("get/insignificant-branches requires valid options.filter");return l({context:t,filter:n})};var i=s(n(2)),r=s(n(13)),o=n(51),a=s(n(14));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.context,n=e.filter,i=[],r=function(e){return n.some((function(t){return e===t}))?NodeFilter.FILTER_REJECT:function(e){var t=(0,o.getParentComparator)({parent:e});return n.some(t)}(e)?NodeFilter.FILTER_ACCEPT:(i.push(e),NodeFilter.FILTER_REJECT)};r.acceptNode=r;for(var s=(0,a.default)(t).createTreeWalker(t,NodeFilter.SHOW_ELEMENT,r,!1);s.nextNode(););return i}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.callback,r=e.config;if("function"!=typeof n)throw new TypeError("observe/shadow-mutations requires options.callback to be a function");if("object"!==(void 0===r?"undefined":i(r)))throw new TypeError("observe/shadow-mutations requires options.config to be an object");
2if(!window.MutationObserver)return{disengage:function(){}};var o=(0,s.default)({label:"observe/shadow-mutations",resolveDocument:!0,defaultToDocument:!0,context:t}),a=new c({context:o,callback:n,config:r});return{disengage:a.disengage}};var o=l(n(13)),a=l(n(104)),s=l(n(2));function l(e){return e&&e.__esModule?e:{default:e}}var u={childList:!0,subtree:!0},c=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.context,r=n.callback,o=n.config;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=o,this.disengage=this.disengage.bind(this),this.clientObserver=new MutationObserver(r),this.hostObserver=new MutationObserver((function(e){return e.forEach(t.handleHostMutation,t)})),this.observeContext(i),this.observeShadowHosts(i)}return r(e,[{key:"disengage",value:function(){this.clientObserver&&this.clientObserver.disconnect(),this.clientObserver=null,this.hostObserver&&this.hostObserver.disconnect(),this.hostObserver=null}},{key:"observeShadowHosts",value:function(e){var t=this;(0,a.default)({context:e}).forEach((function(e){return t.observeContext(e.shadowRoot)}))}},{key:"observeContext",value:function(e){this.clientObserver.observe(e,this.config),this.hostObserver.observe(e,u)}},{key:"handleHostMutation",value:function(e){"childList"===e.type&&(0,o.default)(e.addedNodes).filter((function(e){return e.nodeType===Node.ELEMENT_NODE})).forEach(this.observeShadowHosts,this)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context,n=(0,i.default)({label:"query/shadow-hosts",resolveDocument:!0,defaultToDocument:!0,context:t}),o=(0,r.default)(t).createTreeWalker(n,NodeFilter.SHOW_ELEMENT,a,!1),s=[];n.shadowRoot&&(s.push(n),s=s.concat(e({context:n.shadowRoot})));for(;o.nextNode();)s.push(o.currentNode),s=s.concat(e({context:o.currentNode.shadowRoot}));return s};var i=o(n(2)),r=o(n(14));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return e.shadowRoot?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};a.acceptNode=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,a=e.includeOnlyTabbable,l=e.strategy;d||(d=(0,u.default)());var c=(0,r.default)(t)[0]||document.documentElement,p=(0,i.default)({context:c,includeContext:n,includeOnlyTabbable:a,strategy:l});return p=document.body.createShadowRoot&&o.default.is.BLINK?(0,s.default)(p,c,f):f(p,c),n&&(p=h(p,c)),p};var i=c(n(34)),r=c(n(13)),o=c(n(8)),a=c(n(220)),s=c(n(221)),l=c(n(222)),u=c(n(10));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0;function h(e,t){var n=e.indexOf(t);return n>0?e.splice(n,1).concat(e):e}function f(e,t){return d.tabsequenceAreaAtImgPosition&&(e=(0,a.default)(e,t)),e=(0,l.default)(e)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=(0,r.default)(e.context)[0]||document.documentElement;delete e.context;var a=(0,r.default)(e.filter);delete e.filter;var s=Object.keys(e);if(!s.length)throw new TypeError("when/key requires at least one option key");var l=function(e){e.keyCodes.forEach((function(n){t[n]||(t[n]=[]),t[n].push(e)}))};s.forEach((function(t){if("function"!=typeof e[t])throw new TypeError('when/key requires option["'+t+'"] to be a function');(0,i.default)(t).map((function(n){return n.callback=e[t],n})).forEach(l)}));var u=function(e){if(!e.defaultPrevented){if(a.length){var i=(0,o.getParentComparator)({element:e.target,includeSelf:!0});if(a.some(i))return}var r=e.keyCode||e.which;t[r]&&t[r].forEach((function(t){t.matchModifiers(e)&&t.callback.call(n,e,c)}))}};n.addEventListener("keydown",u,!1);var c=function(){n.removeEventListener("keydown",u,!1)};return{disengage:c}};var i=a(n(223)),r=a(n(13)),o=n(51);
2function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var i={tab:9,left:37,up:38,right:39,down:40,pageUp:33,"page-up":33,pageDown:34,"page-down":34,end:35,home:36,enter:13,escape:27,space:32,shift:16,capsLock:20,"caps-lock":20,ctrl:17,alt:18,meta:91,pause:19,insert:45,delete:46,backspace:8,_alias:{91:[92,93,224]}},r=1;r<26;r++)i["f"+r]=r+111;for(var o=0;o<10;o++){var a=o+48,s=o+96;i[o]=a,i["num-"+o]=s,i._alias[a]=[s]}for(var l=0;l<26;l++){var u=l+65;i[String.fromCharCode(u).toLowerCase()]=u}t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(35),o=(i=r)&&i.__esModule?i:{default:i};var a=0,s=0,l=["touchstart","pointerdown","MSPointerDown","mousedown"],u=["touchend","touchcancel","pointerup","MSPointerUp","pointercancel","MSPointerCancel","mouseup"];function c(){a=0,s=0}function d(e){!1!==e.isPrimary&&a++}function h(e){!1!==e.isPrimary&&(e.touches?a=e.touches.length:(window.setImmediate||window.setTimeout)((function(){a=Math.max(a-1,0)})))}function f(e){switch(e.keyCode||e.which){case 16:case 17:case 18:case 91:case 93:return}s++}function p(e){switch(e.keyCode||e.which){case 16:case 17:case 18:case 91:case 93:return}(window.setImmediate||window.setTimeout)((function(){s=Math.max(s-1,0)}))}function m(){return{pointer:Boolean(a),key:Boolean(s)}}t.default=(0,o.default)({engage:function(){return window.addEventListener("blur",c,!1),document.documentElement.addEventListener("keydown",f,!0),document.documentElement.addEventListener("keyup",p,!0),l.forEach((function(e){document.documentElement.addEventListener(e,d,!0)})),u.forEach((function(e){document.documentElement.addEventListener(e,h,!0)})),{get:m}},disengage:function(){a=s=0,window.removeEventListener("blur",c,!1),document.documentElement.removeEventListener("keydown",f,!0),document.documentElement.removeEventListener("keyup",p,!0),l.forEach((function(e){document.documentElement.removeEventListener(e,d,!0)})),u.forEach((function(e){document.documentElement.removeEventListener(e,h,!0)}))}}),e.exports=t.default},function(e,t,n){"use strict";function i(e,t,n){var i=function(e){var t=e.getAttribute&&e.getAttribute("class")||"";return""===t?[]:t.split(" ")}(e),r=i.indexOf(t),o=-1!==r,a=void 0!==n?n:!o;a!==o&&(a||i.splice(r,1),a&&i.push(t),e.setAttribute("class",i.join(" ")))}Object.defineProperty(t,"__esModule",{value:!0}),t.toggleClass=i,t.removeClass=function(e,t){return i(e,t,!1)},t.addClass=function(e,t){return i(e,t,!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.callback,a=e.area;if("function"!=typeof n)throw new TypeError("when/visible-area requires options.callback to be a function");"number"!=typeof a&&(a=1);var s=(0,o.default)({label:"when/visible-area",context:t}),l=void 0,u=null,c=function(){l&&cancelAnimationFrame(l)},d=function(){return!(0,i.default)(s)||(0,r.default)(s)<a||!1===n(s)},h=function(){d()?u():c()};return(u=function(){l=requestAnimationFrame(h)})(),{disengage:c}},n(99);var i=a(n(27)),r=a(n(234)),o=a(n(2));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){var i=n(16),r=n(4),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(58)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var i=n(30),r=n(12),o=n(60);e.exports=function(e){return function(t,n,a){var s,l=i(t),u=r(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var i=n(42);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(11)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var i=n(6);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var i=n(84),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";n(255);var i=n(24),r=n(29),o=n(5),a=n(43),s=n(11),l=n(144),u=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={}
vendor: 9,993 bytes, line 2
2,n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!c||"split"===e&&!d){var m=/./[h],v=n(a,h,""[e],(function(e,t,n,i,r){return t.exec===l?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),g=v[0],b=v[1];i(String.prototype,e,g),r(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t,n){var i=n(36),r=n(250),o=n(139),a=n(6),s=n(12),l=n(141),u={},c={};(t=e.exports=function(e,t,n,d,h){var f,p,m,v,g=h?function(){return e}:l(e),b=i(n,d,t?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=s(e.length);f>y;y++)if((v=t?b(a(p=e[y])[0],p[1]):b(e[y]))===u||v===c)return v}else for(m=g.call(e);!(p=m.next()).done;)if((v=r(m,b,p.value,t))===u||v===c)return v}).BREAK=u,t.RETURN=c},function(e,t,n){var i=n(4).navigator;e.exports=i&&i.userAgent||""},function(e,t,n){"use strict";var i=n(4),r=n(1),o=n(24),a=n(79),s=n(54),l=n(119),u=n(78),c=n(7),d=n(5),h=n(115),f=n(74),p=n(130);e.exports=function(e,t,n,m,v,g){var b=i[e],y=b,w=v?"set":"add",x=y&&y.prototype,_={},S=function(e){var t=x[e];o(x,e,"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(g||x.forEach&&!d((function(){(new y).entries().next()})))){var E=new y,k=E[w](g?{}:-0,1)!=E,C=d((function(){E.has(1)})),T=h((function(e){new y(e)})),M=!g&&d((function(){for(var e=new y,t=5;t--;)e[w](t,t);return!e.has(-0)}));T||((y=t((function(t,n){u(t,y,e);var i=p(new b,t,y);return null!=n&&l(n,v,i[w],i),i}))).prototype=x,x.constructor=y),(C||M)&&(S("delete"),S("has"),v&&S("get")),(M||k)&&S(w),g&&x.clear&&delete x.clear}else y=m.getConstructor(t,e,v,w),a(y.prototype,n),s.NEED=!0;return f(y,e),_[e]=y,r(r.G+r.W+r.F*(y!=b),_),g||m.setStrong(y,e,v),y}},function(e,t,n){for(var i,r=n(4),o=n(29),a=n(57),s=a("typed_array"),l=a("view"),u=!(!r.ArrayBuffer||!r.DataView),c=u,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(i=r[h[d++]])?(o(i.prototype,s,!0),o(i.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(e,t,n){var i=n(7),r=n(4).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){t.f=n(11)},function(e,t,n){var i=n(111)("keys"),r=n(57);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(4).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(7),r=n(6),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(36)(Function.call,n(39).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t){e.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},function(e,t,n){var i=n(7),r=n(128).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},function(e,t,n){"use strict";var i=n(38),r=n(43);e.exports=function(e){var t=String(r(this)),n="",o=i(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var i=n(38),r=n(43);e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){"use strict";var i=n(58),r=n(1),o=n(24),a=n(29),s=n(76),l=n(249),u=n(74),c=n(63),d=n(11)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,v,g){l(n,t,p);var b,y,w,x=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",S="values"==m,E=!1,k=e.prototype,C=k[d]||k["@@iterator"]||m&&k[m],T=C||x(m),M=m?S?x("entries"):T:void 0,A="Array"==t&&k.entries||C;if(A&&(w=c(A.call(new e)))!==Object.prototype&&w.next&&(u(w,_,!0),i||"function"==typeof w[d]||a(w,d,f)),S&&C&&"values"!==C.name&&(E=!0,T=function(){return C.call(this)}),i&&!g||!h&&!E&&k[d]||a(k,d,T),s[t]=T,s[_]=f,m)if(b={values:S?T:x("values"),keys:v?T:x("keys"),entries:M},g)for(y in b)y in k||o(k,y,b[y]);else r(r.P+r.F*(h||E),t,b);return b}},function(e,t,n){var i=n(137),r=n(43);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(7),r=n(42),o=n(11)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){var i=n(11)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var i=n(76),r=n(11)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},function(e,t,n){"use strict";var i=n(18),r=n(56);e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},function(e,t,n){var i=n(84),r=n(11)("iterator"),o=n(76);e.exports=n(16).getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){"use strict";var i=n(22),r=n(60),o=n(12);e.exports=function(e){for(var t=i(this),n=o(t.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:r(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var i=n(64),r=n(254),o=n(76),a=n(30);e.exports=n(135)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var i,r,o=n(116),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,u=(i=/a/,r=/b*/g,a.call(i,"a"),a.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(u||c)&&(l=function(e){var t,n,i,r,l=this;return c&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),u&&(t=l.lastIndex),i=a.call(l,e),u&&i&&(l.lastIndex=l.global?i.index+i[0].length:t),c&&i&&i.length>1&&s.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=l},function(e,t,n){"use strict";var i=n(134)(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},function(e,t,n){var i,r,o,a=n(36),s=n(243),l=n(127),u=n(123),c=n(4),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,v=0,g={},b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){b.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},i(v),v},f=function(e){delete g[e]},"process"==n(42)(d)?i=function(e){d.nextTick(a(b,e,1))}:m&&m.now?i=function(e){m.now(a(b,e,1))}:p?(o=(r=new p).port2,r.port1.onmessage=y,i=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(e){c.postMessage(e+"","*")},c.addEventListener("message",y,!1)):i="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,n){"use strict";var i=n(4),r=n(17),o=n(58),a=n(122),s=n(29),l=n(79),u=n(5),c=n(78),d=n(38),h=n(12),f=n(262),p=n(62).f,m=n(18).f,v=n(142),g=n(74),b="prototype",y="Wrong index!",w=i.ArrayBuffer,x=i.DataView,_=i.Math,S=i.RangeError,E=i.Infinity,k=w,C=_.abs,T=_.pow,M=_.floor,A=_.log,O=_.LN2,P=r?"_b":"buffer",I=r?"_l":"byteLength",L=r?"_o":"byteOffset";function D(e,t,n){var i,r,o,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,u=l>>1,c=23===t?T(2,-24)-T(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=C(e))!=e||e===E?(r=e!=e?1:0,i=l):(i=M(A(e)/O),e*(o=T(2,-i))<1&&(i--,o*=2),(e+=i+u>=1?c/o:c*T(2,1-u))*o>=2&&(i++,o/=2),i+u>=l?(r=0,i=l):i+u>=1?(r=(e*o-1)*T(2,t),i+=u):(r=e*T(2,u-1)*T(2,t),i=0));t>=8;a[d++]=255&r,r/=256,t-=8);for(i=i<<t|r,s+=t;s>0;a[d++]=255&i,i/=256,s-=8);return a[--d]|=128*h,a}function j(e,t,n){var i,r=8*n-t-1,o=(1<<r)-1,a=o>>1,s=r-7,l=n-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(i=c&(1<<-s)-1,c>>=-s,s+=t;s>0;i=256*i+e[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return i?NaN:u?-E:E;i+=T(2,t),c-=a}return(u?-1:1)*i*T(2,c-t)}function N(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function F(e){return[255&e]}function R(e){return[255&e,e>>8&255]}function $(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function B(e){return D(e,52,8)}function H(e){return D(e,23,4)}function z(e,t,n){m(e[b],t,{get:function(){return this[n]}})}function q(e,t,n,i){var r=f(+n);if(r+t>e[I])throw S(y);var o=e[P]._b,a=r+e[L],s=o.slice(a,a+t);return i?s:s.reverse()}function W(e,t,n,i,r,o){var a=f(+n);if(a+t>e[I])throw S(y);for(var s=e[P]._b,l=a+e[L],u=i(+r),c=0;c<t;c++)s[l+c]=u[o?c:t-c-1]}if(a.ABV){if(!u((function(){w(1)}))||!u((function(){new w(-1)}))||u((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var V,Y=(w=function(e){return c(this,w),new k(f(e))})[b]=k[b],G=p(k),U=0;G.length>U;
2)(V=G[U++])in w||s(w,V,k[V]);o||(Y.constructor=w)}var X=new x(new w(2)),K=x[b].setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||l(x[b],{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},!0)}else w=function(e){c(this,w,"ArrayBuffer");var t=f(e);this._b=v.call(new Array(t),0),this[I]=t},x=function(e,t,n){c(this,x,"DataView"),c(e,w,"DataView");var i=e[I],r=d(t);if(r<0||r>i)throw S("Wrong offset!");if(r+(n=void 0===n?i-r:h(n))>i)throw S("Wrong length!");this[P]=e,this[L]=r,this[I]=n},r&&(z(w,"byteLength","_l"),z(x,"buffer","_b"),z(x,"byteLength","_l"),z(x,"byteOffset","_o")),l(x[b],{getInt8:function(e){return q(this,1,e)[0]<<24>>24},getUint8:function(e){return q(this,1,e)[0]},getInt16:function(e){var t=q(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=q(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return N(q(this,4,e,arguments[1]))},getUint32:function(e){return N(q(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return j(q(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return j(q(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){W(this,1,e,F,t)},setUint8:function(e,t){W(this,1,e,F,t)},setInt16:function(e,t){W(this,2,e,R,t,arguments[2])},setUint16:function(e,t){W(this,2,e,R,t,arguments[2])},setInt32:function(e,t){W(this,4,e,$,t,arguments[2])},setUint32:function(e,t){W(this,4,e,$,t,arguments[2])},setFloat32:function(e,t){W(this,4,e,H,t,arguments[2])},setFloat64:function(e,t){W(this,8,e,B,t,arguments[2])}});g(w,"ArrayBuffer"),g(x,"DataView"),s(x[b],a.VIEW,!0),t.ArrayBuffer=w,t.DataView=x},function(e,t,n){(function(t,n){var i;i=function(){"use strict";function e(e){return"function"==typeof e}var i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,o=void 0,a=void 0,s=function(e,t){p[r]=e,p[r+1]=t,2===(r+=2)&&(a?a(m):w())},l="undefined"!=typeof window?window:void 0,u=l||{},c=u.MutationObserver||u.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(m,1)}}var p=new Array(1e3);function m(){for(var e=0;e<r;e+=2)(0,p[e])(p[e+1]),p[e]=void 0,p[e+1]=void 0;r=0}var v,g,b,y,w=void 0;function x(e,t){var n=this,i=new this.constructor(E);void 0===i[S]&&F(i);var r=n._state;if(r){var o=arguments[r-1];s((function(){return j(r,i,o,n._result)}))}else L(n,i,e,t);return i}function _(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(E);return A(t,e),t}d?w=function(){return t.nextTick(m)}:c?(g=0,b=new c(m),y=document.createTextNode(""),b.observe(y,{characterData:!0}),w=function(){y.data=g=++g%2}):h?((v=new MessageChannel).port1.onmessage=m,w=function(){return v.port2.postMessage(0)}):w=void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(o=e.runOnLoop||e.runOnContext)?function(){o(m)}:f()}catch(e){return f()}}():f();var S=Math.random().toString(36).substring(2);function E(){}var k=void 0,C=1,T=2;function M(t,n,i){n.constructor===t.constructor&&i===x&&n.constructor.resolve===_?function(e,t){t._state===C?P(e,t._result):t._state===T?I(e,t._result):L(t,void 0,(function(t){return A(e,t)}),(function(t){return I(e,t)}))}(t,n):void 0===i?P(t,n):e(i)?function(e,t,n){s((function(e){var i=!1,r=function(e,t,n,i){try{e.call(t,n,i)}catch(e){return e}}(n,t,(function(n){i||(i=!0,t!==n?A(e,n):P(e,n))}),(function(t){i||(i=!0,I(e,t))}),e._label);!i&&r&&(i=!0,I(e,r))}),e)}(t,n,i):P(t,n)}function A(e,t){if(e===t)I(e,new TypeError("You cannot resolve a promise with itself"));else if(r=typeof(i=t),null===i||"object"!==r&&"function"!==r)P(e,t);else{var n=void 0;try{n=t.then}catch(t){return void I(e,t)}M(e,t,n)}var i,r}function O(e){e._onerror&&e._onerror(e._result),D(e)}function P(e,t){e._state===k&&(e._result=t,e._state=C,0!==e._subscribers.length&&s(D,e))}function I(e,t){e._state===k&&(e._state=T,e._result=t,s(O,e))}function L(e,t,n,i){var r=e._subscribers,o=r.length;e._onerror=null,r[o]=t,r[o+C]=n,r[o+T]=i,0===o&&e._state&&s(D,e)}function D(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,r=void 0,o=e._result,a=0;a<t.length;a+=3)i=t[a],r=t[a+n],i?j(n,i,r,o):r(o);e._subscribers.length=0}}function j(t,n,i,r){var o=e(i),a=void 0,s=void 0,l=!0;if(o){try{a=i(r)}catch(e){l=!1,s=e}if(n===a)return void I(n,new TypeError("A promises callback cannot return that same promise."))}else a=r;n._state!==k||(o&&l?A(n,a):!1===l?I(n,s):t===C?P(n,a):t===T&&I(n,a))}var N=0;function F(e){e[S]=N++,e._state=void 0,e._result=void 0,e._subscribers=[]}var R=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(E),this.promise[S]||F(this.promise),i(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&P(this.promise,this._result))):I(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===_){var r=void 0,o=void 0,a=!1;try{r=e.then}catch(e){a=!0,o=e}if(r===x&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===$){var s=new n(E);a?I(s,o):M(s,e,r),this._willSettleAt(s,t)}
2else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,n){var i=this.promise;i._state===k&&(this._remaining--,e===T?I(i,n):this._result[t]=n),0===this._remaining&&P(i,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;L(e,void 0,(function(e){return n._settledAt(C,t,e)}),(function(e){return n._settledAt(T,t,e)}))},e}(),$=function(){function t(e){this[S]=N++,this._result=this._state=void 0,this._subscribers=[],E!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){A(e,t)}),(function(t){I(e,t)}))}catch(t){I(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):this.then(t,t)},t}();return $.prototype.then=x,$.all=function(e){return new R(this,e).promise},$.race=function(e){var t=this;return i(e)?new t((function(n,i){for(var r=e.length,o=0;o<r;o++)t.resolve(e[o]).then(n,i)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},$.resolve=_,$.reject=function(e){var t=new this(E);return I(t,e),t},$._setScheduler=function(e){a=e},$._setAsap=function(e){s=e},$._asap=s,$.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===i&&!t.cast)return}e.Promise=$},$.Promise=$,$},e.exports=i()}).call(this,n(447),n(55))},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(267)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(153)),r=a(n(86)),o=a(n(198));function a(e){return e&&e.__esModule?e:{default:e}}t.default={blur:i.default,disabled:r.default,focus:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)({label:"element/blur",context:e});if(!(0,i.default)(t))return null;if("body"===t.nodeName.toLowerCase())return null;if(t.blur)return t.blur(),document.activeElement;var n=(0,o.default)(t);try{n.HTMLElement.prototype.blur.call(t)}catch(e){var a=n.document&&n.document.body;if(!a)return null;var s=a.getAttribute("tabindex");a.setAttribute("tabindex","-1"),a.focus(),s?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}return n.document.activeElement};var i=a(n(45)),r=a(n(2)),o=a(n(66));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(){var e={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft},t=document.createElement("iframe");t.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;"),t.setAttribute("aria-live","off"),t.setAttribute("aria-busy","true"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t);var n=t.contentWindow,i=n.document;i.open(),i.close();var r=i.createElement("div");return i.body.appendChild(r),e.iframe=t,e.wrapper=r,e.window=n,e.document=i,e}(),n={};return Object.keys(e).map((function(i){n[i]=function(e,t){e.wrapper.innerHTML="";var n="string"==typeof t.element?e.document.createElement(t.element):t.element(e.wrapper,e.document),i=t.mutate&&t.mutate(n,e.wrapper,e.document);i||!1===i||(i=n);return!n.parentNode&&e.wrapper.appendChild(n),i&&i.focus&&i.focus(),t.validate?t.validate(n,i,e.document):e.document.activeElement===i}(t,e[i])})),function(e){e.activeElement===document.body?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),o.default.is.IE10&&document.body.focus()):e.activeElement&&e.activeElement.focus&&e.activeElement.focus();document.body.removeChild(e.iframe),window.scrollTop=e.windowScrollTop,window.scrollLeft=e.windowScrollLeft,document.body.scrollTop=e.bodyScrollTop,document.body.scrollLeft=e.bodyScrollLeft}(t),n};var i,r=n(8),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){(function(e,i){var r;(function(){"use strict";var o={function:!0,object:!0},a=o[typeof window]&&window||this,s=a,l=o[typeof t]&&t,u=o[typeof e]&&e&&!e.nodeType&&e,c=l&&u&&"object"==typeof i&&i;!c||c.global!==c&&c.window!==c&&c.self!==c||(a=c);var d=Math.pow(2,53)-1,h=/\bOpera/,f=this,p=Object.prototype,m=p.hasOwnProperty,v=p.toString;function g(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function b(e){return e=E(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:g(e)}function y(e,t){for(var n in e)m.call(e,n)&&t(e[n],n,e)}function w(e){return null==e?g(e):v.call(e).slice(8,-1)}function x(e,t){var n=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!e[t])}function _(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function S(e,t){var n=null;return function(e,t){var n=-1,i=e?e.length:0;if("number"==typeof i&&i>-1&&i<=d)for(;++n<i;
2)t(e[n],n,e);else y(e,t)}(e,(function(i,r){n=t(n,i,r,e)})),n}function E(e){return String(e).replace(/^ +| +$/g,"")}var k=function e(t){var n=a,i=t&&"object"==typeof t&&"String"!=w(t);i&&(n=t,t=null);var r=n.navigator||{},o=r.userAgent||"";t||(t=o);var l,u,c=i||f==s,d=i?!!r.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(v.toString()),p=i?"Object":"ScriptBridgingProxyObject",m=i?"Object":"Environment",g=i&&n.java?"JavaPackage":w(n.java),k=i?"Object":"RuntimeObject",C=/\bJava/.test(g)&&n.java,T=C&&w(n.environment)==m,M=C?"a":"α",A=C?"b":"β",O=n.document||{},P=n.operamini||n.opera,I=h.test(I=i&&P?P["[[Class]]"]:w(P))?I:P=null,L=t,D=[],j=null,N=t==o,F=N&&P&&"function"==typeof P.version&&P.version(),R=S([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,n){return e||RegExp("\\b"+(n.pattern||_(n))+"\\b","i").exec(t)&&(n.label||n)})),$=function(e){return S(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||_(n))+"\\b","i").exec(t)&&(n.label||n)}))}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),B=q([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),H=function(e){return S(e,(function(e,n,i){return e||(n[B]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(B)]||RegExp("\\b"+_(i)+"(?:\\b|\\w*\\d)","i").exec(t))&&i}))}({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}}),z=function(e){return S(e,(function(e,n){var i=n.pattern||_(n);return!e&&(e=RegExp("\\b"+i+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var i={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(i=i[/[\d.]+$/.exec(e)])&&(e="Windows "+i),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),e=b(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,i,n.label||n)),e}))}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function q(e){return S(e,(function(e,n){var i=n.pattern||_(n);return!e&&(e=RegExp("\\b"+i+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+i+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(i,"i").test(n.label)?n.label:e).split("/"))[1]&&
vendor: 8,325 bytes, line 2
2!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=b(e[0].replace(RegExp(i,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}if(R&&(R=[R]),H&&!B&&(B=q([H])),(l=/\bGoogle TV\b/.exec(B))&&(B=l[0]),/\bSimulator\b/i.test(t)&&(B=(B?B+" ":"")+"Simulator"),"Opera Mini"==$&&/\bOPiOS\b/.test(t)&&D.push("running in Turbo/Uncompressed mode"),"IE"==$&&/\blike iPhone OS\b/.test(t)?(H=(l=e(t.replace(/like iPhone OS/,""))).manufacturer,B=l.product):/^iP/.test(B)?($||($="Safari"),z="iOS"+((l=/ OS ([\d_]+)/i.exec(t))?" "+l[1].replace(/_/g,"."):"")):"Konqueror"!=$||/buntu/i.test(z)?H&&"Google"!=H&&(/Chrome/.test($)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(B))||/\bAndroid\b/.test(z)&&/^Chrome/.test($)&&/\bVersion\//i.test(t)?($="Android Browser",z=/\bAndroid\b/.test(z)?z:"Android"):"Silk"==$?(/\bMobi/i.test(t)||(z="Android",D.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&D.unshift("accelerated")):"PaleMoon"==$&&(l=/\bFirefox\/([\d.]+)\b/.exec(t))?D.push("identifying as Firefox "+l[1]):"Firefox"==$&&(l=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(z||(z="Firefox OS"),B||(B=l[1])):$&&!(l=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec($))||($&&!B&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(l+"/")+8))&&($=null),(l=B||H||z)&&(B||H||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(z))&&($=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(z)?z:l)+" Browser")):z="Kubuntu",F||(F=S(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",_($),"(?:Firefox|Minefield|NetFront)"],(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))),(l=("iCab"==R&&parseFloat(F)>3?"WebKit":/\bOpera\b/.test($)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(R)&&"WebKit"||!R&&/\bMSIE\b/i.test(t)&&("Mac OS"==z?"Tasman":"Trident")||"WebKit"==R&&/\bPlayStation\b(?! Vita\b)/i.test($)&&"NetFront")&&(R=[l]),"IE"==$&&(l=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?($+=" Mobile",z="Windows Phone "+(/\+$/.test(l)?l:l+".x"),D.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?($="IE Mobile",z="Windows Phone 8.x",D.unshift("desktop mode"),F||(F=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=$&&"Trident"==R&&(l=/\brv:([\d.]+)/.exec(t))&&($&&D.push("identifying as "+$+(F?" "+F:"")),$="IE",F=l[1]),N){if(x(n,"global"))if(C&&(L=(l=C.lang.System).getProperty("os.arch"),z=z||l.getProperty("os.name")+" "+l.getProperty("os.version")),c&&x(n,"system")&&(l=[n.system])[0]){z||(z=l[0].os||null);try{l[1]=n.require("ringo/engine").version,F=l[1].join("."),$="RingoJS"}catch(e){l[0].global.system==n.system&&($="Narwhal")}}else"object"==typeof n.process&&!n.process.browser&&(l=n.process)?($="Node.js",L=l.arch,z=l.platform,F=/[\d.]+/.exec(l.version)[0]):T&&($="Rhino");else w(l=n.runtime)==p?($="Adobe AIR",z=l.flash.system.Capabilities.os):w(l=n.phantom)==k?($="PhantomJS",F=(l=l.version||null)&&l.major+"."+l.minor+"."+l.patch):"number"==typeof O.documentMode&&(l=/\bTrident\/(\d+)/i.exec(t))&&(F=[F,O.documentMode],(l=+l[1]+4)!=F[1]&&(D.push("IE "+F[1]+" mode"),R&&(R[1]=""),F[1]=l),F="IE"==$?String(F[1].toFixed(1)):F[0]);z=z&&b(z)}F&&(l=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(F)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(N&&r.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(j=/b/i.test(l)?"beta":"alpha",F=F.replace(RegExp(l+"\\+?$"),"")+("beta"==j?A:M)+(/\d+\+?/.exec(l)||"")),"Fennec"==$||"Firefox"==$&&/\b(?:Android|Firefox OS)\b/.test(z)?$="Firefox Mobile":"Maxthon"==$&&F?F=F.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(B)?(z=null,"Xbox 360"==B&&/\bIEMobile\b/.test(t)&&D.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test($)&&(!$||B||/Browser|Mobi/.test($))||"Windows CE"!=z&&!/Mobi/i.test(t)?"IE"==$&&N&&null===n.external?D.unshift("platform preview"):(/\bBlackBerry\b/.test(B)||/\bBB10\b/.test(t))&&(l=(RegExp(B.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||F)?(z=((l=[l,/BB10/.test(t)])[1]?(B=null,H="BlackBerry"):"Device Software")+" "+l[0],F=null):this!=y&&"Wii"!=B&&(N&&P||/Opera/.test($)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==$&&/\bOS X (?:\d+\.){2,}/.test(z)||"IE"==$&&(z&&!/^Win/.test(z)&&F>5.5||/\bWindows XP\b/.test(z)&&F>8||8==F&&!/\bTrident\b/.test(t)))&&!h.test(l=e.call(y,t.replace(h,"")+";"))&&l.name&&(l="ing as "+l.name+((l=l.version)?" "+l:""),h.test($)?(/\bIE\b/.test(l)&&"Mac OS"==z&&(z=null),l="identify"+l):(l="mask"+l,$=I?b(I.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(l)&&(z=null),N||(F=null)),R=["Presto"],D.push(l)):$+=" Mobile",(l=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(l=[parseFloat(l.replace(/\.(\d)$/,".0$1")),l],"Safari"==$&&"+"==l[1].slice(-1)?($="WebKit Nightly",j="alpha",F=l[1].slice(0,-1)):F!=l[1]&&F!=(l[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(F=null),l[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==l[0]&&537.36==l[2]&&parseFloat(l[1])>=28&&"WebKit"==R&&(R=["Blink"]),N&&(d||l[1])?(R&&(R[1]="like Chrome"),l=l[1]||((l=l[0])<530?1:l<532?2:l<532.05?3:l<533?4:l<534.03?5:l<534.07?6:l<534.1?7:l<534.13?8:l<534.16?9:l<534.24?10:l<534.3?11:l<535.01?12:l<535.02?"13+":l<535.07?15:l<535.11?16:l<535.19?17:l<536.05?18:l<536.1?19:l<537.01?20:l<537.11?"21+":l<537.13?23:l<537.18?24:l<537.24?25:l<537.36?26:"Blink"!=R?"27":"28")):(R&&(R[1]="like Safari"),l=(l=l[0])<400?1:l<500?2:l<526?3:l<533?4:l<534?"4+":l<535?5:l<537?6:l<538?7:l<601?8:"8"),R&&(R[1]+=" "+(l+="number"==typeof l?".x":/[.+]/.test(l)?"":"+")),"Safari"==$&&(!F||parseInt(F)>45)&&(F=l)),"Opera"==$&&(l=/\bzbov|zvav$/.exec(z))?($+=" ",D.unshift("desktop mode"),"zvav"==l?($+="Mini",F=null):$+="Mobile",z=z.replace(RegExp(" *"+l+"$"),"")):"Safari"==$&&/\bChrome\b/.exec(R&&R[1])&&(D.unshift("desktop mode"),$="Chrome Mobile",F=null,/\bOS X\b/.test(z)?(H="Apple",z="iOS 4.3+"):z=null),F&&0==F.indexOf(l=/[\d.]+$/.exec(z))&&t.indexOf("/"+l+"-")>-1&&(z=E(z.replace(l,""))),R&&!/\b(?:Avant|Nook)\b/.test($)&&(/Browser|Lunascape|Maxthon/.test($)||"Safari"!=$&&/^iOS/.test(z)&&/\bSafari\b/.test(R[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test($)&&R[1])&&(l=R[R.length-1])&&D.push(l),D.length&&(D=["("+D.join("; ")+")"]),H&&B&&B.indexOf(H)<0&&D.push("on "+H),B&&D.push((/^on /.test(D[D.length-1])?"":"on ")+B),z&&(l=/ ([\d.+]+)$/.exec(z),u=l&&"/"==z.charAt(z.length-l[0].length-1),z={architecture:32,family:l&&!u?z.replace(l[0],""):z,version:l?l[1]:null,toString:function(){var e=this.version;return this.family+(e&&!u?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(l=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(L))&&!/\bi686\b/i.test(L)?(z&&(z.architecture=64,z.family=z.family.replace(RegExp(" *"+l),"")),$&&(/\bWOW64\b/i.test(t)||N&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(t))&&D.unshift("32-bit")):z&&/^OS X/.test(z.family)&&"Chrome"==$&&parseFloat(F)>=39&&(z.architecture=64),t||(t=null);var W={};return W.description=t,W.layout=R&&R[0],W.manufacturer=H,W.name=$,W.prerelease=j,W.product=B,W.ua=t,W.version=$&&F,W.os=z||{architecture:null,family:null,version:null,toString:function(){return"null"}},W.parse=e,W.toString=function(){return this.description||""},W.version&&D.unshift(F),W.name&&D.unshift($),z&&$&&(z!=String(z).split(" ")[0]||z!=$.split(" ")[0]&&!B)&&D.push(B?"("+z+")":"on "+z),D.length&&(W.description=D.join(" ")),W}();a.platform=k,void 0===(r=function(){return k}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(80)(e),n(55))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(87),o=(i=r)&&i.__esModule?i:{default:i};var a="undefined"!=typeof window&&window.navigator.userAgent||"",s=function(e){var t=void 0;try{t=(t=window.localStorage&&window.localStorage.getItem(e))?JSON.parse(t):{}}catch(e){t={}}return t}("ally-supports-cache");s.userAgent===a&&s.version===o.default||(s={}),s.userAgent=a,s.version=o.default,t.default={get:function(){return s},set:function(e){Object.keys(e).forEach((function(t){s[t]=e[t]})),s.time=(new Date).toISOString(),function(e,t){if(document.hasFocus())try{window.localStorage&&window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}else try{window.localStorage&&window.localStorage.removeItem(e)}catch(e){}}("ally-supports-cache",s)}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+o.default+'">',e.querySelector("area")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(19)),r=o(n(8));function o(e){return e&&e.__esModule?e:{default:e}}t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" tabindex="-1" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" alt="" src="'+i.default+'">',!1},validate:function(e,t,n){if(r.default.is.GECKO)return!0;var i=e.querySelector("area");return i.focus(),n.activeElement===i}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(19)),r=o(n(8));function o(e){return e&&e.__esModule?e:{default:e}}t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-area-href-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-area-href-test" alt="" src="'+i.default+'">',e.querySelector("area")},validate:function(e,t,n){return!!r.default.is.GECKO||n.activeElement===t}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(161),o=(i=r)&&i.__esModule?i:{default:i};
2t.default={name:"can-focus-audio-without-controls",element:"audio",mutate:function(e){try{e.setAttribute("src",o.default)}catch(e){}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(163),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="broken-image-map-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#broken-image-map-test" alt="" src="'+o.default+'">',e.querySelector("area")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){return e.setAttribute("tabindex","-1"),e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>',e.querySelector("span")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){e.innerHTML="<legend>legend</legend><p>content</p>"}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"span",mutate:function(e){e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>'}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"form",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"a",mutate:function(e){return e.href="#void",e.innerHTML='<img ismap src="'+o.default+'" alt="">',e.querySelector("img")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+o.default+'">',e.querySelector("img")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:function(e,t){var n=t.createElement("iframe");e.appendChild(n);var i=n.contentWindow.document;return i.open(),i.close(),n},mutate:function(e){e.style.visibility="hidden";var t=e.contentWindow.document,n=t.createElement("input");return t.body.appendChild(n),n},validate:function(e){var t=e.contentWindow.document,n=t.querySelector("input");return t.activeElement===n}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o};var i,r=n(8);var o=!((i=r)&&i.__esModule?i:{default:i}).default.is.WEBKIT;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("tabindex","invalid-value")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"label",mutate:function(e){e.setAttribute("tabindex","-1")},validate:function(e,t,n){e.offsetHeight;return e.focus(),n.activeElement===e}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(89),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",o.default),e.setAttribute("width","200"),e.setAttribute("height","50"),e.style.visibility="hidden"}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(89)),r=o(n(8));function o(e){return e&&e.__esModule?e:{default:e}}t.default={name:"can-focus-object-svg",element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",i.default),e.setAttribute("width","200"),e.setAttribute("height","50")},validate:function(e,t,n){return!!r.default.is.GECKO||n.activeElement===e}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o};var i,r=n(8);var o=!((i=r)&&i.__esModule?i:{default:i}).default.is.IE9;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="focus-redirect-img-usemap"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#focus-redirect-img-usemap" alt="" src="'+o.default+'">',e.querySelector("img")},validate:function(e,t,n){var i=e.querySelector("area");return n.activeElement===i}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){return e.innerHTML='<legend>legend</legend>
2<input tabindex="-1"><input tabindex="0">',!1},validate:function(e,t,n){var i=e.querySelector('input[tabindex="-1"]'),r=e.querySelector('input[tabindex="0"]');return e.focus(),e.querySelector("legend").focus(),(n.activeElement===i?"focusable":n.activeElement===r&&"tabbable")||""}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){return e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>',e.querySelector("div")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"details",mutate:function(e){return e.innerHTML="<summary>foo</summary><p>content</p>",e.firstElementChild}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<text focusable="true">a</text>'),e.querySelector("text")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<text tabindex="0">a</text>'),e.querySelector("text")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<text tabindex="-1">a</text>'),e.querySelector("text")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)(['<g id="ally-test-target"><a xlink:href="#void"><text>link</text></a></g>','<use xlink:href="#ally-test-target" x="0" y="0" tabindex="-1" />'].join("")),e.querySelector("use")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<foreignObject tabindex="-1"><input type="text" /></foreignObject>'),e.querySelector("foreignObject")||e.getElementsByTagName("foreignObject")[0]},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a};var i,r=n(8),o=(i=r)&&i.__esModule?i:{default:i};var a=Boolean(o.default.is.GECKO&&"undefined"!=typeof SVGElement&&SVGElement.prototype.focus);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)(""),e.firstChild},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("tabindex","3x")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"table",mutate:function(e,t,n){var i=n.createDocumentFragment();i.innerHTML="<tr><td>cell</td></tr>",e.appendChild(i)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(194),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"video",mutate:function(e){try{e.setAttribute("src",o.default)}catch(e){}}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a};var i,r=n(8),o=(i=r)&&i.__esModule?i:{default:i};var a=o.default.is.GECKO||o.default.is.TRIDENT||o.default.is.EDGE;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.element,n=e.attribute,i="data-cached-"+n;if(null===t.getAttribute(i)){var r=t.getAttribute(n);if(null===r)return;t.setAttribute(i,r||""),t.removeAttribute(n)}else{var o=t.getAttribute(i);t.removeAttribute(i),t.setAttribute(n,o)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){},r={log:i,debug:i,info:i,warn:i,error:i};t.default="undefined"!=typeof console?console:r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.defaultToAncestor,i=t.undoScrolling,l=(0,s.default)({label:"element/focus",context:e}),c=a.default.rules({context:l,except:h});if(!n&&!c)return null;var f=(0,r.default)({context:l,except:h});if(!f)return null;if((0,o.default)(f))return f;var p=void 0;i&&(p=(0,u.default)(f));var m=d(f);return p&&p(),m};var i=c(n(90)),r=c(n(33)),o=c(n(45)),a=c(n(20)),s=c(n(2)),l=c(n(66)),u=c(n(205));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if(e.focus)return e.focus(),(0,o.default)(e)?e:null;var t=(0,l.default)(e);try{return t.HTMLElement.prototype.focus.call(e),(0,o.default)(e)?e:null}catch(t){return(0,i.default)(e)&&(0,o.default)(e)?e:null}}var h={flexbox:!0,scrollable:!0,onlyTabbable:!0};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){try{return e.contentDocument||e.contentWindow&&e.contentWindow.document||e.getSVGDocument&&e.getSVGDocument()||null}catch(e){return null}},e.exports=t.default},function(e,t,n){(function(t){var n;n=void 0!==t?t:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,n=String(e),i=n.length,r=-1,o="",a=n.charCodeAt(0);++r<i;)0!=(t=n.charCodeAt(r))?o+=t>=1&&t<=31||127==t||0==r&&t>=48&&t<=57||1==r&&t>=48&&t<=57&&45==a?"\\"+t.toString(16)+" ":0==r&&1==i&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(r):n.charAt(r):o+="�";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(n)}).call(this,n(55))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.context,a=t.includeContext,u=t.includeOnlyTabbable,c=t.strategy;n||(n=document.documentElement);var d=i.default.rules.except({onlyTabbable:u}),h=(0,o.default)(n).createTreeWalker(n,NodeFilter.SHOW_ELEMENT,"all"===c?l:s(d),!1),f=[];for(;h.nextNode();)h.currentNode.shadowRoot?(d(h.currentNode)&&f.push(h.currentNode),f=f.concat(e({context:h.currentNode.shadowRoot,includeOnlyTabbable:u,strategy:c}))):f.push(h.currentNode);a&&("all"===c?(0,r.default)(n)&&f.unshift(n):d(n)&&f.unshift(n));return f};var i=a(n(20)),r=a(n(47)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=function(t){return t.shadowRoot?NodeFilter.FILTER_ACCEPT:e(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};return t.acceptNode=t,t}var l=s(r.default);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,o=e.includeOnlyTabbable,a=(0,i.default)(),s=t.querySelectorAll(a),l=r.default.rules.except({onlyTabbable:o}),u=[].filter.call(s,l);n&&l(t)&&u.unshift(t);return u};var i=o(n(203)),r=o(n(20));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a||(a=(0,r.default)()),"string"==typeof s?s:(s=(a.focusTable?"table, td,":"")+(a.focusFieldset?"fieldset,":"")+"svg a,a[href],area[href],input, select, textarea, button,iframe, object, embed,keygen,"+(a.focusAudioWithoutControls?"audio,":"audio[controls],")+(a.focusVideoWithoutControls?"video,":"video[controls],")+(a.focusSummary?"summary,":"")+"[tabindex],[contenteditable]",s=(0,i.default)(s))};var i=o(n(69)),r=o(n(10));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=void 0;e.exports=t.default},function(e,t,n){"use strict";function i(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.sort(i)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)({context:e}).slice(1).map((function(e){return{element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}}));return function(){t.forEach((function(e){e.element.scrollTop=e.scrollTop,e.element.scrollLeft=e.scrollLeft}))}};var i,r=n(15),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(207)),r=o(n(71));function o(e){return e&&e.__esModule?e:{default:e}}t.default={activeElement:i.default,shadowFocus:r.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(99);var i=o(n(208)),r=o(n(35));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=void 0;function l(){if(document.activeElement){if(document.activeElement!==a){var e=new i.default("active-element",{bubbles:!1,cancelable:!1,detail:{focus:document.activeElement,blur:a}});document.dispatchEvent(e),a=document.activeElement}}else document.body.focus();!1!==s&&(s=requestAnimationFrame(l))}t.default=(0,r.default)({engage:function(){s=!0,a=document.activeElement,l()},disengage:function(){cancelAnimationFrame(s),s=!1}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"!=typeof window&&window.CustomEvent||function(){};"function"!=typeof i&&((i=function(e,t){var n=document.createEvent("CustomEvent");return!t&&(t={bubbles:!1,cancelable:!1,detail:void 0}),n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}).prototype=window.Event.prototype),t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(210)),r=a(n(211)),o=a(n(212));function a(e){return e&&e.__esModule?e:{default:e}}t.default={pointerFocusChildren:i.default,pointerFocusInput:r.default,pointerFocusParent:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(33)),r=a(n(73)),o=a(n(8));function a(e){return e&&e.__esModule?e:{default:e}}var s,l=void 0,u=void 0;o.default.is.TRIDENT&&(o.default.is.IE10||o.default.is.IE11)?(s=function(e){var t=(0,i.default)({context:e.target,except:{flexbox:!0,scrollable:!0}});if(t&&t!==e.target){window.setImmediate((function(){t.focus()}));var n=[].map.call(t.children,(function(e){var t=e.style.visibility||"",n=e.style.transition||"";return e.style.visibility="hidden",e.style.transition="none",[e,t,n]}));window.setImmediate((function(){n.forEach((function(e){e[0].style.visibility=e[1],e[0].style.transition=e[2]}))}))}},l=function(e){e.addEventListener("mousedown",s,!0)},u=function(e){e.removeEventListener("mousedown",s,!0)}):l=function(){},t.default=(0,r.default)({engage:l,disengage:u}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(33)),r=s(n(73)),o=s(n(67)),a=s(n(8));function s(e){return e&&e.__esModule?e:{default:e}}var l,u,c=void 0,d=void 0;a.default.is.OSX&&(a.default.is.GECKO||a.default.is.WEBKIT)?(l=function(e){if(!e.defaultPrevented&&(0,o.default)(e.target,"input, button, button *")){var t=(0,i.default)({context:e.target});(window.setImmediate||window.setTimeout)((function(){t.focus()}))}},u=function(e){if(!e.defaultPrevented&&(0,o.default)(e.target,"label, label *")){var t=(0,i.default)({context:e.target});t&&t.focus()}},c=function(e){e.addEventListener("mousedown",l,!1),e.addEventListener("mouseup",u,!1)},d=function(e){e.removeEventListener("mousedown",l,!1),e.removeEventListener("mouseup",u,!1)}):c=function(){},t.default=(0,r.default)({engage:c,disengage:d}),e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(33)),r=s(n(46)),o=s(n(73)),a=s(n(8));function s(e){return e&&e.__esModule?e:{default:e}}var l,u=void 0,c=void 0;a.default.is.WEBKIT?(l=function(e){var t=(0,i.default)({context:e.target});!t||t.hasAttribute("tabindex")&&(0,r.default)(t)||(t.setAttribute("tabindex",0),(window.setImmediate||window.setTimeout)((function(){t.removeAttribute("tabindex")}),0))},u=function(e){e.addEventListener("mousedown",l,!0),e.addEventListener("touchstart",l,!0)},c=function(e){e.removeEventListener("mousedown",l,!0),e.removeEventListener("touchstart",l,!0)}):u=function(){},t.default=(0,o.default)({engage:u,disengage:c}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n(214)),r=d(n(72)),o=d(n(93)),a=d(n(33)),s=d(n(102)),l=d(n(15)),u=d(n(101)),c=d(n(32));function d(e){return e&&e.__esModule?e:{default:e}}t.default={activeElement:i.default,activeElements:r.default,focusRedirectTarget:o.default,focusTarget:a.default,insignificantBranches:s.default,parents:l.default,shadowHostParents:u.default,shadowHost:c.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=(0,o.default)(t),i=void 0;try{i=n.activeElement}catch(e){}return i&&i.nodeType||(i=n.body||n.documentElement),i};var i,r=n(14),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n(45)),r=f(n(96)),o=f(n(47)),a=f(n(20)),s=f(n(97)),l=f(n(100)),u=f(n(98)),c=f(n(95)),d=f(n(46)),h=f(n(27));function f(e){return e&&e.__esModule?e:{default:e}}t.default={activeElement:i.default,disabled:r.default,focusRelevant:o.default,focusable:a.default,onlyTabbable:s.default,shadowed:l.default,tabbable:u.default,validArea:c.default,validTabindex:d.default,visible:h.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(217)),r=a(n(218)),o=a(n(219));function a(e){return e&&e.__esModule?e:{default:e}}t.default={disabled:i.default,hidden:r.default,tabFocus:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.filter,i=new h({context:t,filter:n});return{disengage:i.disengage}};var r=u(n(13)),o=u(n(50)),a=u(n(86)),s=u(n(103)),l=n(51);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(0,a.default)(e,!1)}var d={attributes:!0,childList:!0,subtree:!0,attributeFilter:["tabindex","disabled","data-ally-disabled"]},h=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.context,a=n.filter;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._context=(0,r.default)(i||document.documentElement)[0],this._filter=(0,r.default)(a),this._inertElementCache=[],this.disengage=this.disengage.bind(this),this.handleMutation=this.handleMutation.bind(this),this.renderInert=this.renderInert.bind(this),this.filterElements=this.filterElements.bind(this),this.filterParentElements=this.filterParentElements.bind(this);var l=(0,o.default)({context:this._context,includeContext:!0,strategy:"all"});this.renderInert(l),this.shadowObserver=(0,s.default)({context:this._context,config:d,callback:function(e){return e.forEach(t.handleMutation)}})}return i(e,[{key:"disengage",value:function(){this._context&&(c(this._context),this._inertElementCache.forEach((function(e){return c(e)})),this._inertElementCache=null,this._filter=null,this._context=null,this.shadowObserver&&this.shadowObserver.disengage(),this.shadowObserver=null)}},{key:"listQueryFocusable",value:function(e){return e.map((function(e){return(0,o.default)({context:e,includeContext:!0,strategy:"all"})})).reduce((function(e,t){return e.concat(t)}),[])}},{key:"renderInert",value:function(e){var t=this;e.filter(this.filterElements).filter(this.filterParentElements).filter((function(e){return!(0,a.default)(e)}
2)).forEach((function(e){t._inertElementCache.push(e),function(e){(0,a.default)(e,!0)}(e)}))}},{key:"filterElements",value:function(e){var t=(0,l.getParentComparator)({element:e,includeSelf:!0});return!this._filter.some(t)}},{key:"filterParentElements",value:function(e){var t=(0,l.getParentComparator)({parent:e});return!this._filter.some(t)}},{key:"handleMutation",value:function(e){if("childList"===e.type){var t=(0,r.default)(e.addedNodes).filter((function(e){return e.nodeType===Node.ELEMENT_NODE}));if(!t.length)return;var n=this.listQueryFocusable(t);this.renderInert(n)}else"attributes"===e.type&&this.renderInert([e.target])}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.filter,i=new f({context:t,filter:n});return{disengage:i.disengage}};var r=u(n(13)),o=u(n(102)),a=u(n(15)),s=u(n(92)),l=n(51);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){(0,s.default)({element:e,attribute:"aria-hidden",temporaryValue:"true"})}function d(e){(0,s.default)({element:e,attribute:"aria-hidden"})}var h={attributes:!1,childList:!0,subtree:!0},f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.context,i=t.filter;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._context=(0,r.default)(n||document.documentElement)[0],this._filter=(0,r.default)(i),this.disengage=this.disengage.bind(this),this.handleMutation=this.handleMutation.bind(this),this.isInsignificantBranch=this.isInsignificantBranch.bind(this),(0,o.default)({context:this._context,filter:this._filter}).forEach(c),this.startObserver()}return i(e,[{key:"disengage",value:function(){this._context&&([].forEach.call(this._context.querySelectorAll("[data-cached-aria-hidden]"),d),this._context=null,this._filter=null,this._observer&&this._observer.disconnect(),this._observer=null)}},{key:"startObserver",value:function(){var e=this;window.MutationObserver&&(this._observer=new MutationObserver((function(t){return t.forEach(e.handleMutation)})),this._observer.observe(this._context,h))}},{key:"handleMutation",value:function(e){"childList"===e.type&&(0,r.default)(e.addedNodes).filter((function(e){return e.nodeType===Node.ELEMENT_NODE})).filter(this.isInsignificantBranch).forEach(c)}},{key:"isInsignificantBranch",value:function(e){if((0,a.default)({context:e}).some((function(e){return"true"===e.getAttribute("aria-hidden")})))return!1;var t=(0,l.getParentComparator)({element:e});return!this._filter.some(t)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context;return t||(t=document.documentElement),(0,r.default)(),(0,o.default)({"?alt+?shift+tab":function(e){e.preventDefault();var n=(0,r.default)({context:t}),o=e.shiftKey,a=n[0],s=n[n.length-1],l=o?a:s,u=o?s:a;if((0,i.default)(l))u.focus();else{var c=void 0;if(n.some((function(e,t){return!!(0,i.default)(e)&&(c=t,!0)})))n[c+(o?-1:1)].focus();else a.focus()}}})};var i=a(n(45)),r=a(n(105)),o=a(n(106));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(e,t){var n=t.querySelectorAll("img[usemap]"),i=new u(t),r=i.extractAreasFromList(e);return n.length?(0,o.default)({list:r,elements:n,resolveElement:function(e){var t=e.getAttribute("usemap").slice(1);return i.getAreasFor(t)}}):r};var r=l(n(34)),o=l(n(70)),a=l(n(14)),s=n(49);
2function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._document=(0,a.default)(t),this.maps={}}return i(e,[{key:"getAreasFor",value:function(e){return this.maps[e]||this.addMapByName(e),this.maps[e]}},{key:"addMapByName",value:function(e){var t=(0,s.getMapByName)(e,this._document);t&&(this.maps[t.name]=(0,r.default)({context:t}))}},{key:"extractAreasFromList",value:function(e){return e.filter((function(e){if("area"!==e.nodeName.toLowerCase())return!0;var t=e.parentNode;return this.maps[t.name]||(this.maps[t.name]=[]),this.maps[t.name].push(e),!1}),this)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(e,t,n){var i=new l(t,n),r=i.extractElements(e);return r.length===e.length?n(e):i.sort(r)};var r=s(n(32)),o=s(n(70)),a=s(n(23));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.context=t,this.sortElements=n,this.hostCounter=1,this.inHost={},this.inDocument=[],this.hosts={},this.elements={}}return i(e,[{key:"_registerHost",value:function(e){if(!e._sortingId){e._sortingId="shadow-"+this.hostCounter++,this.hosts[e._sortingId]=e;var t=(0,r.default)({context:e});t?(this._registerHost(t),this._registerHostParent(e,t)):this.inDocument.push(e)}}},{key:"_registerHostParent",value:function(e,t){this.inHost[t._sortingId]||(this.inHost[t._sortingId]=[]),this.inHost[t._sortingId].push(e)}},{key:"_registerElement",value:function(e,t){this.elements[t._sortingId]||(this.elements[t._sortingId]=[]),this.elements[t._sortingId].push(e)}},{key:"extractElements",value:function(e){return e.filter((function(e){var t=(0,r.default)({context:e});return!t||(this._registerHost(t),this._registerElement(e,t),!1)}),this)}},{key:"sort",value:function(e){var t=this._injectHosts(e);return t=this._replaceHosts(t),this._cleanup(),t}},{key:"_injectHosts",value:function(e){return Object.keys(this.hosts).forEach((function(e){var t=this.elements[e],n=this.inHost[e],i=this.hosts[e].shadowRoot;this.elements[e]=this._merge(t,n,i)}),this),this._merge(e,this.inDocument,this.context)}},{key:"_merge",value:function(e,t,n){var i=(0,o.default)({list:e,elements:t});return this.sortElements(i,n)}},{key:"_replaceHosts",value:function(e){return(0,o.default)({list:e,elements:this.inDocument,resolveElement:this._resolveHostElement.bind(this)})}},{key:"_resolveHostElement",value:function(e){var t=(0,o.default)({list:this.elements[e._sortingId],elements:this.inHost[e._sortingId],resolveElement:this._resolveHostElement.bind(this)}),n=(0,a.default)(e);return null!==n&&n>-1?[e].concat(t):t}},{key:"_cleanup",value:function(){Object.keys(this.hosts).forEach((function(e){delete this.hosts[e]._sortingId}),this)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={},n=[],i=e.filter((function(e){var i=e.tabIndex;return void 0===i&&(i=(0,o.default)(e)),i<=0||null==i||(t[i]||(t[i]=[],n.push(i)),t[i].push(e),!1)}));return n.sort().map((function(e){return t[e]})).reduceRight((function(e,t){return t.concat(e)}),i)};var i,r=n(23),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split(/\s+/).map((function(e){var t,n,i,r,s=e.split("+"),u=(i=s.slice(0,-1),t=-1!==i.indexOf("*"),r={altKey:n=!!t&&null,ctrlKey:n,metaKey:n,shiftKey:n}
2,i.forEach((function(e){if("*"!==e){var t=!0,n=e.slice(0,1);"?"===n?t=null:"!"===n&&(t=!1),!0!==t&&(e=e.slice(1));var i=a[e];if(!i)throw new TypeError('Unknown modifier "'+e+'"');r[i]=t}})),r);return{keyCodes:function(e){var t=o.default[e]||parseInt(e,10);if(!t||"number"!=typeof t||isNaN(t))throw new TypeError('Unknown key "'+e+'"');return[t].concat(o.default._alias[t]||[])}(s.slice(-1)),modifiers:u,matchModifiers:l.bind(null,u)}}))};var i,r=n(107),o=(i=r)&&i.__esModule?i:{default:i};var a={alt:"altKey",ctrl:"ctrlKey",meta:"metaKey",shift:"shiftKey"},s=Object.keys(a).map((function(e){return a[e]}));function l(e,t){return!s.some((function(n){return"boolean"==typeof e[n]&&Boolean(t[n])!==e[n]}))}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(225)),r=o(n(107));function o(e){return e&&e.__esModule?e:{default:e}}t.default={attribute:i.default,keycode:r.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"aria-busy":{default:"false",values:["true","false"]},"aria-checked":{default:void 0,values:["true","false","mixed",void 0]},"aria-disabled":{default:"false",values:["true","false"]},"aria-expanded":{default:void 0,values:["true","false",void 0]},"aria-grabbed":{default:void 0,values:["true","false",void 0]},"aria-hidden":{default:"false",values:["true","false"]},"aria-invalid":{default:"false",values:["true","false","grammar","spelling"]},"aria-pressed":{default:void 0,values:["true","false","mixed",void 0]},"aria-selected":{default:void 0,values:["true","false",void 0]},"aria-atomic":{default:"false",values:["true","false"]},"aria-autocomplete":{default:"none",values:["inline","list","both","none"]},"aria-dropeffect":{default:"none",multiple:!0,values:["copy","move","link","execute","popup","none"]},"aria-haspopup":{default:"false",values:["true","false"]},"aria-live":{default:"off",values:["off","polite","assertive"]},"aria-multiline":{default:"false",values:["true","false"]},"aria-multiselectable":{default:"false",values:["true","false"]},"aria-orientation":{default:"horizontal",values:["vertical","horizontal"]},"aria-readonly":{default:"false",values:["true","false"]},"aria-relevant":{default:"additions text",multiple:!0,values:["additions","removals","text","all"]},"aria-required":{default:"false",values:["true","false"]},"aria-sort":{default:"none",other:!0,values:["ascending","descending","none"]}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(108)),r=o(n(103));function o(e){return e&&e.__esModule?e:{default:e}}t.default={interactionType:i.default,shadowMutations:r.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n(228)),r=l(n(50)),o=l(n(104)),a=l(n(34)),s=l(n(105));function l(e){return e&&e.__esModule?e:{default:e}}t.default={firstTabbable:i.default,focusable:r.default,shadowHosts:o.default,tabbable:a.default,tabsequence:s.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.sequence,s=e.strategy,c=e.ignoreAutofocus,d=e.defaultToContext,h=e.includeOnlyTabbable,f=-1;n||(t=(0,a.default)(t||document.body)[0],n=(0,r.default)({context:t,includeOnlyTabbable:h,strategy:s})),n.length&&!c&&(f=(0,i.default)(n,l)),n.length&&-1===f&&(f=(0,i.default)(n,u));var p=o.default.rules.except({onlyTabbable:h});return-1===f&&d&&t&&p(t)?t:n[f]||null};var i=s(n(68)),r=s(n(34)),o=s(n(20)),a=s(n(13));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return e.hasAttribute("autofocus")}function u(e){return e.tabIndex<=0}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(230)),r=o(n(231));function o(e){return e&&e.__esModule?e:{default:e}}t.default={focusSource:i.default,focusWithin:r.default},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=n(109),r=s(n(71)),o=s(n(108)),a=s(n(35));function s(e){return e&&e.__esModule?e:{default:e}}var l="undefined"!=typeof document&&"onfocusin"in document,u=l?"focusin":"focus",c=l?"focusout":"blur",d=void 0,h=void 0,f=null,p=null,m={pointer:!1,key:!1,script:!1,initial:!1};function v(e){var t="";if(e.type===u||"shadow-focus"===e.type){var n=d.get();t=p||n.pointer&&"pointer"||n.key&&"key"||"script"}else"initial"===e.type&&(t="initial");document.documentElement.setAttribute("data-focus-source",t),e.type!==c&&(m[t]||(0,i.addClass)(document.documentElement,"focus-source-"+t),m[t]=!0,f=t)}function g(){return f}function b(e){return m[e]}function y(e){p=e}function w(){p=!1}t.default=(0,a.default)({engage:function(){return h=(0,r.default)(),document.addEventListener("shadow-focus",v,!0),document.documentElement.addEventListener(u,v,!0),document.documentElement.addEventListener(c,v,!0),d=(0,o.default)(),v({type:"initial"}),{used:b,current:g,lock:y,unlock:w}},disengage:function(){v({type:c}),f=p=null,Object.keys(m).forEach((function(e){(0,i.removeClass)(document.documentElement,"focus-source-"+e),m[e]=!1})),d.disengage(),h&&h.disengage(),document.removeEventListener("shadow-focus",v,!0),document.documentElement.removeEventListener(u,v,!0),document.documentElement.removeEventListener(c,v,!0),document.documentElement.removeAttribute("data-focus-source")}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(109),r=c(n(71)),o=c(n(72)),a=c(n(15)),s=c(n(35)),l=c(n(69)),u=c(n(10));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0,h="undefined"!=typeof document&&"onfocusin"in document,f=h?"focusin":"focus",p=h?"focusout":"blur",m="ally-focus-within",v=void 0,g=void 0,b=void 0;function y(e){var t=e||(0,o.default)();d.cssShadowPiercingDeepCombinator||(t=t.slice(-1));var n=[].slice.call(document.querySelectorAll(v),0),r=t.map((function(e){return(0,a.default)({context:e})})).reduce((function(e,t){return t.concat(e)}),[]);n.forEach((function(e){-1===r.indexOf(e)&&(0,i.removeClass)(e,m)})),r.forEach((function(e){-1===n.indexOf(e)&&(0,i.addClass)(e,m)}))}function w(){g=(window.setImmediate||window.setTimeout)((function(){y()}))}function x(){(window.clearImmediate||window.clearTimeout)(g),y()}function _(e){y(e.detail.elements)}t.default=(0,s.default)({engage:function(){d||(d=(0,u.default)(),v=(0,l.default)("."+m)),b=(0,r.default)(),document.addEventListener(p,w,!0),document.addEventListener(f,x,!0),document.addEventListener("shadow-focus",_,!0),y()},disengage:function(){b&&b.disengage(),(window.clearImmediate||window.clearTimeout)(g),document.removeEventListener(p,w,!0),document.removeEventListener(f,x,!0),document.removeEventListener("shadow-focus",_,!0),[].forEach.call(document.querySelectorAll(v),(function(e){(0,i.removeClass)(e,m)}))}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(233)),r=a(n(106)),o=a(n(110));function a(e){return e&&e.__esModule?e:{default:e}}t.default={focusable:i.default,key:r.default,visibleArea:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.callback,s=e.area;if("function"!=typeof n)throw new TypeError("when/focusable requires options.callback to be a function");var l=(0,o.default)({label:"when/focusable",context:t}),u=function(e){return!!(0,r.default)(e)&&n(e)},c=(0,a.default)(l),d=(0,i.default)({context:l,callback:u,area:s}),h=function e(){c.removeEventListener("focus",e,!0),d&&d.disengage()};return c.addEventListener("focus",h,!0),{disengage:h}};var i=s(n(110)),r=s(n(20)),o=s(n(2)),a=s(n(14));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,i=e.getBoundingClientRect(),r=(t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:0,right:t,bottom:n,left:0,width:t,height:n});r.area=r.width*r.height;var u=r,c=function(e){var t=(0,o.default)({context:e}).slice(1).filter(l);if(!t.length)return null;return t.reduce((function(e,t){var n=s(t),i=a(n,e);return i.area=Math.min(n.area,e.area),i}),s(t[0]))}(e);if(c){if(!c.width||!c.height)return 0;(u=a(c,r)).area=c.area}var d=a(i,u);if(!d.width||!d.height)return 0;var h=i.width*i.height,f=Math.min(h,u.area),p=Math.round(d.width)*Math.round(d.height)/f,m=Math.round(1e4*p)/1e4;return Math.min(m,1)};var i,r=n(15),o=(i=r)&&i.__esModule?i:{default:i};function a(e,t){var n=Math.max(e.top,t.top),i=Math.max(e.left,t.left),r=Math.max(Math.min(e.right,t.right),i),o=Math.max(Math.min(e.bottom,t.bottom),n);
vendor: 9,261 bytes, line 2
2return{top:n,right:r,bottom:o,left:i,width:r-i,height:o-n}}function s(e){var t=e.getBoundingClientRect(),n=e.offsetWidth-e.clientWidth,i=e.offsetHeight-e.clientHeight,r={top:t.top,left:t.left,right:t.right-n,bottom:t.bottom-i,width:t.width-n,height:t.height-i,area:0};return r.area=r.width*r.height,r}function l(e){return!!function(e){var t=window.getComputedStyle(e,null);return"visible"!==t.getPropertyValue("overflow-x")&&"visible"!==t.getPropertyValue("overflow-y")}(e)&&(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)}e.exports=t.default},function(e,t,n){e.exports=!n(17)&&!n(5)((function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(4),r=n(16),o=n(58),a=n(124),s=n(18).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var i=n(28),r=n(30),o=n(112)(!1),a=n(125)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var i=n(18),r=n(6),o=n(59);e.exports=n(17)?Object.defineProperties:function(e,t){r(e);for(var n,a=o(t),s=a.length,l=0;s>l;)i.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var i=n(30),r=n(62).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(i(e))}},function(e,t,n){"use strict";var i=n(17),r=n(59),o=n(113),a=n(83),s=n(22),l=n(82),u=Object.assign;e.exports=!u||n(5)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=i}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,d=o.f,h=a.f;u>c;)for(var f,p=l(arguments[c++]),m=d?r(p).concat(d(p)):r(p),v=m.length,g=0;v>g;)f=m[g++],i&&!h.call(p,f)||(n[f]=p[f]);return n}:u},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var i=n(37),r=n(7),o=n(243),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";s[t]=Function("F,a","return new F("+i.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=i(this),n=a.call(arguments,1),s=function(){var i=n.concat(a.call(arguments));return this instanceof s?l(t,i.length,i):o(t,i,e)};return r(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var i=n(4).parseInt,r=n(75).trim,o=n(129),a=/^[-+]?0[xX]/;e.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(e,t){var n=r(String(e),3);return i(n,t>>>0||(a.test(n)?16:10))}:i},function(e,t,n){var i=n(4).parseFloat,r=n(75).trim;e.exports=1/i(n(129)+"-0")!=-1/0?function(e){var t=r(String(e),3),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},function(e,t,n){var i=n(42);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=i(e))throw TypeError(t);return+e}},function(e,t,n){var i=n(7),r=Math.floor;e.exports=function(e){return!i(e)&&isFinite(e)&&r(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var i=n(61),r=n(56),o=n(74),a={};n(29)(a,n(11)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(6);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){var i=n(368);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(37),r=n(22),o=n(82),a=n(12);e.exports=function(e,t,n,s,l){i(t);var u=r(e),c=o(u),d=a(u.length),h=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(h in c){s=c[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in c&&(s=t(s,c[h],h,u));return s}},function(e,t,n){"use strict";var i=n(22),r=n(60),o=n(12);e.exports=[].copyWithin||function(e,t){var n=i(this),a=o(n.length),s=r(e,a),l=r(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:r(u,a))-l,a-s),d=1;for(l<s&&s<l+c&&(d=-1,l+=c-1,s+=c-1);c-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var i=n(144);n(1)({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},function(e,t,n){n(17)&&"g"!=/./g.flags&&n(18).f(RegExp.prototype,"flags",{configurable:!0,get:n(116)})},function(e,t,n){"use strict";var i,r,o,a,s=n(58),l=n(4),u=n(36),c=n(84),d=n(1),h=n(7),f=n(37),p=n(78),m=n(119),v=n(85),g=n(146).set,b=n(388)(),y=n(258),w=n(389),x=n(120),_=n(259),S=l.TypeError,E=l.process,k=E&&E.versions,C=k&&k.v8||"",T=l.Promise,M="process"==c(E),A=function(){},O=r=y.f,P=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(11)("species")]=function(e){e(A,A)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var i=e._v,r=1==e._s,o=0,a=function(t){var n,o,a,s=r?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(r||(2==e._h&&N(e),e._h=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&(c.exit(),a=!0)),n===t.promise?u(S("Promise-chain cycle")):(o=I(n))?o.call(n,l,u):l(n)):u(i)}catch(e){c&&!a&&c.exit(),u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){g.call(l,(function(){var t,n,i,r=e._v,o=j(e);if(o&&(t=w((function(){M?E.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)})),e._h=M||j(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(l,(function(){var t;M?E.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},F=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},R=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=I(e))?b((function(){var i={_w:n,_d:!1};try{t.call(e,u(R,i,1),u(F,i,1))}catch(e){F.call(i,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};P||(T=function(e){p(this,T,"Promise","_h"),f(e),i.call(this);try{e(u(R,this,1),u(F,this,1))}catch(e){F.call(this,e)}},(i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(79)(T.prototype,{then:function(e,t){var n=O(v(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=u(R,e,1),this.reject=u(F,e,1)},y.f=O=function(e){return e===T||e===a?new o(e):r(e)}),d(d.G+d.W+d.F*!P,{Promise:T}),n(74)(T,"Promise"),n(77)("Promise"),a=n(16).Promise,d(d.S+d.F*!P,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!P),"Promise",{resolve:function(e){return _(s&&this===a?T:this,e)}}),d(d.S+d.F*!(P&&n(115)((function(e){T.all(e).catch(A)}))),"Promise",{all:function(e){var t=this,n=O(t),i=n.resolve,r=n.reject,o=w((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=O(t),i=n.reject,r=w((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},function(e,t,n){"use strict";var i=n(37);function r(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},function(e,t,n){var i=n(6),r=n(7),o=n(258);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var i=n(18).f,r=n(61),o=n(79),a=n(36),s=n(78),l=n(119),u=n(135),c=n(254),d=n(77),h=n(17),f=n(54).fastKey,p=n(65),m=h?"_s":"size",v=function(e,t){var n,i=f(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,i){s(e,c,t,"_i"),e._t=t,e._i=r(null),e._f=void 0,e._l=void 0,e[m]=0,null!=i&&l(i,n,e[u],e)}));return o(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=p(this,t),i=v(n,e);if(i){var r=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==i&&(n._f=r),n._l==i&&(n._l=o),n[m]--}return!!i}
2,forEach:function(e){p(this,t);for(var n,i=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(p(this,t),e)}}),h&&i(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,n){var i,r,o=v(e,t);return o?o.v=n:(e._l=o={i:r=f(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=o),i&&(i.n=o),e[m]++,"F"!==r&&(e._i[r]=o)),e},getEntry:v,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var i=n(79),r=n(54).getWeak,o=n(6),a=n(7),s=n(78),l=n(119),u=n(41),c=n(28),d=n(65),h=u(5),f=u(6),p=0,m=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},g=function(e,t){return h(e.a,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var u=e((function(e,i){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=i&&l(i,n,e[o],e)}));return i(u.prototype,{delete:function(e){if(!a(e))return!1;var n=r(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=r(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var i=r(o(t),!0);return!0===i?m(e).set(t,n):i[e._i]=n,e},ufstore:m}},function(e,t,n){var i=n(38),r=n(12);e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var i=n(62),r=n(113),o=n(6),a=n(4).Reflect;e.exports=a&&a.ownKeys||function(e){var t=i.f(o(e)),n=r.f;return n?t.concat(n(e)):t}},function(e,t,n){var i=n(12),r=n(131),o=n(43);e.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,u=void 0===n?" ":String(n),c=i(t);if(c<=l||""==u)return s;var d=c-l,h=r.call(u,Math.ceil(d/u.length));return h.length>d&&(h=h.slice(0,d)),a?h+s:s+h}},function(e,t,n){var i=n(17),r=n(59),o=n(30),a=n(83).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=r(s),u=l.length,c=0,d=[];u>c;)n=l[c++],i&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t){var n=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";(function(e){var t={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(t.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function r(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function a(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function s(e){this.map={},e instanceof s?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function l(t){if(t.bodyUsed)return e.reject(new TypeError("Already read"));t.bodyUsed=!0}function u(t){return new e((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function c(e){var t=new FileReader,n=u(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){var n;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:t.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:t.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():t.arrayBuffer&&t.blob&&((n=e)&&DataView.prototype.isPrototypeOf(n))?(this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):t.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=d(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return e.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return e.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return e.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||e.resolve(this._bodyArrayBuffer):this.blob().then(c)}),this.text=function(){var t,n,i,r=l(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,n=new FileReader,i=u(n),n.readAsText(t),i;if(this._bodyArrayBuffer)return e.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return e.resolve(this._bodyText)},t.formData&&(this.formData=function(){return this.text().then(m)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(e,t){e=r(e),t=o(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[r(e)]},s.prototype.get=function(e){return e=r(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(r(e))},s.prototype.set=function(e,t){this.map[r(e)]=o(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),a(e)},s.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),a(e)},s.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),a(e)},t.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var f=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function p(e,t){var n,i,r=(t=t||{}).body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),f.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function m(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}})),t}function v(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},h.call(p.prototype),h.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var g=[301,302,303,307,308];v.redirect=function(e,t){if(-1===g.indexOf(t))throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})};var b=self.DOMException;try{new b}catch(e){(b=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),b.prototype.constructor=b}function y(n,i){return new e((function(e,r){var o=new p(n,i);if(o.signal&&o.signal.aborted)return r(new b("Aborted","AbortError"));var a=new XMLHttpRequest;function l(){a.abort()}a.onload=function(){var t,n,i={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",n=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEac
2h((function(e){var t=e.split(":"),i=t.shift().trim();if(i){var r=t.join(":").trim();n.append(i,r)}})),n)};i.url="responseURL"in a?a.responseURL:i.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;e(new v(r,i))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new b("Aborted","AbortError"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&t.blob&&(a.responseType="blob"),o.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),o.signal&&(o.signal.addEventListener("abort",l),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",l)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}y.polyfill=!0,self.fetch||(self.fetch=y,self.Headers=s,self.Request=p,self.Response=v)}).call(this,n(148))},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},i=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},r=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(e){return!1}})()||function(){var r=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof r){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var i=0;i<e.length;i++){var o=e[i];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var a in e)e.hasOwnProperty(a)&&this.append(a,e[a])}},o=r.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)e.call(t,n[r],i,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(i(n)+"="+i(t))})),e.join("&")},e.URLSearchParams=r}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,i){t.push([i,n]),e._entries||e.delete(i)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var i,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)i=o[n].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){var t,n,i;if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||(t=e.URL,i=(n=function(t,n){"string"!=typeof t&&(t=String(t));var i,r=document;if(n&&(void 0===e.location||n!==e.location.href)){(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=n,r.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=r.createElement("a");if(o.href=t,i&&(r.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new e.URLSearchParams(this.search),s=!0,l=!0,u=this;["append","delete","set"].forEach((function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),s&&(l=!1,u.search=a.toString(),l=!0)}})),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var c=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,
2configurable:!1,writable:!1,value:function(){this.search!==c&&(c=this.search,l&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})}).prototype,["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(i,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n),void 0!==e.location&&!("origin"in e.location)){var r=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:r,enumerable:!0})}catch(t){setInterval((function(){e.location.origin=r()}),100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n(55))},function(e,t,n){"use strict";var i="bfred-it:object-fit-images",r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,o="undefined"==typeof Image?{style:{"object-position":1}}:new Image,a="object-fit"in o.style,s="object-position"in o.style,l="background-size"in o.style,u="string"==typeof o.currentSrc,c=o.getAttribute,d=o.setAttribute,h=!1;function f(e,t,n){var i="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";c.call(e,"src")!==i&&d.call(e,"src",i)}function p(e,t){e.naturalWidth?t(e):setTimeout(p,100,e,t)}function m(e){var t=function(e){for(var t,n=getComputedStyle(e).fontFamily,i={};null!==(t=r.exec(n));)i[t[1]]=t[2];return i}(e),n=e[i];if(t["object-fit"]=t["object-fit"]||"fill",!n.img){if("fill"===t["object-fit"])return;if(!n.skipTest&&a&&!t["object-position"])return}if(!n.img){n.img=new Image(e.width,e.height),n.img.srcset=c.call(e,"data-ofi-srcset")||e.srcset,n.img.src=c.call(e,"data-ofi-src")||e.src,d.call(e,"data-ofi-src",e.src),e.srcset&&d.call(e,"data-ofi-srcset",e.srcset),f(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(e){var t={get:function(t){return e[i].img[t||"src"]},set:function(t,n){return e[i].img[n||"src"]=t,d.call(e,"data-ofi-"+n,t),m(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(e){if(e.srcset&&!u&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}}(n.img),e.style.backgroundImage='url("'+(n.img.currentSrc||n.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(t["object-fit"])?p(n.img,(function(){n.img.naturalWidth>e.width||n.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"})):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),p(n.img,(function(t){f(e,t.naturalWi
2dth,t.naturalHeight)}))}function v(e,t){var n=!h&&!e;if(t=t||{},e=e||"img",s&&!t.skipTest||!l)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var r=0;r<e.length;r++)e[r][i]=e[r][i]||{skipTest:t.skipTest},m(e[r]);n&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&v(e.target,{skipTest:t.skipTest})}),!0),h=!0,e="img"),t.watchMQ&&window.addEventListener("resize",v.bind(null,e,{skipTest:t.skipTest}))}v.supportsObjectFit=a,v.supportsObjectPosition=s,function(){function e(e,t){return e[i]&&e[i].img&&("src"===t||"srcset"===t)?e[i].img:e}s||(HTMLImageElement.prototype.getAttribute=function(t){return c.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,n){return d.call(e(this,t),t,String(n))})}(),e.exports=v},function(e,t){const n="â¦";function i(e,t,n,i){let o,a=e.textContent;for(;a.length>1&&(o=a.lastIndexOf(" "),-1!==o);){if(e.textContent=a.substring(0,o),t.scrollHeight<=n){e.textContent=a;break}a=e.textContent}return function(e,t,n,i){let o=e.textContent,a=o.length;for(;a>1;)if(o=o.substring(0,a-1).replace(r,""),a=o.length,e.textContent=o+i,t.scrollHeight<=n)return!0;return!1}(e,t,n,i)}const r=/[ .,;!?'ââââ\-ââ]+$/;e.exports=function(e,t,r){e.style.cssText+="overflow:hidden;overflow-wrap:break-word;word-wrap:break-word";const o=(t||1)*parseInt(window.getComputedStyle(e).lineHeight,10);return!(e.scrollHeight<=o)&&function e(t,n,r,o){const a=t.childNodes;let s=a.length-1;for(;s>-1;){const l=a[s--];if(1===l.nodeType&&e(l,n,r,o)||3===l.nodeType&&i(l,n,r,o))return!0;t.removeChild(l)}return!1}(e,e,o,r&&r.ellipsis||n)}},function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
vendor: 10,140 bytes, line 2
2ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[t[i]]=i);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=r[o].channels,s=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:a}),Object.defineProperty(r[o],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,i=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a;return s===a?t=0:i===s?t=(r-o)/l:r===s?t=2+(o-i)/l:o===s&&(t=4+(i-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,i,r,o,a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(e){return(u-e)/6/c+.5};return 0===c?r=o=0:(o=c/u,t=d(a),n=d(s),i=d(l),a===u?r=i-n:s===u?r=1/3+t-i:l===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*o,100*u]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var i=n[e];if(i)return i;var r,o,a,s=1/0;for(var l in t)if(t.hasOwnProperty(l)){var u=t[l],c=(o=e,a=u,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c<s&&(s=c,r=l)}return r},r.keyword.rgb=function(e){return t[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,i,r,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=a+1/3*-(u-1))<0&&i++,i>1&&i--,o=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,r[u]=255*o;return r},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,o=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=o<=1?o:2-o,[t,100*(0===i?2*r/(o+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,o=t-Math.floor(t),a=255*i*(1-n),s=255*i*(1-n*o),l=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}},r.hsv.hsl=function(e){var t,n,i,r=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return i=(2-o)*a,n=o*s,[r,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(i/=2)]},r.hwb.rgb=function(e){var t,n,i,r,o,a,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),i=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(i=1-i),r=u+i*((n=1-c)-u),t){default:case 6:case 0:o=n,a=r,s=u;break;case 1:o=r,a=n,s=u;break;case 2:o=u,a=n,s=r;break;case 3:o=u,a=r,s=n;break;case 4:o=r,a=u,s=n;break;case 5:o=n,a=u,s=r}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},r.xyz.rgb=function(e){var t,n,i,r=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*r+1.8758*o+.0415*a,i=.0557*r+-.204*o+1.057*a,t=(t=3.2406*r+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(e){var t,n,i,r=e[0];t=e[1]/500+(n=(r+16)/116),i=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(i,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},r.lab.lch=function(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]},r.lch.lab=function(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,o=Math.max(Math.max(n,i),r),a=Math.min(Math.min(n,i),r),s=o-a;return t=s<=0?0:o===n?(i-r)/s%6:o===i?2+(r-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return(i=n<.5?2*t*n:2*t*(1-n))<1&&(r=(n-.5*i)/(1-i)),[e[0],100*i,100*r]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(0===n)return[255*i,255*i,255*i];var r,o=[0,0,0],a=t%1*6,s=a%1,l=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return r=(1-n)*i,[255*(n*o[0]+r),255*(n*o[1]+r),255*(n*o[2]+r)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,i=n-t,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function i(e){var t=function(){for(var e={},t=Object.keys(n),i=t.length,r=0;r<i;r++)e[t[r]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;)for(var r=i.pop(),o=Object.keys(n[r]),a=o.length,s=0;s<a;s++){var l=o[s],u=t[l];-1===u.distance&&(u.distance=t[r].distance+1,u.parent=r,i.unshift(l))}return t}function r(e,t){return function(n){return t(e(n))}}function o(e,t){for(var i=[t[e].parent,e],o=n[t[e].parent][e],a=t[e].parent;t[a].parent;)i.unshift(t[a].parent),o=r(n[t[a].parent][a],o),a=t[a].parent;return o.conversion=i,o}n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;var a={};
2Object.keys(n).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=function(e){for(var t=i(e),n={},r=Object.keys(t),a=r.length,s=0;s<a;s++){var l=r[s];null!==t[l].parent&&(n[l]=o(l,t))}return n}(e);Object.keys(t).forEach((function(n){var i=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(i),a[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)}))}));var s=a,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:d,getRgb:function(e){var t=c(e);return t&&t.slice(0,3)},getHsl:function(e){var t=d(e);return t&&t.slice(0,3)},getHwb:h,getAlpha:function(e){var t=c(e);return t?t[3]:(t=d(e))?t[3]:(t=h(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+g(e[0])+g(e[1])+g(e[2])+(t>=0&&t<1?g(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}
vendor: 9,782 bytes, line 2
2,rgbaString:f,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return p(e,t);var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:p,hslString:function(e,t){return t<1||e[3]&&e[3]<1?m(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:m,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return b[e.slice(0,3)]}};function c(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var o=0;o<t.length;o++)t[o]=parseInt(i[o]+i[o],16);r&&(n=Math.round(parseInt(r+r,16)/255*100)/100)}else if(i=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(r=i[2],i=i[1],o=0;o<t.length;o++)t[o]=parseInt(i.slice(2*o,2*o+2),16);r&&(n=Math.round(parseInt(r,16)/255*100)/100)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=l[i[1]]))return}for(o=0;o<t.length;o++)t[o]=v(t[o],0,255);return n=n||0==n?v(n,0,1):1,t[3]=n,t}}function d(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[v(parseInt(t[1]),0,360),v(parseFloat(t[2]),0,100),v(parseFloat(t[3]),0,100),v(isNaN(n)?1:n,0,1)]}}}function h(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[v(parseInt(t[1]),0,360),v(parseFloat(t[2]),0,100),v(parseFloat(t[3]),0,100),v(isNaN(n)?1:n,0,1)]}}}function f(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function p(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function v(e,t,n){return Math.min(Math.max(t,e),n)}function g(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var b={};for(var y in l)b[l[y]]=y;var w=function(e){return e instanceof w?e:this instanceof w?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=u.getRgba(e))?this.setValues("rgb",t):(t=u.getHsla(e))?this.setValues("hsl",t):(t=u.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new w(e);var t};w.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,i=void 0===t?.5:t,r=2*i-1,o=this.alpha()-n.alpha(),a=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new w,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(e=i[o],"[object Array]"===(t={}.toString.call(e))?r[o]=e.slice(0):"[object Number]"===t?r[o]=e:console.error("unexpected color value:",e));return n}},w.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},w.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},w.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},w.prototype.setValues=function(e,t){var n,i,r=this.values,o=this.spaces,a=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)r[e]=t.slice(0,e.length),l=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)r[e][n]=t[e.charAt(n)];l=t.a}else if(void 0!==t[o[e][0]]){var u=o[e];for(n=0;n<e.length;n++)r[e][n]=t[u[n]];l=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(a[e][n],r[e][n])),r[e][n]=Math.round(i);for(var c in o)c!==e&&(r[c]=s[e][c](r[e]));return!0},w.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},w.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:n===i[t]?this:(i[t]=n,this.setValues(e,i),this)},"undefined"!=typeof window&&(window.Color=w);var x,_=w,S={noop:function(){},uid:(x=0,function(){return x++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return S.valueOrDefault(S.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var r,o,a;if(S.isArray(e))if(o=e.length,i)for(r=o-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;r<o;r++)t.call(n,e[r],r);else if(S.isObject(e))for(o=(a=Object.keys(e)).length,r=0;r<o;r++)t.call(n,e[a[r]],a[r])},arrayEquals:function(e,t){var n,i,r,o;
vendor: 4,086 bytes, line 2
2if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r instanceof Array&&o instanceof Array){if(!S.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(e){if(S.isArray(e))return e.map(S.clone);if(S.isObject(e)){for(var t={},n=Object.keys(e),i=n.length,r=0;r<i;++r)t[n[r]]=S.clone(e[n[r]]);return t}return e},_merger:function(e,t,n,i){var r=t[e],o=n[e];S.isObject(r)&&S.isObject(o)?S.merge(r,o,i):t[e]=S.clone(o)},_mergerIf:function(e,t,n){var i=t[e],r=n[e];S.isObject(i)&&S.isObject(r)?S.mergeIf(i,r):t.hasOwnProperty(e)||(t[e]=S.clone(r))},merge:function(e,t,n){var i,r,o,a,s,l=S.isArray(t)?t:[t],u=l.length;if(!S.isObject(e))return e;for(i=(n=n||{}).merger||S._merger,r=0;r<u;++r)if(t=l[r],S.isObject(t))for(s=0,a=(o=Object.keys(t)).length;s<a;++s)i(o[s],e,t,n);return e},mergeIf:function(e,t){return S.merge(e,t,{merger:S._mergerIf})},extend:Object.assign||function(e){return S.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=S.inherits,e&&S.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,i){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},E=S;S.callCallback=S.callback,S.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},S.getValueOrDefault=S.valueOrDefault,S.getValueAtIndexOrDefault=S.valueAtIndexOrDefault;var k={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-k.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*k.easeInBounce(2*e):.5*k.easeOutBounce(2*e-1)+.5}},C={effects:k};
vendor: 29,747 bytes, line 2
2E.easingEffects=k;var T=Math.PI,M=T/180,A=2*T,O=T/2,P=T/4,I=2*T/3,L={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,o){if(o){var a=Math.min(o,r/2,i/2),s=t+a,l=n+a,u=t+i-a,c=n+r-a;e.moveTo(t,l),s<u&&l<c?(e.arc(s,l,a,-T,-O),e.arc(u,l,a,-O,0),e.arc(u,c,a,0,O),e.arc(s,c,a,O,T)):s<u?(e.moveTo(s,n),e.arc(u,l,a,-O,O),e.arc(s,l,a,O,T+O)):l<c?(e.arc(s,l,a,-T,0),e.arc(s,c,a,0,T)):e.arc(s,l,a,-T,T),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,i,r)},drawPoint:function(e,t,n,i,r,o){var a,s,l,u,c,d=(o||0)*M;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(a=t.toString())||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(i,r),e.rotate(d),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(i,r,n,0,A),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=I,e.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=I,e.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),e.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(d+P)*u,l=Math.sin(d+P)*u,e.arc(i-s,r-l,c,d-T,d-O),e.arc(i+l,r-s,c,d-O,d),e.arc(i+s,r+l,c,d,d+O),e.arc(i-l,r+s,c,d+O,d+T),e.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,e.rect(i-u,r-u,2*u,2*u);break}d+=P;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+l,r-s),e.lineTo(i+s,r+l),e.lineTo(i-l,r+s),e.closePath();break;case"crossRot":d+=P;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s),d+=P,s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(d)*n,r+Math.sin(d)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){var r=n.steppedLine;if(r){if("middle"===r){var o=(t.x+n.x)/2;e.lineTo(o,i?n.y:t.y),e.lineTo(o,i?t.y:n.y)}else"after"===r&&!i||"after"!==r&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},D=L;E.clear=L.clear,E.drawRoundedRectangle=function(e){e.beginPath(),L.roundedRect.apply(L,arguments)};var j={_set:function(e,t){return E.merge(this[e]||(this[e]={}),t)}};j._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var N=j,F=E.valueOrDefault,R={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,r;return E.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,r=+e.left||0):t=n=i=r=+e||0,{top:t,right:n,bottom:i,left:r,height:t+i,width:r+n}},_parseFont:function(e){var t=N.global,n=F(e.fontSize,t.defaultFontSize),i={family:F(e.fontFamily,t.defaultFontFamily),lineHeight:E.options.toLineHeight(F(e.lineHeight,t.defaultLineHeight),n),size:n,style:F(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return i.string=function(e){return!e||E.isNullOrUndef(e.size)||E.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i},resolve:function(e,t,n,i){var r,o,a,s=!0;for(r=0,o=e.length;r<o;++r)if(void 0!==(a=e[r])&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&E.isArray(a)&&(a=a[n],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}},$={_factorize:function(e){var t,n=[],i=Math.sqrt(e);for(t=1;t<i;t++)e%t==0&&(n.push(t),n.push(e/t));return i===(0|i)&&n.push(i),n.sort((function(e,t){return e-t})).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},B=$;E.log10=$.log10;var H=E,z=C,q=D,W=R,V=B,Y={getRtlAdapter:function(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var n,i;"ltr"!==t&&"rtl"!==t||(i=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};H.easing=z,H.canvas=q,H.options=W,H.math=V,H.rtl=Y;var G=function(e){H.extend(this,e),this.initialize.apply(this,arguments)};H.extend(G.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=H.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,r=t._view;return n&&1!==e?(r||(r=t._view={}),i||(i=t._start={}),function(e,t,n,i){var r,o,a,s,l,u,c,d,h,f=Object.keys(n);for(r=0,o=f.length;r<o;++r)if(u=n[a=f[r]],t.hasOwnProperty(a)||(t[a]=u),(s=t[a])!==u&&"_"!==a[0]){if(e.hasOwnProperty(a)||(e[a]=s),(c=typeof u)==typeof(l=e[a]))if("string"===c){if((d=_(l)).valid&&(h=_(u)).valid){t[a]=h.mix(d,i).rgbString();continue}}else if(H.isFinite(l)&&H.isFinite(u)){t[a]=l+(u-l)*i;continue}t[a]=u}}(i,r,n,e),t):(t._view=H.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return H.isNumber(this._model.x)&&H.isNumber(this._model.y)}}),G.extend=H.inherits;var U=G,X=U.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),K=X;Object.defineProperty(X.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(X.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),N._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:H.noop,onComplete:H.noop}});var Z={animations:[],request:null,addAnimation:function(e,t,n,i){var r,o,a=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,i||(e.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===e)return void(a[r]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=H.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=H.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,i,r=this.animations,o=0;o<r.length;)t=(e=r[o]).chart,n=e.numSteps,i=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(i,n),H.callback(e.render,[t,e],t),H.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(o,1)):++o}},J=H.options.resolve,Q=["push","pop","shift","splice","unshift"];function ee(e,t){var n=e._chartjs;if(n){var i=n.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(Q.forEach((function(t){delete e[t]})),delete e._chartjs)}}var te=function(e,t){this.initialize(e,t)};H.extend(te.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,i=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&ee(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(e=0,t=i.length;e<t;++e)r[e]=r[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,t,n=this,i=n.getDataset(),r=i.data||(i.data=[]);n._data!==r&&(n._data&&ee(n._data,n),r&&Object.isExtensible(r)&&(t=n,(e=r)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Q.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),r=i.apply(this,t);return H.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),r}})})))),n._data=r),n.resyncElements()},_configure:function(){this._config=H.merge({},[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&H._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:H.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,r=0;r<i;++r)n[r].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},getStyle:function(e){var t,n=this.getMeta(),i=n.dataset;return this._configure(),i&&void 0===e?t=this._resolveDatasetElementOptions(i||{}):(e=e||0,t=this._resolveDataElementOptions(n.data[e]||{},e)),!1!==t.fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,i,r,o,a=this,s=a.chart,l=a._config,u=e.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,h={},f={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:t};for(n=0,i=d.length;n<i;++n)r=d[n],o=t?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=J([u[o],l[o],c[o]],f);return h},_resolveDataElementOptions:function(e,t){var n=this,i=e&&e.custom,r=n._cachedDataOpts;if(r&&!i)return r;var o,a,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},p={chart:u,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},m={cacheable:!i};if(i=i||{},H.isArray(h))for(a=0,s=h.length;a<s;++a)f[l=h[a]]=J([i[l],c[l],d[l]],p,t,m);else for(a=0,s=(o=Object.keys(h)).length;a<s;++a)f[l=o[a]]=J([i[l],c[h[l]],c[l],d[l]],p,t,m);return m.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){H.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model,o=H.getHoverColor;e.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=J([i.hoverBackgroundColor,t.hoverBackgroundColor,o(r.backgroundColor)],void 0,n),r.borderColor=J([i.hoverBorderColor,t.hoverBorderColor,o(r.borderColor)],void 0,n),r.borderWidth=J([i.hoverBorderWidth,t.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,i,r,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,r=this._resolveDatasetElementOptions(a,!0),e=0,t=(i=Object.keys(r)).length;e<t;++e)s[n=i[e]]=o[n],o[n]=r[n];a.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,i=t.length;i<n?e.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),te.extend=H.inherits;var ne=te,ie=2*Math.PI;function re(e,t){var n=t.startAngle,i=t.endAngle,r=t.pixelMargin,o=r/t.outerRadius,a=t.x,s=t.y;e.beginPath(),e.arc(a,s,t.outerRadius,n-o,i+o),t.innerRadius>r?(o=r/t.innerRadius,e.arc(a,s,t.innerRadius-r,i+o,n-o,!0)):e.arc(a,s,r,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function oe(e,t,n){var i="inner"===t.borderAlign;i?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,i){var r,o=n.endAngle;for(i&&(n.endAngle=n.startAngle+ie,re(e,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ie,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ie,n.startAngle,!0),r=0;r<n.fullCircles;++r)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+ie),r=0;r<n.fullCircles;++r)e.stroke()}(e,t,n,i),i&&re(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}N._set("global",{elements:{arc:{backgroundColor:N.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ae=U.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var i=H.getAngleFromPoint(n,{x:e,y:t}),r=i.angle,o=i.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=ie;for(;r>s;)r-=ie;for(;r<a;)r+=ie;var l=r>=a&&r<=s,u=o>=n.innerRadius&&o<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ie)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+ie,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e<r.fullCircles;++e)t.fill();r.endAngle=r.startAngle+n.circumference%ie}t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&oe(t,n,r),t.restore()}}),se=H.valueOrDefault,le=N.global.defaultColor;N._set("global",{elements:{line:{tension:.4,backgroundColor:le,borderWidth:3,borderColor:le,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ue=U.extend({_type:"line",draw:function(){var e,t,n,i=this,r=i._view,o=i._chart.ctx,a=r.spanGaps,s=i._children.slice(),l=N.global,u=l.elements.line,c=-1,d=i._loop;if(s.length){if(i._loop){for(e=0;e<s.length;++e)if(t=H.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=r.borderCapStyle||u.borderCapStyle,o.setLineDash&&o.setLineDash(r.borderDash||u.borderDash),o.lineDashOffset=se(r.borderDashOffset,u.borderDashOffset),o.lineJoin=r.borderJoinStyle||u.borderJoinStyle,o.lineWidth=se(r.borderWidth,u.borderWidth),o.strokeStyle=r.borderColor||l.defaultColor,o.beginPath(),(n=s[0]._view).skip||(o.moveTo(n.x,n.y),c=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===c?H.previousItem(s,e):s[c],n.skip||(c!==e-1&&!a||-1===c?o.moveTo(n.x,n.y):H.canvas.lineTo(o,t._view,n),c=e);d&&o.closePath(),o.stroke(),o.restore()}}}),ce=H.valueOrDefault,de=N.global.defaultColor;function he(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}N._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:de,borderColor:de,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var fe=U.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:he,inXRange:he,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,i=t.pointStyle,r=t.rotation,o=t.radius,a=t.x,s=t.y,l=N.global,u=l.defaultColor;t.skip||(void 0===e||H.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||u,n.lineWidth=ce(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||u,H.canvas.drawPoint(n,i,o,a,s,r))}}),pe=N.global.defaultColor;function me(e){return e&&void 0!==e.width}function ve(e){var t,n,i,r,o;return me(e)?(o=e.width/2,t=e.x-o,n=e.x+o,i=Math.min(e.y,e.base),r=Math.max(e.y,e.base)):(o=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),i=e.y-o,r=e.y+o),{left:t,top:i,right:n,bottom:r}}function ge(e,t,n){return e===t?n:e===n?t:e}function be(e,t,n){var i,r,o,a,s=e.borderWidth,l=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=ge(t,"left","right")):e.base<e.y&&(t=ge(t,"bottom","top")),n[t]=!0,n):n}(e);return H.isObject(s)?(i=+s.top||0,r=+s.right||0,o=+s.bottom||0,a=+s.left||0):i=r=o=a=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||r<0?0:r>t?t:r,b:l.bottom||o<0?0:o>n?n:o,l:l.left||a<0?0:a>t?t:a}}function ye(e,t,n){var i=null===t,r=null===n,o=!(!e||i&&r)&&ve(e);return o&&(i||t>=o.left&&t<=o.right)&&(r||n>=o.top&&n<=o.bottom)}N._set("global",{elements:{rectangle:{backgroundColor:pe,borderColor:pe,borderSkipped:"bottom",borderWidth:0}}});var we=U.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=ve(e),n=t.right-t.left,i=t.bottom-t.top,r=be(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(t),i=n.outer,r=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(e.save(),e.beginPath(),e.rect(i.x,i.y,i.w,i.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return ye(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return me(n)?ye(n,e,null):ye(n,null,t)},inXRange:function(e){return ye(this._view,e,null)},inYRange:function(e){return ye(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return me(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return me(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),xe={},_e=ae,Se=ue,Ee=fe,ke=we;xe.Arc=_e,xe.Line=Se,xe.Point=Ee,xe.Rectangle=ke;var Ce=H._deprecated,Te=H.valueOrDefault;function Me(e,t,n){var i,r,o=n.barThickness,a=t.stackCount,s=t.pixels[e],l=H.isNullOrUndef(o)?function(e,t){var n,i,r,o,a=e._length;for(r=1,o=t.length;r<o;++r)a=Math.min(a,Math.abs(t[r]-t[r-1]));for(r=0,o=e.getTicks().length;r<o;++r)i=e.getPixelForTick(r),a=r>0?Math.min(a,Math.abs(i-n)):a,n=i;return a}(t.scale,t.pixels):-1;return H.isNullOrUndef(o)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=o*a,r=1),{chunk:i/a,ratio:r,start:s-i/2}}N._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),N._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ae=ne.extend({dataElementType:xe.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ne.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,Ce("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ce("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Ce("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Ce("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ce("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t<n;++t)this.updateElement(i[t],t,e)},updateElement:function(e,t,n){var i=this,r=i.getMeta(),o=i.getDataset(),a=i._resolveDataElementOptions(e,t);e._xScale=i.getScaleForId(r.xAxisID),e._yScale=i.getScaleForId(r.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:i.chart.data.labels[t]},H.isArray(o.data[t])&&(e._model.borderSkipped=null),i._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,i){var r=this,o=e._model,a=r._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),u=r._ruler||r.getRuler(),c=r.calculateBarValuePixels(r.index,t,i),d=r.calculateBarIndexPixels(r.index,t,u,i);o.horizontal=l,o.base=n?s:c.base,o.x=l?n?s:c.head:d.center,o.y=l?d.center:n?s:c.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(e){var t,n,i=this._getIndexScale(),r=i._getMatchingVisibleMetas(this._type),o=i.options.stacked,a=r.length,s=[];for(t=0;t<a&&(n=r[t],(!1===o||-1===s.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i},getRuler:function(){var e,t,n=this._getIndexScale(),i=[];for(e=0,t=this.getMeta().data.length;e<t;++e)i.push(n.getPixelForValue(null,e,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var i,r,o,a,s,l,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),f=c.data.datasets,p=d._getMatchingVisibleMetas(this._type),m=d._parseValue(f[e].data[t]),v=n.minBarLength,g=d.options.stacked,b=this.getMeta().stack,y=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,w=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,x=p.length;if(g||void 0===g&&void 0!==b)for(i=0;i<x&&(r=p[i]).index!==e;++i)r.stack===b&&(o=void 0===(u=d._parseValue(f[r.index].data[t])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(m.min<0&&o<0||m.max>=0&&o>0)&&(y+=o));return a=d.getPixelForValue(y),l=(s=d.getPixelForValue(y+w))-a,void 0!==v&&Math.abs(l)<v&&(l=v,s=w>=0&&!h||w<0&&h?a-v:a+v),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,i){var r="flex"===i.barThickness?function(e,t,n){var i,r=t.pixels,o=r[e],a=e>0?r[e-1]:null,s=e<r.length-1?r[e+1]:null,l=n.categoryPercentage;return null===a&&(a=o-(null===s?t.end-t.start:s-o)),null===s&&(s=o+o-a),i=o-(o-Math.min(a,s))/2*l,{chunk:Math.abs(s-a)/2*l/t.stackCount,ratio:n.barPercentage,start:i}}(t,n,i):Me(t,n,i),o=this.getStackIndex(e,this.getMeta().stack),a=r.start+r.chunk*o+r.chunk/2,s=Math.min(Te(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,o=0;for(H.canvas.clipArea(e.ctx,e.chartArea);o<r;++o){var a=t._parseValue(i.data[o]);isNaN(a.min)||isNaN(a.max)||n[o].draw()}H.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=H.extend({},ne.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,i=e._getValueScale().options;return t.barPercentage=Te(n.barPercentage,t.barPercentage),t.barThickness=Te(n.barThickness,t.barThickness),t.categoryPercentage=Te(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=Te(n.maxBarThickness,t.maxBarThickness),t.minBarLength=Te(i.minBarLength,t.minBarLength),t}}),Oe=H.valueOrDefault,Pe=H.options.resolve;N._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+i.r+")"}}}});var Ie=ne.extend({dataElementType:xe.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta().data;H.each(n,(function(n,i){t.updateElement(n,i,e)}))},updateElement:function(e,t,n){var i=this,r=i.getMeta(),o=e.custom||{},a=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(e,t),u=i.getDataset().data[t],c=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,t,c),h=n?s.getBasePixel():s.getPixelForValue(u,t,c);e._xScale=a,e._yScale=s,e._options=l,e._datasetIndex=c,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Oe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Oe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Oe(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,i=n.chart,r=n.getDataset(),o=e.custom||{},a=r.data[t]||{},s=ne.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:t,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=H.extend({},s)),s.radius=Pe([o.radius,a.r,n._config.radius,i.options.elements.point.radius],l,t),s}}),Le=H.valueOrDefault,De=Math.PI,je=2*De,Ne=De/2;N._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data,a=o.datasets,s=o.labels;if(r.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return r.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var r=e.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,r,o=t.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-Ne,circumference:je,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return H.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Fe=ne.extend({dataElementType:xe.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
2dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,i,r,o=this,a=o.chart,s=a.chartArea,l=a.options,u=1,c=1,d=0,h=0,f=o.getMeta(),p=f.data,m=l.cutoutPercentage/100||0,v=l.circumference,g=o._getRingWeight(o.index);if(v<je){var b=l.rotation%je,y=(b+=b>=De?-je:b<-De?je:0)+v,w=Math.cos(b),x=Math.sin(b),_=Math.cos(y),S=Math.sin(y),E=b<=0&&y>=0||y>=je,k=b<=Ne&&y>=Ne||y>=je+Ne,C=b<=-Ne&&y>=-Ne||y>=De+Ne,T=b===-De||y>=De?-1:Math.min(w,w*m,_,_*m),M=C?-1:Math.min(x,x*m,S,S*m),A=E?1:Math.max(w,w*m,_,_*m),O=k?1:Math.max(x,x*m,S,S*m);u=(A-T)/2,c=(O-M)/2,d=-(A+T)/2,h=-(O+M)/2}for(i=0,r=p.length;i<r;++i)p[i]._options=o._resolveDataElementOptions(p[i],i);for(a.borderWidth=o.getMaxBorderWidth(),t=(s.right-s.left-a.borderWidth)/u,n=(s.bottom-s.top-a.borderWidth)/c,a.outerRadius=Math.max(Math.min(t,n)/2,0),a.innerRadius=Math.max(a.outerRadius*m,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(o._getVisibleDatasetWeightTotal()||1),a.offsetX=d*a.outerRadius,a.offsetY=h*a.outerRadius,f.total=o.calculateTotal(),o.outerRadius=a.outerRadius-a.radiusLength*o._getRingWeightOffset(o.index),o.innerRadius=Math.max(o.outerRadius-a.radiusLength*g,0),i=0,r=p.length;i<r;++i)o.updateElement(p[i],i,e)},updateElement:function(e,t,n){var i=this,r=i.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,c=a.rotation,d=a.rotation,h=i.getDataset(),f=n&&s.animateRotate?0:e.hidden?0:i.calculateCircumference(h.data[t])*(a.circumference/je),p=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,v=e._options||{};H.extend(e,{_datasetIndex:i.index,_index:t,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:l+r.offsetX,y:u+r.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:m,innerRadius:p,label:H.valueAtIndexOrDefault(h.label,t,r.data.labels[t])}});var g=e._model;n&&s.animateRotate||(g.startAngle=0===t?a.rotation:i.getMeta().data[t-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),i=0;return H.each(n.data,(function(n,r){e=t.data[r],isNaN(e)||n.hidden||(i+=Math.abs(e))})),i},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?je*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,r,o,a,s,l,u=0,c=this.chart;if(!e)for(t=0,n=c.data.datasets.length;t<n;++t)if(c.isDatasetVisible(t)){e=(i=c.getDatasetMeta(t)).data,t!==this.index&&(o=i.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)r=e[t],o?(o._configure(),a=o._resolveDataElementOptions(r,t)):a=r._options,"inner"!==a.borderAlign&&(s=a.borderWidth,u=(l=a.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Le(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Le(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Le(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Le(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});N._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),N._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Re=Ae.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),$e=H.valueOrDefault,Be=H.options.resolve,He=H.canvas._isPointInArea;function ze(e,t){var n=e&&e.options.ticks||{},i=n.reverse,r=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:i?o:r,end:i?r:o}}function qe(e,t,n){var i=n/2,r=ze(e,i),o=ze(t,i);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function We(e){var t,n,i,r;return H.isObject(e)?(t=e.top,n=e.right,i=e.bottom,r=e.left):t=n=i=r=e,{top:t,right:n,bottom:i,left:r}}N._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Ve=ne.extend({datasetElementType:xe.Line,dataElementType:xe.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
2dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.options,l=i._config,u=i._showLine=$e(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),t=0,n=a.length;t<n;++t)i.updateElement(a[t],t,e);for(u&&0!==o._model.tension&&i.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var i,r,o=this,a=o.getMeta(),s=e.custom||{},l=o.getDataset(),u=o.index,c=l.data[t],d=o._xScale,h=o._yScale,f=a.dataset._model,p=o._resolveDataElementOptions(e,t);i=d.getPixelForValue("object"==typeof c?c:NaN,t,u),r=n?h.getBasePixel():o.calculatePointY(c,t,u),e._xScale=d,e._yScale=h,e._options=p,e._datasetIndex=u,e._index=t,e._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:$e(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,i=e.custom||{},r=t.chart.options,o=r.elements.line,a=ne.prototype._resolveDatasetElementOptions.apply(t,arguments);return a.spanGaps=$e(n.spanGaps,r.spanGaps),a.tension=$e(n.lineTension,o.tension),a.steppedLine=Be([i.steppedLine,n.steppedLine,o.stepped]),a.clip=We($e(n.clip,qe(t._xScale,t._yScale,a.borderWidth))),a},calculatePointY:function(e,t,n){var i,r,o,a,s,l,u,c=this.chart,d=this._yScale,h=0,f=0;if(d.options.stacked){for(s=+d.getRightValue(e),u=(l=c._getSortedVisibleDatasetMetas()).length,i=0;i<u&&(o=l[i]).index!==n;++i)r=c.data.datasets[o.index],"line"===o.type&&o.yAxisID===d.id&&((a=+d.getRightValue(r.data[t]))<0?f+=a||0:h+=a||0);return s<0?d.getPixelForValue(f+s):d.getPixelForValue(h+s)}return d.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,i,r=this.chart,o=this.getMeta(),a=o.dataset._model,s=r.chartArea,l=o.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(a.spanGaps&&(l=l.filter((function(e){return!e._model.skip}))),"monotone"===a.cubicInterpolationMode)H.splineCurveMonotone(l);else for(e=0,t=l.length;e<t;++e)n=l[e]._model,i=H.splineCurve(H.previousItem(l,e)._model,n,H.nextItem(l,e)._model,a.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.options.elements.line.capBezierPoints)for(e=0,t=l.length;e<t;++e)n=l[e]._model,He(n,s)&&(e>0&&He(l[e-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),e<l.length-1&&He(l[e+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),i=n.data||[],r=t.chartArea,o=t.canvas,a=0,s=i.length;for(this._showLine&&(e=n.dataset._model.clip,H.canvas.clipArea(t.ctx,{left:!1===e.left?0:r.left-e.left,right:!1===e.right?o.width:r.right+e.right,top:!1===e.top?0:r.top-e.top,bottom:!1===e.bottom?o.height:r.bottom+e.bottom}),n.dataset.draw(),H.canvas.unclipArea(t.ctx));a<s;++a)i[a].draw(r)},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=$e(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=$e(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=$e(n.hoverBorderWidth,n.borderWidth),t.radius=$e(n.hoverRadius,n.radius)}}),Ye=H.options.resolve;N._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data,a=o.datasets,s=o.labels;if(r.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return r.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var r=e.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,r,o=t.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o].hidden=!r.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ge=ne.extend({dataElementType:xe.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
2dColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i,r=this,o=r.getDataset(),a=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),t=0,n=o.data.length;t<n;t++)l[t]=s,i=r._computeAngle(t),u[t]=i,s+=i;for(t=0,n=c.length;t<n;++t)c[t]._options=r._resolveDataElementOptions(c[t],t),r.updateElement(c[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,i=t.options,r=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(r/2,0),t.innerRadius=Math.max(i.cutoutPercentage?t.outerRadius/100*i.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var i=this,r=i.chart,o=i.getDataset(),a=r.options,s=a.animation,l=r.scale,u=r.data.labels,c=l.xCenter,d=l.yCenter,h=a.startAngle,f=e.hidden?0:l.getDistanceFromCenterForValue(o.data[t]),p=i._starts[t],m=p+(e.hidden?0:i._angles[t]),v=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[t]),g=e._options||{};H.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?v:f,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:m,label:H.valueAtIndexOrDefault(u,t,u[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return H.each(t.data,(function(t,i){isNaN(e.data[i])||t.hidden||n++})),n},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor,r=H.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=r(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,i=t.getDataset(),r=t.getMeta();if(isNaN(i.data[e])||r.data[e].hidden)return 0;var o={chart:t.chart,dataIndex:e,dataset:i,datasetIndex:t.index};return Ye([t.chart.options.elements.arc.angle,2*Math.PI/n],o,e)}});N._set("pie",H.clone(N.doughnut)),N._set("pie",{cutoutPercentage:0});var Ue=Fe,Xe=H.valueOrDefault;N._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ke=ne.extend({datasetElementType:xe.Line,dataElementType:xe.Point,linkScales:H.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
2dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=i.index,o._children=a,o._loop=!0,o._model=i._resolveDatasetElementOptions(o),o.pivot(),t=0,n=a.length;t<n;++t)i.updateElement(a[t],t,e);for(i.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var i=this,r=e.custom||{},o=i.getDataset(),a=i.chart.scale,s=a.getPointPositionForValue(t,o.data[t]),l=i._resolveDataElementOptions(e,t),u=i.getMeta().dataset._model,c=n?a.xCenter:s.x,d=n?a.yCenter:s.y;e._scale=a,e._options=l,e._datasetIndex=i.index,e._index=t,e._model={x:c,y:d,skip:r.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Xe(r.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,i=ne.prototype._resolveDatasetElementOptions.apply(e,arguments);return i.spanGaps=Xe(t.spanGaps,n.spanGaps),i.tension=Xe(t.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var e,t,n,i,r=this.getMeta(),o=this.chart.chartArea,a=r.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(r.dataset._model.spanGaps&&(a=a.filter((function(e){return!e._model.skip}))),e=0,t=a.length;e<t;++e)n=a[e]._model,i=H.splineCurve(H.previousItem(a,e,!0)._model,n,H.nextItem(a,e,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,o.left,o.right),n.controlPointPreviousY=s(i.previous.y,o.top,o.bottom),n.controlPointNextX=s(i.next.x,o.left,o.right),n.controlPointNextY=s(i.next.y,o.top,o.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Xe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Xe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Xe(n.hoverBorderWidth,n.borderWidth),t.radius=Xe(n.hoverRadius,n.radius)}});N._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),N._set("global",{datasets:{scatter:{showLine:!1}}});var Ze={bar:Ae,bubble:Ie,doughnut:Fe,horizontalBar:Re,line:Ve,polarArea:Ge,pie:Ue,radar:Ke,scatter:Ve};function Je(e,t){return e.native?{x:e.x,y:e.y}:H.getRelativePosition(e,t)}function Qe(e,t){var n,i,r,o,a,s,l=e._getSortedVisibleDatasetMetas();for(i=0,o=l.length;i<o;++i)for(r=0,a=(n=l[i].data).length;r<a;++r)(s=n[r])._view.skip||t(s)}function et(e,t){var n=[];return Qe(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function tt(e,t,n,i){var r=Number.POSITIVE_INFINITY,o=[];return Qe(e,(function(e){if(!n||e.inRange(t.x,t.y)){var a=e.getCenterPoint(),s=i(t,a);s<r?(o=[e],r=s):s===r&&o.push(e)}})),o}function nt(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,i){var r=t?Math.abs(e.x-i.x):0,o=n?Math.abs(e.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function it(e,t,n){var i=Je(t,e);n.axis=n.axis||"x";var r=nt(n.axis),o=n.intersect?et(e,i):tt(e,i,!1,r),a=[];return o.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[o[0]._index];t&&!t._view.skip&&a.push(t)})),a):[]}var rt={modes:{single:function(e,t){var n=Je(t,e),i=[];return Qe(e,(function(e){if(e.inRange(n.x,n.y))return i.push(e),i})),i.slice(0,1)},label:it,index:it,dataset:function(e,t,n){var i=Je(t,e);n.axis=n.axis||"xy";var r=nt(n.axis),o=n.intersect?et(e,i):tt(e,i,!1,r);return o.length>0&&(o=e.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(e,t){return it(e,t,{intersect:!1})},point:function(e,t){return et(e,Je(t,e))},nearest:function(e,t,n){var i=Je(t,e);n.axis=n.axis||"xy";var r=nt(n.axis);return tt(e,i,n.intersect,r)},x:function(e,t,n){var i=Je(t,e),r=[],o=!1;return Qe(e,(function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)})),n.intersect&&!o&&(r=[]),r},y:function(e,t,n){var i=Je(t,e),r=[],o=!1;return Qe(e,(function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)})),n.intersect&&!o&&(r=[]),r}}},ot=H.extend;function at(e,t){return H.where(e,(function(e){return e.pos===t}))}function st(e,t){return e.sort((function(e,n){var i=t?n:e,r=t?e:n;
vendor: 4,332 bytes, line 2
2return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function lt(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function ut(e,t,n){var i,r,o=n.box,a=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,e[n.pos]+=n.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(i=t.outerWidth-lt(a,e,"left","right"),r=t.outerHeight-lt(a,e,"top","bottom"),i!==e.w||r!==e.h)return e.w=i,e.h=r,n.horizontal?i!==e.w:r!==e.h}function ct(e,t){var n=t.maxPadding;function i(e){var i={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){i[e]=Math.max(t[e],n[e])})),i}return i(e?["left","right"]:["top","bottom"])}function dt(e,t,n){var i,r,o,a,s,l,u=[];for(i=0,r=e.length;i<r;++i)(a=(o=e[i]).box).update(o.width||t.w,o.height||t.h,ct(o.horizontal,t)),ut(t,n,o)&&(l=!0,u.length&&(s=!0)),a.fullWidth||u.push(o);return s&&dt(u,t,n)||l}function ht(e,t,n){var i,r,o,a,s=n.padding,l=t.x,u=t.y;for(i=0,r=e.length;i<r;++i)a=(o=e[i]).box,o.horizontal?(a.left=a.fullWidth?s.left:t.left,a.right=a.fullWidth?n.outerWidth-s.right:t.left+t.w,a.top=u,a.bottom=u+a.height,a.width=a.right-a.left,u=a.bottom):(a.left=l,a.right=l+a.width,a.top=t.top,a.bottom=t.top+t.h,a.height=a.bottom-a.top,l=a.right);t.x=l,t.y=u}N._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ft,pt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)i=r[a],n.hasOwnProperty(i)&&(t[i]=n[i])},update:function(e,t,n){if(e){var i=e.options.layout||{},r=H.options.toPadding(i.padding),o=t-r.width,a=n-r.height,s=function(e){var t=function(e){var t,n,i,r=[];for(t=0,n=(e||[]).length;t<n;++t)i=e[t],r.push({index:t,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}(e),n=st(at(t,"left"),!0),i=st(at(t,"right")),r=st(at(t,"top"),!0),o=st(at(t,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(o),chartArea:at(t,"chartArea"),vertical:n.concat(i),horizontal:r.concat(o)}}(e.boxes),l=s.vertical,u=s.horizontal,c=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:o,vBoxMaxWidth:o/2/l.length,hBoxMaxHeight:a/2}),d=ot({maxPadding:ot({},r),w:o,h:a,x:r.left,y:r.top},r);!function(e,t){var n,i,r;for(n=0,i=e.length;n<i;++n)(r=e[n]).width=r.horizontal?r.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,r.height=r.horizontal&&t.hBoxMaxHeight}(l.concat(u),c),dt(l,d,c),dt(u,d,c)&&dt(l,d,c),function(e){var t=e.maxPadding;function n(n){var i=Math.max(t[n]-e[n],0);return e[n]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(d),ht(s.leftAndTop,d,c),d.x+=d.w,d.y+=d.h,ht(s.rightAndBottom,d,c),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},H.each(s.chartArea,(function(t){var n=t.box;ot(n,e.chartArea),n.update(d.w,d.h)}))}}},mt=(ft=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&ft.default||ft,vt="$chartjs",gt="chartjs-size-monitor",bt="chartjs-render-monitor",yt="chartjs-render-animation",wt=["animationstart","webkitAnimationStart"],xt={touchstart:"mousedown",touchmove:"mou
2semove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function _t(e,t){var n=H.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var St=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function Et(e,t,n){e.addEventListener(t,n,St)}function kt(e,t,n){e.removeEventListener(t,n,St)}function Ct(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function Tt(e){var t=document.createElement("div");return t.className=e||"",t}function Mt(e,t,n){var i,r,o,a,s=e[vt]||(e[vt]={}),l=s.resizer=function(e){var t=Tt(gt),n=Tt(gt+"-expand"),i=Tt(gt+"-shrink");n.appendChild(Tt()),i.appendChild(Tt()),t.appendChild(n),t.appendChild(i),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){t._reset(),e()};return Et(n,"scroll",r.bind(n,"expand")),Et(i,"scroll",r.bind(i,"shrink")),t}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&e.parentNode,r=i?i.clientWidth:0;t(Ct("resize",n)),i&&i.clientWidth<r&&n.canvas&&t(Ct("resize",n))}},o=!1,a=[],function(){a=Array.prototype.slice.call(arguments),r=r||this,o||(o=!0,H.requestAnimFrame.call(window,(function(){o=!1,i.apply(r,a)})))}));!function(e,t){var n=e[vt]||(e[vt]={}),i=n.renderProxy=function(e){e.animationName===yt&&t()};H.each(wt,(function(t){Et(e,t,i)})),n.reflow=!!e.offsetParent,e.classList.add(bt)}(e,(function(){if(s.resizer){var t=e.parentNode;t&&t!==l.parentNode&&t.insertBefore(l,t.firstChild),l._reset()}}))}function At(e){var t=e[vt]||{},n=t.resizer;delete t.resizer,function(e){var t=e[vt]||{},n=t.renderProxy;n&&(H.each(wt,(function(t){kt(e,t,n)})),delete t.renderProxy),e.classList.remove(bt)}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}var Ot={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e[vt]||(e[vt]={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(t)),e.appendChild(i)}}(t.host?t:document.head,mt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e[vt]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=_t(e,"width");void 0!==o&&(e.width=o)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=_t(e,"height");void 0!==o&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t[vt]){var n=t[vt].initial;["height","width"].forEach((function(e){var i=n[e];H.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),H.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t[vt]}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=n[vt]||(n[vt]={});Et(i,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=xt[e.type]||e.type,i=H.getRelativePosition(e,t);return Ct(n,t,i.x,i.y,e)}(t,e))})}else Mt(i,n,e)},removeEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=((n[vt]||{}).proxies||{})[e.id+"_"+t];r&&kt(i,t,r)}else At(i)}};H.addEvent=Et,H.removeEvent=kt;var Pt=Ot._enabled?Ot:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},It=H.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Pt);N._set("global",{plugins:{}});var Lt={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var i,r,o,a,s,l=this.descriptors(e),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(o=(r=l[i]).plugin)[t])&&((a=[e].concat(n||[])).push(r.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],i=[],r=e&&e.config||{},o=r.options&&r.options.plugins||{};
vendor: 59,157 bytes, line 2
2return this._plugins.concat(r.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,r=o[t];!1!==r&&(!0===r&&(r=H.clone(N.global.plugins[t])),n.push(e),i.push({plugin:e,options:r||{}}))}})),t.descriptors=i,t.id=this._cacheId,i},_invalidate:function(e){delete e.$plugins}},Dt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=H.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?H.merge({},[N.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=H.extend(this.defaults[e],t))},addScalesToLayout:function(e){H.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,pt.addBox(e,t)}))}},jt=H.valueOrDefault,Nt=H.rtl.getRtlAdapter;N._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:H.noop,title:function(e,t){var n="",i=t.labels,r=i?i.length:0;if(e.length>0){var o=e[0];o.label?n=o.label:o.xLabel?n=o.xLabel:r>0&&o.index<r&&(n=i[o.index])}return n},afterTitle:H.noop,beforeBody:H.noop,beforeLabel:H.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),H.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:H.noop,afterBody:H.noop,beforeFooter:H.noop,footer:H.noop,afterFooter:H.noop}}});var Ft={average:function(e){if(!e.length)return!1;var t,n,i=0,r=0,o=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,r+=s.y,++o}}return{x:i/o,y:r/o}},nearest:function(e,t){var n,i,r,o=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){var l=e[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=H.distanceBetweenPoints(t,u);c<s&&(s=c,r=l)}}if(r){var d=r.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}};function Rt(e,t){return t&&(H.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function $t(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Bt(e){var t=N.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:jt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:jt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:jt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:jt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:jt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:jt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:jt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:jt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:jt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ht(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function zt(e){return Rt([],$t(e))}var qt=U.extend({initialize:function(){this._model=Bt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,i=n.beforeTitle.apply(e,arguments),r=n.title.apply(e,arguments),o=n.afterTitle.apply(e,arguments),a=[];return a=Rt(a,$t(i)),a=Rt(a,$t(r)),a=Rt(a,$t(o))},getBeforeBody:function(){return zt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,i=n._options.callbacks,r=[];return H.each(e,(function(e){var o={before:[],lines:[],after:[]};Rt(o.before,$t(i.beforeLabel.call(n,e,t))),Rt(o.lines,i.label.call(n,e,t)),Rt(o.after,$t(i.afterLabel.call(n,e,t))),r.push(o)})),r},getAfterBody:function(){return zt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),i=t.footer.apply(e,arguments),r=t.afterFooter.apply(e,arguments),o=[];return o=Rt(o,$t(n)),o=Rt(o,$t(i)),o=Rt(o,$t(r))},update:function(e){var t,n,i,r,o,a,s,l,u,c,d=this,h=d._options,f=d._model,p=d._model=Bt(h),m=d._active,v=d._data,g={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},y={width:f.width,height:f.height},w={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var x=[],_=[];w=Ft[h.position].call(d,m,d._eventPosition);var S=[];for(t=0,n=m.length;t<n;++t)S.push((i=m[t],r=void 0,o=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,r=i._xScale,o=i._yScale||i._scale,a=i._index,s=i._datasetIndex,l=i._chart.getDatasetMeta(s).controller,u=l._getIndexScale(),c=l._getValueScale(),{xLabel:r?r.getLabelForIndex(a,s):"",yLabel:o?o.getLabelForIndex(a,s):"",label:u?""+u.getLabelForIndex(a,s):"",value:c?""+c.getLabelForIndex(a,s):"",index:a,datasetIndex:s,x:i._model.x,y:i._model.y}));h.filter&&(S=S.filter((function(e){return h.filter(e,v)}))),h.itemSort&&(S=S.sort((function(e,t){return h.itemSort(e,t,v)}))),H.each(S,(function(e){x.push(h.callbacks.labelColor.call(d,e,d._chart)),_.push(h.callbacks.labelTextColor.call(d,e,d._chart))})),p.title=d.getTitle(S,v),p.beforeBody=d.getBeforeBody(S,v),p.body=d.getBody(S,v),p.afterBody=d.getAfterBody(S,v),p.footer=d.getFooter(S,v),p.x=w.x,p.y=w.y,p.caretPadding=h.caretPadding,p.labelColors=x,p.labelTextColors=_,p.dataPoints=S,y=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,r=0,o=t.body,a=o.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);a+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,u=t.titleFontSize,c=t.bodyFontSize,d=t.footerFontSize;i+=s*u,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=a*c,i+=a?(a-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*d,i+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){r=Math.max(r,n.measureText(e).width+h)};return n.font=H.fontString(u,t._titleFontStyle,t._titleFontFamily),H.each(t.title,f),n.font=H.fontString(c,t._bodyFontStyle,t._bodyFontFamily),H.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?c+2:0,H.each(o,(function(e){H.each(e.before,f),H.each(e.lines,f),H.each(e.after,f)})),h=0,n.font=H.fontString(d,t._footerFontStyle,t._footerFontFamily),H.each(t.footer,f),{width:r+=2*t.xPadding,height:i}}(this,p),b=function(e,t,n,i){var r=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,l=e.cornerRadius,u=n.xAlign,c=n.yAlign,d=a+s,h=l+s;return"right"===u?r-=t.width:"center"===u&&((r-=t.width/2)+t.width>i.width&&(r=i.width-t.width),r<0&&(r=0)),"top"===c?o+=d:o-="bottom"===c?t.height+d:t.height/2,"center"===c?"left"===u?r+=d:"right"===u&&(r-=d):"left"===u?r-=h:"right"===u&&(r+=h),{x:r,y:o}}(p,y,g=function(e,t){var n,i,r,o,a,s=e._model,l=e._chart,u=e._chart.chartArea,c="center",d="center";s.y<t.height?d="top":s.y>l.height-t.height&&(d="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===d?(n=function(e){return e<=h},i=function(e){return e>h}):(n=function(e){return e<=t.width/2},i=function(e){return e>=l.width-t.width/2}),r=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=f?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",d=a(s.y))):i(s.x)&&(c="right",o(s.x)&&(c="center",d=a(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,y),d._chart)}else p.opacity=0;return p.xAlign=g.xAlign,p.yAlign=g.yAlign,p.x=b.x,p.y=b.y,p.width=y.width,p.height=y.height,p.caretX=w.x,p.caretY=w.y,d._model=p,e&&h.custom&&h.custom.call(d,p),d},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(e,t,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(e,t,n){var i,r,o,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,v=t.height;if("center"===h)s=p+v/2,"left"===d?(r=(i=f)-u,o=i,a=s+u,l=s-u):(r=(i=f+m)+u,o=i,a=s-u,l=s+u);else if("left"===d?(i=(r=f+c+u)-u,o=r+u):"right"===d?(i=(r=f+m-c-u)-u,o=r+u):(i=(r=n.caretX)-u,o=r+u),"top"===h)s=(a=p)-u,l=a;else{s=(a=p+v)+u,l=a;var g=o;o=i,i=g}return{x1:i,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(e,t,n){var i,r,o,a=t.title,s=a.length;if(s){var l=Nt(t.rtl,t.x,t.width);for(e.x=Ht(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,r=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=H.fontString(i,t._titleFontStyle,t._titleFontFamily),o=0;o<s;++o)n.fillText(a[o],l.x(e.x),e.y+i/2),e.y+=i+r,o+1===s&&(e.y+=t.titleMarginBottom-r)}},drawBody:function(e,t,n){var i,r,o,a,s,l,u,c,d=t.bodyFontSize,h=t.bodySpacing,f=t._bodyAlign,p=t.body,m=t.displayColors,v=0,g=m?Ht(t,"left"):0,b=Nt(t.rtl,t.x,t.width),y=function(t){n.fillText(t,b.x(e.x+v),e.y+d/2),e.y+=d+h},w=b.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=H.fontString(d,t._bodyFontStyle,t._bodyFontFamily),e.x=Ht(t,w),n.fillStyle=t.bodyFontColor,H.each(t.beforeBody,y),v=m&&"right"!==w?"center"===f?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(i=p[s],r=t.labelTextColors[s],o=t.labelColors[s],n.fillStyle=r,H.each(i.before,y),l=0,c=(a=i.lines).length;l<c;++l){if(m){var x=b.x(g);n.fillStyle=t.legendColorBackground,n.fillRect(b.leftForLtr(x,d),e.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(b.leftForLtr(x,d),e.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(x,1),d-2),e.y+1,d-2,d-2),n.fillStyle=r}y(a[l])}H.each(i.after,y)}v=0,H.each(t.afterBody,y),e.y-=h},drawFooter:function(e,t,n){var i,r,o=t.footer,a=o.length;if(a){var s=Nt(t.rtl,t.x,t.width);for(e.x=Ht(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",i=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=H.fontString(i,t._footerFontStyle,t._footerFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(e.x),e.y+i/2),e.y+=i+t.footerSpacing}},drawBackground:function(e,t,n,i){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var r=t.xAlign,o=t.yAlign,a=e.x,s=e.y,l=i.width,u=i.height,c=t.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===o&&this.drawCaret(e,i),n.lineTo(a+l-c,s),n.quadraticCurveTo(a+l,s,a+l,s+c),"center"===o&&"right"===r&&this.drawCaret(e,i),n.lineTo(a+l,s+u-c),n.quadraticCurveTo(a+l,s+u,a+l-c,s+u),"bottom"===o&&this.drawCaret(e,i),n.lineTo(a+c,s+u),n.quadraticCurveTo(a,s+u,a,s+u-c),"center"===o&&"left"===r&&this.drawCaret(e,i),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(e.save(),e.globalAlpha=r,this.drawBackground(i,t,e,n),i.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),i.reverse&&n._active.reverse()),(t=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),Wt=Ft,Vt=qt;Vt.positioners=Wt;var Yt=H.valueOrDefault;function Gt(){return H.merge({},[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var r,o,a,s=n[e].length;for(t[e]||(t[e]=[]),r=0;r<s;++r)a=n[e][r],o=Yt(a.type,"xAxes"===e?"category":"linear"),r>=t[e].length&&t[e].push({}),!t[e][r].type||a.type&&a.type!==t[e][r].type?H.merge(t[e][r],[Dt.getScaleDefaults(o),a]):H.merge(t[e][r],a)}else H._merger(e,t,n,i)}})}function Ut(){return H.merge({},[].slice.call(arguments),{merger:function(e,t,n,i){var r=t[e]||{},o=n[e];"scales"===e?t[e]=Gt(r,o):"scale"===e?t[e]=H.merge(r,[Dt.getScaleDefaults(o.type),o]):H._merger(e,t,n,i)}})}function Xt(e){var t=e.options;H.each(e.scales,(function(t){pt.removeBox(e,t)})),t=Ut(N.global,N[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Kt(e,t,n){var i,r=function(e){return e.id===i};do{i=t+n++}while(H.findIndex(e,r)>=0);return i}function Zt(e){return"top"===e||"bottom"===e}function Jt(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}N._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Qt=function(e,t){return this.construct(e,t),this};H.extend(Qt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Ut(N.global,N[e.type],e.options||{}),e}(t);var i=It.acquireContext(e,t),r=i&&i.canvas,o=r&&r.height,a=r&&r.width;n.id=H.uid(),n.ctx=i,n.canvas=r,n.config=t,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Qt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Lt.notify(e,"beforeInit"),H.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Lt.notify(e,"afterInit"),e},clear:function(){return H.canvas.clear(this),this},stop:function(){return Z.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(H.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?o/r:H.getMaximumHeight(i)));if((t.width!==o||t.height!==a)&&(i.width=t.width=o,i.height=t.height=a,i.style.width=o+"px",i.style.height=a+"px",H.retinaScale(t,n.devicePixelRatio),!e)){var s={width:o,height:a};Lt.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;H.each(t.xAxes,(function(e,n){e.id||(e.id=Kt(t.xAxes,"x-axis-",n))})),H.each(t.yAxes,(function(e,n){e.id||(e.id=Kt(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},i=[],r=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(i=i.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&i.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(i,(function(t){var i=t.options,o=i.id,a=Yt(i.type,t.dtype);Zt(i.position)!==Zt(t.dposition)&&(i.position=t.dposition),r[o]=!0;var s=null;if(o in n&&n[o].type===a)(s=n[o]).options=i,s.ctx=e.ctx,s.chart=e;else{var l=Dt.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:i,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),H.each(r,(function(e,t){e||delete n[t]})),e.scales=n,Dt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,i=[],r=n.data.datasets;for(e=0,t=r.length;e<t;e++){var o=r[e],a=n.getDatasetMeta(e),s=o.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(e),a=n.getDatasetMeta(e)),a.type=s,a.order=o.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var l=Ze[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,e),i.push(a.controller)}}return i},resetElements:function(){var e=this;H.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,i=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),Xt(i),Lt._invalidate(i),!1!==Lt.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(t=0,n=i.data.datasets.length;t<n;t++)i.getDatasetMeta(t).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&H.each(r,(function(e){e.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Lt.notify(i,"afterUpdate"),i._layers.sort(Jt("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:i.render(e)}},updateLayout:function(){var e=this;!1!==Lt.notify(e,"beforeLayout")&&(pt.update(this,this.width,this.height),e._layers=[],H.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),Lt.notify(e,"afterScaleUpdate"),Lt.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==Lt.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Lt.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Lt.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Lt.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,i=Yt(e.duration,n&&n.duration),r=e.lazy;if(!1!==Lt.notify(t,"beforeRender")){var o=function(e){Lt.notify(t,"afterRender"),H.callback(n&&n.onComplete,[e],t)};if(n&&i){var a=new K({numSteps:i/16.66,easing:e.easing||n.easing,render:function(e,t){var n=H.easing.effects[t.easing],i=t.currentStep,r=i/t.numSteps;e.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:o});Z.addAnimation(t,a,i,r)}else t.draw(),o(new K({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,i=this;if(i.clear(),H.isNullOrUndef(e)&&(e=1),i.transition(e),!(i.width<=0||i.height<=0)&&!1!==Lt.notify(i,"beforeDraw",[e])){for(n=i._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(i.chartArea);for(i.drawDatasets(e);t<n.length;++t)n[t].draw(i.chartArea);i._drawTooltip(e),Lt.notify(i,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,i=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||i.push(this.getDatasetMeta(t));return i.sort(Jt("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Lt.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(t[n],e);Lt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Lt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Lt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Lt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Lt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return rt.modes.single(this,e)},getElementsAtEvent:function(e){return rt.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return rt.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=rt.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return rt.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],i=n._meta&&n._meta[t];i&&(i.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,i=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);i&&(n.unbindEvents(),H.canvas.clear(n),It.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Lt.notify(n,"destroy"),delete Qt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Vt({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};H.each(e.options.events,(function(i){It.addEventListener(e,i,n),t[i]=n})),e.options.responsive&&(n=function(){e.resize()},It.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,H.each(t,(function(t,n){It.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var i,r,o,a=n?"set":"remove";for(r=0,o=e.length;r<o;++r)(i=e[r])&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Lt.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),Lt.notify(t,"afterEvent",[e]);var r=t._bufferedRequest;return r?t.render(r):i&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,i=n.options||{},r=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,r.mode,r),H.callback(i.onHover||i.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||i.onClick&&i.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,r.mode,!1),n.active.length&&r.mode&&n.updateHoverStyle(n.active,r.mode,!0),t=!H.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Qt.instances={};var en=Qt;function tn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function nn(e){this.options=e||{}}Qt.Controller=Qt,Qt.types={},H.configMerge=Ut,H.scaleMerge=Gt,H.extend(nn.prototype,{formats:tn,parse:tn,format:tn,add:tn,diff:tn,startOf:tn,endOf:tn,_create:function(e){return e}}),nn.override=function(e){H.extend(nn.prototype,e)};var rn={_date:nn},on={formatters:{values:function(e){return H.isArray(e)?e:""+e},linear:function(e,t,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var r=H.log10(Math.abs(i)),o="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=H.log10(Math.abs(e)),s=Math.floor(a)-Math.floor(r);s=Math.max(Math.min(s,20),0),o=e.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),o=e.toFixed(l)}else o="0";return o},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}},an=H.isArray,sn=H.isNullOrUndef,ln=H.valueOrDefault,un=H.valueAtIndexOrDefault;function cn(e,t,n){var i,r=e.getTicks().length,o=Math.min(t,r-1),a=e.getPixelForTick(o),s=e._startPixel,l=e._endPixel;if(!(n&&(i=1===r?Math.max(a-s,l-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(o-1))/2,(a+=o<t?i:-i)<s-1e-6||a>l+1e-6)))return a}function dn(e,t,n,i){var r,o,a,s,l,u,c,d,h,f,p,m,v,g=n.length,b=[],y=[],w=[];for(r=0;r<g;++r){if(s=n[r].label,l=n[r].major?t.major:t.minor,e.font=u=l.string,c=i[u]=i[u]||{data:{},gc:[]},d=l.lineHeight,h=f=0,sn(s)||an(s)){if(an(s))for(o=0,a=s.length;o<a;++o)p=s[o],sn(p)||an(p)||(h=H.measureText(e,c.data,c.gc,h,p),f+=d)}else h=H.measureText(e,c.data,c.gc,h,s),f=d;b.push(h),y.push(f),w.push(d/2)}function x(e){return{width:b[e]||0,height:y[e]||0,offset:w[e]||0}}return function(e,t){H.each(e,(function(e){var n,i=e.gc,r=i.length/2;if(r>t){for(n=0;n<r;++n)delete e.data[i[n]];i.splice(0,r)}}))}(i,g),m=b.indexOf(Math.max.apply(null,b)),v=y.indexOf(Math.max.apply(null,y)),{first:x(0),last:x(g-1),widest:x(m),highest:x(v)}}function hn(e){return e.drawTicks?e.tickMarkLength:0}function fn(e){var t,n;return e.display?(t=H.options._parseFont(e),n=H.options.toPadding(e.padding),t.lineHeight+n.height):0}function pn(e,t){return H.extend(H.options._parseFont({fontFamily:ln(t.fontFamily,e.fontFamily),fontSize:ln(t.fontSize,e.fontSize),fontStyle:ln(t.fontStyle,e.fontStyle),lineHeight:ln(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,N.global.defaultFontColor])})}function mn(e){var t=pn(e,e.minor);return{minor:t,major:e.major.enabled?pn(e,e.major):t}}function vn(e){var t,n,i,r=[];for(n=0,i=e.length;n<i;++n)void 0!==(t=e[n])._index&&r.push(t);return r}function gn(e,t,n,i){var r,o,a,s,l=ln(n,0),u=Math.min(ln(i,e.length),e.length),c=0;for(t=Math.ceil(t),i&&(t=(r=i-n)/Math.floor(r/t)),s=l;s<0;)c++,s=Math.round(l+c*t);for(o=Math.max(l,0);o<u;o++)a=e[o],o===s?(a._index=o,c++,s=Math.round(l+c*t)):delete a.label}N._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:on.formatters.values,minor:{},major:{}}});var bn=U.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){H.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,r,o,a,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=H.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],i=0,r=l.ticks.length;i<r;++i)a.push({value:l.ticks[i],major:!1});return l._ticks=a,s=c<a.length,o=l._convertTicksToLabels(s?function(e,t){for(var n=[],i=e.length/t,r=0,o=e.length;r<o;r+=i)n.push(e[Math.floor(r)]);return n}(a,c):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var e,t,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,i=!i),n._startPixel=e,n._endPixel=t,n._reversePixels=i,n._length=t-e},afterUpdate:function(){H.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){H.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){H.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){H.callback(this.options.beforeDataLimits,[this])},determineDataLimits:H.noop,afterDataLimits:function(){H.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){H.callback(this.options.beforeBuildTicks,[this])},buildTicks:H.noop,afterBuildTicks:function(e){var t=this;return an(e)&&e.length?H.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=H.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){H.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){H.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){H.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,i,r,o,a,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,h=u.maxRotation,f=d;!s._isVisible()||!u.display||d>=h||c<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,i=Math.min(s.maxWidth,s.chart.width-t),t+6>(r=l.offset?s.maxWidth/c:i/(c-1))&&(r=i/(c-(l.offset?.5:1)),o=s.maxHeight-hn(l.gridLines)-u.padding-fn(l.scaleLabel),a=Math.sqrt(t*t+n*n),f=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,i=e.options,r=i.ticks,o=i.scaleLabel,a=i.gridLines,s=e._isVisible(),l="bottom"===i.position,u=e.isHorizontal();if(u?t.width=e.maxWidth:s&&(t.width=hn(a)+fn(o)),u?s&&(t.height=hn(a)+fn(o)):t.height=e.maxHeight,r.display&&s){var c=mn(r),d=e._getLabelSizes(),h=d.first,f=d.last,p=d.widest,m=d.highest,v=.4*c.minor.lineHeight,g=r.padding;if(u){var b=0!==e.labelRotation,y=H.toRadians(e.labelRotation),w=Math.cos(y),x=Math.sin(y),_=x*p.width+w*(m.height-(b?m.offset:0))+(b?0:v);t.height=Math.min(e.maxHeight,t.height+_+g);var S,E,k=e.getPixelForTick(0)-e.left,C=e.right-e.getPixelForTick(e.getTicks().length-1);b?(S=l?w*h.width+x*h.offset:x*(h.height-h.offset),E=l?x*(f.height-f.offset):w*f.width+x*f.offset):(S=h.width/2,E=f.width/2),e.paddingLeft=Math.max((S-k)*e.width/(e.width-k),0)+3,e.paddingRight=Math.max((E-C)*e.width/(e.width-C),0)+3}else{var T=r.mirror?0:p.width+g+v;t.width=Math.min(e.maxWidth,t.width+T),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}}e.handleMargins(),u?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(sn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,i,r=this;for(r.ticks=e.map((function(e){return e.value})),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),n=0,i=e.length;n<i;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=dn(e.ctx,mn(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,i,r;return an(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),i=Math.min(t,n),r=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),i=e,r=e),{min:i,max:r,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:H.noop,getPixelForValue:H.noop,getValueForPixel:H.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(t?0:1),1);return e<0||e>n-1?null:this.getPixelForDecimal(e*i+(t?i/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,i,r,o=this.options.ticks,a=this._length,s=o.maxTicksLimit||a/this._tickSize()+1,l=o.major.enabled?function(e){var t,n,i=[];for(t=0,n=e.length;t<n;t++)e[t].major&&i.push(t);return i}(e):[],u=l.length,c=l[0],d=l[u-1];if(u>s)return function(e,t,n){var i,r,o=0,a=t[0];for(n=Math.ceil(n),i=0;i<e.length;i++)r=e[i],i===a?(r._index=i,a=t[++o*n]):delete r.label}(e,l,u/s),vn(e);if(i=function(e,t,n,i){var r,o,a,s,l=function(e){var t,n,i=e.length;if(i<2)return!1;for(n=e[0],t=1;t<i;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),u=(t.length-1)/i;if(!l)return Math.max(u,1);for(a=0,s=(r=H.math._factorize(l)).length-1;a<s;a++)if((o=r[a])>u)return o;return Math.max(u,1)}(l,e,0,s),u>0){for(t=0,n=u-1;t<n;t++)gn(e,i,l[t],l[t+1]);return r=u>1?(d-c)/(u-1):null,gn(e,i,H.isNullOrUndef(r)?0:c-r,c),gn(e,i,d,H.isNullOrUndef(r)?e.length:d+r),vn(e)}return gn(e,i),vn(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),o=e.autoSkipPadding||0,a=r?r.widest.width+o:0,s=r?r.highest.height+o:0;return this.isHorizontal()?s*n>a*i?a/n:s/i:s*i<a*n?s/n:a/i},_isVisible:function(){var e,t,n,i=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(e=0,t=i.data.datasets.length;e<t;++e)if(i.isDatasetVisible(e)&&((n=i.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,i,r,o,a,s,l,u,c,d,h,f,p,m,v,g,b=this,y=b.chart,w=b.options,x=w.gridLines,_=w.position,S=x.offsetGridLines,E=b.isHorizontal(),k=b._ticksToDraw,C=k.length+(S?1:0),T=hn(x),M=[],A=x.drawBorder?un(x.lineWidth,0,0):0,O=A/2,P=H._alignPixel,I=function(e){return P(y,e,A)};for("top"===_?(t=I(b.bottom),s=b.bottom-T,u=t-O,d=I(e.top)+O,f=e.bottom):"bottom"===_?(t=I(b.top),d=e.top,f=I(e.bottom)-O,s=t+O,u=b.top+T):"left"===_?(t=I(b.right),a=b.right-T,l=t-O,c=I(e.left)+O,h=e.right):(t=I(b.left),c=e.left,h=I(e.right)-O,a=t+O,l=b.left+T),n=0;n<C;++n)i=k[n]||{},sn(i.label)&&n<k.length||(n===b.zeroLineIndex&&w.offset===S?(p=x.zeroLineWidth,m=x.zeroLineColor,v=x.zeroLineBorderDash||[],g=x.zeroLineBorderDashOffset||0):(p=un(x.lineWidth,n,1),m=un(x.color,n,"rgba(0,0,0,0.1)"),v=x.borderDash||[],g=x.borderDashOffset||0),void 0!==(r=cn(b,i._index||n,S))&&(o=P(y,r,p),E?a=l=c=h=o:s=u=d=f=o,M.push({tx1:a,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:p,color:m,borderDash:v,borderDashOffset:g})));return M.ticksLength=C,M.borderValue=t,M},_computeLabelItems:function(){var e,t,n,i,r,o,a,s,l,u,c,d,h=this,f=h.options,p=f.ticks,m=f.position,v=p.mirror,g=h.isHorizontal(),b=h._ticksToDraw,y=mn(p),w=p.padding,x=hn(f.gridLines),_=-H.toRadians(h.labelRotation),S=[];for("top"===m?(o=h.bottom-x-w,a=_?"left":"center"):"bottom"===m?(o=h.top+x+w,a=_?"right":"center"):"left"===m?(r=h.right-(v?0:x)-w,a=v?"left":"right"):(r=h.left+(v?0:x)+w,a=v?"right":"left"),e=0,t=b.length;e<t;++e)i=(n=b[e]).label,sn(i)||(s=h.getPixelForTick(n._index||e)+p.labelOffset,u=(l=n.major?y.major:y.minor).lineHeight,c=an(i)?i.length:1,g?(r=s,d="top"===m?((_?1:.5)-c)*u:(_?0:.5)*u):(o=s,d=(1-c)*u/2),S.push({x:r,y:o,rotation:_,label:i,font:l,textOffset:d,textAlign:a}));return S},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var i,r,o,a,s,l=t.ctx,u=t.chart,c=H._alignPixel,d=n.drawBorder?un(n.lineWidth,0,0):0,h=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(o=0,a=h.length;o<a;++o)i=(s=h[o]).width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var f,p,m,v,g=d,b=un(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;t.isHorizontal()?(f=c(u,t.left,g)-g/2,p=c(u,t.right,b)+b/2,m=v=y):(m=c(u,t.top,g)-g/2,v=c(u,t.bottom,b)+b/2,f=p=y),l.lineWidth=d,l.strokeStyle=un(n.color,0),l.beginPath(),l.moveTo(f,m),l.lineTo(p,v),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,i,r,o,a,s,l,u=e.ctx,c=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,i=c.length;t<i;++t){if(a=(o=c[t]).font,u.save(),u.translate(o.x,o.y),u.rotate(o.rotation),u.font=a.string,u.fillStyle=a.color,u.textBaseline="middle",u.textAlign=o.textAlign,s=o.label,l=o.textOffset,an(s))for(n=0,r=s.length;n<r;++n)u.fillText(""+s[n],0,l),l+=a.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,i=n.scaleLabel;if(i.display){var r,o,a=ln(i.fontColor,N.global.defaultFontColor),s=H.options._parseFont(i),l=H.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(e.isHorizontal())r=e.left+e.width/2,o="bottom"===c?e.bottom-u-l.bottom:e.top+u+l.top;else{var h="left"===c;r=h?e.left+u+l.top:e.right-u-l.top,o=e.top+e.height/2,d=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(r,o),t.rotate(d),t.textAlign="center",t.textBaseline="middle",t.fillStyle=a,t.font=s.string,t.fillText(i.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,i=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==i&&e.draw===e._draw?[{z:i,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,n=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!e||i.type===e)&&(n?i.xAxisID===t.id:i.yAxisID===t.id)}))}});bn.prototype._draw=bn.prototype.draw;var yn=bn,wn=H.isNullOrUndef,xn=yn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),i=t.options.ticks,r=i.min,o=i.max,a=0,s=n.length-1;void 0!==r&&(e=n.indexOf(r))>=0&&(a=e),void 0!==o&&(e=n.indexOf(o))>=0&&(s=e),t.minIndex=a,t.maxIndex=s,t.min=n[a],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;yn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var i,r,o,a=this;return wn(t)||wn(n)||(e=a.chart.data.datasets[n].data[t]),wn(e)||(i=a.isHorizontal()?e.x:e.y),(void 0!==i||void 0!==e&&isNaN(t))&&(r=a._getLabels(),e=H.valueOrDefault(i,e),t=-1!==(o=r.indexOf(e))?o:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),_n={position:"bottom"};xn._defaults=_n;var Sn=H.noop,En=H.isNullOrUndef,kn=yn.extend({getRightValue:function(e){return"string"==typeof e?+e:yn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=H.sign(e.min),i=H.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,o=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),r!==o&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,i=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Sn,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var n,i,r,o,a=[],s=e.stepSize,l=s||1,u=e.maxTicks-1,c=e.min,d=e.max,h=e.precision,f=t.min,p=t.max,m=H.niceNum((p-f)/u/l)*l;if(m<1e-14&&En(c)&&En(d))return[f,p];(o=Math.ceil(p/m)-Math.floor(f/m))>u&&(m=H.niceNum(o*m/u/l)*l),s||En(h)?n=Math.pow(10,H._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),i=Math.floor(f/m)*m,r=Math.ceil(p/m)*m,s&&(!En(c)&&H.almostWhole(c/m,m/1e3)&&(i=c),!En(d)&&H.almostWhole(d/m,m/1e3)&&(r=d)),o=(r-i)/m,o=H.almostEquals(o,Math.round(o),m/1e3)?Math.round(o):Math.ceil(o),i=Math.round(i*n)/n,r=Math.round(r*n)/n,a.push(En(c)?i:c);for(var v=1;v<o;++v)a.push(Math.round((i+v*m)*n)/n);return a.push(En(d)?r:d),a}(i,e);e.handleDirectionalChanges(),e.max=H.max(r),e.min=H.min(r),t.reverse?(r.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),yn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),i=t.min,r=t.max;yn.prototype._configure.call(t),t.options.offset&&n.length&&(i-=e=(r-i)/Math.max(n.length-1,1)/2,r+=e),t._startValue=i,t._endValue=r,t._valueRange=r-i}}),Cn={position:"left",ticks:{callback:on.formatters.linear}};function Tn(e,t,n,i){var r,o,a=e.options,s=function(e,t,n){var i=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[i]&&(e[i]={pos:[],neg:[]}),e[i]}(t,a.stacked,n),l=s.pos,u=s.neg,c=i.length;for(r=0;r<c;++r)o=e._parseValue(i[r]),isNaN(o.min)||isNaN(o.max)||n.data[r].hidden||(l[r]=l[r]||0,u[r]=u[r]||0,a.relativePoints?l[r]=100:o.min<0||o.max<0?u[r]+=o.min:l[r]+=o.max)}function Mn(e,t,n){var i,r,o=n.length;for(i=0;i<o;++i)r=e._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||t.data[i].hidden||(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}var An=kn.extend({determineDataLimits:function(){var e,t,n,i,r=this,o=r.options,a=r.chart.data.datasets,s=r._getMatchingVisibleMetas(),l=o.stacked,u={},c=s.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===l)for(e=0;!l&&e<c;++e)l=void 0!==(t=s[e]).stack;for(e=0;e<c;++e)n=a[(t=s[e]).index].data,l?Tn(r,u,t,n):Mn(r,t,n);H.each(u,(function(e){i=e.pos.concat(e.neg),r.min=Math.min(r.min,H.min(i)),r.max=Math.max(r.max,H.max(i))})),r.min=H.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=H.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=H.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),On=Cn;An._defaults=On;var Pn=H.valueOrDefault,In=H.math.log10,Ln={position:"left",ticks:{callback:on.formatters.logarithmic}};function Dn(e,t){return H.isFinite(e)&&e>=0?e:t}var jn=yn.extend({determineDataLimits:function(){var e,t,n,i,r,o,a=this,s=a.options,l=a.chart,u=l.data.datasets,c=a.isHorizontal();function d(e){return c?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t)&&void 0!==t.stack){h=!0;break}if(s.stacked||h){var f={};for(e=0;e<u.length;e++){var p=[(t=l.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(l.isDatasetVisible(e)&&d(t))for(void 0===f[p]&&(f[p]=[]),r=0,o=(i=u[e].data).length;r<o;r++){var m=f[p];n=a._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||t.data[r].hidden||n.min<0||n.max<0||(m[r]=m[r]||0,m[r]+=n.max)}}H.each(f,(function(e){if(e.length>0){var t=H.min(e),n=H.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,n)}}))}else for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t))for(r=0,o=(i=u[e].data).length;r<o;r++)n=a._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||t.data[r].hidden||n.min<0||n.max<0||(a.min=Math.min(n.min,a.min),a.max=Math.max(n.max,a.max),0!==n.min&&(a.minNotZero=Math.min(n.min,a.minNotZero)));a.min=H.isFinite(a.min)?a.min:null,a.max=H.isFinite(a.max)?a.max:null,a.minNotZero=H.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=Dn(t.min,e.min),e.max=Dn(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(In(e.min))-1),e.max=Math.pow(10,Math.floor(In(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(In(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(In(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(In(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:Dn(t.min),max:Dn(t.max)},r=e.ticks=function(e,t){var n,i,r=[],o=Pn(e.min,Math.pow(10,Math.floor(In(t.min)))),a=Math.floor(In(t.max)),s=Math.ceil(t.max/Math.pow(10,a));0===o?(n=Math.floor(In(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(o),o=i*Math.pow(10,n)):(n=Math.floor(In(o)),i=Math.floor(o/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(o),10==++i&&(i=1,l=++n>=0?1:l),o=Math.round(i*Math.pow(10,n)*l)/l}while(n<a||n===a&&i<s);var u=Pn(e.max,o);return r.push(u),r}(i,e);e.max=H.max(r),e.min=H.min(r),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),yn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(In(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;yn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Pn(e.options.ticks.fontSize,N.global.defaultFontSize)/e._length),e._startValue=In(t),e._valueOffset=n,e._valueRange=(In(e.max)-In(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(In(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Nn=Ln;jn._defaults=Nn;var Fn=H.valueOrDefault,Rn=H.valueAtIndexOrDefault,$n=H.options.resolve,Bn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:on.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Hn(e){var t=e.ticks;return t.display&&e.display?Fn(t.fontSize,N.global.defaultFontSize)+2*t.backdropPaddingY:0}function zn(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:e<i||e>r?{start:t-n,end:t}:{start:t,end:t+n}}function qn(e){return 0===e||180===e?"center":e<180?"left":"right"}function Wn(e,t,n,i){var r,o,a=n.y+i/2;if(H.isArray(t))for(r=0,o=t.length;r<o;++r)e.fillText(t[r],n.x,a),a+=i;else e.fillText(t,n.x,a)}function Vn(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function Yn(e){return H.isNumber(e)?e:0}var Gn=kn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Hn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;H.each(t.data.datasets,(function(r,o){if(t.isDatasetVisible(o)){var a=t.getDatasetMeta(o);H.each(r.data,(function(t,r){var o=+e.getRightValue(t);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=i===Number.NEGATIVE_INFINITY?0:i,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Hn(this.options))},convertTicksToLabels:function(){var e=this;kn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=H.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,i,r=H.options._parseFont(e.options.pointLabels),o={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=r.string,e._pointLabelSizes=[];var s,l,u,c=e.chart.data.labels.length;for(t=0;t<c;t++){i=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,l=r.lineHeight,u=e.pointLabels[t],n=H.isArray(u)?{w:H.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},e._pointLabelSizes[t]=n;var d=e.getIndexAngle(t),h=H.toDegrees(d)%360,f=zn(h,i.x,n.w,0,180),p=zn(h,i.y,n.h,90,270);f.start<o.l&&(o.l=f.start,a.l=d),f.end>o.r&&(o.r=f.end,a.r=d),p.start<o.t&&(o.t=p.start,a.t=d),p.end>o.b&&(o.b=p.end,a.b=d)}e.setReductions(e.drawingArea,o,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=this,r=t.l/Math.sin(n.l),o=Math.max(t.r-i.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Yn(r),o=Yn(o),a=Yn(a),s=Yn(s),i.drawingArea=Math.min(Math.floor(e-(r+o)/2),Math.floor(e-(a+s)/2)),i.setCenterPoint(r,o,a,s)},setCenterPoint:function(e,t,n,i){var r=this,o=r.width-t-r.drawingArea,a=e+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((a+o)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(H.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,i=this,r=i.ctx,o=i.options,a=o.gridLines,s=o.angleLines,l=Fn(s.lineWidth,a.lineWidth),u=Fn(s.color,a.color);if(o.pointLabels.display&&function(e){var t=e.ctx,n=e.options,i=n.pointLabels,r=Hn(n),o=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),a=H.options._parseFont(i);t.save(),t.font=a.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=e.getPointPosition(s,o+l+5),c=Rn(i.fontColor,s,N.global.defaultFontColor);t.fillStyle=c;var d=e.getIndexAngle(s),h=H.toDegrees(d);t.textAlign=qn(h),Vn(h,e._pointLabelSizes[s],u),Wn(t,e.pointLabels[s],u,a.lineHeight)}t.restore()}(i),a.display&&H.each(i.ticks,(function(e,n){0!==n&&(t=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(e,t,n,i){var r,o=e.ctx,a=t.circular,s=e.chart.data.labels.length,l=Rn(t.color,i-1),u=Rn(t.lineWidth,i-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(t.borderDash||[]),o.lineDashOffset=t.borderDashOffset||0),o.beginPath(),a)o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{r=e.getPointPosition(0,n),o.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=e.getPointPosition(c,n),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}(i,a,t,n))})),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash($n([s.borderDash,a.borderDash,[]])),r.lineDashOffset=$n([s.borderDashOffset,a.borderDashOffset,0])),e=i.chart.data.labels.length-1;e>=0;e--)t=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),n=i.getPointPosition(e,t),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var i,r,o=e.getIndexAngle(0),a=H.options._parseFont(n),s=Fn(n.fontColor,N.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",H.each(e.ticks,(function(o,l){(0!==l||n.reverse)&&(i=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=t.measureText(o).width,t.fillStyle=n.backdropColor,t.fillRect(-r/2-n.backdropPaddingX,-i-a.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(o,0,-i))})),t.restore()}},_drawTitle:H.noop}),Un=Bn;Gn._defaults=Un;var Xn=H._deprecated,Kn=H.options.resolve,Zn=H.valueOrDefault,Jn=Number.MIN_SAFE_INTEGER||-9007199254740991,Qn=Number.MAX_SAFE_INTEGER||9007199254740991,ei={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ti=Object.keys(ei);function ni(e,t){return e-t}function ii(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function ri(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function oi(e,t,n,i){var r=function(e,t,n){for(var i,r,o,a=0,s=e.length-1;a>=0&&a<=s;){if(r=e[(i=a+s>>1)-1]||null,o=e[i],!r)return{lo:null,hi:o};if(o[t]<n)a=i+1;else{if(!(r[t]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}(e,t,n),o=r.lo?r.hi?r.lo:e[e.length-2]:e[0],a=r.lo?r.hi?r.hi:e[e.length-1]:e[1],s=a[t]-o[t],l=s?(n-o[t])/s:0,u=(a[i]-o[i])*l;return o[i]+u}function ai(e,t){var n=e._adapter,i=e.options.time,r=i.parser,o=r||i.format,a=t;return"function"==typeof r&&(a=r(a)),H.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(t),H.isFinite(a)||(a=n.parse(a))),a)}function si(e,t){if(H.isNullOrUndef(t))return null;var n=e.options.time,i=ai(e,e.getRightValue(t));return null===i?i:(n.round&&(i=+e._adapter.startOf(i,n.round)),i)}function li(e,t,n,i){var r,o,a,s=ti.length;for(r=ti.indexOf(e);r<s-1;++r)if(a=(o=ei[ti[r]]).steps?o.steps:Qn,o.common&&Math.ceil((n-t)/(a*o.size))<=i)return ti[r];return ti[s-1]}function ui(e,t,n){var i,r,o=[],a={},s=t.length;for(i=0;i<s;++i)a[r=t[i]]=i,o.push({value:r,major:!1});return 0!==s&&n?function(e,t,n,i){var r,o,a=e._adapter,s=+a.startOf(t[0].value,i),l=t[t.length-1].value;for(r=s;r<=l;r=+a.add(r,1,i))(o=n[r])>=0&&(t[o].major=!0);return t}(e,o,a,n):o}var ci=yn.extend({initialize:function(){this.mergeTicksOptions(),yn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),i=e._adapter=new rn._date(t.adapters.date);return Xn("time scale",n.format,"time.format","time.parser"),Xn("time scale",n.min,"time.min","ticks.min"),Xn("time scale",n.max,"time.max","ticks.max"),H.mergeIf(n.displayFormats,i.formats()),yn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),yn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,r,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=Qn,f=Jn,p=[],m=[],v=[],g=s._getLabels();for(e=0,n=g.length;e<n;++e)v.push(si(s,g[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if(r=l.data.datasets[e].data,H.isObject(r[0]))for(m[e]=[],t=0,i=r.length;t<i;++t)o=si(s,r[t]),p.push(o),m[e][t]=o;else m[e]=v.slice(0),a||(p=p.concat(v),a=!0);else m[e]=[];v.length&&(h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),p.length&&(p=n>1?function(e){var t,n,i,r={},o=[];for(t=0,n=e.length;t<n;
vendor: 5,580 bytes, line 2
2++t)r[i=e[t]]||(r[i]=!0,o.push(i));return o}(p).sort(ni):p.sort(ni),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=si(s,ii(c))||h,f=si(s,ri(c))||f,h=h===Qn?+u.startOf(Date.now(),d):h,f=f===Jn?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:m,labels:v}},buildTicks:function(){var e,t,n,i=this,r=i.min,o=i.max,a=i.options,s=a.ticks,l=a.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),h=s.source,f=a.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:function(e,t,n,i){var r,o=e._adapter,a=e.options,s=a.time,l=s.unit||li(s.minUnit,t,n,i),u=Kn([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=t,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,t,l)>1e5*u)throw t+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+o.add(r,u,l))h.push(r);return r!==n&&"ticks"!==a.bounds||h.push(r),h}(i,r,o,d),"ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=si(i,ii(a))||r,o=si(i,ri(a))||o,e=0,t=u.length;e<t;++e)(n=u[e])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=l.unit||(s.autoSkip?li(l.minUnit,i.min,i.max,d):function(e,t,n,i,r){var o,a;for(o=ti.length-1;o>=ti.indexOf(n);o--)if(a=ti[o],ei[a].common&&e._adapter.diff(r,i,a)>=t-1)return a;return ti[n?ti.indexOf(n):0]}(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(e){for(var t=ti.indexOf(e)+1,n=ti.length;t<n;++t)if(ei[ti[t]].common)return ti[t]}(i._unit):void 0,i._table=function(e,t,n,i){if("linear"===i||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var r,o,a,s,l,u=[],c=[t];for(r=0,o=e.length;r<o;++r)(s=e[r])>t&&s<n&&c.push(s);for(c.push(n),r=0,o=c.length;r<o;++r)l=c[r+1],a=c[r-1],s=c[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:r/(o-1)});return u}(i._timestamps.data,r,o,f),i._offsets=function(e,t,n,i,r){var o,a,s=0,l=0;return r.offset&&t.length&&(o=oi(e,"time",t[0],"pos"),s=1===t.length?1-o:(oi(e,"time",t[1],"pos")-o)/2,a=oi(e,"time",t[t.length-1],"pos"),l=1===t.length?a:(a-oi(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,c,0,0,a),s.reverse&&c.reverse(),ui(i,c,i._majorUnit)},getLabelForIndex:function(e,t){var n=this,i=n._adapter,r=n.chart.data,o=n.options.time,a=r.labels&&e<r.labels.length?r.labels[e]:"",s=r.datasets[t].data[e];return H.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?i.format(ai(n,a),o.tooltipFormat):"string"==typeof a?a:i.format(ai(n,a),o.displayFormats.datetime)},tickFormatFunction:function(e,t,n,i){var r=this._adapter,o=this.options,a=o.time.displayFormats,s=a[this._unit],l=this._majorUnit,u=a[l],c=n[t],d=o.ticks,h=l&&u&&c&&c.major,f=r.format(e,i||(h?u:s)),p=h?d.major:d.minor,m=Kn([p.callback,p.userCallback,d.callback,d.userCallback]);return m?m(f,t,n):f},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(e[t].value,t,e));return i},getPixelForOffset:function(e){var t=this._offsets,n=oi(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var i=null;if(void 0!==t&&void 0!==n&&(i=this._timestamps.datasets[n][t]),null===i&&(i=si(this,e)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,i=oi(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,i=H.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(i),o=Math.sin(i),a=Zn(t.fontSize,N.global.defaultFontSize);return{w:n*r+a*o,h:n*o+a*r}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=t.tickFormatFunction(e,0,ui(t,[e],t._majorUnit),r),a=t._getLabelSize(o),s=Math.floor(t.isHorizontal()?t.width/a.w:t.height/a.h);return t.options.offset&&s--,s>0?s:1}}),di={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};ci._defaults=di;var hi={category:xn,linear:An,logarithmic:jn,radialLinear:Gn,time:ci},fi={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};rn._date.override("function"==typeof e?{_id:"moment",formats:function(){return fi},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,i){return e(t).add(n,i).valueOf()},diff:function(t,n,i){return e(t).diff(e(n),i)},startOf:function(t,n,i){return t=e(t),"isoWeek"===n?t.isoWeekday(i).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),N._set("global",{plugins:{filler:{propagate:!0}}});var pi={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),r=i&&n.isDatasetVisible(t)&&i.dataset._children||[],o=r.length||0;return o?function(e,t){return t<o&&r[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,i=t?t.y:null;return H.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===i?e.y:i}}}};
vendor: 16,172 bytes, line 2
2function mi(e,t,n){var i,r=e._model||{},o=r.fill;if(void 0===o&&(o=!!r.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=t+i),!(i===t||i<0||i>=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function vi(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,i,r,o,a=e.el._scale,s=a.options,l=a.chart.data.labels.length,u=e.fill,c=[];if(!l)return null;for(t=s.ticks.reverse?a.max:a.min,n=s.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,t),r=0;r<l;++r)o="start"===u||"end"===u?a.getPointPositionForValue(r,"start"===u?t:n):a.getBasePosition(r),s.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(r)-Math.PI/2),c.push(o);return c}(e):function(e){var t,n=e.el._model||{},i=e.el._scale||{},r=e.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePixel&&(o=i.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if(H.isFinite(o))return{x:(t=i.isHorizontal())?o:null,y:t?null:o}}return null}(e)}function gi(e,t,n){var i,r=e[t].fill,o=[t];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=e[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}function bi(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),pi[n](e))}function yi(e){return e&&!e.skip}function wi(e,t,n,i,r){var o,a,s,l;if(i&&r){for(e.moveTo(t[0].x,t[0].y),o=1;o<i;++o)H.canvas.lineTo(e,t[o-1],t[o]);if(void 0===n[0].angle)for(e.lineTo(n[r-1].x,n[r-1].y),o=r-1;o>0;--o)H.canvas.lineTo(e,n[o],n[o-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),o=r-1;o>0;--o)e.arc(a,s,l,n[o].angle,n[o-1].angle,!0)}}function xi(e,t,n,i,r,o){var a,s,l,u,c,d,h,f,p=t.length,m=i.spanGaps,v=[],g=[],b=0,y=0;for(e.beginPath(),a=0,s=p;a<s;++a)c=n(u=t[l=a%p]._view,l,i),d=yi(u),h=yi(c),o&&void 0===f&&d&&(s=p+(f=a+1)),d&&h?(b=v.push(u),y=g.push(c)):b&&y&&(m?(d&&v.push(u),h&&g.push(c)):(wi(e,v,g,b,y),b=y=0,v=[],g=[]));wi(e,v,g,b,y),e.closePath(),e.fillStyle=r,e.fill()}var _i={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,r,o,a=(e.data.datasets||[]).length,s=t.propagate,l=[];for(i=0;i<a;++i)o=null,(r=(n=e.getDatasetMeta(i)).dataset)&&r._model&&r instanceof xe.Line&&(o={visible:e.isDatasetVisible(i),fill:mi(r,i,a),chart:e,el:r}),n.$filler=o,l.push(o);for(i=0;i<a;++i)(o=l[i])&&(o.fill=gi(l,i,s),o.boundary=vi(o),o.mapper=bi(o))},beforeDatasetsDraw:function(e){var t,n,i,r,o,a,s,l=e._getSortedVisibleDatasetMetas(),u=e.ctx;for(n=l.length-1;n>=0;--n)(t=l[n].$filler)&&t.visible&&(r=(i=t.el)._view,o=i._children||[],a=t.mapper,s=r.backgroundColor||N.global.defaultColor,a&&s&&o.length&&(H.canvas.clipArea(u,e.chartArea),xi(u,o,a,r,s,i._loop),H.canvas.unclipArea(u)))}},Si=H.rtl.getRtlAdapter,Ei=H.noop,ki=H.valueOrDefault;function Ci(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}N._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},i=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:t[n.index].label,fillStyle:r.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,n=o.length;t<n;t++)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[t].backgroundColor,o[t].label&&i.appendChild(document.createTextNode(o[t].label));return r.outerHTML}});var Ti=U.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:Ei,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ei,beforeSetDimensions:Ei,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Ei,beforeBuildLabels:Ei,buildLabels:function(){var e=this,t=e.options.labels||{},n=H.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:Ei,beforeFit:Ei,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,r=e.ctx,o=H.options._parseFont(n),a=o.size,s=e.legendHitBoxes=[],l=e.minSize,u=e.isHorizontal();if(u?(l.width=e.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=e.maxHeight),i){if(r.font=o.string,u){var c=e.lineWidths=[0],d=0;r.textAlign="left",r.textBaseline="middle",H.each(e.legendItems,(function(e,t){var i=Ci(n,a)+a/2+r.measureText(e.text).width;(0===t||c[c.length-1]+i+2*n.padding>l.width)&&(d+=a+n.padding,c[c.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:i,height:a},c[c.length-1]+=i+n.padding})),l.height+=d}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,v=0,g=0;H.each(e.legendItems,(function(e,t){var i=Ci(n,a)+a/2+r.measureText(e.text).width;t>0&&g+a+2*h>l.height&&(m+=v+n.padding,f.push(v),p.push(g),v=0,g=0),v=Math.max(v,i),g+=a+h,s[t]={left:0,top:0,width:i,height:a}})),m+=v,f.push(v),p.push(g),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:Ei,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=N.global,r=i.defaultColor,o=i.elements.line,a=e.height,s=e.columnHeights,l=e.width,u=e.lineWidths;if(t.display){var c,d=Si(t.rtl,e.left,e.minSize.width),h=e.ctx,f=ki(n.fontColor,i.defaultFontColor),p=H.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var v=Ci(n,m),g=e.legendHitBoxes,b=function(e,i){switch(t.align){case"start":return n.padding;case"end":return e-i;default:return(e-i+n.padding)/2}},y=e.isHorizontal();c=y?{x:e.left+b(l,u[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+b(a,s[0]),line:0},H.rtl.overrideTextDirection(e.ctx,t.textDirection);var w=m+n.padding;H.each(e.legendItems,(function(t,i){var f=h.measureText(t.text).width,p=v+m/2+f,x=c.x,_=c.y;d.setWidth(e.minSize.width),y?i>0&&x+p+n.padding>e.left+e.minSize.width&&(_=c.y+=w,c.line++,x=c.x=e.left+b(l,u[c.line])):i>0&&_+w>e.top+e.minSize.height&&(x=c.x=x+e.columnWidths[c.line]+n.padding,c.line++,_=c.y=e.top+b(a,s[c.line]));var S=d.x(x);!function(e,t,i){if(!(isNaN(v)||v<=0)){h.save();var a=ki(i.lineWidth,o.borderWidth);if(h.fillStyle=ki(i.fillStyle,r),h.lineCap=ki(i.lineCap,o.borderCapStyle),h.lineDashOffset=ki(i.lineDashOffset,o.borderDashOffset),h.lineJoin=ki(i.lineJoin,o.borderJoinStyle),h.lineWidth=a,h.strokeStyle=ki(i.strokeStyle,r),h.setLineDash&&h.setLineDash(ki(i.lineDash,o.borderDash)),n&&n.usePointStyle){var s=v*Math.SQRT2/2,l=d.xPlus(e,v/2),u=t+m/2;H.canvas.drawPoint(h,i.pointStyle,s,l,u,i.rotation)}else h.fillRect(d.leftForLtr(e,v),t,v,m),0!==a&&h.strokeRect(d.leftForLtr(e,v),t,v,m);h.restore()}}(S,_,t),g[i].left=d.leftForLtr(S,g[i].width),g[i].top=_,function(e,t,n,i){var r=m/2,o=d.xPlus(e,v+r),a=t+r;h.fillText(n.text,o,a),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,a),h.lineTo(d.xPlus(o,i),a),h.stroke())}(S,_,t,f),y?c.x+=p+n.padding:c.y+=w})),H.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,i,r,o=this;if(e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom)for(r=o.legendHitBoxes,n=0;n<r.length;++n)if(e>=(i=r[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return o.legendItems[n];return null},handleEvent:function(e){var t,n=this,i=n.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===r?t&&i.onClick&&i.onClick.call(n,e.native,t):(i.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),i.onHover&&t&&i.onHover.call(n,e.native,t))}});function Mi(e,t){var n=new Ti({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.legend=n}var Ai={id:"legend",_element:Ti,beforeInit:function(e){var t=e.options.legend;t&&Mi(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(H.mergeIf(t,N.global.legend),n?(pt.configure(e,n,t),n.options=t):Mi(e,t)):n&&(pt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Oi=H.noop;N._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Pi=U.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:Oi,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Oi,beforeSetDimensions:Oi,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Oi,beforeBuildLabels:Oi,buildLabels:Oi,afterBuildLabels:Oi,beforeFit:Oi,fit:function(){var e,t=this,n=t.options,i=t.minSize={},r=t.isHorizontal();n.display?(e=(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,t.width=i.width=r?t.maxWidth:e,t.height=i.height=r?e:t.maxHeight):t.width=i.width=t.height=i.height=0},afterFit:Oi,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var i,r,o,a=H.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,u=0,c=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=H.valueOrDefault(n.fontColor,N.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(r=d+(f-d)/2,o=c+l,i=f-d):(r="left"===n.position?d+l:f-l,o=c+(h-c)/2,i=h-c,u=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(r,o),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var p=n.text;if(H.isArray(p))for(var m=0,v=0;v<p.length;++v)t.fillText(p[v],0,m,i),m+=s;else t.fillText(p,0,0,i);t.restore()}}});function Ii(e,t){var n=new Pi({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.titleBlock=n}var Li={},Di=_i,ji=Ai,Ni={id:"title",_element:Pi,beforeInit:function(e){var t=e.options.title;t&&Ii(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(H.mergeIf(t,N.global.title),n?(pt.configure(e,n,t),n.options=t):Ii(e,t)):n&&(pt.removeBox(e,n),delete e.titleBlock)}};for(var Fi in Li.filler=Di,Li.legend=ji,Li.title=Ni,en.helpers=H,function(){function e(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function t(e){return null!=e&&"none"!==e}function n(n,i,r){var o=document.defaultView,a=H._getParentNode(n),s=o.getComputedStyle(n)[i],l=o.getComputedStyle(a)[i],u=t(s),c=t(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,n,r):d,c?e(l,a,r):d):"none"}H.where=function(e,t){if(H.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return H.each(e,(function(e){t(e)&&n.push(e)})),n},H.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,r=e.length;i<r;++i)if(t.call(n,e[i],i,e))return i;return-1},H.findNextWhere=function(e,t,n){H.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var r=e[i];if(t(r))return r}},H.findPreviousWhere=function(e,t,n){H.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;i>=0;i--){var r=e[i];if(t(r))return r}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,n){return Math.abs(e-t)<n},H.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},H.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},H.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,n){var i=e.currentDevicePixelRatio,r=n/2;return Math.round((t-r)*i)/i+r},H.splineCurve=function(e,t,n,i){var r=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+h*(a.x-r.x),y:o.y+h*(a.y-r.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,n,i,r,o,a,s,l,u,c=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=c.length;for(t=0;t<d;++t)if(!(i=c[t]).model.skip){if(n=t>0?c[t-1]:null,(r=t<d-1?c[t+1]:null)&&!r.model.skip){var h=r.model.x-i.model.x;i.deltaK=0!==h?(r.model.y-i.model.y)/h:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(t=0;t<d-1;++t)i=c[t],r=c[t+1],i.model.skip||r.model.skip||(H.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(o=i.mK/i.deltaK,a=r.mK/i.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),i.mK=o*s*i.deltaK,r.mK=a*s*i.deltaK)));for(t=0;t<d;++t)(i=c[t]).model.skip||(n=t>0?c[t-1]:null,r=t<d-1?c[t+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),r&&!r.model.skip&&(u=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},H.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var n=Math.floor(H.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,o=e.target||e.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(H.getStyle(o,"padding-left")),u=parseFloat(H.getStyle(o,"padding-top")),c=p
2arseFloat(H.getStyle(o,"padding-right")),d=parseFloat(H.getStyle(o,"padding-bottom")),h=a.right-a.left-l-c,f=a.bottom-a.top-u-d;return{x:n=Math.round((n-a.left-l)/h*o.width/t.currentDevicePixelRatio),y:i=Math.round((i-a.top-u)/f*o.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,n){return(t=H.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,i=n-H._calculatePadding(t,"padding-left",n)-H._calculatePadding(t,"padding-right",n),r=H.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,i=n-H._calculatePadding(t,"padding-top",n)-H._calculatePadding(t,"padding-bottom",n),r=H.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=e.canvas,r=e.height,o=e.width;i.height=r*n,i.width=o*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},H.fontString=function(e,t,n){return t+" "+e+"px "+n},H.longestText=function(e,t,n,i){var r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},o=i.garbageCollect=[],i.font=t),e.font=t;var a,s,l,u,c,d=0,h=n.length;for(a=0;a<h;a++)if(null!=(u=n[a])&&!0!==H.isArray(u))d=H.measureText(e,r,o,d,u);else if(H.isArray(u))for(s=0,l=u.length;s<l;s++)null==(c=u[s])||H.isArray(c)||(d=H.measureText(e,r,o,d,c));var f=o.length/2;if(f>n.length){for(a=0;a<f;a++)delete r[o[a]];o.splice(0,f)}return d},H.measureText=function(e,t,n,i,r){var o=t[r];return o||(o=t[r]=e.measureText(r).width,n.push(r)),o>i&&(i=o),i},H.numberOfLabelLines=function(e){var t=1;return H.each(e,(function(e){H.isArray(e)&&e.length>t&&(t=e.length)})),t},H.color=_?function(e){return e instanceof CanvasGradient&&(e=N.global.defaultColor),_(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),en._adapters=rn,en.Animation=K,en.animationService=Z,en.controllers=Ze,en.DatasetController=ne,en.defaults=N,en.Element=U,en.elements=xe,en.Interaction=rt,en.layouts=pt,en.platform=It,en.plugins=Lt,en.Scale=yn,en.scaleService=Dt,en.Ticks=on,en.Tooltip=Vt,en.helpers.each(hi,(function(e,t){en.scaleService.registerScaleType(t,e,e._defaults)})),Li)Li.hasOwnProperty(Fi)&&en.plugins.register(Li[Fi]);en.platform.initialize();var Ri=en;return"undefined"!=typeof window&&(window.Chart=en),en.Chart=en,en.Legend=Li.legend._element,en.Title=Li.title._element,en.pluginService=en.plugins,en.PluginBase=en.Element.extend({}),en.canvasHelpers=en.helpers.canvas,en.layoutService=en.layouts,en.LinearScaleBase=kn,en.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){en[e]=function(t,n){return new en(t,en.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),Ri}(function(){try{return n(464)}catch(e){}}())},function(e,t,n){e.exports=n(469)},function(e,t,n){"use strict";n(275);var i,r=(i=n(448))&&i.__esModule?i:{default:i};r.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),r.default._babelPolyfill=!0},function(e,t,n){"use strict";n(276),n(419),n(421),n(424),n(426),n(428),n(430),n(432),n(434),n(436),n(438),n(440),n(442),n(446)},function(e,t,n){n(277),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(358),n(359),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(143),n(382),n(255),n(383),n(256),n(384),n(385),n(386),n(387),n(257),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405),n(4
vendor: 42,444 bytes, line 2
206),n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),e.exports=n(16)},function(e,t,n){"use strict";var i=n(4),r=n(28),o=n(17),a=n(1),s=n(24),l=n(54).KEY,u=n(5),c=n(111),d=n(74),h=n(57),f=n(11),p=n(124),m=n(236),v=n(279),g=n(114),b=n(6),y=n(7),w=n(22),x=n(30),_=n(53),S=n(56),E=n(61),k=n(239),C=n(39),T=n(113),M=n(18),A=n(59),O=C.f,P=M.f,I=k.f,L=i.Symbol,D=i.JSON,j=D&&D.stringify,N=f("_hidden"),F=f("toPrimitive"),R={}.propertyIsEnumerable,$=c("symbol-registry"),B=c("symbols"),H=c("op-symbols"),z=Object.prototype,q="function"==typeof L&&!!T.f,W=i.QObject,V=!W||!W.prototype||!W.prototype.findChild,Y=o&&u((function(){return 7!=E(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=O(z,t);i&&delete z[t],P(e,t,n),i&&e!==z&&P(z,t,i)}:P,G=function(e){var t=B[e]=E(L.prototype);return t._k=e,t},U=q&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},X=function(e,t,n){return e===z&&X(H,t,n),b(e),t=_(t,!0),b(n),r(B,t)?(n.enumerable?(r(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:S(0,!1)})):(r(e,N)||P(e,N,S(1,{})),e[N][t]=!0),Y(e,t,n)):P(e,t,n)},K=function(e,t){b(e);for(var n,i=v(t=x(t)),r=0,o=i.length;o>r;)X(e,n=i[r++],t[n]);return e},Z=function(e){var t=R.call(this,e=_(e,!0));return!(this===z&&r(B,e)&&!r(H,e))&&(!(t||!r(this,e)||!r(B,e)||r(this,N)&&this[N][e])||t)},J=function(e,t){if(e=x(e),t=_(t,!0),e!==z||!r(B,t)||r(H,t)){var n=O(e,t);return!n||!r(B,t)||r(e,N)&&e[N][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=I(x(e)),i=[],o=0;n.length>o;)r(B,t=n[o++])||t==N||t==l||i.push(t);return i},ee=function(e){for(var t,n=e===z,i=I(n?H:x(e)),o=[],a=0;i.length>a;)!r(B,t=i[a++])||n&&!r(z,t)||o.push(B[t]);return o};q||(s((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(H,n),r(this,N)&&r(this[N],e)&&(this[N][e]=!1),Y(this,e,S(1,n))};return o&&V&&Y(z,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",(function(){return this._k})),C.f=J,M.f=X,n(62).f=k.f=Q,n(83).f=Z,T.f=ee,o&&!n(58)&&s(z,"propertyIsEnumerable",Z,!0),p.f=function(e){return G(f(e))}),a(a.G+a.W+a.F*!q,{Symbol:L});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var ie=A(f.store),re=0;ie.length>re;)m(ie[re++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return r($,e+="")?$[e]:$[e]=L(e)},keyFor:function(e){if(!U(e))throw TypeError(e+" is not a symbol!");for(var t in $)if($[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!q,"Object",{create:function(e,t){return void 0===t?E(e):K(E(e),t)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var oe=u((function(){T.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return T.f(w(e))}}),D&&a(a.S+a.F*(!q||u((function(){var e=L();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(y(t)||void 0!==e)&&!U(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!U(t))return t}),i[1]=t,j.apply(D,i)}}),L.prototype[F]||n(29)(L.prototype,F,L.prototype.valueOf),d(L,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,n){e.exports=n(111)("native-function-to-string",Function.toString)},function(e,t,n){var i=n(59),r=n(113),o=n(83);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var i=n(1);i(i.S,"Object",{create:n(61)})},function(e,t,n){var i=n(1);i(i.S+i.F*!n(17),"Object",{defineProperty:n(18).f})},function(e,t,n){var i=n(1);i(i.S+i.F*!n(17),"Object",{defineProperties:n(238)})},function(e,t,n){var i=n(30),r=n(39).f;n(40)("getOwnPropertyDescriptor",(function(){return function(e,t){return r(i(e),t)}}))},function(e,t,n){var i=n(22),r=n(63);n(40)("getPrototypeOf",(function(){return function(e){return r(i(e))}}))},function(e,t,n){var i=n(22),r=n(59);n(40)("keys",(function(){return function(e){return r(i(e))}}))},function(e,t,n){n(40)("getOwnPropertyNames",(function(){return n(239).f}))},function(e,t,n){var i=n(7),r=n(54).onFreeze;n(40)("freeze",(function(e){return function(t){return e&&i(t)?e(r(t)):t}}))},function(e,t,n){var i=n(7),r=n(54).onFreeze;n(40)("seal",(function(e){return function(t){return e&&i(t)?e(r(t)):t}}))},function(e,t,n){var i=n(7),r=n(54).onFreeze;n(40)("preventExtensions",(function(e){return function(t){return e&&i(t)?e(r(t)):t}}))},function(e,t,n){var i=n(7);n(40)("isFrozen",(function(e){return function(t){return!i(t)||!!e&&e(t)}}))},function(e,t,n){var i=n(7);n(40)("isSealed",(function(e){return function(t){return!i(t)||!!e&&e(t)}}))},function(e,t,n){var i=n(7);n(40)("isExtensible",(function(e){return function(t){return!!i(t)&&(!e||e(t))}}))},function(e,t,n){var i=n(1);i(i.S+i.F,"Object",{assign:n(240)})},function(e,t,n){var i=n(1);i(i.S,"Object",{is:n(241)})},function(e,t,n){var i=n(1);i(i.S,"Object",{setPrototypeOf:n(128).set})},function(e,t,n){"use strict";var i=n(84),r={};r[n(11)("toStringTag")]="z",r+""!="[object z]"&&n(24)(Object.prototype,"toString",(function(){return"[object "+i(this)+"]"}),!0)},function(e,t,n){var i=n(1);i(i.P,"Function",{bind:n(242)})},function(e,t,n){var i=n(18).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(17)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var i=n(7),r=n(63),o=n(11)("hasInstance"),a=Function.prototype;o in a||n(18).f(a,o,{value:function(e){if("function"!=typeof this||!i(e))return!1;if(!i(this.prototype))return e instanceof this;for(;e=r(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var i=n(1),r=n(244);i(i.G+i.F*(parseInt!=r),{parseInt:r})},function(e,t,n){var i=n(1),r=n(245);i(i.G+i.F*(parseFloat!=r),{parseFloat:r})},function(e,t,n){"use strict";var i=n(4),r=n(28),o=n(42),a=n(130),s=n(53),l=n(5),u=n(62).f,c=n(39).f,d=n(18).f,h=n(75).trim,f=i.Number,p=f,m=f.prototype,v="Number"==o(n(61)(m)),g="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,i,r,o=(t=g?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;u<c;u++)if((a=l.charCodeAt(u))<48||a>r)return NaN;return parseInt(l,i)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(v?l((function(){m.valueOf.call(n)})):"Number"!=o(n))?a(new p(b(t)),n,f):b(t)};for(var y,w=n(17)?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)r(p,y=w[x])&&!r(f,y)&&d(f,y,c(p,y));f.prototype=m,m.constructor=f,n(24)(i,"Number",f)}},function(e,t,n){"use strict";var i=n(1),r=n(38),o=n(246),a=n(131),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*u[n],u[n]=i%1e7,i=l(i/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=l(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};i(i.P+i.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(5)((function(){s.call({})}))),"Number",{toFixed:function(e){var t,n,i,s,l=o(this,c),u=r(e),m="",v="0";if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*p(2,69,1))-69)<0?l*p(2,-t,1):l/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),i=u;i>=7;)d(1e7,0),i-=7;for(d(p(10,i,1),0),i=t-1;i>=23;)h(1<<23),i-=23;h(1<<i),d(1,1),h(2),v=f()}else d(0,n),d(1<<-t,0),v=f()+a.call("0",u);return v=u>0?m+((s=v.length)<=u?"0."+a.call("0",u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u)):m+v}})},function(e,t,n){"use strict";var i=n(1),r=n(5),o=n(246),a=1..toPrecision;i(i.P+i.F*(r((function(){return"1"!==a.call(1,void 0)}))||!r((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var i=n(1);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var i=n(1),r=n(4).isFinite;i(i.S,"Number",{isFinite:function(e){return"number"==typeof e&&r(e)}})},function(e,t,n){var i=n(1);i(i.S,"Number",{isInteger:n(247)})},function(e,t,n){var i=n(1);i(i.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var i=n(1),r=n(247),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return r(e)&&o(e)<=9007199254740991}})},function(e,t,n){var i=n(1);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var i=n(1);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var i=n(1),r=n(245);i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(e,t,n){var i=n(1),r=n(244);i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(e,t,n){var i=n(1),r=n(248),o=Math.sqrt,a=Math.acosh;i(i.S+i.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:r(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var i=n(1),r=Math.asinh;i(i.S+i.F*!(r&&1/r(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var i=n(1),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var i=n(1),r=n(132);i(i.S,"Math",{cbrt:function(e){return r(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var i=n(1);i(i.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var i=n(1),r=Math.exp;i(i.S,"Math",{cosh:function(e){return(r(e=+e)+r(-e))/2}})},function(e,t,n){var i=n(1),r=n(133);i(i.S+i.F*(r!=Math.expm1),"Math",{expm1:r})},function(e,t,n){var i=n(1);i(i.S,"Math",{fround:n(322)})},function(e,t,n){var i=n(132),r=Math.pow,o=r(2,-52),a=r(2,-23),s=r(2,127)*(2-a),l=r(2,-126);e.exports=Math.fround||function(e){var t,n,r=Math.abs(e),u=i(e);return r<l?u*(r/l/a+1/o-1/o)*l*a:(n=(t=(1+a/o)*r)-(t-r))>s||n!=n?u*(1/0):u*n}},function(e,t,n){var i=n(1),r=Math.abs;i(i.S,"Math",{hypot:function(e,t){for(var n,i,o=0,a=0,s=arguments.length,l=0;a<s;)l<(n=r(arguments[a++]))?(o=o*(i=l/n)*i+1,l=n):o+=n>0?(i=n/l)*i:n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(e,t,n){var i=n(1),r=Math.imul;i(i.S+i.F*n(5)((function(){return-5!=r(4294967295,5)||2!=r.length})),"Math",{imul:function(e,t){var n=+e,i=+t,r=65535&n,o=65535&i;return 0|r*o+((65535&n>>>16)*o+r*(65535&i>>>16)<<16>>>0)}})},function(e,t,n){var i=n(1);i(i.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var i=n(1);i(i.S,"Math",{log1p:n(248)})},function(e,t,n){var i=n(1);i(i.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var i=n(1);i(i.S,"Math",{sign:n(132)})},function(e,t,n){var i=n(1),r=n(133),o=Math.exp;i(i.S+i.F*n(5)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(r(e)-r(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var i=n(1),r=n(133),o=Math.exp;i(i.S,"Math",{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var i=n(1);i(i.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var i=n(1),r=n(60),o=String.fromCharCode,a=String.fromCodePoint;i(i.S+i.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],i=arguments.length,a=0;i>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var i=n(1),r=n(30),o=n(12);i(i.S,"String",{raw:function(e){for(var t=r(e.raw),n=o(t.length),i=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";n(75)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){"use strict";var i=n(134)(!0);n(135)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var i=n(1),r=n(134)(!1);i(i.P,"String",{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var i=n(1),r=n(12),o=n(136),a="".endsWith;i(i.P+i.F*n(138)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,i=r(t.length),s=void 0===n?i:Math.min(r(n),i),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var i=n(1),r=n(136);i(i.P+i.F*n(138)("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var i=n(1);i(i.P,"String",{repeat:n(131)})},function(e,t,n){"use strict";var i=n(1),r=n(12),o=n(136),a="".startsWith;i(i.P+i.F*n(138)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return a?a.call(t,i,n):t.slice(n,n+i.length)===i}})},function(e,t,n){"use strict";n(25)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(25)("big",(function(e){return function(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(25)("blink",(function(e){return function(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(25)("bold",(function(e){return function(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(25)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(25)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(25)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(25)("italics",(function(e){return function(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(25)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(25)("small",(function(e){return function(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(25)("strike",(function(e){return function(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(25)("sub",(function(e){return function(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(25)("sup",(function(e){return function(){return e(this,"sup","","")}}))},function(e,t,n){var i=n(1);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var i=n(1),r=n(22),o=n(53);i(i.P+i.F*n(5)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=r(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var i=n(1),r=n(357);i(i.P+i.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},function(e,t,n){"use strict";var i=n(5),r=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=i((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))}))||!i((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),i=t<0?"-":t>9999?"+":"";return i+("00000"+Math.abs(t)).slice(i?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},function(e,t,n){var i=Date.prototype,r=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&n(24)(i,"toString",(function(){var e=o.call(this);return e==e?r.call(this):"Invalid Date"}))},function(e,t,n){var i=n(11)("toPrimitive"),r=Date.prototype;i in r||n(29)(r,i,n(360))},function(e,t,n){"use strict";var i=n(6),r=n(53);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(i(this),"number"!=e)}},function(e,t,n){var i=n(1);i(i.S,"Array",{isArray:n(114)})},function(e,t,n){"use strict";var i=n(36),r=n(1),o=n(22),a=n(250),s=n(139),l=n(12),u=n(140),c=n(141);r(r.S+r.F*!n(115)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,r,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,b=c(h);if(v&&(m=i(m,p>2?arguments[2]:void 0,2)),null==b||f==Array&&s(b))for(n=new f(t=l(h.length));t>g;g++)u(n,g,v?m(h[g],g):h[g]);else for(d=b.call(h),n=new f;!(r=d.next()).done;g++)u(n,g,v?a(d,m,[r.value,g],!0):r.value);return n.length=g,n}})},function(e,t,n){"use strict";var i=n(1),r=n(140);i(i.S+i.F*n(5)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)r(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var i=n(1),r=n(30),o=[].join;i(i.P+i.F*(n(82)!=Object||!n(31)(o)),"Array",{join:function(e){return o.call(r(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var i=n(1),r=n(127),o=n(42),a=n(60),s=n(12),l=[].slice;i(i.P+i.F*n(5)((function(){r&&l.call(r)})),"Array",{slice:function(e,t){var n=s(this.length),i=o(this);if(t=void 0===t?n:t,"Array"==i)return l.call(this,e,t);for(var r=a(e,n),u=a(t,n),c=s(u-r),d=new Array(c),h=0;h<c;h++)d[h]="String"==i?this.charAt(r+h):this[r+h];return d}})},function(e,t,n){"use strict";var i=n(1),r=n(37),o=n(22),a=n(5),s=[].sort,l=[1,2,3];i(i.P+i.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n(31)(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),r(e))}})},function(e,t,n){"use strict";var i=n(1),r=n(41)(0),o=n(31)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(7),r=n(114),o=n(11)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var i=n(1),r=n(41)(1);i(i.P+i.F*!n(31)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(1),r=n(41)(2);i(i.P+i.F*!n(31)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(1),r=n(41)(3);i(i.P+i.F*!n(31)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(1),r=n(41)(4);i(i.P+i.F*!n(31)([].every,!0),"Array",{every:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(1),r=n(252);i(i.P+i.F*!n(31)([].reduce,!0),"Array",{reduce:function(e){return r(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var i=n(1),r=n(252);i(i.P+i.F*!n(31)([].reduceRight,!0),"Array",{reduceRight:function(e){return r(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var i=n(1),r=n(112)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(31)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(1),r=n(30),o=n(38),a=n(12),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(l||!n(31)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=r(this),n=a(t.length),i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}})},function(e,t,n){var i=n(1);i(i.P,"Array",{copyWithin:n(253)}),n(64)("copyWithin")},function(e,t,n){var i=n(1);i(i.P,"Array",{fill:n(142)}),n(64)("fill")},function(e,t,n){"use strict";var i=n(1),r=n(41)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(64)("find")},function(e,t,n){"use strict";var i=n(1),r=n(41)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),i(i.P+i.F*a,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(64)(o)},function(e,t,n){n(77)("Array")},function(e,t,n){var i=n(4),r=n(130),o=n(18).f,a=n(62).f,s=n(137),l=n(116),u=i.RegExp,c=u,d=u.prototype,h=/a/g,f=/a/g,p=new u(h)!==h;if(n(17)&&(!p||n(5)((function(){return f[n(11)("match")]=!1,u(h)!=h||u(f)==f||"/a/i"!=u(h,"i")})))){u=function(e,t){var n=this instanceof u,i=s(e),o=void 0===t;return!n&&i&&e.constructor===u&&o?e:r(p?new c(i&&!o?e.source:e,t):c((i=e instanceof u)?e.source:e,i&&o?l.call(e):t),n?this:d,u)};for(var m=function(e){e in u||o(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},v=a(c),g=0;v.length>g;)m(v[g++]);d.constructor=u,u.prototype=d,n(24)(i,"RegExp",u)}n(77)("RegExp")},function(e,t,n){"use strict";n(256);var i=n(6),r=n(116),o=n(17),a=/./.toString,s=function(e){n(24)(RegExp.prototype,"toString",e,!0)};n(5)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?r.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,n){"use strict";var i=n(6),r=n(12),o=n(145),a=n(117);n(118)("match",1,(function(e,t,n,s){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=i(e),u=String(this);if(!l.global)return a(l,u);var c=l.unicode;l.lastIndex=0;for(var d,h=[],f=0;null!==(d=a(l,u));){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(u,r(l.lastIndex),c)),f++}return 0===f?null:h}]}))},function(e,t,n){"use strict";var i=n(6),r=n(22),o=n(12),a=n(38),s=n(145),l=n(117),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n(118)("replace",2,(function(e,t,n,p){return[function(i,r){var o=e(this),a=null==i?void 0:i[t];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=p(n,e,this,t);if(r.done)return r.value;var d=i(e),h=String(this),f="function"==typeof t;f||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var b=[];;){var y=l(d,h);if(null===y)break;if(b.push(y),!v)break;""===String(y[0])&&(d.lastIndex=s(h,o(d.lastIndex),g))}for(var w,x="",_=0,S=0;S<b.length;S++){y=b[S];for(var E=String(y[0]),k=u(c(a(y.index),h.length),0),C=[],T=1;T<y.length;T++)C.push(void 0===(w=y[T])?w:String(w));var M=y.groups;if(f){var A=[E].concat(C,k,h);void 0!==M&&A.push(M);var O=String(t.apply(void 0,A))}else O=m(E,h,k,C,M,t);k>=_&&(x+=h.slice(_,k)+O,_=k+E.length)}return x+h.slice(_)}];function m(e,t,i,o,a,s){var l=i+e.length,u=o.length,c=f;return void 0!==a&&(a=r(a),c=h),n.call(s,c,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var c=+r;if(0===c)return n;if(c>u){var h=d(c/10);return 0===h?n:h<=u?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var i=n(6),r=n(241),o=n(117);n(118)("search",1,(function(e,t,n,a){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=i(e),l=String(this),u=s.lastIndex;r(u,0)||(s.lastIndex=0);var c=o(s,l);return r(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]}))},function(e,t,n){"use strict";var i=n(137),r=n(6),o=n(85),a=n(145),s=n(12),l=n(117),u=n(144),c=n(5),d=Math.min,h=[].push,f=!c((function(){RegExp(4294967295,"y")}));n(118)("split",2,(function(e,t,n,c){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?4294967295:t>>>0,p=new RegExp(e.source,c+"g");(o=u.call(p,r))&&!((a=p.lastIndex)>d&&(l.push(r.slice(d,o.index)),o.length>1&&o.index<r.length&&h.apply(l,o.slice(1)),s=o[0].length,d=a,l.length>=f));)p.lastIndex===o.index&&p.lastIndex++;return d===r.length?!s&&p.test("")||l.push(""):l.push(r.slice(d)),l.length>f?l.slice(0,f):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r,i):p.call(String(r),n,i)},function(e,t){var i=c(p,e,this,t,p!==n);if(i.done)return i.value;var u=r(e),h=String(this),m=o(u,RegExp),v=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(f?"y":"g"),b=new m(f?u:"^(?:"+u.source+")",g),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===h.length)return null===l(b,h)?[h]:[];for(var w=0,x=0,_=[];x<h.length;){b.lastIndex=f?x:0;var S,E=l(b,f?h:h.slice(x));if(null===E||(S=d(s(b.lastIndex+(f?0:x)),h.length))===w)x=a(h,x,v);else{if(_.push(h.slice(w,x)),_.length===y)return _;for(var k=1;k<=E.length-1;k++)if(_.push(E[k]),_.length===y)return _;x=w=S}}return _.push(h.slice(w)),_}]}))},function(e,t,n){var i=n(4),r=n(146).set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,l="process"==n(42)(a);e.exports=function(){var e,t,n,u=function(){var i,r;for(l&&(i=a.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){r.call(i,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var i=n(260),r=n(65);e.exports=n(121)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=i.getEntry(r(this,"Map"),e);return t&&t.v},set:function(e,t){return i.def(r(this,"Map"),0===e?0:e,t)}},i,!0)},function(e,t,n){"use strict";var i=n(260),r=n(65);e.exports=n(121)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return i.def(r(this,"Set"),e=0===e?0:e,e)}},i)},function(e,t,n){"use strict";var i,r=n(4),o=n(41)(0),a=n(24),s=n(54),l=n(240),u=n(261),c=n(7),d=n(65),h=n(65),f=!r.ActiveXObject&&"ActiveXObject"in r,p=s.getWeak,m=Object.isExtensible,v=u.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(c(e)){var t=p(e);return!0===t?v(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,"WeakMap"),e,t)}},y=e.exports=n(121)("WeakMap",g,b,u,!0,!0);h&&f&&(l((i=u.getConstructor(g,"WeakMap")).prototype,b),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=y.prototype,n=t[e];a(t,e,(function(t,r){if(c(t)&&!m(t)){this._f||(this._f=new i);var o=this._f[e](t,r);return"set"==e?this:o}return n.call(this,t,r)}))})))},function(e,t,n){"use strict";var i=n(261),r=n(65);n(121)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return i.def(r(this,"WeakSet"),e,!0)}},i,!1,!0)},function(e,t,n){"use strict";var i=n(1),r=n(122),o=n(147),a=n(6),s=n(60),l=n(12),u=n(7),c=n(4).ArrayBuffer,d=n(85),h=o.ArrayBuffer,f=o.DataView,p=r.ABV&&c.isView,m=h.prototype.slice,v=r.VIEW;i(i.G+i.W+i.F*(c!==h),{ArrayBuffer:h}),i(i.S+i.F*!r.CONSTR,"ArrayBuffer",{isView:function(e){return p&&p(e)||u(e)&&v in e}}),i(i.P+i.U+i.F*n(5)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,i=s(e,n),r=s(void 0===t?n:t,n),o=new(d(this,h))(l(r-i)),u=new f(this),c=new f(o),p=0;i<r;)c.setUint8(p++,u.getUint8(i++));return o}}),n(77)("ArrayBuffer")},function(e,t,n){var i=n(1);i(i.G+i.W+i.F*!n(122).ABV,{DataView:n(147).DataView})},function(e,t,n){n(44)("Int8",1,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Uint8",1,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Uint8",1,(function(e){return function(t,n,i){return e(this,t,n,i)}}),!0)},function(e,t,n){n(44)("Int16",2,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Uint16",2,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Int32",4,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Uint32",4,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Float32",4,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(44)("Float64",8,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){var i=n(1),r=n(37),o=n(6),a=(n(4).Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n(5)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var i=r(e),l=o(n);return a?a(i,t,l):s.call(i,t,l)}})},function(e,t,n){var i=n(1),r=n(61),o=n(37),a=n(6),s=n(7),l=n(5),u=n(242),c=(n(4).Reflect||{}).construct,d=l((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),h=!l((function(){c((function(){}))}));i(i.S+i.F*(d||h),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var i=[null];return i.push.apply(i,t),new(u.apply(e,i))}var l=n.prototype,f=r(s(l)?l:Object.prototype),p=Function.apply.call(e,f,t);return s(p)?p:f}})},function(e,t,n){var i=n(18),r=n(1),o=n(6),a=n(53);r(r.S+r.F*n(5)((function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return i.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var i=n(1),r=n(39).f,o=n(6);i(i.S,"Reflect",{deleteProperty:function(e,t){var n=r(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var i=n(1),r=n(6),o=function(e){this._t=r(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(249)(o,"Object",(function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),i(i.S,"Reflect",{enumerate:function(e){return new o(e)}})},function(e,t,n){var i=n(39),r=n(63),o=n(28),a=n(1),s=n(7),l=n(6);a(a.S,"Reflect",{get:function e(t,n){var a,u,c=arguments.length<3?t:arguments[2];return l(t)===c?t[n]:(a=i.f(t,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(u=r(t))?e(u,n,c):void 0}})},function(e,t,n){var i=n(39),r=n(1),o=n(6);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return i.f(o(e),t)}})},function(e,t,n){var i=n(1),r=n(63),o=n(6);i(i.S,"Reflect",{getPrototypeOf:function(e){return r(o(e))}})},function(e,t,n){var i=n(1);i(i.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var i=n(1),r=n(6),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(e){return r(e),!o||o(e)}})},function(e,t,n){var i=n(1);i(i.S,"Reflect",{ownKeys:n(263)})},function(e,t,n){var i=n(1),r=n(6),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(e){r(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){var i=n(18),r=n(39),o=n(63),a=n(28),s=n(1),l=n(56),u=n(6),c=n(7);s(s.S,"Reflect",{set:function e(t,n,s){var d,h,f=arguments.length<4?t:arguments[3],p=r.f(u(t),n);if(!p){if(c(h=o(t)))return e(h,n,s,f);p=l(0)}if(a(p,"value")){if(!1===p.writable||!c(f))return!1;if(d=r.f(f,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,i.f(f,n,d)}else i.f(f,n,l(0,s));return!0}return void 0!==p.set&&(p.set.call(f,s),!0)}})},function(e,t,n){var i=n(1),r=n(128);r&&i(i.S,"Reflect",{setPrototypeOf:function(e,t){r.check(e,t);try{return r.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(420),e.exports=n(16).Array.includes},function(e,t,n){"use strict";var i=n(1),r=n(112)(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(64)("includes")},function(e,t,n){n(422),e.exports=n(16).Array.flatMap},function(e,t,n){"use strict";var i=n(1),r=n(423),o=n(22),a=n(12),s=n(37),l=n(251);i(i.P,"Array",{flatMap:function(e){var t,n,i=o(this);return s(e),t=a(i.length),n=l(i,0),r(n,i,i,t,0,1,e,arguments[1]),n}}),n(64)("flatMap")},function(e,t,n){"use strict";var i=n(114),r=n(7),o=n(12),a=n(36),s=n(11)("isConcatSpreadable");e.exports=function e(t,n,l,u,c,d,h,f){for(var p,m,v=c,g=0,b=!!h&&a(h,f,3);g<u;){if(g in l){if(p=b?b(l[g],g,n):l[g],m=!1,r(p)&&(m=void 0!==(m=p[s])?!!m:i(p)),m&&d>0)v=e(t,n,p,o(p.length),v,d-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=p}v++}g++}return v}},function(e,t,n){n(425),e.exports=n(16).String.padStart},function(e,t,n){"use strict";var i=n(1),r=n(264),o=n(120),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);i(i.P+i.F*a,"String",{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(427),e.exports=n(16).String.padEnd},function(e,t,n){"use strict";var i=n(1),r=n(264),o=n(120),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);i(i.P+i.F*a,"String",{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(429),e.exports=n(16).String.trimLeft},function(e,t,n){"use strict";n(75)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(431),e.exports=n(16).String.trimRight},function(e,t,n){"use strict";n(75)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t,n){n(433),e.exports=n(124).f("asyncIterator")},function(e,t,n){n(236)("asyncIterator")},function(e,t,n){n(435),e.exports=n(16).Object.getOwnPropertyDescriptors},function(e,t,n){var i=n(1),r=n(263),o=n(30),a=n(39),s=n(140);i(i.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,i=o(e),l=a.f,u=r(i),c={},d=0;u.length>d;)void 0!==(n=l(i,t=u[d++]))&&s(c,t,n);return c}})},function(e,t,n){n(437),e.exports=n(16).Object.values},function(e,t,n){var i=n(1),r=n(265)(!1);i(i.S,"Object",{values:function(e){return r(e)}})},function(e,t,n){n(439),e.exports=n(16).Object.entries},function(e,t,n){var i=n(1),r=n(265)(!0);i(i.S,"Object",{entries:function(e){return r(e)}})},function(e,t,n){"use strict";n(257),n(441),e.exports=n(16).Promise.finally},function(e,t,n){"use strict";var i=n(1),r=n(16),o=n(4),a=n(85),s=n(259);i(i.P+i.R,"Promise",{finally:function(e){var t=a(this,r.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(443),n(444),n(445),e.exports=n(16)},function(e,t,n){var i=n(4),r=n(1),o=n(120),a=[].slice,s=/MSIE .\./.test(o),l=function(e){return function(t,n){var i=arguments.length>2,r=!!i&&a.call(arguments,2);return e(i?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};r(r.G+r.B+r.F*s,{setTimeout:l(i.setTimeout),setInterval:l(i.setInterval)})},function(e,t,n){var i=n(1),r=n(146);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(e,t,n){for(var i=n(143),r=n(59),o=n(24),a=n(4),s=n(29),l=n(76),u=n(11),c=u("iterator"),d=u("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var v,g=p[m],b=f[g],y=a[g],w=y&&y.prototype;if(w&&(w[c]||s(w,c,h),w[d]||s(w,d,g),l[g]=h,b))for(v in i)w[v]||o(w,v,i[v],!0)}},function(e,t,n){(function(t){var n=function(e){"use strict";var n,i=Object.prototype,r=i.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n,i){var r=t&&t.prototype instanceof v?t:v,o=Object.create(r.prototype),a=new M(i||[]);return o._invoke=function(e,t,n){var i=d;return function(r,o){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return O()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var l=c(e,t,n);if("normal"===l.type){if(i=n.done?p:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={};function v(){}function g(){}function b(){}var y={};y[a]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(A([])));x&&x!==i&&r.call(x,a)&&(y=x);var _=b.prototype=v.prototype=Object.create(y);function S(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function E(e){var n;this._invoke=function(i,o){function a(){return new t((function(n,a){!function n(i,o,a,s){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}(i,o,n,a)}))}return n=n?n.then(a,a):a()}}function k(e,t){var i=e.iterator[t.method];if(i===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,k(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=c(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,m;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function t(){for(;++i<e.length;)if(r.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:O}}function O(){return{value:n,done:!0}}return g.prototype=_.constructor=b,b.constructor=g,b[l]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},S(E.prototype),E.prototype[s]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,i,r){var o=new E(u(t,n,i,r));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(_),_[l]="Generator",_[a]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=A,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,r){return s.type="throw",s.arg=e,t.next=i,r&&(t.method="next",t.arg=n),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:A(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),m}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(148))},function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}r.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];u.push(new p(e,t)),1!==u.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){n(449),e.exports=n(266).global},function(e,t,n){var i=n(450);i(i.G,{global:n(149)})},function(e,t,n){var i=n(149),r=n(266),o=n(451),a=n(453),s=n(460),l=function(e,t,n){var u,c,d,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,v=e&l.B,g=e&l.W,b=f?r:r[t]||(r[t]={}),y=b.prototype,w=f?i:p?i[t]:(i[t]||{}).prototype;for(u in f&&(n=t),n)(c=!h&&w&&void 0!==w[u])&&s(b,u)||(d=c?w[u]:n[u],b[u]=f&&"function"!=typeof w[u]?n[u]:v&&c?o(d,i):g&&w[u]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&a(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(452);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(454),r=n(459);e.exports=n(151)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(455),r=n(456),o=n(458),a=Object.defineProperty;t.f=n(151)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(150);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(151)&&!n(267)((function(){return 7!=Object.defineProperty(n(457)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(150),r=n(149).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(150);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){(function(e){var i;function r(e){return(r="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})(e)}window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t,n=document.createElement("style"),i=document.getElementsByTagName("script")[0];n.type="text/css",n.id="matchmediajs-test",i.parentNode.insertBefore(n,i),t="getComputedStyle"in window&&window.getComputedStyle(n,null)||n.currentStyle,e={matchMedium:function(e){var i="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return n.styleSheet?n.styleSheet.cssText=i:n.textContent=i,"1px"===t.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(o,a,s){"use strict";function l(a){"object"===r(e)&&"object"===r(e.exports)?e.exports=a:void 0===(i=function(){return a}.call(t,n,t,e))||(e.exports=i),"object"===r(o)&&(o.picturefill=a)}if(o.HTMLPictureElement)l((function(){}));else{a.createElement("picture");var u,c,d,h=o.picturefill||{},f=/\s+\+?\d+(e\d+)?w/;h.ns="picturefill",h.srcsetSupported="srcset"in s,h.sizesSupported="sizes"in s,h.curSrcSupported="currentSrc"in s,h.trim=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},h.makeUrl=(u=a.createElement("a"),function(e){return u.href=e,u.href}),h.restrictsMixedContent=function(){return"https:"===o.location.protocol},h.matchesMedia=function(e){return o.matchMedia&&o.matchMedia(e).matches},h.getDpr=function(){return o.devicePixelRatio||1},h.getWidthFromLength=function(e){var t;if(!e||e.indexOf("%")>-1!=!1||!(parseFloat(e)>0||e.indexOf("calc(")>-1))return!1;e=e.replace("vw","%"),h.lengthEl||(h.lengthEl=a.createElement("div"),h.lengthEl.style.cssText="border:0;display:block;font-size:1em;
2left:0;margin:0;padding:0;position:absolute;visibility:hidden",h.lengthEl.className="helper-from-picturefill-js"),h.lengthEl.style.width="0px";try{h.lengthEl.style.width=e}catch(e){}return a.body.appendChild(h.lengthEl),(t=h.lengthEl.offsetWidth)<=0&&(t=!1),a.body.removeChild(h.lengthEl),t},h.detectTypeSupport=function(e,t){var n=new o.Image;return n.onerror=function(){h.types[e]=!1,p()},n.onload=function(){h.types[e]=1===n.width,p()},n.src=t,"pending"},h.types=h.types||{},h.initTypeDetects=function(){h.types["image/jpeg"]=!0,h.types["image/gif"]=!0,h.types["image/png"]=!0,h.types["image/svg+xml"]=a.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),h.types["image/webp"]=h.detectTypeSupport("image/webp","data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=")},h.verifyTypeSupport=function(e){var t=e.getAttribute("type");if(null===t||""===t)return!0;var n=h.types[t];return"string"==typeof n&&"pending"!==n?(h.types[t]=h.detectTypeSupport(t,n),"pending"):"function"==typeof n?(n(),"pending"):n},h.parseSize=function(e){var t=/(\([^)]+\))?\s*(.+)/g.exec(e);return{media:t&&t[1],length:t&&t[2]}},h.findWidthFromSourceSize=function(e){for(var t,n=h.trim(e).split(/\s*,\s*/),i=0,r=n.length;i<r;i++){var s=n[i],l=h.parseSize(s),u=l.length,c=l.media;if(u&&((!c||h.matchesMedia(c))&&(t=h.getWidthFromLength(u))))break}return t||Math.max(o.innerWidth||0,a.documentElement.clientWidth)},h.parseSrcset=function(e){for(var t=[];""!==e;){var n,i=(e=e.replace(/^\s+/g,"")).search(/\s/g),r=null;if(-1!==i){if(","!==(n=e.slice(0,i)).slice(-1)&&""!==n||(n=n.replace(/,+$/,""),r=""),e=e.slice(i+1),null===r){var o=e.indexOf(",");-1!==o?(r=e.slice(0,o),e=e.slice(o+1)):(r=e,e="")}}else n=e,e="";(n||r)&&t.push({url:n,descriptor:r})}return t},h.parseDescriptor=function(e,t){var n,i=t||"100vw",r=e&&e.replace(/(^\s+|\s+$)/g,""),o=h.findWidthFromSourceSize(i);if(r)for(var a=r.split(" "),s=a.length-1;s>=0;s--){var l=a[s],u=l&&l.slice(l.length-1);if("h"!==u&&"w"!==u||h.sizesSupported){if("x"===u){var c=l&&parseFloat(l,10);n=c&&!isNaN(c)?c:1}}else n=parseFloat(parseInt(l,10)/o)}return n||1},h.getCandidatesFromSourceSet=function(e,t){for(var n=h.parseSrcset(e),i=[],r=0,o=n.length;r<o;r++){var a=n[r];i.push({url:a.url,resolution:h.parseDescriptor(a.descriptor,t)})}return i},h.dodgeSrcset=function(e){e.srcset&&(e[h.ns].srcset=e.srcset,e.srcset="",e.setAttribute("data-pfsrcset",e[h.ns].srcset))},h.processSourceSet=function(e){var t=e.getAttribute("srcset"),n=e.getAttribute("sizes"),i=[];return"IMG"===e.nodeName.toUpperCase()&&e[h.ns]&&e[h.ns].srcset&&(t=e[h.ns].srcset),t&&(i=h.getCandidatesFromSourceSet(t,n)),i},h.backfaceVisibilityFix=function(e){var t=e.style||{},n="webkitBackfaceVisibility"in t,i=t.zoom;n&&(t.zoom=".999",n=e.offsetWidth,t.zoom=i)},h.setIntrinsicSize=(c={},d=function(e,t,n){t&&e.setAttribute("width",parseInt(t/n,10))},function(e,t){var n;e[h.ns]&&!o.pfStopIntrinsicSize&&(void 0===e[h.ns].dims&&(e[h.ns].dims=e.getAttribute("width")||e.getAttribute("height")),e[h.ns].dims||(t.url in c?d(e,c[t.url],t.resolution):((n=a.createElement("img")).onload=function(){if(c[t.url]=n.width,!c[t.url])try{a.body.appendChild(n),c[t.url]=n.width||n.offsetWidth,a.body.removeChild(n)}catch(e){}e.src===t.url&&d(e,c[t.url],t.resolution),e=null,n.onload=null,n=null},n.src=t.url)))}),h.applyBestCandidate=function(e,t){var n,i,r;e.sort(h.ascendingSort),r=e[(i=e.length)-1];for(var o=0;o<i;o++)if((n=e[o]).resolution>=h.getDpr()){r=n;break}r&&(r.url=h.makeUrl(r.url),t.src!==r.url&&(h.restrictsMixedContent()&&"http:"===r.url.substr(0,"http:".length).toLowerCase()?void 0!==window.console&&console.warn("Blocked mixed content image "+r.url):(t.src=r.url,h.curSrcSupported||(t.currentSrc=t.src),h.backfaceVisibilityFix(t))),h.setIntrinsicSize(t,r))},h.ascendingSort=function(e,t){return e.resolution-t.resolution},h.removeVideoShim=function(e){var t=e.getElementsByTagName("video");if(t.length){for(var n=t[0],i=n.getElementsByTagName("source");i.length;)e.insertBefore(i[0],n);n.parentNode.removeChild(n)}},h.getAllElements=function(){for(var e=[],t=a.getElementsByTagName("img"),n=0,i=t.length;n<i;n++){var r=t[n];("PICTURE"===r.parentNode.nodeName.toUpperCase()||null!==r.getAttribute("srcset")||r[h.ns]&&null!==r[h.ns].srcset)&&e.push(r)}return e},h.getMatch=function(e,t){for(var n,i=t.childNodes,o=0,a=i.length;o<a;o++){var s=i[o];if(1===s.nodeType){if(s===e)return n;
2if("SOURCE"===s.nodeName.toUpperCase()){null!==s.getAttribute("src")&&void 0!==("undefined"==typeof console?"undefined":r(console))&&console.warn("The `src` attribute is invalid on `picture` `source` element; instead, use `srcset`.");var l=s.getAttribute("media");if(s.getAttribute("srcset")&&(!l||h.matchesMedia(l))){var u=h.verifyTypeSupport(s);if(!0===u){n=s;break}if("pending"===u)return!1}}}}return n},function(){h.initTypeDetects(),p();var e,t=setInterval((function(){p(),/^loaded|^i|^c/.test(a.readyState)&&clearInterval(t)}),250),n=function(){p({reevaluate:!0})};function i(){clearTimeout(e),e=setTimeout(n,60)}o.addEventListener?o.addEventListener("resize",i,!1):o.attachEvent&&o.attachEvent("onresize",i)}(),p._=h,l(p)}function p(e){for(var t,n,i,r,o,a=e||{},s=0,l=(t=a.elements||h.getAllElements()).length;s<l;s++)if(i=(n=t[s]).parentNode,r=void 0,o=void 0,"IMG"===n.nodeName.toUpperCase()&&(n[h.ns]||(n[h.ns]={}),a.reevaluate||!n[h.ns].evaluated)){if(i&&"PICTURE"===i.nodeName.toUpperCase()){if(h.removeVideoShim(i),!1===(r=h.getMatch(n,i)))continue}else r=void 0;(i&&"PICTURE"===i.nodeName.toUpperCase()||!h.sizesSupported&&n.srcset&&f.test(n.srcset))&&h.dodgeSrcset(n),r?(o=h.processSourceSet(r),h.applyBestCandidate(o,n)):(o=h.processSourceSet(n),(void 0===n.srcset||n[h.ns].srcset)&&h.applyBestCandidate(o,n)),n[h.ns].evaluated=!0}}}(window,window.document,new window.Image)}).call(this,n(80)(e))},function(e,t,n){(function(e){var i,r,o,a;function s(e){return(s="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})(e)}a=function(e){var t=86400,n={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},i={init:function(t){return this.each((function(){var r=e(this),s=[];for(var l in e.fn.timepicker.defaults)r.data(l)&&(s[l]=r.data(l));var u=e.extend({},e.fn.timepicker.defaults,s,t);if(u.lang&&(n=e.extend(n,u.lang)),u=o(u),r.data("timepicker-settings",u),r.addClass("ui-timepicker-input"),u.useSelect)a(r);else{if(r.prop("autocomplete","off"),u.showOn)for(var c in u.showOn)r.on(u.showOn[c]+".timepicker",i.show);
2r.on("change.timepicker",p),r.on("keydown.timepicker",b),r.on("keyup.timepicker",y),u.disableTextInput&&r.on("keydown.timepicker",g),p.call(r.get(0),null,"initial")}}))},show:function(t){var n=e(this),o=n.data("timepicker-settings");if(t&&t.preventDefault(),o.useSelect)n.data("timepicker-list").focus();else{d(n)&&n.blur();var s=n.data("timepicker-list");if(!n.prop("readonly")&&(s&&0!==s.length&&"function"!=typeof o.durationTime||(a(n),s=n.data("timepicker-list")),!r(s))){n.data("ui-timepicker-value",n.val()),f(n,s),i.hide(),s.show();var l={};o.orientation.match(/r/)?l.left=n.offset().left+n.outerWidth()-s.outerWidth()+parseInt(s.css("marginLeft").replace("px",""),10):l.left=n.offset().left+parseInt(s.css("marginLeft").replace("px",""),10),"t"==(o.orientation.match(/t/)?"t":o.orientation.match(/b/)?"b":n.offset().top+n.outerHeight(!0)+s.outerHeight()>e(window).height()+e(window).scrollTop()?"t":"b")?(s.addClass("ui-timepicker-positioned-top"),l.top=n.offset().top-s.outerHeight()+parseInt(s.css("marginTop").replace("px",""),10)):(s.removeClass("ui-timepicker-positioned-top"),l.top=n.offset().top+n.outerHeight()+parseInt(s.css("marginTop").replace("px",""),10)),s.offset(l);var u=s.find(".ui-timepicker-selected");if(!u.length){var p=S(m(n));null!==p?u=h(n,s,p):o.scrollDefault&&(u=h(n,s,o.scrollDefault()))}if(u&&u.length){var v=s.scrollTop()+u.position().top-u.outerHeight();s.scrollTop(v)}else s.scrollTop(0);return o.stopScrollPropagation&&e(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",(function(t){t.preventDefault();var n=e(this).scrollTop();e(this).scrollTop(n+t.originalEvent.deltaY)})),e(document).on("touchstart.ui-timepicker mousedown.ui-timepicker",c),e(window).on("resize.ui-timepicker",c),o.closeOnWindowScroll&&e(document).on("scroll.ui-timepicker",c),n.trigger("showTimepicker"),this}}},hide:function(t){var n=e(this),i=n.data("timepicker-settings");return i&&i.useSelect&&n.blur(),e(".ui-timepicker-wrapper").each((function(){var t=e(this);if(r(t)){var n=t.data("timepicker-input"),i=n.data("timepicker-settings");i&&i.selectOnBlur&&w(n),t.hide(),n.trigger("hideTimepicker")}})),this},option:function(t,n){return"string"==typeof t&&void 0===n?e(this).data("timepicker-settings")[t]:this.each((function(){var i=e(this),r=i.data("timepicker-settings"),l=i.data("timepicker-list");"object"==s(t)?r=e.extend(r,t):"string"==typeof t&&(r[t]=n),r=o(r),i.data("timepicker-settings",r),l&&(l.remove(),i.data("timepicker-list",!1)),r.useSelect&&a(i)}))},getSecondsFromMidnight:function(){return S(m(this))},getTime:function(e){var t=m(this);if(!t)return null;var n=S(t);if(null===n)return null;e||(e=new Date);var i=new Date(e);return i.setHours(n/3600),i.setMinutes(n%3600/60),i.setSeconds(n%60),i.setMilliseconds(0),i},isVisible:function(){var e=this.data("timepicker-list");return!(!e||!r(e))},setTime:function(e){var t=this.data("timepicker-settings");if(t.forceRoundTime)var n=u(S(e),t);else n=_(S(e),t);return e&&null===n&&t.noneOption&&(n=e),v(this,n),this.data("timepicker-list")&&f(this,this.data("timepicker-list")),this},remove:function(){if(this.hasClass("ui-timepicker-input")){var e=this.data("timepicker-settings");return this.removeAttr("autocomplete","off"),this.removeClass("ui-timepicker-input"),this.removeData("timepicker-settings"),this.off(".timepicker"),this.data("timepicker-list")&&this.data("timepicker-list").remove(),e.useSelect&&this.show(),this.removeData("timepicker-list"),this}}};function r(e){var t=e[0];return t.offsetWidth>0&&t.offsetHeight>0}function o(t){if(t.minTime&&(t.minTime=S(t.minTime)),t.maxTime&&(t.maxTime=S(t.maxTime)),t.durationTime&&"function"!=typeof t.durationTime&&(t.durationTime=S(t.durationTime)),"now"==t.scrollDefault)t.scrollDefault=function(){return t.roundingFunction(S(new Date),t)};else if(t.scrollDefault&&"function"!=typeof t.scrollDefault){var n=t.scrollDefault;t.scrollDefault=function(){return t.roundingFunction(S(n),t)}}else t.minTime&&(t.scrollDefault=function(){return t.roundingFunction(t.minTime,t)});if("string"===e.type(t.timeFormat)&&t.timeFormat.match(/[gh]/)&&(t._twelveHourTime=!0),!1===t.showOnFocus&&-1!=t.showOn.indexOf("focus")&&t.showOn.splice(t.showOn.indexOf("focus"),1),t.disableTimeRanges.length>0){for(var i in t.disableTimeRanges)t.disableTimeRanges[i]=[S(t.disableTimeRanges[i][0]),S(t.disableTimeRanges[i][1])];for(t.disableTimeRanges=t.disableTimeRanges.sort((function(e,t){return e[0]-t[0]})),i=t.disableTimeRanges.length-1;i>0;i--)t.disableTimeRanges[i][0]<=t.disableTimeRanges[i-1][1]&&(t.disableTimeRanges[i-1]=[Math.min(t.disableTimeRanges[i][0],t.disableTimeRanges[i-1][0]),Math.max(t.disableTimeRanges[i][1],t.disableTimeRanges[i-1][1])],t.disableTimeRanges.splice(i,1))}return t}function a(n){var r=n.data("timepicker-settings"),o=n.data("timepicker-list");if(o&&o.length&&(o.remove(),n.data("timepicker-list",!1)),r.useSelect)var a=o=e("<select />",{class:"ui-timepicker-select"});else o=e("<ul />",{class:"ui-timepicker-list"}),(a=e("<div />",{class:"ui-timepicker-wrapper",tabindex:-1})).css({display:"none",position:"absolute"}).append(o);if(r.noneOption)if(!0===r.noneOption&&(r.noneOption=r.useSelect?"Time...":"None"),e.isArray(r.noneOption)){for(var s in r.noneOption)if(parseInt(s,10)==s){var c=l(r.noneOption[s],r.useSelect);o.append(c)}}else c=l(r.noneOption,r.useSelect),o.append(c);r.className&&a.addClass(r.className),null===r.minTime&&null===r.durationTime||!r.showDuration||("function"==typeof r.step||r.step,a.addClass("ui-timepicker-with-duration"),a.addClass("ui-timepicker-step-"+r.step));var h=r.minTime;"function"==typeof r.durationTime?h=S(r.durationTime()):null!==r.durationTime&&(h=r.durationTime);var p=null!==r.minTime?r.minTime:0,m=null!==r.maxTime?r.maxTime:p+t-1;m<p&&(m+=t),m===t-1&&"string"===e.type(r.timeFormat)&&r.show2400&&(m=t);var g=r.disableTimeRanges,b=0,y=g.length,E=r.step;"function"!=typeof E&&(E=function(){return r.step}),s=p;for(var k=0;s<=m;s+=60*E(++k)){var C,T=s,M=_(T,r);if(r.useSelect?(C=e("<option />",{value:M})).text(M):((C=e("<li />")).addClass(T%86400<43200?"ui-timepicker-am":"ui-timepicker-pm"),C.data("time",T<=86400?T:T%86400),C.text(M)),(null!==r.minTime||null!==r.durationTime)&&r.showDuration){var A=x(s-h,r.step);if(r.useSelect)C.text(C.text()+" ("+A+")");else{var O=e("<span />",{class:"ui-timepicker-duration"});O.text(" ("+A+")"),C.append(O)}}b<y&&(T>=g[b][1]&&(b+=1),g[b]&&T>=g[b][0]&&T<g[b][1]&&(r.useSelect?C.prop("disabled",!0):C.addClass("ui-timepicker-disabled"))),o.append(C)}if(a.data("timepicker-input",n),n.data("timepicker-list",a),r.useSelect)n.val()&&o.val(u(S(n.val()),r)),o.on("focus",(function(){e(this).data("timepicker-input").trigger("showTimepicker")})),o.on("blur",(function(){e(this).data("timepicker-input").trigger("hideTimepicker")})),o.on("change",(function(){v(n,e(this).val(),"select")})),v(n,o.val(),"initial"),n.hide().after(o);else{var P=r.appendTo;
2"string"==typeof P?P=e(P):"function"==typeof P&&(P=P(n)),P.append(a),f(n,o),o.on("mousedown click","li",(function(t){n.off("focus.timepicker"),n.on("focus.timepicker-ie-hack",(function(){n.off("focus.timepicker-ie-hack"),n.on("focus.timepicker",i.show)})),d(n)||n[0].focus(),o.find("li").removeClass("ui-timepicker-selected"),e(this).addClass("ui-timepicker-selected"),w(n)&&(n.trigger("hideTimepicker"),o.on("mouseup.timepicker click.timepicker","li",(function(e){o.off("mouseup.timepicker click.timepicker"),a.hide()})))}))}}function l(t,n){var i,r,o;return"object"==s(t)?(i=t.label,r=t.className,o=t.value):"string"==typeof t?i=t:e.error("Invalid noneOption value"),n?e("<option />",{value:o,class:r,text:i}):e("<li />",{class:r,text:i}).data("time",String(o))}function u(e,t){if(null!==(e=t.roundingFunction(e,t)))return _(e,t)}function c(t){if(t.target!=window){var n=e(t.target);n.closest(".ui-timepicker-input").length||n.closest(".ui-timepicker-wrapper").length||(i.hide(),e(document).unbind(".ui-timepicker"),e(window).unbind(".ui-timepicker"))}}function d(e){var t=e.data("timepicker-settings");return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&t.disableTouchKeyboard}function h(t,n,i){if(!i&&0!==i)return!1;var r=t.data("timepicker-settings"),o=!1;return i=r.roundingFunction(i,r),n.find("li").each((function(t,n){var r=e(n);if("number"==typeof r.data("time"))return r.data("time")==i?(o=r,!1):void 0})),o}function f(e,t){t.find("li").removeClass("ui-timepicker-selected");var n=S(m(e),e.data("timepicker-settings"));if(null!==n){var i=h(e,t,n);if(i){var r=i.offset().top-t.offset().top;(r+i.outerHeight()>t.outerHeight()||r<0)&&t.scrollTop(t.scrollTop()+i.position().top-i.outerHeight()),i.addClass("ui-timepicker-selected")}}}function p(t,n){if(""!==this.value&&"timepicker"!=n){var i=e(this);if(!i.is(":focus")||t&&"change"==t.type){var r=i.data("timepicker-settings"),o=S(this.value,r);if(null!==o){var a=!1;if(null!==r.minTime&&null!==r.maxTime&&(o<r.minTime||o>r.maxTime)&&(a=!0),e.each(r.disableTimeRanges,(function(){if(o>=this[0]&&o<this[1])return a=!0,!1})),r.forceRoundTime){var s=r.roundingFunction(o,r);s!=o&&(o=s,n=null)}var l=_(o,r);a?v(i,l,"error")&&i.trigger("timeRangeError"):v(i,l,n)}else i.trigger("timeFormatError")}}}function m(e){return e.is("input")?e.val():e.data("ui-timepicker-value")}function v(e,t,n){if(e.is("input")){e.val(t);var i=e.data("timepicker-settings");i.useSelect&&"select"!=n&&"initial"!=n&&e.data("timepicker-list").val(u(S(t),i))}return e.data("ui-timepicker-value")!=t?(e.data("ui-timepicker-value",t),"select"==n?e.trigger("selectTime").trigger("changeTime").trigger("change","timepicker"):-1==["error","initial"].indexOf(n)&&e.trigger("changeTime"),!0):(e.trigger("selectTime"),!1)}function g(e){switch(e.keyCode){case 13:case 9:return;default:e.preventDefault()}}function b(t){var n=e(this),o=n.data("timepicker-list");if(!o||!r(o)){if(40!=t.keyCode)return!0;i.show.call(n.get(0)),o=n.data("timepicker-list"),d(n)||n.focus()}switch(t.keyCode){case 13:return w(n)&&(p.call(n.get(0),{type:"change"}),i.hide.apply(this)),t.preventDefault(),!1;case 38:var a=o.find(".ui-timepicker-selected");return a.length?a.is(":first-child")||(a.removeClass("ui-timepicker-selected"),a.prev().addClass("ui-timepicker-selected"),a.prev().position().top<a.outerHeight()&&o.scrollTop(o.scrollTop()-a.outerHeight())):(o.find("li").each((function(t,n){if(e(n).position().top>0)return a=e(n),!1})),a.addClass("ui-timepicker-selected")),!1;case 40:return 0===(a=o.find(".ui-timepicker-selected")).length?(o.find("li").each((function(t,n){if(e(n).position().top>0)return a=e(n),!1})),a.addClass("ui-timepicker-selected")):a.is(":last-child")||(a.removeClass("ui-timepicker-selected"),a.next().addClass("ui-timepicker-selected"),a.next().position().top+2*a.outerHeight()>o.outerHeight()&&o.scrollTop(o.scrollTop()+a.outerHeight())),!1;case 27:o.find("li").removeClass("ui-timepicker-selected"),i.hide();break;case 9:i.hide();break;default:return!0}}function y(t){var n=e(this),i=n.data("timepicker-list"),o=n.data("timepicker-settings");if(!i||!r(i)||o.disableTextInput)return!0;switch(t.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:o.typeaheadHighlight?f(n,i):i.hide()}}function w(e){var t=e.data("timepicker-settings"),n=null,i=e.data("timepicker-list").find(".ui-timepicker-selected");return!i.hasClass("ui-timepicker-disabled")&&(i.length&&(n=i.data("time")),null!==n&&("string"!=typeof n&&(n=_(n,t)),v(e,n,"select")),!0)}function x(e,t){e=Math.abs(e);var i,r,o=Math.round(e/60),a=[];return o<60?a=[o,n.mins]:(i=Math.floor(o/60),r=o%60,30==t&&30==r&&(i+=n.decimal+5),a.push(i),a.push(1==i?n.hr:n.hrs),30!=t&&r&&(a.push(r),a.push(n.mins))),a.join(" ")}function _(i,r){if("number"!=typeof i)return null;var o=parseInt(i%60),a=parseInt(i/60%60),s=parseInt(i/3600%24),l=new Date(1970,0,2,s,a,o,0);if(isNaN(l.getTime()))return null;if("function"===e.type(r.timeFormat))return r.timeFormat(l);for(var u,c,d="",h=0;h<r.timeFormat.length;h++)switch(c=r.timeFormat.charAt(h)){case"a":d+=l.getHours()>11?n.pm:n.am;break;case"A":d+=l.getHours()>11?n.PM:n.AM;break;case"g":d+=0==(u=l.getHours()%12)?"12":u;break;case"G":u=l.getHours(),i===t&&(u=r.show2400?24:0),d+=u;break;case"h":0!=(u=l.getHours()%12)&&u<10&&(u="0"+u),d+=0===u?"12":u;break;case"H":u=l.getHours(),i===t&&(u=r.show2400?24:0),d+=u>9?u:"0"+u;break;case"i":d+=(a=l.getMinutes())>9?a:"0"+a;break;case"s":d+=(o=l.getSeconds())>9?o:"0"+o;break;case"\\":h++,d+=r.timeFormat.charAt(h);break;default:d+=c}return d}function S(e,i){if(""===e||null===e)return null;if("object"==s(e))return 3600*e.getHours()+60*e.getMinutes()+e.getSeconds();if("string"!=typeof e)return e;"a"!=(e=e.toLowerCase().replace(/[\s\.]/g,"")).slice(-1)&&"p"!=e.slice(-1)||(e+="m");var r="("+n.am.replace(".","")+"|"+n.pm.replace(".","")+"|"+n.AM.replace(".","")+"|"+n.PM.replace(".","")+")?",o=new RegExp("^"+r+"([0-9]?[0-9])\\W?
2([0-5][0-9])?\\W?([0-5][0-9])?"+r+"$"),a=e.match(o);if(!a)return null;var l=parseInt(1*a[2],10);if(l>24){if(i&&!1===i.wrapHours)return null;l%=24}var u=a[1]||a[5],c=l;if(l<=12&&u){var d=u==n.pm||u==n.PM;c=12==l?d?12:0:l+(d?12:0)}var h=3600*c+60*(1*a[3]||0)+(1*a[4]||0);if(l<12&&!u&&i&&i._twelveHourTime&&i.scrollDefault){var f=h-i.scrollDefault();f<0&&f>=t/-2&&(h=(h+t/2)%t)}return h}e.fn.timepicker=function(t){return this.length?i[t]?this.hasClass("ui-timepicker-input")?i[t].apply(this,Array.prototype.slice.call(arguments,1)):this:"object"!==s(t)&&t?void e.error("Method "+t+" does not exist on jQuery.timepicker"):i.init.apply(this,arguments):this},e.fn.timepicker.defaults={appendTo:"body",className:null,closeOnWindowScroll:!1,disableTextInput:!1,disableTimeRanges:[],disableTouchKeyboard:!1,durationTime:null,forceRoundTime:!1,maxTime:null,minTime:null,noneOption:!1,orientation:"l",roundingFunction:function(e,n){if(null===e)return null;if("number"!=typeof n.step)return e;var i=e%(60*n.step);return i>=30*n.step?e+=60*n.step-i:e-=i,e==t&&n.show2400?e:e%t},scrollDefault:null,selectOnBlur:!1,show2400:!1,showDuration:!1,showOn:["click","focus"],showOnFocus:!0,step:30,stopScrollPropagation:!1,timeFormat:"g:ia",typeaheadHighlight:!0,useSelect:!1,wrapHours:!0}},"object"===s(t)&&t&&"object"===s(e)&&e&&e.exports===t?a(n(3)):(r=[n(3)],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o))}).call(this,n(80)(e))},function(e,t){!function(e,t,n,i){"use strict";if(e.console=e.console||{info:function(e){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var r,o,a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2<path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},s=n(e),l=n(t),u=0,c=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},d=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},h=function(){var e,n=t.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in i)if(void 0!==n.style[e])return i[e];return"transitionend"}(),f=function(e){return e&&e.length&&e[0].offsetHeight},p=function(e,t){var i=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(i[e]=t)})),i},m=function(e,t,i){this.opts=p({index:i},n.fancybox.defaults),n.isPlainObject(t)&&(this.opts=p(this.opts,t)),n.fancybox.isMobile&&(this.opts=p(this.opts,this.opts.mobile)),this.id=this.opts.id||++u,this.currIndex=parseInt(this.opts.index,10)||0,this.prevIndex=null,this.prevPos=null,this.currPos=0,this.firstRun=!0,this.group=[],this.slides={},this.addContent(e),this.group.length&&this.init()};n.extend(m.prototype,{init:function(){var i,r,o=this,a=o.group[o.currIndex].opts;a.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==a.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),r="",n.each(a.buttons,(function(e,t){r+=a.btnTpl[t]||""})),i=n(o.translate(o,a.baseTpl.replace("{{buttons}}",r).replace("{{arrows}}",a.btnTpl.arrowLeft+a.btnTpl.arrowRight))).attr("id","fancybox-container-"+o.id).addClass(a.baseClass).data("FancyBox",o).appendTo(a.parentEl),o.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){o.$refs[e]=i.find(".fancybox-"+e)})),o.trigger("onInit"),o.activate(),o.jumpTo(o.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return void 0===n[t]?e:n[t]}))},addContent:function(e){var t,i=this,r=n.makeArray(e);n.each(r,(function(e,t){var r,o,a,s,l,u={},c={};
2n.isPlainObject(t)?(u=t,c=t.opts||t):"object"===n.type(t)&&n(t).length?(c=(r=n(t)).data()||{},(c=n.extend(!0,{},c,c.options)).$orig=r,u.src=i.opts.src||c.src||r.attr("href"),u.type||u.src||(u.type="inline",u.src=t)):u={type:"html",src:t+""},u.opts=n.extend(!0,{},i.opts,c),n.isArray(c.buttons)&&(u.opts.buttons=c.buttons),n.fancybox.isMobile&&u.opts.mobile&&(u.opts=p(u.opts,u.opts.mobile)),o=u.type||u.opts.type,s=u.src||"",!o&&s&&((a=s.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(o="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===a[1]?"ogg":a[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?o="image":s.match(/\.(pdf)((\?|#).*)?$/i)?(o="iframe",u=n.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===s.charAt(0)&&(o="inline")),o?u.type=o:i.trigger("objectNeedsType",u),u.contentType||(u.contentType=n.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type),u.index=i.group.length,"auto"==u.opts.smallBtn&&(u.opts.smallBtn=n.inArray(u.type,["html","inline","ajax"])>-1),"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn),u.$thumb=u.opts.$thumb||null,u.opts.$trigger&&u.index===i.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger)),u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first")),u.$thumb&&!u.$thumb.length&&(u.$thumb=null),u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null),"function"===n.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(t,[i,u])),"function"===n.type(i.opts.caption)&&(u.opts.caption=i.opts.caption.apply(t,[i,u])),u.opts.caption instanceof n||(u.opts.caption=void 0===u.opts.caption?"":u.opts.caption+""),"ajax"===u.type&&(l=s.split(/\s+/,2)).length>1&&(u.src=l.shift(),u.opts.filter=l.shift()),u.opts.modal&&(u.opts=n.extend(!0,u.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),i.group.push(u)})),Object.keys(i.slides).length&&(i.updateControls(),(t=i.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),s.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&d(t.requestId),t.requestId=c((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),l.on("keydown.fb",(function(e){var i=(n.fancybox?n.fancybox.getInstance():null).current,r=e.keyCode||e.which;if(9!=r){if(!(!i.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")))return 8===r||27===r?(e.preventDefault(),void t.close(e)):37===r||38===r?(e.preventDefault(),void t.previous()):39===r||40===r?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,r)}else i.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,l.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){t.idleSecondsCounter++,t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){s.off("orientationchange.fb resize.fb"),l.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(e.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var i,r,o,a,s,l,u,c,d,h=this,p=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(e=parseInt(e,10),!(o=h.current?h.current.opts.loop:h.opts.loop)&&(e<0||e>=p))return!1;if(i=h.firstRun=!Object.keys(h.slides).length,s=h.current,h.prevIndex=h.currIndex,h.prevPos=
2h.currPos,a=h.createSlide(e),p>1&&((o||a.index<p-1)&&h.createSlide(e+1),(o||a.index>0)&&h.createSlide(e-1)),h.current=a,h.currIndex=a.index,h.currPos=a.pos,h.trigger("beforeShow",i),h.updateControls(),a.forcedDuration=void 0,n.isNumeric(t)?a.forcedDuration=t:t=a.opts[i?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=h.isMoved(a),a.$slide.addClass("fancybox-slide--current"),i)return a.opts.animationEffect&&t&&h.$refs.container.css("transition-duration",t+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(a),void h.preload("image");l=n.fancybox.getTranslate(s.$slide),u=n.fancybox.getTranslate(h.$refs.stage),n.each(h.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),s.pos!==a.pos&&(s.isComplete=!1),s.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(d=l.left-(s.pos*l.width+s.pos*s.opts.gutter),n.each(h.slides,(function(e,i){i.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var r=i.pos*l.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:r-u.left+d}),i.pos!==a.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>a.pos?"next":"previous")),f(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-a.pos)*l.width+(i.pos-a.pos)*i.opts.gutter},t,(function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===h.currPos&&h.complete()}))}))):t&&a.opts.transitionEffect&&(c="fancybox-animated fancybox-fx-"+a.opts.transitionEffect,s.$slide.addClass("fancybox-slide--"+(s.pos>a.pos?"next":"previous")),n.fancybox.animate(s.$slide,c,t,(function(){s.$slide.removeClass(c).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),a.isLoaded?h.revealContent(a):h.loadSlide(a),h.preload("image")}},createSlide:function(e){var t,i;return i=(i=e%this.group.length)<0?this.group.length+i:i,!this.slides[e]&&this.group[i]&&(t=n('<div class="fancybox-slide"></div>').appendTo(this.$refs.stage),this.slides[e]=n.extend(!0,{},this.group[i],{pos:e,$slide:t,isLoaded:!1}),this.updateSlide(this.slides[e])),this.slides[e]},scaleToActual:function(e,t,i){var r,o,a,s,l,u=this,c=u.current,d=c.$content,h=n.fancybox.getTranslate(c.$slide).width,f=n.fancybox.getTranslate(c.$slide).height,p=c.width,m=c.height;u.isAnimating||u.isMoved()||!d||"image"!=c.type||!c.isLoaded||c.hasError||(u.isAnimating=!0,n.fancybox.stop(d),e=void 0===e?.5*h:e,t=void 0===t?.5*f:t,(r=n.fancybox.getTranslate(d)).top-=n.fancybox.getTranslate(c.$slide).top,r.left-=n.fancybox.getTranslate(c.$slide).left,s=p/r.width,l=m/r.height,o=.5*h-.5*p,a=.5*f-.5*m,p>h&&((o=r.left*s-(e*s-e))>0&&(o=0),o<h-p&&(o=h-p)),m>f&&((a=r.top*l-(t*l-t))>0&&(a=0),a<f-m&&(a=f-m)),u.updateCursor(p,m),n.fancybox.animate(d,{top:a,left:o,scaleX:s,scaleY:l},i||366,(function(){u.isAnimating=!1})),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(e){var t,i=this,r=i.current,o=r.$content;i.isAnimating||i.isMoved()||!o||"image"!=r.type||!r.isLoaded||r.hasError||(i.isAnimating=!0,n.fancybox.stop(o),t=i.getFitPos(r),i.updateCursor(t.width,t.height),n.fancybox.animate(o,{top:t.top,left:t.left,scaleX:t.width/o.width(),scaleY:t.height/o.height()},e||366,(function(){i.isAnimating=!1})))},getFitPos:function(e){var t,i,r,o,a=e.$content,s=e.$slide,l=e.width||e.opts.width,u=e.height||e.opts.height,c={};return!!(e.isLoaded&&a&&a.length)&&(t=n.fancybox.getTranslate(this.$refs.stage).width,i=n.fancybox.getTranslate(this.$refs.stage).height,t-=p
2arseFloat(s.css("paddingLeft"))+parseFloat(s.css("paddingRight"))+parseFloat(a.css("marginLeft"))+parseFloat(a.css("marginRight")),i-=parseFloat(s.css("paddingTop"))+parseFloat(s.css("paddingBottom"))+parseFloat(a.css("marginTop"))+parseFloat(a.css("marginBottom")),l&&u||(l=t,u=i),(l*=r=Math.min(1,t/l,i/u))>t-.5&&(l=t),(u*=r)>i-.5&&(u=i),"image"===e.type?(c.top=Math.floor(.5*(i-u))+parseFloat(s.css("paddingTop")),c.left=Math.floor(.5*(t-l))+parseFloat(s.css("paddingLeft"))):"video"===e.contentType&&(u>l/(o=e.opts.width&&e.opts.height?l/u:e.opts.ratio||16/9)?u=l/o:l>u*o&&(l=u*o)),c.width=l,c.height=u,c)},update:function(e){var t=this;n.each(t.slides,(function(n,i){t.updateSlide(i,e)}))},updateSlide:function(e,t){var i=e&&e.$content,r=e.width||e.opts.width,o=e.height||e.opts.height,a=e.$slide;this.adjustCaption(e),i&&(r||o||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,this.getFitPos(e)),e.pos===this.currPos&&(this.isAnimating=!1,this.updateCursor())),this.adjustLayout(e),a.length&&(a.trigger("refresh"),e.pos===this.currPos&&this.$refs.toolbar.add(this.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),this.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,i=t.current,r=i.$slide;!t.isClosing&&i&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(r,{top:0,left:0,opacity:1},void 0===e?0:e,(function(){r.css({transform:"",opacity:""}),i.isComplete||t.complete()}),!1))},isMoved:function(e){var t,i,r=e||this.current;return!!r&&(i=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(r.$slide),!r.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-i.top)>.5||Math.abs(t.left-i.left)>.5))},updateCursor:function(e,t){var i,r,o=this.current,a=this.$refs.container;o&&!this.isClosing&&this.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),r=!!(i=this.canPan(e,t))||this.isZoomable(),a.toggleClass("fancybox-is-zoomable",r),n("[data-fancybox-zoom]").prop("disabled",!r),i?a.addClass("fancybox-can-pan"):r&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?a.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||this.group.length>1)&&"video"!==o.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this.current;if(t&&!this.isClosing&&"image"===t.type&&!t.hasError){if(!t.isLoaded)return!0;if((e=this.getFitPos(t))&&(t.width>e.width||t.height>e.height))return!0}return!1},isScaledDown:function(e,t){var i=!1,r=this.current,o=r.$content;return void 0!==e&&void 0!==t?i=e<r.width&&t<r.height:o&&(i=(i=n.fancybox.getTranslate(o)).width<r.width&&i.height<r.height),i},canPan:function(e,t){var i=this.current,r=null,o=!1;return"image"===i.type&&(i.isComplete||e&&t)&&!i.hasError&&(o=this.getFitPos(i),void 0!==e&&void 0!==t?r={width:e,height:t}:i.isComplete&&(r=n.fancybox.getTranslate(i.$content)),r&&o&&(o=Math.abs(r.width-o.width)>1.5||Math.abs(r.height-o.height)>1.5)),o},loadSlide:function(e){var t,i,r,o=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===o.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(i=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":o.setImage(e);break;case"iframe":o.setIframe(e);break;case"html":o.setContent(e,e.src||e.content);break;case"video":o.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?o.setContent(e,n(e.src)):o.setError(e);break;case"ajax":o.showLoading(e),r=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&o.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&o.setError(e)}})),i.one("onReset",(function(){r.abort()}));break;default:o.setError(e)}return!0}},setImage:function(e){var i,r=this;setTimeout((function(){var t=e.$image;r.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||r.showLoading(e)}
2),50),r.checkSrcset(e),e.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(i=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},i.onload=function(){r.afterLoad(e)},e.$ghost=n(i).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),r.setBigImage(e)},checkSrcset:function(t){var n,i,r,o,a=t.opts.srcset||t.opts.image.srcset;if(a){r=e.devicePixelRatio||1,o=e.innerWidth*r,(i=a.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var i=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;i&&(t.value=i,t.postfix=e[e.length-1])})),t}))).sort((function(e,t){return e.value-t.value}));for(var s=0;s<i.length;s++){var l=i[s];if("w"===l.postfix&&l.value>=o||"x"===l.postfix&&l.value>=r){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=a)}},setBigImage:function(e){var i=this,r=t.createElement("img"),o=n(r);e.$image=o.one("error",(function(){i.setError(e)})).one("load",(function(){var t;e.$ghost||(i.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),i.afterLoad(e)),i.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&s.width()/s.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),o.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!i.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),i.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(r.complete||"complete"==r.readyState)&&o.naturalWidth&&o.naturalHeight?o.trigger("load"):r.error&&o.trigger("error")},resolveImageSlideSize:function(e,t,n){var i=parseInt(e.opts.width,10),r=parseInt(e.opts.height,10);e.width=t,e.height=n,i>0&&(e.width=i,e.height=Math.floor(i*n/t)),r>0&&(e.width=Math.floor(r*t/n),e.height=r)},setIframe:function(e){var t,i=this,r=e.opts.iframe,o=e.$slide;e.$content=n('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(o),o.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(i.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),i.afterLoad(e)})),o.on("refresh.fb",(function(){var n,i=e.$content,a=r.css.width,s=r.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(o.css("overflow","visible"),i.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===a&&(a=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),i.css("width",a||"").css("max-width",""),void 0===s&&(s=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),i.css("height",s||""),o.css("overflow","auto")),i.removeClass("fancybox-is-hidden")}}))):i.afterLoad(e),t.attr("src",e.src),o.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var i;this.isClosing||(this.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),(i=t)&&i.hasOwnProperty&&i instanceof n&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("<div>").append(n.trim(t)).contents()),e.opts.filter&&(t=n("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),this.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){(e=e||this.current)&&!e.$spinner&&(e.$spinner=n(this.translate(this,this.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){this.isClosing||(e.isLoading=!1,e.isLoaded=!0,this.trigger("afterLoad",e),this.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(this.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",(function(e){return 2==e.button&&e.preventDefault(),!0})),"image"===e.type&&n('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),this.adjustCaption(e),this.adjustLayout(e),e.pos===this.currPos&&this.updateCursor(
2),this.revealContent(e))},adjustCaption:function(e){var t,n=e||this.current,i=n.opts.caption,r=n.opts.preventCaptionOverlap,o=this.$refs.caption,a=!1;o.toggleClass("fancybox-caption--separate",r),r&&i&&i.length&&(n.pos!==this.currPos?((t=o.clone().appendTo(o.parent())).children().eq(0).empty().html(i),a=t.outerHeight(!0),t.empty().remove()):this.$caption&&(a=this.$caption.outerHeight(!0)),n.$slide.css("padding-bottom",a||""))},adjustLayout:function(e){var t,n,i,r,o=e||this.current;o.isLoaded&&!0!==o.opts.disableLayoutFix&&(o.$content.css("margin-bottom",""),o.$content.outerHeight()>o.$slide.height()+.5&&(i=o.$slide[0].style["padding-bottom"],r=o.$slide.css("padding-bottom"),parseFloat(r)>0&&(t=o.$slide[0].scrollHeight,o.$slide.css("padding-bottom",0),Math.abs(t-o.$slide[0].scrollHeight)<1&&(n=r),o.$slide.css("padding-bottom",i))),o.$content.css("margin-bottom",n))},revealContent:function(e){var t,i,r,o,a=this,s=e.$slide,l=!1,u=!1,c=a.isMoved(e),d=e.isRevealed;return e.isRevealed=!0,t=e.opts[a.firstRun?"animationEffect":"transitionEffect"],r=e.opts[a.firstRun?"animationDuration":"transitionDuration"],r=parseInt(void 0===e.forcedDuration?r:e.forcedDuration,10),!c&&e.pos===a.currPos&&r||(t=!1),"zoom"===t&&(e.pos===a.currPos&&r&&"image"===e.type&&!e.hasError&&(u=a.getThumbPos(e))?l=a.getFitPos(e):t="fade"),"zoom"===t?(a.isAnimating=!0,l.scaleX=l.width/u.width,l.scaleY=l.height/u.height,"auto"==(o=e.opts.zoomOpacity)&&(o=Math.abs(e.width/e.height-u.width/u.height)>.1),o&&(u.opacity=.1,l.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),u),f(e.$content),void n.fancybox.animate(e.$content,l,r,(function(){a.isAnimating=!1,a.complete()}))):(a.updateSlide(e),t?(n.fancybox.stop(s),i="fancybox-slide--"+(e.pos>=a.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,s.addClass(i).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),f(s),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(s,"fancybox-slide--current",r,(function(){s.removeClass(i).css({transform:"",opacity:""}),e.pos===a.currPos&&a.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),d||!c||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===a.currPos&&a.complete())))},getThumbPos:function(e){var i,r,o,a,s,l,u=e.$thumb;return!(!u||!function(e){var i,r;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),i={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},r=t.elementFromPoint(i.x,i.y)===e,n(".fancybox-container").css("pointer-events",""),r)}(u[0]))&&(r=n.fancybox.getTranslate(u),o=parseFloat(u.css("border-top-width")||0),a=parseFloat(u.css("border-right-width")||0),s=parseFloat(u.css("border-bottom-width")||0),l=parseFloat(u.css("border-left-width")||0),i={top:r.top+o,left:r.left+l,width:r.width-a-l,height:r.height-o-s,scaleX:1,scaleY:1},r.width>0&&r.height>0&&i)},complete:function(){var e,t=this,i=t.current,r={};!t.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),t.preload("inline"),f(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?r[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())})),t.slides=r),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),i.opts.autoFocus&&"html"===i.contentType&&((e=i.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n;this.group.length<2||(n=this.slides[this.currPos+1],(t=this.slides[this.currPos-1])&&t.type===e&&this.loadSlide(t),n&&n.type===e&&this.loadSlide(n))},focus:function(e,i){var r,o,a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
2([tabindex^="-"])'].join(",");this.isClosing||((r=(r=!e&&this.current&&this.current.isComplete?this.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):this.$refs.container.find("*:visible")).filter(a).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(o=r.index(t.activeElement),e&&e.shiftKey?(o<0||0==o)&&(e.preventDefault(),r.eq(r.length-1).trigger("focus")):(o<0||o==r.length-1)&&(e&&e.preventDefault(),r.eq(0).trigger("focus"))):this.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var i,r,o,a,s,l,u,d=this,h=d.current,p=function(){d.cleanUp(e)};return!d.isClosing&&(d.isClosing=!0,!1===d.trigger("beforeClose",e)?(d.isClosing=!1,c((function(){d.update()})),!1):(d.removeEvents(),o=h.$content,i=h.opts.animationEffect,r=n.isNumeric(t)?t:i?h.opts.animationDuration:0,h.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(h.$slide):i=!1,h.$slide.siblings().trigger("onReset").remove(),r&&d.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",r+"ms"),d.hideLoading(h),d.hideControls(!0),d.updateCursor(),"zoom"!==i||o&&r&&"image"===h.type&&!d.isMoved()&&!h.hasError&&(u=d.getThumbPos(h))||(i="fade"),"zoom"===i?(n.fancybox.stop(o),l={top:(a=n.fancybox.getTranslate(o)).top,left:a.left,scaleX:a.width/u.width,scaleY:a.height/u.height,width:u.width,height:u.height},"auto"==(s=h.opts.zoomOpacity)&&(s=Math.abs(h.width/h.height-u.width/u.height)>.1),s&&(u.opacity=0),n.fancybox.setTranslate(o,l),f(o),n.fancybox.animate(o,u,r,p),!0):(i&&r?n.fancybox.animate(h.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,r,p):!0===e?setTimeout(p,r):p(),!0)))},cleanUp:function(t){var i,r,o,a=this.current.opts.$orig;this.current.$slide.trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",t),this.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=this.$trigger),a&&a.length&&(r=e.scrollX,o=e.scrollY,a.trigger("focus"),n("html, body").scrollTop(o).scrollLeft(r))),this.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var i,r=Array.prototype.slice.call(arguments,1),o=this,a=t&&t.opts?t:o.current;if(a?r.unshift(a):a=o,r.unshift(o),n.isFunction(a.opts[e])&&(i=a.opts[e].apply(a,r)),!1===i)return i;"afterClose"!==e&&o.$refs?o.$refs.container.trigger(e+".fb",r):l.trigger(e+".fb",r)},updateControls:function(){var e=this.current,i=e.index,r=this.$refs.container,o=this.$refs.caption,a=e.opts.caption;e.$slide.trigger("refresh"),a&&a.length?(this.$caption=o,o.children().eq(0).html(a)):this.$caption=null,this.hasHiddenControls||this.isIdle||this.showControls(),r.find("[data-fancybox-count]").html(this.group.length),r.find("[data-fancybox-index]").html(i+1),r.find("[data-fancybox-prev]").prop("disabled",!e.opts.loop&&i<=0),r.find("[data-fancybox-next]").prop("disabled",!e.opts.loop&&i>=this.group.length-1),"image"===e.type?r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",e.opts.image.src||e.src).show():e.opts.toolbar&&r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.activeElement).is(":hidden,[disabled]")&&this.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map((function(e){return"fancybox-show-"+e})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this.current?this.current.opts:this.opts,t=this.$refs.container;
2this.hasHiddenControls=!1,this.idleSecondsCounter=0,t.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&this.group.length>1)).toggleClass("fancybox-show-caption",!!this.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&this.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return t instanceof m&&("string"===n.type(e)?t[e].apply(t,i):"function"===n.type(e)&&e.apply(t,i),t)},open:function(e,t,n){return new m(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),l.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(r=t.createElement("div"),e.getComputedStyle&&e.getComputedStyle(r)&&e.getComputedStyle(r).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left
2:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",i={};if(e&&t)return void 0===t.left&&void 0===t.top||(n=(void 0===t.left?e.position().left:t.left)+"px, "+(void 0===t.top?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==t.scaleX&&void 0!==t.scaleY?n+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(n+=" scaleX("+t.scaleX+")"),n.length&&(i.transform=n),void 0!==t.opacity&&(i.opacity=t.opacity),void 0!==t.width&&(i.width=t.width),void 0!==t.height&&(i.height=t.height),e.css(i)},animate:function(e,t,i,r,o){var a,s=this;n.isFunction(i)&&(r=i,i=null),s.stop(e),a=s.getTranslate(e),e.on(h,(function(l){(!l||!l.originalEvent||e.is(l.originalEvent.target)&&"z-index"!=l.originalEvent.propertyName)&&(s.stop(e),n.isNumeric(i)&&e.css("transition-duration",""),n.isPlainObject(t)?void 0!==t.scaleX&&void 0!==t.scaleY&&s.setTranslate(e,{top:t.top,left:t.left,width:a.width*t.scaleX,height:a.height*t.scaleY,scaleX:1,scaleY:1}):!0!==o&&e.removeClass(t),n.isFunction(r)&&r(l))})),n.isNumeric(i)&&e.css("transition-duration",i+"ms"),n.isPlainObject(t)?(void 0!==t.scaleX&&void 0!==t.scaleY&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(h)}),i+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(h),e.off(h).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},v):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},v),this},l.on("click.fb-start","[data-fancybox]",v),l.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),o=null,l.on("mousedown mouseup focus blur",".fancybox-button",(function(e){switch(e.type){case"mousedown":o=n(this);break;case"mouseup":o=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(o)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}}))}function v(e,t){var i,r,o,a=[],s=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=p(e.data.options,t)),i=t.$target||n(e.currentTarget).trigger("blur"),(o=n.fancybox.getInstance())&&o.$trigger&&o.$trigger.is(i)||(a=t.selector?n(t.selector):(r=i.attr("data-fancybox")||"")?(a=e.data?e.data.items:[]).length?a.filter('[data-fancybox="'+r+'"]'):n('[data-fancybox="'+r+'"]'):[i],(s=n(a).index(i))<0&&(s=0),(o=n.fancybox.open(a,t,s)).$trigger=i))}}(window,document,jQuery),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(t,n,i){if(t)return i=i||"","object"===e.type(i)&&(i=e.param(i,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),i.length&&(t+=(t.indexOf("?")>0?"&":"?")+i),t};e(document).on("objectNeedsType.fb",(function(i,r,o){var a,s,l,u,c,d,h,f=o.src||"",p=!1;a=e.extend(!0,{},t,o.opts.media),e.each(a,(function(t,i){if(l=f.match(i.matcher)){if(p=i.type,h=t,d={},i.paramPlace&&l[i.paramPlace]){"?"==(c=l[i.paramPlace])[0]&&(c=c.substring(1)),c=c.split("&");for(var r=0;r<c.length;++r){var a=c[r].split("=",2);2==a.length&&(d[a[0]]=decodeURIComponent(a[1].replace(/\+/g," ")))}}return u=e.extend(!0,{},i.params,o.opts[t],d),f="function"===e.type(i.url)?i.url.call(this,l,u,o):n(i.url,l,u),s="function"===e.type(i.thumb)?i.thumb.call(this,l,u,o):n(i.thumb,l),"youtube"===t?f=f.replace(/&t=((\d+)m)?(\d+)s/,(function(e,t,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))})):"vimeo"===t&&(f=f.replace("&%23","#")),!1}})),p?(o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=s),"iframe"===p&&(o.opts=e.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(o,{type:p,src:f,origSrc:o.src,contentSource:h,contentType:"image"===p?"image":"gmap_place"==h||"gmap_search"==h?"map":"video"})):f&&(o.type=o.opts.defaultType)}));var i={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,n=this;this[e].loaded?setTimeout((function(){n.done(e)})):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){n[e].loaded=!0,n.done(e)}:t.onload=function(){n[e].loaded=!0,n.done(e)},document.body.appendChild(t))},done:function(t){var n,i;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(n=e.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(e){0==e.data&&n.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",(function(){n.next()})))}};e(document).on({"afterShow.fb":function(e,t,n){t.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(jQuery),function(e,t,n){"use strict";var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},o=function(t){var n=[];for(var i in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[i].pageX?n.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&n.push({x:t[i].clientX,y:t[i].clientY});return n},a=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},s=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,i=e[0].attributes,r=i.length;t<r;t++)if("data-fancybox-"===i[t].nodeName.substr(0,14))return!0;return!1},l=function(t){for(var n,i,r,o,a,s=!1;n=t.get(0),i=void 0,r=void 0,o=void 0,a=void 0,i=e.getComputedStyle(n)["overflow-y"],r=e.getComputedStyle(n)["overflow-x"],o=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,a=("scroll"===r||"auto"===r)&&n.scrollWidth>n.clientWidth,!(s=o||a)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return s},u=function(e){this.instance=e,this.$bg=e.$refs.bg,this.$stage=e.$refs.stage,this.$container=e.$refs.container,this.destroy(),this.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(this,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch"),n(t).off(".fb.touch"),this.requestId&&(r(this.requestId),this.requestId=null),this.tapped&&(clearTimeout(this.tapped),this.tapped=null)},u.prototype.ontouchstart=function(i){var r=n(i.target),u=this.instance,c=u.current,d=c.$slide,h=c.$content,f="touchstart"==i.type;if(f&&this.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&d.length&&r.length&&!s(r)&&!s(r.parent())&&(r.is("img")||!(i.originalEvent.clientX>r[0].clientWidth+r.offset().left))){if(!c||u.isAnimating||c.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();this.realPoints=this.startPoints=o(i),this.startPoints.length&&(c.touch&&i.stopPropagation(),this.startEvent=i,this.canTap=!0,this.$target=r,this.$content=h,this.opts=c.opts.touch,this.isPanning=!1,this.isSwiping=!1,this.isZooming=!1,this.isScrolling=!1,this.canPan=u.canPan(),this.startTime=(new Date).getTime(),this.distanceX=this.distanceY=this.distance=0,this.canvasWidth=Math.round(d[0].clientWidth),this.canvasHeight=Math.round(d[0].clientHeight),this.contentLastPos=null,this.contentStartPos=n.fancybox.getTranslate(this.$content)||{top:0,left:0},this.sliderStartPos=n.fancybox.getTranslate(d),this.stagePos=n.fancybox.getTranslate(u.$refs.stage),this.sliderStartPos.top-=this.stagePos.top,this.sliderStartPos.left-=this.stagePos.left,this.contentStartPos.top-=this.stagePos.top,this.contentStartPos.left-=this.stagePos.left,n(t).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(this,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(this,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",this.onscroll,!0),((this.opts||this.canPan)&&(r.is(this.$stage)||this.$stage.find(r).length)||(r.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&r.parents(".fancybox-caption").length))&&(this.isScrollable=l(r)||l(r.parent()),n.fancybox.isMobile&&this.isScrollable||i.preventDefault(),(1===this.startPoints.length||c.hasError)&&(this.canPan?(n.fancybox.stop(this.$content),this.isPanning=!0):this.isSwiping=!0,this.$container.addClass("fancybox-is-grabbing")),2===this.startPoints.length&&"image"===c.type&&(c.isLoaded||c.$ghost)&&(this.canTap=!1,this.isSwiping=!1,this.isPanning=!1,this.isZooming=!0,n.fancybox.stop(this.$content),this.centerPointStartX=.5*(this.startPoints[0].x+this.startPoints[1].x)-n(e).scrollLeft(),this.centerPointStartY=.5*(this.startPoints[0].y+this.startPoints[1].y)-n(e).scrollTop(),this.percentageOfImageAtPinchPointX=(this.centerPointStartX-this.contentStartPos.left)/this.contentStartPos.width,this.percentageOfImageAtPinchPointY=(this.centerPointStartY-this.contentStartPos.top)/this.contentStartPos.height,this.startDistanceBetweenFingers=a(this.startPoints[0],this.startPoints[1]))))}},u.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(e){void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?this.isScrolling?this.canTap=!1:(this.newPoints=o(e),(this.opts||this.canPan)&&this.newPoints.length&&this.newPoints.length&&(this.isSwiping&&!0===this.isSwiping||e.preventDefault(),this.distanceX=a(this.newPoints[0],this.startPoints[0],"x"),this.distanceY=a(this.newPoints[0],this.startPoints[0],"y"),this.distance=a(this.newPoints[0],this.startPoints[0]),this.distance>0&&(this.isSwiping?this.onSwipe(e):this.isPanning?this.onPan():this.isZooming&&this.onZoom()))):this.ontouchend(e)},u.prototype.onSwipe=function(t){var o,a=this,s=a.instance,l=a.isSwiping,u=a.sliderStartPos.left||0;if(!0!==l)"x"==l&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?u+=Math.pow(a.distanceX,.8):a.distanceX<0&&(a.instance.group.length<2||a.instance.current.index===a.instance.group.length-1&&!a.instance.current.opts.loop)?u-=Math.pow(-a.distanceX,.8):u+=a.distanceX),a.sliderLastPos={top:"x"==l?0:a.sliderStartPos.top+a.distanceY,left:u},a.requestId&&(r(a.requestId),a.requestId=null),a.requestId=i((function(){a.sliderLastPos&&(n.each(a.instance.slides,(function(e,t){var i=t.pos-a.instance.currPos;
2n.fancybox.setTranslate(t.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+i*a.canvasWidth+i*t.opts.gutter})})),a.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(a.distance)>10){if(a.canTap=!1,s.group.length<2&&a.opts.vertical?a.isSwiping="y":s.isDragging||!1===a.opts.vertical||"auto"===a.opts.vertical&&n(e).width()>800?a.isSwiping="x":(o=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=o>45&&o<135?"y":"x"),"y"===a.isSwiping&&n.fancybox.isMobile&&a.isScrollable)return void(a.isScrolling=!0);s.isDragging=a.isSwiping,a.startPoints=a.newPoints,n.each(s.slides,(function(e,t){var i,r;n.fancybox.stop(t.$slide),i=n.fancybox.getTranslate(t.$slide),r=n.fancybox.getTranslate(s.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),t.pos===s.current.pos&&(a.sliderStartPos.top=i.top-r.top,a.sliderStartPos.left=i.left-r.left),n.fancybox.setTranslate(t.$slide,{top:i.top-r.top,left:i.left-r.left})})),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},u.prototype.onPan=function(){var e=this;a(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&r(e.requestId),e.requestId=i((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},u.prototype.limitMovement=function(){var e,t,n,i,r,o,a=this.canvasWidth,s=this.canvasHeight,l=this.distanceX,u=this.distanceY,c=this.contentStartPos,d=c.left,h=c.top,f=c.width,p=c.height;return r=f>a?d+l:d,o=h+u,e=Math.max(0,.5*a-.5*f),t=Math.max(0,.5*s-.5*p),n=Math.min(a-f,.5*a-.5*f),i=Math.min(s-p,.5*s-.5*p),l>0&&r>e&&(r=e-1+Math.pow(-e+d+l,.8)||0),l<0&&r<n&&(r=n+1-Math.pow(n-d-l,.8)||0),u>0&&o>t&&(o=t-1+Math.pow(-t+h+u,.8)||0),u<0&&o<i&&(o=i+1-Math.pow(i-h-u,.8)||0),{top:o,left:r}},u.prototype.limitPosition=function(e,t,n,i){var r=this.canvasWidth,o=this.canvasHeight;return e=n>r?(e=e>0?0:e)<r-n?r-n:e:Math.max(0,r/2-n/2),{top:t=i>o?(t=t>0?0:t)<o-i?o-i:t:Math.max(0,o/2-i/2),left:e}},u.prototype.onZoom=function(){var t=this,o=t.contentStartPos,s=o.width,l=o.height,u=o.left,c=o.top,d=a(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,h=Math.floor(s*d),f=Math.floor(l*d),p=(s-h)*t.percentageOfImageAtPinchPointX,m=(l-f)*t.percentageOfImageAtPinchPointY,v=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft(),g=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop(),b=v-t.centerPointStartX,y={top:c+(m+(g-t.centerPointStartY)),left:u+(p+b),scaleX:d,scaleY:d};t.canTap=!1,t.newWidth=h,t.newHeight=f,t.contentLastPos=y,t.requestId&&r(t.requestId),t.requestId=i((function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)}))},u.prototype.ontouchend=function(e){var i=this.isSwiping,a=this.isPanning,s=this.isZooming,l=this.isScrolling;if(this.endPoints=o(e),this.dMs=Math.max((new Date).getTime()-this.startTime,1),this.$container.removeClass("fancybox-is-grabbing"),n(t).off(".fb.touch"),t.removeEventListener("scroll",this.onscroll,!0),this.requestId&&(r(this.requestId),this.requestId=null),this.isSwiping=!1,this.isPanning=!1,this.isZooming=!1,this.isScrolling=!1,this.instance.isDragging=!1,this.canTap)return this.onTap(e);this.speed=100,this.velocityX=this.distanceX/this.dMs*.5,this.velocityY=this.distanceY/this.dMs*.5,a?this.endPanning():s?this.endZooming():this.endSwiping(i,l)},u.prototype.endSwiping=function(e,t){var i=!1,r=this.instance.group.length,o=Math.abs(this.distanceX),a="x"==e&&r>1&&(this.dMs>130&&o>10||o>50);this.sliderLastPos=null,"y"==e&&!t&&Math.abs(this.distanceY)>50?(n.fancybox.animate(this.instance.current.$slide,{top:this.sliderStartPos.top+this.distanceY+150*this.velocityY,opacity:0},200),i=this.instance.close(!0,250)):a&&this.distanceX>0?i=this.instance.previous(300):a&&this.distanceX<0&&(i=this.instance.next(300)),!1!==i||"x"!=e&&"y"!=e||this.instance.centerSlide(200),this.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var e,t,i;this.contentLastPos&&(!1===this.opts.momentum||this.dMs>350?(e=this.contentLastPos.left,t=this.contentLastPos.top):(e=this.contentLastPos.left+500*this.velocityX,t=this.contentLastPos.top+500*this.velocityY),(i=this.limitPosition(e,t,this.contentStartPos.width,this.contentStartPos.height)).width=this.contentStartPos.width,i.height=this.contentStartPos.height,n.fancybox.animate(this.$content,i,366))},u.prototype.endZooming=function(){var e,t,i,r,o=this.instance.current,a=this.newWidth,s=this.newHeight;this.contentLastPos&&(e=this.contentLastPos.left,r={top:t=this.contentLastPos.top,left
2:e,width:a,height:s,scaleX:1,scaleY:1},n.fancybox.setTranslate(this.$content,r),a<this.canvasWidth&&s<this.canvasHeight?this.instance.scaleToFit(150):a>o.width||s>o.height?this.instance.scaleToActual(this.centerPointStartX,this.centerPointStartY,150):(i=this.limitPosition(e,t,a,s),n.fancybox.animate(this.$content,i,150)))},u.prototype.onTap=function(t){var i,r=this,a=n(t.target),s=r.instance,l=s.current,u=t&&o(t)||r.startPoints,c=u[0]?u[0].x-n(e).scrollLeft()-r.stagePos.left:0,d=u[0]?u[0].y-n(e).scrollTop()-r.stagePos.top:0,h=function(e){var i=l.opts[e];if(n.isFunction(i)&&(i=i.apply(s,[l,t])),i)switch(i){case"close":s.close(r.startEvent);break;case"toggleControls":s.toggleControls();break;case"next":s.next();break;case"nextOrClose":s.group.length>1?s.next():s.close(r.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(c,d):s.group.length<2&&s.close(r.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(a.is("img")||!(c>a[0].clientWidth+a.offset().left))){if(a.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(a.is(".fancybox-slide"))i="Slide";else{if(!s.current.$content||!s.current.$content.find(a).addBack().filter(a).length)return;i="Content"}if(r.tapped){if(clearTimeout(r.tapped),r.tapped=null,Math.abs(c-r.tapX)>50||Math.abs(d-r.tapY)>50)return this;h("dblclick"+i)}else r.tapX=c,r.tapY=d,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?r.tapped=setTimeout((function(){r.tapped=null,s.isAnimating||h("click"+i)}),500):h("click"+i);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new u(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,i=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!i?e.$button.hide():i.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(e){var n=this.instance,i=n.current;i&&(!0===e||i.opts.loop||n.currIndex<n.group.length-1)?this.isActive&&"video"!==i.contentType&&(this.$progress&&t.fancybox.animate(this.$progress.show(),{scaleX:1},i.opts.slideShow.speed),this.timer=setTimeout((function(){n.current.opts.loop||n.current.index!=n.group.length-1?n.next():n.jumpTo(0)}),i.opts.slideShow.speed)):(this.stop(),n.idleSecondsCounter=0,n.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var e=this.instance.current;e&&(this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.isActive=!0,e.isComplete&&this.set(!0),this.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this.instance.current;this.clear(),this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1,this.instance.trigger("onSlideShowChange",!1),this.$progress&&this.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),t(e).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new n(t))},"beforeShow.fb":function(e,t,n,i){var r=t&&t.SlideShow;i?r&&n.opts.slideShow.autoStart&&r.start():r&&r.isActive&&r.clear()},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,r,o,a){var s=i&&i.SlideShow;!s||!r.opts.slideShow||80!==a&&32!==a||t(e.activeElement).is("button,a,input")||(o.preventDefault(),s.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;n&&n.stop()}}),t(e).on("visibilitychange",(function(){var n=t.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(e.hidden?i.clear():i.set())}))}(document,jQuery),function(e,t){"use strict";var n=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
2webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},i=0;i<t.length;i++){var r=t[i];if(r&&r[1]in e){for(var o=0;o<r.length;o++)n[t[0][o]]=r[o];return n}}return!1}();if(n){var i={request:function(t){(t=t||e.documentElement)[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.fullscreenEnabled])}};t.extend(!0,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),t(e).on(n.fullscreenchange,(function(){var e=i.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),i.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&i.request(),t.FullScreen=i):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,i,r){t&&t.FullScreen&&70===r&&(i.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,jQuery),function(e,t){"use strict";var n="fancybox-thumbs";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var i=function(e){this.init(e)};t.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,i=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var r=0,o=n.length;r<o&&(n[r].thumb&&i++,!(i>1));r++);i>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,i=this.instance,r=this.opts.parentEl,o=[];this.$grid||(this.$grid=t('<div class="'+n+" "+n+"-"+this.opts.axis+'"></div>').appendTo(i.$refs.container.find(r).addBack().filter(r)),this.$grid.on("click","a",(function(){i.jumpTo(t(this).attr("data-index"))}))),this.$list||(this.$list=t('<div class="'+n+'__list">').appendTo(this.$grid)),t.each(i.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),o.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")})),this.$list[0].innerHTML=o.join(""),"x"===this.opts.axis&&this.$list.width(parseInt(this.$grid.css("padding-right"),10)+i.group.length*this.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,i=this.$list,r=this.$grid;this.instance.current&&(n=(t=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===this.opts.axis&&(n.top<0||n.top>i.height()-t.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},e):"x"===this.opts.axis&&(n.left<r.scrollLeft()||n.left>r.scrollLeft()+(r.width()-t.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},e))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update(
2)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&(n=new i(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,i){var r=t&&t.Thumbs;r&&r.isVisible&&r.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,r){var o=t&&t.Thumbs;o&&o.isActive&&71===r&&(i.preventDefault(),o.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),t(e).on("click","[data-fancybox-share]",(function(){var e,n,i,r,o=t.fancybox.getInstance(),a=o.current||null;a&&("function"===t.type(a.opts.share.url)&&(e=a.opts.share.url.apply(a,[o,a])),n=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(i=e,r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(i).replace(/[&<>"'`=\/]/g,(function(e){return r[e]})))).replace(/\{\{descr\}\}/g,o.$caption?encodeURIComponent(o.$caption.text()):""),t.fancybox.open({src:o.translate(o,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){o.$refs.container.one("beforeClose.fb",(function(){e.close(null,0)})),t.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(e,t,n){"use strict";function i(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:i<1?1:i,gallery:n.join("-")}}function r(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function o(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,r;!1!==t.group[t.currIndex].opts.hash&&(n=i(),(r=o(t))&&n.gallery&&r==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,i,r,a){var s;r&&!1!==r.opts.hash&&(s=o(i))&&(i.currentHash=s+(i.group.length>1?"-"+(r.index+1):""),e.location.hash!=="#"+i.currentHash&&(a&&!i.origHash&&(i.origHash=e.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+i.currentHash),a&&(i.hasCreatedHistory=!0)):e.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,r){r&&!1!==r.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?e.history.back():i.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(i.origHash||"")):e.location.hash=i.origHash),i.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=i(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,i){var r=n(i).data("FancyBox");if(r&&r.currentHash)return t=r,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&r(e)})),setTimeout((function(){n.fancybox.getInstance()||r(i())}),50))}))}(window,document,jQuery),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,i){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var i=t.current,r=(new Date).getTime();t.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(e.preventDefault(),e.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,r-n<250||(n=r,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery)},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,i){return It(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
vendor: 31,735 bytes, line 2
2dFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=f(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);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=h(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var v=i.momentProperties=[];function g(e,t){var n,i,r;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=f(t)),a(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)a(r=t[i=v[n]])||(e[i]=r);return e}var b=!1;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===b&&(b=!0,i.updateOffset(this),b=!1)}function w(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function S(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&_(e[i])!==_(t[i]))&&a++;return a+o}function E(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return d((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}E(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,T={};function M(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),T[e]||(E(t),T[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e,t){var n,i=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(i[n]=d({},i[n]));return i}function P(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var I={};function L(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function D(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function j(e){var t,n,i={};for(n in e)c(e,n)&&(t=D(n))&&(i[t]=e[n]);return i}var N={};function F(e,t){N[e]=t}function R(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var $=/(\[[^\[]*\])|(\\)?([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,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},z={};function q(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(z[e]=r),t&&(z[t[0]]=function(){return R(r.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=V(t,e.localeData()),H[t]=H[t]||function(e){var t,n,i,r=e.match($);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=A(r[i])?r[i].call(t,e):r[i];return o}}(t),H[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;n>=0&&B.test(e);)e=e.replace(B,i),B.lastIndex=0,n-=1;return e}var Y=/\d/,G=/\d\d/,U=/\d{3}/,X=/\d{4}/,K=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,ie=/\d+/,re=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ue(e,t,n){le[e]=A(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return c(le,e)?le[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function fe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),s(t)&&(i=function(e,n){n[t]=_(e)}),n=0;n<e.length;n++)he[e[n]]=i}function pe(e,t){fe(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function me(e,t,n){null!=t&&c(he,e)&&he[e](t,n._a,n,e)}var ve=0,ge=1,be=2,ye=3,we=4,xe=5,_e=6,Se=7,Ee=8;function ke(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}q("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),q(0,["YY",2],0,(function(){return this.year()%100})),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),L("year","y"),F("year",1),ue("Y",re),ue("YY",Z,G),ue("YYYY",te,X),ue("YYYYY",ne,K),ue("YYYYYY",ne,K),fe(["YYYYY","YYYYYY"],ve),fe("YYYY",(function(e,t){t[ve]=2===e.length?i.parseTwoDigitYear(e):_(e)})),fe("YY",(function(e,t){t[ve]=i.parseTwoDigitYear(e)})),fe("Y",(function(e,t){t[ve]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Te,Me=Ae("FullYear",!0);function Ae(e,t){return function(n){return null!=n?(Pe(this,e,n),i.updateOffset(this,t),this):Oe(this,e)}}function Oe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Ce(e)?29:28:31-i%7%2}Te=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},q("M",["MM",2],"Mo",(function(){return this.month()+1})),q("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),q("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),L("month","M"),F("month",8),ue("M",Z),ue("MM",Z,G),ue("MMM",(function(e,t){return t.monthsShortRegex(e)})),ue("MMMM",(function(e,t){return t.monthsRegex(e)})),fe(["M","MM"],(function(e,t){t[ge]=_(e)-1})),fe(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[ge]=r:f(n).invalidMonth=e}));var Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),je="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ne(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Te.call(this._shortMonthsParse,a))?r:null:-1!==(r=Te.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=Te.call(this._shortMonthsParse,a))?r:-1!==(r=Te.call(this._longMonthsParse,a))?r:null:-1!==(r=Te.call(this._longMonthsParse,a))?r:-1!==(r=Te.call(this._shortMonthsParse,a))?r:null}function Fe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Fe(this,e),i.updateOffset(this,!0),this):Oe(this,"Month")}var $e=se,Be=se;function He(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=h([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=de(i[t]),r[t]=de(r[t]);for(t=0;t<24;t++)o[t]=de(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ze(e,t,n,i,r,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,a),s}function qe(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function We(e,t,n){var i=7+t-n;return-(7+qe(e,0,i).getUTCDay()-t)%7+i-1}function Ve(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+We(e,i,r);return s<=0?a=ke(o=e-1)+s:s>ke(e)?(o=e+1,a=s-ke(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ye(e,t,n){var i,r,o=We(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+Ge(r=e.year()-1,t,n):a>Ge(e.year(),t,n)?(i=a-Ge(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Ge(e,t,n){var i=We(e,t,n),r=We(e+1,t,n);return(ke(e)-i+r)/7}function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),F("week",5),F("isoWeek",5),ue("w",Z),ue("ww",Z,G),ue("W",Z),ue("WW",Z,G),pe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=_(e)})),q("d",0,"do","day"),q("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),q("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),q("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ue("d",Z),ue("e",Z),ue("E",Z),ue("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ue("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ue("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,i){t[i]=_(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Je(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Te.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Te.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Te.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=Te.call(this._weekdaysParse,a))?r:-1!==(r=Te.call(this._shortWeekdaysParse,a))?r:-1!==(r=Te.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Te.call(this._shortWeekdaysParse,a))?r:-1!==(r=Te.call(this._weekdaysParse,a))?r:-1!==(r=Te.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Te.call(this._minWeekdaysParse,a))?r:-1!==(r=Te.call(this._weekdaysParse,a))?r:-1!==(r=Te.call(this._shortWeekdaysParse,a))?r:null}var Qe=se,et=se,tt=se;function nt(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),l.push(o),u.push(i),u.push(r),u.push(o);for(a.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=de(s[t]),l[t]=de(l[t]),u[t]=de(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function it(){return this.hours()%12||12}function rt(e,t){q(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ot(e,t){return t._meridiemParse}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,it),q("k",["kk",2],0,(function(){return this.hours()||24})),q("hmm",0,0,(function(){return""+it.apply(this)+R(this.minutes(),2)})),q("hmmss",0,0,(function(){return""+it.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),q("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),q("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),rt("a",!0),rt("A",!1),L("hour","h"),F("hour",13),ue("a",ot),ue("A",ot),ue("H",Z),ue("h",Z),ue("k",Z),ue("HH",Z,G),ue("hh",Z,G),ue("kk",Z,G),ue("hmm",J),ue("hmmss",Q),ue("Hmm",J),ue("Hmmss",Q),fe(["H","HH"],ye),fe(["k","kk"],(function(e,t,n){var i=_(e);t[ye]=24===i?0:i})),fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),fe(["h","hh"],(function(e,t,n){t[ye]=_(e),f(n).bigHour=!0})),fe("hmm",(function(e,t,n){var i=e.length-2;t[ye]=_(e.substr(0,i)),t[we]=_(e.substr(i)),f(n).bigHour=!0})),fe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[ye]=_(e.substr(0,i)),t[we]=_(e.substr(i,2)),t[xe]=_(e.substr(r)),f(n).bigHour=!0})),fe("Hmm",(function(e,t,n){var i=e.length-2;t[ye]=_(e.substr(0,i)),t[we]=_(e.substr(i))})),fe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[ye]=_(e.substr(0,i)),t[we]=_(e.substr(i,2)),t[xe]=_(e.substr(r))}));var at,st=Ae("Hours",!0),lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},months:De,monthsShort:je,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Ze,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},ut={},ct={};function dt(e){return e?e.toLowerCase().replace("_","-"):e}function ht(t){var n=null;if(!ut[t]&&void 0!==e&&e&&e.exports)try{n=at._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ft(n)}catch(e){}return ut[t]}function ft(e,t){var n;return e&&((n=a(t)?mt(e):pt(e,t))?at=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null!==t){var n,i=lt;if(t.abbr=e,null!=ut[e])M("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."),i=ut[e]._config;else if(null!=t.parentLocale)if(null!=ut[t.parentLocale])i=ut[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ut[e]=new P(O(i,t)),ct[e]&&ct[e].forEach((function(e){pt(e.name,e.config)})),ft(e),ut[e]}return delete ut[e],null}function mt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!r(e)){if(t=ht(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=dt(e[o]).split("-")).length,n=(n=dt(e[o+1]))?n.split("-"):null;t>0;){if(i=ht(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&S(r,n,!0)>=t-1)break;t--}o++}return at}(e)}function vt(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[be]<1||n[be]>Ie(n[ve],n[ge])?be:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[we]||0!==n[xe]||0!==n[_e])?ye:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[_e]<0||n[_e]>999?_e:-1,f(e)._overflowDayOfYear&&(t<ve||t>be)&&(t=be),f(e)._overflowWeeks&&-1===t&&(t=Se),f(e)._overflowWeekday&&-1===t&&(t=Ee),f(e).overflow=t),e}function gt(e,t,n){return null!=e?e:null!=t?t:n}function bt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ge]&&function(e){var t,n,i,r,o,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=gt(t.GG,e._a[ve],Ye(Lt(),1,4).year),i=gt(t.W,1),((r=gt(t.E,1))<1||r>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Ye(Lt(),o,a);n=gt(t.gg,e._a[ve],u.year),i=gt(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>Ge(n,o,a)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=Ve(n,i,r,o,a),e._a[ve]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=gt(e._a[ve],r[ve]),(e._dayOfYear>ke(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=qe(a,0,e._dayOfYear),e._a[ge]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[_e]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?qe:ze).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(f(e).weekdayMismatch=!0)}}var yt=/^\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)?)?$/,wt=/^\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)?)?$/,xt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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}/]],St=[["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/]],Et=/^\/?Date\((\-?\d+)/i;function kt(e){var t,n,i,r,o,a,s=e._i,l=yt.exec(s)||wt.exec(s);if(l){for(f(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[1])){r=_t[t][0],i=!1!==_t[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=St.length;t<n;t++)if(St[t][1].exec(l[3])){o=(l[2]||" ")+St[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!xt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),Ot(e)}else e._isValid=!1}var Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Tt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var Mt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,n,i,r,o,a,s,l=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var u=(t=l[4],n=l[3],i=l[2],r=l[5],o=l[6],a=l[7],s=[Tt(t),je.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return Mt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(l[8],l[9],l[10]),e._d=qe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Ot(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],f(e).empty=!0;var t,n,r,o,a,s=""+e._i,l=s.length,u=0;for(r=V(e._f,e._locale).match($)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(ce(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),z[o]?(n?f(e).empty=!1:f(e).unusedTokens.push(o),me(o,n,e)):e._strict&&!n&&f(e).unusedTokens.push(o);f(e).charsLeftOver=l-u,s.length>0&&f(e).unusedInput.push(s),e._a[ye]<=12&&!0===f(e).bigHour&&e._a[ye]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),bt(e),vt(e)}else At(e);else kt(e)}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||mt(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new y(vt(t)):(l(t)?e._d=t:r(n)?function(e){var t,n,i,r,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ot(t),p(t)&&(o+=f(t).charsLeftOver,o+=10*f(t).unusedTokens.length,f(t).score=o,(null==i||o<i)&&(i=o,n=t));d(e,n||t)}(e):n?Ot(e):function(e){var t=e._i;a(t)?e._d=new Date(i.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Et.exec(e._i);null===t?(kt(e),!1===e._isValid&&(delete e._isValid,At(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),bt(e)):o(t)?function(e){if(!e._d){var t=j(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)})),bt(e)}}(e):s(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function It(e,t,n,i,a){var s,l={};return!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=i,(s=new y(vt(Pt(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Lt(e,t,n,i){return It(e,t,n,i,!1)}i.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/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":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Dt=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),jt=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function Nt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Lt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ft=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=j(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Te.call(Ft,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Ft.length;++i)if(e[Ft[i]]){if(n)return!1;parseFloat(e[Ft[i]])!==_(e[Ft[i]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=mt(),this._bubble()}function $t(e){return e instanceof Rt}function Bt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,t){q(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+R(~~(e/60),2)+t+R(~~e%60,2)}))}Ht("Z",":"),Ht("ZZ",""),ue("Z",ae),ue("ZZ",ae),fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=qt(ae,e)}));var zt=/([\+\-]|\d\d)/gi;function qt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(zt)||["-",0,0],r=60*i[1]+_(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Wt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||l(e)?e.valueOf():Lt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Lt(e).local()}function Vt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Gt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xt(e,t){var n,i,r,o,a,l,u=e,d=null;return $t(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(u={},t?u[t]=e:u.milliseconds=e):(d=Gt.exec(e))?(n="-"===d[1]?-1:1,u={y:0,d:_(d[be])*n,h:_(d[ye])*n,m:_(d[we])*n,s:_(d[xe])*n,ms:_(Bt(1e3*d[_e]))*n}):(d=Ut.exec(e))?(n="-"===d[1]?-1:1,u={y:Kt(d[2],n),M:Kt(d[3],n),w:Kt(d[4],n),d:Kt(d[5],n),h:Kt(d[6],n),m:Kt(d[7],n),s:Kt(d[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=Lt(u.from),a=Lt(u.to),r=o.isValid()&&a.isValid()?(a=Wt(a,o),o.isBefore(a)?l=Zt(o,a):((l=Zt(a,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),i=new Rt(u),$t(e)&&c(e,"_locale")&&(i._locale=e._locale),i}function Kt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Zt(e,t){var n={};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 Jt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(M(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."),r=n,n=i,i=r),Qt(this,Xt(n="string"==typeof n?+n:n,i),e),this}}function Qt(e,t,n,r){var o=t._milliseconds,a=Bt(t._days),s=Bt(t._months);e.isValid()&&(r=null==r||r,s&&Fe(e,Oe(e,"Month")+s*n),a&&Pe(e,"Date",Oe(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Xt.fn=Rt.prototype,Xt.invalid=function(){return Xt(NaN)};var en=Jt(1,"add"),tn=Jt(-1,"subtract");function nn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function rn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=mt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var on=k("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)}));function an(){return this._locale}var sn=1e3,ln=60*sn,un=60*ln,cn=3506328*un;function dn(e,t){return(e%t+t)%t}function hn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function fn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function pn(e,t){q(0,[e,e.length],0,t)}function mn(e,t,n,i,r){var o;return null==e?Ye(this,i,r).year:(t>(o=Ge(e,i,r))&&(t=o),vn.call(this,e,t,n,i,r))}function vn(e,t,n,i,r){var o=Ve(e,t,n,i,r),a=qe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}q(0,["gg",2],0,(function(){return this.weekYear()%100})),q(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ue("G",re),ue("g",re),ue("GG",Z,G),ue("gg",Z,G),ue("GGGG",te,X),ue("gggg",te,X),ue("GGGGG",ne,K),ue("ggggg",ne,K),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=_(e)})),pe(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),q("Q",0,"Qo","quarter"),L("quarter","Q"),F("quarter",7),ue("Q",Y),fe("Q",(function(e,t){t[ge]=3*(_(e)-1)})),q("D",["DD",2],"Do","date"),L("date","D"),F("date",9),ue("D",Z),ue("DD",Z,G),ue("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),fe(["D","DD"],be),fe("Do",(function(e,t){t[be]=_(e.match(Z)[0])}));var gn=Ae("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),F("dayOfYear",4),ue("DDD",ee),ue("DDDD",U),fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=_(e)})),q("m",["mm",2],0,"minute"),L("minute","m"),F("minute",14),ue("m",Z),ue("mm",Z,G),fe(["m","mm"],we);var bn=Ae("Minutes",!1);q("s",["ss",2],0,"second"),L("second","s"),F("second",15),ue("s",Z),ue("ss",Z,G),fe(["s","ss"],xe);var yn,wn=Ae("Seconds",!1);for(q("S",0,0,(function(){return~~(this.millisecond()/100)})),q(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),q(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),q(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),q(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),q(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),q(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),L("millisecond","ms"),F("millisecond",16),ue("S",ee,Y),ue("SS",ee,G),ue("SSS",ee,U),yn="SSSS";yn.length<=9;yn+="S")ue(yn,ie);function xn(e,t){t[_e]=_(1e3*("0."+e))}for(yn="S";yn.length<=9;yn+="S")fe(yn,xn);var _n=Ae("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Sn=y.prototype;function En(e){return e}Sn.add=en,Sn.calendar=function(e,t){var n=e||Lt(),r=Wt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(A(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Lt(n)))},Sn.clone=function(){return new y(this)},Sn.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=D(t)){case"year":o=nn(this,i)/12;break;case"month":o=nn(this,i);break;case"quarter":o=nn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:x(o)},Sn.endOf=function(e){var t;if(void 0===(e=D(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?fn:hn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;
vendor: 4,218 bytes, line 2
2case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=un-dn(t+(this._isUTC?0:this.utcOffset()*ln),un)-1;break;case"minute":t=this._d.valueOf(),t+=ln-dn(t,ln)-1;break;case"second":t=this._d.valueOf(),t+=sn-dn(t,sn)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},Sn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},Sn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Lt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Sn.fromNow=function(e){return this.from(Lt(),e)},Sn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Lt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Sn.toNow=function(e){return this.to(Lt(),e)},Sn.get=function(e){return A(this[e=D(e)])?this[e]():this},Sn.invalidAt=function(){return f(this).overflow},Sn.isAfter=function(e,t){var n=w(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Sn.isBefore=function(e,t){var n=w(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Sn.isBetween=function(e,t,n,i){var r=w(e)?e:Lt(e),o=w(t)?t:Lt(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n))},Sn.isSame=function(e,t){var n,i=w(e)?e:Lt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Sn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Sn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Sn.isValid=function(){return p(this)},Sn.lang=on,Sn.locale=rn,Sn.localeData=an,Sn.max=jt,Sn.min=Dt,Sn.parsingFlags=function(){return d({},f(this))},Sn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:N[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=j(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(A(this[e=D(e)]))return this[e](t);return this},Sn.startOf=function(e){var t;if(void 0===(e=D(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?fn:hn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=dn(t+(this._isUTC?0:this.utcOffset()*ln),un);break;case"minute":t=this._d.valueOf(),t-=dn(t,ln);break;case"second":t=this._d.valueOf(),t-=dn(t,sn)}return this._d.setTime(t),i.updateOffset(this,!0),this},Sn.subtract=tn,Sn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Sn.toObject=function(){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()}},Sn.toDate=function(){return new Date(this.valueOf())},Sn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 14,624 bytes, line 2
2,Sn.inspect=function(){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+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},Sn.toJSON=function(){return this.isValid()?this.toISOString():null},Sn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Sn.unix=function(){return Math.floor(this.valueOf()/1e3)},Sn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Sn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Sn.year=Me,Sn.isLeapYear=function(){return Ce(this.year())},Sn.weekYear=function(e){return mn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Sn.isoWeekYear=function(e){return mn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Sn.quarter=Sn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Sn.month=Re,Sn.daysInMonth=function(){return Ie(this.year(),this.month())},Sn.week=Sn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Sn.isoWeek=Sn.isoWeeks=function(e){var t=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Sn.weeksInYear=function(){var e=this.localeData()._week;return Ge(this.year(),e.dow,e.doy)},Sn.isoWeeksInYear=function(){return Ge(this.year(),1,4)},Sn.date=gn,Sn.day=Sn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Sn.weekday=function(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")},Sn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Sn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Sn.hour=Sn.hours=st,Sn.minute=Sn.minutes=bn,Sn.second=Sn.seconds=wn,Sn.millisecond=Sn.milliseconds=_n,Sn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=qt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Vt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Qt(this,Xt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Vt(this)},Sn.utc=function(e){return this.utcOffset(0,e)},Sn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Vt(this),"m")),this},Sn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=qt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Sn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Sn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Sn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Sn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Sn.isUtc=Yt,Sn.isUTC=Yt,Sn.zoneAbbr=function(){return this._isUTC?"UTC":""},Sn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Sn.dates=k("dates accessor is deprecated. Use date instead.",gn),Sn.months=k("months accessor is deprecated. Use month instead",Re),Sn.years=k("years accessor is deprecated. Use year instead",Me),Sn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Sn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=Pt(e))._a){var t=e._isUTC?h(e._a):Lt(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var kn=P.prototype;function Cn(e,t,n,i){var r=mt(),o=h().set(i,t);return r[n](o,e)}function Tn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Cn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Cn(e,i,n,"month");return r}function Mn(e,t,n,i){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var r,o=mt(),a=e?o._week.dow:0;if(null!=n)return Cn(t,(n+a)%7,i,"day");var l=[];for(r=0;r<7;r++)l[r]=Cn(t,(r+a)%7,i,"day");return l}kn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return A(i)?i.call(t,n):i},kn.longDateFormat=function(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])},kn.invalidDate=function(){return this._invalidDate},kn.ordinal=function(e){return this._ordinal.replace("%d",e)},kn.preparse=En,kn.postformat=En,kn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return A(r)?r(e,t,n,i):r.replace(/%d/i,e)},kn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},kn.set=function(e){var t,n;for(n in e)A(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},kn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},kn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},kn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Ne.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},kn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=$e),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},kn.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},kn.firstDayOfYear=function(){return this._week.doy},kn.firstDayOfWeek=function(){return this._week.dow},kn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ue(n,this._week.dow):e?n[e.day()]:n},kn.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},kn.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},kn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Je.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},kn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},kn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},kn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ft("en",{dayOfMonthOrdinalParse:/\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")}}),i.lang=k("moment.lang is deprecated. Use moment.locale instead.",ft),i.langData=k("moment.langData is deprecated. Use moment.localeData instead.",mt);var An=Math.abs;function On(e,t,n,i){var r=Xt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Pn(e){return e<0?Math.floor(e):Math.ceil(e)}function In(e){return 4800*e/146097}function Ln(e){return 146097*e/4800}function Dn(e){return function(){return this.as(e)}}var jn=Dn("ms"),Nn=Dn("s"),Fn=Dn("m"),Rn=Dn("h"),$n=Dn("d"),Bn=Dn("w"),Hn=Dn("M"),zn=Dn("Q"),qn=Dn("y");function Wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vn=Wn("milliseconds"),Yn=Wn("seconds"),Gn=Wn("minutes"),Un=Wn("hours"),Xn=Wn("days"),Kn=Wn("months"),Zn=Wn("years"),Jn=Math.round,Qn={ss:44,s:45,m:45,h:22,d:26,M:11};function ei(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var ti=Math.abs;function ni(e){return(e>0)-(e<0)||+e}function ii(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=ti(this._milliseconds)/1e3,i=ti(this._days),r=ti(this._months);e=x(n/60),t=x(e/60),n%=60,e%=60;var o=x(r/12),a=r%=12,s=i,l=t,u=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=ni(this._months)!==ni(d)?"-":"",p=ni(this._days)!==ni(d)?"-":"",m=ni(this._milliseconds)!==ni(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var ri=Rt.prototype;return ri.isValid=function(){return this._isValid},ri.abs=function(){var e=this._data;return this._milliseconds=An(this._milliseconds),this._days=An(this._days),this._months=An(this._months),e.milliseconds=An(e.milliseconds),e.seconds=An(e.seconds),e.minutes=An(e.minutes),e.hours=An(e.hours),e.months=An(e.months),e.years=An(e.years),this},ri.add=function(e,t){return On(this,e,t,1)},ri.subtract=function(e,t){return On(this,e,t,-1)},ri.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=D(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+In(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ln(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ri.asMilliseconds=jn,ri.asSeconds=Nn,ri.asMinutes=Fn,ri.asHours=Rn,ri.asDays=$n,ri.asWeeks=Bn,ri.asMonths=Hn,ri.asQuarters=zn,ri.asYears=qn,ri.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},ri._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Pn(Ln(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=x(o/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,a+=x(n/24),r=x(In(a)),s+=r,a-=Pn(Ln(r)),i=x(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},ri.clone=function(){return Xt(this)},ri.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},ri.milliseconds=Vn,ri.seconds=Yn,ri.minutes=Gn,ri.hours=Un,ri.days=Xn,ri.weeks=function(){return x(this.days()/7)},ri.months=Kn,ri.years=Zn,ri.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Xt(e).abs(),r=Jn(i.as("s")),o=Jn(i.as("m")),a=Jn(i.as("h")),s=Jn(i.as("d")),l=Jn(i.as("M")),u=Jn(i.as("y")),c=r<=Qn.ss&&["s",r]||r<Qn.s&&["ss",r]||o<=1&&["m"]||o<Qn.m&&["mm",o]||a<=1&&["h"]||a<Qn.h&&["hh",a]||s<=1&&["d"]||s<Qn.d&&["dd",s]||l<=1&&["M"]||l<Qn.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,ei.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},ri.toISOString=ii,ri.toString=ii,ri.toJSON=ii,ri.locale=rn,ri.localeData=an,ri.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2ii),ri.lang=on,q("X",0,0,"unix"),q("x",0,0,"valueOf"),ue("x",re),ue("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),fe("x",(function(e,t,n){n._d=new Date(_(e))})),i.version="2.24.0",t=Lt,i.fn=Sn,i.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return Lt(1e3*e)},i.months=function(e,t){return Tn(e,t,"months")},i.isDate=l,i.locale=ft,i.invalid=m,i.duration=Xt,i.isMoment=w,i.weekdays=function(e,t,n){return Mn(e,t,n,"weekdays")},i.parseZone=function(){return Lt.apply(null,arguments).parseZone()},i.localeData=mt,i.isDuration=$t,i.monthsShort=function(e,t){return Tn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return Mn(e,t,n,"weekdaysMin")},i.defineLocale=pt,i.updateLocale=function(e,t){if(null!=t){var n,i,r=lt;null!=(i=ht(e))&&(r=i._config),t=O(r,t),(n=new P(t)).parentLocale=ut[e],ut[e]=n,ft(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?ut[e]=ut[e].parentLocale:null!=ut[e]&&delete ut[e]);return ut[e]},i.locales=function(){return C(ut)},i.weekdaysShort=function(e,t,n){return Mn(e,t,n,"weekdaysShort")},i.normalizeUnits=D,i.relativeTimeRounding=function(e){return void 0===e?Jn:"function"==typeof e&&(Jn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Qn[e]&&(void 0===t?Qn[e]:(Qn[e]=t,"s"===e&&(Qn.ss=t-1),!0))},i.calendarFormat=function(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"},i.prototype=Sn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(80)(e))},function(e,t,n){var i,r,o;r=[n(3)],void 0===(o="function"==typeof(i=function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;return function(){var e,n,i;t&&t.requirejs||(t?n=t:t={},function(t){var r,o,a,s,l={},u={},c={},d={},h=Object.prototype.hasOwnProperty,f=[].slice,p=/\.js$/;function m(e,t){return h.call(e,t)}function v(e,t){var n,i,r,o,a,s,l,u,d,h,f,m=t&&t.split("/"),v=c.map,g=v&&v["*"]||{};if(e){for(a=(e=e.split("/")).length-1,c.nodeIdCompat&&p.test(e[a])&&(e[a]=e[a].replace(p,"")),"."===e[0].charAt(0)&&m&&(e=m.slice(0,m.length-1).concat(e)),d=0;d<e.length;d++)if("."===(f=e[d]))e.splice(d,1),d-=1;else if(".."===f){if(0===d||1===d&&".."===e[2]||".."===e[d-1])continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}if((m||g)&&v){for(d=(n=e.split("/")).length;d>0;d-=1){if(i=n.slice(0,d).join("/"),m)for(h=m.length;h>0;h-=1)if((r=v[m.slice(0,h).join("/")])&&(r=r[i])){o=r,s=d;break}if(o)break;!l&&g&&g[i]&&(l=g[i],u=d)}!o&&l&&(o=l,s=u),o&&(n.splice(0,s,o),e=n.join("/"))}return e}function g(e,n){return function(){var i=f.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),o.apply(t,i.concat([e,n]))}}function b(e){return function(t){l[e]=t}}function y(e){if(m(u,e)){var n=u[e];delete u[e],d[e]=!0,r.apply(t,n)}if(!m(l,e)&&!m(d,e))throw new Error("No "+e);return l[e]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function x(e){return e?w(e):[]}function _(e){return function(){return c&&c.config&&c.config[e]||{}}}a=function(e,t){var n,i,r=w(e),o=r[0],a=t[1];return e=r[1],o&&(n=y(o=v(o,a))),o?e=n&&n.normalize?n.normalize(e,(i=a,function(e){return v(e,i)})):v(e,a):(o=(r=w(e=v(e,a)))[0],e=r[1],o&&(n=y(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},s={require:function(e){return g(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:_(e)}}},r=function(e,n,i,r){var o,c,h,f,p,v,w,_=[],S=typeof i;if(v=x(r=r||e),"undefined"===S||"function"===S){for(n=!n.length&&i.length?["require","exports","module"]:n,p=0;p<n.length;p+=1)if("require"===(c=(f=a(n[p],v)).f))_[p]=s.require(e);else if("exports"===c)_[p]=s.exports(e),w=!0;else if("module"===c)o=_[p]=s.module(e);else if(m(l,c)||m(u,c)||m(d,c))_[p]=y(c);else{if(!f.p)throw new Error(e+" missing "+c);f.p.load(f.n,g(r,!0),b(c),{}),_[p]=l[c]}h=i?i.apply(l[e],_):void 0,e&&(o&&o.exports!==t&&o.exports!==l[e]?l[e]=o.exports:h===t&&w||(l[e]=h))}else e&&(l[e]=i)},e=n=o=function(e,n,i,l,u){if("string"==typeof e)return s[e]?s[e](n):y(a(e,x(n)).f);if(!e.splice){if((c=e).deps&&o(c.deps,c.callback),!n)return;
2n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=l,l=u),l?r(t,e,n,i):setTimeout((function(){r(t,e,n,i)}),4),o},o.config=function(e){return o(e)},e._defined=l,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),m(l,e)||m(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i)}(),t.define("almond",(function(){})),t.define("jquery",[],(function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t})),t.define("select2/utils",["jquery"],(function(e){var t={};function n(e){var t=e.prototype,n=[];for(var i in t)"function"==typeof t[i]&&"constructor"!==i&&n.push(i);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},t.Decorate=function(e,t){var i=n(t),r=n(e);function o(){var n=Array.prototype.unshift,i=t.prototype.constructor.length,r=e.prototype.constructor;i>0&&(n.call(arguments,e.prototype.constructor),r=t.prototype.constructor),r.apply(this,arguments)}t.displayName=e.displayName,o.prototype=new function(){this.constructor=o};for(var a=0;a<r.length;a++){var s=r[a];o.prototype[s]=e.prototype[s]}for(var l=function(e){var n=function(){};e in o.prototype&&(n=o.prototype[e]);var i=t.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,n),i.apply(this,arguments)}},u=0;u<i.length;u++){var c=i[u];o.prototype[c]=l(c)}return o};var i=function(){this.listeners={}};i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},t.Observable=i,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},t.hasScroll=function(t,n){var i=e(n),r=n.style.overflowX,o=n.style.overflowY;return(r!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===r||"scroll"===o||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,(function(e){i=i.add(e)})),n=i}t.append(n)},t.__cache={};var r=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++r),t=r.toString())),t},t.StoreData=function(e,n,i){var r=t.GetUniqueElementId(e);t.__cache[r]||(t.__cache[r]={}),t.__cache[r][n]=i},t.GetData=function(n,i){var r=t.GetUniqueElementId(n);return i?t.__cache[r]&&null!=t.__cache[r][i]?t.__cache[r][i]:e(n).data(i):t.__cache[r]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n],e.removeAttribute("data-select2-id")},t})),t.define("select2/results",["jquery","./utils"],(function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(t.message);i.append(n(r(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(i){var r=e.map(i,(function(e){return e.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=e(this),i=t.GetData(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&e.inArray(o,r)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var r={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete r["aria-selected"],r["aria-disabled"]="true"),null==n.id&&delete r["aria-selected"],null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(r.role="group",r["aria-label"]=n.text,delete r["aria-selected"]),r){var s=r[a];i.setAttribute(a,s)}if(n.children){var l=e(i),u=document.createElement("strong");u.className="select2-results__group",e(u),this.template(n,u);for(var c=[],d=0;d<n.children.length;d++){var h=n.children[d],f=this.option(h);c.push(f)}var p=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(c),l.append(u),l.append(p)}else this.template(n,i);return t.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var r=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",(function(e){r.clear(),r.append(e.data),n.isOpen()&&(r.setClasses(),r.highlightFirstItem())})),n.on("results:append",(function(e){r.append(e.data),n.isOpen()&&r.setClasses()})),n.on("query",(function(e){r.hideMessages(),r.showLoading(e)}
2)),n.on("select",(function(){n.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())})),n.on("open",(function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()})),n.on("close",(function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var e=r.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),n.on("results:select",(function(){var e=r.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:n})}})),n.on("results:previous",(function(){var e=r.getHighlightedResults(),t=r.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var o=t.eq(i);o.trigger("mouseenter");var a=r.$results.offset().top,s=o.offset().top,l=r.$results.scrollTop()+(s-a);0===i?r.$results.scrollTop(0):s-a<0&&r.$results.scrollTop(l)}})),n.on("results:next",(function(){var e=r.getHighlightedResults(),t=r.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(!1),a=i.offset().top+i.outerHeight(!1),s=r.$results.scrollTop()+a-o;0===n?r.$results.scrollTop(0):a>o&&r.$results.scrollTop(s)}})),n.on("results:focus",(function(e){e.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(e){r.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=r.$results.scrollTop(),n=r.$results.get(0).scrollHeight-t+e.deltaY,i=e.deltaY>0&&t-e.deltaY<=0,o=e.deltaY<0&&n<=r.$results.height();i?(r.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):o&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var i=e(this),o=t.GetData(this,"data");"true"!==i.attr("aria-selected")?r.trigger("select",{originalEvent:n,data:o}):r.options.get("multiple")?r.trigger("unselect",{originalEvent:n,data:o}):r.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var i=t.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:i,element:e(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=i(t,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=r(o):e(n).append(o)},n})),t.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),t.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(e,t){var i=this,r=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){i.trigger("focus",e)})),this.$selection.on("blur",(function(e){i._handleBlur(e)})),this.$selection.on("keydown",(function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){i.update(e.data)})),e.on("open",(function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(e)})),e.on("close",(function(){i.$selection.attr("aria-expanded","fal
2se"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(e)})),e.on("enable",(function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")}))},i.prototype._handleBlur=function(t){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)}),1)},i.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,(function(n){var i=e(n.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=i[0]&&t.GetData(this,"element").select2("close")}))}))},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i})),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.trigger("focus")}))},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r})),t.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,r){var o=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){o.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(!o.isDisabled()){var i=e(this).parent(),r=n.GetData(i[0],"data");o.trigger("unselect",{originalEvent:t,data:r})}}))},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var r=e[i],o=this.selectionContainer(),a=this.display(r,o);o.append(a);var s=r.title||r.text;
2s&&o.attr("title",s),n.StoreData(o[0],"data",r),t.push(o)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,t)}},i})),t.define("select2/selection/placeholder",["../utils"],(function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t})),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,n){function i(){}return i.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){i._handleClear(e)})),t.on("keypress",(function(e){i._handleKeyboardClear(e,t)}))},i.prototype._handleClear=function(e,t){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){t.stopPropagation();var r=n.GetData(i[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var a={data:r};if(this.trigger("clear",a),a.prevented)this.$element.val(o);else{for(var s=0;s<r.length;s++)if(a={data:r[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},i.prototype.update=function(t,i){if(t.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var r=this.options.get("translations").get("removeAllItems"),o=e('<span class="select2-selection__clear" title="'+r()+'">×</span>');n.StoreData(o[0],"data",i),this.$selection.find(".select2-selection__rendered").prepend(o)}},i})),t.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,i,r){var o=this,a=i.id+"-results";e.call(this,i,r),i.on("open",(function(){o.$search.attr("aria-controls",a),o.$search.trigger("focus")})),i.on("close",(function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")})),i.on("enable",(function(){o.$search.prop("disabled",!1),o._transferTabIndex()})),i.on("disable",(function(){o.$search.prop("disabled",!0)})),i.on("focus",(function(e){o.$search.trigger("focus")})),i.on("results:focus",(function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){o.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){o._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()){var i=o.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var r=t.GetData(i[0],"data");o.searchRemoveChoice(r),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){o.$search.val()&&e.stopPropagation()}));var s=document.documentMode,l=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(l&&"input"===e.type)o.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)}}))},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},i})),t.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,n,i){var r=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,i),n.on("*",(function(t,n){if(-1!==e.inArray(t,o)){n=n||{};var i=e.Event("select2:"+t,{params:n});r.$element.trigger(i),-1!==e.inArray(t,a)&&(n.prevented=i.isDefaultPrevented())}}))},t})),t.define("select2/translation",["jquery","require"],(function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={}
2,n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n})),t.define("select2/diacritics",[],(function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"
2c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"}})),t.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t})),t.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each((function(){var e=n(this),r=i.item(e);t.push(r)})),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(i){var r=[];(e=[e]).push.apply(e,i);for(var o=0;o<e.length;o++){var a=e[o].id;-1===n.inArray(a,r)&&r.push(a)}t.$element.val(r),t.$element.trigger("input").trigger("change")}));else{var i=e.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(i){for(var r=[],o=0;o<i.length;o++){var a=i[o].id;a!==e.id&&-1===n.inArray(a,r)&&r.push(a)}t.$element.val(r),t.$element.trigger("input").trigger("change")}))}},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},i.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},i.prototype.query=function(e,t){var i=[],r=this;this.$element.children().each((function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var o=r.item(t),a=r.matches(e,o);null!==a&&i.push(a)}})),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var i;e.children?(i=document.createElement("optgroup")).label=e.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=e.text:i.innerText=e.text,void 0!==e.id&&(i.value=e.id),e.disabled&&(i.disabled=!0),e.selected&&(i.selected=!0),e.title&&(i.title=e.title);var r=n(i),o=this._normalizeItem(e);return o.element=i,t.StoreData(i,"data",o),r},i.prototype.item=function(e){var i={};if(null!=(i=t.GetData(e[0],"data")))return i;if(e.is("option"))i={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){i={text:e.prop("label"),children:[],title:e.prop("title")};for(var r=e.children("option"),o=[],a=0;a<r.length;a++){var s=n(r[a]),l=this.item(s);o.push(l)}i.children=o}return(i=this._normalizeItem(i)).element=e[0],t.StoreData(e[0],"data",i),i},i.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i})),t.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,n){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){var i=this,r=this.$element.find("option"),o=r.map((function(){return i.item(n(this)).id})).get(),a=[];function s(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var u=this._normalizeItem(e[l]);if(n.inArray(u.id,o)>=0){var c=r.filter(s(u)),d=this.item(c),h=n.extend(!0,{},u,d),f=this.option(h);c.replaceWith(f)}else{var p=this.option(u);if(u.children){var m=this.convertToOptions(u.children);t.appendMany(p,m)}a.push(p)}}return a},i})),t.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var r=n.ajax(e);return r.then(t),r.fail(i),r}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=r.transport(r,(function(r){var o=i.processResults(r,e);i.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o)}),(function(){"status"in o&&(0===o.status||"0"===o.status)||i.trigger("results:message",{message:"errorLoading"})}));i._request=o}"function"==typeof r.url&&(r.url=r.url.call(this.$element,e)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},i})),t.define("select2/data/tags",["jquery"],(function(e){function t(t,n,i){var r=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var a=i.get("insertTag");if(void 0!==a&&(this.insertTag=a),t.call(this,n,i),e.isArray(r))for(var s=0;s<r.length;s++){var l=r[s],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return t.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(r,o){for(var a=r.results,s=0;s<a.length;s++){var l=a[s],u=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||u)return!o&&(r.data=a,void n(r))}if(o)return!0;var c=i.createTag(t);if(null!=c){var d=i.option(c);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(a,c)}r.results=a,n(r)})):e.call(this,t,n)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),t.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,i){var r=this;n.term=n.term||"";
2var o=this.tokenizer(n,this.options,(function(t){var n=r._normalizeItem(t);if(!r.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var i=r.option(n);i.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([i])}!function(e){r.trigger("select",{data:e})}(n)}));o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,r){for(var o=i.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};s<a.length;){var u=a[s];if(-1!==e.inArray(u,o)){var c=a.substr(0,s),d=l(e.extend({},n,{term:c}));null!=d?(r(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},t})),t.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",(function(){i._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected((function(){e.call(i,t,n)}))},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current((function(e){var i=null!=e?e.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()}))},e})),t.define("select2/dropdown",["jquery","./utils"],(function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),t.define("select2/dropdown/search",["jquery","../utils"],(function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var r=this,o=n.id+"-results";t.call(this,n,i),this.$search.on("keydown",(function(e){r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){r.handleSearch(e)})),n.on("open",(function(){r.$search.attr("tabindex",0),r.$search.attr("aria-controls",o),r.$search.trigger("focus"),window.setTimeout((function(){r.$search.trigger("focus")}),0)})),n.on("close",(function(){r.$search.attr("tabindex",-1),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.val(""),r.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||r.$search.trigger("focus")})),n.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n})),t.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e})),t.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",(function(e){i.lastParams=e,i.loading=!0})),t.on("query:append",(function(e){i.lastParams=e,i.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t})),t.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function n(t,n,i){this.$dropdownParent=e(i.get("dropdownParent")||document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",(function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)})),t.on("close",(function(){i._hideDropdown(),i._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var r=this,o="scroll.
2select2."+i.id,a="resize.select2."+i.id,s="orientationchange.select2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(o,(function(n){var i=t.GetData(this,"select2-scroll-position");e(this).scrollTop(i.y)})),e(window).on(o+" "+a+" "+s,(function(e){r._positionDropdown(),r._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id;this.$container.parents().filter(t.hasScroll).off(r),e(window).off(r+" "+o+" "+a)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s=this.$dropdown.outerHeight(!1),l=t.scrollTop(),u=t.scrollTop()+t.height(),c=l<o.top-s,d=u>o.bottom+s,h={left:o.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(e.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),h.top-=p.top,h.left-=p.left,n||i||(r="below"),d||!c||n?!c&&d&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(h.top=a.top-p.top-s),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),t.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e})),t.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",(function(e){i._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var o=e.GetData(r[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},t})),t.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",(function(e){i._selectTriggered(e)})),t.on("unselect",(function(e){i._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),t.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"}}})),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(e,t,n,i,r,o,a,s,l,u,c,d,h,f,p,m,v,g,b,y,w,x,_,S,E,k,C,T,M){function A(){this.reset()}return A.prototype.apply=function(c){if(null==(c=e.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=p:null!=c.data?c.dataAdapter=f:c.dataAdapter=h,c.minimumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,g)),c.maximumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,b)),c.maximumSelectionLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,y)),c.tags&&(c.dataAdapter=u.Decorate(c.dataAdapter,m)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=u.Decorate(c.dataAdapter,v)),null!=c.query){var d=t(c.amdBase+"compat/query");c.dataAdapter=u.Decorate(c.dataAdapter,d)}if(null!=c.initSelection){var M=t(c.amdBase+"compat/initSelection");c.dataAdapter=u.Decorate(c.dataAdapter,M)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,S)),null!=c.placeholder&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,_)),c.selectOnClose&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,C))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=w;else{var A=u.Decorate(w,x);c.dropdownAdapter=A}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,k)),c.closeOnSelect&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,T)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var O=t(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=u.Decorate(c.dropdownAdapter,O)}c.dropdownAdapter=u.Decorate(c.dropdownAdapter,E)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=r:c.selectionAdapter=i,null!=c.placeholder&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,a)),c.multiple&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,s
2)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var P=t(c.amdBase+"compat/containerCss");c.selectionAdapter=u.Decorate(c.selectionAdapter,P)}c.selectionAdapter=u.Decorate(c.selectionAdapter,l)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var I=[],L=0;L<c.language.length;L++){var D=c.language[L];-1===I.indexOf(D)&&I.push(D)}return c.language=I,c.translations=this._processTranslations(c.language,c.debug),c},A.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return d[e]||e}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:{},matcher:function n(i,r){if(""===e.trim(i.term))return r;if(r.children&&r.children.length>0){for(var o=e.extend(!0,{},r),a=r.children.length-1;a>=0;a--)null==n(i,r.children[a])&&o.children.splice(a,1);return o.children.length>0?o:n(i,o)}var s=t(r.text).toUpperCase(),l=t(i.term).toUpperCase();return s.indexOf(l)>-1?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},A.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),o=t.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return e.language=a,e},A.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var n;n=e.isArray(t)?t:[t];for(var i=[],r=0;r<n.length;r++)if(i.push(n[r]),"string"==typeof n[r]&&n[r].indexOf("-")>0){var o=n[r].split("-")[0];i.push(o)}return i},A.prototype._processTranslations=function(t,n){for(var i=new c,r=0;r<t.length;r++){var o=new c,a=t[r];if("string"==typeof a)try{o=c.loadPath(a)}catch(e){try{a=this.defaults.amdLanguageBase+a,o=c.loadPath(a)}catch(e){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else o=e.isPlainObject(a)?new c(a):a;i.extend(o)}return i},A.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var r=u._convertData(i);e.extend(!0,this.defaults,r)},new A})),t.define("select2/options",["require","jquery","./defaults","./utils"],(function(e,t,n,i){function r(t,r){if(this.options=t,null!=r&&this.fromElement(r),null!=r&&(this.options=n.applyFromElement(this.options,r)),this.options=n.apply(this.options),r&&r.is("input")){var o=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,o)}}return r.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),i.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),i.StoreData(e[0],"data",i.GetData(e[0],"select2Tags")),i.StoreData(e[0],"tags",!0)),i.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",i.GetData(e[0],"ajaxUrl")),i.StoreData(e[0],"ajax-Url",i.GetData(e[0],"ajaxUrl")));var r={};function o(e,t){return t.toUpperCase()}for(var a=0;a<e[0].attributes.length;a++){var s=e[0].attributes[a].name;if("data-"==s.substr(0,"data-".length)){var l=s.substring("data-".length),u=i.GetData(e[0],l);r[l.replace(/-([a-z])/g,o)]=u}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(r=t.extend(!0,{},e[0].dataset,r));var c=t.extend(!0,{},i.GetData(e[0]),r);for(var d in c=i._convertData(c))t.inArray(d,n)>-1||(t.isPlainObject(this.options[d])?t.extend(this.options[d],c[d]):this.options[d]=c[d]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r})),t.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,i){var r=function(e,i){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),i=i||{},this.options=new t(i,e),r.__super__.constructor.call(this);var o=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",o),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var u=this.options.get("dropdownAdapter");this.dropdown=new u(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){d.trigger("selection:update",{data:e})})),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},r.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==t){var o=e.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s<l;s+=1){var u=a[s].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t((function(t){e._syncA(),e._syncS(null,t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},r.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}
2))},r.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",(function(){t.toggleDropdown()})),this.selection.on("focus",(function(e){t.focus(e)})),this.selection.on("*",(function(i,r){-1===e.inArray(i,n)&&t.trigger(i,r)}))},r.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},r.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},r.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container.addClass("select2-container--open")})),this.on("close",(function(){e.$container.removeClass("select2-container--open")})),this.on("enable",(function(){e.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){e.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){e.$container.removeClass("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))})),this.on("keypress",(function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&t.altKey?(e.close(t),t.preventDefault()):n===i.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._isChangeMutation=function(t,n){var i=!1,r=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++)n.addedNodes[o].selected&&(i=!0);else n.removedNodes&&n.removedNodes.length>0?i=!0:e.isArray(n)&&e.each(n,(function(e,t){if(r._isChangeMutation(e,t))return i=!0,!1}));else i=!0;return i}},r.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),i=this;n&&this.dataAdapter.current((function(e){i.trigger("selection:update",{data:e})}))},r.prototype.trigger=function(e,t){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var o=i[e],a={prevented:!1,name:e,args:t};if(n.call(this,o,a),a.prevented)return void(t.prevented=!0)}n.call(this,e,t)},r.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},r.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},r.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,(function(e){return e.toString()}))),this.$element.val(n).trigger("input").trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},r})),t.define("jquery-mousewheel",["jquery"],(function(e){return e})),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,n,i,r){if(null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each((function(){var i=e.extend(!0,{},t);new n(e(this),i)})),this;if("string"==typeof t){var i,a=Array.prototype.slice.call(arguments,1
2);return this.each((function(){var e=r.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),i=e[t].apply(e,a)})),e.inArray(t,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n})),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n})?i.apply(t,r):i)||(e.exports=o)},function(e,t,n){(function(e){!function(e){"use strict";var t,n=e.URLSearchParams&&e.URLSearchParams.prototype.get?e.URLSearchParams:null,i=n&&"a=1"===new n({a:1}).toString(),r=n&&"+"===new n("s=%2B").get("s"),o="__URLSearchParams__",a=!n||((t=new n).append("s"," &"),"s=+%26"===t.toString()),s=d.prototype,l=!(!e.Symbol||!e.Symbol.iterator);if(!(n&&i&&r&&a)){s.append=function(e,t){v(this[o],e,t)},s.delete=function(e){delete this[o][e]},s.get=function(e){var t=this[o];return e in t?t[e][0]:null},s.getAll=function(e){var t=this[o];return e in t?t[e].slice(0):[]},s.has=function(e){return e in this[o]},s.set=function(e,t){this[o][e]=[""+t]},s.toString=function(){var e,t,n,i,r=this[o],a=[];for(t in r)for(n=h(t),e=0,i=r[t];e<i.length;e++)a.push(n+"="+h(i[e]));return a.join("&")};var u=!!r&&n&&!i&&e.Proxy;Object.defineProperty(e,"URLSearchParams",{value:u?new Proxy(n,{construct:function(e,t){return new e(new d(t[0]).toString())}}):d});var c=e.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(e,t){var n=m(this.toString());
2Object.getOwnPropertyNames(n).forEach((function(i){n[i].forEach((function(n){e.call(t,n,i,this)}),this)}),this)},c.sort=c.sort||function(){var e,t,n,i=m(this.toString()),r=[];for(e in i)r.push(e);for(r.sort(),t=0;t<r.length;t++)this.delete(r[t]);for(t=0;t<r.length;t++){var o=r[t],a=i[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},c.keys=c.keys||function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},c.values=c.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},c.entries=c.entries||function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},l&&(c[e.Symbol.iterator]=c[e.Symbol.iterator]||c.entries)}function d(e){((e=e||"")instanceof URLSearchParams||e instanceof d)&&(e=e.toString()),this[o]=m(e)}function h(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function f(e){return e.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,(function(e){return decodeURIComponent(e)}))}function p(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return l&&(n[e.Symbol.iterator]=function(){return n}),n}function m(e){var t={};if("object"==typeof e)if(g(e))for(var n=0;n<e.length;n++){var i=e[n];if(!g(i)||2!==i.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");v(t,i[0],i[1])}else for(var r in e)e.hasOwnProperty(r)&&v(t,r,e[r]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var o=e.split("&"),a=0;a<o.length;a++){var s=o[a],l=s.indexOf("=");-1<l?v(t,f(s.slice(0,l)),f(s.slice(l+1))):s&&v(t,f(s),"")}}return t}function v(e,t,n){var i="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(i):e[t]=[i]}function g(e){return!!e&&"[object Array]"===Object.prototype.toString.call(e)}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,n(55))},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},,function(e,t,n){"use strict";n.r(t);n(274),n(461);var i=n(270),r=n.n(i),o=n(271),a=n.n(o),s=n(81),l=n.n(s),u=n(0);function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".message";arguments.length>1&&void 0!==arguments[1]&&arguments[1];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t,this.created=!1,this.options={closeBtnClass:"message__close",closeBtnIcon:'<i class="fal fa-times"><span class="ghost">Fermer</span></i>',closeHelperClass:"-has-close-btn",obj:{class:"",modifier:"",title:"",description:"",html:null,closeBtn:!1}},this.create()}var t,n,i;return t=e,i=[{key:"createMessage",value:function(t){var n=document.createElement("h2"),i=document.createElement("p");t.title&&(n.innerHTML=t.title),t.description&&(i.innerHTML=t.description);var r=document.createElement("div");return t.class&&u.a(r,t.class),t.modifier&&u.a(r,t.modifier),r.appendChild(n),r.appendChild(i),t.html&&r.appendChild(t.html),t.closeBtn&&(new e).createCloseBtn(r),r}}],(n=[{key:"create",value:function(){this.created||this.init()}},{key:"init",value:function(){var e=this;if("string"==typeof this.selector){this.created=!0;var t=c(document.querySelectorAll(".".concat(this.options.closeBtnClass)));t&&t.forEach((function(t){e.btnEvents(t,t.parentNode)}))}}},{key:"createCloseBtn",value:function(e){var t=document.createElement("button");u.a(t,this.options.closeBtnClass),u.a(e,this.options.closeHelperClass),t.innerHTML=this.options.closeBtnIcon,e.appendChild(t),this.btnEvents(t,e)}},{key:"btnEvents",value:function(e,t){e.addEventListener("click",(function(){e.parentNode.parentNode.removeChild(t)}))}}])&&d(t.prototype,n),i&&d(t,i),e}();var f=n(3),p=n.n(f),m=(n(462),n(21));function v(){var e=document.querySelectorAll('input[type="date"]:not(.datepicker)'),t=function(e){var t=e.split(/[-/.]/);return t[0]&&t[1]&&t[2]?"".concat(t[2],"/").concat(t[1],"/").concat(t[0]):""},n=function(e){return/^[0-9]{2}[/.-][0-9]{2}[/.-][0-9]{4}$/.test(e)},i=function(e){return/^(\d{4})([/-])(\d{1,2})\2(\d{1,2})$/.test(e)},r=function(e){var t=e.value,n=e.parentNode.querySelector("input[type=hidden]");n&&(n.value=function(e){var t=e.split(/[-/.]/);return t[0]&&t[1]&&t[2]?"".concat(t[2],"-").concat(t[1],"-").concat(t[0]):""}(t))},o=function(e,t){var n=e.parentNode.querySelector(".error"),i=t||" ".concat(m.a.entryError);if(!n){var r=e.getAttribute("id");if(r){var o=document.createElement("div");o.setAttribute("id","".concat(r,"-relation")),o.classList.add("error"),o.classList.add("parsley-errors-list"),e.setAttribute("aria-describedby","".concat(r,"-relation")),u.w(o,e);var a=document.createElement("p");a.classList.add("parsley-required"),a.innerHTML=" ".concat(i),o.appendChild(a)}else console.error("This field has no id, it is required.")}},a=function(e){var t=e.parentNode.querySelector(".error");t&&(e.parentNode.removeChild(t),e.removeAttribute("aria-describedby"))},s=function(e,s){!function(e){var t=e.hasAttribute("required");return!(!t&&(n(e.value)||""===e.value)||t&&""!==e.value&&n(e.value))}(s)?a(s):(e.preventDefault(),o(s)),function(e){n(e.value)?r(e):i(e.value)&&(e.value=t(e.value),r(e))}(s)},l=function(e){var n=e.form,o=u.i(e,"ancestor");if(function(e){var t=e.parentNode.querySelector("label"),n=t.getAttribute("for");
2if(!t)return console.error("Error: label does not exist or not found"),!1;t.setAttribute("for","".concat(n,"-origin")),t.insertAdjacentHTML("beforeend",'<span class="helper"> (jj/mm/aaaa)</span>')}(e),function(e){var t=e.name,n=e.id,i=e.classList.contains("dateselector"),r=document.createElement("input");if(!n)return!1;document.getElementById(n).id="".concat(n,"-origin"),r.type="hidden",r.name=t,r.id=n,i&&(e.classList.remove("dateselector"),r.classList.add("dateselector")),u.w(r,e),e.removeAttribute("name")}(e),e.value&&function(e){i(e.value)&&(e.value=t(e.value),r(e))}(e),n)n.addEventListener("submit",(function(t){s(t,e)}));else{if(!o)return!1;o.querySelector('button[type="submit"]').addEventListener("click",(function(t){s(t,e)}))}};if(function(){var e=document.createElement("input");return e.setAttribute("type","date"),e.value="foo","date"===e.type&&"foo"!==e.value}())for(var c=function(t){var n=e[t],i=n.form,r=u.i(n,"ancestor"),s=n.hasAttribute("required");if(i)i.addEventListener("submit",(function(e){s&&""===n.value?(e.preventDefault(),o(n," ".concat(m.a.fillFieldRequired))):a(n)}));else if(r){r.querySelector('button[type="submit"]').addEventListener("click",(function(){}))}},d=0;d<e.length;d++)c(d);else for(var h=0;h<e.length;h++){l(e[h])}}function g(){var e=document.querySelector(".facet-option-list.facet-type-dateRange");if(e){var t=e.getAttribute("data-facet-name"),n=e.querySelector("#start_date_".concat(t)),i=e.querySelector("#end_date_".concat(t)),r=e.querySelector('button[type="submit"]'),o=e.querySelector("#".concat(t,"_url"));if(n&&i&&r&&o){r.addEventListener("click",(function(){!function(){if(""!==n.value&&""!==i.value){var e=o.value,t=n.value.replace(/-/g,""),r=i.value.replace(/-/g,"");e=(e=e.replace(encodeURI("___FROM___"),"".concat(t,"0000"))).replace(encodeURI("___TO___"),"".concat(r,"2359")),window.location.href=e}}()}))}else console.warn("DateRangeController required startDateInput, endDateInput, facetUrlInput and submit button. Please add them.")}}var b=n(9),y=n.n(b);function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function x(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var _=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t,this.height=null,this.brokenImages=null,this.brokenImagesHeight=0,this.duration=null,this.togglerState=null,this.options={display:window.getComputedStyle(this.selector).display,duration:null,isWrapContent:!1,toggleClassName:"-is-open",class:{wrapPrefix:"__slide-wrap"},initializedClass:"-is-initialized"},this.selector instanceof HTMLElement&&(n instanceof Object&&(this.options=u.h(this.options,n)),this.init())}var t,n,i;return t=e,(n=[{key:"init",value:function(){u.t(this.selector,this.options.initializedClass)||(u.a(this.selector,this.options.initializedClass),u.b(this.options.isWrapContent,this.wrapContent.bind(this)),this.updateValues(),this.togglerState=!!this.height,window.addEventListener("resize",u.f(this.updateValues.bind(this),250)))}},{key:"updateValues",value:function(){this.height=this.getHeight(),this.duration=this.options.duration||Math.floor(this.height/3)+300}},{key:"getHeight",value:function(){var e=this.selector.parentNode,t=document.createElement("div");t.style.cssText="visibility: hidden; overflow: hidden; max-height: 0;";var n=this.selector.cloneNode(!0);n.style.cssText="display: block;",t.appendChild(n),e.appendChild(t);var i=n.clientHeight;return e.removeChild(t),i}},{key:"getDirection",value:function(){return this.selector.clientHeight*("none"!==window.getComputedStyle(this.selector).display)>this.height/2?[this.height,0]:[0,this.height]}},{key:"wrapContent",value:function(){var e=this.selector.classList[0].split("__")[0];this.selector.innerHTML="<div".concat(e?' class="'.concat(e+this.options.class.wrapPrefix,'"'):"",">").concat(this.selector.innerHTML,"</div>")}},{key:"open",value:function(){0===this.getDirection()[0]?(0===this.height&&this.updateV
2alues(),this.toggle()):console.log("Already opened!")}},{key:"close",value:function(){0!==this.getDirection()[0]?(0===this.height&&this.updateValues(),this.toggle()):console.log("Already closed!")}},{key:"toggle",value:function(){var e=this,t=w(this.getDirection(),2),n=t[0],i=t[1],r=i-n,o=this.options.display&&"none"!==this.options.display?this.options.display:"block",a=performance.now();return this.togglerState=0===i,this.selector.style.cssText="overflow: hidden; display: ".concat(o,";"),function t(s){var l=s-a,u=n+r*l/e.duration;l>e.duration&&(l=e.duration),e.selector.style.height="".concat(u,"px"),l<e.duration?requestAnimationFrame(t):e.selector.style.cssText="display: ".concat(0===i?"none":o)}(a)}},{key:"state",get:function(){return this.togglerState}}])&&x(t.prototype,n),i&&x(t,i),e}();function S(e){return(S="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})(e)}function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function k(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var C=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-dropdown",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t,this.toggler=null,this.dropdown=null,this.slideToggler=null,this.closeBtn=null,this.focusTrapHandler=null,this.dropdowmWidth=null,this.keyOptions=null,this.btnText=null,window.dropdownList=window.dropdownList||{},this.options={wrapperClass:"js-dropdown",dropdownClass:"js-dropdown__block",btnClass:"js-dropdown__toggle",closeBtnClass:"js-dropdown__close",closeBtnHtml:'<span class="ghost">Fermer</span>',closeHelperClass:"has-close-btn",closeBtn:!1,opened:[],outsideToggle:!1,outsideToggleId:"js-dropdown-outside-toggle",closeOnOutsideClick:!0,openTypeSlide:!1,isWrapContent:!1,focusTrap:!1,overflow:!1,clickRoll:!1,enableAlly:!1,disabledClose:[],onInit:function(e){},afterInit:function(e){},beforeOpen:function(e){},afterOpen:function(e){},beforeClose:function(e){},afterClose:function(e){}},n instanceof Object&&(this.options=u.h(this.options,n)),this.$nextKeysHandler=this.nextKeysHandler.bind(this),this.$prevKeysHandler=this.prevKeysHandler.bind(this),this.$outsideHandler=this.outsideHandler.bind(this),this.$escHandler=this.escHandler.bind(this),this.checkBeforeInit()}var t,n,i;return t=e,i=[{key:"onTogglerClick",value:function(){!0===(this.options.outsideToggle?u.t(this.selector,"-is-open"):u.t(this.toggler.parentElement,"-is-open"))?this.close():this.open()}}],(n=[{key:"checkBeforeInit",value:function(){if("string"!=typeof this.selector){if(u.t(this.selector,"-is-initialized"))return;return null!==this.selector&&this.init()}if("string"==typeof this.selector){var t=document.querySelectorAll(this.selector);if(null===t)return;for(var n=0;n<t.length;n++)new e(t[n],this.options)}}},{key:"init",value:function(){this.options.onInit(this.selector),this.create(),this.toggler&&(this.initEvents(),this.saveToStorage(),this.options.afterInit(this.selector))}},{key:"saveToStorage",value:function(){var e=u.s();this.selector.setAttribute("data-dropdown-id",e),window.dropdownList[e]=this}},{key:"manageResponsiveState",value:function(){if(0!==this.options.opened.length){var e=u.t(this.selector,"-is-open"),t=-1!==this.options.opened.indexOf(window.responsive);!e&&t?this.open():e&&!t&&0!==this.selector.getBoundingClientRect().height&&this.menuWidth!==this.selector.getBoundingClientRect().width&&this.close()}}},{key:"create",value:function(){var e=this.selector;u.a(e,"-is-initialized"),e.classList.add(this.options.wrapperClass),this.options.outsideToggle?(this.toggler=document.getElementById(this.options.outsideToggleId),'"#'.concat(this.options.outsideToggleId,'"')):(this.toggler=e.querySelector(".".concat(this.options.btnClass)),'".'.concat(this.options.btnClass,'"')),this.toggler&&(this.dropdown=e.querySelector(".".concat(this.options.dropdownClass)),0===this.options.opened.length&&this.options.enableAlly?u.J(this.dropdown,-1):u.J(this.dropdown,0),this.slideToggler=this.options.openTypeSlide&&new _(this.dropdown,{isWrapContent:this.options.isWrapContent}),this.options.closeBtn?(this.closeBtn=e.querySelector(".".concat(this.options.closeBtnClass)),null===this.closeBtn&&(this.closeBtn=document.createElement("button"),this.closeBtn.setAttribute("type","button"),this.closeBtn.className=this.options.closeBtnClass,this.closeBtn.innerHTML=this.options.closeBtnHtml,e.insertBefore(this.closeBtn,e.children[0])),u.u([this.toggler,this.closeBtn],this.dropdown)):u.u(this.toggler,this.dropdown))}},{key:"open",value:function(){var e=this;this.menuWidth=this.selector.getBoundingClientRect().width,this.options.beforeOpen(),this.options.openTypeSlide&&this.slideToggler.open(),this.options.outsideToggle?u.a(this.selector,"-is-open"):u.a(this.toggler.parentElement,"-is-open"),!0===this.options.closeBtn&&null!==this.closeBtn?(u.F([this.toggler,this.closeBtn],this.dropdown,"opened"),this.closeBtn.setAttribute("tabindex",0)):u.F(this.toggler,this.dropdown,"opened"),this.options.overflow&&u.a(document.body,"-overflow-hidden"),this.keyOptions={context:this.selector},this.options.focusTrap&&!this.options.clickRoll&&(this.toggler.setAttribute("tabindex",0),this.keyOptions.tab=this.$nextKeysHandler,this.keyOptions["shift+tab"]=this.$prevKeysHandler),this.options.clickRoll||(this.keyOptions.down=this.$nextKeysHandler,this.keyOptions.right=this.$nextKeysHandler,this.keyOptions.up=this.$prevKeysHandler,this.keyOptions.left=this.$prevKeysHandler,this.keyOptions.escape=this.$escHandler,this.$keyHandler=y.a.when.key(this.keyOptions)),this.options.focusTrap&&(this.focusTrapHandler=this.initFocusTrap.bind(this),window.addEventListener("responsive",this.manageFocusTrap.bind(this),!1)),this.toggler.hasAttribute("data-open-text")&&(this.btnText=this.toggler.innerText||this.toggler.innerHTML,this.toggler.innerHTML=this.toggler.getAttribute("data-open-text")),this.$tabindexHandler=y.a.when.visibleArea({context:this.dropdown,callback:function(t){u.J(e.dropdown,0)},area:.5}),tarteaucitron&&(tarteaucitron.reloadThePage=!1),this.options.afterOpen(this.selector)}},{key:"escHandler",value:function(e){e.preventDefault();var t=!1;this.options.disabledClose.forEach((function(e){e===window.responsive&&(t=!0)}));var n=E(document.querySelectorAll(".choices.is-focused.is-open"));n&&n.length>0&&(t=!0),t||(e.stopPropagation(),this.close())}},{key:"close",value:function(){this.options.beforeClose(this.selector),this.options.focusTrap&&(this.toggler.focus(),this.toggler.removeAttribute("tabindex")),this.options.openTypeSlide&&this.slideToggler.close(),this.options.outsideToggle?u.D(this.selector,"-is-open"):u.D(this.toggler.parentElement,"-is-open"),this.options.overflow&&u.D(document.body,"-overflow-hidden"),this.dise
2ngageAllyHandlers(),this.options.enableAlly&&u.J(this.dropdown,-1),this.toggler.hasAttribute("data-open-text")&&this.btnText&&(this.toggler.innerHTML=this.btnText),!0===this.options.closeBtn&&null!==this.closeBtn&&this.options.enableAlly?(u.F([this.toggler,this.closeBtn],this.dropdown,"closed"),this.closeBtn.setAttribute("tabindex",-1)):u.F(this.toggler,this.dropdown,"closed"),this.toggler&&this.toggler.focus(),tarteaucitron&&(tarteaucitron.reloadThePage=!0),this.options.afterClose(this.selector)}},{key:"skipFormControls",value:function(e){var t=!0;if(e){var n=e.tagName.toLowerCase(),i=e.getAttribute("type");switch(n){case"input":i&&"radio"!==i&&"checkbox"!==i&&"date"!==i&&(t=!1);break;case"textarea":t=!1}}return t}},{key:"nextKeysHandler",value:function(e){if(this.skipFormControls(e.target)&&(e.preventDefault(),this.selector&&"object"===S(this.selector))){var t=u.o(e.target,this.selector);t&&y.a.element.focus(t)}}},{key:"prevKeysHandler",value:function(e){if(this.skipFormControls(e.target)&&(e.preventDefault(),this.selector&&"object"===S(this.selector))){var t=u.p(e.target,this.selector);t&&y.a.element.focus(t)}}},{key:"disengageAllyHandlers",value:function(){this.$keyHandler&&this.$keyHandler.disengage(),this.$tabindexHandler&&this.$tabindexHandler.disengage()}},{key:"initEvents",value:function(){var t=this;this.toggler.addEventListener("click",u.f(e.onTogglerClick.bind(this),200)),!0===this.options.closeBtn&&null!==this.closeBtn&&this.closeBtn.addEventListener("click",this.close.bind(this)),window.addEventListener("responsive",this.manageResponsiveState.bind(this)),this.options.closeOnOutsideClick&&document.addEventListener("click",(function(e){var n=t.selector.contains(e.target)||e.target===t.toggler||t.toggler.contains(e.target),i=u.t(t.selector,"-is-open");!n&&i&&t.close()}))}},{key:"outsideHandler",value:function(e){if(this.selector&&"object"===S(this.selector)&&this.toggle){var t=this.selector.contains(e.target)||e.target===this.toggler||this.toggler.contains(e.target),n=u.t(this.selector,this.options.classList.opened);!t&&n&&this.close()}}},{key:"manageFocusTrap",value:function(){var e=this;if("boolean"!=typeof this.options.focusTrap){if(!Array.isArray(this.options.focusTrap))throw new Error("focusTrap parameter should be Boolean or Array");this.selector.removeEventListener("keydown",this.focusTrapHandler,!0),this.options.focusTrap.forEach((function(t){window.responsive===t&&e.selector.addEventListener("keydown",e.focusTrapHandler,!0)}))}else this.selector.addEventListener("keydown",this.focusTrapHandler,!0)}},{key:"initFocusTrap",value:function(e){u.v(this.selector,e,!0)}},{key:"destroy",value:function(){u.B(this.toggler.parentElement),this.toggler.removeEventListener("click",e.onTogglerClick.bind(this)),!0===this.options.closeBtn&&null!==this.closeBtn&&this.closeBtn.removeEventListener("click",this.close.bind(this))}}])&&k(t.prototype,n),i&&k(t,i),e}();function T(e){return(T="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})(e)}function M(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function j(e,t,n){return t&&D(e.prototype,t),n&&D(e,n),e}var N=function(){function e(t){L(this,e),this.selector=t,this.wrapper=null,this.list=null,this.items=null,this.itemsWithDropdown=null,this.links=null,this.toggles=null,this.submenus=null,this.dropdownWrappers=null,this.dropdownContainers=null,this.dropdownCloseButtons=null,this.closeButton=null,this.openerButton=null,this.lastClickedLink=null,this.lastEvent=null,this.menuPosition=null,this.comments={},this.currentBreakpoint=null,this.contextFocusableElements=null,this.$keyHandlers=null,this.options={menu:{type:"aside",className:"js-mnv",listClassName:"js-mnv-list",itemClassName:"js-mnv-item",itemWithDropdownClassName:"js-mnv-item-has-dropdown",linkClassName:"js-mnv-link",wrapperClassName:"js-mnv-wrapper",dropdownWrapperClassName:"js-mnv-dropdown-wrapper",dropdownContainerClassName:"js-mnv-dropdown-container",dropdownCloseClassName:"js-mnv-dropdown-close",submenuClassName:"js-mnv-submenu",toggleClassName:"js-mnv-submenu-toggle",openedClassName:"-is-open",generatedClassName:"-is-generated",currentClassName:["-is-current","is-active"]},overlay:{show:!0,text:"Close",className:"js-mnv-overlay"},closeButton:{show:!0,text:"Close",className:"js-mnv-close"},openerButton:{show:!0,text:"",className:"js-mnv-toggle"},body:{openedClassName:"mnv-opened"},breakpoints:["tablet","smartphone"],replaceTo:"site-header",rebuildMenu:[],initSubmenuToggles:["tablet","smartphone"],closeAllChildren:!1,submenusHandler:{closeAllBeforeOpen:!1,breakpoints:["desktop"]},emitInsideHandlerFor:"",focusTrap:{init:!0,closeOnLastElementOut:!1},messages:{close:"Close"}}}return j(e,[{key:"getMenuWrapper",value:function(){return this.selector.children[0]}},{key:"getMenuDropdownWrappers",value:function(){return this.items?this.items.filter((function(e){return e.querySelector("div")})).map((function(e){return e.querySelector("div")})):(this.items=this.getMenuItems(),this.items?this.getMenuDropdownWrappers():null)}},{key:"getMenuDropdownContainers",value:function(){return this.dropdownWrappers?this.dropdownWrappers.map((function(e){return e.querySelector("div")})):(this.dropdownWrappers=this.getMenuDropdownWrappers(),this.dropdownWrappers?this.getMenuDropdownContainers():null)}},{key:"getMenuDropdownCloseButtons",value:function(){return this.dropdownContainers?this.dropdownContainers.map((function(e){return e.querySelector("button")})):(this.dropdownContainers=this.getMenuDropdownContainers(),this.dropdownContainers?this.getMenuDropdownCloseButtons():null)}},{key:"getMenuList",value:function(){return this.wrapper?this.wrapper.querySelector("ul"):this.getMenuWrapper().querySelector("ul")}},{key:"getMenuItems",value:function(){return I(this.list.querySelectorAll("li"))}},{key:"getMenuItemsWithDropdown",value:function(){return this.items?this.items.filter((function(e){return e.querySelector("ul")})):(this.items=this.getMenuItems(),this.items?this.getMenuItemsWithDropdown():null)}},{key:"getMenuLinks",value:function(){return I(this.list.querySelectorAll("a"))}},{key:"getMenuToggles",value:function(){return I(this.list.querySelectorAll("button:not(.".concat(this.options.closeButton.className,")")))}},{key:"getMenuSubmenus",value:function(){return this.items?this.items.filter((function(e){return e.querySelector("ul")})).map((function(e){return e.querySelector("ul")})):(this.items=this.getMenuItems(),this.items?this.getMenuSubmenus():null)}},{key:"getCloseButton",value:function(){return this.selector.querySelector(".".concat(this.options.closeButton.className))}},{key:"getOpenerButton",value:function(){return document.querySelector(".".concat(this.options.openerButton.className))}},{key:"getOverlay",value:function(){var e=this.selector.nextElementSibling;return e&&u.t(e,this.options.overlay.className)?e:null}},{key:"getFirstLevelFocusableElements",value:function(){var t=this;if(this.list){var n=u.m(this.list);if(n){var i=1e4;return n.filter((function(n){var r=e.getDepthIndex(n,t.selector);return r<=i&&(i=r,n)}
2))}}return this.list=this.getMenuList(),this.list?this.getFirstLevelFocusableElements():null}},{key:"getFirstLevelLinks",value:function(){var t=this;if(this.links){var n=1e4;return this.links.filter((function(i){var r=e.getDepthIndex(i,t.selector);return r<=n&&(n=r,i)}))}return this.links=this.getMenuLinks(),this.links?this.getFirstLevelLinks():null}},{key:"getOpenedItems",value:function(){var e=this;return this.items.filter((function(t){return u.t(t,e.options.menu.openedClassName)}))}},{key:"getOpenedSubmenus",value:function(){var e=this;return this.submenus.filter((function(t){return u.t(t.parentNode,e.options.menu.openedClassName)}))}},{key:"getOpenedChildren",value:function(e){var t=this,n=I(e.children);return n?n.filter((function(e){return u.t(e,t.options.menu.openedClassName)})):null}},{key:"setElementsClass",value:function(e,t){e&&e.forEach((function(e){return u.a(e,t)}))}},{key:"createOverlay",value:function(){var e=document.createElement("div");return e.innerHTML='<span class="ghost">'.concat(this.options.overlay.text,"</span>"),u.a(e,this.options.overlay.className),e}},{key:"createCloseButton",value:function(e){var t=document.createElement("button");return u.a(t,this.options.closeButton.className),t.setAttribute("type","button"),t.innerHTML=e||this.options.closeButton.text,t}},{key:"addCloseButton",value:function(e,t){this.closeButton=this.createCloseButton(),"before"===t?e.parentNode.insertBefore(this.closeButton,e):u.w(this.closeButton,e)}},{key:"addOverlay",value:function(){return this.overlay?u.w(this.overlay,this.selector):(this.overlay=this.createOverlay(),u.w(this.overlay,this.selector))}},{key:"addToggleAfter",value:function(e){if(e){var t=this.createToggle(e.textContent);return u.w(t,e),t}}},{key:"addToggleBefore",value:function(e){if(e){var t=this.createToggle(e.textContent);return e.parentNode.insertBefore(t,e),t}}},{key:"createToggle",value:function(e){var t=document.createElement("button");return t.setAttribute("type","button"),t.innerHTML='\n <span class="fas fa-angle-down" aria-hidden="true"></span>\n <span class="ghost">'.concat(e,"</span>"),u.a(t,this.options.menu.toggleClassName),u.a(t,this.options.menu.generatedClassName),t}},{key:"setOverlay",value:function(){var e=this;this.options.overlay&&this.onResponsive(this.options.overlay.show,(function(){e.addOverlay()}),(function(){e.overlay=e.getOverlay(),e.removeElement(e.overlay)}))}},{key:"setCloseButton",value:function(){this.options.closeButton&&(this.closeButton=this.getCloseButton(),this.closeButton||this.addCloseButton(this.list,"before"))}},{key:"removeElement",value:function(e){e&&e.parentNode.removeChild(e)}},{key:"setElementClass",value:function(e,t){e&&u.a(e,t)}},{key:"removeElementsClass",value:function(e,t){e&&e.forEach((function(e){return u.D(e,t)}))}},{key:"removeElementClass",value:function(e,t){e&&u.D(e,t)}},{key:"setClassNames",value:function(){this.setElementClass(this.selector,this.options.menu.className),this.wrapper=this.selector.children[0],this.setElementClass(this.wrapper,this.options.menu.wrapperClassName),this.list=this.getMenuList(),this.setElementClass(this.list,this.options.menu.listClassName),this.items=this.getMenuItems(),this.setElementsClass(this.items,this.options.menu.itemClassName),this.itemsWithDropdown=this.getMenuItemsWithDropdown(),this.setElementsClass(this.itemsWithDropdown,this.options.menu.itemWithDropdownClassName),this.links=this.getMenuLinks(),this.setElementsClass(this.links,this.options.menu.linkClassName),this.toggles=this.getMenuToggles(),this.setElementsClass(this.toggles,this.options.menu.toggleClassName),this.submenus=this.getMenuSubmenus(),this.setElementsClass(this.submenus,this.options.menu.submenuClassName),this.dropdownWrappers=this.getMenuDropdownWrappers(),this.setElementsClass(this.dropdownWrappers,this.options.menu.dropdownWrapperClassName),this.dropdownContainers=this.getMenuDropdownContainers(),this.setElementsClass(this.dropdownContainers,this.options.menu.dropdownContainerClassName),this.dropdownCloseButtons=this.getMenuDropdownCloseButtons(),this.setElementsClass(this.dropdownCloseButtons,this.options.menu.dropdownCloseClassName)}},{key:"getCurrentLink",value:function(){var e=this;return this.options.menu.currentClassName.map((function(t){return e.selector.querySelector("a.".concat(t))}))}},{key:"initCurrent",value:function(){var e=this.getCurrentLink()[0];if(e){var t=e.parentNode;for(e.setAttribute("aria-current","page");!u.t(t,this.options.menu.wrapperClassName);){if(u.t(t,this.options.menu.itemClassName)){var n=t.querySelector(".".concat(this.options.menu.linkClassName));t.querySelector(".".concat(this.options.menu.toggleClassName));n!==e&&n.setAttribute("aria-current",!0),t.setAttribute("data-has-current",!0)}t=t.parentNode}}}},{key:"openSubmenu",value:function(e){var t=this,n=e.parentNode,i=n.querySelector("ul"),r=I(i.children);if(this.options.submenusHandler.closeAllBeforeOpen){var o=u.q(n);this.onResponsive(this.options.submenusHandler.breakpoints,(function(){o.length&&o.filter((function(e){return u.t(e,t.options.menu.openedClassName)})).map((function(e){return e.querySelector(".".concat(t.options.menu.toggleClassName))}
2)).forEach((function(e){return t.closeSubmenu(e)}))}))}this.setElementClass(n,this.options.menu.openedClassName),u.F(e,i,"opened"),r.forEach((function(e){return u.H(e,0)})),this.getOpenedItems().length&&u.a(this.list,this.options.menu.openedClassName)}},{key:"closeSubmenu",value:function(e){var t=this,n=e.parentNode,i=n.querySelector("ul"),r=I(i.children);this.removeElementClass(n,this.options.menu.openedClassName),u.F(e,i,"closed"),r.forEach((function(e){return u.J(e,-1)})),this.options.closeAllChildren&&r.filter((function(e){return u.t(e,t.options.menu.openedClassName)})).forEach((function(e){var n=e.querySelector(".".concat(t.options.menu.toggleClassName));return n?t.closeSubmenu(n):null})),this.getOpenedItems().length||u.D(this.list,this.options.menu.openedClassName)}},{key:"toggleSubmenu",value:function(e){var t=u.t(e.target,this.options.menu.toggleClassName)?e.target:u.i(e.target,this.options.menu.toggleClassName);return u.t(t.parentNode,this.options.menu.openedClassName)?this.closeSubmenu(t):this.openSubmenu(t)}},{key:"onResponsive",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=0;if("function"!=typeof t)throw new Error("".concat(t," should be a function"));if(e){if("boolean"==typeof e)return t();if(!Array.isArray(e))throw new Error("".concat(e," should be an Array or Boolean"));e.forEach((function(e){return window.responsive===e?i+=1:i}))}return i?t():n()}},{key:"insertCustomElements",value:function(){var e=this;u.c({array:[this.options.rebuildMenu]}),this.options.rebuildMenu.forEach((function(t,n){u.c({array:[t.breakpoints],string:[t.selector],function:[t.callback]});var i=[].slice.call(document.querySelectorAll(t.selector));Object.prototype.hasOwnProperty.call(e.comments,n)||(e.comments[n]=[],i.forEach((function(t){var i=t.classList[0],r=document.createComment(i);u.w(r,t),e.comments[n].push(r)}))),i.forEach((function(i,r){if(-1!==t.breakpoints.indexOf(window.responsive))e.wrapper.contains(i)||t.callback(i,e.wrapper,e);else{var o=e.comments[n][r],a=i.querySelector(".js-dropdown__toggle");a&&a.hasAttribute("tabindex")&&a.removeAttribute("tabindex"),o.previousSibling!==i&&o.parentNode.insertBefore(i,o)}}))}))}},{key:"checkIncludedElements",value:function(e){return!!this.options.emitInsideHandlerFor.length&&I(document.querySelectorAll(this.options.emitInsideHandlerFor)).filter((function(t){return t.contains(e.target)})).length>0}},{key:"clickOutside",value:function(e){this.selector.contains(e.target)||this.openerButton.contains(e.target)||this.checkIncludedElements(e)||this.closeMenu()}},{key:"openMenu",value:function(){}},{key:"closeMenu",value:function(){}},{key:"toggleMenu",value:function(){return u.t(this.selector,this.options.menu.openedClassName)?this.closeMenu():this.openMenu()}},{key:"nextKeysHandler",value:function(e,t,n){e.preventDefault();var i=u.o(e.target,t,n);i&&y.a.element.focus(i)}},{key:"prevKeysHandler",value:function(e,t,n){e.preventDefault();var i=u.p(e.target,t,n);i&&y.a.element.focus(i)}},{key:"initFocusTrap",value:function(e){var t=this.options.focusTrap.closeOnLastElementOut?u.n(this.selector):null;(this.options.focusTrap.closeOnLastElementOut?27===e.keyCode||e.target===t:27===e.keyCode)&&this.closeMenu()}},{key:"extend",value:function(e,t){if(t instanceof Object)return u.h(e,t)}}],[{key:"getDepth",value:function(e){var t=[],n=-1;t.push(e);for(var i=function(){for(var e=[];t.length>0;){var i=t.shift();i.children.length&&I(i.children).forEach((function(t){e.push(t)}))}n+=1,t=e};t.length>0;)i();return n}},{key:"getDepthIndex",value:function(e,t){for(var n=e,i=0;n!==t;){if(n===document.body){i=null;break}i+=1,n=n.parentNode}return i}}]),e}(),F=function(e){function t(e,n){var i;return L(this,t),(i=M(this,A(t).call(this,e))).options=n,i.create(),i}return O(t,e),j(t,[{key:"initAccessibility",value:function(){var e=this,t=[];this.overlay&&t.push(this.overlay),this.closeButton&&t.push(this.closeButton),t.push(this.openerButton),u.u(t,this.selector),this.toggles&&this.toggles.forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.submenuClassName));u.u(t,n)})),u.J(this.selector,-1)}},{key:"create",value:function(){if(this.setClassNames(),!(this.options.openerButton||this.options.overlay||this.options.closeButton))throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));if(this.openerButton=this.getOpenerButton(),!this.openerButton)throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));this.setOverlay(),this.setCloseButton(),this.currentBreakpoint=u.r(),this.initAccessibility(),this.initEvents(),this.initCurrent(),this.insertCustomElements()}},{key:"initEvents",value:function(){var e=this;this.toggleMenuHandler=this.toggleMenu.bind(this),this.closeMenuHandler=this.closeMenu.bind(this),this.updateMenuHandler=this.update.bind(this),this.outsideHandler=this.clickOutside.bind(this),this.openerButton.addEventListener("click",this.toggleMenuHandler),[this.closeButton,this.overlay].forEac
2h((function(t){t&&t.addEventListener("click",e.closeMenuHandler)})),this.toggles&&(this.toggleSubmenuHandler=this.toggleSubmenu.bind(this),this.toggles.forEach((function(t){return t.addEventListener("click",e.toggleSubmenuHandler)}))),this.options.focusTrap.init&&(this.focusTrapHandler=this.initFocusTrap.bind(this),this.selector.addEventListener("keydown",this.focusTrapHandler)),window.addEventListener("responsive",this.updateMenuHandler),document.addEventListener("click",this.outsideHandler)}},{key:"removeEvents",value:function(){var e=this;this.openerButton.removeEventListener("click",this.toggleMenuHandler),[this.closeButton,this.overlay].forEach((function(t){t&&t.removeEventListener("click",e.closeMenuHandler)})),this.toggles&&this.toggles.forEach((function(t){return t.removeEventListener("click",e.toggleSubmenuHandler)})),this.options.focusTrap.init&&this.selector.removeEventListener("keydown",this.focusTrapHandler),window.removeEventListener("responsive",this.updateMenuHandler),document.removeEventListener("click",this.outsideHandler)}},{key:"openMenu",value:function(){this.setElementClass(this.selector,this.options.menu.openedClassName),this.setElementClass(this.overlay,this.options.menu.openedClassName),this.setElementClass(document.body,this.options.body.openedClassName),this.closeButton&&u.M(this.closeButton),u.x("hidden"),this.overlay&&this.closeButton?u.F([this.openerButton,this.overlay,this.closeButton],this.selector,"opened"):this.overlay?u.F([this.openerButton,this.overlay],this.selector,"opened"):this.closeButton?u.F([this.openerButton,this.closeButton],this.selector,"opened"):u.F(this.openerButton,this.selector,"opened"),this.setElementClass(this.openerButton,this.options.menu.openedClassName);var e=this.getFirstLevelFocusableElements();if(e){var n=t.getDepthIndex(e[0],this.selector);u.y(this.selector,0,n);var i=this.getOpenedItems();i&&i.forEach((function(e){u.y(e,0,3)}))}var r=u.m(this.selector,!0);r&&u.I(r)}},{key:"closeMenu",value:function(){var e=this;u.t(this.selector,this.options.menu.openedClassName)&&this.onResponsive(this.options.openerButton.show,(function(){e.openerButton.focus()})),this.removeElementClass(this.selector,this.options.menu.openedClassName),this.removeElementClass(this.overlay,this.options.menu.openedClassName),this.removeElementClass(document.body,this.options.body.openedClassName),u.x("visible"),u.J(this.selector,-1),this.overlay&&this.closeButton?u.F([this.openerButton,this.overlay,this.closeButton],this.selector,"closed"):this.overlay?u.F([this.openerButton,this.overlay],this.selector,"closed"):this.closeButton?u.F([this.openerButton,this.closeButton],this.selector,"closed"):u.F(this.openerButton,this.selector,"closed"),this.removeElementClass(this.openerButton,this.options.menu.openedClassName)}},{key:"update",value:function(){this.currentBreakpoint!==window.responsive&&(this.currentBreakpoint=window.responsive,this.closeMenu(),this.removeEvents(),this.setOverlay(),this.setCloseButton(),this.initAccessibility(),this.insertCustomElements(),this.initEvents())}}]),t}(N),R=function(e){function t(e,n){var i;return L(this,t),(i=M(this,A(t).call(this,e))).options=n,i.create(),i}return O(t,e),j(t,[{key:"create",value:function(){this.setClassNames();var e=document.createComment(this.selector.className);if(this.menuPosition=this.selector.parentNode.insertBefore(e,this.selector),!(this.options.openerButton||this.options.overlay||this.options.closeButton))throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));if(this.openerButton=this.getOpenerButton(),!this.openerButton)throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));this.setOverlay(),this.setCloseButton(),this.currentBreakpoint=u.r(),this.insertCustomElements(),this.initAccessibility(),this.generateToggels(),this.initEvents(),this.initCurrent(),this.updateMenuPosition()}},{key:"initAccessibility",value:function(){var e=this,t=[];this.overlay&&t.push(this.overlay),this.closeButton&&t.push(this.closeButton),t.push(this.openerButton),u.u(t,this.selector),this.onResponsive(this.options.initSubmenuToggles,(function(){e.toggles&&e.toggles.filter((function(t){return!u.t(t,e.options.menu.dropdownCloseClassName)}
2)).forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.submenuClassName));t&&n&&u.u(t,n)}))}),(function(){e.toggles&&e.toggles.filter((function(t){return!u.t(t,e.options.menu.dropdownCloseClassName)})).forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.submenuClassName));u.B(t),u.B(n)}))})),this.getFirstLevelLinks().forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.dropdownWrapperClassName)),i=n?n.querySelector(".".concat(e.options.menu.dropdownCloseClassName)):null;n&&i?u.u([t,i],n):n&&u.u(t,n),e.onResponsive(e.options.breakpoints,(function(){}),(function(){t.removeAttribute("tabindex")})),u.t(t.parentNode,e.options.menu.itemWithDropdownClassName)&&e.onResponsive(e.options.breakpoints,(function(){t.removeAttribute("role")}),(function(){t.setAttribute("role","button")}))})),this.onResponsive(this.options.breakpoints,(function(){e.selector.setAttribute("aria-hidden",!0),setTimeout((function(){u.J(e.selector,-1)}),0)}),(function(){e.selector.setAttribute("aria-hidden",!1),e.dropdownContainers&&e.dropdownContainers.forEach((function(e){return u.J(e,-1)}))}))}},{key:"initEvents",value:function(){var e=this;this.toggleMenuHandler=this.toggleMenu.bind(this),this.outsideHandler=this.clickOutside.bind(this),this.toggleMobileMenuHandler=this.toggleMobileMenu.bind(this),this.updateMenuHandler=this.update.bind(this),this.toggleSubmenuHandler=this.toggleSubmenu.bind(this),[this.openerButton,this.closeButton,this.overlay].forEach((function(t){t&&t.addEventListener("click",e.toggleMobileMenuHandler)}));var t=this.getFirstLevelLinks();if(t){t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.dropdownWrapperClassName))})).forEach((function(t){["click","keydown"].forEach((function(n){t.addEventListener(n,e.toggleMenuHandler)}))}));t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).map((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).forEach((function(t){return t.addEventListener("click",e.toggleMenuHandler)}))}if(this.toggles){var n=this.toggles.filter((function(t){if(t.nextElementSibling)return u.t(t.nextElementSibling,e.options.menu.submenuClassName)}));this.onResponsive(this.options.initSubmenuToggles,(function(){n.forEach((function(t){return t.addEventListener("click",e.toggleSubmenuHandler)}))}),(function(){n.forEach((function(t){return t.removeEventListener("click",e.toggleSubmenuHandler)}))}))}this.options.focusTrap.init&&(this.focusTrapHandler=this.initFocusTrap.bind(this),this.onResponsive(this.options.breakpoints,(function(){e.selector.addEventListener("keydown",e.focusTrapHandler)}),(function(){e.selector.removeEventListener("keydown",e.focusTrapHandler)}))),document.addEventListener("click",this.outsideHandler),window.addEventListener("responsive",this.updateMenuHandler)}},{key:"removeEvents",value:function(){var e=this;[this.openerButton,this.closeButton,this.overlay].forEach((function(t){t&&t.removeEventListener("click",e.toggleMobileMenuHandler)}));var t=this.getFirstLevelLinks();if(t){t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.dropdownWrapperClassName))})).forEach((function(t){["click","keydown"].forEach((function(n){t.removeEventListener(n,e.toggleMenuHandler)}))}));t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).map((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).forEach((function(t){return t.removeEventListener("click",e.toggleMenuHandler)}))}if(this.toggles)this.toggles.filter((function(t){if(t.nextElementSibling)return u.t(t.nextElementSibling,e.options.menu.submenuClassName)})).forEach((function(t){return t.removeEventListener("click",e.toggleSubmenuHandler)}));this.options.focusTrap.init&&this.selector.removeEventListener("keydown",this.focusTrapHandler),document.removeEventListener("click",this.outsideHandler),window.removeEventListener("responsive",this.updateMenuHandler)}},{key:"closeMenuOnScroll",value:function(e){this.lastClickedLink&&this.getOpenedItems().length&&this.closeMenu(this.lastClickedLink.parentNode,this.lastEvent)}},{key:"openMobileMenu",value:function(){var e=this;this.setElementClass(this.selector,this.options.menu.openedClassName),this.setElementClass(this.overlay,this.options.menu.openedClassName),this.setElementClass(document.body,this.options.body.openedClassName),this.selector.setAttribute("aria-hidden",!1),this.closeButton&&this.closeButton.setAttribute("tabindex",0),u.x("hidden"),this.overlay&&this.closeButton?u.F([this.openerButton,this.overlay,this.closeButton],this.selector,"opened"):this.overlay?u.F([this.openerButton,this.overlay],this.selector,"opened"):this.closeButton?u.F([this.openerButton,this.closeButton],this.selector,"opened"):u.F(this.openerButton,this.selector,"opened"),this.setElementClass(this.openerButton,this.options.menu.openedClassName);var t=this.getFirstLevelFocusableElements();if(t){var n=F.getDepthIndex(t[0],this.selector);u.y(this.selector,0,n);var i=this.getOpenedItems();
2i&&i.forEach((function(e){u.y(e,0,3)}))}var r=document.querySelector(".header-bar__components");r&&(this.contextFocusableElements=y.a.query.focusable({context:r})),this.contextFocusableElements=this.contextFocusableElements.filter((function(e){return!u.i(e,"mnv-menu")})),this.contextFocusableElements.forEach((function(e){e.setAttribute("tabindex",0)})),this.$keyHandlers=y.a.when.key({tab:function(t){e.nextKeysHandler(t,e.selector,e.contextFocusableElements)},up:function(t){e.nextKeysHandler(t,e.selector,e.contextFocusableElements)},"shift+tab":function(t){e.prevKeysHandler(t,e.selector,e.contextFocusableElements)},down:function(t){e.prevKeysHandler(t,e.selector,e.contextFocusableElements)},escape:function(t){e.closeMobileMenu()}});var o=u.m(this.selector,!0);o&&u.I(o);var a=document.querySelector(".header");a&&setTimeout((function(){var e=window.pageYOffset;a.style.top="".concat(e,"px")}),300)}},{key:"closeMobileMenu",value:function(){var e=this;u.t(this.selector,this.options.menu.openedClassName)&&this.onResponsive(this.options.openerButton.show,(function(){e.openerButton.focus()})),this.removeElementClass(this.selector,this.options.menu.openedClassName),this.removeElementClass(this.overlay,this.options.menu.openedClassName),this.selector.setAttribute("aria-hidden",!0),u.x("visible"),setTimeout((function(){u.J(e.selector,-1)}),0),this.overlay&&this.closeButton?u.F([this.openerButton,this.overlay,this.closeButton],this.selector,"closed"):this.overlay?u.F([this.openerButton,this.overlay],this.selector,"closed"):this.closeButton?u.F([this.openerButton,this.closeButton],this.selector,"closed"):u.F(this.openerButton,this.selector,"closed"),this.removeElementClass(this.openerButton,this.options.menu.openedClassName),this.onResponsive(this.options.breakpoints,(function(){u.t(document.body,e.options.body.openedClassName)&&e.openerButton.focus()}));var t=document.querySelector(".header-bar__components");t&&(this.contextFocusableElements=y.a.query.focusable({context:t})),this.contextFocusableElements.forEach((function(e){e.removeAttribute("tabindex")})),this.$keyHandlers&&this.$keyHandlers.disengage(),this.removeElementClass(document.body,this.options.body.openedClassName);var n=document.querySelector(".header");n&&setTimeout((function(){n.removeAttribute("style")}),300)}},{key:"toggleMobileMenu",value:function(){return u.t(this.selector,this.options.menu.openedClassName)?this.closeMobileMenu():this.openMobileMenu()}},{key:"openMenu",value:function(e,t){var n=this,i=!1;if(this.onResponsive(this.options.breakpoints,(function(){i=!1}),(function(){t.preventDefault(),i=!0})),t.target&&"a"===t.target.tagName.toLowerCase()&&!i)return!1;this.lastClickedLink&&this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.closeMenu(n.lastClickedLink.parentNode,t)})),this.lastClickedLink=e.querySelector("a"),this.lastEvent=t,this.setElementClass(e,this.options.menu.openedClassName),this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.setElementClass(document.body,n.options.body.openedClassName),u.x("hidden")}));var r=e.querySelector(".".concat(this.options.menu.dropdownWrapperClassName)),o="button"===this.lastClickedLink.nextElementSibling.tagName.toLowerCase()?this.lastClickedLink.nextElementSibling:null,a=r?r.querySelector(".".concat(this.options.menu.dropdownCloseClassName)):null;r&&a&&o?u.F([this.lastClickedLink,a,o],r,"opened"):r&&a?u.F([this.lastClickedLink,a],r,"opened"):r&&u.F(this.lastClickedLink,r,"opened");var s=I(r.querySelectorAll(".".concat(this.options.menu.submenuClassName)));this.onResponsive(this.options.breakpoints,(function(){s.length&&s.filter((function(e){return u.t(e.parentNode,n.options.menu.dropdownContainerClassName)})).forEach((function(e){return u.y(e,0,3)}))}),(function(){s.length&&s.forEach((function(e){return e.getAttribute("aria-hidden")?u.y(e,-1,3):u.J(r,0)})),setTimeout((function(){u.I(u.m(r,!0))}),100)}));var l=this.getOpenedItems();l&&(l.filter((function(e){var t=u.i(e,n.options.menu.dropdownWrapperClassName);return t&&"false"===t.getAttribute("aria-hidden")})).forEach((function(e){return u.y(e,0,3)})),u.a(this.list,this.options.menu.openedClassName)),this.onResponsive(this.options.breakpoints,(function(){}
2),(function(){n.getFirstLevelLinks().forEach((function(e){return e.setAttribute("tabindex",-1)})),n.options.focusTrap.init&&r.addEventListener("keydown",n.focusTrapHandler)})),this.$keyHandlers=y.a.when.key({tab:function(e){n.nextKeysHandler(e,r)},"shift+tab":function(e){n.prevKeysHandler(e,r)},up:function(e){n.prevKeysHandler(e,r)},down:function(e){n.nextKeysHandler(e,r)},escape:function(e){n.closeMenu(n.lastClickedLink.parentNode,e)}}),tarteaucitron&&(tarteaucitron.reloadThePage=!1)}},{key:"closeMenu",value:function(e,t){var n=this;t.stopPropagation();var i=!1;if(this.selector.contains(t.target)&&this.onResponsive(this.options.breakpoints,(function(){i=!1}),(function(){t.preventDefault(),i=!0})),t.target&&"a"===t.target.tagName.toLowerCase()&&!i)return!1;this.removeElementClass(e,this.options.menu.openedClassName),this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.removeElementClass(document.body,n.options.body.openedClassName),u.x("visible")}));var r=e.querySelector(".".concat(this.options.menu.dropdownWrapperClassName)),o=this.lastClickedLink&&this.lastClickedLink.nextElementSibling&&"button"===this.lastClickedLink.nextElementSibling.tagName.toLowerCase()?this.lastClickedLink.nextElementSibling:null,a=r?r.querySelector(".".concat(this.options.menu.dropdownCloseClassName)):null;u.J(r,-1);var s=I(e.querySelectorAll(".".concat(this.options.menu.itemClassName,".").concat(this.options.menu.openedClassName)));s&&s.forEach((function(e){var t=e.querySelector(".".concat(n.options.menu.toggleClassName));t&&t.click()})),this.getOpenedItems().length||u.D(this.list,this.options.menu.openedClassName),r&&a&&o?u.F([this.lastClickedLink,a,o],r,"closed"):r&&a?u.F([this.lastClickedLink,a],r,"closed"):r&&u.F(this.lastClickedLink,r,"closed"),this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.getFirstLevelLinks().forEach((function(e){return e.setAttribute("tabindex",0)})),n.selector.contains(t.target)&&n.lastClickedLink.focus(),n.options.focusTrap.init&&r.removeEventListener("keydown",n.focusTrapHandler)})),this.$keyHandlers&&this.$keyHandlers.disengage(),tarteaucitron&&(tarteaucitron.reloadThePage=!0)}},{key:"toggleMenu",value:function(e){if(!e.target||"button"!==e.target.getAttribute("role")){var t=u.i(e.target,this.options.menu.itemClassName);return u.t(t,this.options.menu.openedClassName)?this.closeMenu(t,e):this.openMenu(t,e)}if("click"===e.type||13===e.keyCode||32===e.keyCode){var n=u.i(e.target,this.options.menu.itemClassName);return u.t(n,this.options.menu.openedClassName)?this.closeMenu(n,e):this.openMenu(n,e)}}},{key:"clickOutside",value:function(e){!(this.selector.contains(e.target)||this.openerButton.contains(e.target)||this.checkIncludedElements(e))&&this.lastClickedLink&&this.closeMenu(this.lastClickedLink.parentNode,e)}},{key:"initFocusTrap",value:function(e){"desktop"===window.responsive&&u.v(this.selector,e,!0);var t=this.options.focusTrap.closeOnLastElementOut?u.n(this.selector):null;(this.options.focusTrap.closeOnLastElementOut?27===e.keyCode||e.target===t:27===e.keyCode)&&("desktop"===window.responsive?this.closeMenu(this.lastClickedLink.parentNode,e):this.closeMobileMenu())}},{key:"updateMenuPosition",value:function(){var e=this;this.onResponsive(this.options.breakpoints,(function(){var t=document.querySelector(".".concat(e.options.replaceTo)),n=document.querySelector("#main-menu");n?n.appendChild(e.selector):t&&t.appendChild(e.selector)}),(function(){u.w(e.selector,e.menuPosition)}))}},{key:"generateToggels",value:function(){var e=this;this.onResponsive(this.options.breakpoints,(function(){e.links.forEach((function(t){if(u.t(t.parentNode,e.options.menu.itemWithDropdownClassName)&&"button"!==t.nextElementSibling.tagName.toLocaleLowerCase()&&t.getAttribute("aria-controls")){var n=t.getAttribute("aria-controls"),i=I(e.selector.querySelectorAll("[aria-controls='".concat(n,"']"))),r=e.selector.querySelector("#".concat(n)),o=e.addToggleAfter(t);u.u([].concat(I(i),[o]),r)}}))}),(function(){e.getMenuToggles().filter((function(t){return!!u.t(t,e.options.menu.generatedClassName)&&t.parentNode.removeChild(t)}))}))}},{key:"update",value:function(){var e=this;
2this.getOpenedItems().length&&this.getOpenedItems().forEach((function(n){t.getDepthIndex(n,e.selector)<=3&&e.closeMenu(n,e.lastEvent)})),this.currentBreakpoint!==window.responsive&&(this.currentBreakpoint=window.responsive,this.closeMobileMenu(),this.removeEvents(),this.updateMenuPosition(),this.generateToggels(),this.setOverlay(),this.setCloseButton(),this.initAccessibility(),this.initCurrent(),this.insertCustomElements(),this.initEvents())}}]),t}(N),B=function(e){function t(e,n){var i;return L(this,t),(i=M(this,A(t).call(this,e))).options=i.extend(i.options,n),i.checkBeforeInit(),i}return O(t,e),j(t,[{key:"checkBeforeInit",value:function(){var e=this;"string"==typeof this.selector?I(document.querySelectorAll(this.selector)).forEach((function(n){return new t(n,e.options)})):this.init()}},{key:"init",value:function(){switch(this.options.menu.type){case"aside":return new F(this.selector,this.options);default:return new R(this.selector,this.options)}}}]),t}(N);function H(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var z=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={sizes:{0:"smartphone",767:"tablet",1279:"desktop"},eventName:"responsive"},t instanceof Object&&(this.options=u.h(this.options,t)),this.event=null,this.init()}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e,t,n,i=u.r();this.IEPolyfill(),this.event=new CustomEvent(this.options.eventName,{bubbles:!0,cancelable:!1,detail:(e={},t=this.options.eventName,n=i,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)}),window[this.options.eventName]=i,window.addEventListener("load",this.checkView.bind(this,!0)),window.addEventListener("resize",u.f(this.checkView.bind(this),50))}},{key:"checkView",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=u.r();e!==window[this.options.eventName]&&(window[this.options.eventName]=e,this.event.detail[this.options.eventName]=e,window.dispatchEvent(this.event))}},{key:"IEPolyfill",value:function(){try{new CustomEvent("IE has CustomEvent, but doesn't support constructor")}catch(e){window.CustomEvent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1,detail:void 0},n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n},CustomEvent.prototype=Object.create(window.Event.prototype)}}}])&&H(t.prototype,n),i&&H(t,i),e}();function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function W(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function V(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-tooltip",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.position={top:"top",bottom:"bottom",left:"left",right:"right"},this.options={position:this.position.top,delay:60,id:"access-tooltip",offset:0,classList:{top:"is-tooltip-top",bottom:"is-tooltip-bottom",left:"is-tooltip-left",right:"is-tooltip-right",inverted:"is-tooltip-inverted"}},this.created=!1,this.elements=[],this.tooltipElement=null,this.timeOut=null,this.selector=t,this.options=Object(u.h)(this.options,n||{}),this.$showTooltip=this.showTooltip.bind(this),this.$hideTooltip=this.hideTooltip.bind(this),this.$mouseOverHandler=this.mouseOverHandler.bind(this),this.beforeInit()}var t,n,i;return t=e,(n=[{key:"beforeInit",value:function(){this.elements=W(document.querySelectorAll(this.selector)),this.elements=this.elements.map((function(e){return e.hasAttribute("title")&&(e.setAttribute("data-content",e.getAttribute("title")),e.setAttribute("aria-labelledby","access-tooltip"),e.removeAttribute("title")),e})),this.elements.length&&this.init()}},{key:"destroy",value:function(){this.created&&(this.hide(),this.removeEvents(),this.created=!1)}},{key:"update",value:function(e){return this.destroy(),e&&(this.options=Object(u.h)(this.options,e)),this.elements=W(document.querySelectorAll(this.selector)),this.init(),this}},{key:"checkPositionClass",value:function(e){var t=this.position,n=t.top,i=t.bottom,r=t.left,o=t.right,a=this.options.classList,
2s=a.top,l=a.bottom,c=a.left,d=a.right,h=this.options.position;return Object(u.t)(e,s)?h=n:Object(u.t)(e,l)?h=i:Object(u.t)(e,c)?h=r:Object(u.t)(e,d)&&(h=o),h}},{key:"initEvents",value:function(){var e=this;this.elements.length&&this.elements.forEach((function(t){t.hasAttribute("data-content")&&(t.addEventListener("focus",e.$showTooltip),t.addEventListener("blur",e.$hideTooltip))})),document.addEventListener("mouseover",this.$mouseOverHandler),["click","keydown"].forEach((function(t){document.addEventListener(t,e.$hideTooltip)})),window.addEventListener("scroll",this.$hideTooltip)}},{key:"removeEvents",value:function(){var e=this;this.elements.length&&this.elements.forEach((function(t){t.hasAttribute("data-content")&&(t.removeEventListener("focus",e.$showTooltip),t.removeEventListener("blur",e.$hideTooltip))})),document.removeEventListener("mouseover",this.$mouseOverHandler),["click","keydown"].forEach((function(t){document.removeEventListener(t,e.$hideTooltip)})),window.removeEventListener("scroll",this.$hideTooltip)}},{key:"setProp",value:function(e,t){this[e]=t}},{key:"getProp",value:function(e){return this[e]}},{key:"createTooltipMarkup",value:function(){var e=document.getElementById("access-tooltip");this.tooltipElement=e||document.createElement("div"),this.tooltipElement.id=this.options.id,this.tooltipElement.style.opacity="0",this.tooltipElement.style.display="none",this.tooltipElement.setAttribute("role","tooltip"),e||this.tooltipElement.appendChild(document.createElement("div")),document.body.appendChild(this.tooltipElement)}},{key:"init",value:function(){var e=this;this.created=!0,this.elements.length&&this.elements.forEach((function(t){t.hasAttribute("aria-describedby")?t.setAttribute("aria-describedby",e.options.id):t.setAttribute("aria-labelledby",e.options.id)})),this.createTooltipMarkup(),this.initEvents()}},{key:"showTooltip",value:function(e){var t=this,n=e.target;this.timeOut=setTimeout((function(){t.tooltipElement.children[0].innerHTML=n.getAttribute("data-content"),t.tooltipElement.style.display="block",t.options.offset=t.options.offset||0,t.positionTooltip(n,t.tooltipElement,t.checkPositionClass(n)),Object(u.t)(n,t.options.classList.inverted)?Object(u.a)(t.tooltipElement,t.options.classList.inverted):Object(u.D)(t.tooltipElement,t.options.classList.inverted),t.tooltipElement.style.opacity="1"}),this.options.delay)}},{key:"hideTooltip",value:function(e){var t=e.type,n=e.key,i=e.target,r=document.activeElement,o=q(this.tooltipElement.children,1)[0],a=i===this.tooltipElement||i===o,s="keydown"===t&&("Escape"===n||"Enter"===n);r&&Object(u.t)(r,"js-tooltip")&&r.getAttribute("data-content")===o.innerHTML&&!s&&"scroll"!==t||(s||"click"===t&&!a||"mouseover"===t&&!a||"scroll"===t||"blur"===t)&&this.hide()}},{key:"mouseOverHandler",value:function(e){var t=e.target;Object(u.t)(t,"js-tooltip")?this.showTooltip(e):this.hideTooltip(e)}},{key:"hide",value:function(){this.timeOut=clearTimeout(this.timeOut),this.tooltipElement.style.opacity="0",this.tooltipElement.style.display="none"}},{key:"positionTooltip",value:function(e,t,n){this.resetTooltipPosition();var i=document.body,r=i.clientWidth,o=i.clientHeight;switch(n){case this.position.top:this.tooltipTop(e,t,this.getCoords(e));break;case this.position.bottom:this.tooltipBottom(e,t,this.getCoords(e));break;case this.position.left:this.tooltipLeft(e,t,this.getCoords(e));break;case this.position.right:this.tooltipRight(e,t,this.getCoords(e));break;default:this.tooltipTop(e,t,this.getCoords(e))}var a=this.getCoords(e),s=a.top,l=a.bottom,u=this.getCoords(t),c=u.top,d=u.bottom,h=u.left,f=u.right;d>o&&(t.style.top="".concat(s-t.offsetHeight-this.options.offset,"px"),this.addModifiers("top")),c<0&&(t.style.top="".concat(l+this.options.offset,"px"),this.addModifiers("bottom")),f>r&&(t.style.left="".concat(r-t.offsetWidth,"px")),h<0&&(t.style.left="0")}},{key:"tooltipTop",value:function(e,t,n){var i=n.top,r=n.left;this.resetTooltipPosition(),t.style.left="".concat(r+(e.offsetWidth-t.offsetWidth)/2,"px"),t.style.top="".concat(i-t.offsetHeight-this.options.offset,"px"),this.addModifiers("top")}},{key:"tooltipBottom",value:function(e,t,n){var i=n.bottom,r=n.left;this.resetTooltipPosition(),t.style.left="".concat(r+(e.offsetWidth-t.offsetWidth)/2,"px"),t.style.top="".concat(i+this.options.offset,"px"),this.addModifiers("bottom")}},{key:"tooltipLeft",value:function(e,t,n){var i=n.top,r=n.left;this.resetTooltipPosition(),t.style.top="".concat(i+e.offsetHeight/2-t.offsetHeight/2,"px"),t.style.left="".concat(r-t.offsetWidth-this.options.offset,"px"),this.addModifiers("left")}},{key:"tooltipRight",value:function(e,t,n){var i=n.top,r=n.right;this.resetTooltipPosition(),t.style.top="".concat(i+e.offsetHeight/2-t.offsetHeight/2,"px"),t.style.left="".concat(r+this.options.offset,"px"),this.addModifiers("right")}},{key:"resetTooltipPosition",value:function(){this.tooltipElement.style.top="auto",this.tooltipElement.style.bottom="auto",this.tooltipElement.style.left="auto",this.tooltipElement.style.right="auto"}},{key:"removePositionModifiers",value:function(){var e=this.options.classList,t=e.top,n=e.bottom,i=e.left,r=e.right;
2Object(u.D)(this.tooltipElement,t),Object(u.D)(this.tooltipElement,n),Object(u.D)(this.tooltipElement,i),Object(u.D)(this.tooltipElement,r)}},{key:"addModifiers",value:function(e){var t=this.options.classList,n=t.top,i=t.bottom,r=t.left,o=t.right,a=t.inverted;switch(this.removePositionModifiers(),e){case"top":Object(u.a)(this.tooltipElement,n);break;case"bottom":Object(u.a)(this.tooltipElement,i);break;case"left":Object(u.a)(this.tooltipElement,r);break;case"right":Object(u.a)(this.tooltipElement,o);break;case"inverted":Object(u.a)(this.tooltipElement,a);break;default:Object(u.a)(this.tooltipElement,n)}}},{key:"getCoords",value:function(e){var t=e.getBoundingClientRect();return{top:t.top+pageYOffset,bottom:t.bottom+pageYOffset,left:t.left+pageXOffset,right:t.right+pageXOffset}}}])&&V(t.prototype,n),i&&V(t,i),e}();function G(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function U(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var X=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-search-mds",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t,this.options={classList:{input:"js-search-mds-input",select:"js-search-mds-select",answer:"js-search-mds-answer",buttonSearch:"js-search-mds-button-search",buttonFilter:"js-search-mds-button-filter"},dataList:{mds:"data-search-mds",btnText:"data-mds-btn-text",btnList:"data-mds-btn-list"}},n instanceof Object&&(this.options=u.h(this.options,n)),this.data=null,this.mds=null,this.btnFilterText=null,this.checkBeforeInit()}var t,n,i;return t=e,(n=[{key:"checkBeforeInit",value:function(){if("string"!=typeof this.selector){if(u.t(this.selector,"-is-initialized"))return;return null!==this.selector&&this.init()}if("string"==typeof this.selector){var t=document.querySelectorAll(this.selector);if(null===t)return;for(var n=0;n<t.length;n++)new e(t[n],this.options)}}},{key:"init",value:function(){var e,t,n,i,r,o=this;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:e=this.selector.querySelector(".".concat(this.options.classList.input)),t=this.selector.querySelector(".".concat(this.options.classList.select)),n=this.selector.querySelector(".".concat(this.options.classList.answer)),i=this.selector.querySelector(".".concat(this.options.classList.buttonSearch)),r=this.selector.querySelector(".".concat(this.options.classList.buttonFilter)),this.btnFilterText=r.innerHTML,t.setAttribute("disabled","disabled"),r.setAttribute("disabled","disabled"),e.addEventListener("keydown",(function(){i.removeAttribute("disabled"),u.D(i,"-load"),u.D(e,"-error")})),i.addEventListener("click",(function(a){var s,l,c,d,h,f;return regeneratorRuntime.async((function(p){for(;;)switch(p.prev=p.next){case 0:return a.preventDefault(),s=t.children[0],t.innerHTML="",n.innerHTML="",t.appendChild(s),t.setAttribute("disabled","disabled"),r.setAttribute("disabled","disabled"),i.setAttribute("disabled","disabled"),u.a(i,"-load"),u.D(n,"-done"),p.next=12,regeneratorRuntime.awrap(o.getData());case 12:for(l in o.data=p.sent,o.mds=null,u.D(i,"-load"),o.data)({}).hasOwnProperty.call(o.data,l)&&(c=o.data[l],d=c.zipcode,h=c.name,d===e.value&&(f=new Option(h,h,!1,!1),t.appendChild(f),t.removeAttribute("disabled"),i.removeAttribute("disabled")));t.length<=1?u.a(e,"-error"):u.D(e,"-error");case 17:case"end":return p.stop()}}))})),t.addEventListener("change",(function(){for(var i in o.data)({}).hasOwnProperty.call(o.data,i)&&function(){var a=o.data[i],s=a.zipcode,l=a.name,c=a.mds;if(s===e.value&&t.value===l){if(n.innerHTML=c,u.a(n,"-done"),o.mds=c,r.innerHTML=o.btnFilterText,r.hasAttribute(o.options.dataList.btnList)&&r.hasAttribute(o.options.dataList.btnText)){var d=r.getAttribute(o.options.dataList.btnList).split(","),h=r.getAttribute(o.options.dataList.btnText);d.forEach((function(e){e.trim().toLocaleUpperCase()===c.trim().toLocaleUpperCase()&&(r.innerHTML=h)}))}r.setAttribute("data-content",r.innerHTML.trim()),r.removeAttribute("disabled")}}()})),r.addEventListener("click",(function(e){e.preventDefault(),o.mds&&(document.location.href="".concat(o.selector.action).c
2oncat(o.mds))}));case 12:case"end":return a.stop()}}),null,this)}},{key:"getData",value:function(){var e,t;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.selector.hasAttribute(this.options.dataList.mds)){n.next=14;break}return e=this.selector.getAttribute(this.options.dataList.mds),n.prev=2,n.next=5,regeneratorRuntime.awrap(fetch(e));case 5:return t=n.sent,n.next=8,regeneratorRuntime.awrap(t.json());case 8:return n.abrupt("return",n.sent);case 11:n.prev=11,n.t0=n.catch(2),console.error(n.t0);case 14:case"end":return n.stop()}}),null,this,[[2,11]])}},{key:"setStorage",value:function(){var e=JSON.stringify(this.data);localStorage.setItem("".concat(window.location.hostname),e)}},{key:"getStorage",value:function(){var e=localStorage.getItem("".concat(window.location.hostname));e&&(this.data=G(JSON.parse(e)))}}])&&U(t.prototype,n),i&&U(t,i),e}();n(463);function K(){var e=document.querySelector(".go-to-top");if(null!==e){var t=e.querySelector("a"),n=document.querySelector(".footer");e&&(window.addEventListener("scroll",u.K((function(){o()}),250)),window.addEventListener("resize",u.K((function(){o()}),250)),e.addEventListener("click",(function(e){var t,n,i;e.preventDefault(),t=500,n=-window.pageYOffset/(t/10),i=setInterval((function(){if(0!==window.pageYOffset)window.scrollBy(0,n);else{clearInterval(i);var e=document.querySelector(".menu-skip");if(e){var t=u.l(e);t&&"desktop"===window.responsive&&y.a.element.focus(t)}}}),15)})))}function i(t,n){t?(e.style.position="fixed",e.style.bottom="".concat(n,"px")):(e.style.position="relative",e.style.bottom="".concat(n/2,"px"))}function r(t){t?u.D(e,"-is-hide"):u.a(e,"-is-hide")}function o(){var e=document.body.clientHeight,o=window.pageYOffset+window.innerHeight,a=u.A(n),s=u.A(t);window.pageYOffset?r(!0):r(!1),i(o<e-(a-s/2),s)}}function Z(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var J=n(52),Q=n.n(J);function ee(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function te(){var e=document.querySelector(".stratis-menu");if(null!==e){var t=document.querySelector(".stratis-menu-trigger"),n=e.querySelector(".stratis-menu__list"),i=[].slice.call(n.querySelectorAll(".stratis-menu__toggle")),r=document.querySelector(".a11y-report"),o=n.querySelector(".stratis-menu__toggle-report"),a=function(e){var t=e.target,n="button"===t.tagName.toLowerCase()?t.parentElement:t.parentElement.parentElement;u.t(n,"-is-active")?function(e){for(var t=e.target,n="button"===t.tagName.toLowerCase()?t:t.parentElement,i=("button"===t.tagName.toLowerCase()?t.parentElement:t.parentElement.parentElement).querySelector(".stratis-menu__submenu"),r="button"===t.tagName.toLowerCase()?t.parentElement.parentElement.querySelectorAll(".stratis-menu__item"):t.parentElement.parentElement.parentElement.querySelectorAll(".stratis-menu__item"),o=0;o<r.length;o++)u.D(r[o],"-is-active");u.F(n,i,"closed")}(e):function(e){for(var t=e.target,n="button"===t.tagName.toLowerCase()?t.parentElement:t.parentElement.parentElement,i="button"===t.tagName.toLowerCase()?t:t.parentElement,r=n.querySelector(".stratis-menu__submenu"),o="button"===t.tagName.toLowerCase()?t.parentElement.parentElement.querySelectorAll(".stratis-menu__item"):t.parentElement.parentElement.parentElement.querySelectorAll(".stratis-menu__item"),a=0;a<o.length;a++)u.D(o[a],"-is-active");u.a(n,"-is-active"),u.F(i,r,"opened")}(e)};t.addEventListener("click",(function(){u.t(e,"-is-visible")?u.D(e,"-is-visible"):u.a(e,"-is-visible");r&&u.t(r,"-is-visible")&&u.D(r,"-is-visible")}
2)),i.forEach((function(e){var t=e.parentElement.querySelector(".stratis-menu__submenu");u.u(e,t),e.addEventListener("click",(function(e){a(e)}))})),o&&o.addEventListener("click",(function(){if(r)u.t(r,"-is-visible")?u.D(r,"-is-visible"):u.a(r,"-is-visible")})),document.addEventListener("click",(function(t){var i=e.contains(t.target),r=n.querySelector(".stratis-menu__item.-is-active .stratis-menu__toggle");i||null===r||r.click()}))}}var ne=n(272),ie=n.n(ne);n(268),n(269);function re(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function oe(e){var t=e.querySelector("[data-chart-data]"),n={};if(null!==t){var i=re(t.querySelectorAll(".chart-data__item")),r=[],o=[],a=[];return i.forEach((function(e){var t=getComputedStyle(e.querySelector(".chart-data__colorbox"));o.push(t.backgroundColor),r.push(e.textContent),a.push(Number(e.dataset.value))})),n.labels=r,n.backgroundColors=o,n.values=a,n}}
2function ae(e){re(document.querySelectorAll(e)).forEach((function(e){var t=e.dataset.chartId,n=e.querySelector("canvas");if(n){var i=n.getContext("2d"),r=oe(e),o=new ie.a(i,{type:"doughnut",data:{labels:r.labels,datasets:[{data:r.values,backgroundColor:r.backgroundColors,borderWidth:0}]},options:{responsive:!0,maintainAspectRatio:!1,legend:!1,cutoutPercentage:63,tooltips:{enabled:!1,custom:function(e){var t=document.getElementById("js-chart-tooltip");if(t||((t=document.createElement("div")).id="js-chart-tooltip",document.body.appendChild(t)),0!==e.opacity){if(t.classList.remove("above","below","no-transform"),e.yAlign?t.classList.add(e.yAlign):t.classList.add("no-transform"),e.body){var n=e.body.map((function(e){return e.lines})),i="";n.forEach((function(t,n){var r=e.labelColors[n];i+='<span class="chart-tooltip"><span style="background-color: '.concat(r.backgroundColor,'"></span>').concat(t,"</span>")})),t&&(t.innerHTML=i)}var r=o.canvas.getBoundingClientRect();t.style.opacity="1",t.style.position="absolute",t.style.left="".concat(r.left+window.pageXOffset+e.caretX,"px"),t.style.top="".concat(r.top+window.pageYOffset+e.caretY,"px"),t.style.pointerEvents="none",t.style.zIndex="100",t.style.transition="500ms"}else t.style.opacity="0"}}}});t&&function(e,t){var n=document.querySelector('[data-chart-form-id="'.concat(e,'"]')),i=document.querySelector('[data-chart-id="'.concat(e,'"]')),r=null;null!==n&&(i&&(r=u.i(i,"interests-block__results")),n.addEventListener("submit",(function(e){var i=n.dataset.url;if(i){e.preventDefault();var o=u.E(n);fetch("".concat(i,"?").concat(o),{method:"GET"}).then((function(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText);throw t.response=e,t})).then((function(e){return e.text()})).then((function(e){if(r){var i=r.querySelector(".interests-results__chart-data");if(u.t(r,"-is-hidden")){u.D(r,"-is-hidden");var o=u.i(n,"interests-block__vote");o&&u.a(o,"-is-hidden")}i.innerHTML=e;var a=oe(r);t.data={labels:a.labels,datasets:[{data:a.values,backgroundColor:a.backgroundColors,borderWidth:0}]},t.update()}}))}})))}(t,o)}}))}function se(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function le(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".tabs",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"tabs",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t,this.prefix=i,this.id=null,this.insideDropdown=r,this.options={class:{initialized:"-is-initialized",trigger:"".concat(this.prefix,"__trigger"),panel:"".concat(this.prefix,"__panel"),list:"".concat(this.prefix,"__list"),listItem:"".concat(this.prefix,"__list-item"),typeAccordion:"-type-accordion",typeTab:"-type-tabs",stateActive:"-current",stateHidden:"ghost"},onlyState:null,titleSelector:"h2",initIndex:0,eq:0,breakpoint:768,slideDuration:300,beforeInit:function(){},afterInit:function(){},onInit:function(){},preCreateTrigger:function(e){var t=e.children,n=null;return t.length&&t[0]instanceof HTMLElement&&"BUTTON"===t[0].nodeName?n=t[0]:(n=document.createElement("button")).innerHTML=e.innerHTML,n}},n instanceof Object&&(this.options=u.h(this.options,n)),this.checkBeforeInit()}var t,n,i;return t=e,i=[{key:"onTogglerClick",value:function(e){var t=e.target;t.id.replace("labled-","")!==this.selector.dataset.current&&this.switchTab(t)}},{key:"onTogglerKeyDown",value:function(e,t){var n=document.getElementById("labled-".concat(this.selector.dataset.current)),i=t.indexOf(n),r=t[0],o=t[t.length-1];36===e.keyCode?(n!==r&&this.switchTab(r),e.preventDefault()):35===e.ke
2yCode?(n!==o&&this.switchTab(o),e.preventDefault()):37!==e.keyCode||e.ctrlKey?39!==e.keyCode||e.ctrlKey||(n===o?this.switchTab(r):this.switchTab(t[i+1]),e.preventDefault()):(n===r?this.switchTab(o):this.switchTab(t[i-1]),e.preventDefault())}}],(n=[{key:"checkBeforeInit",value:function(){if("string"==typeof this.selector)for(var t=document.querySelectorAll(this.selector),n=0;n<t.length;n++)new e(t[n],this.options);else this.selector&&(u.i(this.selector,"click-roll")&&!this.insideDropdown||this.init())}},{key:"init",value:function(){this.options.beforeInit(this.selector),this.options.onInit(this.selector),this.id=u.s(),this.selector.setAttribute("data-tab-id",this.id),this.create(this.isTabs()),u.a(this.selector,this.options.class.initialized),this.initEvents(),this.options.afterInit(this.selector)}},{key:"getState",value:function(){return this.options.onlyState?this.options.onlyState:window.innerWidth<this.options.breakpoint?"accordion":"tabs"}},{key:"isTabs",value:function(){return"tabs"===this.getState()}},{key:"create",value:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.eq;u.a(this.selector,this.options.class[e?"typeTab":"typeAccordion"]);var r=se(this.selector.querySelectorAll(this.options.titleSelector));if(r=r.filter((function(e){return e.parentElement.parentElement.getAttribute("data-tab-id")===n.id})),e?t='<ul class="'.concat(this.options.class.list,'" role="tablist">'):u.G(this.selector,{role:"tablist"}),r.forEach((function(r,o){var a=r.parentNode,s=a.dataset.id||u.s(),l=s===i||o===parseInt(i,10),c=n.createTrigger(s,r,e);u.a(r,n.options.class.stateHidden),u.G(a,{"data-id":s,id:"control-".concat(s),"aria-labelledby":"labled-".concat(s),role:"tabpanel","aria-hidden":!0}),e||a.slideToggler||(a.slideToggler=new _(a)),l&&(n.activateTrigger(c,e),n.activatePanel(a,e),u.G(n.selector,{"data-current":s})),e?t+='<li class="'.concat(n.options.class.listItem,'" role="presentation">').concat(c.outerHTML,"</li>"):a.parentNode.insertBefore(c,a),se(document.querySelectorAll(".social-wall .tabs__title.ghost button")).forEach((function(e){e.parentElement.removeChild(e)})),a.style.display="none"})),e&&(t+="</ul>",this.selector.children.length)){var o=document.createElement("div");o.innerHTML=t;var a=o.querySelector(".".concat(this.options.class.list));this.selector.insertBefore(a,this.selector.children[0])}}},{key:"createTrigger",value:function(e,t,n){var i=this.options.preCreateTrigger(t);return u.G(i,{id:"labled-".concat(e),"aria-controls":"control-".concat(e),type:"button",role:"tab","aria-selected":!1}),u.a(i,this.options.class.trigger),n||u.G(i,{"aria-expanded":!1}),i}},{key:"activatePanel",value:function(e,t){!t&&e.slideToggler&&e.slideToggler.open(),u.a(e,this.options.class.stateActive),u.C(e,["aria-hidden"])}},{key:"deactivatePanel",value:function(e,t){!t&&e.slideToggler&&e.slideToggler.close(),u.D(e,this.options.class.stateActive),u.G(e,{"aria-hidden":!0})}},{key:"activateTrigger",value:function(e,t){e.focus(),u.a(e,this.options.class.stateActive),u.G(e,{"aria-selected":!0}),t||u.G(e,{"aria-expanded":!0})}},{key:"deactivateTrigger",value:function(e,t){u.D(e,this.options.class.stateActive),u.G(e,{"aria-selected":!1}),t||u.G(e,{"aria-expanded":!1})}},{key:"switchTab",value:function(e){var t=this.isTabs(),n=this.selector.dataset.current;this.selector.dataset.current=e.id.replace("labled-",""),this.deactivateTrigger(document.getElementById("labled-".concat(n)),t),this.deactivatePanel(document.getElementById("control-".concat(n)),t),this.activateTrigger(e,t),this.activatePanel(document.getElementById(e.getAttribute("aria-controls")),t)}},{key:"destroy",value:function(){var t=this;u.C(this.selector,["role"]),u.D(this.selector,this.options.class.typeAccordion),u.D(this.selector,this.options.class.typeTab);var n=this.selector.querySelector(".".concat(this.options.class.list));n&&this.selector.removeChild(n);var i=Array.prototype.slice.call(this.selector.childNodes);(i=i.filter((function(e){return"#text"!==e.nodeName}))).forEach((function(n){if("BUTTON"===n.nodeName)n.removeEventListener("click",e.onTogglerClick.bind(t)),n.parentNode.removeChild(n);
2else{u.C(n,["id","aria-labelledby","role","aria-hidden","style"]),u.D(n,t.options.class.stateActive);var i=n.querySelector(t.options.titleSelector);i&&u.D(i,t.options.class.stateHidden)}}))}},{key:"initEvents",value:function(){var e=this;this.initEventsTriggers(),window.addEventListener("responsive",(function(){var t=e.isTabs();t!==u.t(e.selector,e.options.class.typeTab)&&(e.destroy(),e.create(t,e.selector.dataset.current),e.initEventsTriggers())}));var t=se(this.selector.querySelectorAll(".".concat(this.options.class.panel)));t&&t.forEach((function(e){var t=e.querySelector(".js-collapse"),n=e.querySelector(".js-expand"),i=function(e){se(t.parentElement.parentElement.querySelectorAll(".click-roll.-is-initialized")).forEach((function(t){if("open"===e&&!u.t(t.firstElementChild,"-is-open")){var n=t.getAttribute("data-dropdown-id");Object.values(window.dropdownList).forEach((function(e){e.selector.dataset.dropdownId===n&&e.open()}))}if("close"===e&&u.t(t.firstElementChild,"-is-open")){var i=t.getAttribute("data-dropdown-id");Object.values(window.dropdownList).forEach((function(e){e.selector.dataset.dropdownId===i&&e.close()}))}}))};t&&t.addEventListener("click",(function(){i("close"),t.focus()})),n&&n.addEventListener("click",(function(){i("open"),n.focus()}))}))}},{key:"initEventsTriggers",value:function(){var t=this,n=Array.prototype.slice.call(this.selector.querySelectorAll(".".concat(this.options.class.trigger)));n.forEach((function(i){i.addEventListener("click",e.onTogglerClick.bind(t)),i.addEventListener("keydown",(function(i){return e.onTogglerKeyDown.call(t,i,n)}))}))}}])&&le(t.prototype,n),i&&le(t,i),e}(),ce=function(e,t){-1===e.indexOf(t)&&e.push(t)},de=function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)},he=function(e){return[].slice.call(e.parentElement.lastElementChild.querySelectorAll('input[type="checkbox"]'))},fe=function e(t,n){var i=function(e){var t=u.i(e,"checkbox-group");return null!==t?t.querySelector('input[type="checkbox"]'):t}(t);if(null!==i){var r=function(e){return e.parentElement.querySelectorAll('input[type="checkbox"]').length}(i),o=function(e){var t=1;return e.forEach((function(e){t=e.checked?t+1:t})),t}(he(i));i.checked=o===r,i.checked?ce(n,i.value):de(n,i.value),e(i.parentElement.parentElement,n)}},pe=function(e,t){e.checked?(ce(t,e.value),he(e).length&&he(e).forEach((function(e){e.checked=!0,ce(t,e.value)}))):(de(t,e.value),he(e).length&&he(e).forEach((function(e){e.checked=!1,de(t,e.value)}))),fe(e,t)};function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(){var e=new Q.a(".js-swiper",{init:!1,simulateTouch:!1,watchOverflow:!0,loop:!1,autoplay:!1,speed:500,a11y:{enabled:!1},pagination:{type:"bullets",bulletElement:"li",clickable:!0,bulletClass:"swiper-pagination__bullet",bulletActiveClass:"-is-active",renderBullet:function(e,t){return'\n <li class="'.concat(t,'" role="presentation">\n <button class="swiper-pagination__bullet-btn" role="tab" aria-selected="false">\n <span class="ghost">').concat(e+1,"</span>\n </button>\n </li>\n ")}},on:{init:function(){}}}),t=function(e,t){for(var n=e.el.parentNode.querySelectorAll(".js-swiper-control"),i=0;i<n.length;i++)t?u.a(n[i],"-is-hidden"):u.D(n[i],"-is-hidden")},n=function(e){if(e&&e.el&&e.el.parentNode)for(var t=e.el.parentNode.querySelectorAll(".js-swiper-control"),n=0;n<t.length;n++)u.t(t[n],"swiper-button-disabled")?t[n].setAttribute("disabled","disabled"):t[n].removeAttribute("disabled")},i=function(e){var t=e.el.parentNode.querySelector(".swiper-pagination"),n=t.querySelectorAll(".swiper-pagination__bullet .swiper-pagination__bullet-btn"),i=t.querySelector(".swiper-pagination__bullet.-is-active .swiper-pagination__bullet-btn");if(null!==n){for(var r=0;r<n.length;r++)n[r].setAttribute("aria-selected",!1),n[r].setAttribute("tabindex",-1);null!==i&&(i.setAttribute("aria-selected",!0),i.setAttribute("tabindex",0))}},r=function(e){e.addEventListener("keydown",(function(e){var t=e.target.parentNode,n=t.parentNode.firstElementChild,i=t.parentNode.lastElementChild;
2e.ctrlKey||e.shiftKey||9===e.keyCode||(37===e.keyCode||38===e.keyCode?t===n?(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)):(t.previousElementSibling.click(),setTimeout((function(){t.previousElementSibling.querySelector("button").focus()}),0)):39===e.keyCode||40===e.keyCode?t===i?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):(t.nextElementSibling.click(),setTimeout((function(){t.nextElementSibling.querySelector("button").focus()}),0)):36===e.keyCode?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):35===e.keyCode&&(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)),e.preventDefault())}))},o=function(e){setTimeout((function(){var t=e.el.parentElement.querySelectorAll(".js-swiper-control"),n=e.el.querySelector("img"),i=!1,r=function(){for(var e=n.height/2,i=0;i<t.length;i++)t[i].style.top="".concat(e,"px"),t[i].style.transform="translateY(-50%)"};t&&n&&(n.addEventListener("load",(function(){i=!0,r()})),i&&r())}),250)},a=function(e){var t,n,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){ve(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.el.dataset),s={};for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l))if("autoplay"===l&&("false"===a[l]?e.params.autoplay=!1:(e.params.autoplay.enabled=!0,e.params.autoplay.delay=isNaN(Number(a[l]))?0:Number(a[l]))),"loop"===l&&(e.params.loop="false"!==a[l]),"items"===l&&(t=a[l].split(", ")),"centerControl"===l&&o(e),"slideByOne"===l&&(n=!0===a[l]),"pagination"===l&&function(){var t=void 0;null!==(t="outside"===a[l]?e.el.parentNode.querySelector(".swiper-pagination"):e.el.querySelector(".swiper-pagination"))&&(e.params.pagination.el=t,e.pagination.render(),setTimeout((function(){var n=[].slice.call(t.querySelectorAll(".swiper-pagination__bullet"));i(e),n.forEach((function(e){return r(e)}))}),100))}(),void 0===t)s[4e3]={slidesPerView:1,slidesPerGroup:1};else switch(t.length){case 1:s[4e3]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;case 2:s[1279]={slidesPerView:t[1],slidesPerGroup:void 0===n?t[1]:1},s[4e3]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;case 3:s[767]={slidesPerView:t[2],slidesPerGroup:void 0===n?t[2]:1},s[1279]={slidesPerView:t[1],slidesPerGroup:void 0===n?t[1]:1},s[4e3]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;default:s[4e3]={slidesPerView:1,slidesPerGroup:1}}return s},s=function(e,t){var n=e.el.querySelectorAll(".swiper-slide"),i=e.params.breakpoints,r=window.innerWidth,o=e.params.loop,a=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="'.concat(t,'"]')),s=!0;for(var l in null===a&&o&&(a=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="0"]')),i)if(r<=Number(l)&&n.length>i[l].slidesPerView&&s){s=!1;for(var c=0;c<n.length;c++)n[c].setAttribute("aria-hidden",!0),u.J(n[c],-1);for(var d=i[l].slidesPerView,h=0;h<d;h++)if(o){var f=[].slice.call(n),p=f.indexOf(a);a.setAttribute("aria-hidden",!1),f[p+h].setAttribute("aria-hidden",!1),u.J(a,0),u.J(f[p+h],0)}else n[t].setAttribute("aria-hidden",!1),n[t+h].setAttribute("aria-hidden",!1),u.J(n[t],0),u.J(n[t+h],0)}},l=function(e,t){var n=e.el.parentNode.querySelector(".swiper-actions"),i=n.querySelector(".js-swiper-play"),r=n.querySelector(".js-swiper-pause");i.setAttribute("aria-hidden",!0),r.setAttribute("aria-hidden",!0),u.D(r,"-is-active"),u.D(i,"-is-active"),t?(r.setAttribute("aria-hidden",!1),u.a(r,"-is-active")):(i.setAttribute("aria-hidden",!1),u.a(i,"-is-active"))},c=function(e,i){var r=window.innerWidth,o=e.el.querySelectorAll(".swiper-slide").length;for(var a in t(e,!0),u.t(e.el,"swiper-container-horizontal")||e.init(),i)r<=Number(a)&&o>i[a].slidesPerView&&(t(e,!1),n(e))};[].concat(e||[]).filter((function(e){return!!e.el})).forEach((function(e){var t,i,r;e.params.breakpoints=a(e),"true"===(t=e).el.dataset.outsideNavigation?(i=t.el.parentNode.querySelector("button.-next"),r=t.el.parentNode.querySelector("button.-prev")):(i=t.el.querySelector("button.-next"),r=t.el.querySelector("button.-prev")),t.params.navigation.nextEl=i,t.params.navigation.prevEl=r,function(e){for(var t,n=e.el,i=0;i<n.children.length;i++)u.t(n.children[i],"swiper-wrapper")&&(t=n.children[i]);var r=t.children,o=n.parentNode.querySelectorAll("button.-prev, button.-next");u.a(n,"swiper-container");for(var a=0;a<r.length;a++)u.a(r[a],"swiper-slide");for(var s=0;s<o.length;s++)u.a(o[s],"js-swiper-control")}(e),c(e,a(e)),s(e,e.realIndex),n(e),window.addEventListener("resize",(function(){s(e,e.realIndex),c(e,a(e))}))}));for(var d=document.querySelectorAll(".js-swiper"),h=function(e){var t=d[e].swiper,i=t.el.parentNode.querySelector(".js-swiper-play"),r=t.el.parentNode.querySelector(".js-swiper-pause"),o=t.autoplay.running;t.on("slideChange",(function(){n(t)})),t.on("slideChangeTransitionEnd",(function(){s(t,t.realIndex),r&&!t.auto
2play.running&&u.t(r,"-is-active")&&t.autoplay.start()})),null!==i&&null!==r&&(l(t,o),i.addEventListener("click",(function(){t.autoplay.start(),o=t.autoplay.running,l(t,o)})),r.addEventListener("click",(function(){t.autoplay.stop(),o=t.autoplay.running,l(t,o)})))},f=0;f<d.length;f++)h(f)}function be(){var e=new Q.a(".js-swiper-primary",{init:!1,speed:500,loop:!1,watchOverflow:!0,effect:"fade",simulateTouch:!1,autoplay:{delay:4e3},a11y:{enabled:!1},pagination:{el:".swiper-pagination",type:"bullets",bulletElement:"li",clickable:!0,bulletClass:"swiper-pagination__bullet",bulletActiveClass:"-is-active",renderBullet:function(e,t){return'\n <li class="'.concat(t,'" role="presentation">\n <button class="swiper-pagination__bullet-btn" role="tab" aria-selected="false">\n <span class="ghost">').concat(e+1,"</span>\n </button>\n </li>\n ")}}}),t=function(e,t){for(var n=e.el.parentNode.querySelectorAll(".js-swiper-control"),i=0;i<n.length;i++)t?u.a(n[i],"-is-hidden"):u.D(n[i],"-is-hidden")},n=function(e){for(var t=e.el.parentNode.querySelectorAll(".js-swiper-control"),n=0;n<t.length;n++)u.t(t[n],"swiper-button-disabled")?t[n].setAttribute("disabled","disabled"):t[n].removeAttribute("disabled")},i=function(e,t){var n=e.el.querySelectorAll(".swiper-slide"),i=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="'.concat(t,'"]'));null===i&&(i=e.el.querySelector(".swiper-slide-active"));for(var r=0;r<n.length;r++)n[r].setAttribute("aria-hidden",!0),u.J(n[r],-1);i.setAttribute("aria-hidden",!1),u.J(i,0)},r=function(e){var t=e.el.querySelector(".swiper-pagination");if(t){for(var n=t.querySelectorAll(".swiper-pagination__bullet .swiper-pagination__bullet-btn"),i=t.querySelector(".swiper-pagination__bullet.-is-active .swiper-pagination__bullet-btn"),r=0;r<n.length;r++)n[r].setAttribute("aria-selected",!1),n[r].setAttribute("tabindex",-1);i.setAttribute("aria-selected",!0),i.setAttribute("tabindex",0)}},o=function(e){e.addEventListener("keydown",(function(e){var t=e.target.parentNode,n=t.parentNode.firstElementChild,i=t.parentNode.lastElementChild;e.ctrlKey||e.shiftKey||9===e.keyCode||(37===e.keyCode||38===e.keyCode?t===n?(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)):(t.previousElementSibling.click(),setTimeout((function(){t.previousElementSibling.querySelector("button").focus()}),0)):39===e.keyCode||40===e.keyCode?t===i?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):(t.nextElementSibling.click(),setTimeout((function(){t.nextElementSibling.querySelector("button").focus()}),0)):36===e.keyCode?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):35===e.keyCode&&(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)),e.preventDefault())}))},a=function(e,t){var n=e.el.querySelector(".swiper-actions"),i=n.querySelector(".js-swiper-play"),r=n.querySelector(".js-swiper-pause"),o=e.el.querySelectorAll(".swiper-slide"),a=e.el.querySelector(".hero-item video");o.length>1||null!==a?(i.setAttribute("aria-hidden",!0),r.setAttribute("aria-hidden",!0),u.D(r,"-is-active"),u.D(i,"-is-active"),t?(r.setAttribute("aria-hidden",!1),u.a(r,"-is-active"),r.addEventListener("click",(function(){setTimeout((function(){i.focus()}),0)})),r.addEventListener("keydown",(function(e){13===e.keyCode&&setTimeout((function(){i.focus()}),0)}))):(i.setAttribute("aria-hidden",!1),u.a(i,"-is-active"),i.addEventListener("click",(function(){setTimeout((function(){r.focus()}),0)})),i.addEventListener("keydown",(function(e){13===e.keyCode&&setTimeout((function(){r.focus()}),0)})))):n.style.display="none"},s=function(e,t){var n=t.querySelector(".swiper-pagination"),i=t.querySelectorAll(".js-swiper-control"),r=t.querySelector(".swiper-actions"),o=t.querySelector(".swiper-slide-active img").height,a=o/2;if(window.innerWidth<=e){for(var s=0;s<i.length;s++)i[s].style.top="".concat(a,"px");n.style.bottom="auto",r.style.bottom="auto",n.style.top="".concat(o-17,"px"),r.style.top="".concat(o-26,"px")}else{for(var l=0;l<i.length;l++)i[l].removeAttribute("style");n.removeAttribute("style"),r.removeAttribute("style")}};[].concat(e||[]).filter((function(e){return!!e.el}
2)).forEach((function(e){var a,l,c;"true"===(a=e).el.dataset.outsideNavigation?(l=a.el.parentNode.querySelector("button.-next"),c=a.el.parentNode.querySelector("button.-prev")):(l=a.el.querySelector("button.-next"),c=a.el.querySelector("button.-prev")),a.params.navigation.nextEl=l,a.params.navigation.prevEl=c,function(e){for(var t,n=e.el,i=0;i<n.children.length;i++)u.t(n.children[i],"swiper-wrapper")&&(t=n.children[i]);if(t){var r=t.children,o=n.parentNode.querySelectorAll("button.-prev, button.-next");u.a(n,"swiper-container");for(var a=0;a<r.length;a++)u.a(r[a],"swiper-slide");for(var s=0;s<o.length;s++)u.a(o[s],"js-swiper-control")}}(e),e.on("init",(function(){n(e),r(e),i(e,e.realIndex),function(e){for(var t,n,i,r,a,s=e.el.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)"),l=e.el.querySelector(".swiper-pagination").querySelectorAll(".swiper-pagination__bullet"),c=0;c<l.length;c++)t=l[c],n=s[c],i=void 0,r=void 0,a=void 0,i=t.querySelector(".swiper-pagination__bullet-btn"),r=u.s(),null!==(a=n.querySelector(".js-swiper-bullet-text"))&&(i.querySelector(".ghost").innerHTML=a.innerHTML),i.id="label-swiper-content-id-".concat(r),i.setAttribute("aria-controls","swiper-content-id-".concat(r)),n.id=i.getAttribute("aria-controls"),n.setAttribute("aria-labelledby",i.id),o(l[c])}(e),function(e){var t=e.el.dataset;for(var n in t)"controlsPosition"===n&&"hero"===t[n]&&(s(767,e.el),window.addEventListener("resize",(function(){s(767,e.el)})))}(e)})),function(e){var n=e.el.querySelectorAll(".swiper-slide").length;t(e,!0),n>e.params.slidesPerView&&(t(e,!1),e.init())}(e)}));for(var l=document.querySelectorAll(".hero.js-swiper-primary"),c=function(e){var t=l[e].swiper,o=t.el.querySelector(".js-swiper-play"),s=t.el.querySelector(".js-swiper-pause"),c=t.el.querySelector(".hero-item video"),d=!0,h=t.autoplay.running;t.on("slideChange",(function(){r(t),n(t)})),t.on("slideChangeTransitionEnd",(function(){i(t,t.realIndex),s&&!t.autoplay.running&&u.t(s,"-is-active")&&t.autoplay.start()})),a(t,h),null!==c&&(a(t,d),c.play(),c.addEventListener("ended",(function(){c.play()}))),o.addEventListener("click",(function(){null===c?(t.autoplay.start(),h=t.autoplay.running,a(t,h)):(c.play(),a(t,d=!0))})),s.addEventListener("click",(function(){null===c?(t.autoplay.stop(),h=t.autoplay.running,a(t,h)):(c.pause(),a(t,d=!1))}))},d=0;d<l.length;d++)c(d)}var ye=function(e){return[].slice.call(e.parentElement.querySelectorAll('input[type="checkbox"]:not([id='.concat(e.id,"])")))},we=function(e){var t=function(e){for(var t=[],n=e.parentElement.parentElement;!u.t(n,"checkbox");)t.push(n.querySelector('input[type="checkbox"]')),n=n.parentElement;return t}(e),n=function(e){return ye(e).length>0}(e)?ye(e):null;e.setAttribute("aria-checked",e.checked),null!==n&&n.forEach((function(t){t.checked=e.checked})),t.length&&t.forEach((function(e){!function(e,t){switch(t){case"checked":e.checked=!0,e.indeterminate=!1,e.setAttribute("aria-checked",!0);break;case"indeterminate":e.checked=!1,e.indeterminate=!0,e.setAttribute("aria-checked","mixed");break;default:e.indeterminate=!1,e.checked=!1,e.setAttribute("aria-checked",!1)}}(e,function(e){var t=ye(e),n=t.length,i=0,r="unchecked";return n>0?(t.forEach((function(e){i=e.checked?i+1:i})),i===n?r="checked":i>0&&i<n&&(r="indeterminate")):e.checked&&(r="checked"),r}(e))}))},xe=function(e){var t=e.querySelector(".multiselect__toggle"),n=e.getAttribute("data-relations"),i=document.getElementById(n);void 0!==n?null!==i?(i.value=function(e){return[].slice.call(e.querySelectorAll('input[type="checkbox"]:checked')).map((function(e){return e.value})).join(",")}(e),t.innerHTML=function(e){var t=[].slice.call(e.querySelectorAll('input[type="checkbox"]:checked + label')),n=e.getAttribute("data-placeholder")||"Toutes les categories",i=e.getAttribute("data-prefix")||"selected",r=e.getAttribute("data-suffix")||"categories",o=e.getAttribute("data-show-count")||!0,a=n;return t.length&&(a=o&&1===t.length?t[0].innerHTML:o&&t.length>1?"".concat(i," ").concat(t.length," ").concat(r):t.map((function(e){return e.innerHTML})).join(", ")),a}(e)):console.error("relation input missed, please add it"):console.error("data-relations attribute missed, please add it")};function _e(e,t){var n=[].slice.call(e),i=n.filter((function(e){return e.checked}));
2xe(t),i.forEach((function(e){return we(e)})),n.forEach((function(e){e.addEventListener("change",(function(){we(e),xe(t)}))}))}function Se(){var e=document.querySelectorAll(".multiselect");if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];_e(n.querySelectorAll('input[type="checkbox"]'),n)}}function Ee(){if(null!==document.querySelectorAll(".multiselect"))new C(".multiselect:not(.-group)",{wrapperClass:"multiselect",dropdownClass:"multiselect__dropdown",btnClass:"multiselect__toggle",onInit:Se}),new C(".multiselect.-group",{wrapperClass:"multiselect",dropdownClass:"multiselect__dropdown",btnClass:"multiselect__toggle",closeOnOutsideClick:!1,focusTrap:!1,onInit:Se})}function ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ce=function(e){if(e.value.length>0){var t=e.value.split("-"),n=document.getElementById("date-day"),i=document.getElementById("date-month"),r=document.getElementById("date-year");n.value=t[2],i.value=t[1],r.value=t[0]}},Te=function(e){var t=e.parentNode.querySelector("select");if(t){var n=t.querySelector('option[value="'.concat(t.value,'"]'));if(n){var i=n.parentNode;i&&"OPTGROUP"===i.nodeName&&i.hasAttribute("label")&&e.setAttribute("value",i.getAttribute("label"))}}},Me=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.querySelector('[name="'.concat(e,'"]'));i&&(!n&&"0"===i.value||""===i.value)&&i.removeAttribute("name")},Ae=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=[];"tx_news_pi1[search][subject]"===e&&(o=o.concat(["tx_news_pi1[__referrer][@request]","tx_news_pi1[__referrer][@extension]","tx_news_pi1[__referrer][@vendor]","tx_news_pi1[__referrer][@controller]","tx_news_pi1[__referrer][@action]","tx_news_pi1[__referrer][arguments]","tx_news_pi1[__trustedProperties]"])),"tx_news_pi1[overwriteDemand][datecomplete]"===e&&(o=o.concat(["tx_news_pi1[overwriteDemand][startFromThisDate]"])),"tx_stratismap_location[keyword]"===e&&(o=o.concat(["tx_stratismap_location[__referrer][@extension]","tx_stratismap_location[__referrer][@vendor]","tx_stratismap_location[__referrer][@controller]","tx_stratismap_location[__referrer][@action]","tx_stratismap_location[__referrer][arguments]","tx_stratismap_location[__referrer][@request]","tx_stratismap_location[__trustedProperties]"])),Me.apply(void 0,[e,t].concat(i)),o.forEach((function(e){Me.apply(void 0,[e,t].concat(i))}))},Oe=function(e){var t=e.target.form,n=!Object(u.t)(t,"js-disable-submit-handler");t&&(n&&(t.querySelector('[type="submit"]').removeAttribute("disabled"),t.querySelector(".required").remove()),Le(t,!1))},Pe=function(e,t){e.addEventListener(t,Oe)},Ie=function(e,t){e.removeEventListener(t,Oe)},Le=function(e,t){var n=[].concat(ke(e.querySelectorAll("input")),ke(e.querySelectorAll("textarea")),ke(e.querySelectorAll("select"))),i=[].concat(ke(e.querySelectorAll("radio")),ke(e.querySelectorAll("checkbox")));n.forEach((function(e){t?Pe(e,"input"):Ie(e,"input")})),i.forEach((function(e){t?Pe(e,"click"):Ie(e,"click")}))};function De(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function je(){var e=document.querySelector(".location");if(e){var t=e.querySelector(".location__map"),n=Array.prototype.slice.call(e.querySelectorAll(".location__map-region")),i=Array.prototype.slice.call(e.querySelectorAll(".location__list-link")),r=e.querySelector(".tooltip-map"),o=function(e){var n,i=(n="focus"===e.type?function(e,t){var n=e.getBoundingClientRect(),i=t.target.getBoundingClientRect();return{top:i.top-n.top+(i.bottom-i.top)/2,left:i.left-n.left+(i.right-i.left)/2}}(t,e):function(e,t){var n=e.getBoundingClientRect();return{top:t.pageY-(n.top+(window.scrollY||window.pageYOffset)),left:t.pageX-(n.left+(window.scrollX||window.pageXOffset))}}(t,e)).left,o=n.top;r.style.top="".concat(Math.floor(o)-40,"px"),r.style.left="".concat(Math.floor(i),"px")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t||e.target;n&&(r.innerHTML=n.getAttribute("aria-label"),o(e))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return e.forEach((function(e){return e.removeAttribute("data-active")}))};
2n.forEach((function(t){t.addEventListener("mousemove",o),t.addEventListener("mouseenter",(function(t){var n=t.target.getAttribute("data-area-id");e.querySelector('.location__list-link[data-area-id="'.concat(n,'"]'));r.style.display="block",a(t)})),t.addEventListener("mouseleave",(function(){r.style.display="none",s(i)})),t.addEventListener("focus",(function(t){u.a(e,"focus"),r.style.display="block",a(t)})),t.addEventListener("blur",(function(){u.D(e,"focus"),r.style.display="none"}))})),i.forEach((function(t){["mouseenter","focus"].forEach((function(n){t.addEventListener(n,(function(t){var n=t.target.getAttribute("data-area-id");e.querySelector('.location__map-region[data-area-id="'.concat(n,'"]')).setAttribute("data-active",!0)}))})),["mouseleave","blur"].forEach((function(e){t.addEventListener(e,(function(e){r.style.display="none",s()}))}))}))}}function Ne(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Fe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Re=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-audio";if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t,"string"!=typeof this.selector&&(this.audioPlayer=t,this.progressBar=this.audioPlayer.querySelector(".audio-player__progress-bar"),this.volumeBar=this.audioPlayer.querySelector(".audio-player__volume-bar"),this.play=this.audioPlayer.querySelector(".js-audio-play"),this.pause=this.audioPlayer.querySelector(".js-audio-pause"),this.timeCurrent=this.audioPlayer.querySelector(".audio-player__time-current"),this.timeMax=this.audioPlayer.querySelector(".audio-player__time-max"),this.playlist=this.audioPlayer.querySelector(".audio-playlist"),this.playlistWrapper=this.audioPlayer.querySelector(".audio-playlist__wrapper"),this.playlistHidden=this.audioPlayer.querySelector(".audio-playlist__hidden"),this.listItem=Ne(this.audioPlayer.querySelectorAll(".audio-playlist__item")),this.styleElem=null,this.progressBar)){var n=u.s();this.progressBar.setAttribute("id",n)}this.song=null,this.checkBeforeInit(),this.$updateProgressBar=this.updateProgressBar.bind(this)}var t,n,i;return t=e,(n=[{key:"checkBeforeInit",value:function(){if("string"!=typeof this.selector){if(u.t(this.selector,"-is-initialized"))return;return null!==this.selector&&this.init()}if("string"==typeof this.selector){var t=document.querySelectorAll(this.selector);if(null===t)return;for(var n=0;n<t.length;n++)new e(t[n])}}},{key:"init",value:function(){var e=this;if(u.a(this.audioPlayer,"-is-initialized"),this.playlist)this.listItem.forEach((function(t,n){if(t.hasAttribute("data-song-url")){var i=t.getAttribute("data-song-url");0===n&&e.initSongEvents(i,!1,t),e.createItemControl(t,i)}}));else{var t=this.audioPlayer.getAttribute("data-current-song-url");this.initSongEvents(t,!1,null)}this.play&&this.play.addEventListener("click",(function(){e.switchControl(e.play,e.pause,"play"),e.playlist&&e.switchControlItemClass(e.playlist.querySelector(".-current"),"play",!1)})),this.pause&&this.pause.addEventListener("click",(function(){e.switchControl(e.play,e.pause,"pause"),e.playlist&&e.switchControlItemClass(e.playlist.querySelector(".-current"),"pause",!1)}));var n=function(){var t=e.volumeBar.value;e.volumeBar.setAttribute("value",t),e.song.volume=t/100,e.volumeBar.setAttribute("aria-valuetext","Volume ".concat(t||0,"%"))};this.progressBar&&this.progressBar.addEventListener("change",(function(t){var n;n=e.progressBar.value,e.progressBar.setAttribute("value",n),e.song.currentTime=e.song.duration/100*n})),this.volumeBar&&(this.volumeBar.addEventListener("change",(function(e){n()})),this.volumeBar.addEventListener("mousedown",(function(t){e.volumeBar.addEventListener("mousemove",(function(e){n()}))})))}},{key:"createItemControl",value:function(e,t){var n=this,i=document.createElement("div");u.a(i,"audio-playlist__controls");var r=document.createElement("button");r.innerHTML="Lecture",u.a(r,"audio-playlist__control-play"),u.a(r,"-is-active");var o=document.createElement("button");o.innerHTML="Pause",u.a(o,"audio-playlist__control-pause"),r.addEventListener("click",(function(){u.t(e,"-current")||n.initSongEvents(t,!0,e),n.switchControl(n.play,n.pause,"play",!1),n.switchControlItemClass(r,"play")})),o.addEventListener("click",(function(){n.switchControl(n.play,n.pause,"pause",!1),n.switchControlItemClass(o,"pause")})),i.insertAdjacentElement("beforeend",r),i.insertAdjacentElement("beforeend",o);var a=e.querySelector(".audio-playlist__content");a&&a.insertAdjacentElement("beforeend",i)}},{key:"switchControl",value:function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];"pause"===n?(u.a(e,"-is-active"),u.D(t,"-is-active"),i&&e.focus(),this.song.pause()):(u.D(e,"-is-active"),u.a(t,"-is-active"),i&&t.focu
2s(),this.song.play())}},{key:"switchControlItemClass",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e){var i=e.querySelector(".audio-playlist__control-play")||e.parentElement.querySelector(".audio-playlist__control-play"),r=e.querySelector(".audio-playlist__control-pause")||e.parentElement.querySelector(".audio-playlist__control-pause");"pause"===t?(u.a(i,"-is-active"),u.D(r,"-is-active"),n&&i.focus()):(u.D(i,"-is-active"),u.a(r,"-is-active"),n&&r.focus())}}},{key:"initSongEvents",value:function(e,t,n){var i=this;this.timeMax&&(this.timeMax.innerHTML="0:00"),this.song&&this.switchControl(this.play,this.pause,"pause",!1),this.song=new Audio("".concat(e)),this.audioPlayer.setAttribute("data-current-song-url",e),this.song.addEventListener("loadedmetadata",(function(){i.timeMax&&(i.timeMax.innerHTML=i.calculateTime(i.song.duration)),i.progressBar&&(i.styleElem=document.head.appendChild(document.createElement("style")),i.song.addEventListener("timeupdate",i.$updateProgressBar,!1)),t&&(i.switchControl(i.play,i.pause,"play",!1),i.switchControlItemClass(n,"play",!1))})),this.song.addEventListener("ended",(function(){i.switchControl(i.play,i.pause,"pause"),i.switchTrack()})),n&&(this.clearLastCurrent(),u.a(n,"-current"))}},{key:"clearLastCurrent",value:function(){var e=this.playlistWrapper.querySelector(".-current");if(e){var t=e.querySelector(".audio-playlist__control-play");u.a(t,"-is-active");var n=e.querySelector(".audio-playlist__control-pause");u.D(n,"-is-active"),u.D(e,"-current")}}},{key:"updateProgressBar",value:function(){var e=Math.floor(100/this.song.duration*this.song.currentTime);this.timeCurrent.innerHTML=this.calculateTime(this.song.currentTime),this.progressBar.setAttribute("value",e||0),this.progressBar.setAttribute("aria-valuenow",e||0),this.progressBar.setAttribute("aria-valuetext","".concat(this.calculateTime(this.song.currentTime),"/").concat(this.calculateTime(this.song.duration))),this.styleElem.innerHTML="#".concat(this.progressBar.getAttribute("id"),":before {width: ").concat(e,"%}")}},{key:"calculateTime",value:function(e){var t=Math.floor(e),n=t/3600^0,i=(t-3600*n)/60^0,r=Math.round(t-3600*n-60*i);return"".concat(i<10?"0".concat(i):i,":").concat(r<10?"0".concat(r):r)}},{key:"switchTrack",value:function(){if(this.playlist){var e=this.audioPlayer.getAttribute("data-current-song-url"),t=this.playlist.querySelector('[data-song-url="'.concat(e,'"')),n=t.nextElementSibling;if(n){var i=n.getAttribute("data-song-url");this.initSongEvents(i,!0,n)}else if(this.switchControlItemClass(t,"pause",!1),this.playlistHidden&&u.t(this.playlistWrapper,"-is-open")){var r=this.playlistHidden.firstElementChild;if(r){var o=r.getAttribute("data-song-url");this.initSongEvents(o,!0,r)}}}}}])&&Fe(t.prototype,n),i&&Fe(t,i),e}();function $e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Be=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.db||(window.db={})}var t,n,i;return t=e,i=[{key:"save",value:function(e,t){t.setProp("dbCollection",e),window.db[e]?window.db[e].push(t):window.db[e]=[t]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return window.db[t].find((function(t){return t._id===e}));for(var n=Object.keys(window.db),i=0;i<n.length;i++)return window.db[n[i]].find((function(t){return t._id===e}))}},{key:"delete",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=e.get(t,n);if(i){var r=i.getProp("dbCollection");window.db[r]=window.db[r].filter((function(e){return e._id!==i._id}))}}},{key:"clear",value:function(){window.db={}}}],(n=null)&&$e(t.prototype,n),i&&$e(t,i),e}(),He=(new Be,Be);function ze(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function qe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var We=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,i=[{key:"create",value:function(e,t,n){if("string"==typeof e){var i=ze(document.querySelectorAll(e));if(!i.length)return;return i.map((function(e){return new n(e,t)}))}}}],(n=null)&&qe(t.prototype,n),i&&qe(t,i),e}();function Ve(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ye(e){return(Ye="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})(e)}function Ge(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ze=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-fixed-element",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t){return!t||"object"!==Ye(t)&&"function"!=typeof t?Xe(e):t}(this,Ue(t).call(this,n))).options={addPlaceholderElement:!0,mode:"down",offset:0,stickDelay:300,classList:{onPlaceholderRender:"js-fixed-el-abs",onScroll:"js-fixed-el",onScrollUp:"js-fixed-el-up",onScrollUpHide:"js-fixed-el-up-hide",onScrollDown:"js-fixed-el-down"},onInit:function(e){},onScroll:function(e){},onStick:function(e){},onUnstick:function(e){},onResize:function(e){}},e._placeholder=null,e.lastScrollPosition=0,e.height=e.element.offsetHeight,e.fixPoint=window.pageYOffset+e.element.getBoundingClientRect().top,e._onScrollHandler=e._onScroll.bind(Xe(e)),e._onResizeHandler=e._onResize.bind(Xe(e)),i instanceof Object&&e.setOptions(i),e.init(
2),e}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(t,e),n=t,r=[{key:"create",value:function(e,n){return We.create(e,n,t)}}],(i=[{key:"_onScroll",value:function(){var e=this,t=window.pageYOffset,n=this.options,i=n.mode,r=n.classList,o=n.onScroll,a=n.onStick,s=n.onUnstick;if(t>this.fixPoint)switch(u.D(this.element,r.onPlaceholderRender),i){case"down":u.a(this.element,[r.onScroll,r.onScrollDown]),u.a(document.body,"-is-sticky"),a(this);break;case"offset":case"down-bottom":u.a(this.element,r.onScroll),setTimeout((function(){u.t(e.element,r.onScroll)&&u.a(e.element,r.onScrollDown),a(e)}),this.options.stickDelay);break;case"up":u.a(this.element,r.onScroll),t<this.lastScrollPosition?(u.D(this.element,r.onScrollUpHide),u.a(this.element,[r.onScroll,r.onScrollUp]),a(this)):(u.t(this.element,r.onScrollUp)&&u.a(this.element,r.onScrollUpHide),u.D(this.element,r.onScrollUp));break;default:u.a(this.element,r.onScroll)}else u.D(this.element,[r.onScroll,r.onScrollDown,r.onScrollUp]),u.a(this.element,r.onPlaceholderRender),u.D(document.body,"-is-sticky"),s(this);o(this),this.lastScrollPosition=t}},{key:"_onResize",value:function(){this.height=this.element.offsetHeight,this._placeholder&&("desktop"===window.responsive?this._placeholder.style.height=this.height:this._placeholder.style.height="0px"),this.options.onResize(this)}},{key:"_addHandlers",value:function(){window.addEventListener("scroll",this._onScrollHandler),window.addEventListener("resize",this._onResizeHandler)}},{key:"_removeHandlers",value:function(){window.removeEventListener("scroll",this._onScrollHandler),window.removeEventListener("resize",this._onResizeHandler)}},{key:"_addPlaceholderElement",value:function(){var e=document.createElement("div");"desktop"===window.responsive?e.style.height="".concat(this.height,"px"):e.style.height="0px";var t=document.querySelector(".top-of-content");t&&(e.style.backgroundColor=getComputedStyle(t).backgroundColor),u.w(e,this.element),this._placeholder=e,u.a(this.element,this.options.classList.onPlaceholderRender)}},{key:"init",value:function(){"offset"===this.options.mode?this.fixPoint=this.options.offset:"down-bottom"!==this.options.mode&&"up"!==this.options.mode||(this.fixPoint+=this.height+this.options.offset),this.options.addPlaceholderElement&&"absolute"!==this.getElementPosition()&&"fixed"!==this.getElementPosition()&&this._addPlaceholderElement(),this._addHandlers(),this.options.onInit(this)}},{key:"getElementPosition",value:function(){return getComputedStyle(this.element).position}},{key:"destroy",value:function(){this._removeHandlers(),this.placeholder&&this.placeholder.parentElement.removeChild(this.placeholder)}},{key:"update",value:function(){this.destroy(),this.init()}}])&&Ge(n.prototype,i),r&&Ge(n,r),t}(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this._id=Object(u.s)(),this._created=!1,this.options={},this.element.setAttribute("data-db-id",this._id),He.save(this.constructor.name,this)}var t,n,i;return t=e,(n=[{key:"setOptions",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.options=u.h.apply(void 0,[this.options].concat(t))}},{key:"setProp",value:function(e,t){this[e]=t}},{key:"getProp",value:function(e){return this[e]}},{key:"delete",value:function(){He.delete(this._id,this.constructor.name)}}])&&Ve(t.prototype,n),i&&Ve(t,i),e}());function Je(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Qe(){var e=document.querySelector(".figures__tabs-wrapper"),t=document.querySelector(".figures__slider");if(e&&t){var n=new Q.a(e,{init:!1,slidesPerView:"auto",speed:500,touchRatio:0,slideActiveClass:"swiper-first-slide",watchSlidesVisibility:!0,breakpoints:{1279:{slidesPerView:3},767:{slidesPerView:1}}}),i=new Q.a(t,{init:!1,speed:500,preloadImages:!0,simulateTouch:!1,lazy:!0,thumbs:{swiper:n},navigation:{nextEl:".figures__tabs-control.-next",prevEl:".figures__tabs-control.-prev"},watchOverflow:!0}),r=function(e){return Je(e.el.querySelectorAll(".swiper-slide"))},o=function(e){if(e){var t=e.el.querySelector(".swiper-slide-active"),n=r(e);
2n.length&&n.forEach((function(e){u.t(e,"swiper-slide-active")?u.J(t,0):u.J(e,-1)}))}},a=function(e){r(e).forEach((function(e){return u.D(e,["swiper-slide-active","swiper-slide-prev","swiper-slide-next"])}))},s=function(e,t){var n=r(e),i=e.activeIndex;n.forEach((function(e){u.t(e,"swiper-slide-active")&&(u.a(t.slides[i],"swiper-slide-active"),i>0&&u.a(t.slides[i-1],"swiper-slide-prev"),i!==n.length-1&&u.a(t.slides[i+1],"swiper-slide-next"))})),o(t)},l=function(t){var n=Je(e.querySelectorAll("[data-index]")),r=0;if("first"===t){var o=n[0];r=o.getAttribute("data-index")-1,y.a.element.focus(o.children[0])}else{var a=n[n.length-1];r=a.getAttribute("data-index")-1,y.a.element.focus(a.children[0])}i.slideTo(r)},c=function(e){var t=e.parentNode;t&&i.slideTo(+t.getAttribute("data-index")-1)},d=document.querySelector(".figures__tabs-list");if(d)y.a.when.key({context:e,left:function(e){!function(e,t){e.preventDefault();var n=u.p(e.target,t);n&&(y.a.element.focus(n),c(n))}(e,d)},right:function(e){!function(e,t){e.preventDefault();var n=u.o(e.target,t);n&&(y.a.element.focus(n),c(n))}(e,d)},end:function(e){e.preventDefault(),l("last")},home:function(e){e.preventDefault(),l("first")}});n.on("init",(function(){o(n)})),i.on("init",(function(){a(n),s(i,n),o(i)})),i.on("slideChangeTransitionStart",(function(){a(n)})),i.on("slideChangeTransitionEnd",(function(){o(i),s(i,n)})),n.init(),i.init();var h=u.r(),f="desktop"===h;window.addEventListener("resize",(function(){h!==window.responsive&&(setTimeout((function(){n.update(),i.update()}),250),h=window.responsive,f=!0),setTimeout((function(){"desktop"===window.responsive&&f&&(r(n).forEach((function(e){return e.removeAttribute("style")})),setTimeout((function(){n.update(),i.update()}),250),f=!1)}),350)}))}}function et(e){return e.split("").map((function(e,t){var n="ÃÃÃÃÃÃ
à áâãäåÃÃÃÃÃÃÃÃòóôõöøÃÃÃÃèéêëðÃçÃÃÃÃÃìÃîïÃÃÃÃùúûüÃñŠšŸÿýŽž".indexOf(e);return-1!==n?"AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"[n]:e})).join("")}function tt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function nt(){var e=document.querySelector(".same-category:not(.-is-initialized):not(.-extranet)");if(e){var t=e.querySelector(".same-category__list.-lvl-1");if(t){e.classList.add("-is-initialized");tt(document.querySelectorAll(".widget-title")).forEach((function(e){!function(e,t){if(e&&t){var n=u.s(),i=e.textContent,r=document.createElement("li"),o=document.createElement("a");e.setAttribute("id","f".concat(n)),u.a(r,"same-category__list-item"),o.setAttribute("href","#f".concat(n)),o.innerHTML=i,u.a(o,"same-category__list-link"),"h2"===e.tagName.toLowerCase()?u.a(o,"-h2"):"h3"===e.tagName.toLowerCase()&&u.a(o,"-h3"),r.appendChild(o),t.insertAdjacentElement("beforeEnd",r)}}(e.querySelector("h2, h3"),t)})),function(){for(var e=t.querySelectorAll('[href^="#"]'),n=.175,i=function(t){e[t].addEventListener("click",(function(i){var r=document.querySelector(".header-bar"),o=0;r&&(o=u.A(r));var a=window.pageYOffset,s=e[t].getAttribute("href"),l=document.querySelector(s),c=l.getBoundingClientRect().top-o,d=null;l.setAttribute("tabindex","-1"),l.focus(),requestAnimationFrame((function e(t){null===d&&(d=t);var i=t-d,r=c<0?Math.max(a-i/n,a+c):Math.min(a+i/n,a+c);window.scrollTo(0,r),r!==a+c&&requestAnimationFrame(e)}))}),!1)},r=0;r<e.length;r++)i(r)}()}}}p.a.regExpEscape=function(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},p.a.fn.extend({accessibleCombobox:function(e){e=p.a.extend({comboboxPrefixClass:"combobox",comboboxHelpText:"Use tabulation (or down) key to access and browse suggestions after input. Confirm your choice with enter key, or esc key to close suggestions box.",defaultClassForInvisibleText:"invisible",suggestionSingle:"There is ",suggestionPlural:"There are ",suggestionWord:"suggestion",comboboxButtonTitle:"clear this field",comboboxButtonClearText:"X",comboboxCaseSensitive:"yes",comboboxMinLength:0,comboboxLimitNumberSuggestions:666,comboboxSearchOption:"beginning",comboboxSeeMoreText:"See more resultsâ¦",comboboxKeyForSearch:"name"},e);var t=[];function n(){p()("#js-codeit").html("You have to code a function or a redirection to display more results ;)")}this.each((function(i){var r=p()(this),o=r.data(),a=p.a.extend(!0,{},e,o),s=r.attr("id"),l=p()('label[for="'+s+'"]'),c=i+1,d=a.comboboxPrefixClass+"-",h=a.defaultClassForInvisibleText,f=a.comboboxHelpText,m=p()("#"+r.attr("data-list")),v=a.comboboxButtonTitle,g=a.comboboxButtonClearText,b=a.comboboxCaseSensitive,y=a.comboboxKeyForSearch,w=[];r.attr({"data-number":c,autocorrect:"off",autocapitalize:"off",spellcheck:"false",autocomplete:"off","aria-describedby":d+"help-text"+c,"aria-autocomplete":"data-list","data-lastval":"","aria-owns":d+"suggest_"+c}),m.find("option").each((function(e,t){w.push(JSON.parse(t.value))})),t[c]="no"===b?w.sort((function(e,t){return(e=e[y].toLowerCase())==(t=t[y].toLowerCase())?0:e>t?1:-1})):w.sort((function(e,t){return(e=e[y])==(t=t[y])?0:e>t?1:-1})),r.wrap('<div class="'+d+'container js-container" data-combobox-prefix-class="'+d+'"></div>');var x=r.parent();x.append('<div id="'+d+"suggest_"+c+'" class="js-suggest '+d+'suggestions"><div role="listbox"></div></div>'),m.remove(),x.prepend('<div id="'+d+"suggestion-text"+c+'" class="js-suggestion-text '+d+"suggestion-text "+h+'" aria-live="assertive"></div>'),x.prepend('<span id="'+d+"help-text"+c+'" class="'+d+"help-text "+h+'">'+f+"</span>"),l.attr("id","label-id-"+s),r.after('<button class="js-clear-button '+d+'clear-button" aria-label="'+v+'" title="'+v+'" aria-describedby="label-id-'+s+'" type="button">'+g+"</button>"),p()(document).on("click",(function(e){p()(e.target);x[0].contains(e.target)||x.find(".js-suggest div").empty()})),r.on("keyup",(function(e){var n=p()(this),i=n.parent(),r=i.parents("form"),o=i.data(),s=void 0!==o.comboboxPrefixClass?o.comboboxPrefixClass:"",l=i.find(".js-suggest div"),c=i.find(".js-suggestion-text"),d=a.suggestionSingle,h=a.suggestionPlural,f=a.suggestionWord,m=a.comboboxMinLength,v=a.comboboxLimitNumberSuggestions,g=a.comboboxSearchOption,w=a.comboboxSeeMoreText,x=n.attr("data-number"),_=et(n.val()),S="";if(13===e.keyCode)r[0].dispatchEvent(u.e("submit"));else if(27!==e.keyCode){n.attr("data-lastval",_);var E=t[x].length,k=0,C=0;if(l.empty(),""!=_&&_.length>=m){for(;k<E;){if(C<v&&("containing"===g&&"yes"===b&&et(t[x][k][y]).indexOf(_)>=0||"no"===b&&et(t[x][k][y]).toUpperCase().indexOf(_.toUpperCase())>=0||"beginning"===g&&"yes"===b&&et(t[x][k][y]).substring(0,_.length)===_||"no"===b&&et(t[x][k][y]).substring(0,_.length).toUpperCase()===_.toUpperCase())){var T="";if(""===_.trim())T=t[x][k][y];else{var M=et(t[x][k][y]),A=et(n.val().trim());if(A){var O=M.toLowerCase().indexOf(A.toLowerCase()),P=O+A.length;t[x][k][y].length;if(O>-1){var I="<mark>"+t[x][k][y].slice(O,P)+"</mark>",L=t[x][k][y].split("");L.splice(O,A.length,I),T=L.join("")}}}l.append('<div id="suggestion-'+x+"-"+C+'" class="js-suggestion '+s+'suggestion" tabindex="-1" role="option">'+T+"</div>"),C++}k++}if(C>=v&&(l.append('<div id="suggestion-'+x+"-"+C+'" class="js-suggestion js-seemore '+s+'suggestion" tabindex="-1" role="option">'+w+"</div>"),C++),C>1&&(S=h+C+" "+f+"s."),1===C&&(S=d+C+" "+f+"."),0===C&&(S=d+C+" "+f+"."),C>=0)if(S!=c.text()){var D=p()("<p>").text(S);c.attr("aria-live","polite"),c.empty(),c.append(D)}}}})).on("click",(function(e){var t=p()(e.target),n=p()(".js-suggestion-text:not(:empty)"),i=n.parents(".js-container"),r=i.find(".js-combobox"),o=i.find(".js-suggest div");t.is(".js-suggestion")||t.is(".js-combobox")||!n.length||(r.val(r.attr("data-lastval")),o.empty(),n.empty())})).on("keydown",(function(e){var t=p()(this),n=t.parent(),i=n.find(".js-combobox"),r=n.find(".js-suggest div"),o=r.find(".js-suggestion"),a=n.find(".js-suggestion-text"),s=void 0===t.attr("data-combobox-notab-options"),l=o.first();(!e.shiftKey&&9==e.keyCode&&s||40==e.keyCode)&&o.length&&(i.val(l.html().replace(/<mark>|<\/mark>
2/gi,"")),o.first().focus(),e.preventDefault()),(27==e.keyCode||!1===s&&9==e.keyCode)&&(i.val(i.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),r.empty(),a.empty(),27==e.keyCode&&(e.preventDefault(),setTimeout((function(){i.focus()}),300)))})),r.parent().on("keydown",".js-suggestion",(function(e){var t=p()(this),i=t.parents(".js-container"),r=i.find(".js-combobox"),o=void 0===r.attr("data-combobox-notab-options"),a=i.find(".js-suggest div"),s=i.find(".js-suggestion-text"),l=t.next(),c=t.prev();if((27==e.keyCode||!1===o&&9==e.keyCode)&&(27==e.keyCode&&(r.val(r.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),a.empty(),s.empty(),setTimeout((function(){r.focus()}),300),e.preventDefault()),!1===o&&9==e.keyCode&&(a.empty(),s.empty(),r.focus())),13!=e.keyCode&&32!=e.keyCode||(t.hasClass("js-seemore")?(r.val(r.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),a.empty(),s.empty(),setTimeout((function(){r.focus()}),300),setTimeout((function(){n()}),301),e.preventDefault()):(r.val(t.html().replace(/<mark>|<\/mark>/gi,"")),r.attr("data-lastval",t.html().replace(/<mark>|<\/mark>/gi,"")),a.empty(),s.empty(),setTimeout((function(){i.parents("form")[0].dispatchEvent(u.e("submit")),r.focus()}),300),e.preventDefault())),!e.shiftKey&&9==e.keyCode&&o||40==e.keyCode){if(l.length)r.val(l.html().replace(/<mark>|<\/mark>/gi,"")),l.focus();else if(r.val(r.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),e.shiftKey||9!=e.keyCode)setTimeout((function(){r.focus()}),300);else{var d=jQuery.Event("keydown");d.which=27,d.keyCode=27,t.trigger(d)}e.preventDefault()}(e.shiftKey&&9==e.keyCode&&o||38==e.keyCode)&&(c.length?(r.val(c.html().replace(/<mark>|<\/mark>/gi,"")),c.focus()):r.val(r.attr("data-lastval")).focus(),e.preventDefault())})).on("click",".js-clear-button",(function(){var e=p()(this).parent(),t=e.find(".js-combobox"),n=e.find(".js-suggest div"),i=e.find(".js-suggestion-text");n.empty(),i.empty(),t.val(""),t.attr("data-lastval","")})).on("click",".js-suggestion",(function(){var e=p()(this),t=e.html().replace(/<mark>|<\/mark>/gi,""),i=e.parents(".js-container"),r=i.find(".js-combobox"),o=i.find(".js-suggest div"),a=i.find(".js-suggestion-text");e.hasClass("js-seemore")?(o.empty(),a.empty(),r.focus(),n()):(r.val(t).focus(),"nom"===y&&e.parents("form")[0].dispatchEvent(u.e("submit")),o.empty(),a.empty())}))}))}}),p.a.fn.extend({jsonToDatalist:function(e){e=p.a.extend({jsonPath:null,callback:function(){}},e);this.each((function(){var t=p()(this),n=t.data(),i=p.a.extend(!0,{},e,n),r=i.jsonPath,o=t.attr("data-list");r?p.a.getJSON(r,(function(e){var n=[];p.a.each(e,(function(e,t){t.nom?t.nom=t.nom.replace(/'/g,"’"):t.name&&(t.name=t.name.replace(/'/g,"’")),n.push("<option value='"+JSON.stringify(t)+"'>")})),p()("<datalist/>",{id:o,html:n.join("")}).insertAfter(t),i.callback.call(this,t)})):console.log("JSON path is empty or null.")}))}});n(465);function it(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function rt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ot(){var e=document.querySelector(".departmental-block");if(e){var t=e.querySelector(".departmental-block__map"),n=Array.prototype.slice.call(e.querySelectorAll(".departmental-block__map-region")),i=e.querySelector(".tooltip-map"),r=function(e){e&&(i.innerHTML=e.getAttribute("aria-label"),function(e){var n=function(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return{top:i.top-n.top+(i.bottom-i.top)/2,left:i.left-n.left+(i.right-i.left)/2}}(t,e),r=n.left,o=n.top;i.style.top="".concat(Math.floor(o)-20,"px"),i.style.left="".concat(Math.floor(r),"px")}(e))};
2n.forEach((function(e){u.t(e,"-is-active")&&r(e)})),rt(document.querySelectorAll(".departmental-block__button button")).forEach((function(e){e.addEventListener("click",o)}))}function o(){t.scrollIntoView({block:"center",behavior:"smooth"})}}n(466),n(467);function at(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function st(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var lt=function(e){var t=document.createElement("html");return t.innerHTML=e,t};function ut(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ct(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}new z;document.addEventListener("DOMContentLoaded",(function(){var e,t;be(),ge(),te(),r()("img"),K(),function(){var e=Array.prototype.slice.call(document.querySelectorAll("body a")),t=new RegExp("(tel:|mailto:|facebook.com|instagram.com|linkedin.com|youtube.com|twitter.com)");e=(e=e.filter((function(e){return!u.t(e,["new-window-off","location__map-region","tooltip-svg","no-external"])&&"location__map-region"!==e.getAttribute("class")}))).filter((function(e){return!e.hasAttribute("data-fancybox")}));var n=function(e){var t=e.hasAttribute("rel")&&e.getAttribute("rel");t?t.split(" ").indexOf("noopener")<0&&e.setAttribute("rel","".concat(t," noopener")):e.setAttribute("rel","noopener")},i=function(e){var t,n=e.getAttribute("title"),i=e.getAttribute("aria-label");if(n)t=n,e.removeAttribute("title");else if(i)t=i;else{var r=[];Array.prototype.slice.call(e.childNodes).forEach((function(e){if("IMG"===e.nodeName)r.push(e.alt);else if("PICTURE"===e.nodeName){[].slice.call(e.querySelectorAll("*")).forEach((function(e){"IMG"===e.nodeName&&r.push(e.alt)}))}else"#text"===e.nodeName?r.push(e.textContent.trim().toLowerCase()):"svg"===e.nodeName?r.push(e.getAttribute("aria-label")):r.push(e.textContent.trim().toLowerCase())})),t=r.join(" ")}return t};e.forEach((function(e){e.hostname!==location.hostname&&"_blank"!==e.getAttribute("target")?(e.setAttribute("title","".concat(i(e)," (").concat(m.a.linkExternalLink,")")),u.a(e,"link-external"),e.setAttribute("target","_blank")):e.hostname!==location.hostname&&"_blank"===e.getAttribute("target")?(e.setAttribute("title","".concat(i(e)," (").concat(m.a.linkNewWindow," ").concat(m.a.linkExternalLink,")")),n(e),u.a(e,"link-external")):e.hostname===location.hostname&&"_blank"===e.getAttribute("target")&&(e.setAttribute("title","".concat(i(e)," (").concat(m.a.linkNewWindow,")")),n(e)),t.test(e.getAttribute("href"))&&u.a(e,"no-external-icon")}))}(),function(){var e=Z(document.querySelectorAll(".flash-info"));if(0!==e.length){e.forEach((function(e,t){for(var n=e.querySelectorAll(".flash-info__item"),i="",r=0;r<n.length;r++){var o=n[r].querySelector(".flash-info__content");null!==o&&(i+=o.textContent.replace(/\n/g," ").replace(/\s/g,""))}if(!(i.length<1)){var a=document.querySelector(".flash-info__button.-close"),s=e.querySelector(".flash-info__button-close"),l=u.k(i),c=e.querySelector(".flash-info__modal"),d=null;if(null!==localStorage.getItem("flash-".concat(t))&&Number(localStorage.getItem("flash-".concat(t)))===l||e.classList.add("-is-active"),s.addEventListener("click",(function(e){var t=e.target;d=u.i(t,"flash-info")})),c){var h=c.getElementsByTagName("input")[1];c.querySelector(".flash-info__modal-btn").addEventListener("click",(function(){document.querySelector(".fancybox-close-small").click(),d.classList.remove("-is-active"),h&&h.checked&&localStorage.setItem("flash-".concat(t),l)}))}else a.addEventListener("click",(function(){e.classList.remove("-is-active"),localStorage.setItem("flash-".concat(t),l)}))}}));var t=Z(document.querySelectorAll(".flash-info__more"));
2Z(document.querySelectorAll(".flash-info__text")).forEach((function(e){e.clientHeight>41?(u.D(e.previousElementSibling,"-hidden"),u.a(e,"-cut")):u.a(e.previousElementSibling,"-hidden")})),t.forEach((function(e){e.addEventListener("click",(function(t){var n=e.innerText;e.innerText=t.target.dataset.toggle,e.setAttribute("data-toggle",n),u.L(e.nextElementSibling,"-is-open")}))}))}}(),function(){var e=document.querySelector(".site-header");if(null!==e){var t=e.querySelector(".page-image"),n=e.querySelector(".header-bar");null!==t&&(u.a(e,"-has-image"),u.a(n,"-absolute"))}}(),function(){p.a.fancybox.defaults.i18n.fr={CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",ERROR:"Le contenu demandé ne peut être chargé. <br/> Veuillez réessayer plus tard.",PLAY_START:"Démarrer le diaporama",PLAY_STOP:"Pause",FULL_SCREEN:"Plein écran",THUMBS:"Vignettes",DOWNLOAD:"Télécharger",SHARE:"Partager",ZOOM:"Zoom"},p.a.fancybox.defaults.lang="fr",p()("[data-fancybox]").fancybox({animationEffect:"zoom",autoFocus:!0,backFocus:!0,trapFocus:!1,clickOutside:"close",idleTime:!1,buttons:["thumbs","close"],btnTpl:{arrowLeft:'\n <button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}">\n <div>\n <svg role="img" aria-label="{{PREV}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{PREV}}</title>\n <path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/>\n </svg>\n </div>\n </button>\n ',arrowRight:'\n <button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}">\n <div>\n <svg role="img" aria-label="{{NEXT}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{NEXT}}</title>\n <path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/>\n </svg>\n </div>\n </button>\n ',thumbs:'\n <button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}">\n <svg role="img" aria-label="{{THUMBS}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{THUMBS}}</title>\n <path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/>\n </svg>\n </button>\n ',close:'\n <button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}">\n <svg role="img" aria-label="{{CLOSE}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{CLOSE}}</title>\n <path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/>\n </svg>\n </button>\n '},afterShow:function(e){var t=u.m(e.$refs.toolbar[0],!1);e.currIndex===e.group.length-1&&t.length&&t[0].focus()},beforeLoad:function(e){var t=e.$refs.container[0];t&&t.addEventListener("keydown",u.v.bind(null,t))},afterLoad:function(e,t){var n=t.opts.alt;setTimeout((function(){void 0!==t.$iframe&&e.$trigger[0]&&e.$trigger[0].hasAttribute("data-title")&&t.$iframe[0].setAttribute("title",e.$trigger[0].getAttribute("data-title")),t.$image&&t.$image.attr&&(n?t.$image.attr("alt",n):t.$image.attr("alt",""))}),500)}}),p.a.fancybox.defaults.beforeLoad=function(e){"iframe"===e.current.type&&e.current.opts.$orig[0].hasAttribute("title")&&(e.current.opts.iframe.attr.title=e.current.opts.$orig[0].getAttribute("title"))};var e=[].slice.call(document.querySelectorAll(".gallery__list"));e.length&&e.forEach((function(e){var t=[].slice.call(e.querySelectorAll(".gallery__item")).length;e.setAttribute("data-items",t)}))}(),ae(".chart"),je(),u.z(),Qe(),p()(document).ready((function(){p()(".js-combobox-1").accessibleCombobox(),p()(".js-combobox-2").jsonToDatalist({callback:function(e){e.accessibleCombobox({comboboxPrefixClass:"combobox",comboboxHelpText:"Utilisez les touches de tabulation ou la flèche du bas pour naviguer dans la liste du champ autocomplété. Confirmez votre choix avec la touche entrée, ou la touche échap pour fermer la liste de suggestions.",defaultClassForInvisibleText:"invisible",suggestionSingle:"Il y a ",suggestionPlural:"Il y a ",suggestionWord:"suggestion",comboboxButtonTitle:"Effacer ce
2champ",comboboxButtonClearText:'<span class="fal fa-times" aria-hidden="true" title="Effacer ce champ"></span><span class="sr-only">Effacer ce champ</span>',comboboxCaseSensitive:"no",comboboxMinLength:3,comboboxLimitNumberSuggestions:5,comboboxSearchOption:"containing",comboboxSeeMoreText:"Plus de résultatsâ¦"})}}),p()(".js-combobox-3").jsonToDatalist({getField:"",callback:function(e){var t=e.attr("data-key");e.accessibleCombobox({comboboxPrefixClass:"combobox",comboboxHelpText:"Utilisez les touches de tabulation ou la flèche du bas pour naviguer dans la liste du champ autocomplété. Confirmez votre choix avec la touche entrée, ou la touche échap pour fermer la liste de suggestions.",defaultClassForInvisibleText:"invisible",suggestionSingle:"Il y a ",suggestionPlural:"Il y a ",suggestionWord:"suggestion",comboboxButtonTitle:"Effacer ce champ",comboboxButtonClearText:'<span aria-hidden="true" class="fal fa-times"><span class="sr-only">Effacer ce champ</span></span>',comboboxCaseSensitive:"no",comboboxMinLength:3,comboboxLimitNumberSuggestions:5,comboboxSearchOption:"containing",comboboxKeyForSearch:t,comboboxSeeMoreText:"",itemDataType:"object",setActiveElement:"body"})}}),p()(".js-combobox-4").jsonToDatalist({getField:"",callback:function(e){var t=e.attr("data-json-path"),n=e.attr("data-list");e.accessibleCombobox({comboboxPrefixClass:"combobox",comboboxHelpText:"Utilisez les touches de tabulation ou la flèche du bas pour naviguer dans la liste du champ autocomplété. Confirmez votre choix avec la touche entrée, ou la touche échap pour fermer la liste de suggestions.",defaultClassForInvisibleText:"invisible",suggestionSingle:"Il y a ",suggestionPlural:"Il y a ",suggestionWord:"suggestion",comboboxButtonTitle:"Effacer ce champ",comboboxButtonClearText:'<span aria-hidden="true" class="fal fa-times"><span class="sr-only">
2Effacer ce champ</span></span>',comboboxCaseSensitive:"no",comboboxMinLength:3,comboboxLimitNumberSuggestions:5,comboboxSearchOption:"containing",comboboxSeeMoreText:'<button type="submit" class="combobox-submit" data-fa-icon="">Tous les résultats</button>',itemTemplate:'<a class="js-suggestion combobox-suggestion" href="<%this.title.href%>" role="option"><span><%this.title.text%></span><span class="type"><%this.type.text%></span></a>',itemDataType:"object",itemGetDataFrom:"title",setActiveElement:"body",callback:function(e,i){if(""!==e.val()&&e.val().length>=3){var r="";r=t.indexOf("?")>-1?t+"&"+e.attr("name")+"="+e.val():t+"?"+e.attr("name")+"="+e.val(),p.a.ajax(r).done((function(e){var t=[];p.a.each(e,(function(e,n){t.push("<option value='"+JSON.stringify(n)+"'>")}));var r=p()("<datalist/>",{id:n,html:t.join("")});i(r)}))}}})}})})),v(),p()(".time input").timepicker({timeFormat:"H:i"}),g(),p()(document).ready((function(){p()(".js-example-basic-multiple").select2({placeholder:"Toutes les catégories",allowClear:!1}),it(document.querySelectorAll(".select2")).forEach((function(e){var t=e.querySelector("input"),n=e.previousElementSibling;if(n){var i=n.getAttribute("id");n.removeAttribute("id"),t.setAttribute("id",i)}t&&t.addEventListener("keydown",(function(e){var t=e.target,n=e.shiftKey,i=e.keyCode,r=it(u.m(u.j(t,"form"))),o=null;r.forEach((function(e,n){var i=u.i(t,"select2");i&&e===i.previousElementSibling&&(o=n)}));var a=r[o+1],s=r[o-1];n&&9===i&&s?setTimeout((function(){return s.focus()}),0):9===i&&a&&a.focus()}))}))})),ot(),function(){var e=document.querySelector(".js-cat"),t=document.querySelector(".js-subcat"),n=!0;if(e&&t){var i=e.getAttribute("data-cat-placeholder")||"Select canton",r=t.getAttribute("data-cat-placeholder")||"Select commune",o=function(e){var t=new URLSearchParams(window.location.search),n=e.getAttribute("name");if(n){var i=n.split("[");n=st(i,1)[0]}var r=[],o=!0,a=!1,s=void 0;try{for(var l,u=t.entries()[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var c=st(l.value,2),d=c[0],h=c[1];d.includes(n)&&r.push(h)}}catch(e){a=!0,s=e}finally{try{o||null==u.return||u.return()}finally{if(a)throw s}}return r},a=function(e,t){var n=e.parentElement.querySelector(".choices__input--cloned");n&&n.setAttribute("placeholder",t)},s=new l.a(t,{removeItemButton:!0,noResultsText:"Aucun résultat trouvé",noChoicesText:"Aucun choix au choix",itemSelectText:"Cliquer pour sélectionner",placeholder:!0}),u=function(i,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.getAttribute("data-action"),l=i.join(","),u=r.length?r.join(","):"";a&&fetch("".concat(a,"?cant=").concat(encodeURIComponent(l)).concat(i.length>0?"&commun=".concat(encodeURIComponent(u)):""),{method:"GET"}).then((function(e){if(e.status>=200&&e.status<300)return e.json()})).then((function(e){if(at(e).length&&(s.clearStore(),s.setChoices(e)),n){var i=o(t);i.length&&i.forEach((function(e){s.setChoiceByValue(e)}))}})).catch((function(e){console.log(e)}))},c=o(e);if(c.length)at(e.querySelectorAll("option")).forEach((function(e){c.forEach((function(t){e.value===t&&(e.selected=!0)}))}));u(c,"");var d=new l.a(e,{removeItemButton:!0,noResultsText:"Aucun résultat trouvé",noChoicesText:"Aucun choix au choix",itemSelectText:"Cliquer pour sélectionner"});a(e,i),a(t,r),e.addEventListener("change",(function(){var e=d.getValue(!0),t=s.getValue(!0);n=!1,u(e,t)}))}}(),e=document.querySelector(".pager-infinite__button"),t={news:{block:".site-content .news-block",items:".news-block__item"},events:{block:".site-content .events-block",items:".events-block__group-wrapper"},directory:{block:".site-content .directory-block",items:".directory-block__item"},publications:{block:".site-content .publications-list",items:".publications-list__item"},jobs:{block:".site-content .job-block",items:".job-block__item"},glossaries:{block:".site-content .glossary-block",items:".glossary-item"},publicMarket:{block:".site-content .publications-list",items:".publications-list__item"},faq:{block:".site-content .faq-block",items:".site-content .faq-block .click-roll"},polls:{block:".site-content .poll-block",items:".poll-block__item"},blogs:{block:".site-content .blogs__list",items:".blogs__item"},mosaic:{block:".site-content .mosaic-section",items:".mosaic"}},null!==e&&e.addEventListener("click",(function(){var n=e.parentElement.querySelector(".pager__item.-next a");null!==n?(u.a(e,"-loading"),fetch(n.getAttribute("href"),{method:"GET"}).then((function(t){if(t.status>=200&&t.status<300)return t;u.D(e,"-loading");var n=new Error(t.statusText);throw n.response=t,n})).then((function(e){return e.text()})).then((function(i){u.D(e,"-loading");var r=lt(i),o=function(i){var o=[].slice.call(r.querySelectorAll(t[i].items)),a=document.querySelector(t[i].block),s=r.querySelector(".pager__item.-next a");
2null!==s?n.setAttribute("href",s.getAttribute("href")):u.a(e.parentElement,"-is-hidden"),o.forEach((function(e){u.a(e,"-fade-in"),a.appendChild(e)}))};for(var a in t)o(a)}))):u.a(e.parentElement,"-is-hidden")}));var n,i,o,s,c;Ze.create(".header:not(.-map) .header-bar",{onScroll:function(){Object.values(window.dropdownList).forEach((function(e){if(e.selector){var t=document.querySelector(".header-bar");t&&t.contains(e.selector)&&u.t(e.selector,"-is-open")&&e.close()}}))}});!function(){var e=document.querySelector(".js-get-categories"),t=[].slice.call(document.querySelectorAll(".js-set-categories"));if(null!==e&&null!==t){var n=[];t.forEach((function(t){[].slice.call(t.querySelectorAll('input[type="checkbox"]')).forEach((function(t){t.addEventListener("click",(function(){pe(t,n),e.value=n.join(",")}))}))}))}}(),Ee(),n=[].slice.call(document.querySelectorAll("form")),ke(document.querySelectorAll('button[type="reset"]')).forEach((function(e){e.addEventListener("click",(function(){var t=Object(u.j)(e,"form");if(t){var n=ke(t.querySelectorAll(".multiselect")),i=t.querySelector('[type="submit"]'),r=ke(t.querySelectorAll('input[type="radio"], input[type="checkbox"]')),o=ke(t.querySelectorAll("p.required")),a=ke(t.querySelectorAll("textarea:enabled, input:enabled:not([readonly]), select:enabled"));i&&i.setAttribute("disabled",!1),r.length&&r.forEach((function(e){e.indeterminate&&(e.indeterminate=!1),e.removeAttribute("checked"),e.checked=!1})),o.length&&o.forEach((function(e){e.parentElement.removeChild(e)})),a.length&&a.forEach((function(e){e.value=""})),n.length&&n.forEach((function(e){e.querySelector(".multiselect__toggle").innerHTML=e.getAttribute("data-placeholder")}))}}))})),n.forEach((function(e){var t=!Object(u.t)(e,"js-disable-submit-handler");e.addEventListener("submit",(function(){var n=e.querySelector('[type="submit"]'),i=e.querySelector('[type="file"]'),r=e.querySelector(".message-wait");t&&(n.setAttribute("disabled","disabled"),i&&""!==i.value?n.insertAdjacentHTML("afterEnd",'<span class="required">'.concat(m.a.pleaseWaitForFile,"</span>")):r||n.insertAdjacentHTML("afterEnd",'<span class="required message-wait">'.concat(m.a.pleaseWait,"</span>")));var o=document.getElementById("input-date-hidden");null!==o&&Ce(o),Le(e,!0);var a=document.getElementById("tx_news_year");null!==a&&Te(a),[{name:"tx_news_pi1[overwriteDemand][period]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][related]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][categories]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][day]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][month]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][year]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][keywords]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][datecomplete]",ignoreZero:!1},{name:"tx_news_pi1[search][subject]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][tags]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][relatedLinks]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][related]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][relatedLocations]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][relatedAreas]",ignoreZero:!1},{name:"tx_simplepoll_polllisting[category]",ignoreZero:!0},{name:"tx_simplepoll_polllisting[status]",ignoreZero:!0},{name:"tx_stratismap_location[search][keywords]",ignoreZero:!1},{name:"tx_stratismap_location[search][categories][]",ignoreZero:!1}].forEach((function(t){Ae(t.name,e,t.ignoreZero)}))}))})),i=[].slice.call(document.querySelectorAll("[data-toggle-icon]")),o=[].slice.call(document.querySelectorAll("[data-toggle-text]")),null!==i&&i.forEach((function(e){var t=e.className,n=e.getAttribute("data-toggle-class");n&&u.t(e,n)&&(e.innerText=e.getAttribute("data-toggle-icon"),e.setAttribute("data-toggle-icon",t)),e.addEventListener("click",(function(){var t=e.className;e.className=e.getAttribute("data-toggle-icon"),e.setAttribute("data-toggle-icon",t)}))})),null!==o&&o.forEach((function(e){var t=e.innerText,n=e.getAttribute("data-toggle-class");n&&u.t(e,n)&&(e.innerText=e.getAttribute("data-toggle-text"),e.setAttribute("data-toggle-text",t)),e.addEventListener("click",(function(){var t=e.innerText;e.innerText=e.getAttribute("data-toggle-text"),e.setAttribute("data-toggle-text",t)}))})),null!==document.querySelector(".alire__container")&&ee(document.querySelectorAll(".alire__carousel")).forEac
2h((function(e){var t=u.i(e,"alire");if(t){var n=t.querySelector(".alire__control.-next"),i=t.querySelector(".alire__control.-prev"),r=(new Q.a(e,{effect:"coverflow",grabCursor:!0,centeredSlides:!0,slidesPerView:"auto",loop:!0,simulateTouch:!0,speed:500,coverflowEffect:{rotate:0,stretch:70,depth:230,modifier:1,slideShadows:!1},navigation:{nextEl:n,prevEl:i},breakpoints:{1279:{coverflowEffect:{stretch:20}},767:{slidesPerView:1,coverflowEffect:{rotate:0,stretch:0,depth:0}}}}),t.querySelectorAll(".alire__control"));if(u.t(e,"swiper-container-horizontal"))for(var o=0;o<r.length;o++)r[o].style.display="block"}})),s=De(document.querySelectorAll('.rating input[type="radio"]')),c=document.querySelector(".rating__item-button"),s.length&&s.forEach((function(e){var t=function(e){c&&("keydown"===e.type&&"Enter"===e.key?setTimeout((function(){return c.click()}),500):"click"===e.type&&setTimeout((function(){return c.click()}),500))};e.addEventListener("click",t),e.addEventListener("keydown",t)})),window.addEventListener("openPopup",(function(){new C(".click-roll",{wrapperClass:"click-roll",dropdownClass:"click-roll__block",btnClass:"click-roll__toggle",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!0})})),document.createElement("picture");new C,new B(".mnv-menu",{menu:{type:"default"},initSubmenuToggles:["desktop","tablet","smartphone"],overlay:{show:!1},rebuildMenu:[{breakpoints:["smartphone","tablet"],selector:".header-top__wrapper",callback:function(e,t){return u.w(e,t.querySelector(".mnv-menu__list"))}}]});
2function d(e){ct(document.querySelectorAll(e)).forEach((function(e){return a()(e,3)}))}d(".social-card.-facebook .social-card__wrapper p"),d(".social-card.-youtube .social-card__wrapper p"),d(".sidebar .procedures__teaser");var h=new C(".filters__wrapper",{wrapperClass:"filters__wrapper",dropdownClass:"see-more-block",outsideToggle:!0,outsideToggleId:"see-more-btn",openTypeSlide:!1,closeOnOutsideClick:!1,focusTrap:!1,afterInit:function(e){setTimeout((function(){u.t(document.querySelector(h.selector),"-has-selected-items")&&document.getElementById(h.options.outsideToggleId).click()}),300)}}),f=document.querySelector(".header-search__form"),b=document.querySelector(".header-search__toggle"),y=document.querySelector(".header-bar__menu"),w=document.querySelector(".header-bar"),x=document.querySelector(".header-bar__logo"),S=u.t(document.body,"-sitefactory");if(f&&b)new C(".header-search",{wrapperClass:"header-search",dropdownClass:"header-search__form",btnClass:"header-search__toggle",closeOnOutsideClick:!0,beforeOpen:function(e){y&&!S?u.a(y,"-is-hidden"):w&&S&&u.a(w,"-search-opened"),x&&"desktop"!==window.responsive&&u.a(x,"-is-hidden")},afterOpen:function(e){setTimeout((function(){f.querySelector("input").focus(),f.style.top="".concat(e.offsetTop+e.offsetHeight/2,"px")}),100)},afterClose:function(e){y&&!S?u.D(y,"-is-hidden"):w&&S&&u.D(w,"-search-opened"),x&&"desktop"!==window.responsive&&u.D(x,"-is-hidden")}});var E=document.querySelector(".same-category__wrapper");if(null!==E)new C(E,{wrapperClass:"same-category__wrapper",dropdownClass:"same-category__list",outsideToggle:!0,outsideToggleId:"same-category__toggle",closeOnOutsideClick:!1,openTypeSlide:!1,focusTrap:!1});new C(".checkbox-dropdown",{wrapperClass:"checkbox-dropdown",dropdownClass:"checkbox-dropdown__block",btnClass:"checkbox-dropdown__toggle",closeOnOutsideClick:!1,focusTrap:!1,onInit:function(e){},afterOpen:function(e){}});if(document.querySelector(".geolocation-results"))new C(".geolocation",{wrapperClass:"geolocation",dropdownClass:"geolocation-results",btnClass:"geolocation-results__close",closeOnOutsideClick:!1,enableAlly:!1,focusTrap:!0,afterOpen:function(e){e.querySelector(".geolocation-results__close").firstElementChild.setAttribute("title","Replier les résultats de recherche")},afterClose:function(e){e.querySelector(".geolocation-results__close").firstElementChild.setAttribute("title","Déployer les résultats de recherche")}});if(document.querySelector(".my-account"))new C(".my-account",{wrapperClass:"my-account",dropdownClass:"my-account__wrapper",closeBtn:!0,closeBtnClass:"my-account__close",outsideToggle:!0,outsideToggleId:"my-account__toggle",closeOnOutsideClick:!0});if(document.querySelector(".profile"))new C(".profile__switcher",{wrapperClass:"profile__switcher",dropdownClass:"profile__drop",btnClass:"profile__btn-current",closeBtn:!0,closeBtnClass:"profile__btn-close",closeOnOutsideClick:!0});if(document.querySelector(".sorting__switcher"))new C(".sorting__switcher",{wrapperClass:"sorting__switcher",dropdownClass:"sorting__drop",btnClass:"sorting__button",closeOnOutsideClick:!0});if(document.querySelector(".media-element.-has-video"))new C(".media-element.-has-video",{wrapperClass:"media-element",dropdownClass:"media-element__content-transcription",btnClass:"media-element__content-toggle",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!1,clickRoll:!0});ct(document.querySelectorAll("[data-sd-content]")).forEach((function(e){var t=e.dataset.sdContent,n=ct(document.querySelectorAll('[data-sd-trigger="'.concat(t,'"]'))),i=n.length>0&&new _(e);i&&n.forEach((function(e){var t=e.getAttribute("data-sd-action")||"toggle";e.addEventListener("click",(function(){return u.g(i[t].bind(i))}))}))})),[].slice.call(document.querySelectorAll("[data-add-ancestor]")).forEach((function(e){var t=ut(e.getAttribute("data-add-ancestor").split(",",2),2),n=t[0],i=t[1],r=u.i(e,n);r&&u.a(r,i)})),[].slice.call(document.querySelectorAll("[data-remove-section]")).forEach((function(e){var t=e.getAttribute("data-remove-section"),n=u.i(e,t);n&&n.parentNode.removeChild(n)}));var k,T=document.querySelector(".iframe-fancybox");$(T).fancybox({type:"iframe",afterShow:function(e){var t=e.slides[0].$iframe[0].contentDocument.body;u.a(t,"-is-iframe")}}),(k=document.querySelector(".js-map-results"))&&k.addEventListener("click",(function(e){var t=e.target;if(u.t(t,"js-map-result")){var n=t.dataset.uid;e.preventDefault(),window.dispatchEvent(u.d("mapResultsClick",{bubbles:!0,cancelable:!1,detail:{uid:n}}))}})),function(){var e=document.querySelector(".js-map-city-form");if(e){var t=document.querySelector(".js-map-city-input");e.addEventListener("submit",(function(e){e.preventDefault(),fetch(t.getAttribute("data-json-path")).then((function(e){e.json().then((function(e){var n=t.value,i=e.find((function(e){return n===e.nom.replace(/'/g,"’")}));if(i){var r=i.centre.coordinates;window.dispatchEvent(u.d("focusOnCoords",{bubbles:!0,cancelable:!1,detail:{coords:r}}))}else console.warn("Target city not found")}))}
2))}))}}();new X;var M=document.querySelector("aside.sidebar"),A=document.querySelector(".mosaic-section");M&&A&&u.a(A,"-two-column")})),window.addEventListener("load",(function(){var e;null!==(e=document.getElementById("preloader"))&&setTimeout((function(){u.a(e,"-is-hidden"),e.setAttribute("aria-hidden",!0)}),500);var t=document.querySelector("#choices-single-default");if(t){var n=new l.a(t,{noResultsText:"Aucun résultat trouvé",noChoicesText:"Aucun choix au choix",itemSelectText:"Cliquer pour sélectionner"});t.hasAttribute("data-json")&&n.setChoices((function(){var e,n;return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,regeneratorRuntime.awrap(fetch("".concat(t.getAttribute("data-json"))));case 3:return e=i.sent,n=e.json(),i.abrupt("return",n);case 8:i.prev=8,i.t0=i.catch(0),console.error(i.t0);case 11:case"end":return i.stop()}}),null,null,[[0,8]])}))}var i=document.querySelector(".multiple-choices");if(i)new l.a(i,{removeItemButton:!0,noResultsText:"Aucun résultat trouvé",noChoicesText:"Aucun choix au choix",itemSelectText:"Cliquer pour sélectionner",callbackOnInit:function(){var e=i.parentElement.querySelector("input"),t=i.getAttribute("id");i.removeAttribute("id"),e.setAttribute("id",t),e.removeAttribute("aria-label")}});window.addEventListener("responsive",(function(){console.log("current breakpoint: ",window.responsive)})),[].slice.call(document.getElementsByTagName("img")).filter((function(e){return!e.hasAttribute("data-ofi-src")})).filter((function(e){return-1===e.src.indexOf(".svg")})).forEach((function(e){e.naturalHeight||(u.a(e,"-broken-img"),e.setAttribute("height",0))}));var r={wrapperClass:"click-roll",dropdownClass:"click-roll__block",btnClass:"click-roll__toggle",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!1,clickRoll:!0,afterInit:function(e){ct(e.querySelectorAll(".tabs")).forEach((function(e){new ue(e,{onlyState:"tabs",titleSelector:".tabs__title",onInit:function(){Ee()}},"tabs",!0)}))},afterOpen:function(){new C(".click-roll",r)}};new C(".click-roll",r),new h(".message");Object.values(window.dropdownList).forEach((function(e){e.toggler&&u.t(e.toggler.parentElement,"-is-open")&&e.open()}));new ue(".tabs",{onlyState:"tabs",titleSelector:".tabs__title",onInit:function(){Ee()}}),new C(".audio-player__info",{wrapperClass:"audio-player__info",dropdownClass:"audio-player__info-block",btnClass:"audio-player__info-btn",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!1,clickRoll:!0}),new C(".audio-playlist__wrapper",{wrapperClass:"audio-playlist__wrapper",dropdownClass:"audio-playlist__hidden",btnClass:"audio-playlist__hidden-button",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!1,clickRoll:!0});nt();new Re,new Y;ct(document.querySelectorAll('input[type="email"]')).forEach((function(e){e.addEventListener("input",(function(){e.validity.typeMismatch?e.setCustomValidity(m.a.validEmail):e.setCustomValidity("")}))}))}))}])}));})(jQuery, Drupal, drupalSettings);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.